:root{--ink:#17221d;--muted:#748078;--line:#e5e9e5;--paper:#f7f8f5;--white:#fff;--lime:#b9e43b;--lime-deep:#7fa613;--violet:#7656e8;--coral:#f0785e;--nav:#18231e;--nav-soft:#25332c;--shadow:0 12px 35px rgba(21,35,27,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}button,select{font:inherit;color:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--nav);color:#dfe7e2;padding:27px 18px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;padding:0 8px 27px}.brand-mark{width:29px;height:29px;display:flex;align-items:flex-end;gap:3px;transform:rotate(-8deg)}.brand-mark i{display:block;width:7px;border-radius:2px;background:var(--lime)}.brand-mark i:nth-child(1){height:13px}.brand-mark i:nth-child(2){height:21px}.brand-mark i:nth-child(3){height:28px}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-name{display:flex;align-items:baseline;gap:4px;font-size:18px;letter-spacing:-.7px}.brand-name strong{letter-spacing:-.2px}.brand-name b{color:var(--lime)}.brand-copy small{color:#839188;font-size:6px;font-weight:700;line-height:1.35;letter-spacing:.75px;text-transform:uppercase}.workspace-card{display:grid;grid-template-columns:36px 1fr 16px;align-items:center;gap:9px;background:var(--nav-soft);border:1px solid #33443b;border-radius:9px;padding:10px;margin-bottom:24px}.client-avatar{width:34px;height:34px;border-radius:7px;background:#e3f1b8;color:#2b3a30;font-weight:800;display:grid;place-items:center;font-size:12px}.workspace-card div{min-width:0}.workspace-card small,.workspace-card strong{display:block}.workspace-card small{font-size:8px;color:#8f9c95;letter-spacing:1px;margin-bottom:3px}.workspace-card strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-card button{border:0;background:transparent;color:#849189;padding:0}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav p{font-size:9px;letter-spacing:1.2px;color:#77867e;margin:14px 12px 6px}.nav-link{height:40px;border-radius:7px;padding:0 11px;color:#aab6af;text-decoration:none;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:600;position:relative}.nav-link>span{width:17px;text-align:center;font-size:17px;color:#87968e}.nav-link em{font-style:normal;margin-left:auto;background:#304039;color:#aebbb4;border-radius:10px;padding:2px 7px;font-size:9px}.nav-link .alert-count{background:#674d3f;color:#f4a082}.nav-link:hover,.nav-link.active{background:#2b3932;color:#fff}.nav-link.active:before{content:"";position:absolute;left:-18px;width:3px;height:20px;background:var(--lime);border-radius:0 3px 3px 0}.nav-link.active>span{color:var(--lime)}.sidebar-footer{margin-top:auto}.sync-status{display:flex;gap:9px;border-bottom:1px solid #314038;padding:14px 7px 16px;margin-bottom:12px}.sync-status>i{width:7px;height:7px;margin-top:4px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 4px rgba(185,228,59,.09)}.sync-status span{display:flex;flex-direction:column}.sync-status strong{font-size:10px}.sync-status small{font-size:9px;color:#77877e;margin-top:3px}.profile{width:100%;display:grid;grid-template-columns:33px 1fr auto;align-items:center;text-align:left;gap:9px;border:0;background:transparent;color:white;padding:5px}.profile>span:first-child{width:31px;height:31px;border-radius:50%;background:#e6d5c6;color:#5a4637;display:grid;place-items:center;font-size:10px;font-weight:800}.profile>span:nth-child(2){display:flex;flex-direction:column}.profile strong{font-size:10px}.profile small{font-size:9px;color:#78877f;margin-top:2px}.profile b{color:#6f7f77;font-size:10px}.app-shell>main{grid-column:2;min-width:0}.topbar{height:72px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:10}.account-picker{display:flex;align-items:center;gap:10px}.meta-badge{width:34px;height:34px;border-radius:8px;background:#edf0ff;color:#516af0;display:grid;place-items:center;font-size:25px;font-weight:700}.account-picker div{display:flex;flex-direction:column}.account-picker small{font-size:8px;letter-spacing:1px;color:#8a948e;margin-bottom:2px}.account-picker strong{font-size:12px}.account-picker button{border:0;background:transparent;color:#78837d}.top-actions{display:flex;gap:8px;align-items:center}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:7px;background:white;font-size:20px;position:relative}.notification i{position:absolute;right:7px;top:6px;width:5px;height:5px;border-radius:50%;background:var(--coral)}.export-button{height:37px;padding:0 15px;border-radius:7px;border:0;background:var(--ink);color:white;font-size:11px;font-weight:700}.export-button span{color:var(--lime);margin-right:7px}.mobile-menu{display:none;border:0;background:transparent;font-size:20px}.content{padding:31px 33px 50px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:23px}.eyebrow{color:#738078;font-size:8px;letter-spacing:1.4px;font-weight:800;margin-bottom:8px}.eyebrow span{display:inline-block;width:16px;height:2px;background:var(--lime);vertical-align:middle;margin-right:6px}.page-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:31px;letter-spacing:-.7px;margin:0 0 5px}.page-heading p,.panel-heading p,.section-heading p{margin:0;color:var(--muted);font-size:11px}.period-controls{display:flex;gap:9px}.compare-toggle,.date-picker{height:37px;border:1px solid #dfe4df;background:white;border-radius:7px;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:10px;font-weight:700}.compare-toggle i{width:22px;height:12px;border-radius:10px;background:#d9ded9;position:relative}.compare-toggle i:after{content:"";width:8px;height:8px;background:white;position:absolute;left:2px;top:2px;border-radius:50%;transition:.2s}.compare-toggle.on i{background:var(--lime)}.compare-toggle.on i:after{left:12px}.date-picker select{border:0;outline:0;background:transparent;font-size:10px;font-weight:700;appearance:none}.insight-banner{background:linear-gradient(100deg,#eff8d5,#f7faeb);border:1px solid #dcebb2;border-left:3px solid var(--lime);border-radius:8px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:13px 16px;margin-bottom:18px}.spark-icon{width:34px;height:34px;border-radius:7px;background:var(--ink);color:var(--lime);display:grid;place-items:center;font-size:17px}.insight-banner strong{font-size:10px}.insight-banner p{font-size:11px;color:#5e685f;margin:3px 0}.insight-banner p b{color:#3f5b23}.insight-banner button{border:0;background:transparent;color:#53692b;font-size:10px;font-weight:800;padding:10px}.insight-banner button span,.text-button span{font-size:15px;margin-left:7px}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:14px}.kpi-card{background:white;border:1px solid var(--line);border-radius:9px;padding:16px 17px;min-height:132px;box-shadow:0 2px 8px rgba(20,30,24,.02);position:relative;overflow:hidden}.kpi-card.featured{border-top:2px solid var(--lime)}.kpi-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.kpi-head span{color:#737d77;font-size:8px;font-weight:800;letter-spacing:.9px}.kpi-head i{font-style:normal;width:22px;height:22px;border-radius:5px;background:#f1f4ef;display:grid;place-items:center;color:#7d8c83;font-size:10px}.kpi-card>strong{font-family:Georgia,serif;font-size:27px;font-weight:500}.delta{margin-top:7px;font-size:9px;font-weight:800}.delta.positive{color:#608c19}.delta small{font-weight:500;color:#9aa29d;margin-left:4px}.mini-bars{position:absolute;right:15px;bottom:15px;height:28px;display:flex;gap:3px;align-items:flex-end}.mini-bars i{width:3px;background:#dce6c1;border-radius:2px}.mini-bars i:nth-child(1){height:8px}.mini-bars i:nth-child(2){height:13px}.mini-bars i:nth-child(3){height:11px}.mini-bars i:nth-child(4){height:17px}.mini-bars i:nth-child(5){height:14px}.mini-bars i:nth-child(6){height:20px}.mini-bars i:nth-child(7){height:17px}.mini-bars i:nth-child(8){height:23px}.mini-bars i:nth-child(9){height:19px}.mini-bars i:nth-child(10){height:26px;background:var(--lime)}.mini-bars i:nth-child(11){height:23px}.mini-bars i:nth-child(12){height:28px;background:var(--lime)}.mini-line{position:absolute;right:12px;bottom:12px;width:95px;height:32px}.mini-line svg{width:100%;height:100%;overflow:visible}.mini-line path{fill:none;stroke:var(--lime-deep);stroke-width:2}.mini-line.purple path{stroke:var(--violet)}.goal{height:4px;background:#edf0ea;border-radius:4px;margin-top:13px}.goal span{display:block;height:100%;background:var(--lime);border-radius:4px}.goal-label{display:block;text-align:right;color:#99a19c;font-size:8px;margin-top:4px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);gap:14px;margin-bottom:14px}.panel{background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 2px 8px rgba(20,30,24,.02)}.panel-heading{padding:17px 19px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #edf0ed}.panel-heading h2,.section-heading h2{font-size:13px;margin:0 0 4px}.panel-heading button{border:0;background:transparent}.legend{display:flex;gap:14px;font-size:9px;color:#77827b}.legend i{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:4px}.legend .lime{background:var(--lime)}.legend .violet{background:var(--violet)}.chart-summary{display:flex;gap:22px;padding:13px 23px 0}.chart-summary div{display:flex;flex-direction:column}.chart-summary small{font-size:7px;color:#8a958e;font-weight:800;letter-spacing:.7px}.chart-summary strong{font-size:15px;margin-top:3px}.line-chart{height:215px;display:grid;grid-template-columns:36px 1fr;padding:7px 18px 13px 8px}.chart-y{display:flex;flex-direction:column;justify-content:space-between;height:163px;padding-top:2px;color:#99a29c;font-size:8px;text-align:right;padding-right:7px}.chart-area{position:relative;height:183px}.grid-lines{position:absolute;inset:0 0 20px}.grid-lines i{display:block;height:33.33%;border-top:1px dashed #e6e9e6}.chart-area svg{position:absolute;inset:0 0 20px;width:100%;height:163px;overflow:visible}.area{fill:url(#areaGreen)}.revenue-line{fill:none;stroke:var(--lime-deep);stroke-width:2}.spend-line{fill:none;stroke:var(--violet);stroke-width:1.7}.point{fill:var(--lime-deep);stroke:white;stroke-width:3}.violet-fill{fill:var(--violet)}.chart-tooltip{position:absolute;right:9%;top:7px;width:88px;background:var(--ink);color:white;border-radius:6px;padding:7px 9px;box-shadow:var(--shadow)}.chart-tooltip:after{content:"";position:absolute;left:50%;bottom:-5px;border:5px solid transparent;border-top-color:var(--ink);border-bottom:0}.chart-tooltip small{display:block;color:#9eaaa3;font-size:6px;margin-bottom:3px}.chart-tooltip b{display:block;font-size:9px;margin:2px 0}.chart-tooltip span{color:#97a49c;font-weight:400;font-size:7px}.chart-x{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:#9aa29d;font-size:7px}.donut-wrap{padding:24px 20px}.donut{width:137px;height:137px;border-radius:50%;background:conic-gradient(var(--lime) 0 58.4%,var(--violet) 58.4% 95.5%,#ccd5cd 95.5%);margin:0 auto 20px;display:grid;place-items:center;position:relative}.donut:before{content:"";position:absolute;width:88px;height:88px;border-radius:50%;background:white}.donut div{position:relative;text-align:center;display:flex;flex-direction:column}.donut strong{font-family:Georgia,serif;font-size:20px}.donut small{font-size:7px;color:#909a94;letter-spacing:1px;margin-top:2px}.channel-list{display:flex;flex-direction:column;gap:13px}.channel-list>div{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:9px}.channel-list i{width:26px;height:26px;border-radius:6px;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:12px}.channel-list .fb{background:#e8edff;color:#4669df}.channel-list .ig{background:#f3eaff;color:#9550c6}.channel-list .an{background:#edf0ec;color:#68766d}.channel-list span{display:flex;flex-direction:column}.channel-list strong{font-size:9px}.channel-list small{font-size:7px;color:#9aa29e;margin-top:2px}.channel-list b{font-size:10px}.campaigns-panel{margin-bottom:28px}.text-button{border:0;background:transparent;color:#53655b;font-size:9px;font-weight:800}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:830px}th{text-align:left;font-size:7px;color:#929b95;letter-spacing:.8px;padding:10px 14px;border-bottom:1px solid #edf0ed}td{padding:12px 14px;border-bottom:1px solid #f0f2f0;font-size:10px}tbody tr:last-child td{border-bottom:0}td:first-child{display:flex;align-items:center;gap:10px}.campaign-icon{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;font-weight:800}.campaign-icon.green{background:#eef7d4;color:#6f9214}.campaign-icon.purple{background:#ede9ff;color:#7057db}.campaign-icon.coral{background:#fff0eb;color:#d56b53}td div{display:flex;flex-direction:column}td small{display:block;color:#9aa29d;font-size:7px;margin-top:3px}.status{font-size:8px;font-weight:700;padding:4px 7px;border-radius:10px}.status.active{color:#5f7c23;background:#eff6de}.roas{padding:4px 6px;border-radius:4px;font-size:9px}.roas.high{background:#edf6d9;color:#5d7c13}.roas.neutral{background:#f0f1ef;color:#879088}.trend{font-size:8px;font-weight:700}.trend.up{color:#658c22}.row-open{border:0;background:transparent;color:#758179;font-size:16px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:13px}.creative-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.creative-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.creative-image{height:165px;position:relative;overflow:hidden}.coffee-one{background:linear-gradient(130deg,#435437 0 49%,#d2c6ae 49%)}.coffee-two{background:linear-gradient(135deg,#d9ab75,#7d4f2e)}.coffee-three{background:linear-gradient(135deg,#c56542,#eecf9e)}.creative-image:after{content:"";position:absolute;width:115px;height:115px;border:13px solid rgba(255,255,255,.19);border-radius:50%;right:-25px;bottom:-30px}.platform-badge{position:absolute;right:10px;top:10px;width:24px;height:24px;border-radius:6px;background:rgba(255,255,255,.92);display:grid;place-items:center;font-size:12px;font-weight:800;z-index:2}.platform-badge.facebook{color:#4168d7}.ad-art{position:absolute;left:25px;top:20px;color:white;text-shadow:0 1px 10px rgba(0,0,0,.12);z-index:1}.ad-art small{display:block;font-size:7px;letter-spacing:2px;margin-bottom:12px}.ad-art b{display:block;font-family:Georgia,serif;font-size:25px;line-height:.93;font-weight:500}.ad-art em{display:inline-block;margin-top:14px;font-style:normal;font-size:6px;font-weight:800;letter-spacing:1px;border:1px solid rgba(255,255,255,.55);padding:5px 7px}.winner,.attention{position:absolute;left:9px;bottom:9px;background:var(--ink);color:var(--lime);font-size:7px;font-weight:800;padding:5px 8px;border-radius:4px;z-index:2}.attention{background:#9a3c2e;color:#fff}.creative-body{padding:13px 14px}.creative-body>small{color:#929b95;font-size:7px}.creative-body>strong{display:block;margin:4px 0 12px;font-size:10px}.creative-body>div{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ecefec;padding-top:10px}.creative-body span{display:flex;flex-direction:column}.creative-body span+span{border-left:1px solid #ecefec;padding-left:11px}.creative-body small{font-size:7px;color:#939d97}.creative-body b{font-size:10px;margin-top:3px}.needs-work{border-color:#ecd7cf}.toast{position:fixed;right:25px;bottom:25px;background:var(--ink);color:white;border-radius:9px;padding:12px 16px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow);transform:translateY(120px);opacity:0;transition:.3s;z-index:50}.toast.show{transform:translateY(0);opacity:1}.toast>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:var(--ink);font-weight:900}.toast div{display:flex;flex-direction:column}.toast strong{font-size:10px}.toast small{font-size:8px;color:#97a49c;margin-top:3px}.modal-backdrop{position:fixed;inset:0;background:rgba(15,24,19,.65);display:grid;place-items:center;padding:20px;z-index:60;backdrop-filter:blur(3px)}.modal-backdrop[hidden]{display:none}.modal{width:min(430px,100%);background:white;border-radius:13px;padding:30px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.2)}.modal-close{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:23px;color:#87918b}.modal-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--ink);color:var(--lime);margin-bottom:12px}.modal>small{font-size:8px;color:#739118;font-weight:800;letter-spacing:1px}.modal h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:8px 0 10px}.modal>p{color:#68736d;line-height:1.6;font-size:11px}.recommendation{background:#f2f7e5;border-left:3px solid var(--lime);padding:12px 14px;margin:17px 0}.recommendation strong{font-size:9px}.recommendation p{font-size:10px;line-height:1.5;margin:4px 0 0}.primary-action{height:38px;border:0;border-radius:7px;background:var(--ink);color:white;font-size:10px;font-weight:800;padding:0 16px}.generic-view{background:white;border:1px solid var(--line);border-radius:10px;padding:45px;text-align:center;margin-top:20px}.generic-view span{font-size:35px}.generic-view h2{font-family:Georgia,serif;font-size:28px;font-weight:500;margin:10px}.generic-view p{color:var(--muted);max-width:480px;margin:0 auto 20px;line-height:1.6}.generic-view button{border:0;background:var(--ink);color:white;border-radius:7px;padding:11px 17px;font-size:10px;font-weight:800}
@media(max-width:1050px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.creative-grid{grid-template-columns:repeat(2,1fr)}.creative-card:last-child{display:none}}
@media(max-width:760px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.25s;box-shadow:20px 0 60px rgba(0,0,0,.25)}.sidebar.open{transform:translateX(0)}.app-shell>main{width:100%}.mobile-menu{display:block}.topbar{padding:0 16px}.account-picker div,.account-picker button,.icon-button{display:none}.content{padding:22px 16px 40px}.page-heading{align-items:flex-start;gap:20px}.period-controls{flex-direction:column}.compare-toggle{display:none}.insight-banner{grid-template-columns:35px 1fr}.insight-banner button{grid-column:2;text-align:left;padding:0}.kpi-grid{grid-template-columns:1fr 1fr}.creative-grid{grid-template-columns:1fr}.creative-card:last-child{display:block}.page-heading h1{font-size:26px}.export-button{padding:0 10px}.export-button span{margin-right:2px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}}

