/* Birth Certificate Homepage — scoped frontend styles
   Design system mirrors the NU Result homepage, re-themed blue for BDRIS. */
.bch-page{position:relative}
.bch-root{position:relative;font-family:var(--font-en)}
.bch-embed-inner{max-width:1240px;margin:1.4rem auto 0}

.bch-root{
  --ink:#0A1733;--ink-soft:#46557A;--ink-faint:#8693AE;
  --navy:#08152F;--navy-2:#0E2247;
  --blue:#0F52BA;--blue-deep:#0B3C8A;--blue-bright:#2563EB;--blue-soft:#E7EFFB;--blue-tint:#F3F7FE;
  --green:#13A06B;--green-soft:#E6F7EF;
  --amber:#D78A0A;--amber-soft:#FCF3E0;
  --red:#DC2626;--red-soft:#FCEDED;
  --sky:#2563EB;--sky-soft:#E4ECFD;
  --canvas:#EDF1F8;--surface:#FFFFFF;
  --line:#E1E8F4;--line-soft:#EEF2F9;--line-strong:#D2DCEC;
  --font-d:'Outfit',sans-serif;--font-en:'Outfit',sans-serif;
  --font-bn:'Noto Sans Bengali','Outfit',sans-serif;--font-mono:'Outfit',monospace;
  --maxw:1240px;
  --r-xs:8px;--r-sm:10px;--r:14px;--r-lg:18px;--r-xl:24px;--r-pill:999px;
  --sh-xs:0 1px 2px rgba(10,23,51,.05);
  --sh-sm:0 2px 8px rgba(10,23,51,.06);
  --sh:0 8px 24px -6px rgba(10,23,51,.12);
  --sh-lg:0 24px 60px -18px rgba(10,23,51,.22);
  --sh-blue:0 18px 44px -16px rgba(15,82,186,.40);
  --tr:.24s cubic-bezier(.4,0,.2,1);
}
.bch-root *,.bch-root *::before,.bch-root *::after{box-sizing:border-box}
.bch-root h1,.bch-root h2,.bch-root h3,.bch-root h4,.bch-root h5,.bch-root h6,.bch-root p,.bch-root ul,.bch-root ol,.bch-root table,.bch-root form{margin:0;padding:0}
.bch-root{font-family:var(--font-en);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased;font-size:15.5px}
.bch-root .bn{font-family:var(--font-bn);line-height:1.8}
.bch-root .mono{font-family:var(--font-mono);font-feature-settings:"tnum"}
.bch-root .wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 1.4rem;position:relative;z-index:1}
.bch-root h1,.bch-root h2,.bch-root h3,.bch-root h4{font-family:var(--font-d);font-weight:700;line-height:1.22;color:var(--ink);letter-spacing:-.01em}
.bch-root a{text-decoration:none;color:inherit;transition:color var(--tr)}
.bch-root ul{list-style:none}
.bch-root ::selection{background:rgba(15,82,186,.16)}
.bch-root ::-webkit-scrollbar{width:9px;height:9px}
.bch-root ::-webkit-scrollbar-track{background:transparent}
.bch-root ::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:20px;border:2px solid transparent}

/* BUTTONS */
.bch-root .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--font-en);font-weight:700;font-size:.92rem;padding:.7rem 1.3rem;border-radius:var(--r-sm);border:1.5px solid transparent;cursor:pointer;transition:var(--tr);white-space:nowrap}
.bch-root .btn .bn{font-weight:700}
.bch-root .btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;box-shadow:var(--sh-blue)}
.bch-root .btn-primary:hover{transform:translateY(-2px);box-shadow:0 22px 50px -16px rgba(15,82,186,.55)}
.bch-root .btn-ghost{background:var(--surface);color:var(--ink-soft);border-color:var(--line-strong)}
.bch-root .btn-ghost:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-tint)}
.bch-root .btn-soft{background:var(--blue-soft);color:var(--blue-deep);border-color:transparent}
.bch-root .btn-soft:hover{background:#dbe7fa}
.bch-root .btn-icon{width:46px;height:46px;padding:0;flex-shrink:0}
.bch-root .btn-sm{font-size:.82rem;padding:.5rem .95rem;border-radius:var(--r-xs)}
.bch-root .btn-lg{font-size:1rem;padding:.9rem 1.5rem}
.bch-root .btn-full{width:100%}
.bch-root .ghost-d{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff}
.bch-root .ghost-d:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.3);color:#fff;transform:translateY(-2px)}

