/* Standalone design; all artwork is CSS or inline SVG. */
:root { --paper: #f6f5ef; --ink: #292e28; --accent: #344f3d; --field: #fffefa; --muted: #535c53; --border: #838b80; --button-ink: #ffffff; --error: #a42424; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; min-height: 100dvh; }
a { color: var(--accent); text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; max-width: 1600px; margin: auto; }
.scene { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: 30px; justify-content: space-between; min-width: 0; }
.brand { font-size: 13px; font-weight: 650; letter-spacing: 2px; }
.scene h2 { margin: 15px 0; font-size: 66px; line-height: 1; letter-spacing: -3px; }
.scene-footer { font-size: 12px; max-width: 260px; }
.scene-art { display: contents; }
.form-area { display: flex; align-items: center; justify-content: center; padding: 60px 48px; min-width: 0; }
.login-card { width: 100%; max-width: 390px; min-width: 0; }
.eyebrow { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 20px; }
.login-header { margin-bottom: 28px; }
.login-header h1 { font-size: 38px; line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 12px; }
.login-header p { font-size: 14px; color: var(--muted); margin: 0; }
.form-group { margin: 0 0 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.input-wrapper { position: relative; }
input:not([type="checkbox"]) { width: 100%; min-width: 0; height: 52px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: var(--field); font-size: 16px; line-height: 24px; text-transform: none; }
input#password { padding-right: 56px; }
.login-card input[aria-invalid="true"] { border-color: var(--error); }
.password-toggle { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.eye-icon { width: 20px; height: 20px; }
.error-message { display: block; color: var(--error); font-size: 13px; line-height: 1.5; margin-top: 6px; overflow-wrap: anywhere; }
.error-message:empty { display: none; }
.form-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; font-size: 12px; }
.checkbox-wrapper { display: flex; align-items: center; gap: 8px; min-height: 24px; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.login-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 18px; width: 100%; border: 0; border-radius: 8px; color: var(--button-ink); background: var(--accent); font-weight: 650; cursor: pointer; }
.login-btn:disabled { cursor: wait; }
.btn-loader { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.loading .btn-loader { display: block; animation: spin 1s linear infinite; }
.auth-navigation { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; }
.auth-demo, .auth-help { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 18px 0; overflow-wrap: anywhere; }
.auth-help { border-left: 2px solid var(--border); padding-left: 12px; }
.success-message { display: none; padding: 24px 0; }
.success-message.show { display: block; }
.success-message h3 { font-size: 28px; line-height: 1.2; }
.success-icon { font-size: 32px; color: var(--accent); }
.form-status { margin-top: 16px; font-size: 13px; }
.form-status:empty { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ceramic Studio composition */
:root{--paper:#f9f4ec;--ink:#473829;--accent:#8a4130}.scene{background:#e8c7a7}.scene h2{font:400 64px/1.02 Georgia,serif;letter-spacing:-3px}.vessels{position:relative;display:flex;align-items:end;justify-content:center;height:280px;border-bottom:1px solid #8a6650;padding-bottom:32px}.vessels i{display:block;width:105px;height:150px;border-radius:35% 35% 42% 42%;background:#9b513b;box-shadow:inset -22px 0 #00000015}.vessels i:nth-child(2){height:225px;width:100px;background:#e6e0cc;border-radius:25% 25% 35% 35%;margin:0 -8px}.vessels i:nth-child(3){height:90px;width:110px;background:#6f7763;border-radius:10% 10% 45% 45%}.vessels span{position:absolute;bottom:0;font:10px monospace;letter-spacing:2px}.login-card input,.login-btn{border-radius:24px!important}.login-header h1{font-family:Georgia,serif;font-weight:400}

/* Keep the artwork as a compact identity band; controls always remain in flow. */
@media (max-width: 760px) {
    .shell { display: flex; flex-direction: column; min-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; gap: 0; }
    .scene { min-height: 0; padding: 24px; gap: 12px; border-radius: 0; border-left-width: 12px; border-right: 0; }
    .scene h2 { font-size: 40px; line-height: 1; letter-spacing: -1.5px; margin: 8px 0; }
    .scene h2 br { display: none; }
    .scene h2 br::after { content: " "; }
    .scene-art, .scene-footer { display: none; }
    .scene .brand { font-size: 11px; }
    .form-area { padding: 36px 24px!important; }
    .login-card { max-width: 440px; }
    .login-header h1 { font-size: 34px; }
}
@media (max-width: 380px) {
    .form-area { padding: 28px 16px!important; }
    .login-card { padding: 20px 16px; }
    .scene h2 { font-size: 34px; }
    .form-options { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
