@font-face{font-family:Inter;src:url('/ui/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ink:#18181b;--muted:#77777c;--subtle:#a3a3a6;--accent:#7943eb;--accent-soft:#f0eafa;--surface:#f5f5f2;--line:#e9e9e5;--glass:rgba(247,247,244,.78);--ease:cubic-bezier(.2,.8,.2,1)}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{background:#e8e8e6;color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit;letter-spacing:inherit}
button,a,input,textarea,select,summary{touch-action:manipulation}
button{color:inherit}
button,a,summary{transition:background-color .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease),transform .2s var(--ease)}
button:active:not(:disabled),.button:active{transform:scale(.98)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b8a0f6;outline-offset:3px}
button:disabled{opacity:.45;cursor:wait}
h1,h2,h3,p,strong,small,label,span{overflow-wrap:break-word}
h1{font-size:30px;font-weight:520;line-height:1.2;letter-spacing:-1.2px;text-wrap:balance}
h2{font-size:16px;font-weight:580;letter-spacing:-.5px;line-height:1.4}
h3{font-size:14px;font-weight:590;line-height:1.45;letter-spacing:-.3px}
p{line-height:1.7}
.purple{color:var(--accent)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ui-icon{width:18px;height:18px;object-fit:contain;flex:0 0 18px;vertical-align:middle}
.workspace{grid-template-columns:64px minmax(0,1fr);gap:3px;width:calc(100% - 40px);max-width:1580px;margin:20px auto;min-height:calc(100dvh - 40px);padding:7px;border:1px solid #ffffffeb;border-radius:29px;background:rgba(255,255,255,.58);box-shadow:0 1px 0 #fff inset,0 22px 70px #28282e08}
.sidebar{height:calc(100dvh - 56px);top:28px;border:0;border-radius:21px 0 0 21px;padding:13px 8px;background:transparent;gap:0;z-index:25;align-items:center}
.brand-mark{width:37px;height:37px;border-radius:12px;background:#171719;display:grid;place-items:center;margin:3px 0 25px;box-shadow:0 1px 0 #ffffff30 inset,0 3px 8px #00000008}
.brand-mark img{width:28px;height:18px;object-fit:contain;filter:brightness(0) invert(1)}
.sidebar nav{width:100%;gap:10px;position:relative}
.nav-item{position:relative;width:46px;min-height:44px;padding:12px;border-radius:13px;display:flex;align-items:center;justify-content:center;color:#8a8a8a;background:transparent;font-weight:500;isolation:isolate}
.nav-icon{width:19px;height:19px;flex:0 0 19px;object-fit:contain;opacity:.42;transition:opacity .2s,transform .3s var(--ease),filter .2s}
.nav-item:hover{background:#ffffffa6;box-shadow:0 0 0 1px #ffffff80 inset}
.nav-item:hover .nav-icon{opacity:.8;transform:translateY(-1px)}
.nav-item.active{background:#ffffffdc;color:var(--accent);box-shadow:0 0 0 1px #fff inset,0 3px 12px #3e295809}
.nav-item.active .nav-icon{opacity:1;filter:invert(29%) sepia(96%) saturate(2062%) hue-rotate(247deg) brightness(93%) contrast(94%)}
.nav-label{position:absolute;left:55px;top:50%;transform:translate(4px,-50%);padding:8px 11px;min-width:max-content;max-width:230px;border-radius:9px;background:#1d1c22eb;backdrop-filter:blur(12px);color:#fff;font-size:11px;box-shadow:0 6px 20px #00000012;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s;z-index:100}
.nav-item:hover .nav-label,.nav-item:focus-visible .nav-label{opacity:1;visibility:visible;transform:translate(0,-50%)}
.nav-count{position:absolute;top:2px;right:0;margin:0;font-size:8px;line-height:1.4;font-weight:650;min-width:15px;padding:1px 4px;max-width:35px;background:#e7e4ed;border:1px solid #fff;color:#6d5a90;border-radius:6px;pointer-events:none}
.sidebar-bottom{margin-top:auto;padding:18px 0 3px;border:0;flex-direction:column;gap:17px;align-items:center}
.brand-avatar{width:31px;height:31px;min-width:31px;border-radius:50%;background:#202023;box-shadow:0 0 0 3px #fff,0 0 0 4px #dfdce3;display:grid;place-items:center}
.brand-avatar img{width:22px;height:16px;object-fit:contain;filter:brightness(0) invert(1)}
.icon-button{width:32px;min-height:32px;border-radius:10px;display:inline-grid;place-items:center;color:#6b6b71;padding:6px;background:transparent;flex-shrink:0}
.icon-button:hover{background:#e8e7ed}
.sidebar-bottom .icon-button .ui-icon{opacity:.55}
main{min-width:0;background:rgba(255,255,255,.93);border:1px solid #fff;border-radius:22px;box-shadow:0 1px 1px #00000001}
.topbar{height:70px;padding:0 25px;border:0;gap:18px;min-width:0}
.breadcrumb{display:flex;gap:12px;align-items:center;font-size:11px;min-width:0;line-height:1.4}
.breadcrumb .brand-name{color:#9a999e;margin:0;white-space:nowrap;font-size:10px;letter-spacing:.1px}
.breadcrumb .ui-icon{width:10px;height:10px;flex-basis:10px;opacity:.25}
.breadcrumb strong{color:#62616a;font-size:11px;font-weight:450;overflow-wrap:anywhere}
.topbar-actions{display:flex;align-items:center;gap:10px;min-width:0}
.global-search{position:relative;min-width:0;z-index:35}
.search-field{height:34px;border-radius:12px;display:flex;align-items:center;gap:7px;background:#f4f4f1;padding:0 10px;box-shadow:0 1px 0 #ffffffb3 inset;transition:box-shadow .2s}
.search-field:focus-within{box-shadow:0 0 0 2px #b79be54d}
.search-field>.ui-icon{width:13px;height:13px;flex-basis:13px;opacity:.45}
.search-field input{width:156px;max-width:100%;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important;font-size:10px;color:var(--ink);min-height:0}
.search-field input::placeholder{color:#9b9b9d}
.search-field kbd{border-radius:5px;background:#fff;color:#9b9b9f;font-family:inherit;font-size:8px;padding:2px 4px;white-space:nowrap}
.search-results{position:absolute;top:calc(100% + 10px);right:0;width:min(370px,75vw);padding:7px;background:#fffffff0;backdrop-filter:blur(22px);border:1px solid #fff;border-radius:17px;box-shadow:0 10px 50px #29232f21;animation:surface-in .18s var(--ease);max-height:65dvh;overflow:auto}
.search-result{display:flex;align-items:center;gap:11px;width:100%;padding:11px;border:0;border-radius:10px;background:none;text-align:left;min-width:0}
.search-result:hover,.search-result:focus-visible{background:#f0eaf9}
.search-result>span{flex:1;min-width:0}
.search-result strong,.search-result small{display:block;white-space:normal;overflow-wrap:anywhere}
.search-result strong{font-size:12px;font-weight:550;line-height:1.5}
.search-result small{font-size:10px;color:#8c8595;margin-top:3px}
.search-result>.ui-icon{opacity:.55;width:16px;height:16px;flex-basis:16px}
.search-empty{padding:15px;color:var(--muted);font-size:12px}
.status-pill{font-size:9px;font-weight:450;gap:6px;padding:8px 10px;border-radius:12px;line-height:1.4;border-color:#e7e7e2;color:#7a7a7b;background:#ffffffa6;white-space:normal}
.status-dot{background:#72a68a;flex:0 0 5px;width:5px;height:5px}
.view{max-width:none;padding:4px 25px 30px;min-width:0}
.page-heading,.page-heading.compact{margin-bottom:22px;align-items:center;gap:20px;min-width:0}
.page-heading>div{min-width:0}
.page-heading h1,.compact h1{font-size:30px;font-weight:520;letter-spacing:-1.2px}
.eyebrow{color:#a3a2a6;font-size:8px;letter-spacing:1px;font-weight:500;margin-bottom:7px}
.page-heading p:not(.eyebrow){font-size:12px;color:#838287;margin-top:9px;max-width:750px;line-height:1.7}
.page-symbol{display:grid;place-items:center;width:47px;height:47px;border-radius:15px;background:#f3f0f8;border:1px solid #f0eaf8;flex:0 0 47px}
.page-symbol .ui-icon{width:22px;height:22px;opacity:.65}
.quiet-label{font-size:9px;color:#9e9da2;font-weight:450;line-height:1.5}
#overview-date{text-transform:capitalize;text-align:right}
.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:normal;text-align:center;line-height:1.5;min-height:37px;padding:9px 14px;border-radius:11px;font-size:11px;font-weight:530;letter-spacing:-.1px;max-width:100%;overflow-wrap:anywhere;box-shadow:none}
.button.primary{color:#fff;background:#18181b;border:1px solid #18181b;box-shadow:0 1px 0 #ffffff21 inset,0 2px 5px #00000006}
.button.primary:hover{background:#343039;border-color:#343039;box-shadow:0 4px 14px #1f172916;transform:translateY(-1px)}
.button.secondary{color:#4d4b53;border:1px solid #e5e4e8;background:linear-gradient(145deg,#ffffffd9,#f9f8fcbd);box-shadow:0 1px 0 #fff inset}
.button.secondary:hover{background:#f1edf7;border-color:#d8cee8;box-shadow:0 3px 10px #402e5708;transform:translateY(-1px)}
.button.small{min-height:31px;padding:6px 10px;font-size:10px}
.button.primary .ui-icon{filter:invert(1)}
.button .ui-icon{width:14px;height:14px;flex-basis:14px}
.topbar-create{min-height:32px!important;border-radius:11px!important;font-size:10px!important}
.text-button,.hero-link{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;font-size:10px;text-align:left;line-height:1.5}
.text-button{color:#7e7b85}
.text-button:hover{color:var(--accent)}
.text-button .ui-icon{width:13px;height:13px;flex-basis:13px;opacity:.5}
.glass-card,.module-card,.campaign-card,.export-card,.asset-card,.editor-content,.preview-panel,.traffic-card,.traffic-metric,.traffic-campaigns article,.traffic-comment,.traffic-event{border:1px solid transparent;background:linear-gradient(145deg,#f6f6f3df,#f4f3f5bd) padding-box,linear-gradient(145deg,#fffffffa,#e7e5eb80,#ffffffc9) border-box;box-shadow:0 1px 0 #ffffffba inset,0 1px 2px #24202803;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.overview-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(190px,.9fr) minmax(180px,.85fr);gap:15px;border:1px solid #26232e;border-radius:20px;padding:23px 20px 22px;color:#fff;background:#151417;box-shadow:0 1px 0 #ffffff26 inset,0 -1px 0 #60427426 inset;min-width:0;position:relative;isolation:isolate}
.hero-main{padding:0 4px;min-width:0}
.hero-status{display:flex;align-items:center;gap:7px;font-size:7px;letter-spacing:.8px;color:#b0a9bb}
.hero-status .ui-icon{width:14px;height:14px;flex-basis:14px;filter:invert(58%) sepia(69%) saturate(2617%) hue-rotate(220deg) brightness(103%)}
.hero-main h2{font-size:27px;font-weight:440;letter-spacing:-1px;line-height:1.18;margin:17px 0 10px;text-wrap:balance}
.hero-main>p{font-size:10px;line-height:1.7;color:#a7a3ad;max-width:280px}
.hero-stats{display:flex;gap:30px;flex-wrap:wrap;margin-top:22px}
.hero-stats>div{min-width:45px}
.hero-stats span{font-size:6.5px;letter-spacing:.8px;color:#96909e;display:block}
.hero-stats strong{font-size:23px;line-height:1.2;font-weight:430;letter-spacing:-1px;display:block;margin-top:6px;font-variant-numeric:tabular-nums}
.hero-stats>div:last-child strong{color:#c4a4ff}
.hero-guide{align-self:stretch;padding:17px 15px;background:linear-gradient(145deg,#ffffff0c,#ffffff06) padding-box,linear-gradient(140deg,#ffffff1c,#ffffff03,#a28bc118) border-box;border:1px solid transparent;border-radius:15px;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 1px 0 #ffffff04 inset;backdrop-filter:blur(10px)}
.hero-guide-title{display:flex;align-items:center;gap:6px;margin-bottom:4px;line-height:1.4}
.hero-guide-title strong{font-size:10px;font-weight:530;color:#efebf7}
.hero-guide-title .ui-icon{width:12px;height:12px;flex-basis:12px;filter:invert(68%) sepia(47%) saturate(754%) hue-rotate(209deg) brightness(104%)}
.hero-guide>span{font-size:9px;color:#a9a3b2;display:flex;gap:7px;align-items:flex-start;line-height:1.6}
.hero-guide>span .ui-icon{width:10px;height:10px;flex-basis:10px;opacity:.7;filter:invert(72%) sepia(20%) saturate(826%) hue-rotate(70deg) brightness(105%);margin-top:2px}
.hero-guide .hero-link{font-size:9px;color:#e2d9f3;margin-top:auto;padding-top:8px;justify-content:space-between;gap:8px}
.hero-guide .hero-link:hover{color:#fff}
.hero-link .ui-icon{width:12px;height:12px;flex-basis:12px;filter:invert(1);opacity:.6;transition:transform .25s}
.hero-link:hover .ui-icon{transform:translate(2px,-2px);opacity:1}
.hero-automation>span{font-size:12px;color:#e5dfef;line-height:1.7;margin-top:3px}
.hero-automation p{font-size:9px;color:#8c8598;line-height:1.8}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0 14px;min-width:0}
.section-heading p{font-size:10px;color:#919095;margin-top:3px}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.module-card{padding:16px 15px 0;border-radius:17px;display:flex;flex-direction:column;min-width:0;transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s}
.module-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #39304309,0 1px 0 #fff inset;border-color:#d6c8ee9c}
.module-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.module-mark{display:inline-grid;place-items:center;background:#1a191d;border:1px solid #ffffff16;border-radius:9px;width:30px;height:30px;flex:0 0 30px;box-shadow:0 1px 0 #ffffff25 inset}
.module-mark .ui-icon{width:16px;height:16px;flex-basis:16px;filter:invert(1)}
.module-status{font-size:8px;color:#3c8869;display:inline-flex;align-items:center;gap:4px;line-height:1.5;text-align:right}
.module-status::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex:0 0 4px}
.module-status.pending{color:#ad7f2c}
.module-card h3{font-size:12px;font-weight:550;letter-spacing:-.2px}
.module-card>p{font-size:10px;color:#87848c;margin:4px 0 13px;line-height:1.6}
.module-total{display:flex;align-items:baseline;gap:9px;margin-top:auto;flex-wrap:wrap;padding-bottom:13px}
.module-total strong{font-size:24px;font-weight:430;line-height:1.15;letter-spacing:-.9px;font-variant-numeric:tabular-nums}
.module-total span{font-size:9px;color:#949199}
.module-action{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-top:1px solid #e6e3e8a3;background:transparent;padding:11px 0;width:100%;font-size:9px;color:#716a7c;text-align:left;line-height:1.5}
.module-action>.ui-icon{width:12px;height:12px;flex-basis:12px;opacity:.4;transition:transform .2s}
.module-action:hover{color:var(--accent)}
.module-action:hover .ui-icon{transform:translate(2px,-2px);opacity:.8}
.overview-lower{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;margin-top:22px}
.recent-panel,.quick-panel{border-radius:18px;padding:17px 19px;min-width:0}
.recent-panel>.section-heading,.quick-panel>.section-heading{margin:0 0 14px}
.recent-panel h2,.quick-panel h2{font-size:13px}
.recent-row{display:flex;align-items:center;gap:12px;padding:11px 0;border:0;border-top:1px solid #e8e5e8;background:transparent;width:100%;text-align:left;min-width:0}
.recent-row:hover{padding-left:4px;background:#ffffff4d}
.recent-thumb{width:38px;height:40px;flex:0 0 38px;border-radius:7px;object-fit:cover;background:#ece9ef}
.recent-copy{min-width:0;flex:1}
.recent-copy strong{font-size:10px;line-height:1.6;font-weight:500;display:block}
.recent-copy small{font-size:9px;color:#9b96a1;display:block;margin-top:2px}
.recent-row>.ui-icon{width:13px;height:13px;flex-basis:13px;opacity:.35}
.quick-panel>.section-heading>.ui-icon{opacity:.35}
.quick-panel>p{color:#8d8795;font-size:11px;line-height:1.8;margin-bottom:15px}
.quick-action{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#ffffff8c;border:1px solid #ffffffdb;border-radius:12px;padding:13px;width:100%;text-align:left;margin-top:9px;min-width:0;box-shadow:0 1px 0 #ffffffa6 inset}
.quick-action:hover{background:#fff;border-color:#dfd3ef;transform:translateY(-1px)}
.quick-action>span{min-width:0}
.quick-action strong,.quick-action small{display:block}
.quick-action strong{font-size:11px;font-weight:530}
.quick-action small{font-size:9px;color:#9a92a3;line-height:1.8;margin-top:3px}
.quick-action>.ui-icon{width:14px;height:14px;flex-basis:14px;opacity:.4}
.step-label{margin-bottom:16px;gap:10px}
.step-label>span{background:#f0edf5;color:#87739d;border-color:#eae4f0;border-radius:8px;font-size:9px;width:30px;height:30px;min-width:30px}
.step-label h2{font-size:14px;line-height:1.5;letter-spacing:-.4px}
.step-label p{font-size:10px;color:#96909c;line-height:1.7;margin-top:3px}
.filter-bar{gap:6px;flex-wrap:wrap;margin-bottom:20px}
.filter{border:1px solid transparent;padding:8px 13px;border-radius:10px;font-size:10px;color:#89838f;background:#f4f3f5;font-weight:450}
.filter:hover{background:#eae6f1;color:#5a456e}
.filter.active{background:#201d26;color:#fff;border-color:#201d26;box-shadow:0 1px 0 #ffffff17 inset}
.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
.template-card{border:1px solid #eae7ec;border-radius:17px;overflow:hidden;min-width:0;background:#f7f5f9;display:flex;flex-direction:column;box-shadow:0 1px 0 #fff inset;transition:transform .3s var(--ease),box-shadow .3s,border-color .3s;text-align:left}
.template-card:hover{transform:translateY(-4px);box-shadow:0 10px 27px #3d264410;border-color:#cdb8e3}
.template-card.selected{border-color:#9b7bc7;box-shadow:0 0 0 2px #aa85de2b}
.template-cover{height:230px;position:relative;overflow:hidden;background:#f1edf7}
.template-cover img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .55s var(--ease)}
.template-card:hover .template-cover img{transform:scale(1.025)}
.template-card.motion .template-cover img{object-fit:contain;object-position:center}
.template-cover>.tag{position:absolute;left:11px;bottom:11px;top:auto;background:#ffffffd4;border:1px solid #ffffffcb;backdrop-filter:blur(14px);color:#5c4a70;padding:5px 8px;box-shadow:0 1px 1px #281c3b0c;font-size:8px}
.template-card-info{padding:15px;display:flex;flex-direction:column;flex:1;min-width:0}
.template-card-info h3{font-size:13px;line-height:1.55;color:#28232f}
.template-card-info p{font-size:10px;line-height:1.8;color:#8b8293;margin:7px 0 13px;min-height:0}
.card-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #e8e1ee;font-size:9px;line-height:1.6;color:#9a8ea6}
.card-meta .ui-icon{width:13px;height:13px;flex-basis:13px;opacity:.45}
.tag{font-size:9px;font-weight:500;line-height:1.5;padding:4px 8px;background:#efebf4;color:#7c638f;border:1px solid #eae3f1;border-radius:7px;white-space:normal;max-width:100%;overflow-wrap:anywhere}
.editor{grid-template-columns:minmax(0,1.35fr) minmax(270px,.85fr);gap:20px;margin-top:30px;align-items:start}
.editor-content{border-radius:18px;padding:25px;min-width:0}
.composition-tools{background:#eeebf2b3;border:1px solid #e3dcecb0;border-radius:12px;padding:15px;margin-bottom:22px;gap:10px;min-width:0}
.composition-tools label{min-width:0;flex:1 1 180px}
.composition-tools small{font-size:10px;line-height:1.7;color:#9b8baa}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;min-width:0}
.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:480;color:#696170;line-height:1.6;min-width:0;max-width:100%}
.form-field.wide{grid-column:1/-1}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{min-width:0;max-width:100%;width:100%;border:1px solid #e2dce8;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;color:#38303f;background:rgba(255,255,255,.8);box-shadow:0 1px 0 #ffffffc7 inset;transition:border-color .2s,box-shadow .2s,background-color .2s}
input:focus,textarea:focus,select:focus{border-color:#b89bd9;background:#fff;box-shadow:0 0 0 3px #a47fdb12}
textarea{resize:vertical;min-height:80px}
input::placeholder,textarea::placeholder{color:#b2aab9}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
.field-hint{font-weight:400;color:#a597b1;font-size:10px;line-height:1.8}
.upload-row{flex-wrap:wrap;min-width:0;gap:8px;align-items:center}
.upload-row select{flex:1 1 180px}
.format-fieldset{padding:0;border:0;margin:23px 0}
.format-fieldset legend{font-size:11px;font-weight:500;color:#6e607c;margin-bottom:11px}
.format-options{display:flex;gap:8px;flex-wrap:wrap}
.format-options label{border:1px solid #e3dbe9;border-radius:10px;padding:10px 12px;font-size:11px;background:#ffffffa1;display:flex;align-items:center;gap:7px;line-height:1.5}
.format-options label:has(input:checked){background:#eee7f8;border-color:#bfa4de;color:#5d397d}
.editor-actions{display:flex;gap:8px;flex-wrap:wrap}
.editor-actions .button{flex:1 1 120px}
.preview-panel{position:sticky;top:22px;min-width:0;border-radius:18px;padding:20px}
.preview-heading{font-size:8px;color:#9d91a8;gap:8px;line-height:1.7;align-items:center;flex-wrap:wrap}
.preview-media{height:420px;min-height:240px;display:grid;place-items:center;margin-top:16px;border-radius:12px;background:#ece6f2;overflow:hidden}
.preview-media img,.preview-media video{width:100%;height:100%;min-height:0;max-height:420px;object-fit:contain}
.preview-panel>p{font-size:10px;color:#9d8eaa;line-height:1.8;margin-top:15px}
.preview-downloads{gap:8px;min-width:0}
.preview-downloads>.button{font-size:9px;min-width:0}
.model-note{font-size:10px;line-height:1.8;border-radius:10px;background:#efe8f7;color:#9278a5}
.feedback{font-size:11px;line-height:1.8;overflow-wrap:anywhere;color:#81669b}
.feedback:empty{display:none}
.feedback.error,.job-error{color:#a65c71}
.list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.campaign-card{border-radius:17px;padding:17px;min-width:0;display:flex;flex-direction:column;transition:transform .25s var(--ease),box-shadow .25s}
.campaign-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #34233d08}
.campaign-cover{height:145px;border-radius:10px;overflow:hidden;margin-bottom:14px;background:#ede7f3;position:relative}
.campaign-cover img{height:100%;width:100%;object-fit:cover;object-position:center 29%;transition:transform .45s var(--ease)}
.campaign-card:hover .campaign-cover img{transform:scale(1.025)}
.campaign-card>.tag{align-self:flex-start}
.campaign-card h3{font-size:13px;line-height:1.6;margin:11px 0 7px}
.campaign-card p{white-space:pre-line;font-size:10px;line-height:1.8;color:#95879e;margin-bottom:7px}
.card-actions{margin-top:auto;padding-top:12px;display:flex;gap:7px;flex-wrap:wrap}
.card-actions .button{min-width:0;font-size:10px}
.exports-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.export-card{padding:20px;border-radius:17px;min-width:0}
.export-top{gap:14px;align-items:flex-start;min-width:0}
.export-top>div{min-width:0;flex:1}
.export-top h3{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.export-top p{font-size:9px;line-height:1.8;color:#9a90a5;margin-top:5px}
.job-status{font-size:8px;line-height:1.5;font-weight:500;border-radius:7px;padding:5px 7px;white-space:normal;max-width:100px;flex:0 0 auto;color:#8d7c9f;background:#eae4f0}
.job-status.completed{background:#e5efe8;color:#5c8970}
.job-status.failed{background:#f4e7ec;color:#a96b80}
.job-status.running{color:#8e63b7;background:#ede3f8}
.export-thumb{height:180px;max-width:100%;width:100%;object-fit:contain;background:#ece6f2;border-radius:10px;margin-top:15px}
.file-list{display:flex;gap:7px;flex-wrap:wrap;min-width:0;margin-top:13px}
.file-link{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;background:#ffffffb3;border:1px solid #e4dcea;border-radius:9px;font-size:9px;padding:7px 9px;line-height:1.6;color:#826d93;overflow-wrap:anywhere}
.file-link:hover{background:#fff;border-color:#cdb7e2;transform:translateY(-1px)}
.file-link .ui-icon{width:12px;height:12px;flex-basis:12px;opacity:.5}
.file-link small{font-size:8px;color:#b0a1bd;white-space:nowrap}
.progress{border-radius:10px;background:#e6ddef;height:4px}
.progress progress{height:4px}
.progress progress::-webkit-progress-value{background:#9a73cd;border-radius:10px}
.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.asset-card{min-width:0;border-radius:16px;transition:transform .25s var(--ease),box-shadow .25s;overflow:hidden}
.asset-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #3a29440a}
.asset-card img{height:190px;object-fit:contain;background:#ebe6f0}
.asset-card p{font-size:11px;line-height:1.7;color:#7c6b89;overflow-wrap:anywhere;padding:13px}
.asset-card small{font-size:9px;color:#ae9bbb}
.muted{font-size:10px;line-height:1.8;color:#9f90aa}
.empty{padding:30px 20px;border:1px dashed #d9cde3;border-radius:13px;font-size:11px;line-height:1.8;color:#a08eae;background:#f7f4fa99;min-width:0}
.ai-box{background:linear-gradient(140deg,#f0ebf8cb,#faf8ff9c) padding-box,linear-gradient(145deg,#fff,#ddcfec99) border-box;border:1px solid transparent;border-radius:14px;padding:19px;margin-bottom:23px;min-width:0;box-shadow:0 1px 0 #ffffffd9 inset}
.ai-box h3{font-size:13px;color:#6f458e}
.ai-box>p{font-size:11px;line-height:1.8;color:#9982aa}
.ai-box .form-field{font-size:10px}
.ai-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ai-settings select{font-size:11px;padding:9px}
.ai-box-heading{align-items:center;flex-wrap:wrap}
.ai-actions{gap:8px;flex-wrap:wrap}
.ai-actions .button{min-width:0;flex:1 1 160px}
.ai-box>.field-hint{font-size:9px;line-height:1.8;color:#a18db2}
.ai-connection{padding:19px;border:1px solid #e8e2ed;border-radius:13px;background:#f5f2f8b3;backdrop-filter:blur(12px);font-size:12px;line-height:1.8;color:#8c729e}
.ai-connection.error{color:#a57b8a;border-color:#ead9e3;background:#faf2f6}
.ai-history-brief{font-size:11px;line-height:1.8;color:#8c789c;margin-top:14px;overflow-wrap:anywhere}
.ai-history-meta{font-size:9px;color:#b09abb;line-height:1.7}
.ai-generated-image,.ai-history-image{background:#ebe3f2;border-radius:12px}
.traffic-banner{background:#19171d;border:1px solid #29232f;border-radius:16px;color:#aba1b6;box-shadow:0 1px 0 #ffffff14 inset;padding:21px 23px;line-height:1.8;font-size:11px;margin-bottom:18px}
.traffic-banner strong{font-size:16px;font-weight:500;letter-spacing:-.4px;color:#f0eaf6;margin-bottom:5px;line-height:1.5}
.traffic-banner.error{background:#272029;border-color:#5a3e50;color:#c09fac}
.traffic-tabs{gap:5px;margin-bottom:20px;padding-bottom:13px;border-color:#eae4ef;flex-wrap:wrap;overflow:visible}
.traffic-tabs button{border-radius:9px;padding:8px 12px;font-size:10px;color:#9e8baa;font-family:inherit}
.traffic-tabs button:hover{background:#f2edf7;color:#766080}
.traffic-tabs button[aria-selected=true]{background:#eee7f6;color:#775590;box-shadow:0 1px 0 #fff inset}
.traffic-metrics{gap:13px;grid-template-columns:repeat(4,minmax(0,1fr))}
.traffic-metric{border-radius:15px;padding:18px;min-width:0}
.traffic-metric span{font-size:10px;color:#95839f}
.traffic-metric strong{font-size:27px;font-weight:460;letter-spacing:-1px;line-height:1.3;margin:10px 0 8px;color:#3a2e43;font-variant-numeric:tabular-nums}
.traffic-metric strong.value-compact{font-size:clamp(13px,4vw,22px);letter-spacing:-.6px;white-space:nowrap}
.traffic-metric small{font-size:9px;color:#b09abb;line-height:1.8}
.traffic-section-heading{margin:25px 0 15px}
.traffic-section-heading h2,.traffic-card h2{font-size:16px;font-weight:560;color:#51425d}
.traffic-section-heading p,.traffic-card p{font-size:11px;line-height:1.8;color:#9c88aa;margin-top:7px}
.traffic-table-wrap{border-radius:15px;border-color:#ece6f0;background:#faf8fc;min-width:0;max-width:100%}
.traffic-table{font-size:10px;min-width:860px}
.traffic-table th{font-size:9px;font-weight:500;background:#f2edf7;color:#9e8cab;padding:14px 12px;white-space:normal}
.traffic-table td{padding:16px 12px;font-size:10px;color:#90759f;line-height:1.8}
.traffic-table td:first-child{min-width:150px;max-width:210px}
.traffic-table td:first-child strong{font-size:11px;color:#65506f;line-height:1.8}
.traffic-table small{font-size:9px;color:#ad97ba;line-height:1.8}
.traffic-table select{font-size:9px;max-width:145px;padding:7px}
.traffic-table .button{font-size:9px;padding:6px 8px;min-height:29px}
.traffic-card{padding:22px;border-radius:16px;margin:17px 0;min-width:0}
.traffic-card summary{font-size:12px;color:#7b5a92;font-weight:520;line-height:1.8;list-style:none;display:flex;justify-content:space-between;gap:15px;align-items:center;min-height:22px}
.traffic-card summary::-webkit-details-marker{display:none}
.traffic-card summary::after{content:'';width:15px;height:15px;flex:0 0 15px;background:url('/ui/icons/plus.svg') center/contain no-repeat;opacity:.4;transition:transform .3s var(--ease)}
.traffic-card[open]>summary::after{transform:rotate(45deg)}
.traffic-card[open]>form{animation:surface-in .3s var(--ease)}
.traffic-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px;min-width:0}
.traffic-check{font-size:11px;line-height:1.8;color:#8b6b9e;gap:10px;align-items:center;min-width:0}
.traffic-check input{appearance:none;width:32px;height:19px;min-width:32px;position:relative;cursor:pointer;border-radius:20px;background:#ded5e6;border:1px solid #d8cce3;transition:background .22s,border-color .22s;flex:0 0 32px}
.traffic-check input::after{content:'';position:absolute;left:2px;top:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #5e427f20;transition:transform .25s var(--ease)}
.traffic-check input:checked{background:#8b57dc;border-color:#8b57dc}
.traffic-check input:checked::after{transform:translateX(13px)}
.traffic-explainer{background:#1c1822;border:1px solid #30273b;color:#fff;backdrop-filter:none}
.traffic-explainer h2{color:#f0e7f9;font-size:25px;font-weight:450;letter-spacing:-.8px;margin-top:10px}
.traffic-explainer p{color:#a691b8;max-width:720px;font-size:11px}
.traffic-steps{font-size:9px;color:#ae93c4;border-color:#ffffff12;gap:20px;margin-top:18px;padding-top:17px}
.traffic-event{border-radius:12px;gap:16px;padding:15px 18px;min-width:0}
.traffic-event p{font-size:11px;color:#9675a6;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.traffic-event time{font-size:9px;color:#b095c0}
.traffic-comment{border-radius:15px;padding:21px;min-width:0}
.traffic-comment header{gap:9px;font-size:11px;line-height:1.8;flex-wrap:wrap;min-width:0}
.traffic-comment p{font-size:12px;line-height:1.8;color:#8f709f;overflow-wrap:anywhere}
.traffic-campaigns{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.traffic-campaigns article{border-radius:15px;padding:19px;min-width:0}
.traffic-campaigns strong{font-size:12px;color:#896297}
.traffic-campaigns p{font-size:10px;color:#b097ba;line-height:1.8}
.traffic-campaigns .card-actions{min-width:0;padding-top:0}
.traffic-budget-input{width:95px!important;flex:0 1 95px;min-width:60px!important}
.traffic-source{font-size:10px;min-width:0;align-items:flex-start;flex-wrap:wrap;color:#a17daf;border-color:#e8ddeb}
.traffic-source>span{flex:1 1 180px;min-width:0;overflow-wrap:anywhere;line-height:1.8}
.page-footer{margin:0 25px 17px;padding-top:15px;border-color:#ede9ef;font-size:8px;color:#b3a9bd;gap:15px;line-height:1.8;align-items:flex-start}
.page-footer span:first-child{font-size:8px;font-weight:550;letter-spacing:1.5px}
.toast{border-radius:13px;padding:14px 19px;max-width:min(420px,calc(100vw - 36px));color:#f5edf9;background:#241d2aee;backdrop-filter:blur(20px);border:1px solid #ffffff2b;box-shadow:0 8px 30px #28113b25;line-height:1.8;font-size:11px;overflow-wrap:anywhere;animation:surface-in .24s var(--ease);z-index:100}
.help-dialog{border:1px solid #ffffffed;background:linear-gradient(140deg,#fffffff5,#f4eff9ec);backdrop-filter:blur(25px);border-radius:23px;padding:28px;color:#4d3b5e;width:min(440px,calc(100vw - 30px));box-shadow:0 20px 80px #2b1e4633;max-height:85dvh;overflow:auto;animation:surface-in .3s var(--ease)}
.help-dialog::backdrop{background:#3027394d;backdrop-filter:blur(5px)}
.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.help-dialog h2{font-size:24px;font-weight:470;letter-spacing:-.8px;line-height:1.3;margin:8px 0 10px}
.help-dialog>p:not(.eyebrow){font-size:11px;color:#a38caf;margin-bottom:23px}
.help-dialog .quick-action{padding:15px;margin-top:11px}
.login-screen{background:#e8e8e6;min-height:100dvh;padding:20px}
.login-card{background:#ffffffd6;backdrop-filter:blur(24px);border:1px solid #ffffffed;border-radius:24px;box-shadow:0 20px 50px #3924470c;width:min(440px,100%);padding:38px}
.login-card .wordmark{color:#2c1b3c;font-size:47px;margin-bottom:37px}
.login-card h1{font-size:30px;font-weight:500;letter-spacing:-1px;line-height:1.2}
.login-card>p:not(.eyebrow){color:#a28caf;font-size:12px;line-height:1.8}
.login-card label{font-size:11px;color:#9678a9;gap:8px}
.login-card input{min-height:44px}
@keyframes surface-in{from{opacity:0;transform:translateY(7px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes content-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.view:not([hidden]) .module-card,.view:not([hidden]) .template-card,.view:not([hidden]) .campaign-card,.view:not([hidden]) .asset-card{animation:content-in .42s var(--ease) backwards}
.view:not([hidden]) :is(.module-card,.template-card,.campaign-card,.asset-card):nth-child(3n+2){animation-delay:35ms}
.view:not([hidden]) :is(.module-card,.template-card,.campaign-card,.asset-card):nth-child(3n+3){animation-delay:70ms}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.glass-card,.module-card,.traffic-card,.traffic-metric,.preview-panel,.editor-content{background:#f5f3f8}.nav-label,.search-results,.help-dialog{background:#fff}.nav-label{color:#333}.traffic-explainer{background:#1c1822}}
@media(min-width:1500px){.view{padding-left:30px;padding-right:30px}.topbar{padding-left:30px;padding-right:30px}.overview-hero{gap:20px;padding:28px}.hero-main h2{font-size:32px}.hero-guide{padding:20px}.hero-guide-title strong{font-size:11px}.hero-guide>span{font-size:10px}.module-card{padding:19px 18px 0}.module-card h3{font-size:13px}.module-card>p{font-size:11px}.module-total strong{font-size:27px}.template-cover{height:265px}}
@media(max-width:1100px){.workspace{grid-template-columns:58px minmax(0,1fr);width:calc(100% - 26px);margin:13px auto;padding:6px;border-radius:25px}.sidebar{height:calc(100dvh - 40px);top:20px;padding-left:5px;padding-right:5px}.view{padding:4px 21px 26px}.topbar{padding:0 21px;gap:12px}.search-field input{width:125px}.search-field kbd{display:none}.overview-hero{grid-template-columns:minmax(0,1.45fr) minmax(150px,1fr);gap:15px}.hero-automation{display:none}.hero-main h2{font-size:29px}.hero-guide{padding:18px}.template-cover{height:210px}.list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor{grid-template-columns:minmax(0,1fr)}.preview-panel{position:static}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-media{height:440px}.preview-media img,.preview-media video{max-height:440px}.breadcrumb .brand-name{display:none}.topbar-actions{gap:8px}.traffic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-stats{gap:26px}}
@media(max-width:820px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{padding:16px 15px 0}.overview-lower{grid-template-columns:1fr}.quick-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.quick-panel>.section-heading,.quick-panel>p{grid-column:1/-1}.quick-panel>p{margin-bottom:5px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-cover{height:235px}.status-pill{max-width:140px}.topbar-create{padding:6px 10px!important}.page-heading h1,.compact h1{font-size:27px}.exports-list{grid-template-columns:1fr}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.traffic-campaigns{grid-template-columns:1fr}.page-footer{margin-left:21px;margin-right:21px}}
@media(max-width:640px){html{scroll-padding-top:12px}body{background:#f6f5f8;font-size:13px}.workspace{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:#fff;min-height:100dvh;box-shadow:none}.sidebar{position:fixed;inset:auto 10px 10px;height:auto;width:calc(100% - 20px);padding:7px;border-radius:20px;background:linear-gradient(145deg,#fffffff0,#f6f2fad9) padding-box,linear-gradient(140deg,#fff,#e3d8ef) border-box;border:1px solid transparent;backdrop-filter:blur(22px);box-shadow:0 5px 25px #40354e1a,0 1px 0 #fff inset;z-index:60}.brand-mark,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;overflow:visible}.nav-item{width:100%;padding:12px 6px;border-radius:12px;min-height:43px}.nav-icon{width:19px;height:19px;flex-basis:19px}.nav-item.active{background:#ece5f7}.nav-count{top:0;right:0;font-size:7px;border-color:#faf7ff;min-width:13px;padding:0 3px}.nav-label{display:none}.nav-item:focus-visible .nav-label{display:none}main{border:0;border-radius:0;min-height:100dvh;padding-bottom:78px;box-shadow:none;background:#fff}.topbar{height:auto;min-height:68px;padding:17px 18px 14px;gap:12px;align-items:center;flex-wrap:wrap}.breadcrumb{font-size:10px;gap:8px;flex:1 1 auto}.breadcrumb strong{font-size:10px}.breadcrumb>.ui-icon{display:none}.breadcrumb .brand-name{display:inline;font-size:9px;color:#aca1b3;letter-spacing:-.2px}.topbar-actions{gap:7px;flex:0 1 auto}.global-search{max-width:170px}.search-field{padding:0 9px;height:31px;border-radius:10px}.search-field input{width:104px;font-size:9px}.status-pill{display:none}.topbar-create{display:none}.view{padding:5px 18px 23px}.page-heading,.page-heading.compact{gap:12px;align-items:flex-start;margin-bottom:18px}.page-heading h1,.compact h1{font-size:26px;font-weight:500;letter-spacing:-1px;line-height:1.22}.page-heading p:not(.eyebrow){font-size:11px;line-height:1.8;margin-top:8px}.eyebrow{font-size:7px;letter-spacing:.9px}.page-symbol{width:38px;height:38px;flex-basis:38px;border-radius:12px}.page-symbol .ui-icon{width:19px;height:19px}.quiet-label{font-size:8px}#overview-date{font-size:8px;max-width:110px;line-height:1.7}.overview-hero{grid-template-columns:minmax(0,1fr);border-radius:18px;padding:21px 20px;gap:16px}.hero-main h2{font-size:30px;font-weight:440;line-height:1.15;margin-top:17px}.hero-main>p{font-size:11px;max-width:270px;line-height:1.8}.hero-status{font-size:7px}.hero-stats{gap:30px;margin-top:20px}.hero-stats strong{font-size:25px}.hero-stats span{font-size:6.5px}.hero-guide{padding:14px;gap:9px;display:grid;grid-template-columns:1fr 1fr;border-radius:12px}.hero-guide-title{grid-column:1/-1;margin-bottom:2px}.hero-guide-title strong{font-size:10px}.hero-guide>span{font-size:8px}.hero-guide .hero-link{grid-column:1/-1;padding-top:6px;font-size:9px}.hero-automation{display:none}.section-heading{margin:22px 0 13px;gap:12px}.section-heading h2{font-size:14px}.section-heading p{font-size:10px}.section-heading>.quiet-label{display:none}.module-grid{gap:11px}.module-card{padding:14px 12px 0;border-radius:15px}.module-top{gap:6px;align-items:flex-start;margin-bottom:9px}.module-mark{width:27px;height:27px;flex-basis:27px;border-radius:8px}.module-mark .ui-icon{width:14px;height:14px;flex-basis:14px}.module-status{font-size:7px;max-width:73px;gap:3px;line-height:1.5}.module-status::before{width:3px;height:3px;flex-basis:3px}.module-card h3{font-size:11px;line-height:1.6;letter-spacing:-.25px}.module-card>p{font-size:9px;line-height:1.8;margin-top:4px;margin-bottom:13px}.module-total{gap:4px;align-items:flex-start;flex-direction:column;padding-bottom:12px}.module-total strong{font-size:25px}.module-total span{font-size:8px;line-height:1.7}.module-action{font-size:8px;padding:10px 0;gap:6px;line-height:1.7}.module-action .ui-icon{width:11px;height:11px;flex-basis:11px}.recent-panel,.quick-panel{padding:16px;border-radius:16px}.quick-panel{display:block}.quick-panel>p{margin-bottom:13px}.recent-copy strong{font-size:10px;line-height:1.7}.recent-copy small{font-size:8px}.recent-thumb{width:35px;height:39px;flex-basis:35px}.recent-row{gap:10px}.overview-lower{margin-top:18px;gap:14px}.step-label>span{width:27px;height:27px;min-width:27px;font-size:8px}.step-label h2{font-size:13px;line-height:1.6}.step-label p{font-size:10px;line-height:1.8}.filter-bar{gap:5px;margin-bottom:17px}.filter{font-size:9px;padding:7px 10px;border-radius:9px}.template-grid{gap:12px}.template-card{border-radius:14px}.template-cover{height:185px}.template-card-info{padding:12px}.template-card-info h3{font-size:11px;line-height:1.65;letter-spacing:-.15px}.template-card-info p{font-size:9px;line-height:1.8;margin:7px 0 12px}.card-meta{font-size:8px;gap:6px;padding-top:9px;line-height:1.8}.card-meta .ui-icon{width:11px;height:11px;flex-basis:11px}.template-cover>.tag{left:8px;bottom:8px;font-size:7px;line-height:1.6;padding:4px 6px;max-width:calc(100% - 16px)}.editor{gap:16px;margin-top:23px}.editor-content{padding:19px 16px;border-radius:16px}.fields{grid-template-columns:1fr;gap:16px}.form-field.wide{grid-column:auto}.form-field{font-size:11px;line-height:1.7}.ai-settings{grid-template-columns:1fr}.ai-box{padding:16px;border-radius:13px}.ai-box .form-field{font-size:10px}.ai-box-heading{gap:9px}.ai-box h3{font-size:13px}.ai-box .tag{font-size:8px}.ai-box>p{font-size:10px;line-height:1.8}.ai-actions .button{flex:1 1 130px;font-size:10px}.editor-actions .button{flex:1 1 105px;min-height:39px;font-size:10px}.preview-panel{padding:16px;border-radius:16px}.preview-media{height:430px}.preview-media img,.preview-media video{max-height:430px}.preview-heading{font-size:7px}.composition-tools{padding:13px}.list-grid{grid-template-columns:1fr;gap:14px}.campaign-card{padding:16px}.campaign-cover{height:190px}.campaign-card h3{font-size:13px}.campaign-card .card-actions{flex-wrap:wrap}.export-card{padding:17px;border-radius:15px}.export-top{gap:10px}.export-top h3{font-size:12px;line-height:1.8}.export-top p{font-size:9px}.job-status{max-width:84px;font-size:7px;padding:5px 6px}.export-thumb{height:210px}.file-list{gap:6px}.file-link{font-size:9px;padding:7px 8px}.file-link small{font-size:7px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-card{border-radius:14px}.asset-card img{height:175px}.asset-card p{font-size:10px;line-height:1.8;padding:11px}.asset-card small{font-size:8px}.traffic-banner{padding:19px 17px;border-radius:15px;font-size:10px;line-height:1.9}.traffic-banner strong{font-size:15px;line-height:1.6}.traffic-tabs{gap:4px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:17px}.traffic-tabs button{font-size:9px;padding:7px 9px;line-height:1.7}.traffic-metrics{gap:10px}.traffic-metric{padding:15px;border-radius:14px}.traffic-metric span{font-size:9px;line-height:1.7}.traffic-metric strong{font-size:24px;line-height:1.3;margin:10px 0 7px}.traffic-metric small{font-size:8px;line-height:1.8}.traffic-section-heading h2,.traffic-card h2{font-size:15px}.traffic-section-heading p,.traffic-card p{font-size:10px;line-height:1.9}.traffic-card{padding:18px 16px;border-radius:15px}.traffic-card summary{font-size:11px;line-height:1.8;gap:10px}.traffic-form-grid{grid-template-columns:1fr;gap:17px}.traffic-form-grid>.wide{grid-column:auto}.traffic-check{font-size:10px;line-height:1.8}.traffic-explainer h2{font-size:23px}.traffic-steps{font-size:9px;line-height:1.8;gap:10px}.traffic-event{padding:15px;display:block}.traffic-event p{font-size:10px;margin-top:5px}.traffic-comment{padding:17px}.traffic-comment p{font-size:11px;line-height:1.9}.traffic-campaigns{grid-template-columns:1fr}.traffic-campaigns article{padding:17px}.traffic-table-wrap{background:transparent;border:0;overflow:visible}.traffic-table{display:block;min-width:0;width:100%;background:none}.traffic-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.traffic-table tbody{display:grid;gap:12px}.traffic-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e9e0ef;border-radius:14px;padding:13px;gap:8px 12px;background:#f8f5fb}.traffic-table td{display:block;padding:0;border:0;min-width:0;font-size:11px}.traffic-table td:first-child{grid-column:1/-1;min-width:0;max-width:none;padding-bottom:6px}.traffic-table td:nth-child(2){grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #e9e0ef}.traffic-table td:last-child{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid #e9e0ef}.traffic-table td[data-label]::before{content:attr(data-label);display:block;color:#b39cbe;font-size:8px;font-weight:400;line-height:1.8;margin-bottom:2px}.traffic-table td:last-child::before{display:none}.traffic-table td:last-child .button{margin:0}.traffic-table td:last-child select{max-width:none;flex:1 1 150px}.traffic-table td[colspan]{grid-column:1/-1}.traffic-table .empty{padding:26px 12px;font-size:10px}.page-footer{margin:0 18px 14px;font-size:7px;padding-top:15px;line-height:1.8}.page-footer span:last-child{max-width:190px}.toast{bottom:83px;left:14px;right:14px;font-size:11px}.help-dialog{padding:24px}.help-dialog h2{font-size:25px}.login-card{padding:30px}.login-card h1{font-size:29px}}
@media(max-width:370px){.topbar{padding-left:14px;padding-right:14px;gap:8px}.view{padding-left:14px;padding-right:14px}.breadcrumb .brand-name{display:none}.search-field input{width:112px}.template-grid{grid-template-columns:1fr}.template-cover{height:300px}.module-status{font-size:6.5px;max-width:65px}.module-card{padding-left:10px;padding-right:10px}.module-action{font-size:7.5px}.hero-stats{gap:25px}.hero-guide{grid-template-columns:1fr}.hero-guide-title,.hero-guide .hero-link{grid-column:auto}.page-heading h1{font-size:24px}}
/* Keep secondary copy readable on translucent surfaces. */
.module-card>p,.module-total span,.module-action,.section-heading p,.recent-copy small,.quick-panel>p,.quick-action small,.template-card-info p,.card-meta,.campaign-card p,.export-top p,.asset-card small,.muted,.field-hint,.ai-box>p,.ai-box>.field-hint,.ai-history-brief,.ai-history-meta,.preview-panel>p,.traffic-metric span,.traffic-metric small,.traffic-section-heading p,.traffic-card p,.traffic-campaigns p,.traffic-event p,.traffic-event time,.traffic-table small,.traffic-source,.quiet-label{color:#77717f}
.module-status{color:#397457}.module-status.pending{color:#8d651f}
.traffic-explainer p{color:#b8a7c6}
.overview-hero{padding-top:19px;padding-bottom:19px}
.hero-main h2{font-size:25px;line-height:1.16;margin:12px 0 8px}
.hero-main>p{max-width:400px}
.hero-stats{margin-top:16px}
.hero-stats strong{font-size:22px;margin-top:4px}
.hero-guide{padding:15px}
.brand-mark{display:block;overflow:hidden;padding:11px 5px}
.brand-mark img{width:81px;max-width:none;height:auto;object-fit:initial;display:block}
.brand-avatar{display:block;overflow:hidden;padding:9px 5px}
.brand-avatar img{width:65px;max-width:none;height:auto;object-fit:initial;display:block}
.brand-mark,.brand-avatar{justify-items:start;align-items:start;text-align:left}
.brand-mark img,.brand-avatar img{justify-self:start;align-self:start}
.connection-note>.module-mark{margin-bottom:14px}
.connection-note h3{font-size:14px;color:#4e4359}
.campaign-cover img{object-fit:contain;object-position:center}
.ai-brief-details{margin-top:14px;border-top:1px solid #e8e1ee;padding-top:12px;min-width:0}
.ai-brief-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#8c739d;line-height:1.8;cursor:pointer;list-style:none;min-height:24px}
.ai-brief-details summary::-webkit-details-marker{display:none}
.ai-brief-details summary::after{content:'';width:12px;height:12px;flex:0 0 12px;background:url('/ui/icons/plus.svg') center/contain no-repeat;opacity:.4;transition:transform .2s var(--ease)}
.ai-brief-details[open] summary::after{transform:rotate(45deg)}
.ai-brief-details[open] .ai-history-brief{animation:surface-in .24s var(--ease)}
.step-label>span{display:grid;place-items:center;padding:0!important;line-height:1;white-space:nowrap;flex:0 0 30px}
.brand-mark{display:grid;place-items:center;padding:0}
.brand-mark img{width:28px;height:15px;max-width:100%;object-fit:cover;object-position:left center;justify-self:center;align-self:center}
.brand-avatar{display:grid;place-items:center;padding:0}
.brand-avatar img{width:22px;height:12px;max-width:100%;object-fit:cover;object-position:left center;justify-self:center;align-self:center}
.template-cover img{object-fit:contain;object-position:center}
.template-type{align-self:flex-start;margin:0 0 8px;font-size:8px;padding:3px 7px}
@media(min-width:821px) and (max-width:1100px){.overview-hero{grid-template-columns:minmax(0,1.65fr) minmax(135px,.85fr) minmax(135px,.8fr);gap:12px;padding:18px}.hero-automation{display:flex}.hero-guide{padding:13px}.hero-main h2{font-size:23px}.hero-guide-title strong{font-size:9px}.hero-stats{gap:22px}}
@media(max-width:640px){.overview-hero{padding:21px 20px}.hero-main h2{font-size:29px;margin-top:17px}.hero-stats{margin-top:20px;gap:30px}.hero-stats strong{font-size:25px}.hero-guide{padding:14px}.brand-mark,.brand-avatar{display:none}.module-card>p,.module-total span,.module-action{color:#736b7b}}
@media(max-width:640px){.module-action{min-height:42px}.nav-item{min-height:44px}.traffic-tabs button{min-height:38px}.button,.button.small{min-height:40px}.topbar-actions>#logout{min-width:32px}.form-field input,.form-field select{min-height:42px}}
@media(max-width:640px){.page-symbol{display:none}.brand-mark,.brand-avatar{display:none}.step-label>span{flex-basis:27px}.template-type{font-size:7px;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.module-card:hover,.template-card:hover,.asset-card:hover,.campaign-card:hover,.button:hover{transform:none!important}}
.traffic-readiness{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.traffic-ad-filters{margin:16px 0}.traffic-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 22px}.traffic-pagination p{margin:0}.traffic-table td select+select{margin-top:7px}
.traffic-ready{display:grid;grid-template-columns:22px minmax(0,1fr);align-content:start;gap:6px 10px;text-align:left;padding:17px;border:1px solid #fff;border-radius:18px;background:linear-gradient(145deg,#ffffffc9,#f3f1f5a6);box-shadow:inset 0 1px 1px #fff,0 5px 18px #25202e04;color:var(--ink);cursor:pointer;min-width:0;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.traffic-ready:hover{transform:translateY(-2px);box-shadow:inset 0 1px 1px #fff,0 7px 22px #25202e0a}
.traffic-ready .ui-icon{grid-row:1/3;width:20px;height:20px;opacity:.45}.traffic-ready.complete .ui-icon{filter:invert(32%) sepia(45%) saturate(650%) hue-rotate(104deg);opacity:.9}
.traffic-ready strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.traffic-ready span{font-size:10px;line-height:1.65;color:#756d7e;overflow-wrap:anywhere}
.traffic-trend{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;padding:18px 2px 2px;min-width:0}.traffic-trend>.empty{grid-column:1/-1}
.traffic-day{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.traffic-day>strong{font-size:12px;text-align:center;overflow-wrap:anywhere}.traffic-day>span{font-size:11px;color:#746e7a}.traffic-day>small{font-size:10px;color:#746e7a;text-align:center;overflow-wrap:anywhere}
.traffic-day-track{height:100px;width:100%;max-width:56px;display:flex;align-items:flex-end;border-bottom:1px solid #e4dfea}.traffic-day-bar{width:100%;background:linear-gradient(180deg,#9d69e9,#7650a8);border-radius:7px 7px 0 0;box-shadow:inset 1px 1px 1px #ffffff80;transition:height .5s var(--ease)}
.traffic-queue-group{border-top:1px solid #e9e5ed;margin-top:18px;padding-top:15px;min-width:0}.traffic-queue-group h3{font-size:13px;margin:0 0 10px;overflow-wrap:anywhere}.traffic-queue-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #eeebf1;min-width:0}.traffic-queue-item>div:first-child{flex:1;min-width:0}.traffic-queue-item strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.traffic-queue-item small{display:block;margin-top:4px}.traffic-queue-item .card-actions{flex-shrink:0;flex-wrap:wrap}
.traffic-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.traffic-posts>.empty{grid-column:1/-1}.traffic-post{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;border:1px solid #e9e4ed;border-radius:16px;background:#ffffff70;min-width:0}.traffic-post>p{margin:0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.traffic-post .button{margin-top:auto}.traffic-post>strong{font-size:11px;color:#41705c}.traffic-login-card .module-mark{margin-bottom:15px}.traffic-login-card>.card-actions{flex-wrap:wrap;margin:20px 0 14px}.traffic-login-card>#traffic-choose-accounts{margin-top:20px;padding-top:20px;border-top:1px solid #e9e4ed}
@media(max-width:1000px){.traffic-readiness{grid-template-columns:repeat(2,minmax(0,1fr))}.traffic-posts{grid-template-columns:repeat(2,minmax(0,1fr))}.traffic-trend{gap:9px}.traffic-queue-item{flex-direction:column;align-items:stretch}.traffic-queue-item .card-actions{justify-content:flex-start}}
@media(max-width:640px){.traffic-readiness{gap:8px;margin:12px 0 18px}.traffic-ready{padding:13px 11px;gap:5px 7px;grid-template-columns:16px minmax(0,1fr);border-radius:14px}.traffic-ready .ui-icon{width:16px;height:16px}.traffic-ready strong{font-size:11px}.traffic-ready span{font-size:10px}.traffic-trend{gap:5px;padding-top:15px}.traffic-day>strong{font-size:9px}.traffic-day>span,.traffic-day>small{font-size:8px}.traffic-day-track{height:80px;max-width:24px}.traffic-day-bar{border-radius:4px 4px 0 0}.traffic-posts{grid-template-columns:minmax(0,1fr)}.traffic-login-card>.card-actions{display:grid;grid-template-columns:minmax(0,1fr)}.traffic-login-card>.card-actions .button{width:100%}.traffic-queue-item .button{font-size:10px;padding:9px 11px}.traffic-section-heading{flex-wrap:wrap}}
