/* Brand palette and typography from aiidate.online. Fonts are served locally. */
@font-face{font-family:"Russo One";src:url("/static/fonts/russo-one.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Furore;src:url("/static/fonts/furore.otf") format("opentype");font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:dark;--paper:#000;--white:#101211;--surface-2:#171a18;--control:#0d0f0e;--ink:#f7f7f4;--muted:#a3a7a3;--line:#292d2a;--line-strong:#3a403a;--green:#d5ff35;--green-hover:#e3ff76;--on-green:#090b02;--sage:#1a210f;--accent:var(--green);--red:#ff8591;--chart-post:var(--green);--chart-clip:#92998e;--radius:18px;--font-body:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-display:"Russo One",Impact,sans-serif;--font-brand:Furore,"Russo One",Impact,sans-serif}
html{background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:14px;line-height:1.5}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.55}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:3px}
button{color:inherit}
h1,h2,h3,p{margin:0}
h1{font-size:34px;line-height:1.18;letter-spacing:-1.2px;font-weight:750}
h2{font-size:19px;letter-spacing:-.4px}
h3{font-size:15px;line-height:1.4}
small,.muted{color:var(--muted)}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted);text-transform:uppercase}
.icon{width:19px;height:19px;vertical-align:middle;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.logo-mark{display:inline-grid;place-items:center;background:var(--green);color:var(--ink);border-radius:12px;width:42px;height:42px;font-weight:800;font-size:27px;line-height:1}
.logo-mark{flex-shrink:0;overflow:hidden}
.logo-mark img{display:block;width:100%;height:100%;object-fit:contain}
.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:800;letter-spacing:-.6px}
.brand b{color:var(--accent)}
.brand small{display:block;font-size:10px;letter-spacing:2px;text-transform:uppercase;margin-top:-2px;font-weight:600}
.initial{display:grid;place-content:center;justify-items:center;gap:15px;height:100vh}
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--white);border-right:1px solid var(--line);padding:28px 20px;display:flex;flex-direction:column;z-index:20}
.sidebar .brand{margin:0 4px 42px}
.nav{display:grid;gap:7px}
.nav a{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:11px;color:var(--muted);font-weight:600}
.nav a:hover{background:var(--paper);color:var(--ink)}
.nav a.active{color:var(--ink);background:var(--green)}
.nav .count{font-size:10px;margin-left:auto;background:var(--surface-2);color:var(--green);padding:1px 5px;border-radius:5px}
.sidebar-bottom{margin-top:auto;display:grid;gap:16px}
.side-note{padding:16px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-size:11px;color:var(--muted)}
.side-note strong{color:var(--ink);display:block;margin-bottom:5px}
.dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--green);margin-right:6px}
.workspace{margin-left:224px;min-height:100vh}
.topbar{height:76px;padding:0 38px;display:flex;justify-content:space-between;align-items:center;background:#000000eb;border-bottom:1px solid var(--line);gap:15px}
.crumb{font-size:12px;color:var(--muted)}
.crumb span{margin:0 12px;color:var(--muted)}
.top-right{display:flex;align-items:center;gap:17px;font-size:11px;color:var(--muted)}
.avatar{display:grid;place-items:center;width:34px;height:34px;background:var(--sage);border-radius:50%;font-weight:700;color:var(--green)}
main{padding:34px 38px 60px;max-width:1720px;margin:0 auto}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:25px}
.page-head p{color:var(--muted);margin-top:9px;font-size:13px}
.page-head .eyebrow{margin-bottom:9px}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:11px 16px;border:1px solid var(--line);background:var(--white);font-weight:600;font-size:12px;min-height:42px;white-space:nowrap}
.btn:hover{border-color:var(--line-strong)}
.btn.primary{background:var(--green);color:var(--ink);border-color:var(--green)}
.btn.soft{background:var(--sage);border-color:var(--sage)}
.btn.text{background:none;border:0;padding:8px 0;color:var(--muted)}
.btn.small{min-height:32px;padding:6px 10px;font-size:11px}
.btn.danger{color:var(--red)}
.flex{display:flex;align-items:center;gap:12px}
.spread{justify-content:space-between}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;line-height:1.3;padding:5px 8px;border-radius:6px;background:var(--sage);color:var(--green)}
.tag.clip{background:var(--surface-2);color:var(--muted)}
.tag.warm{background:var(--surface-2);color:var(--muted)}
.snapshot{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:11px;background:var(--control);padding:11px 16px;font-size:11px;color:var(--muted);margin-bottom:22px}
.snapshot a{font-weight:700;color:var(--green)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}
.stat{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px;position:relative}
.stat-label{color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.stat .icon{color:var(--green);width:17px;height:17px}
.stat-value{font-size:34px;font-weight:750;line-height:1.2;letter-spacing:-1px;margin:14px 0 6px}
.stat small{font-size:10px}
.stat-record{display:block;transition:border-color .15s,background .15s}
.stat-record:hover{border-color:var(--green);background:var(--control)}
.stat-record:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.section{margin-bottom:26px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.section-head p{color:var(--muted);font-size:11px;margin-top:5px}
.section-head .btn{padding:6px 0;min-height:0;border:0;background:none;color:var(--muted);font-size:11px}
.overview-grid{display:grid;grid-template-columns:.9fr 1.25fr;gap:20px;margin-bottom:26px}
.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:23px}
.niche-list{display:grid;gap:2px}
.niche-row{display:flex;align-items:center;gap:12px;padding:10px 0;position:relative;border-bottom:1px solid var(--line);font-size:12px}
.niche-row:last-child{border:0}
.niche-icon{display:grid;place-items:center;background:var(--paper);width:30px;height:30px;border-radius:9px;font-size:14px;color:var(--green);flex-shrink:0}
.niche-row .niche-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.niche-row b{font-size:12px}
.delta{width:42px;text-align:right;font-size:10px;color:var(--muted)}
.delta.up{color:var(--green)}
.chart-panel{background:var(--control);color:var(--ink);border:1px solid var(--line)}
.chart-panel .muted,.chart-panel .section-head p{color:var(--muted)}
.chart-panel .legend{display:flex;gap:13px;color:var(--muted);font-size:10px}
.legend i{display:inline-block;width:7px;height:7px;background:var(--chart-post);border-radius:2px;margin-right:5px}
.legend i.clips{background:var(--chart-clip)}
.day-chart-wrap{position:relative;margin-top:25px;user-select:none}
.day-chart{width:100%;height:185px;display:block;overflow:visible}
.day-column{cursor:pointer;outline:none}
.chart-hover-band{fill:var(--accent);opacity:0;pointer-events:none}
.chart-column-outline{fill:none;stroke:var(--accent);stroke-width:1;vector-effect:non-scaling-stroke;opacity:0;pointer-events:none}
.chart-hit{pointer-events:all}
.day-column.is-active .chart-hover-band{opacity:.08}
.day-column.is-active .chart-column-outline{opacity:1}
.day-column.is-active .chart-bar{filter:brightness(1.12);opacity:1}
.day-chart-tip{position:absolute;z-index:3;width:176px;max-width:calc(100% - 16px);padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:0 8px 24px #0008;color:var(--ink);font-size:12px;line-height:1.45;pointer-events:none}
.day-chart-tip[hidden],.day-chart-tip [hidden]{display:none}
.day-chart-tip>strong{display:block;margin-bottom:8px;font-size:14px;font-variant-numeric:tabular-nums}
.day-chart-tip>span{display:flex;align-items:center;gap:7px;margin-top:5px;color:var(--muted)}
.day-chart-tip b{margin-left:auto;color:var(--ink);font-variant-numeric:tabular-nums}
.day-chart-tip i{width:7px;height:7px;flex:none;border-radius:2px}
.chart-key-post{background:var(--chart-post)}
.chart-key-clip{background:var(--chart-clip)}
.day-chart-tip>small{display:block;margin-top:8px;color:var(--muted);font-size:10px}
.chart-foot{font-size:10px;color:var(--muted);padding-top:14px;border-top:1px solid var(--line);margin-top:11px;display:flex;justify-content:space-between;gap:12px}
.tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.tip{background:var(--control);border:1px solid var(--line);border-radius:14px;padding:19px 20px}
.tip .eyebrow{font-size:9px;letter-spacing:1.2px;color:var(--green)}
.tip .tip-value{font-size:29px;letter-spacing:-1px;font-weight:700;margin:8px 0 5px}
.tip p{font-size:12px;color:var(--muted);max-width:310px}
.tip a{display:inline-block;font-size:11px;font-weight:650;margin-top:15px}
.leaders{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.leader{padding:11px;border:1px solid var(--line);border-radius:14px;background:var(--white);min-width:0}
.leader-picture{position:relative;height:118px;overflow:hidden;border-radius:9px;background:var(--control);margin-bottom:11px}
.leader-picture img{width:100%;height:100%;object-fit:contain}
.rank{position:absolute;left:7px;top:7px;width:22px;height:22px;background:var(--white);border-radius:6px;display:grid;place-items:center;font-size:11px;font-weight:700}
.leader h3{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:35px;margin-bottom:8px}
.leader strong{font-size:18px;letter-spacing:-.5px}
.leader small{font-size:10px;display:block;margin-top:2px}
.leader-speed{display:block;color:var(--green);font-size:11px;font-weight:650;margin:9px 0 4px}
.leader-note{font-size:11px;line-height:1.7;margin-top:14px;max-width:960px}
.leader:hover,.shop-card:hover{border-color:var(--line-strong);box-shadow:0 5px 16px #00000040}
.tabs{display:flex;padding:4px;background:var(--control);border-radius:10px;gap:2px;flex-shrink:0}
.tabs button{border:0;border-radius:7px;background:none;font-size:11px;font-weight:600;padding:8px 15px;color:var(--muted)}
.tabs button.active{background:var(--white);color:var(--green);box-shadow:0 1px 4px #00000030}
.switch{display:inline-flex;align-items:center;gap:8px;font-size:11px;cursor:pointer;color:var(--muted)}
.switch input{accent-color:var(--green);width:15px;height:15px}
.feed-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0}
.feed-tools .flex{flex-wrap:wrap}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.shop-card{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0;transition:border-color .2s,box-shadow .2s}
.today-product-card{position:relative;isolation:isolate}
.today-product-link{position:absolute;inset:0;z-index:2;border-radius:inherit}
.today-product-link:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.today-product-card [data-save]{z-index:3}
.today-product-card .author-line a,.today-vk-link{position:relative;z-index:3}
.cover{position:relative;height:195px;background:var(--control);display:block;width:100%;overflow:hidden}
.shop-card .cover>a{display:block;width:100%;height:100%}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.cover .badges{position:absolute;top:10px;left:10px;display:flex;gap:5px;pointer-events:none}
.cover .tag{background:#1a210ff0;backdrop-filter:blur(4px)}
.cover .tag.clip{background:#171a18f0}
.cover .save{position:absolute;right:9px;top:9px;border:0;background:#0d0f0ef0;width:29px;height:29px;display:grid;place-items:center;border-radius:8px;color:var(--muted)}
.save.saved{color:var(--green);background:var(--green)}
.save .icon{width:16px;height:16px}
.cover .placeholder{display:none;position:absolute;inset:0;place-items:center;color:var(--muted)}
.cover.no-photo .placeholder{display:grid}
.cover.no-photo img{display:none}
.cover.no-photo .placeholder .icon{width:34px;height:34px;stroke-width:1}
.card-body{padding:15px}
.card-category{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin-bottom:7px}
.card-body h3{height:40px;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.author-line{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin:9px 0 10px;min-width:0}
.author-line a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.author-line a:hover{color:var(--green)}
.card-rate{font-size:23px;letter-spacing:-.7px;font-weight:750;color:var(--green)}
.card-rate span{font-size:10px;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:4px}
.card-measured-at{display:block;color:var(--muted);font-size:10px;margin-top:7px}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:11px;padding-top:10px;font-size:10px;color:var(--muted)}
.price{font-size:11px;color:var(--green);font-weight:600}
.feed-subtitle{font-size:12px;color:var(--muted);margin:25px 0 13px}
.filters{display:flex;gap:9px;flex-wrap:wrap;padding:14px;background:var(--white);border:1px solid var(--line);border-radius:13px;margin-bottom:20px}
.input,select{border:1px solid var(--line-strong);border-radius:9px;background:var(--white);color:var(--ink);padding:11px 13px;width:100%;outline:none;min-height:42px}
.input::placeholder{color:#808680}
.input:focus,select:focus{border-color:var(--green)}
.filters .search{flex:1;min-width:190px;max-width:400px}
.filters select{width:auto;font-size:11px;max-width:210px}
.author-filter{position:relative;min-width:165px}
.author-filter input{font-size:11px}
.suggestions{position:absolute;z-index:10;left:0;right:0;top:47px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 25px #00000070;overflow:hidden}
.suggestions:empty{display:none}
.suggestions button{border:0;background:var(--white);width:100%;padding:10px 12px;font-size:11px;text-align:left}
.suggestions button:hover{background:var(--paper)}
.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:-7px 0 16px}
.active-filters .tag{font-size:11px}
.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:28px;font-size:12px;color:var(--muted)}
.empty{padding:50px 20px;text-align:center;border:1px dashed var(--line-strong);border-radius:15px;background:var(--control);color:var(--muted)}
.empty .icon{width:30px;height:30px;margin-bottom:12px}
.empty h3{color:var(--ink);margin-bottom:5px}
.empty p{max-width:460px;margin:0 auto 17px;font-size:12px}
.form-panel{max-width:760px}
.field{margin-bottom:23px}
.field label,.field legend{font-size:12px;font-weight:600;margin-bottom:8px;display:block}
.field small{display:block;font-size:11px;margin-top:7px}
.field .input{max-width:440px}
.niche-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.niche-chip{position:relative}
.niche-chip input{position:absolute;opacity:0;width:1px;height:1px}
.niche-chip span{display:block;border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:var(--white);font-size:12px;cursor:pointer;color:var(--muted)}
.niche-chip input:checked+span{background:var(--sage);border-color:var(--green);color:var(--green)}
.niche-chip input:focus-visible+span{outline:3px solid var(--green);outline-offset:2px}
fieldset{border:0;padding:0;margin:0}
.profile-meta{display:flex;gap:14px;align-items:center;margin-bottom:28px;padding-bottom:23px;border-bottom:1px solid var(--line)}
.profile-meta .avatar{width:50px;height:50px;font-size:17px}
.profile-meta p{font-size:12px}
.profile-meta small{font-size:11px}
.settings-status{margin:13px 0 21px;font-size:12px}
.error{color:var(--red);font-size:12px;line-height:1.5;margin-top:12px}
.success{color:var(--green);font-size:12px}
.loading{padding:60px;text-align:center;color:var(--muted);font-size:13px}
.skeleton{animation:pulse 1s infinite alternate;background:var(--surface-2);border-radius:13px;min-height:95px}
@keyframes pulse{to{opacity:.45}
}
#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120px);background:var(--green);color:var(--ink);padding:12px 20px;border-radius:12px;box-shadow:0 6px 20px #00000070;font-size:12px;z-index:100;transition:transform .2s;max-width:calc(100vw - 30px);text-align:center}
#toast.visible{transform:translateX(-50%) translateY(0)}
dialog{border:0;padding:0;border-radius:20px;width:min(870px,calc(100vw - 30px));max-height:90vh;color:var(--ink);box-shadow:0 20px 80px #000000b3}
dialog::backdrop{background:#000000b8;backdrop-filter:blur(3px)}
.detail-head{position:sticky;top:0;padding:19px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--white);z-index:2;border-bottom:1px solid var(--line)}
.close{background:var(--paper);border:0;border-radius:8px;width:30px;height:30px;flex-shrink:0}
.detail-content{padding:25px}
.detail-grid{display:grid;grid-template-columns:240px 1fr;gap:25px;margin-bottom:23px}
.detail-image{border-radius:12px;overflow:hidden;background:var(--paper);min-height:180px}
.detail-image img{width:100%;max-height:310px;object-fit:contain;display:block}
.detail-text{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#c8ccc8;margin:15px 0}
.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.detail-metrics div{padding:11px;background:var(--paper);border-radius:9px}
.detail-metrics strong{display:block;font-size:20px}
.detail-metrics small{font-size:10px}
.detail-list{display:grid;gap:7px;margin-top:13px}
.detail-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px;background:var(--paper);border-radius:9px;font-size:11px}
.detail-row a{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.detail-row strong{color:var(--green)}
.notice{background:var(--surface-2);border-radius:10px;padding:13px 15px;font-size:11px;color:var(--muted);margin-top:18px}
.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
.login-form-wrap{display:flex;flex-direction:column;padding:45px 9vw}
.login-form-wrap .brand{margin-bottom:70px}
.login-form{max-width:370px;width:100%;margin:auto}
.login-form h1{font-size:34px;margin-bottom:12px}
.login-form>p{color:var(--muted);font-size:13px;margin-bottom:32px}
.login-form label{font-size:12px;font-weight:600;display:block;margin-bottom:8px}
.login-form .btn.primary{width:100%;margin-top:15px}
.login-form small{display:block;font-size:11px;margin-top:13px;line-height:1.7;color:var(--muted)}
.login-form details{margin-top:32px;border-top:1px solid var(--line);padding-top:20px}
.login-form summary{color:var(--muted);font-size:11px;cursor:pointer}
.login-form details form{margin-top:15px}
.login-foot{margin-top:60px;font-size:10px;color:var(--muted)}
.login-art{background:var(--paper);color:var(--ink);padding:65px 6vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.login-art:before{content:'';width:700px;height:700px;border:1px solid #d5ff3514;border-radius:50%;position:absolute;top:-300px;right:-300px;box-shadow:0 0 0 80px #d5ff3506,0 0 0 160px #d5ff3504}
.login-art .eyebrow{color:var(--green);z-index:1}
.login-art h2{font-size:40px;line-height:1.15;letter-spacing:-1.5px;margin:18px 0 25px;z-index:1;max-width:450px}
.login-art p{font-size:13px;color:var(--muted);max-width:330px;z-index:1}
.radar-art{position:relative;width:250px;height:250px;margin:55px auto 15px;border:1px solid #d5ff3533;border-radius:50%;box-shadow:0 0 0 35px #d5ff350a,0 0 0 70px #d5ff3506}
.radar-art:before,.radar-art:after{content:'';position:absolute;border:1px solid #d5ff3533;border-radius:50%;inset:40px}
.radar-art:after{inset:80px}
.radar-art .beam{position:absolute;width:50%;height:50%;left:50%;top:0;border-left:1px solid #d5ff3580;background:conic-gradient(from 270deg at 0 100%,#d5ff3528,transparent 25%);border-top-right-radius:100%}
.radar-art i{position:absolute;width:11px;height:11px;border-radius:50%;background:var(--green);box-shadow:0 0 0 7px #d5ff351f}
.radar-art i:nth-of-type(1){top:55px;left:165px}
.radar-art i:nth-of-type(2){top:145px;left:60px;background:var(--green);box-shadow:0 0 0 7px #d5ff351f}
.radar-art i:nth-of-type(3){top:130px;left:195px;width:7px;height:7px}
.call-number{font-size:29px;letter-spacing:-.5px;display:block;padding:17px 0;font-weight:700;color:var(--green)}
.call-time{font-variant-numeric:tabular-nums}
.divider{border:0;border-top:1px solid var(--line);margin:22px 0}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--white)}
table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}
th{color:var(--muted);font-size:10px;font-weight:600;background:var(--control);padding:12px}
td{padding:12px;border-top:1px solid var(--line);min-width:85px}
td:first-child{min-width:260px;max-width:360px}
td a:hover{text-decoration:underline}
.table-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.table-cover{width:36px;height:36px;object-fit:cover;border-radius:6px;flex-shrink:0}
.mobile-brand{display:none}

@media(min-width:1600px){.cards{grid-template-columns:repeat(5,minmax(0,1fr))}
.cover{height:215px}
.leader-picture{height:145px}
}

@media(max-width:1200px){.sidebar{width:190px;padding:25px 13px}
.workspace{margin-left:190px}
main{padding:28px}
.topbar{padding:0 28px}
.stats{gap:10px}
.stat{padding:17px 15px}
.stat-value{font-size:29px}
.cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.leaders{gap:9px}
.leader h3{font-size:11px}
.leader strong{font-size:16px}
.overview-grid{grid-template-columns:1fr 1.1fr}
.panel{padding:18px}
.niche-row{font-size:11px}
.login-form-wrap{padding:40px 6vw}
}

@media(max-width:900px){.sidebar{width:76px;padding:23px 12px}
.sidebar .brand{margin:0 4px 34px}
.sidebar .brand>span:last-child,.nav a span,.side-note,.sidebar .sidebar-bottom>a span{display:none}
.nav a{padding:14px;justify-content:center}
.sidebar-bottom{justify-items:center}
.workspace{margin-left:76px}
.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.overview-grid{grid-template-columns:1fr}
.niche-list{grid-template-columns:1fr 1fr;column-gap:20px}
.niche-row:nth-last-child(2){border:0}
.tips{gap:10px}
.tip{padding:15px}
.leaders{grid-template-columns:repeat(5,170px);overflow-x:auto;padding-bottom:8px}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cover{height:165px}
.card-body{padding:12px}
.top-right>span{display:none}
.login-art h2{font-size:32px}
}

@media(max-width:650px){.sidebar{position:fixed;width:100%;height:62px;inset:auto 0 0;padding:6px 12px;flex-direction:row;align-items:center;border-right:0;border-top:1px solid var(--line)}
.sidebar .brand,.sidebar-bottom{display:none}
.nav{display:flex;width:100%;justify-content:space-around;gap:3px}
.nav a{padding:10px 13px;gap:0}
.nav .count{display:none}
.workspace{margin-left:0;padding-bottom:62px}
.topbar{height:60px;padding:0 18px}
.crumb{display:none}
.mobile-brand{display:flex}
.mobile-brand .logo-mark{width:29px;height:29px;border-radius:8px;font-size:19px}
.mobile-brand.brand{font-size:14px}
.mobile-brand.brand small{font-size:8px}
.top-right{gap:10px}
.top-right .tag{display:none}
main{padding:23px 16px 35px}
h1{font-size:29px}
.page-head{align-items:flex-start;margin-bottom:20px}
.page-head p{font-size:11px}
.page-head>.btn{font-size:10px;padding:8px 10px;min-height:35px}
.snapshot{padding:10px 12px;font-size:10px;align-items:flex-start}
.snapshot a{white-space:nowrap}
.stats{gap:9px;margin-bottom:20px}
.stat{padding:15px}
.stat-label{font-size:10px}
.stat-value{font-size:29px;margin:10px 0 5px}
.stat small{font-size:9px}
.overview-grid{gap:15px;margin-bottom:22px}
.niche-list{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
.niche-row{font-size:10px;gap:7px;padding:9px 0}
.niche-icon{width:23px;height:23px;font-size:11px}
.niche-row b{font-size:11px}
.delta{width:30px;font-size:9px}
.section-head h2{font-size:17px}
.section-head p{font-size:10px}
.tips{grid-template-columns:1fr;gap:9px}
.tip{position:relative;padding:15px 18px 15px 83px;min-height:100px}
.tip .tip-value{position:absolute;left:17px;top:25px;font-size:26px}
.tip .eyebrow{font-size:8px}
.tip p{font-size:11px}
.tip a{margin-top:8px;font-size:10px}
.leaders{grid-template-columns:repeat(5,150px)}
.leader-picture{height:110px}
.feed-tools{align-items:flex-start;gap:10px}
.tabs button{font-size:10px;padding:7px 12px}
.switch{font-size:10px}
.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.cover{height:165px}
.card-body{padding:11px}
.card-category{font-size:8px}
.card-body h3{font-size:12px;height:35px;line-height:1.45}
.card-rate{font-size:20px}
.card-rate span{font-size:8px}
.card-bottom{font-size:9px;gap:6px;flex-wrap:wrap}
.author-line{font-size:9px;margin:9px 0}
.cover .tag{font-size:8px;padding:4px 5px}
.cover .badges{left:7px;top:8px;gap:3px}
.cover .save{width:25px;height:25px;right:6px;top:7px}
.filters{padding:11px;gap:8px}
.filters .search{max-width:none;flex-basis:100%}
.filters select{flex:1;max-width:none;min-width:120px}
.author-filter{flex:1;min-width:130px}
.detail-head{padding:16px}
.detail-content{padding:17px}
.detail-grid{grid-template-columns:1fr;gap:17px}
.detail-image{min-height:100px;max-height:260px}
.detail-image img{height:250px;object-fit:contain}
.detail-row{grid-template-columns:1fr auto;gap:8px}
.detail-row .muted{display:none}
.detail-metrics{gap:7px}
.detail-metrics strong{font-size:18px}
.login-page{display:block}
.login-art{display:none}
.login-form-wrap{min-height:100vh;padding:30px 25px}
.login-form-wrap .brand{margin-bottom:55px}
.login-form{margin:auto}
.login-foot{margin-top:45px}
.page-head .flex{gap:6px}
.day-chart{height:155px}
.form-panel{padding:19px}
.niche-chips{gap:7px}
.niche-chip span{font-size:11px;padding:8px 9px}
}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}
}

.overview-grid>.panel,.niche-row,.niche-row .niche-name{min-width:0}

@media(max-width:900px){.niche-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:650px){.niche-list{grid-template-columns:minmax(0,1fr)}
.niche-row:nth-last-child(2){border-bottom:1px solid var(--line)}
}


/* Dark controls, readable headings and lime accents across every screen. */
body{-webkit-font-smoothing:antialiased}
h1,h2,.stat-value,.tip .tip-value,.detail-metrics strong,.call-number{font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}
h1{line-height:1.15}
h2{line-height:1.3}
.brand{font-family:var(--font-brand);font-weight:400;letter-spacing:-.02em;font-size:17px}
.brand small{font-family:var(--font-body);font-weight:600;letter-spacing:1.8px}
.logo-mark{font-family:var(--font-brand);font-weight:400;color:var(--on-green)}
.eyebrow{color:var(--green)}
.btn.primary,.nav a.active,.tabs button.active,.save.saved,#toast{color:var(--on-green);background:var(--green);border-color:var(--green)}
.btn.primary:hover,.tabs button.active:hover{background:var(--green-hover);border-color:var(--green-hover)}
.btn:disabled{cursor:default;opacity:.45}
.btn:not(.primary):not(.text):hover{background:var(--surface-2)}
.nav .count{color:var(--ink)}
.nav a.active .count{background:#00000018;color:var(--on-green)}
.tabs button.active{box-shadow:none}
.tag.clip,.tag.warm{border:1px solid var(--line-strong)}
.cover .tag.clip{color:var(--ink)}
.cover .save:hover{color:var(--green)}
.cover .save.saved:hover{color:var(--on-green)}
.niche-icon{background:var(--surface-2)}
.input,select{background:var(--control)}
.input:focus,select:focus{box-shadow:0 0 0 3px #d5ff3514}
select option{background:var(--control);color:var(--ink)}
.niche-chip input:checked+span{background:var(--sage);color:var(--green)}
.chart-panel .legend,.chart-panel .muted,.chart-panel .section-head p{color:var(--muted)}
.rank{background:var(--green);color:var(--on-green)}
.shop-card:hover,.leader:hover{border-color:#697b30;box-shadow:0 0 0 1px #d5ff3510}
.cover,.leader-picture{background:var(--control)}
dialog{background:var(--white);border:1px solid var(--line-strong)}
.detail-head h2{overflow-wrap:anywhere}
.close:hover{color:var(--green);background:var(--surface-2)}
.login-form h1,.login-art h2{font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}
.login-art{border-left:1px solid var(--line)}
.login-art h2{line-height:1.22}
.radar-art{border-color:#d5ff3533}
.detail-text{color:#c8ccc8}
.table-wrap td:has(.table-title){color:var(--ink)}
::selection{background:var(--green);color:var(--on-green)}
#toast{opacity:0;visibility:hidden;pointer-events:none}
#toast.visible{opacity:1;visibility:visible}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shop-controls{min-width:0;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:20px}
.shop-search{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.shop-search>.input{flex:1;min-width:0;background:var(--paper)}
.shop-day-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:11px;color:var(--ink)}
.shop-day-heading small{font-size:10px}
.shop-day-strip{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;padding:0 0 12px;margin-bottom:15px;max-width:100%}
.day-chip{flex:0 0 auto;display:grid;place-items:center;gap:4px;min-width:53px;padding:10px 9px;border:1px solid var(--line);border-radius:10px;background:var(--control);color:var(--ink);font-size:12px;font-weight:650}
.day-chip small{font-size:10px;font-weight:400;color:var(--muted)}
.day-chip.active{background:var(--green);border-color:var(--green);color:var(--on-green)}
.day-chip.active small{color:var(--on-green)}
.day-chip:hover:not(.active){border-color:var(--line-strong);background:var(--surface-2)}
.shop-quick-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.shop-quick-row .switch{margin-left:auto}
.filter-chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center;min-width:0}
.filter-chip{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:35px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:9px;background:var(--control);color:var(--muted);font-size:11px;font-weight:600;line-height:1.3}
.filter-chip:hover{color:var(--ink);border-color:#697b30}
.filter-chip.active{background:var(--sage);border-color:#697b30;color:var(--green)}
.shop-flags{margin-bottom:17px}
.shop-advanced{border-top:1px solid var(--line);padding-top:15px}
.shop-advanced>summary{display:flex;align-items:center;gap:8px;width:100%;list-style:none;cursor:pointer;font-size:12px;font-weight:650;min-height:26px}
.shop-advanced>summary::-webkit-details-marker{display:none}
.advanced-arrow{margin-left:auto;font-size:17px;color:var(--muted);transition:transform .2s}
.shop-advanced[open] .advanced-arrow{transform:rotate(180deg)}
.shop-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 14px;padding-top:20px}
.shop-filter-field{display:grid;align-content:start;gap:7px;min-width:0;font-size:11px}
.shop-filter-field>span{color:var(--muted);font-size:10px}
.shop-filter-field .input,.shop-filter-field select{font-size:12px;max-width:100%;min-width:0;background:var(--control)}
.shop-filter-field .suggestions{top:calc(100% + 6px);min-width:220px}
.shop-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:17px;margin-top:1px}
.shop-filter-actions>span{font-size:10px}
.shop-results-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:20px 0 17px;flex-wrap:wrap}
.shop-sort{display:flex;align-items:flex-end;gap:9px;min-width:0}
.shop-sort label{display:grid;gap:6px;color:var(--muted);font-size:10px;min-width:0}
.shop-sort select{width:auto;font-size:11px;max-width:230px;min-width:0;padding:9px 11px;min-height:38px}
.shop-result-count{font-size:11px;color:var(--muted);white-space:nowrap}
.shop-result-count strong{color:var(--ink);font-weight:650}
.shop-units-note{font-size:11px;margin:-4px 0 17px}
.shop-active{margin:0 0 15px}
.price del{font-size:9px;font-weight:400;color:var(--muted);margin-left:4px}
.price .discount{display:inline-block;border-radius:4px;background:var(--sage);color:var(--green);font-size:9px;margin-left:5px;padding:2px 4px}
.card-bottom .price{display:flex;align-items:center;flex-wrap:wrap;gap:2px}
@media(max-width:1200px){.shop-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-quick-row{gap:12px}}
@media(max-width:900px){.shop-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-quick-row .switch{margin-left:0}}
@media(max-width:650px){.shop-controls{padding:15px;margin-bottom:16px;border-radius:14px}.shop-search{gap:7px;flex-wrap:wrap;margin-bottom:19px}.shop-search>.input{flex-basis:100%}.shop-search .btn{min-height:37px;padding:9px 13px}.shop-day-heading{align-items:flex-start;flex-direction:column;gap:4px}.day-chip{min-width:49px;padding:9px 8px}.shop-day-strip{gap:6px;margin-bottom:13px}.shop-quick-row{gap:12px;margin-bottom:13px}.shop-quick-row .filter-chips{flex-basis:100%}.shop-quick-row .switch{margin-left:auto;order:0}.shop-quick-row .tabs{order:-2}.shop-quick-row>.filter-chips{order:1}.filter-chip{font-size:10px;min-height:34px;padding:8px 10px}.shop-filter-grid{gap:14px 10px;padding-top:17px}.shop-filter-field .input,.shop-filter-field select{font-size:11px;padding:10px 9px}.shop-filter-field:has(#author-search){grid-column:1/-1}.shop-filter-actions{align-items:flex-start;flex-direction:column;gap:9px}.shop-results-toolbar{gap:13px;align-items:stretch}.shop-sort{width:100%;align-items:flex-end}.shop-sort label:first-child{flex:1}.shop-sort select{width:100%;max-width:100%;font-size:10px}.shop-results-toolbar>.flex{width:100%;justify-content:space-between}.shop-result-count{font-size:10px}.shop-units-note{font-size:10px}.shop-controls .suggestions{min-width:0}.card-bottom .price{font-size:10px}.price del{font-size:8px}.price .discount{font-size:8px}}
@media(max-width:650px){.mobile-brand.brand{font-size:13px}.login-art{border:0}.page-head>div:first-child{min-width:0}.page-head h1{overflow-wrap:anywhere}}
.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product-controls .shop-search{margin-bottom:16px}
.product-presets{margin-bottom:15px}
.product-row{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);gap:18px;padding:18px;border:1px solid var(--line);border-radius:15px;background:var(--white);transition:border-color .18s}
.product-row:hover{border-color:var(--line-strong)}
.product-row{isolation:isolate}
.product-card-link{position:absolute;inset:0;z-index:2;border-radius:inherit}
.product-card-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.product-row>.product-save{z-index:3}
.product-page .page-head{align-items:flex-start}
.product-page .page-head h1{font-size:clamp(22px,2.5vw,34px);line-height:1.35;overflow-wrap:anywhere}
.product-page .page-head>div{min-width:0}
.product-page .page-head>.btn{flex-shrink:0}
.product-hero{padding:24px}
.product-hero .product-detail{grid-template-columns:minmax(200px,320px) minmax(0,1fr);margin-bottom:0}
.product-page .product-detail>div{min-width:0}
@media(max-width:760px){.product-hero{padding:18px}.product-hero .product-detail{grid-template-columns:1fr}.product-page .page-head{flex-direction:column;align-items:flex-start}}
.product-cover{border-radius:10px;align-self:start;height:170px;min-height:0}
.product-cover img{width:100%;height:100%;object-fit:cover}
.product-stock{position:absolute;bottom:7px;left:6px;right:6px;justify-content:center;background:#101211e8;color:var(--ink);font-size:9px;padding:5px}
.product-body{min-width:0}
.product-body .card-category{padding-right:30px}
.product-body h3{font-family:var(--font-body);font-size:13px;line-height:1.5;font-weight:600;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.product-sku{font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin:8px 0}
.product-price{font-size:14px;line-height:1.6;margin:7px 0}
.product-commerce{font-size:10px;color:var(--ink);min-height:29px;line-height:1.5}
.product-commerce span{color:var(--muted)}
.product-potential{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin:8px 0}
.product-potential strong{font-size:16px;font-family:var(--font-display);font-weight:400;color:var(--ink)}
.product-potential strong.up{color:var(--green)}
.product-potential small{font:9px var(--font-body);color:var(--muted)}
.potential-track{height:4px;border-radius:5px;background:var(--line);overflow:hidden;margin:8px 0 12px}
.potential-track i{display:block;height:100%;background:var(--green);border-radius:inherit}
.product-counts{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:10px;line-height:1.6;color:var(--muted)}
.product-counts b{color:var(--ink);font-weight:500}
.product-audience{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--muted);font-size:10px;line-height:1.5;margin-top:8px}
.product-audience span{display:flex;align-items:center;gap:4px}
.product-audience .icon{width:12px;height:12px}
.product-save{flex-shrink:0;border:1px solid var(--line);border-radius:8px;background:var(--control);color:var(--muted);width:30px;height:30px;display:grid;place-items:center}
.product-row>.product-save{position:absolute;right:10px;top:10px}
.product-save:hover{color:var(--green);border-color:var(--green)}
.product-save.saved{background:var(--green);color:var(--on-green);border-color:var(--green)}
.product-save .icon{width:16px;height:16px}
.favorite-switcher{margin:-10px 0 25px}
.favorite-switcher a{display:inline-flex;align-items:center}
.product-detail .detail-image{height:310px;min-height:0}
.product-detail .detail-image img{height:100%;width:100%;object-fit:contain;position:relative;z-index:1}
.product-detail .detail-image .placeholder{z-index:0}
.product-detail-price{font-size:22px;line-height:1.5;margin:14px 0 8px}
.product-detail>.detail-image+div>.muted{font-size:11px}
.product-score-block{padding:15px 0;font-size:11px;margin-top:8px}
.product-score-block>div:not(.potential-track){display:flex;align-items:baseline;gap:9px;margin-top:8px}
.product-score-block strong{font:36px var(--font-display);color:var(--green)}
.product-score-block small{color:var(--muted);font-size:10px;line-height:1.7;display:block}
.product-actions{display:flex;flex-wrap:wrap;gap:8px}
.product-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-detail-metrics strong{font-size:19px;overflow-wrap:anywhere}
.product-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.product-insights .tip{padding:16px}
.product-insights h4{font-size:13px;line-height:1.5;margin:9px 0}
.product-post-list{display:grid;gap:10px;margin:15px 0}
.product-post{display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:12px}
.product-post>.cover{width:72px;height:96px;min-height:0;border-radius:8px}
.product-post .cover img{width:100%;height:100%;object-fit:cover}
.product-post-title{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-post-author{display:block;color:var(--muted);font-size:11px;margin:6px 0}
.product-post small{display:block;font-size:10px;color:var(--muted)}
.product-post-numbers{display:flex;flex-wrap:wrap;gap:5px 15px;font-size:11px;margin:10px 0}
.product-post-numbers strong{color:var(--green);font-weight:500}
.product-post-numbers span{color:var(--muted)}
.product-post-heading{display:flex;align-items:flex-start;gap:8px}
.product-post-heading .product-post-title{flex:1;min-width:0}
@media(min-width:1700px){.product-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.product-row{grid-template-columns:106px minmax(0,1fr);gap:14px;padding:15px}.product-cover{height:150px}.product-price{font-size:13px}}
@media(max-width:900px){.product-list{grid-template-columns:1fr}.product-row{grid-template-columns:130px minmax(0,1fr)}.product-cover{height:170px}}
@media(max-width:600px){.product-row{grid-template-columns:90px minmax(0,1fr);padding:12px;gap:12px}.product-cover{height:130px}.product-body h3{font-size:12px}.product-price{font-size:13px}.product-stock{font-size:8px;padding:4px;left:3px;right:3px}.product-potential{align-items:flex-start;flex-direction:column;gap:4px}.product-potential strong{font-size:17px}.product-commerce{min-height:0}.product-detail-price{font-size:20px}.product-insights{grid-template-columns:1fr}.product-detail-metrics strong{font-size:17px}.product-detail .detail-image{height:250px}.product-post{gap:10px;padding:10px;grid-template-columns:62px minmax(0,1fr)}.product-post>.cover{width:62px;height:90px}.product-presets{gap:6px}.favorite-switcher{margin-top:0}.detail-head h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}}

/* Catalog filters and compact cards */
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.catalog-results{min-width:0;container-type:inline-size}
.catalog-filters{position:sticky;top:24px;max-height:calc(100dvh - 48px);min-height:0;display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.catalog-filter-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 18px 14px;flex-shrink:0}
.catalog-filter-head h2{font:600 15px var(--font-body);letter-spacing:0}
.catalog-filter-head .tag{font-size:10px}
.catalog-filter-body{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;padding:0 18px 20px;min-height:0}
.catalog-filter-form{display:grid;gap:20px}
.filter-group{min-width:0}
.filter-group legend{font-size:10px;color:var(--muted);margin-bottom:8px}
.catalog-filter-body>.filter-group{margin-bottom:20px}
.filter-options{display:flex;flex-wrap:wrap;gap:7px}
.filter-option{position:relative;cursor:pointer;max-width:100%;font-size:11px;font-weight:600}
.filter-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.filter-option span,.catalog-filters .filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 11px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);color:var(--muted);line-height:1.3;overflow-wrap:anywhere;font-size:11px}
.filter-option:hover span{border-color:var(--line-strong);color:var(--ink)}
.filter-option input:checked+span,.catalog-filters .filter-chip.active{background:var(--green);border-color:var(--green);color:var(--on-green)}
.filter-option input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}
.catalog-filters .tabs{display:flex;width:100%;padding:3px;border-radius:22px;background:var(--surface-2)}
.catalog-filters .tabs button{flex:1;min-width:0;border-radius:20px;padding:9px 6px;font-size:11px}
.filter-price-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.catalog-filters .input,.catalog-filters select{min-width:0;max-width:100%;font-size:11px;background:var(--surface-2)}
.catalog-extra-filters{display:grid;gap:16px;padding-top:17px}
.catalog-filters .author-filter{min-width:0}
.catalog-filters .suggestions{position:static;min-width:0;max-height:210px;overflow-y:auto;margin-top:3px;box-shadow:none}
.catalog-filters .suggestions button{font-size:10px}
.catalog-filter-actions{display:grid;gap:9px;position:sticky;bottom:-20px;margin:0 -18px -20px;padding:14px 18px 20px;background:var(--white);border-top:1px solid var(--line);z-index:2}
.catalog-filter-actions>.btn{width:100%;font-size:11px}
.catalog-filter-actions>small{font-size:9px;line-height:1.6}
.catalog-filter-open,.catalog-filter-close{display:none}
.catalog-results .shop-controls{padding:0;border:0;border-radius:0;background:transparent;margin-bottom:16px}
.catalog-results .shop-search{margin-bottom:18px;gap:8px}
.catalog-results .shop-search .btn{padding:10px 12px;font-size:11px}
.catalog-results .shop-day-strip{flex-wrap:wrap;overflow:visible;padding-bottom:0;margin-bottom:16px;gap:6px}
.catalog-results .day-chip{min-width:46px;padding:8px 7px;font-size:11px;border-radius:24px}
.catalog-results .day-chip small{font-size:9px}
.catalog-results .shop-quick-row{gap:10px;margin-bottom:12px}
.catalog-results .shop-quick-row .switch{margin-left:0}
.catalog-results .shop-flags{margin-bottom:0}
.catalog-results .filter-chip{border-radius:20px;font-size:10px;padding:8px 11px}
.catalog-results .shop-results-toolbar{margin-top:16px}
.catalog-results .product-list,.catalog-results .catalog-shop-list{grid-template-columns:minmax(0,1fr);gap:12px}
.catalog-results .product-row{grid-template-columns:92px minmax(0,1fr);gap:14px;padding:14px}
.catalog-results .product-cover{height:135px}
.catalog-results .product-body h3{min-height:0;font-size:12px;line-height:1.45;margin:6px 0;padding-right:18px}
.catalog-results .product-sku{font-size:9px;margin:5px 0}
.catalog-results .product-price{font-size:13px;margin:5px 0}
.catalog-results .product-commerce{min-height:0;font-size:9px}
.catalog-results .product-potential{font-size:9px;margin:6px 0}
.catalog-results .product-potential strong{font-size:15px}
.catalog-results .potential-track{height:3px;margin:6px 0 8px}
.catalog-results .product-counts,.catalog-results .product-audience{font-size:9px}
.catalog-results .catalog-shop-card{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:14px;align-items:start}
.catalog-shop-card{isolation:isolate}
.catalog-shop-link{position:absolute;inset:0;z-index:2;border-radius:inherit}
.catalog-shop-link:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.catalog-shop-card .author-line a,.catalog-shop-stats>a{position:relative;z-index:3}
.catalog-shop-card>.product-save{z-index:3}
.catalog-shop-card>.cover{height:135px;border-radius:10px;min-width:0}
.catalog-shop-card>.product-save{position:absolute;right:10px;top:10px}
.catalog-shop-card .card-body{padding:0;min-width:0}
.catalog-shop-card h3{font-family:var(--font-body);font-size:12px;font-weight:600;height:auto;line-height:1.5;padding-right:20px;min-height:0}
.catalog-shop-badges{display:flex;gap:5px;flex-wrap:wrap;padding-right:20px;margin-bottom:5px}
.catalog-shop-badges:empty{display:none}
.catalog-shop-badges .tag{font-size:8px;padding:3px 5px}
.catalog-shop-card .author-line{font-size:10px;margin:6px 0}
.catalog-shop-price{font-size:12px;margin:5px 0}
.catalog-shop-commerce{font-size:9px;color:var(--muted);margin:5px 0}
.catalog-shop-stats{display:flex;gap:5px 10px;flex-wrap:wrap;align-items:center;font-size:9px;color:var(--muted);margin-top:6px}
.catalog-shop-stats span{display:flex;align-items:center;gap:4px}
.catalog-shop-stats .icon{width:12px;height:12px}
.catalog-shop-stats strong{color:var(--green);font-weight:600}
.catalog-shop-stats>a{font-size:9px}
.catalog-filter-dialog{padding:0;position:fixed;inset:0 0 0 auto;margin:0;width:min(380px,calc(100vw - 14px));height:100dvh;max-height:100dvh;border-radius:18px 0 0 18px}
.catalog-filter-dialog[open]{display:flex}
.catalog-filter-dialog .catalog-filters{display:flex;position:static;max-height:none;width:100%;height:100%;border:0;border-radius:0}
.catalog-filter-dialog .catalog-filter-close{display:grid;place-items:center}
@container(min-width:660px){.catalog-results .product-list,.catalog-results .catalog-shop-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1800px){.catalog-layout{grid-template-columns:minmax(0,1fr) 310px;gap:28px}}
@media(max-width:1200px){.catalog-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}}
@media(max-width:1050px){.catalog-layout{grid-template-columns:minmax(0,1fr)}.catalog-layout>.catalog-filters{display:none}.catalog-filter-open{display:inline-flex}.catalog-results .shop-quick-row>.catalog-filter-open{margin-left:auto}.catalog-results .shop-day-strip{flex-wrap:nowrap;overflow-x:auto;padding-bottom:10px}}
@media(max-width:650px){.catalog-results .shop-search>.input{flex-basis:100%}.catalog-results .shop-day-heading{gap:4px}.catalog-results .product-row,.catalog-results .catalog-shop-card{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px}.catalog-results .product-cover,.catalog-shop-card>.cover{height:125px}.catalog-results .product-potential{flex-direction:row;align-items:center}.catalog-results .shop-quick-row>.filter-chips{flex-basis:auto;order:0}.catalog-results .shop-quick-row>.catalog-filter-open{margin-left:0}.catalog-filter-dialog .catalog-filter-head{padding-top:20px}.catalog-filter-actions{padding-bottom:max(20px,env(safe-area-inset-bottom))}}

/* Personal profile and subscriptions */
.profile-grid [hidden]{display:none!important}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;max-width:1280px}
.profile-column{display:flex;flex-direction:column;gap:20px;min-width:0}
.author-reminder{border-color:var(--line-strong)}
.author-reminder .eyebrow{display:block;margin-bottom:8px;color:var(--green)}
.author-reminder-schedule{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0;color:var(--muted);font-size:11px;line-height:1.6}
.author-reminder-clock{padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.author-reminder-clock strong{display:block;color:var(--green);font:clamp(23px,3vw,30px) var(--font-display);font-variant-numeric:tabular-nums;line-height:1.4}
.author-reminder-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.author-reminder-actions .btn{font-size:11px;white-space:normal;text-align:center}
.author-reminder.is-due{border-color:var(--green);background:var(--sage)}
@media(max-width:650px){.author-reminder-actions .btn{width:100%}}
.profile-card{padding:26px;min-width:0}
.profile-card .section-head{gap:12px;align-items:start;margin-bottom:16px}
.profile-card .section-head h2{font-size:19px}
.profile-card .section-head p,.profile-card>p{font-size:12px;line-height:1.7;color:var(--muted)}
.profile-card .section-head>.icon{color:var(--green);width:23px;height:23px;flex-shrink:0}
.profile-card .profile-meta{margin-bottom:20px;padding-bottom:20px;gap:12px}
.profile-meta>div{min-width:0;flex:1}
.profile-meta h2{font-size:18px;overflow-wrap:anywhere}
.profile-meta>.tag{flex-shrink:0;font-size:10px}
.profile-label{display:block;font-size:12px;margin-bottom:8px;color:var(--muted)}
.profile-name-row{display:flex;gap:10px;align-items:center}
.profile-name-row .input{flex:1;min-width:0}
.profile-name-row .btn{flex-shrink:0;padding-left:14px;padding-right:14px}
.profile-save-state{color:var(--muted);font-size:11px;min-height:18px;margin-top:12px}
.profile-access .eyebrow{display:block;margin-bottom:7px}
.profile-access h2{font-size:24px}
.profile-capabilities{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:16px;font-size:11px;color:var(--muted)}
.profile-capabilities span{display:flex;gap:5px;align-items:center}
.profile-capabilities .icon{width:14px;height:14px;color:var(--green)}
.profile-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-saved{display:flex;flex-direction:column;padding:20px;gap:9px}
.profile-saved>span{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}
.profile-saved .icon{color:var(--green);width:16px;height:16px;flex-shrink:0}
.profile-saved strong{font:28px var(--font-display)}
.profile-saved small{font-size:10px;color:var(--green)}
.profile-saved:hover{border-color:var(--line-strong)}
.profile-caption{color:var(--muted);font-size:11px;line-height:1.7;margin-top:13px;overflow-wrap:anywhere}
.profile-notification-status{display:flex;gap:9px;align-items:baseline;border:1px solid var(--line);padding:12px 14px;background:var(--control);border-radius:12px;font-size:11px;line-height:1.6;margin:4px 0 13px}
.profile-notification-status .dot{flex-shrink:0}
.profile-telegram-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
#telegram-link-result{width:100%;min-width:0}
#telegram-link-result:empty{display:none}
.profile-setting{display:flex;gap:18px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}
.profile-setting>div{flex:1;min-width:0}
.profile-setting>div>label{font-weight:600;font-size:13px;cursor:pointer}
.profile-setting p{color:var(--muted);font-size:11px;margin-top:4px;line-height:1.6}
.toggle{display:block;position:relative;width:42px;height:24px;flex:0 0 42px}
.toggle input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;margin:0}
.toggle>span{display:block;height:24px;background:var(--line-strong);border-radius:16px;transition:background .15s}
.toggle>span:after{content:'';position:absolute;width:18px;height:18px;top:3px;left:3px;border-radius:50%;background:var(--muted);transition:transform .15s,background .15s}
.toggle input:checked+span{background:var(--green)}
.toggle input:checked+span:after{transform:translateX(18px);background:var(--on-green)}
.toggle input:focus-visible+span{outline:2px solid var(--green);outline-offset:4px}
.toggle input:disabled+span{opacity:.5}
.profile-hours{padding:18px 0;border-bottom:1px solid var(--line)}
.profile-hours legend{float:left;width:100%;font-size:11px;color:var(--muted);margin-bottom:12px}
.profile-hours .filter-chips{clear:both;gap:6px}
.profile-hours .filter-chip{min-width:58px;padding:7px 9px;font-size:11px;justify-content:center}
.profile-niche-actions{display:flex;gap:6px;margin-bottom:6px}
.profile-niche-actions .btn{padding:6px 0;margin-right:14px;font-size:11px;color:var(--green)}
.profile-niche-explainer{padding-top:21px;margin-top:23px;border-top:1px solid var(--line);font-size:12px}
.profile-niche-explainer strong{font-weight:600}
.profile-niche-explainer p{color:var(--muted);font-size:11px;line-height:1.7;margin-top:7px}
.profile-feed-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.profile-feed-links .icon{width:14px;height:14px}
.profile-help{padding:14px 0;border-bottom:1px solid var(--line)}
.profile-help:first-of-type{padding-top:0}
.profile-help summary{cursor:pointer;font-size:12px;font-weight:500;line-height:1.6}
.profile-help p{font-size:11px;line-height:1.8;color:var(--muted);padding-top:10px}
#profile-methods{margin-top:18px}
.profile-option{display:flex;align-items:center;gap:14px;padding:20px 24px}
.profile-option>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.profile-option strong{font-size:12px;font-weight:600}
.profile-option small{font-size:11px;color:var(--muted)}
.profile-option>.icon{color:var(--muted);flex-shrink:0}
.profile-option:hover>.icon{color:var(--green)}
.profile-logout{justify-content:center;border-color:var(--line);width:100%;background:var(--white)}
.profile-footer{color:var(--muted);font-size:10px;line-height:1.8;text-align:center}
.profile-confirm-actions{margin-top:22px;flex-wrap:wrap}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.settings-grid .author-reminder{grid-column:1/-1}
.settings-grid .profile-card>h2{margin-bottom:10px}
.settings-grid #registration-settings,.settings-grid #admin-accounts{grid-column:1/-1}
#registration-form{max-width:660px}
.admin-accounts-list{max-height:480px;overflow:auto;margin-top:18px}
.admin-accounts-table{width:100%;min-width:1140px;table-layout:fixed;border-collapse:collapse;font-size:12px}
#admin-accounts .admin-accounts-table{min-width:1260px}
.admin-accounts-table th,.admin-accounts-table td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}
.admin-accounts-table td{min-width:0;max-width:none}
.admin-accounts-table th{position:sticky;top:0;background:var(--white);color:var(--muted);font-weight:500}
.admin-accounts-table th:nth-last-child(2),.admin-accounts-table td:nth-last-child(2){width:172px}
#admin-accounts .admin-accounts-table th:nth-child(6),#admin-accounts .admin-accounts-table td:nth-child(6){width:172px}
#admin-accounts .admin-accounts-table th:nth-child(7),#admin-accounts .admin-accounts-table td:nth-child(7){width:112px}
.admin-accounts-table th:last-child,.admin-accounts-table td:last-child{width:128px}
.account-studio-controls{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.account-studio-controls .btn{padding:8px 12px}
.admin-accounts-table .account-phone{white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-accounts-table td>small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:6px}
.admin-accounts-table td>.tag{display:table;margin-top:6px}
.account-access-form{position:relative;display:flex;flex-wrap:wrap;gap:8px}
.account-access-form .input{max-width:72px;padding:8px 10px}
.account-access-form .btn{padding:8px 10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.access-expired-page{min-height:100vh;display:grid;place-items:center;padding:24px}
.access-expired-card{max-width:600px;padding:32px}
.access-expired-card .brand{margin-bottom:28px}
.access-expired-card h1{font-size:30px;margin-bottom:20px}
.access-expired-card p{color:var(--muted);line-height:1.7;margin-bottom:16px}
.access-expired-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.admin-accounts-table tbody tr:last-child td{border-bottom:0}
#admin-accounts-refresh{margin-top:18px}
.admin-account-add{display:grid;grid-template-columns:minmax(180px,360px) 140px auto;align-items:end;gap:12px 16px;margin:20px 0 24px;padding:20px;border:1px solid var(--line);border-radius:16px}
.admin-account-add .field{margin:0;min-width:0}.admin-account-add .input{width:100%}
.admin-account-add>.btn{justify-self:start}.admin-account-add>.profile-caption,.admin-account-add>.profile-save-state{grid-column:1/-1;margin:0}
.account-days-left strong{color:var(--green);font-variant-numeric:tabular-nums}
@media(max-width:700px){.admin-account-add{grid-template-columns:minmax(0,1fr);padding:16px}.admin-account-add>.btn{width:100%;justify-self:stretch}}
.inline-link{color:var(--green);text-decoration:underline;text-underline-offset:3px}
@media(max-width:1150px){.profile-grid,.settings-grid{grid-template-columns:minmax(0,1fr)}.profile-grid{max-width:800px}}
@media(max-width:650px){.profile-grid,.settings-grid{gap:18px}.profile-card{padding:20px}.profile-column{gap:16px}.profile-card .section-head h2{font-size:17px}.profile-meta h2{font-size:16px}.profile-meta>.tag{display:none}.profile-name-row{flex-wrap:wrap}.profile-name-row .input{flex-basis:100%}.profile-name-row .btn{width:100%;justify-content:center}.profile-saved-grid{gap:10px}.profile-saved{padding:16px 13px}.profile-saved>span{font-size:10px;align-items:start}.profile-saved strong{font-size:24px}.profile-saved small{font-size:9px}.profile-access .section-head h2{font-size:21px}.profile-hours .filter-chip{min-width:52px;font-size:10px}.profile-card .niche-chips{gap:7px}.profile-card .niche-chip span{font-size:11px}.profile-feed-links{gap:7px}.profile-feed-links .btn{font-size:10px;padding:8px 10px}.profile-telegram-actions .btn{white-space:normal;text-align:center}}

/* Owner-only live collector diagnostics. */
.collection-health{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid var(--line);background:var(--white);border-radius:16px;padding:16px 20px;margin-bottom:22px;font-size:12px}
.collection-health>span:last-child{margin-left:auto;color:var(--muted);font-size:10px}
.collection-health.attention{border-color:#b58a36}.collection-health.attention .dot{background:#e8bb62}
.collection-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.collection-progress{padding:20px}.collection-progress>small,.collection-progress p{color:var(--muted);font-size:10px}.collection-progress>strong{display:block;font-size:25px;margin:13px 0;font-weight:700}.collection-progress>strong span{font-size:12px;color:var(--muted);white-space:nowrap}.collection-progress p{margin-top:10px;line-height:1.5}
.collection-track{height:5px;border-radius:8px;background:#242b22;overflow:hidden}.collection-track i{display:block;background:var(--green);height:100%;transition:width .4s}
.collection-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.collection-numbers>div{padding:18px;border:1px solid var(--line);border-radius:15px}.collection-numbers strong{display:block;font-size:25px}.collection-numbers small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.collection-detail{padding:24px;margin-bottom:22px}.collection-detail h2{font-size:17px;margin-bottom:16px}.collection-detail p{font-size:12px;color:var(--muted);line-height:1.7;margin:12px 0}.collection-detail .notice{margin:16px 0;font-size:12px;line-height:1.7}.collection-warning{border-color:#695127!important;color:#e8cb92!important}
.collection-system{display:grid;grid-template-columns:1fr 1.3fr;gap:20px}.collection-detail dl>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:10px 0;border-bottom:1px solid var(--line)}.collection-detail dt{color:var(--muted)}.collection-detail dd{text-align:right}
.collection-resources{min-width:0}.collection-resources h3{font-size:13px;margin:0 0 14px}.collection-resources>.section-head{align-items:baseline;gap:14px;flex-wrap:wrap}.collection-resources>.section-head small{font-size:11px;color:var(--muted)}.collection-resources>.section-head h2{margin-bottom:0}.resource-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 28px}.resource-summary>section{padding:18px;border:1px solid var(--line);border-radius:16px;min-width:0}.resource-summary dd{font-variant-numeric:tabular-nums;font-weight:600}.resource-summary p{margin-bottom:0}.resource-table{width:100%;min-width:800px}.resource-table th,.resource-table td{font-variant-numeric:tabular-nums;white-space:nowrap}.resource-table tbody th{font-size:12px;font-weight:500;white-space:normal;min-width:250px;text-align:left}.resource-table small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.resource-shared{border-top:2px solid var(--line);background:#ffffff03}.resource-worker-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.collection-resources>h3{margin-top:24px}.collection-resources .collection-table-wrap{max-width:100%}
.resource-summary dd{white-space:nowrap}
@media(max-width:1000px){.resource-summary{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.resource-summary{gap:12px;margin:18px 0}.resource-summary>section{padding:14px}.resource-worker-settings{grid-template-columns:minmax(0,1fr)}.resource-worker-settings dt{max-width:62%}.collection-resources .section-head{display:block}.collection-resources .section-head small{display:block;margin-top:10px}.resource-summary dl>div{font-size:12px}}
.collection-table-wrap{overflow-x:auto}.collection-table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.collection-table th{font-size:10px;color:var(--muted);font-weight:500}.collection-table td,.collection-table th{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}.collection-table td:first-child,.collection-table th:first-child{padding-left:0}.collection-table .btn{font-size:10px;white-space:normal}
.collection-activity .section-head{align-items:flex-start;flex-wrap:wrap;gap:8px}.collection-activity h2{margin-bottom:0}.collection-window{font-size:10px;color:var(--muted);line-height:1.5}.collection-activity-table{min-width:900px;margin-top:12px}.collection-activity-table td:first-child{width:26%;min-width:220px}.collection-activity-table td>strong{font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}.collection-activity-table td:first-child>strong{font-size:12px;white-space:normal}.collection-activity-table small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:5px}.collection-activity-table .collection-rate>strong{color:var(--green)}.collection-inventory p b{color:var(--ink);font-weight:600}.collection-api-details summary{cursor:pointer;font-size:12px;color:var(--muted);padding:8px 0}.collection-api-details[open] summary{margin-bottom:10px}
.collection-pagination{display:flex;justify-content:space-between;margin-top:18px}.collection-detail>.filter-chips{margin-bottom:16px}
.collection-activity-table{min-width:1600px}
.collection-activity-table td:first-child{width:21%;min-width:250px}
.collection-activity-table .collection-cadence{min-width:78px}
.collection-activity-table .collection-plan{min-width:115px}
.collection-activity-table .collection-plan>strong,.collection-hourly-plan strong{color:var(--green)}
.capacity-history{margin:20px 0 28px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#0d100e;min-width:0}
.capacity-history h3{font-size:16px;margin:0 0 6px}.capacity-history small{color:var(--muted);font-size:11px;line-height:1.6}.capacity-history .section-head{align-items:flex-start;gap:12px}.history-periods{display:flex;gap:4px;flex-shrink:0}.history-periods button{border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--muted);padding:7px 12px;cursor:pointer;white-space:nowrap}.history-periods button.active{background:var(--green);border-color:var(--green);color:#111}.history-periods button:focus-visible,.history-slider-label input:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.capacity-history-plot{display:block;width:100%;height:auto;min-height:130px;cursor:crosshair}.capacity-history-plot text{fill:var(--muted);font-size:11px}.history-grid{stroke:var(--line);stroke-dasharray:3 5}.history-plan{stroke:#737f3b;stroke-dasharray:6 4}.history-capacity-line{fill:none;stroke:var(--green);stroke-width:2.5;stroke-linejoin:round}.history-io-line{fill:none;stroke:#edb66e;stroke-width:2;stroke-linejoin:round}.history-selection{stroke:#e1e9e3;stroke-dasharray:3 4;opacity:.6}.history-selected-dot{fill:var(--green)}
.history-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin:8px 0 12px;font-size:11px;color:var(--muted)}.history-legend span{display:flex;align-items:center;gap:6px}.history-legend i{display:inline-block;width:15px;height:3px}.legend-capacity{background:var(--green)}.legend-io{background:#edb66e}.history-slider-label{display:block;font-size:11px;color:var(--muted)}.history-slider-label input{display:block;width:100%;accent-color:var(--green);margin:8px 0 18px;cursor:pointer}
.capacity-history-point{padding:15px;border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.capacity-history-point>strong{font-size:13px;line-height:1.7}.history-point-facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin:10px 0;font-size:12px;color:var(--muted)}.history-point-facts b{color:var(--ink);margin-left:5px}.capacity-history-point p,.history-explanation{font-size:12px;line-height:1.8;color:var(--muted)}.history-point-warning{color:#edc879!important}.history-service-list{margin-top:12px;font-size:11px}.history-service-list>strong{display:block;color:var(--muted);margin-bottom:7px}.history-service-list>div{display:flex;justify-content:space-between;gap:12px;margin:6px 0;color:var(--muted)}.history-service-list>div span:first-child{color:var(--ink)}.history-service-list>div span:last-child{text-align:right}.history-health{display:block}.capacity-history-events{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.capacity-history-events summary{font-size:12px;cursor:pointer}.capacity-history-events>div{max-height:430px;overflow:auto;margin-top:12px}.history-event{display:grid;grid-template-columns:105px minmax(0,1fr) auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.history-event time{color:var(--muted);font-variant-numeric:tabular-nums}.history-event strong{font-weight:500}.history-event small{display:block;margin-top:3px;overflow-wrap:anywhere}.history-event-kind{font-size:10px;color:var(--muted)}.history-event.is-error strong{color:#ff9d94}.history-event.is-warning strong{color:#edc879}
@media(max-width:650px){.capacity-history{padding:16px;border-radius:16px}.capacity-history>.section-head{display:block}.history-periods{margin-top:12px}.history-service-list>div{display:block}.history-service-list>div span{display:block;text-align:left!important}.history-event{grid-template-columns:80px minmax(0,1fr);gap:8px}.history-event-kind{display:none}.history-point-facts{display:grid;grid-template-columns:minmax(0,1fr)}.capacity-history-plot{min-height:100px}}
.collection-capacity{margin:20px 0;padding:22px;border:1px solid var(--line);border-radius:20px;background:#0b110b}
.collection-capacity-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.collection-capacity h3{font-size:15px;margin:0 0 10px}.collection-capacity-percent{display:block;font-size:44px;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--green)}
.collection-capacity.is-shortfall,.collection-capacity.is-backlog{border-color:#695127}.collection-capacity.is-shortfall .collection-capacity-percent{color:#e8cb92}.collection-capacity.is-unknown .collection-capacity-percent{color:var(--muted)}
.collection-capacity small{font-size:11px;color:var(--muted);line-height:1.6}.collection-capacity p{margin:10px 0}
.collection-capacity-facts{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px}.collection-capacity-facts>div>strong{display:block;font-size:26px;margin:8px 0;font-variant-numeric:tabular-nums}.collection-capacity-facts span{display:block;font-size:11px;color:var(--muted);line-height:1.8}.collection-capacity-facts b{color:var(--ink)}
.collection-capacity-details{margin-top:14px}.collection-capacity-details summary{cursor:pointer;font-size:12px;color:var(--ink)}.collection-capacity-table{min-width:760px}.collection-capacity-table small{display:block}.collection-capacity-worker{background:#ffffff03}.collection-capacity-note{color:#e8cb92!important}
@media(max-width:900px){.collection-capacity-summary{grid-template-columns:minmax(0,1fr);gap:18px}}
@media(max-width:650px){.collection-capacity{padding:16px;border-radius:16px}.collection-capacity-percent{font-size:38px}.collection-capacity-facts{grid-template-columns:minmax(0,1fr);gap:12px}}
#author-search-form{max-width:800px;margin:18px 0 24px}#author-search-form .field{display:grid;gap:9px;margin-bottom:14px}#author-search-form .input{max-width:100%;resize:vertical;line-height:1.6;font:inherit}#author-search-form small{color:var(--muted);line-height:1.6;font-size:11px}#author-search-current{overflow-wrap:anywhere}
.collection-image-states{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.collection-image-states article{border:1px solid var(--line);border-radius:14px;padding:16px}.collection-image-states strong{display:block;font-size:23px;font-variant-numeric:tabular-nums}.collection-image-states article:first-child strong{color:var(--green)}.collection-image-states small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:8px}.collection-image-table{min-width:800px}.collection-images h3{font-size:14px;margin-top:24px}
@media(max-width:1000px){.collection-image-states{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.collection-image-states{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-image-states strong{font-size:20px}}
@media(max-width:1200px){.collection-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-system{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.collection-progress-grid,.collection-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-progress,.collection-detail{padding:16px}.collection-progress>strong{font-size:20px}.collection-health>span:last-child{margin-left:0}.collection-numbers strong{font-size:21px}}
/* Owner's creative workspace */
.creative-model-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 24px;padding:14px 18px;background:var(--panel,#101411);border:1px solid var(--line,#303830);border-radius:16px;color:var(--muted,#a0aaa1);font-size:14px}
.creative-model-bar strong{color:var(--text,#fff)}.creative-model-bar small{margin-left:auto}
.creative-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:24px;align-items:start}
.creative-input-panel,.creative-output-panel{min-width:0;border:1px solid var(--line,#303830);background:var(--panel,#101411);border-radius:24px;padding:24px}
.creative-input-panel h2{font-size:22px;margin:0 0 20px}.creative-field{display:grid;gap:8px;font-size:14px;color:var(--muted,#a0aaa1);margin:18px 0}.creative-field .input,.creative-field select{width:100%;min-width:0}.creative-field textarea{resize:vertical;line-height:1.6;font-family:inherit}
.creative-upload{position:relative;display:flex;min-height:185px;align-items:center;justify-content:center;background:#060906;border:1px dashed var(--line,#394139);border-radius:16px;cursor:pointer;overflow:hidden}
.creative-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:2}.creative-upload:focus-within{outline:2px solid var(--accent,#ceff2e);outline-offset:4px}.creative-upload-placeholder{display:grid;justify-items:center;gap:10px;padding:22px;text-align:center}.creative-upload-placeholder .icon{width:32px;height:32px;color:var(--accent,#ceff2e)}.creative-upload-placeholder small{color:var(--muted,#a0aaa1)}.creative-upload.has-photo .creative-upload-placeholder{display:none}.creative-upload img{width:100%;max-height:280px;object-fit:contain}
.creative-submit{width:100%;white-space:normal}.creative-hint{font-size:12px;line-height:1.65;color:var(--muted,#a0aaa1);margin:14px 0 0}.creative-error{color:#ffaba2;line-height:1.6;white-space:pre-wrap}.creative-history{display:flex;gap:12px;margin-bottom:24px}.creative-history select{min-width:0;flex:1;width:100%}.creative-welcome{min-height:470px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 10px}.creative-spark{font-size:48px;color:var(--accent,#ceff2e)}.creative-welcome h2{font-size:28px;max-width:440px;line-height:1.3}.creative-welcome p{max-width:460px;color:var(--muted,#a0aaa1);line-height:1.8}.creative-steps{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;color:var(--muted,#a0aaa1);font-size:12px;margin-top:30px}.creative-job-head{display:flex;align-items:start;gap:12px;justify-content:space-between}.creative-job-head h2{font-size:24px;line-height:1.3;overflow-wrap:anywhere;margin:14px 0 8px}.creative-progress{padding:16px;border:1px solid var(--line,#303830);border-radius:12px;margin:24px 0;color:var(--muted,#a0aaa1);line-height:1.6}.creative-summary{line-height:1.8;color:var(--muted,#a0aaa1);margin:24px 0}.creative-variants{display:grid;gap:16px}.creative-variant{border:1px solid var(--line,#303830);border-radius:16px;padding:22px;min-width:0}.creative-variant-title{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between}.creative-variant-title .eyebrow{letter-spacing:.06em;line-height:1.7;font-size:11px}.creative-variant h3{font-size:20px;line-height:1.4;margin:16px 0}.creative-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:15px}.creative-variant-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.creative-variant details,.creative-references{font-size:13px;line-height:1.8;color:var(--muted,#a0aaa1)}.creative-variant details summary,.creative-references summary{cursor:pointer}.creative-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.creative-photos figure{margin:0;min-width:0}.creative-photos figcaption{font-size:13px;color:var(--muted,#a0aaa1);margin-bottom:12px}.creative-photos img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:14px;background:#050705}.creative-photos figure .btn{margin-top:12px}.creative-photo-pending{border:1px dashed var(--line,#303830);border-radius:16px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px;font-size:13px;color:var(--muted,#a0aaa1)}.creative-references{border-top:1px solid var(--line,#303830);padding-top:20px;margin-top:24px}.creative-references>div{display:grid;gap:12px}.creative-references a{display:flex;gap:14px;align-items:center;color:inherit}.creative-references img{width:56px;height:64px;object-fit:cover;border-radius:8px}.creative-references small{display:block}.creative-references span{min-width:0;overflow-wrap:anywhere}
.creative-photo-clear{position:absolute;right:10px;bottom:10px;z-index:3}
.creative-source-photos{max-width:570px}
.creative-source-photos img{max-height:230px}
.creative-variant-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,280px);gap:22px;align-items:start;margin-top:18px}
.creative-variant-content>div{min-width:0}
.creative-variant-photo{margin:0;min-width:0}
.creative-variant-photo figcaption{font-size:12px;color:var(--muted);margin-bottom:10px}
.creative-variant-photo img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#050705;border-radius:12px}
.creative-variant-photo .btn{margin-top:12px}
.creative-variant-content .creative-photo-pending{min-height:230px;gap:8px}
.creative-variant-content .creative-photo-pending p{line-height:1.65}
.creative-retry-images{margin-top:22px}
@media(max-width:1200px){.creative-variant-content{grid-template-columns:minmax(0,1fr)}.creative-variant-photo{max-width:440px;width:100%}}
.creative-upload [hidden]{display:none!important}
.creative-photo-hint{grid-column:1/-1}
.creative-progress-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.creative-progress-status{display:flex;align-items:baseline;gap:8px;min-width:0;color:var(--ink);font-size:14px;font-weight:600;overflow-wrap:anywhere}
.creative-progress-status .dot{flex:none}
.creative-progress.has-errors .dot{background:#e4a477}
.creative-progress.is-cancelled .dot{background:var(--muted)}
.creative-progress-time{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.creative-progress-time b{font-weight:500}
.creative-progress-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:17px 0 11px}
.creative-progress-segment{height:6px;border-radius:8px;background:var(--line);overflow:hidden;position:relative}
.creative-progress-segment.is-ready{background:var(--accent)}
.creative-progress-segment.is-active{background:rgba(206,255,46,.17)}
.creative-progress-segment.is-active:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:creative-progress-pulse 1.8s ease-in-out infinite}
.creative-progress-segment.is-failed{background:#a86459}
.creative-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;margin:0;list-style:none;font-size:11px}
.creative-progress-steps li{display:flex;gap:6px;align-items:center;min-width:0}
.creative-progress-steps li>span:first-child{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;flex:none;font-size:10px}
.creative-progress-steps .is-ready,.creative-progress-steps .is-active{color:var(--accent)}
.creative-progress-steps .is-ready>span:first-child,.creative-progress-steps .is-active>span:first-child{border-color:rgba(206,255,46,.4)}
.creative-progress-steps .is-failed{color:#ffaba2}
.creative-progress-bottom{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:7px 14px;margin-top:17px;font-size:12px}
.creative-progress-bottom b{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.creative-progress-sync{font-size:11px}
.creative-progress-sync.is-delayed{color:#e4bc77}
@keyframes creative-progress-pulse{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.creative-progress-segment.is-active:after{animation:none;transform:none;background:var(--accent);opacity:.55}}
@media(max-width:500px){.creative-progress{padding:14px}.creative-progress-top{gap:6px}.creative-progress-status{font-size:13px}.creative-progress-steps{font-size:10px}.creative-progress-steps li{gap:4px}.creative-progress-bottom{font-size:11px}}
@media(min-width:501px) and (max-width:900px){.creative-input-panel .creative-photo-hint{grid-column:2;grid-row:4;margin-top:0}.creative-field:has(#creative-title){grid-column:2;grid-row:2}.creative-field:has(#creative-niche){grid-column:2;grid-row:3}}
@media(max-width:1100px){.creative-layout{grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:16px}.creative-input-panel,.creative-output-panel{padding:18px}.creative-variant{padding:16px}}
@media(max-width:900px){.creative-layout{grid-template-columns:1fr}.creative-input-panel form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.creative-input-panel h2,.creative-field:has(textarea),.creative-submit,.creative-hint,.creative-error{grid-column:1/-1}.creative-upload{grid-row:2/5}.creative-model-bar small{margin-left:0}.creative-output-panel{border-radius:20px}.creative-welcome{min-height:300px}}
@media(max-width:500px){.creative-input-panel form{display:block}.creative-job-head{flex-wrap:wrap}.creative-photos{grid-template-columns:1fr}.creative-history{flex-wrap:wrap}.creative-history select{flex-basis:100%}.creative-welcome h2{font-size:23px}.creative-variant-actions .btn{width:100%}.creative-model-bar{font-size:12px}.creative-input-panel,.creative-output-panel{padding:16px}}

/* Study results beside the creative workspace. */
.creative-analysis{margin-top:28px;min-width:0}
.creative-analysis>.section-head{flex-wrap:wrap}
.creative-analysis-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.creative-analysis-totals>div{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--control)}
.creative-analysis-totals strong{display:block;font-size:26px;color:var(--accent);font-variant-numeric:tabular-nums}
.creative-analysis-totals small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.creative-analysis-status{margin-bottom:17px;font-size:12px;color:var(--muted)}
.creative-analysis-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:12px}
.creative-analysis-table{border-collapse:collapse;width:100%;min-width:850px;font-size:11px}
.creative-analysis-table th,.creative-analysis-table td{padding:13px 14px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums}
.creative-analysis-table th:first-child{text-align:left;min-width:175px}
.creative-analysis-table thead th{color:var(--muted);font-weight:500;background:var(--control)}
.creative-analysis-table tbody th{font-weight:550}
.creative-analysis-table tr.is-active{background:var(--sage)}
.creative-analysis-table tfoot th,.creative-analysis-table tfoot td{font-weight:700;border-bottom:0;background:var(--control)}
.creative-analysis-views{font-size:10px}
.creative-analysis-note{font-size:11px;line-height:1.8;color:var(--muted);margin:16px 0 10px;max-width:1100px}
.creative-analysis>small{font-size:10px}
@media(max-width:700px){.creative-analysis{padding:16px}.creative-analysis-totals{grid-template-columns:1fr 1fr;gap:9px}.creative-analysis-totals>div{padding:13px}.creative-analysis-totals strong{font-size:23px}}

.security-challenge{width:min(440px,calc(100vw - 24px));max-height:90vh;padding:22px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:22px}.security-challenge::backdrop{background:#000b}.security-challenge h2{font-size:20px;white-space:normal}.security-challenge-form{display:flex;flex-direction:column;gap:12px}.security-challenge-form p,.security-challenge-form small{font-size:13px;line-height:1.5;color:var(--muted)}.security-challenge-image{max-width:100%;height:auto;border-radius:12px}.security-challenge-form input{letter-spacing:.2em;text-transform:uppercase}.security-stats{grid-column:1/-1}.security-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.security-summary>div{border:1px solid var(--line);border-radius:14px;padding:16px}.security-summary strong{display:block;font-size:24px;color:var(--green)}.security-summary small{display:block;margin-top:7px;color:var(--muted);font-size:12px}.security-stats-table{min-width:1000px}.security-stats-table td small{display:block;margin-top:6px;color:var(--muted)}.security-limits p{font-size:12px;line-height:1.5}.security-stats details{margin:18px 0}.security-stats summary{cursor:pointer}@media(max-width:520px){.security-summary{grid-template-columns:1fr}.security-summary>div{padding:12px}.security-challenge{padding:16px}}
@media(max-width:650px){.capacity-history-plot text{font-size:24px}.history-capacity-line{stroke-width:4}.history-io-line{stroke-width:3}}
