.field{display:grid;align-content:start;gap:8px;min-width:0}.field>label,.field__label{font-size:13px;font-weight:600}.field__control{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-hover);color:var(--color-text-muted);transition:border-color .15s,box-shadow .15s,background-color .15s}.field__control:hover{border-color:#d4d4d8}.field__control:focus-within{border-color:var(--color-primary);background:var(--color-surface);box-shadow:0 0 0 4px var(--color-focus-ring);color:var(--color-primary)}.field__control input,.field__control select,.field__control textarea{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--color-text)}.field__control input::placeholder,.field__control select::placeholder,.field__control textarea::placeholder{color:var(--color-placeholder)}.field__control select{cursor:pointer}.field__control .field__suffix{color:var(--color-text-muted);font-size:13px}.field__control--textarea{align-items:stretch;height:auto;padding:10px 14px}.field__control--textarea textarea{min-height:88px;resize:vertical;line-height:1.5}.field__action{display:grid;place-items:center;padding:4px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:pointer}.field__action:hover{color:var(--color-text)}.field__hint{color:var(--color-text-muted);font-size:12px}.field__error{color:var(--color-danger);font-size:12px}.field--invalid .field__control{border-color:var(--color-danger)}.field--invalid .field__control:focus-within{box-shadow:0 0 0 4px #b91c1c1f;color:var(--color-danger)}.checkbox{display:flex;align-items:center;gap:10px;width:fit-content;color:var(--color-text-muted);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox input{width:16px;height:16px;margin:0;accent-color:var(--color-primary)}.switch{display:flex;align-items:center;gap:12px;width:fit-content;cursor:pointer;-webkit-user-select:none;user-select:none}.switch input{position:absolute;opacity:0;pointer-events:none}.switch__track{position:relative;flex:none;width:40px;height:22px;border-radius:999px;background:#d4d4d8;transition:background-color .15s}.switch__track:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:var(--shadow-sm);transition:transform .15s}input:checked+.switch__track{background:var(--color-success)}input:checked+.switch__track:after{transform:translate(18px)}input:focus-visible+.switch__track{outline:2px solid var(--color-primary);outline-offset:2px}.switch input:disabled~*{cursor:not-allowed;opacity:.6}.switch__text{display:grid;line-height:1.35}.switch__text strong{font-size:14px}.switch__text small{color:var(--color-text-muted);font-size:12px}.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.choice{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;transition:border-color .15s,box-shadow .15s,background-color .15s}.choice:hover{border-color:#d4d4d8}.choice input{margin:3px 0 0;accent-color:var(--color-primary)}.choice:has(input:checked){border-color:var(--color-primary);background:var(--color-brand-soft);box-shadow:0 0 0 3px var(--color-focus-ring)}.choice:has(input:disabled){cursor:not-allowed;opacity:.6}.choice__text{display:grid;line-height:1.35}.choice__text strong{font-size:14px}.choice__text small{color:var(--color-text-muted);font-size:12px}.form-alert{display:flex;align-items:center;gap:10px;margin:20px 24px 0;padding:12px 14px;border:1px solid rgba(185,28,28,.2);border-radius:var(--radius-md);background:var(--color-danger-soft);color:var(--color-danger);font-weight:500}.form-section{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:32px;padding:28px 24px}.form-section+.form-section{border-top:1px solid var(--color-border)}@media(max-width:960px){.form-section{grid-template-columns:minmax(0,1fr);gap:16px}}.form-section__intro h2{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:15px}.form-section__intro p{color:var(--color-text-muted);font-size:13px}.form-section__fields{display:grid;gap:20px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.form-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--color-border);background:var(--color-hover);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.form-footer__spacer{flex:1}.loading-card{display:grid;place-items:center;padding:96px 0}.page-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.page-header h1{font-size:24px;letter-spacing:-.02em}.page-header p{color:var(--color-text-muted)}.back-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;color:var(--color-text-muted);font-size:13px;font-weight:500}.back-link:hover{color:var(--color-text)}.card{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sm)}.card__header{padding:20px 22px 0}.card__header h2{font-size:16px}.card__header p{color:var(--color-text-muted);font-size:13px}.badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--color-neutral-soft);color:var(--color-text-muted);font-size:12px;font-weight:600;white-space:nowrap}.badge--brand{background:var(--color-brand-soft);color:var(--color-brand)}.badge--ink{background:var(--color-ink);color:#fff}.badge--success{background:var(--color-success-soft);color:var(--color-success)}.badge--dot:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.avatar{display:grid;flex:none;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--color-brand-soft);color:var(--color-brand);font-size:13px;font-weight:700}.avatar--muted{background:var(--color-neutral-soft);color:var(--color-text-muted)}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:14px 20px;text-align:left;white-space:nowrap}.data-table th{border-bottom:1px solid var(--color-border);background:var(--color-hover);color:var(--color-text-muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.data-table tbody tr:not(:last-child) td{border-bottom:1px solid var(--color-border)}.data-table tbody tr:hover{background:var(--color-hover)}.data-table__actions{width:1%;text-align:right}.empty-state{display:grid;justify-items:center;gap:8px;padding:56px 24px;text-align:center}.empty-state__icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:4px;border-radius:14px;background:var(--color-neutral-soft);color:var(--color-text-muted)}.empty-state strong{font-size:15px}.empty-state p{max-width:360px;color:var(--color-text-muted)}.segmented{display:inline-flex;padding:3px;border-radius:var(--radius-md);background:var(--color-neutral-soft)}.segmented button{height:34px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--color-text-muted);font-weight:600;font-size:13px;cursor:pointer}.segmented button:hover{color:var(--color-text)}.segmented button.is-active{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-sm)}.link-button{padding:0;border:0;background:transparent;color:var(--color-brand);font-size:13px;font-weight:600;cursor:pointer}.link-button:hover{text-decoration:underline}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--color-border)}.search{display:flex;flex:1 1 280px;align-items:center;gap:10px;max-width:380px;height:40px;padding:0 12px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-hover);color:var(--color-text-muted);transition:border-color .15s,box-shadow .15s,background-color .15s}.search:focus-within{border-color:var(--color-primary);background:var(--color-surface);box-shadow:0 0 0 4px var(--color-focus-ring)}.search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--color-text)}.search input::placeholder{color:var(--color-placeholder)}.table-scroll{overflow-x:auto}:root{--color-brand: #d90429;--color-brand-hover: #b00321;--color-brand-soft: #fdecef;--color-ink: #080808;--color-primary: var(--color-brand);--color-primary-hover: var(--color-brand-hover);--color-primary-soft: var(--color-brand-soft);--color-focus-ring: rgb(217 4 41 / .18);--color-bg: #f4f4f5;--color-surface: #ffffff;--color-border: #e4e4e7;--color-text: #111111;--color-text-muted: #71717a;--color-placeholder: #a1a1aa;--color-hover: #fafafa;--color-sidebar: var(--color-ink);--color-sidebar-text: #a1a1aa;--color-sidebar-muted: #52525b;--color-sidebar-hover: rgb(255 255 255 / .06);--color-sidebar-active: #ffffff;--color-success: #16a34a;--color-success-soft: #ecfdf3;--color-danger: #b91c1c;--color-danger-soft: #fef2f2;--color-warning: #d97706;--color-warning-soft: #fffbeb;--color-neutral-soft: #f0f0f1;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgb(0 0 0 / .05);--shadow-md: 0 4px 16px rgb(0 0 0 / .08);--shadow-brand: 0 4px 14px rgb(217 4 41 / .35);--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-display: "Montserrat", "Segoe UI", "Helvetica Neue", sans-serif}*,*:before,*:after{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--font-sans);font-size:14px;line-height:1.5;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-display);font-weight:700}a{color:var(--color-primary);text-decoration:none}button,input,select,textarea{font:inherit}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border:1px solid transparent;border-radius:var(--radius-md);font-weight:600;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn--primary{background:var(--color-primary);color:#fff}.btn--primary:hover:not(:disabled){background:var(--color-primary-hover)}.btn--ghost{background:transparent;color:var(--color-text-muted);border-color:var(--color-border)}.btn--ghost:hover:not(:disabled){color:var(--color-text);background:var(--color-bg)}.btn--danger{background:var(--color-danger);color:#fff}.btn--danger:hover:not(:disabled){background:#991b1b}.btn--block{width:100%}.btn--sm{height:36px;padding:0 12px;font-size:13px}.btn--icon{width:34px;height:34px;padding:0;border-color:transparent;background:transparent;color:var(--color-text-muted)}.btn--icon:hover:not(:disabled){background:var(--color-bg);color:var(--color-text)}.btn--icon.is-danger:hover:not(:disabled){background:var(--color-danger-soft);color:var(--color-danger)}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.spinner--dark{border-color:var(--color-border);border-top-color:var(--color-primary)}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
