/* Folio sign-in — built on the same color tokens and component language as the application. */
.folio-login { min-height:100svh; }
.folio-login::before { opacity:.35; }
.auth-layout { display:grid; grid-template-columns:258px minmax(0,1fr); min-height:100svh; }
.auth-sidebar { background:var(--sidebar); border-right:1px solid var(--border); padding:30px 20px 24px; display:flex; flex-direction:column; gap:28px; min-height:100svh; position:relative; z-index:1; }
.auth-brand { display:flex; align-items:center; gap:12px; padding:1px 6px 0; }
.auth-brand-mark { width:39px; height:39px; display:grid; place-items:center; flex:0 0 auto; background:var(--accent); color:var(--on-accent); border-radius:12px; box-shadow:inset 0 1px 0 #ffffff30; }
.auth-brand-mark .icon { width:24px; height:24px; }
.auth-brand-type { font-size:29px; font-weight:740; line-height:.98; letter-spacing:-1.3px; }
.auth-brand-type small { display:block; color:var(--muted); font-size:9px; font-weight:550; text-transform:uppercase; letter-spacing:1.35px; line-height:1.7; margin-top:5px; }
.auth-sidebar-middle { margin:auto 0; padding:0 6px; }
.auth-sidebar-middle .eyebrow { color:var(--accent); font-size:10px; letter-spacing:1.45px; }
.auth-sidebar-heading { font-size:31px; font-weight:640; line-height:1.16; letter-spacing:-1.3px; margin:16px 0; }
.auth-sidebar-heading span { color:var(--accent); }
.auth-sidebar-middle>p { color:var(--muted); font-size:12px; line-height:1.85; max-width:204px; }
.auth-sidebar-illustration { height:210px; margin-top:40px; display:flex; align-items:flex-end; justify-content:center; gap:7px; position:relative; padding-bottom:18px; }
.book-shadow { position:absolute; left:14px; right:14px; bottom:9px; height:7px; background:var(--glow); border-radius:50%; filter:blur(7px); }
.book-spine { width:30px; height:130px; border-radius:4px 7px 6px 4px; background:#356c62; border:1px solid #ffffff12; box-shadow:inset 4px 0 #00000015,3px 5px 11px #00000015; position:relative; transform:rotate(-4deg); }
.book-spine i,.book-spine b { height:2px; background:#ffffff50; position:absolute; left:7px; right:7px; top:21px; }
.book-spine b { top:auto; bottom:17px; }
.book-two { height:165px; background:#669b8d; transform:rotate(3deg); }
.book-three { height:142px; background:#b8a176; transform:rotate(-2deg); }
.book-four { height:177px; background:#537d86; transform:rotate(5deg); }
.book-five { height:123px; background:#608b79; transform:rotate(11deg); }
.auth-sidebar-foot { display:flex; align-items:center; font-size:9px; letter-spacing:.8px; font-weight:700; color:var(--muted); padding:15px 6px 0; border-top:1px solid var(--border); gap:7px; }
.status-light,.pill-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); flex-shrink:0; box-shadow:0 0 0 3px var(--accent-soft); }
.auth-side-version { margin-left:auto; font-size:8px; font-weight:500; letter-spacing:.2px; }
.auth-workspace { min-width:0; display:flex; flex-direction:column; }
.auth-topbar { height:76px; background:var(--topbar); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:0 clamp(22px,4vw,56px); gap:14px; position:relative; z-index:2; backdrop-filter:blur(16px); }
.auth-breadcrumb { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:12px; }
.auth-breadcrumb .icon { width:14px; height:14px; }
.auth-breadcrumb strong { color:var(--text); font-weight:650; }
.auth-theme-button { display:flex; align-items:center; gap:9px; padding:8px 12px; min-height:38px; font-size:12px; background:var(--panel); border-color:var(--border); }
.auth-theme-button:hover { background:var(--hover); }
.auth-theme-button .icon { width:16px; height:16px; }
:root[data-theme=light] .sun-icon,:root[data-theme=dark] .moon-icon { display:none; }
.auth-main { padding:28px clamp(22px,4vw,65px) 18px; max-width:none; width:100%; flex:1; display:flex; flex-direction:column; margin:0; animation:enter .3s both; }
.auth-body { display:grid; grid-template-columns:minmax(260px,1fr) minmax(345px,435px); gap:clamp(28px,5vw,95px); width:min(1070px,100%); margin:auto; align-items:center; padding:32px 0; }
.auth-intro { max-width:450px; }
.auth-workspace-pill { display:inline-flex; align-items:center; gap:10px; padding:10px 13px; color:var(--accent); font-size:10px; font-weight:700; letter-spacing:.65px; border:1px solid var(--border); background:var(--accent-soft); border-radius:9px; }
.auth-intro h1 { font-size:clamp(35px,3.8vw,57px); font-weight:650; line-height:1.12; letter-spacing:-2px; margin:24px 0 16px; }
.auth-intro h1>span { color:var(--accent); }
.auth-intro>p { max-width:390px; color:var(--muted); font-size:14px; line-height:1.8; }
.auth-benefits { margin-top:39px; padding-top:24px; border-top:1px solid var(--border); display:grid; gap:20px; }
.auth-benefit { display:flex; gap:13px; align-items:center; }
.auth-benefit-icon { display:grid; place-items:center; width:43px; height:43px; flex:0 0 auto; background:var(--glass); border:1px solid var(--border); color:var(--accent); border-radius:12px; }
.auth-benefit-icon .icon { width:20px; height:20px; }
.auth-benefit strong { display:block; font-size:13px; line-height:1.3; font-weight:650; }
.auth-benefit small { display:block; font-size:11px; margin-top:4px; }
.auth-card { width:100%; padding:34px 34px 29px; border-radius:17px; background:var(--panel); box-shadow:var(--panel-shadow),0 22px 65px #00000012; }
.auth-card-top { display:flex; align-items:center; justify-content:space-between; }
.auth-card-symbol { display:grid; place-items:center; width:46px; height:46px; color:var(--accent); background:var(--accent-soft); border:1px solid var(--border); border-radius:13px; }
.auth-card-symbol .icon { width:22px; height:22px; }
.auth-card-label { color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1.3px; }
.auth-card h2 { font-size:26px; letter-spacing:-.9px; margin:23px 0 6px; font-weight:670; }
.auth-card-subtitle { color:var(--muted); font-size:12px; margin-bottom:30px; }
.auth-form-field { margin-bottom:20px; }
.auth-form-field label { color:var(--text); font-size:12px; font-weight:650; margin-bottom:8px; display:block; }
.auth-input-wrap { position:relative; }
.auth-input-wrap>.icon { position:absolute; color:var(--muted); left:14px; top:50%; transform:translateY(-50%); width:18px; height:18px; pointer-events:none; }
.auth-input-wrap input { padding:13px 48px 13px 43px; min-height:48px; background:var(--input); border:1px solid var(--border); font-size:12px; border-radius:10px; transition:border-color .15s,box-shadow .15s; }
.auth-input-wrap input:focus { outline:0; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.auth-input-wrap input::placeholder { color:var(--muted); opacity:.8; }
.auth-password-button { position:absolute; right:6px; top:50%; transform:translateY(-50%); width:34px; height:34px; min-height:34px; padding:0; border:0; background:transparent; color:var(--muted); }
.auth-password-button:hover { background:var(--hover); color:var(--text); }
.auth-password-button .icon { width:17px; height:17px; }
.auth-remember { display:flex; align-items:center; gap:9px; margin:3px 0 23px; color:var(--muted); font-size:12px; cursor:pointer; }
.auth-remember input { flex:0 0 auto; width:16px; height:16px; min-height:16px; margin:0; }
.auth-submit { width:100%; height:48px; border-radius:10px; font-size:13px; font-weight:650; justify-content:center; gap:12px; }
.auth-submit .icon { width:17px; height:17px; }
.auth-submit:disabled { opacity:.8; }
.auth-error { font-size:12px; color:var(--red); background:var(--red-soft); border:1px solid var(--red-soft); padding:10px 12px; margin:-6px 0 18px; border-radius:9px; }
.auth-error[hidden] { display:none; }
.auth-card-divider { height:1px; width:100%; background:var(--border); margin:27px 0 22px; }
.auth-demo { display:flex; gap:11px; align-items:flex-start; }
.auth-demo-icon { display:grid; place-items:center; width:32px; height:32px; background:var(--accent-soft); border-radius:9px; color:var(--accent); flex:0 0 auto; }
.auth-demo-icon .icon { width:16px; height:16px; }
.auth-demo p { font-size:11px; line-height:1.6; }
.auth-demo strong { display:block; font-size:11px; font-weight:650; color:var(--text); }
.auth-demo p span { display:block; color:var(--muted); }
.auth-footer { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; color:var(--muted); border-top:1px solid var(--border); padding:19px 0 3px; margin-top:auto; }
@media (max-width:1180px) { .auth-layout { grid-template-columns:215px minmax(0,1fr); } .auth-sidebar { padding-inline:16px; } .auth-sidebar-heading { font-size:27px; } .auth-body { gap:32px; grid-template-columns:minmax(235px,1fr) minmax(320px,415px); } .auth-card { padding:30px 27px; } }
@media (max-width:940px) { .auth-layout { grid-template-columns:1fr; } .auth-sidebar { min-height:auto; padding:17px 24px; border-right:0; border-bottom:1px solid var(--border); } .auth-sidebar-middle,.auth-sidebar-foot { display:none; } .auth-brand-mark { width:36px; height:36px; } .auth-brand-type { font-size:25px; } .auth-topbar { height:60px; } .auth-main { min-height:calc(100svh - 128px); } .auth-body { grid-template-columns:minmax(245px,1fr) minmax(335px,1fr); gap:24px; } .auth-intro h1 { font-size:35px; } .auth-benefits { gap:16px; } }
@media (max-width:690px) { .auth-sidebar { padding:15px 20px; } .auth-topbar { padding:0 20px; height:56px; } .auth-theme-button { font-size:11px; } .auth-main { padding:22px 17px 16px; min-height:calc(100svh - 117px); } .auth-body { grid-template-columns:1fr; max-width:450px; gap:20px; padding:10px 0 30px; } .auth-intro { order:0; } .auth-intro h1 { font-size:28px; letter-spacing:-.8px; margin:14px 0 4px; } .auth-intro>p { font-size:12px; line-height:1.6; } .auth-workspace-pill { font-size:9px; padding:7px 9px; } .auth-benefits { display:none; } .auth-card { order:1; padding:27px 23px 25px; } .auth-card h2 { font-size:24px; margin-top:20px; } .auth-card-subtitle { margin-bottom:24px; } .auth-footer { max-width:450px; margin-inline:auto; flex-wrap:wrap; line-height:1.5; } }
@media (max-width:390px) { .auth-theme-button span { display:none; } .auth-theme-button { width:38px; justify-content:center; } .auth-card { padding:24px 19px; } .auth-brand-type { font-size:23px; } }
@media (prefers-reduced-motion:reduce) { .auth-main { animation:none; } }
