/* UI craft: unslop, Damir Sokolovsky (@heydamir), CC BY 4.0, https://heydamir.design/unslop
   Color roles and interface detail: jakubkrehel/skills, a72290d140249813898ba8648becf6415abcb059.
   Schiefer & Kupfer selected by Fabian; palettes computed with Culori 4.0.2, emitted as hex. */
:root {
    color-scheme: light;
    --sidebar-width: 232px;
    --radius: 6px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --slate-50: #f9fafa;
    --slate-100: #eaebec;
    --slate-200: #d8dbdc;
    --slate-400: #9fa6a9;
    --slate-500: #7f888c;
    --slate-600: #656d71;
    --slate-650: #5d6568;
    --slate-700: #4d5457;
    --slate-800: #373b3d;
    --slate-850: #2b2e30;
    --slate-900: #202223;
    --slate-950: #0f1010;
    --copper-100: #f5e8e1;
    --copper-200: #ebd6ca;
    --copper-300: #dbb9a5;
    --copper-400: #c8997d;
    --copper-500: #b3754f;
    --copper-700: #734629;
    --copper-800: #52321d;
    --copper-850: #3f2819;
    --page: var(--slate-100);
    --surface: var(--slate-50);
    --raised: var(--slate-100);
    --ink: var(--slate-950);
    --secondary: var(--slate-700);
    --muted: var(--slate-650);
    --line: var(--slate-200);
    --field: var(--slate-50);
    --field-border: var(--slate-500);
    --accent: var(--copper-700);
    --accent-dark: var(--copper-800);
    --accent-soft: var(--copper-100);
    --primary: var(--copper-700);
    --primary-hover: var(--copper-800);
    --on-primary: var(--slate-50);
    --hover: var(--slate-100);
    --icon: var(--slate-600);
    --nav-bg: var(--slate-950);
    --nav-text: var(--slate-200);
    --nav-muted: var(--slate-400);
    --nav-active: var(--copper-850);
    --nav-selected: var(--copper-200);
    --nav-rule: var(--slate-800);
    --nav-marker: var(--copper-500);
    --success: #305a40;
    --success-bg: #e6f2e9;
    --progress: #20576b;
    --progress-bg: #e2f1f8;
    --sidebar: var(--nav-bg);
    --toolbar: var(--surface);
    --line-soft: var(--slate-100);
    --shadow: none;
    --popover-shadow: 0 12px 40px rgb(0 0 0 / .12), 0 2px 8px rgb(0 0 0 / .06);
    --scrim: rgb(20 20 28 / .3);
    --warning: #79561b;
    --warning-bg: #fbf2de;
    --error: #a43d32;
    --error-bg: #fff0ed;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --page: var(--slate-950);
    --surface: var(--slate-900);
    --raised: var(--slate-850);
    --ink: var(--slate-50);
    --secondary: var(--slate-200);
    --muted: var(--slate-400);
    --line: var(--slate-800);
    --field: var(--slate-850);
    --field-border: var(--slate-500);
    --accent: var(--copper-300);
    --accent-dark: var(--copper-200);
    --accent-soft: var(--copper-800);
    --primary: var(--copper-500);
    --primary-hover: var(--copper-400);
    --on-primary: var(--slate-950);
    --hover: var(--slate-850);
    --icon: var(--slate-400);
    --nav-bg: var(--slate-950);
    --nav-text: var(--slate-200);
    --nav-muted: var(--slate-400);
    --nav-active: var(--copper-850);
    --nav-selected: var(--copper-200);
    --nav-rule: var(--slate-800);
    --nav-marker: var(--copper-500);
    --success: #aad8b8;
    --success-bg: #27312a;
    --progress: #9dd4eb;
    --progress-bg: #243035;
    --sidebar: var(--nav-bg);
    --toolbar: var(--surface);
    --line-soft: var(--slate-850);
    --shadow: none;
    --popover-shadow: 0 12px 40px rgb(0 0 0 / .4), 0 2px 8px rgb(0 0 0 / .2);
    --scrim: rgb(0 0 0 / .5);
    --warning: #e9cb8b;
    --warning-bg: #3d3424;
    --error: #ffb6a9;
    --error-bg: #412a29;
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 88px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--page); color: var(--ink); font: .875rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; transition: background-color 180ms ease, color 180ms ease; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-decoration: none; }
button, a, input, select, textarea, summary { outline-offset: 3px; -webkit-tap-highlight-color: transparent; }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--accent); }
.icon { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: middle; }
.skip-link { position: fixed; left: 16px; top: 8px; transform: translateY(-160%); z-index: 1000; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: var(--surface); }
.skip-link:focus { transform: none; }
/* Navigation is quieter than the workspace. */
.app-shell { min-height: 100vh; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); height: 100dvh; z-index: 40; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid var(--line); padding: 0 12px; }
.sidebar-brand { display: flex; align-items: center; min-height: 88px; padding: 20px 8px; gap: 8px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
.app-sidebar .brand { color: var(--nav-text); }
.app-sidebar .brand-mark { color: var(--nav-selected); }
.app-sidebar .brand-subtitle { color: var(--nav-muted); }
.app-sidebar .icon-button { color: var(--nav-text); }
.app-sidebar :is(a, button):focus-visible { outline-color: var(--nav-selected); }
.brand-mark { width: 32px; height: 36px; display: grid; place-items: center; flex: none; color: var(--accent); }
.brand-mark .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.brand-name { font-size: 1rem; font-weight: 600; line-height: 1.375; letter-spacing: -.025em; }
.brand-subtitle { font-size: .75rem; color: var(--muted); }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 0 20px; scrollbar-width: thin; }
.nav-group + .nav-group { margin-top: 28px; }
.nav-group-label { font-size: .75rem; font-weight: 500; color: var(--nav-muted); margin: 0 12px 8px; }
.nav-link { min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 2px 0; border-radius: 8px; color: var(--secondary); font-size: .8125rem; white-space: nowrap; transition: background-color 140ms ease, color 140ms ease; }
.nav-link .icon { width: 18px; height: 18px; color: var(--nav-muted); }
.nav-link:active { background: var(--nav-active); color: var(--nav-selected); }
.nav-link { color: var(--nav-text); border-inline-start: 3px solid transparent; border-radius: 5px; }
.nav-link.active { background: var(--nav-active); color: var(--nav-selected); border-inline-start-color: var(--nav-marker); font-weight: 600; }
.nav-link.active .icon { color: var(--nav-selected); stroke-width: 2; }
.sidebar-nav { overscroll-behavior: contain; }
.nav-link:focus-visible { outline-offset: -2px; }
.sidebar-footer { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 20px 8px; min-height: 80px; }
.version-mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; font: 1rem/1 ui-monospace, SFMono-Regular, monospace; color: var(--muted); }
.sidebar-release { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.version-number { font: .75rem/1.5 ui-monospace, SFMono-Regular, monospace; color: var(--secondary); }
.release-note { font-size: .75rem; color: var(--muted); }
.sidebar-footer { border-color: var(--nav-rule); }
.sidebar-footer .version-mark { color: var(--nav-muted); border-color: var(--nav-rule); }
.sidebar-footer .version-number { color: var(--nav-text); }
.sidebar-footer .release-note { color: var(--nav-muted); }
.app-frame { margin-left: var(--sidebar-width); min-width: 0; min-height: 100vh; }
.app-header { height: 64px; position: sticky; top: 0; z-index: 30; background: var(--toolbar); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 1px 0 var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; }
.header-context { display: flex; gap: 16px; align-items: center; min-width: 0; flex: 1; }
.icon-button { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid transparent; border-radius: 8px; padding: 0; background: transparent; color: var(--secondary); cursor: pointer; }
.icon-button:active { background: var(--accent-soft); }
.breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: .8125rem; color: var(--ink); }
.breadcrumb a { color: var(--muted); white-space: nowrap; }
.breadcrumb .icon { color: var(--icon); width: 12px; height: 12px; }
.breadcrumb > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.header-account { display: flex; align-items: center; gap: 16px; flex: none; }
.header-version { font: .75rem/1.5 ui-monospace, SFMono-Regular, monospace; color: var(--muted); }
.page-content { width: 100%; max-width: 1488px; padding: 36px 40px 56px; margin: 0 auto; min-width: 0; }
.page-content:focus { outline: none; }
.app-frame { background: var(--surface); }
.app-header { min-height: 64px; height: auto; padding-block: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-block-end: 1px solid var(--line); }
.sidebar-close, .sidebar-backdrop { display: none; }
/* Account and appearance menus share the same material and dismissal rules. */
.user-menu, .theme-menu { position: relative; margin: 0; padding: 0; border: 0; }
.user-menu > summary, .theme-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker, .theme-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary { display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 8px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-size: .8125rem; font-weight: 600; flex: none; }
.user-summary { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.user-name { font-size: .75rem; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-state { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--success); flex: none; }
.status-dot.inactive { background: var(--icon); }
.user-chevron { width: 12px; height: 12px; color: var(--muted); }
.user-dropdown, .appearance-panel { position: absolute; top: calc(100% + 12px); right: 0; background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: 12px; box-shadow: var(--popover-shadow); transform-origin: top right; }
.user-dropdown { width: 256px; }
.dropdown-name { display: block; font-weight: 600; }
.dropdown-email { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.dropdown-status { display: flex; align-items: center; gap: 8px; color: var(--secondary); font-size: .75rem; padding: 12px 0 16px; }
.user-dropdown form { border-top: 1px solid var(--line); padding-top: 8px; }
.logout-button { display: flex; width: 100%; gap: 12px; align-items: center; background: transparent; border: 0; padding: 8px; color: var(--secondary); font-weight: 400; text-align: left; }
.appearance-panel { width: 208px; padding: 12px; z-index: 2; }
.appearance-panel fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.appearance-panel legend { padding: 4px 8px 8px; font-size: .75rem; font-weight: 600; }
.appearance-panel .help { padding: 8px 8px 4px; font-size: .75rem; }
.appearance-option { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px; margin: 2px 0; border-radius: 7px; font-size: .8125rem; font-weight: 400; cursor: pointer; }
.appearance-option span { flex: 1; }
.appearance-option:has(:checked) { background: var(--accent-soft); color: var(--accent-dark); }
.appearance-option input[type=radio] { width: 16px; height: 16px; margin: 0; padding: 0; flex: none; accent-color: var(--primary); }
/* Content hierarchy and controls */
h1 { font-size: 1.75rem; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; margin: 4px 0 12px; overflow-wrap: anywhere; }
h2 { font-size: 1rem; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; margin: 0 0 16px; }
h3 { font-size: .9375rem; font-weight: 600; margin: 0; }
.muted { color: var(--secondary); }
.eyebrow { font-size: .75rem; color: var(--muted); margin: 0 0 8px; }
.intro { color: var(--secondary); font-size: .875rem; margin: 0 0 28px; max-width: 76ch; }
.card { background: transparent; border: 0; border-radius: 0; padding: 20px 0; margin: 28px 0; box-shadow: none; overflow-wrap: anywhere; }
.card > p:last-child { margin-bottom: 0; }
.card > p { max-width: 100ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(304px, 1fr); gap: 40px; align-items: start; }
.split > * { min-width: 0; }
.split > .card, .split > div > .card:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 24px; color: var(--ink); transition: background-color 140ms ease; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat:active { background: var(--accent-soft); }
.stat strong { display: block; font-size: 1.875rem; line-height: 1.15; letter-spacing: -.035em; font-weight: 500; }
.stat .muted { font-size: .75rem; }
label { display: block; font-size: .75rem; font-weight: 500; margin-bottom: 8px; color: var(--secondary); }
input, select, textarea { width: 100%; min-width: 0; background: var(--field); color: var(--ink); border: 1px solid var(--field-border); border-radius: 8px; padding: 10px 12px; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / .025); transition: border-color 140ms ease, box-shadow 140ms ease; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[type=checkbox] { width: 16px; height: 16px; margin: 0 8px 0 0; padding: 0; vertical-align: middle; accent-color: var(--primary); }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 500; color: var(--on-primary); background: var(--primary); border: 1px solid var(--primary); border-radius: 8px; padding: 10px 16px; line-height: 1.4; cursor: pointer; touch-action: manipulation; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease; }
button:active, .button:active { transform: none; }
button:disabled { opacity: .45; cursor: not-allowed; }
.secondary { background: var(--surface); color: var(--ink); border-color: var(--field-border); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.small { padding: 6px 12px; font-size: .75rem; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.inline { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.inline > div { flex: 1; min-width: 120px; }
.inline > button { margin-bottom: 1px; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); background: var(--success-bg); border-radius: 10px; margin: 0 0 24px; color: var(--success); }
.notice > .icon { margin-top: 2px; }
.notice.error { background: var(--error-bg); color: var(--error); }
.notice ul { margin: 0; padding-left: 16px; }
.notice p { margin: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .8125rem; }
th { font-size: .75rem; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
td strong { font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 120ms ease; }
.right { text-align: right; }
.id { font: .75rem/1.5 ui-monospace, SFMono-Regular, monospace; color: var(--muted); letter-spacing: .025em; }
.badge { display: inline-block; padding: 3px 8px; font-size: .75rem; font-weight: 500; border-radius: 6px; background: var(--raised); color: var(--secondary); white-space: nowrap; }
.badge.done { background: var(--success-bg); color: var(--success); }
.badge.in_progress { background: var(--progress-bg); color: var(--progress); }
.badge.reference { background: var(--warning-bg); color: var(--warning); }
.task-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.task-head > div { min-width: 0; }
article.card[id^="task-"] { border-block-start: 1px solid var(--line); margin: 0; padding-block: 20px 24px; }
.task-head h2 { margin: 4px 0 12px; }
.task-head .id { margin: 0; }
.task-total { font-size: 1.375rem; letter-spacing: -.025em; white-space: nowrap; }
.task-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.time-list { font-size: .8125rem; padding-top: 16px; }
.time-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.time-row span { flex: 1; }
.time-row form { margin: 0; }
details:not(.user-menu, .theme-menu) { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
details:not(.user-menu, .theme-menu) > summary { color: var(--accent); cursor: pointer; }
details:not(.user-menu, .theme-menu)[open] > summary { margin-bottom: 16px; }
.empty { padding: 40px 16px; color: var(--muted); }
.total { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 1.375rem; font-weight: 600; }
.help { font-size: .75rem; line-height: 1.55; color: var(--muted); margin: 8px 0 0; }
.scroll { position:relative; overflow-x: auto; }
.scroll-hint { position: sticky; inset-inline-start: 0; color: var(--secondary); font-size: .75rem; line-height: 1.5; margin: 8px 12px 12px; }
.scroll-hint[hidden] { display: none; }
.scroll table { min-width: 640px; overflow-wrap: normal; }
.scroll th:first-child, .scroll td:first-child { min-width: 200px; }
.card.scroll { padding: 8px 0; border-inline: 0; border-radius: 0; box-shadow: none; }
.scroll > p, .scroll > .total, .scroll > .actions { margin: 16px 12px; }
.scroll th { background: var(--surface); }
.scroll td .text-link { margin-top: 12px; }
.scroll td .badge + .badge { margin-top: 4px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading .intro { margin-bottom: 0; }
.page-heading .button { flex: none; }
.dashboard-panels { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 40px; margin-top: 28px; align-items: start; }
.dashboard-panels > .card { margin: 0; }
.workflow-card > p { max-width: 70ch; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0; padding: 12px 0; }
.workflow-steps > a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 16px; color: var(--secondary); font-size: .75rem; }
.workflow-steps > a:first-child { padding-left: 0; }
.workflow-steps > a + a { border-left: 1px solid var(--line-soft); }
.workflow-steps .icon { width: 14px; height: 14px; color: var(--icon); }
.step-number { font: .75rem/1.5 ui-monospace, SFMono-Regular, monospace; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; }
.text-link > .icon { width: 16px; height: 16px; }
.section-icon { display: grid; place-items: center; width: 20px; height: 20px; color: var(--muted); margin-bottom: 16px; }
.billing-setup-card { display: flex; flex-direction: column; align-items: flex-start; border-inline-start: 1px solid var(--line-soft); padding-inline-start: 24px; }
.billing-setup-card > .text-link { margin-top: 12px; }
.laboratory-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; border: 0; box-shadow: none; }
.filter-search { grid-column: span 2; }
.filter-actions { display: flex; align-items: end; gap: 16px; grid-column: span 2; }
.reference-notice { background: var(--surface); color: var(--secondary); border: 0; border-inline-start: 3px solid var(--warning); border-radius: 0; }
.price-source { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 20px 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }
.stats { border-inline: 0; border-radius: 0; }
.card details button { background: var(--surface); color: var(--ink); border-color: var(--field-border); }
.laboratory-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
article[id], section[id], form[id] { scroll-margin-top: 88px; }
/* Guest pages keep the same appearance preference. */
.auth-page { min-height: 100dvh; display: flex; flex-direction: column; }
.auth-header { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 40px; }
.auth-controls { display: flex; align-items: center; gap: 16px; }
.guest-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.auth-main { flex: 1; width: 100%; max-width: 448px; align-self: center; padding: 48px 16px; }
.auth-heading { text-align: center; margin-bottom: 28px; }
.auth-symbol { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--accent); background: var(--surface); box-shadow: var(--shadow); }
.auth-symbol .icon { width: 28px; height: 28px; }
.auth-heading h1 { font-size: 2rem; margin: 0 0 12px; }
.auth-heading p { color: var(--secondary); font-size: .8125rem; margin: 0; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.auth-card .field { margin-bottom: 24px; }
.auth-card .notice { font-size: .8125rem; }
.auth-submit { width: 100%; justify-content: space-between; }
.auth-setup-link { text-align: center; font-size: .8125rem; margin-top: 24px; }
.auth-setup-link .icon { margin-left: 8px; width: 16px; height: 16px; }
.auth-footer { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 24px; color: var(--muted); font-size: .75rem; }
.auth-footer > span + span { padding-left: 20px; border-left: 1px solid var(--line); }
@media (min-width: 801px) {
    .sidebar-collapsed { --sidebar-width: 76px; }
    .sidebar-collapsed .brand-copy, .sidebar-collapsed .nav-label, .sidebar-collapsed .sidebar-release { display: none; }
    .sidebar-collapsed .nav-group-label { height: 1px; margin: 0 8px 8px; font-size: 0; background: var(--line); }
    .sidebar-collapsed .nav-link { justify-content: center; padding: 8px 0; width: 52px; }
}
@media (max-width: 1200px) {
    .page-content { padding: 28px; }
    .dashboard-panels { grid-template-columns: 1fr; }
    .billing-setup-card { border-inline-start: 0; border-block-start: 1px solid var(--line-soft); padding-inline-start: 0; }
    .stat { padding: 20px; }
}
@media (max-width: 1100px) {
    .split { grid-template-columns: 1fr; }
    .app-header { padding: 0 24px; }
    .header-version { display: none; }
    .breadcrumb a, .breadcrumb > .icon { display: none; }
    .laboratory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .app-frame { margin-left: 0; }
    .app-sidebar { width: 264px; transform: translateX(-100%); visibility: hidden; transition: transform 220ms var(--ease), visibility 220ms; box-shadow: 12px 0 40px rgb(0 0 0 / .12); }
    .sidebar-brand { justify-content: space-between; }
    .sidebar-close { display: grid; }
    .mobile-nav-open { overflow: hidden; }
    .mobile-nav-open .app-sidebar { transform: translateX(0); visibility: visible; }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 35; background: var(--scrim); }
    .mobile-nav-open .sidebar-backdrop { display: block; }
    .app-header { padding: 0 12px; gap: 8px; }
    .header-context, .header-account { gap: 8px; }
    .icon-button { width: 40px; height: 40px; }
    .page-content { padding: 28px 20px 40px; }
    .nav-link { min-height: 44px; }
    .breadcrumb { font-size: .75rem; }
    .user-name { max-width: 88px; }
    .user-chevron { display: none; }
    .user-menu > summary { gap: 8px; }
    .grid { grid-template-columns: 1fr; }
    input, select, textarea { font-size: 1rem; }
    .card { padding: 16px 0; margin: 24px 0; }
    .task-head { flex-wrap: wrap; }
    .task-total { font-size: 1.25rem; }
    h1 { font-size: 1.75rem; }
    .user-dropdown { max-width: calc(100vw - 32px); }
    .theme-menu .appearance-panel { right: -72px; }
    .auth-header { min-height: 80px; padding: 20px; gap: 12px; }
    .auth-controls { gap: 8px; }
    .auth-header .theme-menu .appearance-panel { right: -104px; }
    .auth-header .brand { gap: 8px; }
    .auth-main { padding-top: 32px; }
    .auth-card { padding: 24px; }
    .guest-status { font-size: .75rem; }
    .auth-header .brand-subtitle { display: none; }
}
@media (max-width: 600px) {
    .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .dashboard-panels { gap: 20px; margin-top: 20px; }
    .stats, .laboratory-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { padding: 20px; }
    .stat strong { font-size: 1.75rem; }
    .stat:nth-child(odd) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
    .laboratory-stats .stat:last-child { grid-column: 1 / -1; }
    .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .workflow-steps > a:nth-child(3) { border-left: 0; padding-left: 0; }
    .laboratory-filters { grid-template-columns: 1fr; }
    .filter-search, .filter-actions { grid-column: auto; }
    .filter-actions { align-items: center; }
    .task-badges { gap: 6px; }
    .appearance-option { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce) {
    .app-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
    .app-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .card, .stats, .app-sidebar, input, select, textarea { border-color: var(--secondary); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    button:active, .button:active { transform: none; }
}
@media print {
    .app-sidebar, .app-header, .skip-link, .sidebar-backdrop, .theme-menu { display: none !important; }
    .app-frame { margin: 0; }
    .page-content { padding: 0; max-width: none; }
    body, .card, .stats { color: #1d1d1f; background: #fff; box-shadow: none; }
}
@media (hover: hover) {
    a:hover { text-decoration: underline; }
    .brand:hover { text-decoration: none; }
    .nav-link:hover { background: var(--nav-active); color: var(--nav-selected); text-decoration: none; }
    .nav-link:hover .icon { color: var(--nav-selected); }
    .icon-button:hover { background: var(--raised); color: var(--ink); border-color: var(--line); }
    .user-menu > summary:hover { background: var(--hover); }
    .logout-button:hover { background: var(--raised); color: var(--ink); }
    .appearance-option:hover { background: var(--hover); }
    .stat:hover { background: var(--hover); text-decoration: none; }
    input:hover, select:hover, textarea:hover { border-color: var(--icon); }
    button:hover, .button:hover { color: var(--on-primary); background: var(--primary-hover); border-color: var(--primary-hover); text-decoration: none; }
    .secondary:hover { background: var(--hover); color: var(--ink); border-color: var(--icon); }
    tbody tr:hover { background: var(--hover); }
    .workflow-steps > a:hover { color: var(--accent); text-decoration: none; }
}
@media (prefers-reduced-motion: no-preference) {
    button, .button { transition-property: background-color, border-color, color, scale; transition-duration: 150ms; transition-timing-function: ease-out; }
    button:not(:disabled):active, .button:not([aria-disabled="true"]):active { scale: .96; }
}
/* Form feedback and compact container views */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
.validation-summary h2 { font-size:.9375rem; margin:0 0 8px; }
.validation-summary a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.field-error { margin:8px 0 0; color:var(--error); font-size:.75rem; line-height:1.5; }
[aria-invalid="true"] { border-color:var(--error); }
.submit-progress { margin:12px 0 0; color:var(--secondary); font-size:.8125rem; line-height:1.5; }
.submit-progress:empty { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
[data-submit-lock] { opacity:.7; cursor:progress; }
.empty-state { padding:32px 0; max-width:65ch; }
.empty-state>.icon { width:28px; height:28px; color:var(--muted); margin-bottom:16px; }
.empty-state p { color:var(--secondary); }
.empty-state .actions { margin-top:16px; }
.container-list-heading,.container-row { display:grid; grid-template-columns:140px minmax(0,1fr) 120px 104px; align-items:center; gap:24px; }
.container-list-heading { padding:12px 0; color:var(--muted); font-size:.75rem; border-block-end:1px solid var(--line); }
.container-list { list-style:none; padding:0; margin:0; }
.container-row { min-height:88px; padding:16px 0; border-block-end:1px solid var(--line-soft); }
.container-row>div { min-width:0; }
.container-identity,.container-row-assignment { display:flex; flex-direction:column; gap:4px; overflow-wrap:anywhere; }
.container-row .help { margin:0; }
.container-id { font:500 .9375rem/1.5 ui-monospace,SFMono-Regular,monospace; }
.container-row-assignment strong { font-weight:500; }
.container-row-assignment .text-link { margin-top:4px; }
.container-row-state { justify-self:start; }
.container-label-link { display:flex; align-items:center; justify-content:end; gap:8px; min-height:40px; font-size:.8125rem; }
.container-page-heading { margin-bottom:24px; }
.container-page-heading h1 { font-size:1.875rem; font-weight:500; letter-spacing:-.02em; }
.container-page-heading .badge { margin-inline-start:12px; vertical-align:middle; }
.container-tools { display:flex; align-items:center; flex-wrap:wrap; gap:16px; font-size:.8125rem; }
.container-overview { display:grid; grid-template-columns:minmax(0,1fr) 168px; align-items:start; gap:40px; padding:20px 0 28px; }
.container-current { min-width:0; }
.container-current h2 { font-size:.8125rem; font-weight:500; color:var(--muted); margin-bottom:20px; }
.container-current h3 { font-size:1.5rem; font-weight:500; letter-spacing:-.02em; line-height:1.3; overflow-wrap:anywhere; margin:0; }
.container-current>.id { margin:0 0 4px; }
.container-current>.muted { margin:12px 0 20px; }
.container-qr-preview { margin:0; padding:8px; justify-self:end; width:152px; background:#fff; color:#1d1d1f; text-align:center; }
.container-qr-preview img { display:block; width:136px; height:136px; }
.container-qr-preview figcaption { font:.75rem/1.5 ui-monospace,SFMono-Regular,monospace; padding:8px 0 4px; }
.container-qr-preview small { display:block; font:.6875rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; margin-top:4px; }
details.container-disclosure { margin:0; padding:0; border-block-start:1px solid var(--line); }
details.container-disclosure>summary { padding:20px 0; color:var(--ink); font-weight:500; font-size:.875rem; }
details.container-disclosure[open]>summary { margin-bottom:0; }
.container-disclosure>form { padding:0 0 24px; max-width:880px; }
.container-disclosure>.muted { padding:0 0 20px; }
.container-note { margin-top:20px; }
.container-note input { max-width:100%; }
.disclosure-count { margin-inline-start:12px; font-size:.75rem; font-weight:400; color:var(--muted); }
.container-history { list-style:none; padding:0; margin:0 0 12px; }
.container-history>li { display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; padding:16px 0; border-block-start:1px solid var(--line-soft); }
.container-history>li>div { display:flex; flex-direction:column; gap:4px; min-width:0; overflow-wrap:anywhere; }
.container-history strong { font-weight:500; }
.container-history time { font-size:.8125rem; color:var(--secondary); }
.container-history .help { margin:0; }
@media(max-width:800px) { .container-list-heading { display:none; } .container-row { grid-template-columns:minmax(0,1fr) auto; gap:12px 16px; } .container-row-assignment { grid-column:1; grid-row:2; } .container-row-state { grid-column:2; grid-row:1; justify-self:end; } .container-label-link { grid-column:2; grid-row:2; min-height:44px; } }
@media(max-width:600px) { .container-overview { grid-template-columns:minmax(0,1fr) 104px; gap:20px; padding:12px 0 24px; } .container-qr-preview { width:104px; } .container-qr-preview img { width:88px; height:88px; } .container-current h3 { font-size:1.25rem; line-height:1.4; } .container-current>.button { font-size:.8125rem; } .container-tools { gap:12px; } .container-history>li { grid-template-columns:minmax(0,1fr); gap:8px; } .container-history>li>div:first-child { flex-direction:row; flex-wrap:wrap; gap:12px; } }
@media(max-width:380px) { .container-overview { grid-template-columns:minmax(0,1fr); } .container-qr-preview { justify-self:start; } }
/* Text resizing keeps labels readable instead of squeezing line boxes. */
.brand-copy { min-width:0; white-space:normal; }
.brand-name,.nav-label { overflow-wrap:anywhere; }
.nav-link { white-space:normal; }
.nav-label { line-height:1.4; }
/* Creation dialogs keep list pages available across the full workspace. */
.editor-dialog { width:min(720px,calc(100% - 32px)); max-height:calc(100dvh - 48px); padding:28px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); box-shadow:var(--popover-shadow); overflow:auto; }
.editor-dialog::backdrop { background:rgb(0 0 0 / .55); }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.dialog-heading h2 { margin:0; font-size:1.25rem; }
.editor-page { max-width:880px; }
.contacts-section { max-width:1000px; margin-top:36px; border-block-start:1px solid var(--line); padding-top:28px; }
.contact-row { padding-block:16px; }
.contact-row>summary { color:var(--ink) !important; }
.contact-delete { margin-top:16px; }
.contact-create { padding-bottom:24px; }
.planning-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.week-navigation { display:flex; align-items:center; gap:12px; }
.previous-week-icon { transform:rotate(180deg); }
.view-switch { display:flex; border:1px solid var(--line); border-radius:6px; padding:3px; gap:4px; }
.view-switch a { padding:8px 16px; color:var(--secondary); border-radius:4px; }
.view-switch [aria-current] { background:var(--accent-soft); color:var(--accent-dark); }
.planning-filters { display:grid; grid-template-columns:160px minmax(200px,1fr) 180px auto; align-items:end; gap:16px; margin-bottom:16px; }
.planning-message:empty { margin:0; }
.planning-message { color:var(--secondary); }
.planning-scroll { position:relative; overflow:auto; max-height:max(360px,calc(100dvh - 400px)); margin-top:20px; padding-bottom:16px; overscroll-behavior:contain; }
.planning-board { display:grid; grid-template-columns:repeat(8,248px); gap:16px; align-items:stretch; }
.planning-status-board { grid-template-columns:repeat(3,minmax(260px,1fr)); min-width:840px; }
.planning-column { min-height:280px; border-block-start:2px solid var(--line); padding-top:12px; border-radius:2px; }
.planning-column>h2 { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; padding:8px 4px; background:var(--surface); font-size:.8125rem; }
.planning-column>h2 span { color:var(--muted); font-size:.75rem; }
.planning-card { background:var(--raised); padding:12px; margin-bottom:12px; border:1px solid var(--line); border-radius:6px; overflow-wrap:anywhere; }
.planning-card[draggable] { cursor:grab; }
.planning-card-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.planning-card .badge { font-size:.75rem; }
.planning-card h3 { font-size:.875rem; line-height:1.5; margin:0 0 8px; }
.planning-card>p { margin:4px 0; font-size:.8125rem; }
.planning-card>.help { font-size:.75rem; }
.planning-card details { margin-top:8px; padding-top:8px; font-size:.75rem; }
.planning-card input { margin-bottom:12px; }
.planning-empty { margin:0 4px; color:var(--muted); font-size:.75rem; }
.planning-column.drag-over { outline:2px solid var(--accent); outline-offset:4px; background:var(--accent-soft); }
@media(max-width:800px) { .planning-filters { grid-template-columns:1fr 1fr; } .planning-filters>div:nth-child(2) { min-width:0; } .planning-filters button { min-height:44px; } }
@media(max-width:480px) { .editor-dialog { padding:20px; max-height:calc(100dvh - 24px); } .planning-filters { grid-template-columns:1fr; } .planning-toolbar { align-items:flex-start; } }
/* Account, appearance and the single version label live at the sidebar's foot. */
.sidebar-footer { flex-direction:column; align-items:stretch; gap:8px; padding:12px 4px 16px; }
.sidebar-account { display:flex; align-items:center; gap:4px; }
.sidebar-account>.user-menu { flex:1; min-width:0; }
.sidebar-account>.theme-menu { flex:none; }
.sidebar-account .user-menu>summary { min-height:44px; }
.sidebar-footer .icon-button,.sidebar-footer .user-menu>summary { color:var(--nav-text); }
.sidebar-footer .user-summary { min-width:0; flex:1; }
.sidebar-footer .user-name { max-width:none; }
.sidebar-footer .auth-state,.sidebar-footer .user-chevron { color:var(--nav-muted); }
.sidebar-footer .status-dot { background:#aad8b8; }
.sidebar-footer .user-dropdown,.sidebar-footer .appearance-panel { top:auto; bottom:calc(100% + 12px); inset-inline-start:0; inset-inline-end:auto; color:var(--ink); z-index:50; }
.sidebar-footer .sidebar-release { display:block; padding-inline:46px 4px; }
.sidebar-footer .version-number { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--nav-muted); font-size:.6875rem; }
.sidebar-footer .theme-menu .appearance-panel { inset-inline-start:auto; inset-inline-end:0; }
@media(min-width:801px) { .sidebar-collapsed .sidebar-footer { padding-inline:0; } .sidebar-collapsed .sidebar-account { flex-direction:column; align-items:center; } .sidebar-collapsed .user-menu>summary { padding:4px; } .sidebar-collapsed .user-chevron { display:none; } .sidebar-collapsed .user-summary { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); } .sidebar-collapsed .sidebar-release { display:block; padding:0; } .sidebar-collapsed .version-number { text-align:center; } .sidebar-collapsed .theme-menu .appearance-panel { inset-inline-start:0; inset-inline-end:auto; } }
@media(max-width:800px) { .sidebar-footer .user-name { max-width:160px; } .sidebar-footer .user-chevron { display:block; } .sidebar-footer .theme-menu .appearance-panel { right:auto; } }
.settings-tabs { display:flex; flex-wrap:wrap; gap:24px; border-block-end:1px solid var(--line); margin:24px 0; }
.settings-tabs a { padding:12px 0; border-block-end:2px solid transparent; color:var(--secondary); }
.settings-tabs [aria-current] { border-color:var(--accent); color:var(--accent); }
.settings-subheading { margin-top:36px; }
.configuration-value { display:block; padding:16px; border:1px solid var(--line); background:var(--raised); border-radius:6px; overflow-wrap:anywhere; white-space:pre-wrap; font-size:.8125rem; }
.access-row { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:20px 0; border-block-start:1px solid var(--line-soft); }
.access-row p { margin:4px 0 0; }
.access-invitation { flex-basis:100%; }
.auth-card+.auth-card { margin-top:24px; }
.help a { text-decoration:underline; text-underline-offset:3px; }
.planning-shell .app-frame { height:100dvh; min-height:0; display:flex; flex-direction:column; }
.planning-shell .app-header { flex:none; }
.planning-page { display:flex; flex:1; flex-direction:column; min-height:0; padding-block:24px 16px; }
.planning-controls { flex:none; }
.planning-controls .page-heading { margin-bottom:20px; align-items:center; }
.planning-controls .page-heading h1 { margin-block:0 4px; }
.planning-controls .intro { margin-bottom:0; }
.planning-controls .planning-toolbar { margin-bottom:12px; }
.planning-controls .planning-filter-panel { margin-top:0; border:0; padding:0; }
.planning-filter-panel>summary { width:fit-content; min-height:36px; padding:6px 0; font-size:.8125rem; }
.planning-controls .help { margin-block:8px; max-width:90ch; }
.planning-page .planning-scroll { flex:1; min-height:180px; max-height:none; margin-top:12px; scroll-padding-block-start:64px; }
.planning-column>h2 { border-block-end:1px solid var(--line); padding-block:12px; margin-bottom:12px; }
@media(max-width:800px) { .planning-controls .page-heading { gap:12px; margin-bottom:12px; } .planning-controls .page-heading>.button { align-self:flex-start; } .planning-controls .help { font-size:.6875rem; } }
@media(max-height:650px) { .planning-shell .app-frame { height:auto; min-height:100dvh; } .planning-page .planning-scroll { flex:none; height:65dvh; min-height:280px; } }
.auth-split-page .auth-header { padding-inline:clamp(24px,4vw,64px); }
.auth-split { max-width:1440px; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr); gap:clamp(32px,5vw,80px); align-items:center; padding:24px clamp(24px,4vw,64px) 32px; }
.login-landscape { display:flex; flex-direction:column; position:relative; align-self:stretch; min-height:620px; background:var(--surface); border-radius:12px; padding:36px; overflow:hidden; }
.landscape-caption { position:relative; z-index:1; }
.landscape-caption h2 { font-size:clamp(1.8rem,3vw,3rem); line-height:1.13; letter-spacing:-.045em; margin:16px 0; font-weight:550; }
.landscape-caption h2 span { color:var(--accent); }
.landscape-caption>p:last-child { color:var(--muted); font-size:.875rem; }
.geology-scene { position:relative; flex:1; min-height:360px; margin:-12px -36px 0; }
.geology-scene canvas,.geology-fallback { position:absolute; inset:0; width:100%; height:100%; }
.geology-fallback { padding:12px 36px; }
.geology-scene[data-ready] .geology-fallback { visibility:hidden; }
.geology-scene:not([data-ready]) canvas { visibility:hidden; }
.landscape-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; color:var(--muted); font-size:.75rem; }
.landscape-dot { display:inline-block; width:6px; height:6px; border-radius:50%; margin-inline-end:8px; background:var(--accent); }
.scene-toggle { font-size:.6875rem; }
.scene-toggle[hidden] { display:none; }
.auth-split .auth-form-area { width:100%; max-width:400px; justify-self:center; }
.auth-split .auth-heading { text-align:start; margin-bottom:32px; }
.auth-split .auth-symbol { margin:0 0 24px; width:40px; height:40px; border:0; background:transparent; box-shadow:none; place-items:start; }
.auth-split .auth-heading h1 { font-size:1.75rem; letter-spacing:-.035em; margin-bottom:8px; }
.auth-split .auth-card { border:0; border-radius:0; background:transparent; box-shadow:none; padding:0; }
.auth-split .auth-card .field { margin-bottom:20px; }
.auth-split .auth-submit { margin-top:8px; }
@media(max-width:999px) { .auth-split { display:block; max-width:448px; padding-block:48px; } .login-landscape { display:none; } }
@media(max-width:480px) { .auth-split-page .auth-header { padding-inline:20px; } .auth-split { padding:32px 24px; } }

/* Cookie information stays in the document flow, clear of forms and board cards. */
.cookie-notice { display:flex; flex:none; align-items:center; gap:24px; padding:16px 24px; border-bottom:1px solid var(--line); background:var(--raised); color:var(--ink); }
.cookie-notice[hidden] { display:none; }
.cookie-notice-copy { flex:1; min-width:0; }
.cookie-notice h2 { margin:0 0 4px; font-size:.8125rem; font-weight:600; }
.cookie-notice p { margin:0; max-width:76ch; color:var(--secondary); font-size:.75rem; line-height:1.5; }
.cookie-notice-actions { display:flex; flex-wrap:wrap; gap:8px; }
.cookie-notice-actions button { white-space:nowrap; min-height:36px; }
.auth-page > .cookie-notice { align-self:center; width:calc(100% - 48px); max-width:1120px; border:1px solid var(--line); border-radius:var(--radius); }
.cookie-footer-link { display:inline-flex; align-items:center; justify-content:center; padding:6px 0; min-height:32px; border:0; border-radius:4px; background:transparent; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:3px; }
.cookie-footer-link:hover { background:transparent; color:var(--accent); }
.sidebar-footer .sidebar-release { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; padding-inline:4px; }
.sidebar-footer .sidebar-release .version-number { min-width:0; }
.sidebar-release .cookie-footer-link { color:var(--nav-muted); }
.sidebar-release .cookie-footer-link:hover { color:var(--nav-selected); }
.sidebar-collapsed .sidebar-footer .sidebar-release { justify-content:center; }
.sidebar-collapsed .sidebar-release .version-number { display:none; }
.cookie-details { max-width:620px; }
.cookie-purpose-list { margin:24px 0; }
.cookie-purpose-list > div { padding:16px 0; border-top:1px solid var(--line); }
.cookie-purpose-list dt { font-weight:600; font-size:.875rem; margin-bottom:6px; }
.cookie-purpose-list dd { margin:0; color:var(--secondary); font-size:.8125rem; line-height:1.6; }
.cookie-purpose-list code,.cookie-domain { overflow-wrap:anywhere; }
@media(max-width:800px) { .cookie-notice { align-items:flex-start; flex-direction:column; gap:12px; padding:16px; } .auth-page > .cookie-notice { width:calc(100% - 32px); } .auth-footer { flex-wrap:wrap; gap:12px; } }
@media print { .cookie-notice,.cookie-footer-link { display:none; } }
