:root{--background:#ffffff;--foreground:#0a0a0a;--card:#ffffff;--primary:#171717;--primary-foreground:#fafafa;--secondary:#f5f5f5;--muted:#f5f5f5;--muted-foreground:#737373;--destructive:#dc2626;--destructive-foreground:#ffffff;--border:#e5e5e5;--input:#737373;--ring:#737373;--warning:#fef3c7;--warning-foreground:#451a03;--warning-border:#f59e0b;--success:#15803d;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--logo-size:40px;--logo-padding:4px;--logo-radius:var(--radius-lg)}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font:14px/20px Geist,ui-sans-serif,system-ui,sans-serif}:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.auth-main{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px}.wordmark{font-size:20px;line-height:28px;font-weight:600}.card{width:100%;max-width:400px;padding:32px;display:flex;flex-direction:column;gap:16px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card)}.card h1{margin:0;font-size:24px;line-height:32px;font-weight:600}.card p,.muted{margin:0}.card p,.footer,.muted{color:var(--muted-foreground)}.footer{font-size:12px;line-height:16px}.field{display:flex;flex-direction:column;gap:8px}.field label{font-weight:500}.input{height:36px;padding:0 12px;border:1px solid var(--input);border-radius:var(--radius-md);font:inherit;background:var(--background)}.input[aria-invalid=true]{border:2px solid var(--destructive)}.input:disabled{background:var(--muted)}.field-error{color:var(--destructive)}.btn{height:36px;padding:0 16px;border-radius:var(--radius-md);font:inherit;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;text-decoration:none;border:1px solid transparent}.btn-block{width:100%}.btn-primary{background:var(--primary);color:var(--primary-foreground)}.btn-outline{background:var(--background);color:var(--foreground);border-color:var(--border)}.btn-ghost{background:transparent;color:var(--foreground)}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:default}.divider{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px;color:var(--muted-foreground)}.divider:after,.divider:before{content:"";flex:1 1;border-top:1px solid var(--border)}.alert{padding:12px 16px;border:1px solid var(--destructive);border-radius:var(--radius-lg);color:var(--destructive)}.stack{display:flex;flex-direction:column;gap:16px}.qr{width:160px;height:160px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--muted)}.key{font-size:12px;line-height:16px;color:var(--muted-foreground)}.header{height:56px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.header-left,.header-right,.nav{display:flex;align-items:center;gap:12px}.nav{gap:4px}.header-name{font-size:16px;line-height:24px;font-weight:600}.badge{font-size:12px;font-weight:600;padding:2px 8px;border-radius:var(--radius-md);background:var(--secondary)}.app-header{position:relative}.accent-strip{position:absolute;left:0;right:0;bottom:0;height:3px}.logo{width:var(--logo-size);height:var(--logo-size);padding:var(--logo-padding);border-radius:var(--logo-radius);background:var(--muted);display:flex}.logo img{width:100%;height:100%;object-fit:contain}.banner{padding:8px 24px;display:flex;align-items:center;justify-content:space-between;background:var(--warning);color:var(--warning-foreground);border-bottom:1px solid var(--warning-border);font-weight:500}.page{padding:32px;display:flex;flex-direction:column;gap:16px}.page h1{margin:0;font-size:24px;line-height:32px;font-weight:600}.spinner{width:16px;height:16px;border:2px solid;border-right:2px solid transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.dialog{width:100%;max-width:480px;padding:24px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);color:var(--foreground)}.dialog::-webkit-backdrop{background:rgb(0 0 0/.5)}.dialog::backdrop{background:rgb(0 0 0/.5)}.dialog-title{margin:0;font-size:18px;line-height:28px;font-weight:600;overflow-wrap:anywhere}.dialog-footer{display:flex;justify-content:flex-end;gap:8px}.textarea{height:auto;min-height:96px;padding:10px 14px;resize:vertical}.details{margin:0;display:grid;grid-template-columns:max-content 1fr;grid-gap:8px 24px;gap:8px 24px}.details dt{color:var(--muted-foreground)}.details dd{margin:0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.table-scroll{overflow-x:auto}.table{width:100%;min-width:720px;border-collapse:collapse}.table td,.table th{padding:8px 12px;text-align:left;border-bottom:1px solid var(--border)}.table th{font-weight:500;color:var(--muted-foreground)}.tab,.table a{color:var(--foreground)}.badge-suspended{background:var(--warning);color:var(--warning-foreground)}.empty{padding:32px;flex-direction:column;gap:12px}.alert-row,.empty{display:flex;align-items:center}.alert-row{justify-content:space-between;gap:16px}.btn-destructive{background:var(--destructive);color:var(--destructive-foreground)}.form{max-width:480px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);overflow-x:auto}.tab{padding:8px 12px;text-decoration:none;border-bottom:2px solid transparent}.tab[aria-current=page]{border-bottom-color:var(--primary);font-weight:600}.dialog h2{margin:0 0 8px;font-size:18px;line-height:28px;font-weight:600}.dialog-actions{margin-top:16px;display:flex;justify-content:flex-end;gap:8px}.toast{padding:12px 16px;border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--success);font-weight:500}.skeleton-row{height:36px;border-radius:var(--radius-md);background:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.check,.row-form{display:flex;align-items:center;gap:8px}fieldset.field{border:0;padding:0;margin:0}fieldset.field legend{font-weight:500;margin-bottom:8px}.tab-title{margin:0;font-size:20px;line-height:28px;font-weight:600}