:root{--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--radius: 12px;--radius-sm: 8px;--maxw: 980px;--primary: #3b82f6;--primary-2: #7c5ce7;--primary-contrast: #ffffff;--grad: linear-gradient(135deg, var(--primary), var(--primary-2))}:root,[data-theme=light]{--bg: #eef1f6;--surface: #ffffff;--surface-2: #f5f7fb;--text: #18212f;--text-muted: #5d6b82;--border: #e2e7f0;--danger: #dc2626;--danger-contrast: #ffffff;--success: #16a34a;--shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 1px 3px rgba(20, 30, 50, .05)}[data-theme=dark]{--bg: #0a0b12;--surface: #14161f;--surface-2: #1b1e2b;--text: #f2f3f8;--text-muted: #aab0c2;--border: #262a3a;--danger: #f1646c;--danger-contrast: #ffffff;--success: #34d399;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .35)}*{box-sizing:border-box}body{margin:0;font-family:var(--font-sans);background:var(--bg);color:var(--text);line-height:1.5;min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased}main.container{flex:1 0 auto;width:100%}h1{font-size:1.6rem;margin:0 0 1rem}h2{font-size:1.2rem;margin:0 0 .75rem}a{color:var(--primary)}.container{max-width:var(--maxw);margin:0 auto;padding:1.75rem 1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.55rem 1.05rem;border-radius:var(--radius-sm);border:1px solid transparent;background:var(--grad);color:var(--primary-contrast);font:inherit;font-weight:600;cursor:pointer;text-decoration:none;line-height:1.2;transition:filter .12s ease,transform .12s ease,background-color .12s ease,border-color .12s ease}.btn:hover{filter:brightness(1.08)}.btn.secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn.secondary:hover{background:var(--surface-2);filter:none}.btn.danger{background:var(--danger);border-color:var(--danger);color:var(--danger-contrast)}.btn:disabled{opacity:.5;cursor:not-allowed;filter:none}input[type=email],input[type=text],input[type=number],input[type=password],select,textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font:inherit;transition:border-color .12s ease,box-shadow .12s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent)}textarea{resize:vertical}label{display:block;font-size:.85rem;font-weight:500;color:var(--text-muted);margin-bottom:.35rem}.field{margin-bottom:1rem}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.7rem .6rem;border-bottom:1px solid var(--border)}th{color:var(--text-muted);font-weight:600;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}tbody tr{transition:background-color .1s ease}tbody tr:hover{background:var(--surface-2)}tbody tr:last-child td{border-bottom:none}.site-header{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.5rem;border-bottom:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;color:var(--text);text-decoration:none}.brand img{height:32px;width:auto}.brand svg{height:28px;width:auto}.brand .brand-name{font-size:1.2rem;font-weight:700}.brand i{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.muted{color:var(--text-muted)}.error{color:var(--danger)}.ok{color:var(--success)}.row{display:flex;gap:.75rem;align-items:center}.truncate{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-wrap{overflow-x:auto}.site-footer{flex-shrink:0;text-align:center;padding:1.25rem 1.5rem;margin-top:2rem;border-top:1px solid var(--border);color:var(--text-muted);font-size:.85rem}.site-footer a{color:var(--text-muted)}.empty{text-align:center;color:var(--text-muted);padding:2.5rem 1rem}.empty i{font-size:1.9rem;display:block;margin-bottom:.6rem;opacity:.55}.page-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.25rem}.page-header h1{margin:0}.page-header-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.page-header-actions:empty{display:none}.tabs{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:1.5rem;border-bottom:1px solid var(--border)}.tab{display:inline-flex;align-items:center;gap:.45rem;padding:.6rem .9rem;color:var(--text-muted);font-weight:600;font-size:.9rem;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .12s ease,border-color .12s ease,background-color .12s ease;border-radius:var(--radius-sm) var(--radius-sm) 0 0}.tab:hover{color:var(--text);background:var(--surface-2)}.tab.active{color:var(--primary);border-bottom-color:var(--primary)}.tab i{font-size:.95em}.auth-body{scrollbar-gutter:stable}.auth-wrap{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0}.auth-wrap>.card{width:100%;max-width:420px}.auth-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.1rem}.auth-title{margin:0;font-size:1.05rem;font-weight:600;color:var(--text)}.auth-logo img{height:44px;width:auto}.auth-logo svg{height:40px;width:auto}.auth-card .auth-form{width:100%;display:flex;flex-direction:column;gap:.85rem;margin:0}.auth-card .auth-form .muted{margin:0}.auth-card .btn{padding:.8rem 1.5rem;border-radius:12px}.auth-msg{margin:0}.auth-msg:empty{display:none}.auth-links{display:flex;align-items:center;gap:.7rem;font-size:.85rem}.auth-links a{color:var(--text-muted);text-decoration:none}.auth-links a:hover{text-decoration:underline}.auth-links span{color:var(--text-muted)}.auth-toggle{position:absolute;top:1rem;right:1.25rem}@media(max-width:640px){.tabs{flex-wrap:nowrap;overflow-x:auto}.tab{white-space:nowrap}.page-header{flex-wrap:wrap}.container{padding:1rem}.card{padding:1.1rem}.site-header{flex-wrap:wrap;gap:.5rem;padding:.75rem 1rem}.site-header .row{flex-wrap:wrap}.truncate{max-width:60vw}.row{flex-wrap:wrap}}
