:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#302e35;background:#faf8f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:1040px;margin:0 auto;padding:36px 22px}.topbar,.top-actions,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:#9a8190;margin:0 0 6px}.topbar h1{font-size:24px;margin:4px 0}.status{font-size:12px;padding:8px 12px;border-radius:20px;background:#eee9e5}.status.good{background:#e5f1e8;color:#326746}.intro{margin:38px 0 22px;padding:34px;border-radius:22px;background:#f0e7e8}.intro h2,.auth-panel h2{font-size:clamp(27px,5vw,40px);margin:8px 0}.intro p:last-child{max-width:620px;line-height:1.7;color:#655c62}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stats article,.panel{padding:22px;border:1px solid #ece6e1;border-radius:16px;background:#fff}.stats span{display:block;color:#817982;font-size:13px}.stats strong{display:block;font-size:28px;margin-top:10px}.panel{margin-top:18px}.panel h3{margin:0;font-size:20px}.panel p{line-height:1.7;color:#655c62}.auth-panel{max-width:480px;margin:70px auto}.hidden{display:none!important}form{display:grid;gap:14px}label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#5e5660}input,textarea{width:100%;border:1px solid #ded6d9;border-radius:9px;padding:12px;font:inherit;color:#302e35;background:#fff}input:focus,textarea:focus{outline:2px solid #d8c2cb;border-color:#b99eaa}button{border:0;border-radius:10px;padding:12px 16px;background:#b99eaa;color:#fff;font-weight:650;cursor:pointer}button:hover{filter:brightness(.96)}button.secondary{background:#eee9e5;color:#554c53}.product-form{grid-template-columns:2fr 1fr;align-items:end;margin-top:18px}.product-form .full{grid-column:1/-1}.age-fields{display:flex;align-items:center;gap:8px}.age-fields input{max-width:90px}.message{font-size:13px;margin-left:10px;color:#326746}.message.error{color:#a33f45}.product-list{margin-top:12px}.product-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-top:1px solid #eee9e5}.product-row strong,.product-row span{display:block}.product-row div span{font-size:12px;color:#89818a;margin-top:5px}.pill{font-size:11px;padding:7px 10px;border-radius:30px;background:#f1ecef;color:#65515d;white-space:nowrap}.muted{color:#817982}footer{padding:30px 0;color:#9a9298;font-size:12px}@media(max-width:650px){.stats{grid-template-columns:repeat(2,1fr)}.intro{padding:25px}.product-form{grid-template-columns:1fr}.product-form .full{grid-column:auto}.topbar{align-items:flex-start}.top-actions{align-items:flex-end;flex-direction:column}.product-row{align-items:flex-start}}
.tabs{display:flex;gap:8px;margin-top:22px;flex-wrap:wrap}.tabs button{background:#eee9e5;color:#554c53}.tabs button[aria-selected="true"]{background:#302e35;color:#fff}
select{width:100%;border:1px solid #ded6d9;border-radius:9px;padding:12px;font:inherit;color:#302e35;background:#fff}
.sale-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;margin-top:18px}.sale-form .wide{grid-column:span 2}.sale-form .full{grid-column:1/-1}
.row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center}.row-actions button{padding:7px 10px;font-size:12px;border-radius:8px}
button.danger{background:#f6e4e5;color:#a33f45}button:disabled{opacity:.5;cursor:not-allowed}
.pill.good{background:#e5f1e8;color:#326746}.pill.warn{background:#fbf0dc;color:#8a5a12}.pill.bad{background:#f6e4e5;color:#a33f45}
.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}.summary-grid article{padding:14px;border-radius:12px;background:#faf8f5;border:1px solid #ece6e1}.summary-grid span{display:block;font-size:12px;color:#817982}.summary-grid strong{display:block;font-size:20px;margin-top:6px}
.small{font-size:13px}
@media(max-width:650px){.sale-form{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-form .wide,.sale-form .full{grid-column:1/-1}.row-actions{justify-content:flex-start}}
.file-links{display:flex;flex-direction:column;gap:6px;margin-top:10px}.file-links a{font-size:13px;color:#7a5468;text-decoration:none;font-weight:600}.file-links a:hover{text-decoration:underline}.product-row .file-links span{margin-top:0}
@media(max-width:650px){.product-row{flex-direction:column;align-items:stretch}.product-row>div:first-child{min-width:0}.row-actions{justify-content:flex-start}}
.product-row{flex-wrap:wrap}.content-box{flex-basis:100%;margin-top:4px;padding:16px;border:1px solid #ece6e1;border-radius:12px;background:#faf8f5}.content-box .content-form{max-width:760px}.content-box .content-form{gap:10px}.content-form small{font-weight:400}
.content-box details{margin-top:12px;font-size:13px}.content-box summary{cursor:pointer;font-weight:600;color:#5e5660}.plan{margin:8px 0 0;padding-left:0;list-style:none;color:#655c62;line-height:1.6}.plan li{display:list-item}
#ai-usage:empty{display:none}#ai-usage{display:inline-block;margin:0 0 6px}
