:root{--brand:#eb4a62;--brand-strong:#d6334e;--brand-dark:#9a0a1f;--brand-soft:#fdecef;--brand-ring:#eb4a6247;--ink:#1d2230;--ink-2:#4a5163;--ink-3:#737a8c;--line:#e4e6ec;--line-2:#d3d7e0;--bg:#f5f6f9;--card:#fff;--ok:#157a4a;--ok-soft:#e3f5ec;--warn:#8a5a00;--warn-soft:#fff3d6;--danger:#c02637;--danger-soft:#fde8ea;--prod:#4f46b8;--prod-soft:#ecebfb;--svc:#0b7285;--svc-soft:#e1f3f6;--radius:12px;--radius-sm:8px;--shadow:0 1px 2px #1418280d, 0 2px 8px #1418280a;--shadow-lg:0 12px 40px #1418282e;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;color-scheme:light}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.5}img{max-width:100%;display:block}.icon{flex:none;width:20px;height:20px}a{color:var(--brand-strong)}a:hover{color:var(--brand-dark)}[hidden]{display:none!important}h1,h2,h3{color:var(--ink);margin:0;line-height:1.25}h1{letter-spacing:-.01em;font-size:24px;font-weight:700}h2{font-size:17px;font-weight:650}p{margin:0}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:3px solid var(--brand-ring);outline-offset:2px}.btn{border:1px solid var(--line-2);min-height:44px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:15px;font-weight:600;line-height:1;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;display:inline-flex}.btn:hover{color:var(--ink);background:#f7f8fa;border-color:#c5cad5}.btn:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}.btn svg{flex:none;width:18px;height:18px}.btn-primary{background:var(--brand-strong);border-color:var(--brand-strong);color:#fff}.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.btn-primary:disabled:hover{background:var(--brand-strong);border-color:var(--brand-strong)}.btn-danger{color:var(--danger)}.btn-danger:hover{background:var(--danger-soft);color:var(--danger);border-color:#f3b9bf}.btn-danger-solid{background:var(--danger);border-color:var(--danger);color:#fff}.btn-danger-solid:hover{color:#fff;background:#9e1c2b;border-color:#9e1c2b}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover{background:#1418280d;border-color:#0000}.btn-sm{border-radius:8px;min-height:36px;padding:0 12px;font-size:14px}.btn-block{width:100%}.btn-icon{width:44px;padding:0}.btn-icon.btn-sm{width:36px}.link-btn{font:inherit;color:var(--brand-strong);cursor:pointer;background:0 0;border:0;margin:-6px -2px;padding:6px 2px;font-size:14px;font-weight:600}.link-btn:hover{color:var(--brand-dark);text-decoration:underline}.spinner{opacity:.85;border:2.5px solid;border-right-color:#0000;border-radius:50%;flex:none;width:18px;height:18px;animation:.7s linear infinite spin}.spinner-lg{width:32px;height:32px;color:var(--brand);border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:1.6s}}.topbar{z-index:30;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0}.topbar-inner{align-items:center;gap:16px;max-width:1200px;margin:0 auto;padding:10px 24px;display:flex}.brand{color:var(--ink);align-items:center;gap:12px;min-width:0;text-decoration:none;display:flex}.brand:hover{color:var(--ink)}.brand img{border-radius:10px;width:40px;height:40px}.brand-text{flex-direction:column;min-width:0;display:flex}.brand-name{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.brand-sub{color:var(--brand-strong);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.topbar-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.page{max-width:1200px;margin:0 auto;padding:28px 24px 64px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px;display:flex}.page-head p{color:var(--ink-3);margin-top:4px}.back-link{color:var(--ink-2);align-items:center;gap:6px;min-height:32px;margin-bottom:10px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:hover{color:var(--brand-strong)}.back-link svg{width:16px;height:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-head{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 0;display:flex}.card-head p{color:var(--ink-3);font-size:14px}.card-body{padding:18px 20px 20px}.muted{color:var(--ink-3)}.small{font-size:13px}.field{margin-bottom:18px;display:block}.field:last-child{margin-bottom:0}.label-row{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.label{color:var(--ink);font-size:14px;font-weight:600;display:block}.label .req{color:var(--brand-strong);margin-left:2px}.label-row .label{margin-bottom:0}.input,.select,.textarea{border:1px solid var(--line-2);border-radius:var(--radius-sm);width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;padding:10px 12px;font-size:16px;transition:border-color .15s,box-shadow .15s;display:block}.textarea{resize:vertical;min-height:96px;line-height:1.5}.textarea.tall{min-height:200px}.select{-webkit-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23737a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:40px}.input:hover,.select:hover,.textarea:hover{border-color:#b9bfcc}.input:focus,.select:focus,.textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring);outline:none}.input::placeholder,.textarea::placeholder{color:#9aa0ad}.help{color:var(--ink-3);margin-top:6px;font-size:13px}.help code{color:var(--ink-2);white-space:nowrap;background:#f1f2f5;border-radius:4px;padding:1px 5px;font-size:12.5px}.counter{color:var(--ink-3);font-variant-numeric:tabular-nums;font-size:12px}.counter.over{color:var(--danger);font-weight:600}.field-error{color:var(--danger);align-items:flex-start;gap:6px;margin-top:6px;font-size:13px;font-weight:600;display:flex}.field-error svg{width:16px;height:16px;margin-top:1px}.has-error .input,.has-error .select,.has-error .textarea{border-color:var(--danger)}.has-error .input:focus,.has-error .textarea:focus,.has-error .select:focus{box-shadow:0 0 0 3px #c0263733}.input-affix{border:1px solid var(--line-2);border-radius:var(--radius-sm);background:#fff;align-items:stretch;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.input-affix:hover{border-color:#b9bfcc}.input-affix:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring)}.has-error .input-affix{border-color:var(--danger)}.input-affix .affix{color:var(--ink-3);white-space:nowrap;background:#fafbfc;align-items:center;padding:0 2px 0 12px;font-size:15px;display:flex}.input-affix .affix-end{padding:0 12px 0 0}.input-affix .input{border:0;border-radius:0;min-width:0;padding-left:2px;box-shadow:none!important}.alert{border-radius:var(--radius-sm);background:var(--danger-soft);color:#8f1b29;border:1px solid #f6c4ca;align-items:flex-start;gap:10px;padding:12px 14px;font-size:14px;font-weight:500;display:flex}.alert svg{flex:none;width:18px;height:18px;margin-top:1px}.alert a{color:inherit;text-underline-offset:2px;font-weight:700;text-decoration:underline}.alert a:hover{color:#5e0f19}.notice{padding:14px 16px}.notice>svg{width:20px;height:20px;margin-top:1px}.notice-body{flex:1;gap:4px;min-width:0;display:grid}.notice-title{font-size:15px;font-weight:700}.notice-text,.notice-note{line-height:1.45}.notice-note{font-size:13.5px}.notice-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.notice-actions .btn{color:var(--ink)}.notice-close{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;margin:-8px -8px -8px 0;display:grid}.notice-close:hover{background:#8f1b2914}.segmented{background:#eef0f4;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.segmented input{opacity:0;pointer-events:none;position:absolute}.segmented label{min-height:42px;color:var(--ink-2);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;transition:background-color .15s,color .15s,box-shadow .15s;display:flex}.segmented label .dot{opacity:.5;background:currentColor;border-radius:50%;width:8px;height:8px}.segmented input:checked+label{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1418281f}.segmented input[value=published]:checked+label .dot{opacity:1;background:#1f9d60}.segmented input[value=draft]:checked+label .dot{opacity:1;background:#d18b00}.segmented input:focus-visible+label{outline:3px solid var(--brand-ring);outline-offset:1px}.segmented input:disabled+label{cursor:not-allowed;opacity:.6}.segmented label svg{opacity:.75;width:16px;height:16px}.segmented input:checked+label svg{opacity:1}.segmented-sm{border-radius:9px;gap:3px;padding:3px}.segmented-sm label{border-radius:7px;gap:6px;min-height:38px;font-size:13.5px}.segmented input[value=service]:checked+label{color:var(--svc)}.segmented input[value=product]:checked+label{color:var(--prod)}.kind-choice{border:0;min-width:0;margin:0;padding:0}.kind-choice legend{margin-bottom:6px;padding:0}.kind-badge{white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:1px 8px 1px 7px;font-size:12.5px;font-weight:650;line-height:1.5;display:inline-flex}.kind-badge svg{width:12px;height:12px}.kind-product{background:var(--prod-soft);color:var(--prod)}.kind-service{background:var(--svc-soft);color:var(--svc)}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12.5px;font-weight:600;line-height:1.4;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.badge-published{background:var(--ok-soft);color:var(--ok)}.badge-draft{background:var(--warn-soft);color:var(--warn)}.toasts{z-index:100;pointer-events:none;flex-direction:column;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 32px);display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast{color:#fff;box-shadow:var(--shadow-lg);pointer-events:auto;background:#1d2230;border-radius:10px;align-items:center;gap:10px;padding:12px 16px;font-size:14.5px;font-weight:500;animation:.2s ease-out toast-in;display:flex}.toast svg{flex:none;width:18px;height:18px}.toast-success svg{color:#5fd49a}.toast-error{background:#8f1b29}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.has-savebar .toasts{bottom:96px}.dialog{width:min(440px,100vw - 32px);box-shadow:var(--shadow-lg);color:var(--ink);border:0;border-radius:16px;padding:0}.dialog::backdrop{background:#14182873}.dialog-body{padding:24px 24px 8px}.dialog-body h2{margin-bottom:8px;font-size:19px}.dialog-body p{color:var(--ink-2)}.dialog-actions{justify-content:flex-end;gap:10px;padding:18px 24px 24px;display:flex}.state{text-align:center;padding:56px 24px}.state .spinner-lg{margin:0 auto 14px}.state-icon{background:var(--brand-soft);width:64px;height:64px;color:var(--brand-strong);border-radius:18px;place-items:center;margin:0 auto 16px;display:grid}.state-icon svg{width:30px;height:30px}.state h2{margin-bottom:6px}.state p{color:var(--ink-3);max-width:380px;margin:0 auto 18px}.state-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}@media (width<=640px){body{font-size:15px}h1{font-size:21px}.topbar-inner{gap:8px;padding:8px 14px}.brand{gap:8px}.brand img{width:36px;height:36px}.brand-name{font-size:13.5px}.topbar-actions{gap:4px}.topbar .btn-sm{gap:6px;min-height:44px;padding:0 10px}.topbar .topbar-view{width:44px;padding:0}.page{padding:18px 14px 48px}.card-head{padding:16px 16px 0}.card-body{padding:16px}.hide-sm{display:none!important}.dialog-actions .btn{flex:1}}
