/* PeakCut Stage 13 — shared visual language (load last). */
:root{--ui-primary:#245783;--ui-primary-hover:#174668;--ui-accent:#087c69;--ui-text:#243b53;--ui-muted:#596e80;--ui-stroke:#d7e2eb;--ui-focus:#1768ac;--ui-radius:10px}
html{scroll-behavior:smooth}body{line-height:1.55} .container{min-width:0}
:where(.panel,.ops-chart,.settings-card,.customer-detail,.tech-month,.ami-table-wrap){box-shadow:0 1px 3px rgba(24,50,80,.04)}
:where(.panel,.customer-panel,.ops-panel,.ami-panel,.settings-panel) :where(p,td,th,small){overflow-wrap:anywhere}
a{transition:background-color .15s,color .15s,border-color .15s}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px}
:where(.tech-tabs,.econ-tabs,.ops-subnav,.ami-tabs,.customer-tabs){display:flex;flex-wrap:wrap;gap:8px;align-items:center}
:where(.tech-tabs,.econ-tabs,.ops-subnav,.ami-tabs,.customer-tabs) a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid var(--ui-stroke);border-radius:9px;background:#fff;color:#344b63;text-decoration:none;font-size:13px;font-weight:600}
:where(.tech-tabs,.econ-tabs,.ops-subnav,.ami-tabs,.customer-tabs) a:hover{background:#eff5fa;border-color:#a8bdcd;color:var(--ui-primary)}
:where(.tech-tabs,.econ-tabs,.ops-subnav,.ami-tabs,.customer-tabs) a[aria-current="page"],.tech-tabs a.selected,.econ-tabs a.on,.ops-subnav a.selected{background:#e8f4f0;border-color:#8abfb0;color:#11634f;font-weight:700}
:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter){display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;min-width:0}
:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter) label{color:#41586d;font-size:13px;font-weight:650;line-height:1.4}
:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter) :where(input,select),.settings-card input[type=number]{height:42px;min-height:42px;border:1px solid #b8cad7;border-radius:9px;background:#fff;color:var(--ui-text);padding:0 12px;font:inherit;font-size:14px;max-width:100%}
:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter,.settings-actions) button{display:inline-flex;align-items:center;justify-content:center;height:42px;min-height:42px;border:1px solid var(--ui-primary);border-radius:9px;background:var(--ui-primary);color:white;font:inherit;font-size:14px;font-weight:700;padding:0 18px;cursor:pointer;white-space:nowrap}
:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter,.settings-actions) button:hover{background:var(--ui-primary-hover)}
:where(.event-filters,.customer-filters) a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;background:#fff;border:1px solid var(--ui-stroke);border-radius:9px;text-decoration:none;color:var(--ui-primary);font-size:14px;font-weight:650}
:where(.event-filters,.customer-filters) a:hover{background:#eff5fa}
.customer-tabs{border-bottom:0;padding-bottom:0}.customer-tabs a[aria-current="page"]{border-bottom:1px solid #8abfb0}
.customer-scroll td a,.tech-table-link{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;background:#eef5fa;border-radius:7px;color:var(--ui-primary);text-decoration:none;font-weight:650}
.customer-scroll td a:hover,.tech-table-link:hover{background:#dcebf7;text-decoration:none}
:where(.customer-scroll,.event-scroll,.ami-table-wrap){overflow:auto;max-width:100%;border:1px solid var(--ui-stroke);border-radius:10px}
:where(.customer-scroll,.event-scroll,.ami-table-wrap) table{border-collapse:collapse;width:100%;min-width:640px}
:where(.customer-scroll,.event-scroll,.ami-table-wrap) th{background:#f2f6f9;color:#38536b;font-weight:700}
:where(.customer-scroll,.event-scroll,.ami-table-wrap) :where(th,td){padding:12px 13px;border-bottom:1px solid #e0e9f0;text-align:left}
:where(.customer-scroll,.event-scroll,.ami-table-wrap) tr:hover td{background:#f8fbfd}
.ops-chart{min-width:0}.ops-chart canvas,.tech-chart canvas{max-width:100%}
.tech-days-filter{gap:16px}.tech-filter-result{margin-top:2px}
:where(.tech-scenario,.econ-method,.ops-kpis>div,.ami-kpi>div){transition:border-color .15s,box-shadow .15s}
@media(max-width:800px){.tech-calendars{grid-template-columns:1fr}.tech-scenarios,.tech-metrics,.ops-kpis,.econ-summary,.econ-compare{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-head{flex-wrap:wrap}.tech-next{white-space:normal}}
@media(max-width:600px){.tech-scenarios,.tech-metrics,.ops-kpis,.econ-summary,.econ-compare{grid-template-columns:1fr}:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter){align-items:stretch;flex-direction:column}:where(.tech-selection-form,.customer-filters,.event-filters,.ops-filter) :where(input,select,button,a){width:100%;max-width:100%}.tech-filter-field{width:100%}.tech-filter-scenario select,.tech-filter-date input{width:100%;min-width:0}.tech-month{padding:10px}.tech-days{gap:3px}.tech-day{padding:8px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
