/* Taskey Internal · shared platform system. Keep utility styles in the utility
   cascade: these components provide defaults, not blanket !important overrides. */
:root {
    color-scheme: light;
    --black: #202123; --white: #fff; --bg: #fff; --card: #fff;
    --grey: #e8e8e8; --line: #e8e8e8; --text-secondary: #6b6b6b;
    --teal-a: #00875a; --teal-b: #006e49; --peach: #fff0ee; --mint: #e9f7ef;
    --surface-sidebar: #f9f9f9; --surface-hover: #f0f0f0; --surface-selected: #eaeaea;
    --focus: #00875a; --sidebar-width: 232px; --header-height: 56px;
    --brand: #00875a; --brand-hover: #006e49; --brand-soft: #e9f7ef;
    --brand-ring: #c5e9d9; --ink: #202123; --ink-2: #303133;
    --ink-3: #454545; --ink-4: #6b6b6b; --ink-5: #6b6b6b;
    --zinc-50: #fafafa; --zinc-100: #f3f3f3; --zinc-200: #e8e8e8; --zinc-300: #d4d4d4;
    --gruen: #137b51; --gruen-soft: #e9f7ef; --rot: #b42318; --rot-soft: #fff0ee;
    --r-sm: 6px; --r-md: 8px; --r-lg: 10px; --r-xl: 12px;
    --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--black); font-family: inherit; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
