:root {
  --navy: #10233f;
  --navy-2: #173557;
  --ink: #17243a;
  --muted: #66758a;
  --line: #dfe6ee;
  --canvas: #f4f7fa;
  --panel: #ffffff;
  --blue: #2e68d6;
  --blue-soft: #eaf1ff;
  --teal: #16a085;
  --teal-soft: #e5f6f2;
  --amber: #f0a23b;
  --amber-soft: #fff4e3;
  --red: #df5b5b;
  --red-soft: #feeeee;
  --shadow: 0 10px 34px rgba(31, 50, 76, .08);
  font-size: 17px;
  font-family: Verdana, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
body.session-pending { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at top left, #e6f6f2 0, transparent 38%), linear-gradient(145deg, #f5f8fb, #eaf0f6); }
body.session-pending::before { content: "WUS West"; color: var(--navy); font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
body.session-pending::after { content: ""; position: fixed; left: 50%; top: calc(50% + 34px); width: 20px; height: 20px; margin-left: -10px; border: 3px solid #cddbe7; border-top-color: var(--teal); border-radius: 50%; animation: spin .75s linear infinite; }
button, input, select { font: inherit; }
button, select, label.file-drop { cursor: pointer; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.auth-screen { min-height: 100vh; padding: 28px; display: grid; place-items: center; background: radial-gradient(circle at top left, #e6f6f2 0, transparent 38%), linear-gradient(145deg, #f5f8fb, #eaf0f6); }
.auth-card { width: min(440px, 100%); padding: 36px; border: 1px solid #dbe4ed; border-radius: 18px; background: white; box-shadow: 0 24px 70px rgba(22, 42, 68, .14); }
.auth-username { display: grid; gap: 7px; color: #5e6e82; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.auth-username input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #cbd7e3; border-radius: 9px; color: var(--ink); background: #fbfcfe; }.auth-username input:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.auth-pin-fieldset { margin: 20px 0 0; padding: 0; border: 0; }.auth-pin-fieldset legend { margin-bottom: 8px; color: #5e6e82; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.auth-pin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }.auth-pin input { min-width: 0; height: 60px; border: 1px solid #cbd7e3; border-radius: 11px; background: #f7f9fc; color: var(--navy); font-size: 1.45rem; font-weight: 800; text-align: center; caret-color: var(--blue); }.auth-pin input:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); background: white; }
.auth-message { min-height: 24px; margin: 12px 0 4px; color: var(--muted); font-size: .77rem; line-height: 1.4; }.auth-message[data-tone="setup"] { color: #08715e; }.auth-message[data-tone="error"] { color: #a53333; }.auth-submit { width: 100%; margin-top: 8px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 18px 22px; background: linear-gradient(180deg, var(--navy), #0c1c31); color: white; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.11); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #36c8a8, #168f7d); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.brand-mark svg { width: 27px; height: 27px; stroke: white; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 1rem; letter-spacing: .01em; }
.brand span { margin-top: 3px; color: #aebdd0; font-size: .78rem; }
nav { margin-top: 27px; display: grid; gap: 6px; }
.nav-item { color: #bac6d5; text-decoration: none; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; font-size: .93rem; font-weight: 600; transition: .2s ease; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.095); }
.nav-item.active { box-shadow: inset 3px 0 0 #38c7a8; }
.sidebar-user { margin-top: auto; padding: 13px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.05); }.sidebar-user span, .sidebar-user strong { display: block; }.sidebar-user span { color: #9fb0c5; font-size: .63rem; }.sidebar-user strong { margin-top: 3px; color: white; font-size: .77rem; }.sidebar-user button { padding: 5px 0; border: 0; background: transparent; color: #69d7c0; font-size: .68rem; font-weight: 800; }
main { min-width: 0; padding: 31px 38px 20px; }
h2, p { margin-top: 0; }
h2 { margin-bottom: 0; color: var(--navy); font-size: 1.15rem; letter-spacing: -.015em; }
.eyebrow { margin-bottom: 7px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }

.panel, .filter-bar, .error-panel { max-width: 1500px; margin-left: auto; margin-right: auto; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.file-drop { min-height: 180px; padding: 21px; border: 1.5px dashed #bdc9d6; border-radius: 12px; display: grid; place-items: center; align-content: center; text-align: center; background: #fbfcfe; transition: .2s ease; }
.file-drop:hover, .file-drop.dragover { border-color: var(--blue); background: #f5f8ff; transform: translateY(-1px); }
.file-drop.ready { border-style: solid; border-color: #75cbb9; background: #f3fbf9; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-icon { width: 39px; height: 39px; margin-bottom: 9px; border-radius: 10px; display: grid; place-items: center; }
.file-icon.blue { color: var(--blue); background: var(--blue-soft); }.file-icon.green { color: var(--teal); background: var(--teal-soft); }
.file-label { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.file-drop strong { max-width: 100%; margin: 5px 0; color: var(--navy); font-size: .96rem; overflow-wrap: anywhere; }
.file-drop small { color: #7b899b; }
.file-state { margin-top: 9px; color: var(--blue); font-size: .78rem; font-weight: 700; }
.file-drop.ready .file-state { color: var(--teal); }
.primary-button, .secondary-button, .icon-button, .text-button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.primary-button { min-width: 230px; padding: 12px 20px; border-radius: 9px; background: var(--blue); color: white; box-shadow: 0 7px 18px rgba(46,104,214,.23); }
.primary-button:disabled { cursor: not-allowed; opacity: .5; box-shadow: none; }
.primary-button:not(:disabled):hover { background: #245bc3; }
.panel.report-upload-panel { display: none; margin-bottom: 18px; padding: 0; overflow: hidden; }
.dashboard[data-active-page="data"] > .report-upload-panel { display: block; }
.report-upload-summary { padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.report-upload-summary::-webkit-details-marker { display: none; }
.report-upload-summary::marker { content: ""; }
.report-upload-summary .eyebrow { margin-bottom: 5px; }
.report-upload-summary p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }
.report-upload-toggle { flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid #cfd9e4; border-radius: 9px; display: grid; place-items: center; color: var(--navy); background: white; }
.report-upload-toggle svg { width: 19px; height: 19px; transition: transform .2s ease; }
.report-upload-disclosure[open] .report-upload-summary { border-bottom: 1px solid var(--line); }
.report-upload-disclosure[open] .report-upload-toggle svg { transform: rotate(180deg); }
.report-upload-body { padding: 20px; }
.report-upload-actions { margin-bottom: 14px; display: flex; justify-content: flex-end; }
.report-upload-content { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(300px, 1.2fr); gap: 22px; align-items: center; }
.report-upload-panel .file-drop { min-height: 145px; }
.report-upload-panel .upload-action { display: flex; flex-direction: column; align-items: flex-start; }
.report-upload-panel .upload-action p { margin: 10px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.report-delete-button { color: #9a3737; border-color: #edc2c2; background: #fffafa; }
.spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .75s linear infinite; }
.primary-button.loading .spinner { display: block; }.primary-button.loading > svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-panel { margin-top: 18px; padding: 17px 20px; border-color: #f3b8b8; border-radius: 11px; background: var(--red-soft); color: #922f2f; }
.error-panel p { margin: 5px 0 0; font-size: .92rem; }

.dashboard { max-width: 1500px; margin: 0 auto; }
.app-page { min-width: 0; }
.filter-bar { position: sticky; top: 12px; z-index: 4; margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; display: grid; grid-template-columns: minmax(190px, 1fr) 110px 155px 180px minmax(210px, 1.2fr) 40px; gap: 11px; align-items: end; }
.filter-heading { align-self: center; display: flex; align-items: center; gap: 10px; min-width: 0; }
.filter-heading strong, .filter-heading span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-heading strong { color: var(--navy); font-size: .92rem; }.filter-heading span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.live-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.filter-bar label, .details-actions label { display: grid; gap: 5px; color: #6e7c8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
select, input[type="search"] { width: 100%; min-height: 37px; border: 1px solid #d7e0e9; border-radius: 8px; background: white; color: var(--ink); outline: none; }
select { padding: 0 29px 0 10px; } input[type="search"] { padding: 0 10px 0 34px; }
select:focus, input:focus { border-color: #7da4ec; box-shadow: 0 0 0 3px #edf3ff; }
.search-field > span { position: relative; }.search-field svg { position: absolute; z-index: 1; left: 10px; top: 9px; width: 17px; height: 17px; color: #8592a3; }
.icon-button { width: 39px; height: 37px; border: 1px solid #d7e0e9; border-radius: 8px; background: white; color: var(--muted); }.icon-button:hover { color: var(--blue); border-color: #9db6e5; }

.kpi-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi-card { min-height: 148px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 5px 20px rgba(30,48,73,.055); display: flex; flex-direction: column; align-items: flex-start; }
.kpi-card > span, .kpi-top span:first-child { color: #6d7b8d; font-size: .8rem; font-weight: 700; }
.kpi-card > strong { margin-top: 11px; color: var(--navy); font-size: 1.8rem; line-height: 1; letter-spacing: -.04em; }
.kpi-card > small { margin-top: auto; padding-top: 10px; color: #8794a4; font-size: .74rem; }
.percent-kpi { min-height: 126px; justify-content: center; }.percent-kpi > strong { margin-top: 14px; font-size: 2rem; }.percent-kpi > small { margin-top: 8px; padding: 0; }
.main-kpi { background: linear-gradient(140deg, #132e4d, #1a4166); color: white; border: 0; }
.kpi-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }.main-kpi .kpi-top span:first-child { color: #c5d4e3; }
.trend-badge { padding: 4px 7px; border-radius: 99px; background: rgba(255,255,255,.1); color: #cbd8e5; font-size: .72rem; }
.quote-layout { flex: 1; display: flex; align-items: center; gap: 14px; }
.quote-number { min-width: 92px; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.15); color: #4be0c0; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; }
.quote-layout strong { display: block; margin-bottom: 5px; color: white; font-size: .98rem; }.quote-layout p { margin: 0; color: #aebfd0; font-size: .78rem; line-height: 1.4; }

.panel { border-radius: 13px; padding: 20px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-header p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.soll-ist-load-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.soll-ist-load-panel h2 { margin-top: 5px; }.soll-ist-load-panel p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); }
.overview-detail-grid { margin-bottom: 18px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 12px; align-items: start; }
.overview-detail-grid > .panel { width: 100%; margin: 0; padding: 14px 18px; }
.team-panel-header { align-items: center; margin-bottom: 10px; }
.period-badges { display: flex; flex-wrap: wrap; gap: 6px; }.period-badges span { padding: 4px 8px; border: 1px solid #cfdaea; border-radius: 6px; background: #f5f8fc; color: #40536c; font-size: .75rem; font-weight: 800; }
.team-panel h2 { margin-top: 6px; }
.team-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.team-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 8px 10px; border: 1px solid #e1e7ee; border-radius: 9px; background: #fbfcfd; text-align: left; color: inherit; }
.team-row:hover { border-color: #a9bee3; background: #f7faff; }
.team-name { min-width: 0; }.team-name strong, .team-name span { display: block; }.team-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }.team-name span { margin-top: 5px; color: var(--muted); font-size: .75rem; line-height: 1.35; white-space: normal; }
.team-score { color: var(--navy); font-size: 1rem; font-weight: 800; }
.month-panel-header { margin-bottom: 12px; align-items: flex-end; }
.month-panel-header label { min-width: 200px; display: grid; gap: 5px; color: #6e7c8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.month-table { min-width: 840px; }
.month-table th, .month-table td { padding: 7px 9px; }
.month-table th:first-child, .month-table td:first-child { min-width: 240px; }
.month-table th:not(:first-child), .month-table td:not(:first-child) { min-width: 90px; text-align: right; }
.month-team-row td { border-top: 1px solid #d3ddeb; background: #edf3ff; color: var(--navy); font-weight: 800; }
.month-service-row td:first-child { padding-left: 28px; color: #526176; font-weight: 400; }
.month-service-row td:not(:first-child) { color: #39485d; font-weight: 600; }
.month-service-row:hover td { background: #fafcff; }
.month-table tfoot td { border-top: 2px solid #cad6e4; background: #f5f8fc; color: var(--navy); font-weight: 800; }
.month-table tfoot td:first-child span { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.month-table tbody td.month-empty { padding: 20px 10px; color: var(--muted); text-align: center; font-weight: 400; }
.month-drilldown-button { min-width: 42px; padding: 4px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: inherit; font-weight: inherit; text-align: right; }
.month-drilldown-button:hover, .month-drilldown-button:focus-visible { border-color: #9fb8e6; background: white; color: var(--blue); outline: none; }
.month-drilldown-button.selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.outage-conflict-panel { margin-bottom: 18px; border-color: #efc7c7; background: #fffafa; }
.outage-conflict-header { align-items: center; margin-bottom: 12px; }.outage-conflict-header h2 { color: #852b2b; }
.outage-conflict-table { min-width: 600px; }
.month-drilldown-panel { margin-bottom: 18px; }
.month-drilldown-header { align-items: center; }
.month-drilldown-table { min-width: 1120px; }
.month-drilldown-table th, .month-drilldown-table td { padding: 9px 11px; }
.month-drilldown-table th:first-child, .month-drilldown-table td:first-child { min-width: 290px; }
.month-drilldown-table th:last-child, .month-drilldown-table td:last-child { min-width: 210px; }
.empty-state { padding: 24px 10px; text-align: center; color: var(--muted); font-size: .85rem; }

.details-panel, .quality-panel { margin-bottom: 18px; }
.gaps-panel .details-header { align-items: center; }
.details-header { align-items: flex-end; }
.details-actions { display: flex; align-items: flex-end; gap: 10px; }.details-actions label { min-width: 180px; }
.secondary-button { min-height: 39px; padding: 0 13px; border: 1px solid #cfd9e4; border-radius: 8px; background: white; color: var(--navy); font-size: .81rem; }.secondary-button:hover { border-color: var(--blue); color: var(--blue); }
.service-cut { margin-bottom: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.service-cut-heading { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.service-cut-heading strong, .service-cut-heading span { display: block; }.service-cut-heading strong { color: var(--navy); font-size: .85rem; }.service-cut-heading span { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.service-facets { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.service-facet { flex: 0 0 220px; min-height: 92px; padding: 12px; border: 1px solid #dce4ed; border-radius: 9px; background: white; color: var(--ink); text-align: left; box-shadow: 0 3px 12px rgba(30,48,73,.035); }
.service-facet:hover { border-color: #9fb8e6; }.service-facet.selected { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.service-facet-name { min-height: 30px; display: block; color: var(--muted); font-size: .75rem; line-height: 1.35; }
.service-facet > strong { display: block; margin-top: 5px; color: var(--navy); font-size: 1.18rem; }
.service-facet-counts { display: block; margin-top: 5px; color: #708095; font-size: .74rem; }.service-facet-counts b { color: #a26209; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 9px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: .79rem; }
th { position: sticky; top: 0; z-index: 1; padding: 11px 12px; background: #f5f7fa; color: #68768a; text-align: left; font-size: .74rem; letter-spacing: .045em; text-transform: uppercase; }
td { padding: 11px 12px; border-top: 1px solid #e8edf2; color: #39485d; } tbody tr:hover { background: #fafcff; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 99px; font-size: .75rem; font-weight: 800; }.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-open { color: #9a5b06; background: var(--amber-soft); }.status-open::before { background: var(--amber); }.status-outage { color: #9a3737; background: var(--red-soft); }.status-outage::before { background: var(--red); }.status-outage-conflict { color: #7e2020; background: #f9dede; }.status-outage-conflict::before { background: #a92828; }.status-completed { color: #08715e; background: var(--teal-soft); }.status-completed::before { background: var(--teal); }.status-linked { color: #315fae; background: var(--blue-soft); }.status-linked::before { background: var(--blue); }.status-invalid { color: #9a3737; background: var(--red-soft); }.status-invalid::before { background: var(--red); }
.table-footer { min-height: 35px; padding: 9px 3px 0; display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; }
.text-button { background: transparent; color: var(--blue); font-size: .75rem; }
.quality-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.quality-item { padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; }.quality-item span, .quality-item small { display: block; }.quality-item span { color: var(--muted); font-size: .75rem; }.quality-item strong { display: block; margin: 6px 0 4px; color: var(--navy); font-size: 1.22rem; }.quality-item small { color: #8794a4; font-size: .74rem; line-height: 1.4; }.quality-item.warn { border-color: #f0d2aa; background: #fffaf3; }.quality-item.bad { border-color: #f2c1c1; background: #fff8f8; }
.settings-layout { display: grid; grid-template-columns: minmax(640px, 1.2fr) minmax(390px, .8fr); gap: 14px; align-items: start; }.settings-panel { margin-bottom: 18px; }.settings-header { align-items: center; }.settings-actions { display: flex; align-items: center; gap: 9px; }.settings-save-button { min-width: 118px; min-height: 39px; padding-top: 0; padding-bottom: 0; }
.settings-table-wrap { max-height: 62vh; }.settings-table { min-width: 790px; table-layout: fixed; }.settings-table th:nth-child(1) { width: 20%; }.settings-table th:nth-child(2), .settings-table th:nth-child(3) { width: 24%; }.settings-table th:nth-child(4) { width: 20%; }.settings-table th:last-child { width: 12%; }.settings-table td { padding: 7px 9px; }
.settings-input { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #cfd9e4; border-radius: 7px; background: white; color: var(--ink); }.settings-input:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }
.settings-remove-button { min-height: 36px; padding: 0 10px; border: 1px solid #ecc6c6; border-radius: 7px; background: #fff7f7; color: #9a3737; font: inherit; font-size: .75rem; font-weight: 700; }.settings-remove-button:hover { border-color: var(--red); }
.settings-footer { min-height: 39px; padding-top: 11px; color: var(--muted); font-size: .78rem; }.settings-footer [data-tone="success"] { color: #08715e; }.settings-footer [data-tone="warning"] { color: #9a5b06; }.settings-footer [data-tone="error"] { color: #9a3737; }
.user-management-panel { grid-column: 1 / -1; }.user-management-header { align-items: end; }.add-user-form { max-width: 820px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }.add-user-form > input { width: 220px; min-height: 42px; padding: 8px 11px; border: 1px solid #cbd7e3; border-radius: 8px; }.add-user-form .primary-button { min-width: 180px; }.new-user-permissions { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.users-list { margin-top: 17px; display: grid; gap: 10px; }.user-row { padding: 15px; border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: 190px minmax(360px, 1fr) auto; gap: 16px; align-items: center; background: #fbfcfe; }.user-row[aria-busy="true"] { opacity: .65; pointer-events: none; }.user-identity strong, .user-identity small { display: block; }.user-identity strong { color: var(--navy); }.user-identity small { margin-top: 4px; color: var(--muted); font-size: .7rem; }.user-permissions { display: flex; flex-wrap: wrap; gap: 7px; }.user-permission { position: relative; }.user-permission input { position: absolute; opacity: 0; pointer-events: none; }.user-permission span { min-height: 31px; padding: 6px 9px; border: 1px solid #d4dee8; border-radius: 7px; display: inline-flex; align-items: center; background: white; color: #5d6c80; font-size: .68rem; font-weight: 700; cursor: pointer; }.user-permission input:checked + span { border-color: #7dc8b7; background: var(--teal-soft); color: #08715e; }.user-permission input:disabled + span { cursor: default; opacity: .78; }.user-actions { display: flex; justify-content: flex-end; gap: 7px; align-items: center; }.user-actions button { min-height: 34px; padding: 0 10px; border-radius: 7px; font: inherit; font-size: .69rem; font-weight: 800; }.user-reset-code { width: 104px; min-height: 34px; padding: 6px 8px; border: 1px solid #cbd7e3; border-radius: 7px; font: inherit; font-size: .69rem; }.user-reset-pin { border: 1px solid #b9c9dc; background: white; color: #355273; }.user-delete { border: 1px solid #ebbbbb; background: #fff5f5; color: #9a3737; }
.inventory-import-header { display: block; }.inventory-drop { min-height: 190px; padding: 28px 20px; border: 1px dashed #9fb5cb; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #f8fbfd; color: var(--muted); text-align: center; cursor: pointer; }.inventory-drop:hover, .inventory-drop.dragover { border-color: var(--teal); background: #f1fbf8; }.inventory-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.inventory-drop svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.8; }.inventory-drop strong { color: var(--navy); }.inventory-drop span { font-size: .75rem; }.inventory-import-rules { margin: 14px 0; display: grid; gap: 7px; }.inventory-import-rules span { padding-left: 17px; position: relative; color: var(--muted); font-size: .76rem; line-height: 1.4; }.inventory-import-rules span::before { content: ""; position: absolute; left: 2px; top: .45em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }.inventory-import-button { width: 100%; }.inventory-import-footer { min-height: 42px; padding-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.45; }.inventory-import-footer [data-tone="success"] { color: #08715e; }.inventory-import-footer [data-tone="warning"] { color: #9a5b06; }.inventory-import-footer [data-tone="error"] { color: #9a3737; }
.dashboard[data-active-page="service-data"] > .filter-bar, .dashboard[data-active-page="planning"] > .filter-bar, .dashboard[data-active-page="contracts"] > .filter-bar, .dashboard[data-active-page="my-tours"] > .filter-bar, .dashboard[data-active-page="inactive"] > .filter-bar, .dashboard[data-active-page="settings"] > .filter-bar { display: none; }
.my-tours-panel { max-width: 1600px; }
.my-tours-header { align-items: center; }
.my-tours-print-button { min-width: 118px; }
.my-tours-print-context { display: none; }
.my-tours-tabs { margin: 15px 0 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.my-tours-tabs button { min-height: 34px; padding: 6px 11px; border: 1px solid #ccd8e4; border-radius: 8px; background: white; color: #506177; font: inherit; font-size: .72rem; font-weight: 800; }
.my-tours-tabs button:hover { border-color: var(--blue); color: var(--blue); }
.my-tours-tabs button.active { border-color: var(--teal); background: var(--teal-soft); color: #08715e; }
.my-tours-table-wrap { max-height: 68vh; overflow-x: hidden; overflow-y: auto; }
.my-tours-table { width: 100%; min-width: 0; table-layout: fixed; }
.my-tours-table th, .my-tours-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.my-tours-table th { padding-left: 4px; padding-right: 4px; font-size: .62rem; letter-spacing: .01em; }
.my-tours-table th:nth-child(1) { width: 10%; }
.my-tours-table th:nth-child(2) { width: 5%; }
.my-tours-table th:nth-child(3) { width: 7%; }
.my-tours-table th:nth-child(4) { width: 11%; }
.my-tours-table th:nth-child(5) { width: 4%; }
.my-tours-table th:nth-child(6) { width: 9%; }
.my-tours-table th:nth-child(7) { width: 6%; }
.my-tours-table th:nth-child(8) { width: 5%; }
.my-tours-table th:nth-child(9), .my-tours-table th:nth-child(10) { width: 9%; }
.my-tours-table th:nth-child(11), .my-tours-table th:nth-child(12) { width: 10%; }
.my-tours-table th:nth-child(13) { width: 4%; }
.my-tours-table td { padding: 8px 7px; }
.my-tours-table th:first-child, .my-tours-table td:first-child { position: sticky; left: 0; z-index: 1; background: white; box-shadow: 1px 0 #e2e9f0; }
.my-tours-table th:first-child { z-index: 3; background: #f5f7fa; }
.my-tours-table td:nth-child(5), .my-tours-table td:last-child { text-align: center; font-variant-numeric: tabular-nums; }
.my-tours-table .empty-state { min-width: 0; }
.my-tour-contract { display: block; margin-top: 3px; color: var(--muted); font-size: .62rem; font-weight: 400; }
.my-tours-uhr-filter { display: grid; gap: 4px; color: inherit; font: inherit; }
.my-tours-uhr-filter select { width: 100%; min-width: 0; min-height: 30px; padding: 4px 6px; border: 1px solid #cbd7e3; border-radius: 6px; background: white; color: var(--ink); font-size: .67rem; font-weight: 700; text-align: center; text-transform: none; }
.service-data-panel { margin-bottom: 18px; }.service-data-header { align-items: center; }.service-data-status { color: var(--muted); font-size: .78rem; text-align: right; }.service-data-status[data-tone="success"] { color: #08715e; }.service-data-status[data-tone="error"] { color: #9a3737; }
.service-data-overview { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.service-data-overview article { min-height: 91px; padding: 13px 15px; border: 1px solid #dce4ed; border-radius: 10px; background: #f9fbfd; }
.service-data-overview span, .service-data-overview strong, .service-data-overview small { display: block; }
.service-data-overview span { color: #68778b; font-size: .71rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.service-data-overview strong { margin-top: 7px; color: var(--navy); font-size: 1.14rem; font-variant-numeric: tabular-nums; }
.service-data-overview small { margin-top: 5px; color: #8290a2; font-size: .69rem; }
.service-data-overview .el-total { border-color: #9ed9cc; background: var(--teal-soft); }
.service-data-overview .el-total strong { color: #08715e; }
.service-data-toolbar { margin-bottom: 12px; display: grid; grid-template-columns: 230px minmax(280px, 1fr); gap: 11px; align-items: end; }.service-data-toolbar label { display: grid; gap: 5px; color: #6e7c8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.service-data-search input { padding-left: 10px; }
.service-data-table-wrap { max-height: 67vh; }
.service-data-table { min-width: 4200px; table-layout: auto; }
.service-data-table th, .service-data-table td { padding: 7px 8px; }
.service-data-table .service-summary-row th { top: 0; background: #f5f7fa; }
.service-data-table .service-summary-row th[rowspan="3"] { white-space: normal; overflow-wrap: anywhere; line-height: 1.15; color: #526176; font-size: .65rem; letter-spacing: .025em; vertical-align: middle; }
.service-data-table .service-summary-cell { height: 62px; padding: 8px 10px; text-align: left; text-transform: none; }
.service-data-table .service-summary-cell > span { width: 50%; display: inline-flex; flex-direction: column; vertical-align: top; }
.service-data-table .service-summary-cell > span:last-child { align-items: flex-end; text-align: right; }
.service-data-table .service-summary-cell small { color: #738196; font-size: .61rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.service-data-table .service-summary-cell strong { margin-top: 5px; color: var(--navy); font-size: .78rem; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.service-data-table .service-group-row th { top: 62px; height: 34px; border-top: 1px solid #dde5ee; background: #edf3fb; color: var(--navy); text-align: center; }
.service-data-table .service-field-row th { top: 96px; min-width: 78px; width: 78px; white-space: normal; line-height: 1.12; background: #f5f7fa; color: #68768a; text-align: center; font-size: .64rem; letter-spacing: .02em; }
.service-data-table tbody td:nth-child(1) { position: sticky; left: 0; z-index: 2; width: 220px; min-width: 220px; background: white; box-shadow: 1px 0 #e8edf2; }
.service-data-table .service-summary-row th:nth-child(1) { position: sticky; left: 0; width: 220px; min-width: 220px; z-index: 5; text-align: left; box-shadow: 1px 0 #dfe6ee; }
.service-data-table .service-summary-row th:nth-child(2) { width: 92px; min-width: 92px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(3) { width: 92px; min-width: 92px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(4) { width: 100px; min-width: 100px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(5) { width: 60px; min-width: 60px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(6) { width: 78px; min-width: 78px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(7) { width: 96px; min-width: 96px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(8) { width: 110px; min-width: 110px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(9) { width: 135px; min-width: 135px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(10) { width: 70px; min-width: 70px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(11) { width: 145px; min-width: 145px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(12) { width: 155px; min-width: 155px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(13) { width: 75px; min-width: 75px; text-align: left; }
.service-data-table .service-summary-row th:nth-child(14) { width: 55px; min-width: 55px; text-align: right; }
.service-data-table th[colspan="4"] { width: 320px; min-width: 320px; border-left: 2px solid #cbd8e6; color: var(--navy); }
.service-data-object strong, .service-data-object span, .service-data-object small, .service-data-team strong, .service-data-team small { display: block; }
.service-data-object strong, .service-data-team strong { color: var(--navy); }
.service-data-object span, .service-data-object small, .service-data-team small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.service-number { text-align: right; font-variant-numeric: tabular-nums; }
.service-number.zero { color: #a4afbd; }
.service-group-start { border-left: 2px solid #cbd8e6; }
.service-data-footer > div { display: flex; gap: 8px; }
.planning-panel { margin-bottom: 18px; }.planning-header { align-items: center; }.planning-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }.planning-status { color: var(--muted); font-size: .78rem; text-align: right; }.planning-status[data-tone="success"] { color: #08715e; }.planning-status[data-tone="warning"] { color: #9a5b13; }.planning-status[data-tone="error"] { color: #9a3737; }
.planning-tabs { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }.planning-tab { min-height: 39px; padding: 0 13px; border: 1px solid #cfd9e4; border-radius: 8px; background: white; color: var(--navy); font: inherit; font-size: .79rem; font-weight: 700; }.planning-tab:hover { border-color: var(--blue); color: var(--blue); }.planning-tab.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.planning-toolbar { margin-bottom: 12px; display: grid; grid-template-columns: 130px 170px 220px 190px minmax(280px, 1fr); gap: 11px; align-items: end; }.planning-toolbar label { display: grid; gap: 5px; color: #6e7c8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.planning-search input { padding-left: 10px; }
.planning-table-wrap { max-height: 67vh; }.planning-table { table-layout: fixed; }.planning-table[data-planning-type="uhr"][data-month-filtered="false"] { min-width: 6500px; }.planning-table[data-planning-type="uhr"][data-month-filtered="true"] { min-width: 1200px; }.planning-table:not([data-planning-type="uhr"])[data-month-filtered="false"] { min-width: 2050px; }.planning-table:not([data-planning-type="uhr"])[data-month-filtered="true"] { min-width: 650px; }.planning-table th, .planning-table td { padding: 6px; }.planning-table th { text-align: center; }.planning-table th:nth-child(1), .planning-table td:nth-child(1) { position: sticky; left: 0; z-index: 2; width: 220px; min-width: 220px; background: white; }.planning-table th:nth-child(2), .planning-table td:nth-child(2) { position: sticky; left: 220px; z-index: 2; width: 180px; min-width: 180px; background: white; }.planning-table th:nth-child(3), .planning-table td:nth-child(3) { position: sticky; left: 400px; z-index: 2; width: 105px; min-width: 105px; background: white; box-shadow: 1px 0 #dfe6ee; }.planning-table th:nth-child(-n+3) { z-index: 4; background: #f5f7fa; text-align: left; }.planning-table th:nth-child(n+4), .planning-table td:nth-child(n+4) { width: 112px; min-width: 112px; }.planning-object strong, .planning-object span, .planning-object small, .planning-team strong, .planning-team small { display: block; }.planning-object strong, .planning-team strong { color: var(--navy); }.planning-object span, .planning-object small, .planning-team small { margin-top: 3px; color: var(--muted); font-size: .7rem; }.planning-value-cell { background: #fbfcfd; }.planning-value-cell.outage { background: var(--red-soft); }.planning-value-cell.saving { background: var(--blue-soft); }.planning-value-cell.not-commissioned { background: #edf1f5; }.planning-value-input { width: 100%; min-height: 35px; padding: 5px 6px; border: 1px solid #d5dee8; border-radius: 6px; background: white; color: var(--ink); font-size: .78rem; text-align: center; }.planning-value-cell.outage .planning-value-input { border-color: #e7aaaa; color: #8f2f2f; font-weight: 700; }.planning-value-cell.not-commissioned .planning-value-input { border-color: #d8e0e8; background: #edf1f5; color: #8b96a5; cursor: not-allowed; }.planning-value-input:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }.planning-footer > div { display: flex; gap: 8px; }
.contracts-panel { margin-bottom: 18px; }.contracts-header { align-items: center; }
.contracts-stat-grid { margin-bottom: 16px; display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }.contracts-stat-grid article, .contracts-stat-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; background: #f9fbfd; font: inherit; text-align: left; }.contracts-stat-card { cursor: pointer; }.contracts-stat-card:hover { border-color: var(--blue); background: var(--blue-soft); }.contracts-stat-grid article.attention { border-color: #f0d2aa; background: var(--amber-soft); }.contracts-stat-grid span, .contracts-stat-grid strong, .contracts-stat-grid small { display: block; }.contracts-stat-grid span { color: var(--muted); font-size: .75rem; font-weight: 700; }.contracts-stat-grid strong { margin-top: 6px; color: var(--navy); font-size: 1.3rem; }.contracts-stat-grid small { margin-top: 4px; color: var(--blue); font-size: .68rem; font-weight: 700; }
.contracts-toolbar { margin-bottom: 12px; display: grid; grid-template-columns: 220px 220px minmax(260px, 1fr) auto; gap: 11px; align-items: end; }.contracts-toolbar label { display: grid; gap: 5px; color: #6e7c8f; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.contracts-search input { padding-left: 10px; }.contracts-status { align-self: center; max-width: 520px; color: var(--muted); font-size: .76rem; text-align: right; }.contracts-status[data-tone="success"] { color: #08715e; }.contracts-status[data-tone="error"] { color: #9a3737; }
.contracts-table-wrap { max-height: 64vh; }.contracts-table { min-width: 2090px; }.contracts-table th { z-index: 2; }.contracts-table td { padding: 7px 8px; vertical-align: middle; }.contracts-table th:first-child, .contracts-table td:first-child { position: sticky; left: 0; z-index: 1; background: white; box-shadow: 1px 0 #e8edf2; }.contracts-table th:first-child { z-index: 3; background: #f5f7fa; }.contracts-table .contract-me { text-align: center; font-variant-numeric: tabular-nums; }.contract-object strong, .contract-object small, .contract-assignment strong, .contract-assignment small, .contract-date-range, .contract-date-range small { display: block; }.contract-object strong { color: var(--navy); }.contract-object strong + strong, .contract-object small, .contract-assignment small, .contract-date-range small { margin-top: 3px; }.contract-object small, .contract-assignment small, .contract-date-range small { color: var(--muted); font-size: .7rem; }.contract-planning-field { display: flex; width: max-content; flex-direction: column; gap: 4px; }.contract-planning-field small { color: var(--muted); font-size: .68rem; line-height: 1; text-align: center; white-space: nowrap; }.uhr-confirm-button { width: 145px; min-height: 36px; border: 1px solid #08715e; border-radius: 7px; background: #0a8f75; color: white; font-weight: 800; cursor: pointer; }.uhr-confirm-button:hover { background: #08715e; }.uhr-confirm-button.confirmed { border-color: #9ed8cc; background: #e8f7f3; color: #08715e; cursor: default; }.contract-input { width: 125px; min-height: 36px; padding: 6px 8px; border: 1px solid #cfd9e4; border-radius: 7px; background: white; color: var(--ink); }.contract-input.tour-input, .contract-input.weekday-input { width: 145px; }.contract-input.short-input { width: 82px; }.contract-input:disabled { border-color: #d8e0e8; background: #edf1f5; color: #8b96a5; cursor: not-allowed; opacity: 1; }.contract-input:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }
.planning-table td.assignment-missing, .service-data-table td.assignment-missing, .contracts-table td.assignment-missing { background: var(--red-soft); }.assignment-missing strong, .assignment-missing small { color: #9a3737; }
.inactive-contracts-header { align-items: center; }.inactive-contracts-table-wrap { max-height: 68vh; }.inactive-contracts-table { min-width: 1080px; }.inactive-contracts-table th:last-child, .inactive-contracts-table td:last-child { width: 285px; text-align: right; }.inactive-contract-actions { display: flex; justify-content: flex-end; gap: 7px; }.inactive-restore-button, .inactive-delete-button { min-height: 34px; padding: 0 11px; border-radius: 7px; font: inherit; font-size: .74rem; font-weight: 800; }.inactive-restore-button { border: 1px solid #9ed8cc; background: #eefaf7; color: #08715e; }.inactive-restore-button:hover { border-color: var(--teal); background: var(--teal-soft); }.inactive-delete-button { border: 1px solid #e9b8b8; background: #fff5f5; color: #9a3737; }.inactive-delete-button:hover { border-color: var(--red); background: var(--red-soft); }
button:disabled { cursor: not-allowed; opacity: .55; }
.database-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.database-status { padding: 7px 9px; border-radius: 99px; background: var(--teal-soft); color: #08715e; font-size: .73rem; font-weight: 800; }
.backup-label input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
footer { max-width: 1500px; margin: 22px auto 0; color: #8794a4; text-align: center; font-size: .75rem; }

@page { size: A4 landscape; margin: 5mm; }
@media print {
  body.printing-my-tours { min-width: 0; background: white; }
  body.printing-my-tours .app-shell { min-height: 0; display: block !important; }
  body.printing-my-tours .sidebar, body.printing-my-tours footer, body.printing-my-tours .dashboard > *:not(#meine-touren), body.printing-my-tours .my-tours-tabs, body.printing-my-tours .my-tours-print-button { display: none !important; }
  body.printing-my-tours main { padding: 0; }
  body.printing-my-tours #meine-touren { display: block !important; }
  body.printing-my-tours .my-tours-panel { width: var(--my-tours-print-width, 100%); max-width: none; padding: 0; border: 0; box-shadow: none; zoom: var(--my-tours-print-scale, 1); }
  body.printing-my-tours .my-tours-header { margin-bottom: 2mm; }
  body.printing-my-tours .my-tours-header h2 { font-size: 11pt; }
  body.printing-my-tours .my-tours-header .eyebrow, body.printing-my-tours #myToursSummary { display: none; }
  body.printing-my-tours .my-tours-print-context { margin: 1mm 0 0; display: block; color: #28384d; font-size: 7pt; }
  body.printing-my-tours .my-tours-uhr-filter select { display: none; }
  body.printing-my-tours .my-tours-table-wrap { max-height: none; overflow: visible; border: 1px solid #aeb8c3; }
  body.printing-my-tours .my-tours-table { width: 100%; height: var(--my-tours-print-height, 170mm); font-size: var(--my-tours-print-font-size, 8pt); line-height: 1.1; }
  body.printing-my-tours .my-tours-table thead { display: table-header-group; }
  body.printing-my-tours .my-tours-table tr { break-inside: avoid; page-break-inside: avoid; }
  body.printing-my-tours .my-tours-table th, body.printing-my-tours .my-tours-table td { padding: .65mm .7mm; border-color: #cbd2d9; color: #111; }
  body.printing-my-tours .my-tours-table th[data-print-label] { font-size: 0; text-overflow: clip; }
  body.printing-my-tours .my-tours-table th[data-print-label]::before { content: attr(data-print-label); font-size: var(--my-tours-print-header-size, 7.5pt); }
  body.printing-my-tours .my-tours-table th:first-child, body.printing-my-tours .my-tours-table td:first-child { position: static; box-shadow: none; }
  body.printing-my-tours .my-tour-contract { display: none; }
}

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 78px minmax(0,1fr); }.sidebar { padding-left: 12px; padding-right: 12px; }.brand { justify-content: center; padding-left: 0; padding-right: 0; }.brand > div:last-child, .nav-item:not(.active)::after, .nav-item { font-size: 0; }.nav-item { justify-content: center; }.nav-item svg { width: 21px; height: 21px; }.settings-layout { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 100px 145px 160px minmax(180px,1fr) 40px; }.quality-grid { grid-template-columns: repeat(3,1fr); }
  .sidebar-user { display: none; }.user-row { grid-template-columns: 160px minmax(320px, 1fr); }.user-actions { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  main { padding: 24px 20px; }.filter-bar { position: static; grid-template-columns: repeat(2,1fr); }.filter-heading, .search-field { grid-column: 1 / -1; }.icon-button { display: none; }.report-upload-content { grid-template-columns: 1fr; }.kpi-grid { grid-template-columns: repeat(2,1fr); }.main-kpi { grid-column: 1 / -1; }.overview-detail-grid { grid-template-columns: 1fr; }.quality-grid, .service-data-overview { grid-template-columns: repeat(2,1fr); }.contracts-stat-grid { grid-template-columns: repeat(2, 1fr); }.contracts-toolbar, .planning-toolbar, .service-data-toolbar { grid-template-columns: 1fr 1fr; }.contracts-status, .planning-search { grid-column: 1 / -1; max-width: none; text-align: left; }
  .user-management-header { display: grid; }.add-user-form { margin-top: 13px; }.user-row { grid-template-columns: 1fr; }.user-actions { grid-column: auto; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .app-shell { display: block; }.sidebar { position: static; width: 100%; height: auto; padding: 13px 16px; display: grid; grid-template-columns: 1fr; }.brand { border: 0; padding: 0; }.brand > div:last-child { display: block; }.brand-mark { width: 35px; height: 35px; }.sidebar nav { margin-top: 12px; display: grid; grid-template-columns: repeat(9,1fr); }.nav-item { padding: 9px 6px; } main { padding: 20px 12px; }.filter-bar { grid-template-columns: 1fr; }.filter-heading, .search-field { grid-column: auto; }.kpi-grid { grid-template-columns: 1fr; }.kpi-card { min-height: 120px; }.panel { padding: 15px; }.soll-ist-load-panel, .month-panel-header, .month-drilldown-header, .details-header, .details-actions, .service-cut-heading, .outage-conflict-header, .settings-header, .settings-actions, .contracts-header, .planning-header, .service-data-header, .report-upload-summary { display: grid; }.month-panel-header label, .details-actions label { min-width: 0; }.settings-actions button { width: 100%; }.service-facet { flex-basis: 180px; }.quality-grid, .service-data-overview, .contracts-stat-grid, .contracts-toolbar, .planning-toolbar, .service-data-toolbar { grid-template-columns: 1fr; }.planning-status, .service-data-status { text-align: left; }
  .auth-screen { padding: 14px; }.auth-card { padding: 26px 20px; }.add-user-form { display: grid; }.add-user-form input, .add-user-form .primary-button { width: 100%; min-width: 0; }
}
