.an-dashboard{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:20px 0}.an-total{display:flex;justify-content:space-between;align-items:center;background:#e8f0e8;border:1px solid #cbdcce;padding:22px;border-radius:10px;margin:20px 0}.an-total small{display:block;letter-spacing:.12em;font-size:11px}.an-total strong{font-size:30px;color:#176e64}.an-plan-scroll{max-height:48vh;overflow:auto}.an-plan-group{margin:16px 0;padding:14px;background:#f7f9f5;border:1px solid #d6e1d4;border-radius:8px}.an-plan-group select{max-width:390px}.an-plan-group th{position:static}.panel.table-wrap td button{margin:2px}.form-error{padding:12px;background:#fff0e9;color:#9e3924;border-radius:6px;margin:10px 0}.sidebar-bottom a{text-decoration:none;display:block}.wf-projects{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}@media(max-width:1000px){.an-dashboard{grid-template-columns:1fr}.an-total{align-items:flex-start;gap:12px;flex-direction:column}}

.an-swatch{display:inline-block;width:13px;height:13px;border-radius:3px;border:1px solid #82958b;margin-right:7px;vertical-align:middle}input[type=color]{height:40px;width:90px}

.an-selection{margin:12px 0}.an-delete-list{max-height:35vh;overflow:auto;padding-left:24px}.an-delete-list li{margin:9px 0}.an-platform-select,#an-platform-all{width:18px;height:18px}

.an-context-help{background:#edf5ef;border:1px solid #cddfd2;border-radius:8px;padding:12px 14px;margin:0 0 18px}.an-context-help>p{margin:0 0 6px;line-height:1.5}.an-context-help summary,.an-help summary{cursor:pointer;font-weight:600;color:#176e64;padding:5px 0}.an-context-help li{margin:9px 0;line-height:1.5}.an-context-help details>p{line-height:1.5}.an-section-diagram{max-width:450px;margin:12px auto;text-align:center}.an-section-diagram div{padding:12px;background:#dcebf4;border:1px solid #98aebb}.an-section-diagram div+div{background:#ece0cc;border-color:#bdad91}.an-help{padding:10px;margin:10px 0;border:1px solid #d6e1d4;border-radius:6px}

.an-category-row th{background:#e6eee9;color:#176e64;font-size:13px;padding:12px 15px;text-align:left}#an-category-filter{max-width:260px}
[hidden]{display:none!important}

.an-layer-volumes{min-width:180px}.an-layer-volume{display:flex;gap:14px;justify-content:space-between;margin-top:4px}.an-layer-volume span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}

.an-platform-notes{min-width:140px;max-width:280px;overflow-wrap:anywhere;white-space:normal}

.an-material-list{min-width:150px;max-width:240px;overflow-wrap:anywhere}.an-material-list div+div{margin-top:5px}

tr.an-reviewed>td{background:#eaf5e7}.an-review-label{font-size:12px;white-space:nowrap;margin:0;color:#176e64}.an-review-label input{accent-color:#176e64}

.an-balance-help{margin:16px 0}.an-balance-help h3{margin:0 0 10px}.an-balance-help p{margin:8px 0;line-height:1.6}

tr.an-import-added>td{background:#e9f3ff}tr.an-import-modified>td{background:#fff3dc}.an-import-value-changed{background:#ffe2a3!important;color:#6b4000;font-weight:700}.an-import-value-new{color:#17568a;font-weight:700}.an-import-badge{font-size:11px;margin:6px 0;color:#74501a}.an-import-added .an-import-badge{color:#17568a}.an-import-badge button{padding:3px 6px;font-size:11px}.an-replacement-table{max-height:45vh;overflow:auto}.an-replacement-table input{min-width:100px;max-width:160px}.an-replacement-total{font-weight:bold}

.an-earthwork-source{min-width:200px;font-size:11px}.an-earthwork-source div+div{margin-top:7px}

.cmp-selectors{margin-bottom:12px}.cmp-cards{margin:20px 0}.cmp-table{min-width:1150px}.cmp-table td:first-child{min-width:230px;max-width:340px}.cmp-increase{color:#995400;background:#fff4df}.cmp-decrease{color:#176e64;background:#eaf5e7}.cmp-options{max-height:210px;overflow:auto;padding:10px;background:#f5f7f3;border:1px solid #d6e1dc;border-radius:6px;margin-bottom:16px}.cmp-options label{font-size:12px;margin:7px 0}.cmp-options input{width:auto}.cmp-table .subtle{white-space:normal}

.prod-summary{margin-bottom:20px}.prod-editing{background:#fff8db}.prod-editing textarea{min-width:190px;min-height:100px}.prod-editing select{min-width:150px}fieldset[data-prod-presets]{border:1px solid #bccfc6;border-radius:8px;margin:12px 0;padding:12px}fieldset[data-prod-presets] button{margin:5px}fieldset[data-prod-presets] p{font-size:13px}

/* Keep tax mode readable even in the narrow price dialog. */
#prod-prices-form table{min-width:610px}
#prod-prices-form [data-mode]{min-width:88px;width:88px;padding:9px 26px 9px 10px}
#prod-prices-form [data-price]{min-width:96px}
#prod-prices-form [data-vat]{min-width:68px}
#prod-prices-form input:disabled,#prod-prices-form select:disabled{background:#edf0ee;color:#5b6864;border-style:dashed;opacity:1;cursor:not-allowed}

/* Reading refinements: preserve the status colors and improve small-table contrast. */
:root{--muted:#566a69}
.panel table{font-size:12.5px;line-height:1.55}
.panel table th{font-size:11.5px;color:#365a55;background:#edf3ef;padding-top:13px;padding-bottom:13px}
.panel table td{padding-top:13px;padding-bottom:13px}
.panel table .subtle{font-size:11.5px;color:#526964;line-height:1.5}
.panel table .wf-inactive{opacity:1;color:#52625e;background:#f1f3f0}
.panel table .wf-inactive .subtle{color:#576a64}
.panel table tfoot{font-weight:700;background:#e6f0e9}
.panel table tfoot th,.panel table tfoot td{border-top:2px solid #a6bdb2}
.an-category-row th{font-size:13px!important;color:#175e54!important;letter-spacing:.02em}
.cmp-table td.num{font-variant-numeric:tabular-nums}
.form-error,.notice.error{line-height:1.6}

@media(max-width:1150px){.topbar{height:auto;min-height:64px;gap:10px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.top-actions{flex-wrap:wrap;gap:6px}}

.an-platform-actions{min-width:225px}.an-platform-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.an-platform-action-grid button{font-size:12px;padding:7px 9px;margin:0!important;white-space:nowrap}

.sidebar #project-nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}.sidebar-bottom{flex-shrink:0}
