:root{--brand:#0b7c65;--brand-2:#0f9c7d;--ink:#102a2b;--muted:#61706f;--line:#dfe9e7;--soft:#f4faf8;--card:#fff;--warm:#fff0e8;--blue:#e9f4ff;--green:#e9f8f1;--header:rgba(255,255,255,.92);--shadow:0 10px 30px rgba(18,65,57,.08)}[data-bs-theme=dark]{--brand:#4ed6b5;--brand-2:#24b994;--ink:#eef9f6;--muted:#a9beb9;--line:#29433e;--soft:#10221f;--card:#152b27;--warm:#34251f;--blue:#152a38;--green:#153126;--header:rgba(12,28,25,.92);--shadow:0 10px 30px rgba(0,0,0,.28)}html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bs-body-bg)}a{color:var(--brand);text-decoration:none}.skip-link{position:absolute;left:-9999px;top:8px;background:var(--brand);color:#fff;padding:.75rem 1rem;z-index:9999}.skip-link:focus{left:8px}.site-header{background:var(--header);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{font-weight:800;letter-spacing:.02em;color:var(--ink)!important;display:inline-flex;align-items:center;gap:.55rem}.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--brand);color:#fff}.nav-link{font-weight:650;color:var(--ink);border-radius:10px;padding:.65rem .8rem!important}.nav-link:hover{background:var(--soft);color:var(--brand)}.theme-toggle{width:40px;height:40px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:12px}.hero-home{background:linear-gradient(120deg,#d9f7ee 0%,#8bdcc4 45%,#c9f3e8 100%);overflow:hidden;border-bottom:1px solid rgba(11,124,101,.12)}[data-bs-theme=dark] .hero-home{background:linear-gradient(120deg,#0d342c,#115644,#173e35)}.hero-home h1{font-size:clamp(2.6rem,8vw,5.6rem);line-height:.92;font-weight:850;letter-spacing:-.055em}.hero-copy{max-width:760px;color:color-mix(in srgb,var(--ink) 84%,transparent)}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:var(--brand);margin-bottom:.7rem}.site-search{position:relative;display:flex;gap:.55rem;max-width:780px}.site-search .form-control{border:1px solid rgba(255,255,255,.8);box-shadow:0 10px 30px rgba(9,75,60,.12);min-height:58px}.btn-primary{--bs-btn-bg:#087b62;--bs-btn-border-color:#087b62;--bs-btn-hover-bg:#066b55;--bs-btn-hover-border-color:#066b55;font-weight:750}.search-chips{display:flex;flex-wrap:wrap;gap:.5rem}.search-chips a{background:rgba(255,255,255,.82);color:#135a4c;border:1px solid rgba(11,124,101,.12);padding:.42rem .7rem;border-radius:999px;font-size:.84rem;font-weight:700}.search-results{position:absolute;left:0;right:96px;top:65px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);z-index:5;max-height:340px;overflow:auto}.search-results a{display:block;padding:.8rem 1rem;border-bottom:1px solid var(--line);color:var(--ink)}.search-results a:last-child{border-bottom:0}.hero-house{height:300px;position:relative;margin-left:auto;max-width:420px}.house-body{position:absolute;right:40px;bottom:20px;width:240px;height:190px;background:#f8fffdf0;border:3px solid #0b795f;border-radius:6px}.house-roof{position:absolute;right:15px;bottom:207px;width:0;height:0;border-left:145px solid transparent;border-right:145px solid transparent;border-bottom:90px solid #087b62}.window,.door{position:absolute;border:3px solid #087b62;background:#b9eee1}.w1{width:42px;height:42px;left:35px;top:48px}.w2{width:42px;height:42px;right:35px;top:48px}.door{width:48px;height:78px;left:94px;bottom:0}.tree{position:absolute;bottom:20px;width:60px;height:130px;border-radius:50%;background:#0b8f6d}.tree:after{content:"";position:absolute;left:27px;bottom:-20px;width:6px;height:45px;background:#31594e}.t1{right:0}.t2{left:10px;transform:scale(.7);transform-origin:bottom}.quick-strip{background:var(--card);border-bottom:1px solid var(--line)}.quick-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.45rem;border:1px solid var(--line);padding:1rem .35rem;border-radius:14px;color:var(--ink);height:100%;transition:.18s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--brand) 30%,var(--line))}.quick-card span{font-size:1.5rem;color:var(--brand)}.quick-card b{font-size:.8rem}.section-head{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1.2rem}.section-head h2{font-size:clamp(1.55rem,4vw,2.1rem);margin:0;font-weight:800}.tool-card{display:block;height:100%;padding:1.4rem;border-radius:18px;color:var(--ink);border:1px solid var(--line);transition:.18s}.tool-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.tool-card h3{font-size:1.2rem;font-weight:800;margin-top:1rem}.tool-icon{font-size:2rem}.tool-green{background:var(--green)}.tool-blue{background:var(--blue)}.tool-warm{background:var(--warm)}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.topic-grid a{display:flex;gap:.65rem;align-items:center;border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;color:var(--ink);background:var(--card);font-weight:700}.topic-grid a:hover{border-color:var(--brand);color:var(--brand)}.editorial-panel,.question-panel{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-radius:20px;padding:1.5rem;background:linear-gradient(120deg,var(--soft),var(--green));border:1px solid var(--line)}.question-panel{background:linear-gradient(120deg,var(--green),var(--blue))}.info-card{padding:1.4rem;border:1px solid var(--line);border-radius:18px;background:var(--card)}.info-card h2{font-size:1.25rem;font-weight:800}.page-hero{background:linear-gradient(120deg,var(--soft),var(--green));border-block:1px solid var(--line)}.page-hero h1{font-size:clamp(2.2rem,7vw,4rem);letter-spacing:-.045em;font-weight:850}.meta-line{display:flex;flex-wrap:wrap;gap:.6rem;color:var(--muted);font-size:.88rem}.trust-box{border:1px solid color-mix(in srgb,var(--brand) 24%,var(--line));background:var(--card);border-radius:16px;padding:1.2rem;box-shadow:var(--shadow)}.trust-box b{display:block;color:var(--brand);margin-bottom:.4rem}.article-body{font-size:1.05rem;line-height:1.76}.article-section{padding-bottom:1.6rem;margin-bottom:1.6rem;border-bottom:1px solid var(--line)}.article-section h2{font-weight:820;font-size:1.55rem;letter-spacing:-.02em}.article-section p{margin-bottom:0}.sidebar-card{top:90px;border:1px solid var(--line);background:var(--card);border-radius:18px;padding:1.2rem}.sidebar-card h2{font-size:1rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.sidebar-card a{display:flex;gap:.6rem;padding:.65rem 0;border-bottom:1px solid var(--line);color:var(--ink);font-weight:650}.sidebar-card a:hover{color:var(--brand)}.legal-note,.info-callout{background:var(--soft);border-left:4px solid var(--brand);padding:1rem 1.15rem;border-radius:10px}.source-list{display:grid;gap:.7rem}.source-list a{display:grid;grid-template-columns:24px 1fr;gap:.15rem .55rem;border:1px solid var(--line);border-radius:12px;padding:.9rem;color:var(--ink)}.source-list small{grid-column:2;color:var(--muted);overflow-wrap:anywhere}.template-box{white-space:pre-wrap;background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:1rem;font:inherit;line-height:1.6}.resource-grid{display:grid;gap:.8rem}.resource-card{display:flex;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:15px;color:var(--ink);background:var(--card)}.resource-card>span{font-size:1.5rem;color:var(--brand)}.resource-card h2{font-size:1.07rem;margin:0 0 .25rem;font-weight:800}.resource-card p{margin:0;color:var(--muted);font-size:.92rem}.calc-box{border:1px solid var(--line);background:var(--card);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow)}.calc-result{margin-top:1rem;border-radius:12px;background:var(--soft);padding:1rem;font-weight:750}.share-row{display:grid;grid-template-columns:1fr 1fr auto;gap:.6rem;margin-bottom:.6rem}.share-row button{min-width:42px}.accordion{--bs-accordion-bg:var(--card);--bs-accordion-color:var(--ink);--bs-accordion-border-color:var(--line);--bs-accordion-btn-bg:var(--card);--bs-accordion-btn-color:var(--ink);--bs-accordion-active-bg:var(--soft);--bs-accordion-active-color:var(--brand)}.site-footer{background:var(--soft);border-top:1px solid var(--line)}.site-footer a{display:block;color:var(--ink);padding:.25rem 0}.footer-title{font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.footer-bottom{border-top:1px solid var(--line);color:var(--muted)}.breadcrumb{--bs-breadcrumb-divider:'›';margin:0}.breadcrumb a{color:var(--muted)}@media(min-width:768px){.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card b{font-size:.88rem}}@media(min-width:992px){.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.py-lg-6{padding-top:5rem!important;padding-bottom:5rem!important}}@media(max-width:767.98px){.site-search{display:grid;grid-template-columns:1fr auto}.site-search .form-control{font-size:1rem}.search-results{right:0;top:62px}.editorial-panel,.question-panel{align-items:flex-start;flex-direction:column}.share-row{grid-template-columns:1fr 1fr auto}.hero-home h1{margin-top:.3rem}.page-hero h1{line-height:1.03}.article-body{font-size:1rem}}@media(max-width:420px){.share-row{grid-template-columns:1fr}.share-row button{width:100%}.topic-grid{grid-template-columns:1fr}}
.summary-panel{margin:0 0 1.8rem;padding:1.2rem 1.25rem;border:1px solid color-mix(in srgb,var(--brand) 25%,var(--line));border-radius:16px;background:linear-gradient(135deg,var(--green),var(--card))}.summary-panel h2{font-size:1.1rem;font-weight:850;margin:0 0 .8rem}.summary-panel ul{list-style:none;padding:0;margin:0;display:grid;gap:.55rem}.summary-panel li{position:relative;padding-left:1.55rem}.summary-panel li:before{content:"✓";position:absolute;left:0;top:0;color:var(--brand);font-weight:900}.action-grid{display:grid;gap:.8rem}.action-card{display:flex;align-items:flex-start;gap:.9rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink)}.action-card:hover{border-color:var(--brand);box-shadow:var(--shadow);color:var(--ink)}.action-card b{display:block;margin-bottom:.2rem}.action-card p{margin:0;color:var(--muted);font-size:.93rem;line-height:1.5}.action-arrow{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:var(--soft);color:var(--brand);font-weight:900}.step-list{list-style:none;padding:0;margin:0;display:grid;gap:1rem}.step-list li{display:flex;gap:1rem;align-items:flex-start}.step-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:var(--brand);color:#fff;font-weight:850}.step-list h3{font-size:1.05rem;font-weight:820;margin:.1rem 0 .2rem}.step-list p{margin:0;color:var(--muted)}.check-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:.65rem}.check-list li{display:flex;gap:.65rem;align-items:flex-start;padding:.75rem .85rem;border:1px solid var(--line);border-radius:12px;background:var(--card)}.check-list li span{color:var(--brand);font-weight:900}.source-list a{grid-template-columns:24px 1fr}.source-list p{margin:.15rem 0;color:var(--muted);font-size:.9rem}.source-list em{display:block;margin-top:.25rem;color:var(--muted);font-size:.78rem;font-style:normal}@media(min-width:768px){.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.check-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.longform-stack{display:grid;gap:0}.longform-section{padding:1.35rem 0;border-bottom:1px solid var(--line);max-width:900px}.longform-section:first-child{padding-top:0}.longform-section h2{font-size:1.4rem;font-weight:830;letter-spacing:-.02em}.longform-section p{font-size:1.04rem;line-height:1.78;color:color-mix(in srgb,var(--ink) 88%,var(--muted))}.home-editorial{scroll-margin-top:90px}@media(min-width:992px){.longform-section{padding:1.65rem 0}.longform-section h2{font-size:1.55rem}}
.document-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:1.5rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--soft)}@media print{.site-header,.site-footer,.sidebar-card,.breadcrumb,.document-toolbar,.legal-note{display:none!important}.page-hero{background:#fff!important;border:0}.article-body{width:100%!important}.container{max-width:none!important}.article-section{break-inside:avoid}}

/* v3 intent-based workflow navigation */
.workflow-grid{display:grid;gap:.75rem}.workflow-card{display:grid;grid-template-columns:2.2rem 1fr auto;gap:.8rem;align-items:start;padding:1rem;border:1px solid var(--line);border-radius:16px;background:var(--card);text-decoration:none;color:var(--ink);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.workflow-card:hover{transform:translateY(-1px);border-color:var(--brand);box-shadow:0 10px 28px rgba(15,61,47,.08)}.workflow-index{display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-weight:800}.workflow-card h3{font-size:1rem;margin:0 0 .25rem}.workflow-card p{margin:0;color:var(--muted);font-size:.92rem}.workflow-arrow{font-size:1.25rem;color:var(--brand);padding-top:.3rem}@media(min-width:768px){.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v4 document provenance/status */
.document-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.document-status-wrap{display:flex;flex-direction:column;gap:.45rem;max-width:44rem}
.document-status{display:inline-flex;align-self:flex-start;padding:.35rem .65rem;border-radius:999px;background:var(--soft-green,#eaf7f0);border:1px solid rgba(21,128,61,.18);font-size:.82rem;font-weight:700;color:var(--bs-success-text-emphasis)}
.document-actions{display:flex;gap:.5rem;flex-wrap:wrap}
[data-bs-theme="dark"] .document-status{background:rgba(34,197,94,.12);border-color:rgba(74,222,128,.25)}
@media(max-width:575.98px){.document-toolbar,.document-actions{width:100%}.document-actions .btn{flex:1 1 auto}}
.resource-status{display:inline-flex;margin-bottom:.35rem;padding:.2rem .48rem;border-radius:999px;background:var(--bs-tertiary-bg);border:1px solid var(--bs-border-color);font-size:.7rem;font-weight:700;color:var(--bs-secondary-color)}

/* v5 verified legal rules UI */
.legal-rule-note{padding:1rem 1.05rem;border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line));border-radius:12px;background:var(--soft);color:var(--muted);font-size:.9rem;line-height:1.55}.legal-rule-note strong{color:var(--ink)}.legal-rule-note code{color:var(--brand);font-size:.86em}.legal-rule-note a{font-weight:700}
