*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--color-bg-main: #0E0E10;--color-bg-secondary: #1A1B26;--color-bg-accent: #232533;--color-bg-other: #151520;--color-primary: #3B82F6;--color-primary-hover: #60A5FA;--color-success: #22C55E;--color-error: #EF4444;--color-text-main: #F3F4F6;--color-text: #D1D5DB;--color-text-secondary: #9CA3AF}html,body,#app{min-height:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;background:var(--color-bg-other);color:var(--color-text-main);-webkit-font-smoothing:antialiased}body.staff{--stf-bg: #070810;--stf-surface: #0d0f1a;--stf-surface2: #111422;--stf-surface3: #161928;--stf-border: rgba(255,255,255,.06);--stf-border2: rgba(255,255,255,.1);--stf-text: #e8eaf6;--stf-muted: #4a5168;--stf-muted2: #6b7280;--stf-green: #22d3a5;--stf-yellow: #f59e0b;--stf-red: #ef4444;--stf-blue: #6366f1;--stf-sidebar: 220px;overflow-x:hidden;overflow-y:auto;background:var(--stf-bg);color:var(--stf-text);font-size:14px;line-height:1.6;min-height:100vh}body.staff #app{display:block;height:auto;min-height:100vh;width:auto;overflow:visible}@keyframes stf-fadein{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes stf-spin{to{transform:rotate(360deg)}}.stf-layout{display:flex;min-height:100vh}.stf-body{flex:1;margin-left:var(--stf-sidebar);display:flex;flex-direction:column;min-width:0;min-height:100vh}.stf-page{padding:28px 32px 48px;animation:stf-fadein .35s ease both;flex:1}.stf-page-header{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid var(--stf-border)}.stf-page-title{font-size:22px;font-weight:700;color:var(--stf-text);letter-spacing:-.02em;margin-bottom:4px}.stf-page-sub{font-size:13px;color:var(--stf-muted2)}.stf-page-header__row{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}.stf-breadcrumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--stf-muted);margin-bottom:12px;flex-wrap:wrap}.stf-breadcrumb a{color:var(--stf-muted2);text-decoration:none;transition:color .15s}.stf-breadcrumb a:hover{color:var(--stf-text)}.stf-breadcrumb__sep{opacity:.4}.stf-breadcrumb__current{color:var(--stf-muted2)}.stf-card{background:var(--stf-surface);border:1px solid var(--stf-border);border-radius:16px;overflow:hidden}.stf-card__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--stf-border);gap:12px}.stf-card__title{font-size:13px;font-weight:600;color:var(--stf-text);letter-spacing:.01em}.stf-card__body{padding:20px}.stf-card__body--flush{padding:0}.stf-table-wrap{overflow-x:auto}.stf-table{width:100%;border-collapse:collapse}.stf-table thead tr{border-bottom:1px solid var(--stf-border)}.stf-table th{padding:11px 16px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--stf-muted2);text-align:left;white-space:nowrap}.stf-table td{padding:13px 16px;font-size:13px;color:var(--stf-text);border-bottom:1px solid var(--stf-border);vertical-align:middle}.stf-table tbody tr{transition:background .15s}.stf-table tbody tr:last-child td{border-bottom:none}.stf-table tbody tr:hover{background:var(--stf-surface2)}.stf-table tbody tr.is-clickable{cursor:pointer}.stf-form{display:flex;flex-direction:column;gap:18px}.stf-field{display:flex;flex-direction:column;gap:6px}.stf-field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stf-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--stf-muted2)}.stf-input,.stf-select,.stf-textarea{background:var(--stf-surface2);border:1px solid var(--stf-border2);border-radius:10px;padding:10px 14px;color:var(--stf-text);font-size:14px;font-family:inherit;outline:none;transition:border-color .2s,box-shadow .2s;width:100%}.stf-input::placeholder,.stf-textarea::placeholder{color:var(--stf-muted)}.stf-input:focus,.stf-select:focus,.stf-textarea:focus{border-color:#6366f180;box-shadow:0 0 0 3px #6366f11a}.stf-textarea{resize:vertical;min-height:100px;line-height:1.6}.stf-hint{font-size:12px;color:var(--stf-muted)}.stf-error{font-size:13px;color:var(--stf-red);background:#ef444414;border:1px solid rgba(239,68,68,.18);border-radius:10px;padding:10px 12px}.stf-ok{font-size:13px;color:var(--stf-green);background:#22d3a514;border:1px solid rgba(34,211,165,.18);border-radius:10px;padding:10px 12px}.stf-check{display:flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.stf-check input[type=checkbox]{width:16px;height:16px;accent-color:var(--stf-blue);cursor:pointer}.stf-check span{font-size:13px;color:var(--stf-text)}.stf-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:none;border-radius:10px;padding:9px 18px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;transition:opacity .2s,transform .15s,box-shadow .2s;white-space:nowrap;font-family:inherit}.stf-btn:hover:not(:disabled){opacity:.85;transform:translateY(-1px)}.stf-btn:disabled{opacity:.45;cursor:not-allowed}.stf-btn--primary{background:var(--stf-blue);color:#fff;box-shadow:0 4px 16px #6366f140}.stf-btn--ghost{background:var(--stf-surface2);border:1px solid var(--stf-border2);color:var(--stf-muted2)}.stf-btn--ghost:hover:not(:disabled){color:var(--stf-text)}.stf-btn--danger{background:#ef44441f;border:1px solid rgba(239,68,68,.2);color:var(--stf-red)}.stf-btn--sm{padding:6px 12px;font-size:12px;border-radius:8px}.stf-btn--full{width:100%}.stf-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.stf-badge--green{background:#22d3a51a;color:var(--stf-green)}.stf-badge--yellow{background:#f59e0b1a;color:var(--stf-yellow)}.stf-badge--red{background:#ef44441a;color:var(--stf-red)}.stf-badge--blue{background:#6366f11a;color:#a5b4fc}.stf-badge--gray{background:#ffffff0d;color:var(--stf-muted2)}.stf-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stf-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.stf-stat__label{font-size:12px;color:var(--stf-muted2);text-transform:uppercase;letter-spacing:.06em;font-weight:700}.stf-stat__val{font-size:28px;font-weight:700;letter-spacing:-.03em;margin:6px 0 4px}.dash-stat__sub{font-size:12px;color:var(--stf-muted)}.dash-stat-card{text-decoration:none;color:inherit;display:block}.dash-stat-card:hover{border-color:var(--stf-border2)}.stf-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:#c4b5fd;word-break:break-all}.stf-actions{display:flex;gap:8px;flex-wrap:wrap}.stf-empty{padding:28px 20px;color:var(--stf-muted2);font-size:13px}.stf-secret{background:var(--stf-surface2);border:1px dashed rgba(99,102,241,.35);border-radius:12px;padding:14px 16px}.stf-secret__label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--stf-yellow);margin-bottom:6px}@media(max-width:860px){.stf-body{margin-left:0}.stf-page{padding:16px}.stf-grid-2,.stf-grid-3,.stf-field-row{grid-template-columns:1fr}.stf-sidebar{transform:translate(-110%);transition:transform .22s ease;z-index:200;width:min(300px,calc(100vw - 48px))!important;box-shadow:12px 0 40px #00000059}.stf-layout.stf-nav-open .stf-sidebar{transform:none}}body.auth{min-height:100vh;background:var(--color-bg-main);color:var(--color-text-main)}body.auth #app{min-height:100vh}.auth-container{max-width:380px;width:calc(100% - 32px);padding:40px;top:50%;left:50%;background:var(--color-bg-secondary);border-radius:8px;color:var(--color-text-main);display:flex;gap:24px;flex-direction:column;transform:translate(-50%,-50%);position:absolute}.auth-container form{display:flex;gap:16px;flex-direction:column}.auth-container h2{font-size:24px;font-weight:700}.auth-container p{color:var(--color-text);font-size:14px}.auth-container p a{color:var(--color-primary);text-decoration:none}.auth-brand{display:flex;align-items:center;gap:10px}.auth-brand__mark{position:relative;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.auth-brand__mark .stf-eye-ring{position:absolute;inset:0;border-radius:50%;border:1.5px solid #22d3a5}.auth-brand__mark .stf-eye-ring--1{opacity:.2;animation:stf-spin 12s linear infinite}.auth-brand__mark .stf-eye-ring--2{inset:5px;opacity:.4;animation:stf-spin 7s linear infinite reverse}.auth-brand__mark .stf-eye-core{width:7px;height:7px;border-radius:50%;background:#22d3a5;box-shadow:0 0 8px #22d3a5;z-index:1}.auth-brand__name{font-size:15px;font-weight:800;letter-spacing:.16em}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field input{width:100%;background-color:var(--color-bg-accent);border:none;border-radius:6px;padding:10px 12px;color:#fff;height:42px;font-family:inherit;font-size:14px}.auth-field input:focus{outline:2px solid #3f8cff66;outline-offset:2px}.auth-btn{background-color:var(--color-primary);border:none;padding:0 18px;border-radius:6px;color:var(--color-text-main);font-weight:500;cursor:pointer;transition:background .2s;line-height:42px;height:42px;width:100%;font-family:inherit;font-size:14px}.auth-btn:hover:not(:disabled){background-color:var(--color-primary-hover)}.auth-btn:disabled{opacity:.55;cursor:not-allowed}.auth-error{color:var(--color-error);font-size:13px}@media(max-width:480px){.auth-container{padding:28px 20px}}
