/* DidiTax shared visual system: neutral surfaces, restrained blue accents. */
:root{--bg:#fff;--panel:#fff;--text:#24262b;--muted:#73767e;--line:#e8e9ed;--blue:#4285f4;--blue-dark:#255cb4;--green:#536c60;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--shadow:none;--sidebar-width:248px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;color-scheme:light}
body{background:#fff;color:var(--text);line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}input,select{accent-color:var(--blue)}[hidden]{display:none!important}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{overflow-wrap:break-word}button{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:260px;top:-80px;z-index:200;padding:12px;background:#fff;border:1px solid var(--line)}.skip-link:focus{top:10px}
.site-nav{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:40;background:#fafafa;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:0 14px 14px;transition:width .18s ease,transform .18s ease}.nav-brand{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;gap:6px}.nav-brand>a{display:flex;gap:10px;align-items:center;font-size:20px;font-weight:650;letter-spacing:-.65px;white-space:nowrap}.logo-symbol{width:29px;height:29px;display:grid;place-items:center;border:1.5px solid #515660;border-radius:8px;font-size:20px;font-weight:600;line-height:1;color:#373c45}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;min-height:32px;padding:5px;border:0;border-radius:6px;background:transparent;color:#858992}.icon-button:hover{background:#ededf0;color:#333}.nav-brand>.icon-button{width:26px}.global-search-trigger{width:100%;min-height:39px;display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid #dedfe3;background:#fff;border-radius:7px;color:#848790;text-align:left;box-shadow:0 1px 2px #00000003;margin:0 0 26px;white-space:nowrap}.search-label{font-size:12px;overflow:hidden;text-overflow:ellipsis}.search-glyph{width:14px;height:14px;border:1.5px solid #8c9099;border-radius:50%;position:relative;display:inline-block;flex-shrink:0;margin:0 3px 3px 0}.search-glyph:after{content:"";position:absolute;width:6px;height:1.5px;background:#8c9099;transform:rotate(45deg);right:-5px;bottom:-2px}kbd{font:10px inherit;white-space:nowrap;color:#a0a3ab;margin-left:auto;border:1px solid #ebecf0;padding:0 3px;border-radius:3px}.main-menu{display:grid;gap:5px}.main-menu>a{display:flex;align-items:center;gap:11px;min-height:41px;padding:9px 12px;border-radius:6px;color:#60646d;white-space:nowrap;font-size:13px;font-weight:500}.main-menu>a>span:first-child{display:flex;color:#7e828c}.main-menu>a svg{width:18px;height:18px}.main-menu>a:hover{background:#f0f0f2;color:#25272c}.main-menu>a.selected{background:#edf2fc;color:#315fba}.main-menu>a.selected>span:first-child{color:#4285f4}.nav-dot{height:5px;width:5px;border-radius:50%;background:#b6bac2;margin-left:auto}.nav-lock{margin-left:auto;opacity:.55}.nav-lock svg{width:13px!important;height:13px!important}.nav-separator{height:1px;background:var(--line);margin:25px 10px 20px}.nav-caption{padding:0 12px;color:#9a9da5;font-size:11px;margin:0 0 9px;letter-spacing:.5px}.nav-bottom{margin-top:auto;display:flex;gap:9px;align-items:center;color:#858993;font-size:12px;padding:20px 10px 3px}.nav-bottom .badge{margin-left:auto;font-size:10px}.status-dot{height:6px;width:6px;background:#909a95;border-radius:50%}.app-shell{margin-left:var(--sidebar-width);min-height:100dvh;display:flex;flex-direction:column;transition:margin-left .18s ease}.app-topbar{height:58px;min-height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 40px;position:sticky;top:0;z-index:20;background:#ffffffef;backdrop-filter:blur(10px)}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:12px;color:#969aa3}.breadcrumbs a:hover{color:#333}.breadcrumbs>span:last-child{color:#555b66}.mobile-brand,#mobileMenu{display:none}main#pageContent{width:100%;max-width:1440px;margin:0 auto;padding:38px 40px 60px;min-width:0;outline:none;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading h1{font-size:24px;font-weight:620;letter-spacing:-.6px;margin:0;line-height:1.4}.page-heading p{font-size:13px;color:var(--muted);margin:7px 0 0}.text-action{display:inline-flex;gap:8px;align-items:center;font-size:12px;color:#616671}.text-action svg{width:15px;height:15px}.text-action:hover{color:var(--blue-dark)}.site-footer{display:flex;justify-content:space-between;color:#a1a4ac;font-size:11px;margin:0 40px;padding:20px 0;border-top:1px solid var(--line)}.badge{display:inline-flex;align-items:center;gap:5px;background:#f4f5f7;border:1px solid #e9eaee;color:#7b808b;border-radius:4px;font-size:10px;font-weight:400;line-height:1.6;padding:2px 7px;white-space:nowrap;vertical-align:middle}.badge.active-badge{background:#f2f5fa;color:#526d99}.home-intro{background:#f8f9fb;border:1px solid #eceef2;border-radius:10px;padding:28px 30px;margin-bottom:34px;position:relative;overflow:hidden}.intro-label{font-size:10px;letter-spacing:2px;color:#9298a3;margin-bottom:10px}.home-intro h2{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:0 0 8px}.home-intro p{font-size:12px;color:#858993;margin:0}.section-block{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-heading h2{font-size:14px;font-weight:600;margin:0}.section-heading>a{display:flex;align-items:center;gap:7px;color:#777d87;font-size:11px}.section-heading>a:hover{color:#2d5eb7}.section-heading svg{width:14px;height:14px}.section-heading>span:not(.badge){font-size:11px;color:#9599a3}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.entry-card{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:22px 20px;border:1px solid var(--line);border-radius:9px;background:#fff;transition:border-color .15s,background .15s}.entry-card:hover{border-color:#c7ccd5;background:#fcfcfd}.entry-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border:1px solid #e9ebef;border-radius:8px;color:#6c7481;background:#fafbfc}.entry-icon svg{width:18px;height:18px}.entry-copy{min-width:0}.entry-copy>strong{font-size:13px;font-weight:550;display:block;margin:2px 0 8px}.entry-copy>p{font-size:11px;color:#9297a1;line-height:1.8;margin:0 0 9px}.entry-arrow{display:flex;flex-shrink:0;margin-left:auto;color:#a1a6af;align-self:center}.entry-arrow svg{width:15px;height:15px}.entry-grid .entry-card{flex-wrap:wrap;position:relative}.entry-grid .entry-card .entry-copy{flex-basis:calc(100% - 47px)}.entry-grid .entry-card .entry-arrow{position:absolute;right:16px;bottom:17px}.tax-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tax-tile{border:1px solid var(--line);border-radius:8px;padding:18px;min-height:105px;display:flex;flex-direction:column;align-items:flex-start;gap:15px;background:#fff;transition:border-color .15s}.tax-tile:hover{border-color:#bfc7d3;background:#fdfdfe}.tax-tile-title{display:flex;align-items:center;gap:9px;min-width:0}.tax-tile-title svg{width:16px;height:16px;color:#858b97}.tax-tile-title strong{font-size:12px;font-weight:500}.tile-caption{font-size:10px;color:#8c939e;display:flex;align-items:center;gap:5px}.tile-caption svg{width:12px;height:12px}.update-list{border:1px solid var(--line);border-radius:9px;overflow:hidden}.update-list>a{display:flex;align-items:center;gap:15px;padding:17px 20px;border-bottom:1px solid var(--line)}.update-list>a:last-child{border:0}.update-list>a:hover{background:#fafbfc}.update-icon{color:#8e95a0;display:flex}.update-icon svg{width:17px;height:17px}.update-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.update-copy strong{font-size:12px;font-weight:500}.update-copy>span{font-size:10px;color:#9a9faa}.update-list time{margin-left:auto;white-space:nowrap;font-size:10px;color:#949ba6;font-variant-numeric:tabular-nums}.update-list .entry-arrow{margin-left:6px}.tools-layout{display:grid;grid-template-columns:165px minmax(0,1fr);gap:30px}.tax-directory{align-self:start;position:sticky;top:85px;display:grid;gap:5px;border-left:1px solid var(--line);padding-left:12px}.tax-directory a{padding:8px 10px;font-size:12px;color:#828893;border-radius:5px}.tax-directory a:hover{color:#333;background:#f8f9fb}.tax-directory a[aria-current]{color:#315fba;background:#f2f5fc}.tool-sections{display:grid;gap:26px}.tool-section .entry-card{max-width:650px}.tool-section .section-heading{margin-bottom:10px}.pending-tool{min-height:88px;display:flex;align-items:center;gap:16px;padding:20px;border:1px dashed #e2e4e9;border-radius:8px;background:#fcfcfd;color:#969ca7}.pending-icon svg{width:20px;height:20px}.pending-tool strong{font-size:12px;font-weight:500}.pending-tool p{margin:5px 0 0;font-size:11px;color:#a0a5af}.tool-section .section-heading>.badge{margin-right:auto}.back-link{display:inline-flex;font-size:12px;color:#7e8591;margin-bottom:24px}.back-link:hover{color:#2b5fb7}.guide-filter{display:flex;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.guide-filter label{font-size:11px;color:#898f99;width:180px}.guide-filter select{display:block;margin-top:7px;min-height:36px;font-size:12px;border-radius:6px}.guide-results{max-width:780px}.empty-state{border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:12px;padding:65px 24px;color:#8e96a2;background:#fff}.empty-state>svg{width:26px;height:26px}.empty-state h2{color:#5f6672;font-size:17px;font-weight:500;margin:3px 0 0}.empty-state p{font-size:12px;margin:0;max-width:400px;line-height:1.9}.empty-state .secondary-button{margin-top:8px;width:auto}.topic-pending{min-height:380px}.empty-icon{height:52px;width:52px;display:grid;place-items:center;background:#f7f8fa;border:1px solid var(--line);border-radius:12px;margin-bottom:4px}.empty-icon svg{width:23px;height:23px}.catalogue-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.inline-search{position:relative;display:flex;align-items:center;max-width:400px;width:100%}.inline-search .search-glyph{position:absolute;left:13px;pointer-events:none;width:12px;height:12px}.inline-search input{padding-left:38px!important;min-height:37px!important;font-size:12px!important;border-radius:6px!important}.catalogue-toolbar .secondary-button{min-height:37px;padding:0 14px;white-space:nowrap;width:auto;font-size:12px;gap:6px}.policy-filters{border:1px solid var(--line);background:#fafbfc;border-radius:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px;margin-bottom:20px}.policy-filters label{min-width:0;font-size:11px;color:#828996}.policy-filters input,.policy-filters select{display:block;min-height:35px;margin-top:7px;border-radius:6px;font-size:12px}.filter-note{grid-column:1/-1;font-size:11px;color:#999fa9;margin:0}.policy-filters>.ghost-button{align-self:end;width:auto;justify-self:start;font-size:12px}.catalogue-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#969ca7;margin-bottom:13px}.catalogue-meta span:first-child{color:#6c7380}.document-list{border:1px solid var(--line);border-radius:9px;overflow:hidden}.document-row{display:block;padding:24px 25px;border-bottom:1px solid var(--line);background:#fff}.document-row:last-child{border-bottom:0}.document-row:hover{background:#fcfcfd}.document-row-top{display:flex;gap:7px;align-items:center;margin-bottom:12px}.document-status{margin-left:auto;color:#9c9290;font-size:10px}.document-row h2{font-weight:550;font-size:15px;margin:0 0 10px;line-height:1.75;max-width:850px}.document-row p{font-size:11px;color:#9299a4;margin:0 0 18px}.document-row-bottom{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#9bA1ac}.document-row-bottom>span:last-child{white-space:nowrap}.document-row-bottom svg{width:13px;height:13px;margin-left:12px}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:40px}.reader-article{min-width:0;max-width:850px}.reader-header{padding-bottom:25px;border-bottom:1px solid var(--line)}.reader-tags{display:flex;gap:7px}.reader-header h1{font-size:26px;line-height:1.65;font-weight:600;letter-spacing:-.5px;margin:18px 0 24px}.doc-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 28px;margin:0;background:#fafbfc;padding:18px;border-radius:7px}.doc-metadata>div{min-width:0}.doc-metadata dt{font-size:10px;color:#9aA0aa;margin-bottom:4px}.doc-metadata dd{font-size:11px;color:#707885;margin:0;line-height:1.8}.info-note{font-size:11px;color:#858c98;border-left:2px solid #d1d6df;padding:1px 12px;margin-top:20px;line-height:1.9}.reader-label{font-size:10px;color:#9ba1ac;margin-top:28px;letter-spacing:1px}.document-body{font-size:14px;line-height:2;color:#535b68;overflow-wrap:anywhere;padding-top:12px}.document-body h1,.document-body h2,.document-body h3{font-weight:550;color:#333a45;margin:28px 0 15px;font-size:18px;scroll-margin-top:80px}.document-body p{margin:14px 0}.document-body ul{padding-left:22px}.document-body li{margin-bottom:8px}.document-body table{border-collapse:collapse;min-width:500px;font-size:12px}.document-body th,.document-body td{border:1px solid var(--line);padding:10px}.document-body .policy-table-wrap{overflow-x:auto}.reader-toc{position:sticky;top:92px;align-self:start;border-left:1px solid var(--line);padding-left:20px;margin-top:10px}.reader-toc summary{list-style:none;font-size:11px;color:#666f7d;font-weight:500;margin-bottom:14px;cursor:pointer}.reader-toc nav{display:grid;gap:10px}.reader-toc button{border:0;background:transparent;text-align:left;padding:0;color:#969dab;font-size:11px;line-height:1.8}.reader-toc button:hover{color:#315fba}.related-content{margin-top:35px;padding-top:24px;border-top:1px solid var(--line);display:grid;gap:12px}.related-content h3{font-size:13px;font-weight:500;margin:0 0 3px}.related-content a{display:flex;justify-content:space-between;border:1px solid var(--line);border-radius:7px;padding:13px;font-size:12px;color:#667487}.related-content a:hover{border-color:#c5cdd9}.related-content a svg{width:15px;height:15px}.loading-state{padding:40px;color:#858c99;font-size:13px}.muted{color:#969da7;font-size:11px}
/* Existing calculator and project library share the same UI tokens. */
.hero,.summary-panel,.project-card,.thirdparty-toolbar,.thirdparty-card,.thirdparty-auth{background:#fff;box-shadow:none;border:1px solid var(--line);border-radius:9px}.hero{padding:20px;gap:20px;grid-template-columns:minmax(220px,1fr) auto}.eyebrow{color:#949ba5;font-size:10px;margin-bottom:7px}.tax-picker select,label input,label select,.month-table input,.month-table select{border-radius:6px;border-color:#e1e4e9;min-height:36px;font-size:12px;color:#535d6c}.parameter-strip{grid-template-columns:repeat(3,minmax(80px,1fr));gap:0;border:1px solid var(--line);border-radius:7px}.parameter-strip>div{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;padding:11px 16px}.parameter-strip>div:last-child{border-right:0}.parameter-strip span{font-size:10px;color:#959ca7}.parameter-strip strong{font-size:12px;color:#596371;font-weight:500}.tool-resource-bar{display:flex;align-items:center;gap:18px;font-size:11px;margin:15px 0 24px;color:#929aa6}.tool-resource-bar a{color:#6c7c93}.tool-resource-bar a:hover{color:#315fba}.workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px;margin-top:0}.project-card,.summary-panel{padding:20px}.summary-panel{top:80px}.summary-panel h2{font-size:26px;color:#303a48;letter-spacing:-.5px;margin:0 0 22px;font-weight:600;font-variant-numeric:tabular-nums}.summary-grid{grid-template-columns:1fr;gap:0}.summary-grid>div{border:0;border-radius:0;padding:13px 0;border-top:1px solid var(--line);background:transparent}.summary-grid span{font-size:10px}.summary-grid strong{font-size:12px;font-weight:500;color:#6f7987}.summary-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px}.primary-button,.secondary-button,.ghost-button,.detail-close{border-radius:6px;min-height:35px;font-size:12px;padding:8px 14px;gap:8px;font-weight:500;box-shadow:none}.primary-button{background:#3c70c7;color:white;border:1px solid #3c70c7}.primary-button:hover{background:#2d5fad}.secondary-button{background:#fff;color:#606b7b;border:1px solid #dfe3e9}.secondary-button:hover{background:#f6f7f9}.ghost-button{color:#8993a1;background:transparent;border:1px solid transparent}.ghost-button:hover{background:#f5f6f8;color:#4e5d72}.notice{font-size:10px;color:#9aa1ac;line-height:1.9;margin-top:18px}.project-name-field span{font-size:11px;color:#7f8897;font-weight:400}.project-name{font-size:13px!important;font-weight:500;min-height:35px}.project-head{margin-bottom:20px}.project-date-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.project-date-grid label>span{font-size:10px}.project-date-grid .month-count{min-height:35px;background:#fafbfc;border:1px solid var(--line);border-radius:6px;flex-direction:row;align-items:center;justify-content:space-between}.month-count span{font-size:10px}.month-count strong{font-size:16px;font-weight:500}.month-table{font-size:11px}.month-table th{font-size:10px;font-weight:500;color:#818b9b;background:#f8f9fb}.month-table th:first-child{background:#f8f9fb}.month-table input,.month-table select{font-size:11px;height:34px;min-height:34px;border-radius:5px}.month-tax-result{font-weight:550;color:#424f62}.result-box{margin-top:18px;gap:12px}.result-box>div{background:#fafbfc;border:0;padding:12px}.result-box span{font-size:10px;color:#959eaa}.result-box strong{font-size:12px;color:#58677b;font-weight:550}.delete-project{border-radius:6px;background:transparent;font-weight:400}.row-detail-button{color:#5c789e}.thirdparty-password-dialog,.detail-dialog{border-radius:10px;box-shadow:0 16px 80px #2029361f}.thirdparty-password-head{background:#fafbfc!important;color:#333!important}.thirdparty-password-head h2{font-size:20px}.thirdparty-toolbar{position:static}.thirdparty-status{position:static!important;transform:none!important;width:100%!important;background:#f7f8fa!important;border:1px solid var(--line);box-shadow:none;color:#6a7484!important}.thirdparty-status strong{color:#46556c!important}.thirdparty-tax{background:#f5f7fa!important;color:#5e6e84!important}.thirdparty-tax strong{color:#526984!important}.thirdparty-card{box-shadow:none}.thirdparty-card-head h3{font-size:14px;font-weight:550}.thirdparty-detail-dialog h2{font-size:18px}.project-actions .primary-button{width:auto}.detail-modal{z-index:100}.detail-modal::backdrop{background:#20252c55}.detail-content{font-size:12px;background:#f7f8fa;color:#5a6575}.nav-backdrop{display:none}.nav-collapsed{--sidebar-width:72px}.nav-collapsed .site-nav{padding:0 10px 14px}.nav-collapsed .brand-word,.nav-collapsed .nav-text,.nav-collapsed .nav-caption,.nav-collapsed .nav-dot,.nav-collapsed .nav-lock,.nav-collapsed .nav-bottom,.nav-collapsed .global-search-trigger kbd,.nav-collapsed .search-label{display:none}.nav-collapsed .nav-brand{height:112px;flex-direction:column;justify-content:center;gap:12px;padding:0}.nav-collapsed .main-menu>a{justify-content:center;padding:10px}.nav-collapsed .global-search-trigger{justify-content:center;margin-bottom:16px}.nav-collapsed .nav-separator{margin:22px 4px}.nav-collapsed .main-menu>a[aria-current]{background:#edf2fc}
/* Unified search */
.search-dialog{width:min(640px,calc(100% - 40px));max-height:min(78dvh,720px);margin:12dvh auto auto;border:1px solid #e0e3e9;border-radius:12px;padding:0;color:var(--text);box-shadow:0 24px 100px #10152129;overflow:hidden}.search-dialog::backdrop{background:#20263055;backdrop-filter:blur(3px)}.search-dialog[open]{display:flex;flex-direction:column}.search-dialog-top{display:flex;align-items:center;gap:16px;padding:17px 20px;border-bottom:1px solid var(--line)}.search-dialog-top input{border:0;background:transparent;outline:none!important;min-width:0;flex:1;font-size:14px;color:#454f60;padding:6px 0}.search-dialog-top .icon-button{font-size:22px;color:#929aa7}.search-scope{padding:13px 20px 0;font-size:10px;color:#9aa1ad}.search-results{padding:10px;overflow-y:auto;overscroll-behavior:contain;min-height:100px}.search-results h3{font-weight:400;font-size:10px;color:#a0a6af;padding:8px 10px;margin:0}.search-result{display:flex;align-items:center;gap:12px;padding:12px 10px;min-height:44px;border-radius:6px;font-size:12px}.search-result:hover,.search-result.keyboard-selected{background:#f3f5f8}.search-result>svg{margin-left:auto;width:14px;height:14px;color:#a1a8b4}.search-result-icon{display:flex;color:#8994a4}.search-result-icon svg{width:17px;height:17px}.search-dialog-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 20px;font-size:10px;color:#a1a7b0;background:#fafbfc}.search-empty{padding:30px 15px;color:#8f98a6;font-size:12px}
@media(min-width:1600px){main#pageContent{padding-left:65px;padding-right:65px}.app-topbar{padding-left:65px}}
@media(max-width:1200px){:root{--sidebar-width:225px}main#pageContent{padding:30px 28px 50px}.app-topbar{padding:0 28px}.entry-grid{gap:10px}.entry-card{padding:18px 15px}.entry-grid .entry-card{display:block}.entry-grid .entry-icon{margin-bottom:14px}.entry-grid .entry-copy>strong{font-size:12px}.tax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:1fr}.summary-panel{position:static;grid-column:1;grid-row:3}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.summary-actions{display:flex}.summary-actions>*{width:auto!important}.hero{grid-template-columns:1fr}.parameter-strip{width:100%}.reader-layout{grid-template-columns:minmax(0,1fr) 140px;gap:24px}.tools-layout{grid-template-columns:140px minmax(0,1fr);gap:20px}}
@media(max-width:760px){:root{--sidebar-width:0px;font-size:14px}.app-shell,.nav-collapsed .app-shell{margin-left:0}.site-nav,.nav-collapsed .site-nav{width:min(85vw,320px);padding:0 18px 20px;transform:translateX(-100%);transition:transform .18s ease;z-index:60;visibility:hidden}.nav-open .site-nav{transform:translateX(0);visibility:visible}.nav-open{overflow:hidden}.nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#20263055;backdrop-filter:blur(2px);z-index:50}.nav-brand,.nav-collapsed .nav-brand{height:85px;display:flex;flex-direction:row;justify-content:space-between;gap:8px;padding:0 8px}.nav-collapsed .brand-word,.nav-collapsed .nav-text,.nav-collapsed .nav-caption,.nav-collapsed .nav-dot,.nav-collapsed .nav-lock,.nav-collapsed .nav-bottom,.nav-collapsed .search-label{display:revert}.nav-collapsed .global-search-trigger kbd,.global-search-trigger kbd{display:none}.nav-collapsed .global-search-trigger{justify-content:flex-start;margin-bottom:26px}.nav-collapsed .main-menu>a{justify-content:flex-start;padding:11px 12px}.main-menu>a{font-size:14px;min-height:46px}.search-label{font-size:13px}.global-search-trigger{min-height:44px}.nav-caption{font-size:12px}.nav-collapsed .nav-bottom{display:flex}.nav-collapsed .nav-separator{margin:25px 10px 20px}.app-topbar{height:56px;min-height:56px;padding:0 16px;gap:11px}.app-topbar #mobileMenu{display:flex;width:32px;height:32px;color:#636b79}.mobile-brand{display:block;font-weight:600;font-size:16px;letter-spacing:-.4px;margin-left:auto}.breadcrumbs{font-size:10px;gap:8px;min-width:0;overflow:hidden;white-space:nowrap}.breadcrumbs>a:first-child,.breadcrumbs>a:first-child+span{display:none}.breadcrumbs>span:last-child{overflow:hidden;text-overflow:ellipsis}main#pageContent{padding:25px 20px 40px}.page-heading{margin-bottom:23px;gap:12px}.page-heading h1{font-size:22px}.page-heading p{font-size:12px}.text-action{font-size:11px;white-space:nowrap}.text-action svg{display:none}.home-intro{padding:23px 21px;margin-bottom:28px}.home-intro h2{font-size:21px;max-width:240px;line-height:1.6}.home-intro p{font-size:11px;line-height:1.9;max-width:250px}.section-heading h2{font-size:13px}.section-heading>span:not(.badge){font-size:10px}.section-block{margin-top:27px}.entry-grid{grid-template-columns:1fr;gap:10px}.entry-grid .entry-card{display:flex;gap:13px;padding:18px}.entry-grid .entry-icon{margin-bottom:0}.entry-grid .entry-copy{flex-basis:auto;flex:1}.entry-grid .entry-copy strong{font-size:13px;margin:1px 0 6px}.entry-grid .entry-copy p{font-size:11px;margin-bottom:0}.entry-grid .entry-copy .badge{margin-top:9px}.entry-grid .entry-card .entry-arrow{position:static;align-self:center}.tax-grid{gap:10px}.tax-tile{padding:16px 12px;min-height:100px;gap:13px}.tax-tile-title{gap:7px}.tax-tile-title strong{font-size:12px}.tax-tile-title svg{width:14px;height:14px}.tile-caption{font-size:9px;gap:0}.tile-caption svg{display:none}.update-list>a{padding:15px 13px;gap:10px;align-items:flex-start}.update-copy strong{font-size:11px;line-height:1.8}.update-list time{font-size:9px;padding-top:4px}.update-list .entry-arrow{display:none}.update-icon{padding-top:4px}.update-copy>span{font-size:9px}.site-footer{margin:0 20px;font-size:10px;padding:17px 0}.tools-layout{display:flex;flex-direction:column;gap:24px}.tax-directory{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:0 0 20px;border:0;border-bottom:1px solid var(--line)}.tax-directory a{font-size:11px;border:1px solid var(--line);padding:7px 9px;background:#fff}.tax-directory a[aria-current]{border-color:#d8e1f2}.tool-sections{gap:24px}.entry-card{padding:18px}.pending-tool{padding:18px}.tool-section .section-heading h2{font-size:14px}.guide-filter{gap:12px}.guide-filter label{width:auto;flex:1}.guide-filter select{font-size:12px;min-height:42px}.topic-pending{min-height:340px;padding:45px 22px}.catalogue-toolbar{gap:8px}.catalogue-toolbar .secondary-button{padding:0 10px;font-size:11px;min-height:42px}.inline-search input{min-height:42px!important;font-size:12px!important}.policy-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:15px 10px}.policy-filters input,.policy-filters select{min-height:42px;font-size:12px;padding:0 8px}.filter-note{font-size:10px;line-height:1.8}.catalogue-meta{font-size:10px}.catalogue-meta>span:last-child{max-width:140px;text-align:right}.document-row{padding:20px 16px}.document-row-top{gap:5px;flex-wrap:wrap}.document-status{font-size:9px}.document-row h2{font-size:14px;line-height:1.85}.document-row p{font-size:10px;line-height:1.8}.document-row-bottom{font-size:9px;flex-wrap:wrap;gap:9px}.document-row-bottom svg{margin-left:4px}.reader-layout{display:flex;flex-direction:column;gap:20px}.reader-toc{position:static;order:-1;border:1px solid var(--line);border-radius:7px;width:100%;margin:0;padding:12px 15px}.reader-toc summary{margin:0;font-size:12px;list-style:revert}.reader-toc nav{padding-top:15px}.reader-header h1{font-size:22px;line-height:1.7}.doc-metadata{padding:15px;gap:13px 15px}.doc-metadata dd{font-size:11px}.document-body{font-size:15px;line-height:2}.document-body h2,.document-body h3{font-size:17px}.related-content a{font-size:12px;line-height:1.8;gap:12px}.hero{padding:16px;gap:16px}.parameter-strip>div{padding:10px 9px}.parameter-strip span{font-size:9px}.parameter-strip strong{font-size:10px}.tool-resource-bar{font-size:10px;gap:14px;margin:15px 0 20px}.project-card,.summary-panel{padding:16px}.project-name-field{grid-template-columns:1fr;gap:5px}.project-date-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-date-grid label>span{font-size:10px}.project-date-grid input,.project-date-grid select{min-height:42px;font-size:13px}.result-box{grid-template-columns:1fr;gap:6px}.result-box>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px}.result-box span{margin:0}.summary-panel h2{font-size:28px;margin-bottom:20px}.summary-grid{gap:15px}.summary-actions{display:grid;grid-template-columns:1fr 1fr}.summary-actions>*{width:100%!important;min-height:42px}.project-actions .primary-button{width:100%;min-height:42px}.primary-button,.secondary-button{min-height:40px}.thirdparty-status{font-size:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.thirdparty-toolbar{padding:14px}.thirdparty-search-row{gap:10px}.thirdparty-actions{display:flex;flex-wrap:wrap;gap:8px}.thirdparty-actions>button{width:auto;font-size:11px;min-height:38px}.thirdparty-filter-row{grid-template-columns:1fr}.thirdparty-filter-row label{min-width:0}.thirdparty-detail-dialog{max-width:100%}.thirdparty-password-dialog{width:calc(100% - 16px)}.search-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.search-dialog-top{padding:14px 18px;min-height:65px}.search-dialog-top input{font-size:16px}.search-scope{font-size:10px;line-height:1.8}.search-results{flex:1}.search-result{font-size:13px;min-height:52px}.search-dialog-footer{font-size:10px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.skip-link{left:20px}.nav-bottom{padding-bottom:env(safe-area-inset-bottom)}input[type=search],input[type=password],input[type=text],input[type=date],input[type=number]{font-size:16px!important}.month-table input,.month-table select{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Readability pass: reference dashboard sizing, without adding color or decoration. */
:root { --muted: #697180; }
.main-menu > a { font-size: 14px; }
.search-label { font-size: 13px; }
.breadcrumbs, .nav-caption, .nav-bottom { font-size: 12px; }
.page-heading h1 { font-size: 26px; }
.page-heading p, .text-action { font-size: 14px; }
.section-heading h2 { font-size: 16px; }
.section-heading > a, .section-heading > span:not(.badge) { font-size: 12px; color: #767e8b; }
.entry-copy > strong, .tax-tile-title strong { font-size: 14px; }
.entry-copy > p { font-size: 13px; color: #78818e; }
.badge { font-size: 12px; color: #727b88; }
.tile-caption { font-size: 12px; color: #77818e; }
.update-copy strong { font-size: 14px; }
.update-copy > span, .update-list time { font-size: 12px; color: #78818f; }
.tax-directory a, .pending-tool strong, .guide-filter label { font-size: 13px; }
.pending-tool p, .empty-state p { font-size: 13px; color: #7a8492; }
.tax-picker select, label input, label select, .month-table input, .month-table select { font-size: 14px; }
.guide-filter select, .policy-filters input, .policy-filters select { font-size: 13px; }
.inline-search input { font-size: 13px !important; }
.catalogue-toolbar .secondary-button, .policy-filters label, .policy-filters > .ghost-button { font-size: 13px; }
.catalogue-meta, .filter-note { font-size: 12px; color: #7b8491; }
.document-row h2 { font-size: 16px; }
.document-row p, .document-row-bottom, .document-status { font-size: 12px; color: #79828e; }
.reader-header h1 { font-size: 27px; }
.doc-metadata dt, .doc-metadata dd, .info-note, .reader-label { font-size: 12px; }
.doc-metadata dt, .info-note, .reader-label { color: #7b8491; }
.document-body { font-size: 15px; }
.reader-toc summary, .reader-toc button { font-size: 12px; color: #798391; }
.related-content h3, .related-content a { font-size: 14px; }
.tool-resource-bar, .eyebrow, .project-date-grid label > span, .project-name-field span { font-size: 12px; }
.parameter-strip span, .summary-grid span, .result-box span { font-size: 12px; }
.parameter-strip strong, .summary-grid strong, .result-box strong { font-size: 13px; }
.primary-button, .secondary-button, .ghost-button, .detail-close { font-size: 13px; }
.notice { font-size: 12px; color: #788391; }
.search-scope, .search-results h3, .search-dialog-footer { font-size: 12px; color: #7b8593; }
.search-result { font-size: 14px; }
.site-footer { font-size: 12px; }
@media (max-width: 1200px) {
  .entry-grid .entry-copy > strong { font-size: 14px; }
}
@media (max-width: 760px) {
  .main-menu > a { font-size: 15px; }
  .page-heading h1 { font-size: 24px; }
  .breadcrumbs { font-size: 12px; }
  .entry-grid .entry-copy strong { font-size: 14px; }
  .entry-grid .entry-copy p, .entry-copy > p { font-size: 13px; }
  .tax-tile-title strong { font-size: 13px; }
  .tile-caption { font-size: 11px; }
  .section-heading h2, .tool-section .section-heading h2 { font-size: 15px; }
  .section-heading > span:not(.badge), .update-copy > span, .update-list time { font-size: 11px; }
  .update-copy strong { font-size: 13px; }
  .update-list time { display: none; }
  .catalogue-meta, .document-status, .document-row-bottom { font-size: 11px; }
  .document-row h2 { font-size: 15px; }
  .document-row p, .filter-note { font-size: 12px; }
  .reader-header h1 { font-size: 23px; }
  .doc-metadata dd, .doc-metadata dt, .info-note { font-size: 12px; }
  .parameter-strip span { font-size: 11px; }
  .parameter-strip strong { font-size: 12px; }
  .search-scope, .search-dialog-footer { font-size: 11px; }
}

/* Contrast pass: stronger neutral hierarchy; blue remains an accent. */
:root { --text: #20242c; --muted: #616c7b; --line: #dce1e8; }
body, .app-shell { background: #f6f7f9; }
.site-nav { background: #fcfcfd; }
.app-topbar { background: #fffffff5; }
.page-heading h1, .reader-header h1 { color: #171c25; }
.section-heading h2, .tool-section h2, .entry-copy > strong,
.tax-tile-title strong, .update-copy strong, .document-row h2 { color: #303845; }
.entry-copy > p, .update-copy > span, .update-list time, .tile-caption,
.section-heading > a, .section-heading > span:not(.badge),
.catalogue-meta, .filter-note, .document-row p, .document-row-bottom,
.doc-metadata dt, .info-note, .reader-label, .notice, .site-footer,
.reader-toc button, .reader-toc summary, .search-scope, .search-results h3,
.search-dialog-footer, .eyebrow, .nav-caption, .nav-bottom, .breadcrumbs { color: #657182; }
.entry-card, .tax-tile, .update-list, .document-list, .guide-results > .entry-card,
.project-card, .summary-panel, .hero { background: #fff; border-color: #dce1e8; box-shadow: 0 1px 2px #17243604; }
.entry-card:hover, .tax-tile:hover { border-color: #aeb8c7; background: #fff; }
.update-list > a:hover, .document-row:hover { background: #f8f9fb; }
.entry-icon, .tax-tile-title svg, .update-icon { color: #626f81; }
.entry-icon { background: #f4f6f9; border-color: #dce2eb; }
.entry-arrow { color: #7b8797; }
.main-menu > a { color: #505c6e; }
.main-menu > a > span:first-child { color: #6a778a; }
.main-menu > a:hover { background: #eceff3; color: #252f3f; }
.main-menu > a.selected { background: #eaf0fc; color: #2b58a6; }
.global-search-trigger { border-color: #cfd6e0; color: #647084; }
.badge { background: #f0f2f5; border-color: #dce1e8; color: #5d6a7d; }
.pending-tool { background: #fafbfc; color: #6c788b; border-color: #cfd6e0; }
.pending-tool p { color: #738095; }
.tax-directory { border-color: #d3dae4; }
.tax-directory a { color: #626f82; }
.empty-state { background: #fff; }
.empty-state h2 { color: #444f61; }
.empty-state p { color: #69768a; }
.doc-metadata { background: #edf0f4; }
.doc-metadata dd { color: #455367; }
.document-body { color: #414c5d; }
.reader-article { background: #fff; border: 1px solid #dce1e8; border-radius: 9px; padding: 28px; }
.reader-header { border-color: #dce1e8; }
.reader-toc { border-color: #cbd4e0; }
.policy-filters { background: #eef1f5; }
.policy-filters label, .guide-filter label { color: #5e6d81; }
input, select { border-color: #cdd5e0; }
.tax-picker select, label input, label select, .month-table input, .month-table select { color: #39485d; border-color: #cdd5e0; }
.primary-button { background: #315faa; border-color: #315faa; color: #fff; }
.primary-button:hover { background: #254e92; border-color: #254e92; }
.secondary-button { background: #fff; border-color: #bdc8d7; color: #3e5069; }
.secondary-button:hover { background: #edf1f6; border-color: #a7b5c9; }
.ghost-button { color: #62738a; }
.ghost-button:hover { color: #344a67; background: #e9eef5; }
.parameter-strip { background: #f6f8fb; }
.parameter-strip strong { color: #3f5068; }
.parameter-strip span, .summary-grid span, .result-box span { color: #69788e; }
.summary-grid strong, .result-box strong { color: #3d526e; }
.summary-panel h2 { color: #202f46; }
.result-box > div { background: #edf1f6; }
.search-result:hover, .search-result.keyboard-selected { background: #eaf0f7; }
@media (max-width: 760px) {
  .reader-article { padding: 20px 16px; }
  .reader-header h1 { font-size: 22px; }
  .reader-toc { background: #fff; }
  .tax-directory a { border-color: #cfd6e0; }
}

/* Compact two-letter mark, preserving the existing outline. */
.logo-symbol { font-size: 13px; font-weight: 650; letter-spacing: -0.5px; flex-shrink: 0; }

.data-freshness { margin: 0 0 14px; font-size: 12px; line-height: 1.8; color: #657182; }

/* Article layout contract: semantic headings, one TOC, readable wide tables. */
.reader-layout { grid-template-columns: minmax(0, 1fr) 224px; gap: 32px; align-items: start; }
.reader-article { width: 100%; max-width: 960px; }
.document-body { min-width: 0; overflow-wrap: break-word; word-break: normal; font-weight: 400; }
.document-body :is(h2,h3,h4,h5,h6) { color: #242d3a; font-weight: 650; line-height: 1.6; scroll-margin-top: 88px; }
.document-body h2 { font-size: 20px; margin: 36px 0 16px; }
.document-body h3 { font-size: 17px; margin: 28px 0 12px; }
.document-body :is(h4,h5,h6) { font-size: 16px; margin: 24px 0 10px; }
.document-body strong { font-weight: 650; }
.document-body .policy-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.document-body .policy-table-wrap:focus-visible { outline: 2px solid #72839a; outline-offset: 3px; }
.document-body .policy-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.document-body .policy-table :is(th,td) { padding: 12px 14px; line-height: 1.8; vertical-align: top; overflow-wrap: break-word; word-break: normal; white-space: normal; }
.document-body .policy-table th { font-weight: 650; color: #303b4b; background: #f5f7fa; }
.document-body .policy-table .cell-compact { white-space: nowrap; }
.document-source-toc { border: 1px solid var(--line); border-radius: 7px; margin: 20px 0 28px; padding: 12px 16px; background: #fafbfc; }
.document-source-toc summary { cursor: pointer; color: #536173; font-size: 14px; }
.document-source-toc ul { list-style: none; margin: 12px 0 0; padding: 0; }
.document-source-toc a { color: #536173; font-size: 14px; }
.document-source-toc a:hover { text-decoration: underline; }
.reader-toc { position: sticky; top: 88px; min-width: 0; max-height: calc(100dvh - 112px); overflow-y: auto; scrollbar-gutter: stable; padding-right: 8px; }
.reader-toc button { font-size: 13px; font-weight: 400; line-height: 1.7; overflow-wrap: break-word; padding: 3px 0; }
.reader-toc button[data-level="3"] { padding-left: 12px; font-size: 12px; }
.reader-toc button:is([data-level="4"],[data-level="5"],[data-level="6"]) { padding-left: 20px; font-size: 12px; }
@media (max-width: 1100px) {
  .reader-layout { display: flex; flex-direction: column; gap: 20px; }
  .reader-toc { order: -1; position: static; max-height: none; width: 100%; border: 1px solid var(--line); border-radius: 7px; margin: 0; padding: 12px 15px; background: #fff; }
  .reader-toc summary { margin: 0; list-style: revert; }
  .reader-toc nav { max-height: 40dvh; overflow-y: auto; padding-top: 12px; }
}
@media (max-width: 760px) {
  .document-body { font-size: 15px; }
  .document-body h2 { font-size: 19px; }
  .document-body h3 { font-size: 17px; }
  .document-body .policy-table { font-size: 14px; }
  .document-body .policy-table :is(th,td) { padding: 10px 12px; }
}