input, textarea { caret-color: var(--teal-a); }
input[type=checkbox], input[type=radio] { accent-color: var(--teal-a); }
::selection { background: #c5e9d9; color: #153e2f; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
svg.lucide { stroke-width: 1.6; flex-shrink: 0; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 200; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
/* Persistent navigation */
.platform-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 0 12px 12px; background: var(--surface-sidebar); border-right: 1px solid var(--line); z-index: 40; }
.sidebar-brand-row { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.sidebar-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -.5px; }
.sidebar-brand img { object-fit: contain; border-radius: 5px; }
.brand-suffix { font-weight: 400; color: var(--text-secondary); margin-left: 5px; font-size: 14px; letter-spacing: -.2px; }
.workspace-switcher { position: relative; margin: 4px 0 12px; }
.workspace-switcher summary { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 6px 9px; border: 1px solid #dedede; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
.workspace-switcher summary:hover { background: #fafafa; }
.workspace-icon { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 5px; display: grid; place-items: center; }
.workspace-icon svg { width: 15px; height: 15px; }
.switcher-chevron { margin-left: auto; width: 14px; height: 14px; color: var(--text-secondary); }
.workspace-menu, .account-popover { position: absolute; left: 0; right: 0; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 4px 24px #0000001f; z-index: 60; }
.workspace-menu { top: calc(100% + 6px); }
.workspace-menu p { font-size: 11px; color: var(--text-secondary); margin: 4px 8px 8px; }
.workspace-menu a, .account-popover a { display: flex; align-items: center; gap: 9px; padding: 9px 8px; font-size: 13px; text-decoration: none; border-radius: 5px; }
.workspace-menu a:hover, .account-popover a:hover { background: var(--surface-hover); }
.workspace-menu svg, .account-popover svg { width: 16px; height: 16px; color: var(--text-secondary); }
.navigation-search { display: flex; align-items: center; width: 100%; gap: 9px; padding: 9px 10px; margin-bottom: 12px; background: none; border: 0; border-radius: 6px; color: var(--text-secondary); font-size: 12px; text-align: left; }
.navigation-search:hover { background: var(--surface-hover); }
.navigation-search svg { width: 16px; height: 16px; }
.navigation-search kbd { margin-left: auto; font-family: inherit; font-size: 10px; border: 1px solid #dedede; padding: 1px 4px; border-radius: 4px; }
.sidebar-navigation { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.nav-group-label { color: var(--text-secondary); font-size: 11px; padding: 24px 10px 7px; font-weight: 500; }
.nav-group-label:has(+ .nav-group-label) { display: none; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 8px 10px; margin: 2px 0; border-radius: 6px; color: #545454; font-size: 13px; font-weight: 400; text-decoration: none; transition: background-color .12s; }
.nav-link svg { width: 17px; height: 17px; color: #737373; }
.nav-link:hover { background: var(--surface-hover); color: var(--black); }
.nav-link.active { background: var(--surface-selected); color: var(--black); font-weight: 500; }
.nav-link.active svg { color: var(--black); }
.sidebar-footer { padding-top: 8px; border-top: 1px solid var(--line); }
.account-menu { position: relative; margin-top: 8px; }
.account-menu summary { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 6px; list-style: none; }
.account-menu summary:hover { background: var(--surface-hover); }
.account-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8ece9; color: #355744; font-size: 12px; font-weight: 500; flex: none; }
.account-copy { min-width: 0; flex: 1; font-size: 12px; }
.account-copy > span, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { font-size: 10px; color: var(--text-secondary); }
.account-menu summary > svg { width: 14px; height: 14px; color: var(--text-secondary); }
.account-popover { bottom: calc(100% + 6px); }
/* Canvas and page hierarchy */
.platform-main { margin-left: var(--sidebar-width); min-width: 0; }
.platform-topbar { height: var(--header-height); display: flex; align-items: center; gap: 12px; padding: 0 32px; border-bottom: 1px solid var(--line); background: #fff; }
.workspace-path { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 13px; }
.workspace-avatar { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #dedede; border-radius: 5px; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.path-separator { color: #c5c5c5; font-size: 18px; font-weight: 400; }
.workspace-current { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-settings { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-secondary); text-decoration: none; }
.topbar-settings:hover { color: var(--black); }
.topbar-settings svg { width: 16px; height: 16px; }
.platform-content { padding: 32px 40px 64px; max-width: 1680px; margin: 0 auto; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-heading h1 { font-size: 26px; font-weight: 600; letter-spacing: -.65px; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.page-breadcrumb { color: var(--text-secondary); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.page-breadcrumb a:hover { color: var(--black); }
.sk-aktionen { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; flex-shrink: 0; }
.sk-aktionen:empty { display: none; }
.platform-content > :is(.grid, .flex) { min-width: 0; }
.platform-content .grid > * { min-width: 0; }
/* Shared surfaces, including all legacy component names. */
:is(.card, .panel, .teal-panel) { background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.teal-panel { position: relative; overflow: hidden; color: var(--black); }
:is(.kpi-label, .section-title, .section-titel) { color: var(--text-secondary); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.section-title, .section-titel { color: var(--black); font-size: 14px; }
.kpi-value { font-size: 28px; font-weight: 500; letter-spacing: -.8px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.kpi-unit, .section-count { color: var(--text-secondary); font-size: 12px; }
.metric-strip { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.metric-strip > .card { border: 0; border-radius: 0; padding: 8px 24px; border-left: 1px solid var(--line); }
.metric-strip > .card:first-child { border-left: 0; padding-left: 0; }
.metric-strip > a:hover { background: #fafafa; }
.dashboard-sections { column-gap: 32px; row-gap: 32px; }
.dashboard-sections section > .card { border-width: 1px 0 0; border-radius: 0; }
.dashboard-sections section > .card > :first-child, .dashboard-sections section > .card > :last-child { border-radius: 0; }
/* Controls: 36px baseline, quiet secondary actions, solid primary. */
:is(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-teal, .btn-brand, .sk-btn, .knopf, .knopf-haupt, .bar-primary, .bar-ghost) {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px;
    background: #fff; color: var(--black); font-size: 12px; font-weight: 500;
    line-height: 20px; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .12s, border-color .12s;
}
:is(.btn-primary, .knopf-haupt, .bar-primary) { background: var(--black); color: #fff; border-color: var(--black); }
:is(.btn-teal, .btn-brand) { background: var(--teal-a); border-color: var(--teal-a); color: #fff; }
:is(.btn, .btn-secondary, .btn-ghost, .sk-btn, .knopf, .bar-ghost):hover { background: #f5f5f5; border-color: #cecece; }
:is(.btn-primary, .knopf-haupt, .bar-primary):hover { background: #38393b; border-color: #38393b; }
:is(.btn-teal, .btn-brand):hover { background: var(--teal-b); border-color: var(--teal-b); }
:is(.btn-primary, .btn-secondary, .btn-ghost, .btn-teal):active { transform: none; }
:is(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-teal, .knopf, .knopf-haupt, .bar-primary, .bar-ghost, .sk-btn) svg { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.btn-klein { min-height: 30px; padding: 4px 9px; font-size: 12px; }
.btn-gefahr { color: var(--rot); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--line); border-radius: 6px; color: #606060; background: #fff; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--surface-hover); }
.icon-btn.active { background: var(--surface-selected); color: var(--black); }
.knopf-nur-icon { width: 34px; padding: 0; }
.action-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: transparent; }
:is(.input, .feld, .teal-search) { display: block; width: 100%; min-height: 36px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; padding: 7px 11px; font-size: 13px; color: var(--black); line-height: 20px; transition: border-color .12s; }
:is(.input, .feld, .teal-search)::placeholder { color: #757575; }
:is(.input, .feld, .teal-search):focus { outline: 2px solid #c5e9d9; outline-offset: 1px; border-color: #00875a; box-shadow: none; }
textarea.input { min-height: 88px; resize: vertical; }
select.input { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b6b6b' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.switch { position: relative; display: inline-flex; width: 32px; height: 18px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; border-radius: 20px; background: #c8c8c8; transition: background .15s; }
.switch .track::after { content: ''; position: absolute; width: 14px; height: 14px; top: 2px; left: 2px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + .track { background: var(--teal-a); }
.switch input:checked + .track::after { transform: translateX(14px); }
.switch input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 3px; }
.switch input:disabled + .track { opacity: .45; cursor: not-allowed; }
/* Filters, status and sub-navigation */
:is(.chip) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; min-height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #545454; font-size: 12px; font-weight: 400; }
.chip .count { color: var(--text-secondary); }
.chip:hover { background: #f5f5f5; }
.chip[aria-current] { font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 3px 7px; font-size: 11px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.badge-on { background: #e9f7ef; color: #137b51; }
.badge-off, .badge-neutral { background: #f0f0f0; color: #646464; }
.badge-ghost { border: 1px solid var(--line); background: #fff; color: #646464; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot-teal { background: var(--teal-a); } .dot-black { background: var(--black); } .dot-grey { background: #aaa; }
.firmen-reiter, .tabs { display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.firmen-reiter { margin: -4px 0 24px; }
.firmen-reiter-link, .tab { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 10px 0 12px; border-bottom: 2px solid transparent; color: var(--text-secondary); font-size: 13px; font-weight: 400; text-decoration: none; white-space: nowrap; }
.firmen-reiter-link svg { width: 15px; height: 15px; }
.firmen-reiter-link:hover, .tab:hover { color: var(--black); }
.firmen-reiter-link.aktiv, .tab.active { color: var(--black); border-bottom-color: var(--black); font-weight: 500; }
.tabs:empty { display: none; }
.head-row { border-bottom: 1px solid var(--line); }
.meta-col .label { color: var(--text-secondary); font-size: 11px; margin-bottom: 3px; }
.meta-col .value { display: flex; align-items: center; gap: 6px; font-size: 13px; }
/* Data tables */
.table-clean { width: 100%; border-collapse: collapse; border-spacing: 0; font-variant-numeric: tabular-nums; }
.table-clean thead th { padding: 11px 16px; font-size: 11px; font-weight: 500; color: var(--text-secondary); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); background: #fafafa; }
.table-clean tbody td { padding: 14px 16px; font-size: 13px; font-weight: 400; vertical-align: middle; border-bottom: 1px solid #ededed; }
.table-clean tbody tr:last-child td { border-bottom: 0; }
.table-clean tbody tr:hover { background: #fafafa; }
.table-clean th.text-right, .table-clean td.text-right { text-align: right; white-space: nowrap; }
.table-clean td.whitespace-nowrap { white-space: nowrap; }
.table-clean td button { white-space: nowrap; }
.card:has(> .table-clean) { border-radius: 8px; padding: 0; }
.table-clean td.text-sub { color: var(--text-secondary); }
.log-surface { background: #202123; color: #e9e9e9; border-radius: 8px; padding: 20px; font-size: 12px; line-height: 1.7; overflow: auto; }
.avatar { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 7px; background: #f0f0f0; color: #555; font-size: 12px; font-weight: 500; }
.avatar.sm { width: 24px; height: 24px; border-radius: 5px; font-size: 10px; }
.person-pill { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.person-pill .name { font-size: 13px; font-weight: 500; } .person-pill .role { font-size: 11px; color: var(--text-secondary); }
.glass-pill, .glass-card { background: #f7f7f7; border-radius: 8px; }
.glass-card { border: 1px solid var(--line); }
.on-teal-sub { color: var(--text-secondary); } .on-teal-line { border-color: var(--line); }
.progress { height: 7px; border-radius: 4px; overflow: hidden; background: #eee; }
.progress.thin { height: 5px; }
.progress .fill { height: 100%; border-radius: inherit; background: var(--teal-a); }
/* Navigation palette */
.navigation-dialog { width: min(520px, calc(100vw - 32px)); max-height: min(560px, 80dvh); margin: 14dvh auto auto; padding: 0; border: 0; border-radius: 12px; color: var(--black); background: #fff; box-shadow: 0 16px 60px #0003; }
.navigation-dialog::backdrop { background: #0005; }
.navigation-dialog-heading { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.navigation-dialog-heading > svg { width: 18px; height: 18px; color: var(--text-secondary); }
.navigation-dialog input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 14px; }
#navigation-results { padding: 6px; max-height: 360px; overflow-y: auto; }
#navigation-results a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 6px; font-size: 13px; text-decoration: none; }
#navigation-results a:hover, #navigation-results a:focus { background: #f0f0f0; outline-offset: -2px; }
#navigation-results svg { width: 17px; height: 17px; color: var(--text-secondary); }
.navigation-empty { padding: 24px; color: var(--text-secondary); font-size: 13px; }
.navigation-dialog-footer { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 10px; color: var(--text-secondary); }
.mobile-menu-toggle, .sidebar-backdrop { display: none; }
/* Standalone authentication and document surfaces */
.auth-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 100px 24px 64px; }
.auth-wordmark { position: absolute; top: 28px; left: 32px; font-size: 20px; letter-spacing: -.5px; font-weight: 600; text-decoration: none; }
.auth-page .karte, .auth-page > .panel, .auth-page > .card { width: 100%; max-width: 400px; border: 0; box-shadow: none; padding: 0; background: #fff; }
.auth-page .marke { display: flex; flex-direction: column; gap: 16px; text-align: center; margin-bottom: 32px; }
.auth-page .marke-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #f5f5f5; color: var(--black); margin: 0 auto; }
.auth-page .marke-titel { font-size: 25px; font-weight: 600; line-height: 1.3; letter-spacing: -.5px; }
.auth-page .marke-sub { font-size: 13px; color: var(--text-secondary); margin-top: 10px; }
.auth-page .btn { min-height: 44px; border-radius: 7px; font-size: 14px; }
.hinweis { font-size: 13px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 16px; }
.fehler { color: var(--rot); font-size: 12px; line-height: 1.6; margin-top: 16px; overflow-wrap: anywhere; }
.label { display: block; font-size: 12px; font-weight: 500; margin-bottom: 6px; color: #545454; }
.settings-content { max-width: 1100px; }
.settings-content > .card { border-width: 0 0 1px; border-radius: 0; padding: 8px 0 28px; }
.settings-content .section-titel { font-size: 16px; font-weight: 500; }
.settings-content table { width: 100%; font-size: 13px; border-collapse: collapse; }
.settings-content #konten, .settings-content #sitzungen, .settings-content #passkeys { overflow-x: auto; }
.settings-content th { padding: 10px 14px; text-align: left; color: var(--text-secondary); font-size: 12px; font-weight: 400; white-space: nowrap; border-bottom: 1px solid var(--line); background: #fafafa; }
.settings-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.settings-content .hinweis { max-width: 75ch; }
.trenner { height: 1px; background: var(--line); border: 0; margin: 24px 0; }
.pille { display: inline-flex; gap: 5px; align-items: center; padding: 3px 7px; border-radius: 5px; font-size: 11px; background: #f0f0f0; color: #545454; }
.pille-gruen { background: var(--gruen-soft); color: var(--gruen); } .pille-rot { background: var(--rot-soft); color: var(--rot); }
.document-page { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; line-height: 1.75; }
.document-page h1 { margin: 40px 0 16px; font-size: 28px; color: var(--black); font-weight: 600; letter-spacing: -.6px; line-height: 1.3; }
.document-page h2 { font-size: 18px; font-weight: 500; margin: 32px 0 10px; }
.document-page p, .document-page li { color: #545454; }
.document-page .muted { color: var(--text-secondary); font-size: 13px; }
/* Responsive navigation changes structure; data regions retain local scroll. */
@media (min-width: 1600px) { .platform-content { padding-top: 40px; padding-inline: 48px; } }
@media (max-width: 1100px) { :root { --sidebar-width: 212px; } .platform-content { padding-inline: 24px; } .platform-topbar { padding-inline: 24px; } .metric-strip > .card { padding-inline: 16px; } }
@media (max-width: 767px) {
    html { scrollbar-gutter: auto; }
    .platform-sidebar { width: 264px; transform: translateX(-100%); visibility: hidden; transition: transform .18s var(--ease), visibility .18s; }
    .sidebar-open .platform-sidebar { transform: translateX(0); visibility: visible; }
    .sidebar-open { overflow: hidden; }
    .sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; border: 0; background: #0005; z-index: 35; }
    .mobile-menu-toggle { display: inline-flex; }
    .platform-main { margin-left: 0; }
    .platform-topbar { padding-inline: 16px; gap: 10px; }
    .workspace-path { gap: 8px; font-size: 12px; }
    .workspace-avatar { display: none; }
    .topbar-settings span { display: none; }
    .platform-content { padding: 24px 16px 48px; }
    .page-heading { align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; gap: 14px; }
    .page-heading h1 { font-size: 23px; }
    .sk-aktionen { flex-shrink: 1; justify-content: flex-start; }
    .page-breadcrumb { font-size: 11px; }
    .firmen-reiter { gap: 20px; margin-bottom: 20px; }
    .firmen-reiter-link { padding-block: 10px; font-size: 12px; }
    .metric-strip { gap: 0; padding-bottom: 12px; }
    .metric-strip > .card { padding: 12px; }
    .metric-strip > .card:nth-child(odd) { border-left: 0; padding-left: 0; }
    .kpi-value { font-size: 25px; }
    .kpi-label { font-size: 11px; }
    .table-clean thead th, .table-clean tbody td { padding-inline: 12px; }
    .navigation-dialog { margin-top: 8dvh; }
    .auth-wordmark { top: 24px; left: 24px; }
    .auth-page { padding-inline: 28px; }
    .nav-link { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
/* Welten (Taskey / Taskey Share): Auswahl im Workspace-Menü. */
.workspace-menu a.is-current { font-weight: 500; }
.workspace-menu .menu-check { margin-left: auto; color: var(--teal-a); }
.menu-trenner { border: 0; border-top: 1px solid var(--line); margin: 6px 2px; }
/* Die Linie unter den Reitern läuft über die volle Breite (wie bei der OpenAI-Plattform). */
.platform-content > .flex > .tabs { flex: 1 1 auto; }
/* Aktiver Filter-Chip: leichte Auswahlfläche wie die aktive Navigation, kein Schwarz. */
.chip[aria-current] { background: var(--surface-selected); border-color: var(--surface-selected); color: var(--black); }
