:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#e5e7eb;background:#0b0d10;font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:#e5e7eb;background:linear-gradient(#0b0d10 0%,#11141a 100%);min-height:100vh;font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-shell,.page-shell{min-height:100vh}.auth-shell{place-items:center;padding:24px;display:grid}.auth-card,.panel{background:#0f1218f5;border:1px solid #94a3b82e;box-shadow:0 8px 32px #0003}.auth-card{border-radius:12px;width:min(480px,100%);padding:24px}.eyebrow{color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:11px}h1,h2,h3,p{margin:0}.auth-card h1,.topbar h1{letter-spacing:-.02em;font-size:clamp(22px,3vw,28px)}.auth-copy{color:#94a3b8;margin-top:8px;line-height:1.5}.auth-form{gap:12px;margin-top:18px;display:grid}.field{gap:5px;display:grid}.field span{color:#cbd5e1;font-size:12px}.field input,.field select,.field textarea{color:#f8fafc;background:#0f172ad9;border:1px solid #94a3b838;border-radius:8px;outline:none;width:100%;padding:8px 10px;transition:border-color .2s,background .2s}.field input:focus,.field select:focus,.field textarea:focus{background:#0f172a;border-color:#cbd5e1}.field small,.helper-text{color:#94a3b8;font-size:11px;line-height:1.5}.error-text{color:#fca5a5;margin-top:12px;font-size:12px}.primary-button,.secondary-button,.ghost-button{white-space:nowrap;border:1px solid #0000;border-radius:8px;height:34px;padding:0 12px;transition:transform .18s,opacity .18s,background .18s}.primary-button{color:#0f172a;background:#f8fafc;font-weight:700}.secondary-button{color:#e2e8f0;background:0 0;border-color:#e2e8f03d}.ghost-button{color:#e2e8f0;background:#94a3b81a;border-color:#94a3b82e}.ghost-button.danger{color:#fecaca;border-color:#f8717147}.primary-button:hover,.secondary-button:hover,.ghost-button:hover{transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.page-shell{padding:12px}.topbar{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.topbar-main{gap:10px;display:grid}.topbar-copy{color:#94a3b8;margin-top:4px;font-size:12px;line-height:1.5}.topbar-nav{flex-wrap:wrap;gap:8px;display:flex}.nav-link{color:#cbd5e1;background:#0f172ab8;border:1px solid #94a3b82e;border-radius:8px;justify-content:center;align-items:center;min-height:32px;padding:0 12px;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;display:inline-flex}.nav-link:hover{transform:translateY(-1px)}.nav-link.active{color:#0f172a;background:#f8fafc;border-color:#0000;font-weight:700}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.client-pill{color:#cbd5e1;background:#0f172ab8;border:1px solid #94a3b82e;border-radius:8px;padding:7px 10px;font-size:12px}.workspace-grid{grid-template-columns:minmax(520px,1.1fr) minmax(360px,.9fr);align-items:start;gap:12px;display:grid}.panel{border-radius:10px;padding:12px}.panel-header{gap:4px;margin-bottom:10px;display:grid}.panel-header h2{font-size:16px}.panel-header p,.item-meta{color:#94a3b8;font-size:12px;line-height:1.5}.editor-panel{gap:10px;display:grid}.editor-section,.catalog-panel{background:#0f172a75;border:1px solid #94a3b824;border-radius:10px;gap:10px;padding:12px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-heading h3{margin-bottom:2px;font-size:15px}.section-heading p,.inline-note,.status-banner{color:#94a3b8;font-size:12px;line-height:1.5}.grid-two,.grid-three{gap:10px;display:grid}.grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;display:grid}.selector-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;display:grid}.selector-action{width:100%}.currency-switcher,.summary-bar,.item-card-top,.preview-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.segmented{background:#0f172ae6;border:1px solid #94a3b82e;border-radius:8px;padding:2px;display:inline-flex}.segmented button{color:#94a3b8;background:0 0;border:0;border-radius:6px;height:auto;padding:7px 12px}.segmented button.active{color:#0f172a;background:#f8fafc;font-weight:700}.item-list,.catalog-list{gap:8px;display:grid}.item-card,.catalog-card,.empty-state{background:#090d14b8;border:1px solid #94a3b829;border-radius:8px}.item-card,.catalog-card{gap:10px;padding:10px;display:grid}.item-type-tag{color:#f8fafc;background:#e2e8f01f;border-radius:999px;align-items:center;margin-bottom:4px;padding:2px 8px;font-size:11px;display:inline-flex}.icon-actions{flex-wrap:wrap;gap:6px;display:flex}.summary-bar{background:linear-gradient(135deg,#f1f5f914,#94a3b80a);border:1px solid #f1f5f91f;border-radius:8px;padding:10px 12px}.summary-label{color:#94a3b8;margin-bottom:2px;font-size:11px;display:block}.summary-bar strong{letter-spacing:-.03em;font-size:22px}.catalog-shell{gap:12px;display:grid}.checkbox-field{align-self:end}.checkbox-field input[type=checkbox]{accent-color:#f8fafc;justify-self:start;width:20px;height:20px}.catalog-actions{justify-content:flex-end;display:flex}.status-banner{background:#090d14b8;border:1px solid #94a3b829;border-radius:8px;padding:8px 10px}.catalog-toolbar,.toolbar-filters,.toolbar-actions,.table-actions,.modal-header,.modal-actions{align-items:center;gap:8px;display:flex}.catalog-toolbar,.modal-header,.modal-actions{justify-content:space-between}.toolbar-filters,.toolbar-actions{flex-wrap:wrap}.compact-field{min-width:180px}.table-shell{background:#090d14b8;border:1px solid #94a3b829;border-radius:8px;overflow:auto}.data-table{border-collapse:collapse;width:100%;min-width:980px}.data-table th,.data-table td{vertical-align:top;text-align:left;border-bottom:1px solid #94a3b81a;padding:8px 10px}.data-table th{z-index:1;color:#94a3b8;letter-spacing:.03em;background:#121722;font-size:11px;font-weight:600;position:sticky;top:0}.data-table tbody tr:hover{background:#94a3b80f}.align-right{text-align:right!important}.table-title-cell{gap:2px;display:grid}.table-title-cell strong{font-size:12px;line-height:1.4}.table-title-cell small{color:#94a3b8;font-size:11px;line-height:1.4}.status-dot{border:1px solid #94a3b82e;border-radius:999px;justify-content:center;align-items:center;min-width:48px;height:24px;padding:0 8px;font-size:11px;display:inline-flex}.status-dot.is-active{color:#bbf7d0;background:#22c55e1f;border-color:#22c55e3d}.status-dot.is-inactive{color:#fecaca;background:#ef44441f;border-color:#ef44443d}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#05080cb8;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-card{background:#11161f;border:1px solid #94a3b82e;border-radius:10px;gap:12px;width:min(980px,100%);max-height:calc(100vh - 32px);padding:14px;display:grid;overflow:auto;box-shadow:0 16px 40px #00000052}.modal-header h2{margin-bottom:4px;font-size:16px}.modal-header p{color:#94a3b8;font-size:12px;line-height:1.5}.modal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.preview-panel{gap:10px;display:grid;position:sticky;top:12px}.preview-frame{background:#0b1220;border:1px solid #94a3b82e;border-radius:8px;min-height:720px;overflow:hidden}.preview-frame iframe{border:0}.empty-state{text-align:center;color:#94a3b8;place-items:center;min-height:96px;padding:16px;font-size:12px;line-height:1.5;display:grid}.empty-state.large{min-height:720px}@media (width<=1280px){.workspace-grid{grid-template-columns:1fr}.preview-panel{position:static}.preview-frame,.empty-state.large{min-height:560px}.selector-grid,.meta-grid,.modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.page-shell,.auth-shell{padding:14px}.panel,.auth-card{border-radius:10px;padding:12px}.topbar,.topbar-main,.topbar-actions,.section-heading,.summary-bar,.currency-switcher,.preview-actions,.item-card-top{flex-direction:column;align-items:stretch}.grid-two,.grid-three,.meta-grid,.selector-grid,.modal-grid{grid-template-columns:1fr}.summary-bar strong{font-size:18px}.compact-field,.modal-card{width:100%;min-width:0}}
