:root{--brand-primary:#0e2a47;--brand-secondary:#0e2a47;--brand-link:#c0913f;--brand-accent:#c0913f;--brand-amber:#eab308;--text:#1f2430;--text-muted:#6b7280;--bg:#f9f9f9;--surface:#fff;--border:#e5e7eb;--danger:#b42318;--success:#067647;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font:15px/1.5 var(--sans)}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--text:#e5e7eb;--text-muted:#9ca3af;--bg:#16171d;--surface:#1f2028;--border:#2e303a}}:root[data-theme=dark]{--text:#e5e7eb;--text-muted:#9ca3af;--bg:#16171d;--surface:#1f2028;--border:#2e303a}*{box-sizing:border-box}body{margin:0}h1{margin:0 0 16px;font-size:22px}h2{margin:0 0 12px;font-size:16px}a{color:var(--brand-link)}.auth-page{isolation:isolate;background:#ecf7fc;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex;position:relative;overflow:hidden}.auth-bg{z-index:0;pointer-events:none;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDAwIDEwMDAiPgogIDxnIGZvbnQtZmFtaWx5PSJQb3BwaW5zLCBzYW5zLXNlcmlmIiBmaWxsPSIjMEUyQTQ3IiBmaWxsLW9wYWNpdHk9IjAuMTQiPgogICAgPHRleHQgeD0iODAiIHk9IjE0MCIgZm9udC1zaXplPSIxMDAiIGZvbnQtd2VpZ2h0PSI3MDAiIHRyYW5zZm9ybT0icm90YXRlKC0xMiA4MCAxNDApIj4rPC90ZXh0PgogICAgPHRleHQgeD0iMjYwIiB5PSI5MCIgZm9udC1zaXplPSI4OCIgZm9udC13ZWlnaHQ9IjcwMCIgdHJhbnNmb3JtPSJyb3RhdGUoOCAyNjAgOTApIj5EUjwvdGV4dD4KICA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ZT0iNDYiIGZvbnQtd2VpZ2h0PSI2MDAiIGxldHRlci1zcGFjaW5nPSI0IiB0cmFuc2Zvcm09InJvdGF0ZSgtOCA4NjAgNDgwKSI+RVFVSVRZPC90ZXh0PgogICAgPHRleHQgeD0iMTE0MCIgeT0iNDMwIiBmb250LXNpemU9IjY2IiBmb250LXdlaWdodD0iNzAwIiB0cmFuc2Zvcm09InJvdGF0ZSgtMTUgMTE0MCA0MzApIj5EUjwvdGV4dD4KICAgIDx0ZXh0IHg9IjE2MCIgeT0iNzYwIiBmb250LXNpemU9Ijg4IiBmb250LXdlaWdodD0iNzAwIiB0cmFuc2Zvcm09InJvdGF0ZSgyMCAxNjAgNzYwKSI+KzwvdGV4dD4KICAgIDx0ZXh0IHg9IjQyMCIgeT0iODAwIiBmb250LXNpemU9IjYwIiBmb250LXdlaWdodD0iNzAwIiB0cmFuc2Zvcm09InJvdGF0ZSg2IDQyMCA4MDApIj5DUjwvdGV4dD4KICAgIDx0ZXh0IHg9IjcwMCIgeT0iNzcwIiBmb250LXNpemU9IjEwMCIgZm9udC13ZWlnaHQ9IjMwMCIgdHJhbnNmb3JtPSJyb3RhdGUoLTggNzAwIDc3MCkiPiYjMjQ3OzwvdGV4dD4KICAgIDx0ZXh0IHg9Ijk4MCIgeT0iODMwIiBmb250LXNpemU9IjQ0IiBmb250LXdlaWdodD0iNjAwIiBsZXR0ZXItc3BhY2luZz0iNCIgdHJhbnNmb3JtPSJyb3RhdGUoMTQgOTgwIDgzMCkiPkxFREdFUjwvdGV4dD4KICAgIDx0ZXh0IHg9IjEyMzAiIHk9Ijc3MCIgZm9udC1zaXplPSI4MCIgZm9udC13ZWlnaHQ9IjMwMCIgdHJhbnNmb3JtPSJyb3RhdGUoOCAxMjMwIDc3MCkiPiYjMjE1OzwvdGV4dD4KICA8L2c+Cjwvc3ZnPgo=);background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.auth-brand-mark{z-index:1;width:clamp(140px,22vw,220px);height:auto;position:absolute;top:24px;left:24px}.brand-wordmark{fill:#0e2a47}.brand-tagline{fill:#5b6b79}.theme-toggle-icon-btn.auth-theme-toggle{z-index:1;color:#5b6b79;border-color:#5b6b7966;position:absolute;top:24px;right:24px}.theme-toggle-icon-btn.auth-theme-toggle:hover{color:#0e2a47;background:#5b6b791f}.auth-card{z-index:1;background:#fff;border:1px solid #5b6b7940;border-radius:6px;flex-direction:column;gap:16px;width:100%;max-width:380px;margin-top:56px;padding:36px 32px;display:flex;position:relative;box-shadow:0 2px 12px #0e2a4714}.auth-title{font-family:"Poppins", var(--sans);color:#0e2a47;margin:0;font-size:26px;font-weight:700}.auth-subtitle{font-family:"Poppins", var(--sans);color:#5b6b79;margin:-8px 0 8px;font-weight:400}.auth-card label{font-family:"Poppins", var(--sans);color:#5b6b79;gap:6px;font-size:13px;font-weight:500}.auth-card input{font-family:"Poppins", var(--sans);color:#0e2a47;background:#f6f3ec;border:1px solid #5b6b794d;border-radius:4px;padding:10px 12px;font-weight:400}.auth-card input:focus{border-color:#c0913f;outline:none;box-shadow:0 0 0 3px #c0913f33}.auth-card button[type=submit]{font-family:"Poppins", var(--sans);color:#fff;background:#0e2a47;border-radius:4px;width:100%;margin-top:8px;padding:12px 14px;font-weight:500;transition:background-color .15s}.auth-card button[type=submit]:hover:not(:disabled){background:#163a5f}.auth-card button[type=submit]:focus-visible{outline:none;box-shadow:0 0 0 3px #c0913f59}.auth-powered-by{z-index:1;text-align:center;font-family:"Poppins", var(--sans);letter-spacing:.06em;color:#5b6b79;margin-top:32px;font-size:12px;font-style:italic;font-weight:300;position:relative}@media (width<=480px){.auth-brand-mark{width:clamp(110px,34vw,150px);top:16px;left:16px}.auth-theme-toggle{top:16px;right:16px}.auth-card{width:100%;max-width:none;margin-top:88px;padding:28px 20px}.auth-page{padding:24px}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .auth-page{background:#0a1420}:root:not([data-theme=light]) .auth-bg{filter:invert()}:root:not([data-theme=light]) .auth-card{background:#142331;border-color:#94a3b82e;box-shadow:0 2px 16px #00000073}:root:not([data-theme=light]) .auth-title{color:#f4ede1}:root:not([data-theme=light]) .auth-subtitle,:root:not([data-theme=light]) .auth-card label,:root:not([data-theme=light]) .auth-powered-by{color:#9fb0c3}:root:not([data-theme=light]) .auth-card input{color:#f4ede1;background:#0a1420;border-color:#5b7a99}:root:not([data-theme=light]) .auth-card input:focus{box-shadow:0 0 0 3px #c0913f4d}:root:not([data-theme=light]) .auth-card button[type=submit]{color:#12202e;background:#c0913f}:root:not([data-theme=light]) .auth-card button[type=submit]:hover:not(:disabled){background:#d4a651}:root:not([data-theme=light]) .auth-card button[type=submit]:focus-visible{box-shadow:0 0 0 3px #f4ede166}:root:not([data-theme=light]) .auth-brand-mark .brand-wordmark{fill:#f4ede1}:root:not([data-theme=light]) .auth-brand-mark .brand-tagline{fill:#9fb0c3}:root:not([data-theme=light]) .theme-toggle-icon-btn.auth-theme-toggle{color:#f4ede1;border-color:#f4ede159}:root:not([data-theme=light]) .theme-toggle-icon-btn.auth-theme-toggle:hover{color:#fff;background:#f4ede126}}:root[data-theme=dark] .auth-page{background:#0a1420}:root[data-theme=dark] .auth-bg{filter:invert()}:root[data-theme=dark] .auth-card{background:#142331;border-color:#94a3b82e;box-shadow:0 2px 16px #00000073}:root[data-theme=dark] .auth-title{color:#f4ede1}:root[data-theme=dark] .auth-subtitle,:root[data-theme=dark] .auth-card label,:root[data-theme=dark] .auth-powered-by{color:#9fb0c3}:root[data-theme=dark] .auth-card input{color:#f4ede1;background:#0a1420;border-color:#5b7a99}:root[data-theme=dark] .auth-card input:focus{box-shadow:0 0 0 3px #c0913f4d}:root[data-theme=dark] .auth-card button[type=submit]{color:#12202e;background:#c0913f}:root[data-theme=dark] .auth-card button[type=submit]:hover:not(:disabled){background:#d4a651}:root[data-theme=dark] .auth-card button[type=submit]:focus-visible{box-shadow:0 0 0 3px #f4ede166}:root[data-theme=dark] .auth-brand-mark .brand-wordmark{fill:#f4ede1}:root[data-theme=dark] .auth-brand-mark .brand-tagline{fill:#9fb0c3}:root[data-theme=dark] .theme-toggle-icon-btn.auth-theme-toggle{color:#f4ede1;border-color:#f4ede159}:root[data-theme=dark] .theme-toggle-icon-btn.auth-theme-toggle:hover{color:#fff;background:#f4ede126}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-header{background:#f6f3ec;border-bottom:1px solid #0e2a471f;flex-wrap:wrap;align-items:center;gap:24px;padding:10px 20px;display:flex}.app-header-logo{width:auto;height:40px;display:block}.app-nav{flex:1;gap:20px;display:flex}.app-nav-link{color:#5b6b79;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:4px 0;font-size:14px;font-weight:500;text-decoration:none;display:flex}.app-nav-link.active{color:#0e2a47;border-bottom-color:#c0913f}.app-header-user{color:#5b6b79;align-items:center;gap:12px;font-size:13px;display:flex}.app-header-user button{color:#0e2a47;text-decoration:underline}.theme-toggle-icon-btn{color:#0e2a47;cursor:pointer;background:0 0;border:1px solid #0e2a4740;border-radius:999px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.theme-toggle-icon-btn:hover{background:#0e2a4714}.app-main{flex:1;width:100%;max-width:1100px;margin:0 auto;padding:24px}.page-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:20px;padding:16px;box-shadow:0 1px 2px #1018280a}.form-grid{flex-direction:column;gap:12px;display:flex}.panel-row{align-items:start;gap:16px;display:flex}.panel-half{flex:1;min-width:0}@media (width<=800px){.panel-row{flex-direction:column}}.logo-preview{object-fit:contain;max-width:140px;max-height:48px}.migrate-output{background:var(--bg);border:1px solid var(--border);white-space:pre-wrap;border-radius:6px;margin-top:8px;padding:10px;font-size:12px}.form-row{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.form-row label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.form-row label.grow{flex:1;min-width:200px}label{color:var(--text-muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.password-field{display:flex;position:relative}.password-field input{width:100%;padding-right:34px}.password-toggle{color:var(--text-muted);background:0 0;border:none;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.password-toggle:hover{color:var(--text)}input,select,button{font:inherit}input,select{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:6px;padding:8px 10px}input:disabled{opacity:.6}button{background:var(--brand-primary);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:8px 14px}button:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{border:1px solid var(--border);color:var(--text);background:0 0}.btn-link{color:var(--brand-link);background:0 0;border:none;align-items:center;gap:4px;padding:0;font-size:13px;text-decoration:underline;display:inline-flex}.form-actions{gap:8px;margin-top:8px;display:flex}.checkbox-label{flex-direction:row;align-items:center;gap:6px}.alert{border-radius:8px;padding:10px 14px;font-size:13px}.alert-error{color:var(--danger);background:#b423181a}.alert-success{color:var(--success);background:#0676471a}.data-table{border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;font-size:13px;overflow:hidden}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--border);padding:8px 12px}.data-table th{background:var(--bg);color:var(--text-muted);font-weight:600}.meta{color:var(--text-muted);margin:0 0 8px;font-size:12px}.status-badge{text-transform:uppercase;background:var(--border);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.status-pending,.status-db_created,.status-migrated,.status-seeded{color:#92400e;background:#fef3c7}.status-active{color:#065f46;background:#d1fae5}.status-failed{color:#991b1b;background:#fee2e2}.status-deactivated{background:var(--border);color:var(--text-muted)}.status-archived{color:#1e40af;background:#dbeafe}.status-deleted{color:#6b7280;background:#f3f4f6}.page-loading{text-align:center;color:var(--text-muted);padding:40px}.row-actions{align-items:flex-start;gap:10px;display:flex}.btn-icon-label{align-items:center;gap:6px;display:inline-flex}.btn-icon-plain{color:var(--text-muted);background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;display:inline-flex}.btn-icon-plain:hover{background:var(--border);color:var(--text)}.btn-icon-plain-danger:hover{background:color-mix(in srgb, var(--danger) 15%, transparent);color:var(--danger)}[data-tooltip]{position:relative}[data-tooltip]:after{content:attr(data-tooltip);background:var(--text);color:var(--bg);white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:30;border-radius:4px;padding:4px 8px;font-size:11px;line-height:1.3;transition:opacity .12s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after{opacity:1;visibility:visible}.modal-backdrop{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal-panel{width:100%;max-width:420px;max-height:90vh;margin:0;overflow-y:auto}.modal-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-header h2{margin:0}.table-scroll-x{overflow-x:auto}
