:root{
  color-scheme:light;
  --navy:#123a5e;
  --navy-700:#0e2f4c;
  --navy-300:#3a6188;
  --amber:#e8791a;
  --amber-600:#bd5d0f;
  --ink:#121d2a;
  --muted:#566879;
  --line:#d9e2eb;
  --bg:#edf4f8;
  --surface:#ffffff;
  --surface-2:#eaf1f7;
  --ok:#1f8a5b;
  --ok-bg:#e2f2ea;
  --err:#c0392b;
  --err-bg:#fdecea;
  --shadow:0 1px 2px rgba(18,58,94,.05),0 10px 24px rgba(18,58,94,.12);
  --serif:'Archivo','Segoe UI',system-ui,sans-serif;
  --sans:'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;
  --mono:ui-monospace,'Cascadia Mono',Consolas,monospace;
}
html{color-scheme:light}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:var(--serif);
  font-weight:800;
  line-height:1.02;
  margin:0;
  letter-spacing:0;
}
a{color:inherit}
.auth-page{
  min-height:calc(100vh - 62px);
  padding:clamp(36px,6vw,84px) 22px;
  background:
    linear-gradient(120deg,rgba(255,255,255,.98),rgba(245,249,252,.96) 48%,rgba(236,245,251,.98)),
    linear-gradient(90deg,rgba(18,58,94,.045) 1px,transparent 1px) 0 0/72px 72px,
    linear-gradient(0deg,rgba(18,58,94,.035) 1px,transparent 1px) 0 0/72px 72px;
}
.auth-shell{
  width:min(1120px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(390px,470px) minmax(420px,1fr);
  align-items:start;
  gap:clamp(28px,5vw,62px);
}
.auth-shell-wide{
  grid-template-columns:minmax(420px,520px) minmax(420px,1fr);
}
.auth-card,
.auth-panel{
  border:1px solid rgba(157,177,195,.46);
  border-radius:20px;
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow);
}
.auth-card{
  position:relative;
  overflow:hidden;
  padding:clamp(28px,4vw,38px);
}
.auth-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,var(--navy),var(--amber));
}
.auth-panel{
  position:relative;
  overflow:hidden;
  min-height:560px;
  padding:clamp(30px,4.5vw,46px);
}
.auth-panel:before{
  content:"";
  position:absolute;
  right:-72px;
  top:42px;
  width:320px;
  height:440px;
  border:1px solid rgba(157,177,195,.32);
  border-radius:18px;
  background:
    linear-gradient(#d8e4ee,#d8e4ee) 34px 54px/60% 2px no-repeat,
    linear-gradient(#e8791a,#e8791a) 34px 84px/38% 3px no-repeat,
    repeating-linear-gradient(180deg,rgba(255,255,255,.7) 0 36px,rgba(18,58,94,.09) 36px 37px);
  transform:rotate(-3deg);
  opacity:.48;
}
.auth-panel > *{
  position:relative;
  z-index:1;
}
.kicker{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:8px;
  border:1px solid color-mix(in srgb,var(--amber) 30%,transparent);
  border-radius:999px;
  padding:6px 10px;
  background:color-mix(in srgb,var(--amber) 10%,#fff);
  color:var(--amber-600);
  font-family:var(--mono);
  font-size:12px;
  font-weight:900;
}
.auth-card h1{
  font-size:clamp(34px,4vw,48px);
  margin:18px 0 10px;
}
.auth-panel h2{
  max-width:12ch;
  font-size:clamp(42px,5.2vw,66px);
  margin:20px 0 14px;
}
.sub,
.panel-copy{
  color:var(--muted);
  font-size:16px;
  font-weight:600;
  margin:0 0 24px;
}
.panel-copy{max-width:50ch}
.field{
  margin-bottom:15px;
}
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
label{
  display:block;
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}
input,
select,
textarea{
  width:100%;
  border:1px solid rgba(157,177,195,.62);
  border-radius:11px;
  background:#fff;
  color:var(--ink);
  font-family:var(--sans);
  font-size:15px;
  padding:12px 13px;
  outline:none;
}
textarea{min-height:96px;resize:vertical}
input:focus,
select:focus,
textarea:focus{
  border-color:var(--amber);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--amber) 22%,transparent);
}
.btn{
  font-family:var(--sans);
  font-size:15px;
  font-weight:800;
  border:1.5px solid transparent;
  border-radius:12px;
  padding:13px 18px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
}
.btn-primary{background:var(--amber);color:#241203}
.btn-primary:hover{background:var(--amber-600)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink)}
.btn-block{width:100%}
.btn:disabled{opacity:.62;cursor:default}
.msg{
  min-height:1px;
  margin-top:14px;
  border-radius:11px;
  font-size:14px;
}
.msg.ok{padding:11px 13px;background:var(--ok-bg);color:var(--ok);font-weight:700}
.msg.err{padding:11px 13px;background:var(--err-bg);color:var(--err);font-weight:700}
.auth-alt{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}
.auth-alt a{
  color:var(--navy);
  font-weight:800;
  text-decoration:none;
}
.mini-link{
  display:block;
  margin-top:9px;
  color:var(--muted);
  font-size:12.5px;
}
.metric-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:26px 0;
}
.metric-grid span{
  min-height:86px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(157,177,195,.38);
  border-radius:14px;
  padding:13px;
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-size:12px;
}
.metric-grid b{
  color:var(--ink);
  font-family:var(--serif);
  font-size:25px;
  line-height:1;
}
.flow-list,
.route-list{
  display:grid;
  gap:12px;
  margin:0;
  padding:22px 0 0;
  border-top:1px solid var(--line);
  list-style:none;
}
.flow-list li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  color:var(--muted);
  font-size:14px;
}
.flow-list b{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:var(--navy);
  color:#fff;
  font-family:var(--mono);
  font-size:12px;
}
.route-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  border:1px solid rgba(157,177,195,.44);
  border-radius:16px;
  padding:16px;
  background:rgba(255,255,255,.78);
  text-decoration:none;
}
.route-card:hover{
  border-color:var(--amber);
  box-shadow:0 10px 24px rgba(18,58,94,.08);
}
.route-card b{
  display:block;
  font-family:var(--serif);
  font-size:18px;
  color:var(--ink);
  margin-bottom:3px;
}
.route-card span{
  color:var(--muted);
  font-size:14px;
}
.route-card i{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:#fff;
  font-style:normal;
  font-weight:900;
}
.status-board{
  margin-top:28px;
  border-top:1px solid var(--line);
  padding-top:16px;
}
.status-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:9px 0;
  border-bottom:1px dashed rgba(157,177,195,.5);
  color:var(--muted);
  font-size:14px;
}
.status-row:last-child{border-bottom:0}
.status-row strong{color:var(--ink);text-align:right}
.spft{margin-top:0}
@media(max-width:930px){
  .auth-shell,
  .auth-shell-wide{
    grid-template-columns:1fr;
    max-width:680px;
  }
  .auth-panel{
    min-height:auto;
    order:-1;
  }
  .auth-panel h2{max-width:16ch}
}
@media(max-width:620px){
  .auth-page{padding:28px 18px 42px}
  .auth-card,
  .auth-panel{border-radius:18px;padding:24px 20px}
  .auth-panel{display:none}
  .auth-card h1{font-size:32px}
  .grid2{grid-template-columns:1fr;gap:0}
  .metric-grid{grid-template-columns:1fr}
}
