[hidden]{display:none!important}
:root{--bg:#f5f7f4;--ink:#102018;--muted:#607067;--card:#fff;--line:#dfe7e1;--accent:#d9ff66;--deep:#0c1b16;--soft:#edf3ee;--warn:#fff6dc;--danger:#7f1d1d;--shadow:0 18px 50px rgba(12,27,22,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI","Noto Sans Bengali",sans-serif;background:var(--bg);color:var(--ink);line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.site-header{height:74px;padding:0 max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:28px;background:rgba(245,247,244,.94);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(223,231,225,.75)}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--deep);color:var(--accent);border-radius:10px;width:38px;height:38px;font-size:13px}.site-header nav{display:flex;gap:22px;margin-left:auto}.site-header nav a{font-size:14px;color:#3d4d44}.header-cta{background:var(--deep);color:#fff;padding:10px 15px;border-radius:12px;font-size:13px;font-weight:700}.hero{background:var(--deep);color:#fff;padding:84px max(24px,calc((100vw - 1180px)/2)) 72px}.hero-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:56px;align-items:center}.eyebrow{display:inline-block;font-size:12px;letter-spacing:.13em;font-weight:800;color:#718078;text-transform:uppercase;margin-bottom:12px}.hero .eyebrow{color:var(--accent)}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(40px,6vw,72px);margin:0 0 20px}.hero h1 span{color:var(--accent)}.hero p{max-width:760px;color:#c6d1ca;font-size:18px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{border:0;border-radius:13px;padding:12px 18px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.btn.primary{background:var(--accent);color:var(--deep)}.btn.ghost{border:1px solid #40524a;color:#fff;background:transparent}.btn.dark{background:var(--deep);color:#fff}.btn.small{padding:8px 12px;font-size:13px}.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:30px;font-size:13px;color:#9eaea5}.hero-panel{border:1px solid #31443b;background:#13261f;padding:22px;border-radius:24px;box-shadow:0 30px 70px rgba(0,0,0,.24)}.hero-panel a{display:flex;justify-content:space-between;gap:10px;padding:15px 4px;border-bottom:1px solid #2c4036}.hero-panel .small{font-size:12px;color:#93a39b;margin:16px 0 0}.mini-label{font-size:11px;letter-spacing:.12em;color:var(--accent);font-weight:800}.section{max-width:1180px;margin:0 auto;padding:76px 24px}.section.compact{padding-top:28px}.section.alt{max-width:none;background:#eef3ef;padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2))}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head h2{font-size:36px;margin:0}.section-head>a{font-weight:700;font-size:14px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;min-height:230px;display:flex;flex-direction:column;transition:.2s transform,.2s box-shadow}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card h3{font-size:20px;margin:16px 0 9px}.card p{font-size:14px;color:var(--muted);margin:0}.pill{font-size:11px;font-weight:800;padding:5px 9px;border-radius:999px;background:var(--soft);align-self:flex-start}.arrow{margin-top:auto;padding-top:18px;font-size:13px;font-weight:800}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-grid>div{border-top:3px solid var(--deep);padding-top:18px}.feature-grid h3{margin:0 0 8px}.feature-grid p{color:var(--muted);font-size:14px}.page-hero{max-width:1180px;margin:0 auto;padding:74px 24px 24px}.page-hero h1{font-size:clamp(38px,5vw,64px);margin:0 0 14px}.page-hero p{font-size:18px;color:var(--muted);max-width:740px}.filter-row{display:flex;gap:12px;margin-bottom:22px}.search-input,.select,input,textarea{width:100%;border:1px solid #cfd8d1;background:#fff;padding:12px 14px;border-radius:12px;outline:none}.search-input:focus,input:focus,textarea:focus,select:focus{border-color:#788a7e;box-shadow:0 0 0 3px rgba(12,27,22,.06)}.select{max-width:230px}.article-head{max-width:1080px;margin:0 auto;padding:70px 24px 26px}.article-head h1{font-size:clamp(36px,5vw,58px);max-width:900px}.article-head p{font-size:18px;color:var(--muted);max-width:780px}.meta{font-size:12px;color:#7d8b83}.article-grid{max-width:1080px;margin:0 auto;padding:12px 24px 80px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:42px}.article.single{max-width:860px;margin:0 auto;padding:20px 24px 80px}.article h2,.article.single h2{font-size:27px;margin-top:38px}.article p,.article li,.article.single p{color:#384a41}.article a{text-decoration:underline;text-decoration-color:#aab8b0;text-underline-offset:3px}.notice,.source-box{padding:16px 18px;border-radius:14px;margin:24px 0;background:var(--warn);border:1px solid #eadca8}.source-box{background:#edf4ef;border-color:#d2e2d7}.source-list{margin-top:34px;padding-top:22px;border-top:1px solid var(--line)}.source-list a{display:block;margin:8px 0}.sidebar{position:sticky;top:98px;align-self:start}.side-card{background:var(--deep);color:#fff;border-radius:18px;padding:20px}.side-card p{color:#c3cec7;font-size:13px}.side-link{display:block;padding:13px 2px;border-bottom:1px solid var(--line);font-weight:700;font-size:13px}.tool-shell{margin-top:28px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px}.tool-form{display:grid;gap:14px}.tool-form label{font-size:13px;font-weight:700}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tool-result{margin-top:18px;background:#f2f6f3;border:1px solid var(--line);border-radius:15px;padding:18px;white-space:pre-wrap}.check-list{display:grid;gap:10px}.check-item{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.check-item input{width:auto;margin-top:5px}.progress{height:8px;background:#e6ece7;border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--deep);width:0;transition:.2s}.admin-body{background:#edf2ee}.admin-app{max-width:1240px;margin:0 auto;padding:30px 20px 80px}.login-card{width:min(440px,100%);margin:10vh auto;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;padding:28px}.login-card h1{font-size:34px;margin:24px 0 18px}.login-card label,.admin-form label{display:grid;gap:7px;font-size:13px;font-weight:700;margin-bottom:14px}.form-msg{font-size:13px;color:var(--danger)}.admin-shell{display:grid;grid-template-columns:220px 1fr;gap:20px}.admin-nav{background:var(--deep);color:#fff;border-radius:22px;padding:18px;height:fit-content;position:sticky;top:20px}.admin-nav .brand{margin-bottom:24px}.admin-nav button{width:100%;text-align:left;border:0;background:transparent;color:#c6d2ca;padding:11px;border-radius:10px;cursor:pointer}.admin-nav button.active,.admin-nav button:hover{background:#1a3027;color:#fff}.admin-main{min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.admin-top h1{font-size:34px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.stat b{font-size:28px;display:block}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-top:16px;overflow:auto}.panel h2{margin-top:0;font-size:22px}.admin-form{max-width:800px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.switch-row{display:flex;align-items:center;gap:10px;margin:12px 0}.switch-row input{width:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th,.table td{text-align:left;padding:11px;border-bottom:1px solid var(--line);vertical-align:top}.badge{display:inline-block;font-size:11px;padding:4px 8px;border-radius:999px;background:#eaf0eb}.badge.high{background:#fee2e2;color:#991b1b}.badge.medium{background:#fef3c7;color:#92400e}.badge.low{background:#dcfce7;color:#166534}.action-row{display:flex;gap:7px;flex-wrap:wrap}.codeish{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.muted{color:var(--muted)}
.field-question{display:block;font-size:19px;font-weight:900;line-height:1.45;color:#182d25;margin:2px 0 0}.field-help{margin:0;color:#637069;font-size:13px;line-height:1.65}.field-example{margin:0;padding:9px 11px;border-radius:10px;background:#f7f4eb;color:#6e5b34;font-size:12px;line-height:1.55}.field-optional{font-size:11px;color:#7a857f;font-weight:700;margin-left:6px}.draft-start-hint{display:flex;gap:10px;align-items:flex-start;border:1px solid #d9e3dd;background:#f4f8f5;padding:12px 14px;border-radius:13px;color:#44584f;font-size:13px;line-height:1.6}.draft-start-hint b{color:#174b3c}
.formal-doc{background:#fff;border:1px solid #dcded9;border-radius:12px;padding:26px 28px;color:#17231e;font-family:"Noto Sans Bengali","Segoe UI",sans-serif;line-height:1.8}.formal-doc .doc-center{text-align:center}.formal-doc .doc-court{font-size:17px;font-weight:900;margin-bottom:12px}.formal-doc .doc-title{font-size:20px;font-weight:900;margin:15px 0}.formal-doc .doc-parties{display:grid;gap:5px;margin:12px 0 18px}.formal-doc .doc-subject{font-weight:800;margin:14px 0}.formal-doc .doc-body p{margin:8px 0}.formal-doc .doc-numbered{counter-reset:draftpara;list-style:none;padding-left:0}.formal-doc .doc-numbered>li{counter-increment:draftpara;display:grid;grid-template-columns:28px 1fr;gap:7px;margin:7px 0}.formal-doc .doc-numbered>li:before{content:counter(draftpara, bengali) ".";font-weight:800}.formal-doc .doc-prayer{border-top:1px solid #e2e3df;margin-top:18px;padding-top:13px}.formal-doc .doc-sign{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.formal-doc .doc-sign>div:last-child{text-align:right}.formal-doc .doc-placeholder{color:#8a5f25;background:#fff7e8;padding:1px 5px;border-radius:5px}.formal-doc .doc-review-note{margin-top:22px;border-left:4px solid #b68a42;background:#faf6ed;padding:11px 13px;font-size:12px;color:#665a43}.quick-fractions{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 8px}.quick-fractions button{border:1px solid #d8d4c9;background:#fff;border-radius:10px;padding:8px 12px;font-weight:800;cursor:pointer}.quick-fractions button:hover{background:#f7f2e7;border-color:#b99c68}.fraction-entry{display:flex;align-items:center;gap:10px}.fraction-entry input{width:110px;text-align:center;font-size:18px;font-weight:800}.fraction-slash{font-size:30px;font-weight:900;color:#6d735f}.fraction-caption{font-size:12px;color:#6e7772;margin-top:4px}

footer{background:#091711;color:#fff;padding:48px max(24px,calc((100vw - 1180px)/2));display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}footer p,footer a,.footer-note{color:#9eada5;font-size:13px}footer a{display:block;margin:6px 0}.footer-brand{margin-bottom:10px}
@media(max-width:950px){.cards{grid-template-columns:repeat(2,1fr)}.hero-grid,.article-grid{grid-template-columns:1fr}.sidebar{position:static}.admin-shell{grid-template-columns:1fr}.admin-nav{position:static;display:flex;overflow:auto;gap:4px}.admin-nav .brand{display:none}.admin-nav button{width:auto;white-space:nowrap}.stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.site-header{height:66px;padding:0 16px}.site-header nav{display:none}.header-cta{margin-left:auto;font-size:11px;padding:9px 10px}.brand-mark{width:34px;height:34px}.hero{padding:58px 18px}.hero-grid{gap:30px}.hero p{font-size:16px}.section,.page-hero,.article-head,.article-grid{padding-left:16px;padding-right:16px}.cards,.feature-grid{grid-template-columns:1fr}.card{min-height:190px}.section-head h2{font-size:28px}.filter-row,.form-row,.tool-grid{grid-template-columns:1fr;display:grid}.select{max-width:none}.stats{grid-template-columns:1fr 1fr}.admin-app{padding:14px 10px 60px}footer{grid-template-columns:1fr}.article h2{font-size:23px}}

/* Comprehensive public architecture */
.global-search{display:flex;gap:10px;margin:24px 0 12px;max-width:700px}.global-search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff;font:inherit}.global-search.wide-search{max-width:820px}.portal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.portal-card{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;min-height:210px;transition:.18s;box-shadow:0 10px 30px rgba(10,30,20,.04)}.portal-card:hover,.service-card:hover,.topic-card:hover{transform:translateY(-2px);border-color:#b6c7bd}.portal-card>span{font-size:30px}.portal-card h3{font-size:18px;margin:14px 0 8px}.portal-card p{font-size:13px;color:var(--muted);line-height:1.65}.portal-card b{font-size:12px}.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.topic-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;transition:.18s}.topic-card h3{margin:0 0 5px;font-size:18px}.topic-card p{margin:0;color:var(--muted);font-size:13px}.topic-icon{width:42px;height:42px;border-radius:13px;background:#edf5ef;display:grid;place-items:center;font-size:22px}.topic-icon.large{width:62px;height:62px;font-size:32px;margin-bottom:14px}.breadcrumb{max-width:1180px;margin:18px auto 0;padding:0 24px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px}.breadcrumb a{color:var(--muted)}.service-group{margin-bottom:38px}.service-group h2{margin-bottom:14px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px;min-height:170px;transition:.18s}.service-card h3{font-size:18px;margin:12px 0 7px}.service-card p{color:var(--muted);font-size:13px;line-height:1.6}.service-card b{font-size:12px;word-break:break-all}.faq-search{max-width:700px;margin-bottom:20px}.faq-list{max-width:900px}.faq-item{background:#fff;border:1px solid var(--line);border-radius:15px;padding:0 17px;margin:10px 0}.faq-item summary{cursor:pointer;font-weight:800;padding:17px 0}.faq-item p{color:var(--muted);line-height:1.7;padding:0 0 17px;margin:0}.empty-state{background:#fff;border:1px dashed var(--line);border-radius:18px;padding:28px;text-align:center;margin-top:18px}.wide-notice{margin-top:26px}.standalone{margin:24px 0}.student-portals{grid-template-columns:repeat(4,1fr)}.topic-hero,.student-hero{padding-top:52px}.site-header nav{gap:18px}.site-header nav a{font-size:12px}.footer-note{align-self:end}.tool-result{white-space:pre-wrap}.article.single .service-grid{margin-top:20px}
@media(max-width:1100px){.portal-grid{grid-template-columns:repeat(3,1fr)}.service-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.topic-grid{grid-template-columns:1fr}.student-portals{grid-template-columns:repeat(2,1fr)}.site-header nav a:nth-child(4),.site-header nav a:nth-child(5){display:none}}
@media(max-width:650px){.global-search{display:grid}.portal-grid,.student-portals,.service-grid{grid-template-columns:1fr}.portal-card{min-height:auto}.breadcrumb{padding:0 16px}.header-cta{display:none}}

/* v4 future-ready privacy + integration UI */
.consent-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:9999;max-width:980px;margin:auto;background:#fff;border:1px solid #d7e0da;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.18);padding:18px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.consent-banner p{margin:.35rem 0;color:#53625b}.consent-banner>a{font-size:.9rem}.consent-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.admin-form h3{margin-top:1.3rem}.notice .codeish{font-size:.9em}@media(max-width:720px){.consent-banner{grid-template-columns:1fr;left:10px;right:10px;bottom:10px}.consent-actions{justify-content:flex-start}.consent-actions .btn{flex:1 1 30%}}


/* v6 manual bKash payment */
.premium-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.premium-card,.checkout-card,.payment-instructions,.payment-state{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(12,27,22,.05)}.premium-card{display:flex;flex-direction:column;gap:12px;min-height:250px}.premium-card h3{margin:4px 0 0}.premium-card p{color:var(--muted);margin:0}.premium-card .btn{margin-top:auto}.price{font-weight:900;font-size:24px}.price.big{font-size:38px;margin-bottom:22px}.btn.disabled{background:#e5e9e6;color:#768079;cursor:not-allowed}.checkout-wrap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px}.checkout-card.soft{background:#edf3ee}.checkout-card ol,.payment-instructions ol{padding-left:20px;color:#384a41}.payment-wrap{max-width:820px}.payment-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.payment-facts>div{background:#f2f6f3;border:1px solid var(--line);border-radius:14px;padding:14px}.payment-facts span{display:block;color:var(--muted);font-size:12px}.payment-facts strong{font-size:18px;word-break:break-word}.payment-state.success{border-color:#b7dfc2;background:#f0fbf3}.payment-state.pending{border-color:#f1db93;background:#fff9e8}.payment-state h2{margin-top:0}@media(max-width:800px){.premium-grid,.checkout-wrap{grid-template-columns:1fr}}@media(max-width:520px){.payment-facts{grid-template-columns:1fr}}


/* v6 pre-launch search, authority and article-depth UX */
.journey-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.journey-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;min-height:155px;transition:.18s}.journey-card:hover{transform:translateY(-2px);border-color:#a9bdb1}.journey-card strong{font-size:17px}.journey-card span{font-size:13px;line-height:1.6;color:var(--muted)}.journey-card b{margin-top:auto;font-size:12px}.review-strip{display:flex;gap:8px 16px;flex-wrap:wrap;margin:16px 0 4px;font-size:12px;color:var(--muted)}.review-strip span{background:#edf4ef;border:1px solid var(--line);padding:7px 10px;border-radius:999px}.review-strip a{text-decoration:underline}.article-toc{background:#f2f6f3;border:1px solid var(--line);border-radius:17px;padding:18px 20px;margin:0 0 26px}.article-toc>strong{display:block;margin-bottom:8px}.article-toc ol{margin:0;padding-left:21px}.article-toc li{margin:6px 0}.article-toc .toc-sub{margin-left:18px;font-size:13px}.article h2,.article h3{scroll-margin-top:100px}.source-note{font-size:12px;color:var(--muted);margin-top:10px}.editor-card{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:30px;padding:24px 0}.editor-card h3{margin:5px 0}.editor-card p{color:var(--muted)}.related-block{margin-top:28px}@media(max-width:900px){.journey-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.journey-grid{grid-template-columns:1fr}.review-strip span{border-radius:10px}.article-toc{padding:15px}}

/* v7 guided journeys, private workspace and policy-safe ad zones */
.plan-steps{list-style:none;padding:0;margin:24px 0}.plan-steps li{background:#fff;border:1px solid var(--line);border-radius:16px;margin:10px 0;padding:0}.plan-steps label{display:flex;gap:14px;align-items:flex-start;padding:17px;cursor:pointer}.plan-steps input{width:20px;height:20px;margin-top:2px}.plan-steps span{display:grid;gap:6px}.plan-steps a{font-size:12px;font-weight:800}.workspace-callout{background:#edf5ef;border:1px solid var(--line);border-radius:18px;padding:20px;margin-top:26px}.workspace-callout h3{margin-top:0}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:24px}.workspace-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;height:fit-content;position:sticky;top:90px}.workspace-panel hr{border:0;border-top:1px solid var(--line);margin:22px 0}.workspace-plan-list{display:grid;gap:8px;margin:14px 0}.workspace-plan-list a{display:flex;justify-content:space-between;gap:12px;background:#edf4ef;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:12px}.workspace-plan-list span{color:var(--muted)}.workspace-task-list{display:grid;gap:8px;margin:14px 0}.workspace-task-list label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:9px 0}.workspace-task-list button{border:0;background:transparent;font-size:20px;cursor:pointer;color:var(--muted)}
.ad-zone{max-width:980px;margin:34px auto;padding:18px 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafcfb;min-height:90px}.ad-label{display:block;text-align:center;text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#7c8881;margin-bottom:10px}.article .ad-zone{margin:34px 0}.ad-zone:empty{display:none}@media(max-width:850px){.workspace-grid{grid-template-columns:1fr}.workspace-panel{position:static}}@media print{.ad-zone,.site-header,.consent-banner{display:none!important}.workspace-panel{position:static}}
.readiness-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.readiness-grid>div{border:1px solid var(--line);border-radius:13px;padding:12px;background:#fafcfb}.readiness-grid span{display:block;color:var(--muted);font-size:12px}.readiness-grid strong{display:block;margin-top:5px}.ready-ok{color:#166534}.ready-warn{color:#92400e}@media(max-width:720px){.readiness-grid{grid-template-columns:1fr 1fr}}

/* =========================================================
   AinDisha v11 — Human Tools + Editorial Law Theme
   Lightweight: system fonts, local SVG logo and tiny WebP art.
   ========================================================= */
:root{
  --bg:#f6f3ec;--ink:#10211d;--muted:#65716c;--card:#fffdf9;--line:#ddd9cf;
  --accent:#c8a15a;--accent-2:#e7d5ad;--deep:#0b241f;--deep-2:#143a32;
  --soft:#edf2ed;--warn:#fff5df;--wine:#6e4149;--blue:#36566a;
  --shadow:0 18px 50px rgba(20,35,30,.08);--shadow-lg:0 30px 80px rgba(8,30,25,.14)
}
body{background:linear-gradient(180deg,#f9f7f2 0,#f5f3ed 45%,#f7f5f0 100%);font-family:"Noto Sans Bengali","Nirmala UI","Vrinda","Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);font-size:16px}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.26;background-image:radial-gradient(circle at 10% 10%,rgba(200,161,90,.12),transparent 28%),radial-gradient(circle at 88% 18%,rgba(20,58,50,.07),transparent 30%)}
h1,h2,h3{letter-spacing:-.025em}.article p,.article li,.page-hero p,.card p,.portal-card p,.journey-card span{line-height:1.85}
.site-header{height:78px;background:rgba(250,248,243,.92);border-bottom:1px solid rgba(184,166,132,.26);box-shadow:0 8px 30px rgba(24,45,38,.035)}
.brand{gap:11px;color:var(--deep);font-size:18px}.brand-logo{width:44px;height:44px;display:block;filter:drop-shadow(0 6px 12px rgba(11,36,31,.08))}.site-header nav a{font-size:13px;font-weight:700;color:#42544d;position:relative}.site-header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:2px;background:var(--accent);transition:.2s}.site-header nav a:hover:after{right:0}.header-cta{background:linear-gradient(135deg,var(--deep),#194a3f);box-shadow:0 8px 20px rgba(11,36,31,.15);padding:11px 16px}
.hero{position:relative;overflow:hidden;background:linear-gradient(128deg,#081f1b 0%,#0d3028 55%,#16483b 100%);padding-top:86px;padding-bottom:78px}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.018)),radial-gradient(circle at 83% 20%,rgba(200,161,90,.22),transparent 26%),repeating-linear-gradient(90deg,transparent 0 79px,rgba(255,255,255,.02) 80px),repeating-linear-gradient(0deg,transparent 0 79px,rgba(255,255,255,.018) 80px);pointer-events:none}.hero-grid{position:relative;z-index:1}.hero h1{font-size:clamp(46px,6vw,76px);font-weight:900;max-width:790px}.hero h1 span{color:#e2bd72}.hero p{color:#d6e1dc;max-width:760px}.hero .eyebrow{color:#e4c27e}.hero-panel{background:linear-gradient(180deg,rgba(19,62,52,.9),rgba(10,39,33,.96));border-color:rgba(226,189,114,.27);box-shadow:0 30px 90px rgba(0,0,0,.24)}.hero-panel a{border-color:rgba(255,255,255,.1);font-weight:700}.hero-panel a:hover{color:#f3d89f}.hero-panel .mini-label{color:#e5c379}.hero .global-search input{border:1px solid rgba(255,255,255,.16);box-shadow:0 18px 45px rgba(0,0,0,.08);font-size:16px}.btn{border:1px solid rgba(16,33,29,.08);transition:.18s transform,.18s box-shadow,.18s background}.btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(20,35,30,.09)}.btn.primary{background:linear-gradient(135deg,#e2be74,#c99e4f);color:#17261f}.btn.ghost{border-color:rgba(229,195,127,.34);color:#f5eee0}.trust-row span{border:1px solid rgba(255,255,255,.11);border-radius:999px;padding:6px 10px;color:#bcd0c7;background:rgba(255,255,255,.035)}
.visual-section{padding-bottom:52px}.visual-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.visual-topic-card{position:relative;min-height:220px;border-radius:22px;overflow:hidden;background:var(--deep);box-shadow:var(--shadow);border:1px solid rgba(20,48,41,.12);isolation:isolate}.visual-topic-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 18%,rgba(7,29,25,.12) 48%,rgba(7,29,25,.94) 100%);z-index:1}.visual-topic-card img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:.35s transform;filter:saturate(.88) contrast(1.02)}.visual-topic-card:hover img{transform:scale(1.035)}.visual-topic-card span{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;color:#fff;display:grid;gap:3px}.visual-topic-card strong{font-size:20px}.visual-topic-card small{color:#dce7e2;font-size:13px;line-height:1.55}
.section{padding-top:70px;padding-bottom:70px}.section.alt{background:linear-gradient(180deg,#ecefe9,#f1f0e9);border-top:1px solid rgba(120,140,128,.12);border-bottom:1px solid rgba(120,140,128,.12)}.section-head .eyebrow,.page-hero .eyebrow,.article-head .eyebrow{color:#84652d}.section-head h2{font-weight:850}.portal-grid{grid-template-columns:repeat(4,1fr)}.portal-card,.card,.journey-card,.service-card{background:linear-gradient(180deg,#fffefa,#fff);border-color:#dedbd2;box-shadow:0 12px 36px rgba(30,48,42,.045)}.portal-card{border-top:3px solid transparent}.portal-card:nth-child(4n+1){border-top-color:#b48b45}.portal-card:nth-child(4n+2){border-top-color:#527b6c}.portal-card:nth-child(4n+3){border-top-color:#6f5260}.portal-card:nth-child(4n){border-top-color:#45697a}.portal-card>span{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#f1eee5;font-size:26px}.portal-card h3{font-size:19px}.portal-card b,.journey-card b,.card .arrow{color:#765a29}.card{min-height:235px;position:relative;overflow:hidden}.card:before{content:"";position:absolute;width:86px;height:86px;border-radius:50%;right:-38px;top:-38px;background:rgba(200,161,90,.10)}.card .pill{background:#f0eee6;color:#5b625e;border:1px solid #e5e0d4}.card h3{font-size:20px}.card:hover,.portal-card:hover,.journey-card:hover{border-color:#cdbd9c;box-shadow:0 22px 54px rgba(20,45,38,.10)}.journey-card{border-left:4px solid #c9a25c}.feature-grid>div{border-top-color:#b98d43;background:#fffefa;border-radius:0 0 16px 16px;padding:19px 18px 16px;box-shadow:0 10px 28px rgba(20,35,30,.035)}
.page-hero,.article-head{position:relative}.page-hero:before,.article-head:before{content:"";position:absolute;top:34px;left:24px;width:74px;height:3px;border-radius:999px;background:linear-gradient(90deg,#b78b43,#e6c882)}.page-hero{padding-top:84px}.article-head{padding-top:82px}.article-head.tool-head{max-width:1140px}.article-head h1{font-weight:900}.review-strip span{background:#f2f0e8;border-color:#e1dccf;color:#59665f}.page-actions .btn{background:#fffefa}.breadcrumb{color:#758079}
.article-grid{max-width:1140px;grid-template-columns:minmax(0,1fr) 275px}.article{min-width:0}.article h2{font-size:29px}.article h3{font-size:21px}.sidebar .side-card{background:linear-gradient(150deg,#0b2922,#143d33);border:1px solid rgba(200,161,90,.21);box-shadow:0 20px 46px rgba(11,36,31,.13)}.side-card strong{color:#efd297}.side-link{color:#455951}
.tool-intro.service-intro{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.65fr);gap:18px;align-items:stretch;background:#fff;border:1px solid #dcd8cd;border-radius:22px;padding:22px;margin:0 0 18px;box-shadow:0 12px 34px rgba(28,45,39,.045)}
.service-intro-main{padding:2px 4px}.service-intro-main h2{margin:7px 0 8px;font-size:26px;line-height:1.3}.service-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:18px}.service-info-card{display:grid;grid-template-columns:40px 1fr;gap:11px;align-items:start;border:1px solid #e2ded4;border-radius:15px;padding:13px;background:#fbfaf6}.service-info-card .service-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#eaf1ed;color:#174c3d;font-weight:900}.service-info-card strong{display:block;font-size:14px;margin-bottom:3px}.service-info-card p{margin:0;color:#65716b;font-size:13px;line-height:1.6}
.service-start-note{display:flex;flex-direction:column;justify-content:center;border-radius:17px;background:#0e332a;color:#fff;padding:20px}.service-start-note>span{font-size:11px;text-transform:none;letter-spacing:.06em;color:#efd49b;font-weight:800}.service-start-note>strong{font-size:20px;line-height:1.35;margin:5px 0 7px}.service-start-note p{margin:0;color:#d5e0dc;font-size:13px;line-height:1.65}.service-start-note a{align-self:flex-start;margin-top:13px;color:#102d26;background:#f4dca6;border-radius:10px;padding:8px 11px;font-size:13px;font-weight:900;text-decoration:none}

.tool-shell{margin-top:18px;border:1px solid #d8d4c9;border-radius:24px;padding:26px;background:linear-gradient(180deg,#fffefa,#fff);box-shadow:0 22px 55px rgba(25,45,38,.07)}.tool-shell:before{content:"আপনার তথ্য দিন";display:block;font-size:13px;font-weight:900;letter-spacing:.04em;color:#7a5c28;margin-bottom:18px}.tool-form{gap:16px}.tool-form label{font-size:14px;color:#24372f}.tool-form input,.tool-form textarea,.tool-form select,.search-input,.select{border-color:#d7d3c8;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.tool-form textarea{min-height:92px;resize:vertical}.tool-form input:focus,.tool-form textarea:focus,.tool-form select:focus{border-color:#b59458;box-shadow:0 0 0 4px rgba(200,161,90,.13)}
.interview-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #ece7dc}.interview-steps{font-size:13px;color:#6c776f}.interview-step{display:grid;gap:12px;padding:20px 0 6px}.step-kicker{color:#8a692e;font-size:12px;font-weight:900}.interview-step h3{margin:0;font-size:22px}.interview-nav{display:flex;gap:9px;justify-content:space-between;margin-top:8px}.progress{height:9px;background:#e8e4da}.progress>span{background:linear-gradient(90deg,#b58b45,#d3b06e)}
.rich-check{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;padding:14px;border:1px solid #e1ddd3;border-radius:15px;background:#fffefa}.rich-check:has(input[type="checkbox"]:checked){border-color:#9eb8ac;background:#f1f7f2}.rich-check input[type="checkbox"]{width:20px;height:20px;accent-color:#225d4d}.rich-check .check-note{grid-column:2;width:100%;font-size:13px;background:#faf9f4}.tool-status-row{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#f2f4ef;border:1px solid #e0e2da;padding:12px 14px;border-radius:14px}.tool-primary-actions{margin-top:4px}
.editable-rows{display:grid;gap:12px}.table-builder-head,.editable-row{display:grid;gap:10px;align-items:end}.editable-row{grid-template-columns:42px repeat(2,minmax(0,1fr)) 42px;padding:14px;border:1px solid #dedbd1;background:#fffefa;border-radius:15px}.editable-row label{margin:0}.editable-row .row-number{align-self:center}.editable-row .icon-btn{align-self:end}.row-number{font-weight:900;color:#836429}.icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid #e2ded4;background:#fff;cursor:pointer}.icon-btn:hover{background:#fff3e2}.calc-result-main{background:linear-gradient(135deg,#0d3028,#174d40);color:#fff;border-radius:19px;padding:21px;margin:10px 0}.calc-result-main strong{font-size:32px;color:#efd192;display:block}.calc-result-main span{color:#cbd9d3}.calc-tool .tool-grid{align-items:end}
.tool-result{white-space:normal;background:linear-gradient(180deg,#f6f6f1,#f1f4ef);border-color:#d9ddd5;border-radius:20px;padding:0;overflow:hidden}.report-head{padding:18px 20px;background:#0e332a;color:#fff;display:flex;justify-content:space-between;gap:14px;align-items:center}.report-head h3{margin:0;color:#fff}.report-head small{color:#bfcfc8}.report-body{padding:20px}.report-actions{display:flex;gap:8px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #dce0d9;background:#fffefa}.report-card{background:#fff;border:1px solid #e1ddd3;border-radius:14px;padding:15px;margin:10px 0}.report-card h3{margin:0 0 8px;font-size:17px}.report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-summary>div{border:1px solid #dedbd2;background:#fff;border-radius:14px;padding:13px}.report-field{border-bottom:1px solid #ece7dd;padding:10px 0}.report-field:last-child{border:0}.report-links{display:grid;gap:7px}.tool-safety,.notice{border-color:#ead9b5;background:#fff7e8}.tool-limit{margin:22px 0 0;border:1px solid #e0dbcf;border-radius:16px;background:#f9f7f1}.tool-limit summary{cursor:pointer;padding:15px 17px;font-weight:800;color:#526159}.tool-limit>div{padding:0 17px 15px;color:#66736c}.tool-limit ul{padding-left:22px}.route-map{display:grid;gap:10px}.route-map .report-card{border-left:4px solid #b88b43}.dictionary-results{display:grid;gap:10px}.dict-item{border:1px solid #dfdcd2;border-radius:14px;padding:14px;background:#fffefa}.dict-item strong{color:#725726}.practice-prompt{border-left:4px solid #b68a42;background:#f5f1e6;padding:16px;border-radius:0 14px 14px 0;font-size:17px}.quiz-options{display:grid;gap:8px}.quiz-options button{border:1px solid #ddd8cd;background:#fff;padding:12px 14px;border-radius:12px;text-align:left;cursor:pointer}.quiz-options button:hover{border-color:#b99b67;background:#fff9ee}
.source-list{background:#f8f7f2;border:1px solid #e4e0d6;border-radius:17px;padding:18px 19px;margin-top:30px}.source-list h3{margin-top:0}.editor-card{background:linear-gradient(90deg,#f5f1e7,transparent);border-radius:14px;padding:21px;border:0;margin-top:26px}
footer{background:linear-gradient(135deg,#071b17,#0c2922);border-top:4px solid #b98d43;padding-top:54px}footer .brand{color:#fff}footer p,footer a,.footer-note{color:#b5c2bc}footer a:hover{color:#f1d79f}.footer-brand .brand-logo{filter:none}
@media(max-width:1000px){.visual-topic-grid{grid-template-columns:repeat(2,1fr)}.portal-grid{grid-template-columns:repeat(3,1fr)}.tool-intro{grid-template-columns:1fr}.tool-intro-art{max-height:220px}.article-grid{grid-template-columns:minmax(0,1fr) 245px;gap:28px}}
@media(max-width:800px){.article-grid{grid-template-columns:1fr}.sidebar{position:static}.visual-topic-card{min-height:190px}.portal-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){body{font-size:15px}.site-header{height:68px}.brand-logo{width:38px;height:38px}.brand{font-size:16px}.hero{padding-top:54px;padding-bottom:52px}.hero h1{font-size:44px}.hero-actions .btn{width:100%}.trust-row{gap:7px}.trust-row span{font-size:11px}.visual-topic-grid,.portal-grid{grid-template-columns:1fr}.visual-topic-card{min-height:205px}.section{padding-top:52px;padding-bottom:52px}.page-hero,.article-head{padding-top:68px}.page-hero:before,.article-head:before{top:28px;left:16px}.article-head h1{font-size:38px}.tool-shell{padding:17px;border-radius:19px}.tool-intro{padding:12px;border-radius:19px}.tool-intro-art{min-height:165px}.report-summary{grid-template-columns:1fr}.report-head{align-items:flex-start;flex-direction:column}.editable-row{grid-template-columns:1fr;padding:10px}.editable-row .row-number{display:none}.editable-row .icon-btn{justify-self:end}.interview-nav{flex-wrap:wrap}.interview-nav .btn{flex:1}.cards{grid-template-columns:1fr}.card{min-height:185px}.portal-card{min-height:auto}.footer-note{margin-top:8px}}

/* v11 mobile navigation: no heavy JS, keyboard accessible */
.mobile-menu{display:none;position:relative;margin-left:auto}
.mobile-menu summary{list-style:none;cursor:pointer;background:var(--deep);color:#fff;border-radius:12px;padding:9px 12px;font-weight:800;font-size:12px;box-shadow:0 8px 20px rgba(11,36,31,.14)}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu[open] summary{background:#173b31}
.mobile-menu>div{position:absolute;right:0;top:48px;width:min(270px,calc(100vw - 32px));padding:10px;background:#fff;border:1px solid rgba(156,133,91,.24);border-radius:18px;box-shadow:0 20px 50px rgba(12,33,27,.18);z-index:40}
.mobile-menu a{display:block;padding:11px 12px;border-radius:10px;font-weight:700;color:var(--deep)}
.mobile-menu a:hover{background:#f1f5ed}
@media(max-width:650px){.site-header nav,.site-header .header-cta{display:none!important}.mobile-menu{display:block}.site-header{overflow:visible}.brand{min-width:0}.brand span{white-space:nowrap}.mobile-menu>div{max-height:70vh;overflow:auto}}
.tool-purpose{font-size:16px;line-height:1.75;color:#32453d;margin:6px 0 16px}.report-actions .btn.subtle{margin-left:auto}@media(max-width:650px){.report-actions .btn.subtle{margin-left:0}}

/* v12.0.1 admin hotfix: .admin-form label is grid; switch labels must override it. */
.admin-form label.switch-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:12px 0;min-height:28px}
.admin-form label.switch-row input[type="checkbox"]{width:auto;min-width:16px;height:16px;margin:0;flex:0 0 auto}

@media(max-width:1000px){.tool-intro.service-intro{grid-template-columns:1fr}.service-start-note{min-height:auto}}
@media(max-width:650px){.tool-intro.service-intro{padding:15px}.service-info-grid{grid-template-columns:1fr}.service-intro-main h2{font-size:22px}.formal-doc{padding:18px 14px}.formal-doc .doc-sign{grid-template-columns:1fr}.formal-doc .doc-sign>div:last-child{text-align:left}.fraction-entry input{width:95px}}

/* v13.0.2 tool runtime + calculator clarity hotfix */
.tool-shell[data-tool-kind="date_add"]:before,.tool-shell[data-tool-kind="date_diff"]:before,.tool-shell[data-tool-kind="age"]:before,.tool-shell[data-tool-kind="working_days"]:before,.tool-shell[data-tool-kind="percentage"]:before,.tool-shell[data-tool-kind="sum"]:before,.tool-shell[data-tool-kind="arrears"]:before,.tool-shell[data-tool-kind="simple_interest"]:before,.tool-shell[data-tool-kind="installments"]:before,.tool-shell[data-tool-kind="payment_schedule"]:before,.tool-shell[data-tool-kind="fraction"]:before{content:"হিসাবের তথ্য দিন"}
.tool-shell[data-tool-kind="checklist"]:before{content:"যা প্রস্তুত আছে টিক দিন"}
.tool-shell[data-tool-kind="official_draft"]:before{content:"একটি করে প্রশ্নের উত্তর দিন"}
.calc-start-help{padding:14px 16px;border:1px solid #ead9b7;background:#fff8e8;border-radius:14px}.calc-start-help strong{display:block;color:#17362d;margin-bottom:3px}.calc-start-help p{margin:0;color:#59665f;font-size:13px}.field-mini-help{display:block;font-size:11px;font-weight:500;color:#76827c;margin:3px 0 6px}.tool-runtime-error{padding:18px;border:1px solid #e7c6c6;background:#fff7f7;border-radius:14px}.tool-runtime-error strong{display:block;color:#8b2525;margin-bottom:6px}.tool-runtime-error p{margin:0;color:#655}

/* v14 bilingual task-first UX — calculator/document patterns + explicit locale switch */
.header-actions{display:flex;align-items:center;gap:9px;white-space:nowrap}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:38px;padding:0 12px;border:1px solid #cfc6b4;border-radius:999px;background:#fffdf7;color:#16372e;font-size:13px;font-weight:900;letter-spacing:.02em;text-decoration:none!important;box-shadow:0 5px 16px rgba(24,48,40,.05)}
.lang-switch:hover{border-color:#b78a42;background:#fff7e6}
.task-intro{display:grid;gap:18px;padding:24px 25px;margin:0 0 14px;border:1px solid #ddd7c9;border-radius:22px;background:linear-gradient(135deg,#fffefa 0%,#f6f3e9 100%)}
.task-intro h2{margin:2px 0 9px;font-size:clamp(23px,3vw,31px);letter-spacing:-.025em}
.task-intro p{margin:0;max-width:760px;color:#506159}
.task-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.task-flow span{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid #ded9cf;border-radius:13px;background:#fff;color:#34483f;font-size:13px;font-weight:800}
.task-flow b{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;background:#123b31;color:#fff;font-size:12px}
.task-needs{border-top:1px solid #ded9cd;padding-top:12px}.task-needs summary{cursor:pointer;font-weight:900;color:#6d5429}.task-needs>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.task-needs p{padding:11px 12px;background:#fff;border:1px solid #e4dfd4;border-radius:12px;font-size:13px}
.tool-shell{margin-top:14px;padding:26px 27px;border-radius:22px;border:1px solid #dcd7cc;background:#fff;box-shadow:0 20px 48px rgba(22,43,36,.07)}
.tool-shell:before,.tool-shell[data-tool-kind]:before{display:none!important;content:none!important}
.tool-form{gap:18px}.tool-form label{font-size:14px;line-height:1.45;font-weight:850;color:#213a32}.tool-form input,.tool-form textarea,.tool-form select{min-height:49px;padding:12px 14px;border-radius:12px;border:1px solid #cfcbbf;font-size:16px}.tool-form textarea{min-height:112px}.tool-form input::placeholder,.tool-form textarea::placeholder{color:#8c958f}.tool-form input:focus,.tool-form textarea:focus,.tool-form select:focus{border-color:#a77a32;box-shadow:0 0 0 4px rgba(182,139,67,.13)}
.calc-start-help{padding:14px 16px;border:1px solid #d7e1db;background:#f4f8f5;border-radius:14px}.calc-start-help strong{font-size:15px}.calc-start-help p{font-size:13px;line-height:1.6}
.calc-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:2px}.calc-actions .btn.primary{min-width:170px;background:#123b31;color:#fff}.calc-actions .btn.primary:hover{background:#1d5144}
.calc-result-label{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:900;color:#6b776f;margin-bottom:6px}.calc-result-main{display:block;background:linear-gradient(135deg,#0d3028,#174d40);color:#fff;border-radius:18px;padding:22px 24px;margin:4px 0 13px;font-size:clamp(28px,5vw,42px);font-weight:900;line-height:1.18;letter-spacing:-.03em}.calc-breakdown{margin-top:12px}.calc-breakdown p{display:flex;justify-content:space-between;gap:15px;padding:8px 0;margin:0;border-bottom:1px solid #ece8df}.calc-breakdown p:last-child{border-bottom:0}
.interview-top{position:sticky;top:86px;z-index:5;background:#fff;padding:10px 0 13px}.interview-step{min-height:270px;padding:24px 0 8px;align-content:start}.interview-step h3{font-size:clamp(22px,3vw,29px);max-width:760px}.interview-nav{border-top:1px solid #e8e3d8;padding-top:16px;margin-top:12px}.interview-nav .btn.primary{min-width:150px;background:#123b31;color:#fff}
.review-step{display:grid;gap:14px}.review-step>h3{margin-bottom:0}.review-step>.field-help{font-size:14px}.review-answers{display:grid;gap:9px}.review-answer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 13px;border:1px solid #e0dcd1;background:#fffdfa;border-radius:13px}.review-answer strong{display:block;font-size:12px;color:#6d766f;margin-bottom:2px}.review-answer p{margin:0;color:#24372f}.review-answer .btn{padding:8px 11px;font-size:12px}
.rich-check{padding:15px 16px}.rich-check>span,.rich-check>div{line-height:1.55}.tool-status-row{position:sticky;top:86px;z-index:4;box-shadow:0 6px 14px rgba(20,45,37,.04)}
.editable-row{grid-template-columns:42px repeat(var(--row-cols,2),minmax(0,1fr)) 42px}.editable-row input,.editable-row textarea,.editable-row select{min-width:0}
.report-head{background:#123b31}.report-actions .btn{border:1px solid #d8d4c9;background:#fff;color:#18372e}.report-actions .btn:hover{border-color:#b78a42;background:#fff9ec}.report-actions .btn.primary{background:#123b31;color:#fff;border-color:#123b31}
.lang-en .tool-form,.lang-en .article,.lang-en .page-hero{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.lang-en .eyebrow{text-transform:uppercase}.lang-en .formal-doc{font-family:Georgia,"Times New Roman",serif}

@media(max-width:900px){.site-header nav{gap:14px}.site-header nav a{font-size:13px}.task-needs>div{grid-template-columns:1fr}}
@media(max-width:650px){.site-header .header-actions .header-cta{display:none!important}.header-actions{margin-left:auto}.site-header .header-actions .lang-switch{display:inline-flex!important}.task-intro{padding:18px 16px}.task-flow{grid-template-columns:1fr}.tool-shell{padding:18px 15px}.tool-grid{grid-template-columns:1fr}.calc-actions .btn{width:100%}.interview-top,.tool-status-row{top:77px}.interview-step{min-height:230px}.review-answer{grid-template-columns:1fr}.review-answer .btn{justify-self:start}.report-actions .btn{flex:1 1 calc(50% - 8px)}.formal-doc{overflow-wrap:anywhere}}

/* v16 expert guided flow + verified OpenRouter credential UX */
.expert-wizard{border:1px solid #ded9ce;border-radius:20px;background:linear-gradient(180deg,#fffefa,#fbfaf6);padding:22px;box-shadow:0 14px 38px rgba(20,40,34,.055)}
.expert-wizard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.expert-wizard-top>div{display:grid;gap:5px}.expert-wizard-top strong{font-size:20px;line-height:1.4}.expert-wizard-top>span{font-size:13px;font-weight:900;color:#765a29;background:#f4ead4;border:1px solid #e6d3ac;border-radius:999px;padding:7px 11px;white-space:nowrap}
.expert-progress{height:9px;background:#ebe7dd;border-radius:999px;overflow:hidden;margin:17px 0 24px}.expert-progress i{display:block;height:100%;background:linear-gradient(90deg,#b58b45,#d9b96f);border-radius:inherit;transition:width .2s ease}
.expert-question{display:grid;gap:11px;max-width:720px}.expert-question h3{margin:0;font-size:24px;line-height:1.45}.expert-question .field-help{margin:0;color:#64716b;line-height:1.7}.expert-question input[type="text"],.expert-question input[type="number"],.expert-question input[type="date"],.expert-question textarea{font-size:16px;background:#fff}
.expert-options{display:grid;gap:9px}.expert-options label{display:grid;grid-template-columns:22px 1fr;gap:11px;align-items:center;border:1px solid #dedbd1;border-radius:14px;padding:13px 14px;background:#fff;cursor:pointer;transition:.15s}.expert-options label:hover{border-color:#bfa36d;background:#fffbf1}.expert-options label:has(input:checked){border-color:#7b9c8e;background:#f0f6f2;box-shadow:0 0 0 2px rgba(59,108,89,.07)}.expert-options input{width:18px;height:18px;margin:0;accent-color:#174b3e}.expert-options span{font-weight:700;line-height:1.45}
.expert-nav{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:24px;padding-top:17px;border-top:1px solid #ece8de}.expert-privacy{font-size:12px;color:#758079;line-height:1.65;margin:15px 0 0;padding-left:22px;position:relative}.expert-privacy:before{content:"🔒";position:absolute;left:0;top:0}
.expert-context-strip{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #cbdad2;background:#f0f6f2;border-radius:15px;padding:13px 15px;margin-bottom:16px}.expert-context-strip>div{display:grid;gap:2px}.expert-context-strip span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#668076;font-weight:900}.expert-context-strip strong{font-size:14px}
.expert-report-context dl{display:grid;gap:0;margin:12px 0}.expert-report-context dl>div{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(0,1.25fr);gap:14px;border-bottom:1px solid #ece8de;padding:9px 0}.expert-report-context dt{font-size:12px;font-weight:900;color:#6b746f}.expert-report-context dd{margin:0;font-size:14px;word-break:break-word}.expert-risk-list{margin-top:14px}.expert-risk-list p{padding:10px 12px;border-radius:11px;margin:8px 0;font-size:13px}.expert-risk-list .risk-high{background:#fff0ef;border:1px solid #efc5c0;color:#8b2e28}.expert-risk-list .risk-medium{background:#fff8e8;border:1px solid #ead7aa;color:#765b22}.expert-next-list{margin-top:16px;padding-top:14px;border-top:1px solid #ece8de}.expert-next-list ol{margin:9px 0 0;padding-left:22px}.expert-next-list li{margin:7px 0;line-height:1.65}
.expert-ai-card{margin:0 20px 20px;border:1px solid #c9d8d1;border-radius:17px;background:linear-gradient(145deg,#eff6f2,#fffdf8);padding:18px;display:grid;gap:13px}.expert-ai-card h3{margin:3px 0 6px;font-size:20px}.expert-ai-card p{margin:0;color:#53635d;line-height:1.7}.expert-ai-card>small{color:#6b7772;line-height:1.55}.expert-ai-answer{background:#fff;border:1px solid #d9ded9;border-radius:14px;padding:15px;line-height:1.75}.expert-ai-text{white-space:normal}.expert-ai-refs{display:grid;gap:6px;margin-top:14px;padding-top:12px;border-top:1px solid #e5e4de}.expert-ai-refs a{font-size:13px;word-break:break-word}
.tool-runtime-error{border:1px solid #efc4c0;background:#fff4f3;color:#7f2e29;border-radius:15px;padding:18px}.tool-runtime-error strong{font-size:18px}.tool-runtime-error p{margin:6px 0 0;color:#86514d}
.credential-card{border:1px solid #ddd8cc;border-radius:16px;padding:16px;margin:6px 0 18px;background:#faf9f5}.credential-card.credential-saved{border-color:#b8d0c3;background:#f2f8f4}.credential-card.credential-missing{border-color:#e6d4b4;background:#fffaf0}.credential-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.credential-head>div{display:grid;gap:4px}.credential-head>div>strong{font-size:15px}.credential-head>div>span{font-size:12px;font-weight:800;color:#426457}.credential-missing .credential-head>div>span{color:#836027}.credential-lock{font-size:11px;font-weight:800;color:#63726c;background:#fff;border:1px solid #dadfdc;border-radius:999px;padding:6px 9px;white-space:nowrap}.credential-input{margin-bottom:8px!important}
@media(max-width:720px){.expert-wizard{padding:18px 15px}.expert-wizard-top strong{font-size:18px}.expert-question h3{font-size:21px}.expert-report-context dl>div{grid-template-columns:1fr;gap:4px}.expert-context-strip,.credential-head{align-items:stretch;flex-direction:column}.expert-context-strip .btn{width:100%}.expert-ai-card{margin:0 14px 16px}.expert-nav .btn{min-width:0}.credential-lock{align-self:flex-start}}

/* Batch 2 — Land & Property expert system */
.property-wizard-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding-top:13px;border-top:1px dashed #e2ddd2;color:#718078;font-size:12px;line-height:1.6}.text-btn{border:0;background:transparent;padding:0;color:#765a29;font-weight:850;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.property-review{display:grid;gap:18px}.property-analysis-ready{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #c9d9d0;border-radius:16px;padding:14px 16px;margin-bottom:16px;background:#f2f7f4}.property-analysis-ready>div{display:grid;gap:3px}.property-analysis-ready strong{font-size:16px}.property-result-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;border-radius:17px;padding:17px 18px;margin-bottom:16px;border:1px solid #d9d7ce;background:#faf9f5}.property-result-status>div{display:grid;gap:3px}.property-result-status span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#6a756f}.property-result-status strong{font-size:19px;line-height:1.35}.property-result-status .score{text-align:right}.property-result-status.green{border-color:#b9d1c4;background:#edf6f1}.property-result-status.amber{border-color:#e3c990;background:#fff8e7}.property-result-status.red{border-color:#e9beb8;background:#fff1ef}.property-result-status.red strong{color:#8b3029}.property-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.property-metrics>div{border:1px solid #e0dcd2;border-radius:13px;padding:12px 13px;background:#fff}.property-metrics>div.primary{border-color:#c7d7cf;background:#f1f7f3}.property-metrics span{display:block;color:#6e7872;font-size:11px;font-weight:850;line-height:1.4;margin-bottom:4px}.property-metrics strong{font-size:17px;line-height:1.35;word-break:break-word}.property-section{border:1px solid #e0ddd4;border-radius:15px;padding:16px 17px;margin:14px 0;background:#fffdfa}.property-section>h3{margin:0 0 10px;font-size:18px}.property-section>p{line-height:1.72}.property-section.route{border-color:#c3d4cc;background:linear-gradient(145deg,#eff6f2,#fffdfa)}.property-authority{display:grid;gap:4px;margin-top:12px;padding:11px 12px;border-radius:11px;background:#fff;border:1px solid #d8e0dc}.property-authority strong{font-size:11px;text-transform:uppercase;color:#64736c}.property-authority span{font-weight:800;line-height:1.5}.property-flags{display:grid;gap:9px}.property-flags article{border-radius:12px;padding:12px 13px;border:1px solid #e2ddd2}.property-flags article strong{display:block;font-size:12px;margin-bottom:4px}.property-flags article p{margin:0;line-height:1.65}.property-flags article.high{background:#fff1ef;border-color:#e9c1bc;color:#80322d}.property-flags article.medium{background:#fff8e8;border-color:#e7d29e;color:#72581f}.property-flags article.low{background:#f6f7f5;color:#4e5f57}.property-missing{display:grid;gap:8px;margin:0;padding:0;list-style:none}.property-missing li{display:grid;gap:2px;padding:10px 12px;border:1px dashed #d8d3c7;border-radius:11px;background:#fff}.property-missing li:before{content:'○';font-weight:900;color:#9a7132;margin-right:7px}.property-missing li strong{display:inline}.property-missing li span{font-size:12px;color:#6d7772}.property-section.next ol{margin:0;padding-left:23px}.property-section.next li{padding:5px 0;line-height:1.7}.property-section.next li.urgent{color:#8a3029;font-weight:800}.property-section.sources{display:grid;gap:8px}.property-section.sources>h3{margin-bottom:4px}.property-section.sources>a{display:grid;gap:2px;border:1px solid #dedbd1;border-radius:11px;padding:11px 12px;background:#fff;color:#163d33;text-decoration:none}.property-section.sources>a:hover{border-color:#bca269;background:#fffaf0}.property-section.sources>a span{font-size:12px;color:#69756f;line-height:1.55}.property-section .inherit-table-wrap{margin-top:12px}
@media(max-width:760px){.property-wizard-foot,.property-analysis-ready{align-items:stretch;flex-direction:column}.property-result-status{grid-template-columns:1fr}.property-result-status .score{text-align:left}.property-metrics{grid-template-columns:1fr 1fr}.property-analysis-ready .btn{width:100%}}
@media(max-width:480px){.property-metrics{grid-template-columns:1fr}}

/* v17.1 — Institutional Legal UI overhaul
   Research-informed: GOV.UK question pages, USWDS accessible form patterns,
   and guided legal-document interviews. Flat, trustworthy, task-first. */
:root{
  --bg:#f3f1eb;
  --ink:#17231f;
  --muted:#66736c;
  --card:#fffdf9;
  --line:#d8d4ca;
  --deep:#0d342c;
  --deep-2:#17483c;
  --accent:#b88a3d;
  --accent-soft:#f3e7ce;
  --soft:#eef3ef;
  --warn:#fff7e7;
  --danger:#8d2f2a;
  --focus:#936d2e;
  --shadow:0 14px 34px rgba(23,42,35,.07);
  --shadow-lg:0 24px 64px rgba(20,38,32,.10);
}
body{background:linear-gradient(180deg,#f8f7f3 0,#f2f0ea 55%,#f5f3ee 100%);color:var(--ink);font-size:16px}
body:before{content:"";display:block;position:fixed;z-index:-1;inset:0;background:radial-gradient(circle at 15% 0,rgba(184,138,61,.055),transparent 28%),radial-gradient(circle at 90% 22%,rgba(13,52,44,.045),transparent 24%);pointer-events:none}

/* Header: restrained legal-service identity, not app-dashboard styling */
.site-header{height:76px;background:rgba(255,253,249,.96);border-top:3px solid var(--deep);border-bottom:1px solid #ddd8cd;box-shadow:0 6px 22px rgba(24,40,34,.045);backdrop-filter:blur(12px)}
.brand{font-weight:900;letter-spacing:-.02em}.brand-logo{width:42px;height:42px}.site-header nav{gap:20px}.site-header nav a{font-weight:760;color:#394b44}.site-header nav a:hover{color:var(--deep)}.site-header nav a:after{background:var(--accent);bottom:-11px;height:2px}.header-actions{gap:8px}.lang-switch{height:38px;border-radius:9px;background:#fff;border-color:#d6d0c3;box-shadow:none;color:#29443a}.lang-switch:hover{background:#fbf4e6;border-color:#c3a366}.header-cta{border-radius:9px;background:var(--deep);box-shadow:none;padding:10px 14px}.header-cta:hover{background:var(--deep-2)}

/* Tool-page shell */
.article-head.tool-head{max-width:1220px;padding-top:58px;padding-bottom:22px}.article-head.tool-head:before{top:30px;width:52px;height:3px;background:var(--accent)}
.article-head.tool-head h1{max-width:920px;font-size:clamp(34px,4.6vw,54px);letter-spacing:-.025em;margin:8px 0 12px}.article-head.tool-head>div>p{max-width:850px;line-height:1.75;font-size:17px}.review-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.review-strip span{border:1px solid #ded9cf;background:#fffdf9;border-radius:8px;padding:6px 9px;font-size:11px}.page-actions{margin-top:14px}.page-actions .btn{min-height:39px;border-radius:8px;background:#fff;border:1px solid #d9d4c9;color:#294039;box-shadow:none}.page-actions .btn:hover{background:#f8f4ea;border-color:#c8b182}
.article-grid{max-width:1220px;grid-template-columns:minmax(0,1fr) 292px;gap:34px;padding-top:8px}.article{min-width:0}.sidebar{top:94px;min-width:0}.sidebar .side-card{background:var(--deep);border:1px solid #214d42;border-radius:14px;box-shadow:0 14px 34px rgba(13,52,44,.13);padding:19px}.side-card strong{color:#f1d79f;font-size:16px}.side-card p{color:#d7e2de;font-size:13px;line-height:1.75}.side-link{padding:13px 3px;color:#40554d;border-color:#dcd8cf}.side-link:hover{color:var(--deep)}

/* Tool introduction: concise service start panel */
.task-intro{padding:22px 24px;background:#fffdf9;border:1px solid #dad5cb;border-left:4px solid var(--accent);border-radius:14px;box-shadow:var(--shadow);gap:16px}.task-intro .eyebrow{font-size:11px;color:#755a2c;letter-spacing:.06em}.task-intro h2{font-size:clamp(23px,2.8vw,30px);line-height:1.35;margin:3px 0 7px}.task-intro p{line-height:1.7;color:#53625b}.task-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.task-flow span{border-radius:9px;background:#f8f7f2;border-color:#e0dcd3;padding:10px 11px;font-weight:780;color:#344a41}.task-flow b{background:var(--deep);width:24px;min-width:24px;height:24px}.task-needs{padding-top:10px}.task-needs summary{color:#59482b;font-weight:850}.task-needs>div p{background:#fff;border-radius:9px;border-color:#e0ddd5;padding:11px 12px}

/* Main tool workspace */
.tool-shell,.tool-shell.standalone{margin-top:16px;padding:28px;background:#fffdf9;border:1px solid #d7d2c7;border-radius:16px;box-shadow:var(--shadow-lg);overflow:visible}.tool-shell #toolApp{min-width:0}.tool-form{gap:18px}.tool-form label{font-size:14px;font-weight:800;color:#273b34}.tool-form input,.tool-form textarea,.tool-form select,.expert-question input,.expert-question textarea,.expert-question select{min-height:50px;border:1px solid #c9c5ba;border-radius:9px;background:#fff;padding:12px 14px;color:#17231f;box-shadow:inset 0 1px 2px rgba(18,34,28,.025);transition:border-color .15s,box-shadow .15s,background .15s}.tool-form textarea,.expert-question textarea{min-height:118px;line-height:1.65}.tool-form input:hover,.tool-form textarea:hover,.tool-form select:hover,.expert-question input:hover,.expert-question textarea:hover,.expert-question select:hover{border-color:#a9a397}.tool-form input:focus,.tool-form textarea:focus,.tool-form select:focus,.expert-question input:focus,.expert-question textarea:focus,.expert-question select:focus{outline:3px solid rgba(184,138,61,.18);outline-offset:0;border-color:var(--focus);box-shadow:none}.field-help,.tool-inline-help{color:#65726c;font-size:13px;line-height:1.7}.field-example{background:#fbf5e8;border-left:3px solid #c49a55;border-radius:6px;padding:10px 12px;color:#604f31}.field-optional{background:#efeee8;border-radius:999px;padding:3px 7px;color:#66736c;font-size:10px}

/* Field groups: scan-friendly, not a wall of controls */
.tool-grid{gap:14px}.tool-grid>label,.tool-form>label:not(.switch-row):not(.inventory-check):not(.check-item){display:grid;gap:7px;padding:14px 15px;background:#fbfaf6;border:1px solid #e0dcd3;border-radius:11px}.tool-grid>div{min-width:0}.tool-grid>label:focus-within,.tool-form>label:not(.switch-row):not(.inventory-check):not(.check-item):focus-within{border-color:#c5ab77;background:#fffdf8;box-shadow:0 0 0 3px rgba(184,138,61,.08)}

/* Primary and secondary actions */
.btn{min-height:42px;border-radius:9px;font-weight:850;padding:10px 16px;box-shadow:none;transform:none}.btn:hover{transform:none;box-shadow:none}.btn.primary{background:var(--deep);border-color:var(--deep);color:#fff}.btn.primary:hover{background:var(--deep-2);border-color:var(--deep-2)}.btn.subtle,.btn:not(.primary){background:#fff;border:1px solid #d7d2c7;color:#284039}.btn.subtle:hover,.btn:not(.primary):hover{background:#f7f4ec;border-color:#c5ad7b}.tool-primary-actions,.action-row,.calc-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tool-primary-actions{padding-top:4px}.icon-btn{border-radius:8px;border-color:#d5cfc3;background:#fff;color:#6d4932}.icon-btn:hover{background:#fff2ed;border-color:#d8b7aa;color:#8d2f2a}

/* Guided interview: one focused question, visible progress */
.expert-wizard,.property-wizard,.inheritance-wizard{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.expert-wizard-top{padding:0 0 16px;border-bottom:1px solid #e1ddd4}.expert-wizard-top>div{gap:4px}.expert-wizard-top .eyebrow{color:#775a2d;font-size:11px;letter-spacing:.06em}.expert-wizard-top strong{font-size:19px;color:#20352e}.expert-wizard-top>span{background:#f4ead6;border-color:#e2cda4;color:#675027;border-radius:999px;padding:6px 10px}.expert-progress{height:7px;margin:16px 0 26px;background:#ebe8e0}.expert-progress i{background:var(--accent)}.expert-question{max-width:780px;gap:12px;padding:4px 0 8px}.expert-question h3{font-size:clamp(23px,3vw,30px);line-height:1.42;letter-spacing:-.015em;color:#152a23}.expert-question>.field-help{max-width:680px}.expert-options{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.expert-options label{grid-template-columns:24px 1fr;min-height:58px;border:1px solid #d7d2c8;border-radius:10px;background:#fff;padding:13px 14px}.expert-options label:hover{border-color:#b99c66;background:#fdf9f0}.expert-options label:has(input:checked){border-color:#5d8577;background:#eef6f2;box-shadow:inset 4px 0 0 #2f6655}.expert-options input{width:18px;height:18px;accent-color:var(--deep)}.expert-options span{font-size:14px}.expert-nav{margin-top:25px;padding-top:18px;border-top:1px solid #e1ddd4}.expert-privacy,.property-wizard-foot{background:#f7f6f1;border:1px solid #e4e0d8;border-radius:9px;padding:10px 12px;margin-top:14px;color:#6b7771}.expert-privacy{padding-left:34px}.expert-privacy:before{left:10px;top:9px}.property-wizard-foot{border-top:1px solid #e4e0d8}.text-btn{color:#6c5228}

/* Ordinary draft interview */
.draft-start-hint,.calc-start-help{border:1px solid #d7ddd7;background:#f1f5f2;border-radius:10px;padding:13px 14px}.draft-start-hint b,.calc-start-help strong{color:#173a30}.interview-top{top:86px;background:#fffdf9;padding:10px 0 12px}.interview-step{min-height:250px;padding:23px 0 8px}.step-kicker{color:#74592c;font-size:11px;letter-spacing:.06em}.field-question{font-size:clamp(21px,2.6vw,27px);line-height:1.45;color:#182e27}.interview-nav{padding-top:17px;border-top:1px solid #e1ddd4}

/* Checklists */
.tool-status-row{position:static;background:#f3f6f3;border-color:#d9dfda;border-radius:10px;padding:13px 14px}.tool-status-row>div:first-child{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap}.tool-status-row #progressText{color:#6d7973;font-size:12px}.progress{height:7px}.progress>span{background:var(--deep)}.check-list,.rich-check-list{gap:10px}.check-item.rich-check,.rich-check{grid-template-columns:1fr;padding:0;border:1px solid #dcd8cf;border-radius:11px;background:#fff;overflow:hidden}.rich-check>label,.check-item.rich-check>label{display:grid;grid-template-columns:24px 1fr;gap:11px;align-items:start;padding:14px 15px;margin:0;cursor:pointer}.rich-check input[type="checkbox"]{width:19px;height:19px;margin:2px 0 0}.rich-check:has(input[type="checkbox"]:checked){background:#f1f7f3;border-color:#a9c3b8}.rich-check .check-note{grid-column:1;margin:0 14px 14px;width:calc(100% - 28px);background:#fbfaf6}.check-item span small{display:block;color:#718079;font-weight:500;margin-top:2px}

/* Table / row builders */
.table-builder-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding-bottom:14px;border-bottom:1px solid #e3dfd7}.table-builder-head p{margin:4px 0 0;color:#65736c}.editable-rows{gap:12px}.editable-row{position:relative;grid-template-columns:34px repeat(var(--row-cols,2),minmax(150px,1fr)) 40px;gap:12px;padding:15px;background:#fbfaf6;border:1px solid #ddd9cf;border-radius:11px;align-items:end}.editable-row:focus-within{border-color:#c3a56c;background:#fffdf9}.editable-row label{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.row-number{width:28px;height:28px;display:grid;place-items:center;background:var(--deep);color:#fff;border-radius:50%;font-size:12px}.editable-row .icon-btn{align-self:end}

/* Inheritance inventory — convert the raw stacked inputs into structured cards */
.inventory-rows{display:grid;gap:14px}.inventory-row{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;padding:20px 54px 18px 18px;background:#fbfaf6;border:1px solid #dcd7cd;border-radius:13px;box-shadow:0 5px 14px rgba(25,43,36,.035)}.inventory-row:before{content:"সম্পদ / দেনা";grid-column:1/-1;font-size:11px;font-weight:900;letter-spacing:.05em;color:#795d2d;text-transform:uppercase;border-bottom:1px solid #e3dfd7;padding-bottom:9px;margin-bottom:1px}.lang-en .inventory-row:before{content:"Asset / liability"}.inventory-row>label{display:grid!important;gap:6px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0}.inventory-row>label:nth-of-type(1){grid-column:span 3}.inventory-row>label:nth-of-type(2){grid-column:span 9}.inventory-row>label:nth-of-type(3){grid-column:span 4}.inventory-row>label:nth-of-type(4){grid-column:span 4}.inventory-row>label:nth-of-type(5){grid-column:span 4}.inventory-row>.inventory-check{grid-column:1/-1;display:flex!important;align-items:center;gap:10px;padding:11px 12px!important;background:#fff7e8!important;border:1px solid #ead7b4!important;border-radius:9px!important;color:#654e27}.inventory-check input[type="checkbox"]{width:19px;height:19px;margin:0;accent-color:var(--deep);flex:0 0 auto}.inventory-row>.icon-btn{position:absolute;right:14px;top:14px}.inventory-row input,.inventory-row select{background:#fff}.inherit-summary-grid{gap:10px}.inherit-summary-grid>div{border-radius:10px;background:#fff;border-color:#ddd9d0}.inherit-table-wrap{overflow:auto;border:1px solid #ddd9d0;border-radius:10px;background:#fff}.inherit-share-table{min-width:700px}.inherit-share-table th{background:#f4f1e8;color:#31473e}.inherit-share-table th,.inherit-share-table td{padding:11px 12px;border-color:#e2ded5}.inherit-share-table small{display:block;color:#6e7973;margin-top:2px}

/* Calculator presentation */
.calc-tool .tool-grid{align-items:stretch}.calc-result-label{color:#6a776f}.calc-result-main{background:var(--deep);border-radius:12px;padding:21px 22px;box-shadow:none}.calc-result-main strong{color:#f0d7a3}.quick-fractions{display:flex;gap:7px;flex-wrap:wrap}.quick-fractions button{border:1px solid #d6d1c6;background:#fff;border-radius:8px;padding:9px 11px;font-weight:800;cursor:pointer}.quick-fractions button:hover{border-color:#b99559;background:#fbf5e8}.fraction-entry{margin-top:10px}

/* Expert result / report */
.tool-result{margin-top:20px;border:1px solid #d8d4ca;border-radius:14px;background:#f7f6f1;box-shadow:0 18px 42px rgba(22,40,34,.07)}.report-head{padding:17px 19px;background:var(--deep);border-radius:13px 13px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center}.report-head>span{grid-column:1/-1;color:#d4e2dc;font-size:11px;text-transform:uppercase;letter-spacing:.07em}.report-head h3{font-size:20px;line-height:1.35}.report-head small{justify-self:end}.report-body{padding:20px}.report-card,.property-section{border:1px solid #dfdbd2;border-radius:10px;background:#fff;padding:15px 16px}.report-summary>div,.property-metrics>div{border-radius:9px}.property-result-status{border-radius:10px}.property-section.route{background:#f1f6f3}.property-flags article{border-radius:9px}.property-section.sources>a{border-radius:8px}.expert-ai-card{margin:0 18px 18px;border-radius:11px;background:#eef5f1;border-color:#cbd9d2}.report-actions{padding:13px 18px;background:#fffdf9;gap:8px}.report-actions .btn{flex:0 1 auto}

/* Formal documents should feel like documents, not cards */
.formal-doc,.civil-draft{border-radius:6px;border:1px solid #cbc8bf;background:#fff;padding:34px 38px;box-shadow:0 8px 24px rgba(24,38,33,.06);line-height:1.85}.formal-doc .doc-court,.civil-draft-head{color:#132d25}.formal-doc .doc-title{font-size:21px}.formal-doc .doc-prayer{border-top-color:#cfcac0}

/* Safety / source / supplemental blocks */
.tool-safety,.tool-limit,.source-list,.editor-card{border-radius:11px}.tool-safety,.tool-limit{background:#faf7ef;border-color:#e3dac7}.tool-limit summary{padding:14px 15px}.source-list{background:#f9f8f4;border-color:#dfdbd2}.source-list a{padding:6px 0}.editor-card{background:#f4f2eb}

/* Quiz, dictionary, research & student tools */
.practice-prompt{border-left-color:var(--accent);background:#f7f2e7;border-radius:0 9px 9px 0}.quiz-options button,.dict-item{border-radius:9px}.quiz-options button:hover{background:#faf4e7;border-color:#ba9b63}.dictionary-tool>label,.law-index-tool>label,.practice-tool>label{max-width:none}

/* Responsive: never squeeze a legal form beside a tiny sidebar */
@media(max-width:1120px){.article-grid{grid-template-columns:1fr;max-width:940px}.sidebar{position:static;display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,auto));gap:8px;align-items:start}.sidebar .side-card{grid-column:1/-1}.side-link{border:1px solid #ddd8ce;border-radius:8px;background:#fff;padding:10px 11px}}
@media(max-width:820px){.inventory-row{grid-template-columns:repeat(2,minmax(0,1fr));padding-right:50px}.inventory-row:before{grid-column:1/-1}.inventory-row>label:nth-of-type(n){grid-column:span 1}.inventory-row>label:nth-of-type(2),.inventory-row>label:nth-of-type(5),.inventory-row>.inventory-check{grid-column:1/-1}.expert-options{grid-template-columns:1fr}.editable-row{grid-template-columns:30px 1fr 40px}.editable-row label{grid-column:2}.editable-row .icon-btn{grid-column:3;grid-row:1}}
@media(max-width:650px){body{font-size:15px}.article-head.tool-head{padding-top:50px}.article-head.tool-head h1{font-size:34px}.article-grid{padding-left:12px;padding-right:12px}.task-intro{padding:17px 15px;border-left-width:3px}.task-flow{grid-template-columns:1fr}.tool-shell,.tool-shell.standalone{padding:18px 14px;border-radius:13px}.tool-grid{grid-template-columns:1fr}.tool-grid>label,.tool-form>label:not(.switch-row):not(.inventory-check):not(.check-item){padding:12px}.expert-wizard-top{align-items:flex-start}.expert-wizard-top>span{font-size:11px}.expert-question h3{font-size:22px}.expert-nav{gap:8px;flex-wrap:wrap}.expert-nav .btn{flex:1 1 130px}.inventory-row{grid-template-columns:1fr;padding:17px 46px 15px 13px}.inventory-row>label:nth-of-type(n),.inventory-row>.inventory-check{grid-column:1}.formal-doc,.civil-draft{padding:22px 15px}.report-head{grid-template-columns:1fr}.report-head small{justify-self:start}.report-actions .btn{flex:1 1 calc(50% - 8px)}.sidebar{grid-template-columns:1fr}.side-link{display:block}.table-builder-head{grid-template-columns:1fr}.table-builder-head .btn{justify-self:start}.editable-row{grid-template-columns:1fr;padding:12px}.editable-row .row-number{display:none}.editable-row label,.editable-row .icon-btn{grid-column:1}.editable-row .icon-btn{justify-self:end;grid-row:auto}.site-header{height:68px;border-top-width:2px}}

/* ========================================================================
   AinDisha v17.3 — Legal Spectrum UI + interaction/layout regression fixes
   ======================================================================== */
:root{
  --legal-emerald:#073b3a;--legal-emerald-2:#0b514b;--legal-navy:#132c46;
  --legal-burgundy:#6e2635;--legal-gold:#d5ad58;--legal-gold-soft:#f4e4bd;
  --legal-ivory:#f7f4ec;--legal-mist:#edf3f1;--legal-ink:#102a2a;
  --deep:#073b3a;--deep-2:#0b514b;--accent:#d5ad58;--bg:#f3f1e9;--ink:#102a2a;
  --line:#d9d7cf;--soft:#edf3f1;--focus:#b98d3f;
  --shadow:0 16px 44px rgba(12,42,42,.09);--shadow-lg:0 24px 64px rgba(10,38,38,.13)
}
body:not(.admin-body){font-family:"Noto Sans Bengali","Noto Sans",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background-color:#f3f1e9;background-image:linear-gradient(rgba(248,246,239,.92),rgba(243,241,233,.94)),url('/assets/legal-pattern.svg');background-attachment:fixed;background-size:auto,640px 360px;color:var(--legal-ink)}
.lang-en{font-family:Inter,"Noto Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}

/* Prevent text-input rules from ever stretching native choice controls. */
input[type="checkbox"],input[type="radio"]{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;max-width:19px!important;max-height:19px!important;padding:0!important;margin:0;flex:0 0 19px;box-shadow:none!important;accent-color:#0d6b60}
input[type="checkbox"]:focus-visible,input[type="radio"]:focus-visible{outline:3px solid rgba(213,173,88,.35);outline-offset:3px}

/* Navigation: richer institutional legal identity. */
.site-header{height:76px;background:linear-gradient(100deg,rgba(6,48,47,.98),rgba(15,45,66,.98) 60%,rgba(76,29,43,.97));border-bottom:1px solid rgba(213,173,88,.42);box-shadow:0 8px 26px rgba(7,35,39,.16)}
.site-header .brand,.site-header nav a{color:#f7f4ec}.site-header nav a{opacity:.9}.site-header nav a:hover{color:#f3d58f;opacity:1}.site-header .brand-mark{background:#f5e4b8;color:#183e3b}.site-header .header-cta{background:linear-gradient(135deg,#e0bd6b,#c9953f);color:#153331;border:1px solid #efd89e;box-shadow:0 8px 20px rgba(4,31,31,.16)}
.site-header .lang-switch,.site-header .language-switch{color:#fff;border-color:rgba(245,228,184,.45);background:rgba(255,255,255,.08)}

/* Public hero surfaces: legal motif + controlled spectrum rather than blank white. */
.hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#052f2f 0%,#0b5049 42%,#142f49 73%,#632535 100%);border-bottom:4px solid #d5ad58}
.hero:before,.page-hero:after,.article-head.tool-head:after{content:"";position:absolute;inset:0;background-image:url('/assets/legal-pattern.svg');background-size:640px 360px;background-position:right center;opacity:.75;pointer-events:none}
.hero>*{position:relative;z-index:1}.hero h1 span{color:#f1d28b}.hero .btn.primary{background:linear-gradient(135deg,#e2bf70,#cf9e45);color:#153433}

.page-hero{max-width:1180px;margin:24px auto 10px;padding:58px 42px 46px;border-radius:26px;overflow:hidden;color:#fff;background:linear-gradient(122deg,#073b3a 0%,#0d5750 42%,#17324c 73%,#712c3e 100%);box-shadow:0 22px 55px rgba(8,42,43,.16);border:1px solid rgba(213,173,88,.32)}
.page-hero>*{position:relative;z-index:1}.page-hero:before{top:28px;left:42px;background:linear-gradient(90deg,#f0cf85,#d8a743)}.page-hero h1,.page-hero h2{color:#fff}.page-hero p{color:#dae7e3}.page-hero .eyebrow{color:#f4d994}

.article-head.tool-head{position:relative;max-width:1220px;margin:24px auto 12px;padding:52px 42px 36px;border-radius:25px;overflow:hidden;background:linear-gradient(122deg,#073b3a 0%,#0b4d49 44%,#172f49 74%,#692738 100%);color:#fff;border:1px solid rgba(213,173,88,.34);box-shadow:0 20px 52px rgba(8,42,43,.14)}
.article-head.tool-head>*{position:relative;z-index:1}.article-head.tool-head:before{top:27px;left:42px;background:linear-gradient(90deg,#f2d38d,#d6a64a)}.article-head.tool-head h1{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.08)}.article-head.tool-head>div>p,.article-head.tool-head .meta,.article-head.tool-head .breadcrumb{color:#d6e3df}.article-head.tool-head .review-strip span{background:rgba(255,255,255,.1);border-color:rgba(244,220,164,.28);color:#f8f3e7}.article-head.tool-head .page-actions .btn{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.22)}

/* Section/card spectrum keeps legal tone but removes the all-white feeling. */
.section.alt{background:linear-gradient(135deg,#eaf1ee,#f6f0e4 55%,#f1e8e9)}
.cards>.card:nth-child(4n+1),.portal-grid>*:nth-child(4n+1){border-top:4px solid #15756b;background:linear-gradient(180deg,#eef8f4,#fff 36%)}
.cards>.card:nth-child(4n+2),.portal-grid>*:nth-child(4n+2){border-top:4px solid #244d72;background:linear-gradient(180deg,#eef3f8,#fff 36%)}
.cards>.card:nth-child(4n+3),.portal-grid>*:nth-child(4n+3){border-top:4px solid #8c4050;background:linear-gradient(180deg,#f8eff1,#fff 36%)}
.cards>.card:nth-child(4n),.portal-grid>*:nth-child(4n){border-top:4px solid #c8943e;background:linear-gradient(180deg,#fbf4e4,#fff 36%)}
.card:hover{border-color:#bfa15e;box-shadow:0 22px 56px rgba(11,51,52,.12)}

/* Article and tool workspace. */
.article-grid{max-width:1220px;gap:32px}.article{min-width:0}.article p,.article li,.article.single p{line-height:1.82}.sidebar .side-card{background:linear-gradient(145deg,#083b38,#132f48 68%,#5f2737);border-color:rgba(213,173,88,.34)}
.tool-shell,.tool-shell.standalone{position:relative;margin-top:18px;padding:30px;background:linear-gradient(180deg,rgba(255,254,250,.98),rgba(247,247,242,.98));border:1px solid #d4d2c8;border-top:5px solid #d5ad58;border-radius:22px;box-shadow:var(--shadow-lg);overflow:visible}
.tool-shell:after{content:"";position:absolute;right:0;top:0;width:220px;height:130px;background:url('/assets/legal-pattern.svg') right top/310px auto no-repeat;opacity:.12;pointer-events:none}
.tool-shell>*{position:relative;z-index:1}
.tool-shell:before{color:#775827;font-size:12px;letter-spacing:.07em;text-transform:none}
.tool-form{gap:18px}.tool-grid{gap:14px}.tool-grid>label,.tool-form>label:not(.switch-row):not(.inventory-check):not(.check-item){display:grid;gap:8px;min-width:0;padding:15px 16px;background:linear-gradient(180deg,#fff,#faf9f4);border:1px solid #dedbd2;border-radius:13px;color:#1c3935}
.tool-grid>label:focus-within,.tool-form>label:not(.switch-row):not(.inventory-check):not(.check-item):focus-within{border-color:#b9944f;background:#fffdf7;box-shadow:0 0 0 3px rgba(213,173,88,.12)}
.tool-form input,.tool-form textarea,.tool-form select,.expert-question input,.expert-question textarea,.expert-question select{min-width:0;width:100%;min-height:50px;border:1px solid #c9c7bd;border-radius:10px;background:#fff;padding:12px 14px;color:#132e2c;line-height:1.55}
.tool-form input:focus,.tool-form textarea:focus,.tool-form select:focus,.expert-question input:focus,.expert-question textarea:focus,.expert-question select:focus{outline:3px solid rgba(213,173,88,.2);outline-offset:0;border-color:#ae8340;box-shadow:none}
select{max-width:100%}.field-question{line-height:1.55}.field-help,.tool-inline-help{line-height:1.7}.field-example{line-height:1.65}

/* Shared expert/property/domain interview — fixes option handling visuals and spacing. */
.expert-wizard,.property-wizard,.inheritance-wizard{min-width:0}.expert-wizard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:0 0 17px;border-bottom:1px solid #ddd9cf}.expert-wizard-top>div{display:grid;gap:4px;min-width:0}.expert-wizard-top .eyebrow{color:#7a5925}.expert-wizard-top strong{font-size:19px;line-height:1.5;color:#173b37}.expert-wizard-top>span{flex:0 0 auto;background:#f4e5c2;border:1px solid #e2c98e;color:#61481f;border-radius:999px;padding:6px 11px;font-weight:800}
.expert-progress,.inherit-progress{height:8px;margin:17px 0 25px;background:#e8e5dc;border-radius:99px;overflow:hidden}.expert-progress i,.inherit-progress i,.inherit-progress span{display:block;height:100%;background:linear-gradient(90deg,#0c766a,#244e72 62%,#b57d38);border-radius:inherit}
.expert-question{display:grid;gap:13px;max-width:none;padding:3px 0 8px}.expert-question h3{max-width:900px;margin:0;font-size:clamp(23px,3vw,31px);line-height:1.48;color:#132f2d;overflow-wrap:anywhere}.expert-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:11px}.expert-options label{display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:center;min-height:62px;padding:14px 15px;border:1px solid #cad5d1;border-radius:13px;background:#fff;cursor:pointer;transition:.16s}.expert-options label:hover{border-color:#bd9b58;background:#fffaf1}.expert-options label:has(input:checked){border-color:#147369;background:linear-gradient(135deg,#e7f5f0,#eef3f8);box-shadow:inset 5px 0 0 #0d6b60,0 8px 22px rgba(16,86,78,.08)}.expert-options span{min-width:0;overflow-wrap:anywhere;line-height:1.5;font-weight:750}.expert-nav{display:flex;justify-content:space-between;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid #ddd9cf}.property-wizard-foot,.expert-privacy{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px;padding:11px 13px;border:1px solid #dfe3dd;border-radius:10px;background:#f4f6f2;color:#63716b;font-size:12px;line-height:1.6}
.question-error{margin-top:14px;padding:11px 13px;border:1px solid #d49a9a;border-left:5px solid #9a3741;border-radius:10px;background:#fff1f2;color:#752b34;font-weight:800;line-height:1.55;box-shadow:0 8px 20px rgba(111,38,51,.06)}

/* Inheritance shared classes were previously unstyled: make every step/result structured. */
.inherit-law-note,.inherit-note{display:grid;gap:5px;margin:10px 0 18px;padding:13px 15px;border:1px solid #e0c887;border-left:5px solid #c3943e;border-radius:11px;background:linear-gradient(135deg,#fff8e7,#f8f4e8);color:#554624;line-height:1.65}
.inherit-step{display:grid;gap:18px;min-width:0}.inherit-step>h2,.inherit-step>h3{margin:0;color:#143632;line-height:1.45}.inherit-step>p{margin:0;line-height:1.75}
.choice-grid,.yesno-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.choice-card{display:grid;grid-template-columns:24px minmax(0,1fr);gap:11px;align-items:center;min-height:66px;padding:14px 15px;border:1px solid #cfd8d4;border-radius:13px;background:#fff;cursor:pointer;line-height:1.5}.choice-card:has(input:checked){border-color:#176e65;background:linear-gradient(135deg,#e7f5ef,#eff4f8);box-shadow:inset 5px 0 0 #0d6b60}.choice-card strong,.choice-card span{min-width:0;overflow-wrap:anywhere}.check-inline{display:flex!important;align-items:flex-start!important;gap:11px!important;width:auto!important;min-width:0;padding:12px 13px!important;border:1px solid #dedbd2!important;border-radius:11px!important;background:#fff!important;line-height:1.55}.check-inline:has(input:checked){background:#edf7f2!important;border-color:#92b9ad!important}.check-inline input{margin-top:2px!important}
.inherit-review-callout{display:grid;gap:7px;margin:16px 0;padding:16px 17px;border-radius:13px;border:1px solid #c8d9d3;border-left:5px solid #126c62;background:linear-gradient(135deg,#eef8f4,#f4f7fa);line-height:1.65}.inherit-review-callout strong{color:#13483f}.inherit-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:11px}.inherit-summary-grid>div{min-width:0;padding:14px;border:1px solid #d9d7ce;border-radius:12px;background:#fff}.inherit-summary-grid strong,.inherit-summary-grid span{display:block;overflow-wrap:anywhere}.inherit-section{display:grid;gap:13px;margin:18px 0;padding:18px;border:1px solid #dedbd2;border-radius:14px;background:#fff;min-width:0}.inherit-section>h2,.inherit-section>h3,.section-inline-title{margin:0;color:#133b37;line-height:1.45}.section-inline-title{font-size:18px;font-weight:900}.calc-lines{display:grid;gap:8px}.calc-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:10px 0;border-bottom:1px dashed #dfdcd3;line-height:1.55}.calc-lines>div:last-child{border-bottom:0}.calc-lines .total,.calc-lines>div.total{font-weight:900;color:#123e39;border-top:2px solid #cfb16d;border-bottom:0;padding-top:13px}.blocked-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.blocked-grid>*{min-width:0;padding:12px 13px;border:1px solid #e2c1c5;border-radius:11px;background:#fff4f5;line-height:1.55;overflow-wrap:anywhere}.warning-section{border-color:#e6c2a1;background:#fff9ef}.risk-chip{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:6px 9px;border-radius:999px;background:#fff0e7;border:1px solid #e7c3a9;color:#7a4929;font-size:12px;font-weight:800}.risk-chip.supported,.supported{background:#eaf6f1;border-color:#b5d6ca;color:#176353}.ok{color:#176353}.action-route{display:grid;gap:10px;padding:14px;border:1px solid #c9dad4;border-radius:12px;background:#f0f7f4}.route-authority{display:grid;gap:5px;padding:12px 13px;border-left:4px solid #244d72;background:#f1f5f9;border-radius:8px;line-height:1.6}.document-next-list,.official-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;padding:0;list-style:none}.document-next-list>*{padding:12px 13px;border:1px solid #ddd9d0;border-radius:10px;background:#faf9f5;line-height:1.6}.official-link-grid a,.official-verify{display:grid;gap:4px;padding:13px 14px;border:1px solid #cbd8d4;border-radius:11px;background:#f0f7f4;text-decoration:none!important;color:#153f3a}.official-link-grid a:hover{border-color:#b18c47;background:#fff8e9}.ai-explain,.ai-tool-answer{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid #c9d8df;border-radius:12px;background:#eff5f8;line-height:1.7}.inheritance-doc-tool,.inheritance-inventory,.human-tool,.navigator-tool,.quiz-tool,.interview-form{min-width:0}

/* Result/report reset: rich HTML must not inherit pre-wrap or collapse lines. */
.tool-result{white-space:normal;overflow-wrap:anywhere}.tool-result h2,.tool-result h3,.tool-result h4{line-height:1.45}.tool-result p,.tool-result li{line-height:1.75}.tool-result ul,.tool-result ol{padding-left:22px}.report-body{display:grid;gap:14px}.report-card,.property-section{min-width:0}.property-section{padding:16px;border:1px solid #ddd9d0;border-radius:12px;background:#fff}.property-section h3{margin:0 0 9px;line-height:1.45}.property-section li{margin:6px 0}.property-section.sources{background:#f2f7f5}.property-section.sources>a{display:grid;gap:4px;margin:8px 0;padding:12px;border:1px solid #d1ddd8;border-radius:9px;background:#fff}.review-answers{display:grid;gap:10px}.review-answer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid #dedbd2;border-radius:11px;background:#fff}.review-answer p{margin:4px 0 0;line-height:1.55}.property-analysis-ready{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 16px;border:1px solid #b9d3ca;border-radius:12px;background:linear-gradient(135deg,#eaf6f1,#f3f6fa)}

.quiz-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;color:#61706a;font-size:13px}.quiz-progress .progress{flex:1}.review{min-width:0}.total{font-weight:900}.score{font-weight:900;color:#0d665d}.pending{color:#7b5a26}

/* Keyboard clarity and tappable actions. */
a:focus-visible,button:focus-visible,summary:focus-visible,.choice-card:focus-within,.expert-options label:focus-within{outline:3px solid rgba(213,173,88,.42);outline-offset:3px}.btn{min-height:44px}.btn.primary{background:linear-gradient(135deg,#0a5a52,#073b3a);border:1px solid #073b3a;color:#fff}.btn.primary:hover{background:linear-gradient(135deg,#126a60,#0a4844)}

footer{background:linear-gradient(120deg,#052f2f,#102f46 70%,#572536);border-top:4px solid #d5ad58}footer:before{content:"";display:block;height:1px;background:linear-gradient(90deg,transparent,#f1d28b,transparent);opacity:.55}

@media(max-width:900px){.page-hero,.article-head.tool-head{margin-left:14px;margin-right:14px;padding-left:28px;padding-right:28px}.article-head.tool-head:before,.page-hero:before{left:28px}.expert-options,.choice-grid,.yesno-row{grid-template-columns:1fr 1fr}.calc-lines>div{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:650px){body:not(.admin-body){background-attachment:scroll;background-size:auto,520px 292px}.site-header{height:68px}.page-hero,.article-head.tool-head{margin:12px 10px 8px;padding:48px 18px 28px;border-radius:18px}.page-hero:before,.article-head.tool-head:before{left:18px;top:23px}.article-head.tool-head h1,.page-hero h1{font-size:clamp(32px,10vw,42px);line-height:1.18}.tool-shell,.tool-shell.standalone{padding:20px 14px;border-radius:16px}.tool-shell:after{width:145px;height:100px;opacity:.08}.tool-grid{grid-template-columns:1fr}.expert-wizard-top{display:grid;grid-template-columns:minmax(0,1fr) auto}.expert-wizard-top strong{font-size:17px}.expert-question h3{font-size:22px}.expert-options,.choice-grid,.yesno-row,.document-next-list,.official-link-grid{grid-template-columns:1fr}.expert-nav{flex-wrap:wrap}.expert-nav .btn{flex:1 1 130px}.property-wizard-foot,.expert-privacy{align-items:flex-start}.inherit-section{padding:14px}.inherit-summary-grid,.blocked-grid{grid-template-columns:1fr}.calc-lines>div{grid-template-columns:1fr;gap:3px}.review-answer{grid-template-columns:1fr}.review-answer .btn{justify-self:start}.property-analysis-ready{align-items:flex-start;flex-direction:column}.formal-doc,.civil-draft{padding:22px 15px}.report-actions .btn{flex:1 1 145px}}
