:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #eef2f5;
  font-synthesis: none;
  --blue: #173b59;
  --blue-2: #235779;
  --anthracite: #34414c;
  --card: #ffffff;
  --line: #d8e0e6;
  --muted: #65727d;
  --green: #18864b;
  --red: #bf2d25;
  --shadow: 0 12px 30px rgba(31, 41, 51, .08);
  --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #eef2f5; }
button { font: inherit; }
.app-shell { min-height: 100dvh; }
.topbar { position: fixed; inset: 0 0 auto 0; height: 68px; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; box-shadow: 0 4px 20px rgba(23,59,89,.18); }
.brand, .topbar-actions, .topbar-start { display: flex; align-items: center; gap: 12px; font-weight: 750; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); font-size: 13px; }
.brand-mark.has-company-logo{background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:contain;color:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.env-pill, .micro-label { border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.env-pill { padding: 6px 9px; background: rgba(255,255,255,.16); }
.icon-button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: white; font-size: 22px; }
.sidebar { position: fixed; top: 68px; left: 0; bottom: 0; z-index: 19; width: 304px; padding: 14px 14px 24px; overflow-y: auto; background: #22303b; transition: transform .2s ease; }
.sidebar-heading { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:0 8px 8px; color:#fff; }
.sidebar-close { display:none; }
.menu-toggle { cursor:pointer; }
.menu-scrim { position:fixed; inset:68px 0 0; z-index:18; border:0; background:rgba(18,31,41,.42); }
.nav-list { display: grid; gap: 8px; }
.nav-item { border: 0; border-radius: 12px; padding: 14px 16px; text-align: left; color: #dce4e9; background: transparent; font-weight: 650; }
.nav-item.is-active { background: #fff; color: var(--blue); }
.main { margin-left: 304px; padding: 96px 28px 44px; max-width: 1500px; transition:margin-left .2s ease; }
.app-shell.menu-collapsed .sidebar { transform:translateX(-100%); }
.app-shell.menu-collapsed .main { margin-left:0; }
.page-heading { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.eyebrow { margin: 0 0 6px; color: var(--blue-2); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
h2 { margin-bottom: 0; font-size: 19px; }
h3 { margin-bottom: 12px; text-transform: capitalize; font-size: 15px; }
.muted { color: var(--muted); max-width: 760px; }
.compact { margin: 4px 0 0; font-size: 13px; }
.heading-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { min-height: 48px; border-radius: 13px; padding: 0 18px; border: 1px solid transparent; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--blue); color: white; }
.button-secondary { background: white; color: var(--blue); border-color: #bfd0dc; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.card { background: var(--card); border: 1px solid rgba(23,59,89,.08); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.id-line { color: var(--muted); font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-left: 5px; border-radius: 999px; background: #2f72d6; vertical-align: 1px; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; }
.day-card { min-height: 158px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #f9fbfc; }
.shift-card { display: grid; gap: 3px; margin-top: 8px; padding: 10px; border-left: 4px solid var(--blue-2); border-radius: 10px; background: white; box-shadow: 0 3px 10px rgba(31,41,51,.05); }
.shift-card span { color: var(--muted); font-size: 12px; }
.absence-chip { margin-bottom: 8px; padding: 7px 9px; border-radius: 9px; background: #f4e7ad; font-size: 12px; font-weight: 750; }
.empty-slot { color: #8a969f; font-size: 13px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.diagnostic-list { display: grid; grid-template-columns: 1fr auto; gap: 9px 18px; margin: 0; }
.diagnostic-list dt { color: var(--muted); }
.diagnostic-list dd { margin: 0; font-weight: 800; }
.process-list { display: grid; gap: 8px; }
.process-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; text-align: left; }
.process-row span:first-child { display: grid; gap: 3px; }
.process-row small { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.process-state { color: var(--blue-2); font-size: 12px; font-weight: 850; }
.mobile-nav { display: none; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 40; max-width: min(360px, calc(100vw - 32px)); padding: 13px 16px; border-radius: 13px; background: #1f2933; color: white; box-shadow: var(--shadow); font-weight: 700; }

@media (max-width: 980px) {
  .sidebar { top:62px; width:min(340px,88vw); transform:translateX(-100%); box-shadow:18px 0 40px rgba(10,25,36,.25); }
  .app-shell.menu-open .sidebar { transform:translateX(0); }
  .app-shell.menu-collapsed .sidebar { transform:translateX(-100%); }
  .sidebar-close { display:inline-grid;place-items:center; }
  .main { margin-left: 0; padding: 88px 16px 92px; }
  .page-heading { align-items: stretch; flex-direction: column; }
  .heading-actions .button { flex: 1; }
  .week-grid { grid-template-columns: 1fr; }
  .day-card { min-height: 0; display: grid; grid-template-columns: 86px 1fr; gap: 8px 10px; align-items: start; }
  .day-card h3 { grid-row: 1 / span 5; margin: 3px 0 0; }
  .shift-card, .absence-chip, .empty-slot { grid-column: 2; margin: 0; }
  .two-column { grid-template-columns: 1fr; }
  .toast { right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .topbar { height: 62px; padding: 0 14px; }
  .brand span:last-child { display: none; }
  .main { padding-top: 80px; }
  .card { padding: 15px; border-radius: 15px; }
  .card-header { align-items: flex-start; }
  .id-line { max-width: 47%; overflow-wrap: anywhere; text-align: right; }
  .heading-actions { position: sticky; top: 70px; z-index: 10; padding: 8px; margin: -4px -8px 0; border-radius: 14px; background: rgba(238,242,245,.94); backdrop-filter: blur(9px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.login-view { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, #173b59, #235779 58%, #34414c); }
.login-view[hidden], .app-shell[hidden] { display: none !important; }
.login-card { width: min(460px, 100%); padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; color: var(--blue); }
.login-brand div { display: grid; gap: 2px; }
.login-brand strong { font-size: 17px; }
.login-brand span:last-child { color: var(--muted); font-size: 12px; font-weight: 750; }
.brand-mark.large { width: 50px; height: 50px; border-radius: 14px; background: var(--blue); color: #fff; }
.login-form { display: grid; gap: 14px; margin-top: 22px; }
.login-form label { display: grid; gap: 7px; color: var(--anthracite); font-size: 13px; font-weight: 800; }
.login-form input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #bdcad3; border-radius: 12px; background: #fbfcfd; color: #1f2933; font: inherit; }
.login-form input:focus { outline: 3px solid rgba(35,87,121,.16); border-color: var(--blue-2); }
.login-status { margin: 16px 0 0; min-height: 21px; color: var(--muted); font-size: 13px; font-weight: 700; }
.actor-pill { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 800; }
.logout-button { font-size: 18px; cursor: pointer; }
.three-column { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.data-chip { padding: 8px 10px; border-radius: 999px; background: #edf3f7; color: var(--blue); font-size: 12px; font-weight: 800; }
.acceptance-card, .next-card { margin-top: 18px; }
.status-text, .live-badge { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.live-badge { background: #e6f4ec; color: var(--green); }
.status-text { background: #eef3f6; color: var(--blue-2); }
.acceptance-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.acceptance-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); }
.acceptance-list li span { color: var(--muted); font-size: 12px; font-weight: 750; text-align: right; }
.acceptance-ok strong::before { content: '✓ '; color: var(--green); }
.acceptance-fail strong::before { content: '× '; color: var(--red); }

@media (max-width: 1100px) {
  .three-column { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .login-view { padding: 14px; }
  .login-card { padding: 22px 18px; border-radius: 18px; }
  .actor-pill { max-width: 115px; }
  .acceptance-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .acceptance-list li span { text-align: left; }
}
.staging-note { display:inline-flex; margin-bottom:12px; padding:5px 9px; border-radius:999px; background:#edf3f7; color:var(--blue-2); font-size:11px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.scope-badge { padding:8px 12px; border-radius:999px; background:#e7eef3; color:var(--blue); font-size:12px; font-weight:850; white-space:nowrap; }
.system-nav { margin-top:18px; border-top:1px solid rgba(255,255,255,.12); border-radius:0; padding-top:22px; color:#9fb0bc; }
.dashboard-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.metric-card { display:flex; gap:14px; min-height:122px; padding:18px; border-radius:18px; background:#fff; border:1px solid rgba(23,59,89,.08); box-shadow:var(--shadow); }
.metric-icon { flex:0 0 44px; width:44px; height:44px; display:grid; place-items:center; border-radius:13px; background:#edf3f7; color:var(--blue); font-size:12px; font-weight:900; }
.metric-card > div:last-child { display:grid; align-content:start; gap:5px; min-width:0; }
.metric-label { color:var(--muted); font-size:12px; font-weight:800; }
.metric-card strong { color:var(--anthracite); font-size:16px; line-height:1.25; }
.metric-card small { color:var(--muted); }
.dashboard-columns { display:grid; grid-template-columns:1.35fr 1fr; gap:18px; margin-top:18px; }
.module-card-section { margin-top:18px; }
.module-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.module-card-button { min-height:112px; display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--line); border-radius:15px; background:#f9fbfc; color:var(--anthracite); text-align:left; cursor:pointer; }
.module-card-button:hover { border-color:#a9bdca; background:#fff; }
.module-card-button .module-mark { width:44px; height:44px; display:grid; place-items:center; flex:0 0 44px; border-radius:13px; background:var(--blue); color:#fff; font-size:12px; font-weight:900; }
.module-card-button strong { display:block; margin-bottom:4px; }
.module-card-button small { color:var(--muted); line-height:1.35; }
.empty-state { min-height:92px; display:grid; place-items:center; padding:20px; border:1px dashed #c9d4dc; border-radius:13px; color:var(--muted); text-align:center; font-size:13px; }
@media (max-width:1200px) { .dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .dashboard-grid,.dashboard-columns,.module-grid { grid-template-columns:1fr; } .scope-badge{align-self:flex-start;} }

/* WF2 full STAGING acceptance UI */
.brand-button,.metric-button,.text-button{font:inherit}.brand-button{border:0;background:transparent;color:inherit;cursor:pointer}.sync-pill{padding:6px 9px;border-radius:999px;background:#e6f4ec;color:var(--green);font-size:11px;font-weight:850}.sync-pill.is-pending{background:#e8f0fb;color:#2f72d6}.sync-pill.is-error{background:#fde9e7;color:var(--red)}
.nav-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:auto;border-radius:999px;background:#f6e6e3;color:#9c3127;font-size:11px}.text-button{padding:0;border:0;background:transparent;color:var(--blue-2);font-weight:800;cursor:pointer}.app-view[hidden]{display:none!important}.metric-button{width:100%;text-align:left;cursor:pointer}.metric-button:hover{transform:translateY(-1px);border-color:#b8c9d5}.button-small{min-height:38px;padding:0 12px;font-size:12px}
.module-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.7fr);gap:18px}.module-stack,.stack-list{display:grid;gap:12px}.action-card{background:#fff;border:1px solid rgba(23,59,89,.09);border-radius:18px;box-shadow:var(--shadow);padding:20px}.action-card h2,.action-card h3{margin:0}.action-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-field{display:grid;gap:6px}.form-field.full{grid-column:1/-1}.form-field label,.field-label{font-size:12px;font-weight:850;color:var(--anthracite)}.form-field input,.form-field select,.form-field textarea,.inline-input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #bdcad3;border-radius:11px;background:#fbfcfd;color:var(--anthracite);font:inherit}.form-field textarea{min-height:96px;resize:vertical}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.record-list{display:grid;gap:9px}.record-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}.record-main{display:grid;gap:4px;min-width:0}.record-main strong{overflow-wrap:anywhere}.record-meta{color:var(--muted);font-size:12px}.record-actions{display:flex;gap:7px;flex-wrap:wrap}.mini-button{min-height:34px;padding:0 10px;border:1px solid #bed0db;border-radius:9px;background:#fff;color:var(--blue);font-weight:800;cursor:pointer}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#eef3f6;color:var(--blue-2);font-size:11px;font-weight:850;white-space:nowrap}.status-badge::before{content:'';width:7px;height:7px;border-radius:999px;background:#8395a2}.status-badge.pending{background:#e8f0fb;color:#285f9e}.status-badge.pending::before{background:#2f72d6}.status-badge.done{background:#e6f4ec;color:#257348}.status-badge.done::before{background:#2f9e63}.status-badge.error{background:#fde9e7;color:#a53a30}.status-badge.error::before{background:#d65045}.status-badge.approval{background:#fff3d9;color:#8c6111}.status-badge.approval::before{background:#e0a31d}
.time-clock{display:grid;place-items:center;min-height:150px;padding:20px;border-radius:18px;background:linear-gradient(145deg,#173b59,#235779);color:#fff;text-align:center}.time-clock strong{font-size:34px;letter-spacing:.03em}.time-clock span{opacity:.84}.time-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.time-actions .button{width:100%}.week-editor{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;overflow:auto;padding-bottom:4px}.week-editor-day{min-width:150px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8fafb}.week-editor-day h3{margin:0 0 10px;font-size:14px}.shift-slot{display:grid;gap:6px;margin-top:8px;padding:9px;border-radius:10px;background:#fff;border:1px solid #dce4e9}.shift-slot input{min-height:38px;padding:7px 8px;border:1px solid #c7d2da;border-radius:8px;width:100%}.draft-indicator{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:750}.draft-indicator::before{content:'';width:8px;height:8px;border-radius:50%;background:#8395a2}.draft-indicator.changed::before{background:#2f72d6}.draft-indicator.saved::before{background:#2f9e63}
.approval-card{padding:14px;border:1px solid var(--line);border-radius:13px;background:#fbfcfd}.approval-card h3{margin:0 0 5px}.approval-actions{display:flex;gap:8px;margin-top:11px;flex-wrap:wrap}.danger-button{background:#fff;color:#a53a30;border-color:#efc4bf}.document-toolbar{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.document-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab-button{min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-weight:800;cursor:pointer}.tab-button.is-active{background:var(--blue);color:#fff;border-color:var(--blue)}.upload-box{margin-bottom:18px;padding:15px;border:1px dashed #b7c7d1;border-radius:14px;background:#f9fbfc}.document-row{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.document-row:last-child{border-bottom:0}.document-row a{color:var(--blue-2);font-weight:800;text-decoration:none}.document-meta{color:var(--muted);font-size:12px}
.pending-overlay{outline:2px solid rgba(47,114,214,.22);background:#f7faff!important}.confirmed-flash{animation:wf-confirm 1.2s ease-out}@keyframes wf-confirm{0%{box-shadow:0 0 0 4px rgba(47,158,99,.22)}100%{box-shadow:none}}
.process-row > button[data-process]{border:0;background:transparent;cursor:pointer;text-align:left;width:100%}.process-detail{margin-top:8px;padding:10px;border-radius:10px;background:#f4f7f9;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow:auto}.system-note{padding:12px;border-radius:12px;background:#eef3f6;color:var(--muted);font-size:12px}.error-box{padding:12px;border-radius:12px;background:#fde9e7;color:#8c2e27;font-weight:700}.success-box{padding:12px;border-radius:12px;background:#e6f4ec;color:#257348;font-weight:700}
@media(max-width:1100px){.module-layout{grid-template-columns:1fr}.week-editor{grid-template-columns:repeat(7,minmax(140px,1fr))}}
@media(max-width:760px){.form-grid,.form-grid.three{grid-template-columns:1fr}.document-toolbar{grid-template-columns:1fr}.time-actions{grid-template-columns:1fr}.module-layout{gap:12px}.action-card{padding:15px}.week-editor{display:grid;grid-template-columns:1fr;overflow:visible}.week-editor-day{min-width:0}.record-row{flex-direction:column}.record-actions{width:100%}.record-actions .mini-button{flex:1}.topbar .sync-pill{display:none}}

/* Permission-aware operational dashboard */
.nav-section-label{margin:18px 12px 7px;color:#92a5b2;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.dashboard-metric{position:relative;overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.dashboard-metric::after{content:'›';position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#9eafba;font-size:26px;font-weight:400}
.dashboard-metric>div:last-child{padding-right:20px}
.dashboard-metric strong{font-size:25px;letter-spacing:-.02em}
.dashboard-loading{opacity:.7}.dashboard-empty{grid-column:1/-1;display:grid;gap:5px;min-height:110px;align-content:center}.dashboard-empty span{color:var(--muted);font-size:13px}
.dashboard-list{display:grid;gap:8px}.dashboard-list-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--anthracite);text-align:left;cursor:pointer}.dashboard-list-row:last-child{border-bottom:0}.dashboard-list-row>span:first-child{display:grid;gap:3px}.dashboard-list-row strong{font-size:13px}.dashboard-list-row small{color:var(--muted);font-size:12px}.dashboard-row-arrow{color:#9fb0bc;font-size:24px;line-height:1}.dashboard-list-row.warning strong{color:#8c6111}.dashboard-list-row.action strong{color:var(--blue)}
.app-launch-section{border-style:solid;background:linear-gradient(180deg,#ffffff,#f8fafb)}.app-launch-section .module-card-button{background:#fff}.app-launch-section .module-mark{background:var(--anthracite)}
@media(max-width:760px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-card{min-height:112px;padding:14px;gap:10px}.metric-icon{width:38px;height:38px;flex-basis:38px}.dashboard-metric strong{font-size:20px}.dashboard-metric::after{display:none}.dashboard-metric>div:last-child{padding-right:0}}
@media(max-width:430px){.dashboard-grid{grid-template-columns:1fr}.metric-card{min-height:98px}}
.schedule-person{display:grid;gap:7px;padding:9px 0;border-top:1px solid var(--line)}
.schedule-person:first-of-type{border-top:0}.schedule-person>strong{font-size:12px;color:var(--anthracite)}
.shift-slot select{min-height:38px;padding:7px 8px;border:1px solid #c7d2da;border-radius:8px;width:100%;background:#fff;color:var(--anthracite)}

/* Fachmodule W40/W50/W60 + Dokumentcenter */
.message-thread{display:grid;gap:10px;margin:0 0 18px}.message-bubble{max-width:min(720px,86%);padding:12px 14px;border-radius:14px 14px 14px 4px;background:#f1f5f7;border:1px solid var(--line)}.message-bubble.mine{justify-self:end;border-radius:14px 14px 4px 14px;background:#e8f0fb;border-color:#c8d9ed}.message-bubble strong{display:block;margin-bottom:4px;font-size:12px}.message-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.button:disabled,.mini-button:disabled{opacity:.52;cursor:not-allowed}.document-list{display:grid}.document-row strong{display:block;margin-bottom:4px}.process-row{padding:10px 0;border-bottom:1px solid var(--line)}.process-row:last-child{border-bottom:0}.process-row > button[data-process]{display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:start}.process-row button strong,.process-row button small{grid-column:1}.process-row .process-state{grid-column:2;grid-row:1/span 2}.form-field select{appearance:auto}
.message-bubble.message-pending{opacity:.78}.message-bubble.message-confirmed{border-color:#9bc7a7}.message-bubble.message-failed{border-color:#d98b80;background:#fff1ef}.archive-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 16px;padding:13px 16px;border:1px solid #d6bb72;border-radius:12px;background:#fff8e5;color:#4d3a08}.archive-banner span{font-size:13px}
@media(max-width:760px){.message-bubble{max-width:94%}.document-row{grid-template-columns:1fr}.document-row .mini-button{justify-self:start}.process-row > button[data-process]{grid-template-columns:1fr}.process-row .process-state{grid-column:1;grid-row:auto}.header-actions{width:100%;justify-content:flex-start}}
.metric-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-strip>div{display:grid;gap:4px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.metric-strip span{font-size:12px;font-weight:800;color:var(--muted)}.metric-strip strong{font-size:24px;color:var(--anthracite)}
@media(max-width:760px){.metric-strip{grid-template-columns:1fr}}

/* W10/W20/W70 product surfaces */
.employee-list{display:grid;gap:9px}.employee-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fbfcfd}.employee-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--blue),var(--blue-2));color:#fff;font-size:17px;font-weight:900}.check-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#f8fafb;font-weight:750}.check-row input{width:18px;height:18px;accent-color:var(--blue)}.check-row.full{grid-column:1/-1}.check-row.compact-check{padding:8px 10px;font-size:12px}
.inline-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.inline-editor .form-actions{grid-column:1/-1;margin-top:2px}.pause-review-card{display:grid;gap:10px;padding:14px;border:1px solid #ead5a4;border-radius:14px;background:#fffaf0}.pause-review-card .pause-review-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pause-review-card .pause-review-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pause-review-card .pause-review-facts>div{padding:9px;border-radius:10px;background:#fff;border:1px solid #eadfca}.pause-review-card .pause-review-facts span{display:block;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.pause-review-card .pause-review-facts strong{display:block;margin-top:3px}
.mobile-week{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:10px;overflow:auto;padding-bottom:4px}.mobile-day-card{min-width:145px;padding:12px;border:1px solid var(--line);border-radius:15px;background:#f8fafb}.mobile-day-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:9px}.mobile-day-head>div{display:grid;gap:2px}.mobile-day-head strong{font-size:13px}.mobile-day-head span{min-height:14px;color:var(--blue);font-size:10px;font-weight:850}.mobile-shift-list{display:grid;gap:8px}.mobile-shift{display:grid;gap:8px;padding:10px;border-radius:11px;background:#fff;border:1px solid #dce4e9}.mobile-shift.is-work{border-left:4px solid var(--blue)}.mobile-shift>div:first-child{display:grid;gap:3px}.shift-number{color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase}.mobile-shift strong{font-size:13px}.swap-inline{display:grid;gap:6px}.swap-inline select{width:100%;min-height:36px;padding:6px 8px;border:1px solid #c7d2da;border-radius:8px;background:#fff;color:var(--anthracite)}
.availability-grid{display:grid;gap:8px}.availability-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(110px,.8fr) minmax(90px,.7fr) minmax(90px,.7fr);gap:8px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}.availability-row input[type="time"]{width:100%;min-height:38px;padding:7px 8px;border:1px solid #c7d2da;border-radius:8px;background:#fff;color:var(--anthracite)}.availability-day{display:grid}.availability-day strong{font-size:12px}
.week-day-title,.schedule-person-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.week-day-title h3{margin:0}.schedule-warning{display:inline-flex;align-items:center;max-width:180px;padding:4px 6px;border-radius:7px;background:#fff3d9;color:#7b5815;font-size:9px;font-weight:850;line-height:1.25}.schedule-warning.neutral{background:#edf3f7;color:#4d6575}.schedule-event-strip{display:flex;gap:7px;flex-wrap:wrap;margin:-4px 0 14px}.schedule-event-chip{display:inline-flex;padding:7px 9px;border-radius:999px;background:#edf3f7;color:var(--blue-2);font-size:11px;font-weight:800}.schedule-overview-card{overflow:hidden}
@media(max-width:900px){.inline-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-week{grid-template-columns:repeat(7,minmax(150px,1fr))}}
@media(max-width:760px){.employee-card{grid-template-columns:38px minmax(0,1fr)}.employee-card>.status-badge{grid-column:2;justify-self:start}.employee-avatar{width:38px;height:38px}.inline-editor{grid-template-columns:1fr 1fr}.pause-review-card .pause-review-facts{grid-template-columns:1fr}.mobile-week{grid-template-columns:1fr;overflow:visible}.mobile-day-card{min-width:0}.availability-row{grid-template-columns:1fr 1fr}.availability-day{grid-column:1/-1}.week-day-title,.schedule-person-head{align-items:flex-start}.schedule-warning{max-width:145px}}
@media(max-width:430px){.inline-editor{grid-template-columns:1fr}.availability-row{grid-template-columns:1fr}.availability-day{grid-column:auto}}
.employee-card-actions{display:flex;align-items:center;gap:8px;justify-self:end;flex-wrap:wrap}.editor-highlight{border-color:#b8cad6;box-shadow:0 14px 34px rgba(23,59,89,.12)}
@media(max-width:760px){.employee-card-actions{grid-column:2;justify-self:start}.employee-card-actions .mini-button{min-height:32px}}
.template-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}.shift-slot{grid-template-columns:minmax(96px,1.1fr) 88px 88px 74px minmax(100px,1fr)}.shift-slot>select:first-child{font-size:11px}
@media(max-width:980px){.template-layout{grid-template-columns:1fr}.shift-slot{grid-template-columns:1fr 1fr}.shift-slot>select:first-child{grid-column:1/-1}}

/* W30 PIN-confirmation dialog */
.wf-modal-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:rgba(10,21,34,.62);backdrop-filter:blur(4px)}
.wf-modal{width:min(480px,100%);background:#fff;border-radius:22px;padding:24px;box-shadow:0 24px 70px rgba(9,25,43,.28);border:1px solid rgba(23,50,77,.12)}
.wf-modal-head{margin-bottom:18px}.wf-modal h2{margin:2px 0 7px;color:#17324d}.record-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}

/* W50 · ungelesene Unterhaltungen */
.record-row.is-unread{background:#f2f7fc;border-color:#b9d0e3}.unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:5px;border-radius:999px;background:var(--blue);color:#fff;font-size:11px;font-weight:900;vertical-align:middle}
.evidence-upload-label{cursor:pointer;display:inline-flex;align-items:center;justify-content:center}

.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.process-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.process-actions .mini-button{width:auto}.process-detail-status{display:grid;gap:8px}
.document-share{grid-column:1/-1;min-width:0}.document-share summary{cursor:pointer;color:var(--blue);font-weight:700;padding:8px 0}.document-share form{margin-top:10px}.document-row>div{min-width:0;overflow-wrap:anywhere}

/* Hidden controls must stay hidden even when a component defines display:grid/flex. */
[hidden]{display:none!important}
#app-shell:not([data-ui-context=ESS]) #ki-dashboard-card{display:none!important}

/* Personal connection highlight: product UI, no third-party logo imitation. */
.ki-highlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,240px);gap:20px;align-items:center;margin:0 0 18px;padding:20px 22px;border-radius:18px;background:linear-gradient(115deg,#20323f 0%,#173b59 70%,#235575 100%);color:#fff;box-shadow:0 10px 26px rgba(23,59,89,.13);border:1px solid #355a73}
.ki-highlight-copy{min-width:0}.ki-highlight-badge{display:inline-flex;padding:4px 8px;border-radius:6px;background:#ffffff16;color:#c5e5fb;font-size:9px;font-weight:800;letter-spacing:1px}.ki-highlight h2{margin:9px 0 6px;font-size:clamp(20px,2vw,25px);line-height:1.15;color:#fff;letter-spacing:-.45px}.ki-highlight p{margin:0;max-width:600px;color:#d8e5ef;font-size:13px;line-height:1.45}.ki-highlight-details{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;color:#afc9db;font-size:10px}.ki-highlight-details span+span:before{content:'\00b7';margin-right:10px;color:#74add0}.ki-highlight-action{display:grid;gap:7px;text-align:center}.ki-highlight-action .button{min-height:42px;width:100%;border:1px solid #fff;background:#fff;color:#173b59;box-shadow:0 4px 11px #00000012;font-weight:800}.ki-highlight-action .button:hover{background:#e8f3fa}.ki-highlight-action .button:focus-visible{outline:3px solid #8bcaf2;outline-offset:4px}.ki-highlight-action small{color:#b8cfdf;line-height:1.35;font-size:10px}.ki-highlight.is-unavailable{background:#edf2f6;border-color:#d7e1e8;box-shadow:none}.ki-highlight.is-unavailable h2{color:#233c4f}.ki-highlight.is-unavailable p,.ki-highlight.is-unavailable small,.ki-highlight.is-unavailable .ki-highlight-details{color:#526b7d}.ki-highlight.is-unavailable .ki-highlight-badge{background:#dfe9f0;color:#355e7a}.ki-highlight.is-connected{border-color:#639ca4}
.ki-admin-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.ki-admin-heading h2{margin-top:0}.ki-policy-form input[type=checkbox]{accent-color:#16834b}.ki-policy-form .check-row:has(input:checked){border-color:#7bc89d;background:#eef9f2}
.company-logo-editor{overflow:hidden}.logo-editor-stage{display:grid;place-items:center;padding:16px;border:1px solid #cfdae2;border-radius:14px;background:linear-gradient(45deg,#eef3f6 25%,transparent 25%),linear-gradient(-45deg,#eef3f6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef3f6 75%),linear-gradient(-45deg,transparent 75%,#eef3f6 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.logo-editor-stage canvas{display:block;width:min(100%,640px);height:auto;aspect-ratio:8/3;border-radius:10px;box-shadow:0 5px 18px #1634491f;background:#fff}.logo-editor-controls{margin-top:16px}.logo-editor-controls input[type=range]{width:100%;accent-color:var(--blue)}
@media(max-width:760px){.ki-highlight{grid-template-columns:1fr;padding:17px;gap:14px;border-radius:16px}.ki-highlight-action{text-align:left}.ki-highlight-details{gap:7px;margin-top:9px}.ki-highlight-details span+span:before{margin-right:7px}.ki-highlight h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.ki-highlight *{transition:none!important}}

.ki-link-review{margin-top:28px;padding:24px;border-radius:18px;background:#edf3f7;border:1px solid #d2e0e9}.ki-link-review h3{margin-top:0}.ki-link-review .button{min-height:48px;white-space:normal}
.pwa-install-area{margin:18px 0}.pwa-install-area .button{min-height:44px}.pwa-dashboard-install{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px 22px;border:1px solid #d7e1e8;border-radius:16px;background:#fff}.pwa-dashboard-install p{margin:5px 0 0}.pwa-dialog{width:min(460px,calc(100% - 32px));box-sizing:border-box;padding:28px;border:0;border-radius:20px;color:#20323f;box-shadow:0 20px 70px #0004}.pwa-dialog::backdrop{background:#172b3a88}.pwa-dialog p{line-height:1.7}.pwa-update{position:fixed;bottom:calc(84px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(680px,calc(100% - 32px));box-sizing:border-box;z-index:1000;display:flex;gap:16px;align-items:center;padding:18px 22px;border:1px solid #c9d9e4;border-radius:16px;background:#fff;box-shadow:0 8px 35px #172b3a33}.pwa-update p{font-size:13px;margin:5px 0 0}.pwa-update .button{flex-shrink:0}@media(max-width:600px){.pwa-dashboard-install,.pwa-update{flex-direction:column;align-items:stretch}.pwa-dialog{padding:22px}}

/* Compact weekly overview; editing is isolated to one accessible dialog. */
.main,.module-stack,.action-card,#module-content{min-width:0;max-width:100%}
#w70-week-editor{display:block;min-width:0;overflow:visible}
.schedule-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px}
.schedule-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}
.schedule-table th,.schedule-table td{padding:5px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);vertical-align:middle}
.schedule-table thead th{padding:10px 5px;color:var(--blue);background:#edf3f7;text-align:center}
.schedule-table th:first-child{width:150px;position:sticky;left:0;z-index:1;background:#f6f8fa;text-align:left;padding-left:10px;overflow-wrap:anywhere}
.schedule-table tr:last-child>*{border-bottom:0}.schedule-table tr>*:last-child{border-right:0}
.schedule-table .is-today{background:#dcebf5}
.schedule-cell{width:100%;min-height:44px;border:0;border-radius:7px;padding:6px 3px;background:#f7fafc;color:var(--blue);font-size:12px;font-weight:750;cursor:pointer;overflow-wrap:anywhere}
.schedule-cell:hover,.schedule-cell:focus-visible{background:#e3eef6;outline:2px solid #5386a9;outline-offset:-2px}
.schedule-cell.has-warning{background:#fff6e5}.schedule-cell small{display:block;font-size:10px;color:#805c1d;font-weight:500;margin-top:3px}
.schedule-table-hint{font-size:12px;color:var(--muted);margin:9px 0 0}
.schedule-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:16px;padding:20px;color:var(--anthracite);box-shadow:var(--shadow)}
.schedule-dialog::backdrop{background:rgba(20,36,49,.48)}.schedule-dialog .action-card-header{align-items:center}.schedule-dialog h3{font-size:16px}
.schedule-slot-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:12px;min-width:0}
.schedule-slot-fields legend{font-size:12px;font-weight:800;padding:0 4px}.schedule-slot-fields label{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:700}.schedule-slot-fields .slot-wide{grid-column:1/-1}
.schedule-slot-fields input,.schedule-slot-fields select{width:100%;min-width:0;min-height:40px;padding:6px;border:1px solid #c7d2da;border-radius:7px;background:white;color:var(--anthracite);font:inherit}
@media(max-width:760px){.schedule-table{min-width:740px}.schedule-table th:first-child{width:116px}.schedule-dialog{padding:14px}.schedule-slot-fields{padding:9px;gap:8px}}
/* Process details stay below the summary, within the available screen width. */
#system-view .two-column{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start}
#system-view .card,#process-list{min-width:0}
.process-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;padding:12px;gap:8px}
.process-row > button[data-process]{min-width:0;min-height:48px}
.process-row small{overflow-wrap:anywhere}
.process-detail{min-width:0;width:100%;max-height:480px;white-space:normal;overflow:auto}
.process-detail[hidden]{display:none}
.process-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
.process-detail-status{font-family:inherit;overflow-wrap:anywhere}
@media(max-width:760px){#system-view .two-column{grid-template-columns:minmax(0,1fr)}.process-detail{max-height:60vh}}

/* ESS/MSS/SSS ordnen nur die Oberfläche. Rechte und Scope bleiben serverseitig. */
.nav-context-group{border-top:1px solid rgba(255,255,255,.09)}
.nav-context-group:last-child{border-bottom:1px solid rgba(255,255,255,.09)}
.nav-context-group>summary{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:8px;min-height:60px;padding:10px 8px;color:#fff;cursor:pointer;list-style:none;border-radius:10px}
.nav-context-group>summary:hover{background:rgba(255,255,255,.06)}
.nav-context-group>summary::-webkit-details-marker{display:none}
.nav-context-group>summary span:nth-child(2){display:grid;gap:1px}.nav-context-group>summary strong{font-size:14px}.nav-context-group>summary small{color:#aebec9;font-size:10px;font-weight:700;line-height:1.3}
.nav-context-mark,.nav-entry-mark{display:inline-grid;place-items:center}.nav-context-arrow{transition:transform .18s ease}.nav-context-group[open] .nav-context-arrow{transform:rotate(180deg)}
.nav-context-items{display:grid;gap:3px;padding:0 0 10px 22px}.nav-context-items .nav-item{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:start;gap:7px;width:100%;padding:10px 8px;font-size:13px}.nav-context-items .nav-item>span:last-child{display:grid;gap:2px}.nav-context-items .nav-item strong{font-size:13px}.nav-context-items .nav-item small{color:#aebec9;font-size:10px;line-height:1.35;font-weight:600}.nav-context-items .nav-item.is-active small{color:#526979}
.nav-context-items .nav-item:hover{background:rgba(255,255,255,.08)}
.context-preferences{font-size:12px;color:#dce4e9}.context-preferences summary{cursor:pointer;padding:12px 8px;font-weight:750}.context-preferences p{color:#aebec9;line-height:1.35}.context-preferences[open]{margin-top:12px;padding:6px 8px 10px;background:rgba(255,255,255,.06);border-radius:10px}
#context-order{display:grid;gap:7px}#context-order label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:5px}#context-order select{width:100%;min-width:0;padding:7px;border:1px solid #657682;border-radius:8px;min-height:40px;background:#fff;color:#173b59}
.ui-employee-picker{margin-bottom:16px}.ui-employee-picker select{padding:11px;border-radius:10px;max-width:100%;min-width:min(280px,100%)}
[hidden]{display:none!important}
#app-shell[data-ui-context=ESS] #ki-dashboard-card.is-unavailable{display:block}
#app-shell[data-ui-context=ESS] article:has(>#w30-personaldata-form),#app-shell[data-ui-context=ESS] article:has(>#w30-workmodel-form),#app-shell[data-ui-context=ESS] article:has(>#w30-asset-form),#app-shell[data-ui-context=ESS] article:has(>#w50-group-form),#app-shell[data-ui-context=ESS] article:has(>#w60-form){display:none}
#app-shell[data-ui-context=MSS] article:has(>#w20-actions),#app-shell[data-ui-context=MSS] article:has(>#w20-manual-form),#app-shell[data-ui-context=MSS] article:has(>#w20-history),#app-shell[data-ui-context=MSS] article:has(>#w40-form),#app-shell[data-ui-context=MSS] article:has(>#w30-change-form){display:none}
@media(max-width:980px){.menu-scrim:not([hidden]){display:block}.main{padding-bottom:28px}}
.schedule-mobile{display:none}
@media(max-width:760px){
  .week-editor>.schedule-table-scroll{display:none}
  .schedule-mobile{display:block}
  .schedule-day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-bottom:16px}
  .schedule-day-tabs button{display:grid;gap:4px;min-height:58px;border:0;border-radius:12px;background:#edf2f6;color:var(--blue);padding:6px 0;font-size:12px}
  .schedule-day-tabs button[aria-pressed=true]{background:var(--blue);color:white}
  .schedule-day-tabs strong{font-size:18px}
  .mobile-person-shift{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;min-height:62px;text-align:left;margin:7px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:white}
  .mobile-person-shift small{grid-column:1/-1}
  .mobile-person-shift strong{overflow-wrap:anywhere}
  [data-mobile-day-panel][hidden]{display:none}
  .schedule-slot-fields input:disabled{opacity:1;background:#eaf0f4;color:#435566}
}
.report-picker{margin:0;border:1px solid #cfdae3;border-radius:14px;padding:12px;background:#f8fbfd}.report-picker legend{padding:0 7px;font-weight:800;color:#193c59}.report-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.report-choice-grid label{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 10px;border:1px solid #d5e0e8;border-radius:10px;background:#fff;cursor:pointer}.report-choice-grid label:has(input:checked){border-color:#0f6b9c;background:#eaf5fb}.report-choice-grid input{width:18px;height:18px}.report-choice-grid small{display:block;color:#61788a}.report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.report-preview-card{margin-top:14px;padding:16px;border:1px solid #d5e0e8;border-radius:14px;background:#fff}.report-preview-card h3{margin:0 0 6px}.report-totals{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.report-totals strong{padding:7px 10px;border-radius:999px;background:#eaf5fb;color:#174a6a}.report-preview-lines{max-height:360px;overflow:auto;border-top:1px solid #e2e9ee}.report-preview-lines>div{padding:8px 2px;border-bottom:1px solid #edf1f4;font-size:12px}
@media(max-width:760px){.report-choice-grid{grid-template-columns:1fr}.report-actions{display:grid}.report-actions .button{width:100%}}
@media(max-width:760px){
  .week-editor{width:100%}
  .action-card:has(.week-editor)>.action-card-header{display:block}
  .action-card:has(.week-editor)>.action-card-header h2{font-size:18px}
  .action-card:has(.week-editor)>.action-card-header .muted{display:none}
  .action-card:has(.week-editor) .week-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}
  .action-card:has(.week-editor) .week-nav button{padding:6px;min-height:44px}
  .action-card:has(.week-editor) .draft-indicator{display:block;margin-top:8px;font-size:11px}
}
