:root{--agency-accent:#c5df3f;--agency-dark:#0b0c0d;--agency-bg:#0d0e10;--agency-panel:#17191c;--agency-panel-2:#1d2024;--agency-border:rgba(255,255,255,.08);--agency-text:#f5f7f8;--agency-muted:#8d929b;--agency-danger:#ff5d68;--agency-ok:#7bd897;--agency-warn:#ffcc66}
*{box-sizing:border-box}.agency-shell{min-height:100vh;background:radial-gradient(circle at 78% 0,color-mix(in srgb,var(--agency-accent) 7%,transparent),transparent 28%),linear-gradient(180deg,#0b0c0d,#0e1012);color:var(--agency-text);display:flex;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.agency-shell a{color:inherit;text-decoration:none}.agency-sidebar{width:262px;position:fixed;inset:0 auto 0 0;background:linear-gradient(180deg,#101217,#101114 58%,#0c0d10);border-right:1px solid var(--agency-border);padding:18px 14px 14px;display:flex;flex-direction:column;z-index:100;box-shadow:18px 0 50px rgba(0,0,0,.18)}.agency-brand{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 8px 14px;border-bottom:1px solid var(--agency-border)}.agency-brand-logo{max-width:132px;max-height:34px;object-fit:contain}.agency-sidebar-close{display:none;background:none;border:0;color:#fff}.agency-plan-pill{margin:14px 5px;padding:12px 14px;border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--agency-accent) 12%,#15171a),#16181b);border:1px solid color-mix(in srgb,var(--agency-accent) 20%,transparent)}.agency-plan-pill span,.agency-plan-pill strong{display:block}.agency-plan-pill span{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--agency-muted)}.agency-plan-pill strong{font-size:12px;margin-top:4px}.agency-nav{display:grid;gap:4px;margin-top:8px;overflow:auto;padding-right:2px}.agency-nav>a,.agency-nav-group>a{display:flex;align-items:center;gap:11px;min-height:42px;padding:0 12px;border-radius:11px;color:#afb4bc;font-size:12px;font-weight:680;transition:.18s}.agency-nav a svg{width:18px;height:18px}.agency-nav>a:hover,.agency-nav-group>a:hover{background:#181b1f;color:#fff}.agency-nav>a.active,.agency-nav-group>a.active{background:linear-gradient(90deg,color-mix(in srgb,var(--agency-accent) 16%,#1c2023),#202328);color:#fff;box-shadow:inset 3px 0 var(--agency-accent)}.agency-nav-group>a>i{margin-left:auto;font-style:normal}.agency-subnav{display:none;margin:2px 0 4px 31px;border-left:1px solid var(--agency-border);padding:2px 0 2px 11px}.agency-nav-group.open .agency-subnav{display:grid}.agency-subnav a{padding:7px 8px;border-radius:8px;font-size:11px;color:#858b95}.agency-subnav a:hover{background:#17191d;color:#fff}.agency-sidebar-bottom{margin-top:auto;border-top:1px solid var(--agency-border);padding:12px 4px 0;display:flex;align-items:center;justify-content:space-between}.agency-sidebar-bottom>div{display:flex;align-items:center;gap:9px}.agency-sidebar-bottom>div>span,.agency-avatar{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,var(--agency-accent),color-mix(in srgb,var(--agency-accent) 58%,#fff));color:#101214;display:grid;place-items:center;font-weight:900}.agency-sidebar-bottom p{margin:0;display:grid}.agency-sidebar-bottom strong{font-size:11px}.agency-sidebar-bottom small{font-size:9px;color:var(--agency-muted)}.agency-sidebar-bottom>a svg{width:18px;color:#9ca1a9}.agency-main{margin-left:262px;min-width:0;width:calc(100% - 262px)}.agency-topbar{height:70px;position:sticky;top:0;z-index:80;background:rgba(13,14,16,.88);border-bottom:1px solid var(--agency-border);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;padding:0 28px}.agency-topbar>div:first-of-type{display:grid}.agency-topbar small{font-size:8px;letter-spacing:.16em;color:#6f747d}.agency-topbar strong{font-size:13px}.agency-top-actions{display:flex;align-items:center;gap:10px}.agency-top-actions>a,.agency-top-actions>button,.agency-page-head button,.agency-head-actions a,.agency-head-actions button,.agency-panel-head button,.agency-panel-head a{border:1px solid var(--agency-border);background:#191b1f;color:#fff;border-radius:10px;min-height:38px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:780;cursor:pointer}.agency-top-actions>button,.agency-page-head>button{background:var(--agency-accent);color:#121412;border-color:var(--agency-accent)}.agency-top-actions svg{width:14px}.agency-preview{color:#c5c9cf!important}.agency-mobile-menu{display:none;background:none;border:0;color:#fff}.agency-page{padding:28px;max-width:1580px;margin:0 auto;min-height:calc(100vh - 70px)}.agency-toast{position:fixed;right:26px;bottom:24px;z-index:300;background:#181b1f;border:1px solid color-mix(in srgb,var(--agency-accent) 34%,transparent);padding:13px 17px;border-radius:13px;box-shadow:0 18px 50px rgba(0,0,0,.35);font-size:11px}.agency-toast-error{border-color:rgba(255,93,104,.5)}.agency-hero{min-height:190px;border:1px solid color-mix(in srgb,var(--agency-accent) 18%,transparent);border-radius:24px;padding:30px;background:radial-gradient(circle at 84% 16%,color-mix(in srgb,var(--agency-accent) 24%,transparent),transparent 30%),linear-gradient(125deg,#131518,#171a1e);display:flex;justify-content:space-between;align-items:center;overflow:hidden}.agency-hero span,.agency-page-head span,.agency-panel-head>div>span,.agency-integration-cards small,.agency-result-card>small{font-size:8px;font-weight:900;letter-spacing:.18em;color:var(--agency-accent)}.agency-hero h1,.agency-page-head h1{margin:7px 0 7px;font-size:clamp(27px,3vw,42px);letter-spacing:-.045em;line-height:1.05}.agency-hero p,.agency-page-head p{margin:0;color:var(--agency-muted);font-size:12px}.agency-health{min-width:210px;padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.agency-health small,.agency-health strong,.agency-health span{display:block}.agency-health small{color:var(--agency-muted);font-size:9px}.agency-health strong{font-size:22px;margin:5px 0}.agency-health span{font-size:9px;color:#b7bbc2}.agency-stat-grid{display:grid;gap:12px;margin-top:18px}.agency-stat-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.agency-stat-grid article{min-height:128px;background:linear-gradient(145deg,#181a1e,#15171a);border:1px solid var(--agency-border);border-radius:18px;padding:16px;position:relative;overflow:hidden}.agency-stat-grid article:after{content:"";position:absolute;right:-35px;bottom:-45px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--agency-accent) 12%,transparent),transparent 68%)}.agency-stat-grid article.accent{border-color:color-mix(in srgb,var(--agency-accent) 55%,transparent)}.agency-stat-grid article>i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--agency-accent) 12%,#1d2024);color:var(--agency-accent);margin-bottom:14px}.agency-stat-grid article>i svg{width:17px}.agency-stat-grid small,.agency-stat-grid strong,.agency-stat-grid span{display:block}.agency-stat-grid small{font-size:9px;color:var(--agency-muted)}.agency-stat-grid strong{font-size:25px;margin:2px 0 2px}.agency-stat-grid span{font-size:9px;color:#666c75}.agency-stat-grid.compact article{min-height:100px}.agency-stat-grid.compact article strong{font-size:29px}.agency-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.55fr);gap:18px;margin-top:18px}.agency-dashboard-grid-bottom{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}.agency-panel{background:linear-gradient(145deg,#17191c,#15171a);border:1px solid var(--agency-border);border-radius:20px;padding:20px;min-width:0}.agency-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.agency-panel-head h2{margin:4px 0 0;font-size:18px;letter-spacing:-.025em}.agency-panel-head p{margin:4px 0 0;color:var(--agency-muted);font-size:10px}.agency-panel-head>a,.agency-panel-head>button{min-height:32px;padding:0 10px;font-size:9px}.agency-demand-list{display:grid;gap:8px}.agency-demand-list>div{display:flex;align-items:center;gap:10px;padding:11px 12px;background:#1b1e22;border:1px solid rgba(255,255,255,.05);border-radius:12px}.agency-demand-list em{width:6px;height:28px;border-radius:99px;background:#87909a}.agency-demand-list em.p-high{background:var(--agency-warn)}.agency-demand-list em.p-urgent{background:var(--agency-danger)}.agency-demand-list em.p-low{background:#6da3ff}.agency-demand-list p{margin:0;display:grid;flex:1}.agency-demand-list strong{font-size:11px}.agency-demand-list small,.agency-demand-list>div>span{font-size:9px;color:var(--agency-muted)}.agency-big-money{font-size:42px;font-weight:900;letter-spacing:-.05em;margin:8px 0 18px}.agency-big-money small{display:block;font-size:9px;font-weight:500;letter-spacing:0;color:var(--agency-muted)}.agency-money-bars{display:grid;gap:12px}.agency-money-bars>div{display:grid;grid-template-columns:1fr auto;gap:5px}.agency-money-bars span,.agency-money-bars b{font-size:9px}.agency-money-bars span{color:var(--agency-muted)}.agency-money-bars i{grid-column:1/3;height:5px;border-radius:99px;background:linear-gradient(90deg,var(--agency-accent) var(--w),#2a2d31 var(--w));}.agency-money-bars i.expense{background:linear-gradient(90deg,#ff7a86 var(--w),#2a2d31 var(--w))}.agency-money-bars i.pending{background:linear-gradient(90deg,#7aa8ff var(--w),#2a2d31 var(--w))}.agency-client-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.agency-client-mini-grid>a{display:flex;align-items:center;gap:10px;padding:11px;background:#1b1e22;border:1px solid rgba(255,255,255,.05);border-radius:12px}.agency-client-mini-grid>a>span{width:34px;height:34px;border-radius:10px;background:#24282d;color:var(--agency-accent);display:grid;place-items:center;font-weight:900}.agency-client-mini-grid p{display:grid;margin:0;min-width:0;flex:1}.agency-client-mini-grid strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agency-client-mini-grid small{font-size:8px;color:var(--agency-muted)}.agency-client-mini-grid i{font-style:normal;color:#5c626c}.agency-mrr strong{font-size:44px;letter-spacing:-.05em}.agency-mrr>span{display:block;color:var(--agency-muted);font-size:9px}.agency-sparkline{height:92px;display:flex;align-items:end;gap:6px;margin-top:20px}.agency-sparkline i{flex:1;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--agency-accent),color-mix(in srgb,var(--agency-accent) 22%,transparent))}.agency-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.agency-page-head h1{font-size:34px}.agency-back{font-size:10px;color:var(--agency-muted)!important}.agency-kanban,.agency-sales-board{display:grid;grid-template-columns:repeat(5,minmax(240px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:10px}.agency-kanban>section,.agency-sales-board>section{background:#111316;border:1px solid var(--agency-border);border-radius:16px;min-height:360px;padding:10px}.agency-kanban>section>header,.agency-sales-board>section>header{display:flex;justify-content:space-between;align-items:center;padding:6px 6px 11px;color:#cfd2d7;font-size:10px;font-weight:800}.agency-kanban>section>header b,.agency-sales-board>section>header b{width:24px;height:24px;border-radius:8px;background:#202328;display:grid;place-items:center;color:var(--agency-muted)}.agency-kanban>section>div{display:grid;gap:8px}.agency-kanban article,.agency-sales-board article{background:#1a1d21;border:1px solid rgba(255,255,255,.06);border-radius:13px;padding:12px}.agency-task-top{display:flex;align-items:center;gap:7px}.agency-task-top em{width:7px;height:7px;border-radius:50%;background:#88909a}.agency-task-top em.p-high{background:var(--agency-warn)}.agency-task-top em.p-urgent{background:var(--agency-danger)}.agency-task-top small{font-size:8px;color:var(--agency-muted)}.agency-kanban h3,.agency-sales-board h3{font-size:12px;margin:8px 0 5px}.agency-kanban p,.agency-sales-board p{font-size:9px;line-height:1.45;color:var(--agency-muted);margin:0 0 10px}.agency-kanban footer{display:flex;justify-content:space-between;align-items:center;gap:7px}.agency-kanban footer>span{font-size:8px;color:#777d86}.agency-kanban select{background:#101216;color:#aeb3ba;border:1px solid var(--agency-border);border-radius:8px;font-size:8px;padding:5px 7px}.agency-sales-board article strong{font-size:16px;color:var(--agency-accent)}.agency-client-table{padding:0;overflow:hidden}.agency-table-head,.agency-client-table>a,.agency-table-row,.agency-ledger>div:not(.agency-table-head){display:grid;grid-template-columns:2fr 1fr .9fr 1fr .7fr 40px;gap:12px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--agency-border)}.agency-table-head{background:#131518;color:#747a83;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.agency-client-table>a:hover{background:#1b1e22}.agency-client-table>a>span{font-size:10px}.agency-client-name{display:flex;align-items:center;gap:10px}.agency-client-name>i{width:36px;height:36px;border-radius:11px;background:#22262a;color:var(--agency-accent);display:grid;place-items:center;font-style:normal;font-weight:900}.agency-client-name>b{display:grid;font-size:11px}.agency-client-name small{font-size:8px;color:var(--agency-muted);font-weight:500}.agency-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#23272c;color:#aeb4bc;font-size:8px;font-style:normal;font-weight:800}.agency-status.s-active,.agency-status.s-paid,.agency-status.s-connected,.agency-status.s-won{background:rgba(123,216,151,.12);color:#8fe0a7}.agency-status.s-overdue,.agency-status.s-lost{background:rgba(255,93,104,.12);color:#ff8a93}.agency-status.s-pending,.agency-status.s-open{background:rgba(255,204,102,.12);color:#ffd27d}.agency-client-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:20px;border-radius:20px;background:radial-gradient(circle at 88% 20%,color-mix(in srgb,var(--agency-accent) 18%,transparent),transparent 28%),linear-gradient(130deg,#171a1e,#131518);border:1px solid color-mix(in srgb,var(--agency-accent) 18%,transparent);margin-bottom:18px}.agency-client-monogram{width:58px;height:58px;border-radius:17px;background:var(--agency-accent);color:#0f1113;display:grid;place-items:center;font-size:24px;font-weight:950}.agency-client-hero small{font-size:8px;letter-spacing:.12em;color:var(--agency-accent)}.agency-client-hero h2{margin:3px 0;font-size:22px}.agency-client-hero p{margin:0;color:var(--agency-muted);font-size:9px}.agency-client-meta{display:flex;gap:20px}.agency-client-meta span{display:grid;padding-left:16px;border-left:1px solid var(--agency-border)}.agency-client-meta b{font-size:11px}.agency-client-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.agency-event-list,.agency-invoice-list{display:grid;gap:8px}.agency-event-list>div{display:flex;align-items:center;gap:12px;padding:10px;background:#1b1e22;border-radius:11px}.agency-event-list time{width:102px;color:var(--agency-accent);font-size:8px}.agency-event-list p,.agency-invoice-list p{display:grid;margin:0;flex:1}.agency-event-list strong,.agency-invoice-list strong{font-size:10px}.agency-event-list small,.agency-invoice-list small{font-size:8px;color:var(--agency-muted)}.agency-invoice-list>div{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--agency-border)}.agency-invoice-list b{font-size:10px}.agency-integration-grid,.agency-integration-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.agency-integration-grid article,.agency-integration-cards article{display:flex;align-items:center;gap:10px;padding:14px;background:#1b1e22;border:1px solid var(--agency-border);border-radius:13px}.agency-integration-grid i,.agency-integration-cards i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--agency-accent) 10%,#23272b);color:var(--agency-accent);font-style:normal}.agency-integration-grid svg,.agency-integration-cards svg{width:18px}.agency-integration-grid p,.agency-integration-cards div{margin:0;display:grid;flex:1}.agency-integration-grid strong,.agency-integration-cards h3{font-size:10px;margin:0}.agency-integration-grid small,.agency-integration-cards p{font-size:8px;color:var(--agency-muted);margin:2px 0 0}.agency-integration-cards{margin-bottom:18px}.agency-integration-cards article{min-height:130px}.agency-integration-cards em{font-style:normal;font-size:8px;color:var(--agency-accent)}.agency-note{font-size:9px;color:var(--agency-muted);margin:12px 0 0}.agency-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.agency-asset{min-height:190px;padding:17px;border-radius:17px;background:linear-gradient(145deg,#181b1f,#141619);border:1px solid var(--agency-border);position:relative;overflow:hidden}.agency-asset:after{content:"";position:absolute;right:-35px;bottom:-35px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--agency-accent) 12%,transparent),transparent 68%)}.agency-asset>i{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#22262b;color:var(--agency-accent)}.agency-asset svg{width:18px}.agency-asset>span{display:block;margin-top:24px;font-size:8px;color:var(--agency-accent);text-transform:uppercase;letter-spacing:.1em}.agency-asset h3{font-size:14px;margin:4px 0 6px}.agency-asset p{font-size:9px;color:var(--agency-muted);line-height:1.5}.agency-calendar-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:18px}.agency-calendar-month header{display:flex;justify-content:space-between}.agency-calendar-month header b{font-size:17px}.agency-calendar-month header span{font-size:9px;color:var(--agency-muted)}.agency-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-top:18px}.agency-calendar-grid>span,.agency-calendar-grid>div{aspect-ratio:1.2;border-radius:10px;background:#1b1e22;border:1px solid rgba(255,255,255,.04);padding:8px;position:relative}.agency-calendar-grid>div.today{border-color:var(--agency-accent);box-shadow:inset 0 0 0 1px var(--agency-accent)}.agency-calendar-grid b{font-size:9px}.agency-calendar-grid i{position:absolute;right:6px;bottom:6px;width:18px;height:18px;border-radius:7px;background:var(--agency-accent);color:#111;display:grid;place-items:center;font-size:8px;font-style:normal}.agency-tabs{display:flex;gap:6px;margin-bottom:18px;overflow:auto}.agency-tabs a{padding:9px 12px;border:1px solid var(--agency-border);border-radius:10px;background:#15171a;color:#8e949d;font-size:9px;font-weight:760;white-space:nowrap}.agency-tabs a.active{background:var(--agency-accent);color:#101213;border-color:var(--agency-accent)}.agency-finance-chart{height:250px;display:flex;align-items:end;gap:18px;padding:18px 10px 0}.agency-finance-chart>div{flex:1;height:100%;display:flex;align-items:end;justify-content:center;gap:5px;position:relative;padding-bottom:26px}.agency-finance-chart b,.agency-finance-chart i{width:28%;max-width:28px;min-height:6px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--agency-accent),color-mix(in srgb,var(--agency-accent) 25%,transparent))}.agency-finance-chart i{background:linear-gradient(180deg,#ff7a86,rgba(255,122,134,.18))}.agency-finance-chart span{position:absolute;bottom:2px;font-size:8px;color:var(--agency-muted)}.agency-ledger{padding:0;overflow:hidden}.agency-ledger .agency-table-head,.agency-ledger>div:not(.agency-table-head){grid-template-columns:.7fr 2fr 1.2fr 1fr .8fr 1fr}.agency-ledger span{font-size:9px}.agency-ledger .money{text-align:right;font-weight:800}.agency-ledger .money.income{color:#8fe0a7}.agency-ledger .money.expense{color:#ff8a93}.agency-result-card{padding:38px;border-radius:24px;border:1px solid color-mix(in srgb,var(--agency-accent) 25%,transparent);background:radial-gradient(circle at 88% 12%,color-mix(in srgb,var(--agency-accent) 20%,transparent),transparent 30%),linear-gradient(135deg,#181b1f,#131518)}.agency-result-card>strong{display:block;font-size:62px;letter-spacing:-.06em;margin:6px 0}.agency-result-card>p{color:var(--agency-muted);font-size:10px}.agency-result-card>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.agency-result-card>div>span{padding:16px;background:#1b1e22;border-radius:13px;color:var(--agency-muted);font-size:9px}.agency-result-card b{display:block;color:#fff;font-size:18px;margin-bottom:3px}.agency-margin-list{display:grid;gap:8px}.agency-margin-list article{display:grid;grid-template-columns:auto 1.4fr auto 1fr;align-items:center;gap:12px;padding:11px;background:#1b1e22;border-radius:12px}.agency-margin-list article>span{width:34px;height:34px;border-radius:10px;background:#24282d;display:grid;place-items:center;color:var(--agency-accent);font-weight:900}.agency-margin-list p{display:grid;margin:0}.agency-margin-list strong{font-size:10px}.agency-margin-list small{font-size:8px;color:var(--agency-muted)}.agency-margin-list article>b{font-size:13px}.agency-margin-list article>i{height:5px;background:#2a2e33;border-radius:99px;overflow:hidden}.agency-margin-list article>i>em{display:block;height:100%;background:var(--agency-accent)}.agency-share-checkout{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:15px;background:color-mix(in srgb,var(--agency-accent) 10%,#15181a);border:1px solid color-mix(in srgb,var(--agency-accent) 35%,transparent);margin-bottom:14px}.agency-share-checkout>div{display:grid;flex:1;min-width:0}.agency-share-checkout small{font-size:8px;color:var(--agency-accent)}.agency-share-checkout strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agency-share-checkout button,.agency-share-checkout a{border:0;border-radius:9px;padding:9px 12px;background:#202428;color:#fff;font-size:9px}.agency-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.agency-member{padding:22px;text-align:center;border-radius:18px;background:#17191c;border:1px solid var(--agency-border)}.agency-member>span{width:58px;height:58px;border-radius:18px;background:#23272c;color:var(--agency-accent);display:grid;place-items:center;margin:0 auto 13px;font-size:20px;font-weight:900}.agency-member h3{margin:0;font-size:13px}.agency-member p{font-size:9px;color:var(--agency-muted);margin:4px 0 10px}.agency-member em{font-size:8px;font-style:normal;padding:5px 8px;border-radius:99px;background:#23272b;color:#b5bac1}.agency-member.owner{border-color:color-mix(in srgb,var(--agency-accent) 30%,transparent)}.agency-training-progress{padding:10px 14px;background:#181b1f;border:1px solid var(--agency-border);border-radius:12px;display:grid;text-align:right}.agency-training-progress strong{color:var(--agency-accent)}.agency-training-progress span{font-size:8px;color:var(--agency-muted)}.agency-training-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agency-training-grid article{padding:20px;border-radius:17px;background:#17191c;border:1px solid var(--agency-border);position:relative}.agency-training-grid article>span{width:35px;height:35px;border-radius:11px;background:#22262a;display:grid;place-items:center;color:var(--agency-accent);font-size:10px;font-weight:900}.agency-training-grid h3{font-size:14px;margin:16px 0 5px}.agency-training-grid p{font-size:9px;color:var(--agency-muted);min-height:42px;line-height:1.5}.agency-training-grid button{border:0;border-radius:9px;padding:9px 11px;background:#24282d;color:#fff;font-size:8px;font-weight:800}.agency-training-grid article.done{border-color:rgba(123,216,151,.24)}.agency-training-grid article.done>span{background:rgba(123,216,151,.12);color:#8fe0a7}.agency-training-grid article.done button{color:#8fe0a7}.agency-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.agency-form label{display:grid;gap:5px}.agency-form label>span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#8e949d;font-weight:800}.agency-form .wide{grid-column:1/3}.agency-form input,.agency-form select,.agency-form textarea,.agency-brand-controls input,.agency-brand-controls select{width:100%;background:#101216;border:1px solid var(--agency-border);border-radius:10px;color:#fff;padding:10px 11px;font:inherit;font-size:10px;outline:none}.agency-form input:focus,.agency-form select:focus,.agency-form textarea:focus{border-color:color-mix(in srgb,var(--agency-accent) 52%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--agency-accent) 8%,transparent)}.agency-form textarea{resize:vertical}.agency-form small{font-size:8px;color:var(--agency-muted)}.agency-form button,.agency-save-brand{border:0;border-radius:10px;background:var(--agency-accent);color:#101213;padding:11px 14px;font-weight:900;font-size:10px;cursor:pointer}.agency-check{display:flex!important;align-items:center!important;gap:8px!important}.agency-check input{width:auto!important}.agency-brand-studio{display:grid;grid-template-columns:390px 1fr;gap:18px;align-items:start}.agency-brand-controls{background:#15171a;border:1px solid var(--agency-border);border-radius:20px;padding:18px;display:grid;gap:14px;position:sticky;top:90px}.agency-control-section{padding:14px;border-radius:14px;background:#1b1e22;display:grid;gap:10px}.agency-control-section>span{font-size:8px;color:var(--agency-accent);font-weight:900;letter-spacing:.11em}.agency-control-section label{display:grid;gap:5px;font-size:9px;color:#a8adb5}.agency-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.agency-color-grid input[type=color]{height:42px;padding:3px}.agency-brand-preview{min-height:650px;border-radius:22px;overflow:hidden;border:1px solid var(--agency-border);background:#ecebe6;display:grid;grid-template-columns:180px 1fr;box-shadow:0 24px 70px rgba(0,0,0,.25)}.preview-sidebar{background:#0d0f12;padding:17px;display:grid;align-content:start;gap:7px}.preview-logo img{max-width:108px;max-height:30px}.preview-sidebar i{padding:9px 10px;border-radius:8px;font-style:normal;font-size:8px;color:#8f959e}.preview-sidebar i.active{background:color-mix(in srgb,var(--agency-accent) 16%,#1b1e22);color:#fff}.preview-main{padding:20px;background:radial-gradient(circle at 88% 7%,color-mix(in srgb,var(--agency-accent) 8%,transparent),transparent 25%),#f3f2ed}.preview-top{height:38px;border-radius:10px;background:#fff;margin-bottom:16px}.preview-hero{padding:22px;border-radius:18px;background:linear-gradient(125deg,#111,#1c1c1c);color:#fff}.preview-hero small{font-size:7px;color:var(--agency-accent)}.preview-hero h3{font-size:24px;margin:4px 0}.preview-hero p{font-size:8px;color:#aaa}.preview-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.preview-kpis span{padding:13px;background:#fff;border-radius:12px;color:#111}.preview-kpis small,.preview-kpis b{display:block}.preview-kpis small{font-size:7px;color:#777}.preview-kpis b{font-size:12px}.preview-chart{height:230px;background:#fff;border-radius:16px;margin-top:12px;padding:18px;display:flex;align-items:end;gap:10px}.preview-chart i{flex:1;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,var(--agency-accent),color-mix(in srgb,var(--agency-accent) 24%,transparent))}.preview-chart i:nth-child(1){height:35%}.preview-chart i:nth-child(2){height:65%}.preview-chart i:nth-child(3){height:48%}.preview-chart i:nth-child(4){height:78%}.preview-chart i:nth-child(5){height:57%}.preview-chart i:nth-child(6){height:88%}.preview-chart i:nth-child(7){height:68%}.preview-chart i:nth-child(8){height:92%}.agency-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.agency-help-grid>article>span{font-size:8px;color:var(--agency-accent);letter-spacing:.12em;font-weight:900}.agency-check-item,.agency-ticket{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--agency-border)}.agency-check-item i{width:28px;height:28px;border-radius:9px;background:#22262a;color:var(--agency-accent);display:grid;place-items:center;font-style:normal;font-size:9px}.agency-check-item span{font-size:10px}.agency-ticket p{display:grid;margin:0;flex:1}.agency-ticket strong{font-size:10px}.agency-ticket small{font-size:8px;color:var(--agency-muted)}.agency-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:4px;text-align:center;color:var(--agency-muted)}.agency-empty b{color:#cbd0d6;font-size:12px}.agency-empty span{font-size:9px}.agency-empty.small{min-height:80px}.agency-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);display:none;place-items:center;padding:20px;z-index:500;backdrop-filter:blur(8px)}.agency-modal.open{display:grid}.agency-modal>div{width:min(720px,100%);max-height:88vh;overflow:auto;background:#15171a;border:1px solid var(--agency-border);border-radius:22px;padding:22px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.52)}.agency-modal>div>span{font-size:8px;color:var(--agency-accent);font-weight:900;letter-spacing:.14em}.agency-modal h2{font-size:24px;margin:5px 0 18px}.agency-modal-close{position:absolute;right:16px;top:14px;width:32px;height:32px;border:0;border-radius:10px;background:#22252a;color:#fff;font-size:18px;cursor:pointer}.agency-quick-create{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.agency-quick-create button{min-height:110px;background:#1b1e22;border:1px solid var(--agency-border);border-radius:14px;color:#fff;display:grid;place-items:center;align-content:center;gap:7px;cursor:pointer}.agency-quick-create svg{width:25px;color:var(--agency-accent)}.agency-quick-create b{font-size:10px}.agency-head-actions{display:flex;gap:8px}.agency-table-row{display:grid;grid-template-columns:1.5fr 2fr .8fr .9fr .7fr .6fr;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--agency-border);font-size:9px}.agency-table-row a{color:var(--agency-accent)}
@media(max-width:1180px){.agency-stat-grid-4{grid-template-columns:repeat(2,1fr)}.agency-dashboard-grid,.agency-dashboard-grid-bottom,.agency-client-workspace-grid,.agency-calendar-layout,.agency-help-grid{grid-template-columns:1fr}.agency-library-grid,.agency-team-grid{grid-template-columns:repeat(2,1fr)}.agency-training-grid{grid-template-columns:repeat(2,1fr)}.agency-integration-grid,.agency-integration-cards{grid-template-columns:repeat(2,1fr)}.agency-brand-studio{grid-template-columns:1fr}.agency-brand-controls{position:static}.agency-client-meta{display:none}}
@media(max-width:820px){.agency-sidebar{transform:translateX(-102%);transition:.22s}.agency-sidebar.open{transform:none}.agency-sidebar-close{display:block}.agency-main{margin-left:0;width:100%}.agency-mobile-menu{display:grid;place-items:center}.agency-topbar{padding:0 14px}.agency-topbar>div:first-of-type{display:none}.agency-preview{display:none!important}.agency-page{padding:16px}.agency-hero{padding:22px;min-height:170px}.agency-health{display:none}.agency-page-head{align-items:flex-start}.agency-page-head h1{font-size:28px}.agency-client-table{overflow:auto}.agency-table-head,.agency-client-table>a{min-width:780px}.agency-brand-preview{grid-template-columns:130px 1fr}.agency-kanban,.agency-sales-board{grid-template-columns:repeat(5,260px)}}
@media(max-width:600px){.agency-stat-grid-4{grid-template-columns:1fr 1fr}.agency-stat-grid article{min-height:105px;padding:13px}.agency-stat-grid strong{font-size:20px}.agency-dashboard-grid{gap:12px}.agency-panel{padding:15px}.agency-client-mini-grid,.agency-library-grid,.agency-team-grid,.agency-training-grid,.agency-integration-grid,.agency-integration-cards{grid-template-columns:1fr}.agency-client-hero{grid-template-columns:auto 1fr}.agency-client-meta{display:none}.agency-form{grid-template-columns:1fr}.agency-form .wide{grid-column:1}.agency-result-card{padding:24px}.agency-result-card>strong{font-size:44px}.agency-result-card>div{grid-template-columns:1fr}.agency-brand-preview{grid-template-columns:90px 1fr;min-height:520px}.preview-sidebar{padding:10px}.preview-sidebar i{font-size:0;height:28px}.preview-main{padding:10px}.preview-kpis{grid-template-columns:1fr}.preview-chart{height:150px}.agency-quick-create{grid-template-columns:1fr 1fr}.agency-share-checkout{align-items:flex-start;flex-wrap:wrap}}
/* Public checkout */
.agency-checkout-page{min-height:100vh;background:radial-gradient(circle at 10% 10%,color-mix(in srgb,var(--checkout-accent) 10%,transparent),transparent 30%),#0d0f11;color:#fff;display:grid;place-items:center;padding:28px;font-family:Inter,system-ui,sans-serif}.agency-checkout-shell{width:min(1080px,100%);min-height:620px;display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid rgba(255,255,255,.08);border-radius:28px;overflow:hidden;background:#15171a;box-shadow:0 30px 90px rgba(0,0,0,.42)}.agency-checkout-brand{padding:42px;background:radial-gradient(circle at 80% 10%,color-mix(in srgb,var(--checkout-accent) 25%,transparent),transparent 34%),linear-gradient(145deg,var(--checkout-dark),#101215);display:flex;flex-direction:column;justify-content:space-between}.agency-checkout-logo{max-width:140px;max-height:40px}.agency-checkout-brand span,.agency-checkout-head>span,.agency-checkout-form>span,.agency-pix-box>span{display:block;margin-top:54px;font-size:8px;letter-spacing:.18em;color:var(--checkout-accent);font-weight:900}.agency-checkout-brand h1{font-size:38px;line-height:1.02;letter-spacing:-.05em;margin:8px 0 12px}.agency-checkout-brand p{font-size:11px;line-height:1.6;color:#a5abb4;max-width:380px}.agency-checkout-brand>small{font-size:8px;color:#5f6570}.agency-checkout-main{padding:42px;background:#f4f3ef;color:#111}.agency-checkout-head>span{margin-top:0}.agency-checkout-head h2{font-size:30px;margin:6px 0}.agency-checkout-head p{font-size:11px;color:#777}.agency-checkout-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:24px 0}.agency-checkout-summary span{padding:14px;border-radius:13px;background:#fff;border:1px solid #e6e3db}.agency-checkout-summary small,.agency-checkout-summary strong{display:block}.agency-checkout-summary small{font-size:8px;color:#777}.agency-checkout-summary strong{font-size:13px;margin-top:3px}.agency-payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 16px}.agency-payment-methods label{position:relative;padding:16px;border:1px solid #ddd9d0;background:#fff;border-radius:14px;display:grid;cursor:pointer}.agency-payment-methods input{position:absolute;opacity:0}.agency-payment-methods label:has(input:checked){border-color:var(--checkout-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--checkout-accent) 25%,transparent)}.agency-payment-methods i{width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--checkout-accent) 13%,#fff);color:#111;display:grid;place-items:center}.agency-payment-methods svg{width:18px}.agency-payment-methods b{font-size:11px;margin-top:14px}.agency-payment-methods small{font-size:8px;color:#777;margin-top:2px}.agency-checkout-form>button,.agency-pix-box>button,.agency-checkout-created>a{border:0;border-radius:11px;background:var(--checkout-accent);color:#101210;padding:13px 16px;font-size:10px;font-weight:900;display:inline-flex;cursor:pointer}.agency-pix-box,.agency-checkout-created,.agency-checkout-success{padding:22px;border-radius:18px;background:#fff;border:1px solid #e3e0d8;text-align:center}.agency-pix-box>span{margin:0}.agency-pix-box h3,.agency-checkout-created h3,.agency-checkout-success h3{font-size:20px;margin:6px 0}.agency-pix-box img{width:220px;max-width:100%;display:block;margin:15px auto}.agency-pix-box label{display:grid;text-align:left;font-size:8px;color:#777;gap:5px}.agency-pix-box textarea{height:76px;border:1px solid #ddd9d0;border-radius:10px;padding:9px;font-size:9px;resize:none}.agency-pix-box button{margin-top:10px}.agency-checkout-created>i,.agency-checkout-success>i{width:56px;height:56px;border-radius:18px;background:color-mix(in srgb,var(--checkout-accent) 18%,#fff);color:#111;display:grid;place-items:center;margin:0 auto}.agency-checkout-created svg{width:26px}.agency-checkout-created p,.agency-checkout-success p{font-size:10px;color:#777}.agency-checkout-created>a{margin-top:10px}.agency-checkout-alert{padding:11px 13px;border-radius:11px;background:#fff1f1;color:#a92b36;font-size:9px;margin-bottom:15px}.agency-checkout-empty{text-align:center;margin-top:120px}.agency-checkout-empty h2{font-size:28px}.agency-checkout-empty p{color:#777}@media(max-width:780px){.agency-checkout-page{padding:0}.agency-checkout-shell{grid-template-columns:1fr;border-radius:0;min-height:100vh}.agency-checkout-brand{padding:24px;min-height:260px}.agency-checkout-brand span{margin-top:28px}.agency-checkout-brand h1{font-size:30px}.agency-checkout-main{padding:24px}.agency-payment-methods{grid-template-columns:1fr}.agency-checkout-summary{grid-template-columns:1fr 1fr}.agency-checkout-summary span:last-child{grid-column:1/3}}
.agency-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.agency-plan-grid article{padding:22px;border-radius:19px;background:linear-gradient(145deg,#181b1f,#141619);border:1px solid var(--agency-border);position:relative;overflow:hidden}.agency-plan-grid article:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-70px;top:-70px;background:radial-gradient(circle,color-mix(in srgb,var(--agency-accent) 14%,transparent),transparent 68%)}.agency-plan-grid article>span{font-size:8px;color:var(--agency-accent);letter-spacing:.12em;font-weight:900}.agency-plan-grid h3{font-size:18px;margin:7px 0 2px}.agency-plan-grid>article>strong{display:block;font-size:30px;letter-spacing:-.04em}.agency-plan-grid p{font-size:9px;color:var(--agency-muted);line-height:1.5;min-height:40px}.agency-plan-grid ul{list-style:none;margin:16px 0;padding:0;display:grid;gap:7px}.agency-plan-grid li{font-size:9px;color:#c3c7cc}.agency-client-integrations-editor{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.agency-client-integrations-editor details{background:#111316;border:1px solid var(--agency-border);border-radius:13px;padding:12px}.agency-client-integrations-editor summary{cursor:pointer;font-size:10px;font-weight:800;color:#d2d6db}.agency-client-integrations-editor details[open] summary{margin-bottom:14px;color:var(--agency-accent)}@media(max-width:1000px){.agency-plan-grid{grid-template-columns:1fr 1fr}.agency-client-integrations-editor{grid-template-columns:1fr}}@media(max-width:620px){.agency-plan-grid{grid-template-columns:1fr}}
.agency-client-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.agency-module-list{display:grid;gap:8px}.agency-module-list>div{display:flex;align-items:center;gap:10px;padding:10px 11px;background:#1b1e22;border:1px solid rgba(255,255,255,.04);border-radius:11px}.agency-module-list>div>i{width:32px;height:32px;border-radius:9px;background:#24282d;color:var(--agency-accent);display:grid;place-items:center}.agency-module-list svg{width:16px}.agency-module-list p{margin:0;display:grid;flex:1}.agency-module-list strong{font-size:10px}.agency-module-list small{font-size:8px;color:var(--agency-muted)}@media(max-width:900px){.agency-client-module-grid{grid-template-columns:1fr}}

/* 0.6.2 — Agency OS premium access + lighter depth */
.agency-shell{background-color:#111418;background-image:radial-gradient(circle at 72% 4%,color-mix(in srgb,var(--agency-accent) 12%,transparent),transparent 28%),radial-gradient(circle at 18% 78%,rgba(78,108,160,.09),transparent 32%),linear-gradient(rgba(255,255,255,.017) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.017) 1px,transparent 1px),linear-gradient(180deg,#111316,#14171b)!important;background-size:auto,auto,38px 38px,38px 38px,auto}.agency-sidebar{background-image:radial-gradient(circle at 20% 7%,color-mix(in srgb,var(--agency-accent) 10%,transparent),transparent 25%),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(180deg,#15181d,#111318)!important;background-size:auto,32px 32px,32px 32px,auto}.agency-panel,.agency-stat-grid article{background:linear-gradient(145deg,rgba(30,34,40,.96),rgba(23,26,31,.96))!important;box-shadow:0 18px 48px rgba(0,0,0,.14)}.agency-topbar{background:rgba(18,21,25,.82)!important}.agency-plan-pill small{display:block;margin-top:5px;font-size:8px;color:var(--agency-muted)}
.agency-system-strip{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;margin-top:18px}.agency-system-strip article{min-height:84px;padding:15px 16px;border:1px solid var(--agency-border);border-radius:17px;background:linear-gradient(145deg,#1b1f24,#171a1f);display:flex;align-items:center;gap:12px}.agency-system-strip article.connected{border-color:color-mix(in srgb,var(--agency-accent) 38%,transparent)}.agency-system-strip i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--agency-accent) 12%,#22262b);color:var(--agency-accent)}.agency-system-strip i svg{width:19px}.agency-system-strip div{display:grid;gap:2px;flex:1}.agency-system-strip small{font-size:8px;letter-spacing:.13em;color:var(--agency-muted)}.agency-system-strip strong{font-size:13px}.agency-system-strip span{font-size:9px;color:#818792}.agency-system-strip a{font-size:9px;font-weight:800;color:var(--agency-accent)}
.agency-lotux-connect{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px;border-radius:22px;border:1px solid color-mix(in srgb,var(--agency-accent) 35%,transparent);background:radial-gradient(circle at 84% 12%,color-mix(in srgb,var(--agency-accent) 22%,transparent),transparent 30%),linear-gradient(135deg,#1d2228,#14171c);margin-bottom:18px}.agency-lotux-brand{display:flex;align-items:center;gap:14px}.agency-lotux-brand>i{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:var(--agency-accent);color:#111}.agency-lotux-brand>i svg{width:25px}.agency-lotux-brand span{font-size:8px;letter-spacing:.16em;color:var(--agency-accent)}.agency-lotux-brand h2{margin:3px 0;font-size:22px}.agency-lotux-brand p{margin:0;color:var(--agency-muted);font-size:10px}.agency-lotux-state{display:grid;justify-items:end;gap:8px}.agency-lotux-state b{font-size:9px;color:var(--agency-accent)}.agency-lotux-state a,.agency-secondary-button,.agency-primary-button{min-height:38px;padding:0 13px;border-radius:10px;border:1px solid var(--agency-border);display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;background:#20242a;color:#fff}.agency-primary-button{background:var(--agency-accent);color:#111;border-color:var(--agency-accent)}.agency-form-divider{padding:12px 14px;border-radius:12px;background:#20242a;border:1px solid var(--agency-border);display:grid!important}.agency-form-divider strong{font-size:12px}.agency-form-divider small{font-size:9px;color:var(--agency-muted)}.agency-integration-actions{display:flex!important;gap:9px;align-items:center}.agency-accounting-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.agency-permission-box{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:13px;border-radius:12px;background:#171a1f;border:1px solid var(--agency-border)}.agency-permission-box>span,.agency-permission-box>small{grid-column:1/-1}.agency-permission-box label{display:flex;align-items:center;gap:7px;font-size:10px;color:#c5cad1}.agency-permission-box small{font-size:8px;color:var(--agency-muted)}
.agency-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.12fr) minmax(390px,.88fr);background:#0f1216;color:#f7f8fa;font-family:Inter,system-ui,sans-serif;position:relative;overflow:hidden}.agency-login-shell:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to right,#000,transparent 80%)}.agency-login-orb{position:absolute;border-radius:50%;filter:blur(15px);pointer-events:none}.agency-login-orb.one{width:520px;height:520px;left:-180px;top:-190px;background:radial-gradient(circle,color-mix(in srgb,var(--agency-accent) 19%,transparent),transparent 70%)}.agency-login-orb.two{width:420px;height:420px;right:-170px;bottom:-170px;background:radial-gradient(circle,rgba(74,111,175,.13),transparent 70%)}.agency-login-showcase,.agency-login-box{position:relative;z-index:2}.agency-login-showcase{padding:54px clamp(38px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid rgba(255,255,255,.07)}.agency-login-brand{display:flex;align-items:center;justify-content:space-between}.agency-login-logo{max-width:150px;max-height:42px}.agency-login-brand>span,.agency-login-showcase>div>small,.agency-login-plan>span,.agency-login-box>div>span{font-size:9px;letter-spacing:.18em;color:var(--agency-accent);font-weight:900}.agency-login-showcase h1{font-size:clamp(42px,5.2vw,76px);line-height:.96;letter-spacing:-.055em;margin:12px 0 16px;max-width:820px}.agency-login-showcase p{max-width:650px;color:#a4aab3;font-size:14px;line-height:1.6}.agency-login-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.agency-login-features span{padding:9px 11px;border-radius:99px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);font-size:9px}.agency-login-plan{padding:15px 16px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035);display:grid;max-width:390px}.agency-login-plan strong{font-size:15px;margin:4px 0}.agency-login-plan small{font-size:9px;color:#858b94}.agency-login-box{padding:clamp(38px,7vw,110px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--agency-accent) 8%,transparent),transparent 35%)}.agency-login-box h2{font-size:36px;letter-spacing:-.04em;margin:7px 0}.agency-login-box p{color:#9197a0;font-size:11px;margin:0 0 24px}.agency-login-box form{display:grid;gap:13px}.agency-login-box label>span{display:block;font-size:9px;color:#a4aab2;margin-bottom:6px}.agency-login-box input[type=text],.agency-login-box input[type=password],.agency-login-box input:not([type]){width:100%;height:50px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:#171b20;color:#fff;padding:0 14px;outline:none}.agency-login-box input:focus{border-color:color-mix(in srgb,var(--agency-accent) 64%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--agency-accent) 10%,transparent)}.agency-login-remember{display:flex!important;align-items:center;gap:8px}.agency-login-remember span{margin:0!important}.agency-login-box button{height:50px;border:0;border-radius:12px;background:var(--agency-accent);color:#101214;font-weight:900;cursor:pointer}.agency-login-help{margin-top:17px;color:#686f78;font-size:9px}.agency-login-alert{padding:10px 12px;border-radius:10px;background:rgba(255,93,104,.08);border:1px solid rgba(255,93,104,.22);font-size:10px;margin-bottom:12px}
@media(max-width:900px){.agency-login-shell{grid-template-columns:1fr}.agency-login-showcase{display:none}.agency-login-box{min-height:100vh;padding:34px}.agency-system-strip,.agency-accounting-grid{grid-template-columns:1fr}.agency-lotux-connect{align-items:flex-start;flex-direction:column}.agency-lotux-state{justify-items:start}.agency-permission-box{grid-template-columns:1fr}}


/* 0.6.3 — PULSE / Agency Hub light premium. Keep portal & login styles isolated. */
.agency-shell{
 --agency-text:#172338;
 --agency-muted:#667285;
 --agency-border:#e2e8ef;
 --agency-panel:#ffffff;
 --agency-panel-2:#f4f7fa;
 --agency-sidebar-bg:#121827;
 --agency-sidebar-border:#303b52;
 --agency-sidebar-text:#f4f7fc;
 background:#f3f5f9!important;
 background-image:radial-gradient(ellipse at 82% 8%,color-mix(in srgb,var(--agency-accent) 7%,transparent),transparent 33%),linear-gradient(90deg,rgba(30,55,86,.025) 1px,transparent 1px),linear-gradient(rgba(30,55,86,.025) 1px,transparent 1px),linear-gradient(180deg,#f3f5f9,#f8f9fb)!important;
 background-size:auto,42px 42px,42px 42px,auto!important;
 color:var(--agency-text)!important;
 align-items:stretch;
}
/* Sidebar in document flow; prevents the nested Finance scroll region. */
.agency-shell .agency-sidebar{
 position:sticky!important;
 inset:auto!important;
 top:0!important;
 align-self:flex-start!important;
 flex:0 0 262px!important;
 width:262px!important;
 min-height:100vh!important;
 height:auto!important;
 overflow:visible!important;
 background:var(--agency-sidebar-bg)!important;
 background-image:none!important;
 border-right:1px solid var(--agency-sidebar-border)!important;
 box-shadow:12px 0 38px rgba(18,27,48,.085)!important;
 color:var(--agency-sidebar-text)!important;
}
.agency-shell .agency-brand{border-color:var(--agency-sidebar-border)!important}
.agency-shell .agency-plan-pill{
 background:#1c2538!important;
 border-color:#34405a!important;
 color:var(--agency-sidebar-text)!important;
}
.agency-shell .agency-plan-pill strong,.agency-shell .agency-sidebar-bottom strong{color:#f6f8fc!important}
.agency-shell .agency-plan-pill span,.agency-shell .agency-plan-pill small,.agency-shell .agency-sidebar-bottom small{color:#aab5ca!important}
.agency-shell .agency-nav{
 overflow:visible!important;
 overflow-x:visible!important;
 overflow-y:visible!important;
 height:auto!important;
 max-height:none!important;
 min-height:0!important;
 padding-right:0!important;
 flex-shrink:0!important;
 grid-auto-rows:auto;
}
.agency-shell .agency-nav>a,.agency-shell .agency-nav-group>a{color:#c9d1df!important}
.agency-shell .agency-nav>a:hover,.agency-shell .agency-nav-group>a:hover,.agency-shell .agency-subnav a:hover{
 background:#26324a!important;color:#fff!important
}
.agency-shell .agency-nav>a.active,.agency-shell .agency-nav-group>a.active{
 background:color-mix(in srgb,var(--agency-accent) 18%,#202a40)!important;
 color:#fff!important;
 box-shadow:inset 3px 0 var(--agency-accent)!important;
}
.agency-shell .agency-subnav{border-left:1px solid #3b4760!important;margin-top:6px;margin-bottom:12px}
.agency-shell .agency-subnav a{color:#abb9ce!important;min-height:31px;display:flex;align-items:center}
.agency-shell .agency-subnav a:hover{color:#fff!important}
.agency-shell .agency-sidebar-bottom{border-top-color:var(--agency-sidebar-border)!important;margin-top:auto!important;padding-top:16px!important}
.agency-shell .agency-sidebar-bottom>a svg{color:#c5cedc!important}
.agency-shell .agency-main{margin-left:0!important;min-width:0!important;width:calc(100% - 262px)!important;flex:1 1 auto!important}
.agency-shell .agency-topbar{
 background:rgba(255,255,255,.96)!important;
 border-bottom:1px solid var(--agency-border)!important;
 box-shadow:0 4px 22px rgba(15,34,62,.035)!important;
 color:var(--agency-text)!important;
}
.agency-shell .agency-topbar small{color:var(--agency-muted)!important}
.agency-shell .agency-product-subtitle{color:#7c8798;font-size:10px;font-weight:500;margin-left:4px}
.agency-shell .agency-preview{color:var(--agency-text)!important}
.agency-shell .agency-avatar{color:#161927!important}
.agency-shell .agency-page{color:var(--agency-text)!important}
.agency-shell .agency-page-head p,.agency-shell .agency-panel-head p{color:var(--agency-muted)!important}
.agency-shell .agency-page-head h1,.agency-shell .agency-panel-head h2{color:var(--agency-text)!important}
.agency-shell .agency-panel,.agency-shell .agency-stat-grid article{
 background:#fff!important;
 color:var(--agency-text)!important;
 border:1px solid var(--agency-border)!important;
 box-shadow:0 12px 34px rgba(23,37,62,.045)!important;
}
.agency-shell .agency-panel:has(.agency-result-card){background:#fff!important}
.agency-shell .agency-stat-grid article.accent{border-color:color-mix(in srgb,var(--agency-accent) 55%,var(--agency-border))!important}
.agency-shell .agency-stat-grid article>i{background:color-mix(in srgb,var(--agency-accent) 13%,white)!important;color:var(--agency-accent)!important}
.agency-shell .agency-stat-grid article span{color:var(--agency-muted)!important}
.agency-shell .agency-hero,.agency-shell .agency-client-hero{
 color:#f7faff!important;
 background:radial-gradient(circle at 88% 18%,color-mix(in srgb,var(--agency-accent) 18%,transparent),transparent 32%),linear-gradient(130deg,#182234,#222c40)!important;
 border-color:#344159!important;
}
.agency-shell .agency-hero h1,.agency-shell .agency-client-hero h1,.agency-shell .agency-hero strong,.agency-shell .agency-client-hero strong{color:#fff!important}
.agency-shell .agency-hero p,.agency-shell .agency-client-hero p,.agency-shell .agency-health span{color:#b8c4d7!important}
.agency-shell .agency-health{background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.12)!important}
.agency-shell .agency-health strong{color:#fff!important}
.agency-shell .agency-demand-list>div,.agency-shell .agency-client-mini-grid>a,.agency-shell .agency-event-list>div,
.agency-shell .agency-integration-grid article,.agency-shell .agency-integration-cards article,
.agency-shell .agency-margin-list article,.agency-shell .agency-module-list>div,
.agency-shell .agency-control-section,.agency-shell .agency-permission-box,.agency-shell .agency-member,
.agency-shell .agency-training-grid article,.agency-shell .agency-training-progress,
.agency-shell .agency-brand-controls,.agency-shell .agency-asset,.agency-shell .agency-system-strip article,
.agency-shell .agency-kanban>section,.agency-shell .agency-sales-board>section{
 background:#fff!important;
 background-image:none!important;
 color:var(--agency-text)!important;
 border:1px solid var(--agency-border)!important;
}
.agency-shell .agency-demand-list>div,.agency-shell .agency-client-mini-grid>a,.agency-shell .agency-event-list>div,
.agency-shell .agency-margin-list article,.agency-shell .agency-control-section,.agency-shell .agency-training-grid article{
 background:#f8fafc!important;
}
.agency-shell .agency-kanban article,.agency-shell .agency-sales-board article,.agency-shell .agency-calendar-grid>span,
.agency-shell .agency-calendar-grid>div,.agency-shell .agency-tabs a,.agency-shell .agency-result-card>div>span,
.agency-shell .agency-member>span,.agency-shell .agency-module-list>div>i{
 background:#f3f6fa!important;color:var(--agency-text)!important;border-color:var(--agency-border)!important;
}
.agency-shell .agency-kanban select{background:#fff!important;color:var(--agency-text)!important;border-color:var(--agency-border)!important}
.agency-shell .agency-kanban>section>header,.agency-shell .agency-sales-board>section>header{color:var(--agency-text)!important}
.agency-shell .agency-kanban>section>header b,.agency-shell .agency-sales-board>section>header b{background:#eaf0f5!important;color:var(--agency-muted)!important}
.agency-shell .agency-table-head{background:#edf2f7!important;color:#667285!important;border-color:var(--agency-border)!important}
.agency-shell .agency-client-table>a:hover{background:#f3f7fb!important}
.agency-shell .agency-client-name>i,.agency-shell .agency-client-mini-grid>a>span,
.agency-shell .agency-integration-grid i,.agency-shell .agency-integration-cards i,
.agency-shell .agency-training-grid article>span,.agency-shell .agency-margin-list article>span,
.agency-shell .agency-asset>i{background:color-mix(in srgb,var(--agency-accent) 11%,#f2f5f9)!important;color:var(--agency-accent)!important}
.agency-shell .agency-top-actions>a,.agency-shell .agency-head-actions a,.agency-shell .agency-head-actions button,
.agency-shell .agency-panel-head button,.agency-shell .agency-panel-head a,
.agency-shell .agency-secondary-button,.agency-shell .agency-share-checkout a,.agency-shell .agency-share-checkout button{
 color:var(--agency-text)!important;background:#fff!important;border-color:var(--agency-border)!important;
}
.agency-shell .agency-top-actions>button,.agency-shell .agency-page-head>button,
.agency-shell .agency-primary-button,.agency-shell .agency-form button,.agency-shell .agency-save-brand{
 background:var(--agency-accent)!important;color:#171927!important;border-color:var(--agency-accent)!important;
}
.agency-shell .agency-form label>span,.agency-shell .agency-control-section label,.agency-shell .agency-permission-box label{color:#59667a!important}
.agency-shell .agency-form input,.agency-shell .agency-form select,.agency-shell .agency-form textarea,
.agency-shell .agency-brand-controls input,.agency-shell .agency-brand-controls select{
 background:#fff!important;color:var(--agency-text)!important;border:1px solid #ced7e3!important;
}
.agency-shell input::placeholder,.agency-shell textarea::placeholder{color:#8d9aab!important}
.agency-shell .agency-status{background:#edf2f6!important;color:#586577!important}
.agency-shell .agency-status.s-active,.agency-shell .agency-status.s-paid,.agency-shell .agency-status.s-connected,.agency-shell .agency-status.s-won{background:#e4f7ed!important;color:#14764e!important}
.agency-shell .agency-status.s-overdue,.agency-shell .agency-status.s-lost{background:#fff0f0!important;color:#b63143!important}
.agency-shell .agency-status.s-pending,.agency-shell .agency-status.s-open{background:#fff5df!important;color:#986011!important}
.agency-shell .agency-money-bars i{background:linear-gradient(90deg,var(--agency-accent) var(--w),#e7ecf3 var(--w))!important}
.agency-shell .agency-money-bars i.expense{background:linear-gradient(90deg,#da5669 var(--w),#e7ecf3 var(--w))!important}
.agency-shell .agency-money-bars i.pending{background:linear-gradient(90deg,#527cc1 var(--w),#e7ecf3 var(--w))!important}
.agency-shell .agency-margin-list article>i{background:#e5ebf1!important}
.agency-shell .agency-result-card{background:radial-gradient(circle at 90% 6%,color-mix(in srgb,var(--agency-accent) 8%,transparent),transparent 34%),linear-gradient(135deg,#fff,#f7f9fc)!important;border-color:var(--agency-border)!important;color:var(--agency-text)!important}
.agency-shell .agency-result-card b{color:var(--agency-text)!important}
.agency-shell .agency-share-checkout,.agency-shell .agency-form-divider{
 background:color-mix(in srgb,var(--agency-accent) 5%,#fff)!important;border-color:var(--agency-border)!important;
}
.agency-shell .agency-lotux-connect{
 color:#f9fbff!important;
 background:radial-gradient(circle at 85% 9%,color-mix(in srgb,var(--agency-accent) 20%,transparent),transparent 32%),linear-gradient(145deg,#1c273b,#141d2d)!important;
 border-color:#33405a!important;
}
.agency-shell .agency-lotux-connect h2{color:#fff!important}
.agency-shell .agency-lotux-connect p{color:#bfccda!important}
.agency-shell .agency-lotux-state a{background:var(--agency-accent)!important;color:#17212d!important;border-color:var(--agency-accent)!important}
.agency-shell .agency-tabs a{color:#59667a!important}.agency-shell .agency-tabs a.active{background:var(--agency-accent)!important;color:#121927!important}
.agency-shell .agency-toast{background:#fff!important;color:var(--agency-text)!important;box-shadow:0 18px 40px rgba(21,38,65,.12)!important}
.agency-shell .agency-training-grid article.done>span{background:#e4f7ed!important;color:#14764e!important}
.agency-shell .agency-training-grid button{background:#edf2f8!important;color:var(--agency-text)!important}
/* Large viewports: sidebar expands with the submenu; document scrolls instead of the nav. */
@media(min-width:821px){
 .agency-shell .agency-sidebar{position:relative!important;top:auto!important;align-self:stretch!important}
 .agency-shell .agency-main{width:calc(100% - 262px)!important}
}
/* Mobile retains a drawer; scrolling is on the drawer only when the whole menu exceeds the screen. */
@media(max-width:820px){
 .agency-shell .agency-sidebar{
   position:fixed!important;inset:0 auto 0 0!important;align-self:auto!important;
   height:100dvh!important;max-height:100dvh!important;min-height:0!important;
   overflow-y:auto!important;overflow-x:hidden!important;
   transform:translateX(-102%);
 }
 .agency-shell .agency-sidebar.open{transform:none}
 .agency-shell .agency-main{margin-left:0!important;width:100%!important}
 .agency-shell .agency-mobile-menu{color:var(--agency-text)!important}
}

/* Pulse light dialogs + small text contrast fixes (0.6.3) */
.agency-shell .agency-modal>div{
 background:#fff!important;color:var(--agency-text)!important;
 border-color:var(--agency-border)!important;
 box-shadow:0 30px 80px rgba(13,28,49,.2)!important;
}
.agency-shell .agency-modal h2,.agency-shell .agency-empty b{color:var(--agency-text)!important}
.agency-shell .agency-modal-close{background:#edf2f7!important;color:#263249!important}
.agency-shell .agency-quick-create button{background:#f5f8fb!important;color:var(--agency-text)!important;border-color:var(--agency-border)!important}
.agency-shell .agency-quick-create button:hover{background:color-mix(in srgb,var(--agency-accent) 8%,#fff)!important}
.agency-shell .agency-member em{background:#e9eef5!important;color:#526174!important}
.agency-shell .agency-client-integrations-editor details{background:#f7f9fc!important;border-color:var(--agency-border)!important}
.agency-shell .agency-client-integrations-editor summary{color:var(--agency-text)!important}
.agency-shell .agency-client-integrations-editor details[open] summary{color:var(--agency-accent)!important}
.agency-shell .agency-quick-create button:focus-visible,.agency-shell .agency-nav a:focus-visible{outline:2px solid var(--agency-accent);outline-offset:2px}
/* Pulse 0.6.4: black/red operating console, card backgrounds, visual studio. */
.agency-shell{--agency-accent:#e82127;--agency-panel:#fff;--agency-muted:#68707d;--agency-sidebar-base:#050505;--agency-border:#e8e6e4;background:#f8f7f5!important;background-image:linear-gradient(135deg,rgba(14,12,10,.016) 1px,transparent 1px),linear-gradient(45deg,rgba(14,12,10,.014) 1px,transparent 1px)!important;background-size:38px 38px!important}
.agency-shell .agency-sidebar{background:#050505!important;background-image:none!important;border-right:1px solid #202024!important;color:#fff!important;box-shadow:none!important}
.agency-shell .agency-brand{height:92px!important;min-height:92px!important;position:relative!important;justify-content:center!important;padding:10px 34px 18px!important;border-bottom:1px solid #292929!important}
.agency-shell .agency-brand-logo{max-width:195px!important;max-height:64px!important;width:auto;height:auto;object-fit:contain!important;margin:auto!important}
.agency-shell .agency-brand .agency-sidebar-close{position:absolute;top:17px;right:4px}
.agency-shell .agency-nav{background:#050505!important;overflow:visible!important;max-height:none!important;scrollbar-width:none!important}
.agency-shell .agency-nav>a,.agency-shell .agency-nav-group>a{color:#bec0c5!important;background:transparent!important}
.agency-shell .agency-nav>a:hover,.agency-shell .agency-nav-group>a:hover,.agency-shell .agency-subnav a:hover{background:#1a1a1b!important;color:#fff!important}
.agency-shell .agency-nav>a.active,.agency-shell .agency-nav-group>a.active{background:#1b1b1d!important;box-shadow:inset 3px 0 var(--agency-accent)!important;color:#fff!important}
.agency-shell .agency-nav-group.open .agency-subnav{display:grid!important;max-height:none!important;overflow:visible!important;scrollbar-width:none!important}
.agency-shell .agency-nav-group,.agency-shell .agency-subnav{height:auto!important;max-height:none!important}
.agency-shell .agency-subnav{border-color:#303034!important}.agency-shell .agency-subnav a{color:#b9b9bd!important}
.agency-shell .agency-plan-pill{background:#111113!important;background-image:none!important;border:1px solid #272729!important}
.agency-shell .agency-sidebar-bottom{background:#050505!important;border-color:#222!important}.agency-shell .agency-sidebar-bottom p strong{color:#fff!important}
.agency-shell .agency-sidebar-bottom .agency-avatar,.agency-shell .agency-sidebar-bottom>div>span{background:var(--agency-accent)!important;color:#fff!important}
.agency-shell .agency-topbar{background:#fff!important;box-shadow:none!important;border-bottom:1px solid #eae8e5!important}
.agency-shell .agency-page-head>div>span,.agency-shell .agency-panel-head>div>span,.agency-shell .agency-hero>div>span{color:var(--agency-accent)!important}
.agency-shell .agency-stat-grid article,.agency-shell .agency-kpi,.agency-shell .agency-panel,.agency-shell .agency-plan-grid article,.agency-shell .agency-kanban article,.agency-shell .agency-sales-board article,.agency-shell .agency-training-grid article,.agency-shell .agency-member{box-shadow:0 5px 22px rgba(0,0,0,.028)!important}
/* Remove red/other blurry colored glows from cards. */
.agency-shell .agency-stat-grid article:after,.agency-shell .agency-stat-grid article:before,.agency-shell .agency-panel:before,.agency-shell .agency-panel:after,.agency-shell .agency-plan-grid article:after{content:none!important;display:none!important}
.agency-shell .agency-stat-grid article>i{background:#fff1f1!important;color:var(--agency-accent)!important;border:1px solid #ffd7d8!important;box-shadow:none!important}
.agency-shell .agency-stat-grid article>i svg,.agency-shell .agency-nav svg{stroke-width:1.9!important}
.agency-shell .agency-hero{background:#0b0b0c!important;background-image:linear-gradient(125deg,#101012,#19191b)!important;border:1px solid #29292c!important;color:#fff!important;box-shadow:none!important}
.agency-shell .agency-hero h1{color:#fff!important}
.agency-shell .agency-health{background:#202023!important;backdrop-filter:none!important;border-color:#3e3e42!important}
.agency-shell .agency-hero.agency-has-bg{background-image:linear-gradient(90deg,rgba(0,0,0,var(--agency-image-shade)),rgba(0,0,0,calc(var(--agency-image-shade) * .5))),var(--agency-image)!important;background-position:center!important;background-size:cover!important}
.agency-shell .agency-uploaded-banner{border:1px solid #2e2c2d;border-radius:22px;min-height:170px;display:flex;align-items:center;padding:28px 34px;margin:0 0 20px;overflow:hidden;background-image:linear-gradient(90deg,rgba(0,0,0,var(--agency-image-shade)),rgba(0,0,0,calc(var(--agency-image-shade) * .5))),var(--agency-image);background-color:#101012;background-size:cover;background-position:center;color:#fff;position:relative}
.agency-shell .agency-uploaded-banner span{font-size:9px;color:#ffb0b2;font-weight:850;letter-spacing:.17em}.agency-shell .agency-uploaded-banner h2{color:#fff;font-size:clamp(24px,3vw,38px);font-weight:900;margin:9px 0 0;letter-spacing:-.045em}
.agency-shell .agency-item-visual[style*="--agency-image"]{background-image:linear-gradient(130deg,rgba(0,0,0,var(--agency-image-shade)),rgba(0,0,0,calc(var(--agency-image-shade) * .7))),var(--agency-image)!important;background-color:#131315!important;background-size:cover!important;background-position:center!important;color:#fff!important;border-color:#313134!important}
.agency-shell .agency-item-visual[style*="--agency-image"] h3,.agency-shell .agency-item-visual[style*="--agency-image"] strong,.agency-shell .agency-item-visual[style*="--agency-image"] small,.agency-shell .agency-item-visual[style*="--agency-image"] p,.agency-shell .agency-item-visual[style*="--agency-image"] span{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.agency-shell .agency-plan-grid article{position:relative;overflow:visible!important;margin-top:16px;padding-top:34px!important}
.agency-shell .agency-plan-grid article .agency-plan-tag{background:#151515!important;color:#fff!important;border:1px solid #e82127!important;border-radius:10px;padding:7px 14px;position:absolute;left:50%;top:0;transform:translate(-50%,-50%);min-width:48%;max-width:90%;text-align:center!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important;margin:0!important;font-size:15px}
.agency-shell .agency-plan-tag img{max-width:100%;max-height:47px;object-fit:contain;vertical-align:middle}
.agency-member-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.agency-shell .agency-studio-visuals>p{color:#60636d;font-size:12px}
.agency-shell .agency-visual-slot-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.agency-shell .agency-visual-slot{background:#fff!important;border:1px solid #e9e7e6!important;border-radius:16px;padding:13px;min-width:0;display:grid!important;gap:9px;color:#202124!important}
.agency-shell .agency-visual-slot>strong{font-size:12px;font-weight:850}.agency-shell .agency-visual-slot>small{color:#7b7b80;font-size:10px}
.agency-shell .agency-visual-slot>img{width:100%;height:112px;object-fit:cover;border-radius:10px;border:1px solid #e7e7e9;display:block}
.agency-shell .agency-visual-slot>img[hidden]{display:none!important}
.agency-shell .agency-visual-slot>input[type=file]{font-size:10px;width:100%}.agency-shell .agency-visual-slot>input[type=url]{background:#fafafa!important;border:1px solid #ddd!important;color:#161619!important;padding:10px;border-radius:8px;font-size:11px;width:100%}
.agency-shell .agency-remove-control{display:flex;align-items:center;gap:6px;font-size:11px;color:#a32c31}
.agency-shell .agency-lesson-editor{padding:12px;border:1px solid #eee!important;background:#faf8f7!important;border-radius:12px;margin:12px 0;display:grid;gap:9px}
.agency-shell .agency-lesson-editor label{font-size:11px}.agency-shell .agency-lesson-editor input{width:100%;min-width:0}.agency-shell .agency-lesson-editor button{justify-self:start}
.agency-shell .agency-training-grid article video{width:100%;border-radius:12px;aspect-ratio:16/9;background:#0a0a0a;margin:12px 0}
.agency-shell .agency-connection-steps{margin:15px 0 25px}.agency-shell .agency-connection-steps>h2{font-size:19px;margin:0 0 13px;color:#17171b}.agency-shell .agency-connection-steps>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.agency-shell .agency-connection-steps article{border:1px solid #e8e8e9;background:#fff;border-radius:15px;padding:17px;display:grid;align-content:start;gap:8px}
.agency-shell .agency-connection-steps b{font-size:11px;color:#e82127}.agency-shell .agency-connection-steps strong{font-size:12px;color:#202024}.agency-shell .agency-connection-steps p{font-size:10px;line-height:1.55;color:#6c6c73;margin:0}
.agency-shell .agency-brand-controls .agency-control-section{box-shadow:none!important}
.agency-shell .agency-save-brand{background:var(--agency-accent)!important;color:#fff!important;border:0!important}
.agency-shell .agency-brand-preview{box-shadow:none!important}
@media(max-width:1100px){.agency-shell .agency-connection-steps>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.agency-shell .agency-visual-slot-list{grid-template-columns:1fr}.agency-shell .agency-brand{height:85px!important}.agency-shell .agency-brand-logo{max-width:170px!important}.agency-shell .agency-connection-steps>div{grid-template-columns:1fr}}

.agency-shell .agency-slot-filter-label{display:grid;gap:6px;margin:12px 0!important;color:#19191a;font-size:12px;font-weight:750}.agency-shell .agency-slot-filter-label select{background:#fff!important;color:#181819!important;border:1px solid #ddd!important;border-radius:10px;padding:10px}.agency-shell [data-agency-slot-group][hidden]{display:none!important}

.agency-shell .agency-uploaded-banner,.agency-shell .agency-item-visual[style*="--agency-image"]{background-color:var(--agency-image-tint,#090909)!important}

/* 0.6.6 — agência compradora: cores e fundos sem afetar o estúdio do fabricante */
.agency-shell{--agency-dark:var(--agency-user-sidebar,#090909);}
.agency-shell .agency-sidebar{background:var(--agency-user-sidebar,#090909)!important;}
.agency-shell .agency-main,.agency-shell .agency-page{background-color:var(--agency-brand-bg,#F5F5F3)!important;}
.agency-brand-full-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.agency-brand-full-form>.agency-panel:nth-child(3),.agency-brand-full-form>.agency-panel:nth-child(4),.agency-brand-save{grid-column:1/-1}
.agency-brand-full-form>.agency-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start}
.agency-brand-full-form>.agency-panel>.agency-panel-head{grid-column:1/-1}
.agency-brand-full-form label{display:grid;gap:7px;min-width:0;font-size:12px;color:#ddd}
.agency-brand-full-form label.wide{grid-column:1/-1}
.agency-brand-full-form input[type=color]{width:100%;height:50px;border:1px solid #333;border-radius:12px;cursor:pointer;padding:4px}
.agency-brand-full-form input:not([type=color]):not([type=checkbox]):not([type=range]){min-width:0;width:100%;border-radius:10px;padding:12px;background:#101216;color:white;border:1px solid #444}
.agency-brand-full-form input[type=range]{width:100%;accent-color:var(--agency-accent)}
.agency-current-logo{display:block;max-height:80px;max-width:200px;object-fit:contain;margin:8px 0}
.agency-background-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;grid-column:1/-1}
.agency-background-field{padding:13px;background:#202225;border:1px solid #37383c;border-radius:14px}
.agency-background-field img,.agency-background-placeholder{display:block;width:100%;height:108px;object-fit:cover;border-radius:10px;background:#111;color:#888;font-size:10px}
.agency-background-placeholder{display:grid;place-items:center}
.agency-background-field small{display:flex;align-items:center;gap:7px;font-size:11px}
.agency-brand-live-preview{display:grid;grid-template-columns:170px 1fr;grid-column:1/-1;min-height:230px;border-radius:18px;overflow:hidden;background:var(--agency-brand-bg);color:var(--agency-user-text);border:1px solid #444}
.agency-live-sidebar{background:var(--agency-user-sidebar);padding:20px;display:grid;align-content:start;gap:12px;color:#fff}
.agency-live-sidebar b{font-size:17px}.agency-live-sidebar span{font-size:12px;padding:10px;border-radius:8px;background:rgba(255,255,255,.08)}
.agency-live-main{padding:24px;color:var(--agency-user-text);display:grid;align-content:start;gap:12px}
.agency-live-main small{color:var(--agency-accent);font-size:10px;font-weight:900}.agency-live-main h3{font-size:22px;color:var(--agency-user-text);margin:0}
.agency-live-main>div{display:flex;justify-content:space-between;padding:13px;background:#fff;border-radius:12px;color:#111}
.agency-brand-save button{background:var(--agency-accent);padding:15px 30px;border:0;border-radius:12px;color:#fff;font-weight:800;cursor:pointer}
@media(max-width:920px){.agency-brand-full-form{grid-template-columns:1fr}.agency-brand-full-form>.agency-panel{grid-column:1/-1}.agency-background-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.agency-background-grid{grid-template-columns:1fr}.agency-brand-live-preview{grid-template-columns:100px 1fr}.agency-live-main{padding:12px}}

/* Owner-only workspace: independent from buyer settings. */
.pulse-owner-login,.pulse-owner-dashboard{font-family:Inter,Arial,sans-serif;background:#f6f6f5;color:#111;min-height:100vh}.pulse-owner-login{display:grid;place-items:center;padding:25px;background:#101010}.pulse-owner-login-card{width:min(440px,100%);padding:38px;background:#1b1b1d;color:#fff;border:1px solid #383838;border-radius:24px}.pulse-owner-tag,.pulse-owner-dashboard header>span{font-size:11px;letter-spacing:.14em;color:#ef343a;font-weight:900}.pulse-owner-login-card h1{font-size:30px;margin:14px 0}.pulse-owner-login-card p{color:#b4b4b6;font-size:14px}.pulse-owner-login-card form,.pulse-owner-login-card label{display:grid;gap:9px}.pulse-owner-login-card form{gap:19px;margin-top:24px}.pulse-owner-login-card input{background:#111;border:1px solid #464646;border-radius:10px;color:#fff;padding:13px;font-size:15px}.pulse-owner-login-card button,.pulse-owner-save{background:#e82127;color:white;border:0;padding:15px;border-radius:11px;font-weight:800;cursor:pointer}.pulse-owner-alert,.pulse-owner-success{padding:14px;margin:14px 0;background:#542525;border-radius:9px;color:#fff}.pulse-owner-success{background:#e0f4e5;color:#164e29}.pulse-owner-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr)}.pulse-owner-sidebar{background:#090909;color:white;padding:30px 20px}.pulse-owner-mark{font-size:30px;font-weight:1000;color:#e82127}.pulse-owner-mark span{font-size:12px;color:white}.pulse-owner-sidebar nav{display:grid;gap:9px;margin-top:45px}.pulse-owner-sidebar a{padding:12px;color:#fff;text-decoration:none;border-radius:9px;background:#1b1b1b}.pulse-owner-content{padding:40px;max-width:1300px;width:100%;margin:0 auto}.pulse-owner-content header h1{font-size:36px;margin:8px 0}.pulse-owner-content header p{max-width:740px;color:#666}.pulse-owner-panel{margin:22px 0;background:#fff;border:1px solid #e1e1e1;border-radius:20px;padding:25px}.pulse-owner-panel h2{font-size:21px}.pulse-owner-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pulse-owner-fields label{display:grid;align-content:start;gap:8px;font-weight:700;font-size:13px}.pulse-owner-fields input:not([type=checkbox]){width:100%;min-width:0;padding:12px;border-radius:10px;border:1px solid #ddd}.pulse-owner-fields input[type=color]{height:48px}.pulse-owner-fields input[type=range]{accent-color:#e82127}.pulse-owner-img-preview{width:100%;height:115px;object-fit:contain;border-radius:9px;background:#eee}.pulse-owner-remove{display:flex;gap:8px;font-weight:400}.pulse-owner-mini{display:grid;grid-template-columns:160px 1fr;border:1px solid #ddd;border-radius:15px;overflow:hidden}.pulse-owner-mini aside{color:white;padding:16px;display:grid;gap:12px;align-content:start}.pulse-owner-mini aside span{font-size:11px}.pulse-owner-mini>div{padding:20px}.pulse-owner-mini i{display:block;width:80%;height:6px;border-radius:8px}.pulse-owner-save{margin:10px 0 40px;min-width:230px}@media(max-width:750px){.pulse-owner-dashboard{display:block}.pulse-owner-sidebar{padding:16px}.pulse-owner-sidebar nav{display:flex;overflow:auto;margin-top:14px}.pulse-owner-sidebar a{white-space:nowrap}.pulse-owner-content{padding:15px}.pulse-owner-fields{grid-template-columns:1fr}}

.pulse-owner-wp-link{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;margin-top:10px;border-radius:11px;background:#e82127;color:#fff!important;text-decoration:none;font-weight:800;font-size:13px}.pulse-owner-wp-link:hover{background:#c91920}.pulse-owner-login-card .pulse-owner-success{font-size:13px;line-height:1.55}

/* v0.6.9 · proprietário: painel fechado, preto sólido e imagens sem recorte */
.pulse-owner-dashboard{grid-template-columns:250px minmax(0,1fr);background:#f5f4f1!important}
.pulse-owner-dashboard .pulse-owner-sidebar{background:#080808!important;background-image:none!important;color:#fff!important;position:sticky;top:0;height:100vh;overflow:auto;border-right:1px solid #252525;box-shadow:none!important}
.pulse-owner-dashboard .pulse-owner-mark{display:flex;align-items:center;gap:6px}.pulse-owner-dashboard .pulse-owner-mark strong{font-size:26px;letter-spacing:-.05em;color:#e82127}.pulse-owner-dashboard .pulse-owner-mark span{font-size:10px;letter-spacing:.12em}
.pulse-owner-sidebar-desc{font-size:11px;color:#929292;margin:10px 0 24px}.pulse-owner-dashboard .pulse-owner-sidebar nav{margin-top:15px;gap:6px}.pulse-owner-dashboard .pulse-owner-sidebar nav button,.pulse-owner-dashboard .pulse-owner-sidebar nav a{background:transparent;border:1px solid transparent;border-radius:10px;color:#c9c9c9;font-weight:700;font-size:12px;text-align:left;padding:13px 14px;cursor:pointer;width:100%;text-decoration:none}.pulse-owner-dashboard .pulse-owner-sidebar nav button:hover,.pulse-owner-dashboard .pulse-owner-sidebar nav a:hover,.pulse-owner-dashboard .pulse-owner-sidebar nav button.is-active{color:#fff;background:#1e1e20;border-color:#343438;box-shadow:inset 3px 0 #e82127}.po-owner-note{font-size:10px;line-height:1.65;color:#8b8b8b;margin-top:22px;padding-top:16px;border-top:1px solid #252525}
.pulse-owner-dashboard .pulse-owner-content{max-width:1460px;padding:32px 36px}.pulse-owner-dashboard .po-heading{padding:12px 0 18px;background:none;color:#151515;border-radius:0;display:flex;justify-content:space-between;gap:16px}.po-heading h1{font-size:clamp(25px,3vw,36px)}.pulse-owner-dashboard .po-heading p{max-width:740px;color:#666}.po-heading-count{border:1px solid #d7d7d7;border-radius:999px;padding:9px 13px;align-self:start;white-space:nowrap;font-size:11px;color:#555}
.pulse-owner-dashboard .po-panel{display:none;background:#fff;border:1px solid #e1e1e1;border-radius:20px;padding:26px;margin:10px 0 18px}.pulse-owner-dashboard .po-panel.is-visible{display:block}.pulse-owner-dashboard .po-panel[hidden]{display:none!important}.po-panel-intro{padding-bottom:16px;margin-bottom:19px;border-bottom:1px solid #eee}.po-panel-intro>span{color:#e82127;letter-spacing:.12em;font-weight:900;font-size:10px}.po-panel-intro h2{margin:8px 0;font-size:22px}.po-panel-intro p{font-size:12px;color:#666;max-width:740px;line-height:1.6}
.pulse-owner-dashboard .pulse-owner-fields label{padding:13px;border:1px solid #e9e9e9;border-radius:12px;background:#fbfbfa}.pulse-owner-fields label small{color:#777;font-size:10px;font-weight:400}.pulse-owner-fields label output{font-weight:800;color:#111}
.po-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.po-media-card{padding:16px;border:1px solid #e2e2e2;border-radius:16px;background:#fcfbf9;display:grid;align-content:start;gap:11px;min-width:0}.po-media-heading{display:flex;justify-content:space-between;align-items:baseline;gap:9px;flex-wrap:wrap}.po-media-heading h3{font-size:14px;margin:0}.po-media-heading>span{font-size:10px;color:#6b6b6b}.po-media-preview{width:100%;min-height:110px;aspect-ratio:var(--po-ratio);background:#151515;border:1px solid #383838;border-radius:11px;display:grid;place-items:center;overflow:hidden}.po-media-preview img{width:100%;height:100%;object-fit:contain!important;object-position:center;display:block}.po-media-preview img[hidden],.po-media-preview .po-media-empty[hidden]{display:none!important}.po-media-empty{font-size:11px;color:#aaa}.po-media-card p{color:#6f6f6f;font-size:11px;line-height:1.55;min-height:34px;margin:0}.po-media-card label{display:grid;gap:8px;font-weight:700;font-size:11px}.po-media-card input[type=file]{padding:11px;border:1px dashed #bbb;background:#fff;border-radius:9px;max-width:100%;font-size:11px}.po-media-card .po-remove{display:flex;align-items:center;gap:7px;font-size:11px;color:#777;font-weight:400}
.po-savebar{position:sticky;bottom:12px;z-index:3;display:flex;gap:18px;justify-content:space-between;align-items:center;border-radius:15px;border:1px solid #dedede;background:rgba(255,255,255,.97);box-shadow:0 12px 32px rgba(0,0,0,.08);padding:13px 18px}.po-savebar p{margin:0;font-size:11px;color:#666}.po-savebar .pulse-owner-save{margin:0;white-space:nowrap}
.po-live{display:grid;grid-template-columns:190px 1fr;min-height:340px;border:1px solid #ddd;border-radius:16px;overflow:hidden}.po-live>aside{background:#090909;color:#fff;display:grid;align-content:start;gap:14px;padding:24px 17px}.po-live>aside strong{color:var(--po-primary);font-size:22px}.po-live>aside span{background:#202020;border-radius:10px;padding:10px;font-size:12px}.po-live>main{background:var(--po-bg);color:var(--po-text);padding:24px;min-width:0}.po-live-banner{background:linear-gradient(135deg,#151515,#290e0e);color:#fff;padding:25px;border-radius:15px;min-height:125px;display:grid;align-content:center;gap:9px;background-size:100% 100%,contain;background-repeat:no-repeat;background-position:center}.po-live-banner strong{font-size:22px}.po-live-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px}.po-live-cards>div{background:var(--po-surface);border:1px solid #ddd;border-radius:11px;padding:15px;display:grid;gap:6px}.po-live-cards small{font-size:10px}.po-live-cards strong{font-size:17px;color:var(--po-text)}
/* Both operational and owner sidebars remain black and opaque. */
.agency-shell .agency-sidebar,.pulse-owner-dashboard .pulse-owner-sidebar{background-color:#090909!important;backdrop-filter:none!important}
/* No zoom/cropping for uploaded banners and card images. */
.agency-shell .agency-uploaded-banner,.agency-shell .agency-hero.agency-has-bg,.agency-shell .agency-item-visual[style*="--agency-image"]{background-size:100% 100%,contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:var(--agency-image-tint,#090909)!important}
@media(max-width:940px){.po-media-grid{grid-template-columns:1fr}.pulse-owner-dashboard .pulse-owner-content{padding:18px}.po-savebar{flex-wrap:wrap}.po-live-cards{grid-template-columns:1fr}}
@media(max-width:750px){.pulse-owner-dashboard{display:block}.pulse-owner-dashboard .pulse-owner-sidebar{position:relative;height:auto;padding:14px}.pulse-owner-dashboard .pulse-owner-sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.pulse-owner-dashboard .pulse-owner-sidebar nav button,.pulse-owner-dashboard .pulse-owner-sidebar nav a{width:auto}.po-owner-note{display:none}.po-heading-count{display:none}.pulse-owner-dashboard .po-panel{padding:16px}.pulse-owner-dashboard .pulse-owner-fields{grid-template-columns:1fr}.po-live{grid-template-columns:110px 1fr}.po-live>main{padding:10px}.po-live>aside{padding:10px}.po-live-banner{padding:12px}}

.agency-shell .agency-sidebar,.pulse-owner-dashboard .pulse-owner-sidebar{background-image:none!important;background-color:#090909!important;opacity:1!important}

/* 0.7.0 — Full natural aspect-ratio banners. No zoom or crop. */
.agency-shell .agency-hero.agency-hero-with-picture{
  display:block!important;position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;overflow:hidden!important;background:#090909!important;background-image:none!important;
  border-radius:22px!important;line-height:normal!important;
}
.agency-shell .agency-hero.agency-hero-with-picture .agency-hero-picture,
.agency-shell .agency-banner-image-only>img{
  display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;border:0!important;position:relative!important;
  inset:auto!important;transform:none!important;filter:none!important;opacity:1!important;
}
.agency-shell .agency-hero.agency-hero-with-picture:before,
.agency-shell .agency-hero.agency-hero-with-picture:after,
.agency-shell .agency-uploaded-banner.agency-banner-image-only:before,
.agency-shell .agency-uploaded-banner.agency-banner-image-only:after{content:none!important;display:none!important}
.agency-shell .agency-hero.agency-hero-with-picture .agency-hero-copy{position:absolute!important;left:4%!important;top:50%!important;transform:translateY(-50%)!important;max-width:70%;margin:0!important;z-index:2;pointer-events:none;text-shadow:0 1px 8px #000}
.agency-shell .agency-hero.agency-hero-with-picture .agency-health{position:absolute!important;right:3%!important;top:50%!important;transform:translateY(-50%)!important;z-index:2}
.agency-shell .agency-uploaded-banner.agency-banner-image-only{display:block!important;min-height:0!important;height:auto!important;padding:0!important;aspect-ratio:auto!important;background:#090909!important;background-image:none!important;overflow:hidden!important;border-radius:20px!important;margin:0 0 20px!important}
.agency-hero-options{grid-column:1/-1;background:#17191c;border:1px solid #36383b;border-radius:13px;padding:14px;display:grid;gap:10px}
.agency-hero-options h3{font-size:14px;margin:0;color:#fff}.agency-hero-options p{font-size:11px;color:#b6b6b6;margin:0 0 6px}
.agency-shell .agency-hero-toggle{display:flex!important;gap:10px;align-items:center;justify-content:flex-start;font-size:11px;color:#eee}
.agency-hero-toggle input{width:auto!important;accent-color:var(--agency-accent)}
.po-hero-controls{grid-column:1/-1;border:1px solid #ddd;padding:16px;border-radius:14px;background:#faf9f7;display:grid;gap:8px}
.po-hero-controls h3{margin:0}.po-hero-controls p{font-size:12px;color:#555;margin:0 0 8px}
.pulse-owner-dashboard .pulse-owner-fields .po-hero-checkbox{display:flex!important;flex-direction:row!important;gap:10px!important;align-items:center!important}
.po-hero-checkbox input{width:auto!important;flex:0 0 auto}
.pulse-owner-dashboard .po-live-banner.po-live-banner-with-image{display:block!important;min-height:0!important;height:auto!important;padding:0!important;background:#090909!important;background-image:none!important;overflow:hidden!important}
.po-live-banner>img{display:block;width:100%;height:auto;object-fit:contain}
.po-live-banner>img[hidden],.po-live-banner>[hidden]{display:none!important}
@media(max-width:700px){.agency-shell .agency-hero.agency-hero-with-picture{min-height:0!important;padding:0!important}.agency-shell .agency-hero.agency-hero-with-picture .agency-hero-copy{max-width:84%;font-size:75%}.agency-shell .agency-hero.agency-hero-with-picture .agency-health{display:none!important}}

/* Pulse 0.7.1: solid-black continuous sidebar, financial submenu and legible plans */
.agency-shell .agency-sidebar,.agency-shell .agency-brand,.agency-shell .agency-nav,.agency-shell .agency-nav-group,.agency-shell .agency-subnav,.agency-shell .agency-sidebar-bottom{background-color:#050505!important;background-image:none!important;backdrop-filter:none!important;opacity:1!important}
.agency-shell .agency-sidebar{border-right:1px solid #202020!important;box-shadow:none!important}
.agency-shell .agency-brand{border-bottom:1px solid #252525!important}
.agency-shell .agency-nav{overflow:visible!important;max-height:none!important;scrollbar-width:none!important}
.agency-shell .agency-nav-group.open .agency-subnav{display:grid!important;overflow:visible!important;max-height:none!important;background:#050505!important}
.agency-shell .agency-subnav{border-left:1px solid #333!important;margin-left:25px!important;padding-left:13px!important;gap:1px!important}
.agency-shell .agency-subnav a{display:flex!important;align-items:center;min-height:34px;padding:8px 12px!important;color:#c7c7cb!important;background:#050505!important;border-radius:8px!important;line-height:1.35!important}
.agency-shell .agency-subnav a:hover,.agency-shell .agency-subnav a:focus-visible{background:#1a1a1c!important;color:#fff!important;outline:none!important}
.agency-shell .agency-nav-group>a[data-agency-finance-toggle]{cursor:pointer!important}
.agency-shell .agency-nav-group>a[data-agency-finance-toggle] i{transition:transform .2s ease}
.agency-shell .agency-nav-group.open>a[data-agency-finance-toggle] i{transform:rotate(180deg)}
.agency-shell .agency-plan-pill{background:#101012!important;border:1px solid #272729!important;color:#f6f6f7!important}
.agency-shell .agency-plan-pill span,.agency-shell .agency-plan-pill small{color:#adadb6!important}
.agency-shell .agency-plan-pill strong{color:#fff!important}
.agency-shell .agency-nav>a:not(.active),.agency-shell .agency-nav-group>a:not(.active){color:#d1d1d4!important}
.agency-shell .agency-nav>a.active,.agency-shell .agency-nav-group>a.active{background:#1b1b1d!important;color:#fff!important;box-shadow:inset 3px 0 var(--agency-accent)!important}
.agency-shell .agency-plan-grid article{background-color:#16181b!important;background-image:linear-gradient(130deg,#17191c,#131517)!important;color:#f9fafb!important;border:1px solid #303237!important;box-shadow:none!important}
.agency-shell .agency-plan-grid article>span,.agency-shell .agency-plan-grid article>p,.agency-shell .agency-plan-grid article>ul,.agency-shell .agency-plan-grid article>ul li{color:#d3d6da!important}
.agency-shell .agency-plan-grid article>strong{color:#fff!important;font-size:clamp(23px,2vw,32px)!important;font-weight:850!important}
.agency-shell .agency-plan-grid article>.agency-plan-tag{background:#090909!important;color:#fff!important;border:1px solid var(--agency-accent)!important}
.agency-shell .agency-plan-grid article .agency-status{color:#08623f!important;background:#dcfce9!important;border:1px solid #b1e6c7!important}
.agency-shell .agency-plan-grid article[style*="--agency-image"]{background-image:linear-gradient(125deg,rgba(0,0,0,.58),rgba(0,0,0,.58)),var(--agency-image)!important;background-size:cover!important;background-position:center!important}
.agency-shell .agency-plan-grid article[style*="--agency-image"]>strong,.agency-shell .agency-plan-grid article[style*="--agency-image"]>span,.agency-shell .agency-plan-grid article[style*="--agency-image"]>p,.agency-shell .agency-plan-grid article[style*="--agency-image"] li{color:#fff!important}
.agency-shell .agency-stat-grid article>i,.agency-shell .agency-kpi>i{color:var(--agency-accent)!important;background:#fff2f2!important;border:1px solid #f7d7d9!important}
.agency-shell .agency-topbar,.agency-shell .agency-page-head,.agency-shell .agency-main{color:var(--agency-text)!important}
@media(min-width:821px){.agency-shell .agency-sidebar{position:relative!important;align-self:stretch!important;min-height:100vh!important;height:auto!important;overflow:visible!important}}
@media(max-width:820px){.agency-shell .agency-sidebar{position:fixed!important;height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important}}

/* v0.7.3 - reduced content width, accessible contrast and compact banners */
.agency-shell .agency-page{max-width:1180px!important;width:calc(100% - 48px)!important;margin:0 auto!important;padding:22px 0 72px!important}
.agency-shell .agency-uploaded-banner.agency-banner-image-only{max-width:1040px!important;margin:0 auto 20px!important;border-radius:16px!important}
.agency-shell .agency-page-head{margin-bottom:18px!important}
.agency-shell .agency-page-head h1{font-size:clamp(22px,2.4vw,32px)!important}
.agency-shell button,.agency-shell [class*="button"]{font-weight:750}
.agency-shell .agency-page-head button,.agency-shell .agency-panel-head button,.agency-shell .agency-integration-actions>button,.agency-shell .agency-primary-button{background:var(--agency-accent)!important;color:#fff!important;border-color:var(--agency-accent)!important;text-shadow:none!important}
.agency-shell .agency-page-head button:hover,.agency-shell .agency-panel-head button:hover,.agency-shell .agency-primary-button:hover{filter:brightness(.9);color:#fff!important}
.agency-shell .agency-form label input,.agency-shell .agency-form select,.agency-shell .agency-form textarea{border-radius:10px!important;min-height:43px;line-height:1.35}
.agency-shell .agency-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;max-width:950px;margin:0 auto}
.agency-shell .agency-plan-grid article{border-radius:20px!important;min-height:275px!important;padding:32px 24px 20px!important;background:#151515!important;color:#fff!important}
.agency-shell .agency-plan-grid article>strong{color:#fff!important}.agency-shell .agency-plan-grid article>p,.agency-shell .agency-plan-grid article li{color:#e0e0e0!important}
.agency-shell .agency-plan-grid article .agency-plan-tag{border-color:var(--agency-accent)!important;background:#080808!important;color:#fff!important}
.agency-plan-edit{display:block;margin-top:14px;padding:9px 16px!important;border-radius:9px;border:1px solid #505055!important;background:#242428!important;color:#fff!important;font-size:12px;cursor:pointer}
.agency-video-open{width:100%;padding:16px!important;border-radius:12px;border:1px solid color-mix(in srgb,var(--agency-accent) 28%,#ddd)!important;background:#13151a!important;color:#fff!important;font-size:12px;cursor:pointer}
.agency-video-overlay[hidden]{display:none!important}.agency-video-overlay{position:fixed;inset:0;background:rgba(0,0,0,.84);z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px}
.agency-video-panel{width:min(860px,96vw);background:#111;border-radius:18px;overflow:hidden;box-shadow:0 24px 90px #0008}
.agency-video-panel header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;color:#fff;gap:10px}.agency-video-panel header div{display:flex;gap:8px}.agency-video-panel header button{background:#292a2e!important;color:#fff!important;border:1px solid #444!important;padding:9px 12px;border-radius:9px;cursor:pointer}
.agency-video-panel video{display:block;width:100%;max-height:72vh;aspect-ratio:16/9;background:#000}
.agency-video-overlay.is-mini{pointer-events:none;inset:auto 20px 20px auto;background:transparent;padding:0;width:min(340px,calc(100vw - 24px))}.agency-video-overlay.is-mini .agency-video-panel{width:100%;pointer-events:auto;border:1px solid #444}.agency-video-overlay.is-mini .agency-video-panel video{max-height:190px}.agency-video-overlay.is-mini .agency-video-panel header{padding:8px}.agency-video-overlay.is-mini .agency-video-panel header strong{font-size:11px}
.agency-product-list{display:grid;gap:8px}.agency-product-list>div{display:grid;grid-template-columns:minmax(0,2fr) 1fr minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #ddd;background:#fafafa;padding:12px;border-radius:12px;color:#181818}.agency-product-list small{word-break:break-word}.agency-product-list a{border:1px solid #ddd;padding:8px;border-radius:8px}
@media(max-width:760px){.agency-shell .agency-page{width:calc(100% - 24px)!important}.agency-shell .agency-plan-grid{grid-template-columns:1fr!important}.agency-product-list>div{grid-template-columns:1fr 1fr}.agency-product-list a{grid-column:1/-1}}
.pulse-owner-dashboard .po-academy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.po-lesson-editor{border:1px solid #ddd;border-radius:14px;padding:16px;background:#fff}.po-lesson-editor form{display:grid;gap:12px}.po-lesson-editor label{font-size:12px;display:grid;gap:6px}.po-lesson-editor input[type=url],.po-lesson-editor input[type=file]{max-width:100%;padding:9px;border:1px solid #ddd;border-radius:9px}.po-lesson-editor .po-save-lesson{background:#e82127;color:#fff;border:0;border-radius:10px;padding:12px}@media(max-width:700px){.pulse-owner-dashboard .po-academy-grid{grid-template-columns:1fr}}

/* v0.7.4 — layout consistency & image fidelity, no payment API behavior changed */
.agency-shell .agency-page{max-width:1180px!important;width:calc(100% - 48px)!important;margin:0 auto!important}
.agency-shell .agency-uploaded-banner.agency-banner-image-only{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 22px!important;padding:0!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;background:#0b0b0d!important;overflow:hidden!important;border-radius:17px!important}
.agency-shell .agency-uploaded-banner.agency-banner-image-only img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;position:static!important}
.agency-shell .agency-page-head,.agency-shell .agency-dashboard-grid,.agency-shell .agency-plan-grid,.agency-shell .agency-stat-grid,.agency-shell .agency-training-grid{width:100%!important;max-width:100%!important}
/* All action buttons remain legible on brand-red, including tabbed finance and modal forms. */
.agency-shell button[type=submit],.agency-shell .agency-primary-button,.agency-shell .agency-page-head>button,.agency-shell .agency-top-actions>button,.agency-shell .agency-panel-head button,.agency-shell .agency-form>div.wide>button,.agency-shell .agency-tabs a.active,.agency-shell .agency-modal .agency-form button[type=submit]{background:var(--agency-accent)!important;color:#fff!important;border-color:var(--agency-accent)!important;text-shadow:none!important;box-shadow:none!important}
.agency-shell button[type=submit]:hover,.agency-shell .agency-primary-button:hover,.agency-shell .agency-page-head>button:hover,.agency-shell .agency-top-actions>button:hover,.agency-shell .agency-tabs a.active:hover{background:color-mix(in srgb,var(--agency-accent) 80%,#000)!important;color:#fff!important;filter:none!important}
.agency-shell button[type=button]:not(.agency-modal-close):focus-visible,.agency-shell button[type=submit]:focus-visible,.agency-shell a:focus-visible{outline:2px solid var(--agency-accent)!important;outline-offset:2px}
.agency-shell .agency-plan-grid{gap:25px!important;padding-top:17px!important}
.agency-shell .agency-plan-grid article{min-width:0!important;min-height:300px!important;padding:40px 25px 24px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important}
.agency-shell .agency-plan-grid article>strong{font-size:clamp(24px,2.25vw,33px)!important;line-height:1.2!important;color:#fff!important}
.agency-shell .agency-plan-grid article>p,.agency-shell .agency-plan-grid article ul,.agency-shell .agency-plan-grid article li{color:#f1f1f3!important;line-height:1.45!important}
.agency-shell .agency-plan-grid article>ul{padding-left:0!important;list-style:none!important;display:grid!important;gap:8px!important;margin:11px 0!important}
.agency-shell .agency-plan-grid article .agency-plan-edit{margin-top:auto!important;background:#28292b!important;color:#fff!important;border-color:#5b5b61!important;min-height:39px!important;padding:10px 15px!important}
.agency-shell .agency-plan-grid article .agency-plan-edit:hover{background:#3b3b3d!important;color:#fff!important}
.agency-shell .agency-plan-grid article .agency-plan-tag{z-index:2!important;max-width:calc(100% - 38px)!important;white-space:normal!important;line-height:1.2!important}
/* Academy cards: tighter visual grouping, progress and accessible video buttons. */
.agency-shell .agency-training-grid{gap:16px!important}
.agency-shell .agency-training-grid article{position:relative!important;overflow:hidden!important;border:1px solid #e5e5e8!important;border-radius:18px!important;background:linear-gradient(155deg,#fff,#f8f8f9)!important;padding:22px!important;min-height:250px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:11px!important;box-shadow:0 6px 22px rgba(14,14,20,.035)!important}
.agency-shell .agency-training-grid article:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--agency-accent);display:block!important}
.agency-shell .agency-training-grid article>span{background:#fff0f0!important;color:#b91c24!important;border-radius:12px!important;width:37px!important;height:37px!important;display:grid!important;place-items:center!important;font-weight:800!important;font-size:12px!important}
.agency-shell .agency-training-grid article>h3{color:#16191d!important;font-size:17px!important;margin:0!important}
.agency-shell .agency-training-grid article>p{color:#646a72!important;line-height:1.6!important;font-size:12px!important;margin:0!important}
.agency-shell .agency-training-grid article>.agency-video-open{margin-top:auto!important;background:#18191c!important;border-color:#18191c!important;color:#fff!important}
.agency-shell .agency-training-grid article>form{width:100%!important}.agency-shell .agency-training-grid article>form button{width:100%;min-height:38px}
/* External providers remain account-specific; simplify badges and avoid decorative halos. */
.agency-shell .agency-integration-cards article,.agency-shell .agency-product-list>div{box-shadow:none!important;border-color:#e4e5e8!important;border-radius:15px!important}
.agency-shell .agency-lotux-connect{background:#161719!important;border-color:#35363b!important;border-radius:18px!important;box-shadow:none!important}
.agency-shell .agency-lotux-connect *{text-shadow:none!important}
.agency-shell .agency-lotux-brand h2,.agency-shell .agency-lotux-brand p{color:#fff!important}
.agency-shell .agency-lotux-brand p{opacity:.78}
.agency-shell .agency-lotux-state a{background:var(--agency-accent)!important;color:#fff!important;border-color:var(--agency-accent)!important}
@media(max-width:760px){.agency-shell .agency-page{width:calc(100% - 24px)!important}.agency-shell .agency-uploaded-banner.agency-banner-image-only{width:100%!important;border-radius:13px!important}.agency-shell .agency-plan-grid article{min-height:0!important}}

/* 0.7.5 exclusive Lotux Pay integration */
.agency-lotux-exclusivo{max-width:1160px;margin-left:auto;margin-right:auto}
.agency-lotux-exclusivo .agency-panel-head{align-items:flex-start;gap:18px}
.agency-lotux-exclusivo details.wide{grid-column:1/-1;border:1px solid #e5e7eb;border-radius:15px;padding:15px;background:#f9fafb}
.agency-lotux-exclusivo details summary{cursor:pointer;color:#24262a;font-weight:750}
.agency-lotux-exclusivo details[open] .agency-form{padding-top:16px}
.agency-pay-webhook-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.agency-pay-webhook-data label{display:grid;gap:7px;color:#303136;font-weight:700;font-size:12px}
.agency-pay-webhook-data label:last-child{grid-column:1/-1}
.agency-pay-webhook-data input{max-width:100%;width:100%;box-sizing:border-box;padding:12px 13px;border-radius:11px;border:1px solid #d9dde3;background:#f8f9fa;color:#222}
@media(max-width:700px){.agency-pay-webhook-data{grid-template-columns:1fr}}

/* 0.7.7 calendar client filter */
.agency-calendar-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 17px;margin:0 0 18px;background:var(--agency-surface,#fff);border:1px solid var(--agency-border,#e2e5eb);border-radius:16px}
.agency-calendar-filter label{font-size:11px;font-weight:850;color:var(--agency-text,#111)}
.agency-calendar-filter select{min-width:220px;max-width:100%;padding:10px 12px;border:1px solid var(--agency-border,#e2e5eb);border-radius:10px;background:#fff;color:#171c22}
.agency-calendar-filter button{padding:10px 16px;border:0;border-radius:10px;background:var(--agency-accent,#e82127);color:#fff;font-weight:800;cursor:pointer}
.agency-calendar-filter a{font-size:11px;font-weight:800;padding:10px;color:var(--agency-text,#171c22)}
@media(max-width:700px){.agency-calendar-filter select{width:100%}}
