:root {
    --violet: #6d4aff;
    --violet-deep: #4326a8;
    --violet-light: #a89aff;
    --violet-wash: #f1edff;
    --midnight: #10101a;
    --midnight-2: #171725;
    --canvas: #f7f7fb;
    --surface: #ffffff;
    --ink: #1a1926;
    --muted: #747386;
    --line: #e8e7ef;
    --success: #13a870;
    --success-wash: #eaf9f3;
    --warning: #e4a31b;
    --warning-wash: #fff7df;
    --danger: #d9475b;
    --danger-wash: #fff0f2;
    --sidebar-width: 272px;
    --sidebar-mini: 88px;
    --topbar-height: 72px;
    --shadow-sm: 0 8px 24px rgba(23, 20, 45, .06);
    --shadow-lg: 0 28px 80px rgba(24, 17, 64, .18);
    color-scheme: light;
    font-family: Inter, Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
    --canvas: #0b0c12;
    --surface: #151720;
    --ink: #f3f2f8;
    --muted: #aaa7b7;
    --line: #2b2e3a;
    --violet-wash: #27223d;
    --success-wash: #133328;
    --warning-wash: #352c14;
    --danger-wash: #3b1d25;
    --shadow-sm: 0 10px 30px rgba(0,0,0,.24);
    --shadow-lg: 0 32px 90px rgba(0,0,0,.48);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--ink); font-size: 14px; text-rendering: optimizeLegibility; }
body:has(.app-shell) { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--focus-ring, rgba(109, 74, 255, .35)); outline-offset: 2px; }
h1[tabindex="-1"]:focus { outline: none; }
::selection { background: rgba(109, 74, 255, .2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--sidebar-width); display: flex; flex-direction: column; padding: 18px 14px 14px; color: #f7f6ff; background:
    radial-gradient(circle at 10% 3%, rgba(109, 74, 255, .18), transparent 28%),
    linear-gradient(175deg, #141321 0%, #0e0e17 78%); border-right: 1px solid rgba(168, 154, 255, .12); transition: width .25s ease, transform .25s ease; }
.sidebar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(rgba(168,154,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(168,154,255,.08) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
.sidebar-head { position: relative; display: flex; height: 54px; align-items: center; justify-content: space-between; padding: 0 4px 0 5px; }
.brand-link { min-width: 210px; overflow: hidden; }
.brand-lockup { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand-art { border-radius: 14px; object-fit: cover; object-position: center; background: #151323; box-shadow: 0 10px 28px rgba(109,74,255,.24); }
.brand-copy { display: flex; flex-direction: column; letter-spacing: .03em; }
.brand-copy strong { font-size: 16px; line-height: 1.1; letter-spacing: .13em; }
.brand-copy small { margin-top: 4px; color: #9c9aac; font-size: 9px; letter-spacing: .07em; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: .18s ease; }
.icon-button:hover { border-color: #cbc4ff; color: var(--violet); transform: translateY(-1px); }
.sidebar-collapse { flex: 0 0 auto; width: 30px; height: 30px; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.055); color: #b8b6c7; font-size: 20px; }
.tenant-switcher { position: relative; display: grid; grid-template-columns: 36px 1fr 18px; align-items: center; gap: 10px; width: 100%; margin: 16px 0 14px; padding: 10px; border: 1px solid rgba(168,154,255,.15); border-radius: 14px; color: #f5f4ff; background: rgba(255,255,255,.045); cursor: pointer; text-align: left; overflow: hidden; }
.tenant-switcher:hover { background: rgba(109,74,255,.12); border-color: rgba(168,154,255,.28); }
.tenant-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); box-shadow: 0 8px 20px rgba(109,74,255,.28); font-size: 11px; font-weight: 800; }
.tenant-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tenant-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.tenant-copy small { overflow: hidden; color: #858395; font-size: 9px; text-overflow: ellipsis; }
.chevron { color: #858395; }
.main-nav { position: relative; flex: 1; overflow: hidden auto; scrollbar-width: thin; }
.nav-section { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.nav-label { padding: 0 12px 6px; color: #747183; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 11px; color: #aaa8b8; font-size: 12px; font-weight: 600; white-space: nowrap; transition: .16s ease; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.active { color: #fff; background: linear-gradient(90deg, rgba(109,74,255,.24), rgba(109,74,255,.08)); box-shadow: inset 0 0 0 1px rgba(168,154,255,.11); }
.main-nav a.active::before { content: ""; position: absolute; left: -14px; width: 3px; height: 23px; border-radius: 0 5px 5px 0; background: var(--violet-light); box-shadow: 0 0 15px var(--violet); }
.nav-icon { display: grid; width: 24px; height: 24px; place-items: center; color: #858294; font-size: 17px; font-weight: 400; }
.main-nav a.active .nav-icon { color: var(--violet-light); }
.sidebar-bottom { position: relative; margin-top: auto; }
.system-state { display: flex; gap: 9px; margin: 0 7px 10px; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.06); color: #9896a8; white-space: nowrap; overflow: hidden; }
.system-state > span { width: 7px; height: 7px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; background: #37d49a; box-shadow: 0 0 9px rgba(55,212,154,.6); }
.system-state div, .profile-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.system-state strong { color: #bbb9c7; font-size: 10px; }.system-state small { font-size: 8px; }
.profile-block { display: grid; grid-template-columns: 36px 1fr 28px; align-items: center; gap: 9px; padding: 7px; border-radius: 13px; white-space: nowrap; overflow: hidden; }
.profile-avatar { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(168,154,255,.25); border-radius: 50%; background: #26243a; color: #d8d3ff; font-size: 10px; font-weight: 800; }
.profile-copy strong { color: #ecebf4; font-size: 10px; overflow: hidden; text-overflow: ellipsis; }.profile-copy small { color: #777586; font-size: 8px; }
.profile-more, .row-action { border: 0; background: transparent; color: #777586; cursor: pointer; }.profile-more:hover, .row-action:hover { color: var(--violet-light); }
.app-version { margin:5px 7px 0; color:rgba(216,211,255,.62); font-size:8px; font-weight:700; letter-spacing:.07em; line-height:1; text-align:center; white-space:nowrap; }

.workspace { height: 100vh; margin-left: var(--sidebar-width); transition: margin .25s ease; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; height: var(--topbar-height); align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(247,247,251,.88); backdrop-filter: blur(16px); }
.global-search { display: flex; width: min(400px, 40vw); height: 40px; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid #e1dfe9; border-radius: 12px; background: rgba(255,255,255,.86); color: #8a8899; cursor: pointer; text-align: left; }
.global-search:hover { border-color: color-mix(in srgb,var(--violet) 42%,var(--line)); box-shadow: 0 5px 18px color-mix(in srgb,var(--violet) 12%,transparent); }
.search-icon { color: var(--violet); font-size: 20px; }.global-search > span:nth-child(2) { flex: 1; }.global-search kbd, .command-dialog kbd { padding: 3px 6px; border: 1px solid #dedce6; border-bottom-width: 2px; border-radius: 5px; background: #fafafd; color: #8c8999; font-size: 9px; font-family: inherit; }
.top-actions { display: flex; align-items: center; gap: 10px; }.phase-badge { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #ddd8ff; border-radius: 99px; background: #f1eeff; color: var(--violet-deep); font-size: 9px; font-weight: 800; letter-spacing: .04em; }.phase-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px rgba(109,74,255,.55); }
.notification-button { position: relative; }.notification-button > span { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid #fff; border-radius: 50%; background: var(--danger); }
.mobile-menu { display: none; }
.page-content { height: calc(100vh - var(--topbar-height)); padding: 30px 34px 42px; overflow: auto; scroll-behavior: smooth; }
.page-content > * { width: min(1420px, 100%); margin-inline: auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.eyebrow, .card-kicker { display: block; margin-bottom: 8px; color: var(--violet); font-size: 9px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; }.page-heading p { max-width: 650px; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; font-size: 11px; font-weight: 760; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { border-color: var(--violet); background: linear-gradient(135deg,var(--tenant-primary,var(--violet)),color-mix(in srgb,var(--tenant-primary,var(--violet)) 72%,#080716)); color: var(--tenant-button-text,#fff); box-shadow: 0 9px 22px color-mix(in srgb,var(--violet) 25%,transparent); }.button-primary:hover { box-shadow: 0 13px 28px color-mix(in srgb,var(--violet) 34%,transparent); }
.button-secondary { border-color: #dedbe9; background: #fff; color: #4f4d5d; box-shadow: 0 3px 10px rgba(18,16,36,.03); }.button-secondary:hover { border-color: #bfb6ff; color: var(--violet-deep); }
.button-block { width: 100%; }.button.compact { min-height: 38px; padding-inline: 13px; }
.surface-card { border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-sm); }

.focus-card { position: relative; display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 26px; min-height: 152px; margin-bottom: 20px; padding: 22px 26px; overflow: hidden; color: #fff; border: 1px solid rgba(168,154,255,.24); border-radius: 20px; background: radial-gradient(circle at 82% -50%, rgba(109,74,255,.38), transparent 45%), linear-gradient(120deg, #181626, #10101a 74%); box-shadow: 0 18px 44px rgba(19,15,43,.17); }
.focus-card::after { content: ""; position: absolute; inset: 0 0 0 45%; opacity: .18; background-image: linear-gradient(rgba(168,154,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(168,154,255,.18) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, black); pointer-events: none; }
.focus-orbit { position: relative; width: 86px; height: 86px; }.focus-orbit i { position: absolute; inset: 0; border: 1px solid rgba(168,154,255,.35); border-radius: 50%; }.focus-orbit i:nth-child(2) { inset: 10px; border-style: dashed; transform: rotate(25deg); }.focus-orbit i:nth-child(3) { inset: 22px; border-color: rgba(255,255,255,.12); }.focus-orbit::before, .focus-orbit::after { content: ""; position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--violet-light); box-shadow: 0 0 12px rgba(168,154,255,.8); }.focus-orbit::before { top: 9px; right: 13px; }.focus-orbit::after { bottom: 12px; left: 9px; width: 4px; height: 4px; }
.focus-orbit span { position: absolute; inset: 25px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #7656ff, #4a2dc0); box-shadow: 0 9px 24px rgba(109,74,255,.4); font-size: 19px; }
.focus-copy { position: relative; z-index: 2; }.focus-copy .card-kicker { display: flex; align-items: center; gap: 7px; color: #bdb3ff; }.focus-copy .card-kicker i { width: 5px; height: 5px; border-radius: 50%; background: #f4bd4f; box-shadow: 0 0 8px rgba(244,189,79,.7); }.focus-copy h2 { margin: 0 0 6px; font-size: 21px; }.focus-copy p { max-width: 630px; margin: 0; color: #aaa7b8; font-size: 11px; line-height: 1.55; }
.focus-proof { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; color: #bcb9c9; font-size: 9px; font-weight: 650; }.focus-proof span { white-space: nowrap; }.focus-proof i { display: inline-grid; width: 16px; height: 16px; margin-right: 5px; place-items: center; border-radius: 50%; background: rgba(19,168,112,.16); color: #43d6a1; font-style: normal; }
.focus-card .button { position: relative; z-index: 2; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.metric-card { position: relative; min-height: 139px; padding: 19px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }.metric-card::after { content: ""; position: absolute; right: -25px; bottom: -35px; width: 105px; height: 105px; border: 18px solid currentColor; border-radius: 50%; opacity: .035; }
.metric-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }.metric-head i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: currentColor; color: #fff; font-style: normal; font-size: 14px; }.metric-card > strong { display: block; margin: 9px 0 5px; color: var(--ink); font-size: 31px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }.metric-card sup { font-size: 14px; }.metric-card small { color: #9492a1; font-size: 9px; }.metric-card small b { color: currentColor; }.metric-violet { color: var(--violet); }.metric-indigo { color: #5265c8; }.metric-gold { color: var(--warning); }.metric-green { color: var(--success); }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 20px; margin-bottom: 20px; }.surface-card > .card-header { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 17px 20px; border-bottom: 1px solid var(--line); }.card-header .card-kicker { margin-bottom: 4px; }.card-header h2 { margin: 0; font-size: 15px; }.card-header > a { color: var(--violet); font-size: 9px; font-weight: 750; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 800; white-space: nowrap; }.status-pill i { width: 5px; height: 5px; border-radius: 50%; }.status-pill.success { color: #08774f; background: var(--success-wash); }.status-pill.success i { background: var(--success); box-shadow: 0 0 6px rgba(19,168,112,.45); }.status-pill.large { padding: 8px 12px; font-size: 10px; }
.readiness-body { display: grid; grid-template-columns: 155px 1fr; align-items: center; gap: 26px; padding: 24px; }.readiness-score { position: relative; width: 140px; height: 140px; border-radius: 50%; background: conic-gradient(var(--violet) calc(var(--score) * 1%), #eeedf4 0); }.readiness-score::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: white; box-shadow: inset 0 0 0 1px var(--line); }.readiness-score > span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }.readiness-score strong { font-size: 25px; letter-spacing: -.04em; }.readiness-score small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.readiness-list { display: flex; flex-direction: column; gap: 14px; }.progress-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 9px; }.progress-row span { color: #646273; }.progress-row strong { font-variant-numeric: tabular-nums; }.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #efeff4; }.progress-track i { display: block; height: 100%; border-radius: inherit; }.progress-track .violet { background: var(--violet); }.progress-track .success { background: var(--success); }.progress-track .warning { background: var(--warning); }
.card-note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 20px; border-top: 1px solid var(--line); background: #fbfaff; border-radius: 0 0 19px 19px; }.card-note > span { color: var(--violet); font-size: 16px; }.card-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }.card-note strong { color: #494657; }
.activity-list { padding: 4px 20px 10px; }.activity-item { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 11px; min-height: 61px; border-bottom: 1px solid #f0eff5; }.activity-item:last-child { border-bottom: 0; }.activity-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; background: var(--violet-wash); color: var(--violet); font-size: 12px; font-weight: 800; }.activity-icon.success { background: var(--success-wash); color: var(--success); }.activity-icon.danger { background: var(--danger-wash); color: var(--danger); }.activity-item div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.activity-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.activity-item small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.activity-item time { color: #9a98a6; font-size: 8px; white-space: nowrap; }.empty-inline, .table-loading { padding: 36px; color: var(--muted); text-align: center; }
.phase-ribbon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 17px 21px; border: 1px solid #e0dcf7; border-radius: 16px; background: linear-gradient(90deg, #f2efff, #fff); }.phase-ribbon > div:first-child { display: flex; align-items: center; gap: 13px; }.phase-ribbon > div > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--midnight); color: #b7adff; font-size: 12px; font-weight: 800; }.phase-ribbon p { display: flex; flex-direction: column; gap: 3px; margin: 0; }.phase-ribbon p strong { font-size: 10px; }.phase-ribbon p small { color: var(--muted); font-size: 8px; }.phase-line { display: grid; grid-template-columns: repeat(8,1fr); gap: 5px; }.phase-line i { height: 3px; border-radius: 4px; background: #e3e0eb; }.phase-line i:nth-child(-n+6) { background: var(--success); }.phase-line i:nth-child(7) { background: var(--violet); }.phase-caption { color: var(--muted); font-size: 8px; white-space: nowrap; }

.table-card { overflow: hidden; }.table-toolbar { display: flex; align-items: center; gap: 10px; min-height: 67px; padding: 13px 17px; border-bottom: 1px solid var(--line); }.filter-search { display: flex; width: min(360px, 36vw); height: 39px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #dfdde7; border-radius: 10px; background: #fafafd; }.filter-search span { color: var(--violet); font-size: 17px; }.filter-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }.table-toolbar select { height: 39px; padding: 0 30px 0 11px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; color: #555363; font-size: 10px; }.toolbar-count { margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 700; }.data-table-wrap { overflow: auto; }.data-table { width: 100%; border-collapse: collapse; }.data-table th { height: 42px; padding: 0 17px; background: #fafafd; color: #858392; font-size: 8px; letter-spacing: .09em; text-align: left; text-transform: uppercase; white-space: nowrap; }.data-table td { height: 66px; padding: 10px 17px; border-top: 1px solid #efedf4; color: #5f5d6c; font-size: 10px; vertical-align: middle; }.data-table tbody tr:hover { background: #fcfbff; }.person-cell { display: flex; align-items: center; gap: 11px; min-width: 215px; }.person-cell > div, .table-primary + .table-sub, .data-table time { display: flex; flex-direction: column; }.person-cell strong, .table-primary { color: var(--ink); font-size: 10px; }.person-cell small, .table-sub, .data-table time small { margin-top: 4px; color: #8c8999; font-size: 8px; }.avatar { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #5538cd; background: #ebe6ff; font-size: 9px; font-weight: 850; }.avatar-1 { color: #087b56; background: #def7ed; }.avatar-2 { color: #a16a00; background: #fff0c9; }.avatar-3 { color: #a23f58; background: #ffe4eb; }.data-table code { padding: 4px 6px; border-radius: 5px; background: #f2f1f6; color: #615f6d; font-family: "Cascadia Mono", Consolas, monospace; font-size: 8px; }.table-sub { display: block; }.row-action { width: 30px; height: 30px; border-radius: 8px; }.row-action:hover { background: var(--violet-wash); }.table-footer { display: flex; height: 54px; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }.table-footer div { display: flex; gap: 5px; }.table-footer button { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }.table-footer button:disabled { opacity: .35; cursor: default; }
.toast-success { position: fixed; z-index: 70; top: 87px; right: 26px; display: flex; align-items: center; gap: 9px; max-width: 440px; padding: 11px 13px; border: 1px solid #bcead9; border-radius: 12px; background: #f1fcf8; color: #176d50; box-shadow: var(--shadow-lg); font-size: 10px; }.toast-success > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--success); color: white; }.toast-success button { margin-left: auto; border: 0; background: transparent; cursor: pointer; }
.zg-notice-enter { animation: zg-notice-enter .32s cubic-bezier(.2,.8,.2,1) both; }
.zg-notice-leaving { pointer-events:none; animation: zg-notice-leave .26s ease-in both; }
@keyframes zg-notice-enter { from { opacity:0; transform:translate3d(24px,-8px,0) scale(.97); } to { opacity:1; transform:translate3d(0,0,0) scale(1); } }
@keyframes zg-notice-leave { from { opacity:1; transform:translate3d(0,0,0) scale(1); } to { opacity:0; transform:translate3d(18px,-5px,0) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .zg-notice-enter,.zg-notice-leaving { animation-duration:.01ms; } }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(11,10,19,.54); backdrop-filter: blur(5px); }.modal-panel { width: min(650px, 100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; background: white; box-shadow: var(--shadow-lg); }.modal-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }.modal-panel h2 { margin: 0; font-size: 19px; }.modal-panel > header button { border: 0; background: transparent; color: #8c8999; font-size: 22px; cursor: pointer; }.modal-panel form { padding: 21px 22px; }.form-grid { display: grid; gap: 15px; }.two-columns { grid-template-columns: 1fr 1fr; }.form-grid label, .login-form label { display: flex; flex-direction: column; gap: 7px; color: #4e4b5c; font-size: 9px; font-weight: 760; }.form-grid input, .login-form input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #dad7e4; border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; transition: .16s; }.form-grid input:focus, .login-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,74,255,.1); }.form-grid input.invalid { border-color: var(--danger); }.full-field { grid-column: 1 / -1; }.modal-panel form > footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }.validation-summary { margin-bottom: 13px; color: var(--danger); font-size: 9px; }.validation-summary ul { margin: 0; padding-left: 18px; }

.role-summary-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 18px; }.role-card { display: grid; grid-template-columns: 39px 1fr; gap: 10px; min-height: 156px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }.role-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--violet-wash), #e2dcff); color: var(--violet-deep); font-size: 10px; font-weight: 850; }.system-tag { color: var(--violet); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.role-card h2 { margin: 5px 0 5px; font-size: 12px; }.role-card p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }.role-card footer { grid-column: 1 / -1; display: flex; gap: 15px; align-self: end; padding-top: 10px; border-top: 1px solid #efedf4; color: var(--muted); font-size: 8px; }.role-card footer strong { color: var(--ink); }.matrix-card { overflow: hidden; }.matrix-legend { display: flex; gap: 12px; color: var(--muted); font-size: 8px; }.matrix-legend span { display: flex; align-items: center; gap: 4px; }.matrix-legend i { width: 7px; height: 7px; border-radius: 50%; }.scope-own { background: #8f8ca0; }.scope-team { background: #4b69d1; }.scope-tenant { background: var(--violet); }.permission-matrix th:not(:first-child), .permission-matrix td:not(:first-child) { min-width: 112px; text-align: center; }.permission-matrix td:first-child { min-width: 220px; }.permission-matrix td:first-child strong, .permission-matrix td:first-child small { display: block; }.permission-matrix td:first-child small { margin-top: 3px; color: #aaa7b4; font-family: monospace; font-size: 7px; }.matrix-group td { height: 30px; background: #f6f4ff; color: var(--violet-deep); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.permission-grant { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: white; font-size: 9px; }.permission-none { color: #cfccd7; }
.heading-proof { display: flex; flex-direction: column; align-items: flex-end; }.heading-proof span { padding: 7px 10px; border-radius: 8px; background: var(--midnight); color: #c7bfff; font-family: monospace; font-size: 10px; }.heading-proof small { margin-top: 5px; color: var(--muted); font-size: 8px; }.audit-banner { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; margin-bottom: 17px; padding: 14px 17px; }.audit-shield { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--violet-wash); color: var(--violet); font-size: 20px; }.audit-banner strong { font-size: 10px; }.audit-banner p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }.audit-action { display: inline-flex; padding: 5px 8px; border-radius: 8px; background: #f0edff; color: var(--violet-deep); font-size: 8px; font-weight: 800; }.audit-action.created { background: var(--success-wash); color: #08774f; }.audit-action.deleted { background: var(--danger-wash); color: var(--danger); }.mono { font-family: monospace; }.actor-chip { padding: 5px 7px; border-radius: 7px; background: #f4f3f7; font-family: monospace; font-size: 8px; }.hash-chip { color: var(--violet-deep) !important; background: var(--violet-wash) !important; }

.tenant-hero { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 18px; margin-bottom: 18px; padding: 21px; color: white; background: radial-gradient(circle at 80% -40%, rgba(109,74,255,.45), transparent 45%), var(--midnight); border-color: #27233b; }.tenant-large-avatar { position: relative; display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid rgba(168,154,255,.25); border-radius: 18px; background: linear-gradient(135deg,#7758ff,#4528ad); font-size: 17px; font-weight: 850; box-shadow: 0 15px 32px rgba(109,74,255,.25); }.tenant-large-avatar span { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border: 3px solid var(--midnight); border-radius: 50%; background: var(--success); }.tenant-hero h2 { margin: 4px 0; font-size: 21px; }.tenant-hero p { margin: 0; color: #9895a8; font-size: 9px; }.tenant-id { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }.tenant-id span { color: #858294; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.tenant-id code { padding: 7px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: rgba(255,255,255,.05); color: #c5bdff; font-size: 8px; }.settings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }.settings-card { overflow: hidden; }.settings-card > .card-header > span { color: var(--violet); font-size: 19px; }.detail-list { margin: 0; padding: 8px 20px 16px; }.detail-list > div { display: grid; grid-template-columns: 145px 1fr; padding: 11px 0; border-bottom: 1px solid #f0eff4; }.detail-list > div:last-child { border: 0; }.detail-list dt { color: var(--muted); font-size: 9px; }.detail-list dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 700; }.brand-preview { position: relative; display: grid; min-height: 155px; place-items: center; overflow: hidden; background: var(--midnight); }.brand-preview .brand-lockup { transform: scale(1.2); color: white; }.color-orbits i { position: absolute; border-radius: 50%; opacity: .4; }.color-orbits i:nth-child(1) { width: 130px; height: 130px; right: -60px; top: -60px; }.color-orbits i:nth-child(2) { width: 80px; height: 80px; left: -30px; bottom: -30px; border: 1px solid var(--violet-light); }.color-orbits i:nth-child(3) { width: 6px; height: 6px; right: 20%; bottom: 18%; background: #f3bd4c; box-shadow: 0 0 10px #f3bd4c; }.token-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; }.token-row span { display: flex; align-items: center; gap: 7px; font-size: 9px; }.token-row i { width: 13px; height: 13px; border-radius: 4px; }.token-row code { color: var(--muted); font-size: 9px; }.check-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 16px; list-style: none; }.check-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0eff4; }.check-list li:last-child { border: 0; }.check-list i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: var(--success-wash); color: var(--success); font-style: normal; font-size: 9px; }.check-list span { display: flex; flex-direction: column; gap: 3px; }.check-list strong { font-size: 9px; }.check-list small { color: var(--muted); font-size: 8px; }.isolation-visual { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 115px; padding: 16px; }.isolation-visual span { padding: 10px 11px; border: 1px solid #dcd7ff; border-radius: 10px; background: var(--violet-wash); color: var(--violet-deep); font-size: 8px; font-weight: 800; }.isolation-visual i { color: #aaa6b6; font-style: normal; }.isolation-card > p { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.5; }

.command-dialog { width: min(620px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 18px; background: transparent; box-shadow: var(--shadow-lg); }.command-dialog::backdrop { background: rgba(12,10,22,.54); backdrop-filter: blur(4px); }.command-box { overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 18px; background: #fff; }.command-input { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); }.command-input > span { color: var(--violet); font-size: 22px; }.command-input input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 13px; }.command-group { padding: 12px; }.command-group > span { display: block; padding: 4px 8px 8px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.command-group a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px; border-radius: 11px; }.command-group a:hover { background: var(--violet-wash); }.command-group a > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #f2f0f8; color: var(--violet); font-style: normal; font-size: 17px; }.command-group a > span { display: flex; flex-direction: column; gap: 3px; }.command-group strong { font-size: 10px; }.command-group small { color: var(--muted); font-size: 8px; }.command-box footer { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); background: #fafafd; color: var(--muted); font-size: 8px; }.command-box footer kbd { margin-right: 3px; }

.account-shell { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 100vh; background: #fff; }.login-visual { position: relative; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: 36px 48px 28px; overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 110%, rgba(109,74,255,.35), transparent 38%), linear-gradient(145deg,#151322,#0d0d16 70%); }.login-visual::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(168,154,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(168,154,255,.12) 1px,transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle at 50% 50%,black,transparent 75%); }.login-brand, .login-message, .login-proof { position: relative; z-index: 2; }.login-logo .brand-mark { width: 51px; height: 51px; }.login-logo .brand-copy strong { font-size: 18px; }.login-orbits { position: absolute; width: min(52vw,650px); aspect-ratio: 1; left: 48%; top: 45%; transform: translate(-50%,-50%); }.login-orbits i { position: absolute; inset: 9%; border: 1px solid rgba(168,154,255,.18); border-radius: 50%; }.login-orbits i:nth-child(2) { inset: 23%; border-style: dashed; transform: rotate(17deg); }.login-orbits i:nth-child(3) { inset: 36%; border-color: rgba(255,255,255,.09); }.login-orbits span { position: absolute; left: 12%; top: 31%; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-light); box-shadow: 0 0 22px var(--violet); }.login-orbits b { position: absolute; right: 18%; top: 16%; width: 5px; height: 5px; border-radius: 50%; background: #f2ba45; box-shadow: 0 0 15px #f2ba45; }.login-orbits em { position: absolute; left: 46%; bottom: 9%; width: 4px; height: 4px; border-radius: 50%; background: var(--violet); }.login-message { max-width: 560px; margin: auto 0; }.login-message h1 { margin: 0; font-size: clamp(40px,5vw,67px); line-height: .98; letter-spacing: -.055em; }.login-message h1 span { color: #a99bff; }.login-message p { max-width: 480px; margin: 22px 0 0; color: #aaa7b6; font-size: 13px; line-height: 1.65; }.login-proof { display: flex; align-items: center; gap: 13px; color: #777584; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.login-proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--violet); }.login-panel { display: grid; place-items: center; padding: 40px; background: linear-gradient(145deg,#fff,#fbfaff); }.login-form-wrap { width: min(400px,100%); }.login-form-wrap > .eyebrow { margin-bottom: 10px; }.login-form-wrap > h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }.login-form-wrap > p { margin: 9px 0 25px; color: var(--muted); font-size: 11px; }.login-form { display: flex; flex-direction: column; gap: 16px; }.login-form label > span { display: flex; justify-content: space-between; }.login-form label a { color: var(--violet); font-weight: 700; }.login-form input { height: 47px; font-size: 11px; }.check-label { flex-direction: row !important; align-items: center; font-weight: 500 !important; }.check-label input { width: 16px; height: 16px; accent-color: var(--violet); }.check-label span { color: var(--muted); }.login-form .button { min-height: 48px; margin-top: 2px; }.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: #aaa7b6; font-size: 7px; text-transform: uppercase; letter-spacing: .12em; }.login-divider::before,.login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }.login-form-wrap > footer { margin-top: 24px; color: #aaa7b4; font-size: 7px; line-height: 1.5; text-align: center; }.login-form-wrap > footer a { color: #7e6fc9; }.login-mobile-brand { display: none; }.alert { display: flex; gap: 9px; margin-bottom: 15px; padding: 11px 12px; border-radius: 10px; font-size: 9px; line-height: 1.4; }.alert p { margin: 0; }.alert-danger { border: 1px solid #f3c7ce; background: var(--danger-wash); color: #9b3345; }.alert-danger > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--danger); color: white; font-weight: 850; }
.state-page { display: grid; min-height: 65vh; place-items: center; align-content: center; text-align: center; }.state-page h1 { margin: 5px 0 10px; font-size: 31px; }.state-page p { max-width: 520px; margin: 0 0 22px; color: var(--muted); line-height: 1.6; }.state-orbit { display: grid; width: 90px; height: 90px; margin-bottom: 18px; place-items: center; border: 1px dashed #b8adf8; border-radius: 50%; }.state-orbit span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--violet-wash); color: var(--violet); font-size: 20px; font-weight: 850; }.page-loading { display: grid; min-height: 60vh; place-items: center; align-content: center; gap: 14px; color: var(--muted); }.orbit-loader { width: 48px; height: 48px; border: 2px dashed var(--violet-light); border-top-color: var(--violet); border-radius: 50%; animation: orbit 1.1s linear infinite; }.page-loading p { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }.mobile-scrim { display: none; }

body.sidebar-collapsed .sidebar { width: var(--sidebar-mini); }.sidebar-collapsed .workspace { margin-left: var(--sidebar-mini); }.sidebar-collapsed .brand-copy,.sidebar-collapsed .tenant-copy,.sidebar-collapsed .chevron,.sidebar-collapsed .nav-label,.sidebar-collapsed .main-nav a > span:last-child,.sidebar-collapsed .system-state div,.sidebar-collapsed .profile-copy,.sidebar-collapsed .profile-more { opacity: 0; pointer-events: none; }.sidebar-collapsed .brand-link { min-width: 46px; }.sidebar-collapsed .sidebar-head { justify-content: center; }.sidebar-collapsed .sidebar-collapse { position: absolute; right: -28px; border-color: var(--line); background: #fff; color: var(--violet); box-shadow: var(--shadow-sm); transform: rotate(180deg); }.sidebar-collapsed .tenant-switcher { grid-template-columns: 36px; justify-content: center; padding-inline: 10px; }.sidebar-collapsed .main-nav a { justify-content: center; padding-inline: 0; }.sidebar-collapsed .main-nav a.active::before { left: -14px; }.sidebar-collapsed .profile-block { grid-template-columns: 36px; justify-content: center; }.sidebar-collapsed .system-state { justify-content: center; }

.timer-stage { position: relative; display: grid; grid-template-columns: 170px 1fr auto; min-height: 270px; align-items: center; gap: 34px; margin-bottom: 20px; padding: 30px 38px; overflow: hidden; border: 1px solid #292641; border-radius: 22px; color: #fff; background: radial-gradient(circle at 84% -20%, rgba(109,74,255,.45), transparent 45%), radial-gradient(circle at 6% 120%, rgba(228,163,27,.13), transparent 34%), var(--midnight); box-shadow: 0 22px 54px rgba(16,16,26,.19); }
.timer-stage::after { content: ""; position: absolute; inset: 0 0 0 45%; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(168,154,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(168,154,255,.18) 1px,transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg,transparent,black); }
.timer-orbit { position: relative; z-index: 1; width: 150px; height: 150px; }.timer-orbit > i { position: absolute; border: 1px solid rgba(168,154,255,.3); border-radius: 50%; }.timer-orbit > i:nth-child(1) { inset: 0; }.timer-orbit > i:nth-child(2) { inset: 15px; border-style: dashed; animation: orbit 18s linear infinite; }.timer-orbit > i:nth-child(3) { inset: 35px; border-color: rgba(255,255,255,.12); }.timer-orbit::before,.timer-orbit::after { content: ""; position: absolute; z-index: 3; width: 8px; height: 8px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 14px rgba(228,163,27,.7); }.timer-orbit::before { right: 10px; top: 29px; }.timer-orbit::after { left: 17px; bottom: 19px; width: 5px; height: 5px; background: var(--violet-light); }.timer-core { position: absolute; inset: 49px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg,#7959ff,#4326a8); box-shadow: 0 12px 35px rgba(109,74,255,.5); font-size: 23px; }.timer-stage.running .timer-core,.timer-stage.paused .timer-core { background: linear-gradient(135deg,#f2bd4b,#b97705); box-shadow: 0 12px 35px rgba(228,163,27,.38); }.timer-stage.paused .timer-orbit > i:nth-child(2) { animation-play-state: paused; }
.timer-display { position: relative; z-index: 2; }.timer-display .card-kicker { display: flex; align-items: center; gap: 7px; margin: 0; color: #bfb5ff; }.timer-display .card-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 9px rgba(228,163,27,.8); }.timer-display > strong { display: block; margin: 10px 0 7px; font-size: clamp(45px,6vw,76px); line-height: .95; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }.timer-display h2 { margin: 13px 0 5px; font-size: 15px; }.timer-display p { margin: 0; color: #a6a3b4; font-size: 10px; }.billable-chip { display: inline-flex; margin-left: 7px; padding: 4px 7px; border-radius: 99px; color: #50dbaa; background: rgba(19,168,112,.15); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.timer-controls { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; }.timer-control { display: flex; min-width: 170px; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; font-size: 10px; font-weight: 800; }.timer-control:hover { border-color: rgba(168,154,255,.4); background: rgba(109,74,255,.16); }.timer-control.stop { border-color: rgba(217,71,91,.25); color: #ffbdc6; background: rgba(217,71,91,.11); }.timer-control.resume { border-color: rgba(19,168,112,.25); color: #71e9bd; background: rgba(19,168,112,.12); }
.timer-workspace-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; padding-bottom: 80px; }.timer-form-card,.day-flow-card { overflow: hidden; }.timer-form-card > .card-header > span,.manual-entry-card > .card-header > span { color: var(--violet); font-size: 20px; }.timer-form-card form,.manual-entry-card form { padding: 20px; }.form-grid select,.form-grid textarea { width: 100%; border: 1px solid #dedce7; border-radius: 9px; color: var(--ink); background: #fff; font-size: 11px; transition: .16s; }.form-grid select { height: 39px; padding: 0 10px; }.form-grid textarea { min-height: 76px; padding: 10px; resize: vertical; }.form-grid select:focus,.form-grid textarea:focus { border-color: var(--violet); outline: 0; box-shadow: 0 0 0 3px rgba(109,74,255,.1); }.toggle-field { flex-direction: row !important; align-items: center; gap: 8px; min-height: 39px; padding-top: 12px; }.toggle-field input { width: 16px !important; height: 16px !important; accent-color: var(--violet); }.toggle-field span { color: var(--muted); font-size: 9px; font-weight: 650; }
.day-balance-strip { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); background: #fbfaff; }.day-balance-strip > span { display: flex; min-height: 67px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 20px; border-right: 1px solid var(--line); }.day-balance-strip > span:last-child { border: 0; }.day-balance-strip small,.day-toolbar-metrics small { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }.day-balance-strip strong { font-size: 13px; }.balance-positive strong,.balance-positive { color: var(--success) !important; }.balance-negative strong,.balance-negative { color: var(--danger) !important; }.mini-timeline { max-height: 285px; padding: 12px 20px 18px; overflow: auto; }.mini-time-entry { display: grid; grid-template-columns: 80px 14px 1fr; align-items: center; gap: 10px; min-height: 55px; }.mini-time-entry time { color: #6b6878; font-family: monospace; font-size: 9px; }.mini-time-entry > i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }.mini-time-entry > i::after { content: ""; position: absolute; left: 3px; top: 10px; width: 1px; height: 35px; background: #ded9ff; }.mini-time-entry:last-child > i::after { display: none; }.mini-time-entry div { display: flex; flex-direction: column; gap: 4px; }.mini-time-entry strong { font-size: 9px; }.mini-time-entry small { color: var(--muted); font-size: 8px; }.empty-flow { display: flex; min-height: 145px; align-items: center; justify-content: center; gap: 13px; color: var(--muted); }.empty-flow > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px dashed #bdb3ff; border-radius: 50%; color: var(--violet); }.empty-flow p { display: flex; flex-direction: column; gap: 4px; margin: 0; }.empty-flow strong { color: var(--ink); font-size: 10px; }.empty-flow small { font-size: 8px; }

.timer-dock { position: fixed; right: 25px; bottom: 22px; z-index: 44; display: flex; min-width: 295px; min-height: 62px; align-items: center; overflow: hidden; border: 1px solid #36314f; border-radius: 17px; color: #fff; background: radial-gradient(circle at 20% 150%,rgba(109,74,255,.32),transparent 45%),var(--midnight); box-shadow: 0 18px 45px rgba(16,16,26,.32); }.timer-dock.idle { min-width: 165px; }.timer-dock-start,.timer-dock-main { display: flex; flex: 1; align-items: center; gap: 11px; padding: 10px 14px; }.timer-dock-start > span:first-child { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: #fff; background: var(--violet); font-size: 11px; box-shadow: 0 8px 20px rgba(109,74,255,.3); }.timer-dock-start > span:last-child,.timer-dock-main > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.timer-dock strong { font-size: 13px; font-variant-numeric: tabular-nums; }.timer-dock small { max-width: 165px; overflow: hidden; color: #9d99ab; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.timer-live-dot { width: 11px; height: 11px; flex: 0 0 auto; border: 3px solid rgba(228,163,27,.18); border-radius: 50%; background: var(--warning); box-shadow: 0 0 12px rgba(228,163,27,.65); }.timer-dock.paused .timer-live-dot { background: #918da0; box-shadow: none; }.timer-dock-actions { display: flex; gap: 5px; padding-right: 9px; }.timer-dock-actions button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; color: #d6d3e2; background: rgba(255,255,255,.06); cursor: pointer; font-size: 9px; }.timer-dock-actions button:hover { border-color: rgba(168,154,255,.4); color: #fff; }.timer-dock-actions .stop { color: #ff9baa; background: rgba(217,71,91,.1); }

.day-toolbar { display: flex; min-height: 70px; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 14px; }.day-toolbar > button:not(.button),.week-toolbar > button:not(.button) { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--violet); background: #fff; cursor: pointer; }.day-toolbar label { display: flex; flex-direction: column; gap: 3px; }.day-toolbar label span { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }.day-toolbar input { height: 30px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; font-weight: 750; }.day-toolbar-metrics { display: flex; align-self: stretch; gap: 0; margin-left: auto; }.day-toolbar-metrics > span { display: flex; min-width: 95px; flex-direction: column; justify-content: center; gap: 4px; padding: 0 16px; border-left: 1px solid var(--line); }.day-toolbar-metrics strong { font-size: 12px; }
.time-entry-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; padding-bottom: 80px; }.timeline-card,.manual-entry-card { overflow: hidden; }.time-flow { padding: 23px 25px 30px; }.flow-entry { display: grid; grid-template-columns: 58px 20px 1fr; gap: 12px; }.flow-time { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 9px; }.flow-time strong { font-family: monospace; font-size: 10px; }.flow-time span { color: var(--muted); font-family: monospace; font-size: 8px; }.flow-rail { position: relative; }.flow-rail i { position: absolute; top: 12px; left: 6px; z-index: 2; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px #ded8ff; }.flow-rail span { position: absolute; top: 20px; bottom: -15px; left: 10px; width: 1px; background: #ddd8f8; }.flow-card { margin-bottom: 14px; padding: 15px 17px; border: 1px solid #ded9fa; border-left: 3px solid var(--violet); border-radius: 13px; background: linear-gradient(105deg,#faf9ff,#fff); }.flow-card.internal { border-color: #e4e3e9; border-left-color: #8e8b99; background: #fbfbfc; }.flow-card > div:first-child { display: flex; justify-content: space-between; }.project-code,.entry-source { padding: 4px 7px; border-radius: 7px; color: var(--violet-deep); background: var(--violet-wash); font-size: 7px; font-weight: 850; }.entry-source { color: #777485; background: #f0eff3; }.flow-card h3 { margin: 9px 0 3px; font-size: 12px; }.flow-card p { margin: 0; color: var(--muted); font-size: 9px; }.flow-card > small { display: block; margin-top: 8px; color: #817e8d; font-size: 8px; line-height: 1.5; }.flow-card footer { display: flex; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eceaf5; color: var(--muted); font-size: 8px; }.flow-card footer strong { color: var(--ink); }.flow-gap { display: grid; grid-template-columns: 90px 1fr; min-height: 48px; align-items: center; margin-top: -8px; }.flow-gap > span { position: relative; height: 100%; }.flow-gap > span::after { content: ""; position: absolute; right: 9px; inset-block: 0; border-left: 1px dashed #e0a941; }.flow-gap > div { display: flex; flex-direction: column; gap: 3px; padding: 8px 11px; border-radius: 9px; color: #8a650d; background: var(--warning-wash); }.flow-gap strong { font-size: 8px; }.flow-gap small { font-size: 7px; }.timeline-empty { display: grid; min-height: 390px; place-content: center; justify-items: center; text-align: center; }.timeline-empty > div { display: grid; width: 55px; height: 55px; place-items: center; border: 1px dashed #b8adf8; border-radius: 50%; color: var(--violet); font-size: 19px; }.timeline-empty h3 { margin: 14px 0 5px; font-size: 13px; }.timeline-empty p { margin: 0; color: var(--muted); font-size: 9px; }.manual-entry-card { align-self: start; position: sticky; top: 0; }.form-proof { margin: 13px 0 0; color: #92909e; font-size: 7px; line-height: 1.5; text-align: center; }

.week-toolbar { display: flex; min-height: 68px; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; }.week-toolbar > div { display: flex; min-width: 260px; flex-direction: column; gap: 4px; }.week-toolbar > div span { color: var(--violet); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }.week-toolbar > div strong { font-size: 11px; }.week-toolbar .button { margin-left: auto; }
.week-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }.week-metric { display: flex; min-height: 126px; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }.week-metric > span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }.week-metric > strong { margin: 9px 0 5px; color: var(--ink); font-size: 25px; letter-spacing: -.04em; }.week-metric > small { color: #93909f; font-size: 8px; }.week-metric.primary { color: white; border-color: #4d31bf; background: radial-gradient(circle at 100% 0,rgba(168,154,255,.35),transparent 50%),linear-gradient(135deg,#6d4aff,#4326a8); }.week-metric.primary > span,.week-metric.primary > small { color: #d2ccff; }.week-metric.primary > strong { color: #fff; }.week-metric.account { border-color: #302b48; color: #fff; background: var(--midnight); }.week-metric.account > span,.week-metric.account > small { color: #9b97aa; }.week-metric.account > strong { color: #d3cbff; }
.week-grid { margin-bottom: 18px; overflow: hidden; }.schedule-chip { padding: 6px 9px; border-radius: 8px; color: var(--violet-deep); background: var(--violet-wash); font-size: 8px; font-weight: 800; }.week-days { display: grid; grid-template-columns: repeat(7,1fr); min-height: 390px; }.week-day-card { display: flex; min-width: 0; flex-direction: column; padding: 16px 13px 13px; border-right: 1px solid var(--line); transition: .16s; }.week-day-card:last-child { border: 0; }.week-day-card:hover { background: #fbfaff; }.week-day-card.today { background: linear-gradient(#f6f3ff,#fff); box-shadow: inset 0 3px 0 var(--violet); }.week-day-card > header { display: flex; min-height: 62px; flex-direction: column; align-items: center; gap: 3px; }.week-day-card header span { color: var(--muted); font-size: 8px; text-transform: uppercase; }.week-day-card header strong { font-size: 20px; }.week-day-card header i { padding: 3px 6px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 6px; font-style: normal; font-weight: 850; text-transform: uppercase; }.week-bar { position: relative; height: 190px; margin: 10px auto 13px; width: 34px; overflow: hidden; border-radius: 10px; background: #f0eff4; }.week-bar > i { position: absolute; inset: auto 0 0; min-height: 3px; border-radius: 10px; background: linear-gradient(#a89aff,#6d4aff); }.week-bar .target-line { position: absolute; left: -4px; right: -4px; bottom: calc(100% - 3px); border-top: 1px dashed #777384; opacity: .45; }.week-day-values { display: flex; flex-direction: column; align-items: center; gap: 4px; }.week-day-values strong { font-size: 10px; }.week-day-values span { color: var(--muted); font-size: 7px; }.week-day-card footer { display: flex; justify-content: space-between; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #efedf3; font-size: 7px; }.week-day-card footer span { color: var(--muted); }.geist-check { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 15px; margin-bottom: 80px; padding: 17px 20px; }.geist-check-icon { display: grid; width: 49px; height: 49px; place-items: center; border: 1px dashed #b8adf8; border-radius: 50%; color: var(--violet); background: var(--violet-wash); font-size: 20px; }.geist-check .card-kicker { margin: 0 0 3px; }.geist-check h2 { margin: 0 0 4px; font-size: 13px; }.geist-check p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }

@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1180px) {
    .focus-card { grid-template-columns: 80px 1fr auto; }.focus-proof { display: none; }
    .metric-grid { grid-template-columns: repeat(2,1fr); }.role-summary-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 920px) {
    body:has(.app-shell) { overflow: hidden; }.sidebar { width: 272px; transform: translateX(-100%); }.workspace,.sidebar-collapsed .workspace { margin-left: 0; }.topbar { padding: 0 20px; }.mobile-menu { display: inline-grid; }.phase-badge { display: none; }.page-content { padding: 24px 20px 38px; }.dashboard-grid,.settings-grid { grid-template-columns: 1fr; }.mobile-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(10,9,17,.48); backdrop-filter: blur(3px); }.mobile-nav-open .sidebar { transform: translateX(0); }.mobile-nav-open .mobile-scrim { display: block; }.sidebar-collapse { display: none; }
    .account-shell { grid-template-columns: 1fr; }.login-visual { display: none; }.login-panel { min-height: 100vh; }.login-mobile-brand { display: block; margin-bottom: 40px; }.login-mobile-brand .brand-copy strong { color: var(--ink); }.login-mobile-brand .brand-copy small { color: var(--muted); }
}
@media (max-width: 680px) {
    .topbar { gap: 10px; padding: 0 14px; }.global-search { width: auto; flex: 1; }.global-search > span:nth-child(2),.global-search kbd { display: none; }.global-search { justify-content: center; }.top-actions .icon-button:first-of-type { display: none; }.page-content { padding: 21px 14px 32px; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading > .button { width: 100%; }.focus-card { grid-template-columns: 65px 1fr; gap: 16px; padding: 18px; }.focus-orbit { width: 65px; height: 65px; }.focus-orbit span { inset: 18px; }.focus-card > .button { grid-column: 1 / -1; }.metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-card { min-height: 128px; padding: 15px; }.metric-card > strong { font-size: 27px; }.readiness-body { grid-template-columns: 1fr; justify-items: center; }.readiness-list { width: 100%; }.phase-ribbon { grid-template-columns: 1fr; }.phase-line { order: 3; }.role-summary-grid { grid-template-columns: 1fr 1fr; }.table-toolbar { align-items: stretch; flex-wrap: wrap; }.filter-search { width: 100%; }.toolbar-count { display: none; }.data-table thead { display: none; }.data-table,.data-table tbody,.data-table tr,.data-table td { display: block; width: 100%; }.data-table tr { padding: 12px 15px; border-top: 1px solid var(--line); }.data-table td { display: grid; grid-template-columns: 110px 1fr; height: auto; min-height: 38px; align-items: center; padding: 5px 0; border: 0; }.data-table td::before { content: attr(data-label); color: #9491a0; font-size: 8px; text-transform: uppercase; }.data-table td:not([data-label]) { display: none; }.permission-matrix,.permission-matrix tbody,.permission-matrix tr,.permission-matrix td { display: revert; }.permission-matrix thead { display: table-header-group; }.permission-matrix tr { padding: 0; }.permission-matrix td { min-height: auto; padding: 10px; }.permission-matrix td::before { display: none; }.matrix-wrap { overflow: auto; }.two-columns { grid-template-columns: 1fr; }.full-field { grid-column: auto; }.tenant-hero { grid-template-columns: 55px 1fr; }.tenant-large-avatar { width: 53px; height: 53px; }.tenant-id { grid-column: 1 / -1; align-items: flex-start; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }.login-panel { padding: 25px; }.audit-banner { grid-template-columns: 40px 1fr; }.audit-banner .status-pill { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 430px) { .metric-grid,.role-summary-grid { grid-template-columns: 1fr; }.metric-card { min-height: 115px; }.focus-card { grid-template-columns: 1fr; }.focus-orbit { display: none; }.page-heading h1 { font-size: 30px; }.detail-list > div { grid-template-columns: 110px 1fr; } }

@media (max-width: 1180px) {
    .timer-stage { grid-template-columns: 135px 1fr auto; padding-inline: 28px; }.timer-orbit { width: 125px; height: 125px; }.timer-core { inset: 40px; }.timer-workspace-grid,.time-entry-layout { grid-template-columns: 1fr 1fr; }.week-metrics { grid-template-columns: repeat(2,1fr); }.week-days { overflow-x: auto; }.week-day-card { min-width: 125px; }
}
@media (max-width: 920px) {
    .timer-stage { grid-template-columns: 115px 1fr; }.timer-orbit { width: 105px; height: 105px; }.timer-core { inset: 33px; }.timer-controls { grid-column: 1 / -1; flex-direction: row; }.timer-control { flex: 1; }.timer-workspace-grid,.time-entry-layout { grid-template-columns: 1fr; }.manual-entry-card { position: static; }.week-days { justify-content: start; }.timer-dock { right: 18px; bottom: 16px; }
}
@media (max-width: 680px) {
    .timer-stage { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 24px 20px; text-align: center; }.timer-orbit { display: none; }.timer-display .card-kicker { justify-content: center; }.timer-display > strong { font-size: 48px; }.timer-controls { flex-direction: column; }.timer-control { width: 100%; }.day-balance-strip { grid-template-columns: 1fr; }.day-balance-strip > span { min-height: 52px; border-right: 0; border-bottom: 1px solid var(--line); }.day-toolbar { flex-wrap: wrap; }.day-toolbar-metrics { width: 100%; margin-left: 0; border-top: 1px solid var(--line); }.day-toolbar-metrics > span { min-width: 0; flex: 1; padding-top: 10px; border-left: 0; }.flow-entry { grid-template-columns: 46px 15px 1fr; gap: 7px; }.time-flow { padding-inline: 12px; }.flow-card footer { flex-wrap: wrap; }.week-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }.week-metric { min-height: 112px; padding: 14px; }.week-metric > strong { font-size: 20px; }.week-toolbar { flex-wrap: wrap; }.week-toolbar > div { min-width: 0; flex: 1; }.week-toolbar .button { width: 100%; margin-left: 0; }.geist-check { grid-template-columns: 45px 1fr; }.geist-check .button { grid-column: 1 / -1; }.timer-dock { right: 12px; bottom: 10px; max-width: calc(100vw - 24px); min-width: 270px; }.timer-dock.idle { min-width: 155px; }.timer-dock-main { min-width: 0; }.timer-dock small { max-width: 115px; }
}
@media (max-width: 430px) {
    .week-metrics { grid-template-columns: 1fr; }.day-toolbar > .button { width: auto; }.timer-display > strong { font-size: 41px; }.time-entry-layout { padding-bottom: 100px; }
}

/* Phase 7 · Terminal, Kiosk und Mobile */
.terminal-admin-heading { align-items: center; }
.terminal-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }
.terminal-kpis article { display: flex; min-height: 96px; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.terminal-kpi-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; font-size: 16px; font-weight: 900; }
.terminal-kpi-icon.violet { color: var(--violet); background: var(--violet-wash); }.terminal-kpi-icon.green { color: var(--success); background: var(--success-wash); }.terminal-kpi-icon.blue { color: #2682cc; background: #eaf6ff; }.terminal-kpi-icon.amber { color: #b87500; background: var(--warning-wash); }
.terminal-kpis article div { display: flex; flex-direction: column; gap: 4px; }.terminal-kpis strong { font-size: 20px; letter-spacing: -.04em; }.terminal-kpis small { color: var(--muted); font-size: 7px; }
.terminal-admin-grid,.terminal-lower-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.terminal-config-card,.terminal-device-card,.terminal-credential-list,.terminal-operation-card { overflow: hidden; }
.terminal-card-copy { margin: 0; padding: 0 20px 15px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.terminal-admin-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 17px 20px 20px; border-top: 1px solid #efedf4; background: #fcfbfe; }
.terminal-admin-form > label:not(.terminal-toggle) { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #716e7d; font-size: 7px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.terminal-admin-form input,.terminal-admin-form select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #dfdde8; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 9px; text-transform: none; letter-spacing: 0; outline: 0; }
.terminal-admin-form input:focus,.terminal-admin-form select:focus { border-color: #a797ff; box-shadow: 0 0 0 3px rgba(109,74,255,.1); }
.terminal-admin-form .button { grid-column: 1 / -1; }
.terminal-toggle { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid #e4e1eb; border-radius: 10px; background: white; }.terminal-toggle input { width: 14px; height: 14px; }.terminal-toggle span { display: flex; flex-direction: column; gap: 2px; }.terminal-toggle strong { font-size: 8px; }.terminal-toggle small { color: var(--muted); font-size: 6px; }
.credential-security-note { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #554795; background: var(--violet-wash); }.credential-security-note i { font-size: 17px; font-style: normal; }.credential-security-note span { display: flex; flex-direction: column; gap: 2px; }.credential-security-note strong { font-size: 8px; }.credential-security-note small { font-size: 6px; }
.terminal-issued-secret { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 20px 16px; padding: 14px; border: 1px solid #c9bfff; border-radius: 13px; background: linear-gradient(135deg,#f2eeff,#faf8ff); }.terminal-issued-secret > span { align-self: center; color: #6657a6; font-size: 7px; font-weight: 800; text-transform: uppercase; }.terminal-issued-secret > strong { color: var(--violet-deep); font-size: 10px; }.terminal-issued-secret code { grid-column: 1 / -1; padding: 10px; overflow: auto; border: 1px dashed #c6b9ff; border-radius: 8px; background: white; color: #4c358e; font-size: 7px; white-space: nowrap; }.terminal-issued-secret button { grid-column: 1 / -1; justify-self: end; border: 0; background: transparent; color: var(--violet); font-size: 7px; font-weight: 800; cursor: pointer; }
.terminal-device-card { margin-bottom: 18px; }.terminal-device-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 18px; border-top: 1px solid #efedf4; background: #faf9fc; }
.terminal-device-tile { overflow: hidden; border: 1px solid #e7e4ed; border-radius: 14px; background: white; box-shadow: 0 3px 12px rgba(25,19,50,.035); }.terminal-device-tile > header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 14px; }.device-platform-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--violet); background: var(--violet-wash); font-size: 16px; font-weight: 850; }.terminal-device-tile header div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.terminal-device-tile header strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.terminal-device-tile header small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.device-state { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 99px; color: #0c8159; background: var(--success-wash); font-size: 6px; font-weight: 850; text-transform: uppercase; }.device-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }.terminal-device-tile.locked .device-state { color: #9c6c0d; background: var(--warning-wash); }.terminal-device-tile.locked .device-state i { background: #d89d28; }.terminal-device-tile.revoked { opacity: .65; }.terminal-device-tile.revoked .device-state { color: #9b5261; background: var(--danger-wash); }.terminal-device-tile.revoked .device-state i { background: var(--danger); }
.terminal-device-tile dl { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; border-block: 1px solid #efedf4; }.terminal-device-tile dl div { min-width: 0; padding: 10px; }.terminal-device-tile dl div + div { border-left: 1px solid #efedf4; }.terminal-device-tile dt { margin-bottom: 4px; color: var(--muted); font-size: 5px; font-weight: 800; text-transform: uppercase; }.terminal-device-tile dd { margin: 0; overflow: hidden; color: #625f6e; font-size: 6px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.terminal-device-tile footer { display: flex; justify-content: flex-end; gap: 12px; padding: 9px 13px; }
.terminal-list-body { max-height: 435px; overflow: auto; border-top: 1px solid #efedf4; }.terminal-list-row { display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; min-height: 58px; padding: 10px 15px; border-bottom: 1px solid #f0eef4; }.terminal-list-row > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.terminal-list-row strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.terminal-list-row small { color: var(--muted); font-size: 6px; }.credential-kind,.operation-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 900; }.operation-mark.approved { color: var(--success); background: var(--success-wash); }.operation-mark.rejected { color: var(--danger); background: var(--danger-wash); }.operation-mark.withdrawn { color: #9a6b0a; background: var(--warning-wash); }

/* Ablenkungsfreier Terminalmodus */
.terminal-shell { min-height: 100vh; color: #f8f7ff; background: radial-gradient(circle at 50% -15%,#41317b 0,transparent 43%),radial-gradient(circle at 100% 70%,#251a52 0,transparent 35%),#100f18; font-family: Inter,system-ui,-apple-system,sans-serif; }
.terminal-topbar { display: flex; height: 76px; align-items: center; justify-content: space-between; padding: 0 clamp(20px,4vw,58px); border-bottom: 1px solid rgba(255,255,255,.07); }.terminal-brand { display: block; width: 112px; filter: brightness(0) invert(1); }.terminal-brand svg { display: block; max-width: 100%; }.terminal-network { display: flex; align-items: center; gap: 8px; color: #a8d9c4; font-size: 12px; font-weight: 700; }.terminal-network i { width: 8px; height: 8px; border-radius: 50%; background: #40d399; box-shadow: 0 0 0 6px rgba(64,211,153,.1); }.terminal-network.offline { color: #ffd37c; }.terminal-network.offline i { background: #efb84b; box-shadow: 0 0 0 6px rgba(239,184,75,.12); }.terminal-admin-link { padding: 9px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; color: #aaa5bb; font-size: 11px; font-weight: 700; text-decoration: none; }.terminal-main { min-height: calc(100vh - 130px); }.terminal-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(20px,4vw,58px); color: #777286; font-size: 10px; }.terminal-footer small { font-size: 9px; }
.terminal-kiosk { position: relative; display: flex; min-height: calc(100vh - 130px); flex-direction: column; align-items: center; padding: 44px 20px 30px; overflow: hidden; }.terminal-kiosk-aura { position: absolute; top: 160px; left: 50%; width: 580px; height: 580px; transform: translateX(-50%); border-radius: 50%; background: rgba(109,74,255,.12); filter: blur(90px); pointer-events: none; }.terminal-kiosk-intro { position: relative; margin-bottom: 23px; text-align: center; }.terminal-kiosk-eyebrow { color: #a99aff; font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }.terminal-kiosk-intro h1 { margin: 8px 0 10px; font-size: clamp(28px,4vw,42px); letter-spacing: -.045em; }.terminal-kiosk-intro p { margin: 0; color: #b5afc5; font-size: 15px; font-variant-numeric: tabular-nums; text-transform: capitalize; }
.terminal-kiosk-card { position: relative; width: min(620px,100%); padding: clamp(23px,4vw,36px); border: 1px solid rgba(255,255,255,.11); border-radius: 27px; background: linear-gradient(145deg,rgba(38,35,52,.96),rgba(25,23,36,.98)); box-shadow: 0 35px 90px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.05); }.terminal-step { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }.terminal-step > span { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #c6bbff; background: rgba(109,74,255,.18); font-size: 11px; font-weight: 900; }.terminal-step > div { display: flex; flex-direction: column; gap: 4px; }.terminal-step strong { font-size: 17px; }.terminal-step small { color: #9993a9; font-size: 11px; line-height: 1.4; }
.terminal-kiosk-form { display: grid; gap: 13px; }.terminal-kiosk-form.two-fields { grid-template-columns: repeat(2,1fr); }.terminal-kiosk-form label,.terminal-booking-fields label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #9993a9; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.terminal-kiosk-form input,.terminal-booking-fields input,.terminal-booking-fields select { width: 100%; height: 51px; padding: 0 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(11,10,17,.45); color: white; font: inherit; font-size: 13px; outline: 0; }.terminal-kiosk-form input:focus,.terminal-booking-fields input:focus,.terminal-booking-fields select:focus { border-color: #876fff; box-shadow: 0 0 0 4px rgba(109,74,255,.13); }.terminal-booking-fields select option { color: #17151f; }
.terminal-primary-action { display: flex; width: 100%; min-height: 53px; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; border: 0; border-radius: 13px; color: white; background: linear-gradient(135deg,#7b5cff,#5834d4); box-shadow: 0 13px 28px rgba(80,48,205,.28); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }.terminal-primary-action:hover { transform: translateY(-1px); filter: brightness(1.08); }.terminal-primary-action span { font-size: 20px; }.terminal-link-action { display: block; margin: 15px auto 0; border: 0; color: #8e889f; background: transparent; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.terminal-medium-tabs { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-bottom: 18px; }.terminal-medium-tabs button { min-height: 39px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #9f99af; background: rgba(255,255,255,.025); font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }.terminal-medium-tabs button.active { border-color: #8067f8; color: white; background: rgba(109,74,255,.24); }.terminal-pin-field { position: relative; display: block; }.terminal-pin-field > span { position: absolute; top: 11px; left: 14px; color: #827c90; font-size: 9px; font-weight: 800; text-transform: uppercase; }.terminal-pin-field input { width: 100%; height: 70px; padding: 26px 15px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(9,8,14,.45); color: white; font-size: 24px; letter-spacing: .18em; outline: 0; }.terminal-pin-field input:focus { border-color: #8067f8; box-shadow: 0 0 0 4px rgba(109,74,255,.13); }.terminal-numpad { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }.terminal-numpad button { min-height: 48px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; color: #eeeafd; background: rgba(255,255,255,.04); font: inherit; font-size: 17px; font-weight: 750; cursor: pointer; }.terminal-numpad button:hover { background: rgba(109,74,255,.18); }
.terminal-person { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 13px; margin-bottom: 18px; }.terminal-person > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; color: white; background: linear-gradient(145deg,#8065ff,#4f2fc2); font-size: 16px; font-weight: 900; }.terminal-person > div { display: flex; flex-direction: column; gap: 4px; }.terminal-person small { color: #8f899e; font-size: 9px; }.terminal-person strong { font-size: 17px; }.terminal-person > b { padding: 7px 10px; border-radius: 99px; color: #54d6a2; background: rgba(48,190,133,.12); font-size: 9px; text-transform: uppercase; }.terminal-person > b.abwesend { color: #aaa4b7; background: rgba(255,255,255,.06); }.terminal-person > b.pause { color: #ffd173; background: rgba(239,184,75,.12); }
.terminal-current-session { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 15px; margin-bottom: 15px; padding: 15px 17px; border: 1px solid rgba(121,96,246,.25); border-radius: 13px; background: rgba(109,74,255,.09); }.terminal-current-session span { color: #aaa2c5; font-size: 9px; font-weight: 800; text-transform: uppercase; }.terminal-current-session strong { grid-row: span 2; font-size: 24px; font-variant-numeric: tabular-nums; }.terminal-current-session small { color: #8d86a0; font-size: 9px; }.terminal-booking-fields { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11px; margin-bottom: 13px; }.terminal-action-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }.terminal-action-grid .terminal-book-action:only-child { grid-column: 1 / -1; }.terminal-book-action { display: flex; min-height: 91px; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; color: white; background: rgba(255,255,255,.035); font: inherit; text-align: left; cursor: pointer; }.terminal-book-action:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); }.terminal-book-action i { display: grid; width: 45px; height: 45px; flex: 0 0 auto; place-items: center; border-radius: 13px; font-size: 21px; font-style: normal; }.terminal-book-action.arrive i { color: #63e1ad; background: rgba(50,197,139,.13); }.terminal-book-action.leave i { color: #ff8d96; background: rgba(226,75,90,.13); }.terminal-book-action.break i { color: #ffd276; background: rgba(239,184,75,.13); }.terminal-book-action span { display: flex; flex-direction: column; gap: 5px; }.terminal-book-action strong { font-size: 15px; }.terminal-book-action small { color: #918b9f; font-size: 9px; }
.terminal-result { padding: 12px 0 3px; text-align: center; }.terminal-result > span { display: grid; width: 76px; height: 76px; margin: 0 auto 21px; place-items: center; border-radius: 50%; color: #73e4b6; background: rgba(47,193,135,.13); font-size: 34px; box-shadow: 0 0 0 12px rgba(47,193,135,.04); }.terminal-result > span.pending { color: #ffd072; background: rgba(239,184,75,.13); box-shadow: 0 0 0 12px rgba(239,184,75,.04); }.terminal-result strong { display: block; font-size: 23px; }.terminal-result p { margin: 9px 0 21px; color: #9e98aa; font-size: 12px; line-height: 1.5; }.terminal-inline-message { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(235,91,106,.25); border-radius: 10px; color: #ffb0b8; background: rgba(206,54,71,.09); font-size: 11px; line-height: 1.5; text-align: center; }.terminal-inline-message.warning { border-color: rgba(239,184,75,.25); color: #ffd782; background: rgba(239,184,75,.08); }.terminal-inline-message.success { border-color: rgba(54,207,149,.25); color: #85e8c0; background: rgba(54,207,149,.08); }
.terminal-offline-strip { position: relative; display: flex; width: min(620px,100%); align-items: center; gap: 12px; margin-top: 13px; padding: 12px 15px; border: 1px solid rgba(239,184,75,.22); border-radius: 13px; color: #ffd782; background: rgba(85,64,28,.42); }.terminal-offline-strip > span { font-size: 21px; }.terminal-offline-strip > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }.terminal-offline-strip strong { font-size: 10px; }.terminal-offline-strip small { color: #ad9872; font-size: 9px; }.terminal-offline-strip button { border: 0; color: #ffd782; background: transparent; font: inherit; font-size: 9px; font-weight: 850; cursor: pointer; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
    .terminal-kpis { grid-template-columns: repeat(2,1fr); }.terminal-device-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 740px) {
    .terminal-admin-heading { align-items: stretch; flex-direction: column; }.terminal-admin-grid,.terminal-lower-grid { grid-template-columns: 1fr; }.terminal-device-grid { grid-template-columns: 1fr; }.terminal-topbar { height: 64px; }.terminal-network span { display: none; }.terminal-main { min-height: calc(100vh - 112px); }.terminal-kiosk { min-height: calc(100vh - 112px); padding-top: 30px; }.terminal-footer { padding-block: 13px; }.terminal-footer small { display: none; }
}
@media (max-width: 520px) {
    .terminal-kpis { grid-template-columns: 1fr 1fr; gap: 9px; }.terminal-kpis article { min-height: 84px; gap: 9px; padding: 12px; }.terminal-kpi-icon { width: 35px; height: 35px; }.terminal-kpis strong { font-size: 17px; }.terminal-admin-form { grid-template-columns: 1fr; }.terminal-admin-form .button { grid-column: auto; }.terminal-kiosk { padding-inline: 11px; }.terminal-kiosk-card { padding: 21px 16px; border-radius: 22px; }.terminal-kiosk-form.two-fields,.terminal-booking-fields { grid-template-columns: 1fr; }.terminal-action-grid { grid-template-columns: 1fr; }.terminal-action-grid .terminal-book-action:only-child { grid-column: auto; }.terminal-medium-tabs { grid-template-columns: repeat(3,1fr); }.terminal-kiosk-intro { margin-bottom: 17px; }.terminal-kiosk-intro h1 { font-size: 28px; }.terminal-admin-link span { display: none; }.terminal-admin-link::after { content: "Admin"; font-size: 10px; }.terminal-offline-strip button { display: none; }
}

/* Phase 6.5 · Mitarbeiter, Rechte und Zeit-UX */
.employee-heading { align-items: center; }
.employee-summary-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.employee-summary-strip article { display: flex; min-height: 78px; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.employee-summary-strip article > div { display: flex; flex-direction: column; gap: 3px; }.employee-summary-strip strong { font-size: 18px; }.employee-summary-strip small { color: var(--muted); font-size: 8px; }
.summary-orb { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #08774f; background: var(--success-wash); font-size: 12px; font-weight: 900; }.summary-orb.violet { color: var(--violet); background: var(--violet-wash); }.summary-orb.gold { color: #9b6908; background: var(--warning-wash); }
.employee-row { cursor: default; }.employee-row:hover .edit-action { opacity: 1; }.edit-action { width: auto; color: var(--violet); font-size: 8px; font-weight: 800; opacity: .7; white-space: nowrap; }
.status-pill.warning { color: #94640b; background: var(--warning-wash); }.status-pill.warning i { background: var(--warning); }.status-pill.neutral { color: #696675; background: #f0eff4; }.status-pill.neutral i { background: #898694; }
.employee-editor-backdrop { position: fixed; inset: 0; z-index: 85; display: flex; justify-content: flex-end; background: rgba(11,10,19,.54); backdrop-filter: blur(5px); }
.employee-editor { display: flex; width: min(900px,92vw); height: 100vh; flex-direction: column; overflow: hidden; border-left: 1px solid rgba(255,255,255,.4); background: #fff; box-shadow: -30px 0 90px rgba(19,15,43,.22); animation: employee-editor-in .22s ease-out; }
@keyframes employee-editor-in { from { opacity: .75; transform: translateX(25px); } }
.employee-editor-head { display: flex; min-height: 104px; align-items: center; justify-content: space-between; padding: 20px 25px; color: #fff; background: radial-gradient(circle at 92% 0,rgba(109,74,255,.35),transparent 38%),linear-gradient(120deg,#181626,#10101a); }
.editor-person { display: flex; align-items: center; gap: 15px; }.editor-avatar { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(168,154,255,.3); border-radius: 16px; color: #e1dcff; background: rgba(109,74,255,.24); font-size: 14px; font-weight: 900; }.editor-person .eyebrow { margin-bottom: 4px; color: #bfb5ff; }.editor-person h2 { margin: 0 0 4px; font-size: 21px; }.editor-person small { color: #9996a9; font-size: 8px; }
.editor-close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #b9b6c6; background: rgba(255,255,255,.05); cursor: pointer; font-size: 22px; }
.employee-editor-tabs { display: grid; grid-template-columns: repeat(3,1fr); min-height: 66px; padding: 0 24px; border-bottom: 1px solid var(--line); background: #fbfbfd; }.employee-editor-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-bottom: 3px solid transparent; color: #858291; background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; }.employee-editor-tabs button span { color: #aaa6b5; font-size: 7px; }.employee-editor-tabs button.active { border-bottom-color: var(--violet); color: var(--violet-deep); }.employee-editor-tabs button.active span { color: var(--violet); }.employee-editor-tabs button:disabled { opacity: .35; cursor: not-allowed; }
.employee-editor-form { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow: auto; }.editor-section { padding: 26px 28px 110px; }.section-heading { margin-bottom: 20px; }.section-heading > span { display: block; margin-bottom: 5px; color: var(--violet); font-size: 7px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.section-heading h3 { margin: 0 0 6px; font-size: 18px; }.section-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }.section-heading.compact { margin-bottom: 13px; }.section-heading.compact h3 { font-size: 14px; }
.spacious-form { gap: 16px; }.spacious-form label { font-size: 8px; }.section-divider { height: 1px; margin: 25px 0; background: var(--line); }
.employee-editor .form-grid input,.employee-editor .form-grid select,.employee-editor .access-save-panel input { height: 44px; font-size: 10px; }.employee-editor .form-grid label { gap: 7px; }
.schedule-base-card { display: flex; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid #ddd8ff; border-radius: 14px; background: linear-gradient(120deg,#f7f5ff,#fff); }.schedule-base-card label { display: flex; min-width: 280px; flex: 1; flex-direction: column; gap: 7px; color: #555263; font-size: 8px; font-weight: 800; }.schedule-base-card select { height: 43px; padding: 0 10px; border: 1px solid #d9d5e6; border-radius: 10px; color: var(--ink); background: #fff; font-size: 10px; }.inheritance-chip { padding: 8px 10px; border-radius: 9px; color: var(--violet-deep); background: var(--violet-wash); font-size: 7px; font-weight: 850; white-space: nowrap; }
.individual-toggle { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }.individual-toggle input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--violet); }.individual-toggle > span { display: flex; flex-direction: column; gap: 4px; }.individual-toggle strong { font-size: 9px; }.individual-toggle small { color: var(--muted); font-size: 8px; line-height: 1.45; }
.individual-schedule-panel { margin-top: 12px; padding: 17px; border: 1px solid #ded9fa; border-radius: 15px; background: #fbfaff; }.schedule-period { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; margin-bottom: 17px; }.schedule-period label,.break-rule-grid label { display: flex; flex-direction: column; gap: 6px; color: #605d6d; font-size: 7px; font-weight: 850; }.schedule-period input,.break-rule-grid input { height: 39px; padding: 0 9px; border: 1px solid #dedbe8; border-radius: 9px; background: #fff; font-size: 9px; }.schedule-period > span { padding-bottom: 10px; color: var(--muted); font-size: 7px; }
.schedule-week-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }.schedule-week-grid label { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1px solid #e6e2f5; border-radius: 11px; background: #fff; }.schedule-week-grid label > span { color: var(--violet-deep); font-size: 8px; font-weight: 900; }.schedule-week-grid input { width: 100%; height: 34px; padding: 0 4px; border: 1px solid #e0ddea; border-radius: 7px; text-align: center; font-size: 9px; }.schedule-week-grid small { color: var(--muted); font-size: 6px; }
.pause-toggle { border-color: #eadba8; background: #fffdf7; }.break-rule-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 11px; }.break-rule-grid label { padding: 10px; border: 1px solid #eee7ce; border-radius: 10px; background: #fff; }.break-rule-grid small { color: var(--muted); font-size: 6px; }
.editor-info { margin-top: 13px; padding: 12px 14px; border: 1px solid #dfdbf6; border-radius: 11px; color: #665f83; background: #f7f5ff; font-size: 8px; line-height: 1.5; }
.employee-editor-footer { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: auto; padding: 14px 25px; border-top: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }.employee-editor-footer > div { display: flex; align-items: center; gap: 9px; margin-right: auto; }.employee-editor-footer > div > span { color: var(--violet); font-size: 17px; }.employee-editor-footer p { display: flex; flex-direction: column; gap: 2px; margin: 0; }.employee-editor-footer strong { font-size: 8px; }.employee-editor-footer small { color: var(--muted); font-size: 7px; }
.editor-alert { margin: 16px 28px 0; }.access-role-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px; border: 1px solid #ded9fa; border-radius: 14px; background: linear-gradient(110deg,#f5f2ff,#fff); }.access-role-card > div { display: flex; flex-direction: column; gap: 3px; }.access-role-card span { color: var(--violet); font-size: 7px; font-weight: 850; text-transform: uppercase; }.access-role-card strong { font-size: 13px; }.access-role-card small { color: var(--muted); font-size: 7px; }.access-role-card select { min-width: 210px; height: 40px; padding: 0 9px; border: 1px solid #dcd8e7; border-radius: 9px; background: #fff; font-size: 9px; }
.permission-editor-list { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }.permission-editor-list h4 { margin: 0; padding: 9px 13px; border-top: 1px solid var(--line); background: #f7f6fa; color: #777482; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }.permission-editor-list h4:first-child { border-top: 0; }.permission-editor-row { display: grid; grid-template-columns: minmax(180px,1fr) 150px 145px 115px; align-items: center; gap: 8px; min-height: 58px; padding: 8px 12px; border-top: 1px solid #efedf4; }.permission-editor-row > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.permission-editor-row strong { font-size: 8px; }.permission-editor-row small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.permission-editor-row select { width: 100%; height: 35px; padding: 0 7px; border: 1px solid #dedce7; border-radius: 8px; background: #fff; font-size: 7px; }.effective-access { padding: 6px 7px; border-radius: 8px; color: #656270; background: #f0eff4; font-size: 6px; font-weight: 850; text-align: center; }.effective-access.allow { color: #08774f; background: var(--success-wash); }.effective-access.deny { color: #a42d43; background: var(--danger-wash); }
.access-save-panel { position: sticky; bottom: -110px; display: flex; align-items: flex-end; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid #dcd7f6; border-radius: 13px; background: rgba(250,249,255,.96); }.access-save-panel label { display: flex; flex: 1; flex-direction: column; gap: 6px; color: #5d596b; font-size: 7px; font-weight: 850; }.access-save-panel .button { white-space: nowrap; }

.timeline-toast .undo-action { margin-left: auto; padding: 5px 9px; border: 1px solid rgba(8,119,79,.2); border-radius: 8px; color: #08774f; background: #fff; font-size: 7px; font-weight: 850; }.timeline-layout { grid-template-columns: minmax(0,1.45fr) minmax(300px,.55fr); }.drag-timeline-card { overflow: hidden; }.timeline-legend { display: flex; gap: 10px; color: var(--muted); font-size: 7px; }.timeline-legend span { display: flex; align-items: center; gap: 5px; }.timeline-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }.timeline-legend b { color: var(--violet); font-size: 10px; }
.automatic-break-banner { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; margin: -5px auto 18px; padding: 14px 17px; border: 1px solid #ead99d; border-radius: 15px; background: linear-gradient(110deg,#fff9e8,#fff); box-shadow: var(--shadow-sm); }.auto-break-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #9c6906; background: #fff0c3; font-size: 16px; font-weight: 900; }.automatic-break-banner .card-kicker { margin-bottom: 3px; color: #9b6908; }.automatic-break-banner h2 { margin: 0 0 3px; font-size: 12px; }.automatic-break-banner p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.5; }.auto-break-metric strong { color: #9b6908; }
.timeline-help { display: flex; align-items: center; gap: 9px; margin: 14px 16px 0; padding: 10px 12px; border: 1px solid #ddd8ff; border-radius: 11px; background: #f7f5ff; }.timeline-help > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--violet); background: #ece7ff; }.timeline-help p { display: flex; flex-direction: column; gap: 2px; margin: 0; }.timeline-help strong { font-size: 8px; }.timeline-help small { color: var(--muted); font-size: 7px; line-height: 1.4; }
.drag-timeline-shell { display: grid; grid-template-columns: 55px 1fr; max-height: 780px; margin: 14px 16px 18px; overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: #fcfcfe; }.timeline-hours { position: relative; border-right: 1px solid var(--line); background: #f7f6fa; }.timeline-hours span { position: absolute; right: 9px; color: #858291; font: 7px "Cascadia Mono",Consolas,monospace; transform: translateY(-50%); }.timeline-track { position: relative; min-width: 340px; background-image: linear-gradient(rgba(109,74,255,.025) 1px,transparent 1px); background-size: 100% 14px; }.timeline-hour-line { position: absolute; z-index: 0; right: 0; left: 0; border-top: 1px solid #e5e3ec; }.timeline-drop-zone { position: absolute; z-index: 1; right: 0; left: 0; border-top: 1px dashed transparent; }.timeline-drop-zone:hover { border-color: #b9affb; background: rgba(109,74,255,.045); }
.timeline-entry-block { position: absolute; z-index: 3; right: 13px; left: 13px; display: flex; min-height: 42px; flex-direction: column; padding: 10px 12px; overflow: hidden; border: 1px solid #cfc6ff; border-left: 4px solid var(--violet); border-radius: 11px; color: #272338; background: linear-gradient(120deg,#f1edff,#fff); box-shadow: 0 6px 17px rgba(58,39,135,.1); cursor: grab; transition: opacity .15s,box-shadow .15s; }.timeline-entry-block:active { cursor: grabbing; }.timeline-entry-block.dragging { opacity: .45; box-shadow: 0 12px 30px rgba(109,74,255,.22); }.timeline-entry-block.internal { border-color: #dcd9e5; border-left-color: #8b8797; background: linear-gradient(120deg,#f4f3f6,#fff); }.timeline-entry-head { display: flex; justify-content: space-between; gap: 8px; }.timeline-entry-head strong { font: 9px "Cascadia Mono",Consolas,monospace; }.timeline-entry-head span { color: var(--violet-deep); font-size: 7px; font-weight: 850; }.timeline-entry-body { margin-top: 6px; }.timeline-entry-body > span { color: var(--violet); font-size: 6px; font-weight: 900; }.timeline-entry-body h3 { margin: 2px 0; font-size: 10px; }.timeline-entry-body p { margin: 0; color: var(--muted); font-size: 7px; }.timeline-entry-meta { display: flex; gap: 9px; margin-top: auto; padding-top: 7px; color: #777383; font-size: 6px; }.timeline-entry-meta button { margin-left: auto; padding: 0; border: 0; color: var(--violet); background: transparent; cursor: pointer; font-size: 6px; font-weight: 850; }.timeline-resize-handle { position: absolute; z-index: 5; right: 10px; left: 10px; height: 8px; cursor: ns-resize; }.timeline-resize-handle::after { content: ""; position: absolute; top: 3px; left: calc(50% - 13px); width: 26px; border-top: 2px solid rgba(109,74,255,.4); }.timeline-resize-handle.top { top: 0; }.timeline-resize-handle.bottom { bottom: 0; }
.timeline-entry-block.compact { min-height: 10px; padding: 0; border-radius: 5px; box-shadow: 0 2px 8px rgba(58,39,135,.12); }.timeline-entry-block.compact .timeline-entry-head,.timeline-entry-block.compact .timeline-entry-body,.timeline-entry-block.compact .timeline-entry-meta { display: none; }.timeline-entry-block.compact .timeline-resize-handle { right: 3px; left: 3px; height: 5px; }.timeline-entry-block.compact .timeline-resize-handle::after { top: 2px; }
.time-edit-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 11px; border: 1px solid #ddd8ff; border-radius: 10px; background: #f8f6ff; }.time-edit-summary > span { color: var(--violet); font-size: 16px; }.time-edit-summary p { display: flex; flex-direction: column; gap: 2px; margin: 0; }.time-edit-summary strong { font-size: 8px; }.time-edit-summary small { color: var(--muted); font-size: 7px; }

@media (max-width: 1000px) {
    .permission-editor-row { grid-template-columns: minmax(170px,1fr) 135px 130px; }.permission-editor-row .effective-access { grid-column: 2 / -1; justify-self: stretch; }.timeline-layout { grid-template-columns: 1fr; }.timeline-layout .manual-entry-card { position: static; }
}
@media (max-width: 680px) {
    .employee-summary-strip { grid-template-columns: 1fr; }.employee-editor { width: 100vw; }.employee-editor-head { min-height: 94px; padding: 16px; }.editor-avatar { width: 46px; height: 46px; }.editor-person h2 { font-size: 17px; }.employee-editor-tabs { padding: 0 8px; }.employee-editor-tabs button { flex-direction: column; gap: 3px; }.editor-section { padding: 19px 15px 120px; }.schedule-base-card,.access-role-card { align-items: stretch; flex-direction: column; }.schedule-week-grid { grid-template-columns: repeat(4,1fr); }.schedule-period,.break-rule-grid { grid-template-columns: 1fr 1fr; }.schedule-period > span { grid-column: 1 / -1; }.permission-editor-row { grid-template-columns: 1fr 1fr; }.permission-editor-row > div { grid-column: 1 / -1; }.permission-editor-row .effective-access { grid-column: 1 / -1; }.access-save-panel { align-items: stretch; flex-direction: column; }.access-save-panel .button { width: 100%; }.employee-editor-footer { flex-wrap: wrap; padding: 11px 15px; }.employee-editor-footer > div { width: 100%; }.employee-editor-footer .button { flex: 1; }.automatic-break-banner { grid-template-columns: 42px 1fr; }.automatic-break-banner .button { grid-column: 1 / -1; }.day-toolbar-metrics { overflow-x: auto; }.day-toolbar-metrics > span { min-width: 84px; }.timeline-legend { display: none; }.drag-timeline-shell { margin-inline: 9px; }.timeline-help { margin-inline: 9px; }
}

/* Phase 6 · Integrationen */
.integration-heading { align-items: center; }
.integration-heading .button span { font-weight: 850; }
.integration-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 18px; }
.integration-kpis article { display: grid; min-height: 92px; grid-template-columns: 43px 1fr; grid-template-rows: 1fr auto; align-items: center; gap: 5px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.integration-kpis article > div { display: flex; flex-direction: column; gap: 2px; }
.integration-kpis strong { font-size: 18px; letter-spacing: -.03em; }
.integration-kpis article > div span { color: #656272; font-size: 8px; font-weight: 750; }
.integration-kpis article > small { grid-column: 2; color: var(--muted); font-size: 6px; }
.integration-orb { display: grid; width: 43px; height: 43px; grid-row: 1 / 3; place-items: center; border-radius: 13px; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: -.03em; }
.integration-orb.api { color: #5b37e8; background: #eeeaff; }.integration-orb.hook { color: #097a58; background: #e8f8f2; font-size: 16px; }.integration-orb.export { color: #a56a00; background: #fff5dc; font-size: 16px; }.integration-orb.sso { color: #2867aa; background: #eaf3fc; font-size: 18px; }
.integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.integration-card { min-width: 0; overflow: hidden; }
.integration-card > .card-header,.import-card .card-header,.delivery-card .card-header { padding: 18px 20px 13px; border-bottom: 0; }
.integration-card > .card-header h2,.import-card .card-header h2,.delivery-card .card-header h2 { margin: 0; font-size: 16px; }
.integration-copy { margin: -2px 20px 15px; color: var(--muted); font-size: 8px; line-height: 1.6; }
.integration-copy code { color: var(--violet-deep); font-size: 7px; }
.security-chip { padding: 5px 8px; border: 1px solid #ddd7ff; border-radius: 99px; color: var(--violet-deep); background: var(--violet-wash); font-size: 6px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.one-time-secret { display: grid; gap: 8px; margin: 0 20px 15px; padding: 12px; border: 1px solid #bcb0ff; border-radius: 12px; background: linear-gradient(135deg,#f4f1ff,#faf9ff); }
.one-time-secret span { color: var(--violet-deep); font-size: 6px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.one-time-secret code { display: block; overflow: auto; padding: 8px; border-radius: 7px; color: #30265b; background: #fff; font-size: 8px; white-space: nowrap; }
.one-time-secret button { justify-self: end; padding: 0; border: 0; color: var(--violet); background: transparent; font-size: 7px; font-weight: 800; cursor: pointer; }
.integration-form { display: grid; gap: 10px; margin: 0 20px 16px; padding: 14px; border: 1px solid #ebe9f1; border-radius: 14px; background: #fafafd; }
.compact-form { grid-template-columns: minmax(130px,.8fr) minmax(0,1.2fr); align-items: end; }
.compact-form .button { grid-column: 1 / -1; }
.webhook-form { grid-template-columns: .8fr 1.2fr; }.webhook-form .scope-fieldset,.webhook-form .button { grid-column: 1 / -1; }
.integration-form > label,.file-name-field,.csv-editor,.export-control > label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #6a6778; font-size: 7px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.integration-form input:not([type="checkbox"]),.file-name-field input,.csv-editor textarea,.export-control input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 9px; font-weight: 600; letter-spacing: 0; text-transform: none; outline: 0; }
.integration-form input:not([type="checkbox"]):focus,.file-name-field input:focus,.csv-editor textarea:focus,.export-control input:focus { border-color: #b7aaff; box-shadow: 0 0 0 3px rgba(109,74,255,.09); }
.scope-fieldset { display: flex; min-height: 40px; align-items: center; gap: 10px; margin: 0; padding: 6px 10px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; }
.scope-fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.scope-fieldset label { display: flex; align-items: center; gap: 5px; color: #656272; font-size: 7px; font-weight: 700; white-space: nowrap; }
.scope-fieldset input,.toggle-line input { width: 14px; height: 14px; accent-color: var(--violet); }
.event-fieldset { flex-wrap: wrap; }
.integration-list { border-top: 1px solid #efedf4; }
.integration-list > .empty-copy { min-height: 90px; }
.integration-row { display: grid; min-height: 62px; grid-template-columns: 31px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 10px 20px; border-bottom: 1px solid #f0eef4; }
.integration-row:last-child { border-bottom: 0; }
.row-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-wash); font-size: 14px; }
.integration-row > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.integration-row strong { font-size: 8px; }.integration-row small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.integration-row code { font-size: 6px; }
.text-action { padding: 4px; border: 0; color: var(--violet); background: transparent; font-size: 7px; font-weight: 800; cursor: pointer; }.text-action:hover { text-decoration: underline; }.text-action.danger { color: var(--danger); }.text-action:disabled { opacity: .5; cursor: wait; }
.exports-grid { grid-template-columns: 1.15fr .85fr; }
.export-control { display: grid; grid-template-columns: 155px 1fr; align-items: start; gap: 14px; margin: 0 20px 18px; }
.export-action-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.export-tile { display: grid; min-height: 53px; grid-template-columns: 32px 1fr 12px; align-items: center; gap: 9px; padding: 9px; border: 1px solid #e5e2ec; border-radius: 11px; background: #fff; transition: .16s ease; }
.export-tile:hover { border-color: #bfb6ff; box-shadow: 0 8px 18px rgba(67,38,168,.08); transform: translateY(-1px); }
.export-tile > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: #087a50; background: var(--success-wash); font-size: 7px; font-style: normal; font-weight: 900; }
.export-tile.invoice > i { color: #a56a00; background: var(--warning-wash); }
.export-tile > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.export-tile strong { font-size: 8px; }.export-tile small { color: var(--muted); font-size: 6px; }.export-tile b { color: var(--violet); font-size: 12px; }
.hash-history { display: grid; gap: 0; border-top: 1px solid #efedf4; }
.hash-history > strong { padding: 13px 20px 8px; color: #625f70; font-size: 7px; letter-spacing: .06em; text-transform: uppercase; }.hash-history > .empty-copy { min-height: 65px; }
.hash-history > div { display: grid; min-height: 37px; grid-template-columns: 1fr auto 62px; align-items: center; gap: 9px; padding: 0 20px; border-top: 1px solid #f2f0f5; font-size: 7px; }.hash-history code { color: var(--violet-deep); font-size: 6px; }.hash-history small { color: var(--muted); font-size: 6px; text-align: right; }
.sso-form { grid-template-columns: 1fr 1fr; }.sso-form > label:nth-child(2),.sso-form > label:nth-child(5),.sso-form .toggle-line,.sso-form .button { grid-column: 1 / -1; }
.toggle-line { flex-direction: row !important; align-items: center; padding: 9px 10px; border: 1px solid #e4e1eb; border-radius: 10px; background: #fff; text-transform: none !important; }
.toggle-line > span { display: flex; flex-direction: column; gap: 3px; }.toggle-line strong { color: var(--ink); font-size: 8px; }.toggle-line small { color: var(--muted); font-size: 6px; }
.import-card { display: grid; grid-template-columns: .85fr 1.15fr; min-width: 0; margin-bottom: 18px; overflow: hidden; }
.import-editor { padding-bottom: 20px; border-right: 1px solid var(--line); }.import-editor .integration-copy { margin-bottom: 12px; }.file-name-field,.csv-editor { margin: 0 20px 10px; }
.csv-editor textarea { height: auto; padding: 10px; resize: vertical; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 8px; line-height: 1.5; }
.import-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 12px 20px 0; }
.import-preview { min-width: 0; padding: 18px 0 0; }
.preview-placeholder { display: flex; min-height: 235px; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 30px; color: var(--muted); text-align: center; }.preview-placeholder i { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; color: var(--violet); background: var(--violet-wash); font-size: 23px; font-style: normal; }.preview-placeholder strong { color: #585566; font-size: 10px; }.preview-placeholder span { max-width: 330px; font-size: 7px; line-height: 1.5; }
.preview-summary { display: flex; align-items: center; gap: 8px; margin: 0 18px 13px; }.preview-summary > span { padding: 7px 9px; border-radius: 9px; color: #087a50; background: var(--success-wash); font-size: 7px; }.preview-summary > span.has-errors { color: #a72d3f; background: var(--danger-wash); }.preview-summary strong { font-size: 10px; }.preview-summary > small { margin-left: auto; color: var(--muted); font-size: 6px; }
.preview-table-wrap { max-height: 240px; overflow: auto; border-block: 1px solid #efedf4; }.preview-table { width: 100%; border-collapse: collapse; }.preview-table th { height: 34px; padding: 0 10px; background: #fafafd; color: var(--muted); font-size: 6px; text-align: left; text-transform: uppercase; }.preview-table td { min-width: 55px; padding: 8px 10px; border-top: 1px solid #f0eef4; font-size: 7px; }.preview-table td:last-child { min-width: 120px; }.preview-table code { font-size: 7px; }
.import-history { display: grid; margin-top: 12px; border-top: 1px solid #efedf4; }.import-history > strong { padding: 12px 18px 6px; color: #625f70; font-size: 7px; letter-spacing: .06em; text-transform: uppercase; }.import-history > .empty-copy { min-height: 54px; }.import-history > div { display: grid; min-height: 48px; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; padding: 7px 18px; border-top: 1px solid #f2f0f5; }.import-history > div > span:first-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.import-history b { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.import-history small { color: var(--muted); font-size: 6px; }
.delivery-card { margin-bottom: 80px; overflow: hidden; }.delivery-card .card-header > span { color: var(--muted); font-size: 7px; }.delivery-card .report-table td:nth-child(6) { max-width: 260px; }

@media (max-width: 1180px) {
    .integration-kpis { grid-template-columns: 1fr 1fr; }.compact-form { grid-template-columns: 1fr 1fr; }.compact-form .scope-fieldset,.compact-form .button { grid-column: 1 / -1; }.webhook-form .scope-fieldset,.webhook-form .button { grid-column: 1 / -1; }
    .export-control { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .integration-grid,.exports-grid,.import-card { grid-template-columns: 1fr; }.import-editor { border-right: 0; border-bottom: 1px solid var(--line); }.integration-card { min-height: 0; }
}
@media (max-width: 680px) {
    .integration-heading { align-items: stretch; flex-direction: column; }.integration-heading .button { align-self: flex-start; }
    .integration-kpis { grid-template-columns: 1fr; }.compact-form,.webhook-form,.sso-form { grid-template-columns: 1fr; }.compact-form .scope-fieldset,.compact-form .button,.webhook-form .scope-fieldset,.webhook-form .button,.sso-form > label:nth-child(2),.sso-form > label:nth-child(5),.sso-form .toggle-line,.sso-form .button { grid-column: auto; }
    .scope-fieldset { align-items: flex-start; flex-direction: column; }.event-fieldset { flex-direction: row; }
    .export-action-group { grid-template-columns: 1fr; }.import-actions { align-items: stretch; flex-direction: column; }.import-history > div { grid-template-columns: 1fr auto; }.import-history .text-action { grid-column: 1 / -1; justify-self: end; }
}

/* Phase 3 · Abwesenheiten */
.absence-balance-grid { display: grid; grid-template-columns: 1.65fr repeat(3,1fr); gap: 14px; margin-bottom: 18px; }
.leave-balance-card,.absence-stat-card { display: flex; min-height: 136px; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.leave-balance-card { color: #fff; border-color: #4d31bf; background: radial-gradient(circle at 94% 10%,rgba(168,154,255,.4),transparent 45%),linear-gradient(135deg,#6d4aff,#4326a8); }
.leave-balance-card > span,.absence-stat-card > span { color: #d7d1ff; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.leave-balance-card > strong { margin: 8px 0 12px; font-size: 28px; letter-spacing: -.04em; }.leave-balance-card > small { margin-top: 8px; color: #d9d3ff; font-size: 8px; }
.leave-progress { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.18); }.leave-progress i { display: block; height: 100%; border-radius: inherit; background: #fff; }
.absence-stat-card > span { color: var(--muted); }.absence-stat-card > strong { margin: 9px 0 5px; font-size: 25px; letter-spacing: -.04em; }.absence-stat-card > small { color: #93909f; font-size: 8px; }
.absence-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(310px,.85fr); align-items: start; gap: 18px; padding-bottom: 80px; }.absence-list-card,.absence-form-card { overflow: hidden; }.absence-form-card { position: sticky; top: 0; }.privacy-chip { padding: 5px 8px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.absence-request-list { display: grid; }.absence-request-row { position: relative; display: grid; grid-template-columns: 5px 1fr auto; align-items: center; gap: 15px; min-height: 96px; padding: 15px 18px; border-top: 1px solid var(--line); }.absence-color { align-self: stretch; width: 5px; border-radius: 99px; background: var(--absence-color); }.absence-request-main header { display: flex; align-items: center; gap: 9px; }.absence-request-main header strong { font-size: 11px; }.absence-request-main p { margin: 7px 0 0; color: var(--muted); font-size: 9px; }.absence-request-main small { display: block; margin-top: 6px; color: #797687; font-size: 8px; }.request-status { padding: 4px 7px; border-radius: 99px; font-size: 6px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.request-status.pending { color: #89640e; background: var(--warning-wash); }.request-status.approved { color: #087a50; background: var(--success-wash); }.request-status.rejected { color: #a7293d; background: var(--danger-wash); }.request-status.withdrawn { color: #777482; background: #f1f0f4; }.absence-empty { display: grid; min-height: 310px; place-content: center; justify-items: center; text-align: center; }.absence-empty > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: var(--violet); background: var(--violet-wash); font-size: 20px; }.absence-empty h3 { margin: 12px 0 5px; }.absence-empty p { margin: 0; color: var(--muted); font-size: 9px; }
.privacy-note { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 9px; margin: 14px 0; padding: 10px; border: 1px solid #e6e0ff; border-radius: 10px; background: #faf8ff; }.privacy-note > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--violet); background: var(--violet-wash); }.privacy-note p { margin: 0; color: #6f6c7d; font-size: 8px; line-height: 1.5; }.privacy-note strong { display: block; color: var(--ink); font-size: 8px; }
.calendar-toolbar { display: flex; min-height: 68px; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 14px; }.calendar-toolbar > div { display: flex; min-width: 230px; flex-direction: column; gap: 4px; }.calendar-toolbar > div span { color: var(--violet); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }.calendar-toolbar > div strong { font-size: 12px; text-transform: capitalize; }.calendar-toolbar .button { margin-left: auto; }
.team-calendar-card { overflow: hidden; }.calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); border-bottom: 1px solid var(--line); background: #fbfbfd; }.calendar-weekdays span { padding: 9px; color: var(--muted); font-size: 7px; font-weight: 850; text-align: center; text-transform: uppercase; }.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); }.calendar-day { min-width: 0; min-height: 142px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }.calendar-day:nth-child(7n) { border-right: 0; }.calendar-day.outside { background: #fafafc; opacity: .55; }.calendar-day.today { background: linear-gradient(#f5f1ff,#fff); box-shadow: inset 0 3px 0 var(--violet); }.calendar-day > header { display: flex; min-height: 25px; align-items: center; justify-content: space-between; }.calendar-day > header strong { font-size: 10px; }.calendar-day > header span { padding: 3px 5px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 6px; font-weight: 850; text-transform: uppercase; }.holiday-chip { overflow: hidden; margin-bottom: 4px; padding: 4px 5px; border-radius: 5px; color: #8a650d; background: var(--warning-wash); font-size: 6px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.calendar-absence-chip { display: grid; grid-template-columns: 3px 1fr; gap: 5px; margin-bottom: 4px; overflow: hidden; border: 1px solid color-mix(in srgb,var(--absence-color) 20%,white); border-radius: 6px; background: color-mix(in srgb,var(--absence-color) 8%,white); }.calendar-absence-chip > i { background: var(--absence-color); }.calendar-absence-chip > span { display: flex; min-width: 0; flex-direction: column; gap: 1px; padding: 4px 4px 4px 0; }.calendar-absence-chip strong,.calendar-absence-chip small { overflow: hidden; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }.calendar-absence-chip small { color: var(--muted); }.calendar-absence-chip.own { box-shadow: 0 0 0 1px color-mix(in srgb,var(--absence-color) 35%,white); }.calendar-more { color: var(--violet); font-size: 6px; font-weight: 800; }.calendar-legend { display: flex; align-items: center; gap: 16px; margin: 14px 0 80px; padding: 12px 16px; }.calendar-legend > span { display: flex; align-items: center; gap: 5px; font-size: 7px; }.calendar-legend > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--legend-color); }.calendar-legend > span b { color: var(--warning); }.calendar-legend > small { margin-left: auto; color: var(--muted); font-size: 7px; }
.approval-summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; padding: 16px 20px; }.approval-summary > div { display: flex; align-items: center; gap: 13px; }.approval-count { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; color: #fff; background: var(--violet); font-size: 18px; font-weight: 850; }.approval-summary h2 { margin: 2px 0 0; font-size: 13px; }.approval-summary p { max-width: 430px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: right; }.approval-list { display: grid; gap: 12px; padding-bottom: 80px; }.approval-card { position: relative; display: grid; grid-template-columns: 5px 1fr 1.1fr 1.4fr auto; align-items: center; gap: 17px; padding: 16px 18px; overflow: hidden; }.approval-person { display: flex; align-items: center; gap: 9px; }.approval-person > div,.approval-period { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.approval-person strong,.approval-period strong { font-size: 9px; }.approval-person small,.approval-period small { color: var(--muted); font-size: 7px; }.approval-period > span { color: var(--violet); font-size: 7px; font-weight: 850; text-transform: uppercase; }.approval-comment { font-size: 7px; }.approval-comment input { margin-top: 5px; }.approval-actions { display: flex; gap: 7px; }.approval-empty { display: grid; min-height: 310px; place-content: center; justify-items: center; text-align: center; }.approval-empty > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: var(--success); background: var(--success-wash); font-size: 20px; }.approval-empty h2 { margin: 12px 0 5px; }.approval-empty p { margin: 0; color: var(--muted); font-size: 9px; }
.day-context-chip { padding: 5px 8px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 850; }.week-day-card header em { max-width: 100%; overflow: hidden; padding: 3px 5px; border-radius: 99px; color: #087a50; background: var(--success-wash); font-size: 6px; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1180px) { .absence-balance-grid { grid-template-columns: repeat(2,1fr); }.approval-card { grid-template-columns: 5px 1fr 1fr; }.approval-comment { grid-column: 2 / 3; }.approval-actions { grid-column: 3; grid-row: 2; } }
@media (max-width: 920px) { .absence-layout { grid-template-columns: 1fr; }.absence-form-card { position: static; }.calendar-grid { min-width: 920px; }.calendar-weekdays { min-width: 920px; }.team-calendar-card { overflow-x: auto; }.calendar-legend { flex-wrap: wrap; }.calendar-legend > small { width: 100%; margin-left: 0; }.approval-card { grid-template-columns: 5px 1fr 1fr; } }
@media (max-width: 680px) { .absence-balance-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.leave-balance-card { grid-column: 1 / -1; }.absence-stat-card { min-height: 105px; padding: 14px; }.absence-request-row { grid-template-columns: 5px 1fr; }.absence-request-row > .button { grid-column: 2; justify-self: start; }.calendar-toolbar { flex-wrap: wrap; }.calendar-toolbar > div { min-width: 0; flex: 1; }.calendar-toolbar .button { width: 100%; margin-left: 0; }.approval-summary { align-items: flex-start; flex-direction: column; }.approval-summary p { text-align: left; }.approval-card { grid-template-columns: 5px 1fr; }.approval-period,.approval-comment,.approval-actions { grid-column: 2; }.approval-actions { grid-row: auto; }.approval-actions .button { flex: 1; } }
@media (max-width: 430px) { .absence-balance-grid { grid-template-columns: 1fr; }.leave-balance-card { grid-column: auto; }.absence-stat-card { min-height: 92px; }.calendar-toolbar > div strong { font-size: 10px; } }

/* Phase 4 · Kunden, Projekte und Controlling */
.commercial-summary-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.commercial-summary { position: relative; display: flex; min-height: 125px; flex-direction: column; justify-content: center; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.commercial-summary::after { content: ""; position: absolute; width: 70px; height: 70px; right: -26px; bottom: -32px; border-radius: 50%; background: var(--violet-wash); }
.commercial-summary > span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.commercial-summary > strong { margin: 8px 0 5px; font-size: 26px; letter-spacing: -.045em; }
.commercial-summary > small { color: #918e9d; font-size: 8px; }
.commercial-summary.primary { color: #fff; border-color: #4d31bf; background: radial-gradient(circle at 94% 10%,rgba(168,154,255,.4),transparent 45%),linear-gradient(135deg,#6d4aff,#4326a8); }
.commercial-summary.primary::after { background: rgba(255,255,255,.08); }.commercial-summary.primary > span,.commercial-summary.primary > small { color: #ddd7ff; }
.commercial-summary.risk > strong { color: var(--danger); }.commercial-summary.risk::after { background: var(--danger-wash); }
.commercial-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(330px,.85fr); align-items: start; gap: 18px; padding-bottom: 80px; }
.commercial-list-card,.commercial-form-card { overflow: hidden; }.commercial-form-card { position: sticky; top: 0; }.commercial-form-card form { padding: 0 18px 18px; }
.compact-search { display: flex; width: min(280px,45vw); align-items: center; gap: 6px; color: var(--muted); }.compact-search input { min-width: 0; }
.customer-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 14px; }
.customer-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: transform .16s,border-color .16s,box-shadow .16s; }
.customer-card:hover,.service-card:hover { transform: translateY(-2px); border-color: #cfc6ff; box-shadow: var(--shadow-sm); }
.customer-card > header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; }.customer-card > header div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }.customer-card > header strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.customer-card > header small { color: var(--muted); font-size: 7px; }
.customer-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--violet-deep); background: var(--violet-wash); font-size: 9px; font-weight: 850; }
.customer-contact { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 14px 0; padding: 11px 0; border-block: 1px solid var(--line); }.customer-contact > span,.customer-card > footer > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.customer-contact small,.customer-card footer small { color: var(--muted); font-size: 6px; text-transform: uppercase; }.customer-contact strong,.customer-card footer strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.customer-card > footer { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.pulse-proof { padding: 5px 8px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.project-pulse-list { display: grid; gap: 10px; padding: 14px; }.project-pulse-card { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.project-pulse-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 14px 0 0 14px; background: var(--success); }.project-pulse-card.warning::before { background: var(--warning); }.project-pulse-card.critical::before { background: var(--danger); }
.project-pulse-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.project-pulse-card > header > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.project-pulse-card > header strong { font-size: 11px; }.project-pulse-card > header small { color: var(--muted); font-size: 7px; }.project-number { color: var(--violet); font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.health-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 99px; color: #087a50; background: var(--success-wash); font-size: 6px; font-weight: 850; text-transform: uppercase; white-space: nowrap; }.health-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.health-pill.warning { color: #89640e; background: var(--warning-wash); }.health-pill.critical { color: #a7293d; background: var(--danger-wash); }
.project-pulse-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 15px 0; padding: 11px; border-radius: 10px; background: #faf9fc; }.project-pulse-values > span { display: flex; flex-direction: column; gap: 4px; }.project-pulse-values small { color: var(--muted); font-size: 6px; text-transform: uppercase; }.project-pulse-values strong { font-size: 9px; }
.budget-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 7px; }.budget-progress > small { display: block; margin-top: 5px; color: var(--muted); font-size: 6px; }.budget-progress .progress-track i.warning { background: var(--warning); }.budget-progress .progress-track i.critical { background: var(--danger); }.project-pulse-card > footer { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 7px; }.project-pulse-card > footer a { color: var(--violet); font-weight: 800; }
.service-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 14px; }.service-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; transition: transform .16s,border-color .16s,box-shadow .16s; }.service-card > header { display: grid; grid-template-columns: auto 1fr; gap: 4px 9px; align-items: center; }.service-card > header span { grid-row: 1 / 3; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 850; }.service-card > header strong { font-size: 10px; }.service-card > header small { color: var(--muted); font-size: 7px; }.service-card > div { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin: 14px 0; }.service-card > div span { display: flex; flex-direction: column; gap: 4px; }.service-card > div small { color: var(--muted); font-size: 6px; text-transform: uppercase; }.service-card > div strong { font-size: 10px; }.service-card > footer { display: flex; flex-wrap: wrap; gap: 5px; }.service-card > footer span { padding: 4px 6px; border-radius: 5px; background: #f3f2f6; color: #777482; font-size: 6px; }
.project-selector { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 13px 16px; }.project-selector label { display: flex; min-width: min(420px,55%); flex-direction: column; gap: 5px; }.project-selector label > span { color: var(--violet); font-size: 7px; font-weight: 850; text-transform: uppercase; }.project-selector > div { display: flex; align-items: center; gap: 10px; }.project-selector > div strong { font-size: 9px; }.project-selector > div small { color: var(--muted); font-size: 7px; }
.budget-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }.budget-card { display: flex; min-height: 115px; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }.budget-card > span { color: var(--muted); font-size: 7px; font-weight: 850; text-transform: uppercase; }.budget-card > strong { margin: 8px 0 4px; font-size: 20px; }.budget-card > small { color: var(--muted); font-size: 7px; }.budget-card .progress-track { margin-top: 9px; }.budget-card.primary { color: #fff; border-color: #4d31bf; background: linear-gradient(135deg,#6d4aff,#4326a8); }.budget-card.primary > span,.budget-card.primary > small { color: #ddd7ff; }.budget-card.primary .progress-track { background: rgba(255,255,255,.17); }.budget-card.primary .progress-track i { background: #fff; }
.expense-list { display: grid; }.expense-list > article { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 13px; min-height: 70px; padding: 12px 16px; border-top: 1px solid var(--line); }.expense-kind { padding: 5px 7px; border-radius: 7px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 850; }.expense-list article > div,.expense-list article > span:not(.expense-kind):not(.request-status) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.expense-list article > div strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.expense-list article small { color: var(--muted); font-size: 6px; }.expense-list article > span strong { font-size: 8px; }

@media (max-width: 1180px) { .commercial-summary-grid,.budget-card-grid { grid-template-columns: repeat(2,1fr); }.commercial-layout { grid-template-columns: minmax(0,1.25fr) minmax(310px,.75fr); }.customer-card-grid,.service-card-grid { grid-template-columns: 1fr; }.project-pulse-values { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 920px) { .commercial-layout { grid-template-columns: 1fr; }.commercial-form-card { position: static; }.customer-card-grid,.service-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.project-selector { align-items: stretch; flex-direction: column; }.project-selector label { min-width: 0; }.project-selector > div { flex-wrap: wrap; } }
@media (max-width: 680px) { .commercial-summary-grid,.budget-card-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }.commercial-summary,.budget-card { min-height: 105px; padding: 14px; }.commercial-summary > strong { font-size: 21px; }.compact-search { width: 100%; }.commercial-list-card > .card-header { align-items: stretch; flex-direction: column; gap: 10px; }.customer-card-grid,.service-card-grid { grid-template-columns: 1fr; }.expense-list > article { grid-template-columns: auto 1fr; }.expense-list article > span:not(.expense-kind) { grid-column: 2; }.project-pulse-values { grid-template-columns: repeat(2,1fr); }.project-pulse-card > header { flex-direction: column; }.project-selector > div { align-items: flex-start; flex-direction: column; } }
@media (max-width: 430px) { .commercial-summary-grid,.budget-card-grid { grid-template-columns: 1fr; }.commercial-summary,.budget-card { min-height: 92px; }.customer-card > footer { grid-template-columns: 1fr 1fr; }.project-pulse-values { grid-template-columns: 1fr 1fr; } }

/* Phase 5 · Berichte, Exporte und Monatsabschluss */
.report-heading { align-items: center; }
.report-export-actions { display: flex; align-items: center; gap: 8px; }
.report-export-actions .button span { font-weight: 850; }
.report-filter-card { margin-bottom: 18px; padding: 17px 19px; }
.report-filter-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.report-filter-card h2 { margin: 0; font-size: 15px; }
.filter-proof { padding: 5px 8px; border-radius: 99px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 850; text-transform: uppercase; }
.report-filter-grid { display: grid; grid-template-columns: repeat(6,minmax(120px,1fr)) auto; align-items: end; gap: 10px; }
.report-filter-grid label,.close-control label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #6a6778; font-size: 7px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.report-filter-grid input,.report-filter-grid select,.close-control input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; color: var(--ink); font-size: 9px; font-weight: 600; text-transform: none; letter-spacing: 0; outline: 0; }
.report-filter-grid input:focus,.report-filter-grid select:focus,.close-control input:focus { border-color: #b7aaff; box-shadow: 0 0 0 3px rgba(109,74,255,.09); }
.report-filter-submit { min-width: 145px; }
.report-kpi-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; margin-bottom: 18px; }
.report-kpi { position: relative; display: flex; min-height: 119px; flex-direction: column; justify-content: center; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.report-kpi::after { content: ""; position: absolute; right: -25px; bottom: -34px; width: 82px; height: 82px; border: 14px solid currentColor; border-radius: 50%; opacity: .04; }
.report-kpi > span { color: var(--muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.report-kpi > strong { margin: 8px 0 5px; font-size: 22px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.report-kpi > small { color: #918e9d; font-size: 7px; line-height: 1.4; }
.report-kpi.primary { color: #fff; border-color: #4d31bf; background: radial-gradient(circle at 92% 8%,rgba(168,154,255,.42),transparent 46%),linear-gradient(135deg,#6d4aff,#4326a8); }
.report-kpi.primary > span,.report-kpi.primary > small { color: #ddd7ff; }
.report-kpi.positive > strong { color: var(--success); }.report-kpi.risk > strong { color: var(--danger); }
.reporting-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-bottom: 18px; }
.report-chart-card { min-width: 0; overflow: hidden; }
.report-chart-card .card-header > span,.report-table-card .card-header > span { color: var(--muted); font-size: 7px; }
.empty-copy { min-height: 190px; display: grid; place-items: center; margin: 0; padding: 24px; color: var(--muted); font-size: 9px; text-align: center; }
.breakdown-list { display: grid; gap: 14px; padding: 18px 20px 21px; }
.breakdown-row { display: grid; grid-template-columns: minmax(165px,1.15fr) minmax(100px,1fr) 35px; align-items: center; gap: 13px; }
.breakdown-row > div:first-child { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.breakdown-row strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.breakdown-row span { color: var(--muted); font-size: 7px; }
.breakdown-row b { color: #777482; font-size: 8px; font-variant-numeric: tabular-nums; text-align: right; }
.breakdown-track { height: 7px; overflow: hidden; border-radius: 99px; background: #efedf5; }
.breakdown-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--violet),#a89aff); }
.trend-chart { display: flex; height: 250px; align-items: flex-end; gap: 10px; padding: 27px 20px 18px; overflow-x: auto; }
.trend-column { display: grid; min-width: 46px; height: 100%; flex: 1 0 46px; grid-template-rows: 18px 1fr 18px; align-items: end; justify-items: center; }
.trend-value { color: #6e6b7b; font-size: 7px; font-weight: 800; }
.trend-bar { position: relative; width: min(31px,70%); min-height: 5px; overflow: hidden; border-radius: 7px 7px 3px 3px; background: #d9d3ff; box-shadow: inset 0 0 0 1px rgba(109,74,255,.08); }
.trend-bar i { position: absolute; inset: auto 0 0; min-height: 2px; background: linear-gradient(#8064ff,#5b37e8); }
.trend-column > span { color: var(--muted); font-size: 6px; white-space: nowrap; }
.report-table-card { margin-bottom: 18px; overflow: hidden; }
.report-table-wrap { overflow: auto; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th { height: 41px; padding: 0 13px; background: #fafafd; color: #858392; font-size: 7px; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.report-table td { min-width: 85px; height: 61px; padding: 9px 13px; border-top: 1px solid #efedf4; color: #5f5d6c; font-size: 8px; vertical-align: middle; }
.report-table tbody tr:hover { background: #fcfbff; }
.report-table td strong,.report-table td small { display: block; }.report-table td small { max-width: 230px; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.report-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.report-kind { padding: 5px 7px; border-radius: 7px; color: var(--violet); background: var(--violet-wash); font-size: 6px; font-weight: 850; white-space: nowrap; }
.close-card { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(460px,1.2fr); align-items: center; gap: 32px; margin-bottom: 80px; padding: 22px; overflow: hidden; background: radial-gradient(circle at 100% 0,rgba(109,74,255,.08),transparent 40%),#fff; }
.close-intro h2 { margin: 0 0 7px; font-size: 17px; }.close-intro p { max-width: 470px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.close-control { display: grid; grid-template-columns: minmax(145px,.7fr) minmax(180px,1fr) auto; align-items: end; gap: 12px; padding: 14px; border: 1px solid #ebe8f2; border-radius: 14px; background: rgba(250,249,253,.9); }
.close-status { display: flex; min-height: 40px; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 10px; }
.close-status > i { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 10px; font-style: normal; }
.close-status > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.close-status strong { font-size: 8px; }.close-status small { overflow: hidden; color: inherit; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.close-status.open { color: #89640e; background: var(--warning-wash); }.close-status.open > i { background: #f4bd4f; box-shadow: inset 0 0 0 7px #fff; }
.close-status.locked { color: #087a50; background: var(--success-wash); }.close-status.locked > i { color: #fff; background: var(--success); }
.close-status.reopened { color: var(--violet-deep); background: var(--violet-wash); }.close-status.reopened > i { color: #fff; background: var(--violet); }
.close-control .reopen-reason { grid-column: 1 / 3; grid-row: 2; }.close-control .reopen-reason + .button { grid-column: 3; grid-row: 2; }

@media (max-width: 1180px) {
    .report-filter-grid { grid-template-columns: repeat(3,1fr); }.report-filter-submit { width: 100%; }
    .report-kpi-grid { grid-template-columns: repeat(3,1fr); }.report-kpi:last-child { grid-column: span 2; }
    .close-card { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 920px) {
    .reporting-grid { grid-template-columns: 1fr; }.report-kpi-grid { grid-template-columns: repeat(2,1fr); }.report-kpi:last-child { grid-column: auto; }
    .close-control { grid-template-columns: 1fr 1fr; }.close-control .button { width: 100%; }.close-control .reopen-reason { grid-column: 1 / -1; grid-row: auto; }.close-control .reopen-reason + .button { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 680px) {
    .report-heading { align-items: stretch; flex-direction: column; }.report-export-actions { display: grid; grid-template-columns: repeat(2,1fr); }.report-export-actions .button { padding-inline: 10px; }
    .report-filter-grid { grid-template-columns: 1fr 1fr; }.report-filter-submit { grid-column: 1 / -1; }
    .report-kpi-grid { gap: 10px; }.report-kpi { min-height: 103px; padding: 14px; }.report-kpi > strong { font-size: 19px; }
    .breakdown-row { grid-template-columns: minmax(130px,1fr) minmax(80px,.8fr) 30px; gap: 8px; }
    .close-control { grid-template-columns: 1fr; }.close-control .reopen-reason,.close-control .reopen-reason + .button { grid-column: auto; }.report-table { min-width: 850px; }
}
@media (max-width: 430px) {
    .report-filter-grid,.report-kpi-grid { grid-template-columns: 1fr; }.report-filter-submit { grid-column: auto; }.report-kpi { min-height: 90px; }
    .breakdown-row { grid-template-columns: 1fr 30px; }.breakdown-track { grid-column: 1 / -1; grid-row: 2; }.breakdown-row b { grid-column: 2; grid-row: 1; }
}

/* Phase 8 · SaaS & Enterprise */
.saas-heading { align-items: center; }
.saas-heading-actions { display: flex; gap: 9px; }
.saas-kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
.saas-kpi { position: relative; display: flex; min-height: 118px; flex-direction: column; justify-content: center; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.saas-kpi::after { content: ""; position: absolute; right: -25px; bottom: -34px; width: 82px; height: 82px; border: 14px solid currentColor; border-radius: 50%; opacity: .04; }
.saas-kpi > span { color: var(--muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.saas-kpi > strong { margin: 8px 0 5px; font-size: 21px; letter-spacing: -.04em; }
.saas-kpi > small { color: #918e9d; font-size: 7px; }
.saas-kpi.primary { color: #fff; border-color: #4d31bf; background: radial-gradient(circle at 92% 8%,rgba(168,154,255,.44),transparent 46%),linear-gradient(135deg,#6d4aff,#4326a8); }
.saas-kpi.primary > span,.saas-kpi.primary > small { color: #e2dcff; }
.saas-plan-section,.billing-card,.backup-card,.branding-card { margin-bottom: 18px; overflow: hidden; }
.cycle-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #f8f7fb; }
.cycle-switch button { min-height: 31px; padding: 0 11px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font: inherit; font-size: 7px; font-weight: 800; cursor: pointer; }
.cycle-switch button.active { color: var(--violet-deep); background: #fff; box-shadow: 0 2px 8px rgba(31,25,57,.09); }
.plan-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 16px; }
.plan-card { position: relative; display: flex; min-height: 315px; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: transform .16s,border-color .16s,box-shadow .16s; }
.plan-card:hover { transform: translateY(-2px); border-color: #cfc6ff; box-shadow: var(--shadow-sm); }
.plan-card.selected { border-color: #8d76ff; background: linear-gradient(180deg,#fbfaff,#fff 45%); box-shadow: inset 0 3px 0 var(--violet); }
.plan-card > header { display: flex; align-items: center; justify-content: space-between; color: var(--violet); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.plan-card > header b { padding: 4px 7px; border-radius: 99px; color: #087a50; background: var(--success-wash); font-size: 6px; letter-spacing: .04em; }
.plan-card > p { min-height: 44px; margin: 11px 0; color: var(--muted); font-size: 7px; line-height: 1.55; }
.plan-card > div { display: flex; flex-direction: column; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.plan-card > div strong { font-size: 19px; letter-spacing: -.04em; }.plan-card > div small { color: var(--muted); font-size: 6px; }
.plan-card ul { display: grid; gap: 9px; margin: 14px 0 18px; padding: 0; list-style: none; }
.plan-card li { display: flex; align-items: center; gap: 7px; color: #666372; font-size: 7px; }.plan-card li i { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; color: #087a50; background: var(--success-wash); font-size: 7px; font-style: normal; font-weight: 900; }
.plan-card .button { width: 100%; margin-top: auto; }
.saas-dual-grid { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(320px,.72fr); align-items: start; gap: 18px; margin-bottom: 18px; }
.feature-card,.usage-card,.sla-card,.support-card { overflow: hidden; }
.feature-list { max-height: 540px; overflow: auto; }
.feature-row { display: grid; min-height: 59px; grid-template-columns: auto minmax(150px,1fr) auto auto auto; align-items: center; gap: 10px; padding: 9px 15px; border-top: 1px solid #efedf4; }
.feature-row > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.feature-row strong { font-size: 8px; }.feature-row small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.feature-state { position: relative; width: 29px; height: 17px; border-radius: 99px; background: #d8d5df; }.feature-state i { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: left .15s; }.feature-state.on { background: var(--success); }.feature-state.on i { left: 15px; }
.usage-list { display: grid; gap: 19px; padding: 20px; }
.usage-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }.usage-row strong { font-size: 8px; }.usage-row span { color: #6e6b7b; font-size: 7px; font-weight: 800; }
.usage-track { height: 7px; overflow: hidden; border-radius: 99px; background: #efedf5; }.usage-track i { display: block; min-width: 2px; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--violet),#a89aff); }
.usage-row > small { display: block; margin-top: 5px; color: var(--muted); font-size: 6px; }
.invoice-create-bar { display: grid; grid-template-columns: repeat(3,minmax(130px,180px)) auto; align-items: end; gap: 10px; padding: 14px 17px; border-top: 1px solid var(--line); background: #fbfafe; }
.invoice-create-bar label,.saas-form-grid > label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #6a6778; font-size: 7px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.invoice-create-bar input,.saas-form-grid input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 9px; font-weight: 600; text-transform: none; letter-spacing: 0; outline: 0; }
.invoice-create-bar input:focus,.saas-form-grid input:focus { border-color: #b7aaff; box-shadow: 0 0 0 3px rgba(109,74,255,.09); }
.invoice-table { min-width: 960px; }.invoice-table td { height: 58px; }
.invoice-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; white-space:nowrap; }.invoice-download { display:inline-flex; min-height:30px; align-items:center; padding:0 10px; border:1px solid #d9d3fa; border-radius:9px; background:var(--violet-wash); font-weight:800; }.invoice-empty-state { display:flex; align-items:center; justify-content:center; gap:12px; min-height:120px; padding:24px; color:var(--muted); }.invoice-empty-state > span { display:grid; width:38px; height:38px; place-items:center; border:1px solid #dcd4fa; border-radius:12px; background:var(--violet-wash); color:var(--violet); font-size:19px; }.invoice-empty-state div { display:flex; flex-direction:column; gap:4px; }.invoice-empty-state strong { color:var(--ink); }.invoice-empty-state small { font-size:9px; }
.invoice-preview-list { display:flex; flex-direction:column; padding:4px 18px 16px; }.invoice-preview-list article { display:grid; grid-template-columns:34px minmax(180px,1fr) auto auto auto; align-items:center; gap:12px; padding:12px 4px; border-top:1px solid var(--line); }.invoice-preview-list article:first-child { border-top:0; }.invoice-preview-icon { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; background:var(--violet-wash); color:var(--violet); }.invoice-preview-list article > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.invoice-preview-list small { color:var(--muted); font-size:8px; }
.invoice-summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }.invoice-summary-grid article { display:flex; min-height:108px; flex-direction:column; justify-content:center; gap:5px; padding:18px; }.invoice-summary-grid article > span { color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }.invoice-summary-grid article strong { font-size:22px; }.invoice-summary-grid article small { color:var(--muted); font-size:9px; }.invoice-summary-grid article.primary { border-color:#cfc4ff; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); color:#fff; }.invoice-summary-grid article.primary > span,.invoice-summary-grid article.primary small { color:#ded9ff; }.invoice-portal-card { margin-bottom:18px; overflow:hidden; }.invoice-document-list { display:flex; flex-direction:column; padding:0 20px 14px; }.invoice-document-list article { display:grid; grid-template-columns:44px minmax(250px,1fr) minmax(160px,.55fr) auto auto; align-items:center; gap:16px; padding:18px 0; border-top:1px solid var(--line); }.invoice-document-list article:first-child { border-top:0; }.invoice-document-icon { display:grid; width:42px; height:42px; place-items:center; border:1px solid #dcd4fa; border-radius:13px; background:var(--violet-wash); color:var(--violet); font-size:20px; }.invoice-document-copy,.invoice-document-amount { display:flex; min-width:0; flex-direction:column; gap:4px; }.invoice-document-copy strong { font-size:12px; }.invoice-document-copy small,.invoice-document-copy span,.invoice-document-amount small,.invoice-document-amount span { color:var(--muted); font-size:8px; }.invoice-document-amount strong { font-size:14px; }.invoice-pdf-button { white-space:nowrap; }.invoice-empty-state.large { min-height:220px; }.invoice-help-strip { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; }.invoice-help-strip > div { display:flex; flex-direction:column; gap:4px; }.invoice-help-strip .card-kicker { margin:0; }.invoice-help-strip small { color:var(--muted); font-size:9px; }
@media (max-width:1050px) { .invoice-summary-grid { grid-template-columns:1fr 1fr; }.invoice-document-list article { grid-template-columns:44px 1fr auto; }.invoice-document-amount { grid-column:2; }.invoice-document-list .request-status { grid-column:3; grid-row:1; }.invoice-pdf-button { grid-column:3; grid-row:2; } }
@media (max-width:680px) { .invoice-summary-grid { grid-template-columns:1fr; }.invoice-document-list article,.invoice-preview-list article { grid-template-columns:38px 1fr; }.invoice-document-amount,.invoice-document-list .request-status,.invoice-pdf-button,.invoice-preview-list article > strong,.invoice-preview-list article > .request-status,.invoice-preview-list article > a { grid-column:2; grid-row:auto; justify-self:start; }.invoice-help-strip { align-items:flex-start; flex-direction:column; } }
.enterprise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.saas-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 16px 18px 19px; }
.saas-form-grid .wide { grid-column: 1 / -1; }.saas-form-grid .button { width: 100%; }
.saas-form-grid .toggle-line { min-height: 48px; flex-direction: row; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfafe; text-transform: none; letter-spacing: 0; }.saas-form-grid .toggle-line input { width: 16px; height: 16px; padding: 0; accent-color: var(--violet); }.saas-form-grid .toggle-line span { display: flex; flex-direction: column; gap: 3px; }.saas-form-grid .toggle-line strong { color: var(--ink); font-size: 8px; }.saas-form-grid .toggle-line small { color: var(--muted); font-size: 6px; font-weight: 500; }
.saas-card-copy { margin: 0; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 7px; line-height: 1.55; }
.support-form { padding-top: 3px; }.support-access-list { display: grid; border-top: 1px solid var(--line); }.support-access-list > div { display: grid; min-height: 58px; grid-template-columns: auto minmax(120px,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 15px; border-top: 1px solid #f0eef5; }.support-access-list > div:first-child { border-top: 0; }.support-access-list > div > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.support-access-list strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.support-access-list small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.support-access-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-wash); font-size: 10px; font-weight: 900; }
.empty-copy.compact { min-height: 84px; }
.backup-card { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); }
.backup-policy-panel { border-right: 1px solid var(--line); }.backup-history-panel { min-width: 0; }
.backup-history-panel > header { display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; border-bottom: 1px solid var(--line); }.backup-history-panel h3 { margin: 3px 0 0; font-size: 13px; }
.backup-list { display: grid; max-height: 420px; overflow: auto; }.backup-row { display: grid; min-height: 62px; grid-template-columns: auto minmax(150px,1fr) auto auto auto; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid #f0eef5; }.backup-row:first-child { border-top: 0; }.backup-row > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.backup-row strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.backup-row small { overflow: hidden; color: var(--muted); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.backup-kind { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 900; }
.branding-card { display: grid; grid-template-columns: minmax(390px,.95fr) minmax(320px,1.05fr); margin-bottom: 80px; }
.branding-editor { border-right: 1px solid var(--line); }.branding-preview { display: grid; min-height: 520px; place-items: center; padding: 38px; background: radial-gradient(circle at 70% 20%,color-mix(in srgb,var(--brand-accent),transparent 75%),transparent 38%),#f7f6fb; }
.preview-label { position: absolute; align-self: start; justify-self: start; padding: 5px 8px; border-radius: 99px; color: var(--violet); background: #fff; box-shadow: var(--shadow-sm); font-size: 6px; font-weight: 850; text-transform: uppercase; }
.preview-window { width: min(390px,100%); overflow: hidden; border: 1px solid rgba(47,42,67,.1); border-radius: 18px; background: #fff; box-shadow: 0 24px 50px rgba(40,31,77,.14); }.preview-window > header { display: grid; grid-template-columns: auto 1fr; gap: 2px 9px; align-items: center; padding: 15px; border-bottom: 1px solid var(--line); }.preview-window > header i { grid-row: 1 / 3; display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; color: #fff; background: var(--brand-primary); font-size: 8px; font-style: normal; font-weight: 900; }.preview-window > header strong { font-size: 9px; }.preview-window > header span { color: var(--muted); font-size: 6px; }
.preview-window main { min-height: 230px; padding: 31px 26px; background: radial-gradient(circle at 100% 0,color-mix(in srgb,var(--brand-accent),transparent 77%),transparent 48%); }.preview-window main > span { color: var(--brand-primary); font-size: 7px; font-weight: 850; text-transform: uppercase; }.preview-window h3 { max-width: 260px; margin: 8px 0; font-size: 24px; line-height: 1.05; letter-spacing: -.05em; }.preview-window p { max-width: 270px; color: var(--muted); font-size: 7px; line-height: 1.55; }.preview-window main button { margin-top: 16px; padding: 10px 13px; border: 0; border-radius: 9px; color: #fff; background: var(--brand-primary); font: inherit; font-size: 7px; font-weight: 850; }.preview-window footer { padding: 10px 15px; color: var(--muted); font-size: 6px; text-align: center; }

@media (max-width: 1180px) {
    .plan-card-grid { grid-template-columns: repeat(2,1fr); }.plan-card { min-height: 285px; }
    .saas-dual-grid { grid-template-columns: 1fr; }.enterprise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .backup-card { grid-template-columns: minmax(285px,.7fr) minmax(0,1.3fr); }.branding-card { grid-template-columns: minmax(360px,.9fr) minmax(320px,1.1fr); }
}
@media (max-width: 920px) {
    .saas-kpi-grid { grid-template-columns: repeat(2,1fr); }.enterprise-grid,.backup-card,.branding-card { grid-template-columns: 1fr; }
    .backup-policy-panel,.branding-editor { border-right: 0; border-bottom: 1px solid var(--line); }.branding-preview { min-height: 450px; }
}
@media (max-width: 680px) {
    .saas-heading { align-items: stretch; flex-direction: column; }.saas-heading-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .saas-plan-section > .card-header { align-items: stretch; flex-direction: column; gap: 11px; }.cycle-switch { align-self: stretch; }.cycle-switch button { flex: 1; }
    .plan-card-grid { grid-template-columns: 1fr; }.plan-card { min-height: 0; }.plan-card > p { min-height: 0; }
    .feature-row { grid-template-columns: auto minmax(120px,1fr) auto; }.feature-row .text-action { grid-column: 2; justify-self: start; }.feature-row .text-action + .text-action { grid-column: 3; }
    .invoice-create-bar { grid-template-columns: 1fr 1fr; }.invoice-create-bar .button { grid-column: 1 / -1; width: 100%; }
    .backup-row { grid-template-columns: auto minmax(120px,1fr) auto; }.backup-row .text-action { grid-column: 2; justify-self: start; }.backup-row .text-action + .text-action { grid-column: 3; }
    .branding-preview { min-height: 390px; padding: 24px 16px; }
}
@media (max-width: 430px) {
    .saas-kpi-grid,.saas-form-grid,.invoice-create-bar { grid-template-columns: 1fr; }.saas-kpi { min-height: 94px; }.saas-form-grid .wide,.invoice-create-bar .button { grid-column: auto; }
    .saas-heading-actions { grid-template-columns: 1fr; }.support-access-list > div { grid-template-columns: auto 1fr auto; }.support-access-list .text-action { grid-column: 2 / -1; justify-self: start; }
}

/* Brand assets supplied for Zeitgeist */
.brand-art { display: block; }
.login-logo .brand-art { width: 56px; height: 56px; border-radius: 16px; }
.login-hero-logo { position: absolute; z-index: 1; left: 53%; top: 47%; width: min(50vw,700px); max-width: 78%; transform: translate(-50%,-50%); opacity: .24; filter: saturate(1.18); pointer-events: none; }
.terminal-brand { display: block; min-width: 182px; width: auto; color: #fff; filter: none; }
.terminal-brand .brand-art { width: 42px; height: 42px; border-radius: 13px; }
.terminal-brand .brand-copy strong { color: #fff; font-size: 14px; }
.terminal-brand .brand-copy small { display: none; }

@media (max-width: 520px) {
    .terminal-brand { min-width: 46px; }
    .terminal-brand .brand-copy { display: none; }
}

/* Phase polish: larger work mode, transparent logo, services, tenants and stamp cards */
.brand-lockup .brand-art { object-fit: contain; background: transparent; box-shadow: none; border-radius: 0; filter: drop-shadow(0 10px 18px rgba(109,74,255,.22)); }
.brand-lockup .brand-mark { width: 52px; height: 52px; transform: scale(1.28); transform-origin: center; }
.sidebar-brand .brand-lockup { gap: 12px; }
.login-logo .brand-art,.terminal-brand .brand-art { border-radius: 0; background: transparent; box-shadow: none; }

.timer-stage { grid-template-columns: 210px minmax(0,1fr) auto; min-height: 330px; gap: 42px; padding: 42px 50px; border-radius: 30px; }
.timer-orbit { width: 182px; height: 182px; }
.timer-core { inset: 60px; font-size: 30px; }
.timer-display > strong { font-size: clamp(64px,8vw,116px); letter-spacing: -.07em; }
.timer-display h2 { margin-top: 12px; font-size: clamp(24px,2.4vw,36px); }
.timer-display p { max-width: 760px; font-size: 15px; line-height: 1.65; }
.timer-controls { gap: 14px; }
.timer-control { min-height: 58px; padding-inline: 22px; border-radius: 17px; font-size: 14px; }
.timer-workspace-grid { grid-template-columns: minmax(360px,.92fr) minmax(480px,1.08fr); gap: 26px; }
.timer-form-card form,.manual-entry-card form { padding: 26px; }
.timer-form-card .form-grid input,.timer-form-card .form-grid select,.timer-form-card .form-grid textarea,
.manual-entry-card .form-grid input,.manual-entry-card .form-grid select,.manual-entry-card .form-grid textarea,
.time-entry-editor .form-grid input,.time-entry-editor .form-grid select,.time-entry-editor .form-grid textarea {
    min-height: 52px; border-radius: 14px; font-size: 14px; padding-inline: 14px;
}
.timer-form-card .form-grid textarea,.manual-entry-card .form-grid textarea,.time-entry-editor .form-grid textarea { min-height: 112px; padding-block: 14px; }
.timer-form-card .form-grid label,.manual-entry-card .form-grid label,.time-entry-editor .form-grid label { gap: 9px; font-size: 11px; }
.toggle-field { min-height: 52px; padding: 12px 14px; border: 1px solid #ebe8f4; border-radius: 14px; background: #fbfaff; }
.toggle-field span { font-size: 13px; line-height: 1.35; }
.toggle-field span strong { display: block; color: var(--ink); font-size: 13px; }
.toggle-field span small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.day-balance-strip > span { min-height: 78px; }
.day-balance-strip strong { font-size: 18px; }
.mini-time-entry { min-height: 66px; grid-template-columns: 94px 18px 1fr; }
.mini-time-entry time { font-size: 12px; }
.mini-time-entry strong { font-size: 13px; }
.mini-time-entry small { font-size: 11px; }

.timeline-layout { grid-template-columns: minmax(0,1.52fr) minmax(360px,.48fr); gap: 26px; }
.day-toolbar { min-height: 76px; border-radius: 20px; }
.day-toolbar label input { height: 46px; font-size: 14px; }
.day-toolbar-metrics small,.day-balance-strip small { font-size: 9px; }
.automatic-break-banner { border-radius: 22px; padding: 20px 24px; }
.drag-timeline-shell { grid-template-columns: 72px 1fr; margin: 18px 20px 22px; border-radius: 18px; }
.timeline-hours span { right: 13px; font-size: 10px; }
.timeline-help { margin: 18px 20px 0; padding: 14px 16px; border-radius: 16px; }
.timeline-help strong { font-size: 12px; }
.timeline-help small { font-size: 11px; }
.timeline-entry-block { right: 18px; left: 18px; padding: 12px 16px; border-radius: 16px; box-shadow: 0 12px 28px rgba(58,39,135,.13); }
.timeline-entry-head strong { font-size: 12px; }
.timeline-entry-head span { font-size: 10px; }
.timeline-entry-body > span { font-size: 9px; }
.timeline-entry-body h3 { font-size: 15px; }
.timeline-entry-body p,.timeline-entry-meta,.timeline-entry-meta button { font-size: 10px; }
.form-proof { font-size: 10px; }

.employee-editor { width: min(1100px,94vw); border-radius: 26px 0 0 26px; box-shadow: -42px 0 120px rgba(19,15,43,.28); }
.employee-editor-head { min-height: 128px; padding: 28px 34px; }
.employee-editor-tabs { min-height: 78px; padding-inline: 32px; }
.employee-editor-tabs button { font-size: 12px; }
.employee-editor-tabs button span { font-size: 9px; }
.editor-section { padding: 34px 38px 120px; }
.section-heading h3 { font-size: 24px; }
.section-heading p { font-size: 13px; }
.section-heading > span { font-size: 9px; }
.employee-editor .form-grid input,.employee-editor .form-grid select,.employee-editor .access-save-panel input { height: 52px; border-radius: 14px; font-size: 14px; }
.employee-editor .form-grid label { gap: 9px; font-size: 11px; }
.employee-editor-footer { padding: 18px 34px; }
.employee-editor-footer strong { font-size: 12px; }
.employee-editor-footer small { font-size: 10px; }

.service-card-grid { gap: 16px; padding: 18px; }
.service-card { position: relative; padding: 20px; border-radius: 18px; background: linear-gradient(140deg,#fff,#fbfaff); }
.service-card.billable { border-color: #cfc6ff; }
.service-card.internal { border-color: #e7e3d6; background: linear-gradient(140deg,#fff,#fffaf0); }
.service-card > header span { width: 48px; height: 48px; border-radius: 14px; font-size: 10px; }
.service-card > header strong { font-size: 14px; }
.service-card > header small,.service-card > div small,.service-card > footer span { font-size: 9px; }
.service-card > div strong { font-size: 15px; }
.service-billing-chip { color: #3c278a !important; background: #eee9ff !important; font-weight: 850; }
.service-card.internal .service-billing-chip { color: #8a650d !important; background: var(--warning-wash) !important; }
.service-create-card .toggle-field { align-items: flex-start; }
.service-create-card .button-block { min-height: 52px; }

.tenant-provision-card { margin-bottom: 18px; overflow: hidden; }
.tenant-create-grid { display: grid; grid-template-columns: 1.15fr .8fr .8fr .8fr .65fr auto; gap: 12px; padding: 18px; border-top: 1px solid var(--line); background: #fbfaff; }
.tenant-create-grid label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #6a6778; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.tenant-create-grid input,.tenant-create-grid select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #dfdde7; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 650; text-transform: none; letter-spacing: 0; outline: 0; }
.tenant-create-grid input:focus,.tenant-create-grid select:focus { border-color: #b7aaff; box-shadow: 0 0 0 3px rgba(109,74,255,.09); }
.tenant-create-grid .button { align-self: end; min-height: 46px; white-space: nowrap; }
.tenant-list { display: grid; gap: 10px; padding: 18px; border-top: 1px solid var(--line); }
.tenant-list article { display: grid; grid-template-columns: auto minmax(180px,1fr) auto auto auto minmax(190px,.8fr); align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #eeeaf7; border-radius: 16px; background: #fff; }
.tenant-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#6d4aff,#4326a8); font-size: 11px; font-weight: 900; }
.tenant-list strong { font-size: 13px; }
.tenant-list small { color: var(--muted); font-size: 10px; }
.tenant-list article > span:not(.tenant-avatar):not(.request-status) { color: #4f4b5e; font-size: 11px; font-weight: 850; }

.terminal-admin-form { gap: 14px; }
.terminal-admin-form > label:not(.terminal-toggle) { font-size: 9px; }
.terminal-admin-form input,.terminal-admin-form select { height: 48px; border-radius: 13px; font-size: 12px; }
.credential-security-note strong { font-size: 11px; }
.credential-security-note small { font-size: 9px; }
.digital-stamp-card-preview { display: grid; gap: 12px; margin: 0 20px 20px; padding: 18px; border: 1px solid #d7cffd; border-radius: 18px; background: radial-gradient(circle at 100% 0,rgba(109,74,255,.12),transparent 42%),#fff; box-shadow: 0 12px 32px rgba(63,43,135,.08); }
.digital-stamp-card-preview header { display: flex; align-items: center; gap: 12px; }
.digital-stamp-card-preview header > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#6d4aff,#4326a8); font-size: 11px; font-weight: 900; }
.digital-stamp-card-preview header div { display: flex; flex-direction: column; gap: 3px; }
.digital-stamp-card-preview strong { font-size: 13px; }
.digital-stamp-card-preview small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.stamp-card-visual { display: grid; width: 132px; grid-template-columns: repeat(8,1fr); gap: 4px; padding: 10px; border: 1px solid #e4defb; border-radius: 16px; background: #fbfaff; }
.stamp-card-visual i { aspect-ratio: 1; border-radius: 4px; background: #ede9f8; }
.stamp-card-visual i.on { background: #37217c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.digital-stamp-card-preview code { padding: 10px 12px; overflow: auto; border: 1px dashed #cabfff; border-radius: 12px; background: #fff; color: #442c91; font-size: 10px; white-space: nowrap; }

.saas-form-grid select,.invoice-create-bar select { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #dfdde7; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 9px; font-weight: 600; outline: 0; }

@media (max-width: 1180px) {
    .timer-stage { grid-template-columns: 170px 1fr; }
    .timer-controls { grid-column: 1 / -1; flex-direction: row; }
    .tenant-create-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .tenant-create-grid .button { grid-column: 1 / -1; justify-self: end; }
    .tenant-list article { grid-template-columns: auto minmax(180px,1fr) auto auto; }
    .tenant-list article > small { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
    .brand-lockup .brand-mark { width: 44px; height: 44px; }
    .timer-stage { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
    .timer-orbit { display: none; }
    .timer-display p { margin-inline: auto; }
    .timer-workspace-grid,.timeline-layout { grid-template-columns: 1fr; }
    .tenant-create-grid,.tenant-list article { grid-template-columns: 1fr; }
    .tenant-create-grid .button { justify-self: stretch; }
    .tenant-list article { align-items: start; }
}

/* Phase 9: day editor, destructive actions and readable team planning */
.timeline-drag-time-preview { position:absolute; z-index:12; right:16px; min-width:118px; padding:7px 11px; border:1px solid rgba(255,255,255,.72); border-radius:9px; color:#fff; background:#24194d; box-shadow:0 8px 24px rgba(36,25,77,.28); font-size:11px; font-weight:850; text-align:center; pointer-events:none; }
.time-entry-editor-actions { display:flex; align-items:center; gap:9px; width:100%; }
.editor-action-spacer { flex:1; }
.delete-confirm-copy { margin-right:auto; color:#a62f43; font-size:10px; font-weight:800; }
.button-danger { border:1px solid #d9475b; color:#fff; background:#d9475b; }
.button-danger:hover { background:#bf3348; }
.button-danger.subtle { color:#b73249; background:#fff5f7; }
.drag-timeline-shell { max-height:820px; }
.team-calendar-card { width:100%; }
.calendar-day { min-height:210px; padding:13px; }
.calendar-day > header strong { font-size:14px; }
.calendar-weekdays span { padding:13px; font-size:10px; }
.calendar-absence-chip { grid-template-columns:5px 1fr; margin-bottom:7px; border-radius:9px; }
.calendar-absence-chip > span { gap:3px; padding:8px 7px 8px 2px; }
.calendar-absence-chip strong { font-size:10px; }
.calendar-absence-chip small,.holiday-chip,.calendar-more { font-size:9px; }

.credential-create-grid { margin-top:14px; }
.employee-card-downloads { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; padding:16px; border:1px solid #e7e2f7; border-radius:16px; background:#faf8ff; }
.time-access-window-card { display:grid; grid-template-columns:minmax(180px,1fr) auto 110px; align-items:center; gap:14px; margin:16px 0; padding:16px; border:1px solid #e7e2f7; border-radius:16px; background:#faf8ff; }
.time-access-window-card > div { display:flex; flex-direction:column; gap:3px; }.time-access-window-card span,.time-access-window-card small { color:var(--muted); font-size:9px; }.time-access-window-card strong { font-size:13px; }
.role-editor-modal { width:min(920px,94vw); max-height:92vh; }.role-permission-editor { display:grid; gap:8px; max-height:52vh; padding:16px 22px; overflow:auto; }.role-permission-editor h3 { margin:12px 0 2px; color:var(--violet); font-size:11px; text-transform:uppercase; }.role-permission-editor label { display:grid; grid-template-columns:minmax(260px,1fr) 220px; align-items:center; gap:14px; padding:9px 12px; border:1px solid #ece9f3; border-radius:10px; }.role-permission-editor label span { display:flex; flex-direction:column; gap:2px; }.role-permission-editor small { color:var(--muted); font-size:8px; }
.team-management-layout { display:grid; grid-template-columns:minmax(300px,.75fr) minmax(520px,1.4fr); gap:18px; }.team-list-card,.team-access-card { overflow:hidden; }.team-admin-list { display:grid; gap:8px; padding:16px; }.team-admin-item { display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:12px; padding:12px; border:1px solid #e9e6f1; border-radius:14px; background:#fff; text-align:left; }.team-admin-item > span { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; color:#fff; background:#6d4aff; font-weight:850; }.team-admin-item div { display:flex; flex-direction:column; gap:3px; }.team-admin-item small,.team-admin-item i { color:var(--muted); font-size:9px; font-style:normal; }.team-admin-item.active { border-color:#a99aff; background:#f7f4ff; box-shadow:0 0 0 2px rgba(109,74,255,.08); }.team-create-panel { display:grid; gap:9px; padding:16px; border-top:1px solid var(--line); background:#faf9fc; }.team-create-panel input { width:100%; }.team-access-empty { display:grid; min-height:520px; place-content:center; justify-items:center; padding:30px; text-align:center; }.team-access-empty > span { color:var(--violet); font-size:48px; }.team-meta-form { padding:18px; }.team-access-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding:0 18px 18px; }.team-access-columns section { min-width:0; padding:16px; border:1px solid #e8e5ef; border-radius:16px; }.team-access-columns section > label { display:flex; align-items:center; gap:9px; margin-top:8px; padding:8px; border-radius:9px; background:#faf9fc; font-size:10px; }.team-access-columns section > label span { min-width:0; overflow-wrap:anywhere; }.team-access-card > footer { display:flex; justify-content:flex-end; padding:16px 18px; border-top:1px solid var(--line); }
.team-readonly-view { display:grid; gap:18px; padding:22px; }.team-readonly-intro { display:flex; align-items:flex-start; gap:14px; padding:18px; border:1px solid #e7e2f2; border-radius:18px; background:linear-gradient(135deg,#fbfaff,#f4f9f4); }.team-readonly-intro > div { display:grid; gap:4px; }.team-readonly-intro small { color:var(--green); font-size:8px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.team-readonly-intro h3,.team-readonly-intro p { margin:0; }.team-readonly-intro p { color:var(--muted); font-size:10px; line-height:1.55; }.team-readonly-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }.team-readonly-facts div { padding:14px; border:1px solid #e8e5ef; border-radius:14px; }.team-readonly-facts dt { color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }.team-readonly-facts dd { margin:5px 0 0; font-size:12px; font-weight:850; }.team-readonly-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.team-readonly-columns section { min-width:0; padding:14px; border:1px solid #e8e5ef; border-radius:14px; }.team-readonly-columns h3 { margin:0 0 10px; font-size:11px; }.team-readonly-chip { display:block; margin-top:6px; padding:8px 9px; overflow:hidden; border-radius:9px; color:#554f67; background:#f6f4fa; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.team-readonly-note { margin:0; padding:12px 14px; border-left:3px solid var(--green); color:var(--muted); background:#f4faf6; font-size:9px; }
.my-stamp-card-layout { display:grid; grid-template-columns:minmax(340px,520px) minmax(300px,1fr); gap:24px; align-items:start; }.my-stamp-card { overflow:hidden; padding:0; color:#fff; background:linear-gradient(155deg,#211748,#0d0b19); }.my-stamp-card > header { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; background:linear-gradient(90deg,#6d4aff,#9a4eff); }.my-stamp-card > header .brand-lockup { max-width:170px; }.my-stamp-card > header > span { font-size:9px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }.my-stamp-card-person { display:flex; flex-direction:column; gap:4px; padding:24px 28px 12px; }.my-stamp-card-person strong { font-size:25px; }.my-stamp-card-person small { color:#c7bfdf; }.my-stamp-card-qr { width:280px; margin:12px auto; padding:16px; border-radius:20px; background:#fff; }.my-stamp-card-qr svg { display:block; width:100%; height:auto; }.my-stamp-card > p { margin:16px 0 28px; text-align:center; }.stamp-card-actions { display:flex; flex-direction:column; gap:12px; padding:28px; }.stamp-card-actions .button { justify-content:center; }
.apple-wallet-button { min-height:48px; border-color:#000; color:#fff; background:#000; font-size:12px; }.apple-wallet-button span { font-size:19px; }.apple-wallet-button:hover { color:#fff; background:#191919; box-shadow:0 10px 24px rgba(0,0,0,.2); }.apple-wallet-button.unavailable { opacity:.48; cursor:not-allowed; }.wallet-setup-hint { color:var(--muted); font-size:9px; line-height:1.5; text-align:center; }
.itgeist-platform-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:18px; }.itgeist-platform-kpis article { display:flex; flex-direction:column; gap:4px; padding:20px; border:1px solid #dfd9f3; border-radius:18px; background:linear-gradient(145deg,#fff,#f7f4ff); }.itgeist-platform-kpis strong { font-size:26px; }.itgeist-platform-kpis span,.itgeist-platform-kpis small { color:var(--muted); font-size:9px; }.itgeist-admin-layout { display:grid; grid-template-columns:minmax(330px,.8fr) minmax(520px,1.2fr); gap:18px; }.itgeist-tenant-list,.itgeist-config-card { overflow:hidden; }.itgeist-tenant-row { display:grid; width:calc(100% - 28px); grid-template-columns:44px 1fr auto; align-items:center; gap:11px; margin:8px 14px; padding:11px; border:1px solid #e8e4f0; border-radius:13px; background:#fff; text-align:left; cursor:pointer; transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease; }.itgeist-tenant-row:hover { border-color:#b8aaff; background:#faf8ff; box-shadow:0 8px 22px rgba(60,42,135,.1); transform:translateY(-1px); }.itgeist-tenant-row > span { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; color:#fff; background:#26195b; font-weight:850; }.itgeist-tenant-row div { display:flex; flex-direction:column; gap:3px; }.itgeist-tenant-row small,.itgeist-tenant-row i { color:var(--muted); font-size:8px; font-style:normal; }.itgeist-tenant-row b { color:var(--violet); font-size:9px; }.itgeist-tenant-row i { grid-column:3; }.itgeist-tenant-row.active { border-color:#9f8dff; background:#f6f3ff; }.itgeist-form { padding:22px; }.itgeist-config-card > footer { display:flex; justify-content:flex-end; padding:18px 22px; border-top:1px solid var(--line); }
@media (max-width:980px) { .team-management-layout,.itgeist-admin-layout,.my-stamp-card-layout { grid-template-columns:1fr; }.team-access-columns,.team-readonly-columns { grid-template-columns:1fr; }.itgeist-platform-kpis { grid-template-columns:1fr; }.time-access-window-card { grid-template-columns:1fr; } }

/* Phase 10: complete test-company onboarding */
.itgeist-native-provision-form { display:block; }.itgeist-native-provision-form > footer { display:flex; justify-content:flex-end; gap:10px; padding:18px 22px; border-top:1px solid var(--line); }
.tenant-ready-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; margin:0 0 20px; padding:22px; border:1px solid #b8ead5; border-radius:20px; background:linear-gradient(135deg,#f1fff9,#faf8ff); box-shadow:0 14px 38px rgba(26,113,81,.09); }
.tenant-ready-icon { display:grid; width:52px; height:52px; place-items:center; border-radius:16px; color:#fff; background:#18a86b; font-size:22px; font-weight:900; }
.tenant-ready-card h2 { margin:4px 0; font-size:20px; }.tenant-ready-card p { margin:0 0 12px; color:var(--muted); font-size:10px; }
.tenant-ready-card dl { display:flex; flex-wrap:wrap; gap:8px; margin:0; }.tenant-ready-card dl div { min-width:145px; padding:8px 10px; border:1px solid rgba(24,168,107,.16); border-radius:10px; background:rgba(255,255,255,.76); }
.tenant-ready-card dt { color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }.tenant-ready-card dd { margin:3px 0 0; font-size:10px; font-weight:800; }.tenant-ready-card code { color:#2c176f; font-family:inherit; font-weight:900; }
.tenant-ready-access-note { display:flex; max-width:310px; flex-direction:column; gap:4px; padding:12px 14px; border:1px solid rgba(109,74,255,.18); border-radius:12px; background:rgba(255,255,255,.72); }.tenant-ready-access-note strong { font-size:10px; }.tenant-ready-access-note small,.support-access-required { color:var(--muted); font-size:8px; line-height:1.5; }.support-access-required { max-width:270px; margin-right:auto; }.itgeist-tenant-row i em { color:#087a50; font-style:normal; font-weight:800; }
.itgeist-form-section { margin:8px 0 -2px; padding-top:15px; border-top:1px solid var(--line); color:var(--violet); font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.itgeist-form label small { margin-top:4px; color:var(--muted); font-size:8px; line-height:1.45; }
.tenant-seed-toggle { align-items:flex-start !important; padding:14px; border:1px solid #dfd7ff; border-radius:14px; background:#f8f6ff; }.tenant-seed-toggle span { display:flex; flex-direction:column; gap:3px; }.tenant-seed-toggle strong { font-size:10px; }
.itgeist-provision-footer,.itgeist-config-card > footer { gap:10px; }.itgeist-config-card > footer form { display:flex; }
.tenant-return-form { margin-bottom:10px; }.tenant-return-form button { display:flex; width:100%; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(169,154,255,.38); border-radius:12px; color:#e5deff; background:rgba(109,74,255,.12); text-align:left; }
.tenant-return-form button > span { display:grid; width:30px; height:30px; place-items:center; border-radius:9px; background:rgba(109,74,255,.3); }.tenant-return-form button div { display:flex; flex-direction:column; gap:2px; }.tenant-return-form strong { font-size:9px; }.tenant-return-form small { color:#a89fc4; font-size:8px; }
a.tenant-return-form { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(169,154,255,.38); border-radius:12px; color:#e5deff; background:rgba(109,74,255,.12); text-decoration:none; }a.tenant-return-form > span { display:grid; width:30px; height:30px; place-items:center; border-radius:9px; background:rgba(109,74,255,.3); }a.tenant-return-form div { display:flex; flex-direction:column; gap:2px; }
@media (max-width:760px) { .tenant-ready-card { grid-template-columns:1fr; }.tenant-ready-icon { width:44px; height:44px; }.tenant-ready-card form .button { width:100%; justify-content:center; } }

/* Phase 11: direct slot creation, complete entity editors and tenant operations */
.timeline-drop-zone { padding:0; border-right:0; border-bottom:0; border-left:0; cursor:cell; }
.timeline-drop-zone:focus-visible { z-index:2; outline:2px solid var(--violet); outline-offset:-2px; background:rgba(109,74,255,.08); }
.timeline-empty-overlay { position:sticky; z-index:2; top:270px; display:flex; width:min(330px,74%); flex-direction:column; align-items:center; gap:5px; margin:255px auto 0; padding:18px 22px; border:1px solid #ddd5ff; border-radius:18px; background:rgba(255,255,255,.9); box-shadow:0 16px 42px rgba(50,34,110,.1); text-align:center; pointer-events:none; }
.timeline-empty-overlay > span { display:grid; width:38px; height:38px; place-items:center; border-radius:12px; color:#fff; background:var(--violet); font-size:20px; }.timeline-empty-overlay strong { font-size:13px; }.timeline-empty-overlay small { color:var(--muted); font-size:10px; }
.slot-create-summary,.team-create-hero,.entity-editor-summary { display:flex; align-items:center; gap:13px; margin-bottom:18px; padding:14px; border:1px solid #e3ddff; border-radius:15px; background:#f8f6ff; }.slot-create-summary > span,.team-create-hero > span,.entity-editor-summary > span { display:grid; width:46px; height:46px; flex:0 0 auto; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,#6d4aff,#4326a8); font-size:16px; font-weight:900; }.slot-create-summary > div,.team-create-hero > div,.entity-editor-summary > div { display:flex; flex-direction:column; gap:4px; }.slot-create-summary strong,.team-create-hero strong,.entity-editor-summary strong { font-size:12px; }.slot-create-summary small,.team-create-hero small,.entity-editor-summary small { color:var(--muted); font-size:10px; }
.entity-card-button { width:100%; color:inherit; font:inherit; text-align:left; cursor:pointer; }.entity-card-button.archived,.team-admin-item.archived,.itgeist-tenant-row.archived { opacity:.66; filter:saturate(.5); }.entity-card-button:focus-visible { outline:3px solid rgba(109,74,255,.2); outline-offset:2px; }
.entity-card-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; }.entity-card-head > span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:3px; }.entity-card-head strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.entity-card-head small { color:var(--muted); font-size:9px; }
.entity-card-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:13px; padding-top:11px; border-top:1px solid var(--line); color:var(--muted); font-size:9px; }.entity-card-footer > span { display:flex; min-width:0; flex-direction:column; gap:3px; }.entity-card-footer small { color:var(--muted); font-size:8px; text-transform:uppercase; }.entity-card-footer strong { color:var(--ink); font-size:10px; }.entity-card-footer b { margin-left:auto; color:var(--violet); font-size:10px; white-space:nowrap; }
.customer-card.entity-card-button { display:block; }.customer-card.entity-card-button .customer-contact { width:100%; }.customer-card.entity-card-button .entity-card-footer { display:grid; grid-template-columns:repeat(3,1fr) auto; }
.project-pulse-card.entity-card-button { display:block; transition:transform .16s,border-color .16s,box-shadow .16s; }.project-pulse-card.entity-card-button:hover { transform:translateY(-2px); border-color:#cfc6ff; box-shadow:var(--shadow-sm); }.project-pulse-card .entity-card-head { align-items:start; }.project-pulse-card .entity-card-head > span:first-child { display:flex; min-width:0; flex-direction:column; gap:3px; }.project-pulse-card .budget-progress > span:first-child { display:flex; justify-content:space-between; margin-bottom:6px; font-size:9px; }.project-pulse-card .budget-progress > small { display:block; margin-top:5px; color:var(--muted); font-size:8px; }
.service-card.entity-card-button { display:block; }.service-card .service-code { display:grid; width:48px; height:48px; place-items:center; border-radius:14px; color:var(--violet); background:var(--violet-wash); font-size:10px; font-weight:900; }.service-value-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:16px 0; }.service-value-grid > span { display:flex; flex-direction:column; gap:4px; }.service-value-grid small { color:var(--muted); font-size:9px; text-transform:uppercase; }.service-value-grid strong { font-size:15px; }.service-card-footer { display:flex; flex-wrap:wrap; gap:6px; }.service-card-footer > span { padding:5px 7px; border-radius:7px; color:#777482; background:#f3f2f6; font-size:9px; }.service-card-footer b { align-self:center; margin-left:auto; color:var(--violet); font-size:10px; }
.entity-list-tools { display:flex; align-items:center; gap:10px; }.archive-toggle { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:9px; font-weight:750; white-space:nowrap; }.archive-toggle input { width:16px; height:16px; accent-color:var(--violet); }.entity-empty { display:grid; min-height:280px; place-content:center; justify-items:center; padding:30px; text-align:center; }.entity-empty > span { color:var(--violet); font-size:38px; }.entity-empty h3 { margin:10px 0 4px; font-size:14px; }.entity-empty p { margin:0; color:var(--muted); font-size:10px; }
.entity-editor-modal { width:min(780px,94vw); }.entity-editor-modal.wide { width:min(920px,94vw); }.entity-editor-modal form { padding:22px; }.entity-editor-modal .form-grid textarea,.team-create-modal textarea { min-height:92px; padding:12px; border:1px solid #dad7e4; border-radius:10px; resize:vertical; }.entity-editor-modal .form-grid select { width:100%; min-height:42px; padding:0 11px; border:1px solid #dad7e4; border-radius:10px; background:#fff; }.entity-editor-actions { display:flex; align-items:center; gap:9px; width:100%; }
.entity-editor-kpis,.team-detail-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:18px; }.entity-editor-kpis > span,.team-detail-strip > span { display:flex; min-width:0; flex-direction:column; gap:4px; padding:12px; border:1px solid #ebe7f6; border-radius:12px; background:#fbfaff; }.entity-editor-kpis small,.team-detail-strip small { color:var(--muted); font-size:8px; text-transform:uppercase; }.entity-editor-kpis strong,.team-detail-strip strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.page-heading-actions { display:flex; align-items:center; gap:9px; }.team-create-modal { width:min(650px,94vw); }.team-create-modal form { padding:22px; }.team-editor-actions { display:flex; width:100%; align-items:center; gap:9px; }.team-access-card > footer.team-editor-actions { justify-content:flex-start; }.team-detail-strip { margin:18px 18px 0; }
.itgeist-platform-kpis { grid-template-columns:repeat(4,1fr); }.tenant-operation-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:20px 22px 0; }.tenant-operation-overview > span { display:flex; min-width:0; flex-direction:column; gap:4px; padding:12px; border:1px solid #e8e3f7; border-radius:12px; background:#faf8ff; }.tenant-operation-overview > span:nth-child(2) { grid-column:span 1; }.tenant-operation-overview small { color:var(--muted); font-size:8px; text-transform:uppercase; }.tenant-operation-overview strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.tenant-operation-overview strong.positive { color:#087a50; }.tenant-operation-overview strong.negative { color:#b73249; }
@media (max-width:920px) { .itgeist-platform-kpis { grid-template-columns:repeat(2,1fr); }.entity-list-tools,.page-heading-actions { align-items:stretch; flex-direction:column; }.entity-editor-kpis,.team-detail-strip { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) { .customer-card.entity-card-button .entity-card-footer { grid-template-columns:repeat(2,1fr); }.entity-card-footer b { grid-column:1 / -1; margin-left:0; }.tenant-operation-overview { grid-template-columns:1fr; }.entity-editor-actions,.team-editor-actions { align-items:stretch; flex-direction:column; }.entity-editor-actions .editor-action-spacer,.team-editor-actions .editor-action-spacer { display:none; }.entity-editor-actions .button,.team-editor-actions .button { width:100%; }.delete-confirm-copy { margin:0 0 5px; }.timeline-empty-overlay { width:82%; } }

/* Phase 12 · final administration, lifecycle, tenant branding and licensed provisioning */
.tenant-brand-logo { display:block; width:100%; max-width:190px; height:58px; object-fit:contain; object-position:left center; }
.tenant-large-avatar img { width:48px; height:48px; object-fit:contain; border-radius:12px; }
.tenant-profile-logo { position:relative; z-index:1; width:min(260px,70%); max-height:115px; object-fit:contain; filter:drop-shadow(0 14px 28px rgba(26,14,76,.25)); }
.role-card { min-height:210px; padding:20px; border-radius:20px; background:linear-gradient(145deg,#fff,#faf8ff); }
.role-card h2 { font-size:16px; }.role-card p { font-size:11px; }.role-card footer { align-items:center; font-size:10px; }
.role-card-actions { display:flex; align-items:center; gap:9px; margin-left:auto; }.protected-label { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.role-editor-modal { width:min(1040px,95vw); border-radius:24px; }.role-editor-intro { display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:12px; margin:18px 22px 0; padding:14px; border:1px solid #dfd8ff; border-radius:15px; background:linear-gradient(115deg,#f5f1ff,#fff); }.role-editor-intro > span { display:grid; width:38px; height:38px; place-items:center; border-radius:12px; color:#fff; background:var(--violet); font-weight:900; }.role-editor-intro > div { display:flex; flex-direction:column; gap:3px; }.role-editor-intro strong { font-size:12px; }.role-editor-intro small,.role-editor-intro i { color:var(--muted); font-size:9px; font-style:normal; }
.role-permission-editor label { padding:13px 15px; border-radius:14px; background:#fff; }.role-permission-editor label strong { font-size:11px; }.role-permission-editor select { min-height:42px; border-radius:11px; }
.confirmation-modal { width:min(560px,92vw); border-radius:22px; }.confirmation-copy { display:grid; grid-template-columns:54px 1fr; gap:15px; padding:26px; }.confirmation-copy p { margin:7px 0; color:var(--muted); font-size:11px; line-height:1.55; }.confirmation-copy small { color:#8a8494; font-size:9px; }.danger-orb { display:grid; width:52px; height:52px; place-items:center; border-radius:16px; color:#b73249; background:#fff0f2; font-size:23px; font-weight:900; }
.employee-delete-confirm { z-index:130; }
.employee-lifecycle-card { display:grid; grid-template-columns:minmax(240px,1fr) minmax(250px,1fr); gap:14px; align-items:end; margin-top:22px; padding:18px; border:1px solid #eadfe4; border-radius:17px; background:linear-gradient(130deg,#fffafb,#fff); }.employee-lifecycle-card > div:first-child { display:flex; flex-direction:column; align-self:center; gap:4px; }.employee-lifecycle-card > div:first-child span { color:#b73249; font-size:9px; font-weight:900; text-transform:uppercase; }.employee-lifecycle-card > div:first-child strong { font-size:15px; }.employee-lifecycle-card small { color:var(--muted); font-size:9px; line-height:1.45; }.employee-lifecycle-card label { display:flex; flex-direction:column; gap:7px; font-size:10px; }.employee-lifecycle-card input { height:44px; padding:0 12px; border:1px solid var(--line); border-radius:11px; }.employee-lifecycle-card > div:last-child { grid-column:1/-1; display:flex; justify-content:flex-end; gap:9px; }
.license-request-bar { display:grid; grid-template-columns:minmax(260px,1fr) 170px minmax(260px,1fr); gap:14px; align-items:end; margin:16px; padding:17px; border:1px solid #ded6ff; border-radius:16px; background:linear-gradient(120deg,#f5f1ff,#fff); }.license-request-bar > div { display:flex; flex-direction:column; gap:3px; }.license-request-bar span { color:var(--violet); font-size:8px; font-weight:900; text-transform:uppercase; }.license-request-bar strong { font-size:13px; }.license-request-bar small { color:var(--muted); font-size:9px; }.license-request-bar label { display:flex; flex-direction:column; gap:6px; font-size:9px; }.license-request-bar input { height:42px; padding:0 11px; border:1px solid var(--line); border-radius:11px; }
.license-request-row { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; margin:0 16px 10px; padding:12px 14px; border:1px solid #ebe7f3; border-radius:13px; }.license-request-row > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.license-request-row strong { font-size:11px; }.license-request-row small { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.branding-logo-current { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px; border:1px solid #e5e0f0; border-radius:13px; background:#faf9fc; }.branding-logo-current img { width:150px; height:64px; object-fit:contain; object-position:left center; }.preview-window header img { width:38px; height:38px; object-fit:contain; border-radius:10px; }
.itgeist-license-request { display:grid; gap:12px; margin:0 22px 18px; padding:16px; border:1px solid #dfd7ff; border-radius:15px; background:#faf8ff; }.itgeist-license-request > div:first-child { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; align-items:center; }.itgeist-license-request > div:first-child small { grid-column:2; color:var(--muted); font-size:9px; }.itgeist-license-request label { display:flex; flex-direction:column; gap:6px; font-size:9px; }.itgeist-license-request input { height:42px; padding:0 11px; border:1px solid var(--line); border-radius:11px; }.itgeist-license-request > div:last-child { display:flex; justify-content:flex-end; gap:9px; }
@media (max-width:800px) { .license-request-bar,.employee-lifecycle-card { grid-template-columns:1fr; }.employee-lifecycle-card > div:last-child { grid-column:auto; flex-direction:column; }.license-request-row { grid-template-columns:1fr; }.role-card { min-height:0; } }

/* Phase 13 · permission-aware shell, project services and customer work reports */
.logout-form { margin-left:auto; }.logout-button { display:flex; align-items:center; gap:7px; min-height:34px; padding:0 10px; border:1px solid rgba(255,255,255,.16); border-radius:10px; color:#f7f5ff; background:rgba(255,255,255,.07); font-size:9px; cursor:pointer; }.logout-button span { color:#c9bdff; font-size:13px; }.logout-button:hover { border-color:rgba(192,175,255,.55); background:rgba(109,74,255,.22); }
.geist-check-menu { position:relative; }.geist-check-menu > summary { display:grid; list-style:none; cursor:pointer; }.geist-check-menu > summary::-webkit-details-marker { display:none; }.geist-check-panel { position:absolute; z-index:80; top:48px; right:0; width:min(390px,calc(100vw - 30px)); overflow:hidden; border:1px solid #ddd7ef; border-radius:18px; background:#fff; box-shadow:0 22px 60px rgba(28,20,61,.2); }.geist-check-panel > header { display:flex; align-items:center; justify-content:space-between; padding:16px 18px; color:#fff; background:linear-gradient(115deg,#1d1737,#34246d); }.geist-check-panel > header div { display:flex; align-items:center; gap:9px; }.geist-check-panel > header div span { display:grid; width:30px; height:30px; place-items:center; border-radius:9px; background:#6d4aff; }.geist-check-panel > header small { color:#bfb5d8; font-size:8px; }.geist-check-list { display:grid; gap:8px; padding:13px; }.geist-check-list article { display:grid; grid-template-columns:32px 1fr; gap:10px; align-items:center; padding:10px; border:1px solid #ece8f3; border-radius:12px; }.geist-check-list i { display:grid; width:30px; height:30px; place-items:center; border-radius:9px; color:#087a50; background:#eafbf4; font-size:10px; font-style:normal; font-weight:900; }.geist-check-list article.info i { color:#5537bc; background:#f0ecff; }.geist-check-list div { display:flex; flex-direction:column; gap:3px; }.geist-check-list strong { font-size:10px; }.geist-check-list small { color:var(--muted); font-size:8px; line-height:1.4; }.geist-check-panel footer { display:flex; justify-content:flex-end; gap:12px; padding:11px 15px; border-top:1px solid var(--line); background:#faf9fc; }.geist-check-panel footer a { color:var(--violet); font-size:9px; font-weight:800; text-decoration:none; }
.entity-filter-bar { display:flex; flex-wrap:wrap; align-items:end; gap:10px; padding:14px 16px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#faf9fc; }.entity-filter-bar > label { display:flex; min-width:170px; flex-direction:column; gap:5px; color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }.entity-filter-bar input,.entity-filter-bar select { width:100%; height:42px; padding:0 11px; border:1px solid #ddd9e6; border-radius:11px; color:var(--ink); background:#fff; font:inherit; font-size:10px; text-transform:none; }.entity-filter-bar .filter-search { position:relative; min-width:260px; flex:1; }.entity-filter-bar .filter-search > span { position:absolute; z-index:1; top:28px; left:12px; color:var(--muted); font-size:13px; }.entity-filter-bar .filter-search input { padding-left:34px; }
.service-project-scope { display:block; margin:2px 0 12px; color:#766d8d; font-size:9px; line-height:1.45; }.project-assignment-field { min-width:0; margin:5px 0 0; padding:14px; border:1px solid #dfd9f2; border-radius:14px; background:#faf8ff; }.project-assignment-field legend { padding:0 6px; color:var(--violet); font-size:9px; font-weight:900; }.project-assignment-field > p { margin:0 0 10px; color:var(--muted); font-size:8px; }.project-assignment-field > div { display:grid; max-height:210px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; overflow:auto; }.project-assignment-field label { display:flex !important; flex-direction:row !important; align-items:center; gap:8px; padding:8px; border:1px solid #ece8f5; border-radius:10px; background:#fff; }.project-assignment-field input { width:16px !important; height:16px !important; accent-color:var(--violet); }.project-assignment-field label span { display:flex; min-width:0; flex-direction:column; gap:2px; }.project-assignment-field label strong { font-size:9px; }.project-assignment-field label small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.controlling-filter-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:15px; align-items:end; padding:16px; }.controlling-filter-grid { display:grid; grid-template-columns:minmax(230px,1.4fr) repeat(3,minmax(150px,1fr)) auto auto; gap:10px; align-items:end; }.controlling-filter-grid label { display:flex; min-width:0; flex-direction:column; gap:5px; color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }.controlling-filter-grid input,.controlling-filter-grid select { width:100%; height:42px; padding:0 10px; border:1px solid #ddd9e6; border-radius:11px; background:#fff; color:var(--ink); font-size:10px; }.selected-project-pulse { display:flex; min-width:180px; flex-direction:column; gap:5px; padding:11px 14px; border-left:1px solid var(--line); }.selected-project-pulse strong { font-size:11px; }.selected-project-pulse small { color:var(--muted); font-size:8px; }.expense-filter-bar { padding-inline:18px; }.report-search-field { grid-column:span 2; }.report-filter-reset { align-self:end; }
.muted-select-label { color:#7d7789 !important; }.activity-field-large textarea { min-height:112px !important; font-size:11px; line-height:1.5; }.compact-description-field input { min-height:40px; }.timeline-project-line { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }.timeline-project-line h3 { margin:0; font-size:12px; }.timeline-project-line span { color:rgba(255,255,255,.72); font-size:8px; }.timeline-service-line { margin:3px 0 !important; font-size:9px !important; }.timeline-activity-copy { margin:5px 0 0 !important; color:rgba(255,255,255,.82); font-size:9px !important; line-height:1.35; }.timeline-activity-copy small { display:block; margin-top:2px; color:rgba(255,255,255,.58); font-size:8px; }
.customer-contract-strip { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding:18px 20px; border-color:#dcd4fa; background:linear-gradient(115deg,#f6f3ff,#fff); }.customer-contract-strip h2 { margin:4px 0; font-size:16px; }.customer-contract-strip p { margin:0; color:var(--muted); font-size:9px; }.platform-operations-editor { margin:4px 22px 20px; padding:18px; border:1px solid #dcd4fa; border-radius:17px; background:linear-gradient(135deg,#f8f5ff,#fff); }.platform-operations-editor > header { display:flex; align-items:center; justify-content:space-between; margin-bottom:15px; }.platform-operations-editor h3 { margin:4px 0 0; font-size:15px; }.platform-operations-editor .form-grid { padding:0; }.platform-operations-editor > footer { display:flex; justify-content:flex-end; gap:9px; margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }.platform-operation-status { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:14px; }.platform-operation-status > span { display:flex; flex-direction:column; gap:3px; padding:10px; border:1px solid #e7e2f3; border-radius:10px; background:#fff; }.platform-operation-status small { color:var(--muted); font-size:8px; text-transform:uppercase; }.platform-operation-status strong { font-size:9px; }
.work-report-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:18px; }.work-report-summary article { display:flex; flex-direction:column; gap:4px; padding:17px; border:1px solid #e3def0; border-radius:16px; background:#fff; }.work-report-summary span,.work-report-summary small { color:var(--muted); font-size:9px; }.work-report-summary strong { font-size:24px; }.work-report-list-card { overflow:hidden; }.work-report-list { display:grid; gap:8px; padding:15px; }.work-report-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; border:1px solid #e8e4f0; border-radius:14px; background:#fff; }.work-report-row.completed { border-left:4px solid #19a46b; }.work-report-row.draft { border-left:4px solid #d79a2b; }.work-report-row > button { display:grid; grid-template-columns:100px minmax(180px,1fr) 125px auto auto; align-items:center; gap:12px; padding:13px; border:0; background:transparent; color:var(--ink); text-align:left; cursor:pointer; }.work-report-row > button > div,.work-report-row > button > span:nth-child(3) { display:flex; min-width:0; flex-direction:column; gap:3px; }.work-report-row strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.work-report-row small { color:var(--muted); font-size:8px; }.work-report-number { color:var(--violet); font-size:9px; font-weight:900; }.work-report-row > a { margin-right:13px; }.work-report-modal-backdrop { z-index:140; }.work-report-editor { width:min(1180px,96vw); max-height:95vh; overflow:auto; }.work-report-builder-layout { display:grid; grid-template-columns:285px minmax(0,1fr); min-height:520px; }.report-block-picker { padding:22px; border-right:1px solid var(--line); background:#faf8ff; }.report-block-picker h3 { margin:5px 0; font-size:15px; }.report-block-picker > p { margin:0 0 14px; color:var(--muted); font-size:9px; line-height:1.45; }.report-block-option { display:flex; align-items:flex-start; gap:9px; margin-bottom:7px; padding:10px; border:1px solid #e6e1f2; border-radius:11px; background:#fff; }.report-block-option input { width:16px; height:16px; accent-color:var(--violet); }.report-block-option span { display:flex; flex-direction:column; gap:3px; }.report-block-option strong { font-size:9px; }.report-block-option small { color:var(--muted); font-size:8px; line-height:1.35; }.report-block-option.required { background:#f2efff; }.work-report-form { padding:22px; }.work-report-form .form-grid { padding:0; }.work-report-form textarea { width:100%; padding:11px; border:1px solid #dad7e4; border-radius:10px; resize:vertical; }.work-report-form-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:16px; }.customer-approval-panel { display:grid; grid-template-columns:minmax(260px,1fr) minmax(360px,1.4fr); gap:18px; align-items:center; padding:20px 24px; border-top:1px solid #dfd8ef; background:linear-gradient(115deg,#f7f4ff,#fff); }.customer-approval-panel.completed { background:linear-gradient(115deg,#effcf6,#fff); }.customer-approval-panel h3 { margin:4px 0; font-size:15px; }.customer-approval-panel p { margin:0; color:var(--muted); font-size:9px; line-height:1.5; }.approval-fields { display:grid; grid-template-columns:1fr 1fr; gap:9px; }.approval-fields label { display:flex; flex-direction:column; gap:5px; font-size:8px; font-weight:800; }.approval-fields input { height:42px; padding:0 10px; border:1px solid #dad6e4; border-radius:10px; }.approval-fields .button { grid-column:1/-1; justify-self:end; }.customer-approval-panel dl { display:flex; gap:8px; margin:0; }.customer-approval-panel dl div { padding:9px 11px; border:1px solid #d8eee3; border-radius:10px; background:#fff; }.customer-approval-panel dt { color:var(--muted); font-size:8px; }.customer-approval-panel dd { margin:3px 0 0; font-size:9px; font-weight:850; }
@media (max-width:1100px) { .controlling-filter-panel { grid-template-columns:1fr; }.controlling-filter-grid { grid-template-columns:repeat(2,1fr); }.selected-project-pulse { border-top:1px solid var(--line); border-left:0; }.work-report-row > button { grid-template-columns:90px 1fr auto; }.work-report-row > button > span:nth-child(3),.work-report-row > button > i { display:none; } }
@media (max-width:800px) { .work-report-summary,.platform-operation-status { grid-template-columns:1fr; }.work-report-builder-layout,.customer-approval-panel { grid-template-columns:1fr; }.report-block-picker { border-right:0; border-bottom:1px solid var(--line); }.project-assignment-field > div,.approval-fields,.controlling-filter-grid { grid-template-columns:1fr; }.customer-contract-strip { align-items:flex-start; flex-direction:column; }.work-report-row > button { grid-template-columns:1fr; }.work-report-row > a { margin:0 13px 13px; } }

/* Phase 14 · personal shell, account security, signed work reports and platform operations */
.profile-copy { text-decoration:none; }.logout-form { display:grid; place-items:center; }.logout-button { width:34px; height:34px; min-height:34px; justify-content:center; padding:0; border-color:rgba(200,188,255,.28); border-radius:11px; background:rgba(109,74,255,.12); box-shadow:inset 0 0 0 1px rgba(255,255,255,.03); }.logout-button span { color:#e0d9ff; font-size:15px; transform:rotate(45deg); }.logout-button:hover { border-color:rgba(205,193,255,.7); background:rgba(109,74,255,.28); box-shadow:0 7px 20px rgba(0,0,0,.18); }
.geist-check-list article { grid-template-columns:32px minmax(0,1fr) auto; }.geist-check-list article.warning { border-color:#f1d8a2; background:#fffbf1; }.geist-check-list article.warning i { color:#9a6500; background:#fff0c9; }.geist-check-list article > a { display:grid; width:28px; height:28px; place-items:center; border-radius:8px; color:var(--violet); background:var(--violet-wash); font-size:12px; font-weight:900; text-decoration:none; }

body.sidebar-collapsed .sidebar { width:82px; padding-inline:10px; box-shadow:9px 0 28px rgba(11,9,24,.12); }
body.sidebar-collapsed .workspace { margin-left:82px; }
.sidebar-collapsed .brand-copy,.sidebar-collapsed .tenant-copy,.sidebar-collapsed .chevron,.sidebar-collapsed .nav-label,.sidebar-collapsed .main-nav a > span:last-child,.sidebar-collapsed .system-state div,.sidebar-collapsed .profile-copy { display:none; }
.sidebar-collapsed .sidebar-head { justify-content:flex-start; padding-left:7px; }.sidebar-collapsed .brand-link { width:46px; min-width:46px; }.sidebar-collapsed .sidebar-collapse { top:13px; right:-13px; width:27px; height:27px; border-radius:50%; box-shadow:0 5px 15px rgba(20,15,45,.16); }
.sidebar-collapsed .tenant-switcher { width:50px; grid-template-columns:36px; justify-content:center; margin:14px auto 8px; padding:7px; }.sidebar-collapsed .main-nav { padding-top:4px; }.sidebar-collapsed .nav-section { gap:5px; margin-top:9px; }.sidebar-collapsed .main-nav a { width:48px; min-height:44px; justify-content:center; margin-inline:auto; padding:0; }.sidebar-collapsed .main-nav a.active::before { left:-11px; }.sidebar-collapsed .nav-icon { width:30px; height:30px; font-size:18px; }
.sidebar-collapsed .system-state { width:48px; justify-content:center; margin-inline:auto; padding-inline:0; }.sidebar-collapsed .profile-block { display:flex; flex-direction:column; gap:7px; padding:7px 0; overflow:visible; }.sidebar-collapsed .profile-avatar { flex:0 0 auto; }.sidebar-collapsed .logout-form { margin:0; }
.sidebar-collapsed .app-version { width:48px; margin-inline:auto; font-size:7px; letter-spacing:0; }.sidebar-collapsed .app-version span { display:none; }

.form-grid input:disabled,.form-grid select:disabled,.form-grid textarea:disabled,.permission-editor-row input:disabled,.permission-editor-row select:disabled { opacity:1; border-color:#e3ddf2; color:#6f6880; background:linear-gradient(135deg,#f8f6fc,#f3f0fa); box-shadow:inset 3px 0 0 #d8cff5; cursor:not-allowed; -webkit-text-fill-color:#6f6880; }
.form-grid input::placeholder,.form-grid textarea::placeholder,.entity-filter-bar input::placeholder,.filter-search input::placeholder { color:#aaa5b5; opacity:1; }
.modern-filter-toolbar,.entity-filter-bar,.table-toolbar { background:linear-gradient(180deg,#fcfbff,#f8f7fb); }.modern-filter-toolbar input,.modern-filter-toolbar select,.entity-filter-bar input,.entity-filter-bar select,.table-toolbar select { min-height:44px; border-color:#ded9e9; border-radius:13px; background-color:#fff; box-shadow:0 3px 10px rgba(29,22,57,.035); transition:border-color .16s,box-shadow .16s,transform .16s; }.modern-filter-toolbar input:focus,.modern-filter-toolbar select:focus,.entity-filter-bar input:focus,.entity-filter-bar select:focus,.table-toolbar select:focus { border-color:#aa9af4; outline:0; box-shadow:0 0 0 4px rgba(109,74,255,.09),0 7px 18px rgba(29,22,57,.06); }.modern-filter-toolbar .filter-search,.entity-filter-bar .filter-search,.table-toolbar .filter-search { min-height:44px; border-radius:13px; background:#fff; box-shadow:0 3px 10px rgba(29,22,57,.035); }

.employee-editor-tabs { grid-template-columns:repeat(4,1fr); }.employee-account-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.employee-setting-card { display:flex; min-width:0; flex-direction:column; gap:17px; padding:18px; border:1px solid #e2ddec; border-radius:17px; background:linear-gradient(145deg,#fff,#faf8ff); box-shadow:0 8px 24px rgba(31,24,65,.05); }.employee-setting-card > header { display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:11px; }.employee-setting-card > header > div { display:flex; flex-direction:column; gap:3px; }.employee-setting-card header span:not(.setting-icon):not(.status-pill) { color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }.employee-setting-card h4 { margin:0; font-size:14px; }.employee-setting-card header > strong { color:var(--violet); font-size:15px; }.setting-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:var(--violet); background:var(--violet-wash); font-size:17px; }.employee-setting-card > .button { align-self:flex-end; }.password-reset-card { background:linear-gradient(145deg,#fff,#f8fbff); }

.account-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr); gap:20px; }.account-identity-card { display:flex; min-height:390px; flex-direction:column; align-items:center; justify-content:center; padding:34px; text-align:center; }.account-avatar { display:grid; width:88px; height:88px; margin-bottom:20px; place-items:center; border:1px solid #cec3ff; border-radius:28px; color:#fff; background:linear-gradient(135deg,var(--violet),#41239d); box-shadow:0 18px 35px rgba(109,74,255,.25); font-size:25px; font-weight:900; }.account-identity-card h2 { margin:4px 0 7px; font-size:24px; }.account-identity-card p { margin:0;color:var(--muted); }.account-identity-card dl { display:grid; width:100%; grid-template-columns:1fr 1fr; gap:9px; margin:26px 0 0; }.account-identity-card dl div { padding:13px; border:1px solid var(--line); border-radius:12px; background:#faf9fd; }.account-identity-card dt { color:var(--muted); font-size:8px; text-transform:uppercase; }.account-identity-card dd { margin:5px 0 0; font-size:10px; font-weight:850; }.account-password-card { overflow:hidden; }.account-password-form { display:flex; flex-direction:column; gap:15px; padding:24px; }.account-password-form label { display:flex; flex-direction:column; gap:7px; color:#514d5e; font-size:9px; font-weight:800; }.account-password-form input { height:50px; padding:0 13px; border:1px solid #dad5e5; border-radius:13px; outline:0; font-size:12px; }.account-password-form input:focus { border-color:var(--violet); box-shadow:0 0 0 4px rgba(109,74,255,.1); }.account-password-form .button { align-self:flex-end; }

.stamped-time-import { overflow:hidden; border:1px solid #dfd8ef; border-radius:15px; background:linear-gradient(145deg,#fbf9ff,#fff); }.stamped-time-import > header { display:flex; align-items:center; justify-content:space-between; padding:14px 15px; border-bottom:1px solid #e9e4f2; }.stamped-time-import h3 { margin:3px 0 0; font-size:13px; }.stamped-time-import > header > strong { color:var(--violet); font-size:15px; }.stamped-time-import > p { margin:0; padding:20px; color:var(--muted); font-size:9px; text-align:center; }.stamped-time-list { display:grid; max-height:235px; gap:6px; padding:10px; overflow:auto; }.stamped-time-list label { display:grid !important; grid-template-columns:18px 88px minmax(0,1fr) 65px 76px; align-items:center; gap:9px !important; min-height:54px; padding:8px 10px; border:1px solid #ebe7f2; border-radius:11px; background:#fff; cursor:pointer; }.stamped-time-list input { width:16px !important; height:16px !important; accent-color:var(--violet); }.stamped-time-list time { color:#575164; font:700 9px "Cascadia Mono",monospace; }.stamped-time-list label > span { display:flex; min-width:0; flex-direction:column; gap:3px; }.stamped-time-list label strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.stamped-time-list label small { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.stamped-time-list b { font-size:9px; }.stamped-time-list i { padding:5px 7px; border-radius:99px; color:#61529d; background:#f0ecff; font-size:7px; font-style:normal; font-weight:850; text-align:center; }.stamped-time-import > footer { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-top:1px solid #ebe7f2; color:var(--muted); font-size:8px; }.signature-field { grid-column:1/-1; display:flex; flex-direction:column; gap:6px; }.signature-field > span { color:#4d4958; font-size:8px; font-weight:800; }.signature-field canvas { width:100%; height:150px; border:1px dashed #aaa0c4; border-radius:14px; background:repeating-linear-gradient(0deg,#fff,#fff 31px,#f5f2fa 32px); cursor:crosshair; touch-action:none; }.signature-field small { color:var(--muted); font-size:8px; }.signature-field .text-action { align-self:flex-end; font-size:8px; }.approval-fields { align-items:end; }

.platform-monitor-card,.platform-log-card { overflow:hidden; }.platform-monitor-list,.platform-log-list { display:grid; }.platform-monitor-list article { display:grid; grid-template-columns:26px minmax(220px,1.4fr) repeat(3,minmax(105px,.7fr)) auto 70px; align-items:center; gap:14px; min-height:72px; padding:11px 18px; border-top:1px solid #efedf3; }.platform-monitor-list article > div,.platform-monitor-list article > span:not(.monitor-state):not(.status-pill) { display:flex; min-width:0; flex-direction:column; gap:4px; }.platform-monitor-list small { color:var(--muted); font-size:8px; }.platform-monitor-list strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.monitor-state { display:grid; width:20px; height:20px; place-items:center; border-radius:7px; background:#ecfaf4; }.monitor-state i { width:7px; height:7px; border-radius:50%; background:var(--success); box-shadow:0 0 8px rgba(19,168,112,.5); }.monitor-state.warning { background:#fff5dc; }.monitor-state.warning i { background:var(--warning); }.monitor-state.offline { background:#fdecef; }.monitor-state.offline i { background:var(--danger); }.platform-log-list article { display:grid; grid-template-columns:145px 145px minmax(260px,1fr) minmax(150px,.55fr) 105px; align-items:center; gap:13px; min-height:67px; padding:10px 18px; border-top:1px solid #efedf3; }.platform-log-list time { color:#716d7d; font:700 8px "Cascadia Mono",monospace; }.tenant-log-chip { overflow:hidden; padding:6px 8px; border-radius:8px; color:#5940b7; background:#f0ecff; font-size:8px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }.platform-log-list article > div,.platform-log-list article > span:not(.tenant-log-chip) { display:flex; min-width:0; flex-direction:column; gap:4px; }.platform-log-list strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.platform-log-list small { color:var(--muted); font-size:8px; }.platform-log-list code { color:#706b7a; font-size:8px; }

@media (max-width:1100px) { .employee-account-grid,.account-layout { grid-template-columns:1fr; }.platform-monitor-list article { grid-template-columns:26px 1fr auto auto; }.platform-monitor-list article > span:nth-of-type(2),.platform-monitor-list article > span:nth-of-type(3),.platform-monitor-list article > span:nth-of-type(4) { display:none; }.platform-log-list article { grid-template-columns:125px 120px 1fr; }.platform-log-list article > span:not(.tenant-log-chip),.platform-log-list article > code { display:none; } }
@media (max-width:800px) { .employee-editor-tabs button { font-size:9px; }.employee-account-grid { grid-template-columns:1fr; }.stamped-time-list label { grid-template-columns:18px 72px 1fr; }.stamped-time-list label > b,.stamped-time-list label > i { display:none; }.platform-monitor-list article { grid-template-columns:24px 1fr auto; }.platform-monitor-list article > .row-action { display:none; }.platform-log-list article { grid-template-columns:1fr; gap:5px; }.platform-log-list .tenant-log-chip { width:max-content; } }
@media (max-width:980px) { body.sidebar-collapsed .workspace { margin-left:0; } body.sidebar-collapsed .sidebar { width:272px; padding-inline:0; } }

/* Phase 15 · day reports, consistent filters and Clockodo migration readiness */
.employee-leave-card { margin-top:4px; border-color:#dcd4fa; background:radial-gradient(circle at 100% 0,rgba(109,74,255,.11),transparent 34%),linear-gradient(145deg,#fff,#faf8ff); }
.employee-leave-card .form-grid { padding:0; }
.employee-account-grid-single { grid-template-columns:minmax(320px,680px); }

.report-time-scope { display:grid; grid-template-columns:minmax(220px,1fr) auto auto; align-items:center; gap:9px; padding:13px 14px; border:1px solid #ded7f7; border-radius:15px; background:linear-gradient(115deg,#f7f4ff,#fff); }
.report-time-scope > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.report-time-scope > div strong { font-size:12px; }
.report-time-scope > div small { color:var(--muted); font-size:8px; }
.report-time-scope > button { display:flex; min-height:40px; align-items:center; gap:7px; padding:0 12px; border:1px solid #ddd7ea; border-radius:11px; color:#625d70; background:#fff; font-size:9px; font-weight:850; cursor:pointer; }
.report-time-scope > button span { color:var(--violet); font-size:13px; }
.report-time-scope > button.active { border-color:#8f78ff; color:#fff; background:linear-gradient(135deg,var(--violet),#5130bc); box-shadow:0 8px 20px rgba(109,74,255,.2); }
.report-time-scope > button.active span { color:#fff; }
.stamped-time-list label > span small { white-space:normal; line-height:1.35; }

.table-toolbar,.entity-filter-bar,.controlling-filter-panel,.report-filter-grid { gap:11px; padding:15px 17px; background:linear-gradient(180deg,#fdfcff,#f8f7fc); }
.table-toolbar { min-height:74px; }
.filter-search,
.entity-filter-bar .filter-search,
.controlling-filter-grid .filter-search,
.report-filter-grid .filter-search { position:relative; display:flex; min-width:250px; min-height:46px; height:46px; flex:1; flex-direction:row; align-items:center; gap:9px; padding:0 13px; border:1px solid #ded9e9; border-radius:14px; color:var(--ink); background:#fff; box-shadow:0 4px 14px rgba(29,22,57,.045); text-transform:none; }
.filter-search > span,
.entity-filter-bar .filter-search > span,
.controlling-filter-grid .filter-search > span,
.report-filter-grid .filter-search > span { position:static; color:var(--violet); font-size:17px; line-height:1; }
.filter-search input,
.entity-filter-bar .filter-search input,
.controlling-filter-grid .filter-search input,
.report-filter-grid .filter-search input { min-height:0; height:100%; padding:0; border:0; border-radius:0; outline:0; background:transparent; box-shadow:none; font-size:11px; }
.filter-search:focus-within { border-color:#aa9af4; box-shadow:0 0 0 4px rgba(109,74,255,.09),0 8px 22px rgba(29,22,57,.07); }
.entity-filter-bar > label:not(.filter-search),
.controlling-filter-grid > label:not(.filter-search),
.report-filter-grid > label:not(.filter-search) { display:flex; min-width:150px; flex-direction:column; gap:6px; color:#777282; font-size:8px; font-weight:850; letter-spacing:.035em; text-transform:uppercase; }
.entity-filter-bar select,.controlling-filter-grid select,.report-filter-grid select,
.entity-filter-bar > label:not(.filter-search) input,.controlling-filter-grid > label:not(.filter-search) input,.report-filter-grid > label:not(.filter-search) input { height:46px; min-height:46px; padding:0 34px 0 12px; border:1px solid #ded9e9; border-radius:14px; color:#3f3b49; background-color:#fff; box-shadow:0 4px 14px rgba(29,22,57,.045); font-size:10px; font-weight:700; text-transform:none; }

/* Phase 16 · operative UX and lifecycle */
.time-entry-modal-backdrop { background:rgba(50,30,105,.24); backdrop-filter:blur(7px) saturate(1.08); }
.admin-overview-card { min-width:0; }
.admin-overview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; padding:1rem 1.25rem 1.2rem; }
.admin-overview-grid > a { display:grid; gap:.2rem; padding:1rem; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,#fff,#fbfaff); color:var(--ink); text-decoration:none; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.admin-overview-grid > a:hover { transform:translateY(-2px); border-color:#c9bafa; box-shadow:0 12px 28px rgba(75,47,140,.09); }
.admin-overview-grid span { color:var(--muted); font-size:.78rem; font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.admin-overview-grid strong { font-size:1.8rem; line-height:1.1; }
.admin-overview-grid small { color:var(--muted); }
.admin-quick-actions { padding:0 1.25rem 1.25rem; }
@media (max-width:720px) { .admin-overview-grid { grid-template-columns:1fr; } }
.time-entry-modal-backdrop .time-entry-editor { border-color:rgba(139,108,255,.24); box-shadow:0 30px 80px rgba(46,26,101,.24); }
.time-entry-editor .form-grid input,.time-entry-editor .form-grid select,.time-entry-editor .form-grid textarea,.commercial-form-card .form-grid input,.commercial-form-card .form-grid select,.commercial-form-card .form-grid textarea { background:#fff; }
.selection-search input { padding-left:38px!important; background:#fff linear-gradient(90deg,rgba(109,74,255,.055),transparent 30%)!important; }
.selection-search { position:relative; }.selection-search::after { content:"⌕"; position:absolute; left:14px; bottom:14px; color:var(--violet); font-size:14px; }
.form-grid label > small { color:#8a8597; font-size:8px; font-weight:600; }
.timeline-entry-block { overflow:hidden; touch-action:none; user-select:none; }
.timeline-entry-block.persisting { pointer-events:none; box-shadow:0 0 0 2px rgba(109,74,255,.13),0 12px 28px rgba(58,39,135,.13); }
.timeline-entry-block.has-stamped-break { overflow:visible; }
.timeline-track { touch-action:none; }
.timeline-client-drag-preview { position:absolute; z-index:30; right:16px; min-width:118px; padding:7px 11px; border:1px solid #d8d0ff; border-radius:9px; color:#fff; background:#5a3ec4; box-shadow:0 8px 24px rgba(36,25,77,.28); font-size:11px; font-weight:850; text-align:center; pointer-events:none; }
.timeline-break-band { position:absolute; z-index:9; right:-18px; left:-18px; display:flex; min-height:20px; align-items:center; justify-content:center; gap:7px; border-block:1px solid #d8d4df; color:#625b6e; background:repeating-linear-gradient(135deg,rgba(255,255,255,.985),rgba(255,255,255,.985) 7px,rgba(237,235,241,.985) 7px,rgba(237,235,241,.985) 14px); box-shadow:0 3px 10px rgba(45,39,58,.1); font-size:9px; font-weight:850; pointer-events:none; }
.timeline-break-band b { display:grid; width:18px; height:18px; place-items:center; border-radius:6px; color:#625b6e; background:#e5e2e9; font-size:10px; }.timeline-break-band strong { color:#3f374b; font-size:9px; }
.timeline-gap-break { position:absolute; z-index:1; left:0; right:0; display:flex; align-items:center; justify-content:center; gap:7px; border:1px dashed #d8d4df; border-radius:9px; color:#70677f; background:repeating-linear-gradient(135deg,#fff,#fff 8px,#f1eff5 8px,#f1eff5 16px); font-size:8px; font-weight:850; pointer-events:none; }
.timeline-gap-break strong { color:#433858; }.time-entry-action-menu { position:absolute; z-index:20; inset:50% auto auto 50%; display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid rgba(255,255,255,.72); border-radius:10px; background:rgba(42,30,74,.9); box-shadow:0 12px 28px rgba(23,15,44,.24); transform:translate(-50%,-50%); }
.time-entry-action-menu button { display:flex; min-width:34px; height:34px; align-items:center; gap:5px; padding:0 10px; border:1px solid #ddd5ff; border-radius:9px; color:#4d368f; background:#fff; font-size:8px; font-weight:900; cursor:pointer; }
.time-entry-action-menu button span { font-size:12px; }.time-entry-action-menu button:hover { border-color:#a997ff; background:#f4f0ff; }.time-entry-action-menu button.danger { color:#b72f48; border-color:#f3cbd2; }.timeline-entry-block.actions-open { z-index:15; overflow:visible; }.entry-more-button { min-width:28px; padding:1px 5px!important; border:1px solid #d8d0ff!important; border-radius:7px!important; background:#fff!important; font-size:11px!important; letter-spacing:1px; }
.time-entry-action-menu { inset:calc(100% - 8px) 10px auto auto; gap:6px; padding:7px; border-color:#ded8f2; background:#fff; box-shadow:0 15px 38px rgba(36,25,77,.22); transform:none; }
.searchable-select { position:relative; width:100%; }.searchable-select > label { display:block; margin-bottom:7px; color:#5f5b6b; font-size:9px; font-weight:850; }.searchable-select-control { position:relative; display:flex; height:50px; align-items:center; border:1px solid #ded9eb; border-radius:14px; background:#fff; transition:border-color .15s,box-shadow .15s; }.searchable-select.open .searchable-select-control { border-color:#8d79f6; box-shadow:0 0 0 3px rgba(109,74,255,.1); }.searchable-select-icon { width:42px; color:#765bf0; font-size:20px; text-align:center; }.searchable-select-control input { width:100%; min-width:0; height:100%; padding:0; border:0!important; outline:0; background:transparent; box-shadow:none!important; color:#282437; font:inherit; font-size:11px; }.searchable-select-control input::placeholder { color:#9b96a8; }.searchable-select-clear,.searchable-select-toggle { display:grid; width:34px; height:34px; flex:0 0 auto; place-items:center; margin-right:3px; padding:0; border:0; border-radius:9px; color:#807a8d; background:transparent; font-size:17px; cursor:pointer; }.searchable-select-clear:hover,.searchable-select-toggle:hover { color:#5c42cc; background:#f1edff; }.searchable-select-menu { position:absolute; z-index:120; top:calc(100% + 7px); right:0; left:0; max-height:300px; overflow:auto; padding:7px; border:1px solid #ded8ef; border-radius:15px; background:#fff; box-shadow:0 18px 45px rgba(34,24,70,.2); }.searchable-select-group { padding:8px 9px 5px; color:#777184; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.07em; }.searchable-select-option { position:relative; display:flex; width:100%; min-height:44px; flex-direction:column; justify-content:center; gap:3px; padding:8px 40px 8px 10px; border:0; border-radius:10px; color:#302a42; background:transparent; text-align:left; cursor:pointer; }.searchable-select-option:hover,.searchable-select-option.selected { color:#4e35b8; background:#f2eeff; }.searchable-select-option span { font-size:10px; font-weight:800; }.searchable-select-option small { color:#898393; font-size:8px; }.searchable-select-option b { position:absolute; top:50%; right:13px; color:#6d4aff; transform:translateY(-50%); }.searchable-select-empty { padding:20px 12px; color:#898493; font-size:9px; text-align:center; }.searchable-select-hint { display:block; margin-top:6px; color:#8b8695; font-size:8px; }
.searchable-select.selected .searchable-select-control { border-color:#c9bef8; background:linear-gradient(90deg,#f5f2ff 0,#fff 34%); box-shadow:0 6px 18px rgba(77,52,160,.08); }.searchable-select.selected .searchable-select-icon { display:grid; width:36px; height:36px; flex:0 0 auto; margin-left:7px; place-items:center; border-radius:10px; color:#fff; background:linear-gradient(135deg,#795dff,#5134c4); font-size:15px; }.searchable-select.selected .searchable-select-control input { padding-left:10px!important; color:#2f2743; font-weight:800; }.searchable-select.selected .searchable-select-hint { display:inline-flex; margin-top:7px; padding:3px 7px; border-radius:999px; color:#63568a; background:#f1edff; font-weight:750; }
.searchable-select-clear:focus,.searchable-select-toggle:focus { outline:0; box-shadow:none; }.searchable-select-toggle { border-left:1px solid transparent; }.searchable-select.open .searchable-select-toggle { color:#5c42cc; background:#f5f2ff; }.searchable-select-menu { max-height:260px; }
.slot-entry-editor .slot-select-field .searchable-select-control { height:52px; border-color:#ddd8e8; border-radius:14px; background:#fff; box-shadow:none; }.slot-entry-editor .slot-select-field .searchable-select.open .searchable-select-control { border-color:#9b87f5; box-shadow:0 0 0 3px rgba(109,74,255,.1); }.slot-entry-editor .slot-select-field .searchable-select-icon,.slot-entry-editor .slot-select-field .searchable-select.selected .searchable-select-icon { display:grid; width:44px; height:auto; flex:0 0 44px; margin:0; place-items:center; border-radius:0; color:#7155e8; background:transparent; font-size:18px; }.slot-entry-editor .slot-select-field .searchable-select.selected .searchable-select-control { background:#fff; box-shadow:none; }.slot-entry-editor .slot-select-field .searchable-select.selected .searchable-select-control input { padding-left:0!important; }.slot-entry-editor .slot-select-field .searchable-select-toggle { width:42px; height:100%; margin:0; border-left:1px solid #eeeaf5; border-radius:0 13px 13px 0; background:transparent!important; }.slot-entry-editor .slot-select-field .searchable-select-hint,.slot-entry-editor .slot-select-field .searchable-select.selected .searchable-select-hint { display:block; margin-top:6px; padding:0; color:#8b8695; background:transparent; font-weight:600; }.slot-entry-editor .slot-select-field .searchable-select-menu { top:calc(100% + 6px); padding:6px; border-radius:14px; box-shadow:0 18px 42px rgba(34,24,70,.18); }
.searchable-select.selected:not(.open) .searchable-select-control { min-height:58px; height:auto; }
.searchable-select.selected:not(.open) .searchable-select-control input { color:transparent!important; caret-color:transparent; }
.searchable-select.selected:not(.open) .searchable-select-control input::placeholder { color:transparent!important; }
.searchable-select-value { position:absolute; z-index:2; top:50%; right:76px; left:53px; display:-webkit-box; overflow:hidden; color:#2f2743; font-size:11px; font-weight:850; line-height:1.28; pointer-events:none; transform:translateY(-50%); -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.searchable-select-clear,.searchable-select-toggle { position:relative; z-index:3; }
.manual-entry-card .searchable-select-control,.time-entry-editor .searchable-select-control { min-height:56px; }
.timeline-layout { grid-template-columns:minmax(0,1.4fr) minmax(410px,.6fr); }
.slot-entry-editor .slot-select-field .searchable-select.selected:not(.open) .searchable-select-control { min-height:56px; height:auto; }
.slot-entry-editor .slot-select-field .searchable-select-value { left:44px; right:76px; }
@media (max-width:1000px) { .timeline-layout { grid-template-columns:1fr; } }

/* Globaler Light-/Darkmode */
.theme-toggle { position:relative; overflow:hidden; }
.login-panel { position:relative; }
.login-theme-toggle { position:absolute; top:24px; right:24px; }
.theme-toggle span { position:absolute; transition:opacity .16s ease,transform .2s ease; }
.theme-sun { opacity:1; transform:scale(1) rotate(0); }
.theme-moon { opacity:0; transform:scale(.65) rotate(-25deg); }
:root[data-theme="dark"] .theme-sun { opacity:0; transform:scale(.65) rotate(25deg); }
:root[data-theme="dark"] .theme-moon { opacity:1; transform:scale(1) rotate(0); }
:root[data-theme="dark"] body { background:var(--canvas); color:var(--ink); }
:root[data-theme="dark"] .workspace,
:root[data-theme="dark"] .page-content { background:var(--canvas); }
:root[data-theme="dark"] .topbar { border-color:var(--line); background:rgba(11,12,18,.9); }
:root[data-theme="dark"] .surface-card,
:root[data-theme="dark"] .metric-card,
:root[data-theme="dark"] .modal-panel,
:root[data-theme="dark"] .employee-editor,
:root[data-theme="dark"] .command-box,
:root[data-theme="dark"] .geist-check-panel,
:root[data-theme="dark"] .login-panel { border-color:var(--line); background:var(--surface); color:var(--ink); }
:root[data-theme="dark"] .login-panel { background:linear-gradient(145deg,#151720,#0f1118); }
:root[data-theme="dark"] .global-search,
:root[data-theme="dark"] .filter-search,
:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .searchable-select-control,
:root[data-theme="dark"] .searchable-select-menu,
:root[data-theme="dark"] .team-access-search input,
:root[data-theme="dark"] .employee-team-picker,
:root[data-theme="dark"] .employee-team-choice,
:root[data-theme="dark"] .toggle-field,
:root[data-theme="dark"] .individual-toggle,
:root[data-theme="dark"] .schedule-base-card,
:root[data-theme="dark"] .employee-setting-card,
:root[data-theme="dark"] .employee-active-media,
:root[data-theme="dark"] .employee-lifecycle-card { border-color:var(--line)!important; background:#11131b!important; color:var(--ink)!important; }
:root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select { border-color:#363947!important; background:#10121a!important; color:var(--ink)!important; }
:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder { color:#777585; }
:root[data-theme="dark"] .form-grid label,
:root[data-theme="dark"] .login-form label,
:root[data-theme="dark"] .employee-team-field > span { color:#d2cfdb; }
:root[data-theme="dark"] .searchable-select-value,
:root[data-theme="dark"] .searchable-select-control input,
:root[data-theme="dark"] .detail-list dd,
:root[data-theme="dark"] .metric-card > strong { color:var(--ink); }
:root[data-theme="dark"] .searchable-select.selected .searchable-select-control { background:linear-gradient(90deg,#27223d,#11131b 38%); }
:root[data-theme="dark"] .searchable-select-option:hover,
:root[data-theme="dark"] .searchable-select-option.selected { background:#2b2544; }
:root[data-theme="dark"] .card-note,
:root[data-theme="dark"] .command-box footer,
:root[data-theme="dark"] .data-table th,
:root[data-theme="dark"] .time-edit-summary,
:root[data-theme="dark"] .timeline-help { border-color:var(--line); background:#11131b; }
:root[data-theme="dark"] .data-table td,
:root[data-theme="dark"] .detail-list > div,
:root[data-theme="dark"] .activity-item { border-color:var(--line); }
:root[data-theme="dark"] .drag-timeline-shell,
:root[data-theme="dark"] .timeline-track,
:root[data-theme="dark"] .timeline-hours { border-color:var(--line); background-color:#10121a; }
:root[data-theme="dark"] .timeline-hour-line { border-color:#2a2d39; }
:root[data-theme="dark"] .timeline-entry-block { color:var(--ink); background:linear-gradient(120deg,#28223d,#171923); }
:root[data-theme="dark"] .timeline-entry-block.internal { background:linear-gradient(120deg,#24252d,#171923); }
:root[data-theme="dark"] .timeline-gap-break { border-color:#3b3d48; color:#bbb7c7; background:repeating-linear-gradient(135deg,#151720,#151720 8px,#20222c 8px,#20222c 16px); }
:root[data-theme="dark"] .team-admin-item,
:root[data-theme="dark"] .team-access-columns section,
:root[data-theme="dark"] .team-readonly-intro,
:root[data-theme="dark"] .team-readonly-facts div,
:root[data-theme="dark"] .team-readonly-columns section,
:root[data-theme="dark"] .team-detail-strip,
:root[data-theme="dark"] .entity-filter-bar { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .team-readonly-chip { color:var(--ink); background:#1a1c26; }
:root[data-theme="dark"] .team-readonly-note { color:var(--muted); background:#13221a; }
:root[data-theme="dark"] .team-admin-item:hover,
:root[data-theme="dark"] .team-admin-item.active { background:#28223e; }
:root[data-theme="dark"] .phase-badge { border-color:#403763; background:#26213a; color:#c9c1ff; }
:root[data-theme="dark"] .icon-button { border-color:var(--line); background:#171923; color:#d9d6e2; }
:root[data-theme="dark"] .command-group a:hover { background:#27223d; }
:root[data-theme="dark"] .readiness-score::before { background:var(--surface); }
:root[data-theme="dark"] .status-pill.warning { color:#f1c45d; background:#352c14; }
:root[data-theme="dark"] .admin-overview-grid a,
:root[data-theme="dark"] .personal-action-list a,
:root[data-theme="dark"] .personal-all-clear,
:root[data-theme="dark"] .dashboard-quick-actions a { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .geist-check-list article { border-color:var(--line); background:#11131b; }
:root[data-theme="dark"] .geist-check-panel footer { background:#11131b; }
.metric-violet .metric-head i { background:#6d4aff; }
.metric-indigo .metric-head i { background:#5265c8; }
.metric-gold .metric-head i { background:#d89814; }
.metric-green .metric-head i { background:#13a870; }

/* Teamidentität und Kontobündelung */
.team-list-logo,.team-detail-logo,.team-logo-preview { overflow:hidden; border:1px solid #d9d2f8; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); color:#fff; font-weight:900; }
.team-list-logo img,.team-detail-logo img,.team-logo-preview img,.team-create-hero > span img { width:100%; height:100%; object-fit:cover; }
.team-detail-logo { display:grid; width:44px; height:44px; flex:0 0 auto; place-items:center; border-radius:13px; }
.team-config-title { display:flex!important; align-items:center; gap:12px; }
.team-config-title > div { display:flex; flex-direction:column; }
.team-logo-editor { display:grid; grid-template-columns:76px minmax(0,1fr); align-items:center; gap:15px; padding:14px; border:1px solid #e3deef; border-radius:16px; background:#faf9fd; }
.team-logo-preview { display:grid; width:76px; height:76px; place-items:center; border-radius:19px; font-size:18px; }
.team-logo-editor > div:last-child { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.team-logo-editor strong,.team-logo-editor small { width:100%; }
.team-logo-editor small { color:var(--muted); font-size:9px; }
.team-logo-editor label { position:relative; overflow:hidden; cursor:pointer; }
.team-logo-editor input[type="file"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.team-create-logo-editor { margin:0 22px 18px; }
.team-create-hero > span { overflow:hidden; }
.team-create-members { display:grid; gap:10px; margin:0 22px 18px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface-subtle,#faf9fc); }
.team-create-members > div:first-child { display:flex; flex-direction:column; gap:3px; }
.team-create-members > div:first-child small { color:var(--muted); }
.team-create-members > div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:190px; overflow:auto; }
.team-create-members label { display:flex; align-items:center; gap:8px; min-width:0; padding:9px; border:1px solid var(--line); border-radius:10px; background:var(--surface,#fff); }
.team-create-members label span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
:root[data-theme="dark"] .team-create-members { background:#16141e; }
@media (max-width:680px) { .team-create-members > div:last-child { grid-template-columns:1fr; } }
.account-media-downloads { margin-top:0; }
.account-active-media { margin-top:14px; }
.account-lifecycle-card { margin-top:16px; }
:root[data-theme="dark"] .team-logo-editor { border-color:var(--line); background:#11131b; }
@media (max-width:680px) { .team-logo-editor { grid-template-columns:58px 1fr; }.team-logo-preview { width:58px; height:58px; } }
@media (max-width:680px) { .theme-toggle { display:inline-grid!important; }.login-theme-toggle { top:16px; right:16px; } }
.calendar-absence-chip.pending { border:1px dashed #8067e9; background:#f5f1ff; }.calendar-absence-chip.pending b { display:inline-flex; margin-top:3px; padding:2px 5px; border-radius:999px; color:#5035b5; background:#e6ddff; font-size:7px; font-weight:900; }.pending-legend b { display:grid; width:15px; height:15px; place-items:center; border-radius:50%; color:#fff!important; background:#6d4aff; }
.geist-check-list article.warning { border-color:#ded5ff; background:#f7f4ff; }.geist-check-list article.warning i { color:#5a3ec4; background:#e9e2ff; }
.team-filter-bar { border-top:0; }.team-access-search { position:relative; display:flex!important; align-items:center!important; gap:7px!important; margin:10px 0!important; padding:0!important; background:transparent!important; }.team-access-search input { width:100%; height:38px; padding:0 11px; border:1px solid #ded9e8; border-radius:11px; background:#fff; font-size:9px; }
.terminal-device-tile.clickable { cursor:pointer; transition:transform .16s,border-color .16s,box-shadow .16s; }.terminal-device-tile.clickable:hover { transform:translateY(-2px); border-color:#ad9cf8; box-shadow:0 16px 35px rgba(55,37,126,.12); }
.terminal-detail-modal { width:min(620px,95vw); }.terminal-detail-status { display:flex; align-items:center; gap:13px; margin:20px 22px 0; padding:15px; border:1px solid #e5e0f0; border-radius:16px; background:linear-gradient(135deg,#f8f5ff,#fff); }.terminal-detail-status > span { display:grid; width:46px; height:46px; place-items:center; border-radius:14px; color:#fff; background:var(--violet); font-size:20px; }.terminal-detail-status div { display:flex; flex-direction:column; gap:3px; }.terminal-detail-status small { color:var(--muted); }.terminal-settings-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:18px 22px; }.terminal-settings-list div { padding:12px; border:1px solid #ece8f2; border-radius:12px; }.terminal-settings-list dt { color:var(--muted); font-size:8px; }.terminal-settings-list dd { margin:5px 0 0; font-size:10px; font-weight:800; }.terminal-security-copy { margin:0 22px 20px; padding:12px; border-radius:12px; color:#625b72; background:#f7f4fc; font-size:9px; line-height:1.5; }.terminal-detail-modal > footer { display:flex; justify-content:flex-end; padding:0 22px 20px; }
.employee-active-media { margin-top:14px; padding:15px; border:1px solid #e4def1; border-radius:16px; background:linear-gradient(135deg,#faf8ff,#fff); }.employee-active-media header { display:flex; justify-content:space-between; gap:10px; margin-bottom:9px; }.employee-active-media header div { display:flex; flex-direction:column; gap:3px; }.employee-active-media header span,.employee-active-media header small,.employee-active-media p { color:var(--muted); font-size:8px; }.employee-active-media > div { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:10px; padding:9px 0; border-top:1px solid #ece8f3; }.employee-active-media code { padding:5px 8px; border-radius:8px; color:#3e277a; background:#eee8ff; font-weight:900; }
.standard-report-import { overflow:hidden; border:1px solid #ded7ef; border-radius:16px; background:linear-gradient(135deg,#f7f3ff,#fff); }.standard-report-import header,.standard-report-import footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; }.standard-report-import header div { display:flex; flex-direction:column; gap:3px; }.standard-report-import header h3 { margin:0; font-size:12px; }.standard-report-import header > span,.standard-report-import footer small { color:var(--muted); font-size:8px; }.standard-report-import textarea { min-height:150px; border:0!important; border-block:1px solid #e7e1f2!important; border-radius:0!important; background:#fff!important; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:9px; line-height:1.55; }
.dashboard-role-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(330px,.8fr); gap:18px; }.employee-day-card,.personal-actions-card { overflow:hidden; }.employee-day-row { display:grid; grid-template-columns:85px 1fr auto; align-items:center; gap:12px; padding:13px 18px; border-top:1px solid #eeeaf3; }.employee-day-row time { color:var(--violet); font-size:10px; font-weight:900; }.employee-day-row span { display:flex; min-width:0; flex-direction:column; gap:3px; }.employee-day-row strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.employee-day-row small,.employee-day-row i { color:var(--muted); font-size:8px; font-style:normal; }.personal-action-list { display:grid; gap:8px; padding:15px; }.personal-action-list a,.personal-all-clear { display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:10px; padding:10px; border:1px solid #e9e4f1; border-radius:12px; color:var(--ink); background:#fff; }.personal-action-list a > span,.personal-all-clear > span { display:grid; width:32px; height:32px; place-items:center; border-radius:10px; color:#fff; background:var(--violet); }.personal-action-list div div,.personal-action-list a div { display:flex; flex-direction:column; gap:3px; }.personal-action-list small { color:var(--muted); font-size:8px; }.dashboard-quick-actions { display:flex; flex-wrap:wrap; gap:8px; padding:0 15px 15px; }.dashboard-quick-actions a { padding:8px 10px; border-radius:9px; color:var(--violet-deep); background:#f0ebff; font-size:8px; font-weight:850; }
.tenant-retention-warning { display:flex; align-items:center; gap:13px; margin:16px 0; padding:14px; border:1px solid #f0d29a; border-radius:14px; background:#fff9ec; }.tenant-retention-warning > span { display:grid; width:44px; height:44px; place-items:center; border-radius:13px; color:#fff; background:#d69a2b; font-size:16px; font-weight:900; }.tenant-retention-warning div { display:flex; flex-direction:column; gap:3px; }.tenant-retention-warning small { color:#766541; font-size:8px; line-height:1.5; }
@media (max-width:900px) { .dashboard-role-grid { grid-template-columns:1fr; }.terminal-settings-list { grid-template-columns:1fr; } }
.report-filter-card { overflow:hidden; padding:0; }
.report-filter-card > header { padding:16px 18px; }
.report-filter-grid { grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(125px,1fr)); }
.report-search-field { grid-column:span 2; align-self:end; }
.report-filter-submit { grid-column:3; justify-self:stretch; }
.report-filter-reset { grid-column:4; justify-self:stretch; }

.tenant-import-launcher { justify-content:space-between; border-color:#d9d0ff; background:radial-gradient(circle at 100% 0,rgba(109,74,255,.15),transparent 45%),#fff; }
.tenant-import-launcher > p { color:var(--muted); font-size:10px; line-height:1.55; }
.tenant-import-types { display:flex; flex-wrap:wrap; gap:6px; }
.tenant-import-types span { padding:6px 8px; border-radius:8px; color:#5f43c2; background:#f0ecff; font-size:8px; font-weight:850; }
.tenant-import-launcher .button { align-self:flex-start; }

.import-readiness-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; margin-bottom:16px; padding:20px 22px; border-color:#d9d0ff; background:radial-gradient(circle at 0 50%,rgba(109,74,255,.12),transparent 29%),linear-gradient(120deg,#fff,#faf8ff); }
.import-readiness-orb { display:flex; width:72px; height:72px; align-items:baseline; justify-content:center; padding-top:19px; border-radius:23px; color:#fff; background:linear-gradient(135deg,#6d4aff,#40218f); box-shadow:0 14px 30px rgba(82,49,180,.24); }
.import-readiness-orb strong { font-size:25px; }.import-readiness-orb span { font-size:10px; opacity:.72; }
.import-readiness-card h2 { margin:4px 0; font-size:18px; }.import-readiness-card p { margin:0; color:var(--muted); font-size:9px; line-height:1.5; }
.clockodo-package-upload { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; margin-bottom:14px; padding:20px 22px; overflow:hidden; border-color:#cfc5fb; background:linear-gradient(120deg,#f7f4ff,#fff); }
.import-package-icon { display:grid; width:54px; height:54px; place-items:center; border-radius:17px; color:#fff; background:linear-gradient(135deg,#7a4cff,#5520c8); font-size:22px; font-weight:900; box-shadow:0 12px 25px rgba(91,54,190,.22); }
.clockodo-package-upload h2 { margin:4px 0; font-size:17px; }.clockodo-package-upload p { margin:0; color:var(--muted); font-size:9px; line-height:1.55; }.clockodo-package-upload code { color:#5a39bc; font-size:8px; }
.clockodo-multi-file { position:relative; overflow:hidden; }.clockodo-multi-file input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.clockodo-import-guide { display:flex; align-items:center; justify-content:center; gap:15px; margin-bottom:16px; padding:13px; border:1px solid #e6e2ef; border-radius:16px; background:#fff; }
.clockodo-import-guide > div { display:flex; min-width:190px; align-items:center; gap:10px; }.clockodo-import-guide i { display:grid; width:31px; height:31px; flex:0 0 auto; place-items:center; border-radius:10px; color:var(--violet); background:var(--violet-wash); font-size:10px; font-style:normal; font-weight:900; }.clockodo-import-guide span { display:flex; flex-direction:column; gap:3px; }.clockodo-import-guide strong { font-size:9px; }.clockodo-import-guide small { color:var(--muted); font-size:8px; }.clockodo-import-guide > b { color:#c0bacd; font-size:14px; }
.clockodo-import-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.clockodo-import-group { margin-top:24px; }.clockodo-import-group > header { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin-bottom:10px; padding:0 3px; }.clockodo-import-group > header h2 { margin:4px 0 0; font-size:18px; }.clockodo-import-group > header > span { color:var(--muted); font-size:9px; font-weight:800; }
.clockodo-import-card { overflow:hidden; padding:17px; transition:border-color .16s,box-shadow .16s,transform .16s; }.clockodo-import-card.ready { border-color:#a8dfc8; box-shadow:0 11px 30px rgba(21,143,94,.08); }.clockodo-import-card > header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; }.clockodo-import-card > header > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.clockodo-import-card h2 { margin:0; font-size:13px; }.clockodo-import-card > p { min-height:43px; margin:12px 0; color:var(--muted); font-size:9px; line-height:1.55; }
.clockodo-import-card.pending-schema { border-style:dashed; opacity:.84; }
.import-order { display:grid; width:36px; height:36px; place-items:center; border-radius:11px; color:#fff; background:#332070; font-size:11px; font-weight:900; }
.clockodo-expected-file { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:-3px 0 10px; }.clockodo-expected-file code { color:#5134ac; font-size:8px; font-weight:850; }.clockodo-expected-file span { padding:3px 6px; border-radius:999px; color:#087a50; background:#def7ed; font-size:7px; font-weight:850; }
.import-target-fields { display:flex; min-height:52px; flex-wrap:wrap; align-content:flex-start; gap:5px; margin-bottom:12px; }.import-target-fields span { padding:4px 6px; border-radius:6px; color:#696375; background:#f4f2f7; font-size:7px; font-weight:800; }
.clockodo-file-drop { position:relative; display:grid; grid-template-columns:35px minmax(0,1fr); align-items:center; gap:10px; padding:11px; border:1px dashed #bfb3ea; border-radius:12px; background:#faf8ff; cursor:pointer; }.clockodo-file-drop > span { display:grid; width:34px; height:34px; place-items:center; border-radius:10px; color:var(--violet); background:#ece7ff; font-size:15px; }.clockodo-file-drop > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.clockodo-file-drop strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.clockodo-file-drop small { color:var(--muted); font-size:7px; }.clockodo-file-drop input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.clockodo-mapping-list { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin-top:11px; }.clockodo-mapping-list > div { display:grid; grid-template-columns:20px 1fr; align-items:center; gap:6px; padding:6px; border-radius:8px; background:#f7f6f9; }.clockodo-mapping-list i { display:grid; width:18px; height:18px; place-items:center; border-radius:6px; color:#817b8a; background:#ebe9ef; font-size:7px; font-style:normal; font-weight:900; }.clockodo-mapping-list span { display:flex; min-width:0; flex-direction:column; gap:1px; }.clockodo-mapping-list strong,.clockodo-mapping-list small { overflow:hidden; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.clockodo-mapping-list small { color:var(--muted); }.clockodo-mapping-list .matched i { color:#087a50; background:#def7ed; }.clockodo-mapping-list .missing { background:#fff5f6; }.clockodo-mapping-list .missing i { color:#a62f43; background:#ffe2e7; }
.clockodo-import-warnings { margin:10px 0 0; padding:9px 9px 9px 24px; border-radius:9px; color:#8c5d00; background:#fff7df; font-size:8px; line-height:1.45; }
.clockodo-schema-pending { display:flex; min-height:58px; flex-direction:column; justify-content:center; gap:4px; padding:11px; border:1px dashed #c9c1df; border-radius:12px; background:#f7f5fa; }.clockodo-schema-pending strong { font-size:9px; }.clockodo-schema-pending span { color:var(--muted); font-size:8px; line-height:1.45; }
.clockodo-safety-note { display:flex; align-items:flex-start; gap:13px; margin-top:16px; padding:17px; }.clockodo-safety-note > span { display:grid; width:38px; height:38px; flex:0 0 auto; place-items:center; border-radius:12px; color:var(--violet); background:var(--violet-wash); font-size:16px; }.clockodo-safety-note strong { font-size:11px; }.clockodo-safety-note p { margin:4px 0 0; color:var(--muted); font-size:9px; line-height:1.55; }

.import-review-heading { align-items:flex-end; }
.import-review-empty { display:grid; max-width:720px; justify-items:center; gap:10px; margin:70px auto; padding:48px; text-align:center; }.import-review-empty > span { display:grid; width:58px; height:58px; place-items:center; border-radius:18px; color:var(--violet); background:var(--violet-wash); font-size:25px; }.import-review-empty h2,.import-review-empty p { margin:0; }.import-review-empty p { max-width:500px; color:var(--muted); font-size:10px; line-height:1.6; }.import-review-empty .button { margin-top:8px; }
.import-review-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:14px; }.import-review-metrics article { display:flex; min-height:104px; flex-direction:column; justify-content:center; gap:4px; padding:17px 19px; border:1px solid var(--line); border-radius:17px; background:var(--surface); box-shadow:var(--shadow-soft); }.import-review-metrics span { color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }.import-review-metrics strong { font-size:24px; }.import-review-metrics small { color:var(--muted); font-size:8px; }.import-review-metrics .positive strong { color:#0b9f67; }.import-review-metrics .negative strong { color:#d4475b; }.import-review-metrics .warning strong { color:#b27500; }
.import-review-status { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:15px; margin-bottom:17px; padding:16px 19px; }.import-review-status.ready { border-color:#a8dfc8; background:linear-gradient(110deg,#effcf7,#fff); }.import-review-status.blocked { border-color:#f0cf92; background:linear-gradient(110deg,#fff8e8,#fff); }.import-review-status-icon { display:grid; width:41px; height:41px; place-items:center; border-radius:13px; color:#fff; background:#0eab72; font-weight:900; }.import-review-status.blocked .import-review-status-icon { background:#d39012; }.import-review-status h2 { margin:3px 0; font-size:14px; }.import-review-status p { margin:0; color:var(--muted); font-size:9px; }
.import-review-list { display:grid; gap:11px; }.import-review-item { overflow:hidden; padding:0; }.import-review-item.ready { border-left:3px solid #28b778; }.import-review-item.blocked { border-left:3px solid #d9a12a; }.import-review-item > header { display:grid; grid-template-columns:auto minmax(180px,1fr) auto auto auto; align-items:center; gap:14px; padding:15px 17px; }.import-review-item h2 { margin:2px 0 0; font-size:13px; }.import-review-item-metrics { display:flex; align-items:center; gap:7px; }.import-review-item-metrics > span { padding:6px 9px; border-radius:9px; color:var(--muted); background:#f5f3f9; font-size:8px; white-space:nowrap; }.import-review-item-metrics .positive { color:#087a50; background:#e8f8f1; }.import-review-item-metrics .negative { color:#a62f43; background:#fff0f2; }.import-review-item-metrics .warning { color:#8c5d00; background:#fff6dc; }.import-review-toggle,.import-review-remove { border:1px solid var(--line); background:var(--surface); cursor:pointer; }.import-review-toggle { padding:8px 11px; border-radius:9px; color:var(--ink); font-size:8px; font-weight:850; }.import-review-remove { display:grid; width:29px; height:29px; place-items:center; border-radius:9px; color:var(--muted); font-size:15px; }.import-review-findings { display:flex; flex-wrap:wrap; gap:6px; padding:0 17px 13px 62px; }.import-review-findings span { padding:6px 8px; border-radius:8px; color:#805400; background:#fff6dc; font-size:8px; }.import-review-details { padding:15px 17px 17px; border-top:1px solid var(--line); background:#fbfafd; }.import-review-table-shell { overflow:auto; border:1px solid var(--line); border-radius:11px; background:var(--surface); }.import-review-table-shell table { min-width:100%; border-collapse:collapse; font-size:8px; white-space:nowrap; }.import-review-table-shell th,.import-review-table-shell td { max-width:260px; overflow:hidden; padding:8px 10px; border-bottom:1px solid var(--line); text-align:left; text-overflow:ellipsis; }.import-review-table-shell th { position:sticky; top:0; color:var(--muted); background:#f5f3f9; font-size:7px; letter-spacing:.05em; text-transform:uppercase; }.import-review-table-shell tr:last-child td { border-bottom:0; }.import-review-sample-note { display:block; margin-top:8px; color:var(--muted); font-size:8px; }.import-review-no-rows { padding:15px; border:1px dashed var(--line); border-radius:11px; color:var(--muted); font-size:9px; text-align:center; }
.import-transfer-panel { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:20px; margin-top:18px; padding:20px; }.import-transfer-panel h2 { margin:4px 0; font-size:16px; }.import-transfer-panel p { max-width:700px; margin:0; color:var(--muted); font-size:9px; line-height:1.55; }.import-confirmation { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:9px; font-weight:750; }.import-confirmation input { accent-color:var(--violet); }
.import-execution-result { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; margin-top:14px; padding:20px; border-color:#9cddc3; background:linear-gradient(115deg,#eefcf6,#fff); }.import-execution-check { display:grid; width:46px; height:46px; place-items:center; border-radius:15px; color:#fff; background:#10aa71; font-size:20px; font-weight:900; }.import-execution-result h2 { margin:4px 0; font-size:16px; }.import-execution-result p { margin:0; color:var(--muted); font-size:9px; }.import-execution-files { display:grid; grid-column:1/-1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding-top:14px; border-top:1px solid #bde7d5; }.import-execution-files article { display:grid; gap:4px; padding:11px; border:1px solid #cbeadd; border-radius:11px; background:rgba(255,255,255,.7); }.import-execution-files strong { font-size:9px; }.import-execution-files span,.import-execution-files small { color:var(--muted); font-size:8px; line-height:1.45; }
.import-history-panel { margin-top:18px; padding:0; overflow:hidden; }.import-history-panel > header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:17px 19px; border-bottom:1px solid var(--line); }.import-history-panel h2 { margin:3px 0 0; font-size:15px; }.import-history-panel > header > span { color:var(--muted); font-size:8px; }.import-history-list { display:grid; }.import-history-list > a { display:grid; grid-template-columns:100px 120px 1fr 1.5fr auto; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; font-size:8px; }.import-history-list > a:last-child { border-bottom:0; }.import-history-list > a:hover { background:var(--violet-wash); }.import-history-list b { color:var(--violet); }.import-history-state,.import-log-status,.record-state { display:inline-flex; width:max-content; padding:5px 8px; border-radius:999px; font-size:7px; font-weight:900; text-transform:uppercase; }.import-history-state.completed,.import-log-status.completed,.record-state.imported { color:#08764f; background:#e7f8f0; }.import-history-state.failed,.import-log-status.failed,.record-state.failed { color:#a42d42; background:#fff0f2; }.import-history-state.running,.import-log-status.running { color:#8b5c00; background:#fff4d5; }.record-state.skipped { color:#665489; background:#f0ebfa; }.record-state.preserved { color:#8b5c00; background:#fff4d5; }
.import-log-heading { align-items:flex-end; }.import-log-empty { max-width:720px; margin:60px auto; padding:40px; text-align:center; }.import-log-summary { display:grid; grid-template-columns:auto repeat(6,minmax(0,1fr)); align-items:center; gap:13px; padding:18px; }.import-log-summary > div:not(.import-log-status) { display:grid; gap:3px; padding-left:12px; border-left:1px solid var(--line); }.import-log-summary span { color:var(--muted); font-size:7px; font-weight:800; text-transform:uppercase; }.import-log-summary strong { font-size:13px; }.import-log-summary > p { grid-column:1/-1; margin:2px 0 0; padding-top:12px; border-top:1px solid var(--line); color:var(--muted); font-size:9px; }.import-log-files { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:13px 0; }.import-log-files article { display:grid; grid-template-columns:repeat(4,auto); align-items:center; gap:8px; padding:15px; }.import-log-files h2 { grid-column:1/-1; margin:3px 0 7px; font-size:13px; }.import-log-files div { color:var(--muted); font-size:8px; }.import-log-files div b { display:block; color:var(--ink); font-size:13px; }.import-log-files p { grid-column:1/-1; margin:5px 0 0; color:var(--muted); font-size:8px; line-height:1.5; }.import-log-records { padding:0; overflow:hidden; }.import-log-records > header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 18px; border-bottom:1px solid var(--line); }.import-log-records h2 { margin:3px 0 0; font-size:15px; }.import-log-records label { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:8px; }.import-log-records input { width:260px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--surface); outline:none; }.import-log-records input:focus { border-color:var(--violet); box-shadow:0 0 0 3px var(--violet-wash); }.import-log-record-list { max-height:720px; overflow:auto; }.import-log-record-list details { border-bottom:1px solid var(--line); }.import-log-record-list details:last-child { border-bottom:0; }.import-log-record-list summary { display:grid; grid-template-columns:100px 160px 180px 1fr auto; align-items:center; gap:11px; padding:11px 18px; cursor:pointer; list-style:none; font-size:8px; }.import-log-record-list summary:hover { background:var(--violet-wash); }.import-log-record-list summary::-webkit-details-marker { display:none; }.import-log-record-list summary code { overflow:hidden; color:var(--muted); text-overflow:ellipsis; }.import-log-record-list summary > span:not(.record-state) { color:var(--muted); }.import-log-record-list summary > b { color:var(--violet); }.import-log-record-list details > p { margin:0; padding:10px 18px 0; color:var(--muted); font-size:8px; }.import-log-record-list pre { max-height:360px; overflow:auto; margin:10px 18px 15px; padding:14px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--page); font-size:8px; line-height:1.55; white-space:pre-wrap; }

@media (max-width:1100px) { .clockodo-import-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.clockodo-import-guide { justify-content:flex-start; overflow:auto; }.import-readiness-card { grid-template-columns:auto 1fr; }.import-readiness-card .button { grid-column:1/-1; justify-self:end; }.report-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.report-filter-submit,.report-filter-reset { grid-column:auto; }.import-review-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }.import-review-item > header { grid-template-columns:auto minmax(160px,1fr) auto auto; }.import-review-item-metrics { grid-column:2/-1; grid-row:2; }.import-transfer-panel { grid-template-columns:1fr auto; }.import-transfer-panel > div { grid-column:1/-1; } }
@media (max-width:1100px) { .import-execution-files,.import-log-files { grid-template-columns:repeat(2,minmax(0,1fr)); }.import-history-list > a { grid-template-columns:90px 110px 1fr auto; }.import-history-list > a span:nth-of-type(3) { grid-column:3; }.import-log-summary { grid-template-columns:auto repeat(3,minmax(0,1fr)); }.import-log-record-list summary { grid-template-columns:90px 140px 1fr auto; }.import-log-record-list summary > span:not(.record-state) { grid-column:2/-1; } }
@media (max-width:800px) { .report-time-scope,.import-readiness-card,.clockodo-package-upload,.clockodo-import-grid,.report-filter-grid { grid-template-columns:1fr; }.clockodo-package-upload .button { justify-self:start; }.report-time-scope > button { justify-content:center; }.clockodo-import-guide { align-items:stretch; flex-direction:column; }.clockodo-import-guide > b { display:none; }.clockodo-import-guide > div { min-width:0; }.clockodo-mapping-list { grid-template-columns:1fr; }.report-search-field,.report-filter-submit,.report-filter-reset { grid-column:auto; }.import-review-metrics { grid-template-columns:1fr 1fr; }.import-review-status,.import-transfer-panel { grid-template-columns:1fr; }.import-review-item > header { grid-template-columns:auto 1fr auto; }.import-review-item-metrics,.import-review-toggle { grid-column:1/-1; }.import-review-remove { grid-column:3; grid-row:1; }.import-review-findings { padding-left:17px; } }
@media (max-width:800px) { .import-execution-result,.import-execution-files,.import-log-files,.import-log-summary { grid-template-columns:1fr; }.import-execution-result .button { grid-column:1/-1; }.import-history-panel > header,.import-log-records > header { align-items:stretch; flex-direction:column; }.import-history-list > a { grid-template-columns:1fr auto; }.import-history-list > a > span,.import-history-list > a > strong { grid-column:1; }.import-history-list > a > b { grid-column:2; grid-row:1; }.import-log-summary > div:not(.import-log-status) { padding:8px 0 0; border-top:1px solid var(--line); border-left:0; }.import-log-records label,.import-log-records input { width:100%; }.import-log-record-list summary { grid-template-columns:1fr auto; }.import-log-record-list summary > * { grid-column:1; }.import-log-record-list summary > b { grid-column:2; grid-row:1; } }

/* Finalisierung: Mehrfach-Teamzuordnung */
.employee-team-field { display:flex; flex-direction:column; gap:8px; }
.employee-team-field > span { color:#575263; font-size:11px; font-weight:850; }
.employee-team-field > small { color:#888291; font-size:9px; line-height:1.45; }
.employee-team-picker { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:10px; border:1px solid #e1ddec; border-radius:14px; background:#faf9fd; }
.employee-team-choice { display:flex!important; min-height:44px; flex-direction:row!important; align-items:center; gap:9px!important; padding:8px 10px; border:1px solid #e5e1ed; border-radius:11px; background:#fff; cursor:pointer; }
.employee-team-choice:has(input:checked) { border-color:#9c87f4; background:#f2eeff; box-shadow:0 0 0 2px rgba(109,74,255,.08); }
.employee-team-choice input { width:16px!important; height:16px!important; min-height:0!important; padding:0!important; accent-color:var(--violet); }
.employee-team-choice span { display:flex; min-width:0; flex-direction:column; gap:2px; font-size:10px; }
.employee-team-choice strong { color:var(--violet-deep); font-size:8px; letter-spacing:.06em; }
@media (max-width:680px) { .employee-team-picker { grid-template-columns:1fr; } }

/* Finalisierung: klare Navigation mit Verwaltungs-Untermenüs */
.nav-submenu { margin:2px 0; }
.nav-submenu > summary { display:flex; min-height:40px; align-items:center; gap:12px; padding:0 12px; border-radius:11px; color:#aaa8b8; font-size:11px; font-weight:750; list-style:none; cursor:pointer; transition:color .16s,background .16s; }
.nav-submenu > summary::-webkit-details-marker { display:none; }
.nav-submenu > summary:hover { color:#fff; background:rgba(255,255,255,.05); }
.nav-submenu > summary i { margin-left:auto; color:#6f6b7d; font-size:10px; font-style:normal; transition:transform .16s; }
.nav-submenu[open] > summary i { transform:rotate(180deg); }
.nav-submenu > div { display:flex; flex-direction:column; gap:2px; margin:2px 0 4px 18px; padding-left:8px; border-left:1px solid rgba(167,151,255,.16); }
.nav-submenu > div a { min-height:35px; padding-inline:9px; font-size:11px; }
.nav-submenu > div .nav-icon { width:15px; height:15px; color:#716b83; font-size:11px; }
.sidebar-collapsed .nav-submenu > summary { width:48px; min-height:44px; justify-content:center; margin-inline:auto; padding:0; }
.sidebar-collapsed .nav-submenu > summary span:nth-child(2),.sidebar-collapsed .nav-submenu > summary i,.sidebar-collapsed .nav-submenu > div { display:none; }

/* Personal display preferences */
.account-navigation-card { grid-column:1 / -1; overflow:hidden; }
.navigation-mode-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:20px 24px 24px; }
.navigation-mode-choices > button { display:grid; grid-template-columns:54px 1fr; gap:4px 14px; min-height:112px; padding:17px; border:1px solid var(--line); border-radius:15px; color:var(--ink); background:var(--surface); text-align:left; cursor:pointer; transition:border-color .16s,background .16s,box-shadow .16s,transform .16s; }
.navigation-mode-choices > button:hover { border-color:#c9bfff; background:#faf8ff; transform:translateY(-1px); }
.navigation-mode-choices > button.active { border-color:var(--violet); background:var(--violet-wash); box-shadow:0 0 0 3px rgba(109,74,255,.11); }
.navigation-mode-choices strong { align-self:end; color:var(--ink); font-size:12px; }
.navigation-mode-choices small { grid-column:2; color:var(--muted); font-size:9px; line-height:1.5; }
.navigation-mode-preview { grid-row:1 / span 2; display:flex; width:54px; height:72px; flex-direction:column; gap:7px; padding:10px 9px; border-radius:11px; background:#171725; }
.navigation-mode-preview i { display:block; height:7px; border-radius:4px; background:#777287; }
.navigation-mode-preview.grouped i:nth-child(2) { width:70%; margin-left:8px; background:var(--violet-light); }
.navigation-mode-preview.grouped i:nth-child(3) { width:70%; margin-left:8px; }
.navigation-mode-preview.classic i { background:linear-gradient(90deg,var(--violet-light) 0 7px,#777287 7px); }

:root[data-nav-mode="classic"] .nav-submenu > summary { min-height:24px; padding:3px 12px 5px; border-radius:0; color:#777384; font-size:8px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; cursor:default; }
:root[data-nav-mode="classic"] .nav-submenu > summary:hover { color:#918d9f; background:transparent; }
:root[data-nav-mode="classic"] .nav-submenu > summary .nav-icon,
:root[data-nav-mode="classic"] .nav-submenu > summary i { display:none; }
:root[data-nav-mode="classic"] .nav-submenu > div { gap:3px; margin:0 0 6px; padding:0; border-left:0; }
:root[data-nav-mode="classic"] .nav-submenu > div a { min-height:40px; padding-inline:12px; }
:root[data-nav-mode="classic"] .nav-submenu > div .nav-icon { width:20px; height:20px; font-size:13px; }
:root[data-nav-mode="classic"] body.sidebar-collapsed .nav-submenu > summary .nav-icon { display:grid; }

/* Dark mode: high-contrast week and interactive states */
:root[data-theme="dark"] .week-metric { border-color:var(--line); background:#151720; color:var(--ink); }
:root[data-theme="dark"] .week-metric > span,
:root[data-theme="dark"] .week-metric > small { color:var(--muted); }
:root[data-theme="dark"] .week-metric > strong { color:var(--ink); }
:root[data-theme="dark"] .week-metric.primary { border-color:#7659ff; background:radial-gradient(circle at 100% 0,rgba(168,154,255,.32),transparent 50%),linear-gradient(135deg,#7047ff,#4326a8); }
:root[data-theme="dark"] .week-metric.primary > span,
:root[data-theme="dark"] .week-metric.primary > small { color:#ded9ff; }
:root[data-theme="dark"] .week-metric.primary > strong { color:#fff; }
:root[data-theme="dark"] .week-day-card { border-color:var(--line); background:#151720; color:var(--ink); }
:root[data-theme="dark"] .week-day-card:hover { background:#20232d; }
:root[data-theme="dark"] .week-day-card.today,
:root[data-theme="dark"] .week-day-card.today:hover { background:linear-gradient(#29233e,#191b25); }
:root[data-theme="dark"] .week-day-card header strong,
:root[data-theme="dark"] .week-day-values strong { color:var(--ink); }
:root[data-theme="dark"] .week-bar { background:#292c36; }
:root[data-theme="dark"] .week-day-card footer { border-color:var(--line); }
:root[data-theme="dark"] .navigation-mode-choices > button { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .navigation-mode-choices > button:hover { border-color:#7160cb; background:#20232d; }
:root[data-theme="dark"] .navigation-mode-choices > button.active { border-color:var(--violet-light); background:#27223d; }
:root[data-theme="dark"] .account-identity-card dl div,
:root[data-theme="dark"] .role-card,
:root[data-theme="dark"] .terminal-kpis article,
:root[data-theme="dark"] .employee-summary-strip article,
:root[data-theme="dark"] .work-report-row,
:root[data-theme="dark"] .report-block-option,
:root[data-theme="dark"] .stamped-time-list label,
:root[data-theme="dark"] .clockodo-import-guide,
:root[data-theme="dark"] .employee-team-choice { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .account-password-form label,
:root[data-theme="dark"] .signature-field > span { color:#d8d5e0; }
:root[data-theme="dark"] .day-toolbar > button:not(.button),
:root[data-theme="dark"] .week-toolbar > button:not(.button),
:root[data-theme="dark"] .table-footer button,
:root[data-theme="dark"] .report-time-scope > button { border-color:var(--line); background:#11131b; color:#c9c1ff; }
:root[data-theme="dark"] .day-toolbar > button:not(.button):hover,
:root[data-theme="dark"] .week-toolbar > button:not(.button):hover,
:root[data-theme="dark"] .table-footer button:hover,
:root[data-theme="dark"] .report-time-scope > button:hover { border-color:#7160cb; background:#27223d; color:#fff; }
:root[data-theme="dark"] .data-table tbody tr:hover { background:#1d2029; }
:root[data-theme="dark"] .modern-filter-toolbar,
:root[data-theme="dark"] .table-toolbar { border-color:var(--line); background:#11131b; }
:root[data-theme="dark"] .time-entry-action-menu,
:root[data-theme="dark"] .time-entry-action-menu button,
:root[data-theme="dark"] .report-filter-grid .filter-search { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .time-entry-action-menu button:hover { border-color:#7160cb; background:#27223d; color:#fff; }
:root[data-theme="dark"] .standard-report-import { border-color:var(--line); background:linear-gradient(135deg,#1d192c,#11131b); }
:root[data-theme="dark"] .standard-report-import textarea { border-color:var(--line)!important; background:#10121a!important; color:var(--ink)!important; }

@media (max-width:700px) {
    .navigation-mode-choices { grid-template-columns:1fr; padding:16px; }
}

/* Dark mode system coverage: every workspace surface follows the same palette. */
:root[data-theme="dark"] .day-balance-strip,
:root[data-theme="dark"] .calendar-weekdays,
:root[data-theme="dark"] .privacy-note,
:root[data-theme="dark"] .terminal-admin-form,
:root[data-theme="dark"] .report-filter-grid,
:root[data-theme="dark"] .controlling-filter-panel { border-color:var(--line); background:#11131b; color:var(--ink); }

:root[data-theme="dark"] .absence-stat-card,
:root[data-theme="dark"] .commercial-summary:not(.primary),
:root[data-theme="dark"] .customer-card,
:root[data-theme="dark"] .project-pulse-card,
:root[data-theme="dark"] .budget-card:not(.primary),
:root[data-theme="dark"] .report-kpi:not(.primary),
:root[data-theme="dark"] .work-report-summary article,
:root[data-theme="dark"] .integration-kpis article { border-color:var(--line); background:#151720; color:var(--ink); }

:root[data-theme="dark"] .customer-card:hover,
:root[data-theme="dark"] .project-pulse-card:hover,
:root[data-theme="dark"] .service-card:hover { border-color:#7160cb; background:#20232d; color:var(--ink); }

:root[data-theme="dark"] .calendar-day { border-color:var(--line); background:#151720; color:var(--ink); }
:root[data-theme="dark"] .calendar-day.outside { background:#10121a; opacity:.68; }
:root[data-theme="dark"] .calendar-day.today { background:linear-gradient(#29233e,#171923); box-shadow:inset 0 3px 0 var(--violet-light); }
:root[data-theme="dark"] .calendar-absence-chip { border-color:color-mix(in srgb,var(--absence-color) 42%,#151720); background:color-mix(in srgb,var(--absence-color) 19%,#151720); }
:root[data-theme="dark"] .calendar-absence-chip.own { box-shadow:0 0 0 1px color-mix(in srgb,var(--absence-color) 55%,#151720); }
:root[data-theme="dark"] .privacy-note p { color:var(--muted); }

:root[data-theme="dark"] .project-pulse-values,
:root[data-theme="dark"] .project-assignment-field,
:root[data-theme="dark"] .close-control,
:root[data-theme="dark"] .integration-form,
:root[data-theme="dark"] .scope-fieldset,
:root[data-theme="dark"] .toggle-line,
:root[data-theme="dark"] .one-time-secret { border-color:var(--line); background:#10121a; color:var(--ink); }
:root[data-theme="dark"] .project-assignment-field label,
:root[data-theme="dark"] .export-tile { border-color:var(--line); background:#171923; color:var(--ink); }
:root[data-theme="dark"] .project-assignment-field label:hover,
:root[data-theme="dark"] .export-tile:hover { border-color:#7160cb; background:#242032; }
:root[data-theme="dark"] .project-assignment-field label:has(input:checked) { border-color:var(--violet-light); background:#29233e; }

:root[data-theme="dark"] .service-card { border-color:var(--line); background:linear-gradient(140deg,#191b25,#11131b); color:var(--ink); }
:root[data-theme="dark"] .service-card.billable { border-color:#5f50a8; }
:root[data-theme="dark"] .service-card.internal { border-color:#5a5139; background:linear-gradient(140deg,#201d17,#151720); }
:root[data-theme="dark"] .service-card-footer > span,
:root[data-theme="dark"] .service-card > footer span { color:#bbb7c7; background:#292c36; }
:root[data-theme="dark"] .service-billing-chip { color:#cfc7ff!important; background:#2b2544!important; }

:root[data-theme="dark"] .progress-track,
:root[data-theme="dark"] .breakdown-track { background:#292c36; }
:root[data-theme="dark"] .commercial-summary::after { background:#242032; }
:root[data-theme="dark"] .commercial-summary.risk::after { background:#3b1d25; }

:root[data-theme="dark"] .report-filter-grid > label,
:root[data-theme="dark"] .report-filter-grid > label:not(.filter-search),
:root[data-theme="dark"] .report-filter-grid label,
:root[data-theme="dark"] .close-control label,
:root[data-theme="dark"] .terminal-admin-form > label:not(.terminal-toggle),
:root[data-theme="dark"] .integration-form > label,
:root[data-theme="dark"] .file-name-field,
:root[data-theme="dark"] .csv-editor,
:root[data-theme="dark"] .export-control > label { color:#c9c5d2; }
:root[data-theme="dark"] .report-filter-grid select,
:root[data-theme="dark"] .report-filter-grid input,
:root[data-theme="dark"] .controlling-filter-grid select,
:root[data-theme="dark"] .controlling-filter-grid input { border-color:#363947!important; background-color:#10121a!important; color:var(--ink)!important; box-shadow:none; }

:root[data-theme="dark"] .report-table th,
:root[data-theme="dark"] .preview-table th,
:root[data-theme="dark"] .matrix-group td { border-color:var(--line); background:#211d31; color:#c9c1ff; }
:root[data-theme="dark"] .report-table td,
:root[data-theme="dark"] .preview-table td { border-color:var(--line); color:#d9d6e2; }
:root[data-theme="dark"] .report-table tbody tr:hover,
:root[data-theme="dark"] .preview-table tbody tr:hover { background:#20232d; }
:root[data-theme="dark"] .close-card { border-color:var(--line); background:radial-gradient(circle at 100% 0,rgba(109,74,255,.13),transparent 40%),#151720; }

:root[data-theme="dark"] .integration-kpis article > div span,
:root[data-theme="dark"] .hash-history > strong,
:root[data-theme="dark"] .import-history > strong,
:root[data-theme="dark"] .preview-placeholder strong { color:#c7c3d0; }
:root[data-theme="dark"] .one-time-secret code { color:#dcd6ff; background:#090a0f; }
:root[data-theme="dark"] .integration-list,
:root[data-theme="dark"] .integration-row,
:root[data-theme="dark"] .hash-history,
:root[data-theme="dark"] .hash-history > div,
:root[data-theme="dark"] .import-history,
:root[data-theme="dark"] .import-history > div,
:root[data-theme="dark"] .preview-table-wrap { border-color:var(--line); }

:root[data-theme="dark"] .terminal-toggle { border-color:var(--line); background:#171923; color:var(--ink); }
:root[data-theme="dark"] .audit-action.updated,
:root[data-theme="dark"] .actor-chip { color:#c9c1ff; background:#29233e; }
:root[data-theme="dark"] .status-pill.neutral { color:#c6c2ce; background:#292c36; }

/* QR codes need a white quiet zone for reliable scanning; only their frame follows the theme. */
:root[data-theme="dark"] .my-stamp-card-qr { border:1px solid #403763; box-shadow:0 16px 40px rgba(0,0,0,.28); }

/* Dark mode text contrast: semantic colors stay readable on dark washes. */
:root[data-theme="dark"] .status-pill.success,
:root[data-theme="dark"] .request-status.approved,
:root[data-theme="dark"] .health-pill:not(.warning):not(.critical),
:root[data-theme="dark"] .week-day-card header em,
:root[data-theme="dark"] .summary-orb:not(.violet):not(.gold),
:root[data-theme="dark"] .audit-action.created,
:root[data-theme="dark"] .preview-summary > span:not(.has-errors),
:root[data-theme="dark"] .export-tile > i:not(.invoice) { color:#68e6b5; }
:root[data-theme="dark"] .health-pill.warning,
:root[data-theme="dark"] .request-status.pending,
:root[data-theme="dark"] .summary-orb.gold { color:#f1c45d; }
:root[data-theme="dark"] .health-pill.critical,
:root[data-theme="dark"] .request-status.rejected,
:root[data-theme="dark"] .audit-action.deleted { color:#ff8498; }

:root[data-theme="dark"] .data-table td,
:root[data-theme="dark"] .data-table time,
:root[data-theme="dark"] .report-table td { color:#c9c5d2; }
:root[data-theme="dark"] .data-table td > small,
:root[data-theme="dark"] .data-table .table-sub,
:root[data-theme="dark"] .data-table time small { color:#aaa7b7; }

:root[data-theme="dark"] .timeline-help > span { color:#c9c1ff; background:#27223d; }
:root[data-theme="dark"] .timeline-gap-break strong,
:root[data-theme="dark"] .timeline-gap-break span { color:#d4d0dd; }
:root[data-theme="dark"] .entry-more-button { border-color:#51467f!important; color:#d1c9ff!important; background:#171923!important; }
:root[data-theme="dark"] .entry-more-button:hover { border-color:#8d79f6!important; color:#fff!important; background:#29233e!important; }

/* Operational UX: notifications, read-only team time view and editable master data */
.page-content .alert-danger {
    position: fixed;
    z-index: 240;
    top: 87px;
    right: 26px;
    width: min(440px, calc(100vw - 36px));
    margin: 0;
    border-color: #f0b9c3;
    background: #fff4f6;
    box-shadow: var(--shadow-lg);
}
.page-content .validation-toast:empty { display: none; }
.page-content .alert-danger ul { margin: 0; padding-left: 17px; }
.page-content .alert-danger li + li { margin-top: 3px; }
.employee-time-selector { min-width: 210px; margin-left: 6px; }
.employee-time-selector select { min-width: 210px; height: 42px; }
.timeline-entry-block.read-only { cursor: default; }
.timeline-entry-block.read-only:active { cursor: default; }
.time-entry-readonly-note { align-self: start; }
.compact-entry-more {
    position: absolute!important;
    z-index: 18!important;
    top: 50%;
    right: 4px;
    display: grid!important;
    min-width: 24px!important;
    height: 20px;
    margin: 0!important;
    place-items: center;
    transform: translateY(-50%);
}
.searchable-select-control input:disabled { cursor: not-allowed; opacity: .65; }
.searchable-select-control button:disabled { cursor: not-allowed; opacity: .45; }
.absence-type-management { margin-top: 22px; overflow: visible; }
.absence-type-admin-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 22px; padding: 20px; }
.absence-type-list { display: grid; align-content: start; gap: 9px; }
.absence-type-list article { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.absence-type-list article > i { width: 9px; height: 34px; border-radius: 99px; background: var(--absence-color); }
.absence-type-list article div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.absence-type-list article strong { font-size: 10px; }
.absence-type-list article small,.absence-type-list article > span { color: var(--muted); font-size: 8px; }
.expense-list article { grid-template-columns: auto minmax(180px,1fr) auto auto auto; }
.expense-list article.selected { border-color: var(--violet); box-shadow: 0 0 0 2px rgba(109,74,255,.08); }
.expense-row-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.text-action.danger { color: var(--danger); }

:root[data-theme="dark"] .page-content .alert-danger {
    border-color: #653441;
    color: #ffb8c4;
    background: #2a171d;
}

@media (max-width: 900px) {
    .absence-type-admin-grid { grid-template-columns: 1fr; }
    .employee-time-selector,.employee-time-selector select { min-width: 160px; }
}

:root[data-theme="dark"] .approval-count,
:root[data-theme="dark"] .permission-grant.scope-tenant,
:root[data-theme="dark"] .personal-action-list a > span,
:root[data-theme="dark"] .personal-all-clear > span { color:#fff; background:#6d4aff; }
:root[data-theme="dark"] .credential-security-note { color:#c9c1ff; background:#27223d; }

/* Editors, import tools and approval panels can appear as overlays on several pages. */
:root[data-theme="dark"] .report-block-picker,
:root[data-theme="dark"] .customer-approval-panel,
:root[data-theme="dark"] .customer-approval-panel.completed,
:root[data-theme="dark"] .import-readiness-card,
:root[data-theme="dark"] .clockodo-package-upload,
:root[data-theme="dark"] .clockodo-file-drop,
:root[data-theme="dark"] .clockodo-mapping-list > div { border-color:var(--line); background:#11131b; color:var(--ink); }
:root[data-theme="dark"] .clockodo-schema-pending { border-color:var(--line); background:#171923; color:var(--ink); }
:root[data-theme="dark"] .clockodo-expected-file code { color:#bcaeff; }
:root[data-theme="dark"] .report-block-option.required { border-color:#5c4d91; background:#29233e; }
:root[data-theme="dark"] .customer-approval-panel dl div { border-color:#315a49; background:#171923; }
:root[data-theme="dark"] .clockodo-file-drop:hover { border-color:#7160cb; background:#20232d; }
:root[data-theme="dark"] .clockodo-mapping-list .missing { background:#301b22; }
:root[data-theme="dark"] .import-review-metrics article,
:root[data-theme="dark"] .import-review-toggle,
:root[data-theme="dark"] .import-review-remove,
:root[data-theme="dark"] .import-review-table-shell { border-color:var(--line); background:var(--surface); color:var(--ink); }
:root[data-theme="dark"] .import-review-status.ready { border-color:#285c49; background:linear-gradient(110deg,#14251f,#151720); }
:root[data-theme="dark"] .import-review-status.blocked { border-color:#604c28; background:linear-gradient(110deg,#2b2518,#151720); }
:root[data-theme="dark"] .import-review-item-metrics > span,
:root[data-theme="dark"] .import-review-table-shell th { background:#20222d; }
:root[data-theme="dark"] .import-review-item-metrics .positive { color:#62d7a8; background:#173128; }
:root[data-theme="dark"] .import-review-item-metrics .negative { color:#ff9cab; background:#321d23; }
:root[data-theme="dark"] .import-review-item-metrics .warning,
:root[data-theme="dark"] .import-review-findings span { color:#f2c665; background:#302817; }
:root[data-theme="dark"] .import-review-details { background:#11131b; }
:root[data-theme="dark"] .import-execution-result { border-color:#285c49; background:linear-gradient(115deg,#14251f,#151720); }
:root[data-theme="dark"] .import-execution-files { border-color:#285c49; }
:root[data-theme="dark"] .import-execution-files article { border-color:#285c49; background:#17231f; }
:root[data-theme="dark"] .import-history-list > a:hover,
:root[data-theme="dark"] .import-log-record-list summary:hover { background:#211a32; }
:root[data-theme="dark"] .import-history-state.completed,
:root[data-theme="dark"] .import-log-status.completed,
:root[data-theme="dark"] .record-state.imported { color:#62d7a8; background:#173128; }
:root[data-theme="dark"] .import-history-state.failed,
:root[data-theme="dark"] .import-log-status.failed,
:root[data-theme="dark"] .record-state.failed { color:#ff9cab; background:#321d23; }
:root[data-theme="dark"] .import-history-state.running,
:root[data-theme="dark"] .import-log-status.running,
:root[data-theme="dark"] .record-state.preserved { color:#f2c665; background:#302817; }
:root[data-theme="dark"] .record-state.skipped { color:#c6aff8; background:#2a203d; }

/* Feiertagsgruppen: regionale Vorlagen, Kalender und Mitarbeiterzuordnung */
.holiday-year-toolbar { display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:center; gap:18px; margin-bottom:16px; padding:16px 18px; }.holiday-year-toolbar > div:first-child { display:flex; min-width:110px; flex-direction:column; gap:3px; }.holiday-year-toolbar > div:first-child strong { font-size:21px; }.holiday-year-toolbar > div:nth-child(2) { display:flex; gap:7px; }.holiday-year-toolbar > p { margin:0; color:var(--muted); font-size:9px; text-align:right; }
.holiday-admin-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.6fr); gap:15px; align-items:start; }.holiday-group-list,.holiday-group-editor { overflow:hidden; }.holiday-group-list > header { padding:18px; border-bottom:1px solid var(--line); }.holiday-group-list h2 { margin:4px 0 0; font-size:16px; }
.holiday-group-row { display:grid; width:100%; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; padding:13px 15px; border:0; border-bottom:1px solid var(--line); color:var(--ink); background:transparent; text-align:left; cursor:pointer; transition:background .16s,border-color .16s; }.holiday-group-row:hover,.holiday-group-row.selected { background:#f6f2ff; }.holiday-group-row.selected { box-shadow:inset 3px 0 var(--violet); }.holiday-group-mark { display:grid; width:37px; height:37px; place-items:center; border-radius:11px; color:#fff; background:#34206f; font-size:9px; font-weight:900; }.holiday-group-row > span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:3px; }.holiday-group-row strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.holiday-group-row small { color:var(--muted); font-size:7px; }
.holiday-group-editor > .card-header { padding:18px 20px; }.holiday-editor-grid { display:grid; grid-template-columns:1.25fr .8fr .8fr; gap:10px; padding:18px 20px; border-bottom:1px solid var(--line); }.holiday-editor-grid > label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:8px; font-weight:850; }.holiday-editor-grid input[type="text"],.holiday-editor-grid > label > input:not([type]) { min-height:43px; padding:0 12px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); }
.holiday-regenerate { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) 135px 135px; align-items:end; gap:9px; padding:11px; border:1px solid var(--line); border-radius:12px; background:#faf9fd; }.holiday-regenerate > span { align-self:center; font-size:9px; font-weight:850; }.holiday-regenerate label { display:flex; flex-direction:column; gap:4px; color:var(--muted); font-size:7px; }.holiday-regenerate input { min-height:37px; padding:0 9px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:var(--surface); }
.holiday-editor-columns { display:grid; grid-template-columns:1fr 1fr; min-height:430px; }.holiday-editor-columns > section { min-width:0; padding:17px 20px; }.holiday-editor-columns > section + section { border-left:1px solid var(--line); }.holiday-editor-columns section > header { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:10px; }.holiday-editor-columns h3 { margin:3px 0 0; font-size:14px; }.holiday-editor-columns section > header > span { color:var(--muted); font-size:8px; }
.holiday-employee-picker { max-height:370px; overflow:auto; }.holiday-employee-picker > label { display:flex; align-items:center; gap:9px; padding:9px 4px; border-bottom:1px solid var(--line); cursor:pointer; }.holiday-employee-picker input { accent-color:var(--violet); }.holiday-employee-picker label > span { display:flex; min-width:0; flex-direction:column; gap:2px; }.holiday-employee-picker strong { font-size:9px; }.holiday-employee-picker small { color:var(--muted); font-size:7px; }
.holiday-date-list { max-height:412px; overflow:auto; }.holiday-date-list > div { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:10px; padding:7px 2px; border-bottom:1px solid var(--line); }.holiday-date-list time { display:flex; width:38px; height:38px; align-items:center; justify-content:center; flex-direction:column; border-radius:10px; color:#5b3fc1; background:#f0ebff; }.holiday-date-list time strong { font-size:12px; }.holiday-date-list time span { font-size:6px; font-weight:900; text-transform:uppercase; }.holiday-date-list > div > span { display:flex; min-width:0; flex-direction:column; gap:2px; }.holiday-date-list > div > span strong { font-size:9px; }.holiday-date-list small { color:var(--muted); font-size:7px; }
.holiday-editor-actions { display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:8px; padding:14px 20px; border-top:1px solid var(--line); }.holiday-editor-actions > span:first-child { color:#a52b3f; font-size:8px; font-weight:800; }.holiday-create-modal { width:min(620px,calc(100vw - 28px)); }.holiday-create-body { display:grid; gap:12px; padding:20px; }.holiday-create-body > label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:8px; font-weight:850; }.holiday-create-body input,.holiday-create-body select { min-height:45px; padding:0 12px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); }.holiday-create-body .holiday-regenerate { grid-column:auto; }.holiday-template-note { display:flex; align-items:flex-start; gap:10px; padding:12px; border-radius:12px; color:#655d74; background:#f5f2fb; }.holiday-template-note > span { display:grid; width:24px; height:24px; flex:0 0 auto; place-items:center; border-radius:8px; color:#5b3fc1; background:#e8e0ff; font-size:8px; font-weight:900; }.holiday-template-note p { margin:0; font-size:8px; line-height:1.55; }
:root[data-theme="dark"] .holiday-group-row:hover,:root[data-theme="dark"] .holiday-group-row.selected { background:#211c33; }:root[data-theme="dark"] .holiday-regenerate,:root[data-theme="dark"] .holiday-template-note { background:#171923; color:var(--muted); }:root[data-theme="dark"] .holiday-date-list time { color:#c7baff; background:#2a2245; }
@media (max-width:1050px) { .holiday-admin-layout { grid-template-columns:1fr; }.holiday-group-list { max-height:340px; overflow:auto; }.holiday-editor-grid { grid-template-columns:1fr 1fr; }.holiday-editor-grid > label:first-child { grid-column:1/-1; } }
@media (max-width:760px) { .holiday-year-toolbar,.holiday-editor-grid,.holiday-editor-columns { grid-template-columns:1fr; }.holiday-year-toolbar > p { text-align:left; }.holiday-editor-columns > section + section { border-top:1px solid var(--line); border-left:0; }.holiday-regenerate { grid-template-columns:1fr 1fr; }.holiday-regenerate > span { grid-column:1/-1; }.holiday-editor-actions { grid-template-columns:1fr; }.holiday-editor-actions .button { justify-content:center; } }

/* Phase 20: team operations, reminders and consistent top-right feedback */
.page-content .alert-danger {
    inset: 87px 26px auto auto !important;
    transform: none !important;
}

/* Legal and trust center */
.legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 9px;
}
.legal-footer nav,
.account-legal-links { display: flex; flex-wrap: wrap; gap: 14px; }
.legal-footer a,
.account-legal-links a { color: inherit; font-weight: 750; text-decoration: none; }
.legal-footer a:hover,
.account-legal-links a:hover { color: var(--violet); }
.account-legal-links {
    position: fixed;
    right: 22px;
    bottom: 16px;
    z-index: 8;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: 0 8px 24px rgba(20, 16, 38, .08);
    color: var(--muted);
    font-size: 8px;
    backdrop-filter: blur(14px);
}
.legal-shell {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 2%, color-mix(in srgb, var(--violet) 10%, transparent), transparent 31rem),
        var(--canvas);
}
.legal-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(20px, 6vw, 88px);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--canvas) 90%, transparent);
    backdrop-filter: blur(18px);
}
.legal-brand { display: inline-flex; width: 150px; color: inherit; text-decoration: none; }
.legal-brand .brand-lockup { max-width: 100%; }
.legal-page { width: min(940px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0; }
.legal-document {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.legal-document > header {
    padding: clamp(28px, 5vw, 58px);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 9%, var(--surface)), var(--surface));
}
.legal-document > header h1 { margin: 9px 0 12px; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.04em; }
.legal-document > header p { max-width: 680px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.legal-document > section { padding: 25px clamp(24px, 5vw, 58px); border-bottom: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 11px; font-size: 17px; }
.legal-document p,
.legal-document li { color: var(--muted); font-size: 11px; line-height: 1.75; }
.legal-document p { margin: 8px 0; }
.legal-document ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.legal-document a { color: var(--violet); font-weight: 800; }
.legal-review-note { margin: 26px clamp(24px, 5vw, 58px) 34px; padding: 18px; border: 1px solid #cfe9df; border-radius: 14px; background: #effbf6; }
.legal-review-note.warning { border-color: #ead9a5; background: #fff9e8; }
.legal-review-note strong { font-size: 11px; }
.legal-review-note p { margin: 5px 0 0; font-size: 9px; }
.legal-footer { width: min(940px, calc(100% - 36px)); margin: 0 auto; padding: 0 0 34px; }
:root[data-theme="dark"] .account-legal-links { background: rgba(19, 20, 29, .9); }
:root[data-theme="dark"] .legal-review-note { border-color: #285044; background: #142a24; }
:root[data-theme="dark"] .legal-review-note.warning { border-color: #66572e; background: #2a2517; }
@media (max-width: 720px) {
    .legal-footer { align-items: flex-start; flex-direction: column; }
    .account-legal-links { position: static; justify-content: center; margin: -46px auto 14px; width: fit-content; }
    .legal-page { padding: 30px 0; }
}

/* Final UI hardening: viewport overlays, durable navigation preferences and platform dark mode. */
.sidebar-head { gap:8px; }
.brand-link { min-width:0; flex:1 1 auto; }
.tenant-switcher.tenant-identity { grid-template-columns:36px minmax(0,1fr); cursor:default; }
.tenant-switcher.tenant-identity:hover { border-color:rgba(168,154,255,.15); background:rgba(255,255,255,.045); }
.sidebar-collapsed .tenant-switcher.tenant-identity { width:50px; grid-template-columns:36px; justify-content:center; margin:14px auto 8px; padding:7px; }
:root[data-nav-mode="classic"] .nav-submenu > summary { pointer-events:none; user-select:none; }

.page-content > .modal-backdrop,
.page-content > .employee-editor-backdrop {
    position:fixed!important;
    inset:0!important;
    width:auto!important;
    max-width:none!important;
    height:100dvh!important;
    margin:0!important;
}
.page-content > .toast-success,
.page-content > .alert-danger {
    position:fixed!important;
    inset:87px 26px auto auto!important;
    width:min(440px,calc(100vw - 36px))!important;
    max-width:min(440px,calc(100vw - 36px))!important;
    margin:0!important;
    transform:none!important;
}
.page-content > .toast-success { z-index:241; }
.page-content > .alert-danger { z-index:242; }

.role-permission-editor label,
.permission-editor-row { min-width:0; }
.role-permission-editor label span,
.permission-editor-row > div { min-width:0; overflow-wrap:anywhere; }
.role-permission-editor select,
.permission-editor-row select { min-width:0; max-width:100%; }

.timer-workspace-grid > *,
.timer-form-card,
.timer-form-card form,
.timer-form-card .searchable-select,
.timer-form-card .searchable-select-control { min-width:0; max-width:100%; }
.time-entry-editor .toggle-field { border-color:var(--line); background:var(--surface); }
.time-entry-editor .toggle-field span { color:var(--ink); }

:root[data-theme="dark"] .itgeist-platform-kpis article,
:root[data-theme="dark"] .itgeist-tenant-row,
:root[data-theme="dark"] .tenant-operation-overview > span,
:root[data-theme="dark"] .platform-operations-editor,
:root[data-theme="dark"] .platform-operation-status > span,
:root[data-theme="dark"] .tenant-ready-card,
:root[data-theme="dark"] .tenant-ready-card dl div,
:root[data-theme="dark"] .tenant-ready-access-note,
:root[data-theme="dark"] .tenant-seed-toggle,
:root[data-theme="dark"] .platform-monitor-list article,
:root[data-theme="dark"] .platform-log-list article,
:root[data-theme="dark"] .terminal-detail-status,
:root[data-theme="dark"] .terminal-settings-list div,
:root[data-theme="dark"] .terminal-security-copy {
    border-color:var(--line);
    color:var(--ink);
    background:#11131b;
}
:root[data-theme="dark"] .itgeist-tenant-row:hover,
:root[data-theme="dark"] .itgeist-tenant-row.active { border-color:#7160cb; background:#29233e; }
:root[data-theme="dark"] .tenant-ready-card code,
:root[data-theme="dark"] .tenant-log-chip { color:#c9c1ff; }
:root[data-theme="dark"] .tenant-log-chip { background:#29233e; }
:root[data-theme="dark"] .monitor-state { background:#133328; }
:root[data-theme="dark"] .monitor-state.warning { background:#352c14; }
:root[data-theme="dark"] .monitor-state.offline { background:#3b1d25; }
:root[data-theme="dark"] .terminal-security-copy { color:#c9c5d2; }
:root[data-theme="dark"] .time-entry-editor .toggle-field { border-color:var(--line)!important; background:#11131b!important; }
:root[data-theme="dark"] .time-entry-editor .toggle-field span { color:#f3f2f8!important; }

/* Ten percent more visual scale without browser zoom, so fixed overlays stay aligned. */
body { font-size:15.4px; }
.main-nav a { font-size:13px; }
.nav-submenu > summary,.nav-submenu > div a { font-size:12px; }
.page-heading h1 { font-size:calc(1em + 27px); }
.page-heading p { font-size:12px; }
.button { min-height:44px; font-size:12px; }
.form-grid label,.login-form label,.integration-form label { font-size:11px; }
.form-grid input,.form-grid select,.form-grid textarea,.integration-form input,.integration-form select { min-height:44px; font-size:13px; }
.card-header h2 { font-size:16px; }
.card-kicker,.eyebrow { font-size:10px; }
.data-table td,.data-table .table-primary,.data-table .person-cell strong { font-size:11px; }
.data-table th,.data-table .table-sub,.data-table .person-cell small { font-size:9px; }

@media (max-width:760px) {
    .role-permission-editor label { grid-template-columns:1fr; }
}

/* Phase 40 · lesbare Tagesbuchungen und großflächige Teamplanung */
.timeline-day-list { padding:18px 20px 22px; border-top:1px solid var(--line); background:color-mix(in srgb,var(--surface-soft) 44%,var(--surface)); }
.timeline-day-list > header { display:flex; align-items:end; justify-content:space-between; gap:16px; padding:0 2px 13px; }
.timeline-day-list > header h3 { margin:3px 0 0; font-size:16px; }.timeline-day-list > header > strong { color:var(--violet); font-size:15px; }
.timeline-day-list-item { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 38px; margin-top:8px; border:1px solid var(--line); border-left:4px solid var(--entry-color); border-radius:12px; background:var(--surface); box-shadow:0 5px 15px rgba(46,34,91,.06); }
.timeline-day-list-item:hover { z-index:5; border-color:color-mix(in srgb,var(--entry-color) 38%,var(--line)); box-shadow:0 9px 24px rgba(46,34,91,.1); }
.timeline-day-list-main { display:grid; min-width:0; grid-template-columns:84px minmax(0,1fr) 92px; align-items:center; gap:14px; padding:13px 10px 13px 14px; border:0; color:inherit; background:transparent; text-align:left; cursor:pointer; }
.timeline-day-list-main:disabled { opacity:1; cursor:default; }.timeline-day-time { display:flex; flex-direction:column; color:var(--ink); font:800 11px "Cascadia Mono",Consolas,monospace; }.timeline-day-time small { margin-top:3px; color:var(--muted); font:600 8px var(--font,system-ui); }
.timeline-day-project { display:flex; min-width:0; flex-direction:column; gap:3px; }.timeline-day-project strong,.timeline-day-project small,.timeline-day-project em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.timeline-day-project strong { font-size:11px; }.timeline-day-project small { color:var(--muted); font-size:8px; }.timeline-day-project em { color:color-mix(in srgb,var(--ink) 72%,var(--muted)); font-size:8px; font-style:normal; }
.timeline-day-duration { display:flex; flex-direction:column; align-items:flex-end; }.timeline-day-duration strong { color:var(--violet); font-size:12px; }.timeline-day-duration small { margin-top:3px; color:var(--muted); font-size:7px; }
.timeline-day-more { align-self:center; width:30px; height:28px; padding:0!important; border-radius:8px!important; letter-spacing:1px; }.timeline-day-action-menu { top:calc(100% - 5px); right:6px; bottom:auto; z-index:40; }

.team-calendar-wide { box-sizing:border-box; width:100%; max-width:none; margin-right:auto; margin-left:auto; }
.calendar-filter-bar.team-calendar-wide { grid-template-columns:minmax(260px,1.25fr) minmax(170px,.55fr) minmax(170px,.55fr) auto auto auto; }
.calendar-approved-filter { min-height:50px; flex-direction:row!important; align-items:center; gap:8px!important; padding:0 13px; border:1px solid var(--line); border-radius:14px; color:var(--ink)!important; background:var(--surface); white-space:nowrap; }.calendar-approved-filter input { width:16px; height:16px; accent-color:var(--violet); }
.team-calendar-card { overflow:hidden; }
.team-calendar-weekdays { display:grid; grid-template-columns:56px repeat(7,minmax(0,1fr)); padding:0!important; }
.team-calendar-weekdays span { min-height:42px; padding:14px 12px!important; border-right:1px solid var(--line); font-size:10px!important; text-align:left!important; }
.team-calendar-weekdays span:first-child { color:var(--muted); text-align:center!important; }.team-calendar-weekdays span:last-child { border-right:0; }
.team-month-planner { overflow:visible; }
.team-month-week { min-height:150px; grid-template-columns:56px repeat(7,minmax(0,1fr)); grid-template-rows:44px repeat(var(--week-lanes),29px); padding-bottom:14px; }
.team-month-week-number { display:grid; grid-column:1; grid-row:1 / -1; place-items:start center; padding-top:14px; border-right:1px solid var(--line); color:var(--muted); font-size:9px; font-weight:900; }
.team-month-date { min-height:44px; padding:12px 14px 9px; font-size:11px; }.team-month-date.weekend { background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface)); }.team-month-date.outside { background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--line) 22%,transparent),color-mix(in srgb,var(--line) 22%,transparent) 2px,transparent 2px,transparent 5px); }
.team-month-date > span { font-size:7px; }.team-month-date > small { font-size:7px; }
.team-month-segment { min-height:25px; margin:2px 7px; padding:6px 10px; border-radius:6px; }
.team-month-segment strong { font-size:9px; }.team-month-segment span { font-size:8px; }.team-month-segment b { font-size:6px; }

.absence-board-head { padding:22px 24px; }.absence-board-head h2 { font-size:18px; }.absence-board-head > small { font-size:9px; }
.absence-board-scroll { max-height:72vh; overflow:auto; }
.absence-board-grid { display:grid; min-width:2700px; grid-template-columns:220px repeat(var(--board-days),minmax(6px,1fr)); }
.absence-board-corner { grid-column:1; }.absence-board-month-name { min-height:46px; padding:14px 8px; border-right:1px solid var(--line); font-size:9px; }
.absence-board-person { min-height:76px; grid-column:1; }.absence-board-year-track { position:relative; display:grid; min-height:76px; grid-column:2 / -1; grid-template-columns:repeat(var(--board-days),minmax(6px,1fr)); grid-template-rows:repeat(3,18px); align-content:center; gap:3px 0; border-bottom:1px solid var(--line); background:repeating-linear-gradient(90deg,transparent,transparent calc((100% / var(--board-days)) - 1px),color-mix(in srgb,var(--line) 55%,transparent) calc(100% / var(--board-days))); }
.absence-board-year-track::after { position:absolute; inset:0; pointer-events:none; background:repeating-linear-gradient(90deg,transparent,transparent calc((100% / 52) - 1px),color-mix(in srgb,var(--line) 70%,transparent) calc(100% / 52)); content:""; }
.absence-board-year-track i { z-index:2; display:flex; min-width:4px; align-items:center; padding:0 5px; overflow:hidden; border-radius:3px; color:#fff; background:var(--absence-color); box-shadow:0 2px 7px color-mix(in srgb,var(--absence-color) 24%,transparent); font-style:normal; }
.absence-board-year-track i span { overflow:hidden; font-size:7px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }.absence-board-year-track i.pending { border:1px solid var(--absence-color); color:var(--ink); background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--absence-color) 30%,var(--surface)),color-mix(in srgb,var(--absence-color) 30%,var(--surface)) 4px,var(--surface) 4px,var(--surface) 8px); }
.absence-board-today { z-index:3; width:2px; grid-row:1 / 4; background:var(--violet); box-shadow:0 0 0 1px color-mix(in srgb,var(--violet) 20%,transparent); }

:root[data-theme="dark"] .timeline-day-list-item { background:color-mix(in srgb,var(--surface) 94%,#000); }
:root[data-theme="dark"] .team-month-date.weekend { background:color-mix(in srgb,var(--surface-soft) 74%,var(--surface)); }

@media (max-width:900px) {
    .team-calendar-wide { width:100%; }
    .timeline-day-list-main { grid-template-columns:68px minmax(0,1fr); }.timeline-day-duration { grid-column:2; align-items:flex-start; }.timeline-day-project em { white-space:normal; }
    .team-calendar-card { overflow:auto; }.team-calendar-weekdays,.team-month-planner { min-width:1050px; }
    .calendar-filter-bar.team-calendar-wide { grid-template-columns:1fr 1fr; }
}
.employee-time-selector {
    position: relative;
    z-index: 45;
    width: min(310px, 34vw);
    margin-left: 6px;
}
.employee-time-selector .searchable-select > label {
    font-size: 7px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.employee-time-selector .searchable-select-control { min-height: 42px; }
.employee-time-selector .searchable-select-menu { min-width: 310px; }
.customer-table-toolbar { grid-template-columns: minmax(280px, 1fr) 190px auto auto; }
.customer-table-toolbar .customer-search { width: 100%; }
.customer-table-toolbar .archive-toggle {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
}
.managed-absence-card { margin: 18px 0; overflow: visible; }
.managed-absence-card > form {
    display: grid;
    gap: 14px;
    padding: 20px;
}
.managed-absence-card textarea {
    min-height: 84px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink);
    background: var(--surface);
    resize: vertical;
}
.managed-absence-card .button { justify-self: end; }
.account-reminder-card { grid-column: 1 / -1; }
.account-reminder-form { display: grid; gap: 14px; padding: 20px; }
.reminder-setting-row {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 180px;
    align-items: end;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}
.reminder-setting-row > label:not(.toggle-field) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
}
.reminder-setting-row input[type="time"] {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--surface);
}
.timeline-gap-break {
    z-index: 9;
    border-block: 1px solid rgba(109,74,255,.18);
    background-color: #f7f5fb;
}
.timeline-entry-block.persisting + .timeline-gap-break,
.timeline-gap-break:has(+ .timeline-entry-block.persisting) {
    animation: gap-confirm .45s ease-out;
}
@keyframes gap-confirm {
    from { opacity: .2; filter: saturate(.4); }
    to { opacity: 1; filter: saturate(1); }
}
:root[data-theme="dark"] .customer-table-toolbar .archive-toggle,
:root[data-theme="dark"] .managed-absence-card textarea,
:root[data-theme="dark"] .reminder-setting-row input[type="time"] { border-color: var(--line); color: var(--ink); background: var(--surface); }
:root[data-theme="dark"] .reminder-setting-row { border-color: var(--line); background: #11131b; }
:root[data-theme="dark"] .timeline-gap-break { border-color:#40365f; background-color:#161822; }

@media (max-width: 900px) {
    .customer-table-toolbar { grid-template-columns: 1fr; }
    .employee-time-selector { width: 100%; margin-left: 0; }
    .employee-time-selector .searchable-select-menu { min-width: 100%; }
    .reminder-setting-row { grid-template-columns: 1fr; }
}

/* Phase 21: focused day timeline, employee time portal and integration lifecycle */
.employee-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    white-space: nowrap;
}
.employee-row-actions .row-action {
    width: auto;
    min-width: 30px;
    height: 32px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}
.employee-row-actions .detail-action {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9d1ff;
    color: var(--violet-deep);
    background: var(--violet-wash);
}
.employee-time-portal-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.employee-time-portal-summary article {
    display: flex;
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.employee-time-portal-summary span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.employee-time-portal-summary strong { color: var(--ink); font-size: 18px; }
.employee-time-portal-summary small { color: var(--muted); font-size: 9px; }
.employee-time-portal-summary .portal-next-absence { font-size: 12px; line-height: 1.35; }
.employee-time-portal-summary .balance-positive strong { color: var(--success); }
.employee-time-portal-summary .balance-negative strong { color: var(--danger); }
.employee-hours-account { margin-top: 14px; overflow: hidden; }
.hours-account-table { display: grid; gap: 0; }
.hours-account-row { display: grid; grid-template-columns: minmax(105px, 1.15fr) repeat(5, minmax(72px, .75fr)) minmax(210px, 2fr); gap: 12px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.hours-account-row.header { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--surface-soft); }
.hours-account-row span { min-width: 0; }
.hours-account-row span > small { display: block; margin-top: 2px; color: var(--muted); }
.hours-account-row > small { color: var(--muted); line-height: 1.35; }
.hours-account-row .balance-positive { color: var(--success); }
.hours-account-row .balance-negative { color: var(--danger); }
@media (max-width: 980px) { .hours-account-table { overflow-x: auto; } .hours-account-row { min-width: 900px; } }
.customer-project-workspace { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.customer-project-workspace > header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.customer-project-workspace > header h3 { margin: 3px 0 4px; }
.customer-project-workspace > header p { margin: 0; color: var(--muted); max-width: 680px; font-size: 11px; }
.customer-access-scope { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); overflow: hidden; }
.customer-access-scope summary { cursor: pointer; padding: 14px 16px; font-weight: 850; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.customer-access-scope summary::-webkit-details-marker { display: none; }
.customer-access-scope summary span { display: grid; gap: 2px; }
.customer-access-scope summary small { color: var(--muted); font-weight: 600; }
.customer-access-scope summary b { color: var(--accent); font-size: 10px; }
.access-subject-grid { border-top: 1px solid var(--line); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: var(--surface); }
.access-subject-grid label { display: flex; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 11px; }
.access-subject-grid label span { display: grid; min-width: 0; }
.access-subject-grid label small { color: var(--muted); }
.project-access-toolbar { display:grid; grid-template-columns:minmax(280px,1fr) auto; align-items:center; gap:14px; padding:12px; border:1px solid var(--line); border-radius:15px; background:var(--surface-soft); }.project-access-toolbar .permission-searchbar { margin:0; background:var(--surface); }.project-access-toolbar > div { display:flex; flex-direction:column; align-items:flex-end; gap:3px; }.project-access-toolbar > div span { color:var(--violet); font-size:10px; font-weight:900; }.project-access-toolbar > div small { max-width:320px; color:var(--muted); font-size:8px; text-align:right; }.customer-project-workspace .access-subject-grid label { position:relative; min-height:56px; background:var(--surface); transition:.15s ease; }.customer-project-workspace .access-subject-grid label:has(input:checked) { border-color:color-mix(in srgb,var(--violet) 42%,var(--line)); background:color-mix(in srgb,var(--violet-wash) 62%,var(--surface)); box-shadow:0 5px 14px rgba(59,40,117,.065); }.customer-project-workspace .access-subject-grid input { width:17px; height:17px; accent-color:var(--violet); }.customer-project-workspace .access-subject-grid strong { font-size:10px; }.customer-project-workspace .access-subject-grid small { margin-top:2px; font-size:8px; }
@media (max-width: 760px) { .access-subject-grid { grid-template-columns: 1fr; } }
@media (max-width:760px) { .project-access-toolbar { grid-template-columns:1fr; }.project-access-toolbar > div { align-items:flex-start; }.project-access-toolbar > div small { text-align:left; } }
.project-record-actions { display: flex; align-items: center; gap: .65rem; }
.project-record-actions > button { flex: 0 0 auto; }
.drag-timeline-shell {
    max-height: 820px;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
.timeline-compact-label {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: 40px;
    left: 14px;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    transform: translateY(-50%);
    pointer-events: none;
}
.timeline-compact-label strong,
.timeline-compact-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.timeline-compact-label strong { color: var(--ink); font-size: 9px; }
.timeline-compact-label span { color: var(--muted); font-size: 8px; }

/* Release polish: absence operations, employee account administration and Geist-Check center. */
.absence-type-list article.selected { border-color:var(--violet); box-shadow:0 0 0 3px rgba(109,74,255,.08); }
.absence-type-actions { display:flex!important; align-items:center; justify-content:flex-end; gap:8px!important; }
.absence-type-form-actions { display:flex; justify-content:flex-end; gap:9px; }
.absence-type-form-actions .button { flex:1; }

.calendar-filter-bar { position:relative; z-index:6; display:grid; grid-template-columns:minmax(260px,1fr) minmax(190px,.55fr) auto auto; align-items:end; gap:12px; margin-bottom:18px; padding:15px; overflow:visible; }
.calendar-filter-bar > label { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:10px; font-weight:800; }
.calendar-filter-bar select { width:100%; min-height:50px; padding:0 38px 0 13px; border:1px solid var(--line); border-radius:14px; color:var(--ink); background:var(--surface); }
.calendar-filter-bar > span { align-self:center; color:var(--muted); font-size:10px; white-space:nowrap; }

.approval-workspace { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(390px,.7fr); grid-template-areas:"queue side"; align-items:start; gap:18px; padding-bottom:80px; }
.approval-queue { grid-area:queue; }
.managed-absence-card { grid-area:side; position:sticky; top:0; margin:0; overflow:visible; }
.managed-absence-card > .card-header { min-height:76px; }
.managed-absence-card > form { padding:18px; }
.managed-absence-card .form-grid { grid-template-columns:1fr 1fr; gap:12px; }
.approval-list { gap:13px; padding:0; }
.approval-list-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px; }
.approval-list-toolbar h2 { margin:0; font-size:16px; }
.approval-list-toolbar .filter-search { width:min(390px,48%); }
.approval-card { grid-template-columns:5px minmax(190px,1fr) minmax(180px,.8fr); gap:14px; min-height:158px; padding:18px; }
.approval-card > .absence-color { grid-row:1 / span 3; }
.approval-person strong,.approval-period strong { font-size:11px; }
.approval-person small,.approval-period small,.approval-period > span { font-size:9px; }
.approval-comment { grid-column:2 / -1; font-size:9px; }
.approval-comment input { width:100%; min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); }
.approval-actions { grid-column:2 / -1; justify-content:flex-end; }
.approval-filter-empty { padding:28px; color:var(--muted); text-align:center; }

.employee-editor { width:min(1240px,96vw); }
.employee-editor-head { padding-inline:38px; }
.editor-section { max-width:1120px; width:100%; margin-inline:auto; }
.employee-account-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.employee-api-key-list { display:grid; gap:8px; }
.employee-api-key-list > article { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:9px; padding:10px; border:1px solid var(--line); border-radius:11px; background:var(--surface); }
.employee-api-key-list > article > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.employee-api-key-list small { overflow:hidden; color:var(--muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.employee-api-key-list code { color:var(--violet); }
.week-timesheet { margin-bottom:18px; overflow:hidden; }.week-timesheet-scroll { overflow:auto; }.week-timesheet-grid { display:grid; grid-template-columns:64px repeat(7,minmax(145px,1fr)); min-width:1080px; }.week-time-axis.heading,.week-timesheet-day-head { min-height:74px; border-bottom:1px solid var(--line); }.week-timesheet-day-head { display:flex; position:relative; flex-direction:column; align-items:center; justify-content:center; gap:2px; border-left:1px solid var(--line); color:var(--ink); text-decoration:none; }.week-timesheet-day-head span { color:var(--muted); font-size:9px; text-transform:uppercase; }.week-timesheet-day-head strong { font-size:18px; }.week-timesheet-day-head i,.week-timesheet-day-head em { padding:2px 6px; border-radius:99px; color:var(--violet); background:var(--violet-wash); font-size:7px; font-style:normal; font-weight:850; }.week-timesheet-day-head.today { background:color-mix(in srgb,var(--violet-wash) 62%,var(--surface)); box-shadow:inset 0 3px 0 var(--violet); }.week-time-axis { position:relative; height:864px; color:var(--muted); background:var(--surface-soft); }.week-time-axis > span { position:absolute; right:9px; font-size:8px; transform:translateY(-50%); }.week-timesheet-column { position:relative; height:864px; border-left:1px solid var(--line); color:var(--ink); background:repeating-linear-gradient(to bottom,transparent,transparent 35px,color-mix(in srgb,var(--line) 62%,transparent) 36px,transparent 37px,transparent 71px,var(--line) 72px); text-decoration:none; }.week-timesheet-column.today { background-color:color-mix(in srgb,var(--violet-wash) 30%,var(--surface)); }.week-time-block { position:absolute; z-index:2; right:6px; left:6px; display:flex; min-height:28px; flex-direction:column; gap:2px; overflow:hidden; padding:6px 7px; border:1px solid color-mix(in srgb,var(--violet) 46%,var(--line)); border-left:4px solid var(--violet); border-radius:9px; background:color-mix(in srgb,var(--violet-wash) 76%,var(--surface)); box-shadow:0 4px 12px rgba(46,29,97,.08); }.week-time-block.internal { border-color:color-mix(in srgb,var(--success) 45%,var(--line)); border-left-color:var(--success); background:color-mix(in srgb,var(--success-wash) 72%,var(--surface)); }.week-time-block strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.week-time-block small { overflow:hidden; color:var(--muted); font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.week-empty-day { position:absolute; top:22px; left:50%; padding:5px 8px; border-radius:8px; color:var(--muted); background:var(--surface-soft); font-size:8px; transform:translateX(-50%); white-space:nowrap; }.week-time-axis.footer,.week-timesheet-total { min-height:62px; border-top:1px solid var(--line); }.week-timesheet-total { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; border-left:1px solid var(--line); color:var(--ink); text-decoration:none; }.week-timesheet-total strong { font-size:11px; }.week-timesheet-total small { color:var(--muted); font-size:8px; }
.custom-price-label { display:inline-flex; margin-left:5px; padding:2px 6px; border-radius:99px; color:var(--violet); background:var(--violet-wash); font-size:7px; font-weight:900; white-space:nowrap; }
.entity-editor-modal:has(.customer-project-workspace) { width:min(1180px,96vw); max-height:94vh; overflow:auto; }

/* Phase 32 · clear workforce editors */
.overtime-policy-card { display:grid; gap:14px; margin-top:14px; padding:18px; border:1px solid color-mix(in srgb,var(--violet) 22%,var(--line)); border-radius:18px; background:linear-gradient(135deg,color-mix(in srgb,var(--violet-wash) 75%,var(--surface)),var(--surface)); }
.overtime-policy-intro { display:grid; grid-template-columns:46px minmax(0,1fr) auto; align-items:center; gap:13px; }
.overtime-policy-intro > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.overtime-policy-intro > div > span { color:var(--violet); font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.overtime-policy-intro strong { font-size:15px; }.overtime-policy-intro small { max-width:650px; color:var(--muted); font-size:9px; line-height:1.45; }.overtime-policy-intro > b { padding:9px 12px; border-radius:11px; color:var(--violet); background:var(--surface); font-size:14px; box-shadow:0 5px 16px rgba(59,39,120,.08); }
.overtime-policy-fields { display:grid; grid-template-columns:minmax(220px,1fr) minmax(190px,.8fr) auto; align-items:end; gap:10px; padding-top:13px; border-top:1px solid color-mix(in srgb,var(--violet) 15%,var(--line)); }.overtime-policy-fields > label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:8px; font-weight:850; text-transform:uppercase; }.overtime-policy-fields input { width:100%; height:44px; padding:0 12px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--surface); }.number-with-unit { display:flex; align-items:center; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface); }.number-with-unit input { border:0; border-radius:0; }.number-with-unit b { padding:0 12px; border-left:1px solid var(--line); color:var(--muted); font-size:9px; text-transform:none; }.overtime-clear { height:44px; padding:0 14px; border:1px solid var(--line); border-radius:12px; color:var(--muted); background:var(--surface); font-size:9px; font-weight:800; cursor:pointer; }.overtime-clear:disabled { opacity:.45; cursor:not-allowed; }
.permission-searchbar { position:relative; display:flex; align-items:center; gap:8px; margin-top:18px; padding:0 12px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:0 6px 18px rgba(35,25,71,.045); }.permission-searchbar > span { color:var(--violet); font-size:18px; }.permission-searchbar input { width:100%; min-width:0; height:46px; padding:0; border:0; outline:0; color:var(--ink); background:transparent; font-size:10px; }.permission-searchbar button { width:30px; height:30px; border:0; border-radius:9px; color:var(--muted); background:var(--surface-soft); cursor:pointer; }.role-permission-search { margin:14px 22px 0; }
@media (max-width:760px) { .overtime-policy-intro { grid-template-columns:42px 1fr; }.overtime-policy-intro > b { grid-column:1/-1; text-align:center; }.overtime-policy-fields { grid-template-columns:1fr; } }

.geist-check-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:18px; }
.geist-check-kpis article { display:flex; min-height:128px; flex-direction:column; justify-content:center; padding:20px; }
.geist-check-kpis span { color:var(--muted); font-size:10px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.geist-check-kpis strong { margin:8px 0 4px; font-size:30px; }
.geist-check-kpis small { color:var(--muted); }
.geist-check-workspace { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); align-items:start; gap:18px; padding-bottom:80px; }
.geist-check-center { overflow:hidden; }
.geist-check-center-list { display:grid; }
.geist-check-center-list > article { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:14px; min-height:100px; padding:16px 20px; border-top:1px solid var(--line); }
.geist-check-center-list > article > i { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:var(--violet); background:var(--violet-wash); font-size:17px; font-style:normal; font-weight:900; }
.geist-check-center-list > article.warning > i { color:#9a6700; background:var(--warning-wash); }
.geist-check-center-list > article.ok > i { color:var(--success); background:var(--success-wash); }
.geist-check-center-list > article > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.geist-check-center-list > article > div > span { color:var(--violet); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.geist-check-center-list strong { font-size:12px; }
.geist-check-center-list p { margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
.geist-check-rules { position:sticky; top:0; overflow:hidden; }
.geist-check-rules > div { display:grid; grid-template-columns:32px 1fr; align-items:start; gap:10px; padding:14px 18px; border-top:1px solid var(--line); }
.geist-check-rules > div > span { display:grid; width:30px; height:30px; place-items:center; border-radius:9px; color:var(--success); background:var(--success-wash); font-weight:900; }
.geist-check-rules p { display:flex; flex-direction:column; gap:4px; margin:0; }
.geist-check-rules p strong { font-size:10px; }.geist-check-rules p small { color:var(--muted); font-size:9px; line-height:1.45; }
.geist-check-rules footer { padding:15px 18px; border-top:1px solid var(--line); color:var(--violet); font-size:9px; font-weight:800; }

:root[data-theme="dark"] .calendar-filter-bar select,
:root[data-theme="dark"] .approval-comment input,
:root[data-theme="dark"] .employee-api-key-list > article { border-color:var(--line); color:var(--ink); background:#11131b; }

@media (max-width:1100px) {
    .approval-workspace,.geist-check-workspace { grid-template-columns:1fr; grid-template-areas:"queue" "side"; }
    .managed-absence-card,.geist-check-rules { position:static; }
    .calendar-filter-bar { grid-template-columns:1fr 1fr; }
    .employee-account-grid { grid-template-columns:1fr; }
}
@media (max-width:700px) {
    .calendar-filter-bar,.managed-absence-card .form-grid,.geist-check-kpis { grid-template-columns:1fr; }
    .approval-list-toolbar { align-items:stretch; flex-direction:column; }
    .approval-list-toolbar .filter-search { width:100%; }
    .approval-card { grid-template-columns:5px minmax(0,1fr); }
    .approval-card > .absence-color { grid-row:1 / span 4; }
    .approval-period,.approval-comment,.approval-actions { grid-column:2; }
    .approval-actions { flex-wrap:wrap; }
}
.timeline-entry-block.compact {
    min-height: 22px;
    border-radius: 8px;
}
.integration-row {
    grid-template-columns: 31px minmax(0, 1fr) auto;
}
.integration-row-actions {
    grid-column: 2 / -1;
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px !important;
    padding-top: 7px;
    border-top: 1px solid var(--line);
}
.integration-row-actions .text-action { white-space: nowrap; }
.integration-row-actions .confirm-delete-action { font-weight: 900; }
.absence-balance-grid { grid-template-columns: 1.65fr repeat(4, 1fr); }
:root[data-theme="dark"] .employee-time-portal-summary article {
    border-color: var(--line);
    background: var(--surface);
}
:root[data-theme="dark"] .employee-row-actions .detail-action {
    border-color: #51467f;
    color: #d5ceff;
    background: #27223d;
}

@media (max-width: 1180px) {
    .employee-time-portal-summary { grid-template-columns: repeat(3, 1fr); }
    .absence-balance-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .employee-time-portal-summary { grid-template-columns: 1fr 1fr; }
    .employee-row-actions { align-items: stretch; flex-direction: column; }
}
@media (max-width: 480px) {
    .employee-time-portal-summary { grid-template-columns: 1fr; }
}

/* Terminal credentials remain readable without overflowing the detail dialog. */
.terminal-settings-list .terminal-secret-row {
    align-items: flex-start;
}
.terminal-settings-list .terminal-secret-row dd {
    min-width: 0;
    max-width: 70%;
}
.terminal-settings-list .terminal-secret-row code {
    display: block;
    overflow-wrap: anywhere;
    white-space: normal;
    user-select: all;
}

/* Partial holidays: manual company days and portions stay visible and editable. */
.holiday-manual-editor {
    display: grid;
    grid-template-columns: minmax(190px, 1.2fr) minmax(135px, .65fr) minmax(185px, 1fr) minmax(150px, .7fr) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--violet) 24%, var(--line));
    border-radius: 15px;
    background: var(--violet-wash);
}
.holiday-manual-editor > div { align-self: center; }
.holiday-manual-editor > div,
.holiday-manual-editor label { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.holiday-manual-editor > div small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.holiday-manual-editor label { color: var(--muted); font-size: 9px; font-weight: 850; }
.holiday-manual-editor input,
.holiday-manual-editor select { width: 100%; min-height: 43px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); }
.holiday-manual-editor .button { min-height: 43px; white-space: nowrap; }
.holiday-date-row { display: grid !important; grid-template-columns: 46px minmax(0,1fr) 30px; align-items: center; gap: 8px; }
.holiday-date-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.holiday-date-copy:hover strong { color: var(--violet); }
.holiday-date-copy small { color: var(--muted); font-size: 9px; }
.holiday-date-copy small b { margin-left: 5px; padding: 2px 5px; border-radius: 999px; color: var(--violet); background: var(--violet-wash); font-size: 7px; text-transform: uppercase; }

/* Tenant workspace: useful administration instead of infrastructure internals. */
.tenant-operations-hero { display: grid; grid-template-columns: 74px minmax(0,1fr) auto; align-items: center; gap: 18px; margin-bottom: 18px; padding: 22px; overflow: hidden; }
.tenant-operations-hero .tenant-large-avatar { width: 70px; height: 70px; }
.tenant-operations-hero h2 { margin: 3px 0 5px; font-size: 25px; }
.tenant-operations-hero p { margin: 0; color: var(--muted); }
.tenant-action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-bottom: 18px; }
.tenant-action-card { display: flex; min-height: 280px; flex-direction: column; overflow: hidden; }
.tenant-action-card > header { display: flex; align-items: center; gap: 12px; padding: 18px 19px; border-bottom: 1px solid var(--line); }
.tenant-action-card > header > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--violet); background: var(--violet-wash); font-size: 18px; font-weight: 900; }
.tenant-action-card header small { color: var(--success); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.tenant-action-card h2 { margin: 3px 0 0; font-size: 15px; }
.tenant-action-card > p { margin: 0; padding: 18px 19px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.tenant-action-card dl { display: grid; gap: 10px; margin: 0; padding: 18px 19px; }
.tenant-action-card dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.tenant-action-card dt { color: var(--muted); font-size: 9px; }.tenant-action-card dd { margin: 0; font-size: 10px; font-weight: 850; }
.tenant-action-card > footer { display: flex; flex-flow: row wrap; gap: 8px 16px; margin-top: auto; padding: 15px 19px; border-top: 1px solid var(--line); }
.tenant-action-card > footer a { color: var(--violet); font-size: 9px; font-weight: 850; text-decoration: none; }
.tenant-brand-summary { display: flex; align-items: center; gap: 14px; padding: 18px 19px 0; }
.tenant-brand-summary > div { display: grid; width: 78px; height: 55px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.tenant-brand-summary img,.tenant-brand-summary svg { max-width: 65px; max-height: 42px; object-fit: contain; }
.tenant-brand-summary > span { display: grid; grid-template-columns: 22px 22px; gap: 7px; }
.tenant-brand-summary i { width: 22px; height: 22px; border: 2px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.tenant-brand-summary strong { grid-column: 1/-1; font-size: 10px; }
.tenant-import-types { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 19px; }
.tenant-import-types span { padding: 6px 8px; border-radius: 999px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 850; }
.tenant-backup-center { margin-bottom: 28px; overflow: hidden; }
.tenant-backup-center > .card-header { align-items: center; }
.tenant-backup-center > .card-header p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.tenant-backup-layout { display: grid; grid-template-columns: minmax(300px,.68fr) minmax(0,1.32fr); }
.tenant-backup-policy { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-right: 1px solid var(--line); }
.backup-scope-proof,.feature-locked-note { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; padding: 13px; border-radius: 13px; background: var(--success-wash); }
.feature-locked-note { background: var(--violet-wash); }
.backup-scope-proof > span,.feature-locked-note > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--success); background: var(--surface); font-weight: 900; }
.feature-locked-note > span { color: var(--violet); }
.backup-scope-proof div,.feature-locked-note div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.backup-scope-proof small,.feature-locked-note small { overflow-wrap: anywhere; color: var(--muted); font-size: 8px; line-height: 1.45; }
.backup-policy-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.backup-policy-fields label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; font-weight: 800; }
.backup-policy-fields input { grid-column: 1/-1; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); }
.tenant-backup-history { min-width: 0; }
.tenant-backup-history > header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tenant-backup-history h3 { margin: 3px 0 0; font-size: 14px; }
.tenant-backup-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto auto auto; align-items: center; gap: 9px; min-height: 65px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.tenant-backup-row > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.tenant-backup-row > div strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.tenant-backup-row > div small { color: var(--muted); font-size: 8px; }

/* Report builder: ordered drag-and-drop dimensions and transparent drill-down. */
.report-builder-card { margin-bottom: 18px; overflow: visible; }
.report-builder-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.report-builder-card h2 { margin: 3px 0 4px; font-size: 16px; }.report-builder-card header p { margin: 0; color: var(--muted); font-size: 9px; }
.builder-header-actions { display: flex; align-items: end; gap: 9px; }
.builder-header-actions label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 8px; font-weight: 850; }
.builder-header-actions select { min-height: 40px; padding: 0 34px 0 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); }
.report-dimension-zone { display: flex; min-height: 82px; align-items: center; gap: 8px; margin: 17px 20px 10px; padding: 12px; border: 1px dashed color-mix(in srgb, var(--violet) 48%, var(--line)); border-radius: 14px; background: var(--violet-wash); }
.dimension-empty { color: var(--muted); font-size: 10px; }.dimension-add { margin-left: 3px; color: var(--violet); font-size: 22px; }
.report-dimension { display: inline-flex; min-height: 45px; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); cursor: grab; box-shadow: var(--shadow-sm); }
.report-dimension.active::after { content: '›'; color: var(--muted); }
.report-dimension.active:last-of-type::after { display: none; }
.report-dimension i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--violet); background: var(--violet-wash); font-style: normal; font-weight: 900; }
.report-dimension span { font-size: 9px; font-weight: 850; white-space: nowrap; }.report-dimension button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 15px; }
.report-dimension-palette { display: flex; align-items: center; gap: 8px; padding: 0 20px 18px; overflow-x: auto; }
.report-dimension-palette > span { margin-right: 3px; color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.report-builder-results { margin-top: 18px; overflow: hidden; }
.builder-result-total { display: flex; gap: 8px; }
.builder-result-total > span { display: flex; min-width: 105px; flex-direction: column; gap: 3px; padding: 9px 11px; border-radius: 10px; color: var(--muted); background: var(--surface-soft); font-size: 8px; }
.builder-result-total strong { color: var(--ink); font-size: 12px; }
.builder-result-list { display: grid; }
.builder-group-row { display: grid; grid-template-columns: 20px minmax(0,1fr) 90px 110px; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px 8px calc(18px + var(--builder-depth) * 22px); border: 0; border-top: 1px solid var(--line); color: var(--ink); background: color-mix(in srgb, var(--surface-soft) calc(100% - var(--builder-depth) * 9%), var(--surface)); text-align: left; cursor: pointer; }
.builder-group-row:hover { background: var(--violet-wash); }.builder-group-row > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }.builder-group-row small { color: var(--muted); font-size: 8px; }.builder-group-row b,.builder-group-row em { justify-self: end; font-size: 10px; font-style: normal; }.builder-group-row em { color: var(--success); }
.builder-group-icon { color: var(--violet); font-size: 13px; }
.builder-entry-row { display: grid; grid-template-columns: 160px minmax(0,1fr) 105px 115px; align-items: start; gap: 12px; min-height: 72px; padding: 13px 18px 13px calc(38px + var(--builder-depth) * 22px); border-top: 1px solid var(--line); background: var(--surface); }
.builder-entry-row > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.builder-entry-row strong { font-size: 9px; }.builder-entry-row small { color: var(--muted); font-size: 8px; }.builder-entry-main p { margin: 2px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; white-space: pre-wrap; }.builder-entry-value { align-items: flex-end; text-align: right; }.builder-entry-value strong { color: var(--success); }

/* Report studio: compact presets, clearer hierarchy and a live grouping canvas. */
.report-builder-studio { position: relative; isolation: isolate; border-color: color-mix(in srgb, var(--violet) 22%, var(--line)); background: linear-gradient(145deg,color-mix(in srgb,var(--surface) 96%,var(--violet-wash)),var(--surface)); box-shadow: 0 18px 48px rgba(52,31,94,.09); }
.report-builder-studio::before { content: ''; position: absolute; z-index: -1; width: 300px; height: 220px; top: -105px; left: 32%; border-radius: 50%; background: color-mix(in srgb,var(--violet) 13%,transparent); filter: blur(60px); pointer-events: none; }
.report-builder-card > .report-builder-header { position: relative; align-items: center; padding: 22px 24px; }
.report-builder-intro { display: grid; min-width: 0; grid-template-columns: 50px minmax(0,1fr); align-items: center; gap: 14px; }
.builder-symbol { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid color-mix(in srgb,var(--violet) 34%,var(--line)); border-radius: 16px; color: #fff; background: linear-gradient(145deg,var(--violet),#5120c9); box-shadow: 0 12px 28px color-mix(in srgb,var(--violet) 25%,transparent); font-size: 20px; }
.report-builder-intro h2 { margin: 4px 0 5px; font-size: 18px; letter-spacing: -.025em; }
.report-builder-intro p { max-width: 640px; }
.builder-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 8px; font-weight: 750; }
.builder-meta span { display: inline-flex; align-items: center; gap: 6px; }
.builder-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb,var(--success) 13%,transparent); }
.builder-header-actions { flex-shrink: 0; }
.builder-header-actions .builder-save { min-height: 42px; white-space: nowrap; }
.builder-header-actions .builder-save span { font-size: 15px; }
.report-builder-presets { display: grid; grid-template-columns: minmax(150px,.7fr) repeat(3,minmax(160px,1fr)); align-items: stretch; gap: 9px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: color-mix(in srgb,var(--surface-soft) 72%,transparent); }
.report-builder-presets > span { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 0 5px; }
.report-builder-presets > span strong { font-size: 9px; }.report-builder-presets > span small { color: var(--muted); font-size: 8px; }
.builder-preset { display: grid; min-height: 48px; grid-template-columns: 29px minmax(0,1fr); align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); text-align: left; cursor: pointer; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.builder-preset:hover { transform: translateY(-1px); border-color: color-mix(in srgb,var(--violet) 48%,var(--line)); box-shadow: var(--shadow-sm); }
.builder-preset i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-style: normal; font-weight: 900; }
.builder-preset span { overflow: hidden; font-size: 8px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.builder-preset.active { border-color: color-mix(in srgb,var(--violet) 62%,var(--line)); background: var(--violet-wash); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--violet) 14%,transparent); }
.builder-preset.active i { color: #fff; background: var(--violet); }
.report-builder-workspace { padding: 18px 24px 16px; }
.builder-workspace-label { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; }
.builder-workspace-label > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 900; }
.builder-workspace-label > div { display: flex; flex-direction: column; gap: 2px; }.builder-workspace-label strong { font-size: 9px; }.builder-workspace-label small { color: var(--muted); font-size: 8px; }
.builder-workspace-label.palette-label { margin-top: 16px; }
.report-builder-workspace .report-dimension-zone { position: relative; min-height: 90px; margin: 0; padding: 16px; border-width: 1px; border-color: color-mix(in srgb,var(--violet) 48%,var(--line)); border-radius: 16px; background: linear-gradient(115deg,color-mix(in srgb,var(--violet-wash) 82%,var(--surface)),color-mix(in srgb,var(--surface-soft) 84%,var(--surface))); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.report-builder-workspace .report-dimension { position: relative; min-height: 50px; margin-right: 9px; padding: 7px 10px 7px 7px; border-radius: 13px; }
.report-builder-workspace .report-dimension.active { border-color: color-mix(in srgb,var(--violet) 26%,var(--line)); box-shadow: 0 7px 18px rgba(44,25,78,.09); }
.report-builder-workspace .report-dimension.active::after { position: absolute; right: -16px; color: color-mix(in srgb,var(--violet) 70%,var(--muted)); font-size: 16px; }
.report-builder-workspace .report-dimension.active:last-of-type::after { display: none; }
.report-dimension .dimension-order { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 7px; color: #fff; background: var(--violet); font-size: 7px; font-weight: 900; }
.report-builder-workspace .report-dimension > i { width: 32px; height: 32px; border-radius: 10px; }
.report-builder-workspace .report-dimension > b { margin-left: 4px; color: var(--violet); font-size: 13px; }
.report-builder-workspace .dimension-empty { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; text-align: left; }
.report-builder-workspace .dimension-empty > i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px dashed color-mix(in srgb,var(--violet) 55%,var(--line)); border-radius: 11px; color: var(--violet); font-style: normal; font-size: 17px; }
.report-builder-workspace .dimension-empty > strong,.report-builder-workspace .dimension-empty > small { font-size: 9px; }.report-builder-workspace .dimension-empty > small { color: var(--muted); }
.report-builder-workspace .report-dimension-palette { min-height: 50px; padding: 0; gap: 8px; }
.report-builder-workspace .report-dimension-palette .report-dimension { min-width: 122px; justify-content: flex-start; margin: 0; border-style: dashed; box-shadow: none; }
.report-builder-workspace .report-dimension-palette .report-dimension:hover { border-style: solid; border-color: color-mix(in srgb,var(--violet) 45%,var(--line)); background: var(--violet-wash); }
.palette-complete { display: inline-flex; min-height: 46px; align-items: center; padding: 0 12px; border-radius: 12px; color: var(--success); background: var(--success-wash); font-size: 8px; font-weight: 850; }
.builder-preview-strip { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 10px 24px; border-top: 1px solid var(--line); background: color-mix(in srgb,var(--surface-soft) 76%,var(--surface)); }
.builder-preview-strip > span { padding: 5px 8px; border-radius: 999px; color: var(--violet); background: var(--violet-wash); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.builder-preview-strip strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.builder-preview-strip small { color: var(--muted); font-size: 8px; white-space: nowrap; }

/* Report documents and dense detail views: clear visual lanes for time, context and money. */
.report-export-actions .report-export-time { border-color: color-mix(in srgb,var(--violet) 34%,var(--line)); background: var(--violet-wash); }
.report-export-actions .report-export-invoice { box-shadow: 0 9px 24px color-mix(in srgb,var(--violet) 22%,transparent); }
.report-detail-table { min-width: 1120px; }
.report-detail-table thead { position: sticky; z-index: 2; top: 0; }
.report-detail-table th { border-top: 3px solid transparent; }
.report-detail-table th.column-time { border-top-color: #7b61ff; }
.report-detail-table th.column-kind,.report-detail-table th.column-status { border-top-color: #8a84a0; }
.report-detail-table th.column-person { border-top-color: #36a66f; }
.report-detail-table th.column-project { border-top-color: #5287e8; }
.report-detail-table th.column-service { border-top-color: #d18a31; }
.report-detail-table th.column-value { border-top-color: #16a16a; }
.report-detail-table tbody tr { position: relative; transition: background .16s ease; }
.report-detail-table tbody tr::after { content: ''; position: absolute; inset: 8px auto 8px 0; width: 3px; border-radius: 0 4px 4px 0; background: #9290a0; }
.report-detail-table tbody tr.billable::after { background: var(--success); }
.report-detail-table td { vertical-align: top; }
.report-date-cell { color: var(--ink) !important; font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-chip { display: inline-flex; max-width: 100%; align-items: center; margin: 2px 5px 2px 0; padding: 4px 7px; overflow: hidden; border-radius: 999px; font-size: 7px; font-weight: 850; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.report-chip.customer { color: #245aa7; background: #eaf2ff; }
.report-chip.service { color: #86510a; background: #fff1d9; }
.builder-entry-main > small { display: flex; flex-wrap: wrap; align-items: center; }
.report-description { margin-top: 6px; }
.report-description summary { width: max-content; color: var(--violet); cursor: pointer; font-size: 7px; font-weight: 850; list-style: none; }
.report-description summary::before { content: '＋'; margin-right: 4px; }
.report-description[open] summary::before { content: '−'; }
.report-description p { max-width: 650px; margin: 7px 0 0 !important; padding: 8px 10px; border-left: 3px solid color-mix(in srgb,var(--violet) 45%,var(--line)); border-radius: 0 8px 8px 0; color: var(--muted); background: var(--surface-soft); font-size: 8px !important; line-height: 1.5; white-space: pre-wrap; }
.builder-entry-row { position: relative; }
.builder-entry-row::before { content: ''; position: absolute; inset: 11px auto 11px 0; width: 3px; border-radius: 0 4px 4px 0; background: #9290a0; }
.builder-entry-row.billable::before { background: var(--success); }

:root[data-theme="dark"] .holiday-manual-editor input,
:root[data-theme="dark"] .holiday-manual-editor select,
:root[data-theme="dark"] .backup-policy-fields input,
:root[data-theme="dark"] .builder-header-actions select,
:root[data-theme="dark"] .report-dimension { color: var(--ink); background: #11131b; }
:root[data-theme="dark"] .report-builder-studio { background: linear-gradient(145deg,#151620,#101118); box-shadow: 0 20px 55px rgba(0,0,0,.28); }
:root[data-theme="dark"] .report-builder-presets { background: rgba(255,255,255,.015); }
:root[data-theme="dark"] .builder-preset { background: #11131b; }
:root[data-theme="dark"] .builder-preset.active { background: color-mix(in srgb,var(--violet) 15%,#11131b); }
:root[data-theme="dark"] .report-builder-workspace .report-dimension-zone { background: linear-gradient(115deg,color-mix(in srgb,var(--violet) 11%,#11131b),#11131b); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
:root[data-theme="dark"] .builder-preview-strip { background: rgba(255,255,255,.018); }
:root[data-theme="dark"] .report-chip.customer { color: #a9c9ff; background: rgba(64,118,216,.18); }
:root[data-theme="dark"] .report-chip.service { color: #ffd292; background: rgba(201,125,29,.17); }
:root[data-theme="dark"] .report-description p { background: #11131b; }

@media (max-width: 1180px) {
    .holiday-manual-editor { grid-template-columns: 1fr 1fr; }
    .holiday-manual-editor > div { grid-column: 1/-1; }
    .tenant-action-grid { grid-template-columns: 1fr 1fr; }
    .tenant-import-launcher { grid-column: 1/-1; }
    .tenant-backup-layout { grid-template-columns: 1fr; }
    .tenant-backup-policy { border-right: 0; border-bottom: 1px solid var(--line); }
    .report-builder-presets { grid-template-columns: repeat(3,1fr); }.report-builder-presets > span { grid-column: 1/-1; }
}
@media (max-width: 820px) {
    .tenant-operations-hero { grid-template-columns: 60px minmax(0,1fr); }.tenant-operations-hero .tenant-id { grid-column: 1/-1; }
    .tenant-action-grid { grid-template-columns: 1fr; }.tenant-import-launcher { grid-column: auto; }
    .report-builder-card > header,.builder-header-actions { align-items: stretch; flex-direction: column; }
    .report-dimension-zone { align-items: stretch; flex-direction: column; }.dimension-add { display: none; }
    .builder-group-row { grid-template-columns: 18px minmax(0,1fr) auto; }.builder-group-row em { display: none; }
    .builder-entry-row { grid-template-columns: 1fr auto; }.builder-entry-main { grid-column: 1/-1; grid-row: 2; }.builder-entry-value { grid-column: 2; grid-row: 1; }
    .report-builder-intro { grid-template-columns: 42px minmax(0,1fr); }.builder-symbol { width: 42px; height: 42px; border-radius: 13px; }
    .report-builder-presets { grid-template-columns: 1fr; }.report-builder-presets > span { grid-column: auto; }
    .builder-preview-strip { grid-template-columns: 1fr; }.builder-preview-strip small { white-space: normal; }
}
@media (max-width: 620px) {
    .holiday-manual-editor,.backup-policy-fields { grid-template-columns: 1fr; }
    .tenant-backup-row { grid-template-columns: 34px minmax(0,1fr) auto; }.tenant-backup-row .text-action { grid-column: 2; }
    .builder-result-total { display: none; }.builder-entry-row { padding-left: 18px; }
    .report-builder-card > .report-builder-header,.report-builder-presets,.report-builder-workspace,.builder-preview-strip { padding-left: 16px; padding-right: 16px; }
    .report-export-actions { grid-template-columns: repeat(2,1fr); }
}

/* Compact report builder and Clockodo-inspired drill-down without copying its visual identity. */
.report-builder-compact { border-color: var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.report-builder-compact > .report-builder-header { padding: 18px 20px; }
.report-builder-compact .report-builder-workspace { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(360px,.65fr); gap: 14px; padding: 15px 20px; }
.report-builder-compact .report-dimension-zone { min-height: 66px; margin: 0; padding: 9px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); box-shadow: none; }
.report-builder-compact .report-dimension { min-height: 42px; margin-right: 7px; padding: 5px 8px 5px 6px; border-radius: 9px; box-shadow: none; }
.report-builder-compact .report-dimension > i { width: 27px; height: 27px; border-radius: 7px; }
.report-builder-compact .report-dimension.active { border-color: color-mix(in srgb,var(--violet) 25%,var(--line)); box-shadow: none; }
.report-builder-compact .report-dimension-palette { min-height: 66px; align-content: center; flex-wrap: wrap; padding: 0; overflow: visible; }
.report-builder-compact .report-dimension-palette .report-dimension { min-width: 92px; min-height: 32px; border-style: solid; }
.report-builder-compact .report-dimension-palette .report-dimension > i { width: 22px; height: 22px; }
.builder-structure-line { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface-soft); font-size: 8px; }
.builder-structure-line strong { color: var(--ink); }.builder-structure-line small { margin-left: auto; }

.report-visual-overview { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 14px; margin-bottom: 18px; }
.report-analysis-panel { display: grid; min-width: 0; grid-template-columns: minmax(360px,.9fr) minmax(420px,1.1fr); overflow: hidden; }
.report-analysis-panel > div { min-width: 0; }
.report-analysis-panel > div + div { border-left: 1px solid var(--line); }
.report-analysis-panel header { padding: 16px 19px 0; }
.report-analysis-panel h2 { margin: 3px 0 0; font-size: 14px; }
.report-summary-rail { display: grid; gap: 10px; }
.report-summary-rail article { display: flex; min-height: 105px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 13px 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; }
.report-summary-rail .summary-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--violet); background: var(--violet-wash); font-size: 14px; font-weight: 900; }
.report-summary-rail small { color: var(--muted); font-size: 8px; }.report-summary-rail strong { font-size: 15px; font-variant-numeric: tabular-nums; }.report-summary-rail em { color: var(--muted); font-size: 7px; font-style: normal; }
.report-summary-rail article.positive strong { color: var(--success); }.report-summary-rail article.risk strong { color: var(--danger); }

.report-focus-chip { display: inline-flex; min-height: 27px; align-items: center; gap: 7px; margin-top: 8px; padding: 0 9px; border: 1px solid color-mix(in srgb,var(--violet) 30%,var(--line)); border-radius: 999px; color: var(--violet); background: var(--violet-wash); cursor: pointer; font-size: 8px; font-weight: 800; }
.report-focus-chip span { font-size: 13px; }
.report-builder-results { overflow: visible; }
.builder-group-row { grid-template-columns: minmax(0,1fr) 90px 110px 38px; padding: 0 14px 0 calc(12px + var(--builder-depth) * 22px); cursor: default; }
.builder-group-main { display: grid; min-width: 0; min-height: 53px; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 10px; padding: 8px 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.builder-group-main > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.builder-group-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-group-row:hover { background: color-mix(in srgb,var(--violet-wash) 65%,var(--surface)); }
.builder-group-row > b,.builder-group-row > em { justify-self: end; font-size: 10px; font-style: normal; font-variant-numeric: tabular-nums; }
.builder-group-row > em { color: var(--success); }
.builder-entry-row { grid-template-columns: 150px minmax(0,1fr) 95px 110px 38px; }
.builder-row-actions { position: relative; justify-self: end; align-self: center; }
.builder-gear { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 8px; color: var(--violet); background: transparent; cursor: pointer; font-size: 12px; font-weight: 900; }
.builder-gear:hover,.builder-gear[aria-expanded="true"] { border-color: color-mix(in srgb,var(--violet) 32%,var(--line)); background: var(--violet-wash); }
.builder-action-menu { position: absolute; z-index: 30; top: calc(100% + 5px); right: 0; display: grid; width: 190px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: 0 16px 36px rgba(33,22,58,.18); }
.builder-action-menu button,.builder-action-menu a { display: flex; min-height: 38px; align-items: center; gap: 9px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font: inherit; font-size: 8px; font-weight: 750; text-align: left; text-decoration: none; }
.builder-action-menu button:last-child,.builder-action-menu a:last-child { border-bottom: 0; }
.builder-action-menu button:hover,.builder-action-menu a:hover { color: var(--violet); background: var(--violet-wash); }
.builder-action-menu span { display: grid; width: 20px; place-items: center; color: var(--violet); font-size: 11px; }
.report-raw-details { margin-top: 13px; }
.report-raw-details > summary { display: flex; min-height: 61px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; cursor: pointer; list-style: none; }
.report-raw-details > summary::-webkit-details-marker { display: none; }
.report-raw-details > summary span { display: flex; flex-direction: column; gap: 3px; }.report-raw-details > summary small { color: var(--success); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.report-raw-details > summary strong { font-size: 13px; }.report-raw-details > summary b { color: var(--muted); font-size: 8px; }
.report-raw-details[open] > summary { border-bottom: 1px solid var(--line); }

:root[data-theme="dark"] .report-builder-compact,
:root[data-theme="dark"] .report-analysis-panel,
:root[data-theme="dark"] .report-summary-rail article,
:root[data-theme="dark"] .builder-action-menu { background: var(--surface); }
:root[data-theme="dark"] .report-builder-compact .report-dimension-zone { background: var(--surface-soft); box-shadow: none; }
:root[data-theme="dark"] .breakdown-track { background: #282a36; }

.dimension-keyboard-actions { display:inline-flex; align-items:center; gap:2px; margin-left:2px; }
.report-dimension .dimension-keyboard-actions button { display:grid; width:22px; height:22px; place-items:center; border-radius:6px; color:var(--muted); font-size:12px; }
.report-dimension .dimension-keyboard-actions button:hover:not(:disabled) { color:var(--violet); background:var(--violet-wash); }
.report-dimension .dimension-keyboard-actions button:disabled { opacity:.3; cursor:not-allowed; }
.report-dimension .dimension-keyboard-actions .dimension-remove { color:var(--danger); }

.account-directory-page { width:min(1580px,100%); margin:0 auto 70px; }
.account-directory-toolbar { grid-template-columns:minmax(0,1fr) auto auto auto; }
.account-identity p { margin:5px 0 0; color:var(--muted); font-size:9px; }
.account-directory-card { overflow:hidden; }
.account-directory-filters { display:grid; grid-template-columns:minmax(280px,1fr) 220px 230px auto; align-items:center; gap:10px; padding:17px 18px; border-bottom:1px solid var(--line); }
.account-directory-filters select { min-height:42px; }
.account-directory-table-wrap { max-height:min(68vh,780px); overflow:auto; }
.account-directory-table { min-width:1120px; }
.account-directory-table thead { position:sticky; z-index:2; top:0; background:var(--surface); }
.account-directory-table td { vertical-align:middle; }
.account-directory-table td > small { display:block; margin-top:3px; color:var(--muted); font-size:7px; }
.account-directory-table .balance-positive { color:var(--success); }.account-directory-table .balance-negative { color:var(--danger); }
.account-sickness-summary { display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:center; gap:9px; margin-top:13px; padding:10px 12px; border:1px solid color-mix(in srgb,#6550e8 28%,var(--line)); border-radius:11px; background:color-mix(in srgb,#6550e8 7%,var(--surface)); }
.account-sickness-summary .account-absence-tag { position:static; max-width:none; }
.account-sickness-summary strong { font-size:11px; }.account-sickness-summary small { color:var(--muted); font-size:8px; line-height:1.4; }
.table-page-size { display:flex; align-items:center; gap:7px; margin-left:auto; color:var(--muted); font-size:8px; font-weight:800; }
.table-page-size select { min-height:34px; padding:0 28px 0 9px; }
.employee-project-access-overview { padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.employee-project-access-overview > header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; }
.employee-project-access-overview > header > div { display:flex; min-width:0; flex-direction:column; gap:3px; }.employee-project-access-overview > header span { color:var(--muted); font-size:7px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }.employee-project-access-overview > header strong { font-size:11px; }.employee-project-access-overview > header small { color:var(--muted); font-size:7px; line-height:1.4; }.employee-project-access-overview > header a { color:var(--violet); font-size:8px; font-weight:850; text-decoration:none; white-space:nowrap; }
.employee-project-access-overview > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.employee-project-access-overview > div > span { display:flex; min-width:0; flex-direction:column; gap:3px; padding:9px 10px; border:1px solid var(--line); border-radius:9px; background:var(--surface); }.employee-project-access-overview > div strong { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.employee-project-access-overview > div small,.employee-project-access-overview > p { color:var(--muted); font-size:7px; }.employee-project-access-overview > p { margin:10px 0 0; }
.employee-project-access-overview > .employee-project-capabilities { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:10px; }.employee-project-capabilities > span b { color:var(--ink); font-size:8px; }.employee-project-capabilities > span small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.employee-project-search { margin:0 0 9px; background:var(--surface); }
.employee-project-access-overview > .employee-access-assignment-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; max-height:235px; padding:7px; overflow:auto; border:1px solid var(--line); border-radius:11px; background:var(--surface); }
.employee-project-access-overview > .employee-access-assignment-list + .employee-access-assignment-list { margin-top:8px; }
.employee-access-assignment { display:grid; min-width:0; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:45px; padding:7px 9px; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); cursor:pointer; }
.employee-access-assignment:hover { border-color:color-mix(in srgb,var(--violet) 42%,var(--line)); }.employee-access-assignment.inherited { box-shadow:inset 3px 0 0 color-mix(in srgb,var(--violet) 62%,transparent); }
.employee-access-assignment input { width:15px; height:15px; accent-color:var(--violet); }.employee-access-assignment > span { display:flex; min-width:0; flex-direction:column; gap:3px; }.employee-access-assignment > span strong { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.employee-access-assignment > span small { overflow:hidden; color:var(--muted); font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.employee-access-assignment > b { padding:4px 6px; border-radius:6px; color:var(--violet); background:var(--violet-wash); font-size:6px; letter-spacing:.06em; text-transform:uppercase; }

:root[data-theme="dark"] .account-directory-table thead { background:var(--surface); }
:root[data-theme="dark"] .account-sickness-summary { background:color-mix(in srgb,#6550e8 12%,var(--surface)); }
:root[data-theme="dark"] .employee-project-access-overview > div > span { background:var(--surface); }
:root[data-theme="dark"] .employee-project-search,:root[data-theme="dark"] .employee-project-access-overview > .employee-access-assignment-list { background:var(--surface); }
:root[data-theme="dark"] .employee-access-assignment { background:var(--surface-soft); }

.project-pulse-row { position:relative; }.project-pulse-row .project-pulse-card { display:flex; color:inherit; text-align:left; text-decoration:none; }
.project-row-edit { position:absolute; z-index:3; right:18px; bottom:14px; min-height:29px; padding:0 10px; border:1px solid var(--line); border-radius:8px; color:var(--violet); background:var(--surface); cursor:pointer; font:inherit; font-size:8px; font-weight:850; }
.project-row-edit:hover { border-color:var(--violet); background:var(--violet-wash); }
.project-pulse-row .entity-card-footer { padding-right:95px; }

.project-report-page { width:min(1540px,100%); margin:0 auto 80px; }
.project-report-heading { align-items:flex-end; }.project-report-back { display:inline-flex; margin-bottom:10px; color:var(--muted); font-size:8px; font-weight:800; text-decoration:none; }.project-report-back:hover { color:var(--violet); }
.project-report-actions { display:flex; align-items:center; gap:9px; }
.project-report-filter { display:grid; grid-template-columns:minmax(190px,.9fr) repeat(2,minmax(130px,.65fr)) repeat(3,minmax(150px,1fr)) auto auto; align-items:end; gap:10px; margin-bottom:16px; padding:15px 16px; }
.project-report-filter-heading { display:flex; min-width:0; flex-direction:column; gap:3px; align-self:center; }.project-report-filter-heading strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.project-report-filter label { display:flex; min-width:0; flex-direction:column; gap:5px; color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; }
.project-report-filter input,.project-report-filter select { width:100%; min-width:0; min-height:40px; padding:0 10px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--surface); font:inherit; font-size:9px; text-transform:none; }
.project-report-filter .button { min-height:40px; padding-inline:13px; white-space:nowrap; }
.project-report-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.project-report-kpis article { display:flex; min-height:122px; flex-direction:column; justify-content:center; gap:5px; padding:20px 22px; border:1px solid var(--line); border-radius:17px; background:var(--surface); box-shadow:var(--shadow-sm); }
.project-report-kpis span { color:var(--muted); font-size:8px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }.project-report-kpis strong { font-size:22px; font-variant-numeric:tabular-nums; }.project-report-kpis small { color:var(--muted); font-size:8px; }.project-report-kpis .critical strong { color:var(--danger); }.project-report-kpis .warning strong { color:#d58a16; }.project-report-kpis .healthy strong { color:var(--success); }
.project-report-summary-grid { display:grid; grid-template-columns:minmax(360px,.8fr) minmax(460px,1.2fr); gap:16px; margin-bottom:16px; }
.project-report-facts,.project-service-analysis,.project-participants-card,.project-entry-card { padding:22px; }
.project-report-facts header,.project-service-analysis header { margin-bottom:17px; }.project-report-facts h2,.project-service-analysis h2,.project-participants-card h2,.project-entry-card h2 { margin:3px 0 0; font-size:15px; }
.project-report-facts dl { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--line); }.project-report-facts dl div { padding:12px; background:var(--surface); }.project-report-facts dt { color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; }.project-report-facts dd { margin:5px 0 0; font-size:10px; font-weight:800; }.project-report-facts > p { margin:15px 0 0; color:var(--muted); font-size:9px; line-height:1.55; }
.project-service-bars { display:grid; gap:12px; }.project-service-bars > div { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(160px,1fr) 44px; align-items:center; gap:12px; }.project-service-bars span { display:flex; min-width:0; flex-direction:column; gap:2px; }.project-service-bars strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.project-service-bars small { color:var(--muted); font-size:7px; }.project-service-bars i,.project-participant-list i { display:block; height:8px; overflow:hidden; border-radius:99px; background:var(--surface-soft); }.project-service-bars i b,.project-participant-list i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--violet),#8d70ff); }.project-service-bars em { color:var(--muted); font-size:8px; font-style:normal; text-align:right; }
.project-participants-card { margin-bottom:16px; }.project-participants-card > header,.project-entry-card > header { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }.project-participants-card > header > strong { color:var(--violet); font-size:15px; }
.project-participant-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.project-participant-list > div { display:grid; grid-template-columns:34px minmax(120px,.6fr) minmax(90px,1fr) 70px; align-items:center; gap:10px; padding:9px 10px; border:1px solid var(--line); border-radius:11px; }.project-participant-list span:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:2px; }.project-participant-list strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.project-participant-list small { color:var(--muted); font-size:7px; }.project-participant-list em { font-size:8px; font-style:normal; font-weight:850; text-align:right; }
.project-entry-card { padding:0; overflow:hidden; }.project-entry-card > header { margin:0; padding:20px 22px; border-bottom:1px solid var(--line); }.project-entry-card > header > span { color:var(--muted); font-size:8px; }.project-entry-table-wrap { max-height:680px; overflow:auto; }.project-entry-card thead { position:sticky; z-index:2; top:0; background:var(--surface); }.project-entry-card td small { display:block; color:var(--muted); font-size:7px; }.project-entry-card td:nth-child(4) { max-width:420px; white-space:pre-line; }

:root[data-theme="dark"] .project-report-kpis article,:root[data-theme="dark"] .project-row-edit,:root[data-theme="dark"] .project-entry-card thead,:root[data-theme="dark"] .project-report-filter input,:root[data-theme="dark"] .project-report-filter select { background:var(--surface); }

@media (max-width: 1180px) {
    .report-builder-compact .report-builder-workspace { grid-template-columns: 1fr; }
    .report-analysis-panel { grid-template-columns: 1fr; }
    .report-analysis-panel > div + div { border-top: 1px solid var(--line); border-left: 0; }
    .project-report-filter { grid-template-columns:repeat(3,minmax(0,1fr)); }.project-report-filter-heading { grid-column:1/-1; }.project-report-filter .button { width:100%; }
}
@media (max-width: 820px) {
    .report-visual-overview { grid-template-columns: 1fr; }
    .report-summary-rail { grid-template-columns: repeat(3,1fr); }
    .builder-group-row { grid-template-columns: minmax(0,1fr) auto 34px; }.builder-group-row > em { display: none; }
    .builder-entry-row { grid-template-columns: minmax(0,1fr) auto 34px; }.builder-entry-row .builder-entry-date { grid-column: 1; }.builder-entry-row .builder-entry-main { grid-column: 1/-1; grid-row: 2; }.builder-entry-row .builder-entry-value { grid-column: 2; grid-row: 1; }.builder-entry-row > span:nth-of-type(3) { display: none; }
    .account-directory-toolbar { grid-template-columns:1fr auto; }.account-directory-toolbar > .button { justify-self:start; }
    .account-directory-filters { grid-template-columns:1fr 1fr; }.account-directory-filters .filter-search { grid-column:1/-1; }.account-directory-filters .toolbar-count { justify-self:end; }
    .employee-project-access-overview > div,.employee-project-access-overview > .employee-project-capabilities,.employee-project-access-overview > .employee-access-assignment-list { grid-template-columns:1fr; }
    .project-report-heading { align-items:flex-start; }.project-report-actions { flex-wrap:wrap; }.project-report-kpis { grid-template-columns:1fr 1fr; }.project-report-summary-grid { grid-template-columns:1fr; }.project-participant-list { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
    .report-summary-rail { grid-template-columns: 1fr; }
    .report-summary-rail article { min-height: 88px; }
    .report-builder-compact .report-dimension-palette { align-items: stretch; flex-direction: column; }
    .report-builder-compact .report-dimension-palette .report-dimension { width: 100%; }
    .account-directory-filters { grid-template-columns:1fr; }.account-directory-filters .filter-search { grid-column:auto; }.account-directory-filters .toolbar-count { justify-self:start; }
    .account-sickness-summary { grid-template-columns:auto 1fr; }.account-sickness-summary small { grid-column:1/-1; }
    .project-report-filter { grid-template-columns:1fr; }.project-report-filter-heading { grid-column:auto; }
    .project-report-kpis { grid-template-columns:1fr; }.project-report-actions { align-items:stretch; flex-direction:column; }.project-report-facts dl { grid-template-columns:1fr; }.project-service-bars > div { grid-template-columns:1fr auto; }.project-service-bars i { grid-column:1/-1; grid-row:2; }.project-participant-list > div { grid-template-columns:34px 1fr auto; }.project-participant-list i { grid-column:2/-1; grid-row:2; }
}

/* Report export studio: full desktop workspace, tablet-friendly controls and clear output choices. */
.report-export-menu { position:relative; z-index:45; }
.report-export-menu > .button { min-width:142px; justify-content:center; gap:10px; }
.report-export-dropdown { position:absolute; top:calc(100% + 8px); right:0; display:grid; width:310px; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:var(--surface); box-shadow:0 22px 54px rgba(31,22,53,.2); }
.report-export-dropdown button,.report-export-dropdown a { display:grid; min-height:62px; grid-template-columns:32px minmax(0,1fr); grid-template-rows:auto auto; column-gap:10px; align-items:center; padding:10px 14px; border:0; border-bottom:1px solid var(--line); color:var(--ink); background:transparent; font:inherit; text-align:left; text-decoration:none; cursor:pointer; }
.report-export-dropdown > :last-child { border-bottom:0; }
.report-export-dropdown button:hover,.report-export-dropdown a:hover { background:var(--violet-wash); }
.report-export-dropdown span { display:grid; width:32px; height:32px; grid-row:1/3; place-items:center; border-radius:10px; color:var(--violet); background:var(--violet-wash); font-size:14px; font-weight:900; }
.report-export-dropdown b { font-size:10px; }.report-export-dropdown small { color:var(--muted); font-size:8px; }
.report-export-backdrop { z-index:180; padding:24px; overflow:auto; background:rgba(24,20,35,.52); backdrop-filter:blur(10px); }
.report-export-modal { display:flex; width:min(1120px,calc(100vw - 48px)); max-height:calc(100vh - 48px); flex-direction:column; overflow:hidden; border-color:color-mix(in srgb,var(--violet) 24%,var(--line)); box-shadow:0 30px 90px rgba(18,12,34,.34); }
.report-export-modal > header { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border-bottom:1px solid var(--line); background:linear-gradient(110deg,color-mix(in srgb,var(--violet-wash) 76%,var(--surface)),var(--surface)); }
.report-export-modal > header h2 { margin:4px 0 0; font-size:20px; }.report-export-modal > header > button { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--line); border-radius:11px; color:var(--muted); background:var(--surface); cursor:pointer; font-size:20px; }
.report-export-modal-body { flex:1 1 auto; overflow:auto; padding:4px 24px 24px; overscroll-behavior:contain; }
.export-form-section { padding:22px 0; border-bottom:1px solid var(--line); }.export-form-section:last-child { border-bottom:0; }
.export-section-heading { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:start; margin-bottom:15px; }
.export-section-heading > span { display:grid; width:34px; height:34px; place-items:center; border-radius:11px; color:var(--violet); background:var(--violet-wash); font-size:9px; font-weight:900; }
.export-section-heading h3 { margin:0 0 4px; font-size:15px; }.export-section-heading p { margin:0; color:var(--muted); font-size:9px; line-height:1.45; }
.export-title-grid,.export-settings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.export-title-grid label:first-child { grid-column:span 2; }
.export-title-grid label,.export-settings-grid label { display:flex; min-width:0; flex-direction:column; gap:6px; color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.035em; text-transform:uppercase; }
.export-title-grid input,.export-settings-grid select { width:100%; min-height:44px; padding:0 12px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); font:inherit; font-size:10px; font-weight:700; text-transform:none; letter-spacing:0; }
.export-title-grid input:focus,.export-settings-grid select:focus { border-color:color-mix(in srgb,var(--violet) 62%,var(--line)); outline:3px solid color-mix(in srgb,var(--violet) 10%,transparent); }
.export-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.export-choice-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.export-choice { display:flex; min-height:72px; align-items:flex-start; gap:10px; padding:13px; border:1px solid var(--line); border-radius:13px; background:var(--surface-soft); cursor:pointer; }
.export-choice:has(input:checked) { border-color:color-mix(in srgb,var(--success) 46%,var(--line)); background:color-mix(in srgb,var(--success) 7%,var(--surface)); box-shadow:inset 3px 0 0 var(--success); }
.export-choice input,.export-column-grid input { width:17px; height:17px; flex:0 0 auto; accent-color:var(--violet); }
.export-choice > span { display:flex; min-width:0; flex-direction:column; gap:4px; }.export-choice strong { font-size:10px; }.export-choice small { color:var(--muted); font-size:8px; line-height:1.4; }
.export-choice.compact { min-height:58px; margin-top:12px; }
.export-column-heading { margin:18px 0 9px; color:var(--ink); font-size:10px; }
.export-column-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.export-column-grid label { display:flex; min-height:42px; align-items:center; gap:8px; padding:8px 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); font-size:9px; font-weight:750; cursor:pointer; }
.report-export-modal > footer { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:16px; padding:15px 24px; border-top:1px solid var(--line); background:var(--surface); box-shadow:0 -10px 28px rgba(28,20,50,.05); }
.report-export-modal > footer > span { color:var(--muted); font-size:9px; font-weight:750; }.report-export-modal > footer > div { display:flex; gap:9px; }
:root[data-theme="dark"] .report-export-dropdown,:root[data-theme="dark"] .report-export-modal { background:var(--surface); }

@media (max-width:1000px) {
    .report-export-modal { width:min(920px,calc(100vw - 32px)); max-height:calc(100vh - 32px); }
    .report-export-backdrop { padding:16px; }
    .export-title-grid,.export-settings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .export-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .export-choice-grid > :last-child:nth-child(odd) { grid-column:1 / -1; }
    .export-column-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:760px) {
    .report-export-menu,.report-export-menu > .button { width:100%; }.report-export-dropdown { right:auto; left:0; width:min(100%,340px); }
    .report-export-backdrop { align-items:stretch; padding:0; }
    .report-export-modal { width:100%; max-height:100dvh; min-height:100dvh; border:0; border-radius:0; }
    .report-export-modal > header,.report-export-modal-body,.report-export-modal > footer { padding-left:16px; padding-right:16px; }
    .export-title-grid,.export-settings-grid,.export-choice-grid,.export-choice-grid.two { grid-template-columns:1fr; }.export-title-grid label:first-child { grid-column:auto; }
    .export-column-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .report-export-modal > footer { align-items:stretch; flex-direction:column; }.report-export-modal > footer > div { display:grid; grid-template-columns:1fr 1fr; }.report-export-modal > footer .button { justify-content:center; }
}

/* Version 1.2.1 · fokussierte Planung, breite Zeiterfassung und ruhiger Geist-Check */
.page-content:has(> .time-entry-page) > .time-entry-page {
    width: min(1760px, 100%);
    max-width: none;
}
.page-content:has(> .geist-radar-heading) > * {
    width: min(1720px, 100%);
}
@media (min-width: 1001px) {
    .time-entry-page .timeline-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(400px, .55fr);
        gap: 22px;
    }
}

.planning-board-head {
    min-height: 84px;
    padding: 18px 24px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--violet-wash) 34%, var(--surface)), var(--surface) 56%);
}
.planning-board-head > div:first-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.planning-board-head h2 { margin: 0; font-size: 20px; }
.planning-board-head small { max-width: 620px; line-height: 1.45; }
.planning-board-scroll {
    scroll-behavior: smooth;
    scroll-padding-left: 220px;
    background: var(--surface);
}
.planning-board-month {
    min-height: 48px;
    padding-inline: 10px;
    color: var(--ink);
    background: color-mix(in srgb, var(--violet-wash) 36%, var(--surface));
    font-size: 8px;
    letter-spacing: .06em;
}
.planning-board-week-label,
.planning-board-week { top: 48px; min-height: 30px; }
.planning-board-person,
.planning-board-track { min-height: 86px; }
.planning-board-today {
    width: 3px;
    border-radius: 99px;
    background: var(--success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 14%, transparent);
}

.geist-radar-workspace {
    grid-template-columns: minmax(0, 1.52fr) minmax(470px, .68fr);
    gap: 24px;
}
.geist-radar-rules {
    top: 18px;
    padding-bottom: 0;
    border-color: color-mix(in srgb, var(--violet) 18%, var(--line));
    border-radius: 20px;
    box-shadow: 0 20px 54px rgba(43, 28, 91, .09);
}
.geist-radar-rules > .card-header {
    min-height: 82px;
    padding: 18px 20px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--violet-wash) 54%, var(--surface)), var(--surface));
}
.geist-radar-rules > .geist-rule-toggle {
    display: grid;
    width: calc(100% - 28px);
    min-height: 76px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 10px 14px 0;
    padding: 13px 14px;
    border: 1px solid color-mix(in srgb, var(--violet) 13%, var(--line));
    border-radius: 14px;
    color: var(--ink);
    background: color-mix(in srgb, var(--surface-soft) 55%, var(--surface));
    box-shadow: 0 7px 20px rgba(39, 27, 78, .045);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.geist-radar-rules > .geist-rule-toggle > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--muted);
    background: var(--surface);
    font-size: 14px;
    font-weight: 900;
}
.geist-radar-rules > .geist-rule-toggle p { gap: 5px; }
.geist-radar-rules > .geist-rule-toggle p strong { font-size: 11px; }
.geist-radar-rules > .geist-rule-toggle p small { font-size: 8px; line-height: 1.45; }
.geist-radar-rules > .geist-rule-toggle.active {
    border-color: color-mix(in srgb, var(--success) 44%, var(--line));
    background: linear-gradient(110deg, color-mix(in srgb, var(--success-wash) 58%, var(--surface)), var(--surface));
}
.geist-radar-rules > .geist-rule-toggle.active > span { color: #fff; background: var(--success); }
.geist-radar-rules > .geist-rule-toggle.inactive { opacity: .72; }
.geist-radar-rules > .geist-rule-state.system,
.geist-radar-rules > .geist-rule-exclusion {
    margin: 10px 14px 0;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.geist-radar-rules > .geist-rule-exclusion {
    border-color: color-mix(in srgb, var(--success) 25%, var(--line));
    background: color-mix(in srgb, var(--success-wash) 54%, var(--surface));
}
.geist-radar-rules > footer {
    margin-top: 12px;
    padding: 17px 20px;
    background: color-mix(in srgb, var(--surface-soft) 64%, var(--surface));
}

:root[data-theme="dark"] .planning-board-head,
:root[data-theme="dark"] .geist-radar-rules > .card-header {
    background: linear-gradient(120deg, color-mix(in srgb, var(--violet) 10%, var(--surface)), var(--surface));
}
@media (max-width: 1260px) {
    .geist-radar-workspace { grid-template-columns: 1fr; }
    .geist-radar-rules { position: static; }
}

/* Tenant branding controls. Palette variables come from MainLayout. */
.tenant-brand-editor { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:10px; margin-top:14px; padding:12px; border:1px solid color-mix(in srgb,var(--violet) 18%,var(--line)); border-radius:14px; background:color-mix(in srgb,var(--violet) 4%,var(--surface)); }
.tenant-brand-editor label { display:grid; gap:6px; color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.tenant-brand-editor label > div { display:flex; align-items:center; gap:7px; }
.tenant-brand-editor input[type="color"] { width:42px; height:40px; padding:3px; border:1px solid var(--line); border-radius:11px; background:var(--surface); cursor:pointer; }
.tenant-brand-editor .color-code { width:88px; height:40px; padding:0 9px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); font:700 10px "Cascadia Mono",Consolas,monospace; text-transform:uppercase; }
.tenant-brand-editor .button { min-height:40px; }
@media (max-width:760px) { .tenant-brand-editor { grid-template-columns:1fr 1fr; }.tenant-brand-editor .button { grid-column:1/-1; width:100%; } }

/* Canonical planning board. Unique class names deliberately isolate this view
   from legacy calendar experiments further up in this stylesheet. */
.planning-board-card { overflow: hidden; }
.planning-board-head { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 22px; border-bottom:1px solid var(--line); }
.planning-board-head h2 { margin:3px 0; font-size:18px; }
.planning-board-head small { color:var(--muted); font-size:9px; }
.planning-board-zoom { display:flex; overflow:hidden; flex:0 0 auto; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.planning-board-zoom button { width:44px; border:0; color:var(--violet); background:var(--surface); font-size:19px; font-weight:900; cursor:pointer; }
.planning-board-zoom button:disabled { color:var(--muted); opacity:.38; cursor:default; }
.planning-board-zoom > span { display:flex; min-width:118px; flex-direction:column; justify-content:center; gap:2px; padding:8px 14px; border-inline:1px solid var(--line); text-align:center; }
.planning-board-zoom strong { font-size:9px; }.planning-board-zoom small { font-size:7px; }
.planning-board-scroll { max-height:min(72vh,760px); overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.planning-board-grid { display:grid; width:max-content; min-width:100%; grid-template-columns:220px repeat(var(--board-days),var(--board-day-width)); align-items:stretch; background:var(--surface); }
.planning-board-corner,.planning-board-month,.planning-board-week-label,.planning-board-week { position:sticky; z-index:5; top:0; display:flex; min-height:42px; align-items:center; border-right:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--ink); background:color-mix(in srgb,var(--surface) 96%,transparent); font-size:8px; font-weight:900; text-transform:uppercase; backdrop-filter:blur(12px); }
.planning-board-corner { left:0; z-index:8; grid-column:1; padding:0 14px; }
.planning-board-month { justify-content:center; color:var(--violet-deep); }
.planning-board-week-label,.planning-board-week { top:42px; min-height:27px; color:var(--muted); background:color-mix(in srgb,var(--surface-soft) 96%,transparent); font-size:6px; }
.planning-board-week-label { left:0; z-index:8; grid-column:1; padding:0 14px; }
.planning-board-week { justify-content:center; }
.planning-board-person { position:sticky; z-index:4; left:0; display:grid; min-height:78px; grid-column:1; grid-template-columns:38px minmax(0,1fr); align-content:center; gap:2px 10px; padding:10px 14px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); }
.planning-board-person > span { display:grid; width:36px; height:36px; grid-row:1/3; place-items:center; border-radius:11px; color:#fff; background:linear-gradient(145deg,var(--violet),var(--violet-deep)); font-size:8px; font-weight:950; }
.planning-board-person strong,.planning-board-person small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.planning-board-person strong { font-size:9px; }.planning-board-person small { color:var(--muted); font-size:7px; }
.planning-board-track { position:relative; display:grid; min-height:78px; grid-column:2/-1; grid-template-columns:repeat(var(--board-days),var(--board-day-width)); grid-template-rows:repeat(4,14px); align-content:center; gap:2px 0; border-bottom:1px solid var(--line); background:repeating-linear-gradient(90deg,transparent,transparent calc(var(--board-day-width) * 7 - 1px),color-mix(in srgb,var(--line) 78%,transparent) calc(var(--board-day-width) * 7 - 1px),color-mix(in srgb,var(--line) 78%,transparent) calc(var(--board-day-width) * 7)); }
.planning-board-track::after { position:absolute; inset:0; pointer-events:none; background:repeating-linear-gradient(90deg,transparent,transparent calc(var(--board-day-width) - 1px),color-mix(in srgb,var(--line) 24%,transparent) calc(var(--board-day-width) - 1px),color-mix(in srgb,var(--line) 24%,transparent) var(--board-day-width)); content:""; }
.planning-board-track i { z-index:2; display:flex; min-width:5px; align-items:center; padding:0 5px; overflow:hidden; border-radius:4px; color:#fff; background:var(--absence-color); box-shadow:0 2px 6px color-mix(in srgb,var(--absence-color) 24%,transparent); font-style:normal; }
.planning-board-track i span { overflow:hidden; font-size:7px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.planning-board-track i.pending { border:1px solid var(--absence-color); color:var(--ink); background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--absence-color) 30%,var(--surface)),color-mix(in srgb,var(--absence-color) 30%,var(--surface)) 4px,var(--surface) 4px,var(--surface) 8px); }
.planning-board-today { z-index:3; width:2px; grid-row:1/5; background:var(--violet); box-shadow:0 0 0 2px color-mix(in srgb,var(--violet) 14%,transparent); }
:root[data-theme="dark"] .planning-board-corner,:root[data-theme="dark"] .planning-board-month,:root[data-theme="dark"] .planning-board-week-label,:root[data-theme="dark"] .planning-board-week { background:color-mix(in srgb,var(--surface) 94%,transparent); }
@media (max-width:760px) { .planning-board-head { align-items:flex-start; flex-direction:column; }.planning-board-grid { grid-template-columns:170px repeat(var(--board-days),var(--board-day-width)); }.planning-board-person { padding-inline:10px; }.planning-board-corner,.planning-board-week-label { padding-inline:10px; } }
.geist-feed-tools,.geist-radar-item-actions { display:flex; align-items:center; gap:8px; }
.geist-radar-item-actions { align-self:center; flex-direction:column; }
.geist-ignore-action { border:0; color:var(--muted); background:transparent; font-size:8px; font-weight:800; cursor:pointer; }
.geist-ignore-action:hover { color:var(--violet); text-decoration:underline; }
.geist-rule-toggle { width:100%; color:inherit; text-align:left; cursor:pointer; }
.geist-rule-toggle > b { margin-left:auto; padding:5px 8px; border-radius:999px; color:var(--muted); background:var(--surface-soft); font-size:7px; text-transform:uppercase; }
.geist-rule-toggle.active > b { color:var(--green); background:color-mix(in srgb,var(--green) 10%,var(--surface)); }
.geist-rule-toggle:hover { border-color:color-mix(in srgb,var(--violet) 55%,var(--line)); transform:translateY(-1px); }

.alert-success {
    border: 1px solid #bce8d5;
    background: #effbf6;
    color: #126b4c;
}
.alert-success > span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #18a874;
    color: #fff;
    font-weight: 850;
}
:root[data-theme="dark"] .alert-success {
    border-color: #285044;
    background: #142a24;
    color: #8de0bf;
}

.report-date-range { display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:7px; min-width:300px; margin:0; padding:0; border:0; }.report-date-range legend { margin-bottom:6px; color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.035em; text-transform:uppercase; }.report-date-range label { display:flex; min-width:0; flex-direction:column; gap:3px; }.report-date-range label > span { color:var(--muted); font-size:7px; }.report-date-range > i { padding-bottom:14px; color:var(--violet); font-style:normal; }.report-filter-grid { grid-template-columns:minmax(250px,1.25fr) minmax(150px,.65fr) minmax(300px,1.1fr) repeat(3,minmax(150px,.75fr)); }.report-filter-submit,.report-filter-reset { min-height:46px; }
.team-control-setting { margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }.geist-control-coverage { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:12px; }.geist-control-coverage span { display:flex; align-items:center; gap:7px; padding:9px 10px; border:1px solid var(--line); border-radius:10px; color:var(--muted); background:var(--surface-soft); font-size:8px; }.geist-control-coverage i { color:var(--success); font-style:normal; font-weight:900; }
@media (max-width:1100px) { .report-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.report-date-range { min-width:0; } }
@media (max-width:720px) and (orientation:portrait) { .time-entry-modal-backdrop { padding:0; place-items:stretch; }.time-entry-modal-backdrop .time-entry-editor { width:100vw; max-width:none; height:100dvh; max-height:none; border:0; border-radius:0; }.time-entry-editor > header { position:sticky; top:0; z-index:20; background:var(--surface); }.time-entry-editor form { min-height:calc(100dvh - 78px); padding:18px 15px 110px; }.time-entry-editor-actions { position:sticky; bottom:0; z-index:20; padding:12px; background:color-mix(in srgb,var(--surface) 94%,transparent); backdrop-filter:blur(12px); }.report-filter-grid { grid-template-columns:1fr; }.report-date-range { grid-template-columns:1fr auto 1fr; }.geist-control-coverage { grid-template-columns:1fr; } }

/* Phase 32 · Stundenkonto */
.year-switch { display:flex; align-items:center; gap:8px; padding:7px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }.year-switch button { width:36px; height:36px; border:1px solid var(--line); border-radius:10px; color:var(--violet); background:var(--surface-soft); cursor:pointer; }.year-switch strong { min-width:58px; text-align:center; }
.time-account-hero { display:grid; grid-template-columns:1fr 1.35fr; gap:0; margin-bottom:18px; overflow:hidden; }.time-account-hero > article { min-height:230px; padding:24px; }.absence-account-card { border-right:1px solid var(--line); }.time-account-hero header h2 { margin:5px 0 18px; }.vacation-account-line { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }.vacation-account-line strong { font-size:23px; }.vacation-account-line span { color:var(--muted); font-size:9px; }.vacation-progress,.month-progress { height:8px; margin:13px 0; overflow:hidden; border-radius:99px; background:var(--surface-soft); }.vacation-progress i,.month-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--violet),#9a7bff); }.absence-account-card dl { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:18px 0 0; }.absence-account-card dl div { padding:11px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }.absence-account-card dt,.balance-account-card dt { color:var(--muted); font-size:8px; }.absence-account-card dd,.balance-account-card dd { margin:4px 0 0; font-size:12px; font-weight:850; }.balance-account-card { background:linear-gradient(135deg,color-mix(in srgb,var(--violet-wash) 54%,var(--surface)),var(--surface)); }.balance-account-card header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }.balance-account-card header > strong { font-size:29px; }.balance-account-card dl { display:grid; gap:10px; margin:24px 0 15px; }.balance-account-card dl div { display:flex; justify-content:space-between; gap:15px; padding-bottom:9px; border-bottom:1px solid var(--line); }.balance-account-card p { margin:0; color:var(--muted); font-size:9px; line-height:1.5; }
.time-account-year { overflow:hidden; margin-bottom:80px; }.time-account-months { display:grid; gap:12px; padding:18px; }.time-account-month { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); }.time-account-month > header { display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; padding:16px; background:var(--surface-soft); }.time-account-month > header > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }.time-account-month > header span { font-size:14px; font-weight:900; text-transform:capitalize; }.time-account-month > header small { color:var(--muted); }.time-account-month .month-progress { grid-column:1/-1; width:100%; margin:0; }.time-account-week-list { display:grid; }.time-account-week-list > div { display:grid; grid-template-columns:150px minmax(240px,1fr) auto; align-items:center; gap:14px; padding:12px 16px; border-top:1px solid var(--line); }.time-account-week-list span { display:flex; flex-direction:column; gap:3px; }.time-account-week-list small { color:var(--muted); font-size:8px; }.time-account-week-list b { font-size:11px; }.balance-positive { color:var(--success)!important; }.balance-negative { color:var(--danger)!important; }
@media (max-width:800px) { .time-account-hero { grid-template-columns:1fr; }.absence-account-card { border-right:0; border-bottom:1px solid var(--line); }.time-account-week-list > div { grid-template-columns:1fr auto; }.time-account-week-list > div > span:nth-child(2) { grid-column:1/-1; } }

/* Phase 33 · Stundentafel und Stundenkonto als fokussierte Arbeitsansichten */
.page-content:has(.timesheet-page) { padding:0; overflow:hidden; }
.page-content:has(.timesheet-page) > * { width:100%; max-width:none; }
.timesheet-page { display:grid; width:100%; height:100%; min-height:calc(100dvh - 72px); grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; color:var(--ink); background:var(--surface); }
.timesheet-toolbar { display:grid; grid-template-columns:auto minmax(320px,1fr) auto; align-items:center; gap:24px; min-height:92px; padding:14px 28px; border-bottom:1px solid var(--line); background:var(--surface); }
.timesheet-title { display:flex; flex-direction:column; gap:3px; }.timesheet-title h1 { margin:0; font-size:20px; letter-spacing:-.03em; }
.timesheet-navigation { display:flex; align-items:center; gap:8px; }.timesheet-navigation strong { margin-left:8px; font-size:14px; }.timesheet-navigation strong span { color:var(--muted); font-weight:700; }
.timesheet-icon-button,.account-year-navigation button,.account-more { display:grid; width:38px; height:38px; place-items:center; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--surface); cursor:pointer; font:inherit; font-size:19px; }
.timesheet-icon-button:hover,.account-year-navigation button:hover,.account-more:hover { color:var(--violet); border-color:color-mix(in srgb,var(--violet) 38%,var(--line)); background:var(--violet-wash); }
.timesheet-toolbar-actions { display:flex; align-items:center; gap:12px; }.timesheet-toolbar-actions .button { min-height:42px; }
.timesheet-view-toggle { display:flex; height:38px; overflow:hidden; border:1px solid var(--line); border-radius:10px; }.timesheet-view-toggle i { display:grid; width:35px; place-items:center; color:var(--muted); background:var(--surface); font-style:normal; }.timesheet-view-toggle i:first-child { color:#fff; background:var(--sidebar); }
.timesheet-calendar-scroll { min-width:0; min-height:0; overflow:auto; background:var(--surface); }
.timesheet-calendar { display:grid; min-width:1180px; grid-template-columns:74px repeat(7,minmax(155px,1fr)); }
.timesheet-corner,.timesheet-day-heading { position:sticky; z-index:6; top:0; min-height:62px; border-bottom:1px solid var(--line); background:var(--surface); }
.timesheet-corner { display:grid; place-items:center; border-right:1px solid var(--line); color:var(--muted); }
.timesheet-day-heading { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; border-right:1px solid var(--line); color:var(--ink); text-decoration:none; }
.timesheet-day-heading strong { font-size:12px; }.timesheet-day-heading small { max-width:90%; overflow:hidden; color:var(--success); font-size:7px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.timesheet-day-heading.today strong { padding:5px 12px; border-radius:999px; color:#fff; background:var(--violet); }
.timesheet-hours,.timesheet-day-column { position:relative; height:832px; border-right:1px solid var(--line); background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 15px,color-mix(in srgb,var(--line) 45%,transparent) 16px,transparent 17px,transparent 31px,var(--line) 32px,transparent 33px,transparent 63px,var(--line) 64px); }
.timesheet-hours { color:var(--muted); background-color:var(--surface); }
.timesheet-hours span { position:absolute; right:12px; transform:translateY(-50%); font-size:8px; font-variant-numeric:tabular-nums; }
.timesheet-day-column { display:block; color:inherit; background-color:var(--surface); text-decoration:none; }
.timesheet-day-column:hover { background-color:color-mix(in srgb,var(--violet-wash) 28%,var(--surface)); }.timesheet-day-column.today { background-color:color-mix(in srgb,var(--violet-wash) 24%,var(--surface)); }
.timesheet-entry { position:absolute; z-index:3; right:5px; left:5px; display:flex; min-height:24px; flex-direction:column; gap:2px; overflow:hidden; padding:7px 8px; border:1px solid color-mix(in srgb,var(--violet) 42%,var(--line)); border-left:4px solid var(--violet); border-radius:8px; color:var(--ink); background:color-mix(in srgb,var(--violet-wash) 82%,var(--surface)); box-shadow:0 4px 12px rgba(63,38,112,.08); pointer-events:none; }
.timesheet-entry.internal { border-color:color-mix(in srgb,var(--success) 45%,var(--line)); border-left-color:var(--success); background:color-mix(in srgb,var(--success-wash) 78%,var(--surface)); }.timesheet-entry strong { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.timesheet-entry small { overflow:hidden; color:var(--muted); font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.timesheet-now-line { position:absolute; z-index:4; right:0; left:0; height:1px; background:var(--danger); pointer-events:none; }.timesheet-now-line i { position:absolute; top:-4px; left:-4px; width:9px; height:9px; border-radius:50%; background:var(--danger); }
.timesheet-total-label,.timesheet-day-total { min-height:64px; padding:10px 12px; border-top:1px solid var(--line); border-right:1px solid var(--line); background:var(--surface); }
.timesheet-total-label { display:flex; flex-direction:column; gap:3px; }.timesheet-total-label strong { font-size:8px; }.timesheet-total-label small { color:var(--muted); font-size:7px; }
.timesheet-day-total { display:grid; grid-template-columns:1fr auto; gap:2px; color:var(--ink); text-decoration:none; }.timesheet-day-total strong { font-size:10px; }.timesheet-day-total small { grid-row:2; color:var(--muted); font-size:7px; }.timesheet-day-total b { grid-column:2; grid-row:1/3; align-self:center; font-size:8px; }
.timesheet-week-total { display:flex; min-height:48px; align-items:center; justify-content:flex-end; gap:24px; padding:0 28px; border-top:1px solid var(--line); background:var(--surface); font-size:10px; }.timesheet-week-total span { margin-right:auto; font-weight:850; }.timesheet-week-total b { min-width:80px; text-align:right; }

.account-page { width:min(1500px,100%); margin:0 auto 80px; }
.account-toolbar { display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:24px; margin-bottom:18px; padding:5px 0; }
.account-identity h1 { margin:4px 0 0; font-size:22px; letter-spacing:-.03em; }.account-identity h1 small { margin-left:7px; color:var(--muted); font-size:15px; font-weight:650; }
.account-year-navigation { display:flex; align-items:center; gap:6px; }.account-year-navigation strong { min-width:64px; text-align:center; font-size:19px; }
.account-toolbar-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }.account-toolbar-actions .button { min-height:40px; }
.account-detail-toggle { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:9px; font-weight:800; }.account-detail-toggle input { position:absolute; opacity:0; pointer-events:none; }.account-detail-toggle i { position:relative; width:43px; height:24px; border-radius:99px; background:var(--surface-strong); box-shadow:inset 0 0 0 1px var(--line); }.account-detail-toggle i::after { content:''; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:var(--surface); box-shadow:0 2px 6px rgba(0,0,0,.16); transition:transform .18s ease; }.account-detail-toggle input:checked + i { background:var(--violet); }.account-detail-toggle input:checked + i::after { transform:translateX(19px); }
.account-overview { display:grid; grid-template-columns:.8fr 1.2fr; margin-bottom:34px; overflow:hidden; }
.account-overview article { min-height:170px; padding:24px 28px; }.account-overview article + article { border-left:1px solid var(--line); }
.account-overview header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:12px; border-bottom:1px solid var(--line); }.account-overview h2 { margin:0; font-size:14px; }.account-overview header > span { display:grid; width:18px; height:18px; place-items:center; border-radius:50%; color:var(--muted); background:var(--surface-soft); font-size:8px; font-weight:900; }.account-overview header > strong { font-size:16px; }
.account-absence-lines,.account-balance-lines { display:grid; gap:6px; padding-top:17px; }.account-absence-lines p,.account-balance-lines p { margin:0; color:var(--muted); font-size:10px; line-height:1.35; }.account-absence-lines strong,.account-balance-lines strong { color:var(--ink); }.account-absence-lines b,.account-balance-lines b { font-weight:850; }.account-absence-lines .muted { font-size:8px; }
.account-balance-summary { background:color-mix(in srgb,var(--violet-wash) 46%,var(--surface)); }.account-balance-lines { justify-items:end; text-align:right; }
.account-month-list { display:grid; gap:42px; }.account-month { min-width:0; }.account-month-heading { display:flex; min-height:68px; align-items:center; justify-content:space-between; gap:18px; padding:0 22px 12px; }.account-month-heading h2 { margin:0; font-size:14px; text-transform:capitalize; }
.account-month-total { display:flex; min-width:145px; flex-direction:column; align-items:flex-end; gap:3px; padding:9px 12px; border-radius:11px; background:var(--surface-soft); }.account-month-total strong { font-size:12px; }.account-month-total small { font-size:9px; font-weight:800; }
.account-calendar-scroll { overflow-x:auto; padding:0 8px; }.account-calendar { min-width:1040px; }
.account-calendar-head,.account-calendar-row { display:grid; grid-template-columns:52px repeat(7,minmax(112px,1fr)) 130px; }
.account-calendar-head > span { display:flex; min-height:38px; align-items:center; padding:0 9px; border-bottom:1px solid var(--line); color:var(--muted); font-size:10px; font-weight:850; }.account-calendar-head > span:last-child { justify-content:center; color:var(--ink); }
.account-calendar-row > * { border-bottom:1px solid var(--line); }.account-week-number { padding:13px 8px; color:var(--ink); font-size:9px; font-weight:800; }
.account-day-cell { position:relative; min-height:58px; padding:8px; border-left:1px solid color-mix(in srgb,var(--line) 65%,transparent); background:var(--surface); }.account-day-cell.weekend { background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface)); }.account-day-cell.outside { background:repeating-linear-gradient(135deg,transparent,transparent 3px,color-mix(in srgb,var(--line) 48%,transparent) 3px,color-mix(in srgb,var(--line) 48%,transparent) 5px); }.account-day-cell.today { background:color-mix(in srgb,var(--violet-wash) 82%,var(--surface)); }
.account-day-number { color:var(--muted); font-size:9px; }.account-day-values { position:absolute; right:7px; bottom:7px; display:flex; flex-direction:column; align-items:flex-end; gap:1px; font-variant-numeric:tabular-nums; }.account-day-values strong { font-size:8px; }.account-day-values small { font-size:8px; font-weight:750; }
.account-absence-tag { position:absolute; top:7px; right:6px; max-width:72px; padding:3px 6px; overflow:hidden; border-radius:5px; color:#fff; background:var(--success); font-size:7px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }.account-absence-tag.sick { background:#6550e8; }.account-absence-tag.holiday { color:var(--ink); background:var(--surface-strong); }.account-absence-tag.mobile { background:#2689bd; }
.account-week-total { display:flex; min-height:58px; flex-direction:column; align-items:flex-end; justify-content:center; gap:2px; padding:7px 12px; background:color-mix(in srgb,var(--surface-soft) 60%,var(--surface)); font-variant-numeric:tabular-nums; }.account-week-total strong,.account-week-total span { font-size:9px; }.account-week-total small { font-size:8px; font-weight:750; }.account-week-total em { color:var(--muted); font-size:6px; font-style:normal; font-weight:750; }

:root[data-theme="dark"] .timesheet-page,:root[data-theme="dark"] .timesheet-toolbar,:root[data-theme="dark"] .timesheet-day-heading,:root[data-theme="dark"] .timesheet-corner,:root[data-theme="dark"] .timesheet-day-column,:root[data-theme="dark"] .timesheet-hours,:root[data-theme="dark"] .timesheet-day-total,:root[data-theme="dark"] .timesheet-total-label,:root[data-theme="dark"] .timesheet-week-total { background-color:var(--surface); }
:root[data-theme="dark"] .account-balance-summary { background:color-mix(in srgb,var(--violet) 9%,var(--surface)); }
:root[data-theme="dark"] .account-day-cell.outside { background:repeating-linear-gradient(135deg,transparent,transparent 3px,rgba(255,255,255,.045) 3px,rgba(255,255,255,.045) 5px); }
:root[data-theme="dark"] .account-absence-tag.holiday { color:var(--ink); background:#30323e; }

@media (max-width:1050px) {
    .timesheet-toolbar { grid-template-columns:1fr auto; }.timesheet-navigation { grid-column:1/-1; grid-row:2; }.timesheet-toolbar-actions { grid-column:2; grid-row:1; }
    .account-toolbar { grid-template-columns:1fr auto; }.account-toolbar-actions { grid-column:1/-1; justify-content:flex-start; }
    .account-overview { grid-template-columns:1fr; }.account-overview article + article { border-top:1px solid var(--line); border-left:0; }
}
@media (max-width:680px) {
    .timesheet-title { display:none; }.timesheet-toolbar { grid-template-columns:1fr auto; gap:10px; padding:12px 14px; }.timesheet-navigation strong { font-size:11px; }.timesheet-view-toggle { display:none; }
    .account-toolbar { grid-template-columns:1fr; }.account-year-navigation { justify-self:start; }.account-toolbar-actions { overflow-x:auto; }.account-overview article { padding:19px; }.account-month-heading { padding-right:4px; padding-left:4px; }
}

/* Phase 34 · größere Zeitwerte, direkte Tagesbearbeitung und Geist-Check-Prüfprofil */
.timesheet-view-toggle a { display:grid; width:39px; place-items:center; color:var(--muted); background:var(--surface); text-decoration:none; }
.timesheet-view-toggle a + a { border-left:1px solid var(--line); }.timesheet-view-toggle a.active { color:#fff; background:var(--sidebar); }.timesheet-view-toggle a:hover:not(.active) { color:var(--violet); background:var(--violet-wash); }
.week-view-icon { display:grid; width:20px; height:17px; grid-template-columns:repeat(3,1fr); gap:2px; }.week-view-icon i { display:block; width:auto!important; height:100%; border:1px solid currentColor; border-radius:2px; background:transparent!important; }
.day-view-icon { display:grid; width:18px; height:17px; padding-top:4px; border:1px solid currentColor; border-radius:3px; }.day-view-icon::before { content:''; align-self:start; border-top:1px solid currentColor; }.day-view-icon i { display:block; width:8px!important; height:5px; margin:auto; border:1px solid currentColor; border-radius:1px; background:transparent!important; }
.timesheet-day-hit { position:absolute; z-index:1; inset:0; }.timesheet-entry { pointer-events:auto; text-decoration:none; }.timesheet-entry:hover { z-index:5; border-color:var(--violet); box-shadow:0 7px 20px rgba(63,38,112,.18); }

.page-content:has(.account-page) > * { width:min(1620px,100%); }.account-page { width:100%; }.account-overview { grid-template-columns:.95fr 1.05fr; }.account-overview article { min-height:218px; padding:28px 32px; }.account-overview h2 { font-size:16px; }
.account-vacation-focus { display:grid; gap:11px; padding-top:17px; }.account-vacation-focus > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }.account-vacation-focus > div:first-child strong { font-size:22px; }.account-vacation-focus > div:first-child span { color:var(--muted); font-size:9px; font-weight:800; }
.account-vacation-progress { height:8px; overflow:hidden; border-radius:99px; background:var(--surface-soft); }.account-vacation-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--violet),#9f83ff); }
.account-vacation-focus dl { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0; }.account-vacation-focus dl div { padding:9px 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }.account-vacation-focus dt { color:var(--muted); font-size:7px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }.account-vacation-focus dd { margin:4px 0 0; color:var(--ink); font-size:12px; font-weight:900; }.account-absence-lines.secondary { grid-template-columns:repeat(2,minmax(0,1fr)); padding-top:12px; }
.account-balance-summary header > strong { font-size:23px; }.account-balance-lines { gap:11px; padding-top:24px; }.account-balance-lines p { font-size:11px; }
.account-month-list { gap:52px; }.account-month-heading h2 { font-size:17px; }.account-month-total strong { font-size:14px; }.account-month-total small { font-size:10px; }
.account-calendar { min-width:1260px; }.account-calendar-head,.account-calendar-row { grid-template-columns:58px repeat(7,minmax(144px,1fr)) 152px; }.account-calendar-head > span { min-height:48px; font-size:11px; }.account-week-number { padding:19px 9px; font-size:11px; }
.account-day-cell { display:block; min-height:96px; padding:12px; color:var(--ink); text-decoration:none; transition:background .16s ease,box-shadow .16s ease; }.account-day-cell:not(.outside):hover { z-index:2; background:var(--violet-wash); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--violet) 42%,var(--line)); }.account-day-cell.outside { pointer-events:none; }.account-day-number { font-size:11px; font-weight:800; }.account-day-values { right:10px; bottom:10px; gap:3px; }.account-day-values strong { font-size:12px; }.account-day-values small { font-size:10px; }.account-absence-tag { top:10px; right:9px; max-width:92px; padding:4px 7px; font-size:8px; }.account-entry-count { position:absolute; bottom:10px; left:10px; color:var(--muted); font-size:7px; font-weight:800; }.account-week-total { min-height:96px; padding:10px 14px; }.account-week-total strong,.account-week-total span { font-size:12px; }.account-week-total small { font-size:10px; }

.geist-preference-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:14px 0 0; padding:14px 0 0; border:0; border-top:1px solid var(--line); }.geist-preference-grid legend { padding:0 0 8px; color:var(--muted); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.07em; }.geist-preference-grid > label { position:relative; display:block; cursor:pointer; }.geist-preference-grid input { position:absolute; opacity:0; pointer-events:none; }.geist-preference-grid label > span { display:grid; min-height:76px; grid-template-columns:32px minmax(0,1fr); align-content:center; gap:2px 10px; padding:11px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); transition:.16s ease; }.geist-preference-grid label > span i { display:grid; width:32px; height:32px; grid-row:1/3; place-items:center; border-radius:9px; color:var(--muted); background:var(--surface); font-style:normal; font-weight:900; }.geist-preference-grid strong { font-size:9px; }.geist-preference-grid small { color:var(--muted); font-size:7px; line-height:1.35; }.geist-preference-grid input:checked + span { border-color:color-mix(in srgb,var(--violet) 42%,var(--line)); background:var(--violet-wash); }.geist-preference-grid input:checked + span i { color:#fff; background:var(--violet); }

.geist-check-heading-actions { display:flex; align-items:center; justify-content:flex-end; gap:9px; }.geist-check-heading-actions > span { color:var(--muted); font-size:8px; }
.geist-filter-kpis button { border:1px solid var(--line); color:var(--ink); background:var(--surface); text-align:left; cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease; }.geist-filter-kpis button:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--violet) 40%,var(--line)); }.geist-filter-kpis button.active { border-color:var(--violet); background:var(--violet-wash); box-shadow:inset 0 3px 0 var(--violet),var(--shadow-sm); }.geist-filter-kpis button.active strong { color:var(--violet); }
.geist-check-empty { display:grid; min-height:260px; place-items:center; align-content:center; gap:7px; padding:30px; text-align:center; }.geist-check-empty i { display:grid; width:50px; height:50px; place-items:center; border-radius:50%; color:var(--success); background:var(--success-wash); font-style:normal; font-size:20px; font-weight:900; }.geist-check-empty strong { font-size:13px; }.geist-check-empty p { margin:0; color:var(--muted); font-size:9px; }
.geist-score { display:grid; min-width:40px; height:30px; place-items:center; border-radius:9px; color:var(--violet); background:var(--violet-wash); font-size:9px; font-weight:900; }.geist-rule-state.inactive { opacity:.58; }.geist-rule-state.inactive > span { color:var(--muted); background:var(--surface-soft); }.geist-rule-exclusion { margin-top:7px; background:color-mix(in srgb,var(--success-wash) 55%,var(--surface)); }

:root[data-theme="dark"] .geist-filter-kpis button { color:var(--ink); background:var(--surface); }:root[data-theme="dark"] .geist-filter-kpis button.active { background:color-mix(in srgb,var(--violet) 15%,var(--surface)); }
:root[data-theme="dark"] .geist-preference-grid label > span { background:var(--surface-soft); }:root[data-theme="dark"] .geist-preference-grid input:checked + span { background:color-mix(in srgb,var(--violet) 14%,var(--surface)); }

@media (max-width:900px) { .geist-check-heading-actions { align-items:stretch; flex-wrap:wrap; justify-content:flex-start; }.geist-preference-grid { grid-template-columns:1fr; } }
@media (max-width:680px) { .account-vacation-focus dl { grid-template-columns:1fr; }.account-absence-lines.secondary { grid-template-columns:1fr; }.geist-check-heading-actions > span { width:100%; } }

/* Phase 35 · hochwertiges Zeitkonto und fokussierte Tagesbearbeitung */
.timesheet-view-toggle { height:44px; padding:3px; gap:3px; overflow:visible; border-color:color-mix(in srgb,var(--violet) 18%,var(--line)); border-radius:13px; background:var(--surface-soft); box-shadow:inset 0 1px 0 rgba(255,255,255,.55); }
.timesheet-view-toggle button { display:grid; width:42px; height:36px; place-items:center; padding:0; border:0; border-radius:9px; color:var(--muted); background:transparent; cursor:pointer; transition:color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }
.timesheet-view-toggle button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.timesheet-view-toggle button.active { color:#fff; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); box-shadow:0 6px 14px color-mix(in srgb,var(--violet) 28%,transparent); }
.timesheet-view-toggle button:not(.active):hover { color:var(--violet); background:var(--surface); box-shadow:var(--shadow-sm); transform:translateY(-1px); }
.timesheet-day-heading,.timesheet-day-total,.timesheet-day-hit,.timesheet-entry { font:inherit; cursor:pointer; }
.timesheet-day-heading { border:0; border-right:1px solid var(--line); text-align:center; }
.timesheet-day-hit { padding:0; border:0; background:transparent; }
.timesheet-entry { text-align:left; }
.timesheet-day-total { border-right:1px solid var(--line); border-bottom:0; border-left:0; text-align:left; }

.account-page { --account-card-radius:24px; }
.account-toolbar { min-height:72px; margin-bottom:22px; padding:10px 4px; }
.account-identity .card-kicker { color:var(--violet); }
.account-identity h1 { font-size:25px; }
.account-year-navigation { padding:4px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--shadow-sm); }
.account-year-navigation button { width:34px; height:34px; border:0; background:transparent; }
.account-year-navigation strong { min-width:74px; font-size:17px; font-variant-numeric:tabular-nums; }
.account-cockpit { gap:0; overflow:hidden; border-radius:var(--account-card-radius); box-shadow:0 22px 60px rgba(38,24,74,.09); }
.account-cockpit-card { position:relative; min-width:0; min-height:330px!important; padding:30px 32px!important; }
.account-cockpit-card::after { content:''; position:absolute; pointer-events:none; }
.account-absence-summary::after { top:-90px; right:-70px; width:230px; height:230px; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--violet) 11%,transparent),transparent 68%); }
.account-balance-summary { background:linear-gradient(145deg,color-mix(in srgb,var(--violet-wash) 58%,var(--surface)),var(--surface) 62%); }
.account-card-heading { display:grid!important; grid-template-columns:44px minmax(0,1fr) auto; align-items:center!important; gap:12px!important; padding:0 0 22px!important; border-bottom:0!important; }
.account-card-heading > div { display:flex; flex-direction:column; gap:3px; }
.account-card-heading > div > span { color:var(--muted); font-size:8px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.account-card-heading h2 { font-size:16px!important; letter-spacing:-.02em; }
.account-card-heading > a { position:relative; z-index:2; display:flex; align-items:center; gap:5px; color:var(--violet); font-size:8px; font-weight:850; text-decoration:none; }
.account-card-heading > a:hover { text-decoration:underline; }
.account-card-icon { display:grid!important; width:44px!important; height:44px!important; place-items:center!important; border-radius:14px!important; color:var(--violet)!important; background:var(--violet-wash)!important; }
.account-card-icon.balance { color:var(--success)!important; background:var(--success-wash)!important; }
.account-card-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.account-health-badge { display:inline-flex!important; width:auto!important; height:auto!important; padding:6px 9px!important; border-radius:999px!important; font-size:7px!important; font-weight:900!important; text-transform:uppercase; letter-spacing:.06em; }
.account-health-badge.balance-positive { color:var(--success)!important; background:var(--success-wash)!important; }.account-health-badge.balance-negative { color:var(--danger)!important; background:var(--danger-wash)!important; }
.account-vacation-dashboard { display:grid; grid-template-columns:124px minmax(0,1fr); align-items:center; gap:24px; }
.account-vacation-ring { position:relative; display:grid; width:120px; height:120px; place-items:center; border-radius:50%; background:conic-gradient(var(--violet) var(--vacation-progress),color-mix(in srgb,var(--violet-wash) 70%,var(--surface-strong)) 0); box-shadow:0 12px 32px color-mix(in srgb,var(--violet) 13%,transparent); }
.account-vacation-ring::before { content:''; position:absolute; width:92px; height:92px; border-radius:50%; background:var(--surface); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 70%,transparent); }
.account-vacation-ring > span { position:relative; display:flex!important; width:auto!important; height:auto!important; flex-direction:column; align-items:center; gap:2px; color:var(--ink)!important; background:transparent!important; }
.account-vacation-ring strong { font-size:26px; line-height:1; }.account-vacation-ring small { color:var(--muted); font-size:8px; font-weight:800; }
.account-vacation-copy { display:flex; flex-direction:column; gap:3px; }.account-vacation-copy > span { color:var(--muted); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }.account-vacation-copy > strong { font-size:22px; }.account-vacation-copy p { max-width:270px; margin:5px 0 0; color:var(--muted); font-size:9px; line-height:1.5; }
.account-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:23px 0 0; }
.account-stat-grid > div { min-width:0; padding:12px 13px; border:1px solid color-mix(in srgb,var(--line) 82%,transparent); border-radius:13px; background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface)); }
.account-stat-grid dt { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; letter-spacing:.05em; }.account-stat-grid dd { margin:5px 0 0; color:var(--ink); font-size:13px; font-weight:900; font-variant-numeric:tabular-nums; }
.account-stat-grid dt i { width:7px; height:7px; border-radius:50%; background:var(--surface-strong); }.account-stat-grid dt i.approved { background:var(--success); }.account-stat-grid dt i.requested { background:var(--warning); }.account-stat-grid dt i.planned { background:var(--violet); }
.account-absence-chips { display:flex; gap:7px; margin-top:12px; overflow-x:auto; }.account-absence-chips > span { display:flex; align-items:center; gap:6px; padding:6px 9px; border-radius:999px; color:var(--muted); background:var(--surface-soft); font-size:7px; white-space:nowrap; }.account-absence-chips i { width:6px; height:6px; border-radius:50%; background:#6550e8; }.account-absence-chips strong { color:var(--ink); }
.account-balance-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,.7fr); align-items:end; gap:6px 20px; padding:3px 0 0; }
.account-balance-hero > div:first-child { display:flex; grid-row:1/4; flex-direction:column; gap:3px; }.account-balance-hero span { color:var(--muted); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }.account-balance-hero strong { font-size:31px; line-height:1.12; letter-spacing:-.04em; }.account-balance-hero small { color:var(--muted); font-size:8px; }
.account-workload-progress { height:9px; overflow:hidden; border-radius:99px; background:var(--surface-strong); }.account-workload-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--violet),#a889ff); box-shadow:0 0 16px color-mix(in srgb,var(--violet) 38%,transparent); }
.account-balance-hero p { margin:0; color:var(--muted); font-size:8px; }.account-balance-hero p strong { color:var(--ink); font-size:9px; letter-spacing:0; }
.account-balance-note { display:flex; align-items:flex-start; gap:8px; margin-top:12px; padding:10px 12px; border-radius:12px; color:var(--muted); background:color-mix(in srgb,var(--violet-wash) 55%,var(--surface)); }.account-balance-note > span { display:grid; width:18px!important; height:18px!important; flex:0 0 auto; place-items:center; border-radius:50%; color:var(--violet)!important; background:var(--surface)!important; font-size:7px!important; font-weight:900; }.account-balance-note p { margin:0; font-size:7px; line-height:1.5; }
.account-month { overflow:hidden; border:1px solid color-mix(in srgb,var(--line) 86%,transparent); border-radius:20px; background:var(--surface); box-shadow:0 13px 36px rgba(42,29,72,.055); }
.account-month-heading { min-height:76px; padding:0 20px!important; border-bottom:1px solid var(--line); background:linear-gradient(110deg,var(--surface),color-mix(in srgb,var(--violet-wash) 28%,var(--surface))); }
.account-calendar-scroll { padding:0!important; }
.account-day-cell { appearance:none; width:100%; border-top:0; border-right:0; border-bottom:1px solid var(--line); border-left:1px solid color-mix(in srgb,var(--line) 65%,transparent); font:inherit; text-align:left; cursor:pointer; }
.account-day-cell:disabled { cursor:default; }
.account-week-number { background:var(--surface-soft); }.account-week-total { border-left:1px solid var(--line); }

.time-workspace-backdrop { position:fixed; z-index:310; inset:0; display:grid; place-items:center; padding:18px; background:rgba(12,9,25,.64); backdrop-filter:blur(12px) saturate(.86); animation:workspace-fade-in .18s ease-out; }
.time-workspace-window { display:grid; width:min(1840px,calc(100vw - 36px)); height:calc(100dvh - 36px); grid-template-rows:auto minmax(0,1fr); overflow:hidden; border:1px solid rgba(255,255,255,.34); border-radius:24px; background:var(--surface); box-shadow:0 40px 110px rgba(6,4,18,.48); animation:workspace-rise-in .22s cubic-bezier(.2,.82,.2,1); }
.time-workspace-header { display:flex; min-height:76px; align-items:center; justify-content:space-between; gap:18px; padding:12px 17px 12px 20px; border-bottom:1px solid var(--line); background:color-mix(in srgb,var(--surface) 94%,transparent); }
.time-workspace-heading { display:flex; min-width:0; align-items:center; gap:13px; }.time-workspace-heading > div { display:flex; min-width:0; flex-direction:column; gap:1px; }.time-workspace-heading > div > span { color:var(--violet); font-size:7px; font-weight:950; letter-spacing:.11em; text-transform:uppercase; }.time-workspace-heading h2 { margin:0; overflow:hidden; font-size:16px; letter-spacing:-.02em; text-overflow:ellipsis; white-space:nowrap; }.time-workspace-heading small { color:var(--muted); font-size:8px; }
.time-workspace-mark { display:grid; width:44px; height:44px; flex:0 0 auto; place-items:center; border-radius:14px; color:#fff; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); box-shadow:0 9px 24px color-mix(in srgb,var(--violet) 30%,transparent); }.time-workspace-mark svg,.time-workspace-close svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.time-workspace-close { display:grid; width:42px; height:42px; flex:0 0 auto; place-items:center; border:1px solid var(--line); border-radius:13px; color:var(--muted); background:var(--surface); cursor:pointer; transition:.16s ease; }.time-workspace-close:hover { color:var(--danger); border-color:color-mix(in srgb,var(--danger) 30%,var(--line)); background:var(--danger-wash); transform:rotate(4deg); }
.time-workspace-content { position:relative; min-height:0; background:var(--surface-soft); }.time-workspace-content::before { content:'Tagesansicht wird geöffnet …'; position:absolute; inset:0; display:grid; place-items:center; color:var(--muted); font-size:9px; }.time-workspace-content iframe { position:relative; z-index:1; width:100%; height:100%; border:0; background:var(--surface); }
@keyframes workspace-fade-in { from { opacity:0; } to { opacity:1; } } @keyframes workspace-rise-in { from { opacity:.7; transform:translateY(12px) scale(.985); } to { opacity:1; transform:none; } }

.app-shell:has(.time-entry-focus-mode) .sidebar,.app-shell:has(.time-entry-focus-mode) .topbar { display:none; }
.app-shell:has(.time-entry-focus-mode) .workspace { height:100dvh; margin-left:0; }
.app-shell:has(.time-entry-focus-mode) .page-content { height:100dvh; padding:18px; overflow:auto; background:var(--surface-soft); }
.app-shell:has(.time-entry-focus-mode) .page-content > .time-entry-page { width:min(1700px,100%); max-width:none; }
body:has(.time-entry-focus-mode) .timer-dock { display:none; }
.time-entry-focus-mode > .page-heading { display:none; }
.time-entry-focus-mode .day-toolbar { position:sticky; z-index:24; top:-18px; margin-bottom:14px; box-shadow:0 10px 30px rgba(38,24,74,.08); }
.time-entry-focus-mode .time-entry-layout { gap:14px; }

:root[data-theme="dark"] .account-cockpit { box-shadow:0 22px 60px rgba(0,0,0,.26); }
:root[data-theme="dark"] .account-vacation-ring::before { background:var(--surface); }
:root[data-theme="dark"] .account-balance-summary { background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 11%,var(--surface)),var(--surface) 62%); }
:root[data-theme="dark"] .time-workspace-backdrop { background:rgba(2,3,8,.76); }
:root[data-theme="dark"] .time-workspace-window { border-color:rgba(255,255,255,.09); box-shadow:0 42px 120px rgba(0,0,0,.72); }

@media (max-width:1050px) { .account-vacation-dashboard { grid-template-columns:104px minmax(0,1fr); }.account-vacation-ring { width:100px; height:100px; }.account-vacation-ring::before { width:76px; height:76px; }.account-balance-hero { grid-template-columns:1fr; }.account-balance-hero > div:first-child { grid-row:auto; }.account-workload-progress { margin-top:10px; } }
@media (max-width:760px) { .account-cockpit-card { padding:22px!important; }.account-stat-grid { grid-template-columns:1fr; }.account-vacation-dashboard { grid-template-columns:1fr; }.account-vacation-ring { margin:auto; }.account-vacation-copy { align-items:center; text-align:center; }.time-workspace-backdrop { padding:0; }.time-workspace-window { width:100vw; height:100dvh; border:0; border-radius:0; }.time-workspace-heading small { display:none; } }

/* Phase 36 · skalierbare Kundenakten, eindeutige Freigaben und kompakte Zeitblöcke */
.customer-directory { display:grid; margin:0 16px 16px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--surface); }
.customer-directory-row { display:grid; width:100%; grid-template-columns:46px minmax(190px,1.45fr) minmax(180px,1.15fr) 76px 110px auto 24px; align-items:center; gap:14px; padding:15px 16px; border:0; border-bottom:1px solid var(--line); color:var(--ink); background:transparent; text-align:left; cursor:pointer; transition:background .16s ease,box-shadow .16s ease,transform .16s ease; }
.customer-directory-row:last-child { border-bottom:0; }
.customer-directory-row:hover { z-index:1; background:color-mix(in srgb,var(--violet-wash) 46%,var(--surface)); box-shadow:inset 3px 0 0 var(--violet); }
.customer-directory-row:focus-visible { position:relative; z-index:2; outline:3px solid color-mix(in srgb,var(--violet) 25%,transparent); outline-offset:-3px; }
.customer-directory-row.archived { opacity:.62; }
.customer-directory-avatar { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(145deg,var(--violet-deep),var(--violet)); box-shadow:0 8px 20px color-mix(in srgb,var(--violet) 21%,transparent); font-size:10px; font-weight:950; letter-spacing:.04em; }
.customer-directory-identity,.customer-directory-contact,.customer-directory-metric { display:flex; min-width:0; flex-direction:column; gap:3px; }
.customer-directory-identity strong,.customer-directory-contact strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.customer-directory-identity small,.customer-directory-contact small,.customer-directory-metric small { color:var(--muted); font-size:7px; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.customer-directory-contact > span,.customer-directory-metric > span { overflow:hidden; color:var(--muted); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.customer-directory-metric { align-items:flex-start; }.customer-directory-metric strong { font-size:14px; font-variant-numeric:tabular-nums; }.customer-directory-metric.value strong { color:var(--success); font-size:11px; }
.customer-directory-open { color:var(--muted); font-size:22px; transition:transform .16s ease,color .16s ease; }.customer-directory-row:hover .customer-directory-open { color:var(--violet); transform:translateX(3px); }

.entity-editor-modal:has(.customer-editor-tabs) { width:min(1320px,97vw); max-height:94dvh; overflow:auto; }
.customer-editor-tabs { position:sticky; z-index:8; top:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 18px; padding:8px; border:1px solid var(--line); border-radius:18px; background:color-mix(in srgb,var(--surface) 94%,transparent); box-shadow:0 10px 30px rgba(38,24,74,.06); backdrop-filter:blur(14px); }
.customer-editor-tabs button { display:grid; min-height:68px; grid-template-columns:38px minmax(0,1fr); align-content:center; gap:2px 10px; padding:10px 13px; border:1px solid transparent; border-radius:13px; color:var(--muted); background:transparent; text-align:left; cursor:pointer; }
.customer-editor-tabs button > span { display:grid; width:36px; height:36px; grid-row:1/3; place-items:center; border-radius:11px; color:var(--muted); background:var(--surface-soft); font-size:8px; font-weight:950; }
.customer-editor-tabs button strong { color:var(--ink); font-size:10px; }.customer-editor-tabs button small { overflow:hidden; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.customer-editor-tabs button.active { border-color:color-mix(in srgb,var(--violet) 34%,var(--line)); background:var(--violet-wash); box-shadow:0 7px 18px color-mix(in srgb,var(--violet) 10%,transparent); }.customer-editor-tabs button.active > span { color:#fff; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); }
.customer-master-data { padding:2px 2px 8px; }
.entity-editor-summary { border-color:var(--line); color:var(--ink); background:color-mix(in srgb,var(--violet-wash) 48%,var(--surface)); }

.customer-project-workspace.modern-workspace { margin:0; padding:0; border:0; gap:16px; }
.modern-workspace > header { padding:3px 3px 13px; border-bottom:1px solid var(--line); }.modern-workspace > header > strong { display:grid; min-width:92px; min-height:42px; place-items:center; border-radius:12px; color:var(--violet); background:var(--violet-wash); font-size:9px; }
.modern-workspace .project-access-toolbar { position:sticky; z-index:7; top:92px; padding:14px 15px; border-radius:18px; box-shadow:0 10px 28px rgba(38,24,74,.055); }
.modern-workspace .portfolio-scope { overflow:visible; border-color:color-mix(in srgb,var(--violet) 20%,var(--line)); background:color-mix(in srgb,var(--violet-wash) 28%,var(--surface)); }
.modern-workspace .customer-access-scope > summary { min-height:66px; padding:14px 17px; }.modern-workspace .customer-access-scope > summary b { padding:6px 9px; border-radius:999px; color:var(--violet); background:var(--violet-wash); }
.access-group-section { padding:0 14px 14px; }.access-group-section + .access-group-section { padding-top:14px; border-top:1px solid var(--line); }
.access-group-section > header { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin:0 0 9px; }.access-group-section > header > div { display:grid; gap:2px; }.access-group-section > header strong { font-size:10px; }.access-group-section > header small,.access-group-section > header > span { color:var(--muted); font-size:7px; }.access-group-section > header > span { font-weight:850; }
.modern-workspace .access-subject-grid { grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; border:0; background:transparent; }
.modern-workspace .access-subject-grid label { min-height:64px; padding:10px 11px; cursor:pointer; }.modern-workspace .access-subject-grid label > span { flex:1; }.modern-workspace .access-subject-grid label > b { align-self:flex-start; padding:3px 5px; border-radius:6px; color:var(--muted); background:var(--surface-soft); font-size:6px; text-transform:uppercase; }
.modern-workspace .access-subject-grid label:has(input:checked) > b { color:var(--violet); background:var(--violet-wash); }
.project-access-navigator { display:grid; grid-template-columns:minmax(230px,.7fr) minmax(320px,1fr); align-items:center; gap:18px; padding:15px 16px; border:1px solid var(--line); border-radius:17px; background:var(--surface); }.project-access-navigator > div { display:grid; gap:3px; }.project-access-navigator > div > strong { font-size:12px; }.project-access-navigator > div > small { color:var(--muted); font-size:7px; }.project-access-navigator .permission-searchbar { margin:0; }
.project-access-list { display:grid; gap:8px; }.project-access-list .project-scope { border-radius:13px; background:var(--surface); }.project-access-list .project-scope[open] { border-color:color-mix(in srgb,var(--violet) 32%,var(--line)); box-shadow:0 11px 30px rgba(38,24,74,.07); }.project-access-list .project-scope summary { min-height:58px; padding:11px 15px; }.project-access-list .project-scope summary strong { font-size:10px; }.project-access-list .project-scope summary small { font-size:7px; }.project-access-list .access-group-section { padding:13px 14px 14px; border-top:1px solid var(--line); }
.project-access-pagination { display:flex; align-items:center; justify-content:center; gap:10px; padding:5px 0; color:var(--muted); font-size:8px; }.project-access-pagination button { display:grid; width:34px; height:34px; place-items:center; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--surface); cursor:pointer; }.project-access-pagination button:not(:disabled):hover { color:var(--violet); border-color:var(--violet); background:var(--violet-wash); }.project-access-pagination button:disabled { opacity:.38; cursor:not-allowed; }

.timesheet-entry.compact { justify-content:center; gap:0; padding:2px 6px; border-radius:5px; }.timesheet-entry.compact strong { font-size:7px; }.timesheet-entry.compact small { display:none; }
.timesheet-entry.micro { right:3px; left:3px; min-height:14px; padding:0 5px; border-left-width:3px; border-radius:4px; box-shadow:0 2px 7px rgba(63,38,112,.1); }.timesheet-entry.micro strong { font-size:6px; line-height:1; }
.timeline-entry-block.micro { min-height:14px!important; border-radius:4px; }.timeline-entry-block.micro .timeline-compact-label { right:32px; left:8px; gap:4px; }.timeline-entry-block.micro .timeline-compact-label strong { font-size:7px; }.timeline-entry-block.micro .timeline-compact-label span { display:none; }.timeline-entry-block.micro .compact-entry-more { right:4px; width:24px; height:18px; }

.account-balance-hero > div:first-child > span { color:var(--violet); }.account-stat-grid.balance-stats > div { background:var(--surface); box-shadow:0 6px 18px rgba(42,29,72,.035); }
.account-month-heading { background:linear-gradient(110deg,var(--surface),color-mix(in srgb,var(--violet-wash) 46%,var(--surface))); }
.account-calendar-head > span:nth-child(7),.account-calendar-head > span:nth-child(8) { color:color-mix(in srgb,var(--muted) 78%,var(--ink)); background:color-mix(in srgb,var(--surface-strong) 64%,var(--surface)); }
.account-day-cell.weekend { background:color-mix(in srgb,var(--surface-strong) 72%,var(--surface)); }.account-day-cell.weekend .account-day-number { color:var(--muted); }.account-day-cell.holiday { background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--surface-strong) 58%,var(--surface)),color-mix(in srgb,var(--surface-strong) 58%,var(--surface)) 6px,color-mix(in srgb,var(--surface) 86%,var(--surface-strong)) 6px,color-mix(in srgb,var(--surface) 86%,var(--surface-strong)) 12px); }
.account-day-cell:not(.outside):not(.weekend):not(.holiday) { background:var(--surface); }.account-day-cell:not(.outside):not(.weekend):not(.holiday):hover { background:var(--violet-wash); }
.account-day-values strong { padding:3px 6px; border-radius:7px; background:color-mix(in srgb,currentColor 8%,transparent); }

:root[data-theme="dark"] .customer-directory-row:hover { background:color-mix(in srgb,var(--violet) 10%,var(--surface)); }
:root[data-theme="dark"] .customer-editor-tabs { box-shadow:0 12px 34px rgba(0,0,0,.22); }
:root[data-theme="dark"] .customer-editor-tabs button.active,:root[data-theme="dark"] .modern-workspace .portfolio-scope { background:color-mix(in srgb,var(--violet) 10%,var(--surface)); }
:root[data-theme="dark"] .account-calendar-head > span:nth-child(7),:root[data-theme="dark"] .account-calendar-head > span:nth-child(8),:root[data-theme="dark"] .account-day-cell.weekend { background:color-mix(in srgb,#06070d 46%,var(--surface)); }
:root[data-theme="dark"] .account-day-cell.holiday { background:repeating-linear-gradient(135deg,color-mix(in srgb,#070810 42%,var(--surface)),color-mix(in srgb,#070810 42%,var(--surface)) 6px,var(--surface-soft) 6px,var(--surface-soft) 12px); }

@media (max-width:1080px) { .customer-directory-row { grid-template-columns:46px minmax(180px,1.3fr) minmax(160px,1fr) 70px auto 22px; }.customer-directory-metric.value { display:none; }.modern-workspace .access-subject-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .customer-directory { margin:0 10px 12px; }.customer-directory-row { grid-template-columns:42px minmax(0,1fr) auto 20px; gap:10px; padding:13px 12px; }.customer-directory-contact,.customer-directory-metric { display:none; }.customer-editor-tabs { position:static; grid-template-columns:1fr; }.project-access-navigator { grid-template-columns:1fr; }.modern-workspace .access-subject-grid { grid-template-columns:1fr; }.modern-workspace .project-access-toolbar { position:static; }.entity-editor-modal:has(.customer-editor-tabs) { width:100vw; max-height:100dvh; border-radius:0; }.account-day-cell.weekend { background:color-mix(in srgb,var(--surface-strong) 72%,var(--surface)); } }

/* Phase 37 · ruhige Kundenakte und klares Stundenkonto im Lightmode */
.account-overview.account-cockpit { grid-template-columns:1fr 1fr; border:1px solid var(--line); background:#fff; }
.account-cockpit-card { min-height:305px!important; padding:27px 30px!important; }
.account-balance-summary { background:linear-gradient(135deg,#fbfffd,#fff 64%); }
.account-balance-hero { grid-template-columns:minmax(170px,.75fr) minmax(0,1.25fr); align-items:center; gap:26px; margin-top:2px; padding:20px; border:1px solid #e9e7ee; border-radius:17px; background:#fff; box-shadow:0 10px 28px rgba(42,29,72,.045); }
.account-balance-primary { display:flex!important; grid-row:auto!important; flex-direction:column; gap:7px!important; padding-right:24px; border-right:1px solid var(--line); }
.account-balance-primary > span { color:var(--muted)!important; }
.account-balance-primary > strong { white-space:nowrap; font-size:clamp(27px,2.15vw,34px); }
.account-workload-summary { display:grid; min-width:0; gap:10px; }
.account-workload-summary > div:first-child { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.account-workload-summary > div:first-child span { color:var(--muted); }
.account-workload-summary > div:first-child strong { color:var(--ink); font-size:18px; letter-spacing:-.025em; }
.account-workload-summary .account-workload-progress { height:10px; background:#ece9f2; }
.account-workload-summary p { margin:0; color:var(--muted); font-size:9px; }.account-workload-summary p strong { color:var(--ink); font-size:9px; letter-spacing:0; }
.account-stat-grid.balance-stats { margin-top:15px; }
.account-stat-grid.balance-stats > div { min-height:62px; display:flex; flex-direction:column; justify-content:center; border-color:#e9e7ee; background:#fff; box-shadow:none; }
.account-month { border-color:#e5e2ea; box-shadow:0 12px 32px rgba(42,29,72,.045); }
.account-month-heading { min-height:68px; background:#fff!important; }
.account-month-total { min-width:130px; padding:8px 11px; background:#f5f3f8; }
.account-calendar-head > span { background:#fbfafc; }
.account-week-number { background:#fbfafc; }
.account-day-cell { min-height:88px; }
.account-day-cell.weekend { background:#f4f3f6; }
.account-day-cell.outside { background:repeating-linear-gradient(135deg,#fff,#fff 4px,#f0eef3 4px,#f0eef3 6px); }
.account-week-total { background:#faf9fb; }

.customer-page-heading { align-items:center; margin-bottom:22px; }
.customer-page-heading h1 { margin-top:4px; }
.customer-heading-actions { display:flex; align-items:center; gap:9px; }.customer-heading-actions .button span { font-size:15px; line-height:1; }
.customer-index-card { width:min(1320px,100%); margin:0 auto 80px; overflow:hidden; border-color:#e5e2ea; box-shadow:0 15px 42px rgba(42,29,72,.055); }
.customer-index-header { display:flex; min-height:82px; align-items:center; justify-content:space-between; gap:24px; padding:17px 20px; border-bottom:1px solid var(--line); }
.customer-index-header h2 { margin:4px 0 0; font-size:17px; }
.customer-index-header dl { display:flex; gap:10px; margin:0; }.customer-index-header dl > div { min-width:145px; padding:9px 12px; border-left:1px solid var(--line); }.customer-index-header dt { color:var(--muted); font-size:7px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }.customer-index-header dd { margin:5px 0 0; font-size:12px; font-weight:900; }
.customer-index-card .customer-table-toolbar { display:grid; grid-template-columns:minmax(360px,1fr) 180px auto auto; align-items:center; min-height:76px; background:#fbfafc; }
.customer-index-card .customer-search { height:46px; border-color:#dedbe5; border-radius:13px; background:#fff; box-shadow:0 4px 14px rgba(42,29,72,.035); }
.customer-index-card .customer-search input { font-size:10px; }
.customer-index-card .customer-directory { margin:0; border:0; border-radius:0; }
.customer-index-card .customer-directory-row { min-height:72px; grid-template-columns:20px minmax(230px,1.55fr) minmax(190px,1.2fr) 72px 112px auto 22px; padding:12px 20px; }
.customer-index-card .customer-directory-avatar { width:20px; height:20px; border-radius:50%; background:transparent; box-shadow:none; }.customer-index-card .customer-directory-avatar i { width:9px; height:9px; border-radius:50%; background:var(--violet); box-shadow:0 0 0 5px var(--violet-wash); }
.customer-index-card .customer-directory-row:nth-child(4n+2) .customer-directory-avatar i { background:#35b79b; box-shadow:0 0 0 5px #e3f8f2; }.customer-index-card .customer-directory-row:nth-child(4n+3) .customer-directory-avatar i { background:#e5a731; box-shadow:0 0 0 5px #fff4d9; }.customer-index-card .customer-directory-row:nth-child(4n+4) .customer-directory-avatar i { background:#ea6f86; box-shadow:0 0 0 5px #ffe8ed; }
.customer-index-card .customer-directory-identity strong { font-size:12px; }.customer-index-card .customer-directory-identity small { font-size:8px; font-weight:700; letter-spacing:0; text-transform:none; }
.customer-index-card .customer-directory-row:hover { background:#faf8ff; box-shadow:inset 3px 0 0 var(--violet); }

.page-content > .customer-modal-backdrop { background:rgba(43,30,77,.2); backdrop-filter:blur(10px) saturate(.92); }
.customer-create-modal { width:min(790px,94vw); border-color:rgba(109,74,255,.16); background:#fff; box-shadow:0 34px 100px rgba(31,20,62,.23); }
.customer-create-modal form { padding:22px 24px 24px; }.customer-create-modal textarea { min-height:88px; }.customer-create-modal form > footer { position:sticky; bottom:-24px; margin:20px -24px -24px; padding:15px 24px; background:rgba(255,255,255,.96); backdrop-filter:blur(12px); }
.entity-editor-modal:has(.customer-editor-tabs) { width:min(1180px,96vw); border-color:rgba(109,74,255,.16); background:#fff; box-shadow:0 34px 100px rgba(31,20,62,.23); }
.entity-editor-modal:has(.customer-editor-tabs) > header { background:#fff; }
.entity-editor-modal:has(.customer-editor-tabs) form { padding:18px 24px 24px; }
.customer-editor-tabs { position:static; gap:0; margin:0 0 20px; padding:0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:#fff; box-shadow:none; backdrop-filter:none; }
.customer-editor-tabs button { min-height:62px; border:0; border-bottom:3px solid transparent; border-radius:0; }.customer-editor-tabs button.active { border-color:var(--violet); background:#fff; box-shadow:none; }.customer-editor-tabs button > span { width:34px; height:34px; border-radius:50%; }.customer-editor-tabs button.active > span { box-shadow:0 7px 18px rgba(109,74,255,.2); }
.entity-editor-modal .entity-editor-summary { margin:0 0 20px; padding:15px 17px; border:1px solid #e6e1f3; border-left:4px solid var(--violet); border-radius:14px; background:#fff; box-shadow:0 7px 22px rgba(42,29,72,.04); }
.customer-master-data { padding:0; }.customer-master-data label { color:#5d5969; }.customer-master-data input,.customer-master-data select,.customer-master-data textarea { border-color:#dedbe5!important; background:#fff!important; }
.customer-business-summary { margin:0 0 20px; padding:16px; border:1px solid var(--line); border-radius:15px; background:var(--surface-soft); }
.customer-business-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:14px; }.customer-business-kpis article { display:flex; min-width:0; flex-direction:column; gap:4px; padding:10px 11px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }.customer-business-kpis span { color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; }.customer-business-kpis strong { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.customer-business-summary > header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 9px; }.customer-business-summary > header h3 { margin:2px 0 0; font-size:12px; }
.customer-business-projects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.customer-business-projects article { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:10px; padding:9px 10px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }.customer-business-projects article.archived { opacity:.58; }.customer-business-projects article > span { display:flex; min-width:0; flex-direction:column; gap:3px; }.customer-business-projects strong,.customer-business-projects small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.customer-business-projects strong { font-size:8px; }.customer-business-projects small { color:var(--muted); font-size:7px; }.customer-business-projects a { flex:0 0 auto; color:var(--violet); font-size:7px; font-weight:850; text-decoration:none; }.customer-project-overflow { margin:9px 0 0; color:var(--muted); font-size:7px; }
.selected-access-tags { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding:2px 2px 0; }.selected-access-tags > span { margin-right:3px; color:var(--muted); font-size:7px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }.selected-access-tags button { display:flex; align-items:center; gap:7px; padding:7px 8px 7px 10px; border:1px solid #ddd5ff; border-radius:999px; color:var(--violet-deep); background:#f5f2ff; cursor:pointer; }.selected-access-tags button strong { font-size:8px; }.selected-access-tags button small { color:var(--muted); font-size:7px; }.selected-access-tags button b { display:grid; width:17px; height:17px; place-items:center; border-radius:50%; background:#fff; font-size:9px; }.selected-access-tags button:disabled { cursor:default; opacity:.72; }

:root[data-theme="dark"] .account-overview.account-cockpit,:root[data-theme="dark"] .account-balance-hero,:root[data-theme="dark"] .account-stat-grid.balance-stats > div,:root[data-theme="dark"] .account-month-heading { border-color:var(--line); background:var(--surface)!important; }
:root[data-theme="dark"] .account-balance-summary { background:linear-gradient(145deg,color-mix(in srgb,var(--violet) 11%,var(--surface)),var(--surface) 62%); }
:root[data-theme="dark"] .account-workload-summary .account-workload-progress { background:var(--surface-strong); }
:root[data-theme="dark"] .account-calendar-head > span,:root[data-theme="dark"] .account-week-number,:root[data-theme="dark"] .account-week-total { background:var(--surface-soft); }
:root[data-theme="dark"] .customer-index-card .customer-table-toolbar,:root[data-theme="dark"] .customer-index-card .customer-search,:root[data-theme="dark"] .customer-create-modal,:root[data-theme="dark"] .customer-create-modal form > footer,:root[data-theme="dark"] .entity-editor-modal:has(.customer-editor-tabs),:root[data-theme="dark"] .entity-editor-modal:has(.customer-editor-tabs) > header,:root[data-theme="dark"] .customer-editor-tabs,:root[data-theme="dark"] .customer-editor-tabs button.active,:root[data-theme="dark"] .entity-editor-modal .entity-editor-summary { border-color:var(--line); background:var(--surface); }
:root[data-theme="dark"] .customer-index-card .customer-directory-row:hover { background:color-mix(in srgb,var(--violet) 10%,var(--surface)); }
:root[data-theme="dark"] .customer-master-data input,:root[data-theme="dark"] .customer-master-data select,:root[data-theme="dark"] .customer-master-data textarea { border-color:var(--line)!important; background:var(--surface-soft)!important; }
:root[data-theme="dark"] .customer-business-summary { background:var(--surface-soft); }:root[data-theme="dark"] .customer-business-kpis article,:root[data-theme="dark"] .customer-business-projects article { background:var(--surface); }
:root[data-theme="dark"] .selected-access-tags button { border-color:color-mix(in srgb,var(--violet) 35%,var(--line)); color:#dcd3ff; background:color-mix(in srgb,var(--violet) 12%,var(--surface)); }.selected-access-tags button b { background:var(--surface); }

@media (max-width:980px) { .account-overview.account-cockpit { grid-template-columns:1fr; }.account-overview article + article { border-top:1px solid var(--line); border-left:0; }.customer-index-card .customer-table-toolbar { grid-template-columns:1fr 160px; }.customer-index-card .customer-directory-row { grid-template-columns:20px minmax(180px,1.3fr) minmax(160px,1fr) 70px auto 22px; }.customer-index-card .customer-directory-metric.value { display:none; }.customer-business-kpis { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { .customer-heading-actions { width:100%; flex-direction:column; }.customer-heading-actions .button { width:100%; }.customer-index-header { align-items:flex-start; flex-direction:column; }.customer-index-header dl { width:100%; }.customer-index-header dl > div { flex:1; }.customer-index-card .customer-table-toolbar { grid-template-columns:1fr; }.customer-index-card .customer-directory-row { grid-template-columns:20px minmax(0,1fr) auto 20px; }.customer-index-card .customer-directory-contact,.customer-index-card .customer-directory-metric { display:none; }.customer-business-kpis,.customer-business-projects { grid-template-columns:1fr; }.customer-business-summary > header { align-items:flex-start; flex-direction:column; }.account-balance-hero { grid-template-columns:1fr; }.account-balance-primary { padding:0 0 16px; border-right:0; border-bottom:1px solid var(--line); } }

/* Phase 38 · berechtigungsabhängiger Geist-Radar, aufgelaufenes Zeitkonto und klarer Tageseditor */
.account-cockpit { overflow:hidden; border:1px solid color-mix(in srgb,var(--violet) 22%,var(--line)); box-shadow:0 22px 60px rgba(53,35,103,.09),inset 0 1px 0 color-mix(in srgb,var(--surface) 82%,#fff); }
.account-balance-summary { background:linear-gradient(145deg,color-mix(in srgb,var(--violet-wash) 48%,var(--surface)),var(--surface) 63%); }
.account-balance-primary small { max-width:230px; margin-top:4px; line-height:1.4; }
.account-balance-hero { padding:13px 15px; border:1px solid color-mix(in srgb,var(--violet) 18%,var(--line)); border-radius:16px; background:color-mix(in srgb,var(--surface) 91%,var(--violet-wash)); }
.account-stat-grid.balance-stats { margin-top:11px; }

.time-workspace-backdrop { padding:12px; background:rgba(34,24,68,.26); backdrop-filter:blur(5px) saturate(1.02); }
.time-workspace-window { width:min(1880px,calc(100vw - 24px)); height:calc(100dvh - 24px); border-color:color-mix(in srgb,var(--violet) 22%,var(--line)); border-radius:22px; box-shadow:0 34px 90px rgba(31,20,68,.25); }
.time-workspace-content,.app-shell:has(.time-entry-focus-mode) .page-content { background:var(--surface); }
.time-entry-focus-mode .drag-timeline-shell { border-color:color-mix(in srgb,var(--violet) 15%,var(--line)); background:var(--surface); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--surface) 70%,transparent); }
.time-entry-focus-mode .timeline-track { background-color:var(--surface); background-image:linear-gradient(color-mix(in srgb,var(--line) 52%,transparent) 1px,transparent 1px); }
.time-entry-focus-mode .timeline-hours { background:color-mix(in srgb,var(--surface-soft) 38%,var(--surface)); }
.time-entry-focus-mode .timeline-empty-overlay { border-color:color-mix(in srgb,var(--violet) 30%,var(--line)); background:var(--surface); box-shadow:0 16px 42px rgba(54,34,105,.1); }

.geist-radar-heading { margin-bottom:18px; }
.geist-radar-hero { position:relative; display:grid; min-height:182px; grid-template-columns:148px minmax(0,1fr) auto; align-items:center; gap:24px; margin-bottom:16px; padding:22px 26px; overflow:hidden; border-color:color-mix(in srgb,var(--violet) 24%,var(--line)); background:radial-gradient(circle at 7% 50%,color-mix(in srgb,var(--violet) 13%,transparent),transparent 26%),linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--violet-wash) 42%,var(--surface))); box-shadow:0 18px 48px rgba(48,30,97,.08); }
.geist-radar-visual { position:relative; display:grid; width:132px; height:132px; place-items:center; border-radius:50%; background:radial-gradient(circle,color-mix(in srgb,var(--violet) 12%,var(--surface)),transparent 64%); }
.geist-radar-visual i { position:relative; z-index:3; display:grid; width:48px; height:48px; place-items:center; border-radius:16px; color:#fff; background:linear-gradient(145deg,var(--violet),var(--violet-deep)); box-shadow:0 10px 30px color-mix(in srgb,var(--violet) 35%,transparent); font-size:23px; font-style:normal; }
.geist-radar-orbit { position:absolute; border:1px solid color-mix(in srgb,var(--violet) 30%,transparent); border-radius:50%; animation:geist-radar-pulse 3.4s ease-in-out infinite; }.geist-radar-orbit.one { width:72px; height:72px; }.geist-radar-orbit.two { width:100px; height:100px; animation-delay:.35s; }.geist-radar-orbit.three { width:128px; height:128px; animation-delay:.7s; }
.geist-radar-visual.alert i { background:linear-gradient(145deg,#ff785f,#cc334f); }.geist-radar-visual.alert .geist-radar-orbit { border-color:color-mix(in srgb,var(--danger) 34%,transparent); }.geist-radar-visual.clear i { background:linear-gradient(145deg,#42d797,#079765); }.geist-radar-visual.clear .geist-radar-orbit { border-color:color-mix(in srgb,var(--success) 32%,transparent); }
@keyframes geist-radar-pulse { 0%,100% { opacity:.42; transform:scale(.96); } 50% { opacity:1; transform:scale(1.03); } }
.geist-radar-copy { display:grid; gap:5px; }.geist-radar-copy h2 { margin:0; font-size:22px; letter-spacing:-.025em; }.geist-radar-copy > p { max-width:720px; margin:0; color:var(--muted); font-size:10px; line-height:1.55; }
.geist-radar-scope { display:flex; align-items:center; gap:6px; margin-top:8px; }.geist-radar-scope span { color:var(--muted); font-size:7px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }.geist-radar-scope b { padding:5px 8px; border-radius:999px; color:var(--violet); background:var(--violet-wash); font-size:7px; }
.geist-radar-score { display:grid; min-width:245px; grid-template-columns:repeat(3,1fr); gap:1px; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--line); }.geist-radar-score > div { display:grid; gap:3px; padding:15px 13px; background:var(--surface); text-align:center; }.geist-radar-score dt { color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; }.geist-radar-score dd { margin:0; font-size:19px; font-weight:950; }
.geist-radar-filters { grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; }.geist-radar-filters button { position:relative; display:grid; min-height:105px; grid-template-columns:38px minmax(0,1fr); align-content:center; gap:2px 10px; padding:15px; }.geist-radar-filters button > i { display:grid; width:36px; height:36px; grid-row:1/4; place-items:center; border-radius:11px; color:var(--violet); background:var(--violet-wash); font-size:15px; font-style:normal; }.geist-radar-filters button > span,.geist-radar-filters button > strong,.geist-radar-filters button > small { margin:0; }.geist-radar-filters button > span { font-size:8px; }.geist-radar-filters button > strong { font-size:21px; line-height:1; }.geist-radar-filters button > small { overflow:hidden; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.geist-radar-workspace { grid-template-columns:minmax(0,1.48fr) minmax(315px,.52fr); }.geist-radar-feed { border-color:color-mix(in srgb,var(--violet) 15%,var(--line)); }.geist-radar-list > .geist-radar-item { grid-template-columns:48px minmax(0,1fr) auto; min-height:124px; padding:18px 20px; }.geist-radar-list > .geist-radar-item:hover { background:color-mix(in srgb,var(--violet-wash) 22%,var(--surface)); }
.geist-radar-item-copy { gap:6px!important; }.geist-radar-item-meta { display:flex!important; flex-direction:row!important; align-items:center; gap:6px!important; }.geist-radar-item-meta span,.geist-radar-item-meta b,.geist-radar-item-meta em { padding:4px 6px; border-radius:6px; font-size:6px!important; font-style:normal; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }.geist-radar-item-meta span { color:var(--violet); background:var(--violet-wash); }.geist-radar-item-meta b { color:var(--muted); background:var(--surface-soft); }.geist-radar-item-meta em { color:var(--danger); background:var(--danger-wash); }.geist-radar-item-copy > small { color:var(--muted); font-size:7px; }.geist-radar-item .button span { margin-left:4px; }
.geist-radar-rules { border-color:color-mix(in srgb,var(--violet) 15%,var(--line)); }.geist-rule-state.system > span { color:var(--violet); background:var(--violet-wash); }

:root[data-theme="dark"] .account-cockpit { border-color:color-mix(in srgb,var(--violet) 31%,var(--line)); box-shadow:0 24px 70px rgba(0,0,0,.3); }
:root[data-theme="dark"] .account-balance-hero { background:color-mix(in srgb,var(--violet) 8%,var(--surface)); }
:root[data-theme="dark"] .time-workspace-backdrop { background:rgba(2,3,8,.67); backdrop-filter:blur(7px); }
:root[data-theme="dark"] .time-entry-focus-mode .timeline-track { background-color:#10121a; }
:root[data-theme="dark"] .time-entry-focus-mode .timeline-hours { background:#0d0f16; }
:root[data-theme="dark"] .geist-radar-hero { background:radial-gradient(circle at 7% 50%,color-mix(in srgb,var(--violet) 20%,transparent),transparent 28%),linear-gradient(120deg,var(--surface),color-mix(in srgb,var(--violet) 8%,var(--surface))); }

@media (max-width:1180px) { .geist-radar-filters { grid-template-columns:repeat(3,1fr); }.geist-radar-hero { grid-template-columns:120px 1fr; }.geist-radar-score { grid-column:1/-1; width:100%; }.geist-radar-workspace { grid-template-columns:1fr; }.geist-radar-rules { position:static; } }
@media (max-width:720px) { .geist-radar-hero { grid-template-columns:1fr; text-align:center; }.geist-radar-visual { margin:auto; }.geist-radar-scope { justify-content:center; flex-wrap:wrap; }.geist-radar-filters { grid-template-columns:1fr; }.geist-radar-list > .geist-radar-item { grid-template-columns:42px minmax(0,1fr); }.geist-radar-item > .button { grid-column:1/-1; justify-self:stretch; }.time-workspace-backdrop { padding:0; } }

/* Phase 39 · kompakte Zeitblöcke, persönliches Prüfprofil und Jahres-Plantafel */
.timeline-entry-block.compact,
.timeline-entry-block.micro {
    min-height:24px!important;
    justify-content:center;
    padding:3px 43px 3px 10px;
    overflow:visible;
    border-radius:8px;
    box-shadow:0 5px 14px rgba(58,39,135,.13);
}
.timeline-entry-block.compact .timeline-compact-label,
.timeline-entry-block.micro .timeline-compact-label {
    position:static;
    display:grid;
    min-width:0;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:7px;
}
.timeline-entry-block.compact .timeline-compact-label strong,
.timeline-entry-block.micro .timeline-compact-label strong {
    overflow:hidden;
    font-size:8px;
    line-height:1.15;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.timeline-entry-block.compact .timeline-compact-label span,
.timeline-entry-block.micro .timeline-compact-label span {
    display:block;
    overflow:hidden;
    max-width:42%;
    color:var(--muted);
    font-size:6px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.timeline-entry-more {
    position:absolute!important;
    z-index:18;
    right:8px;
    bottom:7px;
    display:grid!important;
    width:30px;
    min-width:30px;
    height:24px;
    margin:0!important;
    padding:0!important;
    place-items:center;
    border:1px solid color-mix(in srgb,var(--violet) 28%,var(--line))!important;
    border-radius:9px!important;
    color:var(--violet)!important;
    background:color-mix(in srgb,var(--surface) 94%,transparent)!important;
    box-shadow:0 4px 12px rgba(45,30,92,.08);
    font-size:9px!important;
}
.timeline-entry-block.compact .timeline-entry-more,
.timeline-entry-block.micro .timeline-entry-more { top:50%; right:5px; bottom:auto; height:20px; transform:translateY(-50%); }
.timeline-entry-block.actions-open { z-index:24; }
.timeline-entry-block:hover { z-index:12; }
.time-entry-action-menu { z-index:32; }

.time-entry-modal-backdrop { background:#fff; backdrop-filter:none; }
:root[data-theme="dark"] .time-entry-modal-backdrop { background:#080910; }
.time-workspace-backdrop {
    background:rgba(29,21,52,.34);
    backdrop-filter:blur(10px) saturate(.94);
}
:root[data-theme="dark"] .time-workspace-backdrop {
    background:rgba(1,2,7,.72);
    backdrop-filter:blur(10px) saturate(.9);
}

.geist-preference-grid label > span { grid-template-rows:auto auto auto; }
.geist-preference-grid label > span i { grid-row:1/4; }
.geist-preference-grid label > span b { width:max-content; margin-top:3px; padding:3px 6px; border-radius:999px; color:var(--violet); background:color-mix(in srgb,var(--violet-wash) 72%,var(--surface)); font-size:6px; font-weight:900; font-style:normal; text-transform:uppercase; letter-spacing:.045em; }

.calendar-toolbar .team-calendar-view-switch { min-width:0; flex-direction:row; gap:0; margin-left:auto; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.team-calendar-view-switch button { display:flex; min-height:42px; align-items:center; gap:7px; padding:0 14px; border:0; color:var(--muted); background:transparent; font-size:8px; font-weight:900; cursor:pointer; }
.team-calendar-view-switch button + button { border-left:1px solid var(--line); }
.team-calendar-view-switch button span { color:inherit!important; font-size:14px!important; letter-spacing:0!important; }
.team-calendar-view-switch button.active { color:#fff; background:linear-gradient(135deg,var(--violet),var(--violet-deep)); }
.calendar-toolbar > .button { margin-left:0; }

.team-month-planner { overflow:hidden; border-top:1px solid var(--line); }
.team-month-week { display:grid; min-height:104px; grid-template-columns:repeat(7,minmax(0,1fr)); grid-template-rows:34px repeat(var(--week-lanes),24px); align-content:start; padding-bottom:10px; border-bottom:1px solid var(--line); background:var(--surface); }
.team-month-week:last-child { border-bottom:0; }
.team-month-date { position:relative; display:flex; min-width:0; align-items:center; gap:6px; padding:9px 11px 7px; border-right:1px solid var(--line); color:var(--ink); font-size:9px; }
.team-month-date:nth-of-type(7n) { border-right:0; }
.team-month-date.outside { color:var(--muted); background:color-mix(in srgb,var(--surface-soft) 58%,var(--surface)); }
.team-month-date.today { color:var(--violet); background:color-mix(in srgb,var(--violet-wash) 42%,var(--surface)); box-shadow:inset 0 3px 0 var(--violet); }
.team-month-date > span { padding:2px 5px; border-radius:999px; color:#fff; background:var(--violet); font-size:6px; font-weight:900; text-transform:uppercase; }
.team-month-date > small { overflow:hidden; margin-left:auto; padding:3px 6px; border-radius:6px; color:#7b5d00; background:#fff4bf; font-size:6px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.team-month-segment { position:relative; z-index:2; display:flex; min-width:0; align-items:center; gap:7px; margin:2px 5px; padding:4px 8px; overflow:hidden; border-radius:7px; color:#fff; background:var(--absence-color); box-shadow:0 4px 10px color-mix(in srgb,var(--absence-color) 20%,transparent); line-height:1; }
.team-month-segment strong { overflow:hidden; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.team-month-segment span { overflow:hidden; color:rgba(255,255,255,.78); font-size:6px; text-overflow:ellipsis; white-space:nowrap; }.team-month-segment b { margin-left:auto; padding:2px 4px; border-radius:4px; color:var(--ink); background:rgba(255,255,255,.86); font-size:5px; text-transform:uppercase; }
.team-month-segment.pending { border:1px solid var(--absence-color); color:var(--ink); background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--absence-color) 24%,var(--surface)),color-mix(in srgb,var(--absence-color) 24%,var(--surface)) 4px,var(--surface) 4px,var(--surface) 8px); box-shadow:none; }.team-month-segment.pending span { color:var(--muted); }

.absence-board-card { overflow:hidden; }
.absence-board-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding:18px 20px; border-bottom:1px solid var(--line); }
.absence-board-head h2 { margin:3px 0 0; font-size:15px; }.absence-board-head > small { color:var(--muted); font-size:8px; }
.absence-board-scroll { overflow:auto; }
.absence-board-grid { display:grid; min-width:1320px; grid-template-columns:210px repeat(12,minmax(88px,1fr)); align-items:stretch; }
.absence-board-corner,.absence-board-month-name { position:sticky; z-index:4; top:0; min-height:42px; padding:13px 10px; border-bottom:1px solid var(--line); color:var(--muted); background:color-mix(in srgb,var(--surface) 96%,transparent); font-size:8px; font-weight:900; text-align:center; text-transform:uppercase; backdrop-filter:blur(12px); }
.absence-board-corner { left:0; z-index:6; text-align:left; }
.absence-board-person { position:sticky; z-index:3; left:0; display:grid; min-height:62px; grid-template-columns:34px minmax(0,1fr); align-content:center; gap:1px 9px; padding:9px 12px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); }
.absence-board-person > span { display:grid; width:32px; height:32px; grid-row:1/3; place-items:center; border-radius:10px; color:#fff; background:linear-gradient(145deg,var(--violet),var(--violet-deep)); font-size:8px; font-weight:950; }
.absence-board-person strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.absence-board-person small { overflow:hidden; color:var(--muted); font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.absence-board-month-cell { min-height:62px; padding:9px 5px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); }
.absence-board-month-cell.current { background:color-mix(in srgb,var(--violet-wash) 42%,var(--surface)); box-shadow:inset 2px 0 0 color-mix(in srgb,var(--violet) 35%,transparent),inset -2px 0 0 color-mix(in srgb,var(--violet) 35%,transparent); }
.absence-board-day-grid { display:grid; min-height:42px; grid-template-columns:repeat(31,1fr); grid-auto-rows:8px; align-content:center; gap:3px 0; }
.absence-board-day-grid i { min-width:2px; border-radius:3px; background:var(--absence-color); box-shadow:0 2px 5px color-mix(in srgb,var(--absence-color) 18%,transparent); }
.absence-board-day-grid i.pending { border:1px solid var(--absence-color); background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--absence-color) 65%,transparent),color-mix(in srgb,var(--absence-color) 65%,transparent) 3px,transparent 3px,transparent 6px); }

:root[data-theme="dark"] .timeline-entry-more { color:#d4ccff!important; background:#242035!important; }
:root[data-theme="dark"] .absence-board-corner,:root[data-theme="dark"] .absence-board-month-name { background:color-mix(in srgb,var(--surface) 94%,transparent); }
:root[data-theme="dark"] .team-month-date > small { color:#ffe58c; background:rgba(146,107,0,.28); }

@media (max-width:760px) {
    .calendar-toolbar .team-calendar-view-switch { width:100%; margin:0; }
    .team-calendar-view-switch button { flex:1; justify-content:center; }
    .absence-board-head { align-items:flex-start; flex-direction:column; }
}

/* Phase 41 · produktive Erfassung und wirklich lesbare Teamplanung */
.time-entry-modal-backdrop {
    z-index: 92;
    box-sizing: border-box;
    width: 100vw;
    height: 100dvh;
    padding: clamp(18px, 3vw, 48px);
    overflow: auto;
    background: rgba(29, 21, 52, .34);
    backdrop-filter: blur(10px) saturate(.94);
}
.slot-entry-workspace-modal {
    display: grid;
    width: min(1240px, calc(100vw - clamp(36px, 6vw, 96px)))!important;
    height: min(900px, calc(100dvh - clamp(36px, 6vw, 96px)));
    max-width: none!important;
    max-height: calc(100dvh - clamp(36px, 6vw, 96px));
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--violet) 22%, var(--line));
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 36px 110px rgba(24, 14, 55, .3);
}
.slot-entry-workspace-modal > header {
    min-height: 92px;
    align-items: center;
    padding: 20px 26px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--violet-wash) 42%, var(--surface)), var(--surface) 62%);
}
.slot-entry-workspace-modal > header h2 { margin: 4px 0 3px; font-size: 23px; letter-spacing: -.035em; }
.slot-entry-workspace-modal > header p { margin: 0; color: var(--muted); font-size: 10px; }
.slot-entry-workspace-modal > header > button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.slot-entry-workspace-modal .slot-entry-workspace-form {
    display: grid;
    min-height: 0;
    max-height: none;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 0!important;
    overflow: hidden;
}
.slot-entry-workspace-form > .validation-toast,
.slot-entry-workspace-form > .alert { margin: 14px 24px 0; }
.slot-entry-workspace-form .slot-create-summary {
    min-height: 66px;
    margin: 18px 24px 0;
    padding: 12px 14px;
    border-color: color-mix(in srgb, var(--violet) 18%, var(--line));
    background: color-mix(in srgb, var(--violet-wash) 58%, var(--surface));
}
.slot-entry-workspace-form .slot-create-summary > span { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.slot-entry-workspace-form .slot-create-summary strong { font-size: 11px; }
.slot-entry-workspace-form .slot-create-summary small { font-size: 8px; }
.slot-entry-workspace-grid {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr);
    gap: 0;
    margin-top: 18px;
    overflow: auto;
    border-top: 1px solid var(--line);
}
.slot-entry-main-fields,
.slot-entry-side-fields { display: flex; min-width: 0; flex-direction: column; gap: 16px; padding: 22px 24px 26px; }
.slot-entry-main-fields { border-right: 1px solid var(--line); }
.slot-entry-side-fields { background: color-mix(in srgb, var(--surface-soft) 54%, var(--surface)); }
.slot-entry-section-heading { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; margin-bottom: 2px; }
.slot-entry-section-heading > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 950; }
.slot-entry-section-heading > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.slot-entry-section-heading strong { font-size: 11px; }
.slot-entry-section-heading small { color: var(--muted); font-size: 8px; line-height: 1.35; }
.slot-entry-time-grid { gap: 14px; }
.slot-entry-workspace-modal label { gap: 8px; color: color-mix(in srgb, var(--ink) 84%, var(--muted)); font-size: 9px; }
.slot-entry-workspace-modal label > small { color: var(--muted); font-size: 7px; font-weight: 600; }
.slot-entry-workspace-modal input,
.slot-entry-workspace-modal textarea { border-color: color-mix(in srgb, var(--violet) 12%, var(--line))!important; background: var(--surface)!important; }
.slot-entry-workspace-modal input { min-height: 48px; padding-inline: 14px; border-radius: 12px; }
.slot-entry-workspace-modal textarea { padding: 13px 14px; border-radius: 13px; resize: vertical; }
.slot-entry-workspace-modal .slot-select-field .searchable-select-control { min-height: 56px; background: var(--surface); }
.slot-entry-workspace-modal .slot-entry-activity {
    display: flex!important;
    width: 100%;
    flex-direction: column!important;
    align-items: stretch!important;
}
.slot-entry-workspace-modal .slot-entry-activity textarea {
    display: block;
    width: 100%!important;
    min-height: 190px!important;
    box-sizing: border-box;
}
.slot-entry-side-fields > label { display: flex; flex-direction: column; }
.slot-entry-side-fields .toggle-field.slot-entry-billable {
    display: grid!important;
    min-height: 84px;
    grid-template-columns: 19px minmax(0, 1fr);
    align-items: center;
    gap: 12px!important;
    padding: 15px;
    border: 1px solid color-mix(in srgb, var(--violet) 15%, var(--line));
    border-radius: 14px;
    background: var(--surface);
}
.slot-entry-billable > span { display: flex; flex-direction: column; gap: 4px; }
.slot-entry-billable > span strong { color: var(--ink); font-size: 10px; }
.slot-entry-billable > span small { color: var(--muted); font-size: 7px; line-height: 1.4; }
.slot-entry-check-note { display: flex; gap: 10px; margin-top: auto; padding: 13px; border: 1px solid color-mix(in srgb, var(--success) 22%, var(--line)); border-radius: 13px; background: color-mix(in srgb, var(--success-wash) 55%, var(--surface)); }
.slot-entry-check-note > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; color: #fff; background: var(--success); font-weight: 950; }
.slot-entry-check-note p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.slot-entry-check-note strong { font-size: 9px; }.slot-entry-check-note small { color: var(--muted); font-size: 7px; line-height: 1.4; }
.slot-entry-workspace-actions {
    position: relative!important;
    bottom: auto!important;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0!important;
    padding: 14px 24px!important;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    box-shadow: 0 -10px 34px rgba(34, 24, 70, .055);
    backdrop-filter: blur(14px);
}
.slot-entry-workspace-actions > span { display: flex; flex-direction: column; gap: 3px; }
.slot-entry-workspace-actions > span strong { font: 850 11px "Cascadia Mono", Consolas, monospace; }
.slot-entry-workspace-actions > span small { color: var(--muted); font-size: 8px; }
.slot-entry-workspace-actions > div { display: flex; gap: 9px; }
.slot-entry-workspace-actions .button { min-height: 43px; padding-inline: 17px; }

.team-calendar-card { max-height: none; overflow: auto; }
.team-calendar-weekdays,
.team-month-planner { min-width: 1120px; }
.team-month-planner { overflow: visible; border-top: 0; }
.team-month-week {
    display: grid;
    min-height: max(132px, calc(48px + var(--week-lanes) * 31px));
    grid-template-columns: 58px repeat(7, minmax(150px, 1fr));
    grid-template-rows: 46px repeat(var(--week-lanes), 31px);
    align-content: start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.team-month-week-number { grid-column: 1; grid-row: 1 / -1; padding-top: 15px; font-size: 10px; }
.team-month-date { min-height: 46px; padding: 12px 13px 9px; font-size: 11px; }
.team-month-date.weekend { background: color-mix(in srgb, var(--surface-soft) 82%, var(--surface)); }
.team-month-segment { min-height: 27px; margin: 2px 6px; padding: 6px 9px; border-radius: 7px; }
.team-month-segment strong { font-size: 9px; }.team-month-segment span { font-size: 7px; }.team-month-segment b { font-size: 6px; }
.calendar-filter-bar.team-calendar-wide { position: relative; z-index: 10; }
.calendar-filter-bar.team-calendar-wide label,
.calendar-filter-bar.team-calendar-wide > div { min-width: 0; }
.calendar-filter-bar.team-calendar-wide select { min-height: 48px; border-radius: 13px; }
.calendar-filter-bar.team-calendar-wide > span { justify-self: end; }

@media (max-width: 1500px) {
    .calendar-filter-bar.team-calendar-wide {
        grid-template-columns: minmax(250px, 1.35fr) minmax(170px, .78fr) minmax(190px, .87fr);
        row-gap: 12px;
    }
    .calendar-filter-bar.team-calendar-wide .calendar-approved-filter {
        width: max-content;
        min-width: 168px;
        grid-column: 1;
    }
    .calendar-filter-bar.team-calendar-wide > button { justify-self: start; }
    .calendar-filter-bar.team-calendar-wide > span { align-self: center; justify-self: end; }
}

.absence-board-head { align-items: center; }
.absence-board-head > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.absence-board-head > div:first-child > small { color: var(--muted); font-size: 8px; }
.absence-board-zoom { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.absence-board-zoom button { width: 42px; border: 0; color: var(--violet); background: var(--surface); font-size: 17px; font-weight: 900; cursor: pointer; }
.absence-board-zoom button:disabled { color: var(--muted); opacity: .42; cursor: default; }
.absence-board-zoom button + span,
.absence-board-zoom span + button { border-left: 1px solid var(--line); }
.absence-board-zoom > span { display: flex; min-width: 108px; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 12px; text-align: center; }
.absence-board-zoom strong { font-size: 8px; }.absence-board-zoom small { color: var(--muted); font-size: 6px; }
.absence-board-scroll { max-height: min(72vh, 760px); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.absence-board-grid {
    display: grid;
    width: max-content;
    min-width: calc(220px + var(--board-days) * var(--board-day-width));
    grid-template-columns: 220px repeat(var(--board-days), var(--board-day-width));
    align-items: stretch;
}
.absence-board-corner { grid-column: 1; }
.absence-board-month-name { min-height: 48px; padding: 15px 8px; border-right: 1px solid var(--line); font-size: 9px; }
.absence-board-person { min-height: 78px; grid-column: 1; }
.absence-board-year-track {
    position: relative;
    display: grid;
    min-height: 78px;
    grid-column: 2 / -1;
    grid-template-columns: repeat(var(--board-days), var(--board-day-width));
    grid-template-rows: repeat(3, 18px);
    align-content: center;
    gap: 3px 0;
    border-bottom: 1px solid var(--line);
    background: repeating-linear-gradient(90deg, transparent, transparent calc(var(--board-day-width) - 1px), color-mix(in srgb, var(--line) 36%, transparent) calc(var(--board-day-width) - 1px), color-mix(in srgb, var(--line) 36%, transparent) var(--board-day-width));
}
.absence-board-year-track::after { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent, transparent calc(var(--board-day-width) * 7 - 1px), color-mix(in srgb, var(--line) 70%, transparent) calc(var(--board-day-width) * 7 - 1px), color-mix(in srgb, var(--line) 70%, transparent) calc(var(--board-day-width) * 7)); content: ""; }
.absence-board-year-track i { z-index: 2; display: flex; min-width: 4px; align-items: center; padding: 0 5px; overflow: hidden; border-radius: 4px; color: #fff; background: var(--absence-color); box-shadow: 0 2px 7px color-mix(in srgb, var(--absence-color) 24%, transparent); font-style: normal; }
.absence-board-year-track i span { overflow: hidden; font-size: 7px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.absence-board-year-track i.pending { border: 1px solid var(--absence-color); color: var(--ink); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--absence-color) 30%, var(--surface)), color-mix(in srgb, var(--absence-color) 30%, var(--surface)) 4px, var(--surface) 4px, var(--surface) 8px); }

:root[data-theme="dark"] .time-entry-modal-backdrop { background: rgba(1, 2, 7, .72); }
:root[data-theme="dark"] .slot-entry-side-fields { background: color-mix(in srgb, var(--surface-soft) 72%, var(--surface)); }
:root[data-theme="dark"] .slot-entry-workspace-modal input,
:root[data-theme="dark"] .slot-entry-workspace-modal textarea,
:root[data-theme="dark"] .slot-entry-workspace-modal .slot-select-field .searchable-select-control { background: var(--surface-soft)!important; }

@media (max-width: 900px) {
    .slot-entry-workspace-modal { width: min(760px, calc(100vw - 30px))!important; height: calc(100dvh - 30px); max-height: calc(100dvh - 30px); }
    .slot-entry-workspace-form { max-height: none; }
    .slot-entry-workspace-grid { grid-template-columns: 1fr; }
    .slot-entry-main-fields { border-right: 0; border-bottom: 1px solid var(--line); }
    .slot-entry-workspace-actions { align-items: stretch; flex-direction: column; }
    .slot-entry-workspace-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
    .team-calendar-card { overflow: auto; }
    .calendar-filter-bar.team-calendar-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .calendar-filter-bar.team-calendar-wide > div:first-child { grid-column: 1 / -1; }
    .calendar-filter-bar.team-calendar-wide .calendar-approved-filter { width: 100%; min-width: 0; grid-column: auto; }
    .calendar-filter-bar.team-calendar-wide > span { justify-self: start; }
}
@media (max-width: 560px) {
    .time-entry-modal-backdrop { padding: 0; place-items: stretch; }
    .slot-entry-workspace-modal { width: 100vw!important; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    .slot-entry-workspace-modal > header { min-height: 82px; padding: 16px; }
    .slot-entry-workspace-modal > header h2 { font-size: 19px; }
    .slot-entry-workspace-form { max-height: none; }
    .slot-entry-workspace-form .slot-create-summary { margin: 12px 14px 0; }
    .slot-entry-main-fields,.slot-entry-side-fields { padding: 18px 14px 22px; }
    .slot-entry-workspace-actions { padding: 12px 14px!important; }
    .slot-entry-workspace-actions > span { display: none; }
    .slot-entry-time-grid { grid-template-columns: 1fr 1fr!important; }
    .absence-board-head { align-items: flex-start; }
    .calendar-filter-bar.team-calendar-wide { grid-template-columns: 1fr; }
    .calendar-filter-bar.team-calendar-wide > div:first-child { grid-column: auto; }
    .calendar-filter-bar.team-calendar-wide > button { width: 100%; }
}

/* Version 1.2.1 · finale Desktop-Proportionen */
.page-content:has(> .time-entry-page) {
    padding-inline: clamp(18px, 2vw, 36px);
}
.page-content:has(> .time-entry-page) > .time-entry-page,
.app-shell:has(.time-entry-focus-mode) .page-content > .time-entry-page {
    width: min(1880px, 100%)!important;
    max-width: none!important;
}
@media (min-width: 1181px) {
    .time-entry-page .timeline-layout {
        grid-template-columns: minmax(0, 1.82fr) minmax(390px, .58fr);
        gap: 24px;
    }
}

.planning-board-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
}
.planning-board-focus {
    display: flex;
    min-width: 170px;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--success) 24%, var(--line));
    border-radius: 13px;
    background: color-mix(in srgb, var(--success-wash) 58%, var(--surface));
}
.planning-board-focus > span { color: var(--success); font-size: 6px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.planning-board-focus > strong { font-size: 10px; }
.planning-board-focus > small { color: var(--muted); font-size: 7px; }
.planning-board-month { min-height: 48px; }
.planning-board-week-label,
.planning-board-week { top: 48px; min-height: 30px; }
.planning-board-person,
.planning-board-track { min-height: 86px; }
.planning-board-today { width: 3px; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 14%, transparent); }

.page-content:has(> .geist-radar-heading) {
    padding-inline: clamp(18px, 2.2vw, 42px);
}
.page-content:has(> .geist-radar-heading) > * {
    width: min(1780px, 100%)!important;
    max-width: none!important;
}
@media (min-width: 1261px) {
    .geist-radar-workspace {
        grid-template-columns: minmax(0, 1.65fr) minmax(500px, .72fr)!important;
        gap: 26px;
    }
    .geist-radar-rules { position: sticky; top: 18px; }
}
.geist-radar-rules {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--violet) 18%, var(--line));
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 54px rgba(43, 28, 91, .09);
}
.geist-radar-rules > .geist-rule-toggle {
    width: calc(100% - 28px);
    min-height: 82px;
    margin: 10px 14px 0;
    padding: 14px 15px;
    border-radius: 14px;
    text-align: left;
}
.geist-radar-rules > .geist-rule-toggle p strong { font-size: 11px; }
.geist-radar-rules > .geist-rule-toggle p small { max-width: 310px; font-size: 8px; line-height: 1.5; }
.geist-radar-rules > .geist-rule-toggle > b { justify-self: end; }
.geist-radar-rules > .geist-rule-state.system,
.geist-radar-rules > .geist-rule-exclusion {
    min-height: 72px;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 10px 14px 0;
    padding: 13px 14px;
    border-radius: 14px;
}
.geist-radar-rules > .geist-rule-state.system > span,
.geist-radar-rules > .geist-rule-exclusion > span { width: 38px; height: 38px; border-radius: 12px; }
:root[data-theme="dark"] .planning-board-focus {
    background: color-mix(in srgb, var(--success) 9%, var(--surface));
}
@media (max-width: 1260px) {
    .planning-board-head { grid-template-columns: minmax(0, 1fr) auto; }
    .planning-board-focus { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
    .planning-board-head { display: flex; align-items: stretch; }
    .planning-board-focus { width: 100%; min-width: 0; }
}

/* Version 1.2.6 · kompakter Clockodo-Import und stabiler Berichtsfilter */
.page-content:has(> .clockodo-import-heading) {
    padding-inline: clamp(14px, 2vw, 32px);
}
.page-content:has(> .clockodo-import-heading) > * {
    width: min(1540px, 100%);
    max-width: none;
}
.clockodo-package-upload {
    gap: 14px;
    margin-bottom: 10px;
    padding: 14px 16px;
}
.clockodo-package-upload .import-package-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 18px; }
.clockodo-package-upload h2 { font-size: 15px; }
.import-readiness-card {
    gap: 14px;
    margin-bottom: 10px;
    padding: 14px 16px;
}
.import-readiness-orb { width: 54px; height: 54px; padding-top: 13px; border-radius: 17px; }
.import-readiness-orb strong { font-size: 19px; }
.import-readiness-card h2 { font-size: 15px; }
.clockodo-import-guide { gap: 11px; margin-bottom: 12px; padding: 10px 12px; }
.clockodo-import-guide > div { min-width: 165px; }
.clockodo-import-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.clockodo-import-group { margin-top: 17px; }
.clockodo-import-group > header { margin-bottom: 8px; }
.clockodo-import-group > header h2 { font-size: 16px; }
.clockodo-import-card { padding: 13px; }
.clockodo-import-card > header { gap: 8px; }
.clockodo-import-card > p { min-height: 0; margin: 8px 0; font-size: 8px; line-height: 1.45; }
.import-order { width: 32px; height: 32px; border-radius: 10px; font-size: 10px; }
.clockodo-expected-file { margin: 0 0 7px; }
.import-target-fields { min-height: 0; gap: 4px; margin-bottom: 8px; }
.import-target-fields span { padding: 3px 6px; }
.clockodo-file-drop { grid-template-columns: 31px minmax(0, 1fr); gap: 8px; padding: 8px 9px; }
.clockodo-file-drop > span { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.clockodo-mapping-details {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-soft);
}
.clockodo-mapping-details > summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    cursor: pointer;
    list-style: none;
}
.clockodo-mapping-details > summary::-webkit-details-marker { display: none; }
.clockodo-mapping-details > summary::after { content: "⌄"; color: var(--muted); font-size: 12px; transition: transform .15s ease; }
.clockodo-mapping-details[open] > summary::after { transform: rotate(180deg); }
.clockodo-mapping-details > summary > span { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.clockodo-mapping-details > summary strong { font-size: 9px; }
.clockodo-mapping-details > summary small { color: var(--muted); font-size: 7px; }
.clockodo-mapping-details > summary > b {
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 7px;
    text-transform: uppercase;
    white-space: nowrap;
}
.clockodo-mapping-details > summary > b.complete { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.clockodo-mapping-details > summary > b.incomplete { color: var(--danger); background: color-mix(in srgb, var(--danger) 11%, transparent); }
.clockodo-mapping-details .clockodo-mapping-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0;
    padding: 8px;
    border-top: 1px solid var(--line);
}
.clockodo-mapping-details .clockodo-mapping-list > div { min-height: 38px; padding: 5px; }
.clockodo-import-warnings { margin-top: 7px; padding-block: 7px; }

.report-filter-card > header {
    margin-bottom: 0;
    padding: 12px 16px;
}
.report-filter-grid {
    grid-template-columns: minmax(220px, 1.2fr) minmax(140px, .6fr) minmax(320px, 1.1fr) repeat(2, minmax(140px, .7fr));
    gap: 8px;
    padding: 11px 15px 13px;
}
.report-filter-grid .report-search-field { grid-column: auto; min-width: 0; }
.report-date-range {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-width: 0;
}
.report-date-range input { width: 100%; min-width: 0; padding-inline: 8px 4px; }
.report-filter-grid input,
.report-filter-grid select { height: 42px; min-height: 42px; }
.report-filter-submit,
.report-filter-reset { min-height: 42px; }

@media (max-width: 1200px) {
    .clockodo-import-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
    .report-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-filter-submit,
    .report-filter-reset { grid-column: auto; }
}
@media (max-width: 760px) {
    .clockodo-mapping-details .clockodo-mapping-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-filter-grid { grid-template-columns: 1fr; }
    .report-date-range { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .clockodo-mapping-details .clockodo-mapping-list { grid-template-columns: 1fr; }
}

/* Version 1.2.12 · responsive Tagesbearbeitung, gespeicherte Filter und konsistente Themenflächen */
.time-workspace-backdrop {
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    padding: clamp(8px, 1.2vw, 18px);
    overflow: hidden;
}
.time-workspace-window {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 1880px;
    max-height: 100%;
}
.time-workspace-content { min-width: 0; min-height: 0; overflow: hidden; }
.time-workspace-content iframe { display: block; min-width: 0; min-height: 0; }
.app-shell:has(.time-entry-focus-mode) .workspace,
.app-shell:has(.time-entry-focus-mode) .page-content { min-width: 0; min-height: 0; }
.app-shell:has(.time-entry-focus-mode) .page-content {
    height: 100dvh;
    padding: clamp(10px, 1.4vw, 18px);
    overscroll-behavior: contain;
}
.time-entry-focus-mode .day-toolbar { top: calc(-1 * clamp(10px, 1.4vw, 18px)); }

.timer-form-card .searchable-select-control,
.timer-form-card .searchable-select.selected:not(.open) .searchable-select-control {
    height: 54px;
    min-height: 54px;
}
.timer-form-card .searchable-select > label,
.timer-form-card .form-grid > label { min-height: 16px; margin-bottom: 0; }
.timer-form-card .form-grid > label:not(.toggle-field) > input { min-height: 54px; border-radius: 14px; }
.timer-form-card .form-grid { align-items: start; }
.timer-dock { overflow: visible; }
.timer-dock-hide {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    place-items: center;
    margin-right: 8px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: #aaa5bb;
    background: rgba(255,255,255,.05);
    cursor: pointer;
}
.timer-dock-hide:hover { color: #fff; background: rgba(255,255,255,.12); }
.timer-dock-restore {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 44;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg,var(--violet),var(--violet-deep));
    box-shadow: 0 12px 30px rgba(40,24,104,.3);
    cursor: pointer;
}
body:has(.time-entry-focus-mode) .timer-dock-restore { display: none; }

.customer-table-toolbar { align-items: center; }
.customer-table-toolbar > select { min-width: 145px; }
.customer-directory-avatar i { background: var(--customer-color, var(--violet))!important; box-shadow: 0 0 0 5px color-mix(in srgb,var(--customer-color, var(--violet)) 13%,transparent); }
.customer-color-field > span { display: flex; min-height: 42px; align-items: center; gap: 10px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.customer-color-field input[type="color"] { width: 42px!important; height: 30px!important; min-height: 30px!important; padding: 2px!important; border: 0!important; border-radius: 8px; cursor: pointer; }
.customer-color-field code { color: var(--muted); font-size: 9px; }
.vacation-stats dd { display: flex; flex-direction: column; gap: 3px; }
.vacation-stats dd strong { font-size: 14px; }
.vacation-stats dd small { color: var(--muted); font-size: 7px; font-weight: 700; }

.report-filter-card > header { min-height: 58px; padding: 10px 15px; }
.report-filter-card > header h2 { margin-top: 2px; font-size: 15px; }
.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    align-items: end;
    gap: 9px;
    padding: 12px 15px 14px;
}
.report-filter-grid .report-search-field { grid-column: span 3; height: 42px; }
.report-period-filter { grid-column: span 2; }
.report-date-range { grid-column: span 3; }
.report-filter-select { position: relative; z-index: 8; grid-column: span 2; min-width: 0; }
.report-filter-select:focus-within { z-index: 30; }
.report-filter-select .searchable-select > label { margin-bottom: 6px; color: var(--muted); font-size: 8px; letter-spacing: .035em; text-transform: uppercase; }
.report-filter-select .searchable-select-control,
.report-filter-select .searchable-select.selected:not(.open) .searchable-select-control { height: 42px; min-height: 42px; border-radius: 12px; }
.report-filter-select .searchable-select-icon { width: 34px; font-size: 15px; }
.report-filter-select .searchable-select.selected .searchable-select-icon { width: 30px; height: 30px; margin-left: 5px; border-radius: 8px; }
.report-filter-select .searchable-select-value { right: 66px; left: 42px; font-size: 9px; -webkit-line-clamp: 1; }
.report-filter-select .searchable-select-menu { min-width: min(360px,calc(100vw - 40px)); }
.report-employee-filter,
.report-billing-filter { grid-column: span 2; }
.report-filter-submit { grid-column: span 2; }
.report-filter-reset { grid-column: span 2; }
.report-filter-submit,
.report-filter-reset { width: auto; min-height: 42px; padding-inline: 14px; }

/* Letzte Theme-Schicht: Verwaltungs- und Vertragsbereiche dürfen keine weißen Inseln behalten. */
:root[data-theme="dark"] .terminal-kpis article,
:root[data-theme="dark"] .terminal-admin-form,
:root[data-theme="dark"] .terminal-toggle,
:root[data-theme="dark"] .terminal-device-grid,
:root[data-theme="dark"] .terminal-device-tile,
:root[data-theme="dark"] .terminal-list-body,
:root[data-theme="dark"] .terminal-list-row,
:root[data-theme="dark"] .terminal-detail-modal,
:root[data-theme="dark"] .terminal-detail-status,
:root[data-theme="dark"] .terminal-settings-list > div,
:root[data-theme="dark"] .terminal-security-copy,
:root[data-theme="dark"] .saas-kpi:not(.primary),
:root[data-theme="dark"] .cycle-switch,
:root[data-theme="dark"] .plan-card,
:root[data-theme="dark"] .plan-card.selected,
:root[data-theme="dark"] .license-request-bar,
:root[data-theme="dark"] .license-request-row,
:root[data-theme="dark"] .tenant-create-grid,
:root[data-theme="dark"] .tenant-list article,
:root[data-theme="dark"] .feature-row,
:root[data-theme="dark"] .invoice-create-bar,
:root[data-theme="dark"] .saas-form-grid .toggle-line,
:root[data-theme="dark"] .support-access-list > div,
:root[data-theme="dark"] .backup-row,
:root[data-theme="dark"] .customer-contract-strip,
:root[data-theme="dark"] .customer-color-field > span {
    border-color: var(--line)!important;
    color: var(--ink)!important;
    background: var(--surface)!important;
}
:root[data-theme="dark"] .terminal-admin-form input,
:root[data-theme="dark"] .terminal-admin-form select,
:root[data-theme="dark"] .terminal-issued-secret code,
:root[data-theme="dark"] .saas-form-grid input,
:root[data-theme="dark"] .saas-form-grid select,
:root[data-theme="dark"] .invoice-create-bar input,
:root[data-theme="dark"] .invoice-create-bar select {
    border-color: var(--line)!important;
    color: var(--ink)!important;
    background: var(--surface-soft)!important;
}
:root[data-theme="dark"] .terminal-issued-secret,
:root[data-theme="dark"] .slot-entry-side-fields {
    border-color: var(--line)!important;
    color: var(--ink)!important;
    background: color-mix(in srgb,var(--violet-wash) 35%,var(--surface))!important;
}
:root[data-theme="dark"] .plan-card li,
:root[data-theme="dark"] .saas-kpi > small,
:root[data-theme="dark"] .usage-row span,
:root[data-theme="dark"] .terminal-device-tile dd { color: var(--muted); }
:root[data-theme="dark"] .cycle-switch button.active { color: #ded8ff; background: var(--violet-wash); box-shadow: none; }
:root[data-theme="dark"] .plan-card.selected { box-shadow: inset 0 3px 0 var(--violet); }

@media (max-width: 1180px) {
    .report-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .report-filter-grid > *,
    .report-filter-grid .report-search-field,
    .report-period-filter,
    .report-date-range,
    .report-filter-select,
    .report-employee-filter,
    .report-billing-filter,
    .report-filter-submit,
    .report-filter-reset { grid-column: auto; }
    .report-date-range { min-width: 0; }
}
@media (max-width: 900px), (max-height: 760px) {
    .time-workspace-header { min-height: 60px; padding-block: 8px; }
    .time-workspace-mark { width: 36px; height: 36px; border-radius: 11px; }
    .time-workspace-heading small { display: none; }
    .time-entry-focus-mode .time-entry-layout { grid-template-columns: 1fr; }
    .time-entry-focus-mode .manual-entry-card { position: static; }
    .slot-entry-workspace-modal { width: calc(100vw - 20px)!important; height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); }
}
@media (max-width: 700px) {
    .report-filter-grid { grid-template-columns: 1fr; }
    .report-filter-submit,.report-filter-reset { width: 100%; }
    .time-workspace-backdrop { padding: 0; }
    .time-workspace-window { max-width: none; border: 0; border-radius: 0; }
    .timer-dock-restore { right: 12px; bottom: 12px; }
}

/* Version 1.2.14 · zentrale Stundenkonten, Projektberichte und serverseitige Berichtssicht */
.report-builder-compact { margin-bottom: 12px; overflow: visible; }
.report-builder-compact > .report-builder-header { min-height: 66px; padding: 12px 16px; }
.report-builder-compact > .report-builder-header h2 { margin: 2px 0 0; font-size: 15px; }
.report-builder-compact > .report-builder-header p { max-width: 680px; margin: 3px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.report-builder-toggle { min-height: 38px; gap: 8px; padding-inline: 13px; }
.report-builder-toggle span { color: var(--violet); font-size: 13px; }

.report-filter-card { overflow: visible; border-color: color-mix(in srgb,var(--violet) 12%,var(--line)); box-shadow: 0 12px 34px rgba(35,26,69,.06); }
.report-filter-card > header { align-items: flex-start; padding: 14px 16px 11px; border-bottom: 1px solid var(--line); }
.report-filter-card > header h2 { margin-top: 3px; font-size: 17px; }
.report-filter-card > header p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.report-filter-grid { row-gap: 11px; padding: 13px 15px 16px; background: var(--surface); }
.report-filter-grid .report-search-field { grid-column: 1 / span 3; }
.report-period-filter { grid-column: 4 / span 2; }
.report-date-range { grid-column: 6 / span 3; }
.report-filter-select:not(.report-project-multi) { grid-column: 9 / span 2; }
.report-employee-filter { grid-column: 11 / span 2; }
.report-project-multi { grid-column: 1 / span 6; }
.report-billing-filter { grid-column: 7 / span 2; }
.report-filter-submit { grid-column: 9 / span 2; }
.report-filter-reset { grid-column: 11 / span 2; }

.searchable-multi-select { position: relative; width: 100%; min-width: 0; }
.searchable-multi-select > label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.searchable-multi-select-control { position: relative; display: flex; height: 42px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s,box-shadow .15s; }
.searchable-multi-select.open .searchable-multi-select-control { border-color: #8d79f6; box-shadow: 0 0 0 3px rgba(109,74,255,.1); }
.searchable-multi-select-control input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0!important; outline: 0; color: var(--ink); background: transparent; box-shadow: none!important; font-size: 10px; }
.searchable-multi-select-chips { display: flex; min-height: 26px; align-items: center; gap: 5px; margin-bottom: 5px; overflow: hidden; }
.searchable-multi-select-chips > button { display: flex; min-width: 0; max-width: 29%; height: 25px; align-items: center; gap: 6px; padding: 0 7px; border: 1px solid color-mix(in srgb,var(--violet) 20%,var(--line)); border-radius: 8px; color: var(--ink); background: var(--violet-wash); cursor: pointer; }
.searchable-multi-select-chips > button span { overflow: hidden; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.searchable-multi-select-chips > button b { color: var(--violet); font-size: 12px; }
.searchable-multi-select-chips > span { flex: 0 0 auto; color: var(--muted); font-size: 8px; font-weight: 800; }
.searchable-multi-select-menu { position: absolute; z-index: 140; top: calc(100% + 7px); right: 0; left: 0; max-height: min(360px,52vh); overflow: auto; padding: 7px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 18px 45px rgba(34,24,70,.2); }
.searchable-multi-select-menu > header { position: sticky; z-index: 1; top: -7px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -7px -7px 4px; padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.searchable-multi-select-menu > header strong { font-size: 9px; }
.searchable-multi-select-menu > header button { padding: 4px 7px; border: 0; border-radius: 7px; color: var(--violet); background: var(--violet-wash); font-size: 8px; font-weight: 800; cursor: pointer; }
.searchable-multi-select-option { display: grid; width: 100%; min-height: 44px; grid-template-columns: 26px minmax(0,1fr); align-items: center; gap: 8px; padding: 7px 9px; border: 0; border-radius: 10px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.searchable-multi-select-option:hover,.searchable-multi-select-option.selected { color: var(--violet); background: var(--violet-wash); }
.searchable-multi-select-option i { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: #fff; background: var(--surface-soft); font-size: 10px; font-style: normal; }
.searchable-multi-select-option.selected i { border-color: var(--violet); background: var(--violet); }
.searchable-multi-select-option > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.searchable-multi-select-option strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.searchable-multi-select-option small { color: var(--muted); font-size: 8px; }
.report-project-multi .searchable-select-hint { margin-top: 4px; }

:root[data-theme="dark"] .report-filter-grid,
:root[data-theme="dark"] .searchable-multi-select-control,
:root[data-theme="dark"] .searchable-multi-select-menu,
:root[data-theme="dark"] .searchable-multi-select-menu > header { border-color: var(--line); color: var(--ink); background: var(--surface); }
:root[data-theme="dark"] .searchable-multi-select-chips > button,
:root[data-theme="dark"] .searchable-multi-select-option:hover,
:root[data-theme="dark"] .searchable-multi-select-option.selected { background: var(--violet-wash); }

@media (max-width: 1180px) {
    .report-filter-grid > *,
    .report-filter-grid .report-search-field,
    .report-period-filter,
    .report-date-range,
    .report-filter-select,
    .report-filter-select:not(.report-project-multi),
    .report-project-multi,
    .report-employee-filter,
    .report-billing-filter,
    .report-filter-submit,
    .report-filter-reset { grid-column: auto; }
    .report-project-multi { grid-column: 1 / -1; }
    .report-builder-compact > .report-builder-header { align-items: flex-start; }
    .builder-header-actions { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 700px) {
    .report-filter-card > header { align-items: flex-start; }
    .report-filter-card > header p { display: none; }
    .report-project-multi { grid-column: auto; }
    .searchable-multi-select-chips > button { max-width: 44%; }
    .report-builder-compact > .report-builder-header { align-items: stretch; flex-direction: column; }
    .builder-header-actions { justify-content: stretch; }
    .builder-header-actions > * { width: 100%; }
}

/* Version 1.2.15 · geordnete Berichtsfilter und konsequenter Fokus im Tageseditor */
.report-filter-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(390px, .82fr);
    gap: 12px;
    padding: 14px;
    background:
        radial-gradient(circle at 8% 0, color-mix(in srgb, var(--violet) 7%, transparent), transparent 28%),
        var(--surface);
}
.report-filter-targets,
.report-filter-context {
    position: relative;
    min-width: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--violet) 13%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-soft) 58%, var(--surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface) 74%, #fff);
}
.report-filter-targets::before,
.report-filter-context::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: -1px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(var(--violet), color-mix(in srgb, var(--violet) 15%, transparent));
}
.report-filter-context::before { background: linear-gradient(var(--success), color-mix(in srgb, var(--success) 14%, transparent)); }
.report-filter-section-heading {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}
.report-filter-section-heading > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--violet);
    background: var(--violet-wash);
    font-size: 17px;
    font-weight: 900;
}
.report-filter-context .report-filter-section-heading > span {
    color: var(--success);
    background: color-mix(in srgb, var(--success) 11%, var(--surface));
}
.report-filter-section-heading small {
    display: block;
    margin-bottom: 3px;
    color: var(--violet);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.report-filter-context .report-filter-section-heading small { color: var(--success); }
.report-filter-section-heading h3 { margin: 0; font-size: 13px; letter-spacing: -.015em; }
.report-filter-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.report-target-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: start; }
.report-target-grid .report-filter-select { z-index: 8; grid-column: auto; min-width: 0; }
.report-target-grid .report-customer-select { grid-column: 1 / -1; }
.report-target-grid .report-filter-select:focus-within { z-index: 45; }
.report-target-grid .searchable-select > label,
.report-target-grid .searchable-multi-select > label,
.report-context-grid > label,
.report-context-grid .report-date-range > legend {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.report-target-grid .searchable-select-control,
.report-target-grid .searchable-select.selected:not(.open) .searchable-select-control,
.report-target-grid .searchable-multi-select-control {
    height: 50px;
    min-height: 50px;
    border-color: color-mix(in srgb, var(--violet) 15%, var(--line));
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 7px 20px rgba(37, 25, 76, .045);
}
.report-target-grid .searchable-select-control:focus-within,
.report-target-grid .searchable-multi-select.open .searchable-multi-select-control {
    border-color: color-mix(in srgb, var(--violet) 68%, var(--line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 11%, transparent), 0 10px 24px rgba(37, 25, 76, .07);
}
.report-target-grid .searchable-select-icon { width: 42px; font-size: 16px; }
.report-target-grid .searchable-select.selected .searchable-select-icon { width: 34px; height: 34px; margin-left: 6px; border-radius: 10px; }
.report-target-grid .searchable-select-value { right: 70px; left: 48px; font-size: 10px; }
.report-target-grid .searchable-multi-select-control input { font-size: 10px; }
.report-target-grid .searchable-select-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 7px; }
.report-target-grid .searchable-multi-select-chips { min-height: 29px; margin-bottom: 6px; }
.report-target-grid .searchable-multi-select-chips > button { max-width: 42%; height: 28px; padding-inline: 9px; }

.report-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: end; }
.report-context-grid > label { display: flex; min-width: 0; flex-direction: column; gap: 0; }
.report-context-grid .report-period-filter,
.report-context-grid .report-date-range { grid-column: 1 / -1; }
.report-context-grid select,
.report-context-grid input {
    width: 100%;
    height: 48px;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--violet) 12%, var(--line));
    border-radius: 13px;
    outline: 0;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 7px 20px rgba(37, 25, 76, .04);
    font: inherit;
    font-size: 10px;
    font-weight: 750;
}
.report-context-grid select:focus,
.report-context-grid input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 11%, transparent); }
.report-context-grid .report-date-range {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}
.report-context-grid .report-date-range label { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.report-context-grid .report-date-range label > span { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.report-context-grid .report-date-range > i { padding-bottom: 16px; color: var(--success); font-size: 13px; font-style: normal; }

.report-filter-footer {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px 0;
    border-top: 1px solid var(--line);
}
.report-results-search {
    display: grid;
    width: min(560px, 100%);
    min-height: 50px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-soft) 55%, var(--surface));
}
.report-results-search > span { color: var(--violet); font-size: 17px; }
.report-results-search > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.report-results-search b { color: var(--muted); font-size: 7px; letter-spacing: .045em; text-transform: uppercase; }
.report-results-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 10px; }
.report-filter-actions { display: flex; flex: 0 0 auto; gap: 9px; }
.report-filter-actions .button { min-width: 150px; min-height: 46px; }
.report-filter-actions .report-filter-submit { min-width: 190px; }

:root[data-theme="dark"] .report-filter-workspace,
:root[data-theme="dark"] .report-filter-targets,
:root[data-theme="dark"] .report-filter-context,
:root[data-theme="dark"] .report-target-grid .searchable-select-control,
:root[data-theme="dark"] .report-target-grid .searchable-select.selected:not(.open) .searchable-select-control,
:root[data-theme="dark"] .report-target-grid .searchable-multi-select-control,
:root[data-theme="dark"] .report-context-grid select,
:root[data-theme="dark"] .report-context-grid input,
:root[data-theme="dark"] .report-results-search {
    border-color: var(--line);
    color: var(--ink);
    background-color: var(--surface);
}
:root[data-theme="dark"] .report-filter-targets,
:root[data-theme="dark"] .report-filter-context,
:root[data-theme="dark"] .report-results-search { background: color-mix(in srgb, var(--surface-soft) 68%, var(--surface)); }

body:has(.time-workspace-backdrop) .sidebar,
body:has(.time-workspace-backdrop) .workspace > .topbar,
.account-page:has(> .time-workspace-backdrop) > :not(.time-workspace-backdrop),
.timesheet-page:has(> .time-workspace-backdrop) > :not(.time-workspace-backdrop) {
    filter: blur(9px) saturate(.62);
    pointer-events: none;
    user-select: none;
}
.time-workspace-backdrop {
    z-index: 1000;
    width: 100vw!important;
    height: 100dvh!important;
    max-width: none!important;
    margin: 0!important;
    background: rgba(18, 12, 38, .7)!important;
    backdrop-filter: blur(16px) saturate(.72)!important;
}
:root[data-theme="dark"] .time-workspace-backdrop { background: rgba(1, 2, 7, .82)!important; }

@media (max-width: 1180px) {
    .report-filter-workspace { grid-template-columns: 1fr; }
    .report-filter-context { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 16px; }
    .report-filter-context .report-filter-section-heading { align-self: center; margin-bottom: 0; }
}
@media (max-width: 760px) {
    .report-filter-card > header { gap: 10px; }
    .report-filter-card > header p { display: block; }
    .report-filter-workspace { padding: 9px; }
    .report-filter-targets,.report-filter-context { padding: 13px; }
    .report-filter-context { display: block; }
    .report-filter-context .report-filter-section-heading { margin-bottom: 16px; }
    .report-target-grid,.report-context-grid { grid-template-columns: 1fr; }
    .report-customer-select,.report-context-grid .report-period-filter,.report-context-grid .report-date-range { grid-column: auto; }
    .report-filter-footer { align-items: stretch; flex-direction: column; padding-inline: 0; }
    .report-results-search { width: 100%; }
    .report-filter-actions { display: grid; grid-template-columns: 1fr; }
    .report-filter-actions .button { width: 100%; min-width: 0; }
}

/* Version 1.2.16 · konsistente Themenflächen, stabile Berichtsfilter und kompakte Buchungsergebnisse */
.employee-editor,
.employee-editor-form { color: var(--ink); background: var(--surface); }
.employee-summary-strip article,
.employee-editor-tabs,
.employee-editor-footer,
.access-role-card,
.permission-editor-list,
.permission-editor-row,
.employee-setting-card,
.schedule-base-card,
.individual-schedule-panel,
.schedule-week-grid label,
.break-rule-grid label,
.editor-info {
    border-color: var(--line);
    color: var(--ink);
    background: var(--surface);
}
.employee-editor-tabs { background: var(--surface-soft); }
.employee-editor-tabs button { color: var(--muted); }
.employee-editor-tabs button span { color: color-mix(in srgb, var(--muted) 78%, transparent); }
.employee-editor-tabs button.active { color: var(--violet); }
.employee-editor-footer { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.access-role-card,
.schedule-base-card,
.employee-setting-card { background: linear-gradient(135deg, color-mix(in srgb, var(--violet-wash) 45%, var(--surface)), var(--surface)); }
.permission-editor-list h4 { border-color: var(--line); color: var(--muted); background: var(--surface-soft); }
.permission-editor-row { border-color: var(--line); }
.access-role-card select,
.permission-editor-row select,
.schedule-base-card select,
.schedule-period input,
.break-rule-grid input,
.schedule-week-grid input { border-color: var(--line); color: var(--ink); background: var(--surface); }
.editor-info { color: var(--muted); background: color-mix(in srgb, var(--violet-wash) 42%, var(--surface)); }

:root[data-theme="dark"] .employee-editor-tabs,
:root[data-theme="dark"] .employee-editor-footer,
:root[data-theme="dark"] .permission-editor-list h4,
:root[data-theme="dark"] .individual-schedule-panel,
:root[data-theme="dark"] .schedule-week-grid label,
:root[data-theme="dark"] .break-rule-grid label,
:root[data-theme="dark"] .employee-project-access-overview,
:root[data-theme="dark"] .employee-access-assignment {
    border-color: var(--line);
    color: var(--ink);
    background: var(--surface-soft);
}
:root[data-theme="dark"] .access-role-card,
:root[data-theme="dark"] .schedule-base-card,
:root[data-theme="dark"] .employee-setting-card,
:root[data-theme="dark"] .editor-info {
    border-color: var(--line);
    color: var(--ink);
    background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 9%, var(--surface)), var(--surface));
}
:root[data-theme="dark"] .employee-editor .form-grid input:disabled,
:root[data-theme="dark"] .employee-editor .form-grid select:disabled,
:root[data-theme="dark"] .employee-editor .form-grid textarea:disabled,
:root[data-theme="dark"] .employee-editor .permission-editor-row input:disabled,
:root[data-theme="dark"] .employee-editor .permission-editor-row select:disabled {
    border-color: var(--line)!important;
    color: var(--muted)!important;
    background: color-mix(in srgb, var(--surface-soft) 76%, var(--surface))!important;
    box-shadow: inset 3px 0 0 color-mix(in srgb, var(--violet) 34%, transparent);
    -webkit-text-fill-color: var(--muted);
}

.report-filter-workspace { grid-template-columns: minmax(0, 1.3fr) minmax(520px, .88fr); }
.report-context-grid > .report-period-filter,
.report-context-grid > .report-date-range,
.report-context-grid > .report-employee-filter,
.report-context-grid > .report-billing-filter { grid-column: auto!important; }
.report-context-grid > .report-period-filter,
.report-context-grid > .report-date-range { grid-column: 1 / -1!important; }
.report-target-grid .searchable-select-menu,
.report-target-grid .searchable-multi-select-menu { max-height: min(300px, 40vh); }

.report-result-header { align-items: flex-start; gap: 18px; }
.report-result-header > div:first-child { min-width: 0; }
.report-result-tools { display: grid; flex: 0 0 auto; justify-items: end; gap: 10px; }
.report-result-view-switch { display: inline-grid; grid-template-columns: repeat(2, 1fr); padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.report-result-view-switch button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }
.report-result-view-switch button span { font-size: 11px; }
.report-result-view-switch button.active { color: var(--violet); background: var(--surface); box-shadow: 0 5px 14px rgba(36, 24, 75, .09); }
.report-structure-list { max-height: min(72vh, 820px); overflow: auto; overscroll-behavior: contain; }

.report-booking-browser { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-soft) 42%, var(--surface)); }
.report-booking-columns,
.report-booking-row { display: grid; min-width: 0; grid-template-columns: minmax(250px, .92fr) minmax(280px, 1.32fr) 95px 115px 38px; align-items: center; gap: 14px; }
.report-booking-columns { padding: 10px 19px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.report-booking-columns span:nth-last-child(-n+3) { text-align: right; }
.report-booking-day { margin: 0 12px 12px; overflow: visible; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 22px rgba(39, 25, 73, .035); }
.report-booking-day > header { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--violet-wash) 32%, var(--surface)); }
.report-booking-day > header > div { display: flex; min-width: 0; align-items: baseline; gap: 9px; }
.report-booking-day > header time { color: var(--ink); font-size: 10px; font-weight: 900; text-transform: capitalize; }
.report-booking-day > header span { color: var(--muted); font-size: 7px; }
.report-booking-day > header > div:last-child { justify-content: flex-end; }
.report-booking-day > header strong { font-size: 10px; font-variant-numeric: tabular-nums; }
.report-booking-day > header > div:last-child span { color: var(--success); font-size: 9px; font-weight: 850; font-variant-numeric: tabular-nums; }
.report-booking-list { display: grid; }
.report-booking-row { position: relative; min-height: 76px; padding: 11px 16px; border-top: 1px solid var(--line); }
.report-booking-row:first-child { border-top: 0; }
.report-booking-row::before { content: ""; position: absolute; top: 13px; bottom: 13px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--success); }
.report-booking-row.internal::before { background: var(--muted); }
.report-booking-row:hover { background: color-mix(in srgb, var(--violet-wash) 28%, var(--surface)); }
.report-booking-identity,
.report-booking-proof,
.report-booking-duration,
.report-booking-value { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.report-booking-kind { width: max-content; padding: 3px 6px; border-radius: 6px; color: var(--violet); background: var(--violet-wash); font-size: 6px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.report-booking-identity strong,
.report-booking-proof > strong { overflow: hidden; color: var(--ink); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.report-booking-identity small,
.report-booking-proof small,
.report-booking-duration small,
.report-booking-value small { overflow: hidden; color: var(--muted); font-size: 7px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.report-booking-proof details { min-width: 0; }
.report-booking-proof summary { overflow: hidden; color: var(--muted); cursor: pointer; font-size: 7px; line-height: 1.45; list-style: none; text-overflow: ellipsis; white-space: nowrap; }
.report-booking-proof summary::-webkit-details-marker { display: none; }
.report-booking-proof summary::before { content: "＋"; margin-right: 5px; color: var(--violet); font-weight: 900; }
.report-booking-proof details[open] summary::before { content: "−"; }
.report-booking-proof details[open] summary { white-space: normal; }
.report-booking-proof details p { margin: 7px 0 0; padding: 8px 10px; border-left: 2px solid var(--violet); border-radius: 0 8px 8px 0; color: var(--ink); background: var(--surface-soft); font-size: 8px; line-height: 1.55; white-space: pre-wrap; }
.report-booking-duration,
.report-booking-value { align-items: flex-end; text-align: right; }
.report-booking-duration strong,
.report-booking-value strong { color: var(--ink); font-size: 10px; font-variant-numeric: tabular-nums; }
.report-booking-value strong { color: var(--success); }
.report-booking-more { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 18px 18px; color: var(--muted); font-size: 8px; }
.report-booking-more .button { min-height: 38px; }

:root[data-theme="dark"] .report-result-view-switch,
:root[data-theme="dark"] .report-booking-browser,
:root[data-theme="dark"] .report-booking-proof details p { border-color: var(--line); background: var(--surface-soft); }
:root[data-theme="dark"] .report-result-view-switch button.active,
:root[data-theme="dark"] .report-booking-day { color: var(--ink); background: var(--surface); }
:root[data-theme="dark"] .report-booking-day > header { background: color-mix(in srgb, var(--violet) 8%, var(--surface)); }

@media (max-width: 1450px) {
    .report-filter-workspace { grid-template-columns: 1fr; }
    .report-filter-context { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); align-items: center; gap: 18px; }
    .report-filter-context .report-filter-section-heading { margin-bottom: 0; }
    .report-booking-columns,
    .report-booking-row { grid-template-columns: minmax(220px, .9fr) minmax(250px, 1.25fr) 82px 105px 36px; gap: 11px; }
}
@media (max-width: 980px) {
    .report-filter-context { display: block; }
    .report-filter-context .report-filter-section-heading { margin-bottom: 16px; }
    .report-result-header { align-items: stretch; flex-direction: column; }
    .report-result-tools { width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; }
    .report-booking-columns { display: none; }
    .report-booking-browser { padding-top: 12px; }
    .report-booking-row { grid-template-columns: minmax(0, 1fr) 84px 105px 36px; }
    .report-booking-proof { grid-column: 1 / -1; grid-row: 2; padding: 8px 0 2px; border-top: 1px dashed var(--line); }
}
@media (max-width: 680px) {
    .report-result-tools { grid-template-columns: 1fr; justify-items: stretch; }
    .report-result-view-switch { width: 100%; }
    .report-booking-day { margin-inline: 7px; }
    .report-booking-day > header { align-items: flex-start; flex-direction: column; gap: 5px; }
    .report-booking-day > header > div:last-child { width: 100%; justify-content: space-between; }
    .report-booking-row { grid-template-columns: minmax(0, 1fr) auto 32px; padding-inline: 13px; }
    .report-booking-duration { align-items: flex-end; }
    .report-booking-value { grid-column: 1 / 3; grid-row: 3; align-items: flex-start; padding-top: 7px; border-top: 1px dashed var(--line); text-align: left; }
    .report-booking-proof { grid-column: 1 / 4; }
    .report-booking-row > .builder-row-actions { grid-column: 3; grid-row: 1; }
    .report-booking-more { align-items: stretch; flex-direction: column; text-align: center; }
}
