
:root{
  --radius-card:20px;
  --radius-btn:12px;
  --radius-inner:14px;
  --shadow-float:0 2px 6px rgba(15,23,42,.05), 0 24px 48px -20px rgba(15,23,42,.22);
  --tint-blue:#EFF5FF;
  --chip-bg:#F1F4F7;
}
body{
  font-family:var(--font-body);
  font-size:15.5px;
  line-height:1.55;
  color:var(--ink);
  background:var(--bg);
}
body.shell-stages h1,
body.shell-stages h2{ font-weight:800; letter-spacing:-0.03em; }
body.shell-stages h3{ letter-spacing:-0.02em; }
#topbar{
  background:var(--white);
  color:var(--ink);
  border-bottom:1px solid var(--border);
  padding:0 20px;
  font-size:14.5px;
}
#topbar .topbar-row{
  max-width:none;
  min-height:68px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:16px;
  flex-wrap:nowrap;
}
#topbar :focus-visible{ outline-color:var(--blue); }
#topbar .brand{ justify-self:start; gap:12px; }
#topbar .brand-mark{ width:34px; height:34px; border-radius:9px; }
#topbar .brand-word{ font-size:18px; color:var(--ink); letter-spacing:-0.03em; }
#topbar .brand-tld{ color:var(--ink-faint); font-weight:700; }
.rail-slot{ justify-self:center; min-width:0; }
.topbar-right{
  justify-self:end;
  display:flex; align-items:center; gap:10px;
  min-width:0;
}
#topbar .site-nav-link{
  color:var(--ink-soft);
  font-size:14.5px; font-weight:600;
  padding:8px 10px;
  border-radius:var(--radius-pill);
}
#topbar .site-nav-link:hover{ color:var(--ink); background:var(--chip-bg); }
#topbar #learnMoreBtn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white);
  border:1px solid var(--border);
  color:var(--ink);
  border-radius:var(--radius-pill);
  padding:8px 16px 8px 13px;
  font-size:14.5px; font-weight:600;
  box-shadow:var(--shadow-sm);
}
#topbar #learnMoreBtn:hover{ background:var(--chip-bg); }
#topbar #learnMoreBtn[aria-expanded="true"]{ border-color:var(--blue); color:var(--blue-dark); background:var(--tint-blue); }
.learn-pill-mark{ width:17px; height:17px; flex:0 0 auto; color:var(--ink-soft); }
#learnMoreBtn[aria-expanded="true"] .learn-pill-mark{ color:var(--blue); }
#topbar .lang-toggle{
  background:var(--chip-bg);
  padding:3px; gap:2px;
  border-radius:var(--radius-pill);
}
#topbar .lang-toggle button{
  background:transparent; border:none;
  color:var(--ink-soft);
  font-size:14px; font-weight:700;
  padding:6px 13px;
  border-radius:var(--radius-pill);
}
#topbar .lang-toggle button.active{ background:var(--blue); color:#fff; }
@media (max-height:740px){
  #topbar{ position:relative; }
}
#learnMorePanel{
  position:absolute;
  top:calc(100% + 8px);
  right:20px;
  width:min(480px, calc(100vw - 32px));
  max-height:min(70vh, 620px);
  overflow-y:auto;
  margin:0;
  padding:20px 22px;
  background:var(--white);
  color:var(--ink-soft);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-float);
  font-size:14.5px; line-height:1.55;
  z-index:210;
}
#learnMorePanel p{ margin-bottom:10px; }
#learnMorePanel strong{ color:var(--ink); }
#learnMorePanel .legal-link{ color:var(--blue-dark); font-weight:650; }
#learnMorePanel a{ color:var(--blue-dark); font-weight:650; }
#learnMorePanel .learn-legal{ padding-top:12px; border-top:1px solid var(--border); margin-top:4px; }
#learnMorePanel .learn-legal > span[aria-hidden]{ color:var(--ink-faint); }
#learnMorePanel button:not(.legal-link){ border-radius:var(--radius-btn); }
.listen-slot{ display:inline-flex; }
.listen-slot:empty{ display:none; }
body.shell-stages:not([data-stage="case"]):not([data-stage="next"]) .listen-slot{ display:none; }
.listen-slot .listen-btn{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--ink-soft);
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm);
}
.listen-slot .listen-btn:hover{ background:var(--chip-bg); color:var(--ink); }
.listen-slot .listen-btn[aria-pressed="true"]{ background:var(--blue); border-color:var(--blue); color:#fff; }
#topbar .stage-rail{
  position:static;
  background:none;
  backdrop-filter:none; -webkit-backdrop-filter:none;
  border:none; box-shadow:none;
}
#topbar .stage-rail ol{ padding:0; margin:0; gap:4px; max-width:none; }
#topbar .stage-rail li + li::before{
  flex:0 0 18px; min-width:12px; height:2px;
  margin:0 6px;
  background:var(--border);
}
#topbar .stage-rail li:has(.rail-step.is-current)::before,
#topbar .stage-rail li:has(.rail-step.is-done)::before{ background:var(--border); }
#topbar .rail-step{
  gap:8px;
  padding:5px 7px 5px 5px;
  font-size:14.5px; font-weight:600;
  color:var(--ink-soft);
}
#topbar .rail-step:disabled{ opacity:1; color:var(--ink-faint); }
#topbar .rail-step.is-current{ color:var(--ink); font-weight:700; }
#topbar .rail-dot{
  width:28px; height:28px; flex:0 0 28px;
  font-size:13px; font-weight:700;
  background:var(--white);
  border:1.5px solid var(--border-strong);
  color:var(--ink-soft);
}
#topbar .rail-step.is-current .rail-dot{
  background:var(--blue); border-color:var(--blue); color:#fff;
  transform:none;
}
#topbar .rail-step.is-done .rail-dot{
  background:var(--green-light); border-color:var(--green-light); color:var(--green-dark);
}
#topbar .rail-step.is-done .rail-dot::after{ font-size:14px; font-weight:800; }
#topbar .rail-step:not(:disabled):hover{ background:var(--chip-bg); color:var(--ink); }
.site-footer{
  background:var(--white);
  border-top:1px solid var(--border);
  padding:22px 20px;
  margin-top:40px;
}
.site-footer-inner{
  max-width:1240px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:12px 32px;
  flex-wrap:wrap;
}
.sf-disclaimer{
  margin:0; flex:1 1 520px; min-width:0;
  font-size:14px; line-height:1.55; color:var(--ink-soft);
}
.sf-disclaimer strong{ color:var(--ink); font-weight:700; }
.sf-links{ margin:0; display:flex; gap:20px; flex:0 0 auto; }
.sf-links .legal-link{
  background:none; border:none; padding:4px 0;
  font-size:14.5px; font-weight:600;
  color:var(--ink-soft);
  text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px;
  cursor:pointer;
}
.sf-links .legal-link:hover{ color:var(--ink); text-decoration-thickness:2px; }
body.legal-open .site-footer{ display:none; }
body.shell-stages[data-stage="case"] .site-footer{ margin-top:28px; }
body.shell-stages #hero{
  background:var(--bg);
  min-height:0;
  padding:clamp(36px,6vw,84px) 20px clamp(28px,4vw,48px);
  justify-content:flex-start;
}
#heroBgLayer{ display:none; }
body.shell-stages .hero-inner{
  max-width:1240px;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:clamp(28px,4vw,64px);
  align-items:center;
}
body.shell-stages .hero-copy{ padding-top:0; }
body.shell-stages .hero-copy h1{
  font-size:clamp(36px,4.4vw,54px);
  line-height:1.06;
  letter-spacing:-0.03em;
  font-weight:800;
  max-width:13.6em;
  color:var(--ink);
  margin-bottom:20px;
}
.hero-accent{ color:var(--blue); }
body.shell-stages .hero-copy p.lead{
  font-size:clamp(17px,1.5vw,19px);
  line-height:1.6;
  max-width:50ch;
  margin-bottom:30px;
}
.lead-tail{ display:none; }
.hero-cta-row{
  display:flex; align-items:center; gap:18px 26px; flex-wrap:wrap;
  margin-bottom:26px;
}
body.shell-stages .hero-cta{
  border-radius:var(--radius-btn);
  padding:17px 30px;
  font-size:17px; font-weight:700;
  flex:0 0 auto;
}
.hero-cta-row .stage-reassure{
  margin:0;
  flex:1 1 240px;
  max-width:40ch;
  font-size:14.5px; line-height:1.5;
  color:var(--ink-soft);
  padding-left:32px;
  position:relative;
}
.hero-cta-row .stage-reassure::before{
  content:"";
  position:absolute; left:0; top:1px;
  width:22px; height:22px;
  background:no-repeat center/22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 5.2 5.8v5.1c0 4.3 2.9 7.6 6.8 9.1 3.9-1.5 6.8-4.8 6.8-9.1V5.8Z' fill='none' stroke='%230B7F5B' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9.3 11.9l1.9 1.9 3.5-3.7' fill='none' stroke='%230B7F5B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.shell-stages .hero-badges{ gap:10px; margin-bottom:0; }
body.shell-stages .hero-badge{
  padding:8px 16px;
  font-size:14.5px; font-weight:600;
  color:var(--ink-soft);
  border:1px solid var(--border);
  box-shadow:none;
}
body.shell-stages .hero-badge .dot{ background:var(--green); width:8px; height:8px; }
.hero-preview{
  display:block !important;
  position:relative;
  min-height:560px;
}
.hp-card{
  position:absolute; right:0; top:84px;
  width:min(100%, 470px);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-float);
  overflow:hidden;
}
.hp-head{
  display:flex; align-items:center; justify-content:flex-end; gap:14px;
  padding:22px 26px 14px;
}
.hp-bar{ width:120px; height:7px; border-radius:7px; background:#E6EBF0; overflow:hidden; }
.hp-fill{ display:block; width:80%; height:100%; background:var(--green); border-radius:7px; }
.hp-ready{ font-size:14.5px; font-weight:700; color:var(--green-strong); }
.hp-tabs{
  display:flex; gap:22px;
  padding:0 26px;
  border-bottom:1px solid var(--border);
  font-size:14.5px; font-weight:600; color:var(--ink-faint);
}
.hp-tab{ padding:10px 0 11px; border-bottom:2.5px solid transparent; margin-bottom:-1px; white-space:nowrap; }
.hp-tab b{ font-weight:700; }
.hp-tab.is-on{ color:var(--blue); border-bottom-color:var(--blue); }
.hp-list{ padding:16px 18px 20px; display:grid; gap:12px; }
.hp-ev{
  border:1px solid var(--border);
  border-radius:var(--radius-inner);
  padding:13px 16px 14px;
}
.hp-ev-top{ display:flex; align-items:center; gap:8px; margin:0 0 6px; flex-wrap:wrap; }
.hp-date{ font-size:14px; font-weight:700; color:var(--ink); }
.hp-cat{
  font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:var(--blue-dark); background:var(--blue-light);
  padding:3px 9px; border-radius:var(--radius-pill);
}
.hp-ev.cat-entry .hp-cat{ color:#5B21B6; background:var(--violet-light); }
.hp-badge{
  font-size:12px; font-weight:700;
  color:var(--green-dark); background:var(--green-light);
  padding:3px 9px; border-radius:var(--radius-pill);
}
.hp-files{ margin-left:auto; font-size:13px; color:var(--ink-faint); }
.hp-ev-text{ margin:0; font-size:14.5px; line-height:1.5; color:var(--ink); }
.hp-chat{
  position:absolute; left:0; top:0;
  width:min(76%, 360px);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-float);
  padding:18px 18px 16px;
  z-index:2;
}
.hp-user{
  margin:0 0 12px 22px;
  background:var(--blue); color:#fff;
  border-radius:16px 16px 4px 16px;
  padding:11px 15px;
  font-size:14.5px; line-height:1.45;
}
.hp-bot{ margin:0; display:flex; align-items:flex-end; gap:10px; }
.hp-bot > span:last-child{
  background:#EEF1F4; color:var(--ink);
  border-radius:16px 16px 16px 4px;
  padding:10px 14px;
  font-size:14.5px; line-height:1.45;
}
.hp-avatar, .panel-mark{
  flex:0 0 auto;
  width:30px; height:30px; border-radius:8px;
  background:no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='11.8' fill='%232563EB'/%3E%3Cpath d='M15.51 25.34 32 14.2l16.49 11.14v25.9a1.2 1.2 0 0 1-1.2 1.2H16.71a1.2 1.2 0 0 1-1.2-1.2Z' fill='%23fff'/%3E%3Cg fill='%232563EB'%3E%3Ccircle cx='22.94' cy='33.2' r='2.18'/%3E%3Ccircle cx='22.94' cy='40.3' r='2.18'/%3E%3Ccircle cx='22.94' cy='47.35' r='2.18'/%3E%3C/g%3E%3Cg fill='%23E4EBFB'%3E%3Crect x='29.05' y='31.73' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='38.83' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='45.88' width='10.05' height='2.95' rx='1.47'/%3E%3C/g%3E%3C/svg%3E");
}
body.shell-stages .stage.is-current .hero-visual{ animation:stageFade .7s var(--ease-out) .16s both; }
.hero-steps{
  max-width:1240px;
  margin:clamp(28px,4vw,52px) auto 0;
  display:grid;
  grid-template-columns:auto repeat(4, minmax(0,1fr));
  align-items:stretch;
  gap:16px;
}
.hs-lead{
  margin:0; align-self:center;
  font-size:19px; font-weight:800; letter-spacing:-0.02em; color:var(--ink);
  padding-right:8px;
}
.hs-list{ display:contents; list-style:none; margin:0; padding:0; }
.hs-list li{
  display:flex; align-items:center; gap:14px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px 20px;
  font-size:16.5px; font-weight:700; letter-spacing:-0.015em; color:var(--ink);
  line-height:1.3;
}
.hs-num{
  flex:0 0 auto;
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--blue-light); color:var(--blue-dark);
  font-size:15px; font-weight:800;
}
.hs-list li:last-child .hs-num{ background:var(--green-light); color:var(--green-dark); }
#topbar .rail-step.is-done .rail-dot{ font-size:0; }
#topbar #learnMoreBtn,
#topbar .site-nav-link{ white-space:nowrap; }
#topbar .topbar-row{
  grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);
}
body.shell-stages [data-stage="locate"] .map-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:clamp(8px,2vw,24px) 0 0;
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
}
.map-eyebrow{ display:none; }
body.shell-stages .map-eyebrow{
  display:block;
  margin:0 0 10px;
  font-size:13px; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--blue);
}
body.shell-stages [data-stage="locate"] .map-wrap h2{
  font-size:clamp(30px,3.2vw,40px);
  line-height:1.1;
  margin:0 0 12px;
  color:var(--ink);
}
body.shell-stages [data-stage="locate"] .map-sub{
  max-width:68ch;
  font-size:16.5px; line-height:1.6;
  color:var(--ink-soft);
  margin:0 0 28px;
}
body.shell-stages [data-stage="locate"] .map-flex{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:24px;
  align-items:start;
}
.map-card{
  min-width:0;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:24px 26px 18px;
}
body.shell-stages [data-stage="locate"] #usMap{
  display:block;
  max-height:min(470px,54vh);
  margin:0 auto;
}
body.shell-stages .map-card .map-hint{
  margin:14px 0 0;
  padding-top:14px;
  border-top:1px solid var(--border);
  font-size:13.5px; line-height:1.5;
  color:var(--ink-faint);
}
body.shell-stages .map-tooltip{
  background:var(--ink);
  font-size:13.5px; font-weight:700;
  padding:7px 12px;
  border-radius:10px;
  box-shadow:var(--shadow-float);
}
body.shell-stages [data-stage="locate"] .map-side{
  min-width:0;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:26px 24px 22px;
  display:flex; flex-direction:column;
}
body.shell-stages [data-stage="locate"] .map-side label{
  font-size:14px; font-weight:700;
  color:var(--ink);
  margin-bottom:8px;
}
body.shell-stages [data-stage="locate"] .map-side select{
  min-height:52px;
  padding:0 44px 0 16px;
  border-radius:var(--radius-btn);
  background-color:var(--white);
  background-position:right 16px center;
  font-size:15.5px;
  margin-bottom:20px;
}
body.shell-stages [data-stage="locate"] .map-side select:disabled{
  background-color:var(--bg);
  color:var(--ink-faint);
}
body.shell-stages .map-selection{
  margin:2px 0 0;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-inner);
  padding:14px 16px;
  font-size:14.5px; line-height:1.5;
  color:var(--ink-soft);
}
body.shell-stages .map-selection:has(strong){ background:var(--bg); border-color:var(--border); }
body.shell-stages .map-selection.is-chosen{
  position:relative;
  background:var(--green-light);
  border-color:#A7E9CC;
  color:var(--ink);
  padding-left:52px;
}
body.shell-stages .map-selection.is-chosen::before{
  content:"";
  position:absolute; left:16px; top:15px;
  width:24px; height:24px; border-radius:50%;
  background:var(--green-strong) no-repeat center/14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.map-selection .ms-label{ display:block; font-weight:700; color:var(--green-dark); }
.map-selection.is-chosen strong{ font-weight:700; color:var(--ink); }
body.shell-stages #backToStatesBtn{
  align-self:flex-start;
  margin:12px 0 0;
  border-radius:var(--radius-pill);
  padding:8px 14px;
  font-size:13.5px;
}
body.shell-stages .stage-nav-locate{
  max-width:none;
  margin:20px 0 0;
  display:flex; flex-direction:column; align-items:stretch;
  gap:0;
}
body.shell-stages .stage-nav-locate[hidden]{ display:none; }
body.shell-stages .stage-nav-locate .stage-nav-fwd{
  flex-direction:column; align-items:stretch;
  gap:10px;
  padding-bottom:18px;
  border-bottom:1px solid var(--border);
}
body.shell-stages #stageLocateNextBtn{
  width:100%;
  min-height:56px;
  border-radius:var(--radius-btn);
  font-size:16.5px;
}
body.shell-stages .stage-nav-locate .stage-hint{
  max-width:none;
  margin:0;
  text-align:center;
  font-size:13.5px; line-height:1.45;
}
body.shell-stages .stage-nav-locate .stage-skip{
  align-self:center;
  color:var(--blue-dark);
  text-decoration-color:currentColor;
  font-size:14.5px;
  min-height:32px;
}
body.shell-stages .stage-nav-locate .stage-back{
  align-self:flex-start;
  margin-top:16px;
}
body.shell-stages .stage-back{
  border-radius:var(--radius-pill);
  border-color:var(--border-strong);
  background:var(--white);
  color:var(--ink-soft);
  padding:10px 18px;
  font-size:14.5px; font-weight:650;
}
body.shell-stages .stage-back:hover{ border-color:var(--ink-soft); color:var(--ink); background:var(--chip-bg); }
body.shell-stages .stage-next{
  border-radius:var(--radius-btn);
  box-shadow:0 1px 2px rgba(37,99,235,.18), 0 10px 22px -12px rgba(37,99,235,.55);
}
body.shell-stages .stage-next:hover:not(:disabled){ transform:none; }
body.shell-stages .stage-next:disabled{ background:#E6EBF0; color:var(--ink-soft); box-shadow:none; }
body.shell-stages .btn{ border-radius:var(--radius-btn); }
body.shell-stages .btn-outline{ border-color:var(--border-strong); background:var(--white); color:var(--ink); }
body.shell-stages .btn-outline:hover{ border-color:var(--blue); color:var(--blue-dark); background:var(--tint-blue); }
body.shell-stages #workspace{
  max-width:1440px;
  margin:24px auto 0;
  padding:0 24px;
  gap:24px;
}
body.shell-stages .chat-panel,
body.shell-stages .cf-card{
  border-radius:var(--radius-card);
  border:1px solid var(--border);
  box-shadow:none;
}
body.shell-stages[data-stage="case"] .chat-panel{ box-shadow:none; }
@media (min-width:1024px){
  body.shell-stages .chat-panel,
  body.shell-stages .dashboard{
    height:clamp(500px, calc(100vh - var(--chrome-top, 0px) - var(--dock-h, 0px) - 128px), 900px);
  }
}
body.shell-stages .chat-panel .panel-head{
  display:flex; align-items:center; justify-content:flex-start; gap:12px;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
}
body.shell-stages .chat-panel .panel-head .panel-mark{ width:40px; height:40px; border-radius:11px; }
.panel-titles{ min-width:0; }
body.shell-stages .chat-panel .panel-head h2{
  font-size:17.5px; font-weight:800; letter-spacing:-0.02em;
  margin:0; line-height:1.25;
}
.panel-sub{
  display:flex; align-items:center; gap:7px;
  margin:2px 0 0;
  font-size:13.5px; font-weight:500; line-height:1.4;
  color:var(--ink-soft);
}
.panel-sub-dot{
  flex:0 0 auto;
  width:8px; height:8px; border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px var(--green-light);
}
body.shell-stages .chat-panel > .sensitive-note{ margin:16px 20px 0; }
body.shell-stages .sensitive-note.is-first-run{
  display:flex; gap:11px; align-items:flex-start;
  background:var(--tint-blue);
  border:1px solid #CFE0FB;
  border-radius:var(--radius-inner);
  padding:13px 15px;
  font-size:14px; line-height:1.5;
  color:var(--ink-soft);
}
body.shell-stages .sensitive-note.is-first-run[hidden]{ display:none; }
body.shell-stages .sensitive-note .sensitive-mark{ flex:0 0 auto; width:20px; height:20px; color:var(--blue); margin-top:1px; }
body.shell-stages .sensitive-note strong{ color:var(--ink); }
body.shell-stages #chatMessages{ padding:20px 20px 10px; gap:12px; }
body.shell-stages .msg{
  font-size:15px; line-height:1.5;
  padding:11px 15px;
  border-radius:18px;
  max-width:80%;
}
body.shell-stages .msg-user{ border-bottom-right-radius:6px; }
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency){
  position:relative;
  margin-left:40px;
  border-bottom-left-radius:6px;
}
body.shell-stages .msg-bot{ background:#EEF1F4; }
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency)::before{
  content:"";
  position:absolute; left:-40px; bottom:0;
  width:30px; height:30px; border-radius:8px;
  background:no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='11.8' fill='%232563EB'/%3E%3Cpath d='M15.51 25.34 32 14.2l16.49 11.14v25.9a1.2 1.2 0 0 1-1.2 1.2H16.71a1.2 1.2 0 0 1-1.2-1.2Z' fill='%23fff'/%3E%3Cg fill='%232563EB'%3E%3Ccircle cx='22.94' cy='33.2' r='2.18'/%3E%3Ccircle cx='22.94' cy='40.3' r='2.18'/%3E%3Ccircle cx='22.94' cy='47.35' r='2.18'/%3E%3C/g%3E%3Cg fill='%23E4EBFB'%3E%3Crect x='29.05' y='31.73' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='38.83' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='45.88' width='10.05' height='2.95' rx='1.47'/%3E%3C/g%3E%3C/svg%3E");
}
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency):has(+ :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency, .typing))::before{ visibility:hidden; }
body.shell-stages .typing{ margin-left:40px; border-radius:18px; border-bottom-left-radius:6px; }
body.shell-stages .msg-guard{ border-color:#F3D28A; }
body.shell-stages .msg-correction{ border-color:#A7E8CE; }
body.shell-stages #chatMessages > .quick-replies{ margin-left:40px; gap:8px; max-width:calc(100% - 40px); }
body.shell-stages .quick-replies button{
  padding:8px 16px;
  font-size:14.5px; font-weight:650;
  border-width:1.5px;
  border-color:var(--blue);
  color:var(--blue-dark);
  background:var(--white);
}
body.shell-stages .quick-replies button:hover{ background:var(--tint-blue); transform:none; }
body.shell-stages .quick-replies button.qr-skip{ border-color:var(--border-strong); color:var(--ink-soft); }
body.shell-stages .chat-panel .composer{ padding:12px 20px 16px; border-top:1px solid var(--border); }
body.shell-stages .composer-field{
  align-items:flex-end;
  gap:8px;
  padding:6px;
  border-radius:24px;
  border-color:var(--border-strong);
  background:var(--white);
}
body.shell-stages .composer-plus{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--chip-bg);
}
body.shell-stages .composer-field #chatInput{
  min-height:40px;
  padding:9px 4px;
  font-size:15.5px; line-height:1.4;
}
body.shell-stages .composer-field #sendBtn{
  width:40px; height:40px;
  border-radius:50%;
}
body.shell-stages .composer-field #sendBtn svg{ width:19px; height:19px; }
body.shell-stages .attach-menu{ border-radius:var(--radius-inner); }
body.shell-stages .chat-panel .composer-hint{
  margin:9px 6px 0;
  font-size:13px; line-height:1.45;
  color:var(--ink-faint);
}
.cf-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  padding:20px 24px 0;
}
.cf-id{ min-width:0; }
body.shell-stages .cf-title{
  margin:0;
  font-size:22px; font-weight:800; letter-spacing:-0.03em; line-height:1.2;
  color:var(--ink);
}
.cf-who{
  margin:3px 0 0;
  font-size:14px; line-height:1.45;
  color:var(--ink-soft);
  overflow-wrap:anywhere;
}
.cf-who[hidden]{ display:none; }
.cf-ready{
  flex:0 0 auto;
  margin:0;
  display:flex; flex-direction:column; align-items:flex-end;
  text-align:right;
}
.cf-ready-pct{
  font-size:34px; font-weight:800; letter-spacing:-0.035em; line-height:1;
  color:var(--green-strong);
  font-variant-numeric:tabular-nums;
}
.cf-ready-pct.is-zero{ color:var(--ink-faint); }
.cf-ready-label{
  margin-top:5px;
  font-size:12.5px; font-weight:650; line-height:1.3;
  color:var(--ink-soft);
  max-width:16ch;
}
.cf-segs{
  list-style:none;
  margin:0; padding:14px 24px 0;
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px;
}
.cf-seg{ min-width:0; }
.cf-seg-bar{
  display:block;
  height:8px; border-radius:8px;
  background:#E6EBF0;
  overflow:hidden;
}
.cf-seg-fill{
  display:block; height:100%; width:0;
  background:var(--green);
  border-radius:8px;
  transition:width .5s var(--ease-out);
}
.cf-seg-label{
  display:flex; align-items:center; gap:5px;
  margin-top:7px;
  font-size:12.5px; font-weight:650; line-height:1.3;
  color:var(--ink-faint);
  min-width:0;
}
.cf-seg-label > span:not(.cf-seg-mark):not(.cf-seg-sr){ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cf-seg.is-started .cf-seg-label{ color:var(--ink-soft); }
.cf-seg.is-done .cf-seg-label{ color:var(--green-dark); }
.cf-seg-mark{ display:none; }
.cf-seg.is-done .cf-seg-mark{
  display:inline-block; flex:0 0 auto;
  width:14px; height:14px;
  background:no-repeat center/14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3 7-7.4' fill='none' stroke='%2305684B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cf-next{
  margin:12px 24px 0;
  font-size:13.5px; line-height:1.45;
  color:var(--ink-soft);
}
.cf-next[hidden]{ display:none; }
.cf-next strong{ color:var(--ink); font-weight:700; }
@media (min-width:561px){
  body.shell-stages .cf-bar{ padding:0 14px 0 24px; }
  body.shell-stages .cf-tabs{ gap:26px; }
  body.shell-stages .cf-tab{ padding:14px 0 12px; font-size:15px; }
}
body.shell-stages .cf-bar{ margin-top:12px; }
body.shell-stages .cf-tab{
  align-items:center;
  border-bottom-width:2.5px;
  font-weight:650;
  color:var(--ink-faint);
}
body.shell-stages .cf-tab:hover{ color:var(--ink); }
body.shell-stages .cf-tab[aria-selected="true"]{ color:var(--blue-dark); border-bottom-color:var(--blue); }
body.shell-stages .cf-count{
  display:inline-block;
  min-width:22px;
  padding:1px 7px;
  border-radius:var(--radius-pill);
  background:var(--chip-bg);
  font-size:12px; font-weight:700; line-height:18px; text-align:center;
  color:var(--ink-soft);
}
body.shell-stages .cf-tab[aria-selected="true"] .cf-count{ background:var(--blue-light); color:var(--blue-dark); }
@media (max-width:560px){ body.shell-stages .cf-count{ min-width:18px; padding:0 5px; line-height:17px; } }
@media (max-width:400px){ body.shell-stages .cf-count{ min-width:16px; padding:0 4px; font-size:11.5px; } }
body.shell-stages .cf-more-btn{ border-radius:10px; }
body.shell-stages .pop-menu{ border-radius:var(--radius-inner); box-shadow:var(--shadow-float); }
body.shell-stages .cf-panel{ padding:18px 22px 22px; }
#timelineList .timeline-item{ --cat:var(--ink-faint); --cat-ink:var(--ink-soft); --cat-tint:#E7EAEE; }
#timelineList .timeline-item.cat-habitability{ --cat:var(--blue); --cat-ink:var(--blue-dark); --cat-tint:var(--blue-light); }
#timelineList .timeline-item.cat-entry{ --cat:var(--violet); --cat-ink:#5B21B6; --cat-tint:var(--violet-light); }
#timelineList .timeline-item.cat-eviction{ --cat:#B91C1C; --cat-ink:#991B1B; --cat-tint:#FDE4E1; }
#timelineList .timeline-item.cat-harassment{ --cat:var(--red); --cat-ink:#991B1B; --cat-tint:var(--red-light); }
#timelineList .timeline-item.cat-deposit{ --cat:var(--amber); --cat-ink:#92400E; --cat-tint:var(--amber-light); }
body.shell-stages #timelineList .timeline-item{
  position:relative;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-inner);
  margin:0 0 12px;
  padding:13px 14px 14px 20px;
  overflow:hidden;
}
body.shell-stages #timelineList > .timeline-item:last-child{ margin-bottom:0; padding-bottom:14px; }
body.shell-stages #timelineList .timeline-item::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width:4px; height:auto; border-radius:0;
  background:var(--cat);
}
body.shell-stages #timelineList > .timeline-item:not(:last-child)::after,
body.shell-stages #timelineList .ti-children > .timeline-item:not(:last-child)::after{ display:none; }
body.shell-stages #timelineList .ti-top{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:6px 8px;
  margin:0 0 8px;
}
body.shell-stages #timelineList .ti-date{
  border-radius:var(--radius-pill);
  padding:2px 10px;
  border-color:var(--border-strong);
  background:var(--white);
  color:var(--ink);
  font-size:13.5px; font-weight:700;
}
body.shell-stages #timelineList .ti-date .ti-date-part{ font-size:13.5px; font-weight:700; color:var(--ink); padding:3px 1px; }
body.shell-stages #timelineList .ti-cat-select{
  border-radius:var(--radius-pill);
  border:1px solid var(--cat);
  background-color:var(--cat-tint);
  color:var(--cat-ink);
  font-size:11.5px; font-weight:800; letter-spacing:.06em;
  padding:4px 24px 4px 10px;
  background-position:right 8px center;
}
body.shell-stages #timelineList :is(.badge-written, .badge-noresponse){
  font-size:12px; font-weight:700; line-height:1.4;
  padding:3px 10px;
  border-radius:var(--radius-pill);
}
body.shell-stages #timelineList .badge-written{ background:var(--green-light); color:var(--green-dark); }
body.shell-stages #timelineList .badge-noresponse{ background:var(--red-light); color:#991B1B; }
.badge-ongoing{ background:var(--amber-light); color:#92400E; font-size:11px; font-weight:700; padding:2px 8px; border-radius:var(--radius-pill); }
body.shell-stages #timelineList .badge-ongoing{ font-size:12px; padding:3px 9px; }
body.shell-stages #timelineList .badge-comm{ font-size:12px; color:var(--ink-faint); }
body.shell-stages #timelineList .ti-remove{
  margin-left:auto;
  width:30px; height:30px; padding:0;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%;
  font-size:13px; line-height:1;
  color:var(--ink-faint);
}
body.shell-stages #timelineList .ti-remove:hover{ background:var(--red-light); color:#B91C1C; }
body.shell-stages #timelineList .ti-desc{
  width:calc(100% + 8px); margin:0 0 0 -8px;
  font-size:15px; line-height:1.5;
  color:var(--ink);
}
body.shell-stages #timelineList .ti-when.is-exact{ display:none; }
body.shell-stages #timelineList .ti-when{
  margin:4px 0 0;
  font-size:12px; letter-spacing:.04em;
}
body.shell-stages #timelineList .ti-images{ gap:6px; margin-top:10px; }
body.shell-stages #timelineList .ti-images img{ width:46px; height:46px; border-radius:9px; }
body.shell-stages #timelineList .ti-expand{ margin-top:10px; border-radius:var(--radius-pill); }
body.shell-stages #timelineList .ti-children{
  margin-top:10px;
  padding-left:12px;
  border-left:2px solid var(--border);
}
body.shell-stages #timelineList .timeline-item.ti-child{
  border:none;
  border-radius:10px;
  background:var(--bg);
  padding:10px 12px 10px 16px;
  margin:0 0 8px;
}
body.shell-stages #timelineList .timeline-item.ti-child::before{ width:3px; }
body.shell-stages #timelineList .ti-children > .timeline-item.ti-child:last-child{ margin-bottom:0; }
body.shell-stages #timelineList > .empty-state{ padding:28px 8px; text-align:center; }
body.shell-stages .ex-drop{
  align-items:center; text-align:center;
  gap:4px;
  padding:26px 22px 22px;
  border:1.5px dashed var(--border-strong);
  border-radius:var(--radius-inner);
  background:var(--bg);
}
body.shell-stages .ex-drop.dragover{ border-color:var(--blue); background:var(--tint-blue); }
body.shell-stages .ex-drop-title{ font-size:15.5px; font-weight:700; }
body.shell-stages .ex-drop-sub{ max-width:46ch; font-size:13.5px; color:var(--ink-soft); margin-bottom:12px; }
body.shell-stages .ex-upload{ padding:10px 22px; border-radius:var(--radius-pill); }
body.shell-stages .cf-panel .ex-group{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:var(--radius-inner);
  padding:15px 18px 16px;
}
body.shell-stages .ex-group h3{ font-size:15px; font-weight:700; letter-spacing:-0.015em; margin:0 0 8px; color:var(--ink); }
body.shell-stages .ex-photo{ width:68px; height:68px; border-radius:10px; }
body.shell-stages #cfPanelSummary .chip-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}
body.shell-stages #cfPanelSummary .chip{
  display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  width:100%; min-width:0;
  padding:11px 14px 12px;
  border-radius:var(--radius-inner);
  border:1px solid var(--border);
  background:var(--white);
  color:var(--ink);
  font-size:15px; font-weight:650; line-height:1.4;
  text-align:left;
  overflow-wrap:anywhere;
}
body.shell-stages #cfPanelSummary .chip:hover{ border-color:var(--blue); background:var(--tint-blue); }
body.shell-stages #cfPanelSummary .chip small{
  font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--ink-faint);
}
body.shell-stages #cfPanelSummary .chip.empty{
  border:1.5px dashed var(--border-strong);
  background:var(--bg);
  color:var(--blue-dark);
}
body.shell-stages #cfPanelSummary .chip.empty:hover{ border-color:var(--blue); background:var(--tint-blue); color:var(--blue-dark); }
body.shell-stages #cfPanelSummary .chip-hint{ font-size:13px; color:var(--ink-faint); margin-top:14px; }
body.shell-stages #exportSection .export-row .btn{
  min-height:52px;
  font-size:15.5px;
  border-radius:var(--radius-btn);
}
body.shell-stages #downloadPdfBtn,
body.shell-stages #nextDownloadBtn{
  background:var(--green-strong); border-color:var(--green-strong); color:#fff;
}
body.shell-stages #downloadPdfBtn:hover,
body.shell-stages #nextDownloadBtn:hover{ background:var(--green-dark); border-color:var(--green-dark); }
body.shell-stages .cf-list{ margin-top:18px; border:1px solid var(--border); border-radius:var(--radius-inner); overflow:hidden; }
body.shell-stages .cf-row{ padding:10px 16px; }
body.shell-stages .cf-list > :last-child{ border-bottom:none; }
body.shell-stages button.cf-row:hover{ background:var(--bg); }
body.shell-stages .cf-row-split .sm-bar{ border-radius:6px; }
body.shell-stages .stage-nav-case{
  max-width:1440px;
  margin:18px auto 0;
  padding:0 24px;
}
body.shell-stages #stageToNextBtn{
  background:var(--green-strong);
  padding:14px 26px;
  font-size:16px;
  box-shadow:0 1px 2px rgba(11,127,91,.2), 0 10px 22px -12px rgba(11,127,91,.6);
}
body.shell-stages #stageToNextBtn:hover{ background:var(--green-dark); }
body.shell-stages .next-page{
  max-width:1240px;
  margin:clamp(24px,3vw,40px) auto 0;
  padding:0 24px;
}
body.shell-stages .next-top{
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:28px;
  align-items:end;
  margin-bottom:24px;
}
@media (min-width:1024px){
  .next-top:has(> .next-action-band #emailRow:not([hidden])) > .next-head{ margin-top:var(--nab-hold, 0px); }
}
body.shell-stages .next-eyebrow{
  font-size:13px; font-weight:800; letter-spacing:.12em;
  margin:0 0 10px;
}
body.shell-stages .next-head h2{
  font-size:clamp(30px,3.2vw,40px);
  line-height:1.08;
  margin:0 0 12px;
}
body.shell-stages .next-lead{ font-size:16.5px; line-height:1.6; color:var(--ink-soft); }
.next-who-row{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:8px 12px;
  margin:16px 0 0;
}
.next-who-row:not(:has(> :not([hidden]))){ display:none; }
.next-ready-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 12px 5px 9px;
  border-radius:var(--radius-pill);
  background:var(--green-light);
  color:var(--green-dark);
  font-size:13.5px; font-weight:750; line-height:1.3;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.next-ready-pill::before{
  content:""; flex:0 0 auto;
  width:15px; height:15px;
  background:no-repeat center/15px 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3 7-7.4' fill='none' stroke='%2305684B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.next-ready-pill[hidden]{ display:none; }
body.shell-stages .next-identity{ margin:0; font-size:14px; color:var(--ink-soft); }
body.shell-stages .next-identity[hidden]{ display:none; }
body.shell-stages .next-action-band{
  border-radius:var(--radius-card);
  border:1px solid var(--border);
  box-shadow:none;
  padding:22px 24px;
}
body.shell-stages .nab-title{ font-size:18px; font-weight:800; letter-spacing:-0.02em; margin:0 0 4px; }
body.shell-stages .nab-sub{ font-size:14.5px; line-height:1.55; }
body.shell-stages .next-action-band .next-actions{ align-items:center; gap:10px 16px; margin-top:16px; }
body.shell-stages .next-action-band .next-actions .btn{
  min-height:50px;
  border-radius:var(--radius-btn);
  font-size:15.5px;
}
.nab-preview{
  flex:0 0 auto;
  min-height:44px;
  padding:6px 6px;
  background:none; border:none;
  font:inherit; font-size:15px; font-weight:650;
  color:var(--blue-dark);
  text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px;
  cursor:pointer;
}
.nab-preview:hover{ color:var(--ink); text-decoration-thickness:2px; }
body.shell-stages .next-grid{
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
  align-items:start;
}
.next-col{ min-width:0; display:flex; flex-direction:column; gap:24px; }
body.shell-stages .next-grid > .next-col-side{
  display:flex;
  background:none; border:none; box-shadow:none; border-radius:0;
  padding:0;
}
body.shell-stages .next-page :is(#nextStepsSection, #checklistSection, #legalAidSection, #rulesSection){
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:none;
  padding:24px 26px;
  margin:0;
}
body.shell-stages .next-page .dash-section h3{
  font-size:13px; font-weight:800;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft);
  margin:0 0 14px;
}
body.shell-stages .stage.is-current .next-grid > .next-col{ animation:stageRise .52s var(--ease-out) .10s both; }
body.shell-stages .stage.is-current .next-grid > .next-col-side{ animation-delay:.16s; }
.next-steps-list{ list-style:none; margin:0; padding:0; }
.ns-step{ position:relative; }
.ns-step + .ns-step{ border-top:1px solid var(--border); }
.ns-box{
  position:absolute; left:0; top:11px;
  width:32px; height:32px;
  margin:0; opacity:0;
  cursor:pointer; z-index:1;
}
.ns-step label{
  display:flex; align-items:flex-start; gap:14px;
  padding:11px 0;
  font-size:15.5px; line-height:1.5;
  color:var(--ink);
  cursor:pointer;
}
.ns-num{
  flex:0 0 32px;
  width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-top:-4px;
  background:var(--blue-light);
  color:var(--blue-dark);
  font-size:14.5px; font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:background .2s var(--ease-out), color .2s var(--ease-out);
}
.ns-text{ padding-top:1px; }
.ns-step label:hover .ns-num{ background:#C7DCFB; }
.ns-box:checked + label .ns-num{
  font-size:0;
  background:var(--green-strong) no-repeat center/16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ns-box:checked + label .ns-text{ color:var(--ink-soft); }
.ns-box:focus-visible + label .ns-num{ outline:3px solid var(--blue); outline-offset:2px; }
body.shell-stages .checklist-head{ align-items:center; margin:0 0 6px; }
body.shell-stages .next-page .checklist-head h3{ margin:0; }
body.shell-stages .checklist-count{
  padding:3px 10px;
  border-radius:var(--radius-pill);
  background:var(--chip-bg);
  color:var(--ink-soft);
  font-size:12.5px; font-weight:700;
}
body.shell-stages .next-page #checklistSection li{ gap:12px; padding:12px 0; font-size:15px; }
body.shell-stages .next-page #checklistSection input[type=checkbox]{
  width:20px; height:20px; margin:1px 0 0;
  accent-color:var(--green-strong);
}
body.shell-stages .next-page #checklistSection .checklist-foot .btn{ min-height:48px; }
body.shell-stages .next-page #legalAidSection .legal-aid-item{ padding:14px 0; }
body.shell-stages .next-page #legalAidSection .la-name{ font-size:15px; }
body.shell-stages .la-type{ font-size:13px; }
body.shell-stages .la-elig,
body.shell-stages .la-note{ font-size:13px; }
body.shell-stages .next-page #legalAidSection .la-meta{ font-size:14px; gap:2px; }
body.shell-stages .next-page #legalAidSection .la-meta a{ display:inline-block; line-height:24px; min-height:24px; }
@media (pointer:coarse){
  body.shell-stages .next-page #legalAidSection .la-meta a{ line-height:44px; min-height:44px; }
}
body.shell-stages .next-page .rules-note{ border-radius:var(--radius-inner); }
body.shell-stages .next-page .law-disclosure{ border-radius:var(--radius-inner); border-color:var(--border-strong); }
body.shell-stages .next-page .law-disclosure > summary{ min-height:48px; font-size:14.5px; border-radius:var(--radius-inner); }
body.shell-stages .next-foot{ margin-top:28px; }
body.shell-stages .next-feedback{ font-size:14.5px; }
@media (min-width:1024px){
  body.shell-stages #caseDock{ display:none; }
}
body.shell-stages .modal-box{
  border-radius:var(--radius-card);
  border:1px solid var(--border);
  box-shadow:var(--shadow-float);
}
body.shell-stages .modal-head{ padding:18px 22px; }
body.shell-stages .modal-head h2{ font-weight:800; letter-spacing:-0.02em; }
body.shell-stages .modal-head button[data-close]{
  width:36px; height:36px; padding:0;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%;
  font-size:16px;
}
body.shell-stages .modal-head button[data-close]:hover{ background:var(--chip-bg); color:var(--ink); }
body.shell-stages .modal-body{ padding:20px 22px; }
body.shell-stages .modal-body pre{ border-radius:var(--radius-inner); }
body.shell-stages .modal-foot{ padding:16px 22px; }
body.shell-stages .ex-group h3{ text-transform:none; }
@media (max-width:1109px), (max-width:1229px) and (pointer:coarse), (max-width:1229px) and (pointer:none){
  #topbar{ padding:0 16px; }
  #topbar .topbar-row{
    grid-template-columns:minmax(0,1fr) auto auto auto auto;
    grid-template-areas:"brand nav listen learn lang" "rail rail rail rail rail";
    column-gap:10px; row-gap:0;
    min-height:0;
    padding-top:10px;
  }
  .topbar-right{ display:contents; }
  #topbar .brand{ grid-area:brand; }
  #topbar #siteNav{ grid-area:nav; }
  #topbar .listen-slot{ grid-area:listen; }
  #topbar #learnMoreBtn{ grid-area:learn; }
  #topbar .lang-toggle{ grid-area:lang; }
  .rail-slot{
    grid-area:rail;
    justify-self:stretch;
    margin:10px -16px 0;
    border-top:1px solid var(--border);
  }
  #topbar .stage-rail ol{ justify-content:center; padding:8px 16px; }
  #learnMorePanel{ right:16px; }
}
@media (max-width:1154px), (max-width:1279px) and (pointer:coarse), (max-width:1279px) and (pointer:none){
  html[lang="es"] #topbar{ padding:0 16px; }
  html[lang="es"] #topbar .topbar-row{
    grid-template-columns:minmax(0,1fr) auto auto auto auto;
    grid-template-areas:"brand nav listen learn lang" "rail rail rail rail rail";
    column-gap:10px; row-gap:0;
    min-height:0;
    padding-top:10px;
  }
  html[lang="es"] .topbar-right{ display:contents; }
  html[lang="es"] #topbar .brand{ grid-area:brand; }
  html[lang="es"] #topbar #siteNav{ grid-area:nav; }
  html[lang="es"] #topbar .listen-slot{ grid-area:listen; }
  html[lang="es"] #topbar #learnMoreBtn{ grid-area:learn; }
  html[lang="es"] #topbar .lang-toggle{ grid-area:lang; }
  html[lang="es"] .rail-slot{
    grid-area:rail;
    justify-self:stretch;
    margin:10px -16px 0;
    border-top:1px solid var(--border);
  }
  html[lang="es"] #topbar .stage-rail ol{ justify-content:center; padding:8px 16px; }
  html[lang="es"] #learnMorePanel{ right:16px; }
}
@media (max-width:1023px){
  body.shell-stages #hero{ padding:clamp(28px,5vw,48px) 16px 28px; }
  body.shell-stages .hero-inner{ grid-template-columns:minmax(0,1fr); gap:32px; }
  body.shell-stages .hero-copy h1{ max-width:none; }
  .hero-preview{ min-height:520px; width:100%; max-width:560px; margin:0 auto; }
  .hero-steps{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
  .hs-lead{ grid-column:1 / -1; }
  body.shell-stages [data-stage="locate"] .map-flex{ grid-template-columns:minmax(0,1fr); gap:16px; }
  body.shell-stages [data-stage="locate"] #usMap{ max-height:none; }
  body.shell-stages #workspace{ padding:0 16px; margin-top:18px; }
  body.shell-stages .stage-nav-case{ padding:0 16px; }
  body.shell-stages .next-page{ padding:0 16px; }
  body.shell-stages .next-top{ grid-template-columns:minmax(0,1fr); gap:18px; align-items:start; }
  body.shell-stages .next-grid{ grid-template-columns:minmax(0,1fr); gap:18px; }
  .next-col{ gap:18px; }
}
@media (max-width:560px){
  #topbar,
  html[lang="es"] #topbar{ padding:0 12px; font-size:13px; }
  #topbar .topbar-row,
  html[lang="es"] #topbar .topbar-row{
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-areas:"brand brand lang" ". nav learn" "rail rail rail";
    column-gap:6px;
    padding-top:8px;
  }
  #topbar .brand{ gap:8px; }
  #topbar .brand-mark{ width:28px; height:28px; border-radius:8px; }
  #topbar .brand-word{ font-size:15px; }
  #topbar .site-nav-link{ font-size:13.5px; padding:6px 8px; }
  #topbar #learnMoreBtn{ padding:6px 13px 6px 10px; font-size:13.5px; margin-top:6px; }
  #topbar #siteNav{ margin-top:6px; }
  #topbar .lang-toggle button{ font-size:13px; padding:6px 12px; }
  .rail-slot,
  html[lang="es"] .rail-slot{ margin:8px -12px 0; }
  #topbar .stage-rail ol,
  html[lang="es"] #topbar .stage-rail ol{ justify-content:space-between; padding:7px 10px 8px; gap:0; }
  #topbar .rail-step{ gap:4px; padding:3px 2px; font-size:11px; line-height:1.15; border-radius:10px; }
  #topbar .rail-dot{ width:24px; height:24px; flex:0 0 24px; font-size:11.5px; }
  #topbar .rail-step.is-done .rail-dot::after{ font-size:12px; }
  #topbar .stage-rail li + li::before{ flex:1 1 12px; margin:12px 2px 0; min-width:6px; }
  #learnMorePanel,
  html[lang="es"] #learnMorePanel{ right:12px; left:12px; width:auto; }
  body.shell-stages #hero{ padding:24px 16px 24px; }
  body.shell-stages .hero-copy h1{ font-size:clamp(30px,8.6vw,36px); line-height:1.1; margin-bottom:14px; }
  body.shell-stages .hero-copy p.lead{ font-size:16.5px; margin-bottom:22px; }
  .lead-tail{ display:inline; }
  .hero-preview{ display:none !important; }
  .hero-steps{ display:none; }
  .hero-cta-row{ flex-direction:column; align-items:stretch; gap:14px; margin-bottom:20px; }
  body.shell-stages .hero-cta{ width:100%; text-align:center; padding:16px 22px; }
  .hero-cta-row .stage-reassure{ max-width:none; flex:0 0 auto; font-size:14px; }
  body.shell-stages .hero-badge{ padding:6px 12px; font-size:13.5px; }
  body.shell-stages [data-stage="locate"] .map-wrap h2{ font-size:28px; }
  body.shell-stages [data-stage="locate"] .map-sub{ font-size:15.5px; margin-bottom:18px; }
  .map-card{ padding:12px 12px 12px; border-radius:16px; }
  body.shell-stages [data-stage="locate"] .map-side{ padding:20px 16px 18px; border-radius:16px; }
  body.shell-stages #workspace{ padding:0 12px; margin-top:12px; }
  body.shell-stages .stage-nav-case{ padding:0 12px; }
  body.shell-stages .chat-panel .panel-head{ padding:14px 14px; flex-wrap:nowrap; }
  body.shell-stages .chat-panel .panel-head .panel-mark{ width:34px; height:34px; border-radius:9px; }
  body.shell-stages .chat-panel > .sensitive-note{ margin:12px 12px 0; }
  body.shell-stages #chatMessages{ padding:14px 12px 8px; }
  body.shell-stages .msg{ max-width:88%; font-size:15px; }
  body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency){ margin-left:32px; }
  body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency)::before{ left:-32px; width:24px; height:24px; border-radius:7px; }
  body.shell-stages .typing,
  body.shell-stages #chatMessages > .quick-replies{ margin-left:32px; }
  body.shell-stages #chatMessages > .quick-replies{ max-width:calc(100% - 32px); }
  body.shell-stages .chat-panel .composer{ padding:10px 12px 12px; }
  body.shell-stages .composer-field{ border-radius:20px; }
  .cf-head{ padding:16px 16px 0; }
  body.shell-stages .cf-title{ font-size:20px; }
  .cf-ready-pct{ font-size:28px; }
  .cf-segs{ padding:12px 16px 0; gap:8px; }
  .cf-seg-label{ font-size:11.5px; align-items:flex-start; }
  .cf-seg-label > span:not(.cf-seg-mark):not(.cf-seg-sr){ white-space:normal; overflow:visible; }
  .cf-next{ margin:10px 16px 0; }
  body.shell-stages .cf-panel{ padding:14px 14px 18px; }
  body.shell-stages #cfPanelSummary .chip-row{ grid-template-columns:minmax(0,1fr); }
  body.shell-stages .next-page{ padding:0 12px; }
  body.shell-stages .next-head h2{ font-size:30px; }
  body.shell-stages .next-action-band{ padding:18px 16px; border-radius:16px; }
  body.shell-stages .next-action-band .next-actions{ flex-direction:column; align-items:stretch; }
  .nab-preview{ align-self:center; }
  body.shell-stages .next-page :is(#nextStepsSection, #checklistSection, #legalAidSection, #rulesSection){
    padding:20px 16px; border-radius:16px;
  }
  .site-footer{ padding:18px 16px; margin-top:28px; }
  .sf-disclaimer{ flex-basis:100%; font-size:13.5px; }
}
.hero-accent{ display:block; }
.hero-preview{
  display:flex !important;
  flex-direction:column;
  min-height:0;
}
.hp-chat{
  position:relative; left:auto; top:auto;
  order:-1;
  align-self:flex-start;
  width:min(62%, 320px);
}
.hp-card{
  position:relative; right:auto; top:auto;
  align-self:flex-end;
  margin-top:-50px;
}
.hp-bar{ width:100px; }
@media (max-width:1023px){
  .hero-preview{ min-height:0; }
}
@media (max-width:560px){
  .hero-preview{ display:none !important; }
}
.site-footer .disclaimer-more{ display:inline; }
@media (max-width:340px){
  .cf-segs{ grid-template-columns:repeat(2, minmax(0,1fr)); row-gap:10px; }
}
.sf-links{ flex-wrap:wrap; gap:6px 20px; flex:0 1 auto; min-width:0; }
body.shell-stages .checklist-head{ flex-wrap:wrap; row-gap:6px; }
@media (max-width:300px){
  #topbar .topbar-row,
  html[lang="es"] #topbar .topbar-row{
    display:flex; flex-wrap:wrap; align-items:center;
    gap:6px;
  }
  #topbar .brand{ order:1; flex:1 1 auto; min-width:0; }
  #topbar .brand-word{ font-size:13.5px; }
  #topbar .lang-toggle{ order:2; }
  #topbar #siteNav{ order:3; margin:0 0 0 auto; }
  #topbar #learnMoreBtn{ order:4; margin:0; }
  #topbar .rail-slot,
  html[lang="es"] #topbar .rail-slot{ order:5; flex:1 1 100%; }
}
@media (max-width:1023px){
  .next-page #legalAidSection .la-meta{ max-width:100%; }
}
:root{ --zf:1; }
@supports (zoom:.9){
  @media screen and (min-width:1024px) and (pointer:fine){
    :root{ --zf:.9; }
    html{ zoom:.9; }
  }
}
@media (min-width:1024px){
  body.shell-stages .chat-panel,
  body.shell-stages .dashboard{
    height:clamp(460px, calc(100vh / var(--zf) - max(var(--chrome-top, 0px), var(--bar-h, 0px)) - var(--dock-h, 0px) - 110px), 900px);
  }
}
@media (min-width:1024px){
  body.shell-stages #hero{ padding-top:clamp(20px,2.2vw,32px); }
  body.shell-stages .next-page{ margin-top:clamp(18px,1.8vw,26px); }
  body.shell-stages[data-stage="locate"] #hero{ padding-top:clamp(16px,1.6vw,24px); }
  body.shell-stages [data-stage="locate"] .map-wrap{ padding-top:0; }
}
@media (min-width:1024px){
  body.shell-stages .hero-badges{ flex-wrap:nowrap; width:max-content; max-width:none; gap:8px; }
  body.shell-stages .hero-badge{ white-space:nowrap; padding:7px 13px; font-size:14px; gap:7px; }
}
@media (min-width:1024px) and (max-width:1199px){
  body.shell-stages .hero-inner{ grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr); }
  body.shell-stages .hero-badges{ gap:6px; }
  body.shell-stages .hero-badge{ padding:6px 10px; font-size:12.5px; gap:6px; }
  body.shell-stages .hero-badge .dot{ width:7px; height:7px; }
}
body.shell-stages .next-grid > #rulesSection.law-wide{ grid-column:1 / -1; }
#rulesSection.law-wide .rules-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
#rulesSection.law-wide .statute-list{ display:grid; grid-template-columns:repeat(auto-fit, minmax(320px,1fr)); gap:10px; }
@media (max-width:767px){
  #rulesSection.law-wide .rules-grid,
  #rulesSection.law-wide .statute-list{ grid-template-columns:minmax(0,1fr); }
}
.rules-grid .rule-box-wide{ grid-column:1 / -1; }
.rule-box.has-plain .rule-val{ font-size:15px; font-weight:500; line-height:1.55; }
.rule-box.has-plain .rule-val::first-line{ font-weight:inherit; }
.rule-legal{ margin-top:8px; }
.rule-legal > summary{
  cursor:pointer; display:inline-flex; align-items:center; min-height:32px;
  font-size:13px; font-weight:700; color:var(--blue-dark);
}
.rule-legal > p{ margin:6px 0 0; font-size:13px; line-height:1.55; color:var(--ink-soft); }
.rule-source{ margin:8px 0 0; font-size:13px; color:var(--ink-soft); }
.rule-source a{ color:var(--blue-dark); font-weight:650; }
.statute-list .statute-text{ display:block; margin-top:3px; font-size:13.5px; line-height:1.5; color:var(--ink-soft); overflow-wrap:anywhere; }
.statute-list .statute-text a{ display:inline; margin:0; font-weight:650; color:var(--blue-dark); }
.statute-more{ color:var(--ink-soft); }
.statute-list .ord-cite-line{ display:block; margin-top:4px; font-size:12.5px; line-height:1.5; color:var(--ink-soft); overflow-wrap:anywhere; }
.statute-list .ord-cite-line a{ display:inline; margin:0; font-weight:650; color:var(--blue-dark); }
@media (pointer:coarse){
  .rule-legal > summary{ min-height:44px; }
}
@media (max-width:560px){
  body.shell-stages .chat-panel > .sensitive-note.is-first-run{ margin:6px 10px 0; padding:8px 12px; font-size:13px; line-height:1.4; gap:8px; }
  body.shell-stages .chat-panel:has(> .sensitive-note.is-first-run:not([hidden])) .panel-head{ padding-top:8px; padding-bottom:8px; }
}
@media screen and (min-width:900px){
  #previewModal .modal-box-preview{ width:94vw; max-height:92vh; }
  #previewModal #previewBriefText{ zoom:1.2; }
}
a.law-link{ color:var(--blue-dark); text-decoration:underline; text-underline-offset:2px; font-weight:inherit; }
.statute-list .statute-text a.law-link,
.statute-list .ord-cite-line a.law-link{ font-weight:inherit; }
.statute-list a.law-link{ display:inline; margin:0; font-size:inherit; }
.statute-list a.law-link::after{ content:none; }
.rules-status{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 12px; font-size:12.5px; color:var(--ink-soft); }
.rules-status .tier-badge{ margin-left:0; }
.rule-conditions{ margin-top:10px; padding-top:8px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:7px; }
.rule-cond-k{ font-size:12px; font-weight:700; color:var(--ink-faint); }
.rule-cond-v{ font-size:13.5px; line-height:1.5; color:var(--ink); }
.rule-conditions .rule-source{ margin-top:2px; }
:root{ --start-gutter:clamp(20px, 6.8vw, 120px); }
.start-visual,
.start-resume,
.start-fresh{ display:none; }
@media (min-width:561px){
  body.shell-stages[data-stage="landing"]{ background:#fff; }
  body.shell-stages[data-stage="landing"] #topbar{
    border-bottom-color:transparent;
    padding:0 var(--start-gutter);
  }
  body.shell-stages[data-stage="landing"] #topbar .topbar-row{ max-width:1500px; margin:0 auto; min-height:84px; }
  body.shell-stages[data-stage="landing"] .rail-slot{ visibility:hidden; pointer-events:none; }
  body.shell-stages[data-stage="landing"] #topbar #learnMoreBtn{
    background:transparent; border-color:transparent; box-shadow:none;
    color:var(--ink-soft); padding:8px 10px;
  }
  body.shell-stages[data-stage="landing"] #topbar #learnMoreBtn:hover{ background:var(--chip-bg); color:var(--ink); }
  body.shell-stages[data-stage="landing"] #topbar #learnMoreBtn[aria-expanded="true"]{ background:var(--tint-blue); color:var(--blue-dark); }
  body.shell-stages[data-stage="landing"] #topbar .learn-pill-mark{ display:none; }
  body.shell-stages[data-stage="landing"] #hero{
    background:#fff;
    padding:0 var(--start-gutter);
    min-height:max(560px, calc(100vh / var(--zf) - 84px - 132px));
    display:flex; flex-direction:column; justify-content:center;
  }
  body.shell-stages[data-stage="landing"] .resume-card,
  body.shell-stages[data-stage="landing"] .hero-phone-visual,
  body.shell-stages[data-stage="landing"] .hero-badges,
  body.shell-stages[data-stage="landing"] .lead-tail{ display:none; }
  body.shell-stages[data-stage="landing"] .start-page{
    width:100%; max-width:1500px; margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,527px);
    gap:clamp(40px,6vw,120px);
    align-items:center;
    padding:clamp(28px,5vh,64px) 0;
  }
  body.shell-stages[data-stage="landing"] .start-copy{ padding-top:0; }
  body.shell-stages[data-stage="landing"] .start-copy h1{
    font-size:clamp(40px,4.4vw,71px);
    line-height:1.04;
    letter-spacing:-0.045em;
    font-weight:800;
    color:var(--ink);
    max-width:11em;
    text-wrap:wrap;
    margin:0 0 30px;
  }
  body.shell-stages[data-stage="landing"] .start-copy p.start-lead{
    font-size:clamp(17px,1.5vw,24px);
    line-height:1.5;
    color:var(--ink-soft);
    max-width:33em;
    margin:0 0 42px;
  }
  body.shell-stages[data-stage="landing"] .start-actions{
    display:flex; flex-direction:row; align-items:center; flex-wrap:wrap;
    gap:16px 30px; margin:0;
  }
  body.shell-stages[data-stage="landing"] .start-actions .hero-cta{
    border-radius:var(--radius-btn);
    padding:21px 37px;
    font-size:20px; font-weight:700;
    width:auto;
  }
  body.shell-stages[data-stage="landing"] .start-resume{
    display:inline-block;
    background:none; border:none; padding:8px 0;
    font:inherit; font-size:19px; font-weight:700;
    color:var(--blue);
    text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:2px;
    cursor:pointer;
  }
  body.shell-stages[data-stage="landing"] .start-resume:hover{ color:var(--blue-dark); }
  body.shell-stages[data-stage="landing"] .start-resume[hidden]{ display:none; }
  body.shell-stages[data-stage="landing"] .start-fresh{
    display:inline-block;
    background:none; border:none; padding:8px 0;
    font:inherit; font-size:16px; font-weight:600;
    color:var(--ink-soft);
    text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px;
    cursor:pointer;
  }
  body.shell-stages[data-stage="landing"] .start-fresh:hover{ color:var(--ink); }
  body.shell-stages[data-stage="landing"] .start-fresh[hidden]{ display:none; }
  body.shell-stages[data-stage="landing"] .start-page{ zoom:.9; max-width:calc(1500px / .9); }
  body.shell-stages[data-stage="landing"] .start-visual{
    display:block; position:relative; justify-self:end;
    width:100%; max-width:527px; margin:0 34px 40px 0;
  }
}
@media (min-width:561px) and (max-width:1109px),
       (min-width:561px) and (max-width:1229px) and (pointer:coarse),
       (min-width:561px) and (max-width:1229px) and (pointer:none){
  body.shell-stages[data-stage="landing"] .rail-slot{ display:none; }
}
@media (min-width:561px) and (max-width:1154px),
       (min-width:561px) and (max-width:1279px) and (pointer:coarse),
       (min-width:561px) and (max-width:1279px) and (pointer:none){
  html[lang="es"] body.shell-stages[data-stage="landing"] .rail-slot{ display:none; }
}
.sv-sheet{
  position:absolute; inset:0;
  border-radius:12px;
  background:#fff;
  border:1px solid #E6EAF0;
}
.sv-sheet-mid{ transform:translate(14px,30px); background:#FAFBFD; z-index:1; }
.sv-sheet-back{ transform:translate(36px,46px) rotate(2.4deg); background:#EEF1F6; border-color:#E6EAF0; z-index:0; }
.sv-card{
  position:relative; z-index:3;
  background:#fff;
  border:1px solid #E3E8EF;
  border-radius:12px;
  box-shadow:0 1px 2px rgba(15,23,42,.04), 0 22px 44px -22px rgba(15,23,42,.20);
  padding:46px 44px 58px;
}
.sv-tab{
  position:absolute; right:-35px; z-index:-1;
  width:36px; height:42px;
  border-radius:0 8px 8px 0;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:15px; font-weight:800;
}
.sv-tab-a{ top:111px; background:var(--blue); }
.sv-tab-b{ top:161px; background:#1E8556; }
.sv-tab-c{ top:212px; background:#A85F06; }
.sv-eyebrow{
  margin:0 0 16px;
  font-size:13.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue);
}
.sv-title{
  margin:0 0 18px;
  font-family:Georgia, "Times New Roman", Times, serif;
  font-size:31px; line-height:1.18; font-weight:400;
  color:var(--ink);
}
.sv-meta{
  margin:0; padding-bottom:22px;
  border-bottom:1px solid #E3E8EF;
  font-size:15.5px; color:var(--ink-faint);
}
.sv-label{
  margin:24px 0 16px;
  font-size:13.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:#334155;
}
.sv-rows{ padding-bottom:12px; border-bottom:1px solid #E3E8EF; }
.sv-row{ display:grid; grid-template-columns:122px minmax(0,1fr); gap:12px; margin:0 0 14px; }
.sv-date{ font-size:15.5px; font-weight:600; color:#475569; padding-top:1px; }
.sv-text,
.sv-exhibits{
  font-family:Georgia, "Times New Roman", Times, serif;
  font-size:18px; line-height:1.4; color:var(--ink);
}
.sv-exhibits{ margin:0; }
.sf-text{ flex:1 1 520px; min-width:0; }
.sf-short{ display:none; margin:0; font-size:15.5px; color:var(--ink-soft); }
body.shell-stages[data-stage="landing"] .site-footer{
  background:#F4F6F8;
  border-top-color:#E8ECF0;
  margin-top:0;
}
body.shell-stages[data-stage="landing"] .sf-short{ display:block; }
body.shell-stages[data-stage="landing"] .sf-disclaimer{ margin-top:4px; font-size:13px; color:var(--ink-faint); }
body.shell-stages[data-stage="landing"] .sf-disclaimer strong{ color:var(--ink-soft); }
body.shell-stages[data-stage="landing"] .sf-links .legal-link{ text-decoration:none; font-weight:500; }
body.shell-stages[data-stage="landing"] .sf-links .legal-link:hover{ text-decoration:underline; }
@media (min-width:561px){
  body.shell-stages[data-stage="landing"] .site-footer{ padding:22px var(--start-gutter); }
  body.shell-stages[data-stage="landing"] .site-footer-inner{ max-width:1500px; }
}
@media (min-width:1200px){
  body.shell-stages[data-stage="landing"] .start-visual{ left:-62px; }
}
@media (min-width:1440px){
  body.shell-stages[data-stage="landing"] .start-visual{ left:-123px; }
}
@media (min-width:901px) and (max-width:1199px){
  body.shell-stages[data-stage="landing"] .start-page{ grid-template-columns:minmax(0,1fr) minmax(320px,420px); gap:40px; }
  .sv-card{ padding:36px 32px 44px; }
  .sv-title{ font-size:25px; }
  .sv-row{ grid-template-columns:80px minmax(0,1fr); }
  .sv-text, .sv-exhibits{ font-size:16px; }
}
@media (min-width:561px) and (max-width:900px){
  body.shell-stages[data-stage="landing"] .start-page{ grid-template-columns:minmax(0,1fr); padding:28px 0 36px; }
  body.shell-stages[data-stage="landing"] .start-visual{ display:none; }
  body.shell-stages[data-stage="landing"] .start-copy h1{ font-size:clamp(34px,7vw,52px); margin-bottom:20px; }
  body.shell-stages[data-stage="landing"] .start-copy p.start-lead{ font-size:18px; margin-bottom:30px; }
  body.shell-stages[data-stage="landing"] .start-actions .hero-cta{ padding:18px 28px; font-size:18px; }
  body.shell-stages[data-stage="landing"] .start-resume{ font-size:17.5px; }
  body.shell-stages[data-stage="landing"] .start-fresh{ font-size:15px; }
  body.shell-stages[data-stage="landing"] #hero{ min-height:0; }
  html:has(body.shell-stages[data-stage="landing"]){ background:#F4F6F8; }
}
body,
.formal-doc{ overflow-wrap:break-word; }
.msg,
.formal-doc .cf-structured,
.formal-doc .cf-structured *,
.cf-structured,
.cf-structured *,
.next-who-row > *,
#timelineList,
#timelineList *,
#cfPanelExhibits,
#cfPanelExhibits *,
#cfPanelSummary,
#cfPanelSummary *{ overflow-wrap:anywhere; }
.cf-structured .cf-ex,
.cf-structured .cf-meta > *,
.cf-structured .cf-tile{ min-width:0; }
.rules-laws-heading{ margin:14px 0 8px; }
.law-block-main{
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:12px 14px;
}
.law-block-title{ margin-bottom:6px; }
.law-plain{ margin:0; font-size:15px; line-height:1.55; color:var(--ink); }
.law-cite-line{ margin:6px 0 0; font-size:13.5px; line-height:1.5; color:var(--ink-soft); overflow-wrap:anywhere; }
.law-cite-line a,
.law-block .rule-source a{ display:inline; margin:0; font-weight:650; color:var(--blue-dark); }
.law-cite-line a.law-link,
.law-block .rule-source a.law-link{ font-weight:inherit; }
.law-more{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.law-more-lead{ margin:0 0 2px; }
.law-fold{
  border:1px solid var(--border); border-radius:var(--radius-sm); background:#fff;
  padding:0 12px;
}
.law-fold > summary{
  cursor:pointer; min-height:44px; display:flex; align-items:center; gap:8px;
  font-size:14px; font-weight:700; color:var(--ink); list-style:none;
}
.law-fold > summary::-webkit-details-marker{ display:none; }
.law-fold > summary::before{ content:"▸"; color:var(--blue-dark); font-size:12px; transition:transform .15s ease; }
.law-fold[open] > summary::before{ transform:rotate(90deg); }
.law-fold > .law-block-body{ padding:0 0 12px; }
.law-fold > .rule-box.law-block-body{ border:none; background:transparent; padding:0 0 12px; }
.law-fl-repair{ margin-top:10px; }
@media (prefers-reduced-motion:reduce){ .law-fold > summary::before{ transition:none; } }
.law-fold > .rule-box > .rule-label{ display:none; }
.msg .msg-law-link{ margin-top:6px; }
.msg .msg-law-link a{ font-weight:700; color:var(--blue-dark); text-decoration:underline; text-underline-offset:2px; }
.msg .msg-law-link a::after{ content:" ↗"; font-weight:400; }
.dc-video-head{ margin:12px 0 6px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft); }
.doc-video .dc-thumb{ display:flex; align-items:center; justify-content:center; font-size:22px; color:var(--blue-dark); background:var(--tint-blue); }
.doc-video .dc-actions{ display:flex; gap:8px; margin-top:6px; }
.video-overlay{ position:fixed; inset:0; z-index:9000; background:rgba(15,23,42,.82); display:flex; align-items:center; justify-content:center; padding:16px; }
.video-box{ position:relative; width:min(960px, 100%); }
.video-box video{ width:100%; max-height:80vh; border-radius:12px; background:#000; display:block; }
.video-close{ position:absolute; top:-44px; right:0; min-width:44px; min-height:44px; border:0; border-radius:22px; background:#fff; color:var(--ink); font-size:18px; cursor:pointer; }
.ns-letter{ margin-top:14px; padding-top:14px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.ns-letter-btn{ min-height:44px; }
.ns-letter-note{ margin:0; font-size:13px; color:var(--ink-soft); }
@media (min-width:641px){
  #noticeModal .modal-box{ max-width:min(1040px, 94vw); width:94vw; max-height:92vh; height:92vh; }
}
#noticeModal .modal-body{ flex:1 1 auto; font-size:15.5px; }
#noticeModal .ln-note-body, #noticeModal .ln-lead, #noticeModal .ln-type-desc{ font-size:15px; }
#noticeModal .ln-field-label{ font-size:14.5px; }
#noticeModal .ln-textarea{ min-height:min(40vh, 360px); }
#noticeModal .modal-body pre{ font-size:15px; }
@media (max-width:640px){
  #noticeModal{ padding:0 !important; align-items:stretch !important; }
  #noticeModal .modal-box{
    max-width:none !important; width:100vw !important; height:100vh; height:100dvh;
    max-height:none !important; border-radius:0 !important; margin:0 !important;
  }
}
@media (max-width:560px){
  body.chat-slim #topbar,
  html[lang="es"] body.chat-slim #topbar{ padding:0; cursor:pointer; }
  body.chat-slim #topbar .topbar-row,
  html[lang="es"] body.chat-slim #topbar .topbar-row{
    display:block; padding:0; min-height:0;
  }
  body.chat-slim #topbar .brand,
  body.chat-slim #topbar #siteNav,
  body.chat-slim #topbar .listen-slot,
  body.chat-slim #topbar #learnMoreBtn,
  body.chat-slim #topbar .lang-toggle,
  body.chat-slim #learnMorePanel{ display:none !important; }
  body.chat-slim .rail-slot,
  html[lang="es"] body.chat-slim .rail-slot{ margin:0; border-top:0; }
  body.chat-slim #topbar .stage-rail ol,
  html[lang="es"] body.chat-slim #topbar .stage-rail ol{
    display:flex; gap:3px; padding:6px 12px 6px; justify-content:stretch;
  }
  body.chat-slim #topbar .stage-rail li{ flex:1 1 0; display:block; }
  body.chat-slim #topbar .stage-rail li + li::before{ display:none; }
  body.chat-slim #topbar .rail-step{
    display:block; width:100%; height:4px; padding:0; border:0;
    border-radius:2px; background:var(--border); pointer-events:none;
  }
  body.chat-slim #topbar .rail-step.is-done,
  body.chat-slim #topbar .rail-step.is-current{ background:var(--blue); }
  body.chat-slim #topbar .rail-dot,
  body.chat-slim #topbar .rail-label{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
  }
}
@media (max-width:640px){
  #previewModal{ padding:0 !important; align-items:stretch !important; }
  #previewModal .modal-box{
    max-width:none !important; width:100vw !important;
    height:100vh; height:var(--vvh, 100dvh);
    max-height:none !important; border-radius:0 !important; margin:0 !important;
  }
  #previewModal .modal-box::before,
  #noticeModal .modal-box::before{ display:none; }
  #previewModal .modal-head{ padding:12px 16px; }
  #previewModal .modal-body{ flex:1 1 auto; padding:14px 14px; }
  #previewModal .modal-foot{ padding:10px 14px; }
}
body.is-waiting{ cursor:progress; }
body.is-waiting .stage.is-current{ opacity:.6; transition:opacity .2s; }
.attorney-qs-lead{ margin:4px 0 10px; font-size:14px; color:var(--ink-soft); }
.attorney-qs-list{ margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px; }
.attorney-qs-list li{ font-size:15px; line-height:1.45; color:var(--ink); overflow-wrap:anywhere; }
.checkin-card{ margin-top:16px; padding:14px 16px; border:1px solid var(--border); border-radius:14px; background:var(--white); max-width:640px; }
.checkin-q{ margin:0 0 10px; font-weight:700; font-size:15.5px; color:var(--ink); }
.checkin-btns{ display:flex; flex-wrap:wrap; gap:8px; }
.checkin-btn{ min-height:44px; }
.checkin-btn.is-picked{ background:var(--blue); border-color:var(--blue); color:#fff; }
.checkin-note{ margin:10px 0 0; font-size:13px; color:var(--ink-soft); }
.checkin-thanks{ margin:6px 0 0; font-size:14px; color:var(--green-dark, #065F46); font-weight:600; }
.checkin-thanks:empty{ display:none; }
body.shell-stages .chat-panel .panel-head{
  padding:16px 22px;
  border-bottom:1px solid #EEF1F4;
  flex-wrap:nowrap;
}
body.shell-stages .chat-panel .panel-titles{
  flex:1 1 auto;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:4px 14px;
}
body.shell-stages .chat-panel .panel-head h2{
  font-size:16px; font-weight:800; letter-spacing:-0.02em; line-height:1.3;
  margin:0;
}
body.shell-stages .chat-panel .panel-sub{
  margin:0; gap:7px;
  font-size:12.5px; font-weight:500; line-height:1.4;
  color:#62708A;
}
body.shell-stages .chat-panel .panel-sub-dot{
  width:7px; height:7px;
  background:#10B981;
  box-shadow:none;
}
body.shell-stages #chatMessages{ padding:22px; gap:0; }
body.shell-stages #chatMessages > * + *{ margin-top:14px; }
body.shell-stages #chatMessages > :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency, .typing, .skip-line) + :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency, .typing, .skip-line),
body.shell-stages #chatMessages > .msg-user + .msg-user{ margin-top:6px; }
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency){
  margin-left:40px;
  padding:11px 15px;
  border-radius:16px 16px 16px 4px;
  max-width:min(460px, calc(100% - 40px));
}
body.shell-stages .msg-bot{ background:#F1F4F8; }
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency)::before{
  left:-40px; width:28px; height:28px; border-radius:8px;
}
body.shell-stages .typing{
  margin-left:40px;
  background:#F1F4F8;
  border-radius:16px 16px 16px 4px;
}
body.shell-stages .msg-user{
  background:#2563EB; color:#fff;
  padding:9px 16px;
  border-radius:16px 16px 4px 16px;
  max-width:min(460px, 85%);
}
body.shell-stages #chatMessages > .quick-replies{ margin-left:40px; max-width:calc(100% - 40px); }
.answer-card{
  margin:0 0 10px;
  padding:6px;
  background:#F7F9FB;
  border:1px solid #E7EBF0;
  border-radius:14px;
}
.answer-card[hidden]{ display:none; }
.answer-card-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  padding:4px 10px 6px;
}
.answer-card-title{
  font-size:12px; font-weight:800;
  text-transform:uppercase; letter-spacing:.06em;
  color:#62708A;
}
.answer-card-count{
  flex:0 0 auto;
  font-size:12.5px; font-weight:500;
  color:#62708A;
  font-variant-numeric:tabular-nums;
}
body.shell-stages .answer-card .quick-replies,
.answer-card .quick-replies{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:2px 8px;
  max-width:none;
  max-height:min(320px, 40vh);
  overflow-y:auto;
  overscroll-behavior:contain;
  animation:none;
}
body.shell-stages .answer-card .quick-replies button,
.answer-card .quick-replies button,
body.shell-stages .answer-card .quick-replies button.qr-skip,
.answer-card .quick-replies button.qr-skip{
  display:block; width:100%;
  min-height:0;
  margin:0;
  padding:7px 10px;
  font:inherit;
  font-size:14px; font-weight:500; line-height:1.35;
  text-align:left;
  color:#0F172A;
  background:transparent;
  border:none;
  border-radius:8px;
  box-shadow:none;
  transform:none;
  overflow-wrap:anywhere;
  transition:background .15s ease, box-shadow .15s ease;
}
body.shell-stages .answer-card .quick-replies button:is(:hover, :focus-visible),
.answer-card .quick-replies button:is(:hover, :focus-visible){
  background:#fff;
  color:#0F172A;
  box-shadow:0 1px 3px rgba(15,23,42,.12);
  transform:none;
}
@media (pointer:coarse){
  body.shell-stages .answer-card .quick-replies button,
  .answer-card .quick-replies button{ min-height:44px; padding:7px 10px; font-size:14px; }
}
@media (prefers-reduced-motion:reduce){
  .answer-card .quick-replies button{ transition:none; }
}
body.shell-stages .chat-panel #imgPreviewRow:empty{ margin-bottom:0; }
body.shell-stages .chat-panel .composer{
  padding:18px;
  padding-bottom:max(18px, env(safe-area-inset-bottom, 0px));
  border-top:none;
}
body.shell-stages .composer-field{
  gap:8px;
  padding:7px 7px 7px 10px;
  border:1px solid #D5DCE4;
  border-radius:14px;
  background:var(--white);
  box-shadow:none;
}
body.shell-stages .composer-field:focus-within{
  border-color:#2563EB;
  box-shadow:0 0 0 3px #DBEAFE;
}
body.shell-stages .composer-field:has(#chatInput:focus-visible){ outline:none; }
body.shell-stages .composer-plus{
  width:34px; height:34px;
  border-radius:50%;
  background:#F1F4F8;
  color:#51607A;
}
body.shell-stages .composer-field #chatInput{
  min-height:36px;
  padding:7px 4px;
}
body.shell-stages .composer-field #chatInput::placeholder{ color:#8895AB; opacity:1; }
body.shell-stages .composer-field #sendBtn{
  width:36px; height:36px;
  border-radius:50%;
  background:var(--blue); color:#fff;
}
body.shell-stages .composer-field #sendBtn svg{ width:18px; height:18px; }
@media (pointer:coarse){
  body.shell-stages .composer-plus,
  body.shell-stages .composer-field #sendBtn{ min-width:44px; min-height:44px; }
  body.shell-stages .composer-field #chatInput{ min-height:44px; }
}
@media (max-width:560px){
  body.shell-stages .chat-panel .panel-head{ padding:14px 16px; }
  body.shell-stages #chatMessages{ padding:14px 12px; }
  body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency){ margin-left:38px; max-width:calc(100% - 38px); }
  body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency)::before{ left:-38px; width:28px; height:28px; border-radius:8px; }
  body.shell-stages .typing{ margin-left:38px; }
  body.shell-stages #chatMessages > .quick-replies{ margin-left:38px; max-width:calc(100% - 38px); }
  body.shell-stages .msg-user{ max-width:88%; }
  body.shell-stages .chat-panel .composer{ padding:12px; padding-bottom:max(12px, env(safe-area-inset-bottom, 0px)); }
  body.shell-stages .composer-field{ border-radius:14px; }
}
.skip-line{
  align-self:flex-start;
  position:relative;
  display:flex; align-items:baseline; gap:6px;
  max-width:100%;
  padding:2px 4px;
  font-size:13px; line-height:1.4;
  white-space:nowrap;
}
body.shell-stages #chatMessages > .skip-line{ margin-left:40px; max-width:calc(100% - 40px); }
.skip-line-ask{ font-weight:500; color:#8895AB; }
.skip-line-btn{
  font:inherit; font-size:13px; font-weight:600; line-height:1.4;
  margin:0; padding:0;
  color:#2563EB;
  background:none; border:none; border-radius:4px;
  text-decoration:underline; text-underline-offset:3px;
  cursor:pointer;
}
.skip-line-btn:hover{ color:#1D4ED8; }
.skip-line-btn:focus{ outline:none; }
.skip-line-btn:focus-visible,
body.shell-stages #chatMessages .skip-line-btn:focus-visible{ outline:2px solid #2563EB; outline-offset:2px; border-radius:4px; }
body.shell-stages :is(.msg-bot, .msg-guard, .msg-correction, .msg-emergency):has(+ .skip-line)::before{ visibility:hidden; }
body.shell-stages #chatMessages > .skip-line::before{
  content:"";
  position:absolute; left:-40px; bottom:0;
  width:28px; height:28px; border-radius:8px;
  background:no-repeat center/100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='11.8' fill='%232563EB'/%3E%3Cpath d='M15.51 25.34 32 14.2l16.49 11.14v25.9a1.2 1.2 0 0 1-1.2 1.2H16.71a1.2 1.2 0 0 1-1.2-1.2Z' fill='%23fff'/%3E%3Cg fill='%232563EB'%3E%3Ccircle cx='22.94' cy='33.2' r='2.18'/%3E%3Ccircle cx='22.94' cy='40.3' r='2.18'/%3E%3Ccircle cx='22.94' cy='47.35' r='2.18'/%3E%3C/g%3E%3Cg fill='%23E4EBFB'%3E%3Crect x='29.05' y='31.73' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='38.83' width='13.98' height='2.95' rx='1.47'/%3E%3Crect x='29.05' y='45.88' width='10.05' height='2.95' rx='1.47'/%3E%3C/g%3E%3C/svg%3E");
}
body.shell-stages #chatMessages > .skip-line:has(+ .typing)::before{ visibility:hidden; }
@media (max-width:560px){
  body.shell-stages #chatMessages > .skip-line{ margin-left:38px; max-width:calc(100% - 38px); }
  body.shell-stages #chatMessages > .skip-line::before{ left:-38px; }
}
.skip-line-btn{ position:relative; }
@media (pointer:coarse){
  .skip-line-btn::after{ content:""; position:absolute; inset:-12px -8px; }
}