.account-loading{padding:18px 12px;text-align:center;color:#7d8881;font-size:9px;line-height:1.5;background:#f8faf6;border-radius:7px}

.creative-empty{grid-column:1/-1;padding:38px}.meta-creative-image{background:#e9ede8}.meta-creative-image>img{width:100%;height:100%;object-fit:cover;display:block}.real-creative .creative-copy{min-height:31px;margin:10px 0 0;color:#737e77;font-size:8px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.real-creative .winner{color:#d9f478}.real-creative .creative-open{width:100%;margin-top:10px;padding:9px 0 0;border:0;border-top:1px solid #ecefec;background:transparent;text-align:left;font-size:8px;color:#66736b}.real-creative .creative-open b{float:right}
@media(max-width:480px){.kpi-grid{grid-template-columns:1fr}.page-heading{display:block}.period-controls{margin-top:15px}.date-picker{width:100%}.top-actions{margin-left:auto}.export-button{font-size:0}.export-button span{font-size:16px}.content{padding-inline:12px}.chart-tooltip{display:none}.line-chart{padding-right:10px}.creative-section{margin-top:5px}}

/* Product modules */
.module-heading{align-items:center}.module-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:15px}.module-stats article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px 18px;display:flex;flex-direction:column;min-height:105px}.module-stats span,.drawer-label{font-size:7px;letter-spacing:1px;color:#89938d;font-weight:800}.module-stats strong{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:8px 0 2px}.module-stats small{font-size:8px;color:#929b95}.positive-text{color:#668c20!important}.module-toolbar,.creative-toolbar{display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid var(--line)}.search-box{display:flex;align-items:center;gap:7px;border:1px solid #dfe4df;background:#fafbf9;border-radius:7px;height:35px;padding:0 10px;color:#8c9690;min-width:220px}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:9px}.filter-pills{display:flex;gap:5px}.filter-pills button{border:0;background:transparent;border-radius:6px;height:30px;padding:0 10px;font-size:8px;font-weight:700;color:#78827c}.filter-pills button b{background:#e9ede9;padding:2px 5px;border-radius:8px;margin-left:3px}.filter-pills button.active{background:var(--ink);color:#fff}.filter-pills button.active b{background:#35433b}.filter-button{margin-left:auto;border:1px solid var(--line);background:#fff;border-radius:6px;height:32px;padding:0 10px;font-size:9px}.campaign-detail-row{cursor:pointer;transition:.15s}.campaign-detail-row:hover{background:#fafcf6}.trend.down{color:#c35d4d}.detail-drawer{position:fixed;right:0;top:0;bottom:0;width:390px;max-width:90vw;background:white;z-index:70;padding:28px;transform:translateX(105%);transition:.3s;box-shadow:-20px 0 50px rgba(19,30,23,.16);overflow:auto}.detail-drawer.open{transform:none}.drawer-shade{display:none;position:fixed;inset:0;background:rgba(15,24,19,.42);z-index:65}.drawer-shade.open{display:block}.drawer-close{position:absolute;right:18px;top:15px;border:0;background:transparent;font-size:25px;color:#7d8881}.drawer-content h2{font-family:Georgia,serif;font-weight:500;font-size:26px;line-height:1.08;margin:11px 25px 9px 0}.drawer-meta{display:flex;gap:10px;align-items:center;color:#8b958f;font-size:9px}.drawer-kpis{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:24px 0}.drawer-kpis div{background:#f7f9f5;border:1px solid #e8ece6;border-radius:7px;padding:12px}.drawer-kpis small{display:block;font-size:7px;color:#8b958f;letter-spacing:.7px}.drawer-kpis strong{display:block;font-family:Georgia,serif;font-size:19px;font-weight:500;margin-top:5px}.drawer-chart{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0 10px}.drawer-chart>span{font-size:7px;color:#8b958f;font-weight:800;letter-spacing:.7px}.drawer-chart svg{height:100px;width:100%;margin-top:8px}.drawer-chart path{fill:none;stroke:var(--lime-deep);stroke-width:2}.drawer-content h3{font-size:10px;margin:19px 0 8px}.structure-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}.structure-row>span{width:28px;height:28px;border-radius:6px;background:#eff4e2;color:#71901f;display:grid;place-items:center}.structure-row div{display:flex;flex-direction:column}.structure-row strong{font-size:9px}.structure-row small{font-size:8px;color:#8d9791;margin-top:2px}.structure-row>b{color:#849088}.drawer-insight{background:#f2f8df;border-left:3px solid var(--lime);padding:12px;margin-top:20px}.drawer-insight b{font-size:9px}.drawer-insight p{font-size:9px;line-height:1.5;color:#657067;margin:4px 0 0}.creative-toolbar{background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:14px}.creative-toolbar select{border:1px solid var(--line);background:#fff;border-radius:6px;height:34px;padding:0 10px;font-size:9px;margin-left:auto}.view-switch{display:flex;margin-left:auto}.view-switch button{border:1px solid var(--line);background:#fff;width:33px;height:32px}.view-switch button:first-child{border-radius:6px 0 0 6px}.view-switch button:last-child{border-radius:0 6px 6px 0}.view-switch button.active{background:var(--ink);color:var(--lime)}.creative-toolbar .view-switch+select{margin-left:0}.creative-library{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.library-card{cursor:pointer;transition:.2s}.library-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.creative-open{border:0;border-top:1px solid var(--line);background:#fff;width:100%;padding:11px 0 0;margin-top:10px;text-align:left;font-size:8px;font-weight:800;color:#5e6e64}.creative-open b{float:right;font-size:13px}.coffee-four{background:linear-gradient(145deg,#4d3328,#b08b69)}.coffee-five{background:linear-gradient(145deg,#c2b28b,#6a7854)}.coffee-six{background:linear-gradient(145deg,#272c28,#68796b)}.report-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:start}.builder-body{padding:20px}.builder-body label{display:flex;flex-direction:column;font-size:8px;font-weight:800;color:#707b74;letter-spacing:.4px;gap:6px;margin-bottom:16px}.builder-body input,.builder-body select,.builder-body textarea{border:1px solid #dfe4df;background:#fafbf9;border-radius:7px;padding:10px 11px;outline:0;font-size:10px;color:var(--ink);letter-spacing:0}.builder-body textarea{min-height:80px;resize:vertical;line-height:1.5}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-label{font-size:8px;font-weight:800;color:#707b74;letter-spacing:.7px;margin:4px 0 8px}.section-toggles{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.section-toggles button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:7px 9px;font-size:8px}.section-toggles button.selected{background:#eff6da;border-color:#d5e5a9;color:#5d761e}.step-badge{background:#eff6da;color:#688421;border-radius:12px;padding:4px 8px;font-size:8px;font-weight:800}.paper-preview{background:#fefefe;aspect-ratio:.71;box-shadow:0 15px 45px rgba(20,30,24,.13);padding:32px;position:relative;overflow:hidden}.paper-preview:before{content:"";position:absolute;right:-70px;top:-65px;width:180px;height:180px;border-radius:50%;background:#edf5d6}.preview-brand{display:flex;align-items:center;gap:6px;margin-bottom:55px;position:relative}.preview-brand .brand-mark{width:18px;height:18px}.preview-brand .brand-mark i{width:4px}.preview-brand .brand-mark i:nth-child(1){height:8px}.preview-brand .brand-mark i:nth-child(2){height:13px}.preview-brand .brand-mark i:nth-child(3){height:18px}.preview-brand b{font-size:9px}.paper-preview>small{font-size:6px;letter-spacing:1.3px;color:#80905a}.paper-preview h2{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:8px 0 3px}.paper-preview>p{font-size:8px;color:#838d87}.preview-kpis{display:grid;grid-template-columns:1fr 1fr;margin-top:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.preview-kpis span{display:flex;flex-direction:column}.preview-kpis span+span{border-left:1px solid var(--line);padding-left:15px}.preview-kpis small{font-size:6px;color:#919b95}.preview-kpis b{font-family:Georgia,serif;font-size:19px;margin-top:4px}.preview-chart{height:85px;display:flex;align-items:flex-end;gap:7px;margin-top:24px}.preview-chart i{flex:1;background:#dbe8b7}.preview-chart i:nth-child(1){height:30%}.preview-chart i:nth-child(2){height:45%}.preview-chart i:nth-child(3){height:40%}.preview-chart i:nth-child(4){height:68%}.preview-chart i:nth-child(5){height:57%}.preview-chart i:nth-child(6){height:82%;background:var(--lime)}.preview-chart i:nth-child(7){height:71%}.preview-chart i:nth-child(8){height:94%;background:var(--lime)}.paper-preview footer{position:absolute;left:32px;right:32px;bottom:25px;border-top:1px solid var(--line);padding-top:9px;font-size:6px;color:#929c96}.connection-hero{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:18px;background:linear-gradient(110deg,#f0f2ff,#f9faff);border:1px solid #dfe3f6;border-radius:11px;padding:25px;margin-bottom:15px}.meta-logo-large{width:54px;height:54px;border-radius:12px;background:#566cf1;color:white;display:grid;place-items:center;font-size:36px;font-weight:700}.connection-hero small,.connect-dialog small{font-size:7px;letter-spacing:1px;color:#6375d3;font-weight:800}.connection-hero h2{margin:4px 0;font-size:16px}.connection-hero p{font-size:10px;color:#717c76;margin:0 0 9px}.permission-list{display:flex;gap:12px;color:#68736d;font-size:8px}.permission-list span:First-letter{color:#637e21}.meta-connect{height:40px;border:0;background:#5268e7;color:white;border-radius:7px;padding:0 16px;font-size:9px;font-weight:800}.meta-connect span{font-size:17px;vertical-align:-2px;margin-right:6px}.integration-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:14px}.integration-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px}.integration-head{display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding-bottom:14px}.meta-mini{width:37px;height:37px;border-radius:8px;background:#edf0ff;color:#5269e8;display:grid;place-items:center;font-size:25px;font-style:normal}.integration-head span{display:flex;flex-direction:column}.integration-head strong{font-size:10px}.integration-head small{font-size:8px;color:#909993;margin-top:3px}.integration-head>b{font-size:6px;background:#eff6da;color:#668420;border-radius:9px;padding:4px 7px}.integration-card dl{margin:12px 0}.integration-card dl>div{display:flex;justify-content:space-between;padding:7px 0}.integration-card dt{font-size:8px;color:#8c9690}.integration-card dd{font-size:8px;font-weight:700;margin:0}.integration-actions{display:flex;gap:6px}.integration-actions button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:7px 9px;font-size:8px;font-weight:700}.coming{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:218px}.coming>i{width:42px;height:42px;border-radius:10px;background:#f0f2ef;display:grid;place-items:center;font-style:normal;font-weight:800}.coming h3{font-size:11px;margin:12px 0 4px}.coming p{font-size:8px;line-height:1.45;color:#8b9590;max-width:170px}.coming>span{font-size:6px;letter-spacing:1px;color:#929c96;background:#f2f4f1;padding:4px 6px;border-radius:8px}.security-note{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:11px;background:#f1f6e3;border-radius:8px;padding:13px 16px;margin-top:14px}.security-note>span{width:29px;height:29px;border-radius:50%;background:#dceab8;display:grid;place-items:center}.security-note strong{font-size:9px}.security-note p{font-size:8px;color:#748077;margin:3px 0}.security-note a{font-size:8px;color:#5e781a;text-decoration:none;font-weight:800}.connect-dialog{position:fixed;inset:0;background:rgba(14,23,18,.62);z-index:80;display:grid;place-items:center;padding:20px}.connect-dialog[hidden]{display:none}.connect-dialog>div{position:relative;background:white;width:min(430px,100%);border-radius:13px;padding:28px}.connect-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:23px;color:#828c86}.connect-dialog .meta-logo-large{margin-bottom:13px}.connect-dialog h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:7px 0}.connect-dialog>div>p{font-size:10px;line-height:1.55;color:#6f7973}.connect-dialog ol{list-style:none;padding:0;margin:18px 0}.connect-dialog li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.connect-dialog li>b{width:25px;height:25px;border-radius:50%;background:#edf0ff;color:#5369e5;display:grid;place-items:center;font-size:9px}.connect-dialog li span{display:flex;flex-direction:column;font-size:9px;font-weight:700}.connect-dialog li small{color:#8a948e;font-size:7px;letter-spacing:0;font-weight:400;margin-top:3px}.connect-dialog .primary-action{width:100%}
@media(max-width:1050px){.module-stats{grid-template-columns:repeat(2,1fr)}.creative-library{grid-template-columns:repeat(2,1fr)}.integration-grid{grid-template-columns:1fr 1fr}.integration-card.connected{grid-column:1/-1}.report-layout{grid-template-columns:1fr}.report-preview{max-width:430px;margin:auto;width:100%}}
@media(max-width:760px){.module-stats{grid-template-columns:1fr 1fr}.module-toolbar,.creative-toolbar{flex-wrap:wrap}.search-box{width:100%}.filter-pills{overflow:auto;width:100%}.filter-button{display:none}.creative-library{grid-template-columns:1fr}.connection-hero{grid-template-columns:50px 1fr;padding:18px}.connection-hero .meta-logo-large{width:48px;height:48px}.connection-hero .meta-connect{grid-column:1/-1}.integration-grid{grid-template-columns:1fr}.integration-card.connected{grid-column:auto}.permission-list{flex-wrap:wrap}.security-note{grid-template-columns:30px 1fr}.security-note a{grid-column:2}.report-layout{display:block}.report-preview{margin-top:15px}.form-row{grid-template-columns:1fr}.creative-toolbar select{margin-left:0}.view-switch{margin-left:0}}
@media(max-width:480px){.module-stats{grid-template-columns:1fr}.module-heading .export-button{font-size:9px;margin-top:13px}.module-heading .export-button span{font-size:inherit}.detail-drawer{padding:24px 18px}.creative-toolbar select{width:calc(100% - 76px)}.paper-preview{padding:25px}.report-preview{padding:5px}.connection-hero{display:block}.connection-hero .meta-logo-large{margin-bottom:12px}.permission-list{margin-bottom:13px}.meta-connect{width:100%}}

/* Audience */
.audience-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.audience-summary article{min-height:115px;background:white;border:1px solid var(--line);border-radius:9px;padding:18px;position:relative;overflow:hidden}.audience-summary small{font-size:7px;letter-spacing:.9px;color:#87918b;font-weight:800}.audience-summary strong{display:block;font-family:Georgia,serif;font-size:20px;font-weight:500;margin:9px 0 4px}.audience-summary p{font-size:8px;color:#89938d;margin:0}.segment-ring{position:absolute;right:15px;top:23px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#fff 54%,transparent 56%),conic-gradient(var(--lime) 0 34%,#edf0ea 34%);font-size:11px;font-weight:800}.placement-mark,.location-mark{position:absolute;right:18px;top:28px;width:48px;height:48px;border-radius:11px;background:#eeeaff;color:var(--violet);display:grid;place-items:center;font-size:25px}.location-mark{background:#eef5d9;color:#6e8e1c}.audience-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:14px;margin-bottom:14px}.age-chart{padding:14px 20px 18px}.age-head,.age-row{display:grid;grid-template-columns:62px 1fr 50px;gap:12px;align-items:center}.age-head{font-size:7px;color:#8a948e;letter-spacing:.8px;margin-bottom:11px}.age-row{height:34px}.age-row>b{font-size:9px}.age-row>div{height:18px;display:flex;flex-direction:column;justify-content:center;gap:2px}.age-row i{height:5px;border-radius:0 4px 4px 0}.age-row .male{background:var(--violet)}.age-row .female{background:var(--lime)}.age-row strong{text-align:right;font-size:9px}.device-donut{width:135px;height:135px;border-radius:50%;background:conic-gradient(var(--lime) 0 84%,var(--violet) 84% 97%,#d9ded9 97%);display:grid;place-items:center;margin:20px auto;position:relative}.device-donut:before{content:"";position:absolute;width:88px;height:88px;border-radius:50%;background:white}.device-donut div{position:relative;display:flex;flex-direction:column;text-align:center}.device-donut strong{font-family:Georgia,serif;font-size:22px}.device-donut small{font-size:6px;color:#8d9791}.device-list{padding:0 20px 18px}.device-list div{display:grid;grid-template-columns:8px 1fr auto;gap:7px;align-items:center;font-size:8px;margin:8px 0}.device-list i{width:7px;height:7px;border-radius:50%;background:var(--lime)}.device-list div:nth-child(2) i{background:var(--violet)}.device-list div:nth-child(3) i{background:#d9ded9}.placement-table{margin-bottom:20px}.placement-icon{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;font-style:normal;font-weight:800}.placement-icon.ig{background:#f3eaff;color:#9654c6}.placement-icon.fb{background:#e9edff;color:#4769dc}.placement-icon.an{background:#eef1ed;color:#6b786f}.recommend-tag{display:inline-block;border-radius:9px;padding:4px 7px;font-size:7px;font-weight:800}.recommend-tag.scale{background:#eef6d9;color:#607d17}.recommend-tag.stable{background:#f0f2ef;color:#758078}.recommend-tag.reduce{background:#fff0eb;color:#b45846}.roas.low{background:#fff0eb;color:#b45846}

/* Alerts */
.alert-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.alert-summary article{display:flex;align-items:center;gap:13px;background:white;border:1px solid var(--line);border-radius:9px;padding:15px}.alert-symbol{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:16px;font-weight:900}.alert-symbol.critical{background:#ffebe7;color:#c9503b}.alert-symbol.warning{background:#fff4dd;color:#bd7d1d}.alert-symbol.healthy{background:#eef6d9;color:#65831c}.alert-summary div{display:flex;flex-direction:column}.alert-summary small{font-size:7px;letter-spacing:.8px;color:#8b958f}.alert-summary strong{font-size:11px;margin:4px 0}.alert-summary p{font-size:8px;color:#909993;margin:0}.alerts-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.5fr);gap:14px;align-items:start}.alert-feed{display:flex;flex-direction:column;gap:10px}.feed-tabs{display:flex;background:white;border:1px solid var(--line);border-radius:8px;padding:5px}.feed-tabs button{border:0;background:transparent;border-radius:5px;padding:7px 11px;font-size:8px;font-weight:700;color:#7d8781}.feed-tabs button.active{background:var(--ink);color:#fff}.feed-tabs b{padding:2px 5px;background:#edf0ec;color:#758078;border-radius:8px;margin-left:3px}.feed-tabs .active b{background:#34423a;color:#c9d2cc}.alert-item{display:grid;grid-template-columns:31px 1fr;gap:11px;background:white;border:1px solid var(--line);border-left:3px solid #e7b24d;border-radius:9px;padding:16px;transition:.25s}.alert-item.critical{border-left-color:var(--coral)}.alert-item>span{width:30px;height:30px;border-radius:7px;background:#fff3dc;color:#b97815;display:grid;place-items:center;font-weight:900}.alert-item.critical>span{background:#ffebe7;color:#c64e39}.alert-main>div:first-child{display:flex;justify-content:space-between}.alert-main>div:first-child b{font-size:10px}.alert-main>div:first-child small{font-size:7px;color:#98a09b}.alert-main h3{font-family:Georgia,serif;font-size:16px;font-weight:500;margin:9px 0 4px}.alert-main p{font-size:9px;color:#78827c;line-height:1.45;margin:0}.alert-main p strong{color:#b24f3e}.alert-metrics{display:flex;gap:23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;margin:12px 0}.alert-metrics span{display:flex;flex-direction:column}.alert-metrics small{font-size:6px;color:#929b95}.alert-metrics b{font-size:10px;margin-top:3px}.negative-text{color:#bb5846}.alert-actions{display:flex;gap:7px;margin-top:11px}.alert-actions button{border:1px solid var(--line);background:white;border-radius:6px;padding:7px 9px;font-size:8px;font-weight:700}.alert-actions button:last-child{background:var(--ink);color:#fff;border-color:var(--ink)}.alert-item.resolved{opacity:.48;transform:scale(.985)}.rule-list>div{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:8px;padding:13px 15px;border-bottom:1px solid var(--line)}.rule-list>div:last-child{border-bottom:0}.rule-toggle{width:24px;height:13px;background:#d9ded9;border-radius:8px;position:relative;cursor:pointer}.rule-toggle:after{content:"";position:absolute;width:9px;height:9px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.2s}.rule-toggle.on{background:var(--lime)}.rule-toggle.on:after{left:13px}.rule-list span{display:flex;flex-direction:column}.rule-list strong{font-size:8px}.rule-list small{font-size:7px;color:#919a94;margin-top:3px}.rule-list>b{font-size:7px;color:#8d9690}.alert-dialog{position:fixed;inset:0;background:rgba(14,23,18,.62);z-index:80;display:grid;place-items:center;padding:20px}.alert-dialog[hidden]{display:none}.alert-dialog form{position:relative;background:white;width:min(500px,100%);border-radius:12px;padding:27px}.alert-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:23px}.alert-dialog h2{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:8px 0}.alert-dialog form>p{font-size:9px;color:#818b85;margin-bottom:18px}.alert-dialog label{display:flex;flex-direction:column;gap:6px;font-size:8px;font-weight:800;color:#727d76;margin-bottom:14px}.alert-dialog input,.alert-dialog select{border:1px solid var(--line);background:#fafbf9;border-radius:6px;padding:10px;font-size:9px}.alert-dialog .notify-check{display:flex;flex-direction:row;align-items:center;font-weight:500}.alert-dialog .notify-check input{margin:0}.alert-dialog .primary-action{width:100%}

/* Integration checklist */
.setup-panel{margin-top:14px}.setup-progress{background:#eff4e4;color:#66831f;border-radius:10px;padding:5px 8px;font-size:7px;font-weight:800}.setup-steps{display:grid;grid-template-columns:repeat(5,1fr)}.setup-steps>div{padding:15px;border-right:1px solid var(--line);min-height:135px;display:flex;flex-direction:column;align-items:flex-start}.setup-steps>div:last-child{border-right:0}.setup-steps>div>b{width:24px;height:24px;border-radius:50%;background:#eff1ee;color:#808a84;display:grid;place-items:center;font-size:8px;margin-bottom:9px}.setup-steps>div.done>b{background:#eaf5cf;color:#63821a}.setup-steps span{display:flex;flex-direction:column}.setup-steps strong{font-size:8px}.setup-steps small{font-size:7px;color:#8c9690;line-height:1.4;margin-top:4px}.setup-steps em{font-style:normal;font-size:6px;color:#7c9170;background:#eff4e6;border-radius:7px;padding:3px 6px;margin-top:auto}.setup-steps button{border:0;background:transparent;color:#557314;padding:0;font-size:7px;font-weight:800;margin-top:auto;text-align:left}
@media(max-width:1050px){.setup-steps{grid-template-columns:repeat(3,1fr)}.setup-steps>div{border-bottom:1px solid var(--line)}.audience-grid{grid-template-columns:1fr}.alerts-layout{grid-template-columns:1fr}.rules-panel{order:-1}}
@media(max-width:760px){.audience-summary,.alert-summary{grid-template-columns:1fr}.setup-steps{grid-template-columns:1fr}.setup-steps>div{min-height:auto;border-right:0}.audience-grid{grid-template-columns:1fr}.alert-main>div:first-child{gap:8px}.alert-main>div:first-child small{text-align:right}.age-chart{padding-inline:12px}.age-head,.age-row{grid-template-columns:50px 1fr 42px}.alerts-layout{display:block}.rules-panel{margin-bottom:12px}}

/* Agency portfolio */
.portfolio-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:14px}.portfolio-summary article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px}.portfolio-summary small{font-size:7px;letter-spacing:.8px;color:#89938d;font-weight:800}.portfolio-summary strong{display:block;font-family:Georgia,serif;font-weight:500;font-size:22px;margin:8px 0 3px}.portfolio-summary p{margin:0;color:#8c9690;font-size:8px}.client-toolbar{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:9px;padding:10px 12px;margin-bottom:14px}.client-toolbar select{border:1px solid var(--line);background:#fff;height:34px;border-radius:6px;padding:0 9px;font-size:8px;margin-left:auto}.client-view-toggle{display:flex}.client-view-toggle button{border:1px solid var(--line);background:#fff;padding:0 9px;height:32px;font-size:8px}.client-view-toggle button:first-child{border-radius:6px 0 0 6px}.client-view-toggle button:last-child{border-radius:0 6px 6px 0}.client-view-toggle button.active{background:var(--ink);color:#fff}.client-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.client-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px;transition:.2s}.client-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.client-card-head{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px}.client-card-head>span{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;font-size:11px;font-weight:900}.client-card-head h2{font-size:12px;margin:0 0 4px}.client-card-head p{font-size:8px;color:#8c9690;margin:0}.client-card-head>button{border:0;background:transparent;color:#89938d}.client-status{display:flex;align-items:center;gap:5px;margin:15px 0 12px;padding:7px 9px;border-radius:5px;background:#f2f7e5;color:#64801e;font-size:7px;font-weight:800}.client-status i{width:6px;height:6px;border-radius:50%;background:var(--lime)}.client-status span{margin-left:auto;color:#8b958f;font-weight:500}.client-status.pending{background:#fff5e4;color:#a46e1c}.client-status.pending i{background:#e5a83f}.client-kpis{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0}.client-kpis>div{display:flex;flex-direction:column}.client-kpis>div+div{border-left:1px solid var(--line);padding-left:13px}.client-kpis small{font-size:6px;color:#8f9993}.client-kpis strong{font-family:Georgia,serif;font-size:16px;font-weight:500;margin-top:4px}.client-kpis .has-alerts{color:#c65b47}.client-footer{display:flex;justify-content:space-between;align-items:center;padding-top:13px}.client-footer>span{font-size:7px;color:#87918b}.client-footer>span i{display:inline-block;width:17px;height:17px;margin-right:-6px;border:2px solid #fff;border-radius:50%;background:#dfe6d8;vertical-align:middle}.client-footer>span i:nth-child(2){background:#eadcd4}.client-footer>span i:nth-child(3){background:#d9e2ef;margin-right:4px}.client-footer button{border:0;background:transparent;color:#5f7720;font-size:8px;font-weight:800}.onboarding-dialog,.account-switcher-dialog{position:fixed;inset:0;background:rgba(14,23,18,.62);z-index:90;display:grid;place-items:center;padding:20px}.onboarding-dialog[hidden]{display:none}.onboarding-dialog>div,.account-switcher-dialog>div{position:relative;background:#fff;width:min(500px,100%);border-radius:13px;padding:28px}.onboarding-close,.switcher-close{position:absolute;right:14px;top:11px;border:0;background:transparent;font-size:23px;color:#818b85}.onboarding-progress{display:flex;gap:5px;margin-bottom:15px}.onboarding-progress i{height:3px;flex:1;background:#e6e9e6}.onboarding-progress i.active{background:var(--lime)}.onboarding-dialog small{font-size:7px;letter-spacing:.8px;color:#789026;font-weight:800}.onboarding-dialog h2,.account-switcher-dialog h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:7px 0}.onboarding-dialog>div>p{font-size:9px;color:#818b85;margin-bottom:18px}.onboarding-dialog label{display:flex;flex-direction:column;gap:6px;font-size:8px;font-weight:800;color:#737d77;margin-bottom:14px}.onboarding-dialog input,.onboarding-dialog select{border:1px solid var(--line);background:#fafbf9;border-radius:6px;padding:10px;font-size:9px}.onboarding-dialog .primary-action{width:100%}.account-switcher-dialog>div{width:min(420px,100%)}.account-switcher-dialog>div>small{font-size:7px;color:#7f8b84;letter-spacing:1px;font-weight:800}.switcher-search{width:100%;margin:14px 0}.switcher-list{display:flex;flex-direction:column;gap:5px}.switcher-list>button{display:grid;grid-template-columns:36px 1fr 8px;gap:9px;align-items:center;border:1px solid transparent;background:#f8faf6;border-radius:7px;padding:8px;text-align:left}.switcher-list>button:hover{border-color:#dbe6bc;background:#f3f8e5}.switcher-list>button>span{width:35px;height:35px;border-radius:7px;display:grid;place-items:center;font-size:9px;font-weight:800}.switcher-list>button>div{display:flex;flex-direction:column}.switcher-list strong{font-size:9px}.switcher-list small{font-size:7px;color:#8a948e;margin-top:3px}.switcher-list>button>i{width:7px;height:7px;border-radius:50%;background:#d9a148}.switcher-list>button>i.online{background:var(--lime)}.manage-clients{width:100%;border:0;background:var(--ink);color:#fff;border-radius:7px;padding:10px;margin-top:14px;font-size:8px;font-weight:800}

/* White-label */
.branding-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(380px,1.15fr);gap:16px;align-items:start}.brand-form-body{padding:20px}.brand-form-body>label{display:flex;flex-direction:column;gap:7px;font-size:8px;font-weight:800;color:#717c75;margin-bottom:16px}.brand-form-body input{border:1px solid var(--line);background:#fafbf9;border-radius:6px;padding:10px;font-size:9px}.logo-drop{border:1px dashed #cfd6d0;background:#fafbf9;border-radius:8px;padding:13px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.preview-logo{display:flex;align-items:center;gap:7px;color:var(--ink)}.preview-logo .brand-mark{width:22px;height:22px}.preview-logo .brand-mark i{width:5px}.preview-logo .brand-mark i:nth-child(1){height:10px}.preview-logo .brand-mark i:nth-child(2){height:16px}.preview-logo .brand-mark i:nth-child(3){height:22px}.preview-logo b{font-size:9px}.logo-drop button{border:1px solid var(--line);background:#fff;border-radius:5px;padding:7px 9px;font-size:7px}.logo-drop small{grid-column:2;color:#909993;font-size:6px;font-weight:400}.color-control{display:flex;align-items:center;gap:8px}.color-control>input{width:38px;height:35px;padding:3px}.color-control code{font-family:inherit;border:1px solid var(--line);border-radius:5px;padding:9px;font-size:8px}.color-swatches{display:flex;gap:5px}.color-swatches button{width:22px;height:22px;border-radius:50%;background:var(--swatch);border:2px solid #fff;box-shadow:0 0 0 1px #d8ded9}.brand-form-body .portal-option{flex-direction:row;align-items:center;background:#f4f7ed;padding:11px;border-radius:7px}.portal-option>input{width:auto}.portal-option>span{display:flex;flex-direction:column}.portal-option strong{font-size:8px}.portal-option small{font-size:7px;font-weight:400;color:#89938d;margin-top:3px}.portal-preview-panel{min-width:0}.preview-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.preview-label>span{font-size:7px;letter-spacing:1px;color:#88938c;font-weight:800}.preview-label button{border:0;background:transparent;padding:5px 8px;font-size:7px}.preview-label button.active{background:#e9eee5;border-radius:4px}.portal-browser{border:1px solid #d8ded8;border-radius:10px;overflow:hidden;background:#f0f3ef;box-shadow:var(--shadow)}.browser-top{height:29px;background:#e7ebe7;display:flex;align-items:center;gap:4px;padding:0 9px}.browser-top>i{width:6px;height:6px;border-radius:50%;background:#c2c9c3}.browser-top>i:first-child{background:#e6a28f}.browser-top>span{background:#f4f6f3;color:#929b95;border-radius:4px;padding:4px 12px;font-size:6px;margin-left:10px}.portal-demo{--preview-accent:#b9e43b;background:white;margin:13px;border-radius:5px;min-height:410px;overflow:hidden}.portal-demo header{height:50px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:7px;color:#8c9690}.portal-logo{display:flex;align-items:center;gap:5px;color:var(--ink)}.portal-logo .brand-mark{width:17px;height:17px}.portal-logo .brand-mark i{width:4px;background:var(--preview-accent)}.portal-logo .brand-mark i:nth-child(1){height:8px}.portal-logo .brand-mark i:nth-child(2){height:12px}.portal-logo .brand-mark i:nth-child(3){height:17px}.portal-logo b{font-size:8px}.portal-demo main{padding:30px 35px!important}.portal-demo main>small{font-size:6px;color:#77921f;letter-spacing:1px}.portal-demo main h2{font-family:Georgia,serif;font-size:27px;font-weight:500;margin:8px 0 4px}.portal-demo main>p{font-size:8px;color:#8a948e}.demo-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:25px}.demo-kpis>div{border:1px solid var(--line);border-top:2px solid var(--preview-accent);border-radius:6px;padding:12px}.demo-kpis small{display:block;font-size:6px;color:#8b958f}.demo-kpis b{display:block;font-family:Georgia,serif;font-size:17px;margin:4px 0}.demo-kpis em{font-size:7px;color:#68871b;font-style:normal}.demo-chart{height:90px;margin-top:18px;background:linear-gradient(180deg,#fff,#f7faef);border-bottom:1px solid var(--line)}.demo-chart svg{width:100%;height:100%}.demo-chart path{fill:none;stroke:var(--preview-accent);stroke-width:2}.portal-demo footer{font-size:6px;text-align:center;color:#9aa29d;padding:10px}.portal-access{margin-top:15px}.portal-settings{display:grid;grid-template-columns:repeat(3,1fr)}.portal-settings>label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px;border-right:1px solid var(--line)}.portal-settings>label:last-child{border-right:0}.portal-settings span{display:flex;flex-direction:column}.portal-settings strong{font-size:8px}.portal-settings small{font-size:7px;color:#8b958f;margin-top:3px}.portal-settings button{border:1px solid var(--line);background:#fff;border-radius:5px;padding:7px;font-size:7px}
@media(max-width:1050px){.portfolio-summary{grid-template-columns:repeat(2,1fr)}.branding-layout{grid-template-columns:1fr}.portal-preview-panel{max-width:700px;width:100%;margin:auto}.portal-settings{grid-template-columns:1fr}.portal-settings>label{border-right:0;border-bottom:1px solid var(--line)}}
@media(max-width:760px){.client-grid{grid-template-columns:1fr}.client-toolbar{flex-wrap:wrap}.client-toolbar .search-box{width:100%}.client-toolbar select{margin-left:0;flex:1}.branding-layout{display:block}.portal-preview-panel{margin-top:15px}.portfolio-summary{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.portfolio-summary{grid-template-columns:1fr}.client-card{padding:14px}.branding-form{margin-bottom:14px}.portal-demo main{padding:22px!important}.logo-drop{grid-template-columns:1fr}.logo-drop small{grid-column:1}.color-control{flex-wrap:wrap}}
.sidebar nav{overflow-y:auto;min-height:0;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}

/* Team and access */
.team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.team-summary article{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px}.team-summary article>span{width:38px;height:38px;border-radius:9px;background:#eff5dd;color:#6a861e;display:grid;place-items:center;font-size:16px}.team-summary article:nth-child(2)>span{background:#eeeaff;color:var(--violet)}.team-summary article:nth-child(3)>span{background:#eef1ed;color:#69776e}.team-summary div{display:flex;flex-direction:column}.team-summary small{font-size:7px;color:#89938d;letter-spacing:.8px}.team-summary strong{font-size:11px;margin:4px 0}.team-summary p{font-size:8px;color:#929b95;margin:0}.team-table{margin-bottom:14px}.member-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:8px;font-weight:800}.role-select{border:1px solid var(--line);background:#fafbf9;border-radius:5px;padding:6px 8px;font-size:8px}.member-menu{border:0;background:transparent}.role-grid{display:grid;grid-template-columns:repeat(4,1fr)}.role-grid article{padding:16px;border-right:1px solid var(--line)}.role-grid article:last-child{border-right:0}.role-grid i{width:27px;height:27px;border-radius:6px;background:#eff5dd;color:#69851f;display:grid;place-items:center;font-style:normal;margin-bottom:10px}.role-grid strong{font-size:9px}.role-grid p{font-size:8px;line-height:1.5;color:#87918b;margin:5px 0}.invite-dialog,.schedule-dialog{position:fixed;inset:0;background:rgba(14,23,18,.62);z-index:90;display:grid;place-items:center;padding:20px}.invite-dialog[hidden],.schedule-dialog[hidden]{display:none}.invite-dialog form,.schedule-dialog form{position:relative;background:#fff;width:min(480px,100%);border-radius:13px;padding:27px}.invite-close,.schedule-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:23px}.invite-dialog h2,.schedule-dialog h2{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:8px 0}.invite-dialog form>p,.schedule-dialog form>p{font-size:9px;color:#87918b}.invite-dialog label,.schedule-dialog label{display:flex;flex-direction:column;gap:6px;font-size:8px;font-weight:800;color:#727d76;margin:14px 0}.invite-dialog input,.invite-dialog select,.schedule-dialog input,.schedule-dialog select{border:1px solid var(--line);background:#fafbf9;border-radius:6px;padding:10px;font-size:9px}.invite-dialog .primary-action,.schedule-dialog .primary-action{width:100%}.schedule-dialog .notify-check{flex-direction:row;align-items:center;font-weight:500}.schedule-dialog .notify-check input{margin:0}

/* Reporting operations */
.report-operations{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:14px;margin-top:16px}.report-list>div{display:grid;grid-template-columns:38px 1fr auto 28px;gap:10px;align-items:center;padding:12px 15px;border-bottom:1px solid var(--line)}.report-list>div:last-child{border-bottom:0}.pdf-icon{width:35px;height:35px;border-radius:6px;background:#fff0eb;color:#b85341;display:grid;place-items:center;font-size:7px;font-weight:900}.report-list>div>div{display:flex;flex-direction:column}.report-list strong{font-size:9px}.report-list small{font-size:7px;color:#8d9791;margin-top:3px}.delivery{border-radius:9px;padding:4px 7px;font-size:7px;font-weight:800}.delivery.sent{background:#eef6d9;color:#607c19}.delivery.draft{background:#fff4df;color:#aa731e}.report-list>div>button{border:0;background:transparent}.schedule-list>div{display:grid;grid-template-columns:33px 1fr auto;gap:9px;align-items:center;padding:12px 15px;border-bottom:1px solid var(--line)}.schedule-list i{width:31px;height:31px;border-radius:7px;background:#eff5dd;color:#68831d;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:9px}.schedule-list span{display:flex;flex-direction:column}.schedule-list strong{font-size:8px}.schedule-list small{font-size:7px;color:#8c9690;margin-top:3px}.schedule-list b{font-size:6px;color:#63801b;background:#eef6d9;padding:4px 6px;border-radius:8px}.schedule-new{margin:12px 15px;width:calc(100% - 30px);border:1px dashed #cfd6d0;background:#fafbf9;border-radius:6px;padding:9px;font-size:8px;font-weight:800;color:#5f7525}
@media(max-width:1050px){.report-operations{grid-template-columns:1fr}.team-summary{grid-template-columns:1fr}.role-grid{grid-template-columns:repeat(2,1fr)}.role-grid article{border-bottom:1px solid var(--line)}}
@media(max-width:760px){.role-grid{grid-template-columns:1fr}.role-grid article{border-right:0}.report-list>div{grid-template-columns:35px 1fr 28px}.report-list .delivery{display:none}}

/* Live Meta breakdowns and final MVP states */
.audience-breakdown{padding:14px 18px}.live-breakdown-row{display:grid;grid-template-columns:minmax(125px,1.1fr) minmax(120px,1fr) auto;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.live-breakdown-row:last-child{border-bottom:0}.live-breakdown-row>span{display:flex;flex-direction:column}.live-breakdown-row strong{font-size:9px}.live-breakdown-row small{font-size:7px;color:#89938d;margin-top:3px}.live-breakdown-row>i{height:7px;background:#eef1ed;border-radius:8px;overflow:hidden}.live-breakdown-row>i>b{display:block;height:100%;background:linear-gradient(90deg,#1018ff,#7278ff);border-radius:8px}.live-breakdown-row>em{font-size:8px;font-style:normal;font-weight:800}.live-breakdown-row.compact{grid-template-columns:1fr auto}.healthy-state{background:#fff;border:1px solid var(--line);border-radius:9px;padding:28px;display:flex;align-items:center;gap:16px}.healthy-state>span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eef6d9;color:#62801a;font-size:20px}.healthy-state strong{font-size:12px}.healthy-state p{font-size:9px;color:#7e8982;margin:5px 0 0}.meta-creative-image img{width:100%;height:100%;object-fit:cover;display:block}.setup-steps>div.done em{white-space:nowrap}
@media(max-width:760px){.live-breakdown-row{grid-template-columns:1fr auto}.live-breakdown-row>i{grid-column:1/-1}.healthy-state{align-items:flex-start}}

.return-visual{padding:22px 24px}.return-visual>div{display:grid;grid-template-columns:70px 1fr 90px;align-items:center;gap:12px;margin:16px 0}.return-visual span{font-size:7px;letter-spacing:1px;color:#7f8983;font-weight:900}.return-visual i{height:12px;background:#edf0ed;border-radius:12px;overflow:hidden}.return-visual i b{display:block;height:100%;background:linear-gradient(90deg,#1018ff,#747aff);border-radius:12px}.return-visual>div:nth-child(2) i b{background:var(--lime)}.return-visual strong{text-align:right;font-family:Georgia,serif;font-size:15px}.return-visual p{font-size:9px;color:#727d76;margin:22px 0 0;padding-top:14px;border-top:1px solid var(--line)}

/* Generated client report */
.report-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#7f8983}.report-empty>span{width:38px;height:38px;border-radius:9px;background:#eff5dd;color:#66831c;display:grid;place-items:center;font-size:17px}.report-empty strong{font-size:10px;color:var(--ink);margin-top:11px}.report-empty p{max-width:360px;font-size:8px;line-height:1.5;margin:5px 0}.report-empty.compact{min-height:132px}.generated-report-overlay{position:fixed;inset:0;z-index:120;background:#eef1ed;overflow:auto;padding:72px 24px 40px}.generated-report-overlay[hidden]{display:none}.report-open{overflow:hidden}.report-modal-toolbar{position:fixed;z-index:122;left:0;right:0;top:0;height:56px;background:#18261e;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 8px 24px rgba(11,21,15,.18)}.report-modal-toolbar button{border:0;border-radius:7px;padding:9px 13px;font-size:9px;font-weight:800}.report-modal-toolbar>button:first-child{background:transparent;color:#fff}.generated-report-sheet{width:min(980px,100%);margin:auto;background:#fff;box-shadow:0 22px 60px rgba(14,29,19,.14);padding:48px;color:#17231c}.generated-report-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid #e3e8e3;font-size:8px;color:#7c8780}.generated-report-header img{width:205px;height:auto}.report-cover{padding:68px 0 42px;background:radial-gradient(circle at 90% 25%,#eef1ff 0 90px,transparent 91px)}.report-cover small,.report-comment small{font-size:7px;font-weight:900;letter-spacing:1.4px;color:#1018ff}.report-cover h1{font-family:Georgia,serif;font-size:52px;font-weight:500;margin:10px 0}.report-cover p{font-size:11px;color:#76817a}.generated-kpis{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e1e6e1;border-radius:10px;overflow:hidden}.generated-kpis article{padding:20px;border-right:1px solid #e1e6e1;border-bottom:1px solid #e1e6e1}.generated-kpis article:nth-child(3n){border-right:0}.generated-kpis article:nth-child(n+4){border-bottom:0}.generated-kpis small{display:block;font-size:7px;letter-spacing:1px;color:#89938d}.generated-kpis strong{display:block;font-family:Georgia,serif;font-size:23px;font-weight:500;margin-top:7px}.report-comment{margin:28px 0;padding:20px 22px;border-left:4px solid #1018ff;background:#f4f5ff}.report-comment p{font-size:10px;line-height:1.65;margin:8px 0 0}.generated-section{margin-top:42px}.generated-section-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}.generated-section-title small{width:27px;height:27px;border-radius:50%;background:#1018ff;color:#fff;display:grid;place-items:center;font-size:7px;font-weight:900}.generated-section-title h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:0}.generated-table-wrap{overflow-x:auto}.generated-report-sheet table{width:100%;border-collapse:collapse}.generated-report-sheet th{font-size:7px;letter-spacing:.7px;color:#818b85;text-align:left;padding:10px;border-bottom:1px solid #dfe4df}.generated-report-sheet td{font-size:9px;padding:11px 10px;border-bottom:1px solid #edf0ed}.generated-ads{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.report-ad-card{display:grid;grid-template-columns:96px 1fr;gap:13px;border:1px solid #e1e6e1;border-radius:9px;padding:10px;min-width:0}.report-ad-card img,.report-ad-placeholder{width:96px;height:96px;object-fit:cover;border-radius:6px;background:#f0f2ff;display:grid;place-items:center;font-size:8px;font-weight:900}.report-ad-card>div{display:flex;min-width:0;flex-direction:column;justify-content:center}.report-ad-card strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-ad-card small{font-size:7px;color:#8a948e;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-ad-card p{font-size:8px;line-height:1.5;margin:9px 0 0}.generated-report-footer{display:flex;justify-content:space-between;border-top:1px solid #dfe4df;margin-top:44px;padding-top:14px;font-size:7px;color:#87918b}@media(max-width:760px){.generated-report-overlay{padding:64px 0 0}.generated-report-sheet{padding:25px}.generated-report-header img{width:155px}.report-cover{padding:42px 0 30px}.report-cover h1{font-size:38px}.generated-kpis{grid-template-columns:repeat(2,1fr)}.generated-kpis article:nth-child(3n){border-right:1px solid #e1e6e1}.generated-kpis article:nth-child(2n){border-right:0}.generated-kpis article:nth-child(n+4){border-bottom:1px solid #e1e6e1}.generated-kpis article:nth-last-child(-n+2){border-bottom:0}.generated-ads{grid-template-columns:1fr}.report-modal-toolbar span{display:none}}
@media print{.sidebar,.topbar,#content>:not(.generated-report-overlay),.report-modal-toolbar,.toast{display:none!important}.app-shell,.app-shell main,#content{display:block!important;margin:0!important;padding:0!important;width:100%!important}.generated-report-overlay{display:block!important;position:static!important;padding:0!important;background:#fff!important;overflow:visible!important}.generated-report-sheet{width:100%!important;box-shadow:none!important;padding:18mm!important}.generated-section{break-inside:avoid}.report-ad-card{break-inside:avoid}}

/* Search & Display white-label identity */
.agency-avatar{background:#fff!important;overflow:hidden;padding:3px}
.agency-avatar img{width:100%;height:100%;object-fit:contain}
.preview-logo img{width:min(210px,100%);height:auto;display:block}
.portal-logo img{width:150px;max-height:34px;object-fit:contain;object-position:left center;display:block}
.preview-brand img{width:175px;max-height:40px;object-fit:contain;object-position:left center;display:block}
.portal-demo{--preview-accent:#1018ff}
.portal-demo main>small{color:#1018ff}
.demo-kpis em{color:#1018ff}

/* Secure Meta credential setup */
.credentials-dialog form{display:flex;flex-direction:column;gap:13px;margin-top:18px}.credentials-dialog form label{display:flex;flex-direction:column;gap:6px;font-size:8px;font-weight:800;color:#66716a}.credentials-dialog form input{height:42px;border:1px solid #dfe4df;background:#fafbf9;border-radius:7px;padding:0 12px;font-size:11px;color:var(--ink);outline:0}.credentials-dialog form input:focus{border-color:#8798ee;box-shadow:0 0 0 3px rgba(82,104,231,.1)}.credentials-dialog .secure-hint{color:#7d8881;letter-spacing:0;font-weight:500;line-height:1.5}.credentials-dialog button:disabled{opacity:.65;cursor:wait}

/* WF Signal multi-tenant control center */
.super-admin-banner{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:15px;padding:17px 19px;margin-bottom:14px;border-radius:10px;background:linear-gradient(110deg,#17251d,#24372c);color:#fff}.super-admin-banner>span{width:50px;height:50px;border-radius:10px;background:var(--lime);color:#17231c;display:grid;place-items:center;font-weight:900}.super-admin-banner div{display:flex;flex-direction:column}.super-admin-banner small{color:#98aa9f;letter-spacing:1.2px}.super-admin-banner strong{font-size:15px;margin:3px 0}.super-admin-banner p{margin:0;color:#aebbb3}.super-admin-banner>b{font-size:9px;letter-spacing:1px;color:var(--lime);border:1px solid #43584b;border-radius:12px;padding:6px 9px}.agency-directory{margin-bottom:14px}.agency-monogram{width:36px;height:36px;border-radius:8px;background:#eef1ff;color:#465de1;display:grid;place-items:center;font-weight:900}.plan-badge{display:inline-flex;background:#f0f3ed;border-radius:12px;padding:5px 8px;font-weight:800}.connection-chips{display:flex;gap:6px;flex-wrap:wrap}.connection-chips span{border-radius:12px;padding:5px 8px;font-size:10px;font-weight:800}.meta-chip{background:#eef0ff;color:#455bd8}.google-chip{background:#fff2df;color:#a2620a}.google-chip.disabled{filter:grayscale(1);opacity:.45}.tenant-map{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:14px}.hierarchy-flow{display:flex;align-items:stretch;gap:10px;padding:20px}.hierarchy-flow>div{flex:1;display:flex;flex-direction:column;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fafbf9}.hierarchy-flow>.owner-node{background:#19271f;color:#fff;border-color:#19271f}.hierarchy-flow small{letter-spacing:1px;color:#89958e}.hierarchy-flow strong{font-size:13px;margin:8px 0 4px}.hierarchy-flow span{color:#7d8981;font-size:11px}.hierarchy-flow .owner-node span{color:#aab8af}.hierarchy-flow>i{align-self:center;font-style:normal;color:#87938c}.audit-card>div:not(.panel-heading){display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:center;padding:11px 15px;border-bottom:1px solid var(--line)}.audit-card>div>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eef3df;font-weight:900;font-size:9px}.audit-card p{display:flex;flex-direction:column;margin:0}.audit-card small{color:#8b9690;margin-top:3px}.agency-dialog{position:fixed;inset:0;z-index:95;background:rgba(14,23,18,.68);display:grid;place-items:center;padding:20px}.agency-dialog[hidden]{display:none}.agency-dialog form{position:relative;width:min(560px,100%);background:#fff;border-radius:13px;padding:28px}.agency-dialog h2{font-family:Georgia,serif;font-size:26px;font-weight:500;margin:8px 0}.agency-dialog form>p{color:#7d8981}.agency-dialog label{display:flex;flex-direction:column;gap:6px;font-weight:800;margin:13px 0}.agency-dialog input,.agency-dialog select{border:1px solid var(--line);background:#fafbf9;border-radius:7px;padding:11px}.agency-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:24px}.permission-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.permission-checks label{margin:0;display:flex;flex-direction:row;align-items:center;background:#f5f7f3;padding:10px;border-radius:7px}.agency-dialog .primary-action{width:100%}

/* Google Ads and editable report presentation */
.google-ready{display:flex;flex-direction:column}.google-mini,.google-logo-large{display:grid;place-items:center;font-style:normal;font-weight:900;background:linear-gradient(135deg,#4285f4 0 35%,#34a853 35% 65%,#fbbc05 65%);color:#fff}.google-mini{width:37px;height:37px;border-radius:8px}.google-logo-large{width:54px;height:54px;border-radius:12px;font-size:25px;margin-bottom:13px}.google-ready>p{color:#76827a;line-height:1.55;margin:15px 0 10px}.google-ready .permission-list{margin-bottom:14px;flex-wrap:wrap}.google-connect{margin-top:auto;border:0;border-radius:7px;background:#18261e;color:#fff;padding:11px;font-weight:800}.manual-editor{border:1px solid #dbe4c1;background:#f8faef;border-radius:9px;padding:0 13px;margin-bottom:18px}.manual-editor summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-weight:900;color:#405422}.manual-editor summary small{font-weight:500;color:#7d8981}.manual-editor[open] summary{border-bottom:1px solid #e0e7cc;margin-bottom:12px}.manual-editor .notify-check{display:flex;flex-direction:row;align-items:center;font-weight:600;background:#fff;padding:9px;border-radius:6px}.manual-editor .notify-check input{width:auto}.preview-status{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#728078}.preview-status span{background:#eef6d8;color:#5e7a17;border-radius:9px;padding:4px 7px;font-size:9px;font-weight:900}.data-integrity-note{display:grid;grid-template-columns:31px 1fr;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;padding:11px;margin-top:10px}.data-integrity-note>span{width:30px;height:30px;border-radius:50%;background:#edf1ff;color:#5369e7;display:grid;place-items:center}.data-integrity-note p{display:flex;flex-direction:column;margin:0}.data-integrity-note small{color:#89948d;margin-top:2px}.report-disclosure{padding:10px 12px;background:#fff7e7;border:1px solid #edd7a8;border-radius:6px;color:#765d2a;font-size:9px}
.google-connect:disabled{opacity:.58;cursor:not-allowed}.google-field{display:flex;flex-direction:column;gap:7px;margin:18px 0 14px;font-size:11px;font-weight:800;color:#59665e}.google-field select{height:44px;border:1px solid #dce3dd;border-radius:8px;background:#fafbf9;padding:0 11px;color:#17231c}.google-flow-note{display:grid;grid-template-columns:28px 1fr 14px 28px 1fr 14px 28px 1fr;gap:8px;align-items:center;background:#f7f9f5;border:1px solid #e4e9e3;border-radius:9px;padding:12px;margin:14px 0 18px}.google-flow-note>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:#356dcc;font-weight:900}.google-flow-note>p{display:flex;flex-direction:column;margin:0}.google-flow-note small{color:#7f8a83;margin-top:2px;line-height:1.35}.google-flow-note>i{font-style:normal;color:#9ca59f}.google-account-help{background:#f3f7e8;border-left:3px solid var(--lime);padding:10px 12px;color:#61705f;line-height:1.5}.google-connections{display:flex;flex-direction:column;gap:7px;margin:5px 0 12px}.google-connections>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;border:1px solid #e3e8e3;background:#fafbf9;border-radius:8px;padding:9px}.google-connections span{display:flex;flex-direction:column;min-width:0}.google-connections strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.google-connections small{font-size:9px;color:#7d8981;margin-top:3px}.google-connections b{font-size:8px;color:#608018;background:#edf6d6;border-radius:10px;padding:4px 7px}.google-connections button{border:0;background:transparent;color:#9b4a3c;font-size:9px;font-weight:800}.google-oauth-dialog [data-google-account-step][hidden],.google-oauth-dialog [data-google-client-step][hidden]{display:none}

/* Readability pass: the previous 6–9px labels were too small on compact screens. */
body{font-size:15px}.app-shell :is(button,input,select,textarea){font-size:11px}.app-shell main :is(p,small,label,td,th){font-size:11px}.sidebar :is(small,p){font-size:10px}.sidebar .nav-link{font-size:13px}.workspace-card strong,.profile strong,.sync-status strong{font-size:11px}.eyebrow,.field-label{font-size:10px}.panel-heading h2,.section-heading h2{font-size:15px}.app-shell table th{font-size:10px}.app-shell table td{font-size:12px}.generated-report-sheet :is(p,small,td,th){font-size:10px}
@media(max-width:1050px){.tenant-map{grid-template-columns:1fr}.hierarchy-flow{overflow-x:auto}.hierarchy-flow>div{min-width:190px}}
@media(max-width:760px){.super-admin-banner{grid-template-columns:46px 1fr}.super-admin-banner>b{grid-column:2}.permission-checks{grid-template-columns:1fr}.hierarchy-flow{flex-direction:column}.hierarchy-flow>i{transform:rotate(90deg)}.manual-editor summary{align-items:flex-start;gap:5px;flex-direction:column}}
@media(max-width:760px){.google-flow-note{grid-template-columns:28px 1fr}.google-flow-note>i{display:none}.google-connections>div{grid-template-columns:1fr auto}.google-connections button{grid-column:1/-1;text-align:left}}

/* Super-admin agency preview mode */
.agency-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.agency-actions button{width:30px;height:30px;border:1px solid var(--line);border-radius:6px;background:#fff}.impersonation-banner{position:sticky;top:72px;z-index:9;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:10px;background:#fff5d9;border-bottom:1px solid #e8cf8e;padding:9px 32px;color:#55451d}.impersonation-banner[hidden]{display:none}.impersonation-banner>span{width:31px;height:31px;border-radius:50%;background:#f3d77b;display:grid;place-items:center}.impersonation-banner p{display:flex;flex-direction:column;margin:0}.impersonation-banner small{color:#7e704a;margin-top:2px}.impersonation-banner button{border:1px solid #cdb56d;background:#fffaf0;border-radius:7px;padding:8px 11px;font-weight:800}.agency-preview-mode nav>p:first-of-type,.agency-preview-mode nav>p:first-of-type+.nav-link{display:none}.agency-preview-mode .workspace-card{box-shadow:0 0 0 2px #c9e65f33}.agency-preview-mode .profile{pointer-events:none}

/* Report approval workflow */
.approval-flow{display:grid;grid-template-columns:1fr 44px 1fr 44px 1fr;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 17px;margin-bottom:14px}.approval-flow>div{display:flex;align-items:center;gap:10px;opacity:.44}.approval-flow>div.active{opacity:1}.approval-flow i{width:30px;height:30px;border-radius:50%;background:#edf0ed;display:grid;place-items:center;font-style:normal;font-weight:900}.approval-flow .active i{background:#19271f;color:var(--lime)}.approval-flow span{display:flex;flex-direction:column}.approval-flow strong{font-size:11px}.approval-flow small{color:#859089;margin-top:2px}.approval-flow>b{height:2px;background:#e5e9e4}.approval-center{min-height:100%}.approval-status{font-size:9px;font-weight:900;letter-spacing:.7px;border-radius:11px;padding:5px 8px}.approval-status.draft{background:#edf0ed;color:#69756d}.approval-status.review{background:#fff0d4;color:#996216}.approval-status.approved{background:#ecf6d2;color:#5d7b15}.approval-body{padding:18px}.approval-owner{display:flex;align-items:center;gap:10px}.approval-owner>span{width:38px;height:38px;border-radius:50%;background:#eef0ff;color:#4058dc;display:grid;place-items:center;font-weight:900}.approval-owner p{display:flex;flex-direction:column;margin:0}.approval-owner small{color:#849089;margin-top:3px}.approval-checklist{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}.approval-checklist span{font-size:10px;background:#f2f6e8;color:#5e7426;border-radius:12px;padding:6px 9px}.approval-body>label{display:flex;flex-direction:column;gap:6px;font-weight:800}.approval-body textarea{min-height:66px;border:1px solid var(--line);background:#fafbf9;border-radius:7px;padding:10px;resize:vertical}.approval-actions{display:flex;gap:7px;margin:12px 0 18px}.approval-actions button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:10px 12px;font-weight:800}.approval-actions button:first-child,.approval-actions button[data-approve-report]{background:#18261e;color:#fff;border-color:#18261e}.approval-timeline{border-top:1px solid var(--line);padding-top:14px}.approval-timeline>div{display:grid;grid-template-columns:27px 1fr;gap:9px;padding:8px 0}.approval-timeline i{width:26px;height:26px;border-radius:50%;background:#edf0ed;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:9px}.approval-timeline .done i{background:#eaf5ce;color:#5d7b16}.approval-timeline p{display:flex;flex-direction:column;margin:0}.approval-timeline small{color:#89948d;margin-top:2px}.report-modal-toolbar>div{display:flex;gap:7px}.report-modal-toolbar>div>button:not(.primary-action){background:#2b3b31;color:#fff}
@media(max-width:760px){.impersonation-banner{grid-template-columns:30px 1fr;padding:9px 15px}.impersonation-banner button{grid-column:2}.approval-flow{grid-template-columns:1fr;gap:8px}.approval-flow>b{width:2px;height:14px;margin-left:14px}.approval-actions{flex-direction:column}.report-modal-toolbar>div>button:not(.primary-action){display:none}}

/* Authentication */
.logout-button{height:37px;padding:0 13px;border-radius:7px;border:1px solid #dfe4df;background:#fff;color:#4f5b54;font-weight:800}.logout-button:disabled{opacity:.65;cursor:wait}
.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);background:#f4f6f2}.login-panel{display:flex;align-items:center;justify-content:center;padding:48px}.login-card{width:min(430px,100%);background:#fff;border:1px solid #e1e6e1;border-radius:16px;padding:36px;box-shadow:0 22px 60px rgba(18,35,24,.09)}.login-card .brand{color:#17221d;padding:0 0 30px}.login-card .brand-copy small{color:#748078}.login-card h1{font-family:Georgia,serif;font-size:34px;font-weight:500;margin:0 0 8px}.login-card>p{color:#748078;line-height:1.6;margin:0 0 24px}.login-form{display:flex;flex-direction:column;gap:15px}.login-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800}.login-form input{height:48px;border:1px solid #dce2dc;border-radius:8px;padding:0 13px;font-size:14px;outline:0}.login-form input:focus{border-color:#8aac22;box-shadow:0 0 0 3px rgba(185,228,59,.18)}.login-form button{height:48px;border:0;border-radius:8px;background:#18231e;color:#fff;font-weight:900}.login-form button:disabled{opacity:.7;cursor:wait}.login-error{min-height:20px;color:#a23e2e;font-size:12px;margin:0!important}.login-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#17251d,#2c4034);color:#fff;padding:70px;display:flex;align-items:flex-end}.login-visual:before{content:"";position:absolute;width:480px;height:480px;border:90px solid rgba(185,228,59,.13);border-radius:50%;right:-150px;top:-170px}.login-visual>div{position:relative;max-width:560px}.login-visual small{color:#b9e43b;letter-spacing:1.5px;font-weight:900}.login-visual h2{font-family:Georgia,serif;font-size:48px;font-weight:500;line-height:1.08;margin:12px 0}.login-visual p{color:#b8c4bc;font-size:15px;line-height:1.7}.login-feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:28px}.login-feature-list span{border:1px solid #405448;border-radius:8px;padding:12px;color:#dce5df;font-size:12px}
@media(max-width:850px){.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-panel{padding:24px}.logout-button{padding:0 9px}.top-actions{gap:5px}}
