/* styles.css */
:root{--ink:#203438;--muted:#647579;--accent:#184d53;--accent-dark:#103a40;--line:#dce3e2;--paper:#fff;--bg:#f5f7f5;--soft:#eaf1ee;--warm:#986524;--warm-bg:#fbf4e7;--danger:#9a3434;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:15px}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b38b41;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}.skip{position:fixed;top:-60px;background:var(--accent);color:white;padding:12px;z-index:5}.skip:focus{top:0}.header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;padding:22px 32px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:13px;line-height:1.45;letter-spacing:.1px;color:var(--ink)}.brand strong{font-size:16px}.brand-icon{width:43px;height:46px;background:var(--accent);border-radius:11px;color:#fff;font-family:Georgia,serif;font-size:38px;line-height:39px;text-align:center;letter-spacing:-4px;padding-right:5px}.brand-icon span{color:#dbc78e}.version{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.status-dot{height:6px;width:6px;border-radius:100%;background:#789e82}.wrap{max-width:1200px;margin:auto;padding:0 32px}.intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:45px 0 32px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;color:var(--accent);margin-bottom:13px}h1{font-size:32px;line-height:1.18;letter-spacing:-1.15px;font-weight:600;margin:0 0 13px}.intro p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.review-date{font-size:11px;color:var(--muted);line-height:1.7;text-align:right;flex-shrink:0}.review-date strong{display:block;color:var(--ink);font-size:13px;font-weight:500}.tabs{display:flex;gap:32px;border-bottom:1px solid #cdd8d5;margin-bottom:29px;overflow-x:auto}.tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 0 15px;white-space:nowrap;color:var(--muted);font-size:13px;font-weight:600}.tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}h2{font-size:20px;letter-spacing:-.4px;font-weight:600;margin:0 0 7px}.section-top p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.small-tag{font-size:11px;background:var(--soft);color:var(--accent);padding:7px 10px;border-radius:5px;white-space:nowrap}.small-tag.warm{background:var(--warm-bg);color:var(--warm)}.calculator-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:25px;align-items:start}.left-col{min-width:0}.procedure-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:19px}.procedure{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px 12px;display:flex;text-align:left;flex-direction:column;position:relative;min-height:106px}.procedure .mark{font-size:10px;color:#8b9897;margin-bottom:13px;font-variant-numeric:tabular-nums}.procedure strong{font-size:12px;font-weight:600;margin-bottom:5px}.procedure small{font-size:10px;color:var(--muted);line-height:1.5}.procedure[aria-pressed=true]{background:var(--soft);border:1.5px solid var(--accent);padding:13.5px 11.5px}.procedure[aria-pressed=true]:after{content:'✓';font-size:12px;color:var(--accent);position:absolute;right:12px;top:10px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px}.form-panel{padding:25px}.panel-heading{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:15px}h3{font-size:15px;letter-spacing:-.1px;margin:0 0 16px;font-weight:600}.panel-heading h3{margin:0}.text-button{color:var(--accent);font-size:11px;border:0;background:transparent;padding:5px 0;font-weight:600;text-decoration:underline;text-underline-offset:3px}.body-note{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 18px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;min-width:0}.field small{font-size:10px;line-height:1.55;color:var(--muted);font-weight:400}.field input,.field select,.field textarea{border:1px solid #ccd6d3;background:#fff;border-radius:6px;padding:10px 11px;width:100%;height:42px;color:var(--ink);font-size:13px;font-weight:400;min-width:0}.field select{font-size:11px}.field textarea{height:auto;line-height:1.65;resize:vertical}.quantity-note{display:flex;gap:10px;margin:24px 0 18px;padding-top:18px;border-top:1px solid var(--line)}.quantity-note p{font-size:11px;color:var(--muted);line-height:1.65;margin:0}.info-symbol{border:1px solid #a8b9b5;border-radius:50%;font-family:Georgia,serif;font-size:10px;width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0;margin-top:1px}.check{font-size:11px;line-height:1.6;display:flex;gap:8px;align-items:flex-start}.check input{accent-color:var(--accent);margin:3px 0 0;width:15px;height:15px;flex-shrink:0}.footnote{font-size:10px;color:var(--muted);line-height:1.65;margin:9px 0 0}.receipt{position:sticky;top:24px;overflow:hidden}.receipt-head{padding:28px 27px 25px;background:var(--accent-dark);color:#fff}.receipt-head .eyebrow{color:#b9d0cd;font-size:9px;letter-spacing:1.4px;margin-bottom:9px}.total{font-size:39px;font-weight:500;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}.receipt-head .sub{color:#bdd0ce;font-size:10px;margin:8px 0 0;line-height:1.6}.receipt-body{padding:23px 26px}.receipt-body h3{font-size:12px;margin-bottom:20px}.receipt-row{display:flex;gap:15px;justify-content:space-between;margin:15px 0;font-size:12px;line-height:1.5}.receipt-row .amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;align-self:flex-start}.receipt-row small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}.receipt-row.zero{color:#85928f}.receipt-divider{border-top:1px dashed #d5ddda;margin:22px 0}.math-note{font-size:10px;line-height:1.7;color:var(--muted)}.receipt-choices{font-size:10px;color:var(--muted);line-height:1.8;padding:12px 0 17px}.receipt-actions{display:flex;gap:8px}.button{background:var(--accent);color:white;border:1px solid var(--accent);padding:11px 15px;border-radius:6px;font-size:11px;font-weight:600}.button.secondary{background:#fff;color:var(--accent);border-color:var(--line)}.receipt-actions .button{flex:1}.result-error{color:var(--danger);font-size:12px;line-height:1.7}.below-note{display:flex;gap:17px;padding:25px 0 5px}.note-number{font-size:10px;color:var(--accent);border-top:1px solid var(--accent);padding-top:8px;margin-top:2px}.below-note strong{font-size:12px;font-weight:500}.below-note p{font-size:11px;color:var(--muted);line-height:1.8;max-width:850px;margin:6px 0 0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0;margin:10px 0 18px;border-bottom:1px solid var(--line);gap:12px}.stat-grid strong{display:block;font-size:21px;font-weight:500;letter-spacing:-.6px;margin-bottom:5px}.stat-grid small{font-size:10px;color:var(--muted)}.method-note{font-size:11px;color:var(--muted);line-height:1.8;margin:20px 0 0}.scenario-controls{margin-bottom:23px}.scenario-intro{display:flex;gap:25px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:23px}.scenario-intro strong{font-size:13px;white-space:nowrap}.scenario-intro p{font-size:12px;line-height:1.7;margin:0;color:var(--muted);max-width:650px}.scenario-columns{display:grid;grid-template-columns:1fr 1fr;gap:50px}.scenario-columns>div{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.scenario-columns h3{grid-column:1/-1;margin-bottom:0}.scenario-columns .field{font-size:10px;line-height:1.6}.scenario-actions{display:flex;justify-content:space-between;gap:20px;margin-top:20px}.scenario-actions .footnote{margin:0}.table-wrap{overflow-x:auto}.scenario-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.scenario-table th{text-align:right;color:var(--muted);font-size:10px;background:#eef2ef;font-weight:500;padding:15px 17px;border-bottom:1px solid var(--line);line-height:1.65}.scenario-table th:first-child{text-align:left;min-width:155px}.scenario-table td{padding:17px;border-bottom:1px solid #edf0ee;text-align:right;font-variant-numeric:tabular-nums}.scenario-table tbody tr:last-child td{border:0}.scenario-table td:first-child{text-align:left;font-weight:500;white-space:normal}.scenario-table td small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:5px;line-height:1.6}.col-b{background:#f2f6f1;color:var(--accent);font-weight:600}.source-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}.source{display:block;text-decoration:none;padding:16px 0;border-bottom:1px solid var(--line);position:relative;padding-right:20px}.source:last-child{border:0}.source strong{display:block;font-size:12px;font-weight:500;line-height:1.6}.source small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:4px}.source:after{content:'↗';position:absolute;right:0;top:17px;color:var(--accent);font-size:13px}.rate{display:flex;justify-content:space-between;gap:20px;font-size:12px;line-height:1.7;border-bottom:1px solid var(--line);padding:12px 0}.rate strong{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.scope-panel{margin-top:25px}.scope-panel p{font-size:12px;line-height:1.9;color:var(--muted);max-width:1000px}.roadmap-title{margin:32px 0 20px}.roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.roadmap span{font-size:12px;display:inline-block;background:#e7eeea;border-radius:50%;padding:7px 11px;color:var(--accent);margin-bottom:9px}.roadmap h4{font-size:12px;font-weight:600;margin:5px 0}.roadmap p{font-size:11px;color:var(--muted);line-height:1.8;margin:8px 0}.muted{color:#a2b0ac}footer{border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-top:40px;padding:24px 0 28px}footer p{margin:0;line-height:1.7;text-align:right;max-width:530px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 20px;background:var(--ink);color:white;font-size:12px;border-radius:8px;max-width:90vw;box-shadow:0 5px 25px #162e3026;z-index:10}.empty-hint{font-size:12px;line-height:1.8;color:var(--muted);padding:5px 0 10px}.net-comparison{margin-top:20px;padding-top:20px;border-top:1px dashed var(--line)}.difference{margin-top:13px;font-size:12px;line-height:1.7;color:var(--accent)}
@media(min-width:1400px){.wrap,.header-inner{max-width:1240px}.intro{padding-top:50px}.procedure{min-height:112px}}
@media(max-width:950px){.calculator-grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:18px}.procedure-list{grid-template-columns:repeat(2,minmax(0,1fr))}.form-panel{padding:21px}.scenario-columns{gap:25px}.scenario-columns>div{grid-template-columns:1fr}.scenario-columns h3{margin-bottom:5px}.receipt-head{padding:25px 22px}.receipt-body{padding:20px 22px}.total{font-size:32px}.source-layout{grid-template-columns:1fr 1fr}.roadmap{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.header-inner{padding:18px 20px}.wrap{padding:0 20px}.brand strong{font-size:14px}.brand-icon{width:37px;height:41px;font-size:33px;line-height:35px}.version{font-size:10px;gap:6px}.intro{padding:32px 0 24px}h1{font-size:27px;letter-spacing:-.8px}.intro p{font-size:12px}.review-date{display:none}.tabs{gap:24px;margin-bottom:24px}.tabs button{font-size:12px}.section-top{align-items:flex-start}.section-top p{font-size:12px}h2{font-size:18px}.small-tag{font-size:10px}.calculator-grid{grid-template-columns:1fr;gap:20px}.procedure-list{grid-template-columns:repeat(2,minmax(0,1fr))}.procedure{min-height:102px}.receipt{position:static}.receipt-head{padding:24px}.receipt-body{padding:23px 24px}.total{font-size:38px}.field-grid{gap:19px 13px}.field{font-size:10px}.form-panel{padding:21px}.source-layout{grid-template-columns:1fr}.scenario-intro{display:block}.scenario-intro p{margin-top:9px}.scenario-columns{gap:20px}.scenario-columns>div{gap:18px}.scenario-table th,.scenario-table td{padding:13px 14px}.scenario-actions{display:block}.scenario-actions button{margin-top:12px}.section-top{gap:12px}.stat-grid strong{font-size:20px}footer{display:block;margin-top:30px}footer p{text-align:left;margin-top:9px}.roadmap{gap:23px 16px}.receipt-actions .button{font-size:12px;padding:12px}.below-note{padding-top:20px}}
@media print{body{background:white}.header,.intro,.tabs,footer,.text-button,.receipt-actions,.procedure-list,.toast,.skip,.review-date{display:none!important}.wrap{max-width:none;padding:0}.view[hidden]{display:none!important}.calculator-grid,.source-layout{display:block}.receipt{position:static;margin-top:20px;break-inside:avoid}.receipt-head{color:#000;background:#eee}.receipt-head .eyebrow,.receipt-head .sub{color:#444}.panel{border-color:#ccc;box-shadow:none}.total{font-size:28px}.field input,.field select{border:0;padding:2px;height:25px}.quantity-note{margin-top:15px}.section-top{margin-top:10px}.scenario-table{font-size:9px}.roadmap{grid-template-columns:repeat(2,1fr)}}

/* Keep tabbed controls visible below the shared sticky header. */
html{scroll-padding-top:var(--sticky-clearance,112px)}


/* phase2.css */
.field input[readonly]{background:#edf3ef;color:var(--accent);font-weight:600}.audit-shortcut{display:block;margin:17px auto 0}.audit-date{max-width:240px;margin-bottom:23px}.audit-column-labels,.audit-entry{display:grid;grid-template-columns:minmax(130px,1fr) 130px 105px;gap:12px;align-items:center}.audit-column-labels{font-size:9px;color:var(--muted);line-height:1.6;padding-bottom:12px;border-bottom:1px solid var(--line)}.audit-column-labels span:last-child{text-align:center}.audit-entry{min-height:58px;border-bottom:1px solid #edf0ee;padding:10px 0}.audit-entry>input{min-width:0;width:100%;font:inherit;font-size:12px;font-variant-numeric:tabular-nums;text-align:right;border:1px solid #ccd6d3;border-radius:5px;padding:8px 9px;height:36px}.audit-entry>input:disabled{background:#f6f8f5;color:#94a49c;border-color:#e9ede8}.audit-entry .check{font-size:11px}.audit-tax{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;line-height:1.6;color:var(--muted)}.audit-tax input{accent-color:var(--accent);width:13px;height:13px;margin:0}.audit-totals{margin-top:23px}.audit-link{margin-top:23px}.audit-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px}.audit-actions .footnote{margin:0;text-align:right}.missing-list{font-size:12px;line-height:1.8;padding-left:19px;color:var(--muted);margin:15px 0}.missing-list li{margin-bottom:9px}.check-result{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:12px;line-height:1.6;border-bottom:1px solid var(--line);margin-top:5px}.check-result strong{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums;font-weight:600}.check-result.aligned{color:var(--accent)}.check-result.differs{color:var(--danger)}.print-audit{display:block;margin:17px auto 0}.comparison-panel{margin-top:25px}.comparison-panel caption{text-align:left;font-size:14px;font-weight:600;color:var(--ink);padding:23px 18px}.difference-cell{color:var(--danger)}.text-transfer{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.text-transfer .button{max-width:100%;font-size:11px;line-height:1.6}.source-layout{align-items:start}
@media(max-width:1050px){.audit-column-labels,.audit-entry{grid-template-columns:minmax(95px,1fr) 100px 80px;gap:8px}.audit-tax{font-size:8px}.audit-entry .check{font-size:10px}}
@media(max-width:700px){.audit-column-labels,.audit-entry{grid-template-columns:minmax(95px,1fr) 100px 75px;gap:6px}.audit-tax{font-size:8px;gap:3px}.audit-entry .check{font-size:10px;gap:6px}.audit-actions{display:block}.audit-actions .footnote{text-align:left;margin-top:10px}.comparison-panel caption{font-size:12px;line-height:1.7}.audit-column-labels{font-size:8px}.text-transfer .button{padding:10px}.tabs{gap:23px}}
@media(max-width:380px){.audit-column-labels,.audit-entry{grid-template-columns:minmax(80px,1fr) 85px 70px;gap:5px}.audit-tax span{font-size:7px}.audit-entry .check{font-size:9px}}
.audit-extra-fees{margin-top:14px;border:1px solid var(--line);border-radius:6px;padding:0 12px}.audit-extra-fees>summary{font-size:11px;line-height:1.6;color:var(--accent);cursor:pointer;padding:13px 0}.audit-extra-fees[open]>summary{border-bottom:1px solid var(--line)}.audit-extra-fees .audit-entry:last-child{border-bottom:0}.audit-link:has(input:disabled){color:var(--muted)}
@media(max-width:700px){.audit-extra-fees{padding:0 7px}}
.audit-filter{font-size:11px;margin:0 0 16px}#audit-fields[data-selected-only=true] .audit-entry[data-selected=false]{display:none}
@media print{.audit-entry[data-selected=false],.audit-actions,.audit-shortcut,.text-transfer,.audit-filter{display:none!important}.audit-entry input,.audit-totals input{border:0!important;background:#fff!important}.comparison-panel{break-inside:avoid}.missing-list{color:#333}.check-result.aligned{color:#000}}

#vehicle-price,#vehicle-kasko{font-variant-numeric:tabular-nums;font-size:16px;text-align:right;letter-spacing:.2px}

.vehicle-breakdown{border:1px solid #cfddd5;border-radius:9px;background:#f8faf8;padding:17px 18px 18px;margin:25px 0 22px;min-width:0}.vehicle-breakdown legend{font-size:13px;font-weight:600;color:var(--accent);padding:0 7px}.vehicle-breakdown>p:first-of-type{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 19px}.vehicle-breakdown-wide{grid-column:1/-1}.vehicle-breakdown .text-button{margin-top:14px;font-size:11px}.vehicle-allocation-status{font-size:12px;line-height:1.8;border-top:1px solid var(--line);padding-top:13px;margin:16px 0 0;color:var(--accent);font-weight:500}
.vehicle-method{font-size:12px;line-height:1.8;color:var(--muted);margin-top:14px}.vehicle-method summary{cursor:pointer;color:var(--accent);font-weight:600}.vehicle-method table{border-collapse:collapse;font-size:11px;width:100%;margin-top:12px}.vehicle-method caption{text-align:left;font-weight:600;color:var(--ink);padding:7px 0}.vehicle-method th,.vehicle-method td{padding:6px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line)}.vehicle-method th:first-child,.vehicle-method td:first-child{text-align:left}


/* notice.css */
.notice-case{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:21px 25px;margin-bottom:24px;background:#edf3ef;border-color:#cfddd5}.notice-case .eyebrow{display:block;font-size:9px;margin-bottom:8px}.notice-case strong{display:block;font-size:15px;font-weight:600;line-height:1.6}.notice-case p{margin:6px 0 0;font-size:11px;color:var(--muted);line-height:1.7}.notice-case-actions{display:flex;gap:9px;flex-shrink:0}.notice-group{border:0;margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid var(--line);min-width:0}.notice-group legend{padding:0 0 20px;font-size:13px;font-weight:600}.notice-group legend span{display:inline-flex;align-items:center;justify-content:center;background:var(--soft);color:var(--accent);border-radius:50%;width:24px;height:24px;font-size:9px;margin-right:8px}.notice-group .method-note{margin-top:16px;font-size:10px}.notice-wide{grid-column:1/-1}.notice-text-link{display:block;margin-top:14px}.notice-limit{font-size:10px;color:var(--warm);line-height:1.8;background:var(--warm-bg);border-radius:6px;padding:11px 12px;margin:19px 0}.notice-missing{font-size:11px;line-height:1.7;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.notice-missing strong{font-weight:500;color:var(--warm)}.notice-missing p{font-size:10px;color:var(--muted)}.notice-observations{margin-top:25px;padding:20px 25px;font-size:12px;line-height:1.7}.notice-observations summary{font-weight:500;cursor:pointer}.notice-observations p{font-size:11px;color:var(--muted);line-height:1.85;margin:15px 0 0;max-width:970px}.notice-comparison-table caption .small-tag{display:inline-block;vertical-align:middle;margin-left:15px;font-size:9px;font-weight:400}.notice-comparison-table tbody tr:last-child{background:var(--soft);font-weight:600}.notice-table-note{padding:0 18px 18px}.notice-table-note p{font-size:10px;line-height:1.8;color:var(--muted);margin:13px 0 0}.text-transfer{display:flex;gap:10px;flex-wrap:wrap}.text-transfer .footnote{width:100%}.tabs{gap:27px}
@media(max-width:1000px){.notice-case{align-items:flex-start}.notice-case-actions{flex-direction:column}.tabs{gap:22px}}
@media(max-width:700px){.notice-case{display:block;padding:19px 21px}.notice-case-actions{flex-direction:row;margin-top:17px;flex-wrap:wrap}.notice-case strong{font-size:14px}.notice-group legend{font-size:12px}.notice-comparison-table caption .small-tag{display:block;width:max-content;margin:10px 0 0}.notice-observations{padding:18px 21px}.notice-comparison-table{font-size:11px}.notice-comparison-table th,.notice-comparison-table td{padding:12px}.notice-comparison-table th:first-child{min-width:130px}.notice-observations summary{font-size:11px}}
@media print{.notice-case-actions,.notice-text-link{display:none!important}.notice-case{padding:12px 16px;margin-bottom:18px}.notice-group{margin-bottom:14px;padding-bottom:14px}.notice-group legend{padding-bottom:10px}.notice-observations{break-inside:avoid}.notice-comparison-table{font-size:10px}.notice-limit{color:#333}.notice-table-note p{color:#333}}


/* workspace.css */
.notice-workspace{margin:0 0 24px;overflow:hidden}.notice-workspace>summary{cursor:pointer;font-size:13px;font-weight:600;padding:18px 24px;line-height:1.8}.notice-workspace>summary .small-tag{display:inline-block;margin-left:12px;font-size:9px;font-weight:400;vertical-align:middle}.notice-workspace[open]>summary{border-bottom:1px solid var(--line);background:#f8faf8}.workspace-content{padding:24px}.workspace-file-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px}.workspace-file-toolbar h3{font-size:14px;margin-bottom:8px}.workspace-file-toolbar p{font-size:11px;color:var(--muted);line-height:1.8;margin:0}.workspace-file-actions{display:flex;gap:8px;flex-shrink:0}.workspace-file-status{font-size:11px;color:var(--accent);line-height:1.8;margin:10px 0}.workspace-file-status:empty{display:none}.workspace-scenario-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:22px;margin-top:23px}.workspace-scenario-heading h3{font-size:14px;margin:0}.workspace-scenario-heading .footnote{margin:0;white-space:nowrap}.workspace-content>.body-note{margin:12px 0 18px}.workspace-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.workspace-card{border:1px solid var(--line);border-radius:8px;padding:19px 20px;display:flex;flex-direction:column;min-width:0}.workspace-card-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.workspace-letter{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:var(--soft);font-size:12px;color:var(--accent);font-weight:600}.workspace-card-top strong{font-size:21px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.workspace-card>p{color:var(--muted);font-size:10px;line-height:1.8;margin:13px 0}.workspace-card dl{margin:4px 0 13px;font-size:11px;line-height:1.7}.workspace-card dl>div{display:flex;justify-content:space-between;gap:15px;padding:3px 0}.workspace-card dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.workspace-card-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:8px}.workspace-card-actions .button{font-size:10px;padding:9px 10px}.workspace-card-actions .text-button{font-size:10px}.workspace-card-actions .workspace-remove{color:var(--muted);margin-left:auto}.workspace-card .workspace-copy-detail{font-size:9px;margin-top:0}.workspace-hint{color:var(--muted);font-size:11px;line-height:1.8;margin:20px 0 15px}.workspace-delta{display:flex;align-items:center;justify-content:space-between;gap:25px;background:var(--soft);border-radius:7px;padding:17px 20px;margin:23px 0 15px}.workspace-delta span{display:block;font-size:10px;color:var(--muted);line-height:1.7}.workspace-delta strong{display:block;font-size:26px;font-weight:500;font-variant-numeric:tabular-nums;margin-top:4px;white-space:nowrap;letter-spacing:-.7px}.workspace-delta p{max-width:400px;color:var(--muted);font-size:10px;line-height:1.8;margin:0}.workspace-table td,.workspace-table th{padding:12px 14px}.workspace-table .workspace-total-row{background:var(--soft);font-weight:600}.workspace-csv{margin-top:18px}.plan-current{display:flex;justify-content:space-between;gap:30px;padding:27px 29px;background:var(--soft);border-color:#cfddd5;margin-bottom:24px}.plan-current h3{font-size:20px;letter-spacing:-.4px;margin-bottom:12px}.plan-current p{font-size:12px;color:var(--muted);line-height:1.9;margin:0;max-width:820px}.plan-step-number{font-size:50px;letter-spacing:-2px;font-weight:300;color:#a1b8ab;line-height:1.4}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.plan-card{padding:25px 27px;display:flex;flex-direction:column}.plan-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.plan-card-heading>span{font-size:10px;color:var(--accent);background:var(--soft);padding:6px 7px;border-radius:5px;font-variant-numeric:tabular-nums}.plan-card-heading>strong{font-size:10px;font-weight:400;color:var(--muted)}.plan-card h3{font-size:16px;margin-bottom:11px}.plan-card p{font-size:12px;color:var(--muted);line-height:1.85;margin:0 0 19px}.plan-delivery{border-top:1px solid var(--line);padding-top:15px;margin-top:auto}.plan-delivery strong{font-size:10px;font-weight:500;color:var(--accent)}.plan-delivery p{font-size:10px;line-height:1.8;margin:6px 0 0}.plan-evidence{margin-top:25px}.plan-evidence>p{font-size:12px;line-height:1.85;color:var(--muted);margin:0 0 20px}.plan-evidence>p.footnote{font-size:10px;margin:15px 0 0}.plan-table{white-space:normal}.plan-table td,.plan-table th{text-align:left;line-height:1.8;vertical-align:top}.plan-table th:first-child{width:35%}.plan-table td:last-child,.plan-table th:last-child{white-space:nowrap;width:130px}.tabs{gap:22px}
.workspace-file-status.result-error{color:var(--danger)}
@media(max-width:950px){.workspace-file-toolbar{align-items:flex-start}.workspace-file-actions{flex-direction:column}.workspace-card-actions{gap:8px}.workspace-card-actions .button{width:100%}.workspace-card-top strong{font-size:19px}.plan-card{padding:23px}.plan-table td:last-child,.plan-table th:last-child{width:100px}.tabs{gap:20px}}
@media(max-width:700px){.notice-workspace>summary{padding:16px 20px;font-size:12px}.notice-workspace>summary .small-tag{font-size:8px;margin-left:5px}.workspace-content{padding:20px}.workspace-file-toolbar{display:block}.workspace-file-actions{flex-direction:row;margin-top:16px;flex-wrap:wrap}.workspace-scenario-heading{display:block}.workspace-scenario-heading .footnote{display:block;margin-top:9px}.workspace-cards{grid-template-columns:1fr;gap:14px}.workspace-card-actions .button{width:auto}.workspace-delta{display:block;padding:16px 18px}.workspace-delta p{margin-top:10px}.workspace-table td,.workspace-table th{padding:11px}.workspace-table th:first-child{min-width:155px}.plan-current{padding:23px;gap:15px}.plan-current h3{font-size:18px}.plan-current p{font-size:11px}.plan-step-number{font-size:35px}.plan-grid{grid-template-columns:1fr;gap:18px}.plan-card{padding:22px}.plan-table{min-width:560px}.plan-evidence>p{font-size:11px}}
@media print{.workspace-file-toolbar,.workspace-card-actions,.workspace-file-status,.workspace-csv,#notice-workspace-ready{display:none!important}.workspace-content{padding:14px}.workspace-card,.plan-card{break-inside:avoid}.workspace-delta{break-inside:avoid}.workspace-table{font-size:9px}.workspace-table td,.workspace-table th{padding:8px 10px}.plan-grid{gap:15px}.plan-current{padding:18px}.plan-card{padding:17px}.plan-evidence{break-inside:avoid}.plan-table{font-size:10px}}


/* tariffs.css */
.tariff-context{font-size:10px;line-height:1.8;color:var(--accent);background:var(--soft);border-radius:5px;padding:9px 11px;margin:0 0 21px}.tariff-context:empty{display:none}.tariff-controls{margin-bottom:21px}.tariff-controls .field-grid{max-width:790px}.tariff-control-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:17px}.tariff-status{display:flex;justify-content:space-between;gap:30px;padding:23px 26px;margin-bottom:20px;background:var(--soft);border-color:#cddbd4}.tariff-status .eyebrow{display:block;font-size:9px;margin-bottom:8px}.tariff-status strong{display:block;font-size:22px;letter-spacing:-.5px;font-weight:500;line-height:1.5}.tariff-status p{font-size:11px;line-height:1.8;color:var(--muted);margin:5px 0 0}.tariff-status>div:last-child:not(:first-child){text-align:right}.tariff-status>div>span:not(.eyebrow){font-size:10px;color:var(--muted);display:block;margin-bottom:7px}.tariff-status>div:last-child:not(:first-child)>strong{font-size:16px}.tariff-status p.result-error{color:var(--danger)}.tariff-table{white-space:normal}.tariff-table caption{text-align:left;padding:20px;font-size:13px;font-weight:500}.tariff-table th,.tariff-table td{padding:15px 20px;line-height:1.7;vertical-align:top}.tariff-table th:first-child,.tariff-table td:first-child{width:38%;min-width:230px}.tariff-table th:nth-child(2),.tariff-table td:nth-child(2){white-space:nowrap;font-weight:600}.tariff-table td:nth-child(3),.tariff-table td:nth-child(4),.tariff-table th:nth-child(3),.tariff-table th:nth-child(4){text-align:left}.tariff-table td:nth-child(3){font-size:11px;white-space:nowrap}.tariff-table td small{font-size:10px;font-weight:400;line-height:1.75;margin-top:5px}.tariff-unknown{color:var(--warm);background:var(--warm-bg);padding:5px 8px;font-size:10px;border-radius:5px;font-weight:500}.tariff-no-data{padding:20px 25px}.tariff-info-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;margin-top:26px}.tariff-history-item{display:grid;grid-template-columns:105px 1fr;gap:17px;border-bottom:1px solid var(--line);padding:18px 0}.tariff-history-item:last-child{border-bottom:0;padding-bottom:0}.tariff-history-item time{font-size:10px;color:var(--muted);line-height:1.8}.tariff-history-item h4{font-size:12px;line-height:1.7;margin:0 0 7px;font-weight:600}.tariff-history-item p{font-size:11px;line-height:1.85;color:var(--muted);margin:0 0 12px}.tariff-history-item .small-tag{font-size:9px;line-height:1.6;display:inline-block;white-space:normal}.tariff-history-links{font-size:9px;line-height:1.9;margin-top:10px}.tariff-version{display:flex;align-items:flex-start;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.tariff-version>span{background:var(--soft);color:var(--accent);font-size:10px;padding:6px 8px;border-radius:5px;font-variant-numeric:tabular-nums}.tariff-version strong{font-size:12px;font-weight:500;line-height:1.7}.tariff-version p{font-size:10px;color:var(--muted);line-height:1.8;margin:6px 0 0}.tariff-sources{margin-top:25px;padding:20px 25px}.tariff-sources summary{font-size:13px;font-weight:500;cursor:pointer;line-height:1.8}.tariff-sources .source{margin-top:10px}.workspace-scenario-heading .footnote{white-space:normal;text-align:right;max-width:55%}
@media(max-width:950px){.tariff-info-grid{grid-template-columns:1fr 1fr;gap:18px}.tariff-history-item{grid-template-columns:1fr;gap:6px}.tariff-table th,.tariff-table td{padding:14px 16px}}
@media(max-width:700px){.tariff-status{padding:20px;display:block}.tariff-status>div:last-child:not(:first-child){text-align:left;border-top:1px solid #cfddd5;margin-top:18px;padding-top:16px}.tariff-status strong{font-size:21px}.tariff-info-grid{grid-template-columns:1fr;gap:20px}.tariff-table{min-width:650px}.tariff-table th:first-child,.tariff-table td:first-child{min-width:210px}.tariff-table td,.tariff-table th{padding:13px 15px}.tariff-history-item{grid-template-columns:90px 1fr;gap:12px}.tariff-control-actions{align-items:flex-start}.tariff-control-actions .button{font-size:10px}.tariff-controls .field-grid{grid-template-columns:1fr}.workspace-scenario-heading .footnote{max-width:none;text-align:left}.tariff-sources{padding:18px 21px}}
@media print{.tariff-control-actions,.tariff-sources{display:none!important}.tariff-info-grid{display:block}.tariff-info-grid>.panel{margin-top:18px}.tariff-table{font-size:10px}.tariff-table th,.tariff-table td{padding:9px 12px}.tariff-status{break-inside:avoid}.tariff-history-item{break-inside:avoid}.tariff-context{color:#333;background:#f1f1f1}.tariff-unknown{color:#333}}
.tariff-quick-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px}.tariff-quick-filters button{font:inherit;font-size:11px;line-height:1.5;padding:11px 14px;min-height:42px;border:1px solid #cbd8cf;border-radius:6px;color:var(--accent);background:white;cursor:pointer}.tariff-quick-filters button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}.tariff-quick-filters button:focus-visible{outline:3px solid #b38b41;outline-offset:3px}.tariff-search-row{display:flex;align-items:center;gap:22px;max-width:790px;margin-top:18px}.tariff-search-row>.field{flex:1}.tariff-search-row>.text-button{white-space:nowrap;min-height:42px}.tariff-controls .method-note{margin-bottom:0}.tariff-table{min-width:960px;table-layout:fixed}.tariff-table th:first-child,.tariff-table td:first-child{width:36%;white-space:normal}.tariff-table th:nth-child(2),.tariff-table td:nth-child(2){width:20%;white-space:normal;text-align:right}.tariff-table th:nth-child(3),.tariff-table td:nth-child(3){width:20%;white-space:normal}.tariff-table th:nth-child(4),.tariff-table td:nth-child(4){width:24%;overflow-wrap:anywhere}.tariff-table tbody th{font-weight:500;text-align:left;background:white;font-size:12px;color:var(--ink);border-bottom:1px solid var(--line)}.tariff-table tbody th small,.tariff-table td small{display:block;white-space:normal;max-width:none;font-size:10px;font-weight:400;color:var(--muted);line-height:1.8;margin-top:6px}.tariff-value{font-size:13px;line-height:1.7;display:block}.tariff-recipient{font-weight:500;font-size:11px}.tariff-row-status{font-size:9px;line-height:1.6;font-weight:500;display:inline-block;border:1px solid #d4dfd8;border-radius:4px;padding:3px 6px;margin-top:9px;color:var(--accent);background:#f4f7f3}.tariff-row-missing,.tariff-row-variable{color:#7a531d;border-color:#e4d8bd;background:#fbf6e9}.tariff-vehicle-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:23px 26px;background:var(--soft);border:1px solid #cddbd4;border-radius:10px}.tariff-vehicle-summary span{font-size:11px;display:block;margin-bottom:8px;color:var(--accent)}.tariff-vehicle-summary strong{display:block;font-size:18px;line-height:1.7;font-weight:500;letter-spacing:-.3px}.tariff-vehicle-summary p{font-size:11px;color:var(--muted);line-height:1.8;margin:8px 0 0}.tariff-reference-note{font-size:12px;line-height:1.9;padding:18px 23px;border-left:3px solid #7f9e88;background:var(--soft);color:var(--accent)}
@media(max-width:700px){.tariff-quick-filters{gap:8px}.tariff-quick-filters button{flex:1 1 140px;padding:11px;font-size:10px}.tariff-search-row{align-items:stretch;gap:10px;flex-direction:column}.tariff-search-row>.text-button{align-self:flex-start}.tariff-vehicle-summary{grid-template-columns:1fr;gap:17px;padding:20px}.tariff-vehicle-summary>div+div{border-top:1px solid #cddbd4;padding-top:16px}.tariff-vehicle-summary strong{font-size:17px}.tariff-table th:first-child,.tariff-table td:first-child{width:34%}.tariff-reference-note{font-size:11px;padding:15px 18px}}
@media print{.tariff-search-row,.tariff-quick-filters{display:none!important}.tariff-table{min-width:0;table-layout:auto}.tariff-table tbody th{font-size:10px}.tariff-table tbody th small,.tariff-table td small{font-size:9px}.tariff-vehicle-summary{break-inside:avoid}}


/* allocation.css */
.allocation{margin:23px 0;padding:20px 0 0;border-top:1px solid var(--line)}
.allocation h3{margin-bottom:7px}.allocation p{font-size:11px;line-height:1.7;color:var(--muted)}
.allocation-intro{margin:0 0 13px}.allocation dl{margin:0;display:grid;gap:9px}
.allocation-group{border:1px solid #dce6e2;background:#f2f6f3;border-radius:7px;padding:13px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.allocation-group dt{font-size:11px;line-height:1.5;max-width:61%}.allocation-group dt small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:5px;line-height:1.6}.allocation-group dd{margin:0;font-size:14px;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.allocation-service{background:#e9f1ee;border-color:#bacec5}.allocation-thirdParty{background:#f5f6f4}.allocation-unclassified{background:var(--warm-bg);border-color:#e6d5b3}
.allocation-check{display:flex;justify-content:space-between;gap:14px;font-size:11px;padding:14px 0 12px;font-variant-numeric:tabular-nums}
.allocation .allocation-warning{color:#80531c}.allocation details{border-top:1px dashed var(--line);padding-top:12px;font-size:10px;line-height:1.7}
.allocation summary{color:var(--accent);cursor:pointer;font-weight:600}.allocation h4{margin:15px 0 6px;font-size:10px}
.allocation-details>div{display:flex;justify-content:space-between;gap:15px;padding:4px 0;font-size:10px}.allocation-details strong{font-weight:500;white-space:nowrap}
.allocation .allocation-footnote{font-size:10px;margin:12px 0 0}.allocation-details p{font-size:10px}
.legal-notice{background:#edf2ef;border:1px solid #d8e3dc;border-radius:9px;padding:13px 17px;margin:-8px 0 25px;font-size:11px;line-height:1.7;color:#465f59}
.legal-notice summary{cursor:pointer;color:var(--accent);font-weight:600}.legal-notice summary span{font-weight:400;margin-left:7px;color:#526960}
.legal-notice p{margin:10px 0 0;max-width:1000px}.legal-notice a{white-space:nowrap}
@media(max-width:700px){.legal-notice summary span{display:block;margin:4px 0 0}.allocation-group{gap:10px}.allocation-group dt small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:5px;line-height:1.6}.allocation-group dd{font-size:13px}}
@media print{.allocation{break-inside:avoid}.allocation details>summary{display:none}.allocation details>.allocation-details{display:block!important}.legal-notice{margin:10px 0;font-size:9px}.legal-notice>p{display:block!important}.legal-notice summary{list-style:none}.legal-notice::details-content{content-visibility:visible;display:block}}


/* help.css */
.help-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:-7px 0 23px;padding:13px 17px;background:#fff;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:11px;line-height:1.7}.help-bar p{margin:0}.help-bar .help-term{font-weight:600;font-size:11px;white-space:nowrap}
.field-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:30px;margin:-3px 0 -3px}.field-heading label{cursor:pointer;line-height:1.6;flex:1;min-width:0}.help-trigger,.help-term{color:var(--accent);border:0;background:transparent;font:inherit;cursor:help}.help-trigger{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;padding:4px;border-radius:6px}.help-icon,.notice-group legend .help-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;border:1px solid #9bb5ac;border-radius:50%;font-size:10px;font-weight:600;line-height:1;background:transparent;color:var(--accent);letter-spacing:0;margin:0}
.help-term{display:inline-block;vertical-align:baseline;min-height:24px;max-width:100%;text-align:left;line-height:inherit;padding:0;border-radius:3px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;text-decoration-color:#9fb5ad}.help-term .help-icon{vertical-align:middle;margin-left:7px}.help-trigger:hover,.help-trigger[aria-expanded=true]{background:#e2eee7}.help-term:hover,.help-term[aria-expanded=true]{color:#0a6564;text-decoration-style:solid}.help-term:focus-visible,.help-trigger:focus-visible{outline-offset:3px}
.receipt-row .help-term{font-size:inherit}.receipt-row>span:first-child{min-width:0}.audit-label{display:flex;align-items:center;gap:4px;min-width:0}.audit-label .check{flex:1;min-width:0}.audit-label .help-trigger{width:25px;height:30px}.allocation h3 .help-term{font-weight:600}.notice-group legend .help-term{font-size:inherit;font-weight:inherit}
.help-panel{position:fixed;z-index:30;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:1px solid #b7cdc0;border-radius:12px;background:#fff;box-shadow:0 12px 38px #173c3b30;color:var(--ink);font-size:12px;line-height:1.8}.help-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:19px 20px 13px;background:#eef5f0;border-bottom:1px solid #dce7df;position:sticky;top:0;z-index:1}.help-kicker{display:block;font-size:9px;letter-spacing:1.4px;color:#4e7766;margin-bottom:5px;font-weight:600}.help-panel h2{font-size:17px;letter-spacing:-.2px;line-height:1.4;margin:0}.help-close{display:flex;align-items:center;gap:6px;padding:5px 7px;min-height:30px;border:1px solid #c6d6cc;border-radius:5px;background:white;color:var(--accent);font-size:10px;cursor:pointer;white-space:nowrap}.help-close span{font-size:16px}.help-panel-body{padding:16px 20px 20px}.help-panel-body p{margin:0 0 14px}.help-panel-body h3{font-size:12px;margin:15px 0 8px}.help-panel ol{margin:0 0 17px;padding-left:20px}.help-panel li{padding-left:3px;margin-bottom:7px}.help-definitions{margin:13px 0 16px}.help-definitions>div{padding:10px 0;border-top:1px solid var(--line)}.help-definitions dt{font-size:12px;font-weight:600}.help-definitions dd{margin:4px 0 0;font-size:11px;color:#536b63}.help-example{border-left:3px solid #8caf99;background:#f1f6f1;border-radius:0 6px 6px 0;padding:11px 13px;margin:14px 0}.help-example strong{font-size:10px;color:#32634c}.help-example p{font-size:11px;margin:4px 0 0}.help-panel p.help-note{font-size:10px;color:#65756d;line-height:1.8;margin-bottom:0}.help-sources{border-top:1px solid var(--line);padding-top:11px;margin-top:14px;font-size:10px}.help-sources a{display:block}
@media(max-width:700px){.help-bar{align-items:flex-start;padding:12px 14px;font-size:10px}.help-bar .help-term{font-size:10px}.help-panel{font-size:12px}.help-panel-head{padding:16px}.help-panel-body{padding:15px 16px 18px}.audit-label{gap:0;flex-wrap:wrap}.audit-label .help-trigger{width:24px;height:25px}.help-panel h2{font-size:16px}}
@media(pointer:coarse){.help-trigger{min-width:36px;min-height:36px}.help-close{min-height:38px;min-width:60px}.help-term{min-height:32px}.field-heading{min-height:36px}}
@media print{.help-bar,.help-panel,.help-trigger,.help-icon{display:none!important}.help-term{color:inherit;text-decoration:none;min-height:0;font:inherit}.field-heading{min-height:0;margin:0}.audit-label{display:block}}


/* guide.css */
.guide-reading-tip{font-size:13px;line-height:1.8;color:#435c60;background:var(--soft);border-radius:8px;padding:13px 18px;margin:0 0 20px}.guide-roadmap{margin-top:25px}.guide-roadmap .body-note:last-child{margin-bottom:0}.guide-tools{padding:22px 25px;margin-bottom:22px}.guide-search-label{font-size:13px;font-weight:600;display:block;margin-bottom:9px}.guide-search-row{display:flex;gap:10px;align-items:center}.guide-search-row input{width:100%;max-width:700px;height:45px;border:1px solid #bdceca;border-radius:6px;padding:11px 13px;font-size:14px;color:var(--ink);background:white}.guide-search-row .text-button{font-size:12px;white-space:nowrap;padding:10px}.guide-search-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 19px}.guide-filters{display:flex;flex-wrap:wrap;gap:8px}.guide-filters button{border:1px solid var(--line);border-radius:20px;background:#fff;color:#496064;padding:9px 14px;font-size:12px;min-height:36px}.guide-filters button[aria-pressed=true]{color:#fff;border-color:var(--accent);background:var(--accent)}.guide-result-count{font-size:12px;color:var(--muted);margin:17px 0 0}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.guide-card{padding:23px 25px;min-width:0}.guide-category{display:block;font-size:10px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:var(--accent);margin-bottom:12px}.guide-card h3{font-size:17px;line-height:1.5;margin:0 0 11px;font-weight:600;letter-spacing:-.2px}.guide-answer{font-size:14px;line-height:1.8;margin:0 0 15px;color:#43585c}.guide-card details{border-top:1px solid var(--line)}.guide-card summary{color:var(--accent);font-size:12px;font-weight:600;cursor:pointer;padding:14px 0;line-height:1.7}.guide-card summary:focus-visible{outline:3px solid #b38b41;outline-offset:3px}.guide-detail{font-size:13px;line-height:1.8;padding-bottom:12px}.guide-detail>p{margin:0 0 15px}.guide-example{padding:13px 15px;background:var(--bg);border-left:3px solid #a6bfb6;border-radius:0 6px 6px 0;margin-bottom:16px}.guide-example strong{font-size:11px;color:var(--accent)}.guide-example p{margin:4px 0 0}.guide-evidence{font-size:11px;line-height:1.8;color:var(--muted)}.guide-evidence>strong{display:block;color:#405c60;font-weight:600}.guide-evidence ul{margin:5px 0 10px;padding-left:18px}.guide-evidence li{padding:3px 0;overflow-wrap:anywhere}.guide-evidence p{margin:6px 0}.guide-reviewed{font-size:10px}.guide-new-tab{font-size:10px;font-weight:400;white-space:nowrap}.guide-action{border-top:1px solid var(--line);padding-top:12px}.guide-action .text-button,.guide-service-link{font-size:12px;line-height:1.7;font-weight:600;text-underline-offset:3px}.guide-empty{padding:30px;text-align:center}.guide-empty h3{margin-bottom:10px;font-size:17px}.guide-empty p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:19px}.guide-scope{margin:22px 0 0;font-size:11px;line-height:1.8;color:var(--muted);max-width:900px}
@media(max-width:680px){.guide-grid{grid-template-columns:1fr}.guide-tools,.guide-card{padding:19px}.guide-search-row{gap:2px}.guide-filters{gap:7px}.guide-filters button{padding:9px 12px}.guide-card h3{font-size:17px}.guide-answer{font-size:14px}.guide-search-row input{min-width:0}.guide-search-row .text-button{padding:9px 4px}}
@media print{.guide-tools,.guide-action{display:none}.guide-grid{display:block}.guide-card{break-inside:avoid;margin-bottom:15px}.guide-card details{display:block}.guide-category{color:#333}.guide-card{border-color:#aaa}}


/* scenario.css */
.scenario-base{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;padding:21px 25px;margin-bottom:20px;background:var(--soft);border-color:#ccdcd4}.scenario-base .eyebrow{margin-bottom:7px;font-size:9px}.scenario-base strong{font-size:22px;font-weight:600;letter-spacing:-.5px}.scenario-base p{font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0 0}.scenario-base-arrow{font-size:24px;color:#7d9b8b}.scenario-base-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:9px;font-size:11px}.scenario-units{margin:20px 0 0;overflow:hidden}.scenario-units>summary{padding:17px 24px;font-size:13px;font-weight:600;color:var(--accent);cursor:pointer;line-height:1.7}.scenario-units>summary:focus-visible{outline:3px solid #b38b41;outline-offset:-4px}.scenario-units[open]>summary{border-bottom:1px solid var(--line)}.scenario-units .table-wrap{border:0;border-radius:0}.scenario-units-note{font-size:11px;line-height:1.8;margin:0;padding:15px 24px;color:var(--muted);border-top:1px solid var(--line)}.scenario-study-table td:first-child{white-space:normal;min-width:175px}.scenario-study-table td small{white-space:normal;max-width:220px;line-height:1.7}.scenario-study-table .scenario-base-col{background:#f3f7f4}.scenario-study-table .scenario-growth{color:var(--accent)}
@media(max-width:700px){.scenario-base{padding:19px;gap:12px}.scenario-base strong{font-size:18px}.scenario-base p{font-size:10px}.scenario-base-arrow{font-size:18px}.scenario-base-links{gap:7px;font-size:10px}.scenario-units>summary{padding:16px 19px}.scenario-units-note{padding:14px 19px}.scenario-study-table{min-width:830px}}
@media(max-width:430px){.scenario-base{grid-template-columns:1fr}.scenario-base-arrow{display:none}.scenario-base>div:last-child{border-top:1px solid #d0ddd5;padding-top:12px}}
@media print{.scenario-base{background:#eee;grid-template-columns:1fr auto 1fr}.scenario-units{break-inside:avoid}}
.scenario-assumptions{margin-bottom:22px}.scenario-description{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 20px}.scenario-assumptions .field small{font-size:10px;font-weight:400;line-height:1.8;color:var(--muted)}.scenario-basis-settings{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}.scenario-basis-settings>summary{cursor:pointer;color:var(--accent);font-size:12px;font-weight:600;line-height:1.8}.scenario-basis-settings .field-grid{margin-top:20px}.scenario-basis-summary{font-size:11px;line-height:1.85;background:#f3f6f2;border-left:3px solid #7f9e88;padding:12px 16px;margin:18px 0 0}.scenario-output-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:28px 0 8px}.scenario-output-bar>.field{min-width:280px;max-width:390px}.scenario-output-actions{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:1px}.scenario-output-actions button:disabled{opacity:.45;cursor:not-allowed}.scenario-scope-note{font-size:11px;line-height:1.85;color:var(--muted);padding:0 0 15px;margin:8px 0}.scenario-table caption{text-align:left;padding:16px 20px;font-weight:600;font-size:13px;color:var(--accent);white-space:normal;line-height:1.6}.scenario-table tbody th{background:white;color:var(--ink);font-size:12px;font-weight:500;text-align:left;border-bottom:1px solid #edf0ee}.scenario-table tbody th small{display:block;color:var(--muted);font-size:10px;font-weight:400;line-height:1.65;margin-top:5px;white-space:normal}.scenario-study-table{table-layout:fixed;min-width:1000px}.scenario-study-table th:first-child{width:32%;white-space:normal}.scenario-study-table td{vertical-align:top}.scenario-study-table td small{font-size:10px;line-height:1.7}.scenario-component-table{min-width:660px}.scenario-component-table tbody th{white-space:normal;max-width:400px}.scenario-component-table .scenario-group th{background:#eef3ef;font-weight:600;white-space:normal}.scenario-revaluation-table{margin-top:16px;min-width:580px}.scenario-method{padding:7px 24px 16px}.scenario-method p{font-size:12px;line-height:1.85;color:var(--muted);margin:14px 0}.scenario-revaluation-table+.scenario-units-note{padding-left:0;padding-right:0}.scenario-columns .field{min-width:0}.scenario-columns .field input{width:100%}
@media(max-width:950px){.scenario-output-bar{align-items:stretch;flex-direction:column;gap:16px}.scenario-output-bar>.field{max-width:100%;min-width:0}.scenario-output-actions{margin:0}.scenario-study-table{min-width:950px}}
@media(max-width:700px){.scenario-description{font-size:11px}.scenario-output-actions{display:grid;grid-template-columns:1fr 1fr}.scenario-output-actions button:first-child{grid-column:1/-1}.scenario-output-actions .button{font-size:12px;padding:13px 12px}.scenario-basis-summary{padding:12px;font-size:11px}.scenario-table tbody th{padding:13px 14px}.scenario-method{padding:7px 19px 16px}.scenario-columns{gap:16px}.scenario-columns .field{font-size:10px}}
.scenario-preview-dialog{width:min(1220px,calc(100% - 32px));max-height:94vh;padding:0;border:1px solid var(--line);border-radius:10px;box-shadow:0 20px 80px #102d3255}.scenario-preview-dialog::backdrop{background:#173e45a6}.scenario-preview-dialog[open]{display:flex;flex-direction:column}.scenario-preview-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;background:#f1f5f1;border-bottom:1px solid var(--line)}.scenario-preview-header h2{font-size:15px;margin:0}.scenario-preview-header>div{display:flex;gap:12px;align-items:center}.scenario-preview-content{overflow:auto;min-height:0;background:white}.scenario-preview-content .scenario-report{font-size:11pt}.scenario-preview-content .scenario-report .report-comparison{min-width:780px}.scenario-preview-content .scenario-report .report-section{border-top:1px solid #cbd5d0;padding-top:22px;margin-top:30px}
@media(max-width:700px){.scenario-preview-dialog{width:calc(100% - 16px)}.scenario-preview-header{padding:12px;align-items:flex-start;flex-wrap:wrap;gap:10px}.scenario-preview-header>div{width:100%;justify-content:space-between}.scenario-preview-content .scenario-report{padding:16px}}
.scenario-common{margin-bottom:22px}.scenario-annual-grid{display:grid;grid-template-columns:minmax(230px,1fr) 2fr;gap:30px}.scenario-year-explanation{padding:4px 0}.scenario-year-explanation strong{font-size:12px}.scenario-year-explanation p{font-size:12px;line-height:1.8;color:var(--muted);margin:9px 0}.scenario-paper-heading{margin:24px 0 0}.scenario-paper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.scenario-common .field small{font-size:10px;font-weight:400;line-height:1.8;color:var(--muted)}.scenario-proposals .scenario-columns>div{grid-template-columns:1fr}.scenario-auto-table{min-width:620px}.scenario-auto-table th:first-child{white-space:normal}.scenario-common #scenario-fees-field{max-width:360px;margin-top:17px}.scenario-common .check-row{font-size:12px;margin-top:16px}
@media(max-width:700px){.scenario-annual-grid,.scenario-paper-grid{grid-template-columns:1fr;gap:18px}.scenario-year-explanation{padding:0}.scenario-paper-heading{margin-top:23px}.scenario-proposals .scenario-columns{grid-template-columns:1fr}.scenario-proposals .scenario-columns>div+div{border-top:1px solid var(--line);padding-top:16px}}
.scenario-measures-intro{max-width:560px}.scenario-measures-intro strong{font-size:14px;color:var(--accent)}.scenario-measures-intro p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 0}.scenario-both-table{min-width:1120px}.scenario-both-table thead th:first-child,.scenario-both-table tbody th[scope=rowgroup]{width:25%;white-space:normal}.scenario-both-table thead th:nth-child(2),.scenario-both-table .scenario-measure{width:18%;white-space:normal}.scenario-both-table thead th:nth-child(3){width:12%}.scenario-both-table thead th:nth-child(4),.scenario-both-table thead th:nth-child(5){width:17%}.scenario-both-table thead th:last-child{width:11%}.scenario-both-table .scenario-measure{font-size:11px;line-height:1.7}.scenario-both-table .scenario-service-row th,.scenario-both-table .scenario-service-row td{background:#f8faf7}.scenario-both-table tbody tr:nth-child(2n) th,.scenario-both-table tbody tr:nth-child(2n) td{border-bottom:2px solid #d2ded5}.scenario-both-table tbody th[scope=rowgroup]{border-bottom:2px solid #d2ded5;vertical-align:top}.scenario-both-table .scenario-rate{display:block;font-size:11px;line-height:1.7;margin-top:5px;color:var(--accent);white-space:normal}.scenario-both-table td small{max-width:none;display:block;margin-top:5px}.scenario-both-table td{font-size:12px}.scenario-both-table td.col-b{color:var(--ink)}
.scenario-workspace-tabs{display:flex;gap:10px;margin:26px 0 22px;flex-wrap:wrap}.scenario-workspace-tabs button{font:inherit;font-size:13px;line-height:1.7;color:var(--accent);background:white;border:1px solid #c4d5ca;border-radius:7px;padding:13px 20px;cursor:pointer}.scenario-workspace-tabs button[aria-selected=true]{background:var(--accent);color:white;border-color:var(--accent)}.scenario-workspace-tabs button:focus-visible{outline:3px solid #b38b41;outline-offset:3px}.scenario-proposal-editor{margin:22px 0;overflow:hidden}.scenario-worksheet-heading{padding:22px 25px;border-bottom:1px solid var(--line)}.scenario-worksheet-heading h3{margin:0 0 10px;font-size:15px}.scenario-worksheet-heading p{font-size:12px;line-height:1.9;color:var(--muted);margin:8px 0 15px}.scenario-worksheet-scroll{max-height:660px;overflow:auto;border:0;border-radius:0}.scenario-worksheet-scroll:focus-visible{outline:3px solid #b38b41;outline-offset:-3px}.scenario-proposal-table{min-width:940px;table-layout:fixed}.scenario-proposal-table thead th{position:sticky;top:0;z-index:1;background:#eaf0eb;white-space:normal}.scenario-proposal-table th:first-child{width:30%;white-space:normal}.scenario-proposal-table th:nth-child(2){width:12%}.scenario-proposal-table th:nth-child(3),.scenario-proposal-table th:nth-child(5){width:13%}.scenario-proposal-table th:nth-child(4),.scenario-proposal-table th:nth-child(6){width:16%}.scenario-proposal-table td{vertical-align:middle;font-size:12px}.scenario-proposal-table input{width:100%;min-width:75px;font:inherit;font-size:12px;padding:10px;border:1px solid #c4d5ca;border-radius:5px;text-align:right;background:white;color:var(--ink)}.scenario-proposal-table input:focus{outline:2px solid #b38b41;outline-offset:1px}.scenario-proposal-table input::placeholder{font-size:10px;color:#6b7d73}.scenario-proposal-table td small{display:block;line-height:1.65;font-size:10px;color:var(--muted);margin-top:5px;white-space:normal}.scenario-dependent{padding:17px 25px;background:#f3f7f2;border-top:1px solid var(--line);font-size:11px;line-height:1.8;color:var(--muted)}.scenario-dependent strong{color:var(--accent)}.scenario-dependent p{margin:6px 0}.scenario-result-heading{font-size:17px;margin:28px 0 0}.scenario-statutory-table{min-width:950px;table-layout:fixed}.scenario-statutory-table thead th:first-child{width:35%;white-space:normal}.scenario-statutory-table thead th:nth-child(2){width:20%;white-space:normal}.scenario-statutory-table tbody th{white-space:normal;font-size:11px;line-height:1.7}.scenario-statutory-table tbody th[scope=rowgroup]{border-bottom:2px solid #d2ded5}.scenario-statutory-table tbody tr:last-child th,.scenario-statutory-table tbody tr:last-child td{border-bottom:2px solid #d2ded5;background:#f7faf6}.scenario-statutory-table td small{display:block;font-size:11px;line-height:1.8;color:var(--accent);font-weight:600}.scenario-statutory-table td{vertical-align:middle;font-size:12px}
@media(max-width:700px){.scenario-workspace-tabs{flex-direction:column}.scenario-workspace-tabs button{text-align:left;font-size:12px}.scenario-worksheet-heading{padding:19px}.scenario-worksheet-heading h3{font-size:14px}.scenario-worksheet-heading p{font-size:11px}.scenario-worksheet-scroll{max-height:560px}.scenario-dependent{padding:16px 19px}.scenario-result-heading{font-size:15px}}
.scenario-file-tools{margin-top:26px}.scenario-file-tools h3{font-size:14px;margin:0 0 10px}.scenario-file-label{position:relative;cursor:pointer;overflow:hidden}.scenario-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.scenario-file-label:focus-within{outline:3px solid #b38b41;outline-offset:3px}


/* preparation.css */
.preparation{padding:26px;margin-bottom:30px;overflow:hidden}.preparation-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px}.preparation-heading h3{font-size:22px;letter-spacing:-.4px;margin:7px 0 9px}.preparation-heading p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;max-width:720px}.preparation-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preparation-choice{display:flex;align-items:center;gap:12px;min-height:76px;text-align:left;border:1px solid #cad8d4;border-radius:8px;padding:14px;background:#fff;color:var(--ink)}.preparation-choice>span{font-size:10px;color:var(--muted);background:var(--soft);padding:7px;border-radius:6px}.preparation-choice strong{font-size:13px;line-height:1.5;font-weight:600}.preparation-choice:hover{border-color:var(--accent);background:#f3f7f4}.preparation-choice[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.preparation-choice[aria-pressed=true]>span{background:#ffffff1c;color:#fff}.preparation-options{margin:22px 0 0;padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:8px;min-width:0}.preparation-options legend{font-size:12px;font-weight:600;padding:0 5px}.preparation-options .field{font-size:12px;margin:0}.preparation-options .field select{font-size:13px;min-height:44px}.preparation-options .check{font-size:12px;line-height:1.7;margin-top:14px;min-height:44px}.preparation-options .field-grid{margin-bottom:4px}.preparation-result{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.preparation-result-heading{display:flex;justify-content:space-between;align-items:start;gap:15px}.preparation-result-heading h4{font-size:19px;margin:7px 0 9px;font-weight:600;letter-spacing:-.2px}.preparation-result-heading p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}.preparation-result-heading .text-button{font-size:12px;white-space:nowrap;padding:9px 0}.preparation-progress{font-size:12px;color:var(--accent);line-height:1.7;margin:20px 0 7px}.preparation progress{display:block;width:100%;height:7px;border:0;accent-color:var(--accent);border-radius:5px;overflow:hidden;background:var(--soft)}.preparation progress::-webkit-progress-bar{background:var(--soft)}.preparation progress::-webkit-progress-value{background:var(--accent)}.preparation-list{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.preparation-list li{border-bottom:1px solid var(--line);min-width:0}.preparation-list label{display:flex;align-items:start;gap:12px;cursor:pointer;padding:16px 0;min-height:80px}.preparation-list input{width:19px;height:19px;accent-color:var(--accent);flex:none;margin:2px 0 0}.preparation-list strong{display:block;font-size:13px;font-weight:600;line-height:1.6}.preparation-list small{display:block;color:var(--muted);font-size:12px;line-height:1.8;margin-top:6px}.preparation-list label:has(input:checked) strong{color:var(--accent)}.preparation-caution{font-size:12px;line-height:1.8;background:var(--soft);padding:13px 16px;border-radius:7px;color:#435c60;margin:20px 0}.preparation-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.preparation-actions .button{font-size:12px;padding:12px 16px;min-height:44px}.preparation-actions .text-button{font-size:12px;min-height:40px}.preparation-session{font-size:11px;line-height:1.8;color:var(--muted);margin:14px 0}.preparation-sources{border-top:1px solid var(--line);font-size:12px;line-height:1.8}.preparation-sources summary{cursor:pointer;padding:15px 0;color:var(--accent);font-weight:600}.preparation-sources ul{padding-left:18px}.preparation-sources li{padding:4px 0;overflow-wrap:anywhere}.preparation-sources a span{font-size:10px;white-space:nowrap}.preparation-sources p{color:var(--muted);margin:7px 0 12px}.preparation-empty{font-size:13px;color:var(--muted);line-height:1.8;padding:14px 0 0;margin:0}.intro-start{margin-top:16px!important}.intro-start .button{font-size:12px;padding:10px 15px;min-height:42px}.guide-cards-heading{font-size:19px;margin:29px 0 14px}
@media(max-width:900px){.preparation-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.preparation-list{gap:0 20px}.preparation-heading .small-tag{display:none}}
@media(max-width:600px){.preparation{padding:20px}.preparation-heading h3{font-size:21px}.preparation-choices{grid-template-columns:1fr;gap:8px}.preparation-choice{min-height:62px;padding:12px}.preparation-choice strong{font-size:14px}.preparation-options{padding:15px}.preparation-options .field-grid{grid-template-columns:1fr}.preparation-options .check{font-size:12px;align-items:start}.preparation-list{grid-template-columns:1fr}.preparation-result-heading{display:block}.preparation-result-heading .text-button{margin-top:6px}.preparation-list strong{font-size:14px}.preparation-list small{font-size:12px}.preparation-actions{align-items:stretch}.preparation-actions .button{width:100%;text-align:center}.preparation-actions .text-button{width:100%}.preparation-progress{font-size:12px}}
@media print{.preparation-choices,.preparation-options,.preparation-actions,.preparation-result-heading .text-button,.intro-start{display:none!important}.preparation{padding:12px;border:1px solid #ccc}.preparation-list{grid-template-columns:1fr 1fr}.preparation-list li{break-inside:avoid}.preparation-list label{padding:10px 0;min-height:0}.preparation-sources[open]{break-inside:avoid}.preparation progress{display:none}}


/* deadlines.css */
.deadline-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;padding:24px 28px;margin-bottom:24px;background:#eaf0ea;border-color:#d7e1d7}.deadline-intro p{margin:8px 0 0;max-width:790px;font-size:14px;line-height:1.8;color:#4b605b}.deadline-intro strong{font-size:19px;color:#183f43}.deadline-intro .small-tag{white-space:nowrap}.deadline-tabs{display:flex;gap:8px;margin:0 0 24px}.deadline-tabs button{font:inherit;font-weight:650;background:#fff;border:1px solid #cad5ce;color:#36504e;padding:13px 24px;border-radius:8px;cursor:pointer}.deadline-tabs button[aria-selected=true]{background:#194951;color:#fff;border-color:#194951}.deadline-tabs button:focus-visible,.deadline-card-action:focus-visible{outline:3px solid #b38c4f;outline-offset:3px}.deadline-tools{padding:23px 26px;margin-bottom:22px}.deadline-filter-grid{display:grid;grid-template-columns:1.35fr 1fr .8fr;gap:20px}.deadline-tools .field{margin:0}.deadline-tools-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:16px}.deadline-tools-footer p{margin:0;color:#65736c;font-size:12px}.deadline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.deadline-card{padding:25px 27px;display:flex;flex-direction:column;min-width:0}.deadline-card-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#5f726b}.deadline-kind{color:#1f5c5e}.deadline-card h3{font-size:19px;line-height:1.4;margin:15px 0 8px;color:#193e42}.deadline-duration{margin:0 0 15px;font-weight:650;font-size:24px;color:#876735;line-height:1.5}.deadline-start{font-size:13px;line-height:1.8;margin:0 0 18px;color:#50615b}.deadline-start strong{display:block;color:#294a49}.deadline-card details{border-top:1px solid #e3e8e2;padding-top:14px;font-size:12px}.deadline-card summary{cursor:pointer;font-weight:650;color:#255457;line-height:1.6}.deadline-detail{font-size:13px;line-height:1.85;color:#405b56}.deadline-detail a{overflow-wrap:anywhere}.deadline-detail small{color:#6d7b72;font-size:11px}.deadline-caution{padding:12px 14px;background:#f5f3ec;border-left:3px solid #c5ac7d}.deadline-card-action{align-self:flex-start;margin-top:18px}.deadline-guide-only{margin:18px 0 0;font-size:11px;line-height:1.8;color:#758078}.deadline-empty{padding:24px;text-align:center}.deadline-calc-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);gap:24px;align-items:start}.deadline-form{padding:27px}.deadline-form .field{margin-bottom:20px}.deadline-form h3{margin:0 0 20px}.deadline-form small{line-height:1.7}.deadline-rule-summary{padding:26px;font-size:13px;line-height:1.85;background:#eef2eb}.deadline-rule-summary h3{margin:12px 0;font-size:21px;line-height:1.45}.deadline-selected-duration{display:block;font-size:32px;color:#8b6c36;margin:12px 0}.deadline-result{margin-top:24px;padding:26px 30px}.deadline-result-head{border-bottom:1px solid #dce3da;padding-bottom:18px}.deadline-result-head h3{font-size:26px;line-height:1.5;color:#163f43;margin:10px 0}.deadline-result-head p,.deadline-placeholder{font-size:13px;line-height:1.85;color:#64776e}.deadline-steps{padding-left:24px;font-size:14px;line-height:1.9;color:#345650}.deadline-steps li{padding:7px 0 7px 6px}.deadline-result-note{font-size:12px;color:#788276;line-height:1.85}.deadline-output-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.deadline-method{margin-top:24px;padding:22px 26px}.deadline-method summary{font-size:14px;font-weight:650;cursor:pointer;color:#244e50}.deadline-method p,.deadline-method li{font-size:13px;line-height:1.9;color:#566e62}.deadline-source-list{columns:2;column-gap:35px;padding-left:20px}.deadline-source-list li{break-inside:avoid;padding:3px 0;overflow-wrap:anywhere}.deadline-version-note{font-size:12px;line-height:1.85;color:#6a796e;margin:18px 0 0}.deadline-error{margin:18px 0 0}.deadline-card[hidden],.deadline-calc-grid [hidden]{display:none!important}
@media(max-width:850px){.deadline-filter-grid{grid-template-columns:1fr 1fr}.deadline-filter-grid .field:first-child{grid-column:1/-1}.deadline-calc-grid{grid-template-columns:1fr}.deadline-rule-summary{grid-row:1}.deadline-intro{flex-direction:column;gap:12px}.deadline-source-list{columns:1}}
@media(max-width:600px){.deadline-grid,.deadline-filter-grid{grid-template-columns:1fr}.deadline-filter-grid .field:first-child{grid-column:auto}.deadline-card,.deadline-form,.deadline-result{padding:21px}.deadline-card h3{font-size:18px}.deadline-duration{font-size:22px}.deadline-tabs{display:grid;grid-template-columns:1fr 1fr}.deadline-tabs button{padding:12px 8px;font-size:13px}.deadline-tools-footer{align-items:flex-start;flex-direction:column}.deadline-result-head h3{font-size:23px}.deadline-intro{padding:20px}.deadline-selected-duration{font-size:27px}}


/* agenda.css */
.agenda-intro{padding:24px 28px;background:#edf2ed;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:24px}.agenda-intro h3{margin:0 0 8px;font-size:21px;color:#19474c}.agenda-intro p{font-size:13px;line-height:1.85;margin:0;max-width:740px;color:#52685e}.agenda-modes{display:flex;gap:6px;flex-shrink:0}.agenda-modes button{border:1px solid #c5d3c9;border-radius:7px;padding:12px 14px;background:#fff;font:inherit;font-size:12px;cursor:pointer;color:#264f50}.agenda-modes button[aria-pressed=true]{background:#194951;color:#fff;border-color:#194951}#view-ajanda[data-mode=simple] .agenda-professional{display:none}.agenda-clock{color:#6c786c;font-size:12px;margin:0 0 18px}.agenda-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 24px}.agenda-stat{padding:18px;text-align:left;background:#fff;border:1px solid #d9e2d6;border-radius:10px;color:#38574d;font:inherit;cursor:pointer}.agenda-stat strong{display:block;font-size:29px;font-weight:600;margin-bottom:5px;color:#19494c}.agenda-stat span{font-size:12px}.agenda-stat:first-child{background:#f8f0de;border-color:#d6bd87}.agenda-stat:focus-visible,.agenda-modes button:focus-visible{outline:3px solid #b38c4f;outline-offset:3px}.agenda-alerts{padding:22px 26px;border-color:#d6bd87;background:#fbf7ec;margin-bottom:24px}.agenda-alerts h3{margin:0;color:#705120;font-size:18px}.agenda-alerts>p{font-size:12px;color:#756748;line-height:1.8}.agenda-alerts ul{padding:0;list-style:none;margin:16px 0 0}.agenda-alerts li{display:flex;justify-content:space-between;gap:15px;font-size:13px;padding:10px 0;border-top:1px solid #e7ddc8;overflow-wrap:anywhere}.agenda-alerts li span{color:#786246;flex-shrink:0;font-size:12px}.agenda-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:24px;align-items:start;margin-bottom:28px}.agenda-form{padding:26px}.agenda-form h3{margin:0 0 22px;font-size:21px}.agenda-form .field{margin-bottom:20px}.agenda-form small{line-height:1.8}.agenda-form input,.agenda-form select{min-width:0;max-width:100%;box-sizing:border-box}.agenda-form-step{font-size:10px;font-weight:750;color:#8b724a;margin-bottom:7px;letter-spacing:.1em}.agenda-form-step b{font-size:13px;padding-right:6px}.agenda-form .field-grid{margin:0}.agenda-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.agenda-unsaved{font-size:11px;line-height:1.8;color:#718070;margin:17px 0 0}.agenda-preview{background:#edf2ed;border:1px solid #d6e2d4;padding:25px;border-radius:12px}.agenda-preview h3{font-size:25px;line-height:1.5;margin:12px 0 20px;color:#19474c}.agenda-preview p{font-size:13px;line-height:1.9;color:#496358}.agenda-preview details{border-top:1px solid #cedccb;padding-top:15px;margin-top:20px;font-size:12px}.agenda-preview summary{cursor:pointer;font-weight:650;color:#28524f}.agenda-preview ol{padding-left:22px;line-height:1.9;color:#496358}.agenda-preview li{padding:5px 0}.agenda-reminder-preview{display:grid;gap:12px}.agenda-reminder-preview p{background:#fff;border:1px solid #d4dfd0;border-radius:8px;padding:12px 14px;margin:0}.agenda-reminder-preview span{display:block;color:#7a7055;font-size:11px}.agenda-reminder-preview strong{font-size:14px;font-weight:600}.agenda-note{padding:21px 24px;margin-top:18px;font-size:12px;line-height:1.9;color:#607060}.agenda-note h3{font-size:16px;margin:0 0 10px;color:#28504c}.agenda-note p{margin:8px 0}.agenda-tools{padding:23px 26px;margin:24px 0}.agenda-tools-top{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.agenda-tools h3{font-size:20px;margin:0;color:#234c4e}.agenda-tool-actions{display:flex;gap:10px;flex-wrap:wrap}.agenda-tool-actions .button{font-size:12px;padding:11px 14px}.agenda-tools .field-grid{margin-top:20px}.agenda-tools .field{margin:0}.agenda-tools .field-grid{grid-template-columns:1.3fr 1fr}.agenda-tools p{font-size:12px;color:#6b786c;line-height:1.8;margin:15px 0 0}.agenda-import-preview{padding:16px;background:#eef3eb;border:1px solid #cad8c6;margin:15px 0;border-radius:8px}.agenda-import-preview p{margin:0 0 12px}.agenda-file-status,.agenda-form-status{font-size:12px;line-height:1.9;color:#365c52;overflow-wrap:anywhere}.agenda-form-status:empty{display:none}.agenda-storage-error{padding:15px;border:1px solid #d3b08f;background:#fff5eb;font-size:13px;line-height:1.9;color:#7b4b2b}.agenda-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.agenda-card{padding:24px 26px;min-width:0}.agenda-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.agenda-state{font-size:11px;font-weight:650;background:#edf2e8;border-radius:5px;padding:5px 8px;color:#45633d}.agenda-today .agenda-state,.agenda-tomorrow .agenda-state{background:#f7ebca;color:#826021}.agenda-overdue .agenda-state,.agenda-review .agenda-state{background:#f3e4da;color:#915332}.agenda-completed,.agenda-archived{background:#f7f8f3}.agenda-completed .agenda-state,.agenda-archived .agenda-state{background:#e5eae5;color:#5d6d62}.agenda-card-rule{font-size:11px;color:#768275}.agenda-card h3{font-size:20px;line-height:1.5;color:#21494c;margin:15px 0 10px;overflow-wrap:anywhere}.agenda-reference{font-size:12px;color:#71806d;margin:0 0 15px;overflow-wrap:anywhere}.agenda-due{margin:18px 0}.agenda-due span{display:block;font-size:11px;color:#78806b;margin-bottom:5px}.agenda-due strong{font-size:19px;font-weight:600;line-height:1.5;color:#274f4b}.agenda-reminder-line{font-size:11px;line-height:1.9;color:#65775e}.agenda-reminder-line strong{font-weight:600}.agenda-card details{margin:18px 0 0;padding-top:15px;border-top:1px solid #e0e6da;font-size:12px}.agenda-card summary{cursor:pointer;font-weight:600;color:#315a55}.agenda-record-detail{line-height:1.9;color:#59705d}.agenda-record-detail ol{padding-left:20px}.agenda-record-detail li{padding:5px 0}.agenda-record-detail a{overflow-wrap:anywhere}.agenda-card-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px}.agenda-card-actions .button,.agenda-card-actions .text-button{font-size:11px}.agenda-card-actions .button{padding:10px 12px}.agenda-warning{font-size:12px;line-height:1.8;color:#8b5e39}.agenda-empty{padding:30px;text-align:center;color:#687b65}.agenda-empty h3{font-size:19px;margin:0 0 8px}.agenda-empty p{font-size:13px;line-height:1.8}.agenda-global-alert{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 20px;border:1px solid #d6bd87;background:#fbf5e6;border-radius:9px;margin:0 0 24px;color:#6d562a}.agenda-global-alert p{margin:0;font-size:12px;line-height:1.8}.agenda-global-alert .text-button{flex-shrink:0;color:#775b23;font-size:12px}.agenda-nav-count{display:inline-block;border-radius:12px;min-width:18px;background:#ac7032;color:#fff;font-size:10px;line-height:18px;text-align:center;margin-left:5px;padding:0 3px}
@media(max-width:850px){.agenda-intro{flex-direction:column;align-items:flex-start}.agenda-layout{grid-template-columns:1fr}.agenda-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.agenda-note{margin:0}.agenda-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-list{grid-template-columns:1fr}.agenda-card-actions{gap:18px}}
@media(max-width:600px){.agenda-intro,.agenda-form,.agenda-tools,.agenda-card{padding:21px}.agenda-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agenda-stat{padding:15px}.agenda-stat:last-child{grid-column:1/-1}.agenda-side{grid-template-columns:1fr}.agenda-preview{padding:22px}.agenda-preview h3{font-size:23px}.agenda-tools .field-grid{grid-template-columns:1fr}.agenda-alerts li{flex-direction:column;gap:4px}.agenda-alerts li span{flex-shrink:1}.agenda-global-alert{align-items:flex-start;flex-direction:column;gap:10px}.agenda-tool-actions{width:100%}.agenda-tool-actions .button{flex:1 1 140px}.agenda-form-actions .button{width:100%}.agenda-due strong{font-size:18px}.agenda-intro{gap:18px}.agenda-modes{width:100%}.agenda-modes button{flex:1}.agenda-card-actions .button{width:100%;text-align:center}}
.agenda-calendar-ready{padding:24px 26px;margin:0 0 24px;background:#edf3e8;border-color:#c8d9bf}.agenda-calendar-ready h3{margin:0 0 10px;color:#24504a;font-size:20px}.agenda-calendar-ready p{font-size:12px;color:#56705b;line-height:1.9;margin:12px 0}.agenda-calendar-ready .button{display:inline-block;text-decoration:none}.review-date>span{display:block;margin-top:6px;font-size:11px;line-height:1.6}


/* notes.css */
.notes-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:14px 0 22px}.notes-intro h2{font-size:30px;margin:8px 0}.notes-intro p{font-size:13px;color:var(--muted);margin:0;line-height:1.75}.notes-intro .button{white-space:nowrap}.notes-privacy{padding:17px 21px;border:1px solid #d2ded7;border-radius:10px;background:var(--soft);margin-bottom:24px;font-size:12px;line-height:1.75}.notes-privacy strong{color:var(--accent)}.notes-privacy p{margin:4px 0 0;color:var(--muted);max-width:1040px}.notes-layout{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.5fr);gap:22px;align-items:start;min-width:0}.notes-sidebar,.notes-editor{min-width:0;padding:24px}.notes-sidebar-head,.notes-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.notes-sidebar-head{align-items:center;margin-bottom:20px;flex-wrap:wrap}.notes-sidebar-head h3{margin:0}.notes-sidebar .small-tag{font-size:10px}.notes-search input{font-size:13px}.notes-filters{display:flex;gap:5px;margin:16px 0;flex-wrap:wrap}.notes-filters button{background:white;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;padding:9px 10px}.notes-filters button[aria-pressed=true]{color:white;background:var(--accent);border-color:var(--accent)}.notes-list-status{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 12px}.notes-list-item{display:block;width:100%;text-align:left;min-width:0;background:white;border:1px solid transparent;border-top-color:var(--line);border-radius:6px;padding:15px 12px;color:var(--ink);margin:3px 0;overflow-wrap:anywhere}.notes-list-item:hover{background:#f6f9f6}.notes-list-item[aria-pressed=true]{background:var(--soft);border-color:#9cb8aa}.notes-list-item-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.notes-list-item-top strong{font-size:13px;line-height:1.6}.notes-list-item-top>span{color:var(--muted);font-size:10px;padding-top:3px;white-space:nowrap}.notes-list-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0}.notes-list-item time{font-size:10px;color:#768782}.notes-editor-heading{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.notes-editor-heading h3{margin:0 0 7px;font-size:17px}.notes-editor-heading p{font-size:10px;line-height:1.7;color:var(--muted);margin:0}.notes-save-status{font-size:10px;line-height:1.7;color:var(--muted);text-align:right;max-width:160px;flex-shrink:0}.notes-save-status[data-state=saved]{color:var(--accent)}.notes-save-status[data-state=error]{color:var(--danger)}.notes-save-status[data-state=pending]{color:#8b6c2f}.notes-editor .field{font-size:12px}.notes-title-field{margin-bottom:22px}.notes-title-field input{font-size:17px!important;padding:12px 13px;height:48px}.notes-body-field textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #ccd6d3;border-radius:7px;font-family:inherit;resize:vertical;background:#fff;color:var(--ink);font-size:14px;line-height:1.9;min-height:330px;padding:14px;tab-size:4;overflow-wrap:anywhere}.notes-editor input[readonly],.notes-editor textarea[readonly]{background:#f5f7f4;color:var(--muted)}.notes-editor-foot{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 22px}.notes-editor-foot p{margin:0;max-width:500px}.notes-editor-foot>span{white-space:nowrap}.notes-editor-actions,.notes-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.notes-editor-actions .text-button{font-size:11px}.notes-editor-actions #notes-archive{margin-left:auto;color:var(--muted)}.notes-editor-error{margin-top:12px}.notes-conflict,.notes-storage-error{background:#fcf7e9;border:1px solid #dcca9e;border-radius:8px;padding:16px;margin:0 0 20px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.notes-conflict p,.notes-storage-error p{margin:5px 0 12px}.notes-backup{margin-top:24px;padding:23px;display:flex;gap:18px 28px;align-items:center;justify-content:space-between;flex-wrap:wrap}.notes-backup>div:first-child{flex:1 1 420px}.notes-backup h3{font-size:15px;margin:0 0 8px}.notes-backup p{font-size:11px;line-height:1.8;margin:0;color:var(--muted);max-width:700px}.notes-backup-actions{display:flex;gap:10px;flex-wrap:wrap}.notes-backup #notes-file-status{flex-basis:100%;max-width:none}.notes-import-preview{flex-basis:100%;background:var(--soft);padding:16px;border-radius:8px}.notes-import-preview p{margin-bottom:12px}.notes-import-preview .text-button{margin-left:15px}#notes-list{max-height:650px;overflow:auto}.notes-editor button:disabled,.notes-backup button:disabled{opacity:.55;cursor:not-allowed}.notes-list-item:focus-visible,.notes-filters button:focus-visible{outline:3px solid #b69b4f;outline-offset:2px}
@media(max-width:800px){.notes-layout{grid-template-columns:1fr}.notes-sidebar{padding:20px}#notes-list{max-height:270px}.notes-editor{padding:21px}.notes-editor-heading{scroll-margin-top:95px}.notes-editor-heading{gap:10px}.notes-save-status{max-width:120px}.notes-title-field input,.notes-body-field textarea,.notes-search input{font-size:16px!important}.notes-editor-foot{gap:12px}.notes-backup{padding:21px}.notes-backup-actions{width:100%}.notes-backup-actions .button{flex:1 1 140px}}
@media(max-width:500px){.notes-intro{align-items:flex-start;gap:15px}.notes-intro h2{font-size:25px}.notes-intro p{font-size:12px}.notes-intro .button{font-size:11px;padding:11px 12px}.notes-privacy{padding:15px 17px}.notes-sidebar-head{gap:10px}.notes-editor-heading{flex-direction:column;gap:8px}.notes-save-status{max-width:none;text-align:left}.notes-editor-foot{display:block}.notes-editor-foot>span{display:block;margin-top:8px}.notes-editor-actions #notes-archive{margin-left:0}.notes-editor-actions .button{flex:1 1 130px}.notes-body-field textarea{min-height:290px}}
@media print{.notes-sidebar,.notes-privacy,.notes-backup,.notes-editor-actions,.notes-intro>.button,.notes-storage-error,.notes-conflict,.notes-save-status{display:none!important}.notes-layout{display:block}.notes-editor{padding:0;border:0}.notes-editor textarea{height:auto;min-height:0;resize:none}.notes-editor input,.notes-editor textarea{border:0}.notes-editor-foot{display:none}}


/* legal-expenses.css */
.page-warning{margin:0 0 24px;padding:18px 22px;border:1px solid #dfd5b9;border-left:3px solid #b69352;background:#faf7ed;border-radius:8px;color:#685d40}.page-warning>strong{display:block;font-size:13px;font-weight:650;color:#5c512f}.page-warning p{font-size:12px;line-height:1.85;margin:7px 0}.page-warning .page-warning-liability{font-size:11px;color:#7a715a}.page-warning-links{display:flex;gap:22px;flex-wrap:wrap;align-items:center;margin-top:10px}.page-warning-links a,.page-warning-links .text-button{font-size:11px;color:#79602d}.page-warning-links a{text-decoration:underline;text-underline-offset:3px}.advance-intro{padding:24px 28px;background:#edf2ed;margin-bottom:24px;display:flex;gap:24px;align-items:flex-start;justify-content:space-between}.advance-intro h3{margin:0 0 10px;font-size:21px;color:#244c4a}.advance-intro p{font-size:13px;line-height:1.85;color:#5c7064;margin:8px 0;max-width:790px}.advance-intro .small-tag{white-space:nowrap}.advance-intro a{color:#2d625f}.advance-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;align-items:start}.advance-form{padding:26px}.advance-form .field{margin-bottom:20px}.advance-form small{line-height:1.8}.advance-form .check{font-size:13px;line-height:1.8;align-items:flex-start;margin:20px 0}.advance-form .check input{flex-shrink:0;margin-top:5px}.advance-formula{padding:16px;background:#edf2e7;border-radius:8px;color:#335e4c;font-size:14px;line-height:1.8;font-weight:600}.advance-difference{padding:17px;background:#eef3e9;border-radius:8px;margin:20px 0;font-size:13px;color:#345e4a;line-height:1.8}.advance-difference p{font-size:12px;margin:8px 0 0}.advance-result-warning{font-size:11px;line-height:1.9;color:#7a786a;border-top:1px solid #e3e7de;padding-top:18px;margin-top:20px}.advance-output-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 30px}.advance-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.advance-card{padding:25px 27px}.advance-card h3{font-size:20px;line-height:1.5;color:#264e4e;margin:13px 0}.advance-card p{font-size:13px;line-height:1.9;color:#59705f}.advance-card details{border-top:1px solid #e0e7da;padding-top:15px;margin-top:18px}.advance-card summary{font-size:12px;color:#325c54;font-weight:650;cursor:pointer}.advance-card small{font-size:11px;color:#7a8471;line-height:1.9}.advance-card .text-button{margin-top:18px;font-size:12px}.advance-cards-heading{margin-top:36px;color:#244d4c;font-size:21px}.advance-scope{font-size:12px;line-height:1.9;color:#70806c}.advance-result .receipt-body>.eyebrow{display:block;margin-bottom:20px}
@media(max-width:850px){.advance-layout{grid-template-columns:1fr}.advance-intro{flex-direction:column;gap:10px}}
@media(max-width:600px){.page-warning{padding:16px 18px}.advance-cards{grid-template-columns:1fr}.advance-intro,.advance-form,.advance-card{padding:21px}.advance-intro h3{font-size:19px}.advance-card h3{font-size:18px}.advance-output-actions .button{width:100%}}
@media print{.page-warning{break-inside:avoid;background:#fff;color:#333;border:1px solid #aaa;font-size:9pt}.page-warning p,.page-warning .page-warning-liability{font-size:8pt;color:#333}.page-warning-links{display:none}}


/* knowledge.css */
.knowledge-intro{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 28px;margin-bottom:20px;background:var(--accent-dark);color:white;border-color:var(--accent-dark)}.knowledge-intro .eyebrow{color:#c8d8ca;font-size:10px}.knowledge-intro h3{font-size:23px;line-height:1.4;letter-spacing:-.5px;max-width:650px;margin:0 0 10px}.knowledge-intro p{font-size:13px;line-height:1.8;color:#d8e4de;max-width:760px;margin:0}.knowledge-intro-badge{width:74px;height:74px;border:1px solid #ffffff35;border-radius:16px;display:flex;justify-content:center;align-items:center;font:42px Georgia,serif;color:#dbc78e;flex-shrink:0}.knowledge-tools{padding:25px;margin-bottom:24px}.knowledge-search-label{display:block;font-size:15px;font-weight:600;margin-bottom:12px}.knowledge-search-row{display:flex;gap:14px;align-items:center}.knowledge-search-row input{min-width:0;width:100%;border:1px solid #bdcbc6;border-radius:7px;padding:13px;font-size:15px;color:var(--ink)}.knowledge-search-row .text-button{flex-shrink:0}.knowledge-search-help{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0}.knowledge-shortcuts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 20px}.knowledge-shortcuts span{font-size:11px;color:var(--muted)}.knowledge-shortcuts button{border:0;background:var(--soft);border-radius:5px;padding:7px 10px;color:var(--accent);font-size:12px}.knowledge-categories{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:18px}.knowledge-categories button{border:1px solid #d4ded9;background:white;border-radius:7px;padding:10px 12px;font-size:12px;color:var(--ink);display:flex;align-items:center;gap:12px}.knowledge-categories button span{font-size:10px;color:var(--muted)}.knowledge-categories button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}.knowledge-categories button[aria-pressed=true] span{color:#dae7df}.knowledge-tools-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;align-items:center;margin-top:18px}.knowledge-saved{background:white;border:1px solid var(--line);padding:10px 12px;color:var(--accent);font-size:12px;border-radius:6px}.knowledge-saved[aria-pressed=true]{background:var(--soft);border-color:#648b7f}.knowledge-tools-bottom .check{font-size:12px}.knowledge-status-row{display:flex;justify-content:space-between;gap:15px;align-items:center}.knowledge-status-row p{font-size:12px;color:var(--muted);line-height:1.8;margin:16px 0 0}.knowledge-status-row .text-button{margin-top:12px}.knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.knowledge-card{padding:24px;scroll-margin-top:18px}.knowledge-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.knowledge-card-top>span{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#61746b;line-height:1.7}.knowledge-save{flex-shrink:0;border:1px solid #dbe2dd;background:white;color:var(--accent);font-size:11px;border-radius:5px;padding:8px}.knowledge-save[aria-pressed=true]{background:#f5f0df;border-color:#d5c99a;color:#75561b}.knowledge-card h3{font-size:18px;line-height:1.5;letter-spacing:-.3px;margin:0 0 13px}.knowledge-card h3:focus{outline:none}.knowledge-card h3:focus-visible{outline:3px solid #b38b41;outline-offset:4px}.knowledge-answer{font-size:14px;line-height:1.9;color:#415456;margin:0 0 18px}.knowledge-change{font-size:11px;line-height:1.7;color:#75561b;background:#fbf6e8;padding:10px 12px;border-radius:5px;margin:0 0 16px}.knowledge-change span{font-size:16px}.knowledge-card details{border-top:1px solid var(--line)}.knowledge-card summary{padding:15px 0 0;font-size:12px;line-height:1.7;font-weight:600;color:var(--accent);cursor:pointer}.knowledge-detail{padding-top:20px;font-size:13px;line-height:1.9}.knowledge-detail h4{font-size:12px;margin:0 0 8px;color:var(--ink)}.knowledge-detail ol{padding-left:20px;margin:0 0 20px}.knowledge-detail li{padding:4px 0 4px 3px}.knowledge-professional{border-left:3px solid #87a9a0;background:#f1f6f3;padding:15px;margin:0 0 18px}.knowledge-professional p,.knowledge-caution p{margin:0}.knowledge-caution{border-left:3px solid #ccb47b;background:#fcf8ee;padding:14px 15px;margin:0 0 20px;font-size:12px}.knowledge-caution strong{display:block;font-size:11px;margin-bottom:4px}.knowledge-sources{border-top:1px solid var(--line);padding-top:16px}.knowledge-sources ul{padding-left:17px;font-size:12px;margin:0 0 10px}.knowledge-sources a{overflow-wrap:anywhere;text-underline-offset:3px}.knowledge-sources a span{font-size:10px;white-space:nowrap}.knowledge-sources p{color:var(--muted);font-size:11px;line-height:1.8}.knowledge-related{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.knowledge-related button{display:block;text-align:left;line-height:1.8;font-size:12px;padding:7px 0}.knowledge-view{margin-top:16px}.knowledge-card-actions{display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:15px;margin-top:16px;border-top:1px solid var(--line)}.knowledge-card-warning{font-size:10px;color:var(--muted);line-height:1.8;margin:13px 0 0}.knowledge-storage,.knowledge-route-status{font-size:12px;line-height:1.8;padding:12px;border:1px solid #d9c497;background:#fcf8ee;border-radius:6px}.knowledge-empty{text-align:center;padding:30px;font-size:14px;line-height:1.8}.knowledge-empty h3{font-size:18px;margin:0 0 10px}.knowledge-empty p{color:var(--muted)}.knowledge-method{margin:25px 0 0;padding:20px 24px;font-size:12px;line-height:1.9}.knowledge-method summary{font-weight:600;color:var(--accent);cursor:pointer}.knowledge-method p{color:var(--muted)}.knowledge-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){.knowledge-grid{grid-template-columns:1fr}.knowledge-intro{padding:22px}.knowledge-intro h3{font-size:20px}.knowledge-intro-badge{display:none}.knowledge-tools,.knowledge-card{padding:20px}.knowledge-status-row{align-items:flex-start}.knowledge-categories{gap:7px}.knowledge-categories button{font-size:12px;padding:9px 10px}.knowledge-card h3{font-size:19px}.knowledge-tools-bottom{gap:18px}.knowledge-search-row{gap:8px}.knowledge-search-row input{font-size:16px}.knowledge-search-row .text-button{font-size:10px}}
@media print{.knowledge-tools,.knowledge-intro-badge,.knowledge-save,.knowledge-related,.knowledge-card-actions,.knowledge-view{display:none!important}.knowledge-grid{display:block}.knowledge-card{break-inside:avoid;margin-bottom:15px}.knowledge-intro{background:#eee;color:black}.knowledge-intro p,.knowledge-intro .eyebrow{color:#333}}
.knowledge-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0;padding:18px 22px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.knowledge-pagination p{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}.knowledge-pagination .button{flex-shrink:0;min-height:44px}.knowledge-pagination[hidden]{display:none}@media(max-width:600px){.knowledge-pagination{align-items:stretch;flex-direction:column;padding:18px}.knowledge-pagination .button{width:100%}}@media print{.knowledge-pagination{display:none!important}}

.knowledge-sort{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.knowledge-sort select{border:1px solid #cbd8d1;background:var(--paper);border-radius:6px;color:var(--ink);padding:9px 10px;font:inherit;max-width:100%}.knowledge-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0 0 15px;font-size:11px;line-height:1.65;color:var(--muted)}.knowledge-source-status{padding:3px 7px;border-radius:4px;font-size:10px}.knowledge-source-status.verified{background:#edf5ef;color:#315d48}.knowledge-source-status.pending{background:#fbf4e4;color:#806422}.knowledge-detail{font-size:14px}.knowledge-highlights{margin:0 0 20px;padding:22px 24px;background:#f0f5f1;border:1px solid #cad9cf;border-radius:12px}.knowledge-highlight-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.knowledge-highlight-heading h3{font-size:20px;line-height:1.45;margin:5px 0 0;letter-spacing:-.3px}.knowledge-highlights>p{color:var(--muted);font-size:13px;line-height:1.7;margin:10px 0 17px}.knowledge-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.knowledge-highlight-grid button{padding:16px;text-align:left;border:1px solid #d4dfd7;border-radius:8px;background:var(--paper);color:var(--ink);display:flex;flex-direction:column;gap:9px;min-width:0}.knowledge-highlight-grid button:hover{border-color:#92b3a0;background:#fbfdfb}.knowledge-highlight-grid button:focus-visible{outline:3px solid #b38b41;outline-offset:3px}.knowledge-highlight-grid button>span{font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}.knowledge-highlight-grid strong{font-size:14px;line-height:1.6;font-weight:650;overflow-wrap:anywhere}.knowledge-highlight-grid small{font-size:11px;color:var(--accent);margin-top:auto;line-height:1.6}.knowledge-highlights[hidden]{display:none}
@media(max-width:1000px){.knowledge-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.knowledge-highlights{padding:18px}.knowledge-highlight-heading{display:block}.knowledge-highlight-heading .small-tag{display:inline-block;margin-top:12px}.knowledge-highlight-grid{grid-template-columns:1fr}.knowledge-sort{width:100%;flex-wrap:wrap}.knowledge-sort select{flex:1;min-width:0}.knowledge-detail{font-size:14px}.knowledge-card-meta{gap:6px 10px}}
@media print{.knowledge-highlights{display:none!important}}

.knowledge-source-status.supplied{background:#edf3f6;color:#31586c;border-color:#ccdce5}

.knowledge-advanced{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}
.knowledge-advanced>summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--accent);padding:4px 0;line-height:1.8}
.knowledge-advanced>summary span{font-size:11px;font-weight:400}
.knowledge-advanced form{margin-top:15px}
.knowledge-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.knowledge-filter-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:var(--ink);min-width:0}
.knowledge-filter-grid select,.knowledge-filter-grid input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid #bdcbc6;border-radius:6px;background:var(--paper);padding:10px;font:inherit;font-weight:400;color:var(--ink)}
.knowledge-filter-grid :disabled{background:#f0f2f0;color:#65716d;cursor:not-allowed}
.knowledge-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:12px}
.knowledge-filter-actions button{min-height:44px}
.knowledge-active-filters{font-size:12px;line-height:1.8;color:var(--accent);padding:10px 12px;background:var(--soft);border-radius:6px;margin:14px 0 0;overflow-wrap:anywhere}
.knowledge-filter-error{border:2px solid #9e3933;border-radius:6px;padding:13px 16px;margin-bottom:18px;font-size:13px;line-height:1.8;color:var(--ink)}
.knowledge-filter-error p{margin:0}.knowledge-filter-error ul{margin:8px 0 0;padding-left:20px}
.knowledge-filter-error a{color:#8b2f2a;text-underline-offset:3px}
.knowledge-filter-grid [aria-invalid=true]{border:2px solid #9e3933}
.knowledge-advanced :focus-visible{outline:3px solid #b38b41;outline-offset:3px}
.knowledge-filter-error[hidden],.knowledge-active-filters[hidden]{display:none}
@media(max-width:600px){.knowledge-filter-grid{grid-template-columns:1fr;gap:14px}.knowledge-filter-grid input,.knowledge-filter-grid select{font-size:16px}.knowledge-filter-actions{align-items:stretch;flex-direction:column;gap:8px}.knowledge-filter-actions button{width:100%;text-align:center}}

.knowledge-version{margin-top:18px;border-top:1px solid var(--line,#d7e0e3);padding-top:8px}
.knowledge-version>summary{min-height:44px;display:list-item;font-size:13px;font-weight:600;color:var(--accent,#174c53);cursor:pointer}
.knowledge-version dl{margin:8px 0 14px;font-size:13px}.knowledge-version dl>div{display:grid;grid-template-columns:minmax(145px,.7fr) minmax(0,1fr);gap:12px;padding:7px 0;border-bottom:1px solid #e8eeee}
.knowledge-version dt{font-weight:600}.knowledge-version dd{margin:0;overflow-wrap:anywhere}.knowledge-version p{font-size:12px;line-height:1.65;color:var(--muted,#526569)}
@media(max-width:620px){.knowledge-version dl>div{grid-template-columns:1fr;gap:3px}}

/* Standalone archive controls keep a comfortable touch area on small screens. */
@media(max-width:760px){
  #view-arsiv button,#view-arsiv summary,#view-arsiv .check{min-height:44px}
  #view-arsiv .check{align-items:center}
  #view-arsiv .check input{margin-top:0}
  #view-arsiv .knowledge-search-row input,#view-arsiv .knowledge-sort select,
  #view-arsiv .knowledge-filter-grid input,#view-arsiv .knowledge-filter-grid select{font-size:16px;min-height:44px}
  #view-arsiv .knowledge-search-row .text-button{font-size:13px}
  #view-arsiv .knowledge-save{min-width:44px}
}
@media(max-width:420px){
  #view-arsiv .knowledge-search-row{flex-wrap:wrap}
  #view-arsiv .knowledge-search-row input{flex:1 1 180px}
}


/* legal-tools.css */
.legal-tool-intro{padding:22px 25px;margin:0 0 22px;background:#edf3ef;border-color:#ccdcd3;font-size:14px;line-height:1.9}.legal-tool-intro h3{font-size:20px;line-height:1.5;margin:0 0 10px}.legal-tool-intro p{margin:8px 0}.legal-source-bar{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.legal-source-bar a{text-underline-offset:3px}.legal-source-bar strong{display:block;margin-bottom:8px;color:var(--ink)}.legal-tool-form{padding:24px;margin-bottom:22px}.legal-tool-form .field{font-size:12px;line-height:1.7}.legal-tool-form .field input,.legal-tool-form .field select{font-size:14px}.legal-tool-form .field small{font-size:11px}.legal-tool-form .check{font-size:12px;line-height:1.9;margin:18px 0}.legal-tool-form .button{font-size:13px}.legal-tool-form fieldset{border:1px solid var(--line);border-radius:8px;padding:20px;margin:22px 0}.legal-tool-form legend{font-size:14px;font-weight:600;padding:0 8px}.legal-tool-form>h3{font-size:18px;margin-top:27px}.legal-tools-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.6;min-width:800px}.legal-tools-table th,.legal-tools-table td{border-bottom:1px solid var(--line);padding:13px 12px;text-align:right;font-variant-numeric:tabular-nums}.legal-tools-table th:first-child{text-align:left;width:42%}.legal-tools-table thead th{background:#edf2ef;font-size:11px;position:sticky;top:0}.legal-tools-table tbody th{font-weight:500}.legal-tools-table small{display:block;font-size:10px;color:var(--muted);margin-top:5px;font-weight:400}.legal-tools-table td{white-space:nowrap}.legal-tools-table input{width:94px;padding:10px 8px;font-size:13px;border:1px solid #bfcec6;border-radius:5px;color:var(--ink);text-align:right}.legal-brackets{min-width:980px}.legal-brackets th:first-child{width:16%}.legal-brackets input[data-adv-width]{width:145px}.legal-tools-filter{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;padding:22px;margin-bottom:15px}.legal-tools-filter .field{font-size:12px}.legal-small{font-size:11px;line-height:1.9;color:var(--muted)}.legal-scenario-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0;padding:23px;background:var(--accent-dark);color:white;border-radius:10px}.legal-scenario-summary span{display:block;font-size:11px;color:#c4d9cc}.legal-scenario-summary strong{display:block;font-size:21px;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}.legal-scenario-summary small{display:block;font-size:12px;margin-top:7px;color:#dbe9df}.legal-tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.legal-tool-actions .button{font-size:12px}.legal-error{color:#9a3434;background:#fff1ec;border:1px solid #e2bdb0;border-radius:6px;padding:14px;font-size:13px;line-height:1.9}.legal-tool-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.legal-tool-result{padding:26px;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.legal-tool-result .eyebrow{font-size:10px;line-height:1.8}.legal-tool-total{font-size:36px;line-height:1.4;color:var(--accent-dark);font-weight:600;margin:10px 0;font-variant-numeric:tabular-nums;letter-spacing:-1px}.legal-result-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.legal-result-row strong{white-space:nowrap;font-variant-numeric:tabular-nums}.legal-breakdown{border-collapse:collapse;width:100%;font-size:11px}.legal-breakdown td,.legal-breakdown th{padding:8px;text-align:right;border-bottom:1px solid var(--line)}.legal-breakdown td:first-child,.legal-breakdown th:first-child{text-align:left}.legal-tool-method{padding:22px;margin-top:22px;font-size:13px;line-height:1.9}.legal-tool-method summary{font-weight:600;color:var(--accent);cursor:pointer}.legal-tool-method li{margin:10px 0}.legal-tools-status{font-size:12px;line-height:1.8;color:var(--muted)}
@media(max-width:800px){.legal-tool-grid{grid-template-columns:1fr}.legal-scenario-summary{grid-template-columns:1fr}.legal-tool-form,.legal-tool-result,.legal-tool-intro{padding:20px}.legal-tools-filter{grid-template-columns:1fr}.legal-tool-form .field input,.legal-tool-form .field select{font-size:16px}.legal-tool-total{font-size:31px}.legal-tools-table input{font-size:16px;width:100px}}
@media print{.legal-tool-actions,.legal-tools-filter,#adv-reset{display:none!important}.legal-tool-grid{display:block}.legal-tool-result{margin:20px 0;break-inside:avoid}.legal-scenario-summary{background:#eee;color:#000}.legal-scenario-summary span,.legal-scenario-summary small{color:#333}.legal-tools-table thead th{position:static}}

.advocacy-reference{min-width:0}.advocacy-reference-intro{padding:4px 0 22px;font-size:13px;line-height:1.8}.advocacy-reference-intro>span{font-size:11px;letter-spacing:.05em;color:var(--accent);font-weight:650}.advocacy-reference-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:22px}.advocacy-reference-tabs button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:11px 15px;font:inherit;font-size:12px;color:var(--muted);cursor:pointer;line-height:1.5}.advocacy-reference-tabs button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.advocacy-reference-tabs button:focus-visible{outline:3px solid #b8d6c8;outline-offset:2px}.advocacy-reference-section,.advocacy-reference-filter{padding:22px;margin:0 0 22px;min-width:0}.advocacy-reference-section h3{font-size:17px;line-height:1.65;margin:0 0 16px;max-width:1000px}.advocacy-reference-filter .field{margin:0;max-width:600px}.advocacy-reference-filter p{margin-bottom:0}.advocacy-reference-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.advocacy-reference-table{border-collapse:collapse;width:100%;min-width:520px;font-size:12px;line-height:1.7}.advocacy-reference-table caption,.advocacy-reference-scroll .legal-breakdown caption{text-align:left;color:var(--muted);font-size:11px;padding:0 0 12px}.advocacy-reference-table th,.advocacy-reference-table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;font-weight:400}.advocacy-reference-table thead th{background:var(--soft);font-size:11px;font-weight:650}.advocacy-reference-table th:first-child{width:72%;min-width:270px}.advocacy-reference-table td{white-space:nowrap;font-variant-numeric:tabular-nums}.advocacy-reference-table td:nth-child(2){font-weight:650;text-align:right}.advocacy-reference-table th small{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}.advocacy-reference-conditions{font-size:12px;line-height:1.85;color:var(--muted);padding:5px 12px 0;border-left:3px solid #b6cec0;margin-top:16px}.advocacy-third-table{min-width:650px}.advocacy-third-table th:first-child{width:auto;min-width:60px}.advocacy-third-table td:nth-child(2){font-weight:400;text-align:left}.advocacy-reference .legal-tool-grid>*{min-width:0}.advocacy-reference .legal-breakdown{min-width:310px}.advocacy-reference-footer{padding:18px 0;font-size:11px;line-height:1.8;color:var(--muted);border-top:1px solid var(--line)}.advocacy-article-text p{font-size:13px;line-height:1.95;overflow-wrap:anywhere}.advocacy-amendment-note{padding:13px 16px;background:var(--soft);border-left:3px solid #a8c2b3;font-size:12px;line-height:1.85}.advocacy-reference #adv-third-demo{font-size:12px;margin:12px 0 0;display:block}
@media(max-width:600px){.advocacy-reference-tabs{gap:7px}.advocacy-reference-tabs button{flex:1 1 45%;font-size:12px}.advocacy-reference-section,.advocacy-reference-filter{padding:17px 14px}.advocacy-reference-table{font-size:12px;min-width:500px}.advocacy-reference-table th,.advocacy-reference-table td{padding:11px 10px}.advocacy-reference-table th:first-child{width:65%;min-width:245px}.advocacy-reference .legal-tool-form .field select,.advocacy-reference .legal-tool-form .field input{min-width:0;width:100%}.advocacy-reference .legal-tool-total{font-size:31px}.advocacy-reference .legal-result-row{flex-wrap:wrap;gap:8px}}
@media print{.advocacy-reference-tabs,.advocacy-reference-filter,.advocacy-reference-footer button{display:none}.advocacy-reference-scroll{overflow:visible}.advocacy-reference-table{min-width:0}.advocacy-reference-section{padding:0;border:0}.advocacy-reference-table thead{display:table-header-group}}
@media(max-width:600px){.advocacy-reference .field-grid{grid-template-columns:minmax(0,1fr)}.advocacy-reference .legal-tool-form .field{min-width:0}.advocacy-reference .legal-tool-form .field select,.advocacy-reference .legal-tool-form .field input{font-size:16px}}

.adv-quick-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:25px;align-items:start}.adv-quick-form{padding:26px;margin:0;min-width:0}.adv-quick-form-heading h3{margin:7px 0;font-size:23px;letter-spacing:-.4px}.adv-quick-form-heading>p{font-size:12px;color:var(--muted);margin:0 0 20px;line-height:1.8}.adv-quick-groups{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 23px}.adv-quick-groups button{font:inherit;font-size:11px;line-height:1.5;border:1px solid var(--line);border-radius:20px;background:#fff;padding:8px 12px;color:var(--muted);cursor:pointer}.adv-quick-groups button[aria-pressed=true]{background:#edf3ef;color:var(--accent-dark);border-color:#a9c0b2;font-weight:600}.adv-quick-groups button:focus-visible{outline:3px solid #b8d6c8;outline-offset:2px}.adv-quick-form .field{display:flex;flex-direction:column;min-width:0;margin:15px 0}.adv-quick-form .field input,.adv-quick-form .field select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.adv-quick-form .field select{overflow:hidden;text-overflow:ellipsis}.adv-quick-form #adv-quick-count{margin:-9px 0 16px}.adv-quick-date{border-top:1px solid var(--line);margin-top:23px;padding-top:17px;font-size:11px;line-height:1.8}.adv-quick-date summary{cursor:pointer;color:var(--muted)}.adv-quick-instant{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0 0}.adv-quick-output{min-width:0;position:sticky;top:22px}.adv-quick-result{background:#f1f5f2;border-color:#c3d4c9;padding:29px}.adv-quick-result .legal-tool-total{font-size:42px;margin:15px 0 9px}.adv-quick-result h3{font-size:18px;line-height:1.65;font-weight:600;margin:0 0 5px}.adv-quick-result .eyebrow{text-transform:uppercase;letter-spacing:.07em;line-height:1.9}.adv-quick-basis{font-size:11px;color:var(--muted);margin:0 0 20px}.adv-quick-result .legal-result-row{font-size:12px;gap:14px}.adv-quick-result .legal-small{font-size:12px;line-height:1.9;margin:16px 0}.adv-quick-result-foot{border-top:1px solid #cbd9cf;margin-top:23px;padding-top:13px;font-size:11px;line-height:1.9;color:var(--muted)}.adv-quick-result-foot p{margin:8px 0}.adv-quick-pending{font-size:13px;line-height:1.9;margin:18px 0}.adv-quick-breakdown{font-size:12px;line-height:1.8;margin-top:20px}.adv-quick-breakdown summary{cursor:pointer;font-weight:600;color:var(--accent)}
@media(max-width:900px){.adv-quick-layout{grid-template-columns:minmax(0,1fr)}.adv-quick-output{position:static}.adv-quick-result .legal-tool-total{font-size:36px}}@media(max-width:600px){.adv-quick-form,.adv-quick-result{padding:21px 17px}.adv-quick-form-heading h3{font-size:21px}.adv-quick-groups button{font-size:12px}.adv-quick-result .legal-tool-total{font-size:32px}.adv-quick-result .legal-result-row{flex-wrap:wrap}.adv-quick-result .legal-result-row strong{white-space:normal}.adv-quick-form .field-grid{grid-template-columns:minmax(0,1fr)}}
@media print{.adv-quick-form,.adv-quick-instant{display:none!important}.adv-quick-layout{display:block}.adv-quick-output{position:static}.adv-quick-result{background:#fff}}


/* navigation.css */
.brand .brand-icon{width:44px;height:44px;display:grid;place-items:center;padding:0;letter-spacing:0;flex-shrink:0}.brand-icon img{display:block;width:100%;height:100%;object-fit:contain}.header .brand{min-width:0}.brand-name{font-size:12px;color:var(--muted);min-width:0;max-width:290px}.brand-name strong{display:block;color:var(--accent);font-family:Arial,Helvetica,sans-serif;font-size:24px;line-height:1.2;letter-spacing:-.6px}.brand-name>span{display:block;margin-top:4px;font-size:10px;letter-spacing:.2px;line-height:1.5}
.app-navigation{margin:0 0 22px;border:1px solid var(--line);border-radius:14px;background:var(--paper);overflow:hidden}.navigation-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px;gap:5px;background:#edf2ef;border-bottom:1px solid var(--line)}.navigation-group{position:relative;padding:14px 15px;text-align:left;background:transparent;border:1px solid transparent;border-radius:9px;color:var(--muted);line-height:1.35}.navigation-group strong{display:block;font-size:14px;font-weight:650}.navigation-group>span{display:block;margin-top:5px;font-size:10px;font-weight:400}.navigation-group:hover{background:#e3ebe6;color:var(--accent)}.navigation-group[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 2px 5px #163e4512}.navigation-group[aria-pressed=true]>span{color:#d9e6df}.navigation-page-group{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:14px 18px}.navigation-page-group[hidden]{display:none}.navigation-page-group>button{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;line-height:1.35;text-align:left;min-height:40px;white-space:normal}.navigation-page-group>button:hover{background:#f0f5f1;color:var(--accent)}.navigation-page-group>button[aria-pressed=true]{background:#e9f1ed;border-color:#ccded5;color:var(--accent)}.app-navigation button:focus-visible{outline:3px solid #b6873e;outline-offset:-3px}
@media(max-width:700px){.brand .brand-icon{width:38px;height:38px}.brand-name{max-width:155px}.brand-name strong{font-size:21px}.brand-name>span{font-size:9px}.navigation-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:5px}.navigation-group{padding:12px}.navigation-group strong{font-size:13px}.navigation-group>span{font-size:10px}.navigation-page-group{gap:5px;padding:11px}.navigation-page-group>button{font-size:12px;padding:10px;min-height:44px}.header-inner .version{max-width:160px;text-align:right;line-height:1.6}}
@media print{.app-navigation{display:none!important}}

.navigation-shortcuts{display:flex;align-items:center;gap:7px;min-width:0}.navigation-home-row .navigation-shortcuts>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid transparent;border-radius:8px;color:var(--muted);min-height:42px;font-size:12px}.navigation-home-row .navigation-shortcuts>button>svg{width:18px;height:18px;flex-shrink:0}.navigation-home-row .navigation-shortcuts>button>span{font-size:12px;line-height:1.4;font-weight:600}.navigation-home-row .navigation-shortcuts>button:hover{background:#f0f5f1;color:var(--accent)}.navigation-home-row .navigation-shortcuts>button[aria-pressed=true]{color:var(--accent);background:#e9f1ed;border-color:#ccded5}.navigation-shortcuts .agenda-nav-count{font-size:10px;min-width:18px;margin-left:2px}.navigation-home-row #navigation-context{max-width:43%;text-align:right;line-height:1.5}
@media(max-width:700px){.navigation-home-row{display:block;padding:8px}.navigation-shortcuts{gap:3px;width:100%}.navigation-home-row .navigation-shortcuts>button{flex:1;padding:9px 6px;gap:5px;min-height:44px}.navigation-home-row .navigation-shortcuts>button>span{font-size:11px}.navigation-home-row .navigation-shortcuts>button>svg{width:16px;height:16px}.navigation-home-row #navigation-context{display:none}.navigation-home-row .navigation-shortcuts>button .agenda-nav-count{font-size:9px;min-width:16px}}

/* The map is a peer of the topic tabs and opens its standalone page directly. */
.navigation-groups>.navigation-map-link{display:block;min-width:0;text-decoration:none;font-family:inherit}
.navigation-groups>.navigation-map-link:focus-visible{outline:3px solid #b6873e;outline-offset:-3px}
@media(min-width:701px) and (max-width:1050px){.navigation-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* cash-compensation.css */
.cash-intro{padding:23px 26px;margin-bottom:22px}.cash-intro h3{margin-top:0}.cash-intro p{max-width:900px;line-height:1.8;font-size:13px;color:var(--muted)}.cash-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:24px;align-items:start}.cash-form{padding:26px;min-width:0}.cash-form fieldset{border:0;border-top:1px solid var(--line);padding:22px 0 0;margin:22px 0 0;min-width:0}.cash-form fieldset:first-of-type{margin-top:0}.cash-form legend{padding:0 10px 0 0;font-weight:650;font-size:14px}.cash-form .field{margin-bottom:18px}.cash-form .field small{line-height:1.7}.cash-form .field-grid .field{margin-bottom:0}.cash-form .check{line-height:1.7;font-size:12px;margin:21px 0}.cash-period-preview{margin:0 0 20px;background:#edf4ef;border-left:3px solid #92b3a0;padding:13px 15px;color:var(--accent);font-size:12px;line-height:1.8}.cash-specific-note{padding:14px;background:var(--warm-bg);font-size:12px;line-height:1.8;border-radius:6px;margin:0 0 18px}.cash-form-note{font-size:12px;color:var(--muted);line-height:1.8}.cash-result{overflow:hidden;min-width:0}.cash-result .total{font-size:37px;overflow-wrap:anywhere}.cash-selection{font-size:13px;font-weight:600;line-height:1.7}.cash-result-meta{font-size:11px;line-height:1.8;color:var(--muted)}.cash-steps{margin:15px 0 20px;padding-left:19px;font-size:12px;line-height:1.9}.cash-steps li{padding-left:3px;margin-bottom:9px}.cash-balance{padding:18px;background:#eef4f0;border-radius:7px;color:var(--accent)}.cash-balance>span{display:block;font-size:11px}.cash-balance>strong{display:block;font-size:25px;margin:7px 0}.cash-balance p{font-size:11px;line-height:1.7;margin:0}.cash-excess{background:#fcf3e2;color:#80541c}.cash-result-notes{margin-top:20px;font-size:11px;line-height:1.8}.cash-result-notes summary{font-weight:600;cursor:pointer}.cash-result-notes ul{padding-left:18px}.cash-result-notes li{margin:8px 0}.cash-review{font-size:10px;color:var(--muted);margin:18px 0 0}.cash-empty-formula{font-size:20px;color:var(--accent);padding:20px 0;line-height:1.5}.cash-output{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0}.cash-output .button{font-size:11px}.cash-reference{margin-top:25px;padding:24px 26px}.cash-reference h3{margin-top:0}.cash-reference .table-wrap{margin-top:18px}.cash-reference table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.8;min-width:620px}.cash-reference th,.cash-reference td{padding:13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.cash-reference th{background:#edf2ef;font-size:11px}.cash-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.cash-sources a{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.cash-error{font-size:12px;line-height:1.8;padding:14px;background:#fff1ef;border-radius:7px;margin-top:0;color:var(--danger)}.cash-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:23px}.cash-actions .text-button{font-size:12px}.cash-privacy{font-size:11px;color:var(--muted);line-height:1.8;margin-top:20px}
@media(max-width:850px){.cash-grid{grid-template-columns:minmax(0,1fr)}.cash-form,.cash-intro,.cash-reference{padding:21px}.cash-result .total{font-size:34px}}@media(max-width:580px){.cash-sources{grid-template-columns:1fr}.cash-result .total{font-size:30px}.cash-actions{align-items:stretch;flex-direction:column}.cash-output .button{flex:1 1 45%}.cash-form .field-grid{grid-template-columns:1fr}}@media print{.cash-output,.cash-actions,.cash-privacy,#cash-open-guide{display:none!important}.cash-grid{display:block}.cash-result{margin-top:20px;break-inside:avoid}.cash-reference{break-before:auto}.cash-sources{display:block}}


/* land-registry.css */
.land-intro{padding:24px;margin-bottom:22px;display:flex;gap:30px;align-items:flex-start;justify-content:space-between}.land-intro h3{font-size:18px;margin:0 0 9px}.land-intro p,.land-note{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0}.land-intro>div{max-width:760px}.land-switch{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.land-switch button{border:1px solid var(--line);border-radius:6px;padding:12px 18px;background:#fff;color:var(--accent);font-weight:600;font-size:12px}.land-switch button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.land-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.9fr);gap:25px;align-items:start}.land-form{padding:25px}.land-form .field{margin-bottom:19px;font-size:12px}.land-form .field small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.65}.land-form .field input,.land-form .field select{font-size:14px;min-height:44px}.land-form .panel-heading{margin-bottom:22px}.land-kind-note{border-left:3px solid #c5a261;background:var(--warm-bg);padding:14px 16px;color:var(--ink);font-size:12px;line-height:1.8;margin:0 0 22px}.land-form details{font-size:12px;line-height:1.8;margin-bottom:20px}.land-form summary{cursor:pointer;color:var(--accent);font-weight:600}.land-error{color:var(--danger);font-size:12px;line-height:1.8}.land-output{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.land-output .button{min-height:44px}.land-result h3{font-size:14px}.land-result p,.land-result li{font-size:12px;line-height:1.8}.land-result .receipt-row{font-size:13px}.land-result .receipt-row small{font-size:11px}.land-result .receipt-head .sub{font-size:12px}.land-result .receipt-head .eyebrow{font-size:10px}.land-result .land-allocation{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.land-allocation>p{color:var(--muted)}.land-sum{background:var(--soft);border-radius:8px;padding:16px;margin:18px 0}.land-sum strong{display:block;font-size:24px;font-variant-numeric:tabular-nums;margin-top:5px}.land-sum p{margin:7px 0 0;color:var(--muted)}.land-empty{padding:28px}.land-empty .land-mark{font-size:30px;color:var(--accent);margin:20px 0}.land-catalog-tools{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end;margin-bottom:20px}.land-catalog-tools .field{font-size:12px}.land-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.land-card{padding:24px;min-width:0;scroll-margin-top:20px}.land-card h3{font-size:16px;line-height:1.5;margin:0 0 12px}.land-card p,.land-card li{font-size:13px;line-height:1.85}.land-card>p{color:var(--muted)}.land-card summary{color:var(--accent);font-size:12px;cursor:pointer;font-weight:600;min-height:40px;padding:10px 0}.land-card details>div{border-top:1px solid var(--line);padding-top:12px}.land-card ol{padding-left:22px}.land-card .land-caution{background:var(--warm-bg);padding:12px 14px;border-radius:7px}.land-card .land-professional p{font-size:12px}.land-card .land-card-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.land-card .land-card-links button{min-height:36px;text-align:left}.land-card .land-card-review{font-size:11px;color:var(--muted)}.land-card .land-card-warning{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.land-source-panel{padding:24px;margin-top:24px}.land-sources{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px;line-height:1.8}.land-review-pending{color:var(--warm)!important;font-weight:600}.land-empty-search{font-size:14px;line-height:1.8;padding:24px}.land-page-anchor{scroll-margin-top:20px}@media(max-width:850px){.land-layout{grid-template-columns:1fr}.land-intro{display:block}.land-intro .button{margin-top:12px}.land-card-grid{grid-template-columns:1fr}.land-catalog-tools{grid-template-columns:1fr}}@media(max-width:700px){.land-form,.land-card,.land-intro,.land-source-panel{padding:20px}.land-output{grid-template-columns:1fr 1fr}.land-result .total{font-size:34px}}@media print{.land-form,.land-switch,.land-output,.land-catalog-tools,.land-card-links{display:none!important}.land-layout,.land-card-grid{display:block}.land-card,.land-result{break-inside:avoid;margin-bottom:15px}}
.land-result{overflow:hidden}


/* judgment.css */
.judgment-intro{padding:23px 25px;margin-bottom:22px;border-left:4px solid #b48c48}.judgment-intro h3{font-size:17px;margin-bottom:10px}.judgment-intro p{font-size:13px;line-height:1.8;margin:7px 0;color:var(--muted)}.judgment-intro .judgment-privacy{color:var(--ink)}.judgment-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.85fr);gap:24px;align-items:start}.judgment-fields{padding:24px}.judgment-fields .field{font-size:12px}.judgment-fields .field input,.judgment-fields .field select{min-height:44px;font-size:14px}.judgment-fields .field small{font-size:11px;font-weight:400;line-height:1.65;color:var(--muted)}.judgment-fields .field-grid{margin-top:18px}.judgment-kind-description{padding:13px 15px;background:var(--soft);font-size:12px;line-height:1.85;margin:18px 0 0;border-radius:6px}.judgment-help{font-size:12px;line-height:1.8;color:var(--muted)}.judgment-checklist{padding:24px;margin-top:20px}.judgment-step-intro{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 15px}.judgment-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:23px}.judgment-tabs button{min-height:66px;padding:10px 8px;background:white;border:1px solid var(--line);color:var(--accent);border-radius:7px;font-size:11px;font-weight:600;line-height:1.5;text-align:left}.judgment-tabs button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.judgment-tabs button span{display:block;font-size:10px;font-weight:400;margin-top:4px}.judgment-item{padding:19px 0;border-bottom:1px solid var(--line)}.judgment-item:last-child{border-bottom:0;padding-bottom:0}.judgment-item:first-child{padding-top:0}.judgment-item h4{font-size:14px;line-height:1.6;margin:0 0 7px;font-weight:600}.judgment-item .field{font-size:11px;margin-top:13px}.judgment-item select,.judgment-item textarea{font-size:13px;min-height:43px}.judgment-item textarea{resize:vertical;line-height:1.65;border:1px solid #ccd7d3;border-radius:6px;padding:10px 12px;width:100%;color:var(--ink);background:white}.judgment-explanation{font-size:12px;line-height:1.85;margin-bottom:8px}.judgment-explanation summary{cursor:pointer;color:var(--accent);font-weight:500;padding:4px 0}.judgment-explanation p{margin:9px 0}.judgment-explanation a{font-size:11px}.judgment-reason{font-size:11px;line-height:1.8;color:var(--warm);background:var(--warm-bg);padding:10px 12px;border-radius:5px}.judgment-sidebar{padding:24px;position:sticky;top:16px}.judgment-sidebar h3{font-size:16px;margin-bottom:20px}.judgment-summary-number{font-size:44px;line-height:1.15;color:var(--accent);font-variant-numeric:tabular-nums;font-weight:600;margin-top:8px}.judgment-summary-number span{font-size:20px;color:var(--muted);font-weight:400}.judgment-summary-label{font-size:12px;margin:8px 0 21px;color:var(--muted)}.judgment-counts{margin:0 0 18px}.judgment-counts div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}.judgment-counts dd{font-variant-numeric:tabular-nums;font-weight:600;margin:0}.judgment-attestation{font-size:11px;line-height:1.8;color:var(--muted)}.judgment-missing{font-size:11px;line-height:1.8;margin:14px 0}.judgment-missing summary{font-weight:600;color:var(--accent);cursor:pointer}.judgment-missing ul{padding-left:18px}.judgment-missing li{margin:6px 0}.judgment-output{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 10px}.judgment-output .button{min-height:43px;padding:10px 8px;font-size:11px}.judgment-error{font-size:12px;color:var(--danger);line-height:1.8}.judgment-summary-review{border-top:1px solid var(--line);padding-top:13px;margin:16px 0 0;font-size:10px;line-height:1.8;color:var(--muted)}.judgment-summary-review span{display:block}.judgment-start{padding:28px;margin-top:20px}.judgment-start h3{font-size:18px}.judgment-start p{font-size:13px;line-height:1.9;color:var(--muted)}.judgment-assessment{padding:24px;margin-top:20px}.judgment-assessment label{font-size:13px}.judgment-assessment textarea{width:100%;resize:vertical;min-height:125px;padding:13px;border:1px solid #ccd7d3;border-radius:6px;line-height:1.8;font-size:13px}.judgment-source-panel{padding:24px;margin-top:24px}.judgment-source-panel p,.judgment-source-panel li{font-size:12px;line-height:1.85;color:var(--muted)}.judgment-sources,.judgment-shortcuts{display:flex;gap:12px 20px;flex-wrap:wrap}.judgment-sources{font-size:12px;line-height:1.8}.judgment-shortcuts{margin-top:16px}.judgment-reset-panel{padding:15px;background:var(--warm-bg);border-radius:6px;margin-top:15px;font-size:12px;line-height:1.8}.judgment-reset-panel .button{font-size:11px}.judgment-reset-panel p{margin:0 0 12px}@media(max-width:850px){.judgment-layout{grid-template-columns:1fr}.judgment-sidebar{position:static}.judgment-output{grid-template-columns:repeat(4,minmax(0,1fr))}.judgment-counts{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}}@media(max-width:550px){.judgment-fields,.judgment-checklist,.judgment-sidebar,.judgment-intro,.judgment-assessment,.judgment-source-panel,.judgment-start{padding:20px}.judgment-fields .field-grid{grid-template-columns:1fr}.judgment-tabs{gap:5px}.judgment-tabs button{font-size:10px;padding:9px 6px}.judgment-output{grid-template-columns:1fr 1fr}.judgment-counts{display:block}}@media print{.judgment-intro,.judgment-layout,.judgment-source-panel{display:none!important}#view-ceza-hukmu:after{content:'Çalışmanın bütün kontrollerini ve güncel notlarını yazdırmak için Ceza hükmü sayfasındaki Yazdır / PDF düğmesini kullanın.'}}

.judgment-section-help{font-size:12px;line-height:1.85;background:var(--soft);border-left:3px solid var(--accent);padding:14px 16px;margin:0 0 20px;border-radius:5px}@media(max-width:550px){.judgment-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}

.judgment-topic-panel{padding:24px;margin-top:20px}.judgment-topic-panel>p{font-size:12px;color:var(--muted);line-height:1.85;margin:0 0 18px}.judgment-topic-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.judgment-topic-card{border:1px solid var(--line);border-radius:7px;padding:0 14px;min-width:0;background:var(--bg)}.judgment-topic-card summary{font-size:12px;font-weight:600;line-height:1.75;cursor:pointer;color:var(--accent);padding:14px 0}.judgment-topic-card details>div{border-top:1px solid var(--line);padding:4px 0 15px}.judgment-topic-card p,.judgment-topic-card li{font-size:12px;line-height:1.85}.judgment-topic-card ul{padding-left:18px}.judgment-topic-sources{font-size:11px!important}.judgment-topic-card .text-button{text-align:left;line-height:1.8;min-height:42px}.judgment-topic-panel .judgment-topic-review{font-size:10px;margin:14px 0 0}@media(max-width:600px){.judgment-topic-panel{padding:20px}.judgment-topic-grid{grid-template-columns:1fr}}

.judgment-sequence-help{font-size:12px;line-height:1.85;border:1px solid var(--line);border-radius:6px;padding:13px 16px;margin:0 0 18px}.judgment-sequence-help>summary{cursor:pointer;font-weight:600;color:var(--accent)}.judgment-sequence-help ol{padding-left:20px}.judgment-sequence-help li{margin:8px 0}.judgment-stage-item{border:1px solid var(--line);border-radius:7px;padding:0!important;margin:10px 0;background:var(--bg)}.judgment-stage>summary{cursor:pointer;color:var(--accent);font-size:13px;font-weight:600;line-height:1.7;padding:15px 16px}.judgment-stage-state{display:block;font-size:10px;font-weight:400;color:var(--muted);padding-left:16px;margin-top:3px}.judgment-stage-body{padding:3px 16px 16px;border-top:1px solid var(--line)}.judgment-stage-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}.judgment-stage-fields .field:first-child{grid-column:1/-1}.judgment-stage-fields input{min-width:0;width:100%;font-size:13px}.judgment-stage-disclaimer{font-size:10px;line-height:1.8;color:var(--muted);margin:12px 0 0}@media(max-width:600px){.judgment-stage-fields{grid-template-columns:minmax(0,1fr)}}

.judgment-days-panel{border:1px solid #c7b28c;border-radius:8px;background:#fffdf8;margin:20px 0}.judgment-days-panel>details>summary{padding:18px;cursor:pointer;font-size:14px;line-height:1.7;color:var(--accent);font-weight:600}.judgment-days-panel>details>summary span{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-left:15px}.judgment-days-content{padding:0 18px 20px;border-top:1px solid var(--line)}.judgment-days-content p,.judgment-days-content>a{font-size:12px;line-height:1.85}.judgment-days-content .field{font-size:11px;margin:13px 0}.judgment-days-content input:not([type=checkbox]),.judgment-days-content select,.judgment-days-content textarea{font-size:13px;min-height:43px;min-width:0;width:100%}.judgment-days-content textarea{border:1px solid #ccd7d3;border-radius:6px;padding:10px;line-height:1.7;resize:vertical}.judgment-day-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px}.judgment-day-step{border:1px solid var(--line);border-radius:6px;margin:16px 0;padding:10px 15px 15px;background:white;min-width:0}.judgment-day-step legend{padding:0 6px;font-size:12px;font-weight:600;color:var(--accent)}.judgment-day-ratio{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:5px;align-items:center}.judgment-day-ratio>span{padding-top:17px;text-align:center}.judgment-day-row-actions{display:flex;gap:14px;flex-wrap:wrap}.judgment-day-row-actions button{font-size:11px;min-height:40px}.judgment-days-content .check{margin:17px 0;font-size:12px;line-height:1.8}.judgment-days-result{background:var(--soft);border-radius:6px;padding:17px;margin:20px 0;overflow-wrap:anywhere}.judgment-day-total{font-size:36px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}.judgment-day-total span{font-size:15px;font-weight:400}.judgment-day-trace{padding-left:20px;font-size:12px;line-height:1.8}.judgment-day-trace li{padding:10px 0;border-bottom:1px solid var(--line)}.judgment-day-trace li>span{display:block;color:var(--muted)}.judgment-day-trace p{margin:5px 0}.judgment-day-actions{display:flex;flex-wrap:wrap;gap:8px}.judgment-day-actions button{font-size:11px;min-height:43px}.judgment-days-result .button{max-width:100%;white-space:normal;line-height:1.7;font-size:11px}@media(max-width:600px){.judgment-day-fields{grid-template-columns:minmax(0,1fr)}.judgment-day-actions{display:grid;grid-template-columns:minmax(0,1fr)}}

.judgment-day-inputs{border:1px solid var(--line);border-radius:6px;padding:13px 15px;background:white;margin:16px 0}.judgment-day-inputs>summary{font-size:12px;color:var(--accent);font-weight:600;cursor:pointer;line-height:1.8}

.verdict-panel{padding:24px;margin-top:20px}.verdict-panel h3{font-size:19px;margin:8px 0 12px}.verdict-panel p,.verdict-panel li{font-size:13px;line-height:1.8}.verdict-panel .field{font-size:12px;margin-top:16px}.verdict-panel select{font-size:13px;min-height:46px;max-width:100%;text-overflow:ellipsis}.verdict-panel textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;font:13px/1.8 inherit;resize:vertical}.verdict-fields{display:grid;gap:0 18px;grid-template-columns:repeat(2,minmax(0,1fr))}.verdict-state{padding:11px 13px;border-radius:6px;font-size:12px!important;background:var(--soft);color:var(--accent)}.verdict-conflict{background:var(--warm-bg);color:var(--danger)}.verdict-open{background:var(--warm-bg);color:var(--warm)}.verdict-feedback ul{padding-left:20px}.verdict-cases{margin-top:22px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.verdict-cases summary{cursor:pointer;color:var(--accent);font-weight:600;line-height:1.7}.verdict-cases article{padding:14px 0;border-bottom:1px solid var(--line)}.verdict-cases h4{font-size:14px;line-height:1.7}.verdict-cases a{font-size:12px}@media(max-width:640px){.verdict-fields{grid-template-columns:1fr}.verdict-panel{padding:18px}.verdict-panel h3{font-size:18px}}


/* sentencing.css */
.judgment-mode-switch{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.judgment-mode-switch button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}
.sentence-workflow{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding:0;margin:12px 0;list-style:none}.sentence-workflow li{display:flex;gap:8px;align-items:center;color:var(--accent);font-size:14px}.sentence-workflow li:not(:last-child)::after{content:'→';margin-left:10px;color:var(--muted);font-weight:400}.sentence-workflow li>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;border:1px solid #b29359;font-size:12px}.sentence-workflow strong{font-weight:600}.sentence-intro-meta{display:flex;align-items:center;gap:14px;flex-direction:column;flex:0 0 190px}.sentence-intro-meta .sentence-count{flex:auto;font-size:29px;line-height:1.2}.sentence-intro-meta .text-button{font-size:12px;min-height:40px}.sentence-resources{margin-top:26px;padding:0;scroll-margin-top:24px}.sentence-resources>summary{cursor:pointer;padding:20px 24px;font-size:16px;font-weight:600;color:var(--accent);line-height:1.6}.sentence-resources>summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-left:17px}.sentence-resource-content{padding:0 24px 24px}.sentence-resource-content>p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 16px}.sentence-resource-content .sentence-scope{background:var(--paper)}.sentence-resources>summary:focus-visible{outline:3px solid #b6873e;outline-offset:3px}
@media(max-width:760px){.sentence-intro{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.sentence-intro-meta{flex:auto;align-items:flex-start;gap:0}.sentence-workflow{align-items:flex-start;gap:10px 14px}.sentence-workflow li{font-size:13px}.sentence-workflow li:not(:last-child)::after{margin-left:2px}.sentence-resources>summary{padding:18px 20px}.sentence-resource-content{padding:0 16px 18px}}
.sentence-intro{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:28px 30px;background:var(--soft);border:1px solid var(--line);border-radius:9px}.sentence-intro h3{font-size:22px;line-height:1.45;margin:8px 0 12px;color:var(--accent)}.sentence-intro p{font-size:13px;line-height:1.9;max-width:780px;margin:0}.sentence-count{font-size:38px;color:var(--accent);text-align:center;flex:0 0 115px;font-weight:600}.sentence-count small{display:block;font-size:10px;line-height:1.8;font-weight:400}.sentence-scope{border:1px solid var(--line);border-radius:6px;padding:15px 20px;margin-top:15px;font-size:12px;line-height:1.9}.sentence-scope summary{color:var(--accent);font-weight:600;cursor:pointer}.sentence-privacy{font-size:11px;line-height:1.9;color:var(--muted);margin:15px 0 25px}.sentence-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.sentence-form{padding:27px;min-width:0}.sentence-form h3{font-size:17px;margin:0}.sentence-form .field{font-size:12px;line-height:1.75;margin:15px 0;min-width:0}.sentence-form input:not([type=checkbox]),.sentence-form select,.sentence-form textarea{font-size:13px;width:100%;min-height:43px;min-width:0}.sentence-form textarea,.sentence-draft-section textarea{border:1px solid #ccd7d3;border-radius:6px;padding:12px;resize:vertical;width:100%;line-height:1.85}.sentence-form small{font-size:10px;line-height:1.85;color:var(--muted)}.sentence-offense-info{background:var(--soft);border-left:3px solid #b29359;padding:13px 15px;font-size:12px;line-height:1.9}.sentence-base{border:1px solid var(--line);border-radius:7px;padding:8px 17px 17px;margin:15px 0}.sentence-base legend{font-size:12px;padding:0 7px;font-weight:600;color:var(--accent)}.sentence-units{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sentence-units input{font-size:21px!important;font-variant-numeric:tabular-nums}.sentence-fine-fields{padding:15px 18px;border:1px solid #c2b188;border-radius:7px;background:#fffdf8}.sentence-fine-fields h4{margin:0;font-size:13px}.sentence-reason{font-size:11px;line-height:1.9;margin:12px 0}.sentence-reason summary{cursor:pointer;color:var(--accent)}.sentence-section-title{display:flex;align-items:flex-start;gap:12px;margin:30px 0 15px}.sentence-section-title>span{flex:0 0 29px;width:29px;height:29px;border:1px solid #b29359;border-radius:50%;text-align:center;line-height:27px;color:var(--accent);font-size:13px}.sentence-section-title h3{margin:1px 0 5px;font-size:17px}.sentence-section-title p{font-size:12px;line-height:1.8;margin:0;color:var(--muted)}.sentence-add{display:flex;gap:10px;align-items:flex-end}.sentence-add>.field{flex:1;margin:0}.sentence-add>button{min-height:43px;white-space:nowrap}.sentence-multi-help{font-size:10px;line-height:1.9;color:var(--muted);margin:13px 0}.sentence-empty{padding:20px;background:var(--bg);font-size:12px;line-height:1.8;border:1px dashed var(--line);border-radius:6px}.sentence-rule{border:1px solid var(--line);border-radius:7px;padding:17px;margin:12px 0}.sentence-rule-heading{display:flex;gap:10px;align-items:flex-start}.sentence-rule-number{flex:0 0 22px;line-height:22px;text-align:center;border-radius:50%;background:var(--soft);font-size:11px}.sentence-rule-heading>div{flex:1}.sentence-rule-heading h4{font-size:13px;line-height:1.7;margin:3px 0}.sentence-rule-heading>button{font-size:10px;min-height:32px}.sentence-rule>p{font-size:11px;line-height:1.85;color:var(--muted)}.sentence-rate{max-width:240px}.sentence-no-change{color:var(--accent)!important}.sentence-confirm{font-size:12px;line-height:1.8;align-items:flex-start;margin:24px 0!important}.sentence-calculate{width:100%;min-height:49px;line-height:1.7;white-space:normal;font-size:13px}.sentence-summary{position:sticky;top:20px;padding:25px}.sentence-summary h3{font-size:18px;margin:10px 0 18px}.sentence-order{display:flex;flex-direction:column;gap:8px;font-size:11px;line-height:1.8}.sentence-order>span{display:block;border-left:2px solid #b29359;padding-left:12px}.sentence-summary #sentence-total{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.sentence-summary p{font-size:12px;line-height:1.9}.sentence-result-label{font-size:10px;letter-spacing:1px;color:var(--muted)}.sentence-total{display:block;color:var(--accent);font-size:32px;line-height:1.5;margin:7px 0 15px;font-variant-numeric:tabular-nums}.sentence-fine-total{border-top:1px solid var(--line);padding-top:16px}.sentence-fine-total span{font-size:10px;letter-spacing:1px;display:block;color:var(--muted)}.sentence-fine-total strong{font-size:24px;display:block;margin:7px 0;color:var(--accent)}.sentence-fine-total small{font-size:11px}.sentence-summary-note{font-size:10px!important;color:var(--muted);margin:20px 0 0}.sentence-summary a{font-size:12px}.sentence-stale{color:#8b441f}.sentence-trace-section,.sentence-draft-section{padding:28px;margin-top:25px;min-width:0}.sentence-trace-section h3{margin:6px 0;font-size:19px}.sentence-trace-section>p{font-size:12px;line-height:1.85;color:var(--muted)}.sentence-trace-list{padding:0;margin:20px 0 0;list-style:none}.sentence-trace-list>li{display:flex;justify-content:space-between;gap:22px;padding:19px 12px;border-bottom:1px solid var(--line)}.sentence-trace-list>li>div{display:flex;gap:12px}.sentence-trace-number{width:25px;flex:0 0 25px;height:25px;text-align:center;line-height:25px;border-radius:50%;background:var(--soft);font-size:11px}.sentence-trace-list h4{font-size:13px;line-height:1.8;margin:0 0 4px}.sentence-trace-list small{display:block;font-size:11px;line-height:1.8;color:var(--muted)}.sentence-trace-list p{font-size:11px;line-height:1.8;margin:5px 0 0;color:var(--muted)}.sentence-trace-list>li>strong{flex-shrink:0;color:var(--accent);font-size:18px;text-align:right;line-height:1.8}.sentence-last-row{background:var(--soft);border-radius:7px}.sentence-draft-section>.sentence-section-title{margin-top:0}.sentence-draft-state{background:var(--soft);border-left:3px solid #b29359;padding:13px 15px;font-size:12px;line-height:1.85}.sentence-draft-section .field{font-size:12px}.sentence-draft-section textarea{font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;margin:8px 0 14px;color:#163d38}.sentence-output{display:flex;gap:10px;flex-wrap:wrap}.sentence-output button{font-size:12px;min-height:44px}.sentence-draft-help{font-size:11px;line-height:1.9;color:var(--muted)}.sentence-reset-confirm{border:1px solid #b29359;border-radius:6px;margin-top:18px;padding:15px;font-size:12px;line-height:1.8}.sentence-draft-section details{font-size:12px;line-height:1.9;margin-top:15px}.sentence-draft-section summary{cursor:pointer;color:var(--accent)}
@media(max-width:1000px){.sentence-layout{grid-template-columns:minmax(0,1fr) 275px;gap:16px}.sentence-form,.sentence-summary{padding:22px}.sentence-total{font-size:28px}.sentence-add{display:block}.sentence-add>button{margin-top:10px}}
@media(max-width:760px){.sentence-layout{grid-template-columns:minmax(0,1fr)}.sentence-summary{position:static}.sentence-intro{padding:23px}.sentence-intro h3{font-size:20px}.sentence-count{display:none}.sentence-trace-list>li{display:block}.sentence-trace-list>li>strong{display:block;text-align:left;margin:10px 0 0 37px}.sentence-draft-section,.sentence-trace-section{padding:21px}.sentence-output{display:grid;grid-template-columns:minmax(0,1fr)}.sentence-trace-section .panel-heading{display:block}.sentence-trace-section .panel-heading button{margin-top:12px}.sentence-form .field-grid{grid-template-columns:minmax(0,1fr)}.sentence-rule-heading{flex-wrap:wrap}.sentence-rule-heading>button{margin-left:32px}.judgment-mode-switch>button{flex:1;white-space:normal;line-height:1.7}}

.sentence-fixed-base{border:1px solid #b29359;border-left:4px solid #b29359;border-radius:7px;background:#fffdf8;padding:20px;font-size:14px;line-height:1.9;color:var(--accent);margin:18px 0}.sentence-conversion{border:1px solid #b29359;border-radius:7px;background:#fffdf8;padding:10px 15px 15px;margin:16px 0}.sentence-conversion legend{font-size:12px;color:var(--accent);padding:0 6px}.sentence-conversion .field{margin:10px 0}.sentence-conversion small{display:block;font-size:10px;line-height:1.9;color:var(--muted)}.sentence-conversion-warning{border-left:3px solid #b29359;background:#fff9ec;padding:12px!important;color:#754b13!important}.sentence-benefit-info{font-size:12px;line-height:1.9;color:var(--accent)}.sentence-fine-fields input[readonly]{background:var(--soft);color:var(--accent)}

.sentence-history-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.sentence-law-info{font-size:12px;line-height:1.9;border-left:3px solid #b29359;background:var(--soft);padding:15px;margin:14px 0}.sentence-law-comparison{padding:28px;margin-top:26px;min-width:0}.sentence-law-comparison>h3{font-size:21px;color:var(--accent);margin:10px 0}.sentence-law-comparison>p,.sentence-law-comparison>div>p{font-size:12px;line-height:1.9}.sentence-law-comparison .field{font-size:12px;line-height:1.85;margin:18px 0}.sentence-law-comparison select,.sentence-law-comparison textarea{font-size:13px;min-height:43px;width:100%;border:1px solid #ccd7d3;border-radius:6px;padding:10px}.sentence-law-comparison textarea{resize:vertical;line-height:1.9}.sentence-law-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(190px,1fr);gap:15px;border:1px solid var(--line);border-radius:8px;padding:20px;margin:16px 0}.sentence-law-row h4{font-size:14px;line-height:1.8;margin:0 0 5px;color:var(--accent)}.sentence-law-row small{font-size:10px;line-height:1.9;color:var(--muted)}.sentence-law-row p,.sentence-law-row details{font-size:11px;line-height:1.9}.sentence-law-row summary{color:var(--accent);cursor:pointer}.sentence-law-amount{display:flex;flex-direction:column;gap:8px;align-self:center}.sentence-law-amount strong{font-size:22px;color:var(--accent);line-height:1.7}.sentence-law-amount span{font-size:12px;line-height:1.9}.sentence-law-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}.sentence-law-actions button{font-size:11px;white-space:normal;line-height:1.8;min-height:42px}.sentence-law-lower{border-color:#b29359;background:#fffdf7}.sentence-comparison-context{border-left:3px solid #b29359;background:#fff9ec;padding:15px}#sentence-law-questions{font-size:12px;line-height:1.9;background:#fff9ec;border-radius:7px;padding:12px 18px;margin:15px 0}#sentence-law-questions .check,#sentence-comparison-choice .check{font-size:12px;line-height:1.8;align-items:flex-start}#sentence-comparison-choice{border-top:1px solid var(--line);margin:22px 0;padding-top:5px}@media(max-width:760px){.sentence-history-fields,.sentence-law-row{grid-template-columns:minmax(0,1fr)}.sentence-law-comparison{padding:21px}.sentence-law-actions{display:grid;grid-template-columns:minmax(0,1fr)}}

.sentence-result-period{display:block;font-size:10px;line-height:1.9;color:var(--muted);margin-bottom:10px}

.sentence-comparison-case{padding:16px 18px;border-left:3px solid #b29359;background:var(--soft);margin-top:23px;line-height:1.9}.sentence-comparison-case strong,.sentence-comparison-case span{display:block;font-size:12px}.sentence-comparison-case span{font-size:10px;color:var(--muted)}

.sentence-special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.sentence-special-grid article{border:1px solid var(--line);border-radius:10px;padding:18px}.sentence-special-grid h4{font-size:13px;line-height:1.6;margin:0}.sentence-special-grid p{font-size:12px;line-height:1.85}.sentence-special-grid a{font-size:11px}.sentence-special-grid button{display:block;margin-top:10px}@media(max-width:760px){.sentence-special-grid{grid-template-columns:1fr}}

.judgment-case-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:20px 0}.judgment-case-list{display:grid;gap:16px}.judgment-case-card{border:1px solid var(--line,#dce5df);border-radius:14px;padding:20px;background:var(--paper,#fff)}.judgment-case-card h4{font-size:17px;line-height:1.45;margin:8px 0}.judgment-case-cite{color:var(--muted,#65756e);font-size:13px}.judgment-case-card details{margin:12px 0}.judgment-case-links{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:13px}.judgment-context-review{margin-top:28px;border-top:1px solid var(--line,#dce5df);padding-top:20px}.judgment-context-review>h4{font-size:18px}.judgment-context-review>p{font-size:13px;color:var(--muted,#65756e)}@media(max-width:700px){.judgment-case-filters{grid-template-columns:1fr}.judgment-case-card{padding:16px}}

.judgment-case-tags{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.judgment-case-tags .eyebrow{margin:0}#judgment-case-more{margin-top:18px}


/* execution.css */
.execution-panel{margin-top:25px;padding:28px;min-width:0}.execution-panel h3{margin:4px 0;font-size:23px;color:var(--accent)}.execution-intro{max-width:960px;font-size:14px;line-height:1.8}.execution-context{padding:14px 16px;border-left:3px solid #b29359;background:var(--soft);font-size:13px;line-height:1.7}.execution-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.execution-summary article{padding:20px;border:1px solid var(--line);border-radius:9px;background:#f6f9f7;min-width:0}.execution-summary span,.execution-summary strong,.execution-summary small{display:block}.execution-summary span{font-size:12px;color:var(--muted);line-height:1.6}.execution-summary strong{font-size:22px;line-height:1.4;color:var(--accent);margin:10px 0;overflow-wrap:anywhere}.execution-summary small{font-size:11px;line-height:1.7;color:var(--muted)}.execution-panel fieldset{border:1px solid var(--line);border-radius:8px;margin:24px 0;padding:12px 20px 22px;min-width:0}.execution-panel legend{font-weight:600;color:var(--accent);font-size:15px;padding:0 9px}.execution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}.execution-panel .field{display:block;margin:10px 0;font-size:13px;line-height:1.8;min-width:0}.execution-panel input:not([type=checkbox]),.execution-panel select{width:100%;min-height:44px;padding:11px;border:1px solid #ccd7d3;border-radius:6px;color:var(--text);font-family:inherit;font-size:13px;line-height:1.65;background:white;min-width:0}.execution-panel small{display:block;color:var(--muted);font-size:11px;line-height:1.75;margin-top:5px}.execution-panel .check{font-size:12px;line-height:1.8;margin:18px 0;align-items:flex-start}.execution-panel .check input{margin-top:4px;flex-shrink:0}.execution-dates,.execution-sources{margin:22px 0;border-top:1px solid var(--line);padding-top:16px;font-size:12px;line-height:1.85}.execution-panel summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--accent)}.execution-panel dl{display:grid;grid-template-columns:minmax(140px,1fr) 3fr;font-size:13px;line-height:1.8}.execution-panel dt,.execution-panel dd{margin:0;padding:13px 12px;border-bottom:1px solid var(--line)}.execution-panel dt{font-weight:600}.execution-needs{background:#fff4e2;border-left:3px solid #b29359;padding:18px;margin:20px 0;font-size:13px;line-height:1.8}.execution-panel ul{padding-left:23px;line-height:1.85;font-size:12px}.execution-panel li{margin:8px 0}.execution-footnote{font-size:11px;line-height:1.8;color:var(--muted)}.execution-panel [hidden]{display:none!important}@media(max-width:760px){.execution-panel{padding:20px}.execution-summary,.execution-grid{grid-template-columns:minmax(0,1fr)}.execution-summary article{padding:16px}.execution-panel fieldset{padding:10px 12px 16px}.execution-panel dl{grid-template-columns:minmax(0,1fr)}.execution-panel dt{border-bottom:0;padding-bottom:0}.execution-panel dd{padding-top:5px}.execution-panel .panel-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}.execution-panel .small-tag{font-size:10px}}

.execution-case-index{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;font-size:13px;line-height:1.8}.execution-case-index ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px}.execution-case-index li{break-inside:avoid;overflow-wrap:anywhere}@media(max-width:760px){.execution-case-index ul{grid-template-columns:1fr}}
.execution-procedure{margin:20px 0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:13px;line-height:1.8;scroll-margin-top:110px}.execution-procedure p{max-width:850px}.execution-procedure nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:15px 0}.execution-procedure a{display:block;padding:10px 12px;background:white;border:1px solid var(--line);border-radius:6px;color:var(--accent);line-height:1.65;overflow-wrap:anywhere;text-decoration:none}.execution-procedure a:hover{text-decoration:underline}.execution-procedure a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:760px){.execution-procedure{padding:14px}.execution-procedure nav{grid-template-columns:minmax(0,1fr)}}


/* recidivism.css */
.recidivism-entry{margin:12px 0 0;font-size:12px}.recidivism-panel{padding:0;margin-top:25px;min-width:0}.recidivism-panel>summary{padding:24px 28px;cursor:pointer;color:var(--accent);font-size:20px;font-weight:600;line-height:1.7}.recidivism-panel>summary>span,.recidivism-panel>summary>small{display:block}.recidivism-panel>summary>small{font-size:12px;font-weight:400;color:var(--muted)}.recidivism-content{padding:0 28px 26px;font-size:12px;line-height:1.9}.recidivism-intro{margin-top:0;max-width:920px}.recidivism-context{background:var(--soft);border-left:3px solid #b29359;padding:12px 15px;overflow-wrap:anywhere}.recidivism-panel fieldset{border:1px solid var(--line);border-radius:8px;margin:24px 0;padding:8px 20px 18px;min-width:0}.recidivism-panel legend{font-size:14px;color:var(--accent);font-weight:600;padding:0 9px}.recidivism-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.recidivism-panel .field{display:block;font-size:12px;margin:13px 0;line-height:1.85;min-width:0}.recidivism-panel input:not([type=checkbox]),.recidivism-panel select,.recidivism-panel textarea{width:100%;min-width:0;border:1px solid #ccd7d3;border-radius:6px;padding:11px;min-height:44px;font-family:inherit;font-size:13px;line-height:1.6;color:var(--text);background:white}.recidivism-panel textarea{resize:vertical;font-size:12px;line-height:1.85}.recidivism-panel small{font-size:11px;display:block;color:var(--muted);margin-top:5px}.recidivism-result{margin:25px 0;border:1px solid var(--line);border-radius:8px;padding:20px}.recidivism-result h4,.recidivism-output h4{font-size:16px;color:var(--accent);margin:0 0 10px}.recidivism-result[data-status=excluded]{border-color:#c59c74}.recidivism-result>p{color:var(--muted);font-size:11px}.recidivism-result ol{list-style:none;padding:0;margin:15px 0 0}.recidivism-result li{display:flex;gap:14px;padding:15px 0;border-top:1px solid var(--line);align-items:flex-start}.recidivism-result li>div{min-width:0}.recidivism-result li strong{font-size:12px}.recidivism-result li p{margin:4px 0 0;font-size:12px;overflow-wrap:anywhere}.recidivism-chip{font-size:10px;background:var(--soft);padding:3px 8px;border-radius:5px;flex:0 0 65px;text-align:center}.recidivism-result li[data-status=block] .recidivism-chip,.recidivism-result li[data-status=review] .recidivism-chip{background:#fff2dc;color:#704817}.recidivism-output{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.recidivism-output .check{font-size:12px;line-height:1.8;align-items:flex-start;margin:16px 0}.recidivism-output .check input{margin-top:5px;flex-shrink:0}.recidivism-footnote{font-size:10px;color:var(--muted);line-height:1.9;margin-top:20px;overflow-wrap:anywhere}.recidivism-panel [hidden]{display:none!important}@media(max-width:760px){.recidivism-panel>summary{padding:20px;font-size:18px}.recidivism-content{padding:0 20px 22px}.recidivism-grid{grid-template-columns:minmax(0,1fr)}.recidivism-panel fieldset{padding:8px 12px 15px}.recidivism-result{padding:15px}.recidivism-result li{gap:8px}.recidivism-chip{flex-basis:56px;font-size:9px}.recidivism-panel select{font-size:12px}.recidivism-panel .sentence-output{grid-template-columns:minmax(0,1fr)}}


/* rights.css */
.rights-entry{margin:12px 0 0;font-size:12px}.rights-panel{padding:0;margin-top:25px;min-width:0}.rights-panel>summary{padding:24px 28px;cursor:pointer;color:var(--accent);font-size:20px;font-weight:600;line-height:1.7}.rights-panel>summary>span,.rights-panel>summary>small{display:block}.rights-panel>summary>small{font-size:12px;font-weight:400;color:var(--muted)}.rights-content{padding:0 28px 26px;font-size:12px;line-height:1.9}.rights-intro{margin-top:0;max-width:920px}.rights-context{background:var(--soft);border-left:3px solid #b29359;padding:12px 15px;overflow-wrap:anywhere}.rights-panel fieldset{border:1px solid var(--line);border-radius:8px;margin:24px 0;padding:8px 20px 18px;min-width:0}.rights-panel legend{font-size:14px;color:var(--accent);font-weight:600;padding:0 9px}.rights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.rights-panel .field{display:block;font-size:12px;margin:13px 0;line-height:1.85;min-width:0}.rights-panel input:not([type=checkbox]),.rights-panel select,.rights-panel textarea{width:100%;min-width:0;border:1px solid #ccd7d3;border-radius:6px;padding:11px;min-height:44px;font-family:inherit;font-size:13px;line-height:1.6;color:var(--text);background:white}.rights-panel textarea{resize:vertical;font-size:12px;line-height:1.85}.rights-panel small{font-size:11px;display:block;color:var(--muted);margin-top:5px}.rights-result{margin:25px 0;border:1px solid var(--line);border-radius:8px;padding:20px}.rights-result h4,.rights-output h4{font-size:16px;color:var(--accent);margin:0 0 10px}.rights-result[data-status=excluded]{border-color:#c59c74}.rights-result>p{color:var(--muted);font-size:11px}.rights-result ol{list-style:none;padding:0;margin:15px 0 0}.rights-result li{display:flex;gap:14px;padding:15px 0;border-top:1px solid var(--line);align-items:flex-start}.rights-result li>div{min-width:0}.rights-result li strong{font-size:12px}.rights-result li p{margin:4px 0 0;font-size:12px;overflow-wrap:anywhere}.rights-chip{font-size:10px;background:var(--soft);padding:3px 8px;border-radius:5px;flex:0 0 65px;text-align:center}.rights-result li[data-status=block] .rights-chip,.rights-result li[data-status=review] .rights-chip{background:#fff2dc;color:#704817}.rights-output{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.rights-output .check{font-size:12px;line-height:1.8;align-items:flex-start;margin:16px 0}.rights-output .check input{margin-top:5px;flex-shrink:0}.rights-footnote{font-size:10px;color:var(--muted);line-height:1.9;margin-top:20px;overflow-wrap:anywhere}.rights-panel [hidden]{display:none!important}@media(max-width:760px){.rights-panel>summary{padding:20px;font-size:18px}.rights-content{padding:0 20px 22px}.rights-grid{grid-template-columns:minmax(0,1fr)}.rights-panel fieldset{padding:8px 12px 15px}.rights-result{padding:15px}.rights-result li{gap:8px}.rights-chip{flex-basis:56px;font-size:9px}.rights-panel select{font-size:12px}.rights-panel .sentence-output{grid-template-columns:minmax(0,1fr)}}

.rights-duration>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rights-duration{margin-top:18px!important}.rights-help{font-size:13px;line-height:1.65;color:var(--muted)}.recidivism-entry{display:flex;gap:24px;flex-wrap:wrap}.rights-panel input[type=number]{width:100%}


/* expert.css */
.expert-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:12px 0 24px}.expert-intro h2{font-size:30px;margin:8px 0}.expert-intro p{margin:0;color:var(--muted);max-width:680px}.expert-stamp{font-size:12px;text-align:right;color:var(--muted);white-space:nowrap}.expert-stamp strong{display:block;font-size:14px;color:var(--accent);margin-top:5px}
.expert-tabs{display:flex;gap:6px;border:1px solid var(--line);padding:6px;background:var(--paper);border-radius:12px;margin-bottom:24px;flex-wrap:wrap}.expert-tabs button{font:inherit;font-weight:600;background:transparent;border:0;color:var(--muted);padding:13px 18px;border-radius:8px;cursor:pointer}.expert-tabs button[aria-pressed=true]{background:var(--accent);color:white}.expert-tabs button:focus-visible,.expert-section summary:focus-visible{outline:3px solid #ba9c4f;outline-offset:3px}
.expert-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:24px;align-items:start}.expert-form{min-width:0}.expert-section{padding:26px;margin-bottom:18px;min-width:0}.expert-section h3{margin:0 0 12px;font-size:18px}.expert-section h4{margin:22px 0 12px}.expert-section p{line-height:1.6}.expert-section .field{margin:0 0 16px}.expert-section .field small{line-height:1.5;font-size:12px;font-weight:400;color:var(--muted)}.expert-section input,.expert-section select{width:100%;min-width:0}.expert-section .field input,.expert-section .field select{font-size:14px;padding:11px 12px}.expert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.expert-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.expert-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:14px 0}.expert-check input{width:17px;height:17px;flex:0 0 17px;margin:2px 0;accent-color:var(--accent)}.expert-note{padding:12px 14px;background:var(--soft);border-left:3px solid #9ebbb0;color:#465d5e;font-size:13px;line-height:1.6;margin:12px 0 18px}.expert-add-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.expert-add-row .field{margin-bottom:0}.expert-add-row button{margin-bottom:0;white-space:nowrap}.expert-row-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:15px}.expert-row-heading h3{margin:0}.expert-row-heading .text-button{color:var(--muted);font-size:12px}.expert-labor-row{border-top:3px solid #94b2a7}.expert-form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.expert-subrow{border:1px solid var(--line);padding:16px;border-radius:8px;margin:16px 0;background:#fcfdfc}.expert-output{padding:28px;position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto}.expert-total{font-size:36px;font-weight:750;letter-spacing:-1px;color:var(--accent);margin:12px 0 6px;overflow-wrap:anywhere}.expert-result-caption{font-size:13px;color:var(--muted);margin:0 0 24px}.expert-totals{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:16px 0}.expert-totals>div{display:flex;justify-content:space-between;gap:16px;margin:10px 0;font-size:13px}.expert-totals strong{white-space:nowrap}.expert-breakdown{border-bottom:1px solid var(--line);padding:16px 0;font-size:13px;line-height:1.6}.expert-breakdown summary{font-weight:600;cursor:pointer}.expert-breakdown summary strong{display:block;color:var(--accent);margin-left:16px}.expert-breakdown ol,.expert-breakdown ul,.expert-result>ol{padding-left:22px;font-size:13px;line-height:1.65}.expert-breakdown li,.expert-result>ol li{margin:8px 0}.expert-breakdown .text-button{margin-top:10px;font-size:12px}.expert-breakdown details{margin-top:15px;color:var(--muted)}.expert-output-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.expert-output-actions button{font-size:12px;padding:10px 13px}.expert-review{font-size:11px;color:var(--muted);line-height:1.6;margin:18px 0 0}.expert-table-wrap{overflow-x:auto;margin:12px 0}.expert-table-wrap table{font-size:11px;width:100%;border-collapse:collapse}.expert-table-wrap th,.expert-table-wrap td{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.expert-table-wrap td:last-child{white-space:nowrap}.expert-sources{margin-top:28px;font-size:13px;line-height:1.65}.expert-sources summary{font-weight:600;cursor:pointer}.expert-sources li{margin:6px 0}.expert-changes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.expert-changes a{border:1px solid var(--line);background:var(--soft);padding:15px;border-radius:6px;font-weight:600;font-size:13px;text-decoration:none}.expert-case-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.expert-case{padding:24px;min-width:0}.expert-case h3{font-size:17px;margin:18px 0 10px}.expert-case p{font-size:13px;line-height:1.65}.expert-case-meta{color:var(--muted);font-size:12px!important}.expert-case details{font-size:13px;line-height:1.6;margin:18px 0}.expert-case summary{cursor:pointer;font-weight:600}.expert-case .text-button{font-size:13px}.expert-result a,.expert-sources a{overflow-wrap:anywhere}
@media(max-width:1000px){.expert-layout{grid-template-columns:minmax(0,1fr)}.expert-output{position:static;max-height:none}.expert-case-list{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.expert-intro{align-items:flex-start}.expert-intro h2{font-size:25px}.expert-intro p{font-size:13px}.expert-stamp{display:none}.expert-tabs{gap:4px}.expert-tabs button{font-size:12px;padding:12px 10px;flex:1 1 42%}.expert-grid{grid-template-columns:1fr}.expert-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.expert-section,.expert-output,.expert-case{padding:19px}.expert-total{font-size:31px}.expert-add-row{grid-template-columns:1fr}.expert-add-row button{justify-self:start}.expert-changes,.expert-case-list{grid-template-columns:1fr}.expert-totals>div{font-size:12px}.expert-form-actions .button{width:100%}}
@media print{.expert-tabs,.expert-form,.expert-output-actions,.expert-sources,.expert-intro .expert-stamp{display:none!important}.expert-layout{display:block}.expert-output{position:static;max-height:none;overflow:visible;border:0;padding:0}.expert-total{font-size:26px}}


/* actuary.css */
.actuary-shell{min-width:0}.actuary-scope{display:flex;align-items:flex-start;gap:16px;padding:16px 20px;margin:0 0 22px;border:1px solid #cddbd5;border-radius:10px;background:var(--soft);font-size:13px;line-height:1.7;color:#465d5e}.actuary-scope>strong{white-space:nowrap;color:var(--accent)}.actuary-scope>span{max-width:880px}.actuary-hint{font-size:12px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.actuary-shell .expert-form>.expert-section>p:not(.expert-note):not(.result-error){font-size:13px;line-height:1.75}.actuary-period-row{border-left:3px solid #a9c1b5}.actuary-period-row .expert-row-heading h4{margin:0;font-size:14px}.actuary-period-row .field:last-child{margin-bottom:0}.actuary-output{top:105px;max-height:calc(100vh - 125px);min-width:0}.actuary-output .expert-totals>div{align-items:flex-start}.actuary-output .expert-table-wrap{max-width:100%;overscroll-behavior-x:contain}.actuary-output .expert-table-wrap table{min-width:510px;font-variant-numeric:tabular-nums}.actuary-output .expert-table-wrap caption{text-align:left;font-size:11px;color:var(--muted);padding-bottom:8px}.actuary-output .expert-table-wrap td{white-space:nowrap}.actuary-output .expert-table-wrap td:first-child{white-space:normal;min-width:90px}.actuary-output .expert-result-caption{line-height:1.65}.actuary-gaps{padding:15px;border:1px solid #dcc99b;border-radius:8px;background:var(--warm-bg);font-size:12px;line-height:1.7;margin:20px 0;overflow-wrap:anywhere}.actuary-gaps strong{color:var(--warm)}.actuary-gaps ul{padding-left:19px;margin:10px 0}.actuary-gaps p{margin:7px 0}.actuary-basis{margin:15px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.actuary-basis dt{font-weight:650;color:var(--accent);margin-top:12px}.actuary-basis dd{margin:2px 0 0}.actuary-year-unit{font-size:20px;font-weight:500}.actuary-life-notes{padding-left:20px;font-size:13px;line-height:1.75;color:var(--muted)}.actuary-life-notes li{margin:10px 0}.actuary-help{margin-top:24px}.actuary-help-links{display:grid;grid-template-columns:1fr 1fr;gap:13px 24px;margin:20px 0}.actuary-help-links .text-button{text-align:left;font-size:13px;line-height:1.65;padding:2px 0;justify-self:start}.actuary-shell .result-error{margin:18px 0 0;line-height:1.7}.actuary-shell .field input[type=date]{min-width:0}.actuary-shell .expert-tabs button[aria-pressed=true]{color:#fff;background:var(--accent)}
@media(max-width:1000px){.actuary-output{position:static;max-height:none}}
.actuary-phase-total{display:grid;gap:4px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.65}.actuary-phase-total>strong{font-size:15px;color:var(--accent)}.actuary-phase-total>span,.actuary-phase-total>small{color:var(--muted)}#actuary-future-app .expert-grid>div{min-width:0}#actuary-future-app .expert-grid>div>.field{margin:0}
@media(max-width:600px){.actuary-scope{display:block;padding:14px 16px}.actuary-scope>strong{display:block;margin-bottom:4px}.actuary-shell .expert-intro{display:block}.actuary-shell .expert-intro>.small-tag{display:inline-block;margin-top:14px}.actuary-shell .expert-tabs button{flex-basis:100%;text-align:left}.actuary-period-row{padding:15px 12px}.actuary-help-links{grid-template-columns:1fr;gap:15px}.actuary-shell .field input,.actuary-shell .field select{font-size:16px}.actuary-output .expert-totals strong{white-space:normal;text-align:right}.actuary-shell .expert-form-actions .text-button{font-size:12px;padding:8px 0}}
@media print{.actuary-scope,.actuary-help{display:none!important}.actuary-output{position:static;max-height:none;overflow:visible}.actuary-output .expert-table-wrap{overflow:visible}.actuary-output .expert-table-wrap table{min-width:0}.actuary-gaps{break-inside:avoid}}

.support-person,.support-period{border-left:3px solid #a9c1b5;min-width:0}.support-person h4,.support-period h4{margin:0;font-size:14px}.support-share-grid{margin-top:18px}.support-share-grid .field>span{overflow-wrap:anywhere}.support-ledger-row{padding:10px 0 16px;border-bottom:1px solid var(--line)}.support-ledger-row h4{font-size:13px;line-height:1.65;margin-bottom:8px}#actuary-support-app .expert-row-heading{gap:10px;flex-wrap:wrap}#actuary-support-app .expert-grid{min-width:0}
@media(max-width:600px){.support-person,.support-period{padding:15px 12px}.support-share-grid{grid-template-columns:1fr}}


/* desk.css */
/* v0.50: shared workspace and task-first navigation. */
.header{position:sticky;top:0;z-index:20;background:#fff}.header-inner{padding-top:16px;padding-bottom:16px;gap:20px}.header-tools{display:flex;align-items:center;gap:22px}.header-search{display:flex;align-items:center;gap:12px;background:#f5f7f5;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px 14px;font-size:12px}.header-search>span{font-size:23px;line-height:1}.header-search kbd,.search-key{font:10px system-ui;color:var(--muted);border:1px solid #d8dfda;border-radius:4px;padding:3px 6px;white-space:nowrap}.wrap{padding-top:23px}.navigation-home-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border-bottom:1px solid var(--line)}.navigation-home-row button{border:0;background:transparent;color:var(--accent);font-size:18px;display:flex;align-items:center;gap:9px;padding:4px 0}.navigation-home-row button>span{font-size:12px;font-weight:650}.navigation-home-row [aria-pressed=true]{color:var(--warm)}#navigation-context{font-size:11px;color:var(--muted)}.navigation-group{padding:11px 14px}.navigation-group>span{margin-top:3px}.navigation-page-group{padding:9px 15px}.navigation-page-group>button{padding:8px 11px;min-height:38px}.navigation-pages>summary{display:none}.help-bar{justify-content:flex-end;margin-bottom:12px;padding:0;min-height:0}.help-bar>p{display:none}body[data-active-view=baslangic] .help-bar{display:none}.legal-notice{margin-bottom:20px}#legal-notice>summary>span{display:none}.view{scroll-margin-top:110px}.view h1,.view h2,.knowledge-card,.sentence-scope,.sentence-resources{scroll-margin-top:110px}
.desk-welcome{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:45px;padding:32px 0 37px}.desk-welcome .eyebrow{font-size:10px;color:var(--warm);letter-spacing:1.6px;margin:0 0 18px}.desk-welcome h1{font-size:39px;letter-spacing:-1.3px;line-height:1.13;font-weight:550;margin-bottom:16px}.desk-welcome p{font-size:14px;color:var(--muted);line-height:1.8;margin:0}.desk-search{width:100%;display:flex;align-items:center;gap:16px;padding:23px 21px;border:1px solid #bbcec6;border-radius:13px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 5px 18px #184d5305}.desk-search:hover{border-color:var(--accent);box-shadow:0 6px 22px #184d530c}.desk-search-icon{font-size:35px;color:var(--accent);line-height:1}.desk-search strong{display:block;font-size:14px;font-weight:600}.desk-search small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px}.desk-search .search-key{margin-left:auto;font-size:9px}.desk-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 0 16px}.desk-section-heading h2{font-size:16px;margin:0}.desk-section-heading>span{font-size:11px;color:var(--muted)}.desk-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.desk-tool{position:relative;display:flex;align-items:flex-start;gap:14px;padding:23px 19px;min-height:127px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:left;transition:border-color .15s,transform .15s}.desk-tool:hover{border-color:#7faaa0;transform:translateY(-2px)}.desk-tool-icon{color:var(--accent);display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;background:#eef4f0;border-radius:9px}.desk-tool-icon svg{width:22px;height:22px}.desk-tool strong{display:block;font-size:15px;line-height:1.5;font-weight:600;margin:2px 0 8px}.desk-tool small{display:block;color:var(--muted);font-size:12px;line-height:1.7;padding-right:10px}.desk-tool-arrow{font-size:16px;color:#8ca69a;margin-left:auto}.desk-support{display:grid;grid-template-columns:1.35fr 1fr;gap:40px;padding:33px 0 15px;margin-top:30px;border-top:1px solid var(--line)}.desk-support .eyebrow{font-size:9px;color:var(--warm)}.desk-support h2{font-size:21px;line-height:1.4;margin-bottom:10px}.desk-support p{font-size:12px;color:var(--muted);line-height:1.8;max-width:470px;margin:0 0 18px}.desk-reference{border-left:1px solid var(--line);padding-left:35px}.desk-reference h3{font-size:13px;margin:0 0 12px}.desk-reference dl{margin:0 0 14px}.desk-reference dl>div{display:flex;justify-content:space-between;gap:16px;margin:8px 0;font-size:11px}.desk-reference dt{color:var(--muted)}.desk-reference dd{margin:0;color:var(--ink);white-space:nowrap}.desk-reference p{font-size:10px;margin-bottom:5px}.knowledge-reading-hint{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 18px}
#workspace-search-dialog{padding:22px;border:1px solid var(--line);border-radius:16px;width:min(680px,calc(100vw - 32px));max-height:82vh;overflow:auto;color:var(--ink);background:#fff;box-shadow:0 25px 100px #173c3d30}#workspace-search-dialog::backdrop{background:#12373566;backdrop-filter:blur(3px)}.search-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.search-dialog-head label{font-size:14px;font-weight:650}.search-close{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted);width:34px;height:34px}.workspace-query-row{position:relative;display:flex;align-items:center}.workspace-query-row input{width:100%;padding:15px 50px 15px 15px;border:1px solid #8eafa1;border-radius:9px;font-size:16px;color:var(--ink);background:#fcfdfb}.workspace-query-row kbd{position:absolute;right:15px;font:10px system-ui;color:var(--muted);pointer-events:none}#workspace-search-count{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0 17px}#workspace-search-results h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin:18px 8px 8px}.workspace-search-links{display:grid;gap:2px}.workspace-search-links button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:20px;border:1px solid transparent;border-radius:9px;padding:12px;background:#fff;color:var(--ink)}.workspace-search-links button:hover,.workspace-search-links button:focus-visible{background:#eef4f0}.workspace-search-links strong{display:block;font-size:13px;font-weight:550;line-height:1.6}.workspace-search-links small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:3px}.search-result-type{font-size:9px;color:var(--accent);border:1px solid var(--line);border-radius:5px;padding:4px 7px;flex-shrink:0}.search-dialog-foot{border-top:1px solid var(--line);padding-top:14px;margin:18px 0 0;color:var(--muted);font-size:10px}
@media(max-width:950px){.desk-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-welcome{gap:24px}.desk-welcome h1{font-size:33px}.desk-search .search-key{display:none}}
@media(max-width:700px){.header-inner{gap:12px;padding:12px 16px}.header .brand-name>span{display:none}.header .brand-name strong{font-size:22px}.header .brand-icon{width:32px;height:32px}.header-tools{gap:12px}.header-search{padding:8px 10px;gap:7px;font-size:11px;min-height:40px}.header-search kbd{display:none}.header .version{font-size:10px;white-space:nowrap}.wrap{padding:16px 16px 0}.navigation-home-row{padding:9px 12px}.navigation-home-row>span{font-size:10px;max-width:48%;text-align:right;line-height:1.5}.navigation-group{padding:10px 12px}.navigation-group strong{font-size:12px}.navigation-group>span{font-size:9px}.navigation-page-group>button{min-height:44px;padding:9px 10px}.navigation-pages>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px;font-weight:600;padding:13px 16px;color:var(--accent);cursor:pointer;list-style:none}.navigation-pages>summary::-webkit-details-marker{display:none}.navigation-pages[open]>summary{border-bottom:1px solid var(--line)}.navigation-groups{border-bottom:0}.legal-notice{margin-bottom:16px}.desk-welcome{grid-template-columns:1fr;gap:23px;padding:19px 0 27px}.desk-welcome .eyebrow{font-size:9px;margin-bottom:13px}.desk-welcome h1{font-size:32px}.desk-welcome p{font-size:13px}.desktop-break{display:none}.desk-search{padding:18px 15px}.desk-search strong{font-size:13px}.desk-search small{font-size:11px}.desk-section-heading{align-items:baseline}.desk-section-heading h2{font-size:15px}.desk-section-heading>span{font-size:10px}.desk-tools{gap:11px}.desk-tool{padding:16px 13px;gap:10px;display:block;min-height:160px}.desk-tool-icon{width:32px;height:32px;margin-bottom:10px}.desk-tool strong{font-size:13px;margin:0 0 7px}.desk-tool small{font-size:11px;line-height:1.65;padding:0}.desk-tool-arrow{position:absolute;top:17px;right:13px}.desk-support{grid-template-columns:1fr;gap:25px;margin-top:25px;padding-top:26px}.desk-support h2{font-size:19px}.desk-reference{border-left:0;border-top:1px solid var(--line);padding:23px 0 0}.view{scroll-margin-top:85px}.view h1,.view h2,.knowledge-card,.sentence-scope,.sentence-resources{scroll-margin-top:85px}.field input,.field select,.field textarea{font-size:16px}.field small{font-size:11px}#workspace-search-dialog{padding:17px;max-height:87vh}.search-dialog-foot{font-size:9px}.workspace-search-links strong{font-size:13px}.workspace-search-links small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.desk-tool{transition:none}.desk-tool:hover{transform:none}}
@media print{.header,.app-navigation,#workspace-search-dialog{display:none!important}.wrap{padding:0}.desk-tool{break-inside:avoid;box-shadow:none}.desk-support{display:block}.desk-reference{border:0;padding:15px 0}}

.search-all-results{display:block;width:100%;padding:14px;margin-top:10px;text-align:left;font-size:12px;border:1px solid var(--line);border-radius:8px;background:#f5f8f5;color:var(--accent);font-weight:600}

.skip{z-index:40}@media(min-width:701px){.sentence-summary,.expert-output,.receipt,.judgment-sidebar{top:105px}.expert-output{max-height:calc(100vh - 125px)}}@media(max-width:700px){.view .field input,.view .field select,.view .field textarea{font-size:16px}}

.site-footer{display:block}.site-footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px}.site-footer-top>span{flex-shrink:0}.site-about{margin-top:20px;border:1px solid var(--line);border-radius:10px;background:#fff}.site-about>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:46px;padding:13px 17px;list-style:none;cursor:pointer;color:var(--accent);font-size:12px;font-weight:600}.site-about>summary::-webkit-details-marker{display:none}.site-about>summary:focus-visible{outline:3px solid #b38b41;outline-offset:3px}.site-about>summary>span{font-size:19px;font-weight:400;line-height:1}.site-about[open]>summary{border-bottom:1px solid var(--line)}.site-about[open]>summary>span{transform:rotate(45deg)}.site-about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:22px 20px}.site-about h3{font-size:13px;line-height:1.5;margin:0 0 12px;color:var(--ink)}.site-about p{font-size:12px;line-height:1.8;text-align:left;max-width:none;margin:0 0 12px;overflow-wrap:anywhere}.site-about a{display:inline-block;font-size:12px;line-height:1.7;padding:6px 0;text-underline-offset:3px}.script-notice{padding:16px;background:var(--warm-bg);color:var(--ink);border:1px solid var(--line);border-radius:9px;font-size:14px;line-height:1.7}
@media(max-width:700px){.site-footer-top{display:block}.site-footer-top>p{margin-top:10px;text-align:left;max-width:none}.site-about-grid{grid-template-columns:1fr;gap:20px;padding:20px 17px}.site-about>summary{font-size:12px}.site-about-grid>section+section{border-top:1px solid var(--line);padding-top:20px}}
.header-search>.header-search-label{font:inherit;line-height:1.3}
@media(max-width:430px){.header-search{width:42px;min-width:42px;min-height:42px;justify-content:center;padding:8px;gap:0}.header-search>.header-search-label{display:none}.header-tools{gap:10px}}
/* Reading and calculation space first; shared source notice follows the active view. */
#verification-notice{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:32px 0 0;padding:20px 24px;background:#f4f6f1;border:1px solid #dce3d9;border-left:3px solid #b29359;border-radius:10px;color:var(--muted)}#verification-notice strong{font-size:13px;color:var(--ink)}#verification-notice p{font-size:12px;line-height:1.8;margin:8px 0 0;max-width:760px}#verification-notice .page-warning-links{display:grid;gap:8px;flex-shrink:0;text-align:left}#verification-notice a,#verification-notice button{font-size:11px;padding:3px 0;line-height:1.6}.site-footer>.legal-notice{margin:0 0 24px;background:#fff;text-align:left;max-width:none}.site-footer>.legal-notice p{max-width:none;text-align:left;font-size:12px;line-height:1.8}.site-footer>.legal-notice summary{font-size:12px}.site-footer{margin-top:24px}
@media(max-width:700px){#verification-notice{display:block;padding:18px;margin-top:25px}#verification-notice .page-warning-links{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:12px}}


/* feedback.css */
.header-feedback{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:9px;color:var(--accent);font-size:12px;white-space:nowrap}.header-feedback svg{width:21px;height:21px;flex-shrink:0}.site-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;font-size:11px}.site-footer-bottom .text-button{min-height:42px}.feedback-dialog{padding:25px;border:1px solid var(--line);border-radius:16px;width:min(800px,calc(100vw - 32px));max-height:88vh;overflow:auto;color:var(--ink);background:#fff;box-shadow:0 25px 100px #173c3d30}.feedback-dialog::backdrop{background:#12373566;backdrop-filter:blur(3px)}.feedback-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.feedback-heading .eyebrow{font-size:9px;margin:0 0 10px}.feedback-heading h2{font-size:23px}.feedback-close{border:1px solid var(--line);background:#fff;color:var(--muted);width:38px;height:38px;border-radius:8px;flex-shrink:0}.feedback-tabs{display:flex;gap:7px;margin:20px 0 12px;flex-wrap:wrap}.feedback-tabs button{padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted);font-size:12px;min-height:42px}.feedback-tabs [aria-pressed=true]{background:var(--soft);color:var(--accent);border-color:var(--accent);font-weight:600}.feedback-service{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 12px}.feedback-signin{display:inline-block;font-size:12px;margin-bottom:16px}.feedback-intro{font-size:13px;line-height:1.8;margin:14px 0 20px;color:var(--muted)}#feedback-fields{border:0;padding:0;margin:0;min-width:0}.feedback-wide{grid-column:1/-1}.feedback-optional{font-size:10px;font-weight:400;color:var(--muted);margin-top:-4px}.feedback-dialog textarea{resize:vertical;min-height:70px}.feedback-data-note{font-size:11px;line-height:1.8;padding:13px 15px;background:var(--soft);border-radius:8px;color:var(--muted);margin:20px 0 14px}.feedback-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.feedback-actions>span{margin-left:auto;font-size:10px;color:var(--muted)}.feedback-status{font-size:12px;line-height:1.8;color:var(--accent);margin:12px 0}.feedback-status:empty{display:none}.feedback-status.is-error{color:#a33b24}.feedback-list-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:20px 0}.feedback-list-tools .field{min-width:150px}#feedback-list-status{font-size:12px;line-height:1.8;color:var(--muted)}.feedback-item{border:1px solid var(--line);border-radius:10px;padding:18px;margin:14px 0}.feedback-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);line-height:1.6}.feedback-badge{background:var(--soft);color:var(--accent);padding:5px 8px;border-radius:5px;white-space:nowrap}.feedback-item h3{font-size:15px;line-height:1.6;margin:12px 0 6px;overflow-wrap:anywhere}.feedback-item-date{font-size:10px;color:var(--muted);line-height:1.6}.feedback-body{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-item details{font-size:12px;line-height:1.8;margin-top:15px}.feedback-item summary{cursor:pointer;padding:8px 0;color:var(--accent)}.feedback-item dl{margin:12px 0}.feedback-item dt{font-weight:600;margin:12px 0 4px}.feedback-item dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.feedback-item a{font-size:12px}.feedback-review{display:grid;gap:14px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}.feedback-review button{justify-self:start}.feedback-reply{padding:12px 15px;background:var(--soft);border-radius:8px;font-size:12px;margin-top:15px}.feedback-reply p{margin:6px 0 0}.feedback-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.feedback-pagination>span{font-size:11px;color:var(--muted)}
@media(max-width:700px){.header-tools{gap:10px}.header-search{width:42px;min-width:42px;min-height:42px;justify-content:center;padding:8px;gap:0}.header-search>.header-search-label,.header-feedback-label,.header .version{display:none}.header-feedback{width:42px;padding:8px;flex-shrink:0}.feedback-dialog{padding:18px;width:calc(100vw - 20px);max-height:90vh}.feedback-heading h2{font-size:20px}.feedback-dialog .field-grid{grid-template-columns:1fr;gap:17px}.feedback-dialog .field input,.feedback-dialog .field select,.feedback-dialog .field textarea{font-size:16px}.feedback-tabs{gap:5px}.feedback-tabs button{font-size:11px;padding:9px 10px}.feedback-item{padding:15px}.feedback-item-top{align-items:flex-start}.site-footer-bottom{align-items:flex-start;gap:10px}.site-footer-bottom>span{max-width:58%;line-height:1.8}}
@media print{.header-feedback,.site-footer-bottom,#feedback-dialog{display:none!important}}
.feedback-more{border:1px solid var(--line);border-radius:8px;padding:0 13px}.feedback-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;cursor:pointer;font-size:12px;color:var(--accent);line-height:1.6}.feedback-more>summary>span{font-size:10px;color:var(--muted);white-space:nowrap}.feedback-more[open]{padding-bottom:16px}.feedback-more[open]>.field-grid{padding-top:12px}.feedback-more>summary:focus-visible{outline:3px solid #b38b41;outline-offset:3px}


/* legal-use.css */
.header-legal-notice{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 12px;background:#fff8e9;border:1px solid #d7c28e;border-radius:9px;color:#66501f;font-size:12px;white-space:nowrap}.header-legal-notice svg{width:21px;height:21px;flex-shrink:0}
#verification-notice{margin:0 0 24px;padding:19px 23px;gap:17px;align-items:flex-start;background:#fff7e6;border-color:#d9c28e;border-left:4px solid #9b752d;color:#4e493e}#verification-notice .legal-notice-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:27px;height:27px;border:1.5px solid #9b752d;border-radius:50%;font-size:17px;font-weight:700;color:#7a591c;line-height:1;margin-top:1px}#verification-notice .legal-notice-brief{min-width:0}#verification-notice strong{display:block;color:#483a21;font-size:15px;font-weight:650;line-height:1.6}#verification-notice p{color:#4e493e;font-size:13px;line-height:1.8;max-width:none;margin:6px 0}#verification-notice button{font-size:12px;font-weight:600;line-height:1.7;padding:3px 0;text-align:left;color:#66501f;text-decoration:underline;text-underline-offset:3px}
.site-footer>.legal-notice{padding:0;border:1px solid #d6c79f;border-radius:11px;background:#fff;scroll-margin-top:108px;overflow:clip}.site-footer>.legal-notice>summary{padding:20px 25px;color:#51401e;font-size:16px;line-height:1.6;font-weight:650;background:#fff7e6}.site-footer>.legal-notice[open]>summary{border-bottom:1px solid #e4d8b9}.legal-notice-body{padding:24px 28px;max-width:1040px}.legal-notice-body>section{margin:25px 0 0}.legal-notice-body h3{font-size:15px;font-weight:650;line-height:1.7;margin:0 0 9px;color:var(--ink)}.site-footer>.legal-notice .legal-notice-body p{color:var(--ink);font-size:14px;line-height:1.95;max-width:none;text-align:left;margin:0}.site-footer>.legal-notice .legal-notice-body .legal-notice-lead{font-weight:600;font-size:15px;line-height:1.85}.legal-official-links{border-top:1px solid var(--line);padding-top:22px;margin-top:26px;display:flex;flex-wrap:wrap;gap:12px 24px}.legal-official-links a{font-size:13px;line-height:1.8;text-underline-offset:3px;overflow-wrap:anywhere}.site-footer-top>p{font-size:12px;line-height:1.9}
@media(max-width:1000px){.header-legal-notice{width:42px;min-width:42px;padding:8px}.header-legal-notice>span{display:none}}
@media(max-width:700px){#verification-notice{display:flex;padding:16px 15px;gap:12px;margin:0 0 20px}#verification-notice strong{font-size:14px}#verification-notice p{font-size:13px;line-height:1.85}#verification-notice button{font-size:12px}.header-tools{gap:8px}.header-inner{gap:12px}.site-footer>.legal-notice>summary{font-size:15px;padding:18px 17px}.legal-notice-body{padding:20px 18px}.site-footer>.legal-notice .legal-notice-body p{font-size:14px;line-height:1.9}.site-footer>.legal-notice{scroll-margin-top:90px}}
@media(max-width:360px){#verification-notice{gap:10px;padding:15px 12px}#verification-notice .legal-notice-icon{width:23px;height:23px;font-size:15px}.header-tools{gap:5px}.header-inner{gap:8px}.header .brand{gap:8px;min-width:0}.header .brand-name strong{font-size:18px;letter-spacing:0}.header .brand-icon,.header .brand-icon img{width:30px;height:30px}}
@media print{#verification-notice{background:#fff;border:1px solid #777;color:#000;padding:12px;display:flex}#verification-notice button{display:none}.site-footer>.legal-notice>summary{background:#fff;color:#000;font-size:12px}.site-footer>.legal-notice .legal-notice-body p{font-size:10px}.legal-notice-body h3{font-size:11px}.legal-notice-body{padding:16px}.legal-notice-body>section{break-inside:avoid}}


/* site-ops.css */
.site-standalone{background:#f4f6f3;color:var(--ink);margin:0}.ops-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1200px;margin:auto;padding:23px 32px;border-bottom:1px solid var(--line)}.ops-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:23px;color:var(--accent)}.ops-header>span{font-size:12px;color:var(--muted)}.ops-wrap{max-width:1200px;padding:38px 32px 65px;margin:auto}.ops-page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:25px}.ops-page-heading h1{font-size:32px}.ops-page-heading p{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:0}.ops-page-heading>a{font-size:13px;white-space:nowrap}.ops-admin-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 0;font-size:13px}.ops-admin-tools>button{margin-left:auto}.ops-badge{display:inline-block;background:#e2efe7;color:#285c3d;border:1px solid #bfd5c6;border-radius:20px;font-size:12px;font-weight:600;padding:7px 15px}.ops-badge-warm{background:#fff0d7;color:#765118;border-color:#dfc18a}.ops-status{font-size:13px;line-height:1.8;color:var(--accent);margin:5px 0 20px}.ops-status:empty{display:none}.ops-error{padding:15px 17px;border:1px solid #deb8ab;background:#fff2eb;color:#8a3d28;border-radius:8px;font-size:13px;line-height:1.8}.ops-section{background:#fff;border:1px solid var(--line);border-radius:13px;padding:27px;margin:0 0 26px;min-width:0}.ops-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.ops-section-heading h2{margin:0;font-size:20px}.ops-section-heading>span{font-size:12px;line-height:1.8;color:var(--muted)}.ops-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:22px}.ops-metrics article{padding:19px 20px;border:1px solid #d5e1d9;background:#f3f7f4;border-radius:9px}.ops-metrics span{font-size:12px;color:var(--muted);display:block;line-height:1.8}.ops-metrics strong{display:block;font-size:32px;color:var(--accent-dark);line-height:1.4;margin-top:7px;font-variant-numeric:tabular-nums}.ops-muted{color:var(--muted);font-size:12px;line-height:1.9;margin:10px 0}.ops-tables{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;margin-top:26px}.ops-table-wrap{overflow:auto;max-height:490px;min-width:0}.ops-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.7}.ops-table-wrap caption{text-align:left;font-size:13px;font-weight:600;padding:0 0 14px;color:var(--ink)}.ops-table-wrap th,.ops-table-wrap td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:right;font-weight:400;font-variant-numeric:tabular-nums}.ops-table-wrap th:first-child,.ops-table-wrap td:first-child{text-align:left}.ops-table-wrap thead th{background:#f3f6f3;font-size:11px;font-weight:600}.ops-control-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.ops-control-grid article{min-width:0}.ops-control-grid article+article{border-left:1px solid var(--line);padding-left:28px}.ops-control-grid h3{font-size:17px;margin:0 0 13px;line-height:1.7}.ops-control-grid p{font-size:13px;line-height:1.9;margin:12px 0;color:var(--muted)}.ops-control-grid input{font-size:14px;width:100%;box-sizing:border-box}.ops-actions{display:flex;flex-wrap:wrap;gap:10px;margin:17px 0}.ops-actions .button{font-size:12px;line-height:1.6}.ops-danger{background:#80503a;border-color:#80503a}.site-confirm-dialog,.site-recovery-dialog{padding:26px;border:1px solid var(--line);border-radius:13px;width:min(650px,calc(100vw - 32px));max-height:88vh;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 25px 100px #163c3d33}.site-confirm-dialog::backdrop,.site-recovery-dialog::backdrop{background:#12373577}.ops-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.ops-dialog-heading h2{font-size:21px;line-height:1.6;margin-bottom:5px}.site-confirm-dialog p,.site-recovery-dialog>p{font-size:13px;line-height:1.9;color:var(--muted)}.site-confirm-dialog .field{font-size:13px;gap:8px;margin:20px 0}.site-confirm-dialog input{font-size:16px}.site-confirm-dialog #site-confirm-error{color:#8a3d28}.site-recovery-dialog{width:min(950px,calc(100vw - 32px))}.site-recovery-dialog pre{font:12px/1.9 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f4;border:1px solid var(--line);border-radius:7px;padding:18px;max-height:50vh;overflow:auto}.maintenance-page{max-width:760px;padding:65px 30px;margin:0 auto}.maintenance-page h1{font-size:34px;line-height:1.3;margin-bottom:25px}.maintenance-page p{font-size:15px;line-height:1.9;margin:18px 0}.maintenance-page .ops-muted{font-size:13px}.maintenance-page .button{display:inline-block;text-decoration:none;margin:12px 20px 12px 0}.maintenance-page>a{font-size:13px}.maintenance-page #maintenance-status{font-size:13px;color:var(--muted)}
.site-runtime-gate{position:fixed;inset:0;z-index:1000;background:#f3f6f2;display:grid;place-items:center;overflow:auto;padding:26px}.runtime-gate-card{max-width:780px;width:100%;padding:37px;background:white;border:1px solid #c8d8cc;border-radius:14px;box-shadow:0 12px 55px #1237350a}.runtime-gate-card h1{font-size:29px;line-height:1.4;margin:23px 0 17px}.runtime-gate-card p{font-size:15px;line-height:1.9;margin:14px 0}.runtime-gate-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.runtime-gate-card .runtime-gate-foot{font-size:12px;color:var(--muted)}.runtime-gate-card>a{font-size:13px}.site-update-bar{position:sticky;top:90px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf3ed;border:1px solid #b8cfc0;border-radius:9px;padding:15px 20px;margin:0 0 20px}.site-update-bar p{font-size:13px;line-height:1.8;margin:0}.site-update-bar>div{display:flex;flex-wrap:wrap;gap:9px 18px;flex-shrink:0}.site-update-bar button,.site-update-bar a{font-size:12px}.site-stats-preference{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;margin:15px 0}.site-stats-preference input{margin:4px 0 0;flex-shrink:0}.site-footer-bottom{flex-wrap:wrap}.site-footer-bottom>a{font-size:11px}
@media(max-width:800px){.ops-header{padding:20px}.ops-wrap{padding:27px 18px 45px}.ops-metrics{grid-template-columns:minmax(0,1fr)}.ops-metrics article{display:flex;align-items:center;justify-content:space-between;gap:15px}.ops-metrics strong{margin:0;font-size:29px}.ops-section{padding:21px 17px}.ops-tables,.ops-control-grid{grid-template-columns:minmax(0,1fr)}.ops-control-grid article+article{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}.ops-section-heading{display:block}.ops-section-heading>span{display:block;margin-top:10px}.site-update-bar{display:block;top:82px}.site-update-bar>div{margin-top:10px}.ops-control-grid input{font-size:16px}}
@media(max-width:500px){.ops-page-heading{display:block}.ops-page-heading>a{display:inline-block;margin-top:12px}.ops-page-heading h1{font-size:27px}.runtime-gate-card{padding:24px 20px}.runtime-gate-card h1{font-size:24px}.site-runtime-gate{padding:16px}.runtime-gate-actions{display:grid}.runtime-gate-actions .button{font-size:13px}.site-confirm-dialog,.site-recovery-dialog{padding:21px 17px;width:calc(100vw - 20px)}.ops-dialog-heading h2{font-size:18px}.ops-table-wrap table{font-size:11px}.ops-table-wrap th,.ops-table-wrap td{padding:11px 7px}.maintenance-page{padding:45px 22px}.maintenance-page h1{font-size:28px}}
@media print{.site-update-bar,.site-stats-preference{display:none!important}.site-runtime-gate:not([hidden]){position:static;display:block;box-shadow:none}.site-runtime-gate:not([hidden])~*{display:none}.ops-section{break-inside:avoid}.ops-admin-tools button{display:none}}

@media print{body:has(#site-runtime-gate:not([hidden])) > :not(#site-runtime-gate){display:none!important}}


/* workfiles.css */
.wf-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 23px}.wf-heading h2{font-size:32px;letter-spacing:-.7px;color:var(--accent);margin:10px 0}.wf-heading p{font-size:14px;line-height:1.85;color:var(--muted);margin:0}.wf-local-note{display:flex;align-items:center;gap:15px;border:1px solid #d8e3d7;background:#f0f4eb;padding:14px 18px;border-radius:9px;margin-bottom:24px}.wf-local-note>span{color:#6d825f}.wf-local-note p{flex:1;min-width:0;font-size:12px;line-height:1.8;margin:0}.wf-local-note button{font-size:12px;white-space:nowrap}.wf-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}.wf-library{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper)}.wf-library-heading{padding:18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wf-library-heading h3{font-size:14px;margin:0;color:var(--accent)}.wf-library-heading>span{font-size:11px;color:var(--muted)}.wf-library-empty{font-size:12px;line-height:1.8;color:var(--muted);padding:18px;margin:0}.wf-file{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);padding:17px 18px;overflow-wrap:anywhere}.wf-file:last-child{border-bottom:0}.wf-file>span,.wf-file strong,.wf-file small{display:block}.wf-file>span{font-size:10px;letter-spacing:.7px;color:var(--muted)}.wf-file strong{font-size:14px;line-height:1.6;color:var(--accent);margin:7px 0}.wf-file small{font-size:10px;line-height:1.7;color:var(--muted)}.wf-file:hover{background:#f0f5ef}.wf-file[aria-pressed=true]{background:#e9f0e5;box-shadow:inset 3px 0 #b29359}.wf-main{min-width:0}.wf-start{padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.wf-start>h3{font-size:29px;letter-spacing:-.5px;color:var(--accent);margin:12px 0}.wf-start>p{max-width:610px;color:var(--muted);font-size:13px;line-height:1.9}.wf-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:25px 0}.wf-guide-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;min-height:168px;text-align:left;padding:23px;border:1px solid #d6dfcf;border-radius:9px;background:#f7f8f1;transition:background .15s,border-color .15s}.wf-guide-card:hover{background:#edf2e7;border-color:#91aa90}.wf-guide-number{font-size:11px;color:#8a754b;margin-bottom:15px}.wf-guide-card strong{font-size:17px;line-height:1.5;color:var(--accent);margin:0 0 8px}.wf-guide-card small{font-size:12px;color:var(--muted);line-height:1.8;max-width:92%}.wf-guide-arrow{position:absolute;top:21px;right:22px;color:#6f8564}.wf-editor{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:26px;min-width:0}.wf-file-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.wf-file-top>span:last-child{font-size:10px;line-height:1.7;color:var(--muted)}.wf-editor .field,.workfile-dialog .field{display:block;font-size:12px;color:var(--accent);line-height:1.8;margin-bottom:17px}.wf-editor input,.wf-editor textarea,.wf-editor select,.workfile-dialog input:not([type=checkbox]),.workfile-dialog textarea,.workfile-dialog select{display:block;width:100%;min-width:0;border:1px solid #cbd7ca;border-radius:6px;background:#fff;color:var(--text);font:13px/1.8 inherit;font-family:inherit;font-size:13px;line-height:1.8;padding:10px 12px;min-height:44px;margin-top:6px}.wf-editor textarea,.workfile-dialog textarea{resize:vertical}.wf-editor #wf-title{font-size:19px;font-weight:600;color:var(--accent)}.wf-meta-actions,.wf-export-actions,.wf-add-buttons,.wf-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wf-meta-actions{margin-top:4px}.wf-meta-actions>span{font-size:11px;line-height:1.7;color:var(--muted)}.wf-export-actions{margin:22px 0 27px;padding-bottom:24px;border-bottom:1px solid var(--line)}.wf-export-actions .text-button{font-size:11px}.wf-add-area{border:1px solid #dde3d1;background:#f6f8f0;border-radius:8px;padding:18px}.wf-add-area h3{font-size:16px;color:var(--accent);margin:0 0 6px}.wf-add-area p{font-size:12px;color:var(--muted);margin:0 0 15px;line-height:1.8}.wf-add-buttons .button{font-size:11px;padding:9px 12px;min-height:42px}.wf-items-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 12px}.wf-items-heading h3{font-size:18px;color:var(--accent);margin:0}.wf-items-heading label{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.wf-items-heading select{width:auto;font-size:11px;min-height:39px;margin:0}.wf-snapshot-note{font-size:11px;line-height:1.85;color:var(--muted);margin:12px 0 20px}.wf-item{border:1px solid var(--line);border-radius:8px;margin:13px 0;padding:18px;overflow-wrap:anywhere;min-width:0}.wf-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.wf-item-heading h4{font-size:15px;line-height:1.7;color:var(--accent);margin:7px 0}.wf-item-heading>div:last-child{display:flex;gap:12px;flex-shrink:0}.wf-item-heading .text-button{font-size:10px}.wf-type{font-size:10px;letter-spacing:.5px;color:#7b6c49;background:#f3f0e5;padding:4px 7px;border-radius:4px}.wf-item-date{font-size:10px;line-height:1.8;color:var(--muted);margin:3px 0 12px}.wf-item-content summary{font-size:12px;color:var(--accent);cursor:pointer;padding:4px 0}.wf-item-content>p{white-space:pre-wrap;font-size:12px;line-height:1.95;color:#405248;max-height:500px;overflow:auto;border-top:1px solid var(--line);padding-top:15px;tab-size:4}.wf-item-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:11px}.wf-item-links button,.wf-item-links a{font-size:11px;line-height:1.8;color:var(--accent)}.wf-item-links:empty{display:none}.wf-file-controls{border-top:1px solid var(--line);margin-top:28px;padding-top:17px;font-size:11px;line-height:1.9;color:var(--muted)}.wf-file-controls summary{cursor:pointer}.wf-remove{color:#925139!important}.wf-no-items{background:#f8f9f3;border:1px dashed #cfd9c9;border-radius:8px;padding:23px;margin-top:18px;font-size:13px;color:var(--accent);line-height:1.8}.wf-no-items p{font-size:12px;color:var(--muted)}.wf-error{border-left:3px solid #ab683f;background:#fff3e6;padding:13px 16px;font-size:12px;line-height:1.9;color:#754323;margin:14px 0;overflow-wrap:anywhere}.wf-error[hidden]{display:none}.wf-muted{font-size:11px;line-height:1.9;color:var(--muted)}.workfile-dialog{max-width:720px;width:calc(100% - 36px);max-height:88dvh;overflow-y:auto;border:1px solid #d0dbcb;border-radius:12px;padding:28px;color:var(--text);background:var(--paper);box-shadow:0 20px 70px #1c382733}.workfile-dialog::backdrop{background:#122d2880;backdrop-filter:blur(2px)}.wf-dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.wf-dialog-head h2{margin:0;color:var(--accent);font-size:23px;line-height:1.5}.wf-dialog-head button{font-size:12px;white-space:nowrap}.wf-dialog-intro{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px}.wf-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.wf-field-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}.wf-question-number{display:inline-block;margin-right:8px;border-radius:50%;width:22px;text-align:center;background:#edf2e7;color:#617d5e;font-size:11px}.wf-guide-preview{background:#f1f5e9;border:1px solid #d9e2cd;border-radius:8px;padding:20px;margin:24px 0 0;font-size:12px;line-height:1.9}.wf-guide-preview>strong{font-size:14px;color:var(--accent)}.wf-guide-preview>p{margin:10px 0}.wf-guide-preview ul{padding-left:19px}.wf-guide-preview li{margin:9px 0}.wf-tool-chips{display:flex;gap:6px;flex-wrap:wrap}.wf-tool-chips span{border:1px solid #d3ddc6;background:#fff;padding:4px 9px;border-radius:4px;font-size:10px;color:var(--accent)}.wf-destination{font-size:12px;padding:11px 14px;background:#eef3e8;border-radius:6px;color:var(--accent);overflow-wrap:anywhere}.workfile-dialog select[size]{min-height:190px;font-size:12px}.workfile-dialog select[size] option{padding:8px;white-space:normal}.workfile-capture-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f2f5ec;border:1px solid #d7e0cc;border-radius:8px;padding:14px 19px;margin-bottom:22px}.workfile-capture-bar[hidden]{display:none}.workfile-capture-bar>div:first-child{min-width:0}.workfile-capture-bar span{display:block;font-size:9px;letter-spacing:1px;color:#7a8066;margin-bottom:5px}.workfile-capture-bar strong{display:block;font-size:12px;font-weight:500;line-height:1.7;color:var(--accent);overflow-wrap:anywhere}.workfile-capture-bar>div:last-child{display:flex;gap:20px;flex-shrink:0}.workfile-capture-bar button{font-size:11px}.wf-home-start{display:flex;justify-content:space-between;align-items:center;gap:24px;border:1px solid #d5dfcc;border-radius:10px;background:#f0f4e8;padding:23px 27px;margin-bottom:28px}.wf-home-start h2{font-size:21px;color:var(--accent);margin:7px 0}.wf-home-start p{font-size:12px;line-height:1.85;color:var(--muted);margin:0}.wf-home-start .button{white-space:nowrap}.workfile-dialog :focus-visible,#workfiles-app :focus-visible,.workfile-capture-bar :focus-visible{outline:3px solid #b29359;outline-offset:3px}
@media(max-width:900px){.wf-layout{grid-template-columns:195px minmax(0,1fr);gap:16px}.wf-editor{padding:20px}.wf-local-note{flex-wrap:wrap;gap:10px}.wf-local-note p{flex-basis:85%}.wf-start{padding:24px}.wf-guide-card{padding:18px}.wf-guide-card strong{font-size:16px}.wf-guide-card small{font-size:11px}}
@media(max-width:650px){.wf-heading{align-items:flex-start;gap:12px;flex-direction:column}.wf-heading h2{font-size:27px}.wf-heading p{font-size:12px}.wf-layout{grid-template-columns:minmax(0,1fr)}.wf-library{max-height:240px;overflow-y:auto}.wf-library-heading{padding:14px 17px}.wf-file{padding:13px 17px}.wf-start{padding:22px 17px}.wf-start>h3{font-size:25px}.wf-guide-grid{gap:10px}.wf-guide-card{min-height:174px;padding:16px 13px}.wf-guide-arrow{right:13px;top:14px}.wf-guide-card strong{font-size:15px}.wf-guide-card small{max-width:100%;font-size:11px}.wf-editor{padding:18px 14px}.wf-file-top{align-items:flex-start;flex-direction:column;gap:8px}.wf-items-heading{align-items:flex-start;flex-direction:column}.wf-items-heading label{width:100%}.wf-items-heading select{flex:1}.wf-item{padding:15px 13px}.wf-item-heading{flex-direction:column;gap:0}.wf-item-heading>div:last-child{align-self:flex-end}.wf-item-heading h4{font-size:14px}.wf-item-content>p{font-size:11px}.wf-export-actions>.button{flex:1}.wf-add-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wf-add-buttons .button{white-space:normal}.workfile-dialog{padding:21px 17px;width:calc(100% - 20px);max-height:91dvh}.wf-dialog-head{gap:12px}.wf-dialog-head h2{font-size:20px}.wf-field-grid{grid-template-columns:minmax(0,1fr);gap:0}.wf-dialog-actions{justify-content:stretch}.wf-dialog-actions .button{flex:1;font-size:12px;white-space:normal}.workfile-capture-bar{align-items:flex-start;flex-direction:column;gap:10px;padding:13px 16px}.workfile-capture-bar>div:last-child{gap:18px;flex-wrap:wrap}.wf-home-start{align-items:flex-start;flex-direction:column;padding:20px}.wf-home-start h2{font-size:19px}.wf-local-note{padding:13px}.wf-local-note p{font-size:11px}.navigation-home-row .navigation-shortcuts>button{flex-direction:column;gap:3px;padding:8px 3px}.navigation-home-row .navigation-shortcuts>button>span{font-size:10px}.navigation-home-row .navigation-shortcuts>button .agenda-nav-count{display:none}}
@media print{.workfile-capture-bar,.wf-library,.wf-export-actions,.wf-add-area,.wf-file-controls{display:none!important}.wf-layout{display:block}.wf-item-content>p{max-height:none;overflow:visible}.wf-item{break-inside:avoid}}
.wf-download-ready{padding:12px 16px;border:1px solid #c9d9c0;border-radius:7px;background:#f0f6e9;color:var(--accent);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.wf-download-ready a{font-weight:600;text-decoration:underline;text-underline-offset:3px}
.wf-tasks{border:1px solid #d3ddcb;border-radius:9px;padding:20px;margin:26px 0;background:#f7f9f2;min-width:0}.wf-tasks-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.wf-tasks-heading h3{color:var(--accent);font-size:18px;margin:0 0 7px}.wf-tasks-heading p{color:var(--muted);font-size:11px;line-height:1.9;margin:0}.wf-tasks-heading .button{font-size:11px;white-space:nowrap}.wf-task-progress{display:flex;align-items:center;gap:13px;margin:17px 0}.wf-task-progress progress{display:block;width:100%;height:7px;accent-color:#6d825f;border:0;border-radius:9px;overflow:hidden;background:#e0e8d9}.wf-task-progress progress::-webkit-progress-bar{background:#e0e8d9;border-radius:9px}.wf-task-progress progress::-webkit-progress-value{background:#6d825f;border-radius:9px}.wf-task-progress progress::-moz-progress-bar{background:#6d825f}.wf-task-progress span{flex-shrink:0;font-size:10px;color:var(--muted)}.wf-task-scope{color:var(--muted);font-size:11px;line-height:1.9;margin:12px 0 16px}.wf-task-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #dce4d5}.wf-task-filters>.text-button{font-size:11px;border:1px solid transparent;border-radius:5px;padding:7px 10px;min-height:38px}.wf-task-filters>.text-button[aria-pressed=true]{background:#e7efdf;border-color:#c7d6be;color:var(--accent)}.wf-task-filters>span{flex-basis:100%;font-size:10px;line-height:1.8;color:var(--muted);margin:5px 0 8px}.wf-task{background:var(--paper);border:1px solid #dbe3d4;border-radius:7px;margin:12px 0;padding:16px;min-width:0;overflow-wrap:anywhere}.wf-task-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.wf-task-top>div{display:flex;gap:15px}.wf-task-top .text-button{font-size:10px;min-height:34px}.wf-task-status{display:inline-block;padding:4px 8px;border-radius:4px;color:#6c6847;background:#f3f0df;font-size:10px}.wf-task-status-doing{background:#edf0dc;color:#69713f}.wf-task-status-done{background:#e6efdf;color:#526d49}.wf-task h4{white-space:pre-wrap;color:var(--accent);font-size:13px;line-height:1.9;font-weight:500;margin:10px 0}.wf-task-done h4{color:#61705c}.wf-task-date{font-size:10px;line-height:1.9;color:var(--muted);margin:8px 0}.wf-task-date strong{display:inline-block;font-weight:500;color:#875b36;background:#fbefdf;border-radius:4px;margin-left:6px;padding:2px 7px}.wf-task-notes{font-size:11px;line-height:1.9;color:var(--muted);margin:9px 0}.wf-task-notes summary{cursor:pointer;color:var(--accent)}.wf-task-notes p{white-space:pre-wrap;max-height:300px;overflow:auto;line-height:1.95;border-top:1px solid var(--line);padding-top:10px}.wf-task-state-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 0;padding-top:11px;border-top:1px solid #edf0e8}.wf-task-state-actions .text-button{font-size:10px;min-height:38px;padding:7px 10px;border:1px solid #dce3d5;border-radius:5px}.wf-task-state-actions .text-button[aria-pressed=true]{background:#edf3e7;color:#526c4d;border-color:#d5dfcd;opacity:1;cursor:default}.wf-task-empty{font-size:12px;line-height:1.9;color:var(--muted);padding:16px 0 8px}.wf-task-help{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:7px}.wf-guide-task-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid #d6dfce;background:#f7f9f1;border-radius:7px;padding:14px;margin-top:17px;font-size:12px;line-height:1.8;color:var(--accent)}.wf-guide-task-choice input{flex-shrink:0;min-width:18px;min-height:18px;margin:3px 0 0}.wf-guide-task-choice small{display:block;font-size:11px;line-height:1.85;color:var(--muted);margin-top:5px}
@media(max-width:650px){.wf-tasks{padding:16px 12px}.wf-tasks-heading{flex-direction:column;gap:12px}.wf-tasks-heading .button{min-height:44px}.wf-task{padding:13px 11px}.wf-task-top{align-items:flex-start}.wf-task-top>div{gap:10px;flex-wrap:wrap;justify-content:flex-end}.wf-task-top .text-button{min-height:40px}.wf-task h4{font-size:12px}.wf-task-state-actions .text-button{flex:1;min-height:44px;padding:7px 5px}.wf-task-progress{gap:8px}.wf-task-progress span{font-size:9px}.wf-task-filters>.text-button{min-height:44px;padding:7px 9px}.wf-task-date strong{margin:4px 4px 0 0}.wf-task-date{display:flex;align-items:flex-start;flex-direction:column}.wf-guide-task-choice{padding:12px;font-size:11px}}
@media print{.wf-tasks-heading>.button,.wf-task-filters,.wf-task-top>div,.wf-task-state-actions{display:none!important}.wf-tasks{background:none}.wf-task{break-inside:avoid}.wf-task-notes p{max-height:none;overflow:visible}}
.wf-chronology{border:1px solid #d6dfcd;border-radius:9px;padding:21px;margin:26px 0;background:#f9faf4;min-width:0}.wf-chronology-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.wf-chronology-heading h3{font-size:19px;line-height:1.5;color:var(--accent);margin:0 0 7px}.wf-chronology-heading p{font-size:11px;line-height:1.85;color:var(--muted);margin:0}.wf-chronology-heading>.button{flex-shrink:0;white-space:nowrap;font-size:11px}.wf-chronology-scope{font-size:11px;line-height:1.9;color:var(--muted);margin:16px 0 20px}.wf-chronology-filters{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.wf-chronology-filters .field{font-size:11px;margin:0}.wf-chronology-filters input,.wf-chronology-filters select{font-size:11px;padding:9px 10px;min-height:42px}.wf-chronology-count{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e0e6d9;margin-top:20px;padding-top:12px}.wf-chronology-count p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}.wf-chronology-count strong{font-weight:500;color:var(--accent)}.wf-chronology-count>.text-button{font-size:10px;min-height:38px}.wf-event-group{margin-top:17px}.wf-event-group>h4{font-size:12px;line-height:1.8;color:var(--accent);font-weight:500;margin:0 0 12px}.wf-event-group>h4>span{font-size:10px;color:#7d7559;background:#f1edde;border-radius:4px;padding:3px 7px;margin-left:7px}.wf-event-group-unknown{margin-top:24px;border-top:1px solid #dde5d5;padding-top:19px}.wf-event-group-unknown>.wf-muted{margin:3px 0 14px}.wf-event{border:1px solid #d9e2d1;background:var(--paper);border-radius:8px;padding:18px;margin:12px 0;min-width:0;overflow-wrap:anywhere}.wf-event-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.wf-event-date>span{display:block;font-size:9px;line-height:1.8;color:var(--muted)}.wf-event-date>time{display:block;font-size:16px;line-height:1.5;color:#7d6b43;margin-top:4px;font-variant-numeric:tabular-nums}.wf-event-date>.wf-event-unknown{font-size:11px;padding:4px 8px;color:#766b51;background:#f1efe4;border-radius:4px}.wf-event-top>div:last-child{display:flex;gap:14px;flex-shrink:0}.wf-event-top .text-button{font-size:10px;min-height:34px}.wf-event h5{font-size:14px;line-height:1.85;font-weight:500;color:var(--accent);margin:15px 0 12px}.wf-event-body{font-size:11px;line-height:1.9;color:var(--muted)}.wf-event-body summary{cursor:pointer;color:var(--accent);padding:4px 0}.wf-event-body>p{white-space:pre-wrap;font-size:11px;line-height:1.95;color:#425447;max-height:500px;overflow:auto;border-top:1px solid var(--line);padding-top:13px;tab-size:4}.wf-event-source{display:inline-block;font-size:11px;line-height:1.9;color:var(--accent);margin:13px 17px 0 0;min-height:30px}.wf-chronology-empty{font-size:12px;line-height:1.9;color:var(--muted);padding:17px 0}.wf-chronology-export{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding-top:17px;margin-top:22px;border-top:1px solid #dce4d3}.wf-chronology-export>div{flex:1;min-width:180px}.wf-chronology-export p{font-size:10px;line-height:1.85;color:var(--muted);margin:4px 0}.wf-chronology-export>.text-button{font-size:10px;min-height:38px}.wf-event-kind{font-size:11px;line-height:1.9;color:var(--muted);padding:10px 13px;background:#f2f6eb;border:1px solid #dce5d3;border-radius:5px;margin:0 0 18px}.wf-event-kind strong{font-weight:500;color:var(--accent)}.wf-event-date-help{font-size:11px;line-height:1.9;color:var(--muted);margin:-5px 0 19px}
@media(max-width:850px){.wf-chronology-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-chronology-filters>.field:first-child{grid-column:1/-1}}
@media(max-width:650px){.wf-chronology{padding:17px 12px}.wf-chronology-heading{flex-direction:column;gap:12px}.wf-chronology-heading h3{font-size:18px}.wf-chronology-heading>.button{min-height:44px}.wf-chronology-scope{font-size:10px}.wf-chronology-filters{gap:10px}.wf-chronology-filters input,.wf-chronology-filters select{min-height:44px;padding:8px}.wf-event{padding:15px 12px}.wf-event-top{gap:9px}.wf-event-top>div:last-child{gap:10px}.wf-event-top .text-button{min-height:40px}.wf-event h5{font-size:13px}.wf-event-date>span{font-size:9px}.wf-event-date>time{font-size:15px}.wf-chronology-count{align-items:flex-start;gap:10px}.wf-chronology-count>.text-button{min-height:40px}.wf-chronology-export{gap:10px}.wf-chronology-export>div{flex-basis:100%;min-width:0}.wf-chronology-export>.text-button{flex:1;min-height:44px}.wf-event-date-help{font-size:10px}}
@media print{.wf-chronology-heading>.button,.wf-chronology-filters,.wf-chronology-count>.text-button,.wf-event-top>div:last-child,.wf-chronology-export{display:none!important}.wf-chronology{background:none}.wf-event{break-inside:avoid}.wf-event-body>p{max-height:none;overflow:visible}}
.wf-source-review{margin:14px 0;border:1px solid #d5e2e3;border-radius:7px;background:#f7faf9;font-size:12px;line-height:1.8;min-width:0}
.wf-source-review>summary{cursor:pointer;padding:11px 13px;color:var(--accent);min-height:44px;font-weight:600}
.wf-source-changed>summary,.wf-source-missing>summary{color:#765313}
.wf-source-panel{padding:0 13px 15px;min-width:0}
.wf-source-panel .wf-source-state{font-size:12px;line-height:1.85;color:var(--text);margin:3px 0 10px}
.wf-source-panel .wf-source-scope,.wf-source-panel .wf-source-copy-note{font-size:13px;line-height:1.85;color:var(--muted);margin:8px 0 15px}
.wf-source-metadata-grid,.wf-source-text-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0;min-width:0}
.wf-source-metadata-grid>section,.wf-source-text-grid>section{min-width:0;border:1px solid #dce5e2;border-radius:6px;background:#fff;padding:12px}
.wf-source-panel h5{font-size:13px;line-height:1.7;color:var(--accent);margin:0 0 10px;font-weight:600}
.wf-source-panel .wf-source-metadata p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;color:var(--muted);margin:0}
.wf-source-panel .wf-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;tab-size:4;margin:0;max-height:420px;overflow:auto;padding:3px}
.wf-source-panel>.text-button{font-size:12px;min-height:44px;text-align:left}
.wf-source-edit-notice{font-size:12px;line-height:1.85;border:1px solid #d5e2e3;background:#f4f8f6;border-radius:6px;padding:13px;margin:8px 0 18px;color:var(--muted)}
.wf-source-edit-notice p{margin:0 0 9px}
.wf-source-edit-notice p:last-child{margin-bottom:0}
.wf-source-edit-notice [hidden]{display:none}
.wf-source-edit-notice #wf-source-detach-choice{border-top:1px solid #d9ddd2;padding-top:12px;margin-top:12px;color:#765313}
.wf-source-edit-notice .check{margin-top:10px;align-items:flex-start}
@media(max-width:850px){.wf-source-metadata-grid,.wf-source-text-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
  #workfiles-app button,#workfiles-app summary,.workfile-dialog button,.workfile-capture-bar button{min-height:44px;min-width:44px}
  #workfiles-app summary{padding-block:10px}
  #workfiles-app .wf-item-links a,#workfiles-app .wf-event-source{display:inline-flex;align-items:center;min-height:44px}
}
@media print{.wf-source-panel .wf-source-text{max-height:none;overflow:visible}.wf-source-panel>.text-button,.wf-source-panel .wf-source-copy-note{display:none!important}}


/* device-transfer.css */
.device-transfer-dialog{box-sizing:border-box;width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #c7d6d4;border-radius:18px;padding:26px;color:#17383d;background:#fff;box-shadow:0 24px 90px #102e3c40;font:inherit}
.device-transfer-dialog::backdrop{background:#102d3a99}.device-transfer-dialog [hidden]{display:none!important}.device-transfer-dialog *{box-sizing:border-box}.device-transfer-dialog .dt-heading{display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.device-transfer-dialog h2{margin:0;font-size:1.5rem;line-height:1.25}.device-transfer-dialog h3{margin:22px 0 12px;font-size:1.05rem}.device-transfer-dialog p{line-height:1.65}.device-transfer-dialog .dt-muted{color:#4d686c;font-size:.9rem}.device-transfer-dialog .dt-tabs{display:flex;gap:6px;margin:20px 0;border-bottom:1px solid #c7d6d4;padding-bottom:8px}.device-transfer-dialog .dt-tabs button{flex:1;min-height:44px;border:1px solid #c7d6d4;border-radius:8px;background:#f5f8f6;color:#23474b;font:inherit;font-weight:650;cursor:pointer}.device-transfer-dialog .dt-tabs button[aria-selected=true]{background:#174d53;color:#fff;border-color:#174d53}.device-transfer-dialog .dt-inventory{display:grid;grid-template-columns:1fr 1fr;gap:9px}.device-transfer-dialog .dt-inventory-row{display:flex;align-items:flex-start;gap:10px;border:1px solid #c7d6d4;border-radius:10px;padding:12px;min-height:64px;overflow-wrap:anywhere}.device-transfer-dialog .dt-inventory-row input{flex:none;width:20px;height:20px;margin:2px 0}.device-transfer-dialog .dt-inventory-row span{min-width:0}.device-transfer-dialog .dt-inventory-row strong,.device-transfer-dialog .dt-inventory-row small{display:block}.device-transfer-dialog .dt-inventory-row small{margin-top:4px;font-size:.82rem;line-height:1.5;color:#52696b}.device-transfer-dialog .dt-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.device-transfer-dialog label:not(.dt-inventory-row):not(.dt-check){display:block;font-weight:650;line-height:1.5;margin:12px 0}.device-transfer-dialog input:not([type=checkbox]),.device-transfer-dialog select{display:block;width:100%;min-height:44px;margin-top:6px;padding:10px 12px;border:1px solid #91aaa9;border-radius:8px;color:#17383d;background:#fff;font:inherit}.device-transfer-dialog input[type=file]{padding:8px;font-size:.9rem}.device-transfer-dialog input::file-selector-button{min-height:36px;margin-right:8px;border:1px solid #91aaa9;border-radius:5px;background:#f1f6f4;padding:6px 10px;font:inherit;color:#17383d}.device-transfer-dialog .dt-check{display:flex;align-items:flex-start;gap:10px;margin:16px 0;min-height:44px;font-weight:500;line-height:1.6}.device-transfer-dialog .dt-check input{flex:none;width:20px;height:20px;margin-top:3px}.device-transfer-dialog .dt-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.device-transfer-dialog button{min-height:44px}.device-transfer-dialog .dt-plan{margin-top:16px;padding:16px;border:1px solid #b8cfca;border-radius:10px;background:#f2f7f4;overflow-wrap:anywhere}.device-transfer-dialog .dt-plan p{margin-top:0}.device-transfer-dialog .dt-status{margin:18px 0 0;font-weight:650;color:#215f54;overflow-wrap:anywhere}.device-transfer-dialog .dt-status:empty{display:none}.device-transfer-dialog .dt-error{padding:12px 14px;border-left:4px solid #a23b2f;border-radius:5px;background:#fff0eb;color:#782c24;overflow-wrap:anywhere}.device-transfer-dialog .dt-download{padding:12px 14px;background:#eff6f1;border-radius:8px;overflow-wrap:anywhere}.device-transfer-dialog .dt-download a{display:inline-flex;align-items:center;min-height:44px;color:#13564b;font-weight:750;text-decoration:underline}.device-transfer-dialog :is(button,input,select,a):focus-visible{outline:3px solid #bd852d;outline-offset:3px}.device-transfer-dialog button:disabled{opacity:.55;cursor:default}
@media(max-width:560px){.device-transfer-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:18px 15px;border-radius:12px}.device-transfer-dialog h2{font-size:1.25rem}.device-transfer-dialog .dt-grid,.device-transfer-dialog .dt-inventory{grid-template-columns:1fr}.device-transfer-dialog .dt-heading{gap:8px}.device-transfer-dialog .dt-heading button{flex:none}.device-transfer-dialog .dt-actions .button{width:100%}.device-transfer-dialog .dt-tabs{gap:8px}.device-transfer-dialog input[type=file]{max-width:100%}}
.device-transfer-dialog .dt-vault{margin:18px 0;border:1px solid #c7d6d4;border-radius:10px;padding:0 14px;background:#f6f9f7}.device-transfer-dialog .dt-vault summary{display:flex;align-items:center;min-height:48px;font-weight:700;cursor:pointer}.device-transfer-dialog .dt-vault summary::before{content:'▸';margin-right:9px}.device-transfer-dialog .dt-vault[open] summary::before{content:'▾'}.device-transfer-dialog .dt-vault p{font-size:.9rem}.device-transfer-dialog .dt-vault a{display:inline-flex;align-items:center;min-height:44px;color:#13564b;font-weight:700}.device-transfer-dialog .dt-vault-action{margin-top:20px;padding-top:10px;border-top:1px solid #c7d6d4}.device-transfer-dialog #dt-vault-clear-controls{margin:16px 0;padding-top:8px;border-top:1px solid #ccd8d3}.device-transfer-dialog #dt-vault-clear{color:#8c3127}.device-transfer-dialog .dt-vault summary:focus-visible{outline:3px solid #bd852d;outline-offset:3px}
.device-transfer-dialog .dt-conflict-card{margin:14px 0;padding:12px;border:1px solid #bdceca;border-radius:9px;background:#fff;min-width:0}.device-transfer-dialog .dt-conflict-details>summary{padding:8px 0;min-height:44px;font-weight:700;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.device-transfer-dialog .dt-conflict-card>.dt-muted{margin:8px 0}.device-transfer-dialog .dt-conflict-card label{margin-bottom:0}.device-transfer-dialog .dt-record-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.device-transfer-dialog .dt-record-columns:empty{display:none}.device-transfer-dialog .dt-record-column{min-width:0}.device-transfer-dialog .dt-record-column h5{margin:12px 0 8px;font-size:.9rem}.device-transfer-dialog .dt-record-summary,.device-transfer-dialog .dt-record-json{margin:0;padding:10px;border:1px solid #d0dcd8;border-radius:6px;background:#f7f9f8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:20rem;overflow:auto;font:inherit;font-size:.86rem;line-height:1.6}.device-transfer-dialog .dt-record-all{margin-top:8px}.device-transfer-dialog .dt-record-all>summary{min-height:44px;padding:10px 0;color:#345e59;font-size:.85rem;cursor:pointer}.device-transfer-dialog .dt-record-json{max-height:16rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.76rem}.device-transfer-dialog .dt-conflict-card summary:focus-visible{outline:3px solid #bd852d;outline-offset:3px}
@media(max-width:560px){.device-transfer-dialog .dt-record-columns{grid-template-columns:1fr}.device-transfer-dialog .dt-conflict-card{padding:10px}.device-transfer-dialog .dt-record-summary{max-height:16rem}}


/* cost-plan.css */
.cp-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:12px 0 24px}.cp-heading h2{font-size:31px;letter-spacing:-.6px;color:var(--accent);margin:10px 0}.cp-heading p{font-size:13px;line-height:1.85;color:var(--muted);margin:0}.cp-local{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#eff4e9;border:1px solid #d6e0ca;border-radius:9px;padding:16px 20px;margin-bottom:22px}.cp-local p{font-size:12px;line-height:1.85;color:#53634d;margin:0;max-width:740px}.cp-local>div{display:flex;gap:18px;flex-shrink:0}.cp-local button{font-size:11px}.cp-meta{padding:24px}.cp-meta .field,.cp-row .field,.cp-dialog .field{display:block;font-size:12px;line-height:1.8;color:var(--accent);margin-bottom:16px}.cp-meta input,.cp-meta textarea,.cp-row input:not([type=checkbox]),.cp-row textarea,.cp-row select,.cp-dialog input:not([type=checkbox]),.cp-dialog select{display:block;width:100%;min-width:0;min-height:44px;margin-top:6px;padding:10px 12px;background:#fff;color:var(--text);border:1px solid #cbd7ca;border-radius:6px;font-family:inherit;font-size:13px;line-height:1.8}.cp-meta #cp-title{font-size:20px;font-weight:600;color:var(--accent)}.cp-meta textarea,.cp-row textarea{resize:vertical}.cp-scenario-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cp-muted{font-size:11px;line-height:1.9;color:var(--muted)}.cp-result{margin:24px 0}.cp-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cp-totals article{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:9px;min-width:0;overflow-wrap:anywhere}.cp-totals article>span,.cp-totals strong,.cp-totals small{display:block}.cp-totals article>span{font-size:12px;color:var(--muted);line-height:1.7}.cp-totals strong{font-size:27px;line-height:1.4;color:var(--accent);margin:12px 0}.cp-totals small{font-size:11px;line-height:1.8;color:var(--muted)}.cp-totals article.cp-difference{background:#edf3e7;border-color:#d7e2ca}.cp-total-note{font-size:11px;line-height:1.9;color:var(--muted);margin:13px 0 0}.cp-warnings,.cp-workflow-note{border-left:3px solid #b29359;background:#faf6e9;border-radius:0 7px 7px 0;padding:17px 20px;margin-top:18px;font-size:12px;line-height:1.9;color:#6b6045}.cp-warnings strong,.cp-workflow-note strong{color:#655632;font-size:13px}.cp-warnings ul{margin:8px 0 0;padding-left:20px}.cp-workflow-note p{margin:7px 0 0}.cp-rows-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 17px}.cp-rows-heading h3{font-size:21px;color:var(--accent);margin:0 0 7px}.cp-rows-heading p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.cp-row{padding:23px 25px;background:var(--paper);border:1px solid var(--line);border-radius:10px;margin:16px 0;min-width:0}.cp-row-top{display:grid;grid-template-columns:28px minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;gap:16px}.cp-row-number{color:#988355;font-size:11px}.cp-row-top .field{margin:0}.cp-remove{font-size:11px;color:#925139}.cp-cell-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:21px 0}.cp-cell{min-width:0;padding:17px;background:#f5f7f0;border:1px solid #e0e5d7;border-radius:7px}.cp-cell>label:first-child{font-size:12px;color:var(--accent);line-height:1.8}.cp-cell>input{font-size:18px!important;font-variant-numeric:tabular-nums}.cp-include{display:flex;align-items:center;gap:8px;margin-top:11px;font-size:12px;color:var(--accent);line-height:1.8}.cp-include input{width:16px;height:16px;flex-shrink:0;accent-color:var(--accent)}.cp-cell>small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:4px}.cp-source{border-top:1px solid #dce5d0;margin-top:13px;padding-top:10px}.cp-source summary{font-size:10px;line-height:1.85;color:var(--accent);cursor:pointer;overflow-wrap:anywhere}.cp-source p{font-size:10px;line-height:1.8;color:var(--muted)}.cp-source pre,.cp-transfer-report pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.9 inherit;font-family:inherit;font-size:11px;line-height:1.9;color:#4f6151;max-height:360px;overflow:auto}.cp-row .cp-row-note{margin-bottom:9px}.cp-row-delta{font-size:10px;color:var(--muted);line-height:1.8;margin:8px 0 0}.cp-footer-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:25px 0 17px}.cp-footer-actions .text-button{font-size:12px}.cp-status{font-size:12px;line-height:1.85;color:var(--accent);margin:15px 0}.cp-error,.cp-invalid{border-left:3px solid #a86a44;background:#fff2e6;padding:14px 17px;color:#7b4d2f;font-size:12px;line-height:1.9;border-radius:0 6px 6px 0}.cp-error[hidden],.cp-status[hidden],.cp-recovery[hidden]{display:none}.cp-invalid strong{font-size:15px}.cp-invalid p{margin:6px 0 0}.cp-recovery{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:16px 0}.cp-recovery .text-button{font-size:12px}.cp-download-ready{padding:12px 16px;border:1px solid #c9d9c0;border-radius:7px;background:#f0f6e9;color:var(--accent);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.cp-download-ready a{text-decoration:underline;font-weight:600;text-underline-offset:3px}.cp-dialog{max-width:690px;width:calc(100% - 32px);max-height:88dvh;overflow-y:auto;padding:27px;background:var(--paper);border:1px solid #c9d8c7;border-radius:11px;box-shadow:0 20px 70px #1c382733;color:var(--text)}.cp-dialog::backdrop{background:#122d2880;backdrop-filter:blur(2px)}.cp-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.cp-dialog-head h2{font-size:23px;color:var(--accent);line-height:1.5;margin:0}.cp-dialog-head button{font-size:11px;white-space:nowrap}.cp-dialog p{font-size:12px;line-height:1.9}.cp-dialog-intro{color:var(--muted)}.cp-transfer-total{background:#eef4e7;border:1px solid #d8e2cd;border-radius:7px;padding:20px;margin:18px 0;overflow-wrap:anywhere}.cp-transfer-total>span,.cp-transfer-total>strong,.cp-transfer-total>small{display:block}.cp-transfer-total>span{font-size:12px;color:var(--accent);line-height:1.8}.cp-transfer-total>strong{font-size:27px;color:var(--accent);margin:8px 0}.cp-transfer-total>small{font-size:11px;color:var(--muted);line-height:1.8}.cp-transfer-note{color:#78623c;background:#faf5e8;padding:12px 15px;border-left:3px solid #b29359}.cp-transfer-report{border-top:1px solid var(--line);padding-top:13px;font-size:12px;color:var(--accent);line-height:1.8}.cp-transfer-report summary{cursor:pointer}.cp-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9;color:var(--accent);margin:21px 0}.cp-consent input{margin-top:5px;width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}.cp-dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.cp-empty{padding:25px;border:1px dashed #cfd9c9;border-radius:8px;font-size:13px;color:var(--muted)}#cost-plan-app :focus-visible,.cp-dialog :focus-visible{outline:3px solid #b29359;outline-offset:3px}
@media(max-width:900px){.cp-row{padding:20px}.cp-row-top{grid-template-columns:24px minmax(0,1.3fr) minmax(0,1fr) auto;gap:10px}.cp-totals strong{font-size:23px}.cp-totals article{padding:20px}.cp-local{align-items:flex-start;flex-direction:column;gap:12px}.cp-meta{padding:21px}}
@media(max-width:650px){.cp-heading{align-items:flex-start;flex-direction:column;gap:15px}.cp-heading h2{font-size:27px}.cp-heading p{font-size:12px}.cp-meta{padding:19px 15px}.cp-scenario-names{grid-template-columns:minmax(0,1fr);gap:0}.cp-totals{grid-template-columns:minmax(0,1fr);gap:11px}.cp-totals article{padding:18px}.cp-totals strong{font-size:26px;margin:8px 0}.cp-row{padding:18px 14px}.cp-row-top{grid-template-columns:22px minmax(0,1fr) auto;gap:10px}.cp-row-top .field:nth-of-type(2){grid-column:2/4;grid-row:2}.cp-row-top .cp-remove{grid-column:3;grid-row:1}.cp-cell-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin:19px 0}.cp-cell{padding:14px}.cp-rows-heading{align-items:flex-start;flex-direction:column;gap:13px}.cp-rows-heading h3{font-size:20px}.cp-local{padding:15px}.cp-local p{font-size:11px}.cp-workflow-note,.cp-warnings{padding:14px 16px;font-size:11px}.cp-footer-actions{gap:9px}.cp-footer-actions>.button{flex:1;font-size:12px;white-space:normal}.cp-footer-actions>.text-button{font-size:11px;margin-right:8px}.cp-dialog{padding:21px 17px;width:calc(100% - 20px);max-height:91dvh}.cp-dialog-head{gap:12px}.cp-dialog-head h2{font-size:20px}.cp-dialog-actions{justify-content:stretch}.cp-dialog-actions .button{flex:1;font-size:12px;white-space:normal}}
@media print{.cp-local,.cp-footer-actions,.cp-rows-heading>button,.cp-remove,.cp-recovery{display:none!important}.cp-row{break-inside:avoid}.cp-source pre{max-height:none;overflow:visible}}
.cp-home-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 23px;border:1px solid #d7e1cf;background:#f7f9f2;border-radius:9px;margin:0 0 26px}.cp-home-link strong{font-size:15px;color:var(--accent)}.cp-home-link p{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 0}.cp-home-link button{font-size:12px;white-space:nowrap}@media(max-width:650px){.cp-home-link{align-items:flex-start;flex-direction:column;gap:10px;padding:17px}.cp-home-link p{font-size:11px}}


/* decision-comparison.css */
.dc-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:12px 0 24px}.dc-heading h2{font-size:31px;letter-spacing:-.6px;color:var(--accent);margin:10px 0}.dc-heading p{font-size:13px;line-height:1.85;color:var(--muted);margin:0;max-width:800px}.dc-local{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 20px;border:1px solid #d6e0ca;border-radius:9px;background:#eff4e9;margin-bottom:22px}.dc-local p{font-size:12px;line-height:1.85;color:#53634d;margin:0;max-width:740px}.dc-local>div{display:flex;gap:18px;flex-shrink:0}.dc-local button{font-size:11px}.dc-meta,.dc-chooser{padding:24px;margin-bottom:22px}.dc-field{display:block;font-size:12px;line-height:1.8;color:var(--accent);margin-bottom:16px;min-width:0}.dc-field input,.dc-field select,.dc-field textarea{display:block;width:100%;min-width:0;margin-top:6px;padding:10px 12px;min-height:44px;border:1px solid #cbd7ca;border-radius:6px;background:#fff;color:var(--text);font-family:inherit;font-size:13px;line-height:1.8}.dc-field textarea{resize:vertical}.dc-meta #dc-title{font-size:20px;font-weight:600;color:var(--accent)}.dc-muted{font-size:11px;line-height:1.9;color:var(--muted);margin:10px 0}.dc-chooser-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.dc-chooser-heading h3{font-size:22px;color:var(--accent);margin:9px 0 0}.dc-selection-count{font-size:11px;background:#edf3e6;border:1px solid #d7e2ca;border-radius:5px;padding:6px 10px;white-space:nowrap;color:var(--accent)}.dc-search-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px}.dc-search-fields .dc-field{margin-bottom:4px}.dc-search-disclosure>summary{font-size:12px;color:var(--accent);line-height:1.8;cursor:pointer;padding:10px 0}.dc-search-result{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:17px 0;border-top:1px solid var(--line)}.dc-search-result>div{min-width:0}.dc-search-result>div>span{font-size:10px;color:#7c785f}.dc-search-result h4{font-size:14px;color:var(--accent);line-height:1.7;margin:5px 0}.dc-search-result p{font-size:11px;color:var(--muted);line-height:1.85;margin:0;overflow-wrap:anywhere}.dc-search-result .button{font-size:11px;white-space:normal;flex-shrink:0;max-width:160px}.dc-selected-badge{font-size:11px;color:#497145;background:#edf5e5;border:1px solid #cfdfc3;border-radius:5px;padding:7px 10px;white-space:nowrap}.dc-no-results,.dc-empty{border:1px dashed #cfd9c9;border-radius:8px;padding:23px;color:var(--muted);font-size:13px;line-height:1.85;background:#f8f9f3}.dc-comparison-heading{margin:30px 0 18px}.dc-comparison-heading h3{font-size:22px;color:var(--accent);margin:0 0 8px}.dc-comparison-heading p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.dc-columns{display:grid;grid-template-columns:repeat(var(--dc-count),minmax(0,1fr));align-items:start;gap:18px}.dc-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;min-width:0;overflow-wrap:anywhere;padding:21px}.dc-card-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:18px}.dc-position{font-size:10px;letter-spacing:1px;color:#917d4e;white-space:nowrap}.dc-card-actions>div{display:flex;align-items:center;gap:14px}.dc-card-actions button{font-size:11px;min-width:24px;min-height:32px}.dc-card-actions button[disabled]{opacity:.35;cursor:default}.dc-remove{color:#925139!important}.dc-category{font-size:10px;color:var(--muted)}.dc-card>h3{font-size:18px;line-height:1.65;color:var(--accent);margin:8px 0 12px;min-height:58px}.dc-citation{font-size:11px;line-height:1.9;color:#57705d;margin:10px 0}.dc-snapshot{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 18px}.dc-caution{border-left:3px solid #b29359;border-radius:0 5px 5px 0;background:#faf6e9;padding:13px 14px;font-size:11px;line-height:1.9;color:#6b6045}.dc-caution strong{font-size:11px;color:#6a5936}.dc-caution p{margin:5px 0 0;white-space:pre-wrap}.dc-explanation{margin:19px 0 22px;border-bottom:1px solid var(--line);padding-bottom:17px}.dc-explanation>summary{font-size:12px;line-height:1.8;color:var(--accent);cursor:pointer}.dc-source-text{font-size:11px;line-height:1.95;color:#4f6151}.dc-source-text p{white-space:pre-wrap;margin:13px 0}.dc-source-text ol{padding-left:18px}.dc-source-text li{margin:9px 0}.dc-source-text h4{font-size:12px;color:var(--accent);margin:18px 0 9px}.dc-source-links{padding-left:17px;line-height:1.9}.dc-source-links a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.dc-source-text button{font-size:11px;line-height:1.8}.dc-analysis-heading{margin-bottom:18px}.dc-analysis-heading .eyebrow{font-size:9px;letter-spacing:.8px}.dc-analysis-heading p{font-size:11px;line-height:1.85;color:var(--muted);margin:8px 0 0}.dc-analysis .dc-field{font-size:12px;font-weight:600;margin-bottom:18px}.dc-analysis textarea{font-weight:400;font-size:12px;line-height:1.9;padding:11px}.dc-footer-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:25px 0 17px}.dc-footer-actions .text-button{font-size:12px}.dc-scope{border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:11px;line-height:1.95;margin-top:22px}.dc-status{font-size:12px;line-height:1.85;color:var(--accent);margin:15px 0}.dc-error{border-left:3px solid #a86a44;background:#fff2e6;padding:14px 17px;color:#7b4d2f;font-size:12px;line-height:1.9;border-radius:0 6px 6px 0}.dc-error[hidden],.dc-status[hidden],.dc-recovery[hidden]{display:none}.dc-recovery{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:16px 0}.dc-recovery .text-button{font-size:12px}.dc-download-ready{padding:12px 16px;border:1px solid #c9d9c0;border-radius:7px;background:#f0f6e9;color:var(--accent);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.dc-download-ready a{text-decoration:underline;font-weight:600;text-underline-offset:3px}.dc-dialog{max-width:650px;width:calc(100% - 32px);max-height:88dvh;overflow-y:auto;padding:27px;background:var(--paper);border:1px solid #c9d8c7;border-radius:11px;box-shadow:0 20px 70px #1c382733;color:var(--text)}.dc-dialog::backdrop{background:#122d2880;backdrop-filter:blur(2px)}.dc-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.dc-dialog-head h2{font-size:23px;color:var(--accent);line-height:1.5;margin:0}.dc-dialog-head button{font-size:11px;white-space:nowrap}.dc-dialog p,.dc-dialog li{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.dc-confirm{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9;color:var(--accent);margin:21px 0}.dc-confirm input{margin-top:5px;width:17px;height:17px;accent-color:var(--accent);flex-shrink:0}.dc-dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}#decision-comparison-app :focus-visible,.dc-dialog :focus-visible{outline:3px solid #b29359;outline-offset:3px}
@media(max-width:1050px){.dc-columns{gap:12px}.dc-card{padding:17px}.dc-card>h3{font-size:16px}.dc-card-actions{gap:8px}.dc-card-actions>div{gap:8px}}
@media(max-width:850px){.dc-columns{grid-template-columns:minmax(0,1fr);gap:18px}.dc-card{padding:23px}.dc-card>h3{min-height:0;font-size:20px}.dc-analysis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.dc-analysis-heading{grid-column:1/-1}.dc-analysis .dc-field:last-child{grid-column:1/-1}.dc-local{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:550px){.dc-heading{align-items:flex-start;flex-direction:column;gap:15px}.dc-heading h2{font-size:27px}.dc-heading p{font-size:12px}.dc-meta,.dc-chooser{padding:19px 15px}.dc-meta #dc-title{font-size:18px}.dc-search-fields{grid-template-columns:minmax(0,1fr);gap:10px}.dc-chooser-heading{align-items:flex-start;gap:12px}.dc-chooser-heading h3{font-size:20px}.dc-chooser-heading .eyebrow{font-size:9px}.dc-selection-count{font-size:10px}.dc-search-result{align-items:flex-start;flex-direction:column;gap:12px}.dc-search-result h4{font-size:13px}.dc-search-result .button{max-width:none;min-height:42px}.dc-selected-badge{font-size:10px}.dc-local{padding:15px}.dc-local p{font-size:11px}.dc-card{padding:20px 15px}.dc-card>h3{font-size:18px}.dc-card-actions button{min-width:32px;min-height:36px}.dc-card-actions>div{gap:12px}.dc-analysis{display:block}.dc-caution{padding:12px 13px}.dc-footer-actions{gap:10px}.dc-footer-actions>.button{flex:1;font-size:12px;white-space:normal}.dc-footer-actions>.text-button{font-size:11px;margin-right:9px}.dc-dialog{padding:21px 17px;width:calc(100% - 20px);max-height:91dvh}.dc-dialog-head{gap:12px}.dc-dialog-head h2{font-size:20px}.dc-dialog-actions{justify-content:stretch}.dc-dialog-actions .button{flex:1;font-size:12px;white-space:normal}}
@media print{.dc-local,.dc-footer-actions,.dc-card-actions button,.dc-chooser,.dc-recovery{display:none!important}.dc-columns{display:block}.dc-card{break-inside:avoid;margin:20px 0}.dc-analysis{display:block}}

.dc-home-link{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:22px 25px;background:#f6f3e9;border:1px solid #ded8bf;border-radius:10px}.dc-home-link>div{min-width:0}.dc-home-link strong{display:block;font-size:19px;line-height:1.6;color:var(--accent);margin:7px 0}.dc-home-link p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.dc-home-link>.button{flex-shrink:0}@media(max-width:700px){.dc-home-link{align-items:flex-start;flex-direction:column;padding:19px;gap:15px}.dc-home-link strong{font-size:17px}.dc-home-link>.button{font-size:12px;white-space:normal}}


/* work-overview.css */
.wo-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:12px 0 24px}.wo-heading h2{font-size:32px;color:var(--accent);letter-spacing:-.6px;margin:10px 0}.wo-heading p{font-size:13px;color:var(--muted);line-height:1.85;margin:0;max-width:710px}.wo-heading>.button{white-space:nowrap}.wo-local{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#eef4e7;border:1px solid #d5e0ca;border-radius:9px;padding:16px 20px;margin-bottom:23px}.wo-local p{font-size:12px;line-height:1.85;color:#54634e;margin:0;max-width:770px}.wo-local>.text-button{font-size:11px;white-space:nowrap}.wo-section{border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:25px;margin:24px 0;min-width:0}.wo-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:22px}.wo-section-heading h3{font-size:21px;color:var(--accent);line-height:1.5;margin:0 0 9px}.wo-section-heading p{font-size:12px;color:var(--muted);line-height:1.9;margin:0;max-width:850px}.wo-section-heading>.button{flex-shrink:0;font-size:11px;white-space:nowrap}.wo-global{border:1px solid #dce4d1;background:#f5f8ef;border-radius:8px;padding:20px;margin-bottom:23px}.wo-global h4{font-size:13px;color:var(--accent);margin:0 0 9px}.wo-global>p{font-size:11px;line-height:1.9;color:var(--muted);margin:8px 0}.wo-date-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:17px 0}.wo-date-counts>button{min-width:0;text-align:left;border:1px solid #d1ddc7;background:#fff;border-radius:7px;padding:15px;color:var(--accent);font-family:inherit}.wo-date-counts>button:hover{border-color:#8fa481;background:#f0f5e9}.wo-date-counts span{display:block;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.wo-date-counts strong{display:block;font-size:27px;line-height:1.4;margin-top:8px;font-weight:500;font-variant-numeric:tabular-nums}.wo-date-counts>button:disabled{cursor:default;opacity:.7}.wo-filters{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.3fr);gap:14px;align-items:start}.wo-field{display:block;min-width:0;font-size:11px;line-height:1.8;color:var(--accent)}.wo-field input,.wo-field select{display:block;width:100%;min-width:0;min-height:44px;margin-top:7px;border:1px solid #cbd7ca;border-radius:6px;background:#fff;color:var(--text);padding:9px 11px;font:12px/1.8 inherit;font-family:inherit;font-size:12px;line-height:1.8}.wo-results-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 15px;padding-top:17px;border-top:1px solid var(--line)}.wo-results-head p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.wo-results-head strong{font-weight:500;color:var(--accent)}.wo-results-head .text-button{font-size:11px}.wo-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.wo-task{border:1px solid #d8e1d0;border-radius:8px;background:#fafbf6;padding:20px;min-width:0;overflow-wrap:anywhere}.wo-task-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wo-task-meta>span:last-child{font-size:10px;color:var(--muted)}.wo-task-status{font-size:10px;color:#726647;background:#f5eddd;border-radius:4px;padding:4px 8px;line-height:1.8}.wo-task-status-doing{color:#66723d;background:#edf0db}.wo-task-status-done{color:#526e49;background:#e6efdf}.wo-task-file{font-size:11px;color:var(--muted);line-height:1.8;margin:14px 0 6px}.wo-task h4{font-size:14px;font-weight:500;color:var(--accent);line-height:1.85;margin:0 0 13px}.wo-task-date{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:10px;line-height:1.9;color:var(--muted)}.wo-task-date strong{font-size:10px;line-height:1.8;font-weight:500;color:#77603e;background:#f5f0df;border-radius:4px;padding:3px 7px}.wo-task-notes{font-size:11px;line-height:1.85;margin:14px 0;color:var(--muted)}.wo-task-notes summary{cursor:pointer;color:var(--accent)}.wo-task-notes p{white-space:pre-wrap;max-height:300px;overflow:auto;border-top:1px solid var(--line);padding-top:11px;line-height:1.95}.wo-task-open{font-size:11px;margin-top:14px;min-height:40px}.wo-more{display:block;margin:20px auto;font-size:12px}.wo-empty{grid-column:1/-1;background:#f7f9f1;border:1px dashed #cedcc4;border-radius:8px;padding:24px;font-size:13px;line-height:1.9;color:var(--accent)}.wo-empty strong{font-weight:500}.wo-empty p{font-size:12px;color:var(--muted)}.wo-empty .text-button{font-size:12px}.wo-exports{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:21px;border-top:1px solid var(--line);margin-top:24px}.wo-exports>div{flex:1;min-width:220px}.wo-exports strong{font-size:12px;color:var(--accent);font-weight:500}.wo-exports p{font-size:11px;color:var(--muted);line-height:1.85;margin:6px 0 0}.wo-exports .button{font-size:11px}.wo-muted{font-size:11px!important;line-height:1.9;color:var(--muted)}.wo-error{font-size:12px;line-height:1.9;border-left:3px solid #aa6a43;background:#fff2e5;color:#76482b;padding:16px 18px;margin:15px 0;border-radius:0 6px 6px 0;overflow-wrap:anywhere}.wo-error strong{font-size:13px}.wo-error p{margin:7px 0}.wo-error .text-button{font-size:12px}.wo-notice{font-size:12px;line-height:1.85;color:var(--accent);padding:12px 15px;border:1px solid #d1dec8;background:#f1f6eb;border-radius:6px}.wo-notice[hidden]{display:none}.wo-agenda{background:#f8f9f4}.wo-agenda-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.wo-agenda h4{font-size:14px;color:var(--accent);line-height:1.7;margin:0 0 9px}.wo-agenda-list{list-style:none;padding:0;margin:13px 0 0}.wo-agenda-list li{padding:13px 0;border-top:1px solid #dce4d3;min-width:0;overflow-wrap:anywhere}.wo-agenda-list strong{display:block;font-size:12px;font-weight:500;line-height:1.85;color:var(--accent)}.wo-agenda-list span{display:block;font-size:10px;line-height:1.9;color:var(--muted);margin-top:5px}.wo-agenda-review{margin-top:24px;padding-top:22px;border-top:1px solid #d7e1ca}.wo-agenda-review .wo-agenda-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.wo-download-ready{font-size:12px;line-height:1.9;color:var(--accent);border:1px solid #cbdcc0;background:#f0f6e9;border-radius:7px;padding:13px 17px;overflow-wrap:anywhere}.wo-download-ready a{font-weight:600;text-decoration:underline;text-underline-offset:3px}.wo-home{border:1px solid #d4dfca;background:#f2f6eb;border-radius:10px;padding:22px 25px;margin:0 0 26px;min-width:0}.wo-home-head{display:flex;align-items:center;justify-content:space-between;gap:22px}.wo-home-head h2{font-size:22px;line-height:1.5;color:var(--accent);margin:7px 0}.wo-home-head p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.wo-home-head>.text-button{font-size:12px;white-space:nowrap}.wo-date-counts-compact{grid-template-columns:repeat(4,minmax(0,1fr));margin:19px 0 14px}.wo-date-counts-compact>button{background:#fbfcf7;padding:13px 16px}.wo-date-counts-compact strong{font-size:24px}.wo-home-foot{display:flex;align-items:center;justify-content:space-between;gap:20px}.wo-home-foot p{font-size:10px;line-height:1.9;color:var(--muted);margin:0}.wo-home-foot>.text-button{font-size:11px;white-space:nowrap}#work-overview-app :focus-visible,#work-overview-home :focus-visible{outline:3px solid #b29359;outline-offset:3px}
@media(max-width:1000px){.wo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.wo-date-counts{gap:8px}.wo-date-counts>button{padding:12px}.wo-date-counts span{font-size:10px}.wo-section{padding:21px}}
@media(max-width:650px){.wo-heading{align-items:flex-start;flex-direction:column;gap:15px}.wo-heading h2{font-size:27px}.wo-heading p{font-size:12px}.wo-local{align-items:flex-start;flex-direction:column;gap:12px;padding:15px}.wo-local p{font-size:11px}.wo-section{padding:19px 14px}.wo-section-heading{align-items:flex-start;flex-direction:column;gap:14px}.wo-section-heading h3{font-size:19px}.wo-section-heading p{font-size:11px}.wo-global{padding:16px 12px}.wo-date-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wo-date-counts>button{padding:12px}.wo-date-counts strong{font-size:24px;margin-top:5px}.wo-filters{gap:12px;grid-template-columns:minmax(0,1fr)}.wo-results-head{align-items:flex-start;gap:10px}.wo-results-head .text-button{min-height:38px}.wo-task-list{grid-template-columns:minmax(0,1fr);gap:12px}.wo-task{padding:17px 14px}.wo-task h4{font-size:13px}.wo-task-open{min-height:44px}.wo-exports>div{flex-basis:100%;min-width:0}.wo-exports>.button{flex:1;min-height:44px}.wo-agenda-grid,.wo-agenda-review .wo-agenda-list{grid-template-columns:minmax(0,1fr);gap:20px}.wo-agenda-review .wo-agenda-list{gap:0}.wo-home{padding:19px 16px}.wo-home-head,.wo-home-foot{align-items:flex-start;flex-direction:column;gap:10px}.wo-home-head h2{font-size:20px}.wo-home-head p{font-size:11px}.wo-home-head>.text-button,.wo-home-foot>.text-button{min-height:38px}.wo-date-counts-compact{margin:16px 0}.wo-date-counts-compact>button{padding:12px}.wo-more{width:100%;font-size:11px;white-space:normal}}
@media print{.wo-heading>.button,.wo-local,.wo-date-counts,.wo-filters,.wo-results-head>.text-button,.wo-task-open,.wo-more,.wo-exports,.wo-section-heading>.button,.wo-download-ready{display:none!important}.wo-task-list{display:block}.wo-task{break-inside:avoid;margin:12px 0}.wo-task-notes p{max-height:none;overflow:visible}}


/* design-refresh.css */
/* Shared visual layer. Keep calculation tables and dark result panels scoped. */
:root{
  --ink:#172c43;
  --text:var(--ink);
  --muted:#526473;
  --accent:#12676d;
  --accent-dark:#17364d;
  --warm:#8b5c16;
  --danger:#9d3535;
  --bg:#f6f7f4;
  --paper:#fff;
  --soft:#e7f1f1;
  --warm-bg:#fff4dc;
  --line:#d5dfe4;
  --field-line:#7c909f;
  --sticky-clearance:112px;
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
}
body{font-size:16px;line-height:1.6;background:var(--bg)}
.header{background:#fff;border-bottom-color:var(--line);box-shadow:0 2px 14px #17364d06}
.header-inner{max-width:1240px;min-height:88px;padding:16px 32px;gap:24px}
.brand-name strong{font-size:26px;color:var(--ink);letter-spacing:-.7px}
.brand-name>span{font-size:11px;color:var(--muted)}
.header-tools{gap:16px}
.header-search{min-height:44px;background:var(--bg);border-color:#c6d4dc;border-radius:8px;font-size:13px;padding:10px 13px}
.header-search kbd{font-size:11px;background:#fff;color:var(--muted)}
.header-legal-notice{min-height:44px;background:var(--warm-bg);border-color:#d4b77c;color:#70470f;font-size:13px}
.version{font-size:12px;color:var(--muted)}
.wrap{max-width:1240px}
.view,.view h1,.view h2,.knowledge-card,.sentence-scope,.sentence-resources,.site-footer>.legal-notice{scroll-margin-top:0}
.app-navigation{border-color:var(--line);border-radius:15px;box-shadow:0 4px 16px #17364d04}
.navigation-home-row{padding:10px 16px;background:#fff}
.navigation-home-row .navigation-shortcuts>button{font-size:13px;min-height:44px;border-radius:8px}
.navigation-home-row .navigation-shortcuts>button>span{font-size:13px}
.navigation-home-row .navigation-shortcuts>button:hover,.navigation-page-group>button:hover{background:#edf4f4;color:var(--accent)}
.navigation-home-row .navigation-shortcuts>button[aria-pressed=true],.navigation-page-group>button[aria-pressed=true]{background:var(--soft);border-color:#bad3d5;color:var(--accent-dark)}
#navigation-context{font-size:12px}
.navigation-groups{background:#eef2f3;border-color:var(--line);padding:7px;gap:6px}
.navigation-group{padding:13px 14px}
.navigation-group strong{font-size:15px}
.navigation-group>span{font-size:12px;line-height:1.5}
.navigation-group:hover{background:#e1ecee;color:var(--accent-dark)}
.navigation-group[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:none}
.navigation-group[aria-pressed=true]>span{color:#edf7f7}
.navigation-page-group{padding:12px 15px;gap:7px}
.navigation-page-group>button{font-size:13px;min-height:44px;padding:10px 12px}
.button{font-size:14px;line-height:1.45;min-height:44px;padding:11px 17px;border-radius:8px;background:var(--accent);border-color:var(--accent);color:#fff}
.button.secondary{background:#fff;border-color:#aebfc9;color:var(--accent-dark)}
.button:hover:not(:disabled){background:#0d575d;border-color:#0d575d}
.button.secondary:hover:not(:disabled){background:var(--soft);border-color:#8eafb6;color:var(--accent-dark)}
.text-button{font-size:13px;line-height:1.65;text-underline-offset:4px}
.panel{border-color:var(--line);box-shadow:0 3px 14px #17364d03}
.eyebrow{font-size:11px;letter-spacing:1.4px}
.section-top h2{font-size:24px;line-height:1.35;letter-spacing:-.45px}
.section-top p,.intro p{font-size:14px;line-height:1.8}

/* Labels and editable fields, without resizing dense result tables. */
.view .field,.workfile-dialog .field,.cp-dialog .field,.dc-field,.dc-dialog .dc-field,.wo-field{font-size:13px;line-height:1.75}
.view .field small,.workfile-dialog .field small,.body-note,.footnote,.quantity-note p,.method-note,.knowledge-search-help,.empty-hint{font-size:12px;line-height:1.8}
.view .field input:not([type=checkbox]):not([type=radio]),.view .field select,.view .field textarea,
.workfile-dialog input:not([type=checkbox]):not([type=radio]),.workfile-dialog select,.workfile-dialog textarea,
.cp-dialog input:not([type=checkbox]),.cp-dialog select,.dc-field input,.dc-field select,.dc-field textarea,.dc-dialog input:not([type=checkbox]),.dc-dialog select,
.wo-field input,.wo-field select{font-size:15px;line-height:1.65;min-height:46px;border-color:var(--field-line);color:var(--ink);border-radius:7px}
.view .check,.workfile-dialog .check{font-size:13px;line-height:1.8}
.field input[type=checkbox],.field input[type=radio],.check input{accent-color:var(--accent)}
.result-error{color:var(--danger);font-size:13px;line-height:1.8}
.receipt-head{background:var(--accent-dark)}
.receipt-head .sub{font-size:12px;color:#d9e5ed;line-height:1.8}
.receipt-head .eyebrow{color:#d9e5ed}
.receipt-row.zero{color:var(--muted)}
.receipt-row small,.math-note,.receipt-choices{font-size:11px;line-height:1.8}

/* One home composition: navy workspace hero, saved-work summary, tool cards. */
#workspace-home .desk-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:42px;padding:39px 40px;margin:12px 0 28px;background:var(--accent-dark);color:#fff;border:1px solid #17364d;border-radius:18px}
.desk-hero .desk-hero-copy>.eyebrow{color:#f0cc86;font-size:11px;line-height:1.6;letter-spacing:1.6px;margin:0 0 17px}
#workspace-home .desk-hero h1{font-size:43px;font-weight:600;letter-spacing:-1.3px;line-height:1.16;margin:0 0 19px;color:#fff}
#workspace-home .desk-hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.9;max-width:520px;color:#e2ebf0;margin:0}
.desk-hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:25px}
.desk-hero-actions>.button{background:#fff;color:var(--accent-dark);border-color:#fff}
.desk-hero-actions>.button:hover{background:#e7f1f1;color:var(--accent-dark);border-color:#e7f1f1}
.desk-hero-actions>.text-button{color:#fff;font-size:13px}
.desk-hero-search{min-width:0;padding:25px;background:#ffffff09;border:1px solid #ffffff29;border-radius:13px}
.desk-hero-label{display:block;font-size:11px;line-height:1.6;letter-spacing:1.2px;color:#d6e5ed;margin-bottom:14px}
.desk-hero .desk-search{padding:19px 17px;border-radius:9px;gap:12px;border-color:#fff;box-shadow:none;background:#fff;color:var(--ink)}
.desk-hero .desk-search:hover{background:#f3f8f8;border-color:#bbdbdf;box-shadow:none}
.desk-hero .desk-search strong{font-size:15px;line-height:1.6}
.desk-hero .desk-search small{font-size:12px;line-height:1.7;color:var(--muted)}
.desk-hero .desk-search .search-key{font-size:10px;color:var(--muted);padding:4px;align-self:flex-start;margin-left:auto}
#workspace-home .desk-hero-search>p{font-size:12px;line-height:1.8;color:#d7e5ed;margin:14px 0 0}
.desk-hero-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}
.desk-hero-shortcuts>button{border:1px solid #ffffff57;border-radius:6px;background:#ffffff09;color:#fff;padding:8px 10px;min-height:40px;font-size:12px;line-height:1.6}
.desk-hero-shortcuts>button:hover{background:#ffffff18;border-color:#ffffff8c}
.desk-workspace-section,.desk-quick-section{margin:31px 0}
.desk-section-heading{padding:7px 0 17px;align-items:baseline}
.desk-section-heading h2{font-size:23px;line-height:1.4;color:var(--ink);letter-spacing:-.4px}
.desk-section-heading>span{font-size:12px;line-height:1.7;color:var(--muted)}
.desk-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:stretch}
.desk-feature{display:flex;align-items:flex-start;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 24px}
.desk-feature-primary{background:var(--soft);border-color:#bfd5d8}
.desk-feature>.eyebrow{font-size:10px;color:var(--accent);letter-spacing:1.2px;margin:0 0 13px;line-height:1.7}
.desk-feature h3{font-size:21px;line-height:1.5;color:var(--ink);letter-spacing:-.35px;margin:0 0 13px}
.desk-feature p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 21px}
.desk-feature>.button,.desk-feature>.text-button{margin-top:auto;font-size:13px}
.desk-feature-tags{display:flex;gap:7px;flex-wrap:wrap;margin:-3px 0 24px}
.desk-feature-tags>span{font-size:11px;line-height:1.7;color:var(--accent-dark);padding:4px 8px;background:#fff;border:1px solid #c1d7da;border-radius:5px}
.desk-tools{gap:16px}
.desk-tool{min-height:150px;padding:24px 21px;border-color:var(--line);border-radius:11px;box-shadow:0 2px 12px #17364d03;transition:none}
.desk-tool:hover{background:#fafdfe;border-color:#729da7;transform:none}
.desk-tool-icon{width:39px;height:39px;background:var(--soft);color:var(--accent);border-radius:9px}
.desk-tool strong{font-size:16px;line-height:1.6;color:var(--ink);margin:1px 0 8px}
.desk-tool small{font-size:13px;line-height:1.8;color:var(--muted)}
.desk-tool-arrow{color:var(--accent);font-size:18px}
.desk-support{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;padding:0;margin:34px 0 10px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.desk-support>section{min-width:0;padding:28px}
.desk-support .eyebrow{font-size:11px;color:var(--warm)}
.desk-support h2{font-size:24px;line-height:1.45;color:var(--ink)}
.desk-support p{font-size:14px;line-height:1.85;color:var(--muted)}
.desk-reference{border-left:1px solid var(--line);background:#f9faf8}
.desk-reference h3{font-size:16px;color:var(--ink);margin-bottom:15px}
.desk-reference dl>div{font-size:12px;line-height:1.7;margin:10px 0}
.desk-reference p{font-size:12px;margin-top:15px}
.desk-reference .text-button{font-size:13px}

/* Saved-work surfaces and long-form source reading. */
.wf-editor,.wf-library,.cp-row,.cp-totals article,.dc-card,.wo-section{border-color:var(--line);box-shadow:0 3px 15px #17364d03}
.wf-heading h2,.cp-heading h2,.dc-heading h2,.wo-heading h2{font-size:32px;color:var(--ink);line-height:1.35}
.wf-heading p,.cp-heading p,.dc-heading p,.wo-heading p{font-size:14px;line-height:1.85}
.wf-local-note,.cp-local,.dc-local,.wo-local{background:#edf4f4;border-color:#c7dadd}
.wf-local-note p,.cp-local p,.dc-local p,.wo-local p{font-size:13px;line-height:1.85;color:var(--muted)}
.wf-file strong{font-size:15px;color:var(--ink)}
.wf-file small,.wf-file-top>span:last-child{font-size:12px;line-height:1.8}
.wf-file[aria-pressed=true]{background:var(--soft);box-shadow:inset 3px 0 var(--accent)}
.wf-file:hover{background:#f0f6f7}
#workfiles-app .button,#workfiles-app .text-button,.workfile-dialog .button,.workfile-dialog .text-button{font-size:13px}
.wf-dialog-head h2{color:var(--ink);font-size:25px}
.wf-dialog-intro,.wf-destination{font-size:14px;line-height:1.85}
.wf-item-heading h4,.wf-task h4,.wf-event h5{font-size:16px;color:var(--ink);line-height:1.8}
.wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.cp-source pre,.cp-transfer-report pre,.wo-task-notes p{font-size:14px;line-height:1.9;color:var(--ink)}
.wf-item-content summary,.wf-task-notes summary,.wf-event-body summary,.dc-explanation>summary,.wo-task-notes summary{font-size:13px;line-height:1.8}
.wf-muted,.wf-snapshot-note,.wf-task-scope,.wf-chronology-scope,.wf-task-help,.wf-event-date-help,.wf-task-date,.wf-item-date,.wf-event-date>span,.wf-chronology-export p,.wf-chronology-count p,.wf-tasks-heading p,.wf-chronology-heading p{font-size:12px;line-height:1.85}
.wf-tasks,.wf-chronology{background:#f5f8f7;border-color:#cbdadd}
.wf-task,.wf-event{background:#fff;border-color:#d4e0e2}
.wf-tasks-heading h3,.wf-chronology-heading h3,.wf-items-heading h3{font-size:21px;color:var(--ink);line-height:1.45}
.wf-task-status,.wf-type,.wf-event-date>.wf-event-unknown,.dc-category,.dc-citation,.dc-snapshot,.dc-position{font-size:12px;line-height:1.8}
.wf-task-status-doing{background:#fff1d9;color:#765016}
.wf-task-status-done{background:var(--soft);color:var(--accent-dark)}
.wf-task-filters>.text-button[aria-pressed=true],.wf-task-state-actions .text-button[aria-pressed=true]{background:var(--soft);border-color:#bfd5d8;color:var(--accent-dark)}
.wf-task-filters>span{font-size:12px;line-height:1.8}
.wf-task-progress progress{accent-color:var(--accent);background:#dbe7e9}
.wf-task-progress progress::-webkit-progress-bar{background:#dbe7e9}
.wf-task-progress progress::-webkit-progress-value{background:var(--accent)}
.wf-task-progress progress::-moz-progress-bar{background:var(--accent)}
.wf-task-progress span{font-size:12px}
.wf-event-group>h4{font-size:14px}
.wf-event-date>time{font-size:18px;color:var(--warm)}
.wf-chronology-filters .field{font-size:13px}
.wo-home{background:#fff;border-color:var(--line);padding:24px 27px}
.wo-home-head h2{font-size:24px;color:var(--ink)}
.wo-home-head p,.wo-home-foot p{font-size:13px;line-height:1.85}
.wo-home-head>.text-button,.wo-home-foot>.text-button{font-size:13px}
.wo-date-counts>button{background:#f3f8f8;border-color:#c9dcdf;border-radius:8px}
.wo-date-counts>button:hover{background:#e7f1f1;border-color:#8aaeb5}
.wo-date-counts span{font-size:13px;color:var(--muted);line-height:1.75}
.wo-date-counts strong{font-size:29px;color:var(--ink)}
.wo-section-heading p,.wo-task-file,.wo-task-date,.wo-exports p{font-size:13px;line-height:1.85}
.wo-task h4{font-size:16px;color:var(--ink)}
.wo-task-status,.wo-agenda-list span{font-size:12px;line-height:1.8}
.wo-agenda-list strong{font-size:14px;line-height:1.85}
.wo-agenda h4{font-size:16px;color:var(--ink)}
.cp-muted,.cp-total-note,.dc-muted,.dc-analysis-heading p,.dc-scope{font-size:12px;line-height:1.85}
.dc-source-text h4{font-size:15px;color:var(--ink)}
.dc-caution{background:var(--warm-bg);color:#70470f;font-size:13px}
.knowledge-card{border-color:var(--line)}
.knowledge-card h3{font-size:21px;line-height:1.5;color:var(--ink)}
.knowledge-answer,.knowledge-detail,.knowledge-professional,.knowledge-caution{font-size:15px;line-height:1.9}
.knowledge-answer{color:var(--ink)}
.knowledge-detail h4{font-size:15px;line-height:1.7}
.knowledge-card summary,.knowledge-sources ul,.knowledge-related button,.knowledge-card-actions .text-button{font-size:13px;line-height:1.8}
.knowledge-card-meta,.knowledge-card-warning,.knowledge-sources p,.knowledge-status-row p{font-size:12px;line-height:1.85}
.knowledge-intro p{font-size:14px;line-height:1.9;color:#e3ecf1}
.knowledge-intro h3{color:#fff}
.knowledge-categories button{font-size:13px;line-height:1.6}
.knowledge-categories button span{font-size:12px}
.knowledge-reading-hint{font-size:14px;line-height:1.85}

/* The notice remains visibly separate from ordinary helper copy. */
#verification-notice{background:var(--warm-bg);border-color:#d8bb81;border-left:4px solid var(--warm);padding:23px 25px;color:#65430e;border-radius:10px}
#verification-notice strong{font-size:16px;line-height:1.65;color:#55370a}
#verification-notice p{font-size:14px;line-height:1.9;color:#65430e}
#verification-notice .legal-notice-icon{color:#70470f;border-color:#9b752d}
#verification-notice button,#verification-notice a{font-size:13px;color:#70470f;line-height:1.8}
.site-footer>.legal-notice>summary{font-size:17px;background:var(--warm-bg);color:#55370a}
.site-footer>.legal-notice .legal-notice-body p{font-size:15px;line-height:1.9}
.site-footer-top>p,.site-about-grid p{font-size:13px;line-height:1.85}
.site-about h3{font-size:15px}
.site-about a{font-size:13px}

/* Search and the separate readable-document preview. */
#workspace-search-dialog{width:min(740px,calc(100vw - 32px));padding:25px;border-color:#afc3ce;border-radius:14px;color:var(--ink)}
.search-dialog-head label{font-size:17px;color:var(--ink)}
.search-close{width:44px;height:44px;color:var(--ink)}
.workspace-query-row input{font-size:16px;border-color:var(--field-line);line-height:1.6}
#workspace-search-count{font-size:13px;line-height:1.8}
#workspace-search-results h3{font-size:12px}
.workspace-search-links strong{font-size:15px;line-height:1.7}
.workspace-search-links small{font-size:12px;line-height:1.8}
.workspace-search-links button{min-height:60px}
.workspace-search-links button:hover,.workspace-search-links button:focus-visible{background:var(--soft)}
.search-dialog-foot{font-size:12px;line-height:1.7}
.wf-reading-dialog{width:min(1120px,calc(100vw - 40px));max-width:none;height:min(92dvh,1040px);max-height:92dvh;padding:0;border:1px solid #9eb8c6;border-radius:13px;background:#f4f7f8;color:var(--ink);box-shadow:0 22px 90px #172c4340;overflow:auto}
.wf-reading-dialog[open]{display:flex;flex-direction:column}
.wf-reading-dialog::backdrop{background:#122b43a6}
.wf-reading-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}
.wf-reading-toolbar>h2{font-size:22px;line-height:1.5;color:var(--ink);margin:0;overflow-wrap:anywhere}
.wf-reading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wf-reading-actions .button,.wf-reading-actions .text-button{font-size:13px;min-height:44px}
.wf-reading-help,.wf-reading-status{font-size:13px;line-height:1.8;margin:12px 22px 0;flex-shrink:0;color:var(--muted)}
.wf-reading-status{color:var(--accent-dark);margin-bottom:12px}
.wf-reading-dialog .wf-download-ready{font-size:13px;margin:0 22px 12px;flex-shrink:0}
.wf-reading-frame{display:block;width:100%;flex:1;min-height:300px;border:0;border-top:1px solid #ccdbe2;background:#fff}

/* White inner ring and navy outer ring stay visible on both light and dark. */
body :focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}
.header button:focus-visible,.app-navigation button:focus-visible,.view :focus-visible,dialog :focus-visible,#workspace-home :focus-visible{outline:2px solid #17364d;outline-offset:5px;box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}

@media(min-width:701px){.sentence-summary,.expert-output,.receipt,.judgment-sidebar{top:var(--sticky-clearance)}.expert-output{max-height:calc(100vh - 136px)}}
@media(max-width:1050px){
  #workspace-home .desk-hero{gap:26px;padding:31px}
  #workspace-home .desk-hero h1{font-size:37px}
  .desk-hero-search{padding:20px}
  .desk-hero .desk-search .search-key{display:none}
  .desk-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .desk-feature-primary{grid-column:auto}
  .desk-feature-primary p{max-width:780px}
}
@media(max-width:700px){
  :root{--sticky-clearance:96px}
  .header-inner{min-height:72px;padding:12px 16px;gap:12px}
  .brand-name strong{font-size:23px}
  .header-tools{gap:8px}
  .header-search{font-size:12px;min-height:44px;padding:9px 11px}
  .header .version{font-size:11px}
  .wrap{padding:18px 16px 0}
  .section-top{flex-direction:column;align-items:flex-start}
  .section-top>div{min-width:0}
  .section-top>.small-tag{max-width:100%;white-space:normal}
  .navigation-groups{gap:5px;padding:6px}
  .navigation-group{padding:11px}
  .navigation-group strong{font-size:14px;line-height:1.4}
  .navigation-group>span{font-size:11px;line-height:1.5}
  .navigation-home-row .navigation-shortcuts>button{min-height:48px;padding:8px 4px;gap:4px}
  .navigation-home-row .navigation-shortcuts>button>span{font-size:12px}
  .navigation-page-group{padding:10px;gap:5px}
  .navigation-page-group>button{font-size:13px;min-height:44px;padding:10px}
  .navigation-pages>summary{font-size:13px;min-height:46px}
  .view .field input:not([type=checkbox]):not([type=radio]),.view .field select,.view .field textarea,
  .workfile-dialog input:not([type=checkbox]):not([type=radio]),.workfile-dialog select,.workfile-dialog textarea,
  .cp-dialog input:not([type=checkbox]),.cp-dialog select,.dc-field input,.dc-field select,.dc-field textarea,.dc-dialog input:not([type=checkbox]),.dc-dialog select,.wo-field input,.wo-field select{font-size:16px}
  #workspace-home .desk-hero{grid-template-columns:minmax(0,1fr);gap:25px;padding:27px 22px;margin-top:7px;border-radius:13px}
  #workspace-home .desk-hero h1{font-size:35px;letter-spacing:-.9px}
  #workspace-home .desk-hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.85}
  .desk-hero-actions{gap:12px 17px;margin-top:22px}
  .desk-hero-actions>.button{font-size:13px}
  .desk-hero-search{padding:18px}
  .desk-hero .desk-search{padding:17px 13px;gap:10px}
  .desk-hero .desk-search strong{font-size:14px}
  .desk-hero .desk-search small{font-size:12px}
  .desk-hero-shortcuts>button{min-height:44px;font-size:12px;padding:8px 10px}
  .desk-section-heading{align-items:flex-start;flex-direction:column;gap:6px}
  .desk-section-heading h2{font-size:22px}
  .desk-section-heading>span{font-size:12px}
  .desk-feature-grid{gap:13px}
  .desk-feature{padding:22px 19px}
  .desk-feature h3{font-size:20px}
  .desk-feature p{font-size:14px}
  .desk-tools{gap:12px}
  .desk-tool{min-height:190px;padding:19px 14px}
  .desk-tool strong{font-size:15px;line-height:1.6}
  .desk-tool small{font-size:13px;line-height:1.75}
  .desk-tool-icon{width:36px;height:36px}
  .desk-support{grid-template-columns:minmax(0,1fr);gap:0}
  .desk-support>section{padding:24px 20px}
  .desk-support h2{font-size:23px}
  .desk-reference{border-left:0;border-top:1px solid var(--line)}
  .desk-reference dl>div{flex-wrap:wrap;gap:3px 12px;font-size:12px}
  .desk-reference dd{white-space:normal}
  .wf-heading h2,.cp-heading h2,.dc-heading h2,.wo-heading h2{font-size:28px}
  .wf-local-note p,.cp-local p,.dc-local p,.wo-local p{font-size:13px}
  .wf-event-top,.wf-task-top{flex-wrap:wrap}
  .wf-event-top>div:last-child,.wf-task-top>div:last-child{margin-left:auto}
  .wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.cp-source pre,.cp-transfer-report pre,.wo-task-notes p{font-size:14px}
  .wf-task-progress span{font-size:11px}
  .wo-home{padding:21px 18px}
  .wo-home-head h2{font-size:23px}
  .wo-date-counts>button{padding:13px}
  .wo-date-counts span{font-size:12px}
  .wo-date-counts strong{font-size:27px}
  .knowledge-card h3{font-size:21px}
  #verification-notice{padding:19px 16px;gap:12px}
  #verification-notice strong{font-size:16px}
  #verification-notice p{font-size:14px;line-height:1.85}
  #workspace-search-dialog{padding:18px;max-height:88dvh}
  .search-dialog-foot{font-size:12px}
  .wf-reading-dialog{width:calc(100vw - 16px);height:94dvh;max-height:94dvh;border-radius:9px}
  .wf-reading-toolbar{padding:14px;gap:11px;align-items:flex-start}
  .wf-reading-toolbar>h2{font-size:19px}
  .wf-reading-actions{gap:8px;width:100%}
  .wf-reading-actions>.button{flex:1;padding:10px 12px;font-size:12px}
  .wf-reading-help,.wf-reading-status{margin-left:14px;margin-right:14px;font-size:12px;line-height:1.75}
  .wf-reading-dialog .wf-download-ready{margin-left:14px;margin-right:14px;font-size:12px}
  .wf-reading-frame{min-height:240px}
}
@media(max-width:540px){.desk-feature-grid{grid-template-columns:minmax(0,1fr)}.desk-feature-primary{grid-column:auto}}
@media(max-width:430px){
  .header-inner{padding-left:12px;padding-right:12px;gap:8px}
  .brand{gap:8px}
  .brand .brand-icon{width:32px;height:32px}
  .header .brand-name strong{font-size:20px;letter-spacing:-.5px}
  .header-search{width:44px;min-width:44px;min-height:44px;padding:9px}
  .header-legal-notice{width:44px;min-width:44px;padding:9px}
  .header-tools{gap:6px}
  .header .version{font-size:10px}
  #workspace-home .desk-hero{padding:25px 18px}
  #workspace-home .desk-hero h1{font-size:31px;letter-spacing:-.7px}
  .desk-hero-search{padding:15px}
  .desk-hero .desk-search{padding:15px 11px}
  .desk-hero .desk-search-icon{font-size:29px}
  .desk-hero .desk-search strong{font-size:13px}
  .desk-hero .desk-search small{font-size:12px}
  .desk-tools{grid-template-columns:minmax(0,1fr)}
  .desk-tool{display:flex;min-height:0;gap:13px;padding:20px 16px}
  .desk-tool-icon{margin:0;flex-shrink:0}
  .desk-tool-arrow{position:static;margin-left:auto}
  .desk-tool strong{font-size:16px}
}
@media print{
  :root{font-size:12pt;background:#fff}
  body{font-size:12pt;line-height:1.6;background:#fff;color:#172c43}
  .panel,.wf-editor,.wf-library,.cp-row,.cp-totals article,.dc-card,.wo-section{box-shadow:none;border-color:#aab5bc}
  #workspace-home .desk-hero{background:#fff;border-color:#aab5bc;padding:20px;color:#172c43;display:block}
  #workspace-home .desk-hero h1{color:#172c43;font-size:28pt}
  #workspace-home .desk-hero-copy>p:not(.eyebrow),.desk-hero .desk-hero-copy>.eyebrow{color:#172c43}
  .desk-hero-search,.desk-hero-actions,.desk-feature>.button,.desk-feature>.text-button{display:none}
  .desk-feature-grid,.desk-support{display:block}
  .desk-feature{break-inside:avoid;margin:12px 0;background:#fff}
  #verification-notice{background:#fff;border:1px solid #777;border-left:4px solid #777;padding:14px;color:#172c43}
  #verification-notice p,#verification-notice strong{color:#172c43;font-size:12pt;line-height:1.7}
  #verification-notice button{display:none}
  .wf-item-content>p,.wf-task-notes p,.wf-event-body>p,.dc-source-text,.dc-caution p,.knowledge-answer,.knowledge-detail,.wo-task-notes p{font-size:11pt;line-height:1.75}
  .wf-reading-dialog,.wf-reading-dialog[open]{display:none}
}

/* A native link opens the independent mapping application in a new tab. */
.navigation-page-group>.navigation-external{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:7px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;color:var(--ink);text-decoration:none;background:transparent}
.navigation-page-group>.navigation-external:hover{background:#edf4f4;color:var(--accent)}
.navigation-page-group>.navigation-external:focus-visible{outline:2px solid #17364d;outline-offset:5px;box-shadow:0 0 0 3px #fff,0 0 0 6px #17364d}


/* view-loading.css */
/* The form markup stays intact, but cannot be edited before initialization. */
.view[data-view-load-state="loading"]>:not([data-view-load-panel]),
.view[data-view-load-state="error"]>:not([data-view-load-panel]){display:none!important}
.view-load-panel{border:1px solid var(--line,#d5dfe4);border-radius:12px;background:var(--paper,#fff);padding:25px;max-width:780px;color:var(--ink,#172c43);overflow-wrap:anywhere}
.view-load-panel h3{font-size:20px;line-height:1.5;margin:0 0 10px}
.view-load-panel p{font-size:14px;line-height:1.85;color:var(--muted,#526473);margin:0 0 18px}
.view-load-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.view-load-actions>button{min-height:44px;white-space:normal;text-align:left}
.view-load-actions>.text-button{padding:10px 4px;font-size:13px}
.view[data-view-load-state="error"]>.view-load-panel{border-color:#bca277}
@media(max-width:700px){.view-load-panel{padding:20px 17px}.view-load-panel h3{font-size:19px}.view-load-actions{align-items:stretch;flex-direction:column;gap:9px}.view-load-actions>button{width:100%}}
@media print{.view-load-actions{display:none!important}}

