:root { font-family: "Segoe UI", Arial, sans-serif; color: #192b20; background: #ADCA63; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; background: #ADCA63; }
.login-shell { width: 100%; max-width: 400px; }
.login-brand { text-align: center; margin-bottom: 24px; }
.login-mark { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 auto 16px; border: 4px solid white; border-radius: 50%; background: transparent; color: white; font-family: Arial, sans-serif; font-size: 27px; font-style: italic; font-weight: 900; -webkit-text-stroke: .35px white; text-shadow: 0 1px 1px #34551f; }
h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.login-container { padding: 28px; border: 1px solid #d9e3dd; border-radius: 8px; background: white; box-shadow: 0 8px 32px #203b2510; }
h2 { margin: 0 0 24px; font-size: 20px; font-weight: 700; line-height: 1.3; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.login-field { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 20px; padding: 0 12px; border: 1px solid #9baea1; border-radius: 6px; background: #fafcfb; }
.login-field:focus-within { border-color: #197443; outline: 3px solid #19744320; }
.login-field > svg { width: 18px; height: 18px; color: #3f5b49; flex-shrink: 0; }
input { width: 100%; min-width: 0; height: 46px; border: none; outline: none; padding: 8px 0; font: inherit; font-size: 16px; font-weight: 600; color: #192b20; background: transparent; }
input::placeholder { color: #45584a; opacity: 1; }
button { font: inherit; cursor: pointer; }
.password-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #3f5b49; flex-shrink: 0; }
.password-toggle svg { width: 19px; height: 19px; }
.password-toggle:hover { background: #e9f0eb; }
button:focus-visible { outline: 3px solid #237aab; outline-offset: 3px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; border: none; border-radius: 6px; background: #124e2d; color: white; font-size: 16px; font-weight: 700; }
.login-submit:hover { background: #0c3c21; }
.login-submit svg { width: 18px; height: 18px; }
.product-credit { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #e1e8e3; text-align: center; color: #435447; font-size: 13px; font-weight: 500; line-height: 1.6; }
.product-credit strong { display: block; color: #233e2a; font-size: 13px; font-weight: 700; }
.session-notice { margin: 0 0 20px; padding: 10px 12px; border-left: 3px solid #b23939; background: #fff2f1; color: #a52a2a; font-size: 14px; line-height: 1.5; }
@media (max-width: 480px) { body { padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } h1 { font-size: 24px; } .login-container { padding: 24px 20px; } .login-brand { margin-bottom: 20px; } }
@media (max-height: 600px) {
    body { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
    .login-brand { margin-bottom: 12px; }
    .login-mark { width: 56px; height: 56px; margin-bottom: 8px; font-size: 20px; }
    h1 { font-size: 22px; }
    .login-container { padding: 16px 20px; }
    h2 { margin-bottom: 12px; font-size: 18px; }
    label { margin-bottom: 6px; font-size: 13px; line-height: 1.2; }
    .login-field { min-height: 44px; margin-bottom: 12px; }
    input { height: 42px; }
    .login-submit { min-height: 44px; padding: 10px 16px; }
    .product-credit { margin-top: 12px; padding-top: 8px; line-height: 1.4; }
    .session-notice { margin-bottom: 12px; padding: 8px 10px; font-size: 12px; }
}
@media (max-height: 440px) {
    body { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
    .login-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
    .login-mark { width: 46px; height: 46px; margin: 0; flex-shrink: 0; font-size: 16px; }
    h1 { font-size: 20px; }
    .login-container { padding-top: 12px; padding-bottom: 12px; }
    h2 { margin-bottom: 8px; }
}
