:root {
    color-scheme: light;
    --ink: #302e2a;
    --muted: #706c64;
    --orange: #ff891c;
    --orange-dark: #b64b06;
    --line: #e2dfd8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f5f4f0; color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { min-height: 100vh; min-height: 100svh; padding: 48px 28px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f5f4f0; }
.login-layout { width: 100%; max-width: 880px; display: grid; grid-template-columns: .94fr 1.06fr; background: #fff; border: 0; border-radius: 22px; box-shadow: 0 24px 70px #302e2a0c, 0 2px 8px #302e2a04; overflow: hidden; }
.welcome-panel { position: relative; display: flex; flex-direction: column; padding: 32px; background: #e5e3de; color: var(--ink); overflow: hidden; }
.welcome-panel::after { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid #d9cdbb55; border-radius: 50%; top: -230px; right: -120px; pointer-events: none; }
.brand { display: block; width: 148px; max-width: 100%; height: auto; object-fit: contain; }
.welcome-copy { margin-top: 30px; }
.eyebrow, .form-eyebrow { margin: 0 0 12px; font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: 1.8px; }
.eyebrow { color: #777064; }
.welcome-copy h2 { margin: 0; font-size: clamp(30px, 3.6vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -1.3px; }
.welcome-copy h2 span { color: #b64b06; }
.welcome-copy > p:last-child { max-width: 300px; margin: 16px 0 0; color: #706c64; font-size: 13px; line-height: 1.65; }
.workspace-art { position: relative; width: 280px; max-width: 100%; height: 184px; margin: 12px auto 4px; transform: scale(.84); transform-origin: center top; }
.art-orbit { position: absolute; width: 214px; height: 214px; border-radius: 50%; border: 1px solid #d5cab966; left: 28px; top: 0; }
.art-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px dashed #d5cab955; border-radius: 50%; }
.art-sheet { position: absolute; width: 132px; height: 166px; border-radius: 12px; }
.art-sheet-back { left: 64px; top: 20px; transform: rotate(-14deg); background: #e5d1b9; border: 1px solid #e5d1b9; }
.art-sheet-front { left: 87px; top: 27px; padding: 18px; transform: rotate(8deg); background: #fffdf8; box-shadow: 0 16px 26px #5c49301a; }
.art-file { display: grid; place-items: center; width: 30px; height: 32px; border-radius: 7px; background: var(--orange); color: #fff; margin-bottom: 13px; }
.art-file svg { width: 18px; height: 18px; }
.art-line { display: block; width: 90%; height: 4px; border-radius: 3px; background: #e1ddd4; margin-bottom: 7px; }
.art-line-title { width: 65%; background: #928777; height: 5px; }
.art-line-short { width: 60%; margin-bottom: 13px; }
.art-check-row { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.art-check-row span { display: grid; place-items: center; width: 12px; height: 12px; color: #ffffff; background: #ff891c; border-radius: 3px; font: 9px Arial, sans-serif; }
.art-check-row i { height: 4px; width: 55px; background: #e1ddd4; border-radius: 3px; }
.art-print { position: absolute; display: grid; place-items: center; width: 60px; height: 60px; left: 32px; top: 125px; border-radius: 17px; transform: rotate(-8deg); background: #ff9d45; color: #fff; box-shadow: 0 8px 20px #5c49301a; }
.art-print svg { width: 28px; height: 28px; }
.art-spark { position: absolute; width: 6px; height: 6px; background: #ffad67; border-radius: 50%; }
.art-spark-one { right: 14px; top: 70px; }
.art-spark-two { left: 26px; top: 49px; width: 4px; height: 4px; background: #b5a48b; }
.welcome-caption { margin: auto 0 0; color: #706c64; font-size: 12px; line-height: 1.6; }
.form-panel { display: flex; align-items: center; padding: 34px 40px; }
.form-content { width: 100%; max-width: 340px; margin: auto; }
.form-eyebrow { color: #706c64; margin-bottom: 10px; }
.form-content h1 { font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -1px; margin: 0 0 10px; }
.form-description { margin: 0 0 24px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.input-wrap { position: relative; }
.input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: #898276; pointer-events: none; }
.field input { width: 100%; height: 44px; padding: 0 42px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fcfcfa; font-size: 14px; }
.field input::placeholder { color: #7b756b; font-size: 14px; }
.field input:is(:hover, :focus, :active) { outline: none; border-color: var(--line); }
.field input:is(:autofill, :-webkit-autofill) { background-color: #fcfcfa; color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); box-shadow: inset 0 0 0 1000px #fcfcfa; }
.input-wrap:focus-within .input-icon { color: var(--orange-dark); }
.password-toggle { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: transparent; color: #7b756b; display: grid; place-items: center; border-radius: 6px; }
.password-toggle:hover { color: var(--ink); background: #f0ede6; }
.password-toggle svg { width: 17px; height: 17px; }
.password-toggle .eye-closed { display: none; }
.password-toggle[aria-pressed='true'] .eye-open { display: none; }
.password-toggle[aria-pressed='true'] .eye-closed { display: block; }
.caps-warning { color: #a45408; font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.login-button { width: 100%; min-height: 44px; display: flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid #f18524; border-radius: 8px; color: #fff; background: var(--orange); font-weight: 650; font-size: 14px; margin-top: 22px; box-shadow: 0 3px 8px #e8821714; transition: background .18s; }
.login-button:hover { background: #f58218; }
.login-button:active { background: #ee7b12; }
.login-button:disabled { opacity: .75; cursor: wait; transform: none; }
button:focus, summary:focus { outline: none; }
button:focus-visible, summary:focus-visible { outline: 1px solid #999084; outline-offset: 2px; }
.field input:focus-visible { outline: 1px solid #b7afa3; outline-offset: -2px; }
.help { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.help summary { min-height: 40px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; list-style: none; padding: 6px 2px; border-radius: 4px; }
.help summary::-webkit-details-marker { display: none; }
.help summary:hover, .help[open] summary { color: inherit; }
.help summary svg { width: 16px; height: 16px; }
.help p { text-align: left; font-size: 12px; line-height: 1.6; background: #f0ede6; border: 0; border-radius: 8px; padding: 10px 12px; margin: 4px 0 0; }
.access-note { display: flex; align-items: center; justify-content: center; gap: 7px; border-top: 1px solid #eeeae3; margin: 16px 0 0; padding-top: 16px; font-size: 11px; line-height: 1.6; color: #7b756b; }
.access-note svg { width: 14px; height: 14px; }
.field-error { color: #a92921; font-size: 13px; line-height: 1.6; margin: 8px 0 0; }
.field-error:focus { outline: none; }
.site-footer { width: 100%; color: #7b756b; padding: 24px 4px 0; font-size: 11px; line-height: 1.6; text-align: center; }
@media (max-width: 920px) {
    .welcome-panel { padding: 30px; }
    .form-panel { padding: 32px; }
    .form-content h1 { font-size: 27px; }
}
@media (max-width: 700px) {
    .page { padding: 24px 18px; }
    .login-layout { max-width: 400px; grid-template-columns: 1fr; border-radius: 22px; }
    .welcome-panel { padding: 25px 30px; }
    .brand { width: 140px; }
    .welcome-copy { margin-top: 20px; }
    .welcome-copy h2 { font-size: 26px; letter-spacing: -.7px; line-height: 1.25; }
    .welcome-copy h2 br { display: none; }
    .eyebrow, .welcome-copy > p:last-child, .workspace-art, .welcome-caption { display: none; }
    .form-panel { padding: 26px; }
    .form-eyebrow { font-size: 9px; margin-bottom: 12px; }
    .form-content h1 { font-size: 27px; }
    .form-description { margin-bottom: 22px; }
    .field input { font-size: 16px; }
    .access-note { margin-top: 18px; padding-top: 18px; }
    .site-footer { font-size: 10px; padding-top: 20px; }
}
@media (max-width: 360px) {
    .page { padding: 16px 12px; }
    .welcome-panel { padding: 23px; }
    .welcome-copy h2 { font-size: 24px; }
    .form-panel { padding: 28px 23px; }
    .form-content h1 { font-size: 24px; }
    .access-note { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
