:root {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0b323a;
    background: #f1f8f5;
    color-scheme: light;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background: radial-gradient(ellipse at center, #e9f4ef 0%, #f3f9f6 65%, #f7fbf9 100%);
}
.login-card {
    width: min(100%, 660px);
    padding: 28px 58px 46px;
    border: 1px solid #e0ece7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 65px rgb(23 83 66 / 8%);
}
.login-header { text-align: center; }
.login-logo { display: block; width: min(100%, 420px); height: auto; margin: 0 auto 8px; }
h1 { margin: 8px 0 10px; font-size: 42px; line-height: 1.2; font-weight: 750; letter-spacing: -1px; }
.login-header p { margin: 0; color: #6f8391; font-size: 19px; line-height: 1.5; }
.login-form { margin-top: 40px; }
.field + .field { margin-top: 30px; }
label { display: block; margin-bottom: 9px; font-size: 18px; line-height: 1.4; font-weight: 650; }
.input-wrap { position: relative; }
.input-wrap svg {
    position: absolute; width: 25px; height: 25px; left: 20px; top: 50%; transform: translateY(-50%);
    fill: none; stroke: #80949e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
input {
    width: 100%; min-width: 0; height: 59px; padding: 14px 18px 14px 66px;
    border: 1px solid #c6d5dd; border-radius: 11px; background: #f6f9fb;
    color: #15252c; font: inherit; font-size: 19px; box-shadow: inset 0 1px 2px rgb(23 50 60 / 2%);
    transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #8898a3; font-size: 17px; }
input:focus { outline: none; border-color: #158a79; box-shadow: 0 0 0 3px rgb(21 138 121 / 15%); }
.login-submit {
    display: block; width: 100%; min-height: 64px; margin-top: 24px; padding: 15px 20px;
    border: 1px solid #008577; border-radius: 11px; background: #117d70;
    color: #fff; font: inherit; font-size: 21px; line-height: 1.4; font-weight: 650; cursor: pointer;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%); transition: background .15s;
}
.login-submit:hover { background: #096b60; }
.login-submit:active { background: #07594f; }
.login-submit:focus-visible { outline: 3px solid #0c655b; outline-offset: 4px; }
.password-help { margin-top: 16px; text-align: center; color: #607681; font-size: 14px; }
.password-help summary { display: inline-block; cursor: pointer; color: #117d70; font-weight: 650; }
.password-help summary::marker { display: none; }
.password-help p { margin: 10px 0 0; padding: 11px 14px; border-radius: 9px; background: #edf6f2; line-height: 1.5; }
.login-footer { margin-top: 35px; color: #788c99; text-align: center; }
.footer-divider { display: flex; align-items: center; gap: 18px; margin: 0; font-size: 16px; line-height: 1.5; }
.footer-divider::before, .footer-divider::after { content: ""; height: 1px; flex: 1; background: #d3dee4; }
.developer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; color: #566976; font-size: 14px; font-weight: 650; }
.developer-brand svg { width: 28px; height: 28px; fill: none; stroke: #70828c; stroke-width: 1.7; stroke-linejoin: round; }
.login-notice { margin: 24px 0 -14px; padding: 13px 16px; border-radius: 9px; background: #e8f5ef; color: #195d4e; font-size: 15px; line-height: 1.5; }
.login-notice.error { background: #fff0ee; color: #8b3430; }
@media (max-width: 600px) {
    body { padding: 24px 16px; }
    .login-card { padding: 24px 26px 32px; border-radius: 18px; }
    .login-logo { width: min(100%, 340px); }
    h1 { font-size: 34px; }
    .login-header p { font-size: 16px; }
    .login-form { margin-top: 30px; }
    label { font-size: 16px; }
    input { font-size: 16px; padding-left: 52px; height: 55px; }
    input::placeholder { font-size: 15px; }
    .input-wrap svg { width: 22px; height: 22px; left: 16px; }
    .login-submit { min-height: 56px; font-size: 18px; }
    .field + .field { margin-top: 24px; }
    .login-footer { margin-top: 30px; }
    .footer-divider { font-size: 14px; gap: 12px; }
    .developer-brand { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { input, .login-submit { transition: none; } }
