:root{background:#f3f0ec;color:#172033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{background:#122548;border:0;border-radius:6px;color:#fff;cursor:pointer;min-height:42px;padding:0 16px}button:disabled{cursor:wait;opacity:.65}button.secondary{background:#e4d5c2;color:#122548}button.danger{background:#9f2d2d}input,textarea{background:#fff;border:1px solid #d6c7b8;border-radius:6px;color:#172033;padding:11px 12px;width:100%}label{color:#5f6878;display:grid;font-size:13px;font-weight:700;gap:6px}.auth-page{display:grid;min-height:100vh;padding:24px;place-items:center}.auth-panel{background:#fff;border:1px solid #e4d5c2;border-radius:8px;padding:32px;width:min(460px,100%)}.admin-shell{margin:0 auto;padding:32px 0 64px;width:min(1180px,calc(100% - 32px))}.actions,.toolbar,.topbar{align-items:center;display:flex;gap:12px;justify-content:space-between}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.actions,.toolbar{flex-wrap:wrap;justify-content:flex-start}.eyebrow{color:#a9722d;font-size:12px;font-weight:800;letter-spacing:.12em;margin:0 0 6px;text-transform:uppercase}h1{font-size:clamp(28px,4vw,44px);line-height:1.05;margin:0}.muted{color:#687386}.category-list,.form{display:grid;gap:18px}.notice{border-radius:6px;padding:12px 14px}.notice.success{background:#dcfce7;color:#14532d}.notice.error{background:#fee2e2;color:#7f1d1d}.category-card{background:#fff;border:1px solid #e4d5c2;border-radius:8px;display:grid;gap:16px;padding:20px}.category-grid{grid-template-columns:minmax(220px,1fr) 110px 90px}.category-grid,.content-grid{align-items:end;display:grid;gap:12px}.content-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.content-grid .wide{grid-column:1/-1}.toggle{align-items:center;display:flex;gap:8px;min-height:44px}.toggle input{height:18px;width:18px}.inline-toggle{justify-content:flex-start}.item-row,.items{display:grid;gap:10px}.item-row{align-items:end;border-top:1px solid #efe6dd;grid-template-columns:minmax(220px,1fr) 150px 88px 86px 88px;padding-top:10px}.item-actions{display:grid;gap:8px;grid-template-columns:1fr 42px}@media(max-width:840px){.category-grid,.content-grid,.item-row,.topbar{grid-template-columns:1fr}.topbar{display:grid}}
