/* Shared Conexión IET visual language, adapted from the Due Process Site. */
:root{
  --site-navy:#18254e;--site-navy-2:#25396b;--site-gold:#c99c3a;
  --site-ink:#1c2434;--site-muted:#687386;--site-line:#e2e7ed;
  --site-paper:#f4f6f8;--site-white:#fff;
}
body{background:var(--site-paper);color:var(--site-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.top{box-shadow:0 1px 0 #18254e12}
.hero{background:linear-gradient(118deg,var(--site-navy),var(--site-navy-2));box-shadow:0 12px 28px #18254e18}
.hero h1,.panel h1,.panel h2,.panel h3,.card h1,.card h2,.card h3{letter-spacing:-.025em}
.card,.panel,.stat,.login-card{border-color:var(--site-line);box-shadow:0 8px 24px #18254e0a}
.btn{background:var(--site-navy);border-radius:9px;transition:background-color .16s ease,transform .16s ease}
.btn:hover{background:var(--site-navy-2);transform:translateY(-1px)}
.btn.secondary{background:#fff;color:var(--site-navy);border:1px solid var(--site-line)}
.btn.secondary:hover{background:#f5f7fa;border-color:#bac4d4}
.tabs button{border-radius:9px;background:#fff;border:1px solid var(--site-line);color:var(--site-navy)}
.tabs button.active{background:var(--site-navy);border-color:var(--site-navy)}
.field input,.field select,.field textarea,input,select,textarea{border-color:#d7dde6;border-radius:8px}
.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{outline:2px solid #c99c3a55;border-color:var(--site-gold)}
.notice{border:1px solid #d4e9df;border-radius:9px}
th{background:#f5f7fa}
.module{transition:transform .16s ease,box-shadow .16s ease}
.module:hover{transform:translateY(-2px);box-shadow:0 12px 28px #18254e13}
.reference-due-process{background:var(--site-paper)}
.reference-due-process .top{box-shadow:none}
.reference-due-process .page{max-width:none;width:min(1600px,100%);padding:30px clamp(22px,3vw,54px) 54px}
.reference-due-process .hero{border-radius:0;background:transparent;color:var(--site-navy);box-shadow:none;padding:8px 0 22px;margin-bottom:8px}
.reference-due-process .hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3vw,43px);font-weight:600}
.reference-due-process .hero p{color:var(--site-muted);opacity:1}
.reference-app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}
.reference-sidebar{position:sticky;top:0;height:100vh;min-height:600px;background:linear-gradient(180deg,var(--site-navy),#1c2d5a);color:#dfe5f2;padding:24px 15px 18px;display:flex;flex-direction:column;z-index:8}
.reference-side-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:4px 4px 26px;border-bottom:1px solid #ffffff25}
.reference-side-brand b{display:block;font:600 18px Georgia,"Times New Roman",serif}
.reference-side-brand small,.reference-side-user small{display:block;margin-top:5px;color:#aebbd3;font-size:11px}
.reference-monogram{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--site-gold);border-radius:12px;color:#e1bf6b;font:700 18px Georgia,serif}
.reference-side-nav{display:grid;gap:7px;padding-top:22px}
.reference-side-nav button{display:flex;align-items:center;gap:11px;width:100%;padding:12px 11px;border:0;border-left:3px solid transparent;border-radius:8px;background:transparent;color:#d1daeb;text-align:left;font-weight:600;cursor:pointer;transition:.15s}
.reference-side-nav button span{width:22px;text-align:center;font-size:18px;color:#e0c065}
.reference-side-nav button:hover,.reference-side-nav button.active{background:#ffffff15;color:#fff;border-left-color:var(--site-gold)}
.reference-side-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding:18px 4px 0;border-top:1px solid #ffffff25;font-size:12px}
.reference-side-user>span{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--site-gold);color:var(--site-navy);font-weight:800}
.reference-side-user b{display:block;color:white}.reference-main-shell{min-width:0}.reference-main-shell>.top{padding:12px clamp(18px,2.5vw,40px);border-bottom:1px solid var(--site-line)}
.reference-main-shell>.top .brand{font-family:Georgia,"Times New Roman",serif;color:var(--site-navy)}
.reference-dashboard{display:block}.reference-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:8px 0 20px}
.reference-stats article{position:relative;min-height:126px;padding:20px 20px 16px 68px;background:#fff;border:1px solid var(--site-line);border-radius:12px}
.reference-stats article>span{position:absolute;left:17px;top:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eef1f7;color:var(--site-navy);font-size:20px}
.reference-stats article:nth-child(2)>span{background:#fbf4e5;color:#a77b21}.reference-stats article:nth-child(3)>span{background:#edf6f1;color:#397a5d}
.reference-stats small,.reference-stats p{display:block;color:var(--site-muted);font-size:11px}.reference-stats b{display:block;color:var(--site-navy);font:600 32px Georgia,serif;margin-top:4px}.reference-stats p{margin:4px 0 0}
.reference-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:18px}.reference-dashboard-grid>.panel,.reference-dashboard-right>.panel{border-radius:12px;padding:22px;background:#fff}
.reference-dashboard-right{display:grid;align-content:start;gap:16px}.eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#78849a;font-weight:800;margin:0 0 8px}.reference-dashboard-grid h2{font:600 24px Georgia,"Times New Roman",serif;color:var(--site-navy);margin:0 0 16px}.reference-caveat{display:block;background:#fbf5e8;color:#997532;padding:12px;margin-top:12px;font-size:11px;line-height:1.5;border-radius:0 0 9px 9px}
.reference-quick-actions{display:grid;grid-template-columns:1fr 1fr}.reference-quick-actions button{display:flex;align-items:center;gap:10px;min-height:54px;padding:9px;border:1px solid var(--site-line);background:#fff;color:var(--site-navy);text-align:left;cursor:pointer}.reference-quick-actions button:nth-child(odd){border-left:0}.reference-quick-actions button:nth-child(even){border-right:0}.reference-quick-actions button:nth-child(-n+2){border-top:0}.reference-quick-actions button:nth-child(n+3){border-bottom:0}.reference-quick-actions button b{font-size:11px}.reference-dashboard-case{display:grid;grid-template-columns:40px minmax(0,1fr) auto 110px 16px;align-items:center;gap:12px;width:100%;padding:13px 4px;border:0;border-bottom:1px solid var(--site-line);background:#fff;color:var(--site-ink);text-align:left;cursor:pointer}.reference-dashboard-case:hover{background:#fafbfd}.reference-dashboard-case>span:first-child{display:grid;place-items:center;height:36px;border-radius:8px;background:#eef1f7;color:var(--site-navy);font-weight:800;font-size:11px}.reference-dashboard-case strong,.reference-dashboard-case small{display:block}.reference-dashboard-case small{margin-top:4px;color:var(--site-muted);font-size:10px}.reference-dashboard-case .stage-meter{height:4px;background:#e6eaf0;margin-top:6px}.reference-dashboard-case .stage-meter i{display:block;height:100%;background:#49679d}.reference-deadline-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--site-line)}.reference-deadline-item>span{display:grid;place-items:center;min-width:44px;height:48px;background:#fff2ed;color:#a05243;font-weight:800;border-radius:8px}.reference-deadline-item b,.reference-deadline-item small{display:block}.reference-deadline-item small{color:var(--site-muted);margin-top:4px}
.reference-template-grid,.reference-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.reference-template-grid article,.reference-rules article,.reference-admin-callout{padding:16px;border:1px solid var(--site-line);border-radius:9px;background:#fff}.reference-template-grid small,.reference-template-grid b,.reference-template-grid span{display:block}.reference-template-grid small{color:#7c879b;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.reference-template-grid b,.reference-rules b{color:var(--site-navy)}.reference-template-grid span,.reference-rules span{display:block;margin-top:5px;color:var(--site-muted);font-size:12px;line-height:1.45}.reference-admin-callout{border-left:4px solid #72a98e;background:#f5faf7}.reference-admin-callout b{color:#397a5d}.reference-admin-callout p{margin-bottom:0;color:var(--site-muted);line-height:1.55}
.reference-due-process [data-panel="dashboard"],.reference-due-process [data-panel="report"],.reference-due-process [data-panel="cases"],.reference-due-process [data-panel="deadlines"],.reference-due-process [data-panel="templates"],.reference-due-process [data-panel="normative"],.reference-due-process [data-panel="administration"]{min-height:300px}
@media(max-width:900px){.reference-app-shell{grid-template-columns:72px minmax(0,1fr)}.reference-sidebar{padding:18px 8px}.reference-side-brand{justify-content:center;padding:2px 0 20px}.reference-side-brand>span:last-child,.reference-side-nav button:not(.active){font-size:0}.reference-side-brand b,.reference-side-brand small,.reference-side-user div{display:none}.reference-side-nav button{justify-content:center;padding:12px 4px;font-size:0}.reference-side-nav button span{font-size:19px}.reference-side-user{justify-content:center}.reference-side-user>span{width:36px;height:36px}.reference-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:600px){.reference-app-shell{display:block}.reference-sidebar{position:sticky;top:0;height:auto;min-height:0;padding:7px;background:var(--site-navy)}.reference-side-brand,.reference-side-user{display:none}.reference-side-nav{display:flex;overflow:auto;padding:0;gap:4px}.reference-side-nav button{flex:0 0 auto;width:44px;height:42px;padding:7px;border:0;border-radius:7px;font-size:0}.reference-side-nav button.active{background:#ffffff20;border-bottom:2px solid var(--site-gold)}.reference-main-shell>.top{position:static;flex-wrap:wrap}.reference-main-shell>.top .brand{font-size:12px}.reference-main-shell>.top #userName{display:none}.reference-due-process .page{padding:18px 13px 35px}.reference-stats{gap:8px}.reference-stats article{padding:14px 12px 12px 54px;min-height:108px}.reference-stats article>span{left:10px;top:14px;width:32px;height:32px}.reference-stats b{font-size:26px}.reference-template-grid,.reference-rules{grid-template-columns:1fr}.reference-dashboard-case{grid-template-columns:34px minmax(0,1fr) 15px}.reference-dashboard-case .status,.reference-dashboard-case .stage-meter{display:none}}

/* Conexión IET: shared product identity inspired by the Due Process reference site. */
html body:not(.reference-due-process){
  --blue:var(--site-navy);--blue2:var(--site-navy-2);--gold:var(--site-gold);
  --ink:var(--site-ink);--muted:var(--site-muted);--bg:var(--site-paper);--line:var(--site-line);
  background:var(--site-paper);color:var(--site-ink)
}
html body:not(.reference-due-process) .top{
  background:#fffffff5;border-bottom:3px solid var(--site-navy);box-shadow:0 5px 20px #18254e0c;
  backdrop-filter:blur(12px)
}
html body:not(.reference-due-process) .brand,
html body:not(.reference-due-process) .clock{color:var(--site-navy)}
html body:not(.reference-due-process) .brand small{color:var(--site-muted)}
html body:not(.reference-due-process) .page{max-width:1600px;padding:30px clamp(18px,3vw,48px) 56px}
html body:not(.reference-due-process) .hero{
  color:var(--site-navy);background:transparent;border-radius:0;box-shadow:none;
  border-bottom:1px solid var(--site-line);padding:8px 0 22px;margin:0 0 22px
}
html body:not(.reference-due-process) .hero h1,
html body:not(.reference-due-process) .panel h1,
html body:not(.reference-due-process) .panel h2,
html body:not(.reference-due-process) .panel h3,
html body:not(.reference-due-process) .card h1,
html body:not(.reference-due-process) .card h2,
html body:not(.reference-due-process) .card h3,
html body:not(.reference-due-process) .module h2,
html body:not(.reference-due-process) .login-brand h1{
  color:var(--site-navy);font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em
}
html body:not(.reference-due-process) .hero h1{font-size:clamp(28px,3vw,42px);font-weight:600}
html body:not(.reference-due-process) .hero p{color:var(--site-muted);opacity:1}
html body:not(.reference-due-process) .card,
html body:not(.reference-due-process) .panel,
html body:not(.reference-due-process) .stat,
html body:not(.reference-due-process) .login-card{
  background:var(--site-white);border:1px solid var(--site-line);border-radius:12px;
  box-shadow:0 6px 20px #18254e0a
}
html body:not(.reference-due-process) .panel{padding:22px}
html body:not(.reference-due-process) .module{border-top:3px solid transparent;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
html body:not(.reference-due-process) .module:hover{border-top-color:var(--site-gold);box-shadow:0 12px 28px #18254e13}
html body:not(.reference-due-process) .btn{
  background:var(--site-navy);border-radius:8px;box-shadow:none;transition:background-color .16s ease,transform .16s ease
}
html body:not(.reference-due-process) .btn:hover{background:var(--site-navy-2);transform:translateY(-1px)}
html body:not(.reference-due-process) .btn.secondary{background:#edf0f4;color:var(--site-navy);border:1px solid transparent}
html body:not(.reference-due-process) .btn.secondary:hover{background:#e3e8ef;border-color:#d8dee8}
html body:not(.reference-due-process) .btn.gold{background:var(--site-gold);color:var(--site-navy)}
html body:not(.reference-due-process) .tabs{gap:7px}
html body:not(.reference-due-process) .tabs button{border-radius:8px;background:#edf0f4;color:var(--site-navy);border:1px solid transparent}
html body:not(.reference-due-process) .tabs button.active{background:var(--site-navy);color:#fff;border-color:var(--site-navy)}
html body:not(.reference-due-process) .field label{color:#45536a}
html body:not(.reference-due-process) .field input,
html body:not(.reference-due-process) .field select,
html body:not(.reference-due-process) .field textarea,
html body:not(.reference-due-process) input,
html body:not(.reference-due-process) select,
html body:not(.reference-due-process) textarea{
  border-color:#d6dde7;border-radius:8px;background:#fff;color:var(--site-ink)
}
html body:not(.reference-due-process) .field input:focus,
html body:not(.reference-due-process) .field select:focus,
html body:not(.reference-due-process) .field textarea:focus,
html body:not(.reference-due-process) input:focus,
html body:not(.reference-due-process) select:focus,
html body:not(.reference-due-process) textarea:focus{outline:2px solid #5675af44;border-color:#6e8dbd}
html body:not(.reference-due-process) .notice{border-radius:9px;border:1px solid #d4e9df}
html body:not(.reference-due-process) th{background:#f4f6f9;color:var(--site-navy)}
html body:not(.reference-due-process) th,
html body:not(.reference-due-process) td{border-bottom-color:var(--site-line)}
html body:not(.reference-due-process) .badge{border-radius:6px}
html body:not(.reference-due-process) .login-shell{background:linear-gradient(145deg,#f4f6f8,#e9edf3)}
html body:not(.reference-due-process) a{color:#365d91}
html body:not(.reference-due-process) :focus-visible{outline-color:#5675af77}

@media(max-width:700px){
  html body:not(.reference-due-process) .page{padding:20px 13px 44px}
  html body:not(.reference-due-process) .hero{padding:4px 0 17px}
  html body:not(.reference-due-process) .panel{padding:16px}
  html body:not(.reference-due-process) .top{flex-wrap:wrap}
}
