:root{--ink:#17262d;--muted:#63717a;--bg:#f4f3f4;--paper:#fff;--line:#dadde3;--accent:#a86f42;--forest:#091e43;--dark:#091e43;--soft:#f3f4f6;--soft-strong:#e0e3e8;--primary-text:#fff;--accent-text:#fff;--sidebar-text:#fff;--canvas-text:#091e43;--orange:#b76d2e;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--forest);text-decoration:none}a:hover{text-decoration:underline}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 15px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:var(--soft)}button:active{transform:translateY(1px)}button.primary{background:var(--forest);border-color:var(--forest);color:white}button.primary:hover{background:var(--forest)}button.lime{background:var(--accent);border-color:var(--accent);color:var(--dark)}button.ghost{background:transparent;border-color:transparent}button.danger{color:#a83b32}button.small{font-size:12px;padding:7px 10px}input,textarea,select{width:100%;border:1px solid var(--line);background:white;border-radius:8px;padding:10px 11px;color:var(--ink);min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--tone-ink);outline:2px solid color-mix(in srgb,var(--forest) 31%,transparent)}textarea{resize:vertical;line-height:1.65;min-height:100px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:var(--tone-ink)}label small{font-weight:400;color:var(--muted);line-height:1.5}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;margin-bottom:8px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;margin-bottom:7px}h3{font-size:14px;margin-bottom:8px}p{line-height:1.65}.muted{color:var(--muted)}.tiny{font-size:11px}.small-text{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,monospace}.shell{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:var(--muted);padding:29px 17px 18px;position:fixed;width:232px;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 29px}.brand-mark{background:var(--accent);color:var(--dark);width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:800;letter-spacing:0}.brand-name{color:white;font-size:17px;font-weight:650;letter-spacing:-.4px}.brand-name small{display:block;color:var(--muted);font-size:9px;letter-spacing:2px;margin-top:4px}.nav-group{font-size:9px;letter-spacing:1.8px;color:var(--tone-ink);margin:22px 14px 9px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{display:flex;align-items:center;gap:12px;color:var(--muted);background:transparent;border:0;text-align:left;font-weight:450;font-size:13px;padding:12px 13px;border-radius:9px}.nav button svg{width:18px;height:18px;opacity:.8}.nav button.active{background:var(--forest);color:var(--accent)}.nav button.active svg{opacity:1}.nav button:hover{background:var(--forest)}.nav .count{margin-left:auto;font-size:10px;border-radius:5px;padding:2px 6px;background:var(--forest);color:var(--line)}.sidebar-bottom{margin-top:auto;padding:24px 10px 4px}.local-status{display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:10px}.dot{width:6px;height:6px;border-radius:50%;background:var(--muted);display:inline-block}.dot.grey{background:var(--muted)}.sidebar-footer{padding-top:17px;border-top:1px solid var(--forest);display:flex;align-items:center;gap:10px}.avatar{width:30px;height:30px;display:grid;place-items:center;background:var(--forest);border-radius:50%;font-size:10px;color:var(--line)}.sidebar-footer button{margin-left:auto;color:var(--muted);padding:5px}.workspace{grid-column:2;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#ffffffb3;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.breadcrumb{font-size:11px;letter-spacing:1.4px;color:var(--tone-ink);text-transform:uppercase}.top-actions{display:flex;align-items:center;gap:16px}.tag{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;border-radius:6px;padding:5px 8px;white-space:nowrap;background:var(--soft);color:var(--tone-ink)}.tag.green{background:var(--line);color:var(--tone-ink)}.tag.amber{background:#fff0d9;color:#9b631b}.tag.red{background:#fbe8e3;color:#a14535}.content{max-width:1550px;margin:0 auto;padding:34px 36px 48px}.page-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:25px}.page-heading p{margin-bottom:0;color:var(--muted);font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:var(--tone-ink);font-weight:650;margin-bottom:11px}.flex{display:flex;align-items:center;gap:10px}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}.gap-top{margin-top:20px}.grid{display:grid;gap:19px}.cols2{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.cols-even{grid-template-columns:1fr 1fr}.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0;box-shadow:0 2px 3px color-mix(in srgb,var(--forest) 1%,transparent)}.card-header{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:22px}.card-header p{color:var(--muted);font-size:11px;margin:4px 0 0}.kpi{padding:21px 21px 18px}.kpi-label{color:var(--tone-ink);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:4px}.kpi-label svg{width:15px;height:15px;color:var(--tone-ink)}.kpi-value{font-size:29px;font-weight:620;letter-spacing:-1.3px;margin:17px 0 11px;font-variant-numeric:tabular-nums}.kpi-foot{font-size:10px;color:var(--tone-ink);line-height:1.5}.kpi:first-child{border-top:3px solid var(--tone-ink)}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:15px 18px;background:white;border:1px solid var(--line);border-radius:12px}.filters label{font-size:9px;text-transform:uppercase;letter-spacing:.9px;gap:5px;flex:1;min-width:110px}.filters input,.filters select{padding:8px 9px;font-size:11px}.filters label.dataset{min-width:170px;flex:1.1}.notice{display:flex;align-items:center;gap:9px;padding:11px 15px;border:1px solid #e9debe;background:#fff9ea;color:#8d702d;font-size:11px;border-radius:9px;line-height:1.6;margin-bottom:18px}.notice.green{border-color:var(--line);background:var(--soft);color:var(--tone-ink)}.notice.neutral{border-color:var(--line);background:var(--soft);color:var(--tone-ink)}.notice svg{width:16px;min-width:16px}.chart{width:100%;height:228px;overflow:visible}.chart text{font-family:inherit;fill:var(--tone-ink);font-size:10px}.chart .gridline{stroke:var(--soft);stroke-width:1}.chart .area{fill:color-mix(in srgb,var(--forest) 16%,transparent)}.chart .line{stroke:var(--tone-ink);stroke-width:2.5;fill:none}.legend{display:flex;align-items:center;gap:20px;font-size:10px;color:var(--tone-ink);margin:10px 0 2px}.legend i{display:inline-block;width:7px;height:7px;background:var(--tone-ink);border-radius:2px;margin-right:6px}.bar-row{margin:18px 0}.bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px}.bar-track{height:7px;background:var(--soft);border-radius:5px;overflow:hidden}.bar-fill{height:100%;background:var(--tone-ink);border-radius:5px}.bar-row:nth-child(3n) .bar-fill{background:var(--muted)}.bar-row:nth-child(3n+1) .bar-fill{background:var(--muted)}.metric-inline{display:flex;align-items:center;gap:25px}.metric-inline strong{display:block;font-size:24px;font-weight:550;letter-spacing:-1px}.metric-inline span{font-size:10px;color:var(--muted)}.goal-card{background:var(--forest);border:0;color:var(--soft)}.goal-card .eyebrow,.goal-card p{color:var(--muted)}.goal-num{font-size:46px;font-weight:500;letter-spacing:-2px;margin:16px 0 12px}.goal-card .bar-track{background:var(--tone-ink);height:5px}.goal-card .bar-fill{background:var(--muted)}.insight{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.insight:last-child{border:0;padding-bottom:0}.insight-index{font-size:10px;color:var(--tone-ink);background:var(--soft);border-radius:8px;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.insight h3{font-size:12px;margin:0 0 5px}.insight p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:var(--tone-ink);font-weight:600;text-align:left;padding:13px 10px;background:var(--soft);border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 10px;border-bottom:1px solid var(--soft);vertical-align:top;line-height:1.5}tr:last-child td{border:0}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.empty{padding:38px 20px;text-align:center;color:var(--tone-ink);border:1px dashed var(--line);border-radius:12px;line-height:1.8;font-size:12px}.empty strong{display:block;color:var(--tone-ink);font-size:14px;margin-bottom:6px}.section-tabs{display:flex;gap:6px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:12px}.section-tabs button{border:0;background:transparent;padding:8px 12px;font-size:12px;color:var(--tone-ink)}.section-tabs button.active{background:var(--line);color:var(--tone-ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.stack{display:flex;flex-direction:column;gap:15px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:18px}.output{white-space:pre-wrap;word-break:break-word;line-height:1.8;font-size:12px;background:var(--soft);padding:20px;border-radius:10px;max-height:700px;overflow:auto;border:1px solid var(--line)}pre.output{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;line-height:1.65}.source-card{border:1px solid var(--line);border-radius:10px;padding:17px;margin:12px 0}.source-card h3{font-size:13px}.source-card p{font-size:11px;color:var(--muted)}.source-card a{overflow-wrap:anywhere;font-size:11px}.source-meta{font-size:9px;color:var(--tone-ink);margin-top:9px}.split-editor{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.draft-list{display:flex;flex-direction:column;gap:8px}.draft-button{display:block;width:100%;text-align:left;padding:15px;border-radius:12px;white-space:normal}.draft-button.active{border-color:var(--tone-ink);background:var(--soft)}.draft-button strong{display:block;font-size:12px;margin:6px 0}.draft-button small{display:block;color:var(--tone-ink);font-size:10px;margin-top:7px}.channel-tabs{display:flex;gap:7px;margin:17px 0 13px;flex-wrap:wrap}.channel-tabs button{font-size:11px;padding:8px 11px}.channel-tabs button.active{background:var(--forest);border-color:var(--forest);color:white}.channel-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--tone-ink);margin-right:6px}.channel-dot.instagram{background:#d18b87}.channel-dot.google{background:#e5be57}.channel-dot.wordpress{background:#8cabc8}.caption{min-height:290px}.media-preview{max-width:100%;max-height:220px;object-fit:contain;border-radius:10px;border:1px solid var(--line)}.editor-meta{font-size:10px;color:var(--tone-ink);display:flex;justify-content:space-between;margin:7px 0 15px}.tool-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}.tool-list{max-height:660px;overflow:auto}.tool-list button{display:block;text-align:left;width:100%;margin-bottom:7px;padding:12px;overflow-wrap:anywhere}.tool-list button strong{font-size:11px}.tool-list button small{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.6;font-weight:400}.tool-list button.active{border-color:var(--tone-ink);background:var(--soft)}.tool-json{min-height:180px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.step-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--line);color:var(--tone-ink);font-size:11px;margin-right:8px}.connection-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.calendar-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.date-square{background:var(--soft);border-radius:11px;padding:9px;text-align:center}.date-square strong{font-size:20px;display:block;line-height:1.2}.date-square small{font-size:9px;text-transform:uppercase;color:var(--tone-ink)}.calendar-row p{font-size:11px;color:var(--muted);margin:5px 0}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--dark);padding:60px;color:var(--soft);display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:48px;max-width:500px;line-height:1.13;letter-spacing:-2px}.auth-story p{color:var(--muted);max-width:420px}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form form{width:100%;max-width:380px}.auth-form h2{font-size:25px}.auth-form .brand-mark{margin-bottom:30px}.auth-form label{margin-top:20px}.auth-form button{width:100%;margin-top:24px}.auth-form .error{color:#a84938;font-size:12px}.loading{padding:80px;text-align:center;color:var(--tone-ink)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--forest);color:white;padding:13px 22px;box-shadow:0 8px 35px #0002;border-radius:10px;z-index:200;max-width:90vw;font-size:12px;line-height:1.6;display:none}#toast.error{background:#873f32}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:min(740px,92vw);max-height:88vh;color:var(--ink);box-shadow:0 30px 100px #0003}dialog::backdrop{background:color-mix(in srgb,var(--forest) 50%,transparent);backdrop-filter:blur(3px)}dialog .output{max-height:350px}.mobile-menu{display:none}.check-label{flex-direction:row;align-items:flex-start;line-height:1.7;font-weight:450}.check-label input{width:auto;margin:4px 5px 0 0}.capacity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.capacity-tile{padding:16px;background:var(--soft);border-radius:10px}.capacity-tile strong{display:block;font-size:21px;margin:8px 0}.capacity-tile small{color:var(--muted);font-size:10px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:15px 0 10px}.data-note{font-size:10px;color:var(--tone-ink);line-height:1.7;margin:16px 0 0}.area-head{display:flex;gap:14px;align-items:center}.area-icon{width:35px;height:35px;background:var(--soft);display:grid;place-items:center;border-radius:10px;color:var(--tone-ink)}.area-icon svg{width:18px;height:18px}.number-chip{border:1px solid var(--line);padding:4px 7px;border-radius:5px;font-size:10px;color:var(--tone-ink)}.editor-illustration{height:110px;background:linear-gradient(110deg,var(--line),var(--soft));border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.editor-illustration strong{font-size:18px;font-weight:550;letter-spacing:-.7px}.editor-illustration svg{width:65px;height:65px;stroke:var(--tone-ink);opacity:.6}details{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}summary{cursor:pointer;font-size:12px;color:var(--tone-ink);padding:3px 0 10px}.connection-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--soft);font-weight:700;font-size:12px}.preview-pill{font-size:10px;padding:5px 9px;border-radius:6px;background:#fff1d9;color:#9e6c20}.error-box{background:#fff0ea;color:#a04b33;padding:13px;border-radius:9px;font-size:12px;margin:14px 0;line-height:1.6}.report-footer{display:flex;justify-content:space-between;gap:12px;margin-top:30px;padding-top:16px;border-top:1px solid var(--line);font-size:9px;color:var(--tone-ink)}
@media(min-width:1600px){.content{padding-top:45px}.chart{height:260px}}@media(max-width:1150px){.sidebar{width:200px}.shell{grid-template-columns:200px 1fr}.topbar{padding:0 25px}.content{padding:28px 25px}.kpi-value{font-size:24px}.cols2{grid-template-columns:1.3fr 1fr}.tool-grid{grid-template-columns:250px 1fr}.split-editor{grid-template-columns:210px 1fr}.kpi{padding:17px}}@media(max-width:900px){.cols2,.cols-even{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.cols3{grid-template-columns:1fr 1fr}.tool-grid,.split-editor{grid-template-columns:1fr}.tool-list{max-height:250px}.draft-list{display:grid;grid-template-columns:repeat(2,1fr);max-height:220px;overflow:auto}.auth-story{padding:40px}.auth-story h1{font-size:36px}.top-actions .date-now{display:none}}@media(max-width:650px){.sidebar{transform:translateX(-100%);width:232px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vw color-mix(in srgb,var(--forest) 44%,transparent)}.shell{display:block}.workspace{width:100%}.mobile-menu{display:block;padding:6px;border:0;background:transparent}.mobile-menu svg{width:20px;height:20px}.topbar{height:61px;padding:0 16px}.breadcrumb{font-size:9px;letter-spacing:.7px}.content{padding:23px 16px}.page-heading{flex-direction:column;margin-bottom:20px;gap:13px}h1{font-size:26px}.card{padding:18px}.filters{gap:10px;padding:12px}.filters label{min-width:calc(50% - 10px);flex:1}.filters label.dataset{min-width:100%}.cols3,.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.kpis{gap:10px}.kpi{padding:15px}.kpi-value{font-size:23px;margin:14px 0 10px}.kpi-label{font-size:10px}.kpi-foot{font-size:9px}.auth-page{display:block}.auth-story{display:none}.auth-form{min-height:100vh;padding:27px}.capacity-grid{grid-template-columns:1fr 1fr}.calendar-row{grid-template-columns:50px 1fr;gap:10px}.calendar-row>button{grid-column:2}.top-actions{gap:6px}.top-actions .tag{font-size:9px}.chart{height:200px}.section-tabs{overflow-x:auto;white-space:nowrap}.report-footer{font-size:8px}.draft-list{grid-template-columns:1fr 1fr}}
@media print{.sidebar,.topbar,.filters,.page-heading button,.form-actions,.section-tabs{display:none!important}.shell{display:block}.workspace{width:100%}.content{padding:0;max-width:none}.card{break-inside:avoid;box-shadow:none}.cols2{grid-template-columns:1.5fr 1fr}body{background:white}.notice{color:#765720}button{display:none!important}}
button svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}.card-header>svg{width:19px;height:19px;color:var(--tone-ink)}.nav button svg,.mobile-menu svg{margin-right:0}.filters .dataset-select{min-width:145px}.form-grid details{grid-column:1/-1}[hidden]{display:none!important}

/* Individuelles Erscheinungsbild */
button.primary{color:var(--primary-text,#fff)}button.primary:hover{background:var(--forest);filter:brightness(1.1)}
button.lime,.brand-mark{color:var(--accent-text,var(--dark))}.sidebar{color:var(--sidebar-text,var(--muted))}
.sidebar .nav button,.sidebar .brand-name,.sidebar .brand-name small,.sidebar .nav-group,.sidebar .muted,.sidebar .sidebar-footer button{color:var(--sidebar-text,#fff)}
.sidebar .nav button.active{background:color-mix(in srgb,var(--sidebar-text) 12%,transparent);color:var(--sidebar-text)}
.sidebar .nav button:hover{background:color-mix(in srgb,var(--sidebar-text) 9%,transparent)}
.brand-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:7px;background:#fff;padding:3px}
.brand-name small{max-width:125px;letter-spacing:.6px;overflow-wrap:anywhere}.logo-preview{background:var(--dark);border-radius:12px;padding:24px;margin:18px 0;display:flex;justify-content:center}.logo-preview .brand-logo{width:160px;height:100px}
input[type=color]{padding:4px;height:46px;cursor:pointer}.chart .line{stroke:var(--forest)}.chart circle{fill:var(--forest)}.chart .area{fill:var(--forest);opacity:.08}.bar-fill{background:var(--forest)}.goal-overview{margin-bottom:28px}.goal-overview .goal-num{font-size:25px}

/* Shared theme rules cover selector specificity, including alternating bars and goal cards. */
body{color:var(--canvas-text,var(--ink))}.page-heading p,.page-heading .eyebrow{color:var(--canvas-muted,var(--muted))}
.card,.filters,dialog,.topbar{color:var(--ink)}a,summary{color:var(--tone-ink)}label{color:var(--ink)}
.kpi-label,.kpi-foot,.eyebrow,.legend,.chart text,.report-footer{color:var(--muted)}.chart text{fill:var(--muted)}
button:hover{background:var(--soft)}input:focus,textarea:focus,select:focus{border-color:var(--forest);outline:2px solid color-mix(in srgb,var(--forest) 25%,transparent)}
.kpi:first-child{border-top-color:var(--forest)}.card-header>svg,.kpi-label svg{color:var(--tone-ink)}
.chart .gridline{stroke:var(--line)}.legend i,.bar-fill,.bar-row:nth-child(3n) .bar-fill,.bar-row:nth-child(3n+1) .bar-fill{background:var(--forest)}
.bar-track{background:var(--soft-strong)}.goal-card{background:var(--forest);color:var(--primary-text)}
.goal-card .eyebrow,.goal-card p,.goal-card .progress-label{color:var(--primary-text);opacity:.85}
.goal-card .bar-track{background:color-mix(in srgb,var(--primary-text) 25%,transparent)}.goal-card .bar-fill{background:var(--accent)}
.insight-index,.area-icon,.step-number,.connection-icon{background:var(--soft);color:var(--tone-ink)}
.section-tabs button.active,.draft-button.active,.tool-list button.active{background:var(--soft-strong);color:var(--tone-ink);border-color:var(--forest)}
.channel-tabs button.active{color:var(--primary-text)}.editor-illustration{background:linear-gradient(110deg,var(--soft-strong),var(--soft));border-color:var(--line)}.editor-illustration svg{stroke:var(--forest)}
.sidebar .avatar,.sidebar .nav .count{background:color-mix(in srgb,var(--sidebar-text) 14%,transparent);color:var(--sidebar-text)}
.sidebar .sidebar-footer{border-color:color-mix(in srgb,var(--sidebar-text) 20%,transparent)}.dot{background:var(--accent)}
#toast:not(.error){background:var(--forest);color:var(--primary-text)}.notice.neutral{background:var(--soft);color:var(--ink)}
@media print{body{color:#17262d}}

/* Redaktionsplanung, Motive und Freigaben */
.sidebar{overflow-y:auto}.nav-group{margin-top:15px}.nav button{padding-top:9px;padding-bottom:9px}.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.review-card{display:flex;flex-direction:column}.review-image{aspect-ratio:1;background:var(--soft);border-radius:12px;overflow:hidden;margin-bottom:15px;display:grid;place-items:center}.review-image img{width:100%;height:100%;object-fit:contain}.review-image .empty{border:0}.post-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:13px;max-height:240px;overflow:auto;margin:12px 0}.review-card .form-actions{margin-top:auto;padding-top:15px;flex-wrap:wrap}.review-full-image{width:100%;max-height:440px;object-fit:contain;border-radius:12px;background:var(--soft)}.full-preview{max-height:none}.briefing-output{max-height:220px}.channel-choice{display:flex;flex-wrap:wrap;gap:16px}.review-modal .check-label{font-size:13px}.review-card h3{line-height:1.5}.review-card .notice{margin-top:12px}.review-card .check-label{margin-top:12px}@media(max-width:1200px){.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.review-grid{grid-template-columns:1fr}}

/* Geführter Alltag: große Ziele, wenige Entscheidungen. */
.nav{gap:2px}.nav button{font-size:13.5px;padding:8px 11px}.brand{padding-bottom:18px}.nav-group{margin:12px 14px 6px}.sidebar-bottom{padding-top:14px}.help-navigation{margin-top:auto;padding-top:12px}.week-hero{padding:35px 38px;margin-bottom:20px;border-left:5px solid var(--forest)}.week-hero h2{font-size:30px;line-height:1.3;letter-spacing:-.7px;margin:10px 0 14px;max-width:730px}.week-hero p{max-width:710px;line-height:1.8;font-size:15px;margin-bottom:22px;color:var(--muted)}.large-button{padding:14px 23px;font-size:15px;min-height:50px}.week-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.week-stats .card{display:flex;align-items:center;gap:15px;padding:23px}.week-stats strong{font-size:32px;line-height:1}.week-stats span{font-size:13px;color:var(--muted)}.routine-list{list-style:none;counter-reset:routine;padding:0;margin:22px 0}.routine-list li{position:relative;padding:0 0 23px 42px;counter-increment:routine}.routine-list li:before{content:counter(routine);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--soft-strong);color:var(--ink);font-size:12px;font-weight:650}.routine-list strong,.routine-list span{display:block}.routine-list strong{font-size:14px;margin-bottom:5px}.routine-list span{font-size:13px;color:var(--muted);line-height:1.7}.simple-status{display:flex;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid var(--line);font-size:13px}.setup-progress{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;gap:12px;margin:0 0 28px}.setup-progress li{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--canvas-muted)}.setup-progress li>span{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--canvas-muted);border-radius:50%;font-size:12px}.setup-progress li.current{font-weight:650;color:var(--canvas-text)}.setup-progress li.current>span{background:var(--forest);border-color:var(--forest);color:var(--primary-text)}.setup-progress li.done>span{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.setup-card{max-width:800px;padding:32px}.setup-card h2{font-size:24px;line-height:1.4}.setup-card label{font-size:14px}.setup-card input,.setup-card select,.setup-card textarea{font-size:15px;padding:12px}.setup-channels{display:grid;grid-template-columns:1fr 1fr;gap:15px}.setup-channels label{border:1px solid var(--line);padding:15px;border-radius:10px}.setup-summary{display:flex;flex-direction:column;gap:8px;background:var(--soft);padding:21px;border-radius:12px;margin-bottom:7px}.setup-summary strong{font-size:20px}.setup-summary span{font-size:13px;color:var(--muted)}.review-toolbar .filters{border:0;padding:0}.review-toolbar .filters label{font-size:11px;text-transform:none;letter-spacing:0}.review-toolbar .filters select{font-size:14px;padding:10px}.review-decisions{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.review-decisions button{font-size:14px;min-height:46px;padding:12px 20px}.channel-review{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.channel-review h3{font-size:14px}.channel-review .post-preview-text{font-size:15px;line-height:1.85}.review-warning{font-size:12px;color:#8b5b14;padding:10px;background:#fff4df;border-radius:8px}.review-modal textarea{min-height:85px}.review-modal .check-label{font-size:14px}.review-card>.form-actions{justify-content:stretch}.review-card>.form-actions>button{width:100%;min-height:44px}.review-image .empty{font-size:12px}.review-grid .post-preview-text{max-height:155px}button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1000px){.setup-progress{grid-template-columns:1fr 1fr}.week-hero{padding:27px}.week-stats .card{flex-direction:column;align-items:flex-start;gap:10px}.week-hero h2{font-size:27px}}
@media(max-width:650px){.week-hero,.setup-card{padding:22px}.week-hero h2{font-size:24px}.setup-progress{gap:14px 10px}.setup-progress li{font-size:11px}.week-stats{gap:9px}.week-stats .card{padding:15px}.week-stats span{font-size:11px}.week-stats strong{font-size:27px}.setup-channels{grid-template-columns:1fr}.review-decisions{flex-direction:column-reverse}.review-decisions button{width:100%}.simple-status{flex-wrap:wrap}.setup-card .form-actions{flex-wrap:wrap}.large-button{width:100%;white-space:normal}}

/* Visueller Redaktionsbereich; Finanz-, Ziel- und Analyseansichten bleiben unverändert. */
.marketing-workspace{--editorial-muted:var(--muted);--editorial-surface:var(--soft)}
.marketing-workspace .page-heading{margin-top:25px}.area-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 12px;margin-bottom:24px}.area-tabs button{border:0;background:transparent;padding:9px 14px;font-size:13px;color:var(--canvas-muted)}.area-tabs button.active{background:var(--forest);color:var(--primary-text);border-radius:9px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 18px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:6px}.publishing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.publishing-card{overflow:hidden;padding:0;display:flex;flex-direction:column}.post-art{aspect-ratio:16/10;position:relative;background:var(--soft-strong);overflow:hidden}.post-art>img{display:block;width:100%;height:100%;object-fit:contain;background:var(--soft)}.post-art.fit{aspect-ratio:auto}.post-art.fit>img{height:auto;max-height:680px}.post-art.fit>.motif-placeholder{position:absolute;inset:0}.channel-images{margin-top:14px}.channel-images h4{margin:0 0 6px;font-size:13px}.channel-images ul{list-style:none;margin:0;padding:0}.channel-images li{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:6px 0;border-top:1px solid var(--line);font-size:13px}.channel-images li>span:first-child{flex:1 1 150px}.motif-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;text-align:center;color:var(--primary-text);background:var(--forest);outline:1px dashed color-mix(in srgb,var(--primary-text) 45%,transparent);outline-offset:-6px}.motif-placeholder>svg{width:54px;height:54px;stroke-width:1.1;opacity:.65}.motif-placeholder>span{font-size:13px;font-weight:600}.motif-placeholder>small{max-width:290px;font-size:11px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:inherit;opacity:.8}.image-origin{position:absolute;left:12px;top:12px;background:var(--paper);color:var(--ink);padding:5px 8px;border-radius:5px;font-size:10px}.publishing-card-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}.publishing-card-body h3{font-size:15px;line-height:1.5;margin:0}.card-caption{font-size:12px;line-height:1.8;color:var(--muted);margin:0;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.channel-marks{display:inline-flex;gap:5px;flex-wrap:wrap;align-items:center}.channel-mark{width:23px;height:23px;border-radius:50%;display:inline-grid;place-items:center;background:var(--soft-strong);color:var(--ink);font-size:10px;font-weight:650}.channel-mark.facebook{background:#e8f0ff;color:#225fb7}.channel-mark.instagram{background:#f8e8f4;color:#963c7d}.channel-mark.google{background:#e6f0ec;color:#306c54}.channel-mark.wordpress{background:#e5f1f5;color:#32637b}.editorial-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);line-height:1.6}.editorial-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.editorial-status.pending{color:#95600a}.editorial-status.approved{color:#317354}.editorial-status.rejected{color:#a04c38}.card-buttons{display:flex;gap:7px;margin-top:auto;padding-top:5px}.card-buttons>button.primary{flex:1;font-size:12px;padding:11px}.icon-button{min-width:38px;padding:9px 10px}.icon-button svg{margin:0;width:16px;height:16px}.image-choice{font-size:12px}.publishing-card details{margin:0;padding-top:10px}.editorial-alert{font-size:11px;color:#9b5e0e;margin:0;line-height:1.6}.publishing-empty{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:240px;padding:30px}.publishing-empty>div>svg{width:35px;height:35px;margin-bottom:15px;color:var(--muted)}.publishing-empty h2,.publishing-empty h3{margin-bottom:10px}.publishing-empty p{color:var(--muted);font-size:13px;max-width:480px}.segmented{display:flex;gap:3px;flex-wrap:wrap;padding:4px;background:var(--soft);border-radius:9px}.segmented button{padding:8px 12px;border:0;background:transparent;font-size:12px;color:var(--muted)}.segmented button.active{background:var(--paper);color:var(--ink);box-shadow:0 1px 4px #0000000a}.board-toolbar{display:flex;flex-direction:column;gap:17px;margin-bottom:24px;padding:18px}.board-toolbar label,.calendar-toolbar label{font-size:11px;min-width:140px}.board-toolbar select,.calendar-toolbar select{font-size:12px}.board-toolbar .segmented{margin-right:auto}.approval-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.approval-lane{min-width:0}.lane-heading{padding:0 3px 17px;border-bottom:2px solid var(--line);margin-bottom:18px}.lane-heading h2{font-size:14px;display:flex;align-items:center;gap:8px;margin:0 0 7px}.lane-heading h2>i{height:8px;width:8px;border-radius:50%;background:var(--muted)}.approval-lane.pending .lane-heading i{background:#be8a24}.approval-lane.rejected .lane-heading i{background:#bb7058}.approval-lane.approved .lane-heading i{background:#4f8969}.lane-heading h2>span{margin-left:auto;border-radius:5px;background:var(--soft-strong);padding:3px 7px;font-size:11px}.lane-heading p{color:var(--canvas-muted);font-size:11px;margin:0}.lane-content{display:flex;flex-direction:column;gap:18px}.lane-empty{border:1px dashed var(--line);border-radius:12px;padding:35px 17px;color:var(--canvas-muted);text-align:center;font-size:12px}.approval-board .post-art{aspect-ratio:16/11}.approval-board .card-buttons{flex-wrap:wrap}.approval-board .publishing-card-body{padding:16px}.approval-board .publishing-card-body>.flex .tiny{font-size:10px}.approval-board .channel-mark{width:20px;height:20px}.calendar-toolbar{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;align-items:center;padding:16px 18px}.calendar-toolbar h2{font-size:16px;margin:0 0 0 6px;text-transform:capitalize}.planning-note{font-size:11px;line-height:1.7;color:var(--canvas-muted);margin:16px 0}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--paper);overflow:hidden}.calendar-weekdays>div{padding:14px 9px;font-size:11px;color:var(--muted);text-align:center}.calendar-days{border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--paper);border-radius:0 0 12px 12px;overflow:hidden}.calendar-day{padding:10px 7px;min-height:245px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.calendar-day.today{background:color-mix(in srgb,var(--accent) 10%,var(--paper))}.calendar-day.other-month{opacity:.6}.calendar-day>header{display:flex;gap:5px;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--ink);flex-wrap:wrap}.calendar-day>header strong{font-size:13px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center}.calendar-day.today>header strong{background:var(--forest);color:var(--primary-text)}.calendar-day>header small{font-size:9px;color:var(--muted)}.calendar-no-post{display:block;text-align:center;font-size:10px;color:var(--muted);padding:30px 0}.calendar-entry{border:1px solid var(--line);border-radius:8px;background:var(--paper);overflow:hidden;margin:9px 0}.calendar-post{display:block;width:100%;border:0;background:transparent;padding:0;text-align:left;white-space:normal}.calendar-post .post-art{aspect-ratio:4/3}.calendar-post .motif-placeholder{padding:8px;gap:4px}.calendar-post .motif-placeholder svg{width:30px;height:30px}.calendar-post .motif-placeholder>span{font-size:10px;font-weight:500}.calendar-post .motif-placeholder small{display:none}.calendar-post-copy{display:flex;flex-direction:column;gap:9px;padding:10px 8px}.calendar-post-copy>strong{font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.calendar-post-copy small{font-size:10px;font-weight:400}.calendar-post .channel-mark{width:18px;height:18px;font-size:9px}.calendar-post .editorial-status{font-size:10px}.calendar-edit-time{border:0;border-top:1px solid var(--line);font-size:10px;border-radius:0;padding:8px;width:100%;background:var(--soft);color:var(--muted)}.calendar-event{font-size:10px;padding:6px 7px;background:var(--soft);color:var(--tone-ink);display:block;border-radius:5px;margin:7px 0;overflow-wrap:anywhere}.visual-calendar.month .calendar-day{min-height:165px}.visual-calendar.month .calendar-post .post-art{display:none}.visual-calendar.month .calendar-post-copy{padding:8px;gap:5px}.mobile-day-name{display:none}.unscheduled-posts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.calendar-day.drag-over{outline:2px solid var(--forest);outline-offset:-3px}.research-pulse{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:17px;margin-bottom:28px}.pulse-card{display:flex;align-items:center;gap:14px;padding:20px}.pulse-card>svg{width:28px;height:28px;color:var(--muted)}.pulse-card .eyebrow{display:block;margin:0 0 8px;font-size:9px}.pulse-card strong,.pulse-card small{display:block}.pulse-card strong{font-size:16px;font-weight:600}.pulse-card small{color:var(--muted);font-size:11px;margin-top:8px;line-height:1.6}.pulse-card button{margin-left:auto}.research-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px;align-items:start}.research-workspace .section-heading{margin-top:0;flex-wrap:wrap}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.research-source{padding:22px;display:flex;flex-direction:column;gap:15px}.source-domain{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.research-source h3{font-size:16px;line-height:1.5;margin:0}.research-source>p{font-size:12px;line-height:1.8;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.source-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:auto}.source-buttons a{font-size:11px}.source-buttons button{font-size:11px}.research-ideas h2{font-size:17px}.research-ideas h2 span{font-size:12px;color:var(--muted)}.saved-idea{padding:18px 0;border-top:1px solid var(--line);margin-top:19px}.saved-idea h3{font-size:13px;line-height:1.6}.saved-idea p{font-size:11px;color:var(--muted);line-height:1.8}.saved-idea a{font-size:11px}.composer-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:22px;align-items:start}.composer-library{padding:17px}.composer-library h2{font-size:16px;margin:0 0 18px}.composer-library h2>span{font-size:11px;color:var(--muted)}.library-item{display:flex;align-items:start;gap:10px;width:100%;padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;background:transparent;white-space:normal}.library-item.active{background:var(--soft)}.library-item>.post-art{width:45px;min-width:45px;height:49px;aspect-ratio:auto;border-radius:5px}.library-item .motif-placeholder{padding:5px}.library-item .motif-placeholder svg{width:26px;height:26px}.library-item .motif-placeholder span,.library-item .motif-placeholder small,.library-item .image-origin{display:none}.library-item>span{display:flex;flex-direction:column;gap:6px}.library-item strong{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-item small{font-size:10px;color:var(--muted);font-weight:400}.library-item .editorial-status{font-size:9px}.composer-main{min-width:0}.composer-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:22px;align-items:start}.composer-fields{display:flex;flex-direction:column;gap:20px;padding:25px}.composer-fields h2{font-size:18px;margin:0}.composer-fields label{font-size:12px}.composer-fields input,.composer-fields textarea{font-size:14px}.composer-fields .channel-tabs{gap:4px;margin:0}.composer-fields .channel-tabs button{font-size:11px;padding:8px}.composer-fields .caption{min-height:270px}.composer-fields .editor-meta{margin:-8px 0 0}.composer-fields details{margin:0;padding-top:15px}.composer-fields details>label{margin-top:15px}.composer-fields details .form-grid{margin:12px 0}.composer-fields .form-grid{grid-template-columns:1fr}.upload-photo{padding:18px;border:1px dashed var(--line);border-radius:10px;background:var(--soft);gap:12px;align-items:center;justify-content:center;text-align:center}.upload-photo>svg{width:22px;height:22px}.upload-photo input{padding:5px;font-size:11px;max-width:100%}.composer-actions{display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid var(--line);padding-top:20px}.composer-actions button{font-size:12px;flex:1;min-width:140px}.preview-label{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.preview-label .eyebrow{margin:0}.preview-label .tiny{font-size:10px}.feed-post{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;overflow:hidden}.feed-post>header{display:flex;gap:10px;align-items:center;padding:17px}.feed-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--accent);color:var(--accent-text);font-size:10px;font-weight:650;overflow:hidden}.feed-avatar img{width:100%;height:100%;object-fit:contain;background:var(--paper)}.feed-post header strong{font-size:12px;display:block;line-height:1.4}.feed-post header small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.feed-menu{margin-left:auto;font-size:13px;letter-spacing:1px}.feed-copy{padding:18px}.feed-copy>strong{font-size:14px;line-height:1.5}.feed-copy>p{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0}.feed-post>footer{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:13px 18px}.source-reference{border-top:1px solid var(--line);padding:14px 0;font-size:12px}.source-reference p{font-size:11px;line-height:1.8;color:var(--muted)}.source-reference a{font-size:11px}.source-reference small{display:block;color:var(--muted);margin-top:7px}dialog:has(.review-modal){width:min(1080px,94vw);padding:27px}.review-modal .channel-review{background:var(--soft);padding:19px;border-radius:10px}.review-modal .channel-review h3{margin-top:0}.review-modal .review-full-image{max-height:520px}.review-modal .review-decisions{padding-top:15px;border-top:1px solid var(--line)}
@media(max-width:1250px){.composer-layout{grid-template-columns:180px minmax(0,1fr)}.composer-form{grid-template-columns:minmax(0,1fr)}.composer-preview{max-width:520px}.research-workspace{grid-template-columns:minmax(0,1fr) 255px}.source-grid{grid-template-columns:1fr}.approval-board{gap:13px}.approval-board .publishing-card-body{padding:13px}.approval-board .card-buttons>button.primary{font-size:11px}.approval-board .motif-placeholder{padding:15px}.calendar-toolbar h2{font-size:14px}}
@media(max-width:1000px){.publishing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-board{grid-template-columns:1fr}.approval-lane .lane-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.approval-lane{margin-bottom:15px}.research-pulse{grid-template-columns:1fr 1fr}.research-pulse .pulse-card:first-child{grid-column:1/-1}.research-workspace{grid-template-columns:1fr}.research-ideas{order:2}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-layout{grid-template-columns:180px minmax(0,1fr)}.calendar-day{padding:8px 4px}.calendar-day>header small{display:none}.calendar-post .channel-mark{width:15px;height:15px;font-size:8px}.calendar-post-copy .flex{flex-wrap:wrap}.calendar-post-copy{padding:8px 5px}.calendar-post .editorial-status{font-size:9px}.calendar-weekdays>div{font-size:10px;padding:12px 3px}}
@media(max-width:700px){.publishing-grid,.source-grid,.approval-lane .lane-content{grid-template-columns:1fr}.publishing-tabs button{padding:9px 10px;font-size:12px}.section-heading{align-items:start;flex-direction:column}.publishing-empty{align-items:start;flex-direction:column;padding:23px}.research-pulse{grid-template-columns:1fr}.research-pulse .pulse-card:first-child{grid-column:auto}.board-toolbar label{min-width:100%;width:100%}.composer-layout{grid-template-columns:1fr}.composer-library{max-height:210px;overflow:auto}.composer-fields{padding:20px}.composer-preview{max-width:none}.calendar-weekdays{display:none}.calendar-days{grid-template-columns:1fr;border-radius:12px}.calendar-day{min-height:140px;padding:15px}.calendar-day>header{justify-content:start}.calendar-day>header small,.mobile-day-name{display:inline}.calendar-day>header small{margin-left:auto}.calendar-day.other-month{display:none}.calendar-post{display:flex;align-items:stretch;gap:0}.calendar-post .post-art{width:100px;min-width:100px;height:105px;aspect-ratio:auto}.calendar-post-copy{padding:12px;flex:1}.calendar-post-copy>strong{font-size:13px}.calendar-post .editorial-status{font-size:11px}.calendar-post .channel-mark{width:20px;height:20px;font-size:10px}.calendar-post-copy .flex{flex-wrap:nowrap}.calendar-post-copy small{font-size:11px}.calendar-edit-time{font-size:12px;padding:10px}.visual-calendar.month .calendar-day{min-height:100px}.calendar-day>header small{font-size:11px}.calendar-no-post{padding:10px}.planning-note{font-size:12px}.calendar-event{font-size:12px}.calendar-toolbar label{width:100%}}
.readiness .card-header{align-items:flex-start}.readiness-score{font-size:26px;font-weight:700;color:var(--forest);white-space:nowrap}
.readiness-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:2px}
.readiness-list li{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:14px;padding:12px 4px;border-top:1px solid var(--line)}
.readiness-list li:first-child{border-top:0}.readiness-list strong{display:block;font-size:14px}.readiness-list strong em{font-style:normal;font-weight:600;font-size:11px;letter-spacing:.04em;text-transform:uppercase;margin-left:6px;color:var(--muted)}
.readiness-list span{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.readiness-dot{width:12px;height:12px;border-radius:50%;background:var(--line)}
.readiness-ok .readiness-dot{background:#3f8f5a}.readiness-warn .readiness-dot{background:#d9962b}.readiness-missing .readiness-dot{background:#c0533f}
.readiness-ok strong em{color:#3f7a52}.readiness-warn strong em{color:#9b631b}.readiness-missing strong em{color:#a14535}
.capacity-quick{display:grid;gap:14px}.capacity-quick fieldset,.auto-sync{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0}.capacity-quick legend,.auto-sync legend{font-weight:700;padding:0 6px}
.segmented-choice{display:flex;flex-wrap:wrap;gap:8px}.segmented-choice label{display:inline-flex;margin:0;cursor:pointer}.segmented-choice input{position:absolute;opacity:0;width:1px;height:1px}
.segmented-choice span{border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600;background:white}
.segmented-choice input:checked+span{background:var(--forest);border-color:var(--forest);color:white}.segmented-choice input:focus-visible+span{outline:2px solid var(--forest);outline-offset:2px}
@media (max-width:640px){.readiness-list li{grid-template-columns:12px 1fr}.readiness-list li>button{grid-column:2;justify-self:start}}
#department-map select{min-width:180px}
.weekly-review p{font-size:16px;line-height:1.6;margin:6px 0 12px}
.post-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.insight-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}.insight-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.insight-list span{color:var(--muted);white-space:nowrap}
.suggestion{margin-top:10px}.suggestion .flex.wrap{gap:8px;margin-top:8px}
.over-limit{color:#a14535;font-weight:700}.zoho-state{display:grid;gap:6px;margin:6px 0 10px}.zoho-state .flex{gap:6px}.studio-zoho{margin-bottom:12px;padding:12px 14px}.studio-zoho .zoho-state{margin:0}
.channel-mark.linkedin,.channel-mark.linkedinprofile{background:#0a66c2;color:#fff}.channel-mark.x{background:#111;color:#fff}.channel-mark.youtube{background:#c4302b;color:#fff}
.channel-empty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:4px 0 10px;border:1px dashed var(--line);border-radius:10px;background:var(--soft)}
.seo-box{margin-top:12px}.seo-checks{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:4px;font-size:13px}.seo-checks li{display:flex;gap:8px}.seo-checks li.ok span:first-child{color:#3f7a52;font-weight:700}.seo-checks li.open{color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.relevance{font-size:13px;line-height:1.45;padding:8px 10px;border-radius:10px;background:var(--soft);margin:4px 0 8px}.relevance span{color:var(--muted)}.relevance-4,.relevance-5{background:#e6f2e8}.relevance-1,.relevance-2{opacity:.85}
.topic-row{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 10px}.topic-row legend{font-weight:700;padding:0 6px}.topic-run{margin:6px 0;padding-left:18px;font-size:13px}
.seo-proposal{margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.seo-proposal ul{margin:6px 0 10px;padding-left:18px;font-size:13px}.seo-fields{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;font-size:13px}.seo-fields dt{font-weight:700}.seo-fields dd{margin:0}
.usage-line{margin:6px 0}.fact-list{list-style:none;padding:0;margin:6px 0 12px;display:grid;gap:6px}.fact-list li{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:14px}
.fact-list li>span:last-child:not(:first-child){flex:none}.fact-list .flex{flex-wrap:nowrap;gap:6px}
.notice.warning{background:#fff4df;color:#6b4510;border-color:#e8c27a}
.estimate-grid input{width:100%;min-width:90px}.estimate-grid td,.estimate-grid th{padding:4px 8px}
.tenant-switch{display:block;color:var(--sidebar-text);font-size:11px;margin-bottom:10px}.tenant-switch select{margin-top:4px;width:100%;font-size:13px;padding:7px 8px}.link-button{background:none;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;min-height:0}
.claim-choice{border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;gap:12px}.claim-choice legend{font-weight:650;padding:0 6px}.claim-choice .check-label{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.quota-bar{height:10px;border-radius:6px;background:var(--soft-strong,#e0e3e8);overflow:hidden;margin:10px 0 6px}.quota-bar span{display:block;height:100%;background:var(--forest)}.quota-bar.warn span{background:#d49a2a}.quota-bar.blocked span{background:#b6452c}.package-grid input{width:100%;min-width:80px}
.qr-box{width:200px;max-width:100%;margin:10px 0;background:#fff;padding:6px;border-radius:10px}.qr-box svg{width:100%;height:auto;display:block}.recovery-codes ol{columns:2;font-size:15px;margin:12px 0}.setup-steps{padding-left:18px;margin:0 0 8px}
.brand-progress{display:grid;grid-template-columns:repeat(9,1fr);gap:4px;margin-top:10px}.brand-progress span{height:6px;border-radius:4px;background:var(--soft-strong,#e0e3e8);overflow:hidden}.brand-progress i{display:block;height:100%;background:var(--accent)}
.block-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px}.block-tabs button{font-size:12px;padding:6px 10px;min-height:0}.block-tabs button.active{background:var(--forest);color:var(--primary-text,#fff)}
.brand-question{border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:grid;gap:8px}.brand-question legend{font-weight:650;padding:0 6px;font-size:14px}.choice-row{display:flex;flex-wrap:wrap;gap:8px 16px}.scale-row{display:flex;align-items:center;gap:10px}.scale-row input{flex:1}.scale-row output{min-width:22px;font-weight:650}.other-answer{background:var(--soft);padding:6px 8px;border-radius:8px;margin:0}
.button-like{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;padding:9px 14px;cursor:pointer;background:var(--paper);font-size:14px}
.brand-section blockquote{margin:0 0 12px;padding:10px 14px;border-left:4px solid var(--accent);background:var(--soft);font-size:15px}.persona,.pillar{border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:8px 0}.color-list{display:grid;gap:10px}.color-list>div{display:flex;gap:12px;align-items:flex-start}.swatch{width:36px;height:36px;border-radius:8px;border:1px solid var(--line);flex-shrink:0}
.voice-scales{display:grid;gap:8px;margin:8px 0 12px}.voice-scales>div{display:grid;grid-template-columns:90px 1fr 90px;align-items:center;gap:8px}.scale-bar{position:relative;height:6px;border-radius:4px;background:var(--soft-strong,#e0e3e8)}.scale-bar i{position:absolute;top:-4px;width:14px;height:14px;border-radius:50%;background:var(--forest);margin-left:-7px}.color-edit{align-items:end}
input[type=range],input[type=checkbox],input[type=radio]{accent-color:var(--forest)}
.seo-checks li.hint{color:var(--muted)}.brand-review{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:10px 0;background:var(--paper)}.brand-review.stale{opacity:.75}.brand-review ul{margin:6px 0 4px;padding-left:18px}
.graphic-editor{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;display:grid;gap:10px}.graphic-editor h3{margin:0}.graphic-canvas{background:var(--soft);border-radius:12px;padding:10px;display:flex;justify-content:center}.graphic-canvas canvas{max-width:100%;max-height:420px;height:auto;border-radius:6px;box-shadow:0 1px 6px rgba(9,30,67,.15)}
.pilot-card{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:10px 0}.pilot-card summary{cursor:pointer;font-size:14px}.pilot-kpis{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0;font-size:13px}.pilot-kpis strong{font-size:15px}.feature-table td,.feature-table th{text-align:center}.feature-table td:first-child,.feature-table th:first-child{text-align:left}
.growth-campaign{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:10px 0}.growth-campaign summary{cursor:pointer;font-size:14px}.growth-campaign h3{font-size:14px;margin-bottom:6px}.growth-funnel{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px}.growth-funnel strong{margin-right:4px}.growth-channels{border:1px solid var(--line);border-radius:10px;padding:8px 12px;display:flex;flex-wrap:wrap;gap:6px 16px}.growth-channels legend{font-size:13px;padding:0 4px}.growth-table td{vertical-align:top}
.impact-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.impact-tiles.compact{margin:0}.impact-tiles.compact .impact-tile{padding:14px;box-shadow:none;background:var(--soft)}.impact-tile .kpi-label{align-items:flex-start}.impact-value{font-size:24px;font-weight:620;letter-spacing:-.8px;margin:12px 0 8px;font-variant-numeric:tabular-nums}.impact-value small{font-size:11px;font-weight:450;color:var(--muted);letter-spacing:0}.impact-tiles.compact .impact-value{font-size:20px}.impact-light{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:7px;vertical-align:baseline;background:var(--muted)}.impact-light.green{background:#2f7d4f}.impact-light.yellow{background:#d2a03a}.impact-light.red{background:#b5473a}.impact-quality{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.impact-quality li{display:grid;grid-template-columns:18px 110px 1fr;gap:4px;align-items:baseline;font-size:12px;line-height:1.5}.impact-unattributed td{background:var(--soft)}
@media(max-width:900px){.impact-tiles{grid-template-columns:1fr 1fr}}@media(max-width:650px){.impact-tiles{grid-template-columns:1fr}.impact-quality li{grid-template-columns:18px 1fr}.impact-quality li span{grid-column:2}}
.recommendation h3{margin:10px 0 6px;font-size:14px}.recommendation-why{margin:0 0 8px;padding-left:18px;font-size:12px;line-height:1.6}.recommendation-sources{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-direction:column;gap:6px;font-size:12px}.recommendation.accepted{border-color:var(--soft-strong)}.week-report{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:6px 0 14px}.week-report h3{font-size:13px;margin-bottom:6px}.week-report ul{margin:0;padding-left:16px;font-size:12px;line-height:1.6}
@media(max-width:900px){.week-report{grid-template-columns:1fr 1fr}}@media(max-width:650px){.week-report{grid-template-columns:1fr}}
/* Market Intelligence MI-1 */
.research-tabs{margin:4px 0 18px}
.market-table td,.market-table th{white-space:nowrap}.market-table td:first-child{white-space:normal;min-width:160px}
.market-table tr.market-self td{background:var(--soft,#f6f4ef)}
.market-ranking{margin:0;padding-left:22px}.market-ranking li{padding:6px 0;border-bottom:1px solid var(--line)}.market-ranking li:last-child{border-bottom:0}
.market-reasons{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.market-category summary{cursor:pointer}
.market-duplicate+.market-duplicate{border-top:1px solid var(--line);padding-top:12px}
.market-recommendation{border-left:4px solid var(--accent,#2f6f5e)}.market-proposal+.market-proposal{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.market-opportunity h2{margin:0}.opp-evidence,.opp-factors .form-grid{align-items:end}.opp-factors .form-grid+.form-grid{margin-top:6px}
/* Phase 4A: newsletter drafts – editor next to a sandboxed preview; the mobile frame has the width of a phone. */
.email-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;align-items:start}.email-layout>*{min-width:0}.email-layout fieldset{display:grid;gap:8px;min-width:0}.email-preview{position:sticky;top:12px}
.email-inbox{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:13px;margin-top:6px}.email-inbox span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-frame{margin-top:12px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.email-frame iframe{display:block;width:100%;height:680px;border:0}.email-frame.mobile{width:375px;max-width:100%;margin-left:auto;margin-right:auto;border-radius:22px;border-width:8px;border-color:var(--soft-strong)}
.email-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;background:var(--soft);border-radius:10px;padding:14px;margin-top:12px;max-height:680px;overflow:auto}.email-url{overflow-wrap:anywhere;max-width:340px}.email-checks{padding-left:0;list-style:none;display:grid;gap:6px}
@media(max-width:1100px){.email-layout{grid-template-columns:1fr}.email-preview{position:static}}
.dyn-parts{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:2px;line-height:1.45}
.voice-card summary{cursor:pointer;line-height:1.7}.voice-text{white-space:pre-wrap;background:var(--soft);border-radius:10px;padding:12px 14px;margin:12px 0 4px;overflow-wrap:anywhere}.voice-insights{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.voice-insights li{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.voice-actions{display:inline-flex;gap:6px;flex-wrap:wrap;margin-left:6px;vertical-align:middle}
.impact-tiles.four{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.impact-tiles.four{grid-template-columns:1fr 1fr}}
.impact-tiles.compact.four{margin-bottom:14px}
.package-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin:10px 0}.package-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:var(--soft);display:block}.package-video{grid-column:1/-1;margin:0}.package-video video{width:100%;max-height:360px;border-radius:8px;background:#000}.package-video figcaption{font-size:11px;color:var(--muted);margin-top:5px}.package-doc{grid-column:1/-1;font-size:12px;display:flex;gap:6px;align-items:center}.package-doc svg{width:15px;height:15px}.package-progress{width:100%;height:10px;margin:10px 0 4px}.package-steps{display:flex;flex-direction:column;gap:14px;padding-left:20px;margin:18px 0}.package-steps li.done>strong{color:#317354}.package-steps .small-text{margin-top:5px;line-height:1.7}.package-colors{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0}.package-swatch{display:inline-flex;align-items:center;gap:7px;font-size:12px}.package-swatch i{width:22px;height:22px;border-radius:5px;border:1px solid var(--line);display:inline-block}
.package-steps .small-text>button:not(.ghost){display:table;margin-top:9px}.package-hints{padding-left:18px}.package-hints li{margin:4px 0}.package-hints .link-button{display:block;text-align:left;white-space:normal}.package-steps button.ghost{padding:0 2px;font-size:inherit;color:var(--forest);text-decoration:underline}
/* Studio: Was ist zu tun?, Filter und Mehrfachauswahl */
.studio-todo{grid-column:1/-1;padding:20px 22px}
.studio-todo h2{margin:0}
.studio-todo ol{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.studio-todo li{display:flex;gap:12px;align-items:start;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.studio-todo li.current{border-color:var(--accent);background:var(--soft)}
.studio-todo li.done{opacity:.7;padding:6px 12px}
.studio-todo li.done p{display:none}
.studio-todo li>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.studio-todo li p{margin:0}
.todo-mark{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-size:12px;font-weight:700}
.studio-todo li.done .todo-mark{background:var(--forest);border-color:var(--forest);color:#fff}
.studio-next{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.studio-filter{display:flex;flex-direction:column;gap:6px;margin:8px 0 10px}
.studio-filter label{font-size:11px}
.studio-filter select{font-size:12px;padding:6px 8px}
.studio-pick-start{margin-bottom:6px}
.studio-bulk{display:flex;flex-direction:column;gap:6px;padding:8px;margin-bottom:6px;border-radius:8px;background:var(--soft)}
.studio-bulk-actions{display:flex;flex-wrap:wrap;gap:5px}
.library-row{display:flex;align-items:center;gap:8px}
.library-row>input{flex:0 0 auto;width:18px;height:18px}
.library-row>.library-item{flex:1;min-width:0}
.library-item .studio-stage{font-weight:600}
.library-item .studio-stage.todo{color:var(--orange)}
.library-item .studio-stage.approved,.library-item .studio-stage.published{color:var(--forest)}
.channel-tabs select{width:auto;font-size:12px;padding:6px 8px}
.feed-banner{display:flex;gap:6px;align-items:start;margin:0;padding:8px 12px;font-size:12px;background:var(--soft);border-bottom:1px solid var(--line)}
.photo-box{margin-bottom:12px}
.feed-banner svg{width:16px;height:16px;flex:0 0 16px;margin-top:1px}
/* Ausspielplan (0.36) */
.plan-panel{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--soft,#f6f7f9)}
.plan-panel h3{margin:0 0 4px;font-size:15px}
.plan-rows{display:grid;gap:8px;margin:10px 0}
.plan-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,220px);align-items:center;gap:10px;font-size:14px}
.plan-row input{width:100%;min-width:0}
.plan-actions{align-items:center;gap:8px}
.plan-panel .plan-gap{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:13px}
.plan-panel .plan-gap input{width:64px}
.plan-notes{margin:10px 0 0;padding-left:18px}
.plan-step{display:block;font-size:11px;color:var(--muted)}
.zoho-groups{list-style:none;margin:6px 0;padding:0;display:grid;gap:4px}
@media (max-width:560px){.plan-row{grid-template-columns:1fr}}
.brand-applied{color:var(--muted);font-size:12px}.brand-failed{color:#a83b32;font-size:12px}.brand-review li button{margin-top:6px}
.brand-proposal{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:10px 0;background:var(--paper)}.proposal-channel{border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
.proposal-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 8px}.proposal-compare p{margin:0 0 4px}.proposal-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;background:var(--soft);border-radius:8px;padding:8px 10px;max-height:340px;overflow:auto}
.proposal-text mark{border-radius:3px;padding:0 1px;color:inherit}.proposal-text .diff-del{background:rgba(200,60,50,.22);text-decoration:line-through}.proposal-text .diff-ins{background:rgba(50,150,80,.25)}
@media (max-width:640px){.proposal-compare{grid-template-columns:1fr}}
#confirm{width:min(540px,92vw)}#confirm h2{font-size:18px;line-height:1.4}#toast{align-items:center;gap:14px}#toast button{background:transparent;border:1px solid #ffffff80;color:#fff;padding:5px 11px;font-size:12px;white-space:nowrap;border-radius:7px}#toast button:hover{background:#ffffff1f}.ask-title{font-size:16px;margin-bottom:12px}
.studio-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg);padding:6px 0 10px;margin-bottom:4px}.studio-nav button{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jump-button{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:500;color:var(--muted);padding:7px 10px}.jump-button svg{margin:0}.jump-button kbd{font:11px ui-monospace,SFMono-Regular,monospace;border:1px solid var(--line);border-radius:5px;padding:1px 5px;background:var(--soft);color:var(--muted)}
.jump input{font-size:16px;padding:12px 14px}.jump-list{margin-top:10px;max-height:50vh;overflow:auto}.jump-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:10px 12px;border-radius:9px;white-space:normal;font-weight:400}.jump-item.active,.jump-item:hover{background:var(--soft)}.jump-item strong{display:block;font-size:13px}.jump-item small{color:var(--muted);font-size:11px}.jump-item svg{flex-shrink:0;margin:0}.undo-line{margin:4px 0 10px;color:var(--muted)}
@media(max-width:650px){.jump-button span,.jump-button kbd{display:none}.studio-nav button{max-width:36%}}
.nav-collapse{margin-left:auto;background:transparent;border:0;color:var(--sidebar-text);padding:4px;opacity:.7;align-self:flex-start}.nav-collapse:hover{opacity:1;background:transparent}.nav-collapse svg{width:16px;height:16px;margin:0;transform:rotate(180deg)}.shell.collapsed .nav-collapse svg{transform:none}
.shell.collapsed{grid-template-columns:76px 1fr}.shell.collapsed .sidebar{width:76px;padding:22px 10px 14px}.shell.collapsed .brand{flex-direction:column;gap:8px;padding:0 0 14px}.shell.collapsed .brand-name,.shell.collapsed .nav-group,.shell.collapsed .nav button span:not(.count),.shell.collapsed .local-status,.shell.collapsed .sidebar-bottom>.tiny,.shell.collapsed .sidebar-footer .tiny,.shell.collapsed .tenant-switch{display:none}.shell.collapsed .nav-collapse{margin:0}.shell.collapsed .nav button{justify-content:center;padding:11px 0;position:relative}.shell.collapsed .nav .count{position:absolute;top:2px;right:4px;margin:0;padding:1px 4px}.shell.collapsed .sidebar-footer{justify-content:center;flex-wrap:wrap;gap:6px}.shell.collapsed .sidebar-footer button{margin:0}.shell.collapsed .sidebar-bottom{padding-left:0;padding-right:0}
.help-button{padding:6px;color:var(--muted)}.help-button svg{width:18px;height:18px;margin:0}
.recent-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.recent-item{display:flex;align-items:center;gap:10px;text-align:left;padding:10px;white-space:normal;font-weight:500}.recent-item .post-art{width:46px;height:46px;flex-shrink:0;border-radius:8px}.recent-item strong{display:block;font-size:12px;line-height:1.4}.recent-item small{color:var(--muted);font-size:10px}
.bottom-bar{display:none}
@media(max-width:650px){.nav-collapse{display:none}.bottom-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:19;background:var(--paper);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}.bottom-bar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:transparent;font-size:10px;font-weight:500;color:var(--muted);padding:6px 2px;position:relative;border-radius:8px}.bottom-bar button.active{color:var(--forest)}.bottom-bar button svg{width:20px;height:20px;margin:0}.bottom-bar .count{position:absolute;top:0;right:calc(50% - 24px);font-size:9px;background:var(--accent);color:var(--accent-text);border-radius:8px;padding:1px 5px}.content{padding-bottom:90px}#toast{bottom:84px}.sidebar{z-index:30}.help-button{padding:4px}}
/* Links in posts */
.link-panel #link-status{margin-top:10px}.link-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}.link-row{display:grid;grid-template-columns:minmax(110px,160px) 1fr auto;gap:10px;align-items:center;padding:8px 10px;border:1px solid var(--line,#e3e5ea);border-radius:10px;background:var(--card,#fff)}.link-row .link-channel{font-weight:600;font-size:.9rem}.link-row.ok .small-text{color:var(--green,#1d7a4d)}.link-row.other,.link-row.double{border-color:#d9a441;background:#fff9ec}.link-row .link-action{display:flex;gap:6px;justify-content:flex-end}.link-tech{margin-top:8px}.link-tech code{word-break:break-all}.link-code{word-break:break-all;flex:1 1 240px}
@media (max-width:650px){.link-row{grid-template-columns:1fr auto}.link-row .small-text{grid-column:1/-1;grid-row:2}}
.link-table{display:grid;margin-top:10px;border-top:1px solid var(--line)}.link-table-head,.link-table-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) minmax(0,1.5fr) 230px;gap:12px;padding:10px 4px;border-bottom:1px solid var(--line);align-items:start}.link-table-head{font-size:12px;color:var(--muted);padding-block:6px}.links-all .link-table-head,.links-all .link-table-row{grid-template-columns:minmax(0,2.2fr) minmax(0,.9fr) minmax(0,1.4fr) minmax(0,1.2fr) 88px}.link-table .link-action{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.link-url{overflow-wrap:anywhere}.link-post{all:unset;cursor:pointer;font-weight:600;color:var(--ink,inherit);overflow-wrap:anywhere}.link-post:hover{text-decoration:underline}.link-post:focus-visible{outline:2px solid var(--accent,currentColor);outline-offset:2px}
@media (max-width:980px){.link-table-head{display:none}.link-table-row,.links-all .link-table-row{grid-template-columns:minmax(0,1fr);gap:4px}.link-table .link-action{justify-content:flex-start;margin-top:4px}}
.links-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}@media (max-width:650px){.links-filter{grid-template-columns:minmax(0,1fr)}}
.brand-mark{flex:none}.sidebar .brand{gap:10px}.sidebar .brand-name{font-size:15px;line-height:1.2;min-width:0}

.overdue-card{border-left:4px solid var(--orange)}
.overdue-date,small.overdue-date{color:var(--orange);font-weight:600}
.overdue-list{display:grid;gap:12px}
.overdue-row{display:grid;gap:4px;padding-top:12px;border-top:1px solid var(--line)}
.overdue-row small{display:block}
.backup-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
#restore-form input{width:100%;margin:6px 0 4px;}
.zoho-upload-link{text-decoration:underline}
.transfer-code{display:inline-block;font-size:1rem;letter-spacing:.04em;word-break:break-all;user-select:all;margin:6px 0}
a.button.small{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:600;text-decoration:none;white-space:nowrap}
