:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #263c36;
    background: #fbf5e4;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
.login-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 48px clamp(24px, 6vw, 96px);
    background: url('../images/pbl-login.webp?v=202609251540') center / cover no-repeat;
}
.login-panel { width: min(560px, 44vw); }
.brand-panel, .auth-panel {
    border: 1px solid rgba(58, 105, 84, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 8px 32px rgba(54, 68, 44, .05);
    padding: 30px 32px;
}
h1 { margin: 0 0 16px; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -.02em; }
.brand-description { margin: 0; font-size: 15px; line-height: 1.9; color: #50635b; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; }
.capabilities div { border-top: 1px solid #dce6df; padding-top: 16px; }
.capabilities dt { font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.capabilities dd { margin: 0; color: #617168; font-size: 13px; line-height: 1.8; }
.auth-panel { margin-top: 14px; }
.login-description { font-size: 14px; line-height: 1.8; color: #50635b; margin: 0 0 22px; }
.login-button {
    width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px;
    border: 1px solid #007e73; border-radius: 6px; background: #008679; color: #fff;
    font: inherit; font-size: 15px; font-weight: 600; padding: 12px 16px; cursor: pointer;
    transition: background .15s;
}
.login-button:hover:not(:disabled) { background: #006e64; }
.login-button:focus-visible, .cancel-button:focus-visible { outline: 3px solid #76baad; outline-offset: 3px; }
.login-button:disabled { opacity: .65; cursor: wait; }
.cancel-button { display: block; margin: 14px auto 0; padding: 6px 12px; background: none; border: 0; color: #42695e; font: inherit; font-size: 13px; cursor: pointer; }
.banner { margin: 0 0 18px; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.7; background: #eef6f2; color: #365b4c; overflow-wrap: anywhere; }
.banner[data-kind="error"] { background: #fff2ed; color: #9b3723; }
[hidden] { display: none !important; }
.login-footer { margin: 22px 0 0; color: #53675b; font-size: 12px; text-align: center; }
@media (max-width: 920px) {
    .login-shell { padding: 32px 24px; background-position: 58% center; }
    .login-panel { width: min(520px, 65vw); }
}
@media (max-width: 600px) {
    .login-shell { padding: 28px 18px; align-items: center; background-position: 64% center; }
    .login-panel { width: 100%; }
    .brand-panel, .auth-panel { padding: 24px; background: rgba(255, 255, 255, .96); }
    .capabilities { gap: 14px; grid-template-columns: 1fr; margin-top: 22px; }
    .capabilities div { padding-top: 12px; }
    .capabilities dt { margin-bottom: 4px; }
    .login-footer { background: rgba(255, 255, 255, .85); padding: 8px; border-radius: 6px; }
}