/* TOP STRIP */
.bch-root .strip{background:var(--navy);color:rgba(255,255,255,.82);font-size:.78rem;position:relative;z-index:6}
.bch-root .strip-in{display:flex;align-items:center;gap:.7rem;min-height:40px;padding:.4rem 0}
.bch-root .strip-tag{display:inline-flex;align-items:center;gap:.35rem;background:rgba(15,82,186,.28);color:#9DB8FF;border:1px solid rgba(89,131,255,.3);padding:.16rem .55rem;border-radius:var(--r-pill);font-size:.67rem;font-weight:700;letter-spacing:.04em;flex-shrink:0}
.bch-root .strip-txt{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bch-root .strip-link{flex-shrink:0;color:#9DB8FF;font-weight:700;display:inline-flex;align-items:center;gap:.3rem;border-bottom:1px dashed rgba(157,184,255,.5);padding-bottom:1px}
.bch-root .strip-link:hover{color:#fff}

/* CHECKER STAGE */
.bch-root .stage{position:relative;padding:2.2rem 0 0}
.bch-root .stage-head{text-align:center;max-width:780px;margin:0 auto 1.6rem}
.bch-root .stage-title{font-size:2.1rem;font-weight:800;letter-spacing:-.02em;line-height:1.18}
.bch-root .stage-title em{font-style:normal;color:var(--blue)}
.bch-root .stage-org{font-family:var(--font-bn);font-size:1.05rem;font-weight:600;color:var(--ink-soft);margin-top:.45rem}
.bch-root .stage-sub{font-size:.95rem;color:var(--ink-soft);margin:.65rem auto 0;max-width:660px;line-height:1.85}

/* dashboard panel */
.bch-root .dash{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--sh-lg);overflow:hidden;position:relative;max-width:1080px;margin:0 auto}
.bch-root .dash::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--blue),var(--blue-bright),var(--green));z-index:2}
.bch-root .dash-grid{display:grid;grid-template-columns:1.4fr .8fr}
.bch-root .dash-form-area{padding:1.8rem 1.9rem;min-width:0}
.bch-root .dash-side{background:var(--blue-tint);border-left:1px solid var(--line);padding:1.5rem 1.4rem}
.bch-root .checker-form{display:none}
.bch-root .checker-form.active-form{display:block;animation:bchfade .35s ease}
@keyframes bchfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.bch-root .field{margin-bottom:1.1rem}
.bch-root .lbl{display:flex;align-items:center;gap:.4rem;font-size:.74rem;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.45rem}
.bch-root .lbl .bn{text-transform:none;font-family:var(--font-bn)}
.bch-root .ctrl-wrap{position:relative}
.bch-root .ctrl-ic{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:var(--ink-faint);pointer-events:none;display:flex}
.bch-root .ctrl{width:100%;height:48px;padding:0 1rem;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-family:var(--font-en);font-size:.95rem;color:var(--ink);background:var(--surface);outline:none;transition:var(--tr);appearance:none}
.bch-root .ctrl.has-ic{padding-left:2.5rem}
.bch-root .ctrl.mono{font-family:var(--font-mono)}
.bch-root .ctrl:focus{border-color:var(--blue);box-shadow:0 0 0 3.5px rgba(15,82,186,.12)}
.bch-root .ctrl::placeholder{color:var(--ink-faint);font-family:var(--font-bn)}
.bch-root .help{font-size:.74rem;color:var(--ink-faint);margin-top:.4rem}
.bch-root .cap-row{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:center}
.bch-root .cap-box{height:48px;min-width:120px;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,var(--navy),var(--navy-2));color:#9DB8FF;border-radius:var(--r-sm);font-family:var(--font-mono);font-size:1.1rem;font-weight:700;letter-spacing:.1em;user-select:none;position:relative;overflow:hidden}
.bch-root .cap-box::after{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 6px,transparent 6px 12px)}
.bch-root .cap-box span{position:relative;z-index:1}
.bch-root .actions{display:grid;grid-template-columns:1fr auto;gap:.8rem;margin-top:1.4rem}
.bch-root .notice-inline{display:flex;align-items:flex-start;gap:.55rem;background:var(--amber-soft);border:1px solid rgba(215,138,10,.25);border-radius:var(--r-sm);padding:.75rem .9rem;margin-top:1.1rem;font-size:.82rem;color:#7a5a14;line-height:1.7}
.bch-root .notice-inline svg{color:var(--amber);flex-shrink:0;margin-top:1px;width:16px;height:16px}
.bch-root .notice-inline strong{color:#5e470f}

/* side widgets */
.bch-root .widget{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1rem 1.05rem;box-shadow:var(--sh-xs)}
.bch-root .widget+.widget{margin-top:.85rem}
.bch-root .widget-h{display:flex;align-items:center;gap:.45rem;font-family:var(--font-d);font-size:.82rem;font-weight:700;color:var(--ink);margin-bottom:.8rem}
.bch-root .widget-h svg{width:15px;height:15px;color:var(--blue)}
.bch-root .dot{width:8px;height:8px;border-radius:50%;background:var(--green);position:relative;display:inline-block;flex-shrink:0}
.bch-root .dot::after{content:'';position:absolute;inset:0;border-radius:50%;background:inherit;animation:bchping 1.8s cubic-bezier(0,0,.2,1) infinite}
@keyframes bchping{0%{transform:scale(1);opacity:.7}80%,100%{transform:scale(2.6);opacity:0}}
.bch-root .mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.bch-root .mini{background:var(--blue-tint);border:1px solid var(--line-soft);border-radius:var(--r-sm);padding:.65rem .7rem}
.bch-root .mini-lbl{font-size:.66rem;font-weight:700;color:var(--ink-faint);margin-bottom:.2rem}
.bch-root .mini-val{font-family:var(--font-d);font-weight:800;color:var(--ink);line-height:1.2}
.bch-root .mini-val.sm{font-size:.85rem}
.bch-root .linklist{display:flex;flex-direction:column;gap:.5rem}
.bch-root .linkrow{display:flex;align-items:center;gap:.6rem;padding:.55rem .65rem;background:var(--blue-tint);border:1px solid var(--line-soft);border-radius:var(--r-sm);transition:var(--tr)}
.bch-root .linkrow:hover{border-color:rgba(15,82,186,.3);background:var(--blue-soft);transform:translateX(2px)}
.bch-root .linkrow-ic{width:30px;height:30px;border-radius:8px;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--blue);flex-shrink:0}
.bch-root .linkrow-ic svg{width:15px;height:15px}
.bch-root .linkrow-t{font-family:var(--font-mono);font-size:.77rem;font-weight:700;color:var(--ink);line-height:1.2}
.bch-root .linkrow-s{font-size:.66rem;color:var(--green);font-weight:700}
.bch-root .tips-mini{display:flex;flex-direction:column;gap:.5rem}
.bch-root .tips-mini li{position:relative;padding-left:1.4rem;font-size:.8rem;color:var(--ink-soft);line-height:1.6}
.bch-root .tips-mini li::before{content:'';position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:2px;background:var(--blue);transform:rotate(45deg)}

/* MAIN LAYOUT */
.bch-root.bch-cont{padding-top:.5rem}
.bch-root .layout{padding:1.4rem 0 3.5rem;display:grid;grid-template-columns:264px 1fr;gap:1.6rem;align-items:start}
.bch-root .toc{position:sticky;top:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-sm);overflow:hidden}
.bch-root .toc-h{display:flex;align-items:center;gap:.5rem;padding:.95rem 1.1rem;border-bottom:1px solid var(--line-soft);font-family:var(--font-d);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-faint)}
.bch-root .toc-h svg{width:15px;height:15px;color:var(--blue)}
.bch-root .toc-list{padding:.5rem}
.bch-root .toc-item{display:flex;align-items:center;gap:.6rem;padding:.55rem .65rem;border-radius:var(--r-xs);font-size:.85rem;font-weight:600;color:var(--ink-soft);cursor:pointer;transition:var(--tr);position:relative;margin-bottom:1px}
.bch-root .toc-item .num{width:21px;height:21px;border-radius:7px;background:var(--line-soft);color:var(--ink-faint);font-family:var(--font-mono);font-size:.68rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:var(--tr)}
.bch-root .toc-item:hover{background:var(--blue-tint);color:var(--blue)}
.bch-root .toc-item:hover .num{background:var(--blue-soft);color:var(--blue)}
.bch-root .toc-item.active{background:linear-gradient(120deg,var(--blue-soft),var(--blue-tint));color:var(--blue-deep)}
.bch-root .toc-item.active .num{background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;box-shadow:var(--sh-blue)}
.bch-root .toc-item.active::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:55%;background:var(--blue);border-radius:0 3px 3px 0}
.bch-root .toc-foot{padding:.85rem 1.1rem;border-top:1px solid var(--line-soft);background:var(--blue-tint)}
.bch-root .toc-foot a{display:flex;align-items:center;justify-content:center;gap:.4rem;font-size:.8rem;font-weight:700;color:var(--blue);padding:.45rem;border-radius:var(--r-xs);border:1px dashed rgba(15,82,186,.35);transition:var(--tr)}
.bch-root .toc-foot a:hover{background:var(--blue-soft)}
.bch-root .content{min-width:0;display:flex;flex-direction:column;gap:1.3rem}
.bch-root .doc{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:1.7rem 1.9rem;scroll-margin-top:18px}
.bch-root .doc-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}
.bch-root .doc-ic{width:42px;height:42px;border-radius:var(--r-sm);background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bch-root .doc-ic svg{width:21px;height:21px}
.bch-root .doc-title{font-size:1.3rem;font-weight:800;letter-spacing:-.01em}
.bch-root .doc-sub{font-family:var(--font-bn);font-size:.88rem;color:var(--ink-faint);margin:.1rem 0 1.2rem;line-height:1.7}
.bch-root .prose{font-size:.93rem;color:var(--ink-soft);line-height:1.9}
.bch-root .prose strong{color:var(--ink);font-weight:700}
.bch-root .callout{display:flex;gap:.7rem;background:var(--blue-tint);border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:var(--r-sm);padding:.9rem 1rem;margin-top:1.1rem}
.bch-root .callout svg{color:var(--blue);flex-shrink:0;margin-top:2px;width:18px;height:18px}
.bch-root .callout p{font-size:.88rem;color:var(--ink-soft);line-height:1.8;margin:0}
.bch-root .callout.amber{background:var(--amber-soft);border-color:rgba(215,138,10,.25);border-left-color:var(--amber)}
.bch-root .callout.amber svg{color:var(--amber)}
.bch-root .callout strong{color:var(--ink);font-weight:700}

/* WHY grid */
.bch-root .why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem;margin-top:1rem}
.bch-root .why-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.1rem;transition:var(--tr);text-align:center}
.bch-root .why-card:hover{border-color:rgba(15,82,186,.28);box-shadow:var(--sh);transform:translateY(-3px)}
.bch-root .why-ic{width:48px;height:48px;border-radius:var(--r-sm);background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;margin:0 auto .7rem}
.bch-root .why-ic svg{width:23px;height:23px}
.bch-root .why-card h4{font-size:.92rem;font-weight:800;margin-bottom:.35rem}
.bch-root .why-card p{font-size:.8rem;color:var(--ink-soft);line-height:1.65}

