@font-face{font-family:NodiInter;src:url('/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:NodiInter,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#182230;background:#f7f8fa;--muted:#667085;--line:#e4e7ec;--orange:#ed690b;font-synthesis:none;font-optical-sizing:auto}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #facba8;outline-offset:2px}button,input,select{min-height:42px}button{transition:background .15s,border-color .15s}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.3;letter-spacing:-.035em;font-weight:650}h2{font-size:16px;line-height:1.5;letter-spacing:-.02em;font-weight:650}p{line-height:1.6}em{font-style:normal}.shell{display:flex;min-height:100vh}.side{width:232px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;padding:27px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;padding:0 10px}.brand-wordmark{width:118px;height:auto;display:block}.side-caption{margin:38px 12px 13px;font-size:11px;font-weight:550;color:#98a2b3}.nav{display:grid;gap:5px}.nav button{display:flex;align-items:center;gap:12px;background:transparent;border:1px solid transparent;border-radius:7px;padding:10px 12px;text-align:left;font-size:13px;font-weight:550;color:#667085}.nav button:hover{background:#f8f9fb}.nav button.active{background:#fff3e9;color:#ae4b05;border-color:#ffead9}.nav-index{width:19px;height:19px;display:flex;flex-shrink:0}.nav-index svg{width:19px;height:19px}.side-foot{margin-top:auto;padding:20px 12px 0;border-top:1px solid #f0f1f4;font-size:10px;font-weight:650;line-height:2;color:#667085}.side-foot span{font-weight:400}.foot-line{display:none}.main{width:100%;min-width:0;max-width:1560px;margin:auto;padding:32px 36px 36px}.top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.eyebrow{font-size:11px;font-weight:550;letter-spacing:.015em;color:#667085;margin-bottom:5px}.top .eyebrow{margin-bottom:10px}.sub{font-size:13px;color:#667085;margin-top:7px}.top-right{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #d9ece1;color:#287650;background:#f2fbf6;border-radius:5px;padding:7px 10px;font-size:11px;font-weight:550;white-space:nowrap}.pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#2f9462}.pill.demo{border-color:#fbd5b6;color:#9b4c10;background:#fff7ef}.pill.demo:before{background:#e97822}.btn{background:#fff;border:1px solid #d0d5dd;color:#344054;border-radius:6px;padding:9px 13px;font-size:12px;font-weight:550;white-space:nowrap;box-shadow:0 1px 2px #10182805}.btn:hover{background:#f9fafb;border-color:#98a2b3}.text-btn{border:0;background:transparent;color:#667085;font-size:12px;padding:9px}.card,.control-card{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 1px 3px #10182803}.control-card{margin-bottom:25px;overflow:hidden}.provider-tabs{display:flex;gap:22px;padding:0 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.provider-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:14px 2px 12px;color:#667085;font-weight:550;font-size:12px;display:flex;align-items:center;gap:8px}.provider-tabs button.selected{color:#c55406;border-color:#f07822}.soon{color:#98a2b3;font-size:9px;font-weight:450}.control-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 20px 0}.filters{display:flex;border:1px solid #d0d5dd;border-radius:6px;overflow:hidden}.filters button{background:#fff;color:#667085;font-size:11px;font-weight:550;border:0;border-right:1px solid #d0d5dd;padding:8px 12px;min-height:36px}.filters button:last-child{border:0}.filters button.selected{color:#182230;background:#f2f4f7;box-shadow:inset 0 0 0 1px #e4e7ec}.period-text{font-size:11px;color:#667085;font-variant-numeric:tabular-nums}.query-row{display:grid;grid-template-columns:1.5fr 1.4fr .8fr 1fr;gap:14px;padding:17px 20px 20px}.query-row label{display:grid;gap:6px;font-size:11px;font-weight:500;color:#475467}input,select{width:100%;max-width:100%;padding:10px 11px;background:#fff;border:1px solid #d0d5dd;border-radius:6px;font-size:12px;color:#344054;box-shadow:0 1px 2px #10182804}input::placeholder{color:#98a2b3}.section-label{display:flex;justify-content:space-between;align-items:center;margin:0 0 11px;font-size:12px;font-weight:550;color:#475467}.section-label span:last-child{font-size:11px;color:#98a2b3;font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{padding:20px 20px 17px}.metric .label{font-size:12px;font-weight:500;color:#667085}.metric .num{font-size:clamp(25px,2.5vw,34px);line-height:1.25;font-weight:650;letter-spacing:-.045em;margin:12px 0;font-variant-numeric:tabular-nums}.metric .note{font-size:10px;line-height:1.6;color:#98a2b3}.good{color:#24835b;font-weight:550}.less{color:#986c2b;font-weight:550}.lower{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:16px;margin-top:20px}.panel{padding:21px 22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.muted{font-size:11px;color:#667085;line-height:1.7}.chart{width:100%;height:230px;overflow:visible;margin:15px 0 0}.chart-grid{stroke:#eef0f3;stroke-dasharray:3 4}.chart-line{fill:none;stroke:#eb711d;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-dot{fill:#eb711d}.chart text{font-family:NodiInter,Arial,sans-serif;font-size:10px;fill:#98a2b3}.focus-number{font-size:28px;line-height:1.3;font-weight:600;letter-spacing:-.035em;margin:13px 0 9px;color:#344054}.panel>strong{font-size:12px;font-weight:600}.panel>p{margin:10px 0 15px}.small-stat{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0f2f5;padding:11px 0;font-size:11px;color:#667085}.small-stat strong{font-weight:600;color:#344054;font-size:13px;font-variant-numeric:tabular-nums}.insight-note{padding:10px 12px;background:#fffaeb;border-radius:5px;font-size:11px;color:#95630b}.table-panel{margin-top:20px;padding-bottom:14px}.tablewrap{overflow-x:auto;margin:0 -22px}.table-panel .panel-head{margin-bottom:14px}table{width:100%;min-width:820px;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:550;color:#667085;background:#f9fafb;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;padding:12px 14px;white-space:nowrap}td{padding:15px 14px;font-size:12px;border-bottom:1px solid #eaecf0;vertical-align:middle;font-variant-numeric:tabular-nums}th:first-child,td:first-child{padding-left:22px}th:nth-child(n+4),td:nth-child(n+4){text-align:right}th:last-child,td:last-child{padding-right:22px}tbody tr:hover{background:#fcfcfd}tr:last-child td{border-bottom:0}.name{font-size:12px;font-weight:550;color:#344054;line-height:1.5;max-width:280px}.ad-open{display:block;text-align:left;background:transparent;border:0;padding:0;min-height:30px}.ad-open:hover{color:#d65d08;text-decoration:underline}.platform{font-size:10px;color:#667085;margin-top:3px;max-width:290px}.ad-id{font-size:9px;color:#98a2b3;margin-top:3px}.provider-label{font-size:11px;color:#667085}.status{display:inline-flex;align-items:center;gap:5px;background:#ecf9f1;color:#25805b;border:1px solid #d8f0e2;border-radius:4px;font-size:10px;font-weight:500;padding:4px 7px;white-space:nowrap}.status.off{background:#f9fafb;color:#667085;border-color:#eaecf0}.count{font-size:10px;font-weight:500;border:1px solid #eaecf0;background:#f9fafb;padding:2px 6px;border-radius:4px;vertical-align:middle;color:#667085;margin-left:6px}.table-note{margin-top:12px}.integration-panel{padding:23px;margin-top:20px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.integration-grid article{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:7px;padding:18px}.integration-grid strong{font-size:13px;font-weight:600}.integration-grid p{font-size:11px;color:#667085;margin-top:4px}.provider-mark{width:39px;height:39px;display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:8px;font-size:19px;font-weight:650}.meta{color:#3665c2;background:#f5f8ff}.google{color:#4285f4;background:#fff}.connection{font-size:10px;padding:5px 8px;background:#f9fafb;color:#98a2b3;border:1px solid var(--line);border-radius:4px;white-space:nowrap;margin-left:auto}.connection.on{color:#25805b;background:#ecf9f1;border-color:#d8f0e2}.integration-panel>p{margin-top:17px}.footer{font-size:10px;color:#98a2b3;line-height:1.8;margin-top:25px;padding-top:15px;border-top:1px solid #e4e7ec}.banner{font-size:12px;line-height:1.6;border-radius:6px;padding:11px 14px;margin-bottom:12px}.demo-banner{color:#976019;background:#fff7ed;border:1px solid #fedfbd}.alert-banner{color:#a94438;background:#fff3f0;border:1px solid #f9d1c9}.context-note{font-size:11px;color:#667085;margin:-7px 0 18px}.empty-state{padding:55px 24px;text-align:center}.empty-state .provider-mark{margin:0 auto 18px}.empty-state h2{font-size:20px}.empty-state p{font-size:13px;color:#667085;max-width:480px;margin:12px auto 22px}.empty-state .connection{display:inline-flex;margin:0}.login-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:#f7f8fa}.login{width:100%;max-width:420px;padding:34px}.login .brand{padding:0;margin-bottom:34px}.login-kicker{color:#98a2b3;font-size:10px;font-weight:550;letter-spacing:.04em;margin-bottom:10px}.login h1{font-size:25px;font-weight:650;letter-spacing:-.03em;line-height:1.3;margin-bottom:10px}.login p{font-size:13px;color:#667085;margin-bottom:27px}.login label{display:block;margin:18px 0 7px;font-size:12px;font-weight:500;color:#344054}.login input{font-size:13px;min-height:46px}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;background:#ed690b;color:white;border:1px solid #d75f09;border-radius:6px;font-size:13px;font-weight:550;padding:12px 14px;min-height:46px;margin-top:24px}.primary:hover{background:#dd5f08}.error{color:#b5473a;font-size:12px;line-height:1.6;margin-top:12px}.login .footer{font-size:9px}.hidden{display:none!important}.shell[data-view=overview] .table-panel,.shell[data-view=overview] .integration-panel{display:none}.shell[data-view=ads] .lower,.shell[data-view=ads] .integration-panel{display:none}.shell[data-view=integrations] .control-card,.shell[data-view=integrations] #content{display:none}.shell[data-view=integrations] .integration-panel{margin-top:0}.detail-dialog{width:min(620px,calc(100% - 30px));border:1px solid #e4e7ec;border-radius:12px;padding:28px;color:#182230;box-shadow:0 20px 80px #10182830;font-family:inherit}.detail-dialog::backdrop{background:#10182870;backdrop-filter:blur(3px)}.detail-head{display:flex;gap:20px;justify-content:space-between;align-items:start}.detail-head h2{font-size:20px}.detail-dialog>.muted{margin:10px 0 17px}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:22px 0;border:1px solid #eaecf0;border-radius:7px}.detail-stats>div{padding:17px;border-bottom:1px solid #eaecf0}.detail-stats>div:nth-child(n+4){border-bottom:0}.detail-stats span{display:block;font-size:10px;color:#667085}.detail-stats strong{display:block;font-size:23px;font-weight:600;margin-top:7px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.detail-dialog dl{display:grid;grid-template-columns:100px 1fr;font-size:11px;gap:12px}.detail-dialog dt{color:#98a2b3}.detail-dialog dd{margin:0;color:#475467;overflow-wrap:anywhere}
@media(min-width:1600px){.main{padding:42px 48px}}@media(max-width:1150px){.side{width:190px}.main{padding:27px 23px}.query-row{grid-template-columns:1fr 1fr}.stats{gap:10px}.metric{padding:17px 15px}.top{align-items:start}.top-right{max-width:220px}.lower{grid-template-columns:1.4fr 1fr}.integration-grid{grid-template-columns:1fr}}@media(max-width:850px){.side{width:166px;padding:23px 12px}.main{padding:25px 20px}.stats{grid-template-columns:1fr 1fr}.lower{grid-template-columns:1fr}.top-right{max-width:190px}.brand-wordmark{width:110px}.metric .num{font-size:30px}}@media(max-width:620px){.shell{display:block}.side{position:sticky;top:0;z-index:10;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:auto;padding:12px 14px;border-right:0;border-bottom:1px solid var(--line)}.side .brand{padding:0}.brand-wordmark{width:88px}.side-caption,.side-foot{display:none}.nav{display:flex;gap:4px}.nav button{padding:10px;gap:6px;font-size:10px;min-height:42px}.nav-index,.nav-index svg{width:17px;height:17px}.main{padding:23px 14px calc(30px + env(safe-area-inset-bottom))}.top{display:block;margin-bottom:22px}.top h1{font-size:25px}.top .eyebrow{font-size:10px}.sub{font-size:12px;max-width:320px}.top-right{max-width:none;margin-top:17px;justify-content:flex-start}.pill{font-size:10px}.btn{font-size:11px}.provider-tabs{gap:16px;padding:0 14px}.provider-tabs button{font-size:11px}.soon{display:none}.control-row{padding:14px 13px 0;align-items:start;flex-direction:column;gap:9px}.query-row{padding:14px 13px 16px;gap:12px 9px}.query-row .search{grid-column:1/-1}.query-row label:last-child{grid-column:1/-1}.filters button{min-height:39px;padding:8px 13px}.stats{gap:9px}.metric{padding:16px 13px}.metric .label{font-size:11px}.metric .num{font-size:27px;margin:12px 0 9px}.metric .note{font-size:9px}.section-label{font-size:11px}.section-label span:last-child{font-size:9px}.panel{padding:19px 16px}.panel-head h2{font-size:15px}.panel-head .muted{font-size:9px}.chart{height:190px}.tablewrap{margin:0 -16px}.integration-panel{padding:18px 16px}.integration-grid article{padding:13px;gap:10px}.integration-grid p{font-size:10px}.connection{font-size:9px}.login-page{padding:18px}.login{padding:28px 24px}.detail-dialog{padding:21px}.detail-head{gap:10px}.detail-head h2{font-size:17px}.detail-head .btn{font-size:10px;padding:7px}.detail-stats{grid-template-columns:1fr 1fr}.detail-stats>div:nth-child(4){border-bottom:1px solid #eaecf0}.detail-stats strong{font-size:22px}.detail-dialog dl{grid-template-columns:85px 1fr}}
@media(max-width:370px){.nav button{font-size:0;padding:10px 12px}.nav button span:last-child{font-size:0}.metric .num{font-size:24px}.provider-tabs{gap:13px}}
/* Six clear primary destinations; the current section exposes only its relevant pages. */
.side{width:204px}
.nav button{min-height:43px}
.section-nav{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px;border-bottom:1px solid #e4e7ec;padding-bottom:13px}
.section-nav button{border:1px solid transparent;border-radius:8px;background:transparent;color:#4a5d55;font-size:12px;min-height:34px;padding:6px 11px}
.section-nav button:hover,.section-nav button.active{background:#eaf2ec;color:#164b35;border-color:#cbded1}
.ga-bars svg{width:100%;height:100%;display:block;fill:#ee791f}
.lead-count small{display:block;font-size:11px;font-weight:550;letter-spacing:0;text-align:right;white-space:nowrap;color:#d1e8d8}
.visibility-score{font-size:22px;color:#195e40;white-space:nowrap}
@media(max-width:850px) and (min-width:621px){.side{width:174px}}
@media(max-width:620px){.side{width:100%}.nav button{font-size:12px!important}.nav button span:last-child{display:inline!important;font-size:12px!important}.side .nav button{min-width:max-content}.section-nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.section-nav button{white-space:nowrap;flex:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.operations-panel{display:none}.shell[data-view=operations] .control-card,.shell[data-view=operations] #content,.shell[data-view=operations] .integration-panel{display:none}.shell[data-view=operations] .operations-panel{display:block}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ops-card{padding:22px}.ops-title{display:flex;align-items:center;gap:10px;margin:10px 0}.ops-title h2{font-size:21px}.ops-card p{font-size:12px;color:#667085}.ops-meta{font-size:11px;color:#667085;border-top:1px solid #edf0f3;margin-top:20px;padding-top:13px;font-variant-numeric:tabular-nums}.signal{display:inline-block;width:9px;height:9px;border-radius:50%;background:#aab2bd;flex-shrink:0}.signal.ok,.activity-node.ok{background:#268357;box-shadow:0 0 0 4px #e7f6ec}.signal.run,.activity-node.run{background:#e66b15;box-shadow:0 0 0 4px #fff1e5;animation:op-pulse 1.4s ease-in-out infinite}.signal.fail,.activity-node.fail{background:#cb4b42;box-shadow:0 0 0 4px #fdecea}.signal.wait{background:#b2bac5;box-shadow:0 0 0 4px #f0f2f4}@keyframes op-pulse{50%{box-shadow:0 0 0 8px #fff1e500}}.ops-live,.ops-history{margin-top:16px}.ops-refresh{font-size:11px;color:#667085;display:flex;align-items:center;gap:7px}.activity-list{list-style:none;padding:0;margin:0}.activity-item{display:flex;align-items:flex-start;gap:16px;border-top:1px solid #edf0f3;padding:16px 0;font-size:12px}.activity-item:first-child{border-top:0}.activity-node{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin:6px}.activity-item strong{font-weight:600}.activity-item p{font-size:11px;color:#667085;margin-top:3px}.activity-item time{margin-left:auto;text-align:right;color:#667085;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.ops-disclaimer{font-size:11px;color:#667085;margin-top:20px;max-width:850px}.shell[data-view=operations] .footer{margin-top:24px}@media(max-width:620px){.ops-grid{grid-template-columns:1fr;gap:10px}.ops-card{padding:18px}.ops-title h2{font-size:18px}.activity-item{gap:9px}.activity-item time{font-size:10px;white-space:normal;max-width:85px}}

@media(max-width:620px){.nav button span:last-child{display:none}.nav button{padding:10px 12px}.side{gap:8px}}
@media(prefers-reduced-motion:reduce){.signal.run,.activity-node.run{animation:none}}

.nav-state{width:6px;height:6px;border-radius:50%;background:#b2bac5;margin-left:auto}.nav button[data-state=ready] .nav-state{background:#268357}.nav button[data-state=working] .nav-state{background:#e66b15}.nav button[data-state=error] .nav-state{background:#cb4b42}.nav button[data-state=stale] .nav-state{background:#c78c20}

.login-page:has(.ops-recovery){display:block}.login-page:has(.ops-recovery)>.login{margin:40px auto}.ops-recovery{max-width:900px;margin:24px auto}.ops-recovery .ops-live,.ops-recovery .ops-history{display:none}
/* Nodi 2.0 workspaces */
.platform-content{display:none}.shell[data-view=analytics] .platform-content,.shell[data-view=studio] .platform-content,.shell[data-view=admin] .platform-content{display:block}.shell[data-view=analytics] .control-card,.shell[data-view=analytics] #content,.shell[data-view=analytics] .integration-panel,.shell[data-view=studio] .control-card,.shell[data-view=studio] #content,.shell[data-view=studio] .integration-panel,.shell[data-view=admin] .control-card,.shell[data-view=admin] #content,.shell[data-view=admin] .integration-panel{display:none}.customer-switch{display:flex;align-items:center;gap:8px;color:#667085;font-size:11px}.customer-switch select{width:190px;min-height:36px;padding:5px 9px;background:#fff}.platform-content .panel{margin-bottom:16px}.platform-content label{display:grid;gap:6px;font-size:11px;font-weight:550;color:#475467;margin:15px 0}.platform-content textarea{width:100%;min-height:90px;resize:vertical;font:inherit;font-size:12px;padding:11px;border:1px solid #d0d5dd;border-radius:6px;color:#344054}.platform-content form .btn{margin-top:8px}.platform-content form .primary{width:auto;min-width:170px;display:inline-flex;margin-top:8px}.ga-stats{margin:15px 0}.ga-bars{height:190px;display:flex;align-items:end;gap:3px;margin-top:20px;border-bottom:1px solid #eaecf0}.ga-bars>div{height:100%;flex:1;display:flex;align-items:end}.ga-bars span{display:block;background:#ee791f;border-radius:2px 2px 0 0;width:100%;min-height:2px}.settings-card{margin-top:18px}.settings-card form{max-width:720px}.ga-periods{display:inline-flex;margin-bottom:18px}.studio-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.4fr);gap:17px;align-items:start}.studio-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.draft-card .panel-head{align-items:start}.draft-card>.muted{margin:6px 0 13px;white-space:pre-wrap}.variant-list{display:grid;gap:10px}.variant{background:#f9fafb;border:1px solid #eaecf0;border-radius:7px;padding:14px}.variant span{font-size:10px;color:#9b5d21;font-weight:600}.variant h3{font-size:14px;line-height:1.4;margin:8px 0}.variant p{font-size:12px;white-space:pre-wrap}.variant small{display:block;color:#667085;margin-top:8px;line-height:1.5}.draft-card>button{margin-top:14px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.admin-grid form{border-top:1px solid #eaecf0;margin-top:18px;padding-top:12px}.admin-user{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eaecf0;padding:12px 0}.admin-user strong{font-size:12px}.admin-user p{font-size:10px;color:#667085}.admin-audit{margin-top:16px}.admin-audit .small-stat strong{font-size:11px}#initial-password{padding:14px;border:1px solid #e7c8a7;background:#fff9f2;border-radius:6px;margin-top:16px}#initial-password code{display:block;overflow-wrap:anywhere;padding:9px;background:white;margin-top:8px}#initial-password p{font-size:11px;color:#667085}.platform-content .error{margin-top:8px}
@media(max-width:1150px){.studio-layout,.admin-grid{grid-template-columns:1fr}}
@media(max-width:850px){.customer-switch select{width:145px}}
@media(max-width:620px){.side{overflow-x:auto}.side .brand{flex-shrink:0}.nav{flex-shrink:0}.customer-switch{width:100%}.customer-switch select{width:100%;max-width:270px}.top-right{align-items:flex-start}.studio-layout,.admin-grid{display:block}.ga-bars{height:130px}}
.utm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.utm-panel form{max-width:800px}#utm-result{overflow-wrap:anywhere;margin-top:10px;color:#17714f}@media(max-width:620px){.utm-fields{grid-template-columns:1fr}}
.user-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.user-actions .btn{font-size:10px;padding:7px 8px}
/* Mandantenbereiche */
.strategy-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:18px 0}
.strategy-layout .panel{margin-bottom:18px}
.strategy-layout form{display:grid;gap:14px;margin-top:20px}
.strategy-layout textarea{width:100%;resize:vertical}
.recommendation{border-top:1px solid var(--line,#e4e8e7);padding:16px 0;line-height:1.5}
.recommendation h3{margin:0 0 8px;font-size:1rem}
.applicant-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line,#e4e8e7);padding:14px 0}
.applicant-row p{margin:4px 0 0;color:#66706c}
.applicant-row select{max-width:160px}
.ad-identity{display:flex;align-items:center;gap:12px;min-width:220px}
.ad-visual{width:54px;height:54px;flex:none;border-radius:10px;overflow:hidden;background:#e9eeeb;display:grid;place-items:center;color:#506058;font-weight:700}
.ad-thumb{width:100%;height:100%;object-fit:cover;display:block}
.ad-visual.missing img{display:none}
.ad-detail-image{display:block;width:100%;max-height:360px;object-fit:contain;background:#f2f5f3;border-radius:12px;margin:16px 0}
.timeline-item,.approval-actions{display:flex;gap:14px;align-items:center;justify-content:space-between;border-top:1px solid #e4e8e7;padding:14px 0}
.timeline-item p{margin:4px 0;color:#64736d}
.post-card img,.approval-image{display:block;max-width:300px;max-height:260px;object-fit:contain;border-radius:10px;background:#eff2f0;margin:12px 0}
.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.asset-card{display:flex;flex-direction:column;gap:10px}
.asset-card img{width:100%;height:180px;object-fit:contain;background:#eef2ef;border-radius:8px}
.warning{padding:14px;border-radius:10px;margin:10px 0;background:#f1f5f3;border-left:4px solid #8baba0}
.warning.high{background:#fff0e9;border-color:#cc7651}.warning.medium{background:#fff7e6;border-color:#dbac4e}
.report-card{break-inside:avoid}
.report-logo{display:block;max-width:180px;max-height:90px;object-fit:contain;margin:12px 0}
@media(min-width:621px){.side{overflow-y:auto;scrollbar-width:thin}.side-caption{margin-top:20px}.nav{gap:2px}.nav button{min-height:38px;padding:7px 10px}}
@media print{.side,.top-right,.control-card,.nav,.btn,.ops-disclaimer,.preview-note{display:none!important}.main{margin:0!important;padding:0!important}.report-card{box-shadow:none;border:1px solid #ddd}}
.version-entry{border-top:1px solid var(--line, #d9ddd8);padding:.7rem 0}.version-entry p{margin:.3rem 0;white-space:pre-wrap}
@media(max-width:850px){.strategy-layout{grid-template-columns:1fr}.applicant-row{flex-wrap:wrap}}
/* 2.3: the active workspace is explicit in DOM and CSS. */
[hidden]{display:none!important}
.shell .platform-content:not([hidden]),.shell .operations-panel:not([hidden]){display:block}
.shell[data-view=ads] #content,.shell[data-view=overview] #content{display:block}
.page-intro{padding:22px 0 19px;border-bottom:1px solid var(--line,#dfe5e2);margin-bottom:18px}.page-intro h2{font-size:28px;letter-spacing:-.04em;margin:5px 0}.page-intro p{font-size:13px;color:#667085;max-width:650px;line-height:1.55}.mini-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0 24px}.mini-metrics>div{border:1px solid #dfe7e1;background:#f7f9f6;border-radius:12px;padding:15px}.mini-metrics strong{display:block;font-size:24px;font-weight:650;letter-spacing:-.04em}.mini-metrics span{display:block;color:#667085;font-size:11px;margin-top:3px}.ad-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ad-work-card{display:grid;grid-template-columns:160px minmax(0,1fr);overflow:hidden;padding:0}.ad-work-art{min-height:230px;background:#e9efea;display:grid;place-items:center;color:#89938d;font-size:11px}.ad-work-art img{width:100%;height:100%;max-height:300px;object-fit:cover}.ad-work-main{padding:20px;min-width:0}.ad-work-main h2{font-size:17px;margin:8px 0;overflow-wrap:anywhere}.ad-work-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;border-top:1px solid #e8eeea;padding:14px 0}.ad-work-metrics span{font-size:10px;color:#667085}.ad-work-metrics strong{display:block;color:#17291f;font-size:15px;margin-top:3px}.ad-work-head{margin:22px 0 14px}
.workspace-lead{background:#123b30;color:#fff;border-radius:16px;padding:25px 28px;margin-bottom:19px;display:flex;justify-content:space-between;align-items:center;gap:22px}.workspace-lead .eyebrow,.workspace-lead p{color:#b9d9c9}.workspace-lead h2{font-size:23px;letter-spacing:-.035em;margin:8px 0}.workspace-lead p{font-size:12px;line-height:1.55;margin:0;max-width:650px}.workspace-lead .lead-count{font-size:35px;letter-spacing:-.05em;white-space:nowrap}.workspace-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 15px}.workspace-toolbar .filters{display:flex;gap:8px;flex-wrap:wrap}.workspace-toolbar select,.workspace-toolbar input{min-height:36px;max-width:230px}.two-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:16px;align-items:start}.three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.workspace-card{margin-bottom:15px}.workspace-card p{white-space:pre-wrap}.workspace-meta{color:#667085;font-size:11px;margin:8px 0 14px}.workspace-badge{display:inline-block;border:1px solid #d6e4da;background:#eff8f0;color:#265c3d;padding:5px 9px;border-radius:18px;font-size:10px;font-weight:650}.workspace-badge.pending{background:#fff2e5;color:#94531e;border-color:#ffdbb3}.workspace-badge.danger{background:#fff0ea;color:#9b3e31;border-color:#f1c6bc}.workspace-stats{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.workspace-stats span{font-size:11px;color:#667085}.workspace-stats strong{display:block;color:#1b342b;font-size:19px}.calendar-day{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;border-top:1px solid #e7ece8;padding:14px 0}.calendar-day time{font-size:11px;color:#516e5d;font-weight:650}.calendar-day .calendar-entry{background:#f5f8f4;border-left:3px solid #35745b;padding:10px 12px;border-radius:5px;margin-bottom:7px}.calendar-day .calendar-entry.post{border-color:#e88128;background:#fff8f1}.calendar-entry p{margin:4px 0;color:#667085;font-size:11px}.workspace-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.workspace-form-grid .wide{grid-column:1/-1}.version-entry{border-top:1px solid #e5ece7;padding:10px 0}.version-entry p{white-space:pre-wrap}.report-view{max-width:850px;margin:0 auto}.report-view h2{font-size:25px}.report-view .detail-stats{grid-template-columns:repeat(4,1fr)}.asset-select{display:flex;gap:9px;align-items:center}.asset-select img{width:48px;height:48px;object-fit:cover;border-radius:7px}
@media(max-width:1100px){.ad-work-grid,.two-columns{grid-template-columns:1fr}.three-columns{grid-template-columns:1fr 1fr}}@media(max-width:620px){.mini-metrics{grid-template-columns:1fr 1fr}.ad-work-grid,.three-columns,.workspace-form-grid{grid-template-columns:1fr}.ad-work-card{grid-template-columns:105px minmax(0,1fr)}.ad-work-art{min-height:200px}.ad-work-main{padding:14px}.ad-work-metrics{grid-template-columns:1fr 1fr}.page-intro h2{font-size:23px}.workspace-lead{padding:20px;align-items:start}.workspace-lead .lead-count{font-size:26px}.calendar-day{grid-template-columns:1fr}.side{overflow:hidden;gap:10px}.side .brand{flex:none}.side .nav{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.side .nav button{flex:none}}
@media print{.shell[data-view=reports] .report-view{display:block!important}.shell[data-view=reports] .workspace-lead,.shell[data-view=reports] .workspace-toolbar,.shell[data-view=reports] .report-archive,.shell[data-view=reports] .top,.shell[data-view=reports] .footer{display:none!important}}
.report-choice{display:block;width:100%;text-align:left;padding:14px 12px;margin:8px 0;background:#fff;border:1px solid #e4ebe5;border-radius:9px;color:inherit;cursor:pointer}.report-choice.selected{background:#edf8f0;border-color:#6da489}.report-choice strong,.report-choice span{display:block}.report-choice strong{font-size:12px}.report-choice span{color:#667085;font-size:10px;margin-top:5px}.report-view p{line-height:1.6}.report-view h3{margin-top:25px}.workspace-card details{border-top:1px solid #e5ece7;margin-top:14px;padding-top:12px}.workspace-card summary{cursor:pointer;color:#32684f;font-weight:650;font-size:12px}.workspace-card .small-stat strong{max-width:65%;text-align:right;overflow-wrap:anywhere}.approval-item{break-inside:avoid}
@media print{.shell[data-view=reports] .two-columns{display:block}.shell[data-view=reports] #report-display{width:100%}.shell[data-view=reports] .report-view{max-width:none;border:0;box-shadow:none;padding:0}.shell[data-view=reports] .report-view .detail-stats{grid-template-columns:repeat(4,1fr)}}

/* PostgreSQL workshop: scoped to the existing light product surface. */
.workshop { min-width:0; }
.workshop form { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; margin:18px 0 28px; padding:20px; background:#f7f8fc; border:1px solid #e5e7ef; border-radius:14px; }
.workshop label { display:flex; flex-direction:column; gap:7px; min-width:0; }
.workshop textarea { width:100%; min-height:90px; resize:vertical; box-sizing:border-box; }
.workshop input,.workshop select { max-width:100%; box-sizing:border-box; }
.workshop [role=status],.workshop #upload-preview { grid-column:1/-1; overflow-wrap:anywhere; }
.workshop #upload-preview img { max-width:100%; max-height:180px; object-fit:contain; }
.workshop #assets,.workshop #drafts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:18px; }
.workshop article { border:1px solid #e5e7ef; border-radius:14px; padding:18px; overflow-wrap:anywhere; min-width:0; }
.workshop article img { max-width:100%; max-height:220px; object-fit:contain; }
.workshop article button { margin:4px; }
.workshop details { margin-top:16px; }
.workshop details p { font-size:13px; }

/* Stage.12: shared, accessible PostgreSQL workspace. */
.pg-surface .main{width:100%;max-width:1280px;margin:0 auto;padding:32px 24px;min-width:0}
.pg-surface .top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.pg-surface .panel{margin-bottom:22px;min-width:0;overflow-wrap:anywhere}
.pg-surface form{max-width:100%;min-width:0}
.pg-surface label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:14px;font-weight:550}
.pg-surface input,.pg-surface textarea,.pg-surface select{font:inherit;font-size:16px;line-height:1.45;border:1px solid #98a2b3;border-radius:8px;background:white;color:#182230;padding:10px 12px;width:100%;max-width:100%;min-width:0}
.pg-surface textarea{min-height:90px;resize:vertical}
.pg-surface input[type=checkbox]{width:24px;min-height:24px;align-self:flex-start;accent-color:#b94b00}
.pg-surface button{min-height:44px;border:1px solid #b8c0cc;border-radius:8px;padding:10px 16px;background:#fff;color:#253041;font:inherit;font-size:14px}
.pg-surface button.primary{background:#bd4d00;border-color:#bd4d00;color:#fff}
.pg-surface button:disabled{cursor:not-allowed;opacity:.65}
.pg-surface :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #8b3900;outline-offset:3px}
.pg-surface [role=status]{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:12px 0;color:#344054}
.pg-surface code,.pg-surface pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.pg-surface h2,.pg-surface h3,.pg-surface h4{line-height:1.45;margin:16px 0 10px}
.pg-surface .admin-user{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #e4e7ec;padding:16px 0}
.pg-surface .admin-user>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0}
.pg-surface .admin-user select{width:auto}
.pg-surface fieldset{min-width:0;border:1px solid #d0d5dd;border-radius:10px;padding:16px;grid-column:1/-1}
.pg-surface table{border-collapse:collapse;width:100%;font-size:14px}
.pg-surface th,.pg-surface td{padding:12px;text-align:left;border-bottom:1px solid #e4e7ec;overflow-wrap:anywhere}
.pg-surface .workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}
.pg-surface .workspace-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #d0d5dd;border-radius:8px;color:#8b3900;background:#fff;text-decoration:none;font-weight:600}
.pg-surface section[id],.pg-surface div[id=learning-section]{scroll-margin-top:20px}
.skip-link{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;color:#8b3900;padding:12px}
.skip-link:focus{top:12px}
@media(max-width:600px){.pg-surface .main{padding:20px 12px}.pg-surface .panel{padding:18px 14px}.pg-surface .login-page{padding:0;display:grid;gap:16px}.pg-surface .login{width:100%;margin:0;padding:24px 18px}.pg-surface .workshop form{padding:14px}.pg-surface .admin-user>div{width:100%}.pg-surface .admin-user select{width:100%}.pg-surface .workspace-nav a{flex:1 1 42%;justify-content:center}.pg-surface table{display:block;overflow-x:auto}.pg-surface .top>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.pg-surface button{max-width:100%;white-space:normal}}
.pg-surface .overview-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}.pg-surface .overview-metrics>div{border:1px solid #e4e7ec;border-radius:10px;padding:16px}.pg-surface .overview-metrics strong{display:block;font-size:28px}.pg-surface .variant-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pg-surface .variant-comparison article{min-width:0;overflow-wrap:anywhere;padding:16px;border:1px solid #d0d5dd;border-radius:10px}.pg-surface .variant-comparison img{max-width:100%;height:180px;object-fit:contain}.pg-surface .support-dialog{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d0d5dd;border-radius:14px;padding:24px}.pg-surface dialog::backdrop{background:#18223099}.pg-surface .support-banner{background:#fff1e5;border-left:4px solid #bd4d00;padding:14px;margin:12px 0}.pg-surface progress{width:100%;accent-color:#bd4d00}.pg-surface label[hidden]{display:none!important}@media(max-width:600px){.pg-surface .variant-comparison{grid-template-columns:1fr}.pg-surface .workspace-nav a{font-size:14px}}
