:root{color-scheme:light;--background:#fafafa;--surface:#fff;--muted:#f4f4f5;--muted-hover:#eaeaed;--foreground:#18181b;--secondary-text:#71717a;--border:#e4e4e7;--input:#d4d4d8;--primary:#18181b;--primary-text:#fafafa;--ring:#a1a1aa;--success:#15803d;--success-bg:#f0fdf4;--warning:#a16207;--warning-bg:#fefce8;--danger:#b91c1c;--danger-bg:#fef2f2;--sidebar-width:244px;--radius:9px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;font-synthesis:none}
:root[data-theme=dark]{color-scheme:dark;--background:#101012;--surface:#18181b;--muted:#232326;--muted-hover:#303034;--foreground:#fafafa;--secondary-text:#a1a1aa;--border:#303034;--input:#45454b;--primary:#fafafa;--primary-text:#18181b;--ring:#71717a;--success:#86efac;--success-bg:#13251b;--warning:#fde047;--warning-bg:#292312;--danger:#fca5a5;--danger-bg:#301a1c}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit}button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 13px;border:1px solid transparent;border-radius:7px;background:var(--muted);color:var(--foreground);font-size:12px;font-weight:550;line-height:1.4;cursor:pointer;transition:background .12s,border-color .12s,box-shadow .12s;white-space:normal}button:hover:not(:disabled){background:var(--muted-hover)}button:disabled{opacity:.45;cursor:not-allowed}button svg,a svg{width:17px;height:17px;flex-shrink:0}.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.primary:hover:not(:disabled){background:var(--primary);opacity:.88}.secondary{background:var(--surface);color:var(--foreground);border:1px solid var(--border);box-shadow:0 1px 2px #00000004}.secondary:hover:not(:disabled){background:var(--muted)}.icon-button{width:34px;height:34px;min-height:34px;padding:7px;background:transparent;color:var(--secondary-text);border:1px solid transparent}.icon-button:hover:not(:disabled){background:var(--muted);color:var(--foreground)}.icon-button svg{width:18px;height:18px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions a.secondary{display:inline-flex;align-items:center;text-decoration:none;padding:8px 12px;border-radius:7px}
[hidden]{display:none!important}:focus-visible{outline:2px solid var(--ring);outline-offset:3px}h1,h2,h3,p{overflow-wrap:break-word}h1{font-size:27px;line-height:1.25;letter-spacing:-.8px;font-weight:650;margin:0}h2{font-size:18px;line-height:1.35;letter-spacing:-.35px;font-weight:600;margin:0 0 12px}h3{font-size:14px;font-weight:600;letter-spacing:-.1px;margin:0 0 12px}p{font-size:13px;line-height:1.7;color:var(--secondary-text);margin:8px 0 16px}.fine{font-size:12px;line-height:1.7;color:var(--secondary-text)}strong{font-weight:600}.eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:var(--secondary-text);margin-bottom:6px}.badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:6px;padding:3px 8px;font-size:11px;font-weight:500;background:var(--surface);color:var(--secondary-text);white-space:nowrap}.error{color:var(--danger)}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;background:var(--muted);border:1px solid var(--border);border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}kbd{font:10px ui-monospace,Consolas,monospace;color:var(--secondary-text);border:1px solid var(--border);border-radius:4px;padding:2px 5px;background:var(--surface)}
.skip-link{position:fixed;top:-100px;left:16px;background:var(--primary);color:var(--primary-text);padding:10px 18px;z-index:100;border-radius:6px}.skip-link:focus{top:12px}.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--surface);z-index:30;padding:0 12px}.workspace-brand{display:flex;align-items:center;gap:10px;min-height:72px;padding:16px 8px;text-decoration:none;flex-shrink:0}.brand-mark{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:9px;background:var(--primary);color:var(--primary-text);font-size:23px;line-height:1;font-weight:650;letter-spacing:-2px;padding-right:2px}.brand-name{display:grid;line-height:1.3;gap:2px;min-width:0}.brand-name strong{font-size:15px;letter-spacing:-.4px}.brand-name span{color:var(--secondary-text);font-size:10px}.workspace-label{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:8px;padding:10px;margin:0 0 12px;background:var(--background);font-size:12px}.workspace-label>span:first-child{display:grid;place-items:center;border:1px solid var(--border);background:var(--surface);border-radius:5px;width:25px;height:25px;flex-shrink:0;font-size:11px}.workspace-label .nav-label{display:grid;gap:1px}.workspace-label small{font-size:10px;color:var(--secondary-text)}.workspace-nav{overflow-y:auto;min-height:0;flex:1;padding-bottom:12px;scrollbar-width:thin}.nav-group{margin:0 0 15px}.nav-group-label{font-size:10px;line-height:1.4;font-weight:550;padding:8px 10px 5px;margin:0;color:var(--secondary-text)}.workspace-nav a{display:flex;align-items:center;gap:10px;min-height:37px;padding:8px 10px;border-radius:6px;text-decoration:none;font-size:12px;color:var(--secondary-text);margin:2px 0;transition:background .12s,color .12s}.workspace-nav a svg{width:16px;height:16px;stroke-width:1.65}.workspace-nav a:hover{background:var(--muted);color:var(--foreground)}.workspace-nav a.active{background:var(--muted);color:var(--foreground);font-weight:600}.workspace-nav a.active svg{stroke-width:2}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:15px 8px;border-top:1px solid var(--border);font-size:11px;flex-shrink:0}.sidebar-footer>span:first-child{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--muted);font-size:10px;font-weight:600}.sidebar-footer .nav-label{display:grid;gap:1px}.sidebar-footer small{font-size:10px;color:var(--secondary-text)}
.workspace-topbar{position:sticky;top:0;z-index:20;margin-left:var(--sidebar-width);height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar-start,.topbar-end{display:flex;align-items:center;gap:13px;min-width:0}.topbar-separator{height:17px;width:1px;background:var(--border)}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap;color:var(--secondary-text)}.breadcrumb>span:last-child{color:var(--foreground);font-weight:500}.breadcrumb svg{width:12px;height:12px;color:var(--secondary-text)}.navigation-search{background:var(--background);border:1px solid var(--border);color:var(--secondary-text);min-width:175px;justify-content:start;font-size:11px;min-height:32px;padding:5px 8px;font-weight:400}.navigation-search kbd{margin-left:auto}.navigation-search svg{width:14px;height:14px}.workspace-connection{display:flex;align-items:center;gap:7px;text-decoration:none;font-size:11px;color:var(--secondary-text);white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--secondary-text);flex-shrink:0}.workspace-connection[data-phase=connected] .status-dot{background:var(--success)}.workspace-connection[data-phase=qr] .status-dot,.workspace-connection[data-phase=reconnecting] .status-dot,.workspace-connection[data-phase=needs_attention] .status-dot{background:var(--warning)}.workspace-connection[data-phase=error] .status-dot{background:var(--danger)}
.app-main{margin-left:var(--sidebar-width);padding:30px 32px 20px;max-width:none;min-width:0;min-height:calc(100dvh - 58px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading p{margin:7px 0 0;font-size:13px}.page-heading .eyebrow{font-size:10px;letter-spacing:.5px;text-transform:none;margin-bottom:7px}.page-heading h1:focus{outline:none}.page-heading .primary{flex-shrink:0;font-size:12px}.page-heading .primary svg{width:15px;height:15px}.workspace-dataset{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;padding-bottom:19px;border-bottom:1px solid var(--border)}.workspace-dataset p{margin:0;font-size:11px}.tabs{display:inline-flex;align-items:center;gap:3px;background:var(--muted);border-radius:7px;padding:3px;flex-shrink:0}.tabs button{background:transparent;border-color:transparent;min-height:29px;padding:5px 12px;color:var(--secondary-text);font-size:11px}.tabs .selected{background:var(--surface);color:var(--foreground);box-shadow:0 1px 3px #00000012;border-color:var(--border)}.app-main>.app-view{margin:0;padding:0;border:0;background:transparent;scroll-margin-top:80px}.app-view>.section-heading{margin-bottom:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{margin:0}.app-view .section-heading>.tabs{display:none}.app-view>.section-heading .eyebrow{display:none}.section-heading .badge{margin-left:auto}.app-view>.section-heading+p{margin-top:-10px}.simulation-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--warning);background:var(--warning-bg);border-radius:7px;color:var(--warning);font-size:12px;margin-bottom:20px}.simulation-banner svg{width:16px;height:16px}.app-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);margin-top:36px;padding-top:15px;color:var(--secondary-text);font-size:10px}.app-footer>span:first-child{display:flex;align-items:center;gap:8px}.app-footer .status-dot{width:5px;height:5px;background:var(--success)}
.panel,.history,.event-card,.saved-filter-panel,.batch-toolbar,.campaign-detail,.backup-card,.setting-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 2px #00000003}.panel{padding:22px}.top-grid,.bottom-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}.panel-heading,.history-title,.event-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.panel-heading h2,.history-title h3{margin:0}.history-title>span{font-size:11px;color:var(--secondary-text)}.history{padding:20px}.report-metrics,.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.report-metrics article,.metrics>div{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;min-width:0;box-shadow:0 1px 2px #00000003}.report-metrics span,.metrics span{display:block;font-size:11px;color:var(--secondary-text)}.report-metrics strong,.metrics strong{display:block;margin-top:12px;font-size:25px;line-height:1.15;letter-spacing:-.8px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.report-metrics .highlight{border-color:var(--input)}.report-breakdown{margin-top:22px}.report-downloads{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.report-downloads>div:first-child{max-width:570px}.report-downloads h3{margin-bottom:4px}.report-downloads p{margin:0}.funnel-row{display:flex;align-items:center;gap:18px;margin:17px 0}.funnel-row label{font-weight:400;flex:1}.funnel-row strong{font-variant-numeric:tabular-nums;font-size:12px}.funnel-row progress{height:7px;width:100%;border:0;border-radius:10px;accent-color:var(--foreground);display:block;margin-top:7px;background:var(--muted)}.funnel-row progress::-webkit-progress-bar{background:var(--muted);border-radius:10px}.funnel-row progress::-webkit-progress-value{background:var(--foreground);border-radius:10px}
form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}label{display:grid;gap:7px;font-size:12px;font-weight:500;min-width:0;flex:1;color:var(--foreground)}input,select,textarea{display:block;width:100%;min-height:36px;padding:8px 10px;border:1px solid var(--input);border-radius:6px;background:var(--surface);color:var(--foreground);font-size:12px;line-height:1.4;box-shadow:0 1px 2px #00000002}input::placeholder,textarea::placeholder{color:var(--secondary-text);opacity:.8}input:focus,select:focus,textarea:focus{outline:2px solid var(--ring);outline-offset:1px}input[readonly]{background:var(--muted)}textarea{resize:vertical;min-height:90px}input[type=checkbox]{display:inline-block;width:16px;height:16px;min-height:16px;padding:0;accent-color:var(--primary);box-shadow:none}input[type=date]{min-width:0}select{padding-right:24px}.filter-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin:20px 0}.filter-toolbar label{font-size:11px;min-width:0!important;flex:auto}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;grid-column:1/-1;border-top:1px solid var(--border);padding-top:14px}.filter-actions button{min-height:32px;font-size:11px}.advanced-filters{grid-column:1/-1;min-width:0;border:1px solid var(--border);border-radius:6px;padding:12px 14px;background:var(--background)}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.advanced-filters>.fine{font-size:11px;margin-top:12px}.stack-form{display:grid;align-items:stretch;gap:16px;max-width:760px}.stack-form>button{justify-self:start}.field-row{display:flex;flex-wrap:wrap;gap:15px}.field-row label{min-width:150px}.stack-form .fine{margin:0}.renew-check{display:flex;align-items:flex-start;gap:11px;font-weight:400;font-size:12px;line-height:1.65}.renew-check input{flex-shrink:0;margin-top:3px}.setting-card{margin:14px 0;padding:17px;display:grid;gap:10px}.setting-card strong{font-size:13px}.setting-card p{margin:0;font-size:12px}.setting-card .actions{margin-top:5px}.configuration .bottom-grid{margin-top:20px}.configuration .panel .stack-form{margin-bottom:0}
.table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);scrollbar-width:thin}.table-wrap:focus-visible{outline-offset:2px}table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;text-align:left;font-variant-numeric:tabular-nums}thead{background:var(--muted)}th{padding:11px 14px;color:var(--secondary-text);font-size:11px;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--border)}td{padding:13px 14px;border-bottom:1px solid var(--border);max-width:350px;overflow-wrap:anywhere;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--background)}td button{min-height:30px;padding:6px 10px;font-size:11px}td .fine{font-size:10px;margin:4px 0 0}td:has(button){white-space:nowrap}#conversations table{min-width:780px}.campaign-section>.table-wrap>table{min-width:1080px}.campaign-detail table{min-width:760px}#spend>.table-wrap>table{min-width:720px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:13px;padding:5px 0;color:var(--secondary-text);font-size:11px}.pagination button{min-height:31px;padding:5px 10px;font-size:11px}#empty,#conversation-empty,.event-empty{text-align:center;padding:35px 15px;color:var(--secondary-text);font-size:12px}.campaign-detail{padding:22px;margin-top:24px;scroll-margin-top:80px}.campaign-detail .report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.campaign-detail .report-metrics article{box-shadow:none;background:var(--background)}.campaign-detail .report-metrics strong{font-size:21px}.campaign-section td{vertical-align:top}#campaign-period,#spend-definition,#report-definition{font-size:11px}#campaign-coverage,#spend-coverage{padding:12px 14px;background:var(--muted);border-radius:7px;font-size:11px}
details{border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:14px 16px;margin:16px 0}summary{cursor:pointer;display:list-item;list-style-position:inside;font-size:12px;font-weight:550;color:var(--foreground)}details[open]>summary{margin-bottom:14px}details>p:last-child{margin-bottom:0}details details{background:var(--background)}.help-details{background:transparent;box-shadow:none;margin:16px 0}.help-details p{font-size:12px}.help-details>summary{color:var(--secondary-text);font-size:11px}.help-details .fine{margin-bottom:10px}.app-view>.fine[role=status]{margin-top:14px}.saved-filter-panel{padding:16px 18px;box-shadow:none;background:var(--surface);margin:16px 0}.saved-filter-panel .actions{margin-top:14px}.saved-filter-archived{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--border);font-size:12px}.batch-toolbar{padding:15px 18px;margin:18px 0;background:var(--muted);box-shadow:none}.batch-toolbar strong{font-size:12px}.batch-toolbar p{margin-bottom:0;font-size:11px}.batch-toolbar .actions{margin-top:10px}.board-explanation{display:flex;align-items:center;justify-content:space-between;gap:15px}.board-explanation p{margin:0}.board-columns{display:flex;gap:16px;overflow:auto;align-items:start;padding:3px 1px 20px;max-height:calc(100dvh - 200px);min-height:250px;scrollbar-width:thin}.board-column{flex:0 0 286px;min-width:0;background:var(--muted);border:1px solid var(--border);border-radius:9px;padding:13px}.board-column-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:3px 3px 12px}.board-column-title h3{font-size:12px;margin:0}.board-column-title .badge{border-radius:5px;min-width:24px;justify-content:center;padding:2px 6px;font-size:10px}.board-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:15px;margin:10px 0;box-shadow:0 1px 2px #00000004;overflow-wrap:anywhere}.board-card strong{display:block;font-size:12px}.board-card p{font-size:11px;margin:9px 0}.board-card .fine{font-size:10px}.board-card .board-money{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.board-card button{width:100%;margin-top:7px;min-height:30px;font-size:11px}.board-review{background:var(--warning-bg);color:var(--warning);border-radius:5px;padding:7px 8px}.board-select{display:flex;align-items:center;gap:7px;margin-bottom:12px;font-size:10px;color:var(--secondary-text);font-weight:400}.board-pagination{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:14px;font-size:10px;color:var(--secondary-text)}.board-pagination button{min-height:28px;padding:5px 8px;font-size:10px}
.status{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--border);background:var(--muted);border-radius:6px;font-size:10px;color:var(--secondary-text);white-space:nowrap}.status.connected{background:var(--success-bg);color:var(--success);border-color:var(--success)}.status.error,.status.needs_attention{background:var(--warning-bg);color:var(--warning);border-color:var(--warning)}.qr-space{min-height:285px;display:grid;place-items:center;text-align:center;border:1px dashed var(--input);border-radius:9px;margin:20px 0;background:var(--background);padding:24px}.qr-space img{display:block;background:#fff;max-width:270px;width:100%;border-radius:8px;padding:8px}.qr-icon{font-size:48px;line-height:1.3;color:var(--secondary-text);margin-bottom:13px}.qr-space strong{font-size:13px}.qr-space p{font-size:12px;margin:7px 0 0}.connection .actions{margin-top:15px}.guide ol{padding:0;counter-reset:step;list-style:none;margin:20px 0}.guide li{position:relative;padding:0 0 18px 37px;counter-increment:step;font-size:12px}.guide li::before{content:counter(step);display:grid;place-items:center;position:absolute;left:0;top:0;width:24px;height:24px;border:1px solid var(--border);border-radius:6px;background:var(--muted);color:var(--secondary-text);font-size:10px}.guide li p{font-size:12px;margin:5px 0}.callout{border:1px solid var(--border);border-radius:7px;padding:14px;background:var(--muted)}.callout strong{font-size:12px}.callout p{font-size:11px;margin:6px 0 0}.connection-recovery{box-shadow:none}.connection-recovery dl{display:grid;gap:5px;font-size:12px}.connection-recovery dt{font-size:11px;color:var(--secondary-text)}.connection-recovery dd{margin:0 0 12px;overflow-wrap:anywhere}.checkpoints{display:grid;gap:10px;margin-top:20px;font-size:12px;color:var(--secondary-text)}.simulation{max-width:800px}.simulation .primary{margin-top:10px}.event-card{padding:20px;margin:14px 0}.event-heading h3{margin:0;font-size:13px}.event-heading{flex-wrap:wrap;margin-bottom:8px}.event-transition{font-weight:500;color:var(--foreground)}.event-id{overflow-wrap:anywhere;font-size:11px}.event-card p:last-child{margin-bottom:0}
.access-section>.fine,.access-section>p,.backup-section>p{max-width:850px}.access-management{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.access-management details{max-width:850px}#access-activity-list p,#detail-audit p,#detail-journey p{border-bottom:1px solid var(--border);padding-bottom:10px;font-size:12px}.backup-card{padding:20px;margin:12px 0}.backup-card h3{margin-bottom:6px}.backup-download{display:inline-flex;padding:8px 12px;border-radius:6px;text-decoration:none;font-size:12px}.backup-section a:not(.secondary){text-underline-offset:3px}.backup-section>details,.backup-section #backup-controls>details{max-width:850px}
dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 48px);border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--foreground);padding:24px;overflow:auto;box-shadow:0 20px 80px #00000030}dialog::backdrop{background:#00000065;backdrop-filter:blur(2px)}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.detail-header h2,.detail-header h3{margin:0}.detail-messages{display:grid;gap:10px;max-height:340px;overflow:auto;padding:14px;background:var(--muted);border:1px solid var(--border);border-radius:8px;margin:12px 0 22px}.message-bubble{max-width:88%;background:var(--surface);border:1px solid var(--border);padding:11px 14px;border-radius:9px;overflow-wrap:anywhere;box-shadow:0 1px 1px #00000003}.message-bubble.out{justify-self:end;background:var(--background)}.message-bubble small{font-size:10px;color:var(--secondary-text)}.message-bubble p{white-space:pre-wrap;color:var(--foreground);margin:5px 0;font-size:12px}.sale-form,#detail-stage-form,.manual-sale{background:var(--background);border:1px solid var(--border);border-radius:8px;padding:16px}.sale-form strong{width:100%;font-size:13px}.sale-form label{min-width:150px}.batch-list{list-style:none;padding:12px 16px;background:var(--muted);border:1px solid var(--border);border-radius:8px;max-height:220px;overflow:auto}.batch-list li{padding:7px 0;border-bottom:1px solid var(--border);font-size:12px}.batch-list li:last-child{border:0}#notice{display:block;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:13px 16px;margin-bottom:20px;font-size:12px;box-shadow:0 2px 8px #00000005;overflow-wrap:anywhere}#detail-notice,#backup-create-status,#backup-verify-status{font-size:12px}
.command-dialog{margin:14vh auto auto;padding:0;width:min(580px,calc(100vw - 32px));overflow:hidden;border-radius:12px}.command-search{display:flex;align-items:center;gap:10px;padding:10px 15px;border-bottom:1px solid var(--border)}.command-search>svg{width:18px;height:18px;color:var(--secondary-text);flex-shrink:0}.command-search input{border:0;background:transparent;padding:8px 0;font-size:13px;box-shadow:none;outline:none!important}.command-search .icon-button{flex-shrink:0}.command-results{padding:6px;max-height:min(440px,55dvh);overflow:auto}.command-result{display:flex;align-items:center;gap:12px;width:100%;justify-content:start;min-height:58px;background:transparent;padding:10px;border-radius:6px;text-align:left;white-space:normal}.command-result>svg{color:var(--secondary-text);flex-shrink:0}.command-result>svg:last-child{margin-left:auto;width:13px;height:13px}.command-result>div{display:grid;gap:3px}.command-result strong{font-size:12px;font-weight:500}.command-result span{font-size:10px;color:var(--secondary-text);line-height:1.5}.command-result[aria-selected=true]{background:var(--muted)}.command-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--border);font-size:10px;color:var(--secondary-text);background:var(--background)}#command-empty{text-align:center;padding:24px 12px;margin:0;font-size:12px}.mobile-navigation{position:fixed;inset:0 auto 0 0;margin:0;height:100dvh;max-height:100dvh;max-width:calc(100vw - 50px);width:280px;border:0;border-right:1px solid var(--border);border-radius:0;padding:0 14px;overflow:hidden}.mobile-navigation[open]{display:flex;flex-direction:column}.mobile-nav-heading{display:flex;justify-content:space-between;align-items:center}.mobile-navigation .workspace-nav{padding-bottom:20px}.mobile-navigation .workspace-brand{padding-left:8px}.mobile-navigation .nav-label{display:initial!important}.mobile-navigation .nav-group-label{display:block!important}.mobile-navigation .workspace-nav a{justify-content:start!important}
body[data-sidebar=collapsed]{--sidebar-width:68px}body[data-sidebar=collapsed] .app-sidebar .brand-name,body[data-sidebar=collapsed] .app-sidebar .nav-label,body[data-sidebar=collapsed] .app-sidebar .nav-group-label{display:none}body[data-sidebar=collapsed] .app-sidebar{padding:0 9px}body[data-sidebar=collapsed] .app-sidebar .workspace-brand{padding-left:8px}body[data-sidebar=collapsed] .app-sidebar .workspace-label{padding:8px 3px;justify-content:center}body[data-sidebar=collapsed] .app-sidebar .nav-group{margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border)}body[data-sidebar=collapsed] .app-sidebar .workspace-nav a{justify-content:center;padding:10px 0}body[data-sidebar=collapsed] .app-sidebar .sidebar-footer{justify-content:center;padding-left:0;padding-right:0}
.login-body{display:grid;place-items:center;min-height:100dvh;padding:30px;background:var(--background)}.login-shell{width:min(420px,100%);margin:0;padding:32px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 8px 30px #00000004}.login-shell .brand-mark{margin-bottom:24px}.login-shell h1{font-size:23px}.login-shell .stack-form{margin:25px 0 20px}.login-shell .stack-form>button{justify-self:stretch}.login-shell>p:last-child{font-size:11px;margin-bottom:0}.login-shell #login-status{color:var(--danger)}
@media(min-width:1700px){.app-main{padding:35px 48px}.workspace-topbar{padding-left:46px;padding-right:46px}}@media(max-width:1250px){.workspace-topbar{padding:0 22px}.app-main{padding:25px 24px}.navigation-search{min-width:34px;width:34px;padding:7px;justify-content:center}.navigation-search span,.navigation-search kbd{display:none}.topbar-end{gap:9px}.filter-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.top-grid,.bottom-grid{grid-template-columns:minmax(0,1fr)}.report-downloads{align-items:start;flex-direction:column}.campaign-detail .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.report-metrics,.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb>span:first-child,.breadcrumb>svg{display:none}.workspace-connection .connection-prefix{display:none}.page-heading .primary{max-width:170px}.board-columns{max-height:none}.workspace-dataset p{max-width:270px;text-align:right}}@media(max-width:800px){body,body[data-sidebar=collapsed]{--sidebar-width:0px}.app-sidebar{display:none}.app-main{margin-left:0;padding:22px 20px}.workspace-topbar{margin-left:0;padding:0 17px;gap:12px}.breadcrumb{font-size:11px}.topbar-start{gap:10px}.topbar-end{gap:7px}.workspace-dataset{margin-bottom:20px}.page-heading{align-items:start}.page-heading h1{font-size:24px}.page-heading p{max-width:440px;font-size:12px}.filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:18px}.section-heading{gap:12px;align-items:start;flex-wrap:wrap}.board-explanation{align-items:start;flex-wrap:wrap}.app-footer{font-size:9px}.topbar-end .workspace-connection{font-size:10px}.sidebar-footer{display:flex}}@media(max-width:500px){.app-main{padding:20px 14px}.workspace-topbar{padding:0 11px}.workspace-connection .connection-prefix,.workspace-connection #workspace-connection-label{display:none}.workspace-connection{padding:8px}.workspace-connection .status-dot{width:8px;height:8px}.breadcrumb{max-width:140px;overflow:hidden;text-overflow:ellipsis}.page-heading{gap:12px;flex-direction:column}.page-heading .primary{max-width:none;min-height:32px;font-size:11px}.workspace-dataset{gap:10px}.workspace-dataset p{max-width:140px;font-size:10px}.tabs button{padding:5px 9px;font-size:10px}.report-metrics,.metrics{gap:10px}.report-metrics article,.metrics>div{padding:15px}.report-metrics strong,.metrics strong{font-size:22px}.report-metrics span,.metrics span{font-size:10px}.filter-toolbar{padding:14px;gap:12px}.advanced-grid{grid-template-columns:1fr}.field-row{flex-direction:column;gap:15px}.field-row label{width:100%;min-width:0}.filter-actions{justify-content:stretch}.filter-actions button{flex:1}.pagination{justify-content:start}.campaign-detail{padding:15px}.detail-header{align-items:start}.detail-header h2{font-size:17px}.detail-header button{flex-shrink:0}.command-dialog{margin-top:8vh}.command-footer>span:last-child{display:none}.app-footer{align-items:start}.report-downloads{padding:16px}.report-downloads .actions{width:100%}.report-downloads button{flex:1}.login-body{padding:18px}.login-shell{padding:25px}.board-column{flex-basis:270px}.board-explanation .badge{font-size:10px}.command-result span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media print{.app-sidebar,.workspace-topbar,.workspace-dataset,.page-heading>button,.app-footer,.filter-toolbar,.pagination,.skip-link{display:none!important}.app-main{margin:0;padding:0}.table-wrap{overflow:visible}body{background:white;color:black}.app-view[hidden]{display:none!important}.panel,.report-metrics article{box-shadow:none}}

@media(min-width:1251px){.campaign-section>.report-metrics,.spend-section>.report-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.campaign-section>.report-metrics strong,.spend-section>.report-metrics strong{font-size:23px}}

.batch-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;position:sticky;top:70px;z-index:5;box-shadow:0 3px 12px #00000006}.batch-toolbar .actions{margin:0}.batch-toolbar>p{grid-column:1/-1;margin:0}.batch-toolbar>div:first-child>p{font-size:10px;max-width:600px;margin:4px 0 0}.board-explanation{margin-bottom:15px;align-items:center}.board-explanation .help-details{border:0;padding:0;margin:0;max-width:800px}.board-explanation .help-details[open]{border:1px solid var(--border);padding:12px 15px}.board-explanation .help-details>p{margin-top:10px;font-size:11px}.board-explanation .help-details>summary{font-size:11px}.workspace-dataset~.app-view>.section-heading+p.fine[id$="dataset"]{display:none}@media(max-width:650px){.batch-toolbar{grid-template-columns:1fr;position:static}.batch-toolbar .actions{justify-content:start}}

#board-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}#conversation-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-toolbar>.advanced-filters{margin:0}@media(max-width:650px){#board-filters,#conversation-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#conversation-filters>label:first-child{grid-column:1/-1}}

body[data-view=clients] .workspace-dataset,body[data-view=clients] #simulation-banner{display:none}

body[data-view=team] .workspace-dataset,body[data-view=team] #simulation-banner{display:none}
.member-card{padding:18px;border:1px solid var(--border);border-radius:8px;margin:12px 0;background:var(--card)}.member-card h4{margin:0 0 12px;overflow-wrap:anywhere}.member-card form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.member-card label{display:grid;gap:6px;min-width:160px}.portal-shell{max-width:1180px;margin:auto;padding:24px}.portal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);padding-bottom:22px;flex-wrap:wrap}.portal-header h1{margin:0}.portal-header p{margin:4px 0}.portal-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:24px 0}.portal-controls label{display:grid;gap:6px}.portal-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.portal-tabs button[aria-pressed=true]{background:var(--foreground);color:var(--background)}.portal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.portal-metrics article{padding:20px;border:1px solid var(--border);border-radius:8px}.portal-metrics span{display:block;color:var(--secondary-text);font-size:12px}.portal-metrics strong{display:block;font-size:25px;margin-top:10px}.portal-scroll{overflow:auto;border:1px solid var(--border);border-radius:8px}.portal-scroll table{width:100%;border-collapse:collapse}.portal-scroll th,.portal-scroll td{padding:14px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--border)}.portal-shell dialog{max-width:480px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:12px;background:var(--background);color:var(--foreground);padding:24px}.portal-shell dialog::backdrop{background:#0006}@media(max-width:700px){.portal-shell{padding:16px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-controls>*{min-width:0;flex:1 1 140px}.member-card form>*{max-width:100%}}

.client-qr{margin:16px 0}.client-qr:empty{display:none}.client-qr img{display:block;width:280px;max-width:100%;height:auto;padding:12px;background:#fff;border:1px solid var(--border);border-radius:8px}.connection-check{display:flex!important;align-items:start;gap:10px!important}.connection-check input{width:auto!important;min-height:0!important;margin-top:3px}.connection-check span{line-height:1.6}.setting-card details{margin-top:16px}

.operation-banner{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border:1px solid var(--border);border-radius:8px;padding:14px 18px;background:var(--muted);margin:0 0 20px}.operation-banner strong{font-size:13px}.operation-banner span{font-size:11px;color:var(--secondary-text)}.operation-banner a{margin-left:auto;font-size:12px}.workspace-label label{display:grid;gap:8px;width:100%;min-width:0;font-size:11px}.workspace-label select{max-width:100%;min-width:0;font-size:12px}a.secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:8px 12px;border:1px solid var(--border);border-radius:6px;background:var(--background);color:var(--foreground);font-size:12px}

.operation-mobile-select{display:none}@media(max-width:800px){.operation-mobile-select{display:grid;gap:6px;width:100%;flex:0 0 100%;font-size:11px}.operation-banner>strong,.operation-banner>span{flex-basis:100%}.operation-banner a{margin-left:0}#breadcrumb-page{max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

#meta .setting-card{overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr);}
#meta .setting-card>*{min-width:0;}
#meta .connection-check span{min-width:0;}

.meta-guide{max-width:900px;margin:auto;padding:28px 20px;overflow-wrap:anywhere}.meta-guide h1{margin-top:24px}.meta-guide .setting-card{grid-template-columns:minmax(0,1fr)}
.topbar-help{font-size:12px;white-space:nowrap;color:var(--secondary-text)}.page-guidance{border-left:3px solid var(--primary);background:var(--muted);border-radius:0 8px 8px 0;padding:14px 18px;margin-bottom:22px}.page-guidance>strong{font-size:13px}.page-guidance details{margin-top:5px}.page-guidance summary{font-size:12px;cursor:pointer;color:var(--secondary-text)}.page-guidance p{max-width:850px;font-size:12px;margin:10px 0 0}.setup-summary,.setup-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.setup-summary{border:1px solid var(--border);border-radius:10px;padding:18px 20px;margin-bottom:24px;background:var(--surface)}.setup-summary strong{font-size:14px}.setup-summary p{margin:6px 0 0;max-width:800px;font-size:12px;color:var(--secondary-text)}.setup-summary>a{flex-shrink:0}.setup-heading{align-items:start}.setup-heading h3{font-size:20px;margin:0 0 8px}.setup-heading p{max-width:800px;margin:0;font-size:13px;color:var(--secondary-text)}.setup-heading button{flex-shrink:0}.setup-progress{font-size:12px;color:var(--secondary-text);margin:20px 0 12px}.setup-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}.setup-step{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid var(--border);background:var(--surface);border-radius:10px}.setup-step strong{font-size:14px}.setup-step p{font-size:12px;color:var(--secondary-text);margin:6px 0 10px;max-width:820px}.setup-number{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--border);border-radius:50%;font-size:13px;color:var(--secondary-text)}.setup-state{font-size:11px;color:var(--secondary-text)}.setup-step[data-state=done] .setup-number{background:var(--success-bg);color:var(--success);border-color:var(--success)}.setup-step[data-state=next]{border-color:var(--foreground)}.setup-step[data-state=next] .setup-state{font-weight:600;color:var(--foreground)}.setup-access-gate{padding:28px;border:1px solid var(--border);border-radius:10px;margin:20px 0;background:var(--surface)}.setup-access-gate h3{font-size:20px;margin-top:0}.setup-access-gate p{max-width:650px;margin:10px 0 20px}.settings-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);padding-bottom:12px;margin:20px 0}.settings-tabs [aria-selected=true]{background:var(--primary);color:var(--primary-foreground)}.settings-single-panel{grid-template-columns:minmax(0,1fr);max-width:960px}.settings-single-panel>[hidden]{display:none!important}body[data-view=start] .workspace-dataset{display:none}
@media(max-width:800px){.setup-summary,.setup-heading{align-items:stretch;flex-direction:column;gap:14px}.setup-step{grid-template-columns:30px minmax(0,1fr);gap:12px;padding:16px}.setup-step>a{grid-column:2;justify-self:start;max-width:100%;white-space:normal}.topbar-help{display:none}.setup-heading h3{font-size:18px}.settings-tabs button{flex:1;white-space:normal}.page-guidance{padding:12px 14px}.setup-access-gate{padding:20px}}

#view-title-start{display:none}.workspace-nav details.nav-group{border:0;background:transparent;border-radius:0;padding:0}.workspace-nav details.nav-group>summary{cursor:pointer;font-size:10px;padding:10px 12px;margin:0 0 7px;color:var(--secondary-text)}

.meta-login-card h3{margin:0;font-size:18px}.meta-login-card .section-heading{flex-wrap:wrap;gap:12px}.meta-login-steps{display:flex;flex-wrap:wrap;gap:12px 32px;padding-left:20px;margin:8px 0;font-size:12px;color:var(--secondary-text)}#meta-advanced{margin:20px 0}#meta-advanced>p{font-size:12px}#meta-advanced form{margin-top:20px}#meta-connect[disabled]{cursor:not-allowed;opacity:.55}
