@font-face{font-family:Inter;src:url('/fonts/inter-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-latin-600-normal.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Fraunces;src:url('/fonts/fraunces-latin-600-normal.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root{color-scheme:dark;--bg:#0f1b2a;--surface:#16263b;--surface-2:#1c3350;--border:#243552;--text:#eef3f8;--text-muted:#8a9bb0;--accent:#4f86b8;--success:#61e796;--warn:#a9d4e8;--danger:#8ec5dc;--fill:#1c3350;--warn-bg:#1c3350;--warn-text:#eef3f8;--on-accent:#081421;--shadow:0 22px 65px #080f192e}
:root[data-theme="light"]{color-scheme:light;--bg:#d9e9f2;--surface:#eef6fa;--surface-2:#d3e6f0;--border:#b8d3e2;--text:#11213a;--text-muted:#53708a;--accent:#11385b;--fill:#a9d1e4;--success:#1f9d5f;--warn-bg:#11385b;--warn-text:#ffffff;--danger:#11385b;--on-accent:#ffffff;--shadow:0 22px 65px #11385b0a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:400 14px/1.6 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.65}h1,h2,p{margin:0}h1,h2{font-family:Fraunces,Georgia,serif;font-weight:600;line-height:1.18}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;z-index:20;left:1rem;top:-5rem;padding:12px;background:var(--surface)}.skip-link:focus{top:1rem}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:600;letter-spacing:-1.1px}.brand-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;color:var(--text)}.brand-icon svg{width:27px;height:27px}.brand-dot{color:var(--accent)}.eyebrow{display:block;color:var(--text-muted);font-size:10px;font-weight:600;letter-spacing:1.9px}.icon-button{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);width:44px;height:44px;border-radius:12px;display:inline-grid;place-items:center}.icon-button:hover,.text-button:hover{color:var(--text);background:var(--surface-2)}.mobile-header{display:none}.loading{min-height:100dvh;display:grid;place-items:center;color:var(--text-muted)}
.workspace{min-height:100dvh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border);padding:34px 22px;min-height:100dvh;position:fixed;inset:0 auto 0 0;width:248px}.sidebar>.brand{padding:0 8px}.sidebar-label{font-size:9px;letter-spacing:1.8px;color:var(--text-muted);margin:56px 14px 15px;font-weight:600}.navigation{display:flex;flex-direction:column;gap:8px}.navigation a{display:flex;align-items:center;gap:14px;padding:13px 15px;border-radius:10px;color:var(--text-muted);min-height:50px}.navigation a[aria-current="page"]{background:var(--surface-2);color:var(--text);font-weight:600;box-shadow:inset 3px 0 var(--accent)}.navigation a[aria-current="page"] svg{color:var(--text)}.sidebar-bottom{margin-top:auto;padding-top:50px}.private-label{display:flex;align-items:center;gap:8px;padding:0 12px 22px;font-size:11px;color:var(--text-muted);border-bottom:1px solid var(--border)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--success);flex-shrink:0}.sidebar-actions{display:grid;gap:3px;padding:16px 0}.text-button{border:0;background:transparent;color:var(--text-muted);display:flex;align-items:center;gap:12px;text-align:left;padding:10px 12px;border-radius:8px;font-size:12px;min-height:44px}.text-button svg{width:18px;height:18px}.version-label{display:block;margin:12px 12px 0;font-size:9px;letter-spacing:1.5px;color:var(--text-muted)}main{grid-column:2;padding:45px 56px 24px;display:flex;flex-direction:column;min-height:100dvh;min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:30px;border-bottom:1px solid var(--border)}.page-header h1{font-size:38px;letter-spacing:-1px;margin-top:9px}.header-meta{display:flex;gap:12px;align-items:center}.package-pill{font-size:11px;display:inline-flex;align-items:center;padding:5px 12px;border:1px solid var(--border);border-radius:30px;color:var(--text-muted)}.mobile-logout{display:none}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;padding:56px 0 64px;min-height:490px}.empty-state h2{font-size:32px;letter-spacing:-.6px;max-width:520px;margin:15px 0}.empty-state>p{color:var(--text-muted);max-width:440px;line-height:1.8}.coming-label{color:var(--text-muted);font-size:11px;border:1px solid var(--border);padding:6px 13px;border-radius:6px;margin-top:27px}.empty-illustration{width:196px;height:170px;position:relative;margin:0 0 32px;display:grid;place-items:center}.illustration-orbit{width:160px;height:160px;border:1px dashed var(--border);border-radius:50%;position:absolute}.illustration-card{height:122px;width:104px;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start;padding:20px;gap:9px;transform:rotate(-7deg);position:relative}.illustration-card svg{color:var(--text-muted);width:27px;height:27px;margin-bottom:7px}.illustration-card>span{width:61px;height:4px;border-radius:2px;background:var(--border)}.illustration-card>span:last-child{width:37px}.illustration-badge{position:absolute;right:21px;bottom:23px;background:var(--surface-2);border:4px solid var(--bg);color:var(--text);border-radius:50%;width:45px;height:45px;display:grid;place-items:center}.workspace-footer{border-top:1px solid var(--border);padding-top:20px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:var(--text-muted)}.workspace-footer .status-dot{width:5px;height:5px}.notice{padding:12px 16px;border:1px solid var(--border);border-radius:8px;margin-top:20px;background:var(--surface);color:var(--text-muted);font-size:12px}.message{color:var(--warn-text);background:var(--warn-bg);border:1px solid var(--border);padding:12px 14px;border-radius:8px;font-size:12px;margin:16px 0}.message+button{margin-top:8px}
.login-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-intro{background:var(--surface);border-right:1px solid var(--border);padding:40px 10%;display:flex;flex-direction:column}.intro-content{margin:auto 0;padding:90px 0}.intro-content h1{font-size:clamp(38px,4vw,58px);letter-spacing:-1.9px;margin:20px 0 25px}.intro-content p{color:var(--text-muted);font-size:14px;line-height:1.9}.intro-sections{display:flex;flex-wrap:wrap;gap:8px;margin-top:34px}.intro-sections span{font-size:11px;border:1px solid var(--border);padding:5px 10px;border-radius:6px;color:var(--text-muted)}.intro-footer{font-size:11px;color:var(--text-muted)}.login-panel{position:relative;display:grid;place-items:center;padding:90px 32px}.desktop-theme{position:absolute;right:30px;top:30px}.login-form{width:100%;max-width:350px}.feature-icon{width:48px;height:48px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;display:grid;place-items:center;margin-bottom:28px}.login-form h2{font-size:31px;letter-spacing:-.6px;margin:12px 0 16px}.login-form>p{color:var(--text-muted);font-size:13px;margin-bottom:29px}.login-form label{display:block;margin:19px 0 8px;font-weight:600;font-size:12px}.login-form input{display:block;width:100%;height:48px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);padding:10px 14px;font-size:16px}.login-form input::placeholder{color:var(--text-muted);opacity:.65}#code{letter-spacing:6px}.field-hint{display:block;font-size:10px;color:var(--text-muted);margin-top:8px}.primary-button{background:var(--accent);color:var(--on-accent);border:0;border-radius:8px;min-height:48px;width:100%;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;margin-top:29px;font-weight:600;font-size:13px}.primary-button:hover{filter:brightness(1.1)}.primary-button svg{width:19px;height:19px}.privacy-note{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--text-muted);font-size:10px;margin-top:23px}.privacy-note svg{width:13px;height:13px}
@media(min-width:1500px){main{padding-left:80px;padding-right:80px}.empty-state h2{font-size:38px}}
@media(max-width:900px) and (min-width:701px){.workspace{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding:30px 15px}main{padding:36px 30px 24px}.empty-state h2{font-size:28px}.login-intro{padding:36px 8%}.intro-content h1{font-size:38px}}
@media(max-width:700px){.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;padding-top:calc(14px + env(safe-area-inset-top));background:var(--surface);border-bottom:1px solid var(--border)}.mobile-header .brand{font-size:25px}.brand-icon{width:34px;height:34px;border-radius:10px}.brand-icon svg{width:24px;height:24px}.workspace{display:block;min-height:calc(100dvh - 77px)}.sidebar{position:static;width:auto;min-height:0;border:0;padding:0}.sidebar>.brand,.sidebar-label,.sidebar-bottom{display:none}.navigation{position:fixed;inset:auto 0 0;z-index:10;flex-direction:row;justify-content:space-around;gap:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface)}.navigation a{min-width:0;width:24%;flex-direction:column;gap:5px;font-size:10px;min-height:56px;padding:7px 2px;border-radius:8px}.navigation a svg{width:21px;height:21px}.navigation a[aria-current="page"]{box-shadow:none}.navigation a[aria-current="page"]:after{content:'';position:absolute;top:0;width:20px;height:2px;background:var(--accent);border-radius:0 0 2px 2px}main{min-height:calc(100dvh - 77px);padding:27px 22px calc(96px + env(safe-area-inset-bottom));display:flex}.page-header{padding-bottom:22px}.page-header .eyebrow{font-size:8px;letter-spacing:1.3px}.page-header h1{font-size:32px;margin-top:9px}.package-pill{font-size:9px;padding:4px 9px}.mobile-logout{display:inline-grid;width:36px;height:36px;border-radius:10px}.header-meta{gap:6px}.empty-state{padding:42px 0;min-height:420px}.empty-illustration{transform:scale(.88);margin-bottom:11px}.empty-state h2{font-size:28px;max-width:300px;letter-spacing:-.6px}.empty-state>p{font-size:12px;max-width:310px}.empty-state .eyebrow{font-size:9px;letter-spacing:1.7px}.coming-label{font-size:10px;margin-top:23px}.workspace-footer{font-size:9px;align-items:flex-start;text-align:center;padding:18px 12px 0;line-height:1.7}.workspace-footer .status-dot{margin-top:5px}.login-layout{display:block;min-height:calc(100dvh - 77px)}.login-intro{display:none}.login-panel{min-height:calc(100dvh - 77px);padding:38px 28px 45px}.desktop-theme{display:none}.login-form h2{font-size:30px}.login-form>.eyebrow{font-size:9px}.feature-icon{margin-bottom:24px}.loading{min-height:calc(100dvh - 77px)}}
@media(prefers-reduced-motion:no-preference){button,a,input{transition:background-color .15s,color .15s,border-color .15s}}

