.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#10182a;flex-direction:column;min-height:100vh;padding:28px 18px;display:flex}.brand{align-items:center;gap:12px;padding:0 8px 28px;display:flex}.brand-mark{color:#10182a;background:#fff;border-radius:12px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand strong,.brand span{display:block}.brand span{opacity:.65;font-size:13px}nav{gap:7px;display:grid}nav a{color:#aeb8cb;border-radius:9px;padding:12px 14px;text-decoration:none}nav a:hover,nav a.active{color:#fff;background:#ffffff17}.logout{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:9px;margin-top:auto;padding:11px}.content{padding:42px;overflow:auto}.page-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:.15em;color:#65718a;margin:0 0 8px;font-size:12px;font-weight:700}h1{margin:0;font-size:32px}.subtitle{color:#69758b;margin:8px 0 0}.status{border-radius:999px;padding:9px 14px;font-size:13px;font-weight:700}.status.good{color:#16733d;background:#e6f7ed}.status.bad{color:brown;background:#ffeded}.metrics{grid-template-columns:repeat(4,minmax(160px,1fr));gap:16px;display:grid}.metric-card,.finance-panel{background:#fff;border:1px solid #e4e8f0;border-radius:14px;box-shadow:0 3px 14px #161f320a}.metric-card{padding:22px}.metric-card span{color:#758097;margin-bottom:12px;font-size:13px;display:block}.metric-card strong{font-size:23px}.finance-panel{grid-template-columns:repeat(4,1fr);margin-top:20px;padding:24px;display:grid}.finance-panel div{border-right:1px solid #e8ebf1;padding:5px 20px}.finance-panel div:last-child{border-right:0}.finance-panel span{color:#758097;margin-bottom:8px;font-size:13px;display:block}.finance-panel strong{font-size:18px}.loading,.error-card,.coming-soon{background:#fff;border:1px solid #e4e8f0;border-radius:14px;padding:30px}.error-card{color:brown}@media (width<=1000px){.metrics,.finance-panel{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto}.content{padding:22px}.metrics,.finance-panel{grid-template-columns:1fr}}.theme-editor{width:100%}.theme-version{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700}.success-card{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;margin-bottom:18px;padding:14px 16px;font-weight:600}.theme-workspace{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.theme-controls{flex-direction:column;gap:16px;display:flex}.theme-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.theme-panel h2{color:#0f172a;margin:0 0 18px;font-size:16px}.theme-panel label{color:#475569;flex-direction:column;gap:7px;margin-bottom:15px;font-size:13px;font-weight:600;display:flex}.theme-panel label:last-child{margin-bottom:0}.theme-panel input[type=text],.theme-panel input[type=url],.theme-panel select{box-sizing:border-box;color:#0f172a;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:10px 12px}.theme-panel input[type=text]:focus,.theme-panel input[type=url]:focus,.theme-panel select:focus{border-color:#64748b;box-shadow:0 0 0 3px #64748b1f}.color-control{grid-template-columns:44px 1fr;gap:10px;display:grid}.color-control input[type=color]{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:44px;height:40px;padding:2px}.radius-control{grid-template-columns:1fr 52px;align-items:center;gap:12px;display:grid}.radius-control span{text-align:right;color:#64748b;font-size:13px}.toggle-row{justify-content:space-between;align-items:center;flex-direction:row!important}.toggle-row input{cursor:pointer;width:18px;height:18px}.theme-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.theme-actions button{cursor:pointer;border-radius:9px;min-height:44px;padding:10px 14px;font-weight:700}.theme-actions button:disabled{opacity:.55;cursor:not-allowed}.secondary-button{color:#0f172a;background:#fff;border:1px solid #cbd5e1}.primary-button{color:#fff;background:#0f172a;border:1px solid #0f172a}.theme-history{flex-direction:column;gap:10px;display:flex}.theme-history-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.theme-history-row:last-child{border-bottom:0}.theme-history-row div{flex-direction:column;gap:3px;display:flex}.theme-history-row strong{font-size:13px}.theme-history-row div span{color:#94a3b8;font-size:11px}.theme-status{border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.theme-status.draft{color:#92400e;background:#fef3c7}.theme-status.published{color:#166534;background:#dcfce7}.theme-status.archived{color:#64748b;background:#f1f5f9}.theme-preview-column{min-width:0;position:sticky;top:24px}.preview-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.preview-heading>div{flex-direction:column;gap:3px;display:flex}.preview-heading span{letter-spacing:.08em;color:#94a3b8;font-size:10px;font-weight:800}.preview-heading strong{color:#0f172a;font-size:14px}.preview-dot{background:#dcfce7;border-radius:999px;padding:5px 9px;color:#166534!important;letter-spacing:0!important}.store-preview{border:1px solid #e2e8f0;transition:background-color .2s,color .2s,border-radius .2s;overflow:hidden;box-shadow:0 12px 35px #0f172a14}.preview-store-header{border-bottom:1px solid #94a3b82e;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;display:flex}.preview-brand{align-items:center;gap:10px;min-width:0;display:flex}.preview-brand img{object-fit:contain;width:38px;height:38px}.preview-logo-placeholder{color:#fff;border-radius:10px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.preview-nav{color:#64748b;gap:18px;font-size:12px;display:flex}.preview-cart{font-size:12px;font-weight:700}.preview-hero{grid-template-columns:1.3fr .7fr;align-items:center;gap:30px;padding:48px 34px;display:grid}.preview-badge{letter-spacing:.1em;margin-bottom:12px;font-size:10px;font-weight:800;display:block}.preview-hero h2{max-width:520px;margin:0 0 14px;font-size:clamp(28px,4vw,46px);line-height:1.05}.preview-hero p{color:#64748b;max-width:480px;margin:0 0 22px;line-height:1.6}.preview-hero button{cursor:default;border:0;padding:12px 20px;font-weight:700}.preview-hero-art{color:#fff;place-items:center;min-height:210px;font-size:14px;font-weight:800;display:grid}.preview-products{padding:30px 34px 40px}.preview-section-title{justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px;display:flex}.preview-section-title span{color:#64748b;font-size:10px;font-weight:700}.preview-section-title h3{margin:4px 0 0;font-size:22px}.preview-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.preview-product{background:#ffffffb8;border:1px solid #94a3b838;overflow:hidden}.preview-product-image{opacity:.72;height:135px}.preview-product strong,.preview-product>span{padding:0 12px;display:block}.preview-product strong{padding-top:12px;font-size:12px}.preview-product>span{color:#64748b;padding-top:5px;padding-bottom:14px;font-size:11px}.preview-footer{justify-content:space-between;align-items:center;gap:18px;padding:24px 34px;display:flex}.preview-footer strong{font-size:14px}.preview-footer span{opacity:.78;font-size:11px}@media (width<=1100px){.theme-workspace{grid-template-columns:1fr}.theme-preview-column{position:static}}@media (width<=700px){.theme-actions{grid-template-columns:1fr}.preview-store-header{align-items:flex-start}.preview-nav{display:none}.preview-hero{grid-template-columns:1fr;padding:30px 20px}.preview-products{padding:24px 20px 30px}.preview-product-grid{grid-template-columns:1fr}.preview-footer{flex-direction:column;align-items:flex-start;padding:22px 20px}}*{box-sizing:border-box}html,body,#root{color:#172033;background:#f5f7fb;min-height:100%;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}
