.admin-category-policies{--cp-surface:var(--card,#fff);--cp-muted:#64748b;--cp-border:#e2e8f0;--cp-soft:#f8fafc;--cp-accent:#7c3aed;color:var(--foreground,#0f172a);min-width:0}.dark .admin-category-policies{--cp-surface:#111116;--cp-muted:#a0aabb;--cp-border:#29303d;--cp-soft:#171b25;--cp-accent:#b49aff}.category-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.category-overview>div{border:1px solid var(--cp-border);background:var(--cp-surface);border-radius:14px;align-items:center;gap:13px;padding:18px 20px;display:flex}.category-overview svg{color:var(--cp-accent);flex-shrink:0}.category-overview span{gap:3px;display:grid}.category-overview strong{font-size:17px;font-weight:650}.category-overview small{color:var(--cp-muted);font-size:13px}.admin-category-policies>nav{gap:8px;padding-bottom:12px}.admin-category-policies>nav button{white-space:nowrap;min-height:40px}.category-catalog-layout{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:22px;display:grid}.category-catalog-sidebar{border:1px solid var(--cp-border);background:var(--cp-surface);border-radius:16px;padding:16px;position:sticky;top:80px}.category-sidebar-heading{align-items:center;gap:9px;margin-bottom:18px;display:flex}.category-sidebar-heading h3{font-size:15px;font-weight:650}.category-sidebar-heading>span,.category-step-label>span{width:23px;height:23px;color:var(--cp-accent);background:var(--cp-soft);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.category-control{color:var(--cp-muted);gap:6px;font-size:12px;font-weight:600;display:grid}.category-control select{border:1px solid var(--cp-border);background:var(--cp-surface);width:100%;min-height:40px;color:var(--foreground,#0f172a);border-radius:10px;padding:8px 10px;font-size:13px;font-weight:400}.category-list{gap:7px;margin-top:15px;display:grid}.category-choice{text-align:left;background:0 0;border:1px solid #0000;border-radius:11px;gap:10px;min-width:0;padding:13px 12px;transition:background .15s,border .15s;display:grid}.category-choice:hover{background:var(--cp-soft)}.category-choice.selected{background:#f5f3ff;border-color:#c4b5fd}.dark .category-choice.selected{background:#251d3a;border-color:#7151ad}.category-choice-title{align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.category-choice-title strong{flex:1;font-weight:600}.category-choice-title>svg{color:var(--cp-muted);flex-shrink:0}.category-choice.selected .category-choice-title>svg,.category-choice.selected strong{color:var(--cp-accent)}.category-choice-meta{color:var(--cp-muted);gap:5px;padding-left:25px;font-size:12px;display:grid}.category-availability{align-items:center;gap:6px;display:flex}.category-availability i{background:#94a3b8;border-radius:50%;flex-shrink:0;width:6px;height:6px}.category-availability.enabled i{background:#10b981}.category-catalog-main{min-width:0}.category-selected-header{justify-content:space-between;align-items:flex-start;gap:14px;margin:3px 0 18px;display:flex}.category-step-label{color:var(--cp-muted);align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.category-selected-header h2{letter-spacing:-.025em;margin-top:7px;font-size:25px;font-weight:700}.category-selected-header p{color:var(--cp-muted);margin-top:5px;font-size:13px}.category-selected-header>div:last-child:not(:first-child){max-width:220px;margin-top:32px}.category-publication-settings{border:1px solid var(--cp-border);background:var(--cp-surface);border-radius:11px;margin-bottom:20px;font-size:13px}.category-publication-settings summary{cursor:pointer;align-items:center;gap:8px;min-height:43px;padding:10px 14px;font-weight:550;display:flex}.category-publication-settings summary svg{color:var(--cp-muted)}.category-publication-settings summary>span{color:var(--cp-muted);margin-left:auto;font-size:12px}.category-settings-fields{flex-wrap:wrap;align-items:center;gap:20px;padding:8px 14px;display:flex}.category-settings-fields label{align-items:center;gap:8px;display:flex}.category-settings-fields input[type=number]{border:1px solid var(--cp-border);background:var(--cp-soft);border-radius:8px;width:70px;min-height:36px;padding:5px 8px}.category-publication-settings>p{color:var(--cp-muted);padding:3px 14px 14px;font-size:12px}.category-area-toolbar{align-items:end;gap:12px;margin-bottom:14px;display:flex}.category-search{border:1px solid var(--cp-border);background:var(--cp-surface);border-radius:11px;flex:1;align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.category-search>svg{color:var(--cp-muted);flex-shrink:0}.category-search input{background:0 0;border:0;outline:none;width:100%;min-width:0;min-height:40px;font-size:14px}.category-area-toolbar>.category-control{width:225px}.category-area-list{gap:9px;display:grid}.category-area-card{border:1px solid var(--cp-border);background:var(--cp-surface);border-radius:13px;grid-template-columns:minmax(160px,1fr) minmax(220px,.9fr) auto;align-items:center;gap:20px;padding:18px;transition:border .15s;display:grid}.category-area-card:hover{border-color:#a78bfa}.category-area-info h3{font-size:15px;font-weight:600}.category-area-info p{color:var(--cp-muted);margin-top:5px;font-size:12px}.category-area-policy{flex-direction:column;align-items:flex-start;gap:7px;display:flex}.category-area-policy>span{color:var(--cp-muted);font-size:12px}.category-policy-action{border:1px solid var(--cp-border);min-height:38px;color:var(--cp-accent);white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}.category-policy-action:hover{background:var(--cp-soft)}.category-search-matches{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.category-search-matches button{background:var(--cp-soft);color:var(--cp-accent);border-radius:6px;align-items:center;gap:4px;padding:4px 7px;font-size:12px;display:inline-flex}.category-policy-note{color:var(--cp-muted);align-items:flex-start;gap:10px;padding:18px 2px;font-size:13px;line-height:1.6;display:flex}.category-policy-note svg{color:var(--cp-accent);flex-shrink:0;margin-top:2px}.category-policy-note strong{color:var(--foreground,#0f172a);font-weight:600;display:block}.category-empty{text-align:center;color:var(--cp-muted);padding:32px 16px;font-size:14px}.category-draft-banner{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.dark .category-draft-banner{color:#fcd88b;background:#302312;border-color:#785423}.category-policy-dialog{max-height:calc(100dvh - 40px);z-index:100!important;width:calc(100vw - 32px)!important;max-width:760px!important;padding:24px!important}.category-policy-dialog .liquid-glass-content{scrollbar-width:thin;flex-direction:column;gap:18px;max-height:calc(100dvh - 100px);padding-right:8px;display:flex;overflow-y:auto}.category-policy-dialog .liquid-glass-content>div:first-child{padding-right:24px}.category-policy-dialog select{max-width:100%}.category-policy-dialog label{line-height:1.6}.category-policy-dialog:focus{outline:none}.category-policy-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:18px}.dark .category-policy-summary{background:#171b25;border-color:#29303d}.category-policy-summary>p{color:#64748b;margin-top:10px;font-size:14px;line-height:1.6}.dark .category-policy-summary>p{color:#b4bece}.category-policy-summary dl{gap:12px;margin-top:16px;font-size:13px;display:grid}.category-policy-summary dt{margin-bottom:4px;font-weight:600}.category-policy-summary dd{color:#64748b;overflow-wrap:anywhere}.dark .category-policy-summary dd{color:#b4bece}.category-specialty-rules,.category-simulator{border:1px solid #e2e8f0;border-radius:11px;padding:14px;font-size:13px}.dark .category-specialty-rules,.dark .category-simulator{border-color:#29303d}.category-specialty-rules summary,.category-simulator summary{cursor:pointer;font-weight:600}.category-specialty-rules>div{gap:0;max-height:290px;margin-top:12px;display:grid;overflow-y:auto}.category-specialty-rules button{text-align:left;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.dark .category-specialty-rules button{border-color:#29303d}.category-specialty-rules button small{color:#64748b;margin-top:3px;display:block}.dark .category-specialty-rules button small{color:#a0aabb}.category-rule-editor{border:1px solid #c4b5fd;border-radius:12px;padding:16px}.dark .category-rule-editor{border-color:#7151ad}.admin-category-policies button:focus-visible,.admin-category-policies select:focus-visible,.admin-category-policies input:focus-visible,.category-policy-dialog button:focus-visible,.category-policy-dialog summary:focus-visible{outline-offset:3px;outline:2px solid #8b5cf6}.category-search:focus-within{outline-offset:2px;outline:2px solid #8b5cf6}@media (width>=1600px){.category-catalog-layout{grid-template-columns:310px minmax(0,1fr);gap:28px}.category-area-card{grid-template-columns:minmax(250px,1fr) minmax(300px,1fr) auto;padding:20px}.category-selected-header{margin-bottom:22px}}@media (width<=1100px){.category-catalog-layout{grid-template-columns:240px minmax(0,1fr);gap:16px}.category-area-card{grid-template-columns:minmax(0,1fr) auto;gap:12px}.category-area-policy{grid-area:2/1}.category-policy-action{grid-area:1/2/span 2}.category-choice{padding:12px 8px}}@media (width<=760px){.category-overview{grid-template-columns:1fr;gap:8px}.category-overview>div{padding:12px 14px}.category-overview span{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.category-overview strong{font-size:15px}.category-overview small{font-size:12px}.category-catalog-layout{grid-template-columns:minmax(0,1fr);gap:20px}.category-catalog-sidebar{padding:14px;position:static}.category-sidebar-heading{margin-bottom:12px}.category-list{scroll-snap-type:x proximity;padding-bottom:8px;display:flex;overflow-x:auto}.category-choice{scroll-snap-align:start;border-color:var(--cp-border);flex:0 0 220px}.category-choice-title{font-size:13px}.category-choice-meta{padding-left:0}.category-selected-header h2{font-size:22px}.category-selected-header{flex-wrap:wrap}.category-selected-header>div:last-child:not(:first-child){margin-top:0}.category-area-toolbar{flex-direction:column;align-items:stretch}.category-area-toolbar>.category-control{width:100%}.category-area-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px}.category-area-policy{grid-area:auto/1}.category-policy-action{grid-area:auto/1;justify-self:start}.category-draft-banner{flex-direction:column;align-items:flex-start}.category-policy-dialog{max-height:calc(100dvh - 16px);width:calc(100vw - 16px)!important;padding:18px!important}.category-policy-dialog .liquid-glass-content{max-height:calc(100dvh - 64px)}.category-specialty-rules button{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.category-choice,.category-area-card{transition:none}}.category-catalog-sidebar{scrollbar-width:thin;max-height:calc(100dvh - 100px);overflow-y:auto}.category-page-explainer{color:var(--cp-muted);font-size:13px;line-height:1.6}@media (width<=760px){.category-catalog-sidebar{max-height:none;overflow:visible}}