/* Agency V3 shell and overview — rebuilt composition, shared by all agency routes. */
/* Locale variant: retain the same shell while mirroring its navigation in LTR. */
html[dir="ltr"] .agency-v2-shell .agency-sidebar{inset:0 auto 0 0;box-shadow:8px 0 30px #07183312}
html[dir="ltr"] .agency-v2-shell .agency-main{margin:0 0 0 250px}
html[dir="ltr"] .agency-v2-shell .sidebar-collapse{left:auto;right:10px}
html[dir="ltr"] .agency-v2-shell .agency-sidebar-brand .brand{direction:ltr}
html[dir="ltr"] .agency-v2-shell .agency-topbar-user{direction:ltr}
html[dir="ltr"] .agency-v2-shell .agency-topbar{direction:ltr}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-main{margin-left:76px;margin-right:0}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-sidebar{width:76px}
html[dir="ltr"] .agency-v2-shell .nav-group-toggle:hover,html[dir="ltr"] .agency-v2-shell .nav-item:hover{transform:translateX(2px)}
html[dir="ltr"] .agency-v2-shell .agency-logout{justify-content:flex-start}
.website-locale-tabs{display:flex;gap:8px;margin:0 0 12px;padding:8px;border:1px solid #e5eaf2;border-radius:12px;background:#fff}
.website-locale-tab{display:inline-flex;justify-content:center;min-width:88px;padding:8px 13px;border:1px solid #e5eaf2;border-radius:9px;color:#52627a;text-decoration:none;font-weight:750}
.website-locale-tab:hover,.website-locale-tab.active{border-color:#e90d78;background:#fff1f7;color:#cf0b6c}
.content-translation-editor{margin:14px 0 4px;padding:12px;border:1px solid #e6eaf1;border-radius:12px;background:#fbfcff}
.content-translation-editor summary{color:#172c4e;font-weight:800;cursor:pointer}
.content-translation-editor>p{color:#71819a;font-size:12px}
.content-translation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.store-locale-selector{display:flex;gap:7px;align-items:center}
.store-locale-selector a{padding:5px 8px;border-radius:8px;font-size:12px}
.store-locale-selector a[aria-current=true]{background:#fff0f7;color:#ce0b6c;font-weight:800}
@media(max-width:760px){.content-translation-grid{grid-template-columns:1fr}.website-locale-tabs{position:sticky;top:68px;z-index:5}}
@media(max-width:1050px){html[dir="ltr"] .agency-v2-shell .agency-sidebar{inset:0 auto 0 0;transform:translateX(-105%);box-shadow:14px 0 40px #091a3340}html[dir="ltr"] .agency-v2-shell.menu-open .agency-sidebar{transform:translateX(0)}html[dir="ltr"] .agency-v2-shell .agency-main{margin:0}}
.agency-v2-shell{--a-navy:#10244a;--a-navy-2:#091a39;--a-pink:#e90d78;--a-purple:#8a4ee8;--a-ink:#182d50;--a-muted:#71819a;--a-line:#e5eaf2;--a-surface:#fff;--a-page:#f4f7fb;display:block;min-height:100vh;background:var(--a-page);color:var(--a-ink)}
.agency-v2-shell .agency-sidebar{position:fixed;z-index:40;inset:0 0 0 auto;width:250px;height:100dvh;display:flex;flex-direction:column;gap:0;overflow:hidden;padding:17px 14px 13px;background:linear-gradient(180deg,#10244a 0%,#0b1b3a 100%);border:0;border-radius:0;box-shadow:-8px 0 30px #07183312;color:#f7f8fc;transition:width .24s,transform .24s}
.agency-v2-shell .agency-sidebar-brand{flex:none;display:flex;align-items:center;min-height:54px;padding:0 2px 13px;border-bottom:1px solid #ffffff18}
.agency-v2-shell .agency-sidebar-brand .brand{width:100%;display:flex;justify-content:flex-start;gap:8px;direction:ltr;color:#fff}
.agency-v2-shell .agency-sidebar-brand .brand-logo-mark{width:38px;height:38px;flex:none;border-radius:12px;overflow:hidden}
.agency-v2-shell .agency-sidebar-brand .brand-copy{min-width:0;flex:1}
.agency-v2-shell .agency-sidebar-brand .brand-copy b{font-size:16px;color:#fff;white-space:nowrap}
.agency-v2-shell .agency-sidebar-brand .brand-copy small{display:block;overflow:hidden;color:#afbdd4;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.agency-v2-shell .agency-workspace{display:flex;align-items:center;gap:10px;min-height:67px;margin:10px 0 9px;padding:10px;border:1px solid #ffffff19;border-radius:13px;background:#ffffff0c}
.agency-v2-shell .agency-workspace-mark{display:grid;place-items:center;flex:none;width:37px;height:37px;border:1px solid #ffffff38;border-radius:11px;background:linear-gradient(145deg,#ed1884,#a128c5);color:#fff;font-weight:900}
.agency-v2-shell .agency-workspace>span:last-child{display:grid;min-width:0;gap:4px}
.agency-v2-shell .agency-workspace b{overflow:hidden;color:#fff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.agency-v2-shell .agency-workspace small{display:flex;align-items:center;gap:6px;color:#acbad1;font-size:9px}
.agency-v2-shell .agency-workspace small i,.agency-presence{width:7px;height:7px;border-radius:50%;background:#26cb8b;box-shadow:0 0 0 3px #26cb8b20}
.agency-v2-shell .agency-sidebar-nav{flex:1;min-height:0;overflow:auto;padding:0 1px 6px;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent}
.agency-v2-shell .nav-group{margin:0 0 10px}
.agency-v2-shell .nav-group-toggle{width:100%;min-height:37px;display:flex;align-items:center;gap:9px;margin:3px 0;padding:5px 9px;border:1px solid transparent;border-radius:10px;background:transparent;color:#adbad0;text-align:start;font:inherit;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}
.agency-v2-shell .nav-group-toggle>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:#ffffff0c;color:#d7b8ee;font-size:14px}
.agency-v2-shell .nav-group-toggle>b{flex:1;font-size:10px;font-weight:800}
.agency-v2-shell .nav-group-toggle:hover,.agency-v2-shell .nav-group-toggle[aria-expanded=true]{border-color:#ffffff12;background:#ffffff0d;color:#fff}
.agency-v2-shell .nav-group-toggle:hover{transform:translateX(-2px)}
.agency-v2-shell .nav-group-toggle:focus-visible{outline:2px solid #f08bbc;outline-offset:2px}
.agency-v2-shell .nav-group-chevron{margin-inline-start:auto;color:#8fa0ba;font-size:15px;font-style:normal;transition:transform .2s,color .2s}
.agency-v2-shell .nav-group-toggle[aria-expanded=true] .nav-group-chevron{transform:rotate(180deg);color:#f4a5ce}
.agency-v2-shell .nav-group-items{display:grid;grid-template-rows:0fr;transition:grid-template-rows .22s ease}
.agency-v2-shell .nav-group-toggle[aria-expanded=true]+.nav-group-items{grid-template-rows:1fr}
.agency-v2-shell .nav-group-links{min-height:0;overflow:hidden}
.agency-v2-shell .nav-item{position:relative;display:flex;align-items:center;gap:10px;min-height:36px;margin:2px 0;padding:5px 9px;border-radius:9px;color:#d7dfed;text-decoration:none;transition:background .18s,color .18s,transform .18s}
.agency-v2-shell .nav-item>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:#ffffff0c;color:#b7c6df;font-size:15px}
.agency-v2-shell .nav-item>b{font-size:11px;font-weight:650}
.agency-v2-shell .nav-item:hover{background:#ffffff12;color:white;transform:translateX(-2px)}
.agency-v2-shell .nav-item.active{background:linear-gradient(100deg,#922bd2,#e80c78);box-shadow:0 7px 17px #e80c7830;color:#fff}
.agency-v2-shell .nav-item.active>span{background:#ffffff20;color:#fff}
.agency-v2-shell .agency-sidebar-bottom{flex:none;padding-top:9px;border-top:1px solid #ffffff18}
.agency-v2-shell .agency-sidebar-promo{display:grid;gap:5px;margin:2px 0 8px;padding:12px;border:1px solid #ffffff20;border-radius:13px;background:linear-gradient(145deg,#542c83,#bd176f);color:#fff}
.agency-v2-shell .agency-sidebar-promo>span{color:#ffd1e7;font-size:17px}
.agency-v2-shell .agency-sidebar-promo>b{font-size:11px}
.agency-v2-shell .agency-sidebar-promo>small{color:#f1ddec;font-size:9px;line-height:1.5}
.agency-v2-shell .agency-sidebar-promo>a{display:flex;justify-content:space-between;align-items:center;margin-top:4px;padding:7px 9px;border-radius:8px;background:#ffffffeb;color:#bd126f;font-size:10px;font-weight:850}
.agency-v2-shell .agency-sidebar-utilities{display:grid;gap:5px;margin-top:6px}
.agency-v2-shell .agency-utility-link{position:relative;display:flex;align-items:center;gap:9px;min-height:43px;padding:6px 8px;border:1px solid transparent;border-radius:11px;color:#f6f7fc;text-decoration:none;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.agency-v2-shell .agency-utility-link:hover{transform:translateX(-3px);box-shadow:0 7px 16px #050f272b}
.agency-v2-shell .agency-utility-link:focus-visible{outline:2px solid #f08bbc;outline-offset:2px}
.agency-v2-shell .agency-utility-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #ffffff28;border-radius:9px;background:#ffffff13;color:#fff;font-size:15px}
.agency-v2-shell .agency-utility-copy{display:grid;flex:1;min-width:0;gap:2px}
.agency-v2-shell .agency-utility-copy>b{overflow:hidden;font-size:10px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.agency-v2-shell .agency-utility-copy>small{overflow:hidden;color:#c1cce0;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.agency-v2-shell .agency-utility-link>i{color:#c3cee0;font-size:12px;font-style:normal;transition:transform .2s,color .2s}
.agency-v2-shell .agency-utility-link:hover>i{transform:translateX(-2px);color:#fff}
.agency-v2-shell .agency-help-link{margin-bottom:4px;border-color:#ffffff14;background:linear-gradient(105deg,#263e66,#45346a)}
.agency-v2-shell .agency-help-link:hover,.agency-v2-shell .agency-help-link.active{border-color:#9772c653;background:linear-gradient(105deg,#304a77,#65418b)}
.agency-v2-shell .agency-profile-link{border-color:#f15fa433;background:linear-gradient(105deg,#662955,#9d2469)}
.agency-v2-shell .agency-profile-link:hover,.agency-v2-shell .agency-profile-link.active{border-color:#ff9bc8a8;background:linear-gradient(105deg,#873564,#c02d82)}
.agency-v2-shell .agency-settings-link{border-color:#65c2d233;background:linear-gradient(105deg,#1c4262,#265e72)}
.agency-v2-shell .agency-settings-link:hover,.agency-v2-shell .agency-settings-link.active{border-color:#88def1a8;background:linear-gradient(105deg,#225478,#307f8e)}
.agency-v2-shell .agency-logout{display:flex;justify-content:flex-start;margin-top:3px}
.agency-v2-shell .agency-logout button{min-height:30px;padding:4px 9px;border:0;background:transparent;color:#bdc8d9;font:inherit;font-size:9px;cursor:pointer}
.agency-v2-shell .sidebar-collapse{position:absolute;z-index:2;top:23px;left:10px;width:25px;height:25px;border:1px solid #ffffff2a;border-radius:8px;background:#ffffff0e;color:#fff;font-size:17px;cursor:pointer}
.agency-v2-shell .agency-main{min-height:100vh;margin:0 250px 0 0;transition:margin .24s}
.agency-v2-shell .agency-topbar{position:sticky;z-index:30;top:0;display:flex;align-items:center;gap:10px;min-height:70px;padding:9px 22px;border-bottom:1px solid #e8edf3;background:#ffffffef;box-shadow:0 5px 20px #132b4d08;backdrop-filter:blur(14px);direction:ltr}
.agency-v2-shell .agency-topbar-user{order:0;display:flex;align-items:center;gap:8px;min-width:135px;direction:rtl;color:var(--a-ink)}
.agency-v2-shell .agency-topbar-user .avatar{display:grid;place-items:center;width:36px;height:36px;border:2px solid #fff;border-radius:50%;background:linear-gradient(145deg,#f9d8e8,#e9e5ff);color:#9e246c;font-weight:900;box-shadow:0 0 0 1px #eadde8}
.agency-v2-shell .agency-topbar-user>span:nth-child(2){display:grid;gap:2px}
.agency-v2-shell .agency-topbar-user b{font-size:11px}
.agency-v2-shell .agency-topbar-user small{color:var(--a-muted);font-size:9px}
.agency-v2-shell .agency-presence{margin-inline-start:3px}
.agency-v2-shell .agency-icon-action{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #e7eaf1;border-radius:11px;background:#fff;color:#354b6e;font-size:17px;box-shadow:0 3px 10px #17335408;transition:.18s}
.agency-v2-shell .agency-icon-action:hover{border-color:#f2afd0;background:#fff4f9;color:var(--a-pink);transform:translateY(-2px)}
.agency-v2-shell .agency-locale{display:flex;align-items:center;gap:5px;flex:none;height:36px;padding:0 8px;border:1px solid #e8ebf1;border-radius:10px;background:#fff;color:#52647e}
.agency-v2-shell .agency-locale>span{font-size:14px}
.agency-v2-shell .agency-locale select{max-width:94px;border:0;outline:0;background:transparent;color:#344965;font:inherit;font-size:10px}
.agency-v2-shell .agency-global-search{order:5;display:flex;flex:1 1 230px;align-items:center;min-width:110px;max-width:500px;height:39px;margin-inline-start:auto;border:1px solid #dfe5ee;border-radius:11px;background:#f8faff;direction:rtl;overflow:hidden}
.agency-v2-shell .agency-global-search:focus-within{border-color:#d964a1;box-shadow:0 0 0 3px #e70d7714;background:#fff}
.agency-v2-shell .agency-global-search input{width:100%;min-width:0;height:100%;padding:0 12px;border:0;outline:0;background:transparent;color:#263b5d;font:inherit;font-size:11px}
.agency-v2-shell .agency-global-search button{flex:none;width:38px;height:100%;border:0;background:transparent;color:#637896;font-size:20px;cursor:pointer}
.agency-v2-shell .agency-credit-usage{order:6;display:flex;align-items:center;gap:8px;flex:none;min-height:39px;padding:4px 10px;border:1px solid #eadff5;border-radius:11px;background:linear-gradient(110deg,#fbf5ff,#fff);color:#6941a8}
.agency-v2-shell .agency-credit-usage>span:first-child{font-size:18px;color:#b63aa6}
.agency-v2-shell .agency-credit-usage>span:last-child{display:grid;gap:2px}
.agency-v2-shell .agency-credit-usage small{font-size:8px;color:#847398}
.agency-v2-shell .agency-credit-usage b{font-size:10px}
.agency-v2-shell .agency-topbar-visit{order:7;display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #f5d4e4;border-radius:10px;background:#fff3f8;color:#d30e72}
.agency-v2-shell .agency-topbar .mobile-menu{display:none}
.agency-v2-shell .agency-content{max-width:1800px;margin:0 auto;padding:19px 22px 32px}
.agency-v2-shell .agency-content>.page-heading{margin:0 0 17px;padding:0 2px}
.agency-v2-shell .agency-content>.page-heading h1{font-size:26px;color:var(--a-ink)}
.agency-v2-shell .agency-content>.page-heading .eyebrow{color:var(--a-pink)}
.agency-v2-shell.sidebar-collapsed .agency-sidebar{width:70px;padding-inline:9px}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand .brand-copy,.agency-v2-shell.sidebar-collapsed .agency-workspace>span:last-child,.agency-v2-shell.sidebar-collapsed .nav-group-toggle>b,.agency-v2-shell.sidebar-collapsed .nav-group-chevron,.agency-v2-shell.sidebar-collapsed .nav-item>b,.agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{display:none}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand{justify-content:center;padding-inline:0}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand .brand-logo-mark{width:40px;height:40px}
.agency-v2-shell.sidebar-collapsed .agency-workspace{justify-content:center;padding:5px}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item{justify-content:center;padding:5px}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item>span{width:31px;height:31px}
.agency-v2-shell.sidebar-collapsed .agency-main{margin-right:70px}
.agency-v2-shell.sidebar-collapsed .sidebar-collapse{left:4px}
.agency-v3-dashboard{display:grid;gap:15px}
.agency-v3-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:230px;overflow:hidden;border:1px solid #dfe7f1;border-radius:20px;background:#dfe9f4;box-shadow:0 12px 30px #1735550b}
.agency-v3-hero>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%}
.agency-v3-hero-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(270deg,#fff 0%,#fff 38%,#fffffff0 51%,#ffffff1d 70%,#0c214a88 100%)}
.agency-v3-hero-content{width:56%;margin-inline-start:auto;padding:25px 28px 24px 15px;text-align:right}
.agency-v3-overline{display:inline-flex;padding:6px 11px;border:1px solid #f6cee0;border-radius:99px;background:#fff1f7;color:#cd176b;font-size:10px;font-weight:850}
.agency-v3-hero-content>p{margin:10px 0 2px;color:#566987;font-size:13px}
.agency-v3-hero-content h1{margin:0 0 7px;color:#11284e;font-size:clamp(24px,2.4vw,34px);line-height:1.25}
.agency-v3-hero-content>div{color:#697c98;font-size:12px;line-height:1.8}
.agency-v3-hero-content nav{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.agency-v3-hero-content .button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:7px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#253b5d;font-size:11px;font-weight:800;box-shadow:0 5px 14px #1736550d;transition:.2s}
.agency-v3-hero-content .button:hover{transform:translateY(-2px);border-color:#e99fc1;box-shadow:0 9px 22px #d1147419}
.agency-v3-hero-content .button:not(.secondary){border-color:transparent;background:linear-gradient(110deg,#e80e78,#b828aa);color:#fff;box-shadow:0 8px 19px #d30c7629}
.agency-v3-hero-note{position:absolute;inset-inline-start:22px;bottom:18px;display:grid;gap:4px;max-width:200px;padding:12px 14px;border:1px solid #ffffff65;border-radius:13px;background:#0e274cbd;color:#fff;box-shadow:0 12px 28px #071b3e30;backdrop-filter:blur(8px)}
.agency-v3-hero-note>span{color:#ff84bb;font-size:19px}
.agency-v3-hero-note>b{font-size:11px}
.agency-v3-hero-note>small{color:#d8e2f0;font-size:9px;line-height:1.6}
.agency-v3-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}
.agency-v3-kpi{display:grid;gap:14px;min-width:0;min-height:105px;padding:13px 14px 11px;border:1px solid #e5eaf2;border-radius:15px;background:#fff;color:var(--a-ink);box-shadow:0 7px 19px #0e264808;transition:transform .2s,border-color .2s,box-shadow .2s}
.agency-v3-kpi:hover{transform:translateY(-3px);border-color:#eca7c7;box-shadow:0 13px 27px #263f6117}
.agency-v3-kpi>span{display:flex;align-items:center;gap:8px;min-width:0}
.agency-v3-kpi>span i{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#eff5ff;color:#397bd2;font-size:17px;font-style:normal}
.agency-v3-kpi.pink>span i{background:#fff0f7;color:#df147a}.agency-v3-kpi.purple>span i{background:#f2edff;color:#8353d5}.agency-v3-kpi.green>span i{background:#e8f8f0;color:#159766}.agency-v3-kpi.orange>span i{background:#fff3e6;color:#d27a1b}
.agency-v3-kpi>span small{overflow:hidden;color:#5e708a;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-kpi>strong{overflow:hidden;color:#13294e;font-size:22px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-kpi>em{display:flex;justify-content:space-between;color:#8a98aa;font-size:9px;font-style:normal}
.agency-v3-kpi>em b{color:#d61376;font-size:13px}
.agency-v3-overview{display:grid;grid-template-columns:minmax(310px,1.08fr) minmax(250px,1fr) minmax(230px,.88fr);gap:13px;align-items:stretch;direction:ltr}
.agency-v3-overview>*{min-width:0;direction:rtl}
.agency-v3-card{min-width:0;padding:16px 17px;border:1px solid #e5eaf1;border-radius:16px;background:#fff;box-shadow:0 8px 22px #122d4c09}
.agency-v3-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.agency-v3-card>header>div{min-width:0}
.agency-v3-card>header small{display:block;margin-bottom:3px;color:#d41172;font-size:9px;font-weight:800}
.agency-v3-card>header h2{margin:0;color:#182e51;font-size:15px;line-height:1.35}
.agency-v3-card>header .quiet{flex:none;color:#d41172;font-size:10px;font-weight:750}
.agency-v3-year{padding:6px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#fbfcfe;color:#63748e;font-size:10px}
.agency-v3-legend{display:flex;gap:14px;padding:0 2px 10px;color:#667894;font-size:9px}
.agency-v3-legend span{display:flex;align-items:center;gap:6px}
.agency-v3-legend span i{width:8px;height:8px;border-radius:50%;background:#e5117b}
.agency-v3-legend span+span i{background:#4385e4}
.agency-v3-chart{height:158px;display:flex;align-items:stretch;gap:5px;padding:10px 6px 0;border-bottom:1px solid #e8edf3;background:repeating-linear-gradient(to bottom,transparent 0,transparent 38px,#edf1f6 39px)}
.agency-v3-chart-month{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}
.agency-v3-bar{display:block;width:min(100%,22px);height:var(--bar);min-height:0;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#f469ad,#d71077);transition:height .35s ease}
.agency-v3-chart-month small{height:15px;color:#8190a4;font-size:8px}
.agency-v3-revenue>footer{padding-top:8px;color:#8996a7;font-size:9px}
.agency-v3-row{display:flex;align-items:center;gap:9px;min-width:0;min-height:51px;padding:7px 0;border-top:1px solid #edf0f4;color:#203756}
.agency-v3-row:first-of-type{border-top:0}
.agency-v3-row-icon{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;background:#edf4ff;color:#3778d1;font-size:15px}
.agency-v3-row-icon.photo{background:#fff0f7;color:#d91478}.agency-v3-row-icon.paid{background:#e9f8f0;color:#159866}
.agency-v3-row>span:nth-child(2){display:grid;flex:1;min-width:0;gap:3px}
.agency-v3-row b{overflow:hidden;color:#253b5b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-row small{overflow:hidden;color:#8996a8;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-row em,.agency-v3-row .badge{flex:none;padding:4px 7px;border-radius:7px;background:#eaf2ff;color:#3671c4;font-size:8px;font-style:normal}
.agency-v3-row strong{flex:none;color:#203756;font-size:10px}
.agency-v3-arrow{flex:none;color:#d90f76;font-size:14px;font-style:normal}
.agency-v3-empty{display:grid;place-items:center;min-height:97px;margin:0;padding:16px;text-align:center;color:#8996a8;font-size:11px}
.agency-v3-activity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
.agency-v3-activity>*{min-width:0}
.agency-v3-ai{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:185px;padding:20px;border:1px solid #eadbf5;border-radius:16px;background:radial-gradient(circle at 92% 10%,#ead8ff 0,transparent 32%),linear-gradient(145deg,#fff,#f8f1ff);box-shadow:0 8px 22px #49335f0a}
.agency-v3-ai>span{display:grid;place-items:center;width:39px;height:39px;margin-bottom:11px;border-radius:12px;background:#e9ddfa;color:#8050cf;font-size:20px}
.agency-v3-ai>small{color:#8155bb;font-size:9px;font-weight:850}
.agency-v3-ai h2{margin:5px 0;color:#1e3152;font-size:16px}
.agency-v3-ai p{margin:0 0 12px;color:#77849a;font-size:10px}
.agency-v3-ai .button{padding:8px 11px;border-radius:9px;background:linear-gradient(110deg,#8346d0,#bd30a3);color:#fff;font-size:10px;font-weight:800}
.agency-v3-footnote{padding:4px 2px;color:#8390a2;font-size:9px}
@media(max-width:1370px){.agency-v3-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.agency-v3-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-v3-revenue{grid-column:1/-1}.agency-v3-activity{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.agency-v2-shell .agency-sidebar{width:250px;transform:translateX(105%);box-shadow:-14px 0 38px #091a3833}.agency-v2-shell .agency-main,.agency-v2-shell.sidebar-collapsed .agency-main{margin:0}.agency-v2-shell.menu-open .agency-sidebar{transform:translateX(0)}.agency-v2-shell.menu-open .agency-drawer-scrim{display:block;position:fixed;z-index:35;inset:0;border:0;background:#07162f78;backdrop-filter:blur(2px)}.agency-v2-shell .agency-sidebar .brand-copy,.agency-v2-shell .agency-workspace>span:last-child,.agency-v2-shell .nav-group>small,.agency-v2-shell .nav-item>b,.agency-v2-shell .agency-sidebar-bottom{display:initial}.agency-v2-shell .agency-sidebar-nav .nav-item{justify-content:flex-start;padding:5px 9px}.agency-v2-shell .sidebar-collapse{display:none}.agency-v2-shell .agency-topbar .mobile-menu{display:grid;place-items:center;order:-1;flex:none;width:35px;height:35px;border:1px solid #eadde8;border-radius:10px;background:#fff2f8;color:#ce1470;font-size:17px}.agency-v2-shell .agency-topbar{flex-wrap:wrap;min-height:66px;padding:8px 13px}.agency-v2-shell .agency-topbar-user{order:0;min-width:105px}.agency-v2-shell .agency-global-search{order:4;flex:1 1 190px;max-width:none}.agency-v2-shell .agency-credit-usage{order:5}.agency-v2-shell .agency-topbar-visit{order:6}.agency-v2-shell .agency-content{padding:15px}.agency-v3-hero{min-height:215px}}
@media(max-width:700px){.agency-v2-shell .agency-topbar{gap:6px;padding:7px 9px}.agency-v2-shell .agency-topbar-user{min-width:0;margin-inline-end:auto}.agency-v2-shell .agency-topbar-user>span:nth-child(2){display:none}.agency-v2-shell .agency-topbar-user .avatar{width:32px;height:32px}.agency-v2-shell .agency-icon-action{width:31px;height:31px}.agency-v2-shell .agency-icon-action:nth-of-type(2){display:none}.agency-v2-shell .agency-locale{height:32px;padding:0 5px}.agency-v2-shell .agency-locale>span{display:none}.agency-v2-shell .agency-locale select{max-width:67px;font-size:9px}.agency-v2-shell .agency-global-search{order:7;flex:1 1 100%;height:35px;max-width:none;margin:0}.agency-v2-shell .agency-global-search input{font-size:10px}.agency-v2-shell .agency-credit-usage{min-height:32px;padding:4px 7px}.agency-v2-shell .agency-credit-usage>span:last-child{display:none}.agency-v2-shell .agency-topbar-visit{width:31px;height:31px}.agency-v2-shell .agency-content{padding:10px}.agency-v3-dashboard{gap:10px}.agency-v3-hero{min-height:240px;align-items:flex-start;border-radius:15px}.agency-v3-hero>img{object-position:35% center}.agency-v3-hero-shade{background:linear-gradient(270deg,#fff 0%,#ffffffef 55%,#ffffff70 78%,#081b3b60)}.agency-v3-hero-content{width:88%;padding:17px 14px}.agency-v3-hero-content>p{margin-top:8px;font-size:11px}.agency-v3-hero-content h1{font-size:22px}.agency-v3-hero-content>div{font-size:10px}.agency-v3-hero-content nav{gap:6px;margin-top:12px}.agency-v3-hero-content .button{min-height:34px;padding:6px 9px;font-size:9px}.agency-v3-hero-note{display:none}.agency-v3-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-kpi{min-height:94px;padding:10px;gap:11px}.agency-v3-kpi>strong{font-size:19px}.agency-v3-kpi>span small{font-size:9px}.agency-v3-overview,.agency-v3-activity{grid-template-columns:1fr;gap:9px}.agency-v3-revenue{grid-column:auto}.agency-v3-card{padding:13px;border-radius:13px}.agency-v3-card>header h2{font-size:14px}.agency-v3-chart{height:135px}.agency-v3-chart-month small{font-size:7px}.agency-v3-ai{min-height:160px;padding:16px}}
@media(prefers-reduced-motion:reduce){.agency-v2-shell *, .agency-v2-shell *::before,.agency-v2-shell *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Rebuilt customer directory */
.agency-v3-clients{display:grid;gap:14px}
.agency-v3-clients-hero{min-height:205px}
.agency-v3-clients-hero .agency-v3-hero-content{width:59%}
.agency-v3-kpis.agency-v3-client-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.agency-v3-client-kpis .agency-v3-kpi{min-height:98px;gap:10px;padding:11px}
.agency-v3-client-kpis .agency-v3-kpi>span{justify-content:space-between}
.agency-v3-client-kpis .agency-v3-kpi>span i{width:29px;height:29px;font-size:15px}
.agency-v3-client-kpis .agency-v3-kpi>strong{font-size:20px}
.agency-v3-clients-main{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(240px,.75fr);gap:13px;align-items:start}
.agency-v3-clients-main>aside{display:grid;gap:13px;min-width:0}
.agency-v3-card{min-width:0;padding:17px;border:1px solid #e6eaf1;border-radius:16px;background:#fff;box-shadow:0 7px 22px #132b4d08}
.agency-v3-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
.agency-v3-card>header small{color:#db1879;font-size:9px;font-weight:800}
.agency-v3-card>header h2{margin:3px 0;color:#192e50;font-size:16px}
.agency-v3-card>header p{margin:0;color:#8290a4;font-size:10px}
.agency-v3-count{color:#152b4e;font-size:18px}.agency-v3-count small{color:#8995a7;font-size:9px;font-weight:500}
.agency-v3-filters{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:12px;padding:10px;border:1px solid #edf0f5;border-radius:12px;background:#f8f9fc}
.agency-v3-filters label{display:grid;gap:4px;color:#75839a;font-size:9px;font-weight:700}
.agency-v3-filters label:not(.agency-v3-search){min-width:105px}
.agency-v3-filters select,.agency-v3-filters input{height:35px;max-width:180px;padding:0 9px;border:1px solid #e1e6ee;border-radius:8px;background:white;color:#334966;font:inherit;font-size:10px}
.agency-v3-filters .agency-v3-search{display:flex;flex:1 1 190px;align-items:center;gap:7px;min-width:165px;height:35px;padding:0 9px;border:1px solid #e1e6ee;border-radius:8px;background:white;color:#d51475}
.agency-v3-search input{width:100%;max-width:none;height:32px;padding:0;border:0;outline:0;background:transparent}
.agency-v3-filters .button{min-height:35px;padding:7px 10px;border-radius:8px;font-size:10px}
.agency-v3-table-wrap{overflow:auto;border:1px solid #edf0f4;border-radius:11px}
.agency-v3-table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}
.agency-v3-table th{padding:10px 11px;background:#f8f9fc;color:#74829a;font-size:9px;font-weight:800}
.agency-v3-table td{padding:10px 11px;border-top:1px solid #edf0f4;color:#344967;font-size:10px}
.agency-v3-table tbody tr{transition:background .18s}.agency-v3-table tbody tr:hover{background:#fff8fb}
.agency-v3-identity,.agency-v3-contact{display:flex;align-items:center;gap:8px}
.agency-v3-identity>span,.agency-v3-client-row>span,.agency-v3-value-row>span{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#fce8f1;color:#cf1773;font-size:12px;font-weight:850}
.agency-v3-identity>div,.agency-v3-contact{display:grid;gap:3px}.agency-v3-identity small,.agency-v3-contact small{color:#8a97a8;font-size:8px}
.agency-v3-contact b{color:#344967;font-size:9px;font-weight:650}
.agency-v3-table .table-link{color:#1b3153;font-size:10px;font-weight:800;text-decoration:none}
.agency-v3-table .quiet{color:#d31372;font-size:9px;font-weight:750;text-decoration:none}
.agency-v3-empty{display:grid;place-items:center;gap:5px;min-height:135px;padding:18px;text-align:center;color:#8793a5}
.agency-v3-empty>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#fff0f7;color:#d51276;font-size:18px}
.agency-v3-empty b{color:#314663;font-size:11px}.agency-v3-empty small{font-size:9px}
.agency-v3-empty.compact{min-height:85px;padding:12px}
.agency-v3-empty .button{margin-top:6px;padding:7px 12px;font-size:9px}
.agency-v3-list{display:grid;gap:6px}
.agency-v3-client-row,.agency-v3-reminder,.agency-v3-value-row{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #edf0f4;border-radius:10px;color:#314663;text-decoration:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.agency-v3-client-row:hover,.agency-v3-reminder:hover,.agency-v3-value-row:hover{transform:translateY(-2px);border-color:#f0bdd5;box-shadow:0 6px 15px #d3137210}
.agency-v3-client-row>span,.agency-v3-value-row>span{width:29px;height:29px;border-radius:9px;font-size:10px}
.agency-v3-client-row>b,.agency-v3-value-row>b,.agency-v3-reminder>b{overflow:hidden;color:#293e5d;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-client-row>small{overflow:hidden;flex:1;color:#8995a7;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.agency-v3-client-row>i{color:#dc1377;font-style:normal}
.agency-v3-reminder>span{color:#d51375;font-size:14px}.agency-v3-reminder>b{flex:1}.agency-v3-reminder>small{color:#8794a7;font-size:8px}
.agency-v3-clients-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}
.agency-v3-geo{display:flex;align-items:center;justify-content:center;gap:20px;min-height:128px}
.agency-v3-donut{display:grid;place-items:center;flex:none;width:105px;height:105px;border-radius:50%;background:var(--customer-donut);position:relative}
.agency-v3-donut:before{position:absolute;inset:13px;border-radius:50%;background:white;content:""}
.agency-v3-donut>span{z-index:1;display:grid;text-align:center;color:#1b3152;font-size:17px;font-weight:850}.agency-v3-donut small{color:#8b97a8;font-size:8px;font-weight:500}
.agency-v3-geo ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.agency-v3-geo li{display:flex;align-items:center;gap:6px;color:#677790;font-size:9px}.agency-v3-geo li i{width:8px;height:8px;border-radius:50%;background:var(--segment)}.agency-v3-geo li span{min-width:50px}.agency-v3-geo li b{color:#253a5a}
.agency-v3-value-row strong{margin-inline-start:auto;color:#263c5d;font-size:9px}
@media(max-width:1370px){.agency-v3-kpis.agency-v3-client-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.agency-v3-clients-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-v3-clients-insights>:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:900px){.agency-v3-clients-main{grid-template-columns:1fr}.agency-v3-clients-main>aside{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-v3-clients-hero .agency-v3-hero-content{width:72%}}
@media(max-width:700px){.agency-v3-kpis.agency-v3-client-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-clients-main>aside,.agency-v3-clients-insights{grid-template-columns:1fr}.agency-v3-clients-insights>:last-child:nth-child(odd){grid-column:auto}.agency-v3-clients-hero{min-height:230px}.agency-v3-clients-hero .agency-v3-hero-content{width:90%;padding:17px 14px}.agency-v3-filters{align-items:stretch}.agency-v3-filters label:not(.agency-v3-search){flex:1 1 105px}.agency-v3-filters select{max-width:none;width:100%}.agency-v3-table{min-width:720px}.agency-v3-geo{justify-content:flex-start}}

/* Rebuilt travel requests pipeline */
.agency-v3-requests{display:grid;gap:14px}
.agency-v3-requests-hero{min-height:205px}
.agency-v3-requests-hero .agency-v3-hero-content{width:59%}
.agency-v3-kpis.agency-v3-request-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.agency-v3-request-kpis .agency-v3-kpi{min-height:98px;padding:11px;gap:10px}
.agency-v3-request-kpis .agency-v3-kpi>span{justify-content:space-between}
.agency-v3-status-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:12px;padding:2px 1px 7px;scrollbar-width:thin}
.agency-v3-status-tab{display:flex;align-items:center;gap:8px;flex:none;padding:7px 10px;border:1px solid #e8ecf2;border-radius:9px;background:#fff;color:#677890;font-size:9px;text-decoration:none;transition:.18s}
.agency-v3-status-tab b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:6px;background:#f1f3f7;color:#64748a;font-size:8px}
.agency-v3-status-tab:hover{border-color:#eab3cd;color:#ce1672}.agency-v3-status-tab.active{border-color:#f1c0d7;background:#fff1f7;color:#d40f75;font-weight:850}.agency-v3-status-tab.active b{background:#df167b;color:#fff}
.agency-v3-requests-table{min-width:950px}
.agency-v3-badge{display:inline-flex;padding:5px 8px;border-radius:7px;background:#fff4e7;color:#bd7418;font-size:8px;font-weight:800}
.agency-v3-badge.new{background:#fff0f7;color:#cf1474}.agency-v3-badge.success{background:#e8f8f0;color:#14875f}.agency-v3-badge.danger{background:#fff0ef;color:#c44a43}
.agency-v3-request-insights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
.agency-v3-request-insights>.agency-v3-card{padding:15px}
.agency-v3-destination{display:grid;gap:6px;padding:9px 0;border-bottom:1px solid #edf0f4}.agency-v3-destination:last-child{border-bottom:0}
.agency-v3-destination>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.agency-v3-destination b{color:#2d4260;font-size:10px}.agency-v3-destination small{color:#8996a8;font-size:8px}
.agency-v3-destination>span{height:6px;overflow:hidden;border-radius:8px;background:#f1f3f7}.agency-v3-destination>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e91078,#a946d3)}
@media(max-width:1370px){.agency-v3-kpis.agency-v3-request-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.agency-v3-request-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.agency-v3-requests-hero .agency-v3-hero-content{width:72%}}
@media(max-width:700px){.agency-v3-kpis.agency-v3-request-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-request-insights{grid-template-columns:1fr}.agency-v3-requests-hero{min-height:230px}.agency-v3-requests-hero .agency-v3-hero-content{width:90%;padding:17px 14px}}

/* Rebuilt trip operations */
.agency-v3-trips{display:grid;gap:14px}
.agency-v3-trips-hero{min-height:205px}
.agency-v3-trips-hero .agency-v3-hero-content{width:59%}
.agency-v3-kpis.agency-v3-trip-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.agency-v3-trip-kpis .agency-v3-kpi{min-height:98px;padding:11px;gap:10px}
.agency-v3-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.agency-v3-toolbar .button{min-height:34px;padding:7px 11px;border-radius:8px;font-size:10px}
.agency-v3-trips-table{min-width:870px}
.agency-v3-trip-insights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
@media(max-width:1370px){.agency-v3-kpis.agency-v3-trip-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.agency-v3-trip-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.agency-v3-trips-hero .agency-v3-hero-content{width:72%}}
@media(max-width:700px){.agency-v3-kpis.agency-v3-trip-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-trip-insights{grid-template-columns:1fr}.agency-v3-trips-hero{min-height:230px}.agency-v3-trips-hero .agency-v3-hero-content{width:90%;padding:17px 14px}}

/* Rebuilt quote pipeline */
.agency-v3-quotes{display:grid;gap:14px}
.agency-v3-quotes-hero{min-height:205px}
.agency-v3-quotes-hero .agency-v3-hero-content{width:59%}
.agency-v3-kpis.agency-v3-quote-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.agency-v3-quote-kpis .agency-v3-kpi{min-height:98px;padding:11px;gap:10px}
.agency-v3-quotes-table{min-width:800px}
.agency-v3-quote-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}
@media(max-width:1370px){.agency-v3-kpis.agency-v3-quote-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.agency-v3-quote-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-v3-quote-insights>:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:900px){.agency-v3-quotes-hero .agency-v3-hero-content{width:72%}}
@media(max-width:700px){.agency-v3-kpis.agency-v3-quote-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-quote-insights{grid-template-columns:1fr}.agency-v3-quote-insights>:last-child:nth-child(odd){grid-column:auto}.agency-v3-quotes-hero{min-height:230px}.agency-v3-quotes-hero .agency-v3-hero-content{width:90%;padding:17px 14px}}

/* Rebuilt bookings and payment follow-up */
.agency-v3-bookings{display:grid;gap:14px}
.agency-v3-bookings-hero{min-height:205px}
.agency-v3-bookings-hero .agency-v3-hero-content{width:59%}
.agency-v3-kpis.agency-v3-booking-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.agency-v3-booking-kpis .agency-v3-kpi{min-height:98px;padding:11px;gap:10px}
.agency-v3-bookings-table{min-width:940px}
.agency-v3-booking-insights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}
.agency-v3-payment-entry .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(max-width:1370px){.agency-v3-kpis.agency-v3-booking-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.agency-v3-booking-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.agency-v3-bookings-hero .agency-v3-hero-content{width:72%}}
@media(max-width:700px){.agency-v3-kpis.agency-v3-booking-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-v3-booking-insights{grid-template-columns:1fr}.agency-v3-bookings-hero{min-height:230px}.agency-v3-bookings-hero .agency-v3-hero-content{width:90%;padding:17px 14px}.agency-v3-payment-entry .field-grid{grid-template-columns:1fr}}
/* Rebuilt live catalog and finance/report pages */
.agency-v3-products-list,.agency-v3-card{background:#fff;border:1px solid #e5e9f2;border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(23,38,70,.045);margin-top:18px}.agency-v3-card>header,.agency-v3-products-list>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.agency-v3-card>header small,.agency-v3-products-list>header small{color:#df1680;font-weight:700}.agency-v3-card>header h2,.agency-v3-products-list>header h2{margin:5px 0;color:#172642}.agency-v3-card>header p,.agency-v3-products-list>header p{margin:0;color:#68758d}.agency-v3-card>header>span,.agency-v3-products-list>header>span{background:#fceaf3;color:#bc176f;border-radius:99px;padding:8px 13px;font-weight:700}.agency-v3-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0 20px;padding:14px;background:#f6f7fb;border-radius:14px}.agency-v3-filters label{display:grid;gap:6px;color:#4c5870;font-size:13px;flex:1;min-width:145px}.agency-v3-filters input,.agency-v3-filters select{height:42px;border:1px solid #dce2ed;background:white;border-radius:10px;padding:0 12px;color:#172642}.agency-v3-product-card{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid #e7eaf1;border-radius:14px;margin-top:10px;transition:transform .18s,box-shadow .18s}.agency-v3-product-card:hover{transform:translateY(-2px);box-shadow:0 9px 23px rgba(23,38,70,.08)}.agency-v3-product-icon{width:46px;height:46px;display:grid;place-items:center;background:#fceaf3;color:#df1680;border-radius:13px;font-size:23px}.agency-v3-product-copy{flex:1}.agency-v3-product-copy h3{margin:0 0 4px}.agency-v3-product-copy p{margin:0;color:#758198;font-size:13px}.agency-v3-product-card>b{color:#172642}.agency-v3-reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.agency-v3-empty{padding:42px 18px;text-align:center;color:#69768c;background:#fafbfe;border:1px dashed #dfe4ed;border-radius:13px}.agency-v3-reports-grid .agency-v3-card{margin:0;min-width:0;overflow:auto}.agency-v3-filters .button{height:42px}@media(max-width:700px){.agency-v3-reports-grid{grid-template-columns:1fr}.agency-v3-product-card{flex-wrap:wrap}.agency-v3-product-card>b{margin-inline-start:auto}.agency-v3-products-list,.agency-v3-card{padding:15px}.agency-v3-card>header,.agency-v3-products-list>header{align-items:flex-start}}
.agency-v3-finance-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr);gap:18px;margin-top:18px;align-items:start}.agency-v3-finance-grid>.agency-v3-card{margin:0;min-width:0;overflow:auto}.agency-v3-finance-side{display:grid;gap:16px}.agency-v3-finance-side .agency-v3-card{margin:0}.agency-v3-finance-side .agency-v3-card>div:not(header){display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #edf0f5}.agency-v3-finance-side .agency-v3-card>div strong{color:#172642}.agency-v3-new-payment .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agency-v3-finance-grid .table-wrap{overflow:auto}@media(max-width:900px){.agency-v3-finance-grid{grid-template-columns:1fr}}@media(max-width:700px){.agency-v3-new-payment .field-grid{grid-template-columns:1fr}}.agency-v3-tasks-hero{min-height:210px}.agency-v3-task-table{margin-top:18px}.agency-v3-task-followups{margin-top:18px}.agency-v3-task-followups .agency-v3-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.agency-v3-task-followups .agency-v3-reminder{border:1px solid #e7eaf1;border-radius:12px;padding:12px;background:#fbfcff}@media(max-width:700px){.agency-v3-tasks-hero{min-height:230px}}.agency-v3-settings-hero{min-height:210px;background:linear-gradient(120deg,#fceaf3,#fff 64%,#f5efff)}.agency-v3-settings-hero .agency-v3-hero-content{width:68%}.agency-v3-settings-notice{margin-top:16px}.agency-v3-settings-notice+.panel{margin-top:14px;padding:24px;border:1px solid #e5e9f2;border-radius:18px;box-shadow:0 8px 28px rgba(23,38,70,.045)}.agency-v3-settings-notice+.panel .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agency-v3-settings-notice+.panel .field:has(textarea){grid-column:span 1}.agency-v3-settings-notice+.panel .form-actions{grid-column:1/-1}@media(max-width:700px){.agency-v3-settings-hero .agency-v3-hero-content{width:90%}.agency-v3-settings-notice+.panel .form-grid{grid-template-columns:1fr}}.agency-v3-profile-hero{min-height:210px;background:linear-gradient(115deg,#fbeaf2,#fff 65%,#f5f0ff)}.profile-settings{margin-top:16px;padding:24px;border:1px solid #e5e9f2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(23,38,70,.045)}.profile-settings .section-heading{margin-bottom:14px}.profile-settings .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-settings .form-actions{grid-column:1/-1}@media(max-width:700px){.profile-settings{padding:15px}.profile-settings .form-grid{grid-template-columns:1fr}.agency-v3-profile-hero{min-height:225px}}.agency-v3-team-hero{min-height:205px;background:linear-gradient(120deg,#fceaf3,#fff 68%,#f3efff)}.agency-v3-team-hero .agency-v3-hero-content{width:68%}.agency-v3-team-hero+ .panel{margin-top:16px;padding:20px;border:1px solid #e5e9f2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(23,38,70,.045)}.agency-v3-team-hero+ .panel h2{color:#172642}.agency-v3-team-hero+ .panel+ .panel{margin-top:16px;padding:22px;border:1px solid #e5e9f2;border-radius:18px;background:#fff}@media(max-width:700px){.agency-v3-team-hero{min-height:225px}.agency-v3-team-hero .agency-v3-hero-content{width:90%}}.ai-studio-head{position:relative;overflow:hidden;min-height:205px;padding:26px;border-radius:22px;background:linear-gradient(115deg,#16264a,#45247e 55%,#d71883);color:#fff;box-shadow:0 14px 36px rgba(28,26,71,.17)}.ai-studio-head h1{font-size:clamp(25px,3vw,34px)}.ai-studio-head>div:first-child{max-width:66%}.ai-studio-head .credit-pill{min-width:145px}.ai-studio-layout{grid-template-columns:minmax(285px,.43fr) minmax(0,1fr);gap:16px;align-items:stretch}.ai-prompt-panel,.ai-studio-layout>main{border:1px solid #e5e9f2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(23,38,70,.045);padding:18px}.ai-gallery{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px}.ai-gallery>.empty{grid-column:1/-1}.ai-prompt-panel .form-actions .button{width:100%}@media(max-width:850px){.ai-studio-layout{grid-template-columns:1fr}.ai-prompt-panel{position:static}.ai-studio-head>div:first-child{max-width:100%}}@media(max-width:600px){.ai-studio-head{padding:18px}.ai-studio-head .credit-pill{margin-top:12px}.ai-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Marketplace, installed apps, and agency website builder visual rebuild */
.agency-v3-market-hero{min-height:210px;margin-bottom:16px;background:linear-gradient(112deg,#fff0f7 0%,#fff 56%,#f0edff 100%)}
.agency-v3-market-hero .agency-v3-hero-content{width:64%}
.agency-v3-market-hero .agency-v3-hero-content>div{color:#65738a}
.marketplace-v2-hero{padding:20px 24px;border-radius:18px;background:linear-gradient(110deg,#18294d,#392c68 76%,#b82476);box-shadow:0 10px 26px #17264218}
.marketplace-v2-hero h2{margin:0 0 5px;font-size:clamp(18px,2vw,25px)}
.marketplace-v2-hero p{margin:0;color:#e3e9f5;font-size:12px}
.marketplace-v2-hero dl div{min-width:72px;padding:10px 12px;border-radius:12px;background:#ffffff12}
.marketplace-v2-hero dl dd{font-size:20px}
.market-search,.resource-filters{margin:12px 0;padding:10px 12px;border:1px solid #e5e9f2;border-radius:13px;background:#fff;box-shadow:0 5px 16px #17264208}
.market-search input{min-height:40px;padding-inline:12px;border:1px solid #e5e9f2;border-radius:9px;background:#fafbfe}
.market-search .button,.market-connect-form .button{min-height:38px;border:0;border-radius:9px;background:linear-gradient(110deg,#e31579,#be1675);color:#fff;font-weight:800}
.market-pills{gap:7px;margin:10px 0 14px}
.market-pill{border-radius:10px;padding:8px 11px;background:#fff}
.market-featured{min-height:125px;margin:12px 0 16px;padding:18px 22px;border-radius:17px;background:linear-gradient(110deg,#fff0f7,#fff 62%,#f4f0ff);border-color:#f1dce7;box-shadow:0 8px 22px #17264208}
.market-featured h2{font-size:19px;margin:4px 0}
.market-featured p{font-size:11px;min-height:0;margin:4px 0 10px}
.market-featured .button{background:#fff;color:#c81570;border:1px solid #e5a9c7}
.featured-app-mark,.market-logo{display:grid!important;place-items:center;overflow:hidden;flex:none;width:52px;height:52px;border-radius:15px;background:#fff;box-shadow:0 5px 15px #17264213}
.market-logo img,.featured-app-mark img{width:72%;height:72%;object-fit:contain}
.market-layout{grid-template-columns:minmax(0,1fr) 220px;gap:13px}
.market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.market-app-card{padding:14px;border-radius:15px;box-shadow:0 5px 16px #17264209}
.market-app-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #d3137218}
.market-app-card .market-app-logo{width:44px;height:44px;border-radius:13px;background:#fff}
.market-card-title{align-items:center;margin-top:10px}
.market-card-title h3{font-size:13px}
.market-card-title small{font-size:10px}
.market-app-card p{min-height:44px;margin:8px 0;color:#69778d;font-size:11px;line-height:1.65}
.market-app-card .market-badges span{padding:5px 8px;font-size:9px}
.market-app-card .app-actions{display:flex;align-items:center;gap:7px;margin-top:12px}
.market-app-card .app-actions>.button,.market-app-card .app-actions>a{min-height:35px;padding:7px 10px;border-radius:9px;font-size:10px}
.market-app-card .app-actions .market-connect-form{flex:1}
.market-app-card .market-connect-form button{width:100%;color:#fff}
.market-my-apps{padding:16px;border-radius:15px;box-shadow:0 6px 20px #1726420b}
.market-my-apps>strong{font-size:38px}
.market-my-apps p{font-size:11px;line-height:1.7}
.my-apps-hero{padding:28px;border-radius:22px}
.my-apps-hero h1{font-size:clamp(28px,3vw,42px)}
.my-apps-summary article{border-radius:13px;background:#ffffff0c}
.my-app-toolbar{margin:16px 0 10px;padding:15px 17px;border:1px solid #e7eaf1;border-radius:15px;background:#fff;box-shadow:0 5px 18px #17264208}
.my-app-toolbar h2{font-size:17px}
.my-apps-grid{gap:13px}
.my-app-card{padding:16px;border-radius:16px;box-shadow:0 6px 20px #1726420a;transition:transform .2s,box-shadow .2s}
.my-app-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #d3137217}
.my-app-card footer{gap:8px;flex-wrap:wrap}
.my-app-card footer .button{color:#fff}
.my-apps-empty{border-radius:19px}
.recommended-apps{padding:18px;border:1px solid #e7eaf1;border-radius:17px;background:#fff}
.agency-v3-website-hero{min-height:190px;margin-bottom:14px;background:linear-gradient(115deg,#fff1f7,#fff 56%,#f0edff)}
.agency-v3-website-hero .agency-v3-hero-content{width:68%}
.builder-shell{margin:0 0 16px;border:1px solid #e3e8f0;border-radius:18px;background:#f3f5fa;box-shadow:0 12px 34px #17264212}
.builder-toolbar{position:sticky;top:0;z-index:5;min-height:60px;border-color:#e6eaf1}
.builder-section-nav,.builder-inspector{box-shadow:0 5px 18px #17264208}
.builder-section-nav{background:#172642}
.builder-inspector{background:#fff}
.builder-analytics{padding:18px;border:1px solid #e5e9f2;border-radius:18px;background:#fff;box-shadow:0 8px 26px #17264208}
.builder-metrics article{border-radius:13px;background:linear-gradient(140deg,#fff,#fff5f9)}
@media(max-width:1050px){.market-layout{grid-template-columns:1fr}.market-my-apps{position:static;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 14px}.market-my-apps .button{grid-column:2;grid-row:1/4}}
@media(max-width:850px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-v3-market-hero .agency-v3-hero-content,.agency-v3-website-hero .agency-v3-hero-content{width:75%}}
@media(max-width:700px){.marketplace-v2-hero{align-items:flex-start;flex-direction:column;padding:16px}.marketplace-v2-hero dl{flex-wrap:wrap}.market-grid{grid-template-columns:1fr}.market-app-card p{min-height:0}.market-my-apps{display:block}.market-my-apps .button{display:inline-flex}.market-featured{gap:10px;padding:14px}.market-featured .featured-app-mark{width:43px;height:43px}.my-apps-hero{grid-template-columns:1fr;padding:19px}.my-apps-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.my-apps-summary article{padding:10px}.my-app-toolbar{align-items:stretch;flex-direction:column}.my-app-toolbar label{width:100%}.agency-v3-market-hero,.agency-v3-website-hero{min-height:225px}.agency-v3-market-hero .agency-v3-hero-content,.agency-v3-website-hero .agency-v3-hero-content{width:90%}}
@media(prefers-reduced-motion:reduce){.market-app-card,.my-app-card{transition:none!important}.market-app-card:hover,.my-app-card:hover{transform:none}}

/* Rebuilt supplier, document, advertising, and AI credit pages */
.agency-v3-directory,.agency-v3-advertising,.agency-v3-credits{display:grid;gap:14px}
.agency-v3-directory-hero{min-height:205px}
.agency-v3-directory-hero .agency-v3-hero-content{width:62%}
.agency-v3-directory-card,.agency-v3-ad-list,.agency-v3-credit-ledger{margin:0;padding:18px;border:1px solid #e5e9f2;border-radius:17px;background:#fff;box-shadow:0 8px 24px #1726420a}
.agency-v3-directory-card>header,.agency-v3-ad-list>header,.agency-v3-credit-ledger>header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.agency-v3-directory-card>header h2,.agency-v3-ad-list>header h2,.agency-v3-credit-ledger>header h2{margin:3px 0;color:#172642;font-size:17px}
.agency-v3-directory-card>header p,.agency-v3-ad-list>header p,.agency-v3-credit-ledger>header p{margin:3px 0;color:#748198;font-size:11px}
.agency-v3-directory-card>header>div>small,.agency-v3-ad-list>header>div>small,.agency-v3-credit-ledger>header>div>small{color:#d31372;font-size:10px;font-weight:800}
.agency-v3-directory-card>header>span,.agency-v3-ad-list>header>span,.agency-v3-credit-ledger>header>span{padding:7px 10px;border-radius:9px;background:#fff0f7;color:#c81870;font-size:11px;font-weight:800;white-space:nowrap}
.agency-v3-directory-card .agency-v3-filters{margin:8px 0 13px}
.agency-v3-directory-card .agency-v3-search{min-width:220px}
.agency-v3-directory-hero~.agency-v3-directory-card .agency-v3-table{min-width:680px}
.agency-v3-ad-hero{min-height:205px;background:linear-gradient(112deg,#18294d,#392c68 65%,#c51b77)}
.agency-v3-ad-hero .agency-v3-hero-content{width:65%}
.agency-v3-ad-hero .agency-v3-hero-content>div{color:#e6e9f1}
.agency-v3-advertising>.catalog-heading{display:none}
.agency-v3-ad-list .resource-filters{margin:0 0 12px}
.agency-v3-ad-list .campaign-card{border:1px solid #e7eaf1;border-radius:14px;background:#fff;box-shadow:0 5px 16px #17264209;transition:transform .18s,box-shadow .18s}
.agency-v3-ad-list .campaign-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #d3137215}
.agency-v3-advertising .agency-v3-stats{margin:0}
.agency-v3-credit-hero{min-height:205px;background:linear-gradient(115deg,#18294d,#382861 66%,#c71978)}
.agency-v3-credit-hero .agency-v3-hero-content{width:65%}
.agency-v3-credits>.credit-hero{display:none}
.agency-v3-credit-ledger .table-wrap{overflow:auto}
.agency-v3-credit-ledger table{min-width:650px}
.agency-v3-credit-ledger td,.agency-v3-credit-ledger th{padding:11px 12px}
@media(max-width:850px){.agency-v3-directory-hero .agency-v3-hero-content,.agency-v3-ad-hero .agency-v3-hero-content,.agency-v3-credit-hero .agency-v3-hero-content{width:76%}}
@media(max-width:700px){.agency-v3-directory-hero,.agency-v3-ad-hero,.agency-v3-credit-hero{min-height:230px}.agency-v3-directory-hero .agency-v3-hero-content,.agency-v3-ad-hero .agency-v3-hero-content,.agency-v3-credit-hero .agency-v3-hero-content{width:90%;padding:17px 14px}.agency-v3-directory-card,.agency-v3-ad-list,.agency-v3-credit-ledger{padding:13px}.agency-v3-directory-card>header,.agency-v3-ad-list>header,.agency-v3-credit-ledger>header{align-items:flex-start}.agency-v3-directory-card .agency-v3-filters .agency-v3-search{flex-basis:100%}}

.agency-v3-suppliers{display:grid;gap:14px}
.agency-v3-supplier-hero{min-height:205px;background:linear-gradient(115deg,#192b4c,#273d68 62%,#cc267d)}
.agency-v3-supplier-hero .agency-v3-hero-content{width:65%}
.agency-v3-supplier-hero .agency-v3-hero-content>div{color:#edf0f7}
.supplier-stats,.credit-stats{margin:0}
.supplier-stats article,.credit-stats article{min-height:95px}
.supplier-access-panel,.agency-v3-card.supplier-results,.agency-v3-card.supplier-search-card,.agency-v3-card.supplier-history-card{padding:17px;border:1px solid #e5e9f2;border-radius:17px;background:#fff;box-shadow:0 8px 24px #1726420a}
.supplier-access-panel>header,.agency-v3-card.supplier-results>header,.agency-v3-card.supplier-search-card>header,.agency-v3-card.supplier-history-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.supplier-access-panel>header small,.agency-v3-card.supplier-results>header small,.agency-v3-card.supplier-search-card>header small,.agency-v3-card.supplier-history-card>header small{color:#d31372;font-size:10px;font-weight:800}
.supplier-access-panel>header h2,.agency-v3-card.supplier-results>header h2,.agency-v3-card.supplier-search-card>header h2,.agency-v3-card.supplier-history-card>header h2{margin:3px 0;color:#172642;font-size:17px}
.supplier-access-panel>header>span,.agency-v3-card.supplier-results>header>span,.agency-v3-card.supplier-search-card>header>span,.agency-v3-card.supplier-history-card>header>span{padding:7px 10px;border-radius:9px;background:#fff0f7;color:#c81870;font-size:11px;font-weight:800;white-space:nowrap}
.supplier-access-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.supplier-access-strip>article{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e8ebf2;border-radius:12px;background:linear-gradient(140deg,#fff,#fafbfe)}
.supplier-access-strip>article .provider-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0f7;color:#d31372;font-size:16px;font-weight:800}
.supplier-access-strip>article>div{display:grid;gap:4px;min-width:0;flex:1}
.supplier-access-strip>article strong{color:#1a2946;font-size:12px}
.supplier-access-strip>article small{overflow:hidden;color:#758197;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.supplier-access-strip>article .badge{white-space:nowrap}
.supplier-market-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:13px}
.supplier-search-card form{margin:2px 0 0}
.supplier-search-card form>button,.agency-v3-card.supplier-search-card form button[type=submit]{min-height:42px;border-radius:11px}
.supplier-search-history{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.supplier-search-history li{display:grid;gap:4px;padding:10px 11px;border:1px solid #ebedf3;border-radius:11px;background:#fbfcfe}
.supplier-search-history li>span{color:#d31372;font-size:10px;font-weight:800}
.supplier-search-history li>b{color:#172642;font-size:12px}
.supplier-search-history li>small{color:#758197;font-size:10px}
.supplier-result-list{display:grid;gap:8px}
.supplier-result-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e9ebf2;border-radius:12px}
.supplier-result-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#fff0f7;color:#d31372}
.supplier-result-card>div{display:grid;gap:4px;flex:1}
.supplier-result-card>div b{color:#172642;font-size:13px}
.supplier-result-card>div small{color:#758197;font-size:11px}
.supplier-result-card>strong{color:#c81870;font-size:13px}
.agency-v3-credit-hero h1 small{display:inline-block;color:#ffe1f0;font-size:.42em;font-weight:700}
.agency-v3-credit-ledger .table{min-width:640px}
.agency-v3-credit-ledger .empty{padding:28px}
/* AI credit summary: keep the three ledger totals readable as a single KPI row. */
.agency-v3-credits>.credit-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;width:100%;margin:0 0 20px}
.agency-v3-credits>.credit-stats>article{position:relative;display:grid;grid-template-rows:auto auto 1fr;align-content:start;gap:8px;min-width:0;min-height:142px;padding:20px 22px;overflow:hidden;border:1px solid #e6eaf2;border-top:3px solid #d51b80;border-radius:17px;background:linear-gradient(145deg,#fff 58%,#fff5fa);box-shadow:0 8px 22px #1726420b;text-align:start;transition:transform .18s ease,box-shadow .18s ease}
.agency-v3-credits>.credit-stats>article:nth-child(2){border-top-color:#3974c8;background:linear-gradient(145deg,#fff 58%,#f2f7ff)}
.agency-v3-credits>.credit-stats>article:nth-child(3){border-top-color:#7957b8;background:linear-gradient(145deg,#fff 58%,#f7f3ff)}
.agency-v3-credits>.credit-stats>article:hover{transform:translateY(-2px);box-shadow:0 12px 26px #17264213}
.agency-v3-credits>.credit-stats>article>small{display:flex;align-items:center;gap:8px;color:#65728a;font-size:13px;font-weight:750;line-height:1.5}
.agency-v3-credits>.credit-stats>article>small:before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#d51b80;box-shadow:0 0 0 4px #fff0f7}
.agency-v3-credits>.credit-stats>article:nth-child(2)>small:before{background:#3974c8;box-shadow:0 0 0 4px #edf4ff}
.agency-v3-credits>.credit-stats>article:nth-child(3)>small:before{background:#7957b8;box-shadow:0 0 0 4px #f3edff}
.agency-v3-credits>.credit-stats>article>b{color:#192b4c;font-size:clamp(29px,3vw,36px);font-weight:850;line-height:1.12;font-variant-numeric:tabular-nums}
.agency-v3-credits>.credit-stats>article:nth-child(2)>b{color:#2863b5}
.agency-v3-credits>.credit-stats>article:nth-child(3)>b{color:#704cab}
.agency-v3-credits>.credit-stats>article>span{align-self:end;color:#77839a;font-size:12px;line-height:1.55}
@media(max-width:700px){.agency-v3-credits>.credit-stats{grid-template-columns:1fr;gap:10px;margin-bottom:16px}.agency-v3-credits>.credit-stats>article{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:16px;row-gap:5px;min-height:0;padding:15px 17px}.agency-v3-credits>.credit-stats>article>small{grid-column:1;grid-row:1}.agency-v3-credits>.credit-stats>article>b{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:30px}.agency-v3-credits>.credit-stats>article>span{grid-column:1;grid-row:2}}
@media(max-width:1000px){.supplier-market-grid{grid-template-columns:1fr}.supplier-access-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.agency-v3-supplier-hero .agency-v3-hero-content{width:76%}}
@media(max-width:700px){.agency-v3-supplier-hero{min-height:235px}.agency-v3-supplier-hero .agency-v3-hero-content{width:91%;padding:17px 14px}.supplier-access-panel,.agency-v3-card.supplier-results,.agency-v3-card.supplier-search-card,.agency-v3-card.supplier-history-card{padding:13px}.supplier-access-strip{grid-template-columns:1fr}.supplier-access-panel>header,.agency-v3-card.supplier-results>header,.agency-v3-card.supplier-search-card>header,.agency-v3-card.supplier-history-card>header{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.agency-v3-ad-list .campaign-card{transition:none!important}.agency-v3-ad-list .campaign-card:hover{transform:none}}
.agency-v3-help{display:grid;gap:14px}
.agency-v3-help-hero{min-height:250px;background:linear-gradient(112deg,#192a4b,#313968 62%,#d22480)}
.agency-v3-help-hero .agency-v3-hero-content{width:68%}
.agency-v3-help-hero .agency-v3-hero-content>div{max-width:620px;color:#edf0f7}
.agency-v3-help-hero form{display:flex;gap:8px;max-width:620px;margin-top:17px;padding:6px;border:1px solid #ffffff42;border-radius:13px;background:#fff;box-shadow:0 10px 25px #111b351e}
.agency-v3-help-hero form input{flex:1;min-width:0;padding:11px;border:0;outline:0;color:#172642;background:transparent}
.agency-v3-help-hero form button{padding:0 17px;border:0;border-radius:10px;background:linear-gradient(120deg,#ed1680,#cb176c);color:#fff;font-weight:800;cursor:pointer}
.agency-help-section{padding:17px;border:1px solid #e5e9f2;border-radius:17px;background:#fff;box-shadow:0 8px 24px #1726420a}
.agency-help-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.agency-help-section>header small{color:#d31372;font-size:10px;font-weight:800;letter-spacing:.08em}
.agency-help-section>header h2{margin:3px 0;color:#172642;font-size:18px}
.agency-help-section>header>span{padding:7px 10px;border-radius:9px;background:#fff0f7;color:#c81870;font-size:11px;font-weight:800}
.agency-help-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.agency-help-topic{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:4px 10px;padding:12px;border:1px solid #e8ebf2;border-radius:13px;background:linear-gradient(140deg,#fff,#fbfafe);text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}
.agency-help-topic:hover{transform:translateY(-2px);border-color:#efc4da;box-shadow:0 9px 18px #d3137212}
.agency-help-topic>span{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#fff0f7;color:#d31372;font-size:16px}
.agency-help-topic>b{color:#1a2946;font-size:12px}
.agency-help-topic>small{display:-webkit-box;overflow:hidden;color:#748198;font-size:10px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.agency-help-articles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.agency-help-article{position:relative;display:grid;gap:6px;padding:13px 40px 13px 13px;border:1px solid #e8ebf2;border-radius:12px;text-decoration:none;transition:transform .18s,box-shadow .18s}
.agency-help-article:hover{transform:translateY(-2px);box-shadow:0 9px 18px #17264210}
.agency-help-article>span{color:#d31372;font-size:9px;font-weight:800;text-transform:uppercase}
.agency-help-article>b{color:#172642;font-size:12px}
.agency-help-article>small{display:-webkit-box;overflow:hidden;color:#748198;font-size:10px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.agency-help-article>i{position:absolute;inset-inline-end:12px;top:50%;color:#ca1c73;font-size:18px;font-style:normal;transform:translateY(-50%)}
.agency-help-support{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border:1px solid #f0d7e4;border-radius:16px;background:linear-gradient(105deg,#fff1f7,#fff 58%,#f5f1ff)}
.agency-help-support>div{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:2px 12px}
.agency-help-support>div>span{grid-row:span 3;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#fff;color:#cf1973}
.agency-help-support p{margin:0;color:#cf1973;font-size:9px;font-weight:800;letter-spacing:.1em}
.agency-help-support h2{margin:2px 0;color:#172642;font-size:16px}
.agency-help-support small{color:#748198;font-size:11px}
.agency-help-support .button{color:#fff}
@media(max-width:1000px){.agency-help-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.agency-v3-help-hero .agency-v3-hero-content{width:78%}}
@media(max-width:700px){.agency-v3-help-hero{min-height:260px}.agency-v3-help-hero .agency-v3-hero-content{width:92%;padding:17px 14px}.agency-v3-help-hero form{flex-direction:column}.agency-v3-help-hero form button{min-height:40px}.agency-help-section{padding:13px}.agency-help-topics,.agency-help-articles{grid-template-columns:1fr}.agency-help-support{align-items:flex-start;flex-direction:column;padding:14px}.agency-help-support .button{width:100%}}
@media(prefers-reduced-motion:reduce){.agency-help-topic,.agency-help-article{transition:none!important}.agency-help-topic:hover,.agency-help-article:hover{transform:none}}

/* Category controls stay readable in the mobile drawer; profile/settings are
   separate utility destinations beneath Help Center. */
@media(max-width:1050px){
  .agency-v2-shell.sidebar-collapsed .agency-sidebar{width:250px;padding:17px 14px 13px}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-brand .brand-copy,
  .agency-v2-shell.sidebar-collapsed .agency-workspace>span:last-child,
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{display:initial}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group-toggle>b,
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group-chevron,
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item>b{display:initial}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item{justify-content:flex-start;padding:5px 9px}
  .agency-v2-shell .nav-group-toggle>b,
  .agency-v2-shell .nav-group-toggle .nav-group-chevron{display:initial}
}

/* Compact, collision-free agency navigation with a clear active destination. */
.agency-v2-shell .agency-sidebar-nav{display:block;flex:1;min-height:0;overflow-y:auto;padding:4px 1px 12px;scrollbar-width:none;overscroll-behavior:contain}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar{display:none}
.agency-v2-shell .agency-sidebar-nav .nav-group{display:block;flex:none;min-height:0;margin:0 0 7px}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle{width:100%;min-width:0;min-height:46px;margin:0;padding:7px 9px;direction:rtl;text-align:right;line-height:1.35}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle>b{flex:1;min-width:0;white-space:normal;line-height:1.35}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle[aria-expanded=true]{border-color:#ed3a92;background:linear-gradient(100deg,#ed0d7c30,#f58cc51c);color:#fff}
.agency-v2-shell .agency-sidebar-nav .nav-group-items{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle[aria-expanded=true]+.nav-group-items{grid-template-rows:1fr}
.agency-v2-shell .agency-sidebar-nav .nav-group-links{display:block;min-height:0;overflow:hidden}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle[aria-expanded=true]+.nav-group-items .nav-group-links{padding-block:3px}
.agency-v2-shell .agency-sidebar-nav .nav-item{width:100%;min-width:0;min-height:42px;margin:2px 0;padding:7px 9px;direction:rtl;line-height:1.35}
.agency-v2-shell .agency-sidebar-nav .nav-item>b{flex:1;min-width:0;white-space:normal;line-height:1.35;overflow-wrap:anywhere}
.agency-v2-shell .agency-sidebar-nav .nav-item.active{background:linear-gradient(105deg,#ed087c,#c91b8b);box-shadow:0 6px 16px #e80c7840;color:#fff}
.agency-v2-shell .agency-sidebar-bottom{padding-top:8px}
.agency-v2-shell .agency-profile-link{margin-top:3px;border-top:0;padding-top:5px}

/* Mobile agency navigation: use a true, independently scrollable drawer. */
@media(max-width:900px){
  .agency-v2-shell .agency-sidebar{
    position:fixed;z-index:41;inset-block:0;inset-inline-end:0;
    width:min(320px,88vw);height:100vh;height:100dvh;max-height:none;
    padding:calc(14px + env(safe-area-inset-top,0px)) 14px calc(12px + env(safe-area-inset-bottom,0px));
    overflow:hidden;transform:translateX(calc(100% + 18px));
    transition:transform .24s cubic-bezier(.2,.75,.25,1);overscroll-behavior:contain;
    box-shadow:-18px 0 46px #07162f38
  }
  .agency-v2-shell.menu-open .agency-sidebar{transform:translateX(0)}
  .agency-v2-shell .agency-sidebar-brand{flex:none;min-height:54px}
  .agency-v2-shell .agency-sidebar-nav{display:block;flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-block:6px 12px;-webkit-overflow-scrolling:touch}
  .agency-v2-shell .agency-sidebar-nav .nav-group{display:block;flex:none;margin-block:0 6px}
  .agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:44px}
  .agency-v2-shell .agency-sidebar-nav .nav-item{min-height:42px}
  .agency-v2-shell .agency-sidebar-bottom{display:block;flex:none;max-height:30vh;overflow-y:auto;padding-bottom:2px}
  .agency-v2-shell .agency-drawer-scrim{display:none}
  .agency-v2-shell.menu-open .agency-drawer-scrim{display:block;position:fixed;z-index:40;inset:0;width:100%;height:100%;padding:0;border:0;background:#07162f78;backdrop-filter:blur(2px);touch-action:none}
  .agency-v2-shell .agency-topbar .mobile-menu{position:relative;z-index:42;display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid #f1cade;border-radius:12px;background:#fff2f8;color:#c91470;cursor:pointer;touch-action:manipulation}
  .agency-v2-shell.menu-open .agency-topbar .mobile-menu{background:#fce3f0}
  .agency-v2-shell.menu-open{height:100vh;height:100dvh;overflow:hidden}
  .agency-v2-shell.menu-open .agency-main{display:flex;height:100vh;height:100dvh;min-height:0;flex-direction:column;overflow:hidden}
  .agency-v2-shell.menu-open .agency-topbar{flex:none}
  .agency-v2-shell.menu-open .agency-content{flex:1;min-height:0;overflow-y:auto;height:auto;overscroll-behavior:contain}
}
@media(max-width:430px){
  .agency-v2-shell .agency-sidebar{width:min(304px,90vw);padding-inline:12px}
  .agency-v2-shell .agency-sidebar-nav .nav-group-toggle{font-size:13px}
  .agency-v2-shell .agency-sidebar-nav .nav-item>b{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.agency-v2-shell .agency-sidebar{transition:none!important}}

/* Sidebar spacing correction: keep groups compact without reducing legibility. */
.agency-v2-shell .agency-sidebar-nav{padding-block:3px 8px}
.agency-v2-shell .agency-sidebar-nav .nav-group{margin-block-end:3px}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:40px;padding-block:5px}
.agency-v2-shell .agency-sidebar-nav .nav-item{min-height:38px;margin-block:1px;padding-block:5px}
@media(max-width:900px){
  .agency-v2-shell .agency-sidebar-nav{padding-block:4px 8px}
  .agency-v2-shell .agency-sidebar-nav .nav-group{margin-block-end:4px}
  .agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:40px}
  .agency-v2-shell .agency-sidebar-nav .nav-item{min-height:38px}
}

/* Unified TravelFlow scrollbar: white track, soft pink thumb, and smooth page scroll. */
html{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#e9147b #fff}
*{scrollbar-width:thin;scrollbar-color:#e9147b #fff}
*::-webkit-scrollbar{width:11px;height:11px}
*::-webkit-scrollbar-track{background:#fff;border-radius:999px}
*::-webkit-scrollbar-thumb{border:3px solid #fff;border-radius:999px;background:linear-gradient(180deg,#f0449c 0%,#e9147b 100%);background-clip:padding-box;transition:background .2s ease}
*::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ec2489 0%,#c90765 100%);background-clip:padding-box}
*::-webkit-scrollbar-corner{background:#fff}
.agency-v2-shell .agency-sidebar-nav{scrollbar-width:thin;scrollbar-color:#e9147b #fff}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar{display:block;width:10px}
.public-utility>div{scrollbar-width:thin}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*::-webkit-scrollbar-thumb{transition:none}}
.brand.animated-logo.maxoflow-brand,.public-nav .brand.animated-logo.maxoflow-brand,.sidebar .brand.animated-logo.maxoflow-brand,.site-footer .brand.animated-logo.maxoflow-brand,.footer .brand.animated-logo.maxoflow-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:clamp(145px,17vw,205px)!important;min-width:0!important;max-width:205px!important;height:auto!important;flex:0 1 205px!important;overflow:visible!important;padding:0!important;gap:0!important}
.maxoflow-brand>.maxoflow-full-logo{position:static!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important;opacity:1!important;clip-path:none!important;filter:drop-shadow(0 0 7px #ef198a35);animation:maxoflow-logo-pulse 10s ease-in-out infinite}
.sidebar .brand.animated-logo.maxoflow-brand{width:172px!important;max-width:172px!important;flex-basis:172px!important;margin-inline:auto!important}
.site-footer .brand.animated-logo.maxoflow-brand,.footer .brand.animated-logo.maxoflow-brand{width:175px!important;max-width:175px!important;flex-basis:175px!important}
.login-card-brand .maxoflow-card-logo{display:block!important;width:min(100%,180px)!important;height:auto!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 0 7px #ef198a35);animation:maxoflow-logo-pulse 10s ease-in-out infinite}
@media(max-width:760px){.brand.animated-logo.maxoflow-brand,.public-nav .brand.animated-logo.maxoflow-brand,.site-footer .brand.animated-logo.maxoflow-brand,.footer .brand.animated-logo.maxoflow-brand{width:145px!important;min-width:0!important;max-width:145px!important;flex:0 0 145px!important;overflow:visible!important}.sidebar .brand.animated-logo.maxoflow-brand{width:156px!important;max-width:156px!important;flex-basis:156px!important}.auth-page-brand{width:min(180px,54vw)!important;max-width:180px!important;flex-basis:min(180px,54vw)!important}}
@media(prefers-reduced-motion:reduce){.maxoflow-brand>.maxoflow-full-logo,.login-card-brand .maxoflow-card-logo{animation:none!important;filter:none!important}}

/* LTR mirror is deliberately appended after the legacy responsive rules. */
html[dir="ltr"] .agency-v2-shell .agency-sidebar{inset:0 auto 0 0;right:auto;left:0;box-shadow:8px 0 30px #07183312}
html[dir="ltr"] .agency-v2-shell .agency-main{margin:0 0 0 250px}
html[dir="ltr"] .agency-v2-shell .sidebar-collapse{left:auto;right:10px}
html[dir="ltr"] .agency-v2-shell .agency-topbar-user{direction:ltr}
html[dir="ltr"] .agency-v2-shell .agency-topbar{direction:ltr}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-main{margin-left:76px;margin-right:0}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-sidebar{width:76px}
html[dir="ltr"] .agency-v2-shell .nav-group-toggle:hover,html[dir="ltr"] .agency-v2-shell .nav-item:hover{transform:translateX(2px)}
html[dir="ltr"] .agency-v2-shell .agency-logout{justify-content:flex-start}
@media(max-width:1050px){html[dir="ltr"] .agency-v2-shell .agency-sidebar{inset:0 auto 0 0;left:0;right:auto;transform:translateX(-105%);box-shadow:14px 0 40px #091a3340}html[dir="ltr"] .agency-v2-shell.menu-open .agency-sidebar{transform:translateX(0)}html[dir="ltr"] .agency-v2-shell .agency-main{margin:0}}

/* MaxoFlow lockup: airplane in pink, readable wordmark in navy and pink. */
.brand.animated-logo.maxoflow-brand{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:clamp(176px,19vw,238px)!important;min-width:0!important;max-width:238px!important;height:auto!important;flex:0 1 238px!important;overflow:visible!important;padding:0!important}
.maxoflow-brand>.maxoflow-plane-mark{display:block!important;flex:0 0 auto!important;width:50px!important;height:50px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;opacity:1!important;filter:drop-shadow(0 3px 8px #f20b8238);transform-origin:52% 54%;animation:maxoflow-plane-drift 8s ease-in-out infinite}
.maxoflow-wordmark{display:inline-flex!important;flex:0 0 auto!important;align-items:baseline!important;gap:0!important;direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important;line-height:1!important;font-family:Inter,Arial,sans-serif!important;font-size:clamp(21px,2vw,29px)!important;font-weight:900!important;letter-spacing:-.055em!important}
.maxoflow-wordmark-maxo{color:#102d56!important}
.maxoflow-wordmark-flow{color:#e9147b!important}
.sidebar .maxoflow-wordmark .maxoflow-wordmark-maxo,.sa-sidebar .maxoflow-wordmark .maxoflow-wordmark-maxo,.agency-sidebar .maxoflow-wordmark .maxoflow-wordmark-maxo{color:#fff!important}
.login-card-brand{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:78px}
.login-card-brand .maxoflow-plane-mark{width:54px!important;height:54px!important}
.login-card-brand .maxoflow-wordmark{font-size:27px!important}
.sa-settings-logo{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:center!important;gap:8px!important;flex-wrap:wrap}
.sa-settings-logo img.maxoflow-plane-mark{width:45px!important;height:45px!important;object-fit:contain!important;filter:drop-shadow(0 2px 6px #f20b8238);animation:maxoflow-plane-drift 8s ease-in-out infinite}
.sa-settings-logo .maxoflow-wordmark{font-size:23px!important}
.sa-settings-logo>small{flex-basis:100%;direction:rtl}
.sidebar .brand.animated-logo.maxoflow-brand{width:100%!important;max-width:210px!important;flex-basis:210px!important;margin-inline:auto!important}
.sidebar .maxoflow-brand>.maxoflow-plane-mark{width:42px!important;height:42px!important}
.sidebar .maxoflow-brand .maxoflow-wordmark{font-size:21px!important}
.site-footer .brand.animated-logo.maxoflow-brand,.footer .brand.animated-logo.maxoflow-brand{width:220px!important;max-width:220px!important;flex-basis:220px!important}
.site-footer .maxoflow-brand>.maxoflow-plane-mark,.footer .maxoflow-brand>.maxoflow-plane-mark{width:46px!important;height:46px!important}
.site-footer .maxoflow-wordmark,.footer .maxoflow-wordmark{font-size:24px!important}
.auth-page-brand{width:min(238px,56vw)!important;max-width:238px!important;flex-basis:min(238px,56vw)!important}
@keyframes maxoflow-plane-drift{0%,100%{transform:translate3d(0,0,0) rotate(-2deg) scale(1)}50%{transform:translate3d(1px,-4px,0) rotate(2deg) scale(1.025)}}
.home-integration-core{animation:home-logo-pulse 8s ease-in-out infinite}
.home-integration-core img[src="/static/logo.svg"],.laptop-screen aside img[src="/static/logo.svg"],.oauth-status-page img[src="/static/logo.svg"]{animation:maxoflow-plane-drift 8s ease-in-out infinite;transform-origin:center;will-change:transform}
@media(max-width:760px){.brand.animated-logo.maxoflow-brand,.public-nav .brand.animated-logo.maxoflow-brand{width:clamp(162px,43vw,190px)!important;max-width:190px!important;flex:0 1 190px!important;gap:7px!important}.maxoflow-brand>.maxoflow-plane-mark{width:42px!important;height:42px!important}.maxoflow-brand .maxoflow-wordmark{font-size:21px!important}.sidebar .brand.animated-logo.maxoflow-brand{width:100%!important;max-width:210px!important;flex-basis:210px!important}.auth-page-brand{width:min(210px,60vw)!important;max-width:210px!important;flex-basis:min(210px,60vw)!important}}
@media(max-width:390px){.public-nav .brand.animated-logo.maxoflow-brand{width:150px!important;flex-basis:150px!important}.public-nav .maxoflow-brand>.maxoflow-plane-mark{width:38px!important;height:38px!important}.public-nav .maxoflow-brand .maxoflow-wordmark{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.maxoflow-brand>.maxoflow-plane-mark,.sa-settings-logo img.maxoflow-plane-mark,.home-integration-core,.home-integration-core img[src="/static/logo.svg"],.laptop-screen aside img[src="/static/logo.svg"],.oauth-status-page img[src="/static/logo.svg"]{animation:none!important;transform:none!important}}
/* High-contrast brand variants for dark navy and pink surfaces. */
.brand-on-navy .maxoflow-plane-mark,.brand-on-pink .maxoflow-plane-mark{filter:brightness(0) invert(1) drop-shadow(0 2px 7px #ffffff52)!important}
.brand-on-navy .maxoflow-wordmark-maxo{color:#fff!important}
.brand-on-navy .maxoflow-wordmark-flow{color:#ff70b7!important}
.brand-on-pink .maxoflow-wordmark-maxo,.brand-on-pink .maxoflow-wordmark-flow{color:#fff!important}
.brand-on-pink .maxoflow-wordmark{text-shadow:0 1px 4px #9e125a55}


/* Pair agency dashboard panels on phone widths. */
@media (max-width: 700px) {
  .agency-v3-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .agency-v3-overview .agency-v3-revenue { grid-column: 1 / -1; }
  .agency-v3-activity { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .agency-v3-overview > *, .agency-v3-activity > * { min-width: 0; }
}
@media (max-width: 390px) {
  .agency-v3-overview, .agency-v3-activity { gap: 7px; }
  .agency-v3-overview > .agency-v3-card, .agency-v3-activity > .agency-v3-card { padding: 10px; }
  .agency-v3-card > header h2 { font-size: 12px; }
}

/* Theme Marketplace storefront mobile header: compact and predictable. */
@media(max-width:1100px){
  .store header.public-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px 12px!important;height:auto!important;min-height:0!important;padding:12px 16px!important;flex-wrap:unset!important}
  .store header.public-nav>.agency-brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap}
  .store header.public-nav>.agency-brand>span{overflow:hidden;text-overflow:ellipsis}
  .store header.public-nav>nav{grid-column:1/-1;grid-row:2;display:flex!important;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;justify-content:flex-start!important;gap:16px;padding:4px 0;white-space:nowrap}
  .store header.public-nav>.store-locale-selector{grid-column:2;grid-row:1;max-width:100%;overflow-x:auto;justify-content:flex-end;white-space:nowrap}
  .store header.public-nav>.quiet{grid-column:1/-1;grid-row:3;width:100%;min-height:44px;display:flex!important;align-items:center;justify-content:center;text-align:center}
}
@media(max-width:390px){.store header.public-nav{padding-inline:12px!important;gap:8px!important}.store header.public-nav>.agency-brand{font-size:13px}.store header.public-nav>.store-locale-selector{gap:2px}.store header.public-nav>.store-locale-selector a{padding:4px 6px;font-size:11px}}


/* MaxoFlow AI Ad Studio ? page-scoped studio treatment */
.ai-studio-page{--ai-ink:#17233e;--ai-muted:#738099;--ai-line:#e6e9f1;--ai-violet:#7658ee;--ai-pink:#e31b86;display:grid;gap:18px;min-width:0;color:var(--ai-ink)}
.ai-studio-page .ai-studio-head{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:206px;margin:0;overflow:hidden;padding:clamp(22px,3vw,38px);border:1px solid #20254a;border-radius:22px;background:radial-gradient(ellipse at 12% 115%,#403591 0,transparent 46%),linear-gradient(118deg,#11182d 0%,#20213f 54%,#35143b 100%);box-shadow:0 16px 36px #15172b1a;color:#fff}
.ai-studio-page .ai-studio-head:after{position:absolute;z-index:-1;inset-inline-end:16%;top:-115px;width:285px;height:285px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 34px #ffffff08,0 0 0 68px #ffffff05;content:""}
.ai-studio-heading{max-width:760px;min-width:0}.ai-studio-kicker{display:flex;align-items:center;gap:8px;margin:0 0 7px;color:#f5a8d1;font-size:12px;font-weight:800;letter-spacing:.04em}.ai-studio-kicker span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #ffffff25;border-radius:8px;background:#ffffff12;color:#ff84c4}.ai-studio-page .ai-studio-head h1{margin:0;color:#fff;font-size:clamp(24px,3vw,36px);line-height:1.3;letter-spacing:-.035em}.ai-studio-page .ai-studio-head .ai-studio-heading>p:not(.ai-studio-kicker){max-width:680px;margin:9px 0 14px;color:#c2c7dc;font-size:14px;line-height:1.7}.ai-studio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ai-link-button{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #ffffff25;border-radius:9px;background:#ffffff0b;color:#f7f5ff;font-size:12px;font-weight:700;transition:background .18s,border-color .18s}.ai-link-button:hover{border-color:#ffffff55;background:#ffffff16}.ai-live-status{display:inline-flex;align-items:center;gap:7px;color:#abb4ca;font-size:11px}.ai-live-status i,.ai-canvas-caption i{width:7px;height:7px;border-radius:50%;background:#57d8a2;box-shadow:0 0 0 4px #57d8a21b}.ai-studio-page .ai-credit-card{position:relative;z-index:1;display:grid;justify-items:start;gap:2px;flex:none;min-width:164px;padding:16px 18px;border:1px solid #ffffff27;border-radius:15px;background:#ffffff10;color:#fff;text-decoration:none;backdrop-filter:blur(12px);transition:transform .2s,background .2s}.ai-credit-card:hover{transform:translateY(-2px);background:#ffffff17}.ai-credit-card>span{color:#c5cade;font-size:11px}.ai-credit-card>strong{color:#fff;font-size:34px;line-height:1.2}.ai-credit-card>small{color:#f4a6d0;font-size:10px}
.ai-studio-workspace{display:grid;grid-template-columns:minmax(310px,.82fr) minmax(0,1.38fr);align-items:start;gap:16px;min-width:0}.ai-studio-page .ai-prompt-panel,.ai-studio-page .ai-canvas-panel,.ai-studio-page .ai-gallery-panel{min-width:0;margin:0;padding:19px;border:1px solid var(--ai-line);border-radius:17px;background:#fff;box-shadow:0 8px 26px #16213d08}.ai-studio-page .ai-prompt-panel{position:static}.ai-panel-heading{display:flex;align-items:center;gap:11px}.ai-panel-heading>div{min-width:0}.ai-panel-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #e8ddff;border-radius:12px;background:linear-gradient(145deg,#f5f0ff,#fff0f8);color:#8056dc;font-size:21px}.ai-panel-heading .eyebrow,.ai-canvas-panel .eyebrow,.ai-gallery-panel .eyebrow{margin:0 0 1px;color:#8b61cc;font-size:9px;font-weight:850;letter-spacing:.12em}.ai-panel-heading h2,.ai-canvas-panel h2,.ai-gallery-panel h2{margin:0;color:var(--ai-ink);font-size:19px;line-height:1.4}.ai-panel-intro{margin:12px 0 13px;color:var(--ai-muted);font-size:12px;line-height:1.7}.ai-generation-form{display:grid;gap:12px}.ai-studio-page .ai-generation-form .field{display:grid;gap:6px;margin:0;color:#536079;font-size:11px;font-weight:700}.ai-studio-page .ai-generation-form textarea,.ai-studio-page .ai-generation-form select{width:100%;min-width:0;border:1px solid #e2e6ef;border-radius:10px;background:#fbfcfe;color:#202c45;font-size:12px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}.ai-studio-page .ai-generation-form textarea{min-height:132px;padding:11px 12px;resize:vertical;line-height:1.65}.ai-studio-page .ai-generation-form select{height:42px;padding:0 11px}.ai-studio-page .ai-generation-form textarea:focus,.ai-studio-page .ai-generation-form select:focus{border-color:#aa88ef;background:#fff;box-shadow:0 0 0 3px #8a62df18}.ai-prompt-presets{display:flex;flex-wrap:wrap;gap:7px}.ai-prompt-presets>span{width:100%;color:#778198;font-size:10px;font-weight:750}.ai-prompt-preset{padding:6px 9px;border:1px solid #e8e5f0;border-radius:999px;background:#fff;color:#5e5575;font-size:10px;font-weight:650;transition:background .16s,border-color .16s,color .16s}.ai-prompt-preset:hover{border-color:#c6b3f0;background:#f8f4ff;color:#6b48bb}.ai-studio-page .ai-generation-form .form-actions{display:grid;gap:7px;margin-top:1px}.ai-studio-page .ai-generate-button{display:flex;width:100%;min-height:46px;justify-content:center;border:0;border-radius:11px;background:linear-gradient(105deg,#7658ee,#c12a9c 74%,#e21b86);box-shadow:0 9px 18px #8b43cf25;font-size:13px}.ai-studio-page .ai-generate-button:hover{box-shadow:0 12px 23px #8b43cf38}.ai-studio-page .ai-generate-button:disabled{cursor:not-allowed;transform:none;box-shadow:none;filter:saturate(.4)}.ai-generate-button>span{font-size:17px}.ai-generate-button>b{display:grid;place-items:center;min-width:20px;height:20px;margin-inline-start:3px;border-radius:6px;background:#ffffff25;font-size:10px}.ai-studio-page .ai-generation-form .form-actions>small{text-align:center;color:#8b94a6;font-size:10px}.ai-provider-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:10px 11px;border:1px solid #eeebf7;border-radius:10px;background:#faf9fd}.ai-provider-note>span{color:#8660d6}.ai-provider-note p{margin:0;color:#747d91;font-size:10px;line-height:1.6}.ai-products-hint{display:inline-block;margin-top:10px;color:#8b56c2;font-size:11px;font-weight:750}
.ai-results-column{display:grid;gap:15px;min-width:0}.ai-canvas-panel{overflow:hidden}.ai-studio-page .ai-canvas-panel>header,.ai-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.ai-canvas-panel>header>span,.ai-gallery-header>span{flex:none;padding:6px 9px;border:1px solid #e7e9f0;border-radius:8px;background:#fafbfe;color:#7a8499;font-size:9px}.ai-canvas-surface{display:grid;place-items:center;min-height:310px;overflow:hidden;padding:20px;border:1px solid #272a3d;border-radius:13px;background-color:#171a2b;background-image:radial-gradient(#ffffff12 1px,transparent 1px),radial-gradient(ellipse at center,#2e2943 0%,#1b1d2e 57%,#151827 100%);background-size:18px 18px,auto}.ai-canvas-artboard{display:grid;place-items:center;width:min(100%,540px);max-height:510px;overflow:hidden;aspect-ratio:var(--ai-ratio,1 / 1);border:1px solid #ffffff25;border-radius:10px;background:linear-gradient(140deg,#33234b,#252b42 55%,#493052);box-shadow:0 20px 55px #080a16a6;transition:aspect-ratio .2s}.ai-canvas-artboard>img{display:block;width:100%;height:100%;max-height:510px;object-fit:contain;background:#131522}.ai-canvas-placeholder{display:grid;justify-items:center;gap:7px;max-width:310px;padding:22px;text-align:center;color:#fff}.ai-canvas-spark{display:grid;place-items:center;width:47px;height:47px;border:1px solid #ffffff29;border-radius:15px;background:linear-gradient(145deg,#ffffff18,#ffffff07);color:#ff8bc4;font-size:24px;box-shadow:0 0 34px #d34ba31e}.ai-canvas-placeholder strong{font-size:15px}.ai-canvas-placeholder p{margin:0;color:#b8bfd2;font-size:11px;line-height:1.7}.ai-canvas-panel>footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:11px}.ai-canvas-caption{display:flex;align-items:center;gap:8px;color:#6f7890;font-size:10px}.ai-ratio-caption{padding:3px 8px;border-radius:6px;background:#f1edfb;color:#7952c4;font-size:10px;font-weight:800}.ai-gallery-panel{min-height:190px}.ai-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:11px}.ai-studio-page .ai-asset{min-width:0;overflow:hidden;border:1px solid #e7e9f0;border-radius:12px;background:#fff;box-shadow:none;transition:transform .18s,border-color .18s,box-shadow .18s}.ai-studio-page .ai-asset:hover{transform:translateY(-2px);border-color:#c6b1ec;box-shadow:0 9px 22px #38236513}.ai-studio-page .ai-asset.selected{outline:2px solid #a27be7;outline-offset:2px}.ai-asset>a{display:block;overflow:hidden;background:#181a28}.ai-studio-page .ai-asset>a>img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:transform .28s}.ai-studio-page .ai-asset:hover>a>img{transform:scale(1.035)}.ai-studio-page .ai-asset>div{padding:10px}.ai-studio-page .ai-asset span{color:#8a64c4;font-size:9px;font-weight:750}.ai-studio-page .ai-asset p{display:-webkit-box;height:35px;overflow:hidden;margin:5px 0;color:#59647a;font-size:9px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ai-studio-page .ai-asset small{color:#98a0af;font-size:8px}.ai-empty-state{grid-column:1/-1;display:grid;justify-items:center;gap:5px;padding:25px 12px;text-align:center}.ai-empty-state>span{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#f4effd;color:#885ed3;font-size:19px}.ai-empty-state h3{margin:3px 0 0;color:#34415b;font-size:13px}.ai-empty-state p{margin:0;color:#818a9e;font-size:10px}
@media(max-width:1050px){.ai-studio-workspace{grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr)}.ai-canvas-surface{min-height:280px}}
@media(max-width:820px){.ai-studio-workspace{grid-template-columns:1fr}.ai-results-column{grid-row:1}.ai-studio-page .ai-prompt-panel{grid-row:2}.ai-canvas-surface{min-height:300px}.ai-studio-page .ai-studio-head{min-height:0}}
@media(max-width:560px){.ai-studio-page{gap:12px}.ai-studio-page .ai-studio-head{align-items:flex-start;flex-direction:column;gap:15px;padding:19px;border-radius:16px}.ai-studio-page .ai-studio-head h1{font-size:24px}.ai-studio-page .ai-studio-heading>p:not(.ai-studio-kicker){font-size:12px}.ai-studio-page .ai-credit-card{width:100%;grid-template-columns:1fr auto;align-items:center;min-width:0;padding:10px 12px}.ai-credit-card>span{grid-row:1;color:#d0d2e2}.ai-credit-card>strong{grid-column:2;grid-row:1/3;font-size:26px}.ai-credit-card>small{grid-row:2}.ai-studio-workspace{gap:12px}.ai-studio-page .ai-prompt-panel,.ai-studio-page .ai-canvas-panel,.ai-studio-page .ai-gallery-panel{padding:14px;border-radius:14px}.ai-canvas-surface{min-height:245px;padding:12px}.ai-canvas-artboard{width:min(100%,370px);max-height:420px}.ai-canvas-artboard>img{max-height:420px}.ai-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-prompt-preset{font-size:9px}.ai-panel-heading h2,.ai-canvas-panel h2,.ai-gallery-panel h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.ai-studio-page *,.ai-studio-page *:before,.ai-studio-page *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.ai-no-credit{display:block;padding:6px 9px;border:1px solid #f3d7e5;border-radius:8px;background:#fff6fa;color:#ad326b;text-align:center;font-size:10px;font-weight:700}
.ai-wallet-packs{margin:1.4rem 0;padding:1.25rem;border:1px solid #e6ebf3;border-radius:22px;background:linear-gradient(140deg,#fff,#f7f9ff)}.ai-wallet-packs>header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.ai-wallet-packs small{color:#d31278;font-weight:800;letter-spacing:.12em}.ai-wallet-packs h2{margin:.25rem 0}.ai-wallet-packs p{margin:.2rem 0;color:#667991}.ai-wallet-packs>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.ai-wallet-pack{position:relative;display:flex;flex-direction:column;gap:.25rem;padding:1rem;border:1px solid #e4eaf3;border-radius:18px;background:#fff}.ai-wallet-pack>b{font-size:2rem;color:#142c51}.ai-wallet-pack>strong{font-size:1.2rem;color:#142c51}.ai-wallet-pack>del{color:#8996a9}.ai-wallet-pack>.ai-pack-discount{position:absolute;top:.7rem;inset-inline-end:.7rem;border-radius:999px;padding:.3rem .55rem;background:#fff0f7;color:#c80e76;font-size:.78rem;font-weight:800}.ai-wallet-pack>.button{margin-top:.35rem;text-align:center}@media(max-width:760px){.ai-wallet-packs>div{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-wallet-packs>header{align-items:flex-start;flex-direction:column}}@media(max-width:460px){.ai-wallet-packs>div{grid-template-columns:1fr}}

/* MaxoFlow agency navigation — isolated from the locked Super Admin shell. */
.agency-v2-shell{--agency-sidebar-width:318px}
.agency-v2-shell .agency-sidebar{
  width:var(--agency-sidebar-width);padding:16px 13px 12px;gap:0;
  border-inline-start:1px solid #1f4e8c;background:
    radial-gradient(circle at 18% 12%,#183d8b7d 0,transparent 28%),
    radial-gradient(circle at 92% 52%,#0a2b6866 0,transparent 34%),
    linear-gradient(180deg,#061d4f 0%,#041943 46%,#031437 100%);
  box-shadow:-14px 0 40px #06122b28;color:#eef5ff
}
html[dir="ltr"] .agency-v2-shell .agency-sidebar{box-shadow:14px 0 40px #06122b28}
.agency-v2-shell .agency-main{margin-right:var(--agency-sidebar-width)}
html[dir="ltr"] .agency-v2-shell .agency-main{margin-left:var(--agency-sidebar-width);margin-right:0}
.agency-v2-shell .sidebar-collapse{top:20px;inset-inline-start:13px;left:auto;width:38px;height:38px;border:1px solid #3c65a9;border-radius:10px;background:#07235a;color:#dfeaff;box-shadow:none;font-size:25px}
html[dir="ltr"] .agency-v2-shell .sidebar-collapse{right:13px;left:auto;transform:scaleX(-1)}
.agency-v2-shell .agency-sidebar-brand{min-height:61px;padding:0 8px 13px;border-bottom-color:#2a4e82}
.agency-v2-shell .agency-brand-lockup{display:grid;justify-items:start;gap:1px;min-width:0}
.agency-v2-shell .agency-brand-lockup .brand{width:auto;max-width:220px;gap:7px}
.agency-v2-shell .agency-brand-lockup .maxoflow-plane-mark{width:44px;height:44px;filter:drop-shadow(0 0 9px #eef5ff73)}
.agency-v2-shell .agency-brand-lockup .maxoflow-wordmark{font-size:24px;letter-spacing:-.045em}
.agency-v2-shell .agency-brand-lockup>span{padding-inline-start:51px;color:#eaf2ff;font-size:10px;font-weight:700;line-height:1}
.agency-v2-shell .agency-sidebar-nav{padding:8px 2px 10px;scrollbar-color:#dd1683 #06183e;scrollbar-width:thin}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar{display:block;width:5px}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar-track{background:#06183e;border-radius:99px}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar-thumb{border-radius:99px;background:#d81a82}
.agency-v2-shell .agency-sidebar-nav .nav-group{margin:0 0 9px}
.agency-v2-shell .nav-group-title{display:flex;align-items:center;gap:7px;margin:0 2px 5px;padding:0 4px;color:#fa61bd;font-size:11px;font-weight:850;line-height:1.4}
.agency-v2-shell .nav-group-title .agency-nav-group-icon{display:grid;place-items:center;width:18px;height:18px;color:#46d9ff;filter:drop-shadow(0 0 5px currentColor)}
.agency-v2-shell .nav-group-title .agency-nav-group-icon svg{width:17px;height:17px}
.agency-v2-shell .nav-group:first-child .nav-group-title{display:none}
.agency-v2-shell .nav-group-items{display:block!important;grid-template-rows:1fr!important}
.agency-v2-shell .nav-group-links{display:block!important;overflow:visible!important;padding:5px 6px!important;border:1px solid #23518c;border-radius:12px;background:linear-gradient(145deg,#092358b0,#041a45a8);box-shadow:inset 0 1px 0 #ffffff08}
.agency-v2-shell .nav-group:first-child .nav-group-links{padding:0!important;border:0;background:transparent;box-shadow:none}
.agency-v2-shell .agency-sidebar-nav .nav-item{position:relative;display:flex;align-items:center;gap:10px;min-height:36px;margin:1px 0;padding:5px 8px;border:1px solid transparent;border-radius:9px;color:#e3ecff;font-size:11px;line-height:1.25;transition:background .16s,border-color .16s,transform .16s,color .16s}
.agency-v2-shell .agency-sidebar-nav .nav-item:hover{transform:translateX(-2px);border-color:#3163a8;background:#12346d;color:#fff}
html[dir="ltr"] .agency-v2-shell .agency-sidebar-nav .nav-item:hover{transform:translateX(2px)}
.agency-v2-shell .agency-sidebar-nav .nav-item.active{min-height:46px;padding:8px 11px;border-color:#f94ab2;background:linear-gradient(100deg,#f20c83,#c817a6);box-shadow:0 8px 18px #e9088442;color:#fff}
.agency-v2-shell .agency-sidebar-nav .nav-item>b{flex:1;min-width:0;color:inherit;font-size:11px;font-weight:750;white-space:normal;overflow-wrap:anywhere}
.agency-v2-shell .agency-nav-icon{display:grid;place-items:center;flex:none;width:23px!important;height:23px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#f271d4!important;filter:drop-shadow(0 0 5px currentColor)}
.agency-v2-shell .agency-nav-icon svg{width:20px;height:20px}
.agency-v2-shell .nav-item:nth-child(4n+2) .agency-nav-icon{color:#50d4ff!important}
.agency-v2-shell .nav-item:nth-child(4n+3) .agency-nav-icon{color:#9f7cff!important}
.agency-v2-shell .nav-item:nth-child(4n+4) .agency-nav-icon{color:#ffd84f!important}
.agency-v2-shell .nav-item.active .agency-nav-icon{color:#fff!important}
.agency-v2-shell .agency-nav-arrow{flex:none;color:#b8ccf0;font-size:20px;font-style:normal;line-height:1}
html[dir="rtl"] .agency-v2-shell .agency-nav-arrow{transform:scaleX(-1)}
.agency-v2-shell .agency-nav-lock{display:grid;place-items:center;flex:none;width:19px;height:19px;border:1px solid #f56eb1;border-radius:50%;background:#351555;color:#ffb8dc;font-size:9px}
.agency-v2-shell .nav-item.is-locked{color:#aebedb}
.agency-v2-shell .nav-item.is-locked:hover{color:#fff}
.agency-v2-shell .agency-sidebar-bottom{padding-top:8px;border-top-color:#294b80;background:transparent}
.agency-v2-shell .agency-sidebar-promo{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1px 9px;margin:0 0 7px;padding:10px 11px;border:1px solid #ff4dae;border-radius:11px;background:linear-gradient(100deg,#e60b82,#c21c9c);box-shadow:0 8px 20px #d70d7d38;color:#fff}
.agency-v2-shell .agency-sidebar-promo>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#ffcf4380;color:#ffe26b;font-size:19px;filter:drop-shadow(0 0 6px #ffe26488)}
.agency-v2-shell .agency-sidebar-promo>b{font-size:11px;line-height:1.3}.agency-v2-shell .agency-sidebar-promo>small{grid-column:2;color:#ffe4f4;font-size:8px}.agency-v2-shell .agency-sidebar-promo>i{grid-row:1/3;grid-column:3;color:#fff;font-size:22px;font-style:normal}
.agency-v2-shell .agency-sidebar-utilities{margin:0}
.agency-v2-shell .agency-profile-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:46px;padding:7px 9px;border:1px solid #28528f;border-radius:11px;background:#061c49;color:#fff}
.agency-v2-shell .agency-profile-avatar{display:grid;place-items:center;width:32px;height:32px;border:2px solid #dbe8ff;border-radius:50%;background:linear-gradient(145deg,#dce8ff,#7c9bd0);color:#0a2556;font-weight:900}
.agency-v2-shell .agency-utility-copy{display:grid;min-width:0}.agency-v2-shell .agency-utility-copy>b{overflow:hidden;color:#fff;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.agency-v2-shell .agency-utility-copy>small{color:#9fb2d2;font-size:8px}
.agency-v2-shell .agency-profile-online{width:7px;height:7px;border-radius:50%;background:#20dd8c;box-shadow:0 0 0 3px #20dd8c1c}
.agency-v2-shell .agency-profile-link>i{color:#93a9cf;font-size:17px;font-style:normal}
.agency-v2-shell .agency-logout{display:none}

/* Dedicated plan entitlement state. */
.agency-plan-lock{display:grid;justify-items:center;width:min(100%,680px);margin:clamp(28px,8vh,90px) auto;padding:clamp(28px,5vw,52px);border:1px solid #e8dbea;border-radius:26px;background:radial-gradient(circle at 50% -15%,#ffe1f2 0,transparent 42%),linear-gradient(145deg,#fff,#fbf8ff);box-shadow:0 24px 65px #152c5016;text-align:center}
.agency-plan-lock-icon{display:grid;place-items:center;width:78px;height:78px;margin-bottom:17px;border:1px solid #ff91cb;border-radius:24px;background:linear-gradient(145deg,#ffedf7,#f9e9ff);box-shadow:0 14px 28px #d9158226;color:#de147d;font-size:34px;transform:rotate(-5deg)}
.agency-plan-lock-icon>span{transform:rotate(5deg)}
.agency-plan-lock-eyebrow{margin:0 0 7px;color:#d31379;font-size:12px;font-weight:900;letter-spacing:.06em}.agency-plan-lock h1{max-width:560px;margin:0;color:#102952;font-size:clamp(25px,4vw,38px);line-height:1.35}.agency-plan-lock-copy{max-width:540px;margin:12px 0 20px;color:#667892;font-size:15px;line-height:1.8}
.agency-plan-lock-plan{display:flex;align-items:center;gap:12px;margin-bottom:23px;padding:10px 16px;border:1px solid #e6dfec;border-radius:12px;background:#fff;color:#6f7890}.agency-plan-lock-plan strong{color:#152f59;font-size:16px}.agency-plan-lock-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.agency-plan-lock-actions .button{min-width:150px}.agency-plan-lock-upgrade{border-color:#e3127c!important;background:linear-gradient(105deg,#ef0b82,#c61fa3)!important;box-shadow:0 10px 22px #dc128136!important;color:#fff!important}

.agency-v2-shell.sidebar-collapsed .agency-sidebar{width:76px;padding-inline:9px}
.agency-v2-shell.sidebar-collapsed .agency-main{margin-right:76px}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-main{margin-left:76px;margin-right:0}
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup>span,.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .maxoflow-wordmark,.agency-v2-shell.sidebar-collapsed .nav-group-title b,.agency-v2-shell.sidebar-collapsed .nav-item>b,.agency-v2-shell.sidebar-collapsed .agency-nav-arrow,.agency-v2-shell.sidebar-collapsed .agency-nav-lock,.agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{display:none}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand{justify-content:center;padding-inline:0}.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .brand{justify-content:center}.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .maxoflow-plane-mark{width:40px;height:40px}.agency-v2-shell.sidebar-collapsed .nav-group-title{justify-content:center}.agency-v2-shell.sidebar-collapsed .nav-group-links{padding:4px!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item{justify-content:center;padding:5px}.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item:hover{transform:none}

@media(max-width:1050px){
  .agency-v2-shell{--agency-sidebar-width:min(318px,90vw)}
  .agency-v2-shell .agency-sidebar,.agency-v2-shell.sidebar-collapsed .agency-sidebar{width:var(--agency-sidebar-width);padding:14px 12px 11px;transform:translateX(105%)}
  html[dir="ltr"] .agency-v2-shell .agency-sidebar,html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-sidebar{transform:translateX(-105%)}
  .agency-v2-shell.menu-open .agency-sidebar,html[dir="ltr"] .agency-v2-shell.menu-open .agency-sidebar{transform:translateX(0)}
  .agency-v2-shell .agency-main,.agency-v2-shell.sidebar-collapsed .agency-main,html[dir="ltr"] .agency-v2-shell .agency-main,html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-main{margin:0}
  .agency-v2-shell.sidebar-collapsed .agency-brand-lockup>span,.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .maxoflow-wordmark,.agency-v2-shell.sidebar-collapsed .nav-group-title b,.agency-v2-shell.sidebar-collapsed .nav-item>b,.agency-v2-shell.sidebar-collapsed .agency-nav-arrow,.agency-v2-shell.sidebar-collapsed .agency-nav-lock,.agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{display:initial}
  .agency-v2-shell.sidebar-collapsed .agency-nav-arrow{display:block}.agency-v2-shell.sidebar-collapsed .agency-nav-lock{display:grid}.agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{display:block}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-item{justify-content:flex-start;padding:5px 8px}
  .agency-v2-shell .agency-sidebar-bottom{max-height:none;overflow:visible}
}
@media(max-width:520px){.agency-v2-shell{--agency-sidebar-width:min(306px,92vw)}.agency-v2-shell .agency-sidebar-nav .nav-item{min-height:34px}.agency-v2-shell .agency-content{padding:12px}.agency-plan-lock{margin:18px auto;padding:26px 18px;border-radius:20px}.agency-plan-lock-actions{width:100%}.agency-plan-lock-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){.agency-v2-shell .agency-sidebar-nav .nav-item,.agency-plan-lock-icon{transition:none!important;transform:none!important}}

/* Stable agency navigation: preserve layout while pages change or the rail is folded. */
.agency-v2-shell .agency-sidebar{contain:layout paint;transition:transform .22s ease!important}
.agency-v2-shell .agency-main{transition:none!important}
.agency-v2-shell .agency-sidebar-nav{overflow-anchor:none;scrollbar-width:none!important;-ms-overflow-style:none}
.agency-v2-shell .agency-sidebar-nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html.agency-shell-page{scrollbar-width:none;-ms-overflow-style:none}
html.agency-shell-page::-webkit-scrollbar{display:none;width:0;height:0}
.agency-v2-shell .agency-sidebar-nav .nav-item,
.agency-v2-shell .agency-sidebar-nav .nav-item.active{min-height:38px;padding:5px 8px}
.agency-v2-shell .agency-sidebar .maxoflow-plane-mark{animation:none!important;transform:none!important}
.agency-v2-shell.sidebar-collapsed .agency-sidebar,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar{width:76px;padding-inline:9px}
.agency-v2-shell.sidebar-collapsed .agency-main,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-main{margin-right:76px}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .agency-main,
html[dir="ltr"].agency-sidebar-pref-collapsed .agency-v2-shell .agency-main{margin-left:76px;margin-right:0}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-brand{justify-content:center;min-height:61px;padding:0 0 13px}
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-brand-lockup{display:flex;width:100%;justify-content:center;align-items:center}
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .brand,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-brand-lockup .brand{width:44px;max-width:44px;min-width:44px;justify-content:center;gap:0}
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .maxoflow-plane-mark,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-brand-lockup .maxoflow-plane-mark{display:block!important;width:42px!important;height:42px!important;opacity:1!important;visibility:visible!important}
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup>span,
.agency-v2-shell.sidebar-collapsed .agency-brand-lockup .maxoflow-wordmark,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-brand-lockup>span,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-brand-lockup .maxoflow-wordmark{display:none!important}
.agency-v2-shell.sidebar-collapsed .sidebar-collapse{inset-inline-start:50%;top:67px;width:28px;height:28px;transform:translateX(-50%);font-size:20px}
html[dir="ltr"] .agency-v2-shell.sidebar-collapsed .sidebar-collapse{right:auto;left:50%;transform:translateX(-50%) scaleX(-1)}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav,
.agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav{padding-top:40px}

@media(max-width:1050px){
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar{width:var(--agency-sidebar-width);padding:14px 12px 11px;transform:translateX(105%)}
  html[dir="ltr"].agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar{transform:translateX(-105%)}
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-main,
  html[dir="ltr"].agency-sidebar-pref-collapsed .agency-v2-shell .agency-main{margin:0}
  .agency-v2-shell .agency-sidebar{contain:layout paint style}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav,
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav{padding-top:8px}
}

/* Seven-section agency navigation: one direct home link and compact accordions. */
.agency-v2-shell .agency-sidebar-nav{padding-block:9px 10px}
.agency-v2-shell .agency-sidebar-nav .nav-group{margin:0 0 5px}
.agency-v2-shell .agency-sidebar-nav .nav-group-home{margin-bottom:9px}
.agency-v2-shell .agency-sidebar-nav .nav-group-home .nav-group-items{display:block!important;grid-template-rows:1fr!important}
.agency-v2-shell .agency-sidebar-nav .nav-group-home .nav-group-links{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.agency-v2-shell .agency-sidebar-nav .nav-group-home .nav-item{min-height:43px;padding:7px 10px;border:1px solid #365b91;background:#0c2a5c;color:#f4f8ff}
.agency-v2-shell .agency-sidebar-nav .nav-group-home .nav-item.active{border-color:#f94ab2;background:linear-gradient(100deg,#f20c83,#c817a6)}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:42px;margin:0;padding:6px 9px;border:1px solid #183d76;border-radius:10px;background:#082354;color:#dfeaff}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle:hover{border-color:#3e6cb0;background:#102f65;color:#fff}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle[aria-expanded=true]{border-color:#e83a94;background:linear-gradient(100deg,#e80c782c,#a82ad126);color:#fff}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle>span{width:27px;height:27px;border-radius:8px;background:#ffffff0d;color:#f274bc}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle>b{font-size:11px;font-weight:800}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle .nav-group-chevron{font-size:16px;transform:rotate(0deg)}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle[aria-expanded=true] .nav-group-chevron{transform:rotate(180deg)}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-items{display:grid!important;grid-template-rows:0fr!important;transition:grid-template-rows .2s ease}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-toggle[aria-expanded=true]+.nav-group-items{grid-template-rows:1fr!important}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-links{display:block!important;min-height:0;overflow:hidden!important;padding:0 6px!important;border:0!important;border-radius:0 0 10px 10px!important;background:transparent!important;box-shadow:none!important}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-toggle[aria-expanded=true]+.nav-group-items .nav-group-links{padding-block:4px 3px!important}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-item{min-height:36px;margin:1px 0;padding:5px 9px;border-radius:8px;background:transparent}
.agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-item.active{min-height:38px;padding:6px 9px}
.agency-v2-shell .agency-sidebar-nav .nav-group.is-current .nav-group-toggle{box-shadow:inset 3px 0 0 #ef3d99}
html[dir="rtl"] .agency-v2-shell .agency-sidebar-nav .nav-group.is-current .nav-group-toggle{box-shadow:inset -3px 0 0 #ef3d99}

@media(min-width:1051px){
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-items,
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-group-items{display:none!important}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group-toggle,
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav .nav-group-toggle{justify-content:center;padding:5px}
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group-toggle>b,
  .agency-v2-shell.sidebar-collapsed .agency-sidebar-nav .nav-group-chevron,
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav .nav-group-toggle>b,
  .agency-sidebar-pref-collapsed .agency-v2-shell .agency-sidebar-nav .nav-group-chevron{display:none!important}
}

@media(max-width:1050px){
  .agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:44px}
  .agency-v2-shell .agency-sidebar-nav .nav-group:not(.nav-group-home) .nav-item{min-height:40px}
}

/* Secure session exit stays visible at the bottom of the expanded agency rail. */
.agency-v2-shell .agency-logout{display:block;width:100%;margin:8px 0 0}
.agency-v2-shell .agency-logout .form-actions{display:block;width:100%;margin:0}
.agency-v2-shell .agency-logout button.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:8px 13px;border:1px solid #ff6fbb;border-radius:11px;background:linear-gradient(105deg,#f20c83,#cf169d);box-shadow:0 8px 19px #e20d8438;color:#fff;font:inherit;font-size:10px;font-weight:850;letter-spacing:0;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.agency-v2-shell .agency-logout button.button:hover{transform:translateY(-1px);box-shadow:0 11px 24px #e20d8450;filter:brightness(1.06)}
.agency-v2-shell .agency-logout button.button:active{transform:translateY(0);box-shadow:0 5px 12px #e20d8430}
.agency-v2-shell .agency-logout button.button:focus-visible{outline:2px solid #fff;outline-offset:2px}

@media(prefers-reduced-motion:reduce){
  .agency-v2-shell .agency-sidebar-nav .nav-group-items,.agency-v2-shell .agency-logout button.button{transition:none!important;transform:none!important}
}
/* Agency review moderation */
.agency-reviews-page{display:grid;gap:20px}
.agency-reviews-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#071c42,#102e68);color:#fff;box-shadow:0 18px 48px rgba(4,23,59,.2)}
.agency-reviews-hero:after{content:"★";position:absolute;inset-inline-end:7%;top:-25px;font-size:130px;color:rgba(236,20,126,.16);transform:rotate(-10deg)}
.agency-reviews-hero p{margin:0 0 6px;color:#ff86c4;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:900}
.agency-reviews-hero h1{margin:0 0 8px;font-size:clamp(1.6rem,3vw,2.4rem)}
.agency-reviews-hero span{color:#c9d7ef}
.agency-review-score{position:relative;z-index:1;display:grid;place-items:center;min-width:112px;padding:18px;border:1px solid rgba(255,255,255,.17);border-radius:19px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.agency-review-score strong{font-size:2rem;color:#ff3e9d}.agency-review-score small{color:#fff}
.agency-review-filters{display:flex;gap:9px;overflow:auto;padding:2px}
.review-filter{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 14px;border:1px solid #dbe4ef;border-radius:12px;background:#fff;color:#39506f;text-decoration:none;font-weight:800}
.review-filter b{min-width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#edf3fa;color:#17365f;font-size:.75rem}
.review-filter.active{border-color:#ed147d;color:#ed147d;background:#fff2f8}.review-filter.active b{background:#ed147d;color:#fff}
.agency-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.agency-review-card{display:grid;gap:16px;padding:20px;border:1px solid #dce5ef;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(20,42,75,.07)}
.agency-review-card.status-pending{border-top:4px solid #f5a400}.agency-review-card.status-approved{border-top:4px solid #19a66a}.agency-review-card.status-rejected{border-top:4px solid #e44e5c}
.agency-review-person{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center}
.agency-review-person>span{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ed147d,#7b2fe4);color:#fff;font-weight:900}
.agency-review-person>div{display:flex;flex-direction:column}.agency-review-person small{color:#16805b;font-weight:800}.agency-review-person>b{direction:ltr;color:#f4a800;letter-spacing:1px}
.agency-review-copy h3{margin:0 0 5px;color:#122c51}.agency-review-copy p{margin:0;color:#52647b;line-height:1.8}
.agency-review-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.agency-review-card dl>div{padding:10px;border-radius:11px;background:#f7f9fc}.agency-review-card dt{font-size:.68rem;color:#8390a3}.agency-review-card dd{margin:3px 0 0;color:#263d5c;font-weight:800;font-size:.82rem}
.agency-review-actions{display:flex;gap:9px}.agency-review-actions form{margin:0;flex:1}.agency-review-actions button{width:100%;border:0;border-radius:11px;padding:11px;font:inherit;font-weight:900;cursor:pointer}.review-approve{background:#e7f8f0;color:#087a4c}.review-reject{background:#fff0f2;color:#b52c3a}
.agency-review-empty{grid-column:1/-1;padding:52px;text-align:center;border:1px dashed #cad6e5;border-radius:20px;background:#fff;color:#6b7d94}
@media(max-width:900px){.agency-review-grid{grid-template-columns:1fr}}
@media(max-width:600px){.agency-reviews-hero{align-items:flex-start;padding:22px}.agency-review-score{min-width:76px;padding:12px}.agency-review-card dl{grid-template-columns:1fr}.agency-review-person{grid-template-columns:auto 1fr}.agency-review-person>b{grid-column:1/-1}.agency-review-actions{flex-direction:column}}
/* Agency-owned website logo and browser icon controls. */
.agency-brand-upload-grid{display:grid;gap:14px;margin:8px 0 12px}
.agency-brand-upload-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:center;padding:14px;border:1px solid #dce7f5;border-radius:18px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 10px 28px rgba(11,45,85,.06)}
.agency-brand-upload-card>div:nth-child(2){min-width:0;display:grid;gap:4px}
.agency-brand-upload-card b{color:#092952;font-size:14px}
.agency-brand-upload-card small{color:#67809d;font-size:11px;line-height:1.6}
.agency-brand-upload-preview{width:64px;height:64px;border-radius:16px;background:#fff;border:1px solid #dbe7f4;display:grid;place-items:center;overflow:hidden;padding:7px}
.agency-brand-upload-preview img{display:block;width:100%;height:100%;object-fit:contain}
.agency-brand-upload-preview.favicon-preview{width:54px;height:54px;border-radius:14px;box-shadow:0 5px 14px rgba(8,40,83,.1)}
.agency-brand-placeholder,.agency-favicon-placeholder{display:grid;place-items:center;width:100%;height:100%;border-radius:10px;color:#fff;font-weight:900;background:linear-gradient(135deg,#ef0b85,#8f3dff);font-size:11px;letter-spacing:.05em}
.agency-favicon-placeholder{font-size:22px;letter-spacing:0}
.agency-brand-file-button{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:12px;background:#0a2b57;color:#fff;font-weight:800;font-size:12px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.agency-brand-file-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(10,43,87,.18)}
.agency-brand-file-button input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
.agency-brand-upload-card .field.compact{grid-column:1/-1;margin:0}
.agency-brand-remove{grid-column:1/-1;display:flex;gap:8px;align-items:center;color:#8a3d57;font-size:12px;cursor:pointer}
.agency-brand-remove input{accent-color:#ef0b85}
.agency-brand-upload-note{margin:0 0 14px;padding:11px 12px;border-radius:12px;background:#eef7ff;color:#315878;font-size:12px;line-height:1.7}
@media (min-width:1280px){.agency-brand-upload-grid{grid-template-columns:1fr 1fr}.agency-brand-upload-card{align-content:start}}
@media (max-width:640px){.agency-brand-upload-card{grid-template-columns:52px minmax(0,1fr);padding:12px;border-radius:15px}.agency-brand-upload-preview{width:52px;height:52px}.agency-brand-upload-preview.favicon-preview{width:48px;height:48px}}
/* Credit-metered AI draft actions: separate product and campaign workflows. */
.ai-smart-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 16px}.ai-smart-actions article{position:relative;overflow:hidden;padding:18px;border:1px solid #e7e8f2;border-radius:18px;background:linear-gradient(145deg,#fff,#fff7fb);box-shadow:0 12px 34px rgba(16,38,75,.06)}.ai-smart-actions article>span{position:absolute;inset-inline-end:16px;top:13px;color:#ec0b81;font-size:12px;font-weight:900}.ai-smart-actions h3{margin:0 0 7px;color:#10264b;font-size:17px}.ai-smart-actions p{margin:0 0 12px;color:#6b7890;font-size:12px;line-height:1.65}.ai-smart-actions form{display:grid;gap:9px}.ai-smart-actions textarea{width:100%;min-height:88px;resize:vertical;padding:11px;border:1px solid #dce4ef;border-radius:11px;background:#fff;color:#172f52;font:inherit}.ai-smart-actions button{min-height:41px;border:0;border-radius:10px;background:linear-gradient(120deg,#ef087f,#b621a2);color:#fff;font:800 12px inherit;cursor:pointer}.ai-smart-actions button:disabled{cursor:not-allowed;filter:grayscale(.8);opacity:.55}@media(max-width:760px){.ai-smart-actions{grid-template-columns:1fr}}

/* Pastel agency workspace skin: preserves the existing navigation and routes. */
.agency-v2-shell{--a-pink:#f52b79;--a-pink-dark:#d91768;--a-ink:#1e2948;--a-muted:#68748d;background:linear-gradient(135deg,#fffafd 0%,#f5f7ff 55%,#fff 100%);color:var(--a-ink)}
.agency-v2-shell .agency-sidebar{background:linear-gradient(180deg,#fff 0%,#fff5fa 100%);color:var(--a-ink);border-inline-end:1px solid #f4dce8;box-shadow:4px 0 26px #d75b9415}
.agency-v2-shell .agency-sidebar-brand{border-bottom:1px solid #f5dce8}.agency-v2-shell .agency-sidebar-brand .brand{color:var(--a-pink-dark)}.agency-v2-shell .agency-sidebar-brand .brand-copy b{color:var(--a-pink-dark)}.agency-v2-shell .agency-sidebar-brand .brand-copy small{color:#a76a86}
.agency-v2-shell .agency-workspace{color:var(--a-ink)}.agency-v2-shell .agency-workspace>span:first-child{background:#ffe7f1;color:var(--a-pink)}
.agency-v2-shell .agency-sidebar-nav{scrollbar-color:#f3a6c4 transparent}.agency-v2-shell .nav-group{margin:4px 0}.agency-v2-shell .nav-group-toggle{color:#7e6b80}.agency-v2-shell .nav-item{color:#26314d;border-radius:11px;transition:background .2s,color .2s,transform .2s,box-shadow .2s}.agency-v2-shell .nav-item>span{background:#fff0f6;color:var(--a-pink);transition:transform .2s,background .2s}.agency-v2-shell .nav-item:hover{background:#fff0f6;color:var(--a-pink-dark);transform:translateX(-2px)}.agency-v2-shell .nav-item:hover>span{background:#ffd7e8;transform:scale(1.08)}.agency-v2-shell .nav-item.active{background:linear-gradient(110deg,#ff2d7c,#f04b9b);color:#fff;box-shadow:0 8px 18px #ef2b7d35}.agency-v2-shell .nav-item.active>span{background:#fff;color:var(--a-pink)}
.agency-v2-shell .agency-sidebar-promo{background:linear-gradient(145deg,#ffe2ef,#fff0f7);border-color:#f6c9dc;color:var(--a-pink-dark)}.agency-v2-shell .agency-sidebar-promo>small{color:#9d7087}.agency-v2-shell .agency-sidebar-promo>a{background:#fff;color:var(--a-pink-dark)}
.agency-v2-shell .agency-topbar{background:#ffffffee;border-bottom-color:#f0e4ed;box-shadow:0 6px 24px #9b537c0d}.agency-v2-shell .agency-topbar-search{background:#fbf3f8;border-color:#f1dfe9}.agency-v2-shell .agency-topbar-search input{color:var(--a-ink)}.agency-v2-shell .agency-topbar-action{border-color:#f2d8e5;background:#fff7fb;color:var(--a-pink-dark);transition:transform .2s,box-shadow .2s}.agency-v2-shell .agency-topbar-action:hover{transform:translateY(-2px);box-shadow:0 7px 16px #e52b7b22}
.agency-v2-shell .button{border-radius:11px;transition:transform .2s,box-shadow .2s,filter .2s}.agency-v2-shell .button:hover{transform:translateY(-2px);box-shadow:0 9px 20px #e2267824}.agency-v2-shell .button:active{transform:translateY(0) scale(.98)}
.agency-v2-shell .panel,.agency-v2-shell .agency-v3-card,.agency-v2-shell .stat,.agency-v2-shell .product-admin-card{border-color:#f0e5ed;box-shadow:0 10px 28px #3e355c0b;transition:transform .25s,box-shadow .25s,border-color .25s}.agency-v2-shell .panel:hover,.agency-v2-shell .agency-v3-card:hover,.agency-v2-shell .stat:hover,.agency-v2-shell .product-admin-card:hover{border-color:#f4b9d1;box-shadow:0 16px 34px #de4b8e17}
.agency-v2-shell .agency-v3-hero{border-color:#f2d9e6;box-shadow:0 14px 34px #8e476014}.agency-v2-shell .agency-v3-kpi>span i{border-radius:12px}.agency-v2-shell .agency-v3-kpi.pink>span i{background:#ffe3ef}.agency-v2-shell .agency-v3-kpi.purple>span i{background:#eee8ff}.agency-v2-shell .agency-v3-kpi.orange>span i{background:#fff0dd}.agency-v2-shell .agency-v3-kpi.green>span i{background:#e2f8ee}
.agency-v2-shell .agency-main{animation:agency-content-in .38s ease both}.agency-v2-shell .nav-group,.agency-v2-shell .agency-v3-card,.agency-v2-shell .agency-v3-kpi{animation:agency-soft-in .45s ease both}@keyframes agency-content-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes agency-soft-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.agency-v2-shell *,.agency-v2-shell .agency-main{animation:none!important;transition:none!important}}
.agency-v2-shell .agency-sidebar{width:320px!important;background:#fff!important;color:#173565!important;border-inline-end:1px solid #f2d8e5!important;box-shadow:-8px 0 30px rgba(17,31,72,.08)!important}.agency-v2-shell .agency-sidebar-brand{min-height:72px!important;padding:2px 8px 14px!important;border-bottom:1px solid #f4dce8!important}.agency-v2-shell .agency-sidebar-brand .brand{align-items:center!important;justify-content:center!important}.agency-v2-shell .agency-sidebar-brand .brand-copy b{font-size:20px!important;letter-spacing:-.02em}.agency-v2-shell .agency-sidebar-brand .brand-copy small{font-size:10px!important;color:#71819a!important}.agency-v2-shell .agency-sidebar-nav{padding:12px 6px 8px!important}.agency-v2-shell .nav-group{margin:0 0 8px!important;padding:0!important}.agency-v2-shell .nav-group-toggle{min-height:48px!important;margin:0!important;padding:7px 12px!important;border:1px solid #173b76!important;border-radius:12px!important;background:#102f68!important;color:#fff!important;font-size:13px!important;font-weight:800!important;box-shadow:0 4px 10px rgba(16,47,104,.1)!important}.agency-v2-shell .nav-group-toggle>span{width:30px!important;height:30px!important;background:#173b76!important;color:#ff4e9c!important;font-size:16px!important}.agency-v2-shell .nav-group-toggle>b{font-size:13px!important;color:#fff!important}.agency-v2-shell .nav-group-toggle[aria-expanded=true]{background:#f8d9e9!important;border-color:#ff3b91!important;color:#d8176b!important;box-shadow:none!important}.agency-v2-shell .nav-group-toggle[aria-expanded=true]>span{background:#ffeaf4!important;color:#f22883!important}.agency-v2-shell .nav-group-toggle[aria-expanded=true]>b{color:#d8176b!important}.agency-v2-shell .nav-group-items{padding:0 3px!important}.agency-v2-shell .nav-group-links{padding:5px 0 2px!important}.agency-v2-shell .nav-item{min-height:40px!important;padding:7px 12px!important;border-radius:9px!important;color:#173565!important;font-size:12px!important;font-weight:700!important;background:transparent!important}.agency-v2-shell .nav-item>span{width:27px!important;height:27px!important;background:#fff0f6!important;color:#ec2680!important}.agency-v2-shell .nav-item:hover{background:#fff0f6!important;color:#d8176b!important}.agency-v2-shell .nav-item.active{background:linear-gradient(110deg,#ec087b,#f43c99)!important;color:#fff!important;box-shadow:0 8px 18px rgba(239,27,125,.25)!important}.agency-v2-shell .nav-item.active>span{background:#fff!important;color:#ec087b!important}.agency-v2-shell .agency-sidebar-bottom{padding:8px 6px 4px!important;background:#fff!important}.agency-v2-shell .agency-sidebar-promo{min-height:58px!important;border-radius:12px!important}.agency-v2-shell .agency-profile-link{border-radius:12px!important;background:#102f68!important;color:#fff!important}.agency-v2-shell .agency-logout{min-height:48px!important;border-radius:12px!important;background:#eb0b7a!important;color:#fff!important;font-weight:800!important;transition:transform .2s,box-shadow .2s,filter .2s!important}.agency-v2-shell .agency-logout:hover{filter:brightness(1.05)!important;transform:translateY(-2px)!important;box-shadow:0 8px 18px rgba(235,11,122,.25)!important}.agency-v2-shell .agency-main{margin-inline-end:320px!important;margin-inline-start:0!important;min-width:0!important}.agency-v2-shell .agency-topbar{min-height:78px!important;padding:12px 28px!important;background:#fff!important;border-bottom:1px solid #f0e4ed!important}.agency-v2-shell .agency-content{padding:28px 34px 42px!important}@media(max-width:1050px){.agency-v2-shell .agency-sidebar{width:min(320px,88vw)!important}.agency-v2-shell .agency-main{margin:0!important}.agency-v2-shell .agency-content{padding:18px 14px 30px!important}}
.agency-v2-shell .agency-sidebar-brand .brand-on-navy .maxoflow-wordmark-maxo{color:#173565!important}.agency-v2-shell .agency-sidebar-brand .brand-on-navy .maxoflow-wordmark-flow{color:#ec0b7a!important}.agency-v2-shell .agency-sidebar-brand .brand-on-navy .maxoflow-plane-mark{filter:none!important}
.agency-v2-shell.sidebar-collapsed .agency-sidebar{width:76px!important}.agency-v2-shell.sidebar-collapsed .agency-main{margin-inline-end:76px!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand{justify-content:center!important;padding-inline:4px!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand .brand{justify-content:center!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand .brand-copy,.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand>span{display:none!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-nav{padding-inline:8px!important}.agency-v2-shell.sidebar-collapsed .nav-group-toggle,.agency-v2-shell.sidebar-collapsed .nav-item{justify-content:center!important;padding-inline:0!important}.agency-v2-shell.sidebar-collapsed .nav-group-toggle>b,.agency-v2-shell.sidebar-collapsed .nav-group-chevron,.agency-v2-shell.sidebar-collapsed .nav-item>span+span{display:none!important}.agency-v2-shell.sidebar-collapsed .nav-group-items{display:none!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-bottom{padding-inline:8px!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-promo,.agency-v2-shell.sidebar-collapsed .agency-profile-link,.agency-v2-shell.sidebar-collapsed .agency-logout{font-size:0;justify-content:center!important;padding-inline:0!important}.agency-v2-shell.sidebar-collapsed .agency-sidebar-promo small,.agency-v2-shell.sidebar-collapsed .agency-sidebar-promo b,.agency-v2-shell.sidebar-collapsed .agency-sidebar-promo i,.agency-v2-shell.sidebar-collapsed .agency-profile-link .agency-utility-copy,.agency-v2-shell.sidebar-collapsed .agency-profile-link i{display:none!important}
.agency-v2-shell .agency-sidebar{background:#fff5f9!important;border-color:#f6e4ec!important}
.agency-v2-shell .nav-group-toggle{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#182b49!important}
.agency-v2-shell .nav-group-toggle>b{color:#182b49!important}
.agency-v2-shell .nav-group-toggle>span{background:transparent!important;color:#ff1674!important}
.agency-v2-shell .nav-group-toggle:hover,.agency-v2-shell .nav-group-toggle[aria-expanded=true]{background:#ffe8f1!important;border-color:#ffd0e2!important}
.agency-v2-shell .nav-group-toggle[aria-expanded=true]>b{color:#c91461!important}
.agency-v2-shell .nav-item>span{background:transparent!important;color:#ff1674!important}
.agency-v2-shell .nav-item.active>span{background:transparent!important;color:#fff!important}
.agency-v2-shell .agency-sidebar-bottom{background:#fff5f9!important}
.agency-v2-shell .agency-profile-link{background:#fff!important;color:#182b49!important;border:1px solid #f3dce7!important}
.agency-v2-shell .agency-main{margin-left:0!important;margin-right:320px!important;width:calc(100% - 320px)!important}
.agency-v2-shell.sidebar-collapsed .agency-main{margin-left:0!important;margin-right:76px!important;width:calc(100% - 76px)!important}
html[dir=ltr] .agency-v2-shell .agency-main{margin-left:320px!important;margin-right:0!important}
html[dir=ltr] .agency-v2-shell.sidebar-collapsed .agency-main{margin-left:76px!important;margin-right:0!important}
@media(max-width:1050px){.agency-v2-shell .agency-main,html[dir=ltr] .agency-v2-shell .agency-main,.agency-v2-shell.sidebar-collapsed .agency-main,html[dir=ltr] .agency-v2-shell.sidebar-collapsed .agency-main{margin:0!important;width:100%!important}}
.agency-v2-shell .agency-topbar-user{display:none!important}
.agency-v2-shell .agency-sidebar-utilities,.agency-v2-shell .agency-sidebar-bottom>.agency-logout{display:none!important}
.agency-v2-shell .agency-quick-menu,.agency-v2-shell .agency-profile-popover{position:relative;flex:none}
.agency-v2-shell .agency-quick-menu summary,.agency-v2-shell .agency-profile-popover summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;border-radius:12px;padding:9px 12px}
.agency-v2-shell .agency-quick-menu summary::-webkit-details-marker,.agency-v2-shell .agency-profile-popover summary::-webkit-details-marker{display:none}
.agency-v2-shell .agency-quick-menu summary{background:#f51e73;color:#fff;font-weight:800}
.agency-v2-shell .agency-profile-popover summary{background:#fff4f9;color:#172b4a}
.agency-v2-shell .agency-profile-popover summary small{display:block;color:#72809a;font-size:11px}
.agency-v2-shell .agency-profile-initial{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f9d9e9;color:#b51b68;font-weight:800}
.agency-v2-shell .agency-popover-panel{position:absolute;z-index:80;top:calc(100% + 8px);inset-inline-end:0;min-width:220px;padding:10px;background:#fff;border:1px solid #f1e1eb;border-radius:14px;box-shadow:0 16px 36px #28385822}
.agency-v2-shell .agency-popover-panel a,.agency-v2-shell .agency-popover-panel button{display:block;width:100%;padding:10px;text-align:start;color:#223650;background:none;border:0;border-radius:8px;text-decoration:none;cursor:pointer}
.agency-v2-shell .agency-popover-panel a:hover,.agency-v2-shell .agency-popover-panel button:hover{background:#fff0f6;color:#dc176c}
.agency-v2-shell .agency-popover-identity{display:grid;gap:4px;padding:10px;border-bottom:1px solid #f2e5ec;overflow-wrap:anywhere}.agency-v2-shell .agency-popover-identity small{color:#75839a}
@media(max-width:1050px){.agency-v2-shell .agency-profile-popover summary>span:nth-child(2){display:none}.agency-v2-shell .agency-quick-menu summary{padding:8px}.agency-v2-shell .agency-topbar{gap:6px!important;padding-inline:10px!important}}
/* Compact agency navigation, with a centered brand and no decorative arrows. */
@media (min-width:1051px){
  .agency-v2-shell:not(.sidebar-collapsed) .agency-sidebar{width:260px!important}
  .agency-v2-shell:not(.sidebar-collapsed) .agency-main{margin-right:260px!important;margin-left:0!important;width:calc(100% - 260px)!important}
  html[dir="ltr"] .agency-v2-shell:not(.sidebar-collapsed) .agency-main{margin-left:260px!important;margin-right:0!important}
}
.agency-v2-shell .agency-sidebar-nav .agency-nav-arrow,
.agency-v2-shell .agency-sidebar-nav .nav-group-chevron{display:none!important}
.agency-v2-shell .agency-sidebar-brand{position:relative;justify-content:center!important;padding-inline:42px!important}
.agency-v2-shell .agency-brand-lockup{width:100%;justify-items:center!important;text-align:center}
.agency-v2-shell .agency-brand-lockup .brand{width:auto;max-width:100%;justify-content:center!important}
.agency-v2-shell .agency-brand-lockup>span{padding:0!important;color:#8b7990!important}
.agency-v2-shell .agency-sidebar-brand .maxoflow-wordmark{font-size:clamp(18px,1.5vw,23px)}
.agency-v2-shell.sidebar-collapsed .agency-sidebar-brand{padding-inline:4px!important}
@media (max-width:1050px){.agency-v2-shell .agency-sidebar,.agency-v2-shell.sidebar-collapsed .agency-sidebar{width:min(280px,88vw)!important}}
.agency-v2-shell:not(.sidebar-collapsed) .agency-brand-lockup .brand{width:100%!important;min-width:0!important;max-width:100%!important;gap:5px!important}
.agency-v2-shell:not(.sidebar-collapsed) .agency-brand-lockup .maxoflow-plane-mark{width:32px!important;height:32px!important;flex:none!important}
.agency-v2-shell:not(.sidebar-collapsed) .agency-brand-lockup .maxoflow-wordmark{font-size:18px!important;white-space:nowrap}
/* Keep the search label accessible without displaying it inside the field. */
.agency-v2-shell .agency-global-search label.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.agency-v2-shell .agency-global-search{flex:1 1 220px;max-width:320px;height:38px}
.agency-v2-shell .agency-global-search input{font-size:13px;color:#203551}
.agency-v2-shell .agency-global-search input::placeholder{color:#657793!important;opacity:1!important}
html[dir="ltr"] .agency-v2-shell .agency-global-search{direction:ltr}
@media(max-width:700px){.agency-v2-shell .agency-global-search{flex:1 1 100%;max-width:100%;height:36px}.agency-v2-shell .agency-global-search input{font-size:12px}}
.agency-v2-shell .agency-topbar a.agency-icon-action[href^="/app/tasks"],
.agency-v2-shell .agency-topbar a.agency-icon-action[href^="/app/help"]{display:none!important}
.agency-v2-shell .agency-locale select{max-width:112px;font-size:12px}
@media(max-width:700px){.agency-v2-shell .agency-locale select{max-width:90px;font-size:11px}}
.agency-v2-shell .agency-language-menu{position:relative;flex:none;order:4}
.agency-v2-shell .agency-language-menu summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding:8px;border:1px solid #e4e9f0;border-radius:9px;background:#fff;color:#24385b;font-size:12px}
.agency-v2-shell .agency-language-menu summary::-webkit-details-marker{display:none}
.agency-v2-shell .agency-language-flag{display:block;width:24px;height:16px;flex:none;border-radius:2px;box-shadow:0 0 0 1px #1a2d4930}
.agency-v2-shell .agency-language-menu>div{position:absolute;z-index:90;top:calc(100% + 6px);inset-inline-start:0;min-width:140px;background:#fff;border:1px solid #e6eaf1;border-radius:11px;box-shadow:0 12px 28px #20305024;padding:5px}
.agency-v2-shell .agency-language-menu a{display:flex;align-items:center;gap:9px;padding:9px;border-radius:7px;text-decoration:none;color:#24385b;white-space:nowrap}
.agency-v2-shell .agency-language-menu a:hover,.agency-v2-shell .agency-language-menu a[aria-current]{background:#fff0f6;color:#d8176b}
/* Agency navigation and desktop-download shortcut. */
.agency-v2-shell .agency-sidebar{background:#fff6fa!important}
.agency-v2-shell .agency-sidebar-nav .nav-group{margin-bottom:4px!important}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle{min-height:44px!important}
.agency-v2-shell .agency-sidebar-nav .nav-group-toggle>span,.agency-v2-shell .agency-sidebar-nav .nav-item>span{color:#ef2377!important}
.agency-v2-shell .agency-sidebar-nav .nav-item.active>span{color:#fff!important}
.agency-v2-shell .agency-sidebar-bottom{border-top:1px solid #f0dbe5!important}
.agency-v2-shell .agency-desktop-download{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;margin:7px 0 0;padding:9px 12px;border:1px solid #d2dff5;border-radius:11px;background:#eaf3ff;color:#174e8c;text-decoration:none;font-size:12px;font-weight:800;transition:background .2s,transform .2s,box-shadow .2s}
.agency-v2-shell .agency-desktop-download svg{width:21px;height:21px;flex:none}
.agency-v2-shell .agency-desktop-download:hover{background:#dbeaff;transform:translateY(-1px);box-shadow:0 6px 14px #174e8c20}
.agency-v2-shell .agency-desktop-download:focus-visible{outline:2px solid #174e8c;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.agency-v2-shell .agency-desktop-download{transition:none}.agency-v2-shell .agency-desktop-download:hover{transform:none}}
/* Review moderation: page-scoped, pastel agency design. */
.agency-content:has(.agency-reviews-page)>.page-heading{display:none}
.agency-reviews-page{max-width:1440px;margin-inline:auto;gap:18px}
.agency-reviews-page .agency-reviews-hero{min-height:180px;padding:30px 34px;border:1px solid #f5d9e6;border-radius:22px;background:linear-gradient(120deg,#fff 12%,#fff5fa 70%,#ffe4f1);box-shadow:0 12px 32px #92425f10;color:#142c50}
.agency-reviews-page .agency-reviews-hero:after{color:#f2267a14;inset-inline-end:15%;top:-28px}
.agency-reviews-page .agency-reviews-hero p{color:#e31b70;letter-spacing:.04em}
.agency-reviews-page .agency-reviews-hero h1{color:#142c50;font-size:clamp(1.65rem,3vw,2.3rem)}
.agency-reviews-page .agency-reviews-hero span{color:#687d99;line-height:1.8}
.agency-reviews-page .agency-review-score{background:#fff;border:1px solid #f8d6e5;box-shadow:0 7px 20px #e4217410}
.agency-reviews-page .agency-review-score strong{color:#e91370}.agency-reviews-page .agency-review-score small{color:#667996}
.agency-review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.agency-review-metric{display:grid;gap:6px;padding:17px 19px;background:#fff;border:1px solid #f1e4eb;border-radius:16px;box-shadow:0 7px 22px #2f40620b}
.agency-review-metric span,.agency-review-metric small{font-size:12px;color:#72829a}.agency-review-metric strong{font-size:25px;color:#17345d;line-height:1.15}
.agency-review-metric.pending strong{color:#df8b08}.agency-review-metric.approved strong{color:#139a66}.agency-review-metric.average strong{color:#e82a78}
.agency-review-list{padding:22px;background:#fff;border:1px solid #f0e5ed;border-radius:20px;box-shadow:0 10px 30px #273c5e0b}
.agency-review-list-header h2{margin:0;color:#142c50;font-size:19px}.agency-review-list-header p{margin:5px 0 16px;color:#74839a;font-size:13px}
.agency-reviews-page .agency-review-filters{margin-bottom:18px}.agency-reviews-page .agency-review-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
.agency-reviews-page .agency-review-card{min-width:0;border-radius:16px;box-shadow:none;background:#fff;transition:box-shadow .2s,border-color .2s}
.agency-reviews-page .agency-review-card:hover{box-shadow:0 10px 26px #203b5b12}.agency-reviews-page .agency-review-copy p,.agency-reviews-page dd{overflow-wrap:anywhere}
.agency-reviews-page .agency-review-actions button{transition:filter .2s,transform .2s}.agency-reviews-page .agency-review-actions button:hover{filter:brightness(.97);transform:translateY(-1px)}
.agency-review-notice{padding:13px 16px;border:1px solid #bdebd4;border-radius:12px;background:#eafaf1;color:#08774c;font-weight:700}
.agency-reviews-page .agency-review-empty{display:grid;justify-items:center;gap:7px;padding:42px 20px;border-color:#efd9e4;background:#fffafd}.agency-review-empty span{color:#ef2c7b;font-size:32px}.agency-review-empty p{margin:0;font-size:13px}
@media(max-width:700px){.agency-review-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agency-reviews-page .agency-reviews-hero{padding:22px 18px;min-height:150px}.agency-review-list{padding:15px}.agency-review-metric{padding:13px}.agency-review-metric strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.agency-reviews-page .agency-review-card,.agency-reviews-page .agency-review-actions button{transition:none}.agency-reviews-page .agency-review-actions button:hover{transform:none}}
/* Agency-only appearance switch; platform and public websites retain their own theme. */
.agency-v2-shell .agency-theme-toggle{order:4;display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #ead9e4;border-radius:10px;background:#fff6fa;color:#c51d70;cursor:pointer;transition:background .2s,transform .2s}
.agency-v2-shell .agency-theme-toggle:hover{background:#ffe6f1;transform:translateY(-1px)}
.agency-v2-shell .agency-theme-toggle:focus-visible{outline:2px solid #ef3184;outline-offset:2px}
.agency-v2-shell .agency-theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.agency-v2-shell .agency-theme-toggle .agency-theme-sun{display:none}
html.agency-dark .agency-v2-shell .agency-theme-toggle .agency-theme-sun{display:block}
html.agency-dark .agency-v2-shell .agency-theme-toggle .agency-theme-moon{display:none}
html.agency-dark .agency-v2-shell{--a-ink:#edf2fc;--a-muted:#afbed3;--a-page:#101827;--a-surface:#1b2638;--a-line:#374761;background:#101827!important;color:#edf2fc!important;color-scheme:dark}
html.agency-dark .agency-v2-shell .agency-main,html.agency-dark .agency-v2-shell .agency-content{background:#101827!important;color:#edf2fc!important}
html.agency-dark .agency-v2-shell .agency-sidebar,html.agency-dark .agency-v2-shell .agency-sidebar-bottom{background:#151f30!important;border-color:#33435a!important;color:#edf2fc!important}
html.agency-dark .agency-v2-shell .agency-sidebar-brand,html.agency-dark .agency-v2-shell .agency-sidebar-bottom{border-color:#33435a!important}
html.agency-dark .agency-v2-shell .agency-sidebar-brand .brand-on-navy .maxoflow-wordmark-maxo{color:#f4f7ff!important}
html.agency-dark .agency-v2-shell .nav-group-toggle,html.agency-dark .agency-v2-shell .nav-item{background:transparent!important;color:#dfebfa!important}
html.agency-dark .agency-v2-shell .nav-group-toggle>b{color:#dfebfa!important}
html.agency-dark .agency-v2-shell .nav-group-toggle:hover,html.agency-dark .agency-v2-shell .nav-group-toggle[aria-expanded=true],html.agency-dark .agency-v2-shell .nav-item:hover{background:#293247!important;border-color:#6a3b59!important}
html.agency-dark .agency-v2-shell .nav-group-toggle[aria-expanded=true]>b{color:#ff81b2!important}
html.agency-dark .agency-v2-shell .nav-item.active{background:linear-gradient(110deg,#d70a70,#ef3a94)!important;color:#fff!important}
html.agency-dark .agency-v2-shell .agency-topbar{background:#182334!important;border-color:#34445b!important;box-shadow:0 5px 20px #0003}
html.agency-dark .agency-v2-shell :is(.agency-global-search,.agency-language-menu summary,.agency-theme-toggle,.agency-icon-action,.agency-profile-popover summary){background:#243248!important;color:#eef3fc!important;border-color:#41536d!important}
html.agency-dark .agency-v2-shell .agency-global-search input{color:#eef3fc!important}
html.agency-dark .agency-v2-shell .agency-global-search input::placeholder{color:#bbc8d9!important}
html.agency-dark .agency-v2-shell :is(.agency-popover-panel,.agency-language-menu>div){background:#26344a!important;border-color:#43546c!important;color:#f0f4fa!important}
html.agency-dark .agency-v2-shell :is(.agency-popover-panel a,.agency-popover-panel button,.agency-language-menu a){color:#edf3fc!important}
html.agency-dark .agency-v2-shell :is(.agency-popover-panel a:hover,.agency-popover-panel button:hover,.agency-language-menu a:hover){background:#3a4359!important}
html.agency-dark .agency-v2-shell .agency-content :is(.panel,.agency-v3-card,.agency-v3-kpi,.stat,.feature-card,.product-admin-card,.agency-review-list,.agency-review-card,.agency-review-metric,.agency-review-empty,.review-filter,.resource-panel,.card,.table-wrap){background:#1d2a3d!important;border-color:#3a4a62!important;color:#e7eef9!important;box-shadow:0 8px 24px #0002!important}
html.agency-dark .agency-v2-shell .agency-content :is(h1,h2,h3,h4,strong,th,dt,dd,label){color:#eff4ff!important}
html.agency-dark .agency-v2-shell .agency-content :is(p,small,.muted){color:#b9c7d9!important}
html.agency-dark .agency-v2-shell .agency-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#25344a!important;color:#f2f5fb!important;border-color:#4b5c72!important}
html.agency-dark .agency-v2-shell .agency-content :is(input,textarea)::placeholder{color:#a8b6c9!important}
html.agency-dark .agency-v2-shell .agency-content :is(table,tr,td,th){background-color:transparent;color:#e5edf8;border-color:#3b4b62}
html.agency-dark .agency-v2-shell .agency-content :is(.agency-v3-hero,.agency-reviews-hero){background:#26364b!important;border-color:#40516a!important}
html.agency-dark .agency-v2-shell .agency-v3-hero-shade{background:linear-gradient(270deg,#1d2a3df2,#1d2a3dcc,#1d2a3d40)!important}
html.agency-dark[dir=ltr] .agency-v2-shell .agency-v3-hero-shade{background:linear-gradient(90deg,#1d2a3df2,#1d2a3dcc,#1d2a3d40)!important}
html.agency-dark .agency-v2-shell .agency-review-card dl>div{background:#29384d!important}
html.agency-dark .agency-v2-shell .agency-desktop-download{background:#243a57;color:#bfdefe;border-color:#38577b}
@media(prefers-reduced-motion:reduce){.agency-v2-shell .agency-theme-toggle{transition:none}.agency-v2-shell .agency-theme-toggle:hover{transform:none}}
html.agency-dark .agency-v2-shell .agency-content :is(.group-kpi,.group-list-panel,.group-filters,.group-empty,.group-card,.group-detail-card,.agency-review-metric,.agency-review-list,.agency-review-card){background:#1d2a3d!important;border-color:#3a4a62!important;color:#e7eef9!important}
html.agency-dark .agency-v2-shell .agency-content :is(.group-kpi,.group-list-panel,.group-empty,.group-card,.group-detail-card) :is(h1,h2,h3,strong,b){color:#eff4ff!important}
html.agency-dark .agency-v2-shell .agency-content :is(.group-kpi,.group-list-panel,.group-empty,.group-card,.group-detail-card) :is(p,small){color:#b9c7d9!important}
html.agency-dark .agency-v2-shell .agency-v3-hero-content>div{color:#e3ebf7!important}
/* Agency dark mode: shared data tables, filters and empty states. */
html.agency-dark .agency-v2-shell .agency-content :is(.table-wrap,.agency-v3-table-wrap,.table-responsive,.resource-table,.agency-v3-products-list,.agency-v3-filters,.agency-v3-search,.resource-filters,.market-search,.desktop-card,.agency-v3-empty,.group-list-panel,.group-filters,.group-empty,.profile-settings,.ai-prompt-panel,.ai-studio-layout>main,.my-app-toolbar,.website-locale-tabs,.content-translation-editor){background:#1d2a3d!important;background-image:none!important;border-color:#40516a!important;color:#e7eef9!important}
html.agency-dark .agency-v2-shell .agency-content :is(table,.agency-v3-table){background:#1d2a3d!important;color:#e7eef9!important;border-color:#40516a!important}
html.agency-dark .agency-v2-shell .agency-content :is(thead,thead tr,thead th){background:#283950!important;color:#e7eef9!important;border-color:#40516a!important}
html.agency-dark .agency-v2-shell .agency-content :is(tbody,tbody tr,tbody td,tfoot,tfoot tr,tfoot td){background:#1d2a3d!important;color:#e7eef9!important;border-color:#40516a!important}
html.agency-dark .agency-v2-shell .agency-content tbody tr:hover,html.agency-dark .agency-v2-shell .agency-content tbody tr:hover td{background:#293a52!important}
html.agency-dark .agency-v2-shell .agency-content :is(.agency-v3-empty,.group-empty,.desktop-card,.resource-filters,.agency-v3-search) :is(p,small,span,dt){color:#b9c7d9}
html.agency-dark .agency-v2-shell .agency-content :is(td a,.table-link,.quiet){color:#ffa6cf!important}
html.agency-dark .agency-v2-shell .agency-content :is(.agency-v3-status-tab,.market-pill,.website-locale-tab){background:#26374e!important;border-color:#465973!important;color:#dbe6f5!important}
html.agency-dark .agency-v2-shell .agency-content :is(.agency-v3-status-tab.active,.website-locale-tab.active){background:#52304c!important;border-color:#ed4b9d!important;color:#ffd0e4!important}
html.agency-dark .agency-v2-shell .agency-content .desktop-hero{background:#26364b!important;background-image:none!important;border-color:#40516a!important;color:#eff4ff!important}
/* Dark surfaces for agency tools: keep each page's structure and brand accents. */
html.agency-dark .agency-v2-shell .agency-content :is(.product-quick-actions,.product-editor-card,.product-dropzone,.product-type-card,.product-amenity-card,.adc-panel,.adc-campaigns,.ai-wallet-pack,.domain-site-card,.domain-search-panel,.domain-connect-panel,.domain-connected-list,.domain-hosting-note,.tw-tabs,.tw-member-card,.tw-panel,.builder-shell,.builder-toolbar,.builder-device-controls,.builder-publish-state,.builder-canvas,.builder-inspector,.builder-save-actions,.agency-review-score,.notice){background:#1d2a3d!important;background-image:none!important;border-color:#40516a!important;color:#e7eef9!important}
html.agency-dark .agency-v2-shell .agency-content :is(.product-type-card,.product-amenity-card,.product-dropzone,.tw-member-card div,.tw-chips span,.builder-device-controls button,.builder-theme-market-link,.domain-hero-icon,.ai-pack-discount,.agency-v3-overline){background:#293a52!important;border-color:#4a5d76!important;color:#e7eef9!important}
html.agency-dark .agency-v2-shell .agency-content :is(.product-type-card:has(input:checked),.product-amenity-card:has(input:checked),.tw-tabs a.active,.builder-device-controls button.active){background:#52304c!important;border-color:#ed4b9d!important;color:#ffd0e4!important}
html.agency-dark .agency-v2-shell .agency-content :is(.button.secondary,.btn-secondary,.review-reject){background:#293a52!important;border-color:#53657c!important;color:#f3f6ff!important}
html.agency-dark .agency-v2-shell .agency-content :is(.button.secondary,.btn-secondary,.review-reject):hover{background:#3a4d68!important;border-color:#ef77ad!important}
html.agency-dark .agency-v2-shell .agency-content :is(.adc-panel,.ai-wallet-pack,.domain-site-card,.domain-search-panel,.domain-connect-panel,.domain-connected-list,.domain-hosting-note,.tw-tabs,.tw-member-card,.tw-panel,.builder-shell,.builder-inspector,.product-editor-card) :is(p,small){color:#b9c7d9!important}
html.agency-dark .agency-v2-shell .agency-sidebar-bottom>a:not(.agency-desktop-download),html.agency-dark .agency-v2-shell .agency-credit-usage{background:#26374e!important;border-color:#465973!important;color:#edf3fc!important}
html.agency-dark .agency-v2-shell :is(.agency-sidebar-bottom,.agency-credit-usage) :is(span,small,strong){color:#edf3fc!important}
/* Agency app marketplace surfaces and details in dark mode. */
html.agency-dark .agency-v2-shell .agency-content :is(.market-app-card,.market-featured,.market-detail-hero,.app-security-card){background:#1d2a3d!important;background-image:none!important;border-color:#40516a!important;color:#edf3fc!important;box-shadow:0 8px 24px #0003!important}
html.agency-dark .agency-v2-shell .agency-content .market-app-card:hover{border-color:#e461a1!important;box-shadow:0 16px 32px #0005!important}
html.agency-dark .agency-v2-shell .agency-content :is(.market-app-logo,.market-logo,.featured-app-mark){background:#33445b!important;color:#f5f7fc!important;box-shadow:none!important}
html.agency-dark .agency-v2-shell .agency-content :is(.market-badges span,.permission-cloud span,.market-app-card .badge){background:#30465a!important;color:#d9eafa!important;border-color:#4c637b!important}
html.agency-dark .agency-v2-shell .agency-content :is(.market-featured,.market-detail-hero) .button:not(.secondary){background:#d81676!important;color:white!important;border-color:#e93e91!important}
html.agency-dark .agency-v2-shell .agency-content :is(.market-card-title small,.market-app-card p,.market-featured p){color:#c1ccdc!important}
/* Installed apps and recommendations need dark surfaces as well. */
html.agency-dark .agency-v2-shell .agency-content :is(.my-app-card,.recommended-apps,.my-apps-empty){background:#1d2a3d!important;background-image:none!important;border-color:#40516a!important;color:#edf3fc!important;box-shadow:0 8px 24px #0003!important}
html.agency-dark .agency-v2-shell .agency-content :is(.my-app-recommend,.my-app-logo,.recommend-logo,.my-app-status>span){background:#293a52!important;border-color:#4a5d76!important;color:#e7eef9!important;box-shadow:none!important}
html.agency-dark .agency-v2-shell .agency-content :is(.my-app-card,.my-app-recommend):hover{border-color:#e461a1!important;box-shadow:0 12px 28px #0004!important}
html.agency-dark .agency-v2-shell .agency-content :is(.my-app-card dl div){border-color:#40516a!important}
html.agency-dark .agency-v2-shell .agency-content :is(.my-app-card small,.my-app-card p,.my-app-card dt,.my-app-recommend small){color:#b9c7d9!important}
html.agency-dark .agency-v2-shell .agency-content .my-app-error{background:#493c2d!important;color:#ffd894!important}
/* Product editor: readable category choices, uploads and live preview. */
html.agency-dark .agency-v2-shell .agency-content :is(.product-preview-sticky>article,.product-file-picker>span,.product-editor-hero>a){background:#293a52!important;border-color:#4a5d76!important;color:#f1f5fd!important}
html.agency-dark .agency-v2-shell .agency-content :is(.product-type-card b,.product-amenity-card b,.product-preview-body,.product-preview-sticky header){color:#edf3fc!important}
html.agency-dark .agency-v2-shell .agency-content :is(.product-preview-body>span,.product-import-icon){background:#52304c!important;color:#ffd0e4!important}
html.agency-dark .agency-v2-shell .agency-content .product-preview-sticky>article{box-shadow:0 8px 24px #0003!important}
/* Catalog empty states and visa offer cards in dark mode. */
html.agency-dark .agency-v2-shell .agency-content :is(.catalog-empty,.product-admin-card){background:#1d2a3d!important;border-color:#40516a!important;color:#edf3fc!important;box-shadow:0 8px 24px #0003!important}
html.agency-dark .agency-v2-shell .agency-content .catalog-empty :is(h2,p){color:#e7eef9!important}
html.agency-dark .agency-v2-shell .agency-content .product-admin-card :is(.product-admin-price,.product-admin-price span){background:#293a52!important;border-color:#40516a!important;color:#e7eef9!important}