@media(hover:hover){.navigation a:hover{background:var(--surface-2);color:var(--text)}}

/* Paket 2: dieselben Tokens, große Tippflächen und Board mit Scroll-Snap. */
button,input,select,textarea{font:inherit}select,textarea{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px}textarea{resize:vertical}input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}button:disabled{cursor:default}#tasks-area{padding:24px 0 36px;flex:1;min-width:0}.tasks-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.tasks-toolbar>.task-field{min-width:220px;max-width:340px;flex:1}.task-button{min-height:44px;padding:9px 13px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;font-size:12px;line-height:1.4}.task-button:hover{background:var(--surface-2)}.task-button.primary{background:var(--accent);color:var(--on-accent);font-weight:600}.task-field{display:grid;gap:7px;min-width:0;font-size:12px}.task-field>label{font-weight:600}.task-field small{color:var(--text-muted);font-size:10px}.task-field input,.task-field select,.task-field textarea,.task-filters input,.task-filters select,.settings-row input{min-width:0;width:100%;padding:10px 12px;min-height:44px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:14px}.task-tabs{display:flex;gap:6px;padding:20px 0 0;border-bottom:1px solid var(--border);overflow-x:auto}.view-tab{min-height:48px;padding:12px 20px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--text-muted);font-weight:600;white-space:nowrap}.view-tab[aria-current=page]{color:var(--text);border-bottom-color:var(--accent)}.view-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:28px 0 24px}.view-heading h2{font-size:30px;letter-spacing:-.7px;margin-top:9px;overflow-wrap:anywhere}.save-status{color:var(--text-muted);font-size:11px}.task-filters{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 20px}.task-filters input{flex:1;min-width:180px}.task-filters select{width:auto;max-width:220px}.task-board{display:flex;align-items:stretch;gap:18px;overflow-x:auto;padding:0 0 22px;scroll-snap-type:x proximity;scroll-padding:0;min-height:420px;overscroll-behavior-x:contain}.board-column{flex:0 0 292px;max-width:100%;scroll-snap-align:start;border-radius:12px;background:var(--surface-2);padding:14px;min-width:0;border:1px solid var(--border)}.column-header{display:flex;align-items:center;gap:8px;padding:0 0 12px}.column-header h2{font:600 13px/1.4 Inter,sans-serif;flex:1;overflow-wrap:anywhere}.column-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);font:400 11px Inter,sans-serif;flex-shrink:0}.column-menu{font-size:22px;line-height:1;padding:0;min-width:44px;background:transparent}.quick-add{display:flex;gap:6px;margin-bottom:14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}.quick-add input{border:0;padding:12px 10px;color:var(--text);background:transparent;min-width:0;width:100%;font-size:13px;min-height:46px}.quick-add input::placeholder{color:var(--text-muted)}.quick-submit{background:transparent;color:var(--text);border:0;min-width:44px;font-size:22px}.card-list{display:flex;flex-direction:column;gap:10px;min-height:90px}.task-card{display:flex;align-items:flex-start;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 3px 10px #08142108;min-width:0;overflow:hidden}.card-content{flex:1;min-width:0;text-align:left;padding:16px;border:0;color:var(--text);background:transparent;font-size:13px;min-height:74px;display:flex;flex-direction:column;gap:11px}.card-content:hover{background:var(--bg)}.card-title{font-weight:600;line-height:1.5;overflow-wrap:anywhere}.card-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--text-muted)}.card-meta:empty{display:none}.due-badge,.check-badge,.completed-badge{padding:3px 6px;background:var(--surface-2);border-radius:5px;white-space:nowrap}.due-badge.is-overdue{background:var(--warn-bg);color:var(--warn-text);font-weight:600}.completed-badge{color:var(--success)}.card-tags{display:flex;flex-wrap:wrap;gap:5px}.tag{display:inline-block;border:1px solid var(--border);border-radius:5px;padding:2px 7px;font-size:10px;color:var(--text-muted);overflow-wrap:anywhere;max-width:100%}.drag-handle{padding:13px 0 13px 8px;min-width:30px;min-height:48px;font-size:21px;color:var(--text-muted);cursor:grab;touch-action:none;user-select:none}.drag-ghost{opacity:.25}.drag-chosen{box-shadow:0 0 0 2px var(--accent)}.today-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.today-group{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:10px}.today-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px}.today-group h2{font:600 14px Inter,sans-serif}.today-group .task-card{background:var(--bg)}.today-group .task-card:hover{border-color:var(--accent)}.overdue-group{background:var(--surface-2)}.card-context{font-size:10px;color:var(--text-muted);overflow-wrap:anywhere}.task-empty{color:var(--text-muted);font-size:12px;padding:22px 0;line-height:1.8}.project-list{display:grid;gap:26px}.list-group{display:grid;gap:10px}.list-group>h2{display:flex;gap:10px;align-items:center;font:600 14px Inter,sans-serif;margin:0 0 3px}.list-row{display:flex;gap:10px;align-items:center}.list-row>.task-card{flex:1}.list-row>.task-button{flex-shrink:0}.task-detail,.task-settings{color:var(--text);border:1px solid var(--border);background:var(--bg);padding:0;box-shadow:var(--shadow);max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}.task-detail{inset:0 0 0 auto;width:590px;max-width:100%;height:100dvh;margin:0;max-height:100dvh;border-radius:0;border-right:0}.task-detail::backdrop,.task-settings::backdrop{background:#080f198f}.detail-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);padding:22px 26px;border-bottom:1px solid var(--border)}.detail-header h2{font-size:24px;margin-top:6px}.detail-body,.settings-body{padding:24px 26px 40px}.detail-body form{display:grid;gap:18px}.detail-body textarea{font-size:14px;line-height:1.7}.preview-controls{display:flex;justify-content:flex-end;margin-top:-10px}.markdown-preview{padding:15px;background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{font-size:22px;margin:12px 0}.markdown-preview p{margin:8px 0}.markdown-preview pre{white-space:pre-wrap;background:var(--surface-2);padding:10px;border-radius:6px}.markdown-preview a{color:var(--text);text-decoration:underline}.markdown-preview table{display:block;overflow:auto;border-collapse:collapse}.markdown-preview td,.markdown-preview th{border:1px solid var(--border);padding:6px}.due-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tag-fieldset{border:1px solid var(--border);padding:12px;border-radius:8px;min-width:0}.tag-fieldset legend{font-size:12px;font-weight:600}.tag-options{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.tag-choice{display:flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:6px;padding:7px 9px;min-height:44px;overflow-wrap:anywhere;max-width:100%}.checklist-section{border-top:1px solid var(--border);margin-top:28px;padding-top:20px}.checklist-section h3{font-size:14px;margin:0 0 16px}.checklist-row{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--border);padding:7px 0}.checklist-row input[type=text]{min-width:0;width:100%;border:0;color:var(--text);background:transparent;padding:8px 4px;min-height:44px}.checklist-row input[type=checkbox]:checked+input{text-decoration:line-through;color:var(--text-muted)}.checklist-row .tiny{padding:5px;min-width:36px;min-height:44px}.check-drag{font-size:22px;cursor:grab;color:var(--text-muted);padding:10px 0;touch-action:none;user-select:none}.checklist-section .quick-add{margin-top:14px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:22px;margin-top:28px}.task-settings{width:620px;max-width:calc(100% - 32px);border-radius:14px}.task-settings .settings-body{display:grid;gap:15px}.settings-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--border)}.settings-row input{flex:1;min-width:150px}.settings-actions{display:flex;gap:10px}.dialog-error{position:sticky;top:0;z-index:4;margin:0;border-radius:0;padding:18px 24px}.task-detail .eyebrow{overflow-wrap:anywhere}.workspace-footer{margin-top:auto}
@media(min-width:701px){main{padding-left:32px;padding-right:32px}}@media(min-width:1500px){main{padding-left:48px;padding-right:48px}}
@media(max-width:1050px){.today-grid{grid-template-columns:minmax(0,1fr)}.today-group{padding:16px}.tasks-toolbar>.task-field{min-width:100%;max-width:none}}
@media(max-width:700px){#tasks-area{padding-top:20px}.tasks-toolbar{gap:8px}.tasks-toolbar>.task-field{min-width:100%}.tasks-toolbar>.task-button{font-size:11px;flex:1;padding:8px}.task-tabs{gap:0;justify-content:space-between}.view-tab{padding:12px 14px;font-size:12px}.view-heading{padding:24px 0 20px}.view-heading h2{font-size:27px}.save-status{font-size:10px}.task-board{gap:14px;scroll-snap-type:x mandatory;min-height:420px}.board-column{flex:0 0 100%;max-width:100%;padding:12px}.drag-handle{min-width:40px;min-height:50px;padding-left:12px}.task-detail{width:100%;height:100dvh}.detail-header{padding:18px 16px;padding-top:calc(18px + env(safe-area-inset-top))}.detail-header h2{font-size:22px}.detail-body{padding:20px 16px calc(32px + env(safe-area-inset-bottom))}.task-detail input,.task-detail select,.task-detail textarea,.quick-add input,.task-filters input,.task-filters select,.settings-body input{font-size:16px}.task-field input[type=date]{padding:10px 6px}.due-fields{gap:8px}.task-settings{max-width:calc(100% - 20px)}.task-settings .settings-body{padding:20px 16px 30px}.checklist-row{gap:3px;flex-wrap:wrap}.checklist-row input[type=text]{width:calc(100% - 64px)}.checklist-row .tiny{min-width:44px}.checklist-row .tiny:first-of-type{margin-left:auto}.check-drag{padding:10px 6px}.list-row{align-items:stretch;flex-direction:column}.today-grid{gap:16px}.task-filters{gap:8px}.task-filters input{min-width:100%}.task-filters select{flex:1}.task-empty{font-size:12px}.page-header .package-pill{display:none}}
@media(prefers-reduced-motion:reduce){.task-board{scroll-behavior:auto}}

.view-controls{display:flex;gap:10px;align-items:start;padding-bottom:20px}.filter-panel{flex:1;min-width:0}.filter-panel summary{min-height:44px;border:1px solid var(--border);border-radius:8px;padding:10px 13px;background:var(--surface);cursor:pointer;font-size:12px}.filter-panel .task-filters{padding:10px 0 0}.filter-panel .task-filters input{min-width:0}.view-controls>.task-button{flex-shrink:0}
@media(min-width:701px){.filter-panel summary{display:none}.filter-panel .task-filters{padding:0}}
@media(max-width:700px){main.tasks-page{padding-top:16px}.tasks-page .page-header{padding-bottom:12px}.tasks-page .page-header .eyebrow{display:none}.tasks-page .page-header h1{font-size:26px;margin:0}#tasks-area{padding-top:16px}.tasks-toolbar>.task-field>label{display:none}.task-tabs{padding-top:12px}.view-heading:not([data-view=today]){display:none}.view-controls{padding-top:16px;padding-bottom:16px}.filter-panel .task-filters{flex-direction:column}.filter-panel .task-filters input,.filter-panel .task-filters select{width:100%;max-width:none}.task-detail{position:fixed}.task-settings{position:fixed}}

.task-board.is-dragging{scroll-snap-type:none;scroll-behavior:auto}

.quick-hint{display:block;color:var(--text-muted);font-size:10px;margin:-6px 0 14px}.quick-add:has(+.quick-hint){margin-bottom:10px}

/* Paket 3: Kalender, ausschließlich bestehende Design-Tokens. */
#calendar-area{padding:24px 0 36px;flex:1;min-width:0}.calendar-toolbar,.calendar-navigation,.calendar-view-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.calendar-toolbar{justify-content:space-between;gap:14px}.calendar-navigation>.task-button:first-child,.calendar-navigation>.task-button:last-child{font-size:24px;padding:3px 16px}.calendar-view-tabs{padding:4px;background:var(--surface-2);border:1px solid var(--border);border-radius:11px}.calendar-view-tabs .task-button{border:0;background:transparent;color:var(--text-muted)}.calendar-view-tabs [aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.calendar-heading{padding:30px 0 24px}.calendar-heading h2{font-size:28px;margin-top:8px}.calendar-content{min-width:0;touch-action:pan-y}.calendar-hint{font-size:12px;line-height:1.8;color:var(--text-muted);padding:10px 0 16px}.week-grid{display:grid;grid-template-columns:48px repeat(7,minmax(110px,1fr));min-width:850px;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.calendar-content:has(.week-grid){overflow-x:auto}.week-day{min-width:0;border-left:1px solid var(--border)}.week-day>header{height:48px;display:grid;place-items:center;background:var(--surface)}.week-day>header button{border:0;font-size:11px;padding:4px;background:transparent;min-width:44px}.is-today>header,.month-day.is-today{background:var(--surface-2);box-shadow:inset 0 3px var(--accent)}.all-day-rail{height:98px;padding:5px;overflow-y:auto;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--bg)}.day-timeline{height:792px;position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 32px,var(--border) 32px,var(--border) 33px)}.day-timeline>.calendar-entry{position:absolute;z-index:1;overflow:hidden;margin:0;border-radius:5px;min-height:24px;padding:4px 6px}.time-scale-head{height:146px;font-size:9px;padding:15px 3px;color:var(--text-muted)}.time-label{height:33px;font-size:9px;color:var(--text-muted);padding:0 4px}.calendar-entry{display:flex;flex-direction:column;align-items:start;gap:3px;width:100%;padding:10px 12px;margin-bottom:7px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);text-align:left;min-width:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere;min-height:44px}.event-entry{border-left:3px solid var(--accent);background:var(--surface-2)}.event-entry:hover,.task-entry:hover{box-shadow:inset 0 0 0 1px var(--accent)}.event-time{font-size:10px;color:var(--text-muted)}.calendar-entry small{color:var(--text-muted);font-size:10px}.task-entry.is-overdue{background:var(--warn-bg);color:var(--warn-text)}.task-entry.is-overdue .event-time{color:inherit}.all-day-rail .calendar-entry{padding:5px;font-size:10px;min-height:34px}.all-day-rail .event-time{font-size:9px}.now-line{position:absolute;left:0;right:0;border-top:2px solid var(--success);z-index:2;pointer-events:none}.now-line:before{content:'';display:block;width:7px;height:7px;position:absolute;left:-3px;top:-4px;border-radius:50%;background:var(--success)}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--border);border-top:1px solid var(--border);border-radius:10px;overflow:hidden}.month-weekday{text-align:center;color:var(--text-muted);font-size:11px;padding:12px 0;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.month-day{min-height:132px;min-width:0;padding:5px;background:var(--surface);border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.month-day>.task-button{border:0;padding:5px;min-width:44px;background:transparent}.month-day.other-month{background:var(--bg)}.month-day.other-month>.task-button{color:var(--text-muted)}.month-day .calendar-entry{padding:5px;margin-bottom:4px;font-size:10px;min-height:30px}.month-day .event-time{font-size:9px}.calendar-agenda{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.agenda-day{border:1px solid var(--border);border-radius:12px;padding:18px;background:var(--surface);min-width:0}.agenda-day>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;margin-bottom:6px}.agenda-day h3{font-size:13px;margin:0}.agenda-day.is-today>header{margin:-18px -18px 12px;padding:12px 18px;border-radius:12px 12px 0 0}.reminder-section{border-top:1px solid var(--border);margin-top:28px;padding-top:20px}.reminder-section h3,.calendar-settings-body h3{font-size:16px;margin:0 0 14px}.reminder-row,.device-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding:12px 0}.reminder-row>div,.device-row>div{flex:1;min-width:140px}.reminder-row small,.device-row small{display:block;font-size:11px;color:var(--text-muted);margin-top:4px}.reminder-row strong,.device-row strong{font-size:12px}.reminder-form{margin-top:16px}.calendar-settings-body{display:grid;gap:30px}.calendar-settings-body section+section{border-top:1px solid var(--border);padding-top:24px}.calendar-settings-body form{display:grid;gap:16px}.calendar-settings-body .settings-actions{flex-wrap:wrap;margin-top:12px}.feed-once{display:grid;gap:12px;margin-top:18px;padding:16px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px}.calendar-settings-body summary{padding:15px 0;cursor:pointer}.calendar-settings-body .task-field{margin:12px 0}.calendar-error{margin:0;border-radius:0}
@media(max-width:1050px){.calendar-agenda{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){#calendar-area{padding-top:20px}.calendar-toolbar{gap:12px}.calendar-navigation{gap:4px}.calendar-view-tabs{order:3;width:100%;justify-content:space-between}.calendar-view-tabs .task-button{flex:1}.calendar-heading{padding:24px 0 20px}.calendar-heading h2{font-size:23px;line-height:1.3}.calendar-toolbar>.primary{font-size:12px}.calendar-agenda{gap:14px}.agenda-day{padding:14px}.agenda-day.is-today>header{margin:-14px -14px 12px;padding:12px 14px}.month-day{padding:2px;min-height:96px}.month-day .calendar-entry{height:9px;min-height:9px;padding:0;margin:4px 6px;width:calc(100% - 12px);border-radius:3px}.month-day .calendar-entry>*{display:none}.month-day>.task-button{min-width:100%;padding:2px;font-size:11px}.month-weekday{font-size:10px}.month-day .calendar-entry.event-entry{background:var(--accent)}.month-day .calendar-entry.task-entry{background:var(--text-muted)}.calendar-settings-body input,.calendar-settings-body select,.reminder-form input,.reminder-form select{font-size:16px}#open-settings{font-size:0;width:40px;padding:4px}#open-settings span{display:none}}

#open-settings{display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* Paket 4: Zustimmung, KI-Verbindungen und lesendes Protokoll. */
.oauth-page{display:grid;grid-column:auto;place-items:center;padding:40px 20px;min-height:100dvh}.oauth-card{width:100%;max-width:650px;padding:32px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}.oauth-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:36px}.oauth-card h1{font-size:34px;margin:14px 0 24px}.oauth-card>p{overflow-wrap:anywhere}.oauth-facts{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;margin:24px 0;padding:20px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;font-size:13px}.oauth-facts dt{color:var(--text-muted)}.oauth-facts dd{margin:0;overflow-wrap:anywhere}.oauth-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.oauth-form select{font:inherit}.connection-row{display:flex;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid var(--border)}.connection-row>div{min-width:0;flex:1}.connection-row strong{font-size:14px;overflow-wrap:anywhere}.connection-row small{display:block;font-size:11px;color:var(--text-muted);margin-top:4px}.connection-domains{overflow-wrap:anywhere}.audit-dialog{width:1000px}.audit-list{display:grid;gap:10px}.audit-entry{border:1px solid var(--border);border-radius:10px;background:var(--surface);min-width:0}.audit-entry summary{display:grid;grid-template-columns:160px 100px minmax(0,1fr);gap:12px;padding:16px;cursor:pointer;font-size:12px;overflow-wrap:anywhere}.audit-time{color:var(--text-muted)}.audit-states{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 16px;min-width:0}.audit-states>div{min-width:0}.audit-states h3{font-size:13px}.audit-states pre{background:var(--bg);padding:12px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.65 monospace;max-height:420px;overflow:auto}.audit-object{display:block;padding:0 16px;color:var(--text-muted);overflow-wrap:anywhere}
@media(max-width:700px){.oauth-page{padding:16px;min-height:100dvh}.oauth-card{padding:22px 18px;border-radius:12px}.oauth-card h1{font-size:28px}.oauth-header{margin-bottom:26px}.oauth-header .brand{font-size:25px}.oauth-facts{grid-template-columns:1fr;gap:7px;padding:16px}.oauth-facts dd+dt{margin-top:10px}.oauth-form select{font-size:16px}.oauth-actions .task-button{flex:1}.connection-row{align-items:flex-start;flex-wrap:wrap}.connection-row>div{min-width:160px}.audit-entry summary{grid-template-columns:1fr;gap:4px}.audit-states{grid-template-columns:1fr}.audit-dialog{max-height:94dvh}}