/* info cards */
.bch-root .info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem;margin-top:1.3rem}
.bch-root .info-grid-4{grid-template-columns:repeat(4,1fr)}
.bch-root .info-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.05rem;transition:var(--tr)}
.bch-root .info-card:hover{border-color:rgba(15,82,186,.28);box-shadow:var(--sh);transform:translateY(-2px)}
.bch-root .info-card-ic{width:40px;height:40px;border-radius:var(--r-sm);background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:.7rem}
.bch-root .info-card-ic svg{width:20px;height:20px}
.bch-root .info-card h4{font-size:.9rem;font-weight:800;margin-bottom:.3rem}
.bch-root .info-card p{font-size:.79rem;color:var(--ink-soft);line-height:1.6}

/* OFFICIAL banner */
.bch-root .off-banner{border:1px solid rgba(15,82,186,.16);border-radius:var(--r);padding:1.4rem 1.5rem;background:linear-gradient(135deg,var(--blue-tint),transparent);margin-bottom:.4rem}
.bch-root .off-banner-in{display:grid;grid-template-columns:1fr auto;gap:1.4rem;align-items:center}
.bch-root .off-url{display:flex;align-items:center;gap:.55rem;font-family:var(--font-mono);font-size:1.2rem;font-weight:800;color:var(--ink);letter-spacing:-.01em}
.bch-root .off-url svg{color:var(--green)}
.bch-root .off-desc{font-size:.86rem;color:var(--ink-soft);line-height:1.8;margin-top:.5rem}
.bch-root .off-badges{display:flex;flex-direction:column;gap:.45rem}
.bch-root .off-bdg{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:700;padding:.3rem .65rem;border-radius:var(--r-pill);white-space:nowrap}
.bch-root .off-bdg.g{background:var(--green-soft);color:var(--green)}
.bch-root .off-bdg.b{background:var(--blue-soft);color:var(--blue-deep)}
.bch-root .off-bdg.o{background:var(--amber-soft);color:var(--amber)}

