.shell{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.shell__sidebar{color:#cbd5e1;background:#0f172a;flex-direction:column;gap:4px;padding:20px 14px;display:flex}.shell__brand{align-items:center;gap:10px;padding:4px 10px 18px;display:flex}.shell__brand-mark{background:var(--color-primary);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-weight:700;display:flex}.shell__brand-name{color:#fff;font-size:15px;font-weight:700}.shell__nav-section{text-transform:uppercase;letter-spacing:.06em;color:#64748b;padding:14px 10px 6px;font-size:11px}.shell__nav-link{color:#cbd5e1;border-radius:8px;align-items:center;gap:10px;padding:9px 10px;font-size:14px;font-weight:500;text-decoration:none;display:flex}.shell__nav-link:hover{color:#fff;background:#1e293b;text-decoration:none}.shell__nav-link--active{background:var(--color-primary);color:#fff}.shell__main{flex-direction:column;min-width:0;display:flex}.shell__topbar{background:var(--color-surface);border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;padding:14px 28px;display:flex}.shell__topbar-title{font-weight:600}.shell__user{color:var(--color-text-muted);align-items:center;gap:12px;font-size:14px;display:flex}.shell__content{width:100%;max-width:1100px;padding:28px}.auth-page{background:linear-gradient(135deg,#eef2ff 0%,#f6f7f9 55%,#eef9f3 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);width:400px;max-width:100%;box-shadow:var(--shadow);padding:28px}.auth-brand{align-items:center;gap:10px;margin-bottom:20px;display:flex}.auth-brand__mark{background:var(--color-primary);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;font-weight:700;display:flex}.auth-brand__name{font-size:16px;font-weight:700}.auth-title{margin-bottom:4px;font-size:20px}.auth-subtitle{color:var(--color-text-muted);margin-bottom:20px}.auth-tabs{border-radius:var(--radius-sm);background:#f3f4f6;gap:4px;margin-bottom:18px;padding:4px;display:flex}.auth-tab{cursor:pointer;color:var(--color-text-muted);background:0 0;border:none;border-radius:6px;flex:1;padding:8px;font-size:13px;font-weight:500}.auth-tab--active{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-sm)}.auth-form{flex-direction:column;gap:14px;display:flex}.auth-footer{text-align:center;color:var(--color-text-muted);margin-top:18px;font-size:13px}.auth-note{color:var(--color-text-muted);font-size:13px}:root{--color-bg:#f6f7f9;--color-surface:#fff;--color-border:#e5e7eb;--color-border-strong:#d1d5db;--color-text:#111827;--color-text-muted:#6b7280;--color-text-subtle:#9ca3af;--color-primary:#4f46e5;--color-primary-hover:#4338ca;--color-primary-soft:#eef2ff;--color-success:#047857;--color-success-soft:#ecfdf5;--color-warning:#b45309;--color-warning-soft:#fffbeb;--color-danger:#b91c1c;--color-danger-soft:#fef2f2;--radius-sm:6px;--radius:10px;--radius-lg:14px;--shadow-sm:0 1px 2px #1018280f;--shadow:0 4px 12px #10182814;--shadow-lg:0 12px 32px #10182824;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.5}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{letter-spacing:-.01em;margin:0;font-weight:600}.ui-btn{border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:9px 14px;font-size:14px;font-weight:600;transition:background .12s,border-color .12s,color .12s,opacity .12s;display:inline-flex}.ui-btn:disabled{opacity:.55;cursor:not-allowed}.ui-btn--primary{background:var(--color-primary);color:#fff}.ui-btn--primary:hover:not(:disabled){background:var(--color-primary-hover)}.ui-btn--secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-strong)}.ui-btn--secondary:hover:not(:disabled){background:#f9fafb}.ui-btn--ghost{color:var(--color-text-muted);background:0 0}.ui-btn--ghost:hover:not(:disabled){color:var(--color-text);background:#f3f4f6}.ui-btn--danger{background:var(--color-surface);color:var(--color-danger);border-color:#fecaca}.ui-btn--danger:hover:not(:disabled){background:var(--color-danger-soft)}.ui-btn--sm{padding:6px 10px;font-size:13px}.ui-field{flex-direction:column;gap:6px;display:flex}.ui-field__label{color:var(--color-text);font-size:13px;font-weight:500}.ui-input,.ui-select,.ui-textarea{border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface);width:100%;color:var(--color-text);padding:9px 12px;font-family:inherit;font-size:14px;transition:border-color .12s,box-shadow .12s}.ui-input:focus,.ui-select:focus,.ui-textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft);outline:none}.ui-field__error{color:var(--color-danger);font-size:12px}.ui-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.ui-card--pad{padding:20px}.ui-badge{border-radius:999px;align-items:center;padding:2px 10px;font-size:12px;font-weight:600;line-height:1.6;display:inline-flex}.ui-badge--published{background:var(--color-success-soft);color:var(--color-success)}.ui-badge--draft{background:var(--color-warning-soft);color:var(--color-warning)}.ui-badge--archived{color:var(--color-text-muted);background:#f3f4f6}.ui-badge--unpublished{color:#4338ca;background:#e0e7ff}.ui-badge--pending{color:#92400e;background:#fef3c7}.ui-badge--approved{color:#1e40af;background:#dbeafe}.ui-badge--rejected{background:var(--color-danger-soft);color:var(--color-danger)}.ui-tab{appearance:none;color:var(--color-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:6px 14px;font-size:14px;font-weight:600}.ui-tab:hover{background:var(--color-surface-muted,#f3f4f6)}.ui-tab--active{background:var(--color-primary-soft,#e0e7ff);color:var(--color-primary,#4338ca)}.ui-linklike{appearance:none;font:inherit;color:var(--color-primary,#4338ca);cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-weight:600}.ui-linklike:hover{text-decoration:underline}.ui-table{border-collapse:collapse;width:100%;font-size:14px}.ui-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-subtle);border-bottom:1px solid var(--color-border);background:#fafafa;padding:12px 16px;font-size:12px;font-weight:600}.ui-table tbody td{border-bottom:1px solid var(--color-border);vertical-align:middle;padding:12px 16px}.ui-table tbody tr:last-child td{border-bottom:none}.ui-table tbody tr:hover{background:#fafbfc}.ui-table__actions{justify-content:flex-end;gap:6px;display:flex}.ui-page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.ui-page-header__title{font-size:22px}.ui-page-header__subtitle{color:var(--color-text-muted);margin-top:2px}.ui-breadcrumbs{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:16px;font-size:13px;display:flex}.ui-breadcrumbs__sep{color:var(--color-text-subtle)}.ui-empty{text-align:center;color:var(--color-text-muted);padding:48px 24px}.ui-spinner{border:2px solid var(--color-border-strong);border-top-color:var(--color-primary);border-radius:50%;width:20px;height:20px;animation:.7s linear infinite ui-spin}.ui-center{justify-content:center;align-items:center;padding:48px;display:flex}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-modal__overlay{z-index:50;background:#11182773;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.ui-modal{background:var(--color-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:440px;max-width:100%;max-height:90vh;overflow:auto}.ui-modal__header{padding:20px 20px 0;font-size:18px;font-weight:600}.ui-modal__body{flex-direction:column;gap:14px;padding:20px;display:flex}.ui-modal__footer{justify-content:flex-end;gap:8px;padding:0 20px 20px;display:flex}.ui-alert{border-radius:var(--radius-sm);padding:10px 14px;font-size:13px}.ui-alert--error{background:var(--color-danger-soft);color:var(--color-danger);border:1px solid #fecaca}
