/* gravuru Arbeitsplatz: ruhige Flächen, klare Hierarchie, bedienbar bis 360 px. */
:root { --bg:#f5f6f4; --ink:#23332d; --muted:#6c7770; --line:#e4e9e4; --accent:#2e6853; --accent-soft:#e5f0e8; --side:#23382f; }
body { font-size:14px; -webkit-font-smoothing:antialiased; }
body.app { grid-template-columns:224px minmax(0,1fr); }
a,button,input,select,textarea { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible { outline:3px solid #7da990; outline-offset:4px; }
.skip-link { position:fixed; left:240px; top:-100px; z-index:99; background:white; padding:12px; }.skip-link:focus { top:12px; }
.side { padding:29px 14px 18px; background:var(--side); }
.brand-row { display:flex; align-items:center; justify-content:space-between; padding:0 12px 26px; }
.brand { padding:0; font-size:26px; letter-spacing:-1px; font-weight:750; }.brand .brand-dot { color:#a1d2af; font-weight:800; }.brand small { font-size:12px; font-weight:500; letter-spacing:1.4px; color:#b7c9bd; display:block; margin-top:-4px; }
.nav-caption { text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:1.6px; color:#9eb1a5; padding:18px 13px 8px; }
.side nav { gap:4px; }.side nav a { border-radius:8px; padding:10px 13px; font-size:14px; color:#d2ded6; }.side nav a.on { background:#e2eddf; color:#264b39; font-weight:650; }.side nav a:hover:not(.on) { background:#ffffff10; }
.who { align-items:center; padding:18px 2px 0; margin-top:16px; gap:9px; }.who .user-name { flex:1; font-size:14px; }.who small { color:#a8b8ad; font-size:12px; }.who .link { font-size:12px; }.user-avatar { width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:#567461; color:#fff; font-weight:650; }.nav-toggle { display:none; }
.topbar { min-height:69px; background:#ffffffd9; padding:13px 36px; backdrop-filter:blur(12px); }
.gsearch { max-width:550px; }.gsearch input { border:0; background:#f3f5f2; font-size:14px; padding:11px 15px; border-radius:8px; }
.page { max-width:1500px; padding:31px 36px 55px; }.btn { font-size:14px; padding:10px 15px; border-radius:8px; }.btn.ghost { border-color:#d4ddd6; color:#43574a; background:#fff; }
.card { border-radius:12px; }.page h1 { letter-spacing:-.65px; }.check-btn { color:#79917f; }
.dash-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:26px; }.eyebrow { color:#78877a; font-size:11px; letter-spacing:1.7px; font-weight:700; margin-bottom:7px; }.dash-heading h1 { font-size:30px; line-height:1.3; margin:0 0 7px; font-weight:650; letter-spacing:-1.15px; }.greeting-dot { color:#74a380; }.dash-heading p { margin:0; font-size:14px; color:var(--muted); }.heading-meta { display:flex; flex-direction:column; align-items:flex-end; gap:10px; }.heading-meta time { font-size:14px; color:#627567; }.status-label { font-size:12px; padding:5px 10px; border:1px solid #e3dac5; border-radius:6px; color:#7c683b; background:#faf6ec; display:flex; gap:6px; align-items:center; }.status-label i { width:5px; height:5px; background:#a38c52; border-radius:50%; }.status-label.is-live { border-color:#b8d4bf; background:#eaf3e9; color:#2c6d43; }
.workspace-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:22px; }.segmented { display:flex; padding:3px; background:#e9ede7; border-radius:8px; }.segmented a { color:#69786b; padding:7px 13px; font-size:13px; border-radius:6px; }.segmented a[aria-current] { background:white; color:#314d3d; box-shadow:0 1px 4px #162c1710; font-weight:650; }.segmented a:hover { text-decoration:none; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:26px; }.metric-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:12px; padding:17px 18px; min-height:139px; color:var(--ink); transition:border-color .15s,transform .15s; }.metric-card:hover { text-decoration:none; border-color:#96b19b; transform:translateY(-2px); }.metric-label { display:flex; justify-content:space-between; gap:5px; align-items:center; font-size:13px; color:#647269; }.metric-icon { font-size:15px; width:26px; height:26px; border-radius:7px; display:grid; place-items:center; background:#f3f6f1; color:#758d7c; }.metric-card strong { font-size:34px; font-weight:600; line-height:1.5; letter-spacing:-1px; font-variant-numeric:tabular-nums; }.metric-detail { font-size:12px; color:#718075; margin-top:auto; }.tiny-dot { display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:5px; flex-shrink:0; background:#a9b7a7; }.green,.channel-0 { background:#789e81; }.amber,.channel-1 { background:#ba976a; }.channel-2 { background:#8d9cb9; }.channel-3 { background:#b5a1b1; }.needs-attention strong { color:#a46a48; }.needs-attention .metric-icon { background:#f9eee4; color:#b48764; }.accent-metric { background:#eaf1e7; border-color:#dde7d8; }.accent-metric .metric-icon { background:#dce8d6; }.accent-metric strong { color:#456443; }
.dash-columns { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr); gap:23px; }.dash-primary,.dash-secondary { min-width:0; }.dash-panel { background:white; border:1px solid var(--line); border-radius:13px; margin-bottom:22px; overflow:hidden; }.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:20px 22px 0; }.panel-heading h2 { font-size:15px; text-transform:none; letter-spacing:-.25px; color:#314638; margin:0; font-weight:650; }.panel-heading .eyebrow { font-size:10px; margin-bottom:5px; }.panel-intro { margin:7px 22px 15px; color:#809084; font-size:12px; }.soft-label { background:#f1f4ee; color:#74806b; font-size:12px; border-radius:5px; padding:4px 8px; white-space:nowrap; }.text-link { font-size:12px; color:#5e7e65; white-space:nowrap; }
.focus-list { padding:0 22px; }.focus-item { display:flex; gap:12px; align-items:center; padding:16px 0; border-bottom:1px solid #edf0eb; color:var(--ink); }.focus-item:last-child { border:0; }.focus-item:hover { text-decoration:none; }.focus-item:hover .case-copy strong { color:#438461; }.case-mark { display:grid; place-items:center; width:32px; height:32px; border-radius:8px; flex-shrink:0; font-size:13px; }.case-red { background:#f9eee7; color:#b37e59; }.case-green { background:#edf3e9; color:#78956e; }.case-copy { min-width:0; flex:1; }.case-copy strong { display:block; font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.case-copy small { display:block; color:#7e897f; font-size:11px; margin-top:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.case-tail { text-align:right; flex-shrink:0; }.case-tail small { display:block; font-size:11px; margin-top:6px; color:#7e897f; }.case-tail small.late { color:#a46a48; font-weight:500; }.case-tail .pill { font-size:10px; padding:3px 7px; font-weight:500; }.row-arrow { font-size:20px; color:#b0bbb0; }.panel-footer { display:flex; align-items:center; justify-content:space-between; color:#6a806b; border-top:1px solid #edf0eb; font-size:12px; padding:12px 22px; background:#fdfefd; }.panel-footer:hover { background:#f3f6ef; text-decoration:none; }
.dash-tasks { padding:6px 22px 8px; margin:0; list-style:none; }.dash-tasks li { display:flex; gap:10px; align-items:flex-start; padding:13px 0; border-bottom:1px solid #edf0eb; }.dash-tasks li:last-child { border:0; }.task-check { display:grid; place-items:center; width:18px; height:18px; border-radius:5px; border:1px solid #cfdacb; color:transparent; background:#fff; cursor:pointer; font-size:12px; padding:0; }.task-check:hover { background:#e5efdf; color:#567a48; }.task-check.read-only { color:#bac7b7; cursor:default; }.dash-tasks strong { display:block; font-size:13px; font-weight:500; }.dash-tasks small { display:block; font-size:11px; margin-top:5px; color:#84907e; }.dash-tasks small.late { color:#a46a48; }.quiet-empty { font-size:13px; color:#81907f; }
.watch-list { padding:7px 22px 13px; }.watch-list a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid #eff2ed; font-size:12px; color:#667864; }.watch-list a:last-child { border:0; }.watch-list b { font-weight:600; font-size:13px; color:#4c684b; background:#f0f4ec; padding:2px 7px; border-radius:4px; }
.order-chart { display:flex; gap:20px; align-items:center; padding:22px; }.chart-total { min-width:100px; display:flex; flex-direction:column; }.chart-total strong { font-size:36px; font-weight:600; letter-spacing:-1px; }.chart-total span { font-size:13px; color:#647561; }.chart-total small { font-size:11px; color:#8b9585; margin-top:10px; }.week-bars { display:flex; gap:14px; justify-content:space-between; flex:1; min-width:0; height:145px; }.day-bar { display:flex; flex:1; min-width:0; flex-direction:column; align-items:center; gap:6px; }.day-bar>span { font-size:11px; color:#73876a; }.day-bar small { font-size:11px; color:#889480; }.bar-track { background:#f1f4ed; width:100%; max-width:28px; height:105px; border-radius:4px; display:flex; align-items:flex-end; overflow:hidden; }.bar-track i { display:block; width:100%; background:#91ac84; border-radius:4px 4px 0 0; }.day-bar:last-child .bar-track i { background:#4f7952; }.channel-strip { display:flex; gap:15px; flex-wrap:wrap; padding:14px 22px; border-top:1px solid #edf0e9; font-size:11px; }.channel-strip a { color:#78846f; }.channel-strip b { color:#3c583c; font-weight:600; padding-left:3px; }
.system-panel { background:#f0f3ec; border-color:#e3e9dd; }.system-panel .panel-heading h2 { font-size:14px; }.system-row { display:flex; align-items:flex-start; gap:5px; padding:14px 22px; }.system-row+.system-row { padding-top:0; }.system-row>.tiny-dot { margin-top:5px; }.system-row strong { display:block; font-size:12px; font-weight:600; color:#5e7557; }.system-row small { display:block; font-size:11px; color:#7e8b75; margin-top:4px; }.system-alert { display:block; font-size:12px; padding:0 22px 15px; color:#986c43; }.dashboard-note { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:#84907b; margin-top:3px; }
.empty-panel { display:flex; align-items:center; flex-direction:column; padding:35px 10px; color:#70816a; text-align:center; }.empty-symbol { width:44px; height:44px; background:#eef3e8; color:#7f9c6e; display:grid; place-items:center; border-radius:50%; margin-bottom:12px; font-size:18px; }.empty-panel strong { font-size:13px; font-weight:550; }.empty-panel p { font-size:13px; max-width:280px; margin-bottom:0; }
@media (min-width:1600px) { .dashboard { padding-top:38px; }.metric-card { min-height:156px; }.focus-item { padding:19px 0; }.case-copy strong { font-size:14px; }.dash-heading h1 { font-size:34px; } }
@media (max-width:1150px) { body.app { grid-template-columns:195px minmax(0,1fr); }.page { padding:26px 24px 45px; }.topbar { padding:13px 24px; }.metric-grid { gap:10px; }.metric-card { padding:14px; }.metric-label { font-size:12px; }.metric-detail { font-size:11px; }.dash-columns { grid-template-columns:minmax(0,1fr) 270px; gap:16px; }.case-tail { display:none; }.panel-heading,.focus-list { padding-left:17px; padding-right:17px; } }
@media (max-width:950px) { .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.dash-columns { grid-template-columns:1fr; }.dash-secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.system-panel { grid-column:1/-1; }.case-tail { display:block; }.heading-meta time { display:none; }.dash-heading h1 { font-size:26px; }.dash-heading { align-items:flex-start; }.heading-meta { padding-top:2px; } }
@media (max-width:760px) { body.app { display:block; }.side { position:static; height:auto; padding:15px 18px; }.brand-row { padding:0; }.brand { font-size:22px; }.brand small { display:inline; margin-left:7px; font-size:10px; }.nav-toggle { display:block; color:#dbe7d6; border:1px solid #ffffff33; background:transparent; border-radius:6px; padding:6px 11px; font:inherit; font-size:13px; }.side nav,.side .who { display:none; }.side.nav-open nav { display:flex; flex-direction:column; margin-top:12px; }.side.nav-open .who { display:flex; }.topbar { padding:12px 18px; position:sticky; top:0; }.gsearch { max-width:none; }.page { padding:24px 18px 35px; }.dash-heading { display:block; margin-bottom:20px; }.dash-heading h1 { font-size:28px; }.heading-meta { align-items:flex-start; margin-top:14px; }.dash-heading p { max-width:280px; line-height:1.7; }.workspace-toolbar { align-items:flex-start; flex-direction:column; gap:16px; }.workspace-toolbar .actions { width:100%; }.workspace-toolbar .btn { text-align:center; flex:1; }.metric-grid { margin-bottom:18px; }.metric-card { min-height:133px; padding:13px; }.metric-card strong { font-size:31px; }.metric-detail { line-height:1.5; }.metric-icon { width:21px; height:21px; font-size:14px; }.metric-label { min-height:30px; }.dash-secondary { display:block; }.case-tail { display:none; }.case-copy strong { white-space:normal; font-size:14px; }.case-copy small { font-size:12px; }.focus-item { padding:17px 0; }.focus-list { padding:0 17px; }.dash-panel { margin-bottom:18px; }.dash-tasks strong,.watch-list a { font-size:14px; }.dash-tasks small { font-size:12px; }.task-check { width:23px; height:23px; }.panel-heading { padding-top:19px; }.order-chart { padding:19px 17px; gap:12px; }.chart-total { min-width:65px; }.chart-total strong { font-size:30px; }.week-bars { gap:8px; }.dashboard-note { display:block; line-height:1.9; }.dashboard-note a { display:block; }.skip-link { left:18px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }

.quote-document { max-width: 1100px; }
.quote-document dd, .quote-document .small, .card dd { overflow-wrap: anywhere; }
.quote-line { margin-block: 1rem; border: 1px solid var(--border, #d9e2dc); border-radius: 10px; padding: 1rem; }
@media print {
  .side, .topbar, .no-print, .skip-link { display: none !important; }
  .main-wrap { margin: 0 !important; }
  .page { max-width: none !important; padding: 0 !important; }
  .quote-document { border: 0; box-shadow: none; color: #000; }
  .quote-document table { min-width: 0; }
  .quote-document tr { break-inside: avoid; }
}

/* Vollständiger Arbeitsfluss; keine Zahlen ohne direkten nächsten Schritt. */
.main-wrap, .page, .card, .form, .row > *, .grid2 > *, .grid3 > * { min-width:0; }
.action-section { margin-bottom:26px; }
.action-heading, .action-title { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.action-heading { margin:5px 0 14px; }.action-heading h2 { color:var(--ink); font-size:19px; text-transform:none; letter-spacing:-.4px; margin:0; }
.action-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.action-card { background:#fff; border:1px solid var(--line); border-top:3px solid #a2b69d; border-radius:10px; padding:16px; }
.action-title h3 { margin:0; font-size:14px; font-weight:600; }.action-title>span { font-variant-numeric:tabular-nums; color:#42664d; background:#edf3e9; padding:3px 9px; border-radius:7px; }
.action-item { display:block; border-top:1px solid #edf0eb; margin-top:12px; padding-top:12px; color:var(--ink); }
.action-item strong { display:block; font-size:13px; font-weight:550; overflow-wrap:anywhere; }
.action-item small { display:block; color:#61745d; margin-top:5px; line-height:1.6; }.action-item small span { float:right; }
.action-empty { color:#69776b; font-size:13px; margin:16px 0 4px; }
.table-wrap { overflow-x:auto; max-width:100%; border-radius:10px; margin-bottom:14px; }.table-wrap table { margin-bottom:0; }.table-wrap:focus-visible { outline:3px solid #7da990; outline-offset:2px; }
input, select, textarea { max-width:100%; }.card pre, code, .notice { overflow-wrap:anywhere; } .body { overflow-wrap:anywhere; }
@media(max-width:760px) {
  .action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.action-card { padding:13px; }.action-heading { align-items:flex-start; }.action-heading>.small { display:none; }
  .grid2, .grid3, .ticket-layout { grid-template-columns:minmax(0,1fr); }.row { grid-template-columns:minmax(0,1fr); }
  .head { flex-wrap:wrap; gap:12px; }.head h1 { overflow-wrap:anywhere; }.tabs { overflow-x:auto; max-width:100%; }
  .btn, .nav-toggle, .side nav a, .segmented a { min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .side nav a { justify-content:flex-start; }.task-check { min-width:44px; min-height:44px; }.topbar input { min-height:44px; }
  input, select, textarea { font-size:16px; }.timeline>li { grid-template-columns:1fr; gap:5px; }
  .table-wrap table { min-width:600px; } .page dl { grid-template-columns:1fr; gap:4px; }.page dd { margin-bottom:10px; }
}
@media(max-width:380px) { .action-grid { grid-template-columns:1fr; }.page { padding-inline:14px; } }

/* Antwortfristen-Ampel (Chris 21.11.2026) */
.case-amber { background:#fbf3df; color:#a7801f; }
.sla { font-weight:600; }
.sla-rot { color:var(--err); }
.sla-gelb { color:#a7801f; }
.sla-gruen, .sla-aus { color:#7e897f; font-weight:500; }
.pill.sla-pill.sla-rot { background:#fbe9e6; }
.pill.sla-pill.sla-gelb { background:#fbf3df; }
.case-tail small.sla-rot { color:#a46a48; font-weight:600; }
.case-tail small.sla-gelb { color:#a7801f; font-weight:600; }

/* Fortschrittsbalken (Systemzustand) */
.progress { height:8px; border-radius:4px; background:#e7ebe7; overflow:hidden; margin:6px 0 12px; }
.progress span { display:block; height:100%; background:var(--accent, #1f6b4a); }