/* 17-digit */
.bch-root .digit-row{display:flex;flex-wrap:wrap;gap:.3rem;justify-content:center;margin-top:.6rem;padding:1.1rem;background:var(--blue-tint);border:1px solid var(--line);border-radius:var(--r)}
.bch-root .db{width:34px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-family:var(--font-mono);font-size:1.2rem;font-weight:800;color:#fff}
.bch-root .db.g1{background:linear-gradient(135deg,var(--blue),var(--blue-deep))}
.bch-root .db.g2{background:linear-gradient(135deg,var(--sky),#1D4ED8)}
.bch-root .db.g3{background:linear-gradient(135deg,var(--green),#0B7E54)}
.bch-root .dsep{display:flex;align-items:center;color:var(--ink-faint);font-weight:700;padding:0 .15rem}
.bch-root .pos-pill{display:inline-block;font-family:var(--font-mono);font-size:.78rem;font-weight:800;padding:.2rem .55rem;border-radius:6px;white-space:nowrap}
.bch-root .tone-blue{background:var(--blue-soft);color:var(--blue-deep)}
.bch-root .tone-sky{background:var(--sky-soft);color:var(--sky)}
.bch-root .tone-green{background:var(--green-soft);color:var(--green)}
.bch-root .tone-amber{background:var(--amber-soft);color:var(--amber)}
.bch-root .tone-red{background:var(--red-soft);color:var(--red)}
.bch-root .tone-gray{background:var(--line-soft);color:var(--ink-soft)}
.bch-root .area-list{display:flex;flex-direction:column;gap:.6rem}
.bch-root .area-row{display:flex;align-items:flex-start;gap:.9rem;padding:.85rem 1rem;border-radius:0 var(--r-sm) var(--r-sm) 0;background:var(--blue-tint);border-left:4px solid var(--blue)}
.bch-root .area-row.tone-sky{border-left-color:var(--sky)}
.bch-root .area-row.tone-green{border-left-color:var(--green)}
.bch-root .area-row.tone-amber{border-left-color:var(--amber)}
.bch-root .area-row.tone-red{border-left-color:var(--red)}
.bch-root .area-pos{flex-shrink:0;background:var(--ink);color:#fff;font-family:var(--font-mono);font-weight:800;font-size:.78rem;padding:.22rem .55rem;border-radius:5px}
.bch-root .area-row div{font-size:.88rem;color:var(--ink-soft);line-height:1.65}
.bch-root .area-row strong{color:var(--ink)}

/* sub-head + timeline */
.bch-root .sub-head{display:flex;align-items:center;gap:.6rem;margin:1.6rem 0 1rem;padding-top:1.4rem;border-top:1px solid var(--line-soft)}
.bch-root .sub-ic{width:34px;height:34px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.bch-root .sub-ic.blue{background:linear-gradient(135deg,var(--blue),var(--blue-deep))}
.bch-root .sub-ic.green{background:linear-gradient(135deg,var(--green),#0B7E54)}
.bch-root .sub-ic.amber{background:linear-gradient(135deg,var(--amber),#B0700A)}
.bch-root .sub-ic svg{width:17px;height:17px}
.bch-root .sub-head h3{font-size:1rem;font-weight:800}
.bch-root .sub-head .mhint{font-size:.74rem;color:var(--ink-faint);font-weight:600}
.bch-root .timeline{display:flex;flex-direction:column}
.bch-root .tl-step{display:grid;grid-template-columns:40px 1fr;gap:.9rem}
.bch-root .tl-step:not(:last-child){padding-bottom:.85rem}
.bch-root .tl-node{display:flex;flex-direction:column;align-items:center}
.bch-root .tl-circle{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;font-family:var(--font-d);font-size:.95rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-blue);flex-shrink:0;z-index:1}
.bch-root .tl-line{flex:1;width:2px;background:linear-gradient(to bottom,var(--blue),var(--line));margin:3px 0;border-radius:2px}
.bch-root .tl-body{padding-top:.3rem;font-size:.88rem;color:var(--ink-soft);line-height:1.7}
.bch-root .tl-body strong{color:var(--ink);font-weight:700}

/* documents */
.bch-root .dtabs{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1.1rem;background:var(--blue-tint);padding:.4rem;border-radius:var(--r-sm)}
.bch-root .dtab{flex:1;min-width:120px;background:transparent;border:none;color:var(--ink-soft);font-family:var(--font-bn);font-weight:700;font-size:.85rem;padding:.55rem .8rem;border-radius:var(--r-xs);cursor:pointer;transition:var(--tr)}
.bch-root .dtab:hover{color:var(--blue)}
.bch-root .dtab.on{background:var(--surface);color:var(--blue-deep);box-shadow:var(--sh-xs)}
.bch-root .dpanel{display:none;animation:bchfade .3s ease}
.bch-root .dpanel.on{display:block}
.bch-root .dpanel-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:1.1rem;align-items:start}
.bch-root .doc-items{display:flex;flex-direction:column;gap:.6rem}
.bch-root .doc-item{display:flex;gap:.7rem;padding:.8rem .9rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm)}
.bch-root .doc-item-ic{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bch-root .doc-item-ic.must{background:var(--blue-soft);color:var(--blue)}
.bch-root .doc-item-ic.opt{background:var(--green-soft);color:var(--green)}
.bch-root .doc-item-ic.cond{background:var(--amber-soft);color:var(--amber)}
.bch-root .doc-item-name{font-size:.88rem;font-weight:700;color:var(--ink);display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-bottom:.2rem}
.bch-root .rtag{font-family:var(--font-bn);font-size:.66rem;font-weight:700;padding:.14rem .5rem;border-radius:var(--r-pill)}
.bch-root .rtag.must{background:var(--blue-soft);color:var(--blue-deep)}
.bch-root .rtag.opt{background:var(--green-soft);color:var(--green)}
.bch-root .rtag.cond{background:var(--amber-soft);color:var(--amber)}
.bch-root .doc-item-desc{font-size:.79rem;color:var(--ink-soft);line-height:1.6}
.bch-root .doc-note{background:var(--blue-tint);border:1px solid var(--line);border-radius:var(--r);padding:1.05rem}
.bch-root .doc-note h4{display:flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:800;margin-bottom:.7rem;color:var(--ink)}
.bch-root .doc-note h4 svg{color:var(--blue)}
.bch-root .dnl{display:flex;flex-direction:column;gap:.5rem}
.bch-root .dnl li{position:relative;padding-left:1.3rem;font-size:.8rem;color:var(--ink-soft);line-height:1.6}
.bch-root .dnl li::before{content:'';position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:2px;background:var(--blue);transform:rotate(45deg)}

/* quick summary */
.bch-root .sum-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.85rem;margin-top:.5rem}
.bch-root .sum-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.2rem 1rem .9rem;text-align:center;transition:var(--tr)}
.bch-root .sum-card:hover{border-color:rgba(15,82,186,.28);box-shadow:var(--sh);transform:translateY(-3px)}
.bch-root .sum-num{position:absolute;top:-12px;left:50%;transform:translateX(-50%);width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;font-family:var(--font-d);font-size:.8rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-blue)}
.bch-root .sum-ic{width:46px;height:46px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;margin:.5rem auto .6rem}
.bch-root .sum-ic svg{width:22px;height:22px}
.bch-root .sum-card h4{font-size:.88rem;font-weight:800;margin-bottom:.3rem}
.bch-root .sum-card p{font-size:.76rem;color:var(--ink-soft);line-height:1.55}

/* table */
.bch-root .tbl-wrap{margin-top:.4rem;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;overflow-x:auto}
.bch-root .gtable{width:100%;border-collapse:collapse;min-width:560px}
.bch-root .gtable thead th{background:linear-gradient(120deg,var(--navy),var(--navy-2));color:#fff;font-size:.8rem;font-weight:700;text-align:left;padding:.85rem 1rem;font-family:var(--font-bn)}
.bch-root .gtable tbody td{padding:.8rem 1rem;font-size:.85rem;color:var(--ink-soft);border-bottom:1px solid var(--line-soft);vertical-align:top}
.bch-root .gtable tbody tr:last-child td{border-bottom:none}
.bch-root .gtable tbody tr:hover{background:var(--blue-tint)}
.bch-root .ptable .err-pill{display:inline-block;font-family:var(--font-mono);font-size:.74rem;font-weight:700;padding:.2rem .55rem;border-radius:6px;white-space:nowrap}
.bch-root .sol-line{display:flex;align-items:flex-start;gap:.35rem;font-size:.82rem;color:var(--ink-soft);line-height:1.55;margin-bottom:.25rem}
.bch-root .sol-line svg{color:var(--green);flex-shrink:0;margin-top:3px}

/* correction */
.bch-root .corr-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:1.6rem;align-items:start}
.bch-root .off-card{display:flex;gap:.7rem;align-items:center;padding:.8rem .9rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);margin-bottom:.55rem}
.bch-root .off-card-ic{width:38px;height:38px;border-radius:var(--r-sm);background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bch-root .off-card-t{font-size:.88rem;font-weight:700;color:var(--ink);margin-bottom:.15rem}
.bch-root .off-card-d{font-size:.76rem;color:var(--ink-soft);line-height:1.55}

/* safety */
.bch-root .safe-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem;margin-top:.4rem}
.bch-root .safe-card{display:flex;gap:.8rem;padding:1.1rem;border-radius:var(--r);border:1px solid var(--line);background:var(--surface)}
.bch-root .safe-card.tone-ok{background:var(--green-soft);border-color:rgba(19,160,107,.25)}
.bch-root .safe-card.tone-danger{background:var(--red-soft);border-color:rgba(220,38,38,.22)}
.bch-root .safe-card.tone-warn{background:var(--amber-soft);border-color:rgba(215,138,10,.25)}
.bch-root .safe-card.tone-info{background:var(--blue-tint);border-color:rgba(15,82,186,.2)}
.bch-root .safe-ic{width:40px;height:40px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.bch-root .safe-card.tone-ok .safe-ic{background:var(--green)}
.bch-root .safe-card.tone-danger .safe-ic{background:var(--red)}
.bch-root .safe-card.tone-warn .safe-ic{background:var(--amber)}
.bch-root .safe-card.tone-info .safe-ic{background:var(--blue)}
.bch-root .safe-card h4{font-size:.9rem;font-weight:800;margin-bottom:.3rem}
.bch-root .safe-card p{font-size:.79rem;color:var(--ink-soft);line-height:1.6;margin-bottom:.5rem}
.bch-root .safe-list{display:flex;flex-direction:column;gap:.3rem}
.bch-root .safe-list li{font-size:.78rem;line-height:1.5;color:var(--ink-soft)}
.bch-root .safe-card.tone-ok .safe-list li{color:#0B7E54}
.bch-root .safe-card.tone-danger .safe-list li{color:#B91C1C}
.bch-root .safe-card.tone-warn .safe-list li{color:#B0700A}
.bch-root .safe-card.tone-info .safe-list li{color:var(--blue-deep)}

/* faq */
.bch-root .faq-list{display:flex;flex-direction:column;gap:.6rem}
.bch-root .faq{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:var(--tr);background:var(--surface)}
.bch-root .faq.open{border-color:rgba(15,82,186,.3);box-shadow:var(--sh-sm)}
.bch-root .faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;background:none;border:none;cursor:pointer;font-family:var(--font-bn);font-size:.92rem;font-weight:700;color:var(--ink);text-align:left;transition:var(--tr);line-height:1.6}
.bch-root .faq.open .faq-q{color:var(--blue-deep)}
.bch-root .faq-ic{width:28px;height:28px;border-radius:8px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:var(--tr)}
.bch-root .faq-ic svg{width:16px;height:16px}
.bch-root .faq.open .faq-ic{background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;transform:rotate(45deg)}
.bch-root .faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.bch-root .faq-a-in{padding:0 1.1rem 1.1rem;font-size:.86rem;color:var(--ink-soft);line-height:1.85}
.bch-root .faq-a-in ul{margin:.4rem 0 0;padding-left:1.1rem;list-style:disc}
.bch-root .faq-a-in li{margin-bottom:.3rem}
.bch-root .faq-a-in strong{color:var(--ink);font-weight:700}

/* conclusion */
.bch-root .conclusion{background:linear-gradient(140deg,var(--navy),var(--navy-2));border:1px solid var(--navy-2);border-radius:var(--r-lg);padding:1.7rem 1.9rem;box-shadow:var(--sh);scroll-margin-top:18px;position:relative;overflow:hidden}
.bch-root .conclusion::before{content:'';position:absolute;top:-50%;right:-5%;width:45%;height:160%;background:radial-gradient(ellipse,rgba(15,82,186,.28),transparent 65%);pointer-events:none}
.bch-root .conclusion-in{position:relative;z-index:1}
.bch-root .conclusion .doc-head{margin-bottom:1rem}
.bch-root .conclusion .doc-ic{background:rgba(89,131,255,.18);color:#9DB8FF}
.bch-root .conclusion .doc-title{color:#fff}
.bch-root .cgrid{display:grid;grid-template-columns:1.5fr 1fr;gap:1.5rem;align-items:start}
.bch-root .conclusion p{font-size:.88rem;color:rgba(255,255,255,.72);line-height:1.9}
.bch-root .conclusion p+p{margin-top:.7rem}
.bch-root .conclusion p strong{color:#fff;font-weight:700}
.bch-root .ccta{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.2rem}
.bch-root .facts-title{font-family:var(--font-d);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#9DB8FF;margin-bottom:.8rem}
.bch-root .facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.bch-root .fact{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:var(--r-sm);padding:.85rem}
.bch-root .fact-ic{width:30px;height:30px;border-radius:8px;background:rgba(89,131,255,.18);color:#9DB8FF;display:flex;align-items:center;justify-content:center;margin-bottom:.55rem}
.bch-root .fact-ic svg{width:16px;height:16px}
.bch-root .fact-v{font-family:var(--font-d);font-size:1.05rem;font-weight:800;color:#fff;line-height:1.1}
.bch-root .fact-l{font-size:.68rem;color:rgba(255,255,255,.5);margin-top:.25rem;font-weight:600}
.bch-root .cnote{display:flex;gap:.6rem;background:rgba(19,160,107,.1);border:1px solid rgba(19,160,107,.25);border-radius:var(--r-sm);padding:.8rem;margin-top:.7rem}
.bch-root .cnote svg{color:#6FE3B4;flex-shrink:0;margin-top:1px;width:18px;height:18px}
.bch-root .cnote p{font-size:.76rem;color:rgba(255,255,255,.65);line-height:1.7;margin:0}
.bch-root .cnote strong{color:#9DB8FF}

/* reveal + mobile toc */
.bch-root .toc-mobile{display:none}
.bch-root .rv{opacity:0;transform:translateY(16px)}
.bch-root .rv.in{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}

/* RESPONSIVE */
@media(max-width:1080px){.bch-root .layout{grid-template-columns:230px 1fr;gap:1.2rem}}
@media(max-width:980px){
  .bch-root .dash-grid{grid-template-columns:1fr}
  .bch-root .dash-side{border-left:none;border-top:1px solid var(--line)}
  .bch-root .layout{grid-template-columns:1fr;padding-top:52px}
  .bch-root .toc{display:none}
  .bch-root .info-grid-4{grid-template-columns:repeat(2,1fr)}
  .bch-root .dpanel-grid{grid-template-columns:1fr}
  .bch-root .corr-grid{grid-template-columns:1fr}
  .bch-root .cgrid{grid-template-columns:1fr}
  .bch-root .toc-mobile{display:block;position:sticky;top:0;z-index:40;padding:.7rem 1.4rem;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);margin:0 -1.4rem}
  .bch-root .toc-mobile-scroll{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.2rem;scrollbar-width:none}
  .bch-root .toc-mobile-scroll::-webkit-scrollbar{display:none}
  .bch-root .toc-chip{flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);padding:.45rem .85rem;font-size:.8rem;font-weight:700;color:var(--ink-soft);white-space:nowrap;cursor:pointer;transition:var(--tr)}
  .bch-root .toc-chip .num{font-family:var(--font-mono);font-size:.68rem;color:var(--ink-faint)}
  .bch-root .toc-chip.active{background:linear-gradient(135deg,var(--blue),var(--blue-deep));color:#fff;border-color:transparent;box-shadow:var(--sh-blue)}
  .bch-root .toc-chip.active .num{color:rgba(255,255,255,.8)}
}
@media(max-width:680px){
  .bch-root{font-size:15px}
  .bch-root .stage-title{font-size:1.6rem}
  .bch-root .why-grid{grid-template-columns:1fr}
  .bch-root .info-grid,.bch-root .info-grid-4{grid-template-columns:1fr}
  .bch-root .safe-grid{grid-template-columns:1fr}
  .bch-root .facts-grid{grid-template-columns:1fr 1fr}
  .bch-root .actions{grid-template-columns:1fr}
  .bch-root .cap-row{grid-template-columns:auto 1fr}
  .bch-root .off-banner-in{grid-template-columns:1fr}
  .bch-root .off-badges{flex-direction:row;flex-wrap:wrap}
  .bch-root .wrap{padding-left:12px;padding-right:12px}
  .bch-root .doc{padding:1.3rem 1rem}
  .bch-root .conclusion{padding:1.4rem 1rem}
  .bch-root .dash-form-area{padding:1.4rem 1.1rem}
  .bch-root .dash-side{padding:1.3rem 1.1rem}
  .bch-root .toc-mobile{margin:0 -12px;padding-left:12px;padding-right:12px}
}
