:root {
    color-scheme: light;
    --ink: #242728;
    --muted: #737776;
    --red: #c22026;
    --line: #dedfda;
    --paper: #faf9f6;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
.login-shell { display: grid; grid-template-columns: 1fr 1.03fr; min-height: 100svh; padding: 28px; gap: 28px; }
.signin-panel { display: flex; flex-direction: column; padding: 24px clamp(24px, 4vw, 70px) 12px; }
.brand-logo { width: 192px; height: 42px; object-fit: contain; object-position: left center; }
.signin-main { width: 100%; max-width: 404px; margin: auto; padding: 56px 0 68px; }
.eyebrow { margin: 0 0 17px; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: 1.8px; text-transform: uppercase; }
.signin-main > .eyebrow { color: var(--red); }
h1 { margin: 0; font-size: clamp(36px, 3.5vw, 48px); letter-spacing: -1.9px; font-weight: 650; line-height: 1.16; }
.signin-intro { margin: 16px 0 38px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.field input { width: 100%; height: 56px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 17px; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; font-size: 15px; }
.field input::placeholder { color: #9a9d99; }
.field input:hover { border-color: #b6b9b3; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px #c2202612; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 58px; }
.password-toggle { display: grid; place-items: center; position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 7px; color: #7c817b; background: transparent; }
.password-toggle:hover { color: var(--ink); background: #f5f5f0; }
.password-toggle svg { width: 20px; height: 20px; }
.password-toggle .eye-off { display: none; }
.password-toggle[aria-pressed="true"] .eye-on { display: none; }
.password-toggle[aria-pressed="true"] .eye-off { display: block; }
:focus-visible { outline: 3px solid #c2202660; outline-offset: 4px; }
.submit-button { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; height: 56px; margin-top: 32px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 5px 12px #a91c2012; transition: background .18s, box-shadow .18s; }
.submit-button:hover { background: #ab1a20; box-shadow: 0 7px 18px #a91c2025; }
.submit-button:disabled { cursor: wait; opacity: .8; }
.submit-arrow { width: 17px; height: 17px; }
.submit-spinner { display: none; width: 17px; height: 17px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.login-form[aria-busy="true"] .submit-arrow { display: none; }
.login-form[aria-busy="true"] .submit-spinner { display: block; }
.signin-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.signin-note svg { width: 13px; height: 13px; color: #83897e; }
.signin-footer { display: flex; justify-content: space-between; gap: 20px; color: #868a84; font-size: 11px; line-height: 1.5; }
.product-panel { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 52px clamp(36px, 4vw, 60px); border-radius: 24px; background: #252b2a; color: #fff; overflow: hidden; }
.product-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(#ffffff13 .8px, transparent .8px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, transparent 5%, #000 55%, transparent); }
.product-content { position: relative; z-index: 1; width: 100%; max-width: 510px; margin: auto; }
.product-panel .eyebrow { color: #bdc4bc; display: flex; align-items: center; gap: 9px; margin-bottom: 22px; letter-spacing: 1.5px; }
.brand-dot { width: 7px; height: 7px; background: #f07574; border-radius: 50%; }
.product-heading { margin: 0; font-size: clamp(37px, 3.6vw, 52px); line-height: 1.13; font-weight: 580; letter-spacing: -1.7px; }
.product-heading span { color: #f38e89; }
.product-intro { max-width: 370px; margin: 20px 0 0; color: #bdc4c0; font-size: 14px; line-height: 1.8; }
.workspace-visual { position: relative; margin: 47px 0 34px; padding: 0 20px 20px 0; }
.workspace-card { position: relative; padding: 22px; border: 1px solid #ffffffb0; border-radius: 15px; background: #fafaf6; color: var(--ink); box-shadow: 0 20px 45px #00000024; transform: rotate(-2deg); }
.workspace-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #e8e9e1; }
.workspace-label { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 650; }
.workspace-symbol { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; background: var(--red); font-size: 13px; font-weight: 700; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 4px; height: 4px; background: #c9ccc3; border-radius: 50%; }
.workspace-title { margin: 18px 0 5px; font-size: 19px; font-weight: 650; letter-spacing: -.4px; }
.workspace-subtitle { margin: 0 0 18px; color: #92968c; font-size: 10px; }
.workspace-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.row-icon { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border: 1px solid #e8e9e2; border-radius: 10px; background: #fff; color: #7b8579; }
.row-icon svg { width: 17px; height: 17px; }
.row-icon.red { color: var(--red); background: #f8eae6; border-color: #f1ded8; }
.workspace-row strong { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 650; }
.workspace-row small { display: block; color: #93988e; font-size: 9px; }
.row-check { display: grid; place-items: center; width: 17px; height: 17px; margin-left: auto; color: #7c8976; background: #eaf0e6; border-radius: 50%; }
.row-check svg { width: 10px; height: 10px; }
.connected-card { position: absolute; bottom: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid #f9b0a2; border-radius: 12px; background: #f9d2c5; color: #703830; box-shadow: 0 12px 28px #00000022; transform: rotate(3deg); }
.connected-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #fff8; }
.connected-icon svg { width: 15px; height: 15px; }
.connected-card strong { display: block; font-size: 11px; font-weight: 650; }
.connected-card small { display: block; margin-top: 4px; font-size: 9px; }
.product-footer { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 0; padding: 0; list-style: none; color: #c8ceca; font-size: 11px; }
.product-footer li { display: flex; align-items: center; gap: 6px; }
.product-footer svg { width: 13px; height: 13px; color: #ed9991; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .login-shell { max-width: 1800px; margin: 0 auto; } }
@media (max-width: 1100px) and (min-width: 861px) {
    .login-shell { gap: 12px; padding: 20px; }
    .signin-panel { padding-left: 20px; padding-right: 28px; }
    .product-panel { padding: 40px 28px; }
    .product-heading { font-size: 38px; }
    .workspace-card { padding: 18px; }
}
@media (max-width: 860px) {
    .login-shell { display: flex; min-height: 100svh; padding: 0; }
    .signin-panel { width: 100%; min-height: 100svh; padding: 30px 28px 24px; }
    .brand-logo { width: 171px; height: 37px; }
    .signin-main { max-width: 420px; padding: 62px 0; }
    .product-panel { display: none; }
    h1 { font-size: 39px; letter-spacing: -1.6px; }
    .signin-intro { margin-bottom: 32px; font-size: 14px; }
    .signin-footer { font-size: 10px; }
}
@media (max-height: 700px) and (max-width: 860px) {
    .signin-main { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
