                @font-face {
                    font-family: 'Inter';
                    font-style: normal;
                    font-weight: 100 900;
                    font-display: swap;
                    src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
                }
                :root {
                    --ink: #1b2127;
                    --muted: #5c6873;
                    --line: #e4e9ec;
                    --surface: #ffffff;
                    --surface-strong: #f4f7f8;
                    --band: #f4f7f8;
                    --blue: #1f6feb;
                    --blue-dark: #1655c2;
                    --green: #15795a;
                    --red: #c5342f;
                    --shadow: 0 10px 30px rgba(20, 28, 36, .12);
                }

                * { box-sizing: border-box; }
                body {
                    margin: 0;
                    min-height: 100vh;
                    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
                    color: var(--ink);
                    background:
                        linear-gradient(90deg, rgba(23, 32, 38, .93), rgba(23, 32, 38, .72)),
                        url("/dropscore-logo.svg") right 7vw center / min(520px, 58vw) no-repeat,
                        #172026;
                }

                a { color: inherit; text-decoration: none; }
                .shell {
                    width: min(1120px, calc(100% - 2rem));
                    min-height: 100vh;
                    margin: 0 auto;
                    display: grid;
                    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
                    align-items: center;
                    gap: clamp(2rem, 6vw, 5rem);
                    padding: clamp(2rem, 5vw, 4rem) 0;
                }

                .brand {
                    display: inline-flex;
                    align-items: center;
                    gap: .7rem;
                    color: #ffffff;
                    font-weight: 850;
                    margin-bottom: 2rem;
                }

                .brand img { width: 44px; height: 44px; }
                .eyebrow {
                    margin: 0 0 .7rem;
                    color: #75d49e;
                    text-transform: uppercase;
                    font-weight: 850;
                    font-size: .78rem;
                    letter-spacing: .08em;
                }

                h1, h2, p { margin-top: 0; }
                h1 {
                    max-width: 680px;
                    color: #ffffff;
                    font-size: clamp(2.8rem, 7vw, 5.8rem);
                    line-height: .96;
                    letter-spacing: 0;
                    margin-bottom: 1rem;
                }

                .lede {
                    max-width: 640px;
                    color: rgba(255, 255, 255, .86);
                    font-size: 1.12rem;
                }

                .login-stack {
                    display: grid;
                    gap: 1rem;
                }

                .login-panel {
                    padding: 1.25rem;
                    border: 1px solid rgba(255, 255, 255, .28);
                    border-radius: 8px;
                    background: rgba(255, 255, 255, .94);
                    box-shadow: var(--shadow);
                }

                .login-panel h2 {
                    margin-bottom: .35rem;
                    font-size: 1.45rem;
                    letter-spacing: 0;
                }

                .login-panel p {
                    color: var(--muted);
                }

                form {
                    display: grid;
                    gap: .85rem;
                    margin-top: 1rem;
                }

                label {
                    display: grid;
                    gap: .35rem;
                    font-weight: 750;
                }

                input {
                    width: 100%;
                    border: 1px solid var(--line);
                    border-radius: 8px;
                    padding: .75rem;
                    font: inherit;
                    color: var(--ink);
                    background: var(--surface-strong);
                }

                button,
                .button {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    min-height: 42px;
                    padding: .68rem .95rem;
                    border-radius: 8px;
                    border: 1px solid transparent;
                    font: inherit;
                    font-weight: 800;
                    cursor: pointer;
                }

                button.primary {
                    background: var(--blue);
                    color: #ffffff;
                }

                .button.secondary {
                    color: var(--blue-dark);
                    background: var(--band);
                    border-color: var(--line);
                }

                .actions {
                    display: flex;
                    align-items: center;
                    gap: .75rem;
                    flex-wrap: wrap;
                }

                .status {
                    min-height: 24px;
                    color: var(--muted);
                    font-weight: 700;
                }

                .status.error { color: var(--red); }
                .status.ready { color: var(--green); }
                .bootstrap-panel[hidden] { display: none; }

                @media (max-width: 820px) {
                    body {
                        background:
                            linear-gradient(180deg, rgba(23, 32, 38, .96), rgba(23, 32, 38, .76)),
                            #172026;
                    }

                    .shell {
                        grid-template-columns: 1fr;
                        align-items: start;
                    }
                }
