/* Branded skin around native Frappe login. No authentication selectors removed. */
body[data-path="login"] { background: #f3f6fb; color: #192841; }
body[data-path="login"] .page-content-wrapper { padding: 0; }
body[data-path="login"] .page_content, body[data-path="login"] .page-content { padding: 0; }
body[data-path="login"] .web-page-content { padding: 0; }
body[data-path="login"] .container { max-width: none; padding-inline: 0; }
.sk-auth-shell { --auth-bg:#f3f6fb; --auth-surface:#fff; --auth-ink:#192841; --auth-muted:#52647b; --auth-line:#d9e3ef; --auth-blue:#175eac; --auth-soft:#eaf2fc; --auth-on-blue:#fff; min-height:100svh; padding:clamp(20px,3.5vw,48px) clamp(20px,5vw,88px) 20px; background:var(--auth-bg); color:var(--auth-ink); font-family:system-ui,-apple-system,"Segoe UI",sans-serif; }
[data-theme="dark"] .sk-auth-shell { --auth-bg:#121c2c; --auth-surface:#1c2a40; --auth-ink:#eef4fd; --auth-muted:#b0bfd3; --auth-line:#465973; --auth-blue:#9bc8ff; --auth-soft:#253d5c; --auth-on-blue:#121c2c; }
.sk-auth-brandbar { max-width:1320px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.sk-auth-brand { display:inline-flex; align-items:center; gap:12px; color:var(--auth-ink); text-decoration:none; font-size:17px; line-height:1.1; font-weight:780; letter-spacing:.055em; }
.sk-auth-brand:hover { color:var(--auth-blue); text-decoration:none; }
.sk-auth-brand img { object-fit:contain; flex-shrink:0; }
.sk-auth-brand-caption { display:block; font-size:12px; font-weight:650; letter-spacing:.16em; margin-top:7px; color:var(--auth-muted); }
.sk-auth-theme { min-height:44px; border:1px solid var(--auth-line); border-radius:100px; background:var(--auth-surface); padding:8px 16px; font-size:13px; font-weight:550; color:var(--auth-muted); }
.sk-auth-theme:hover { border-color:var(--auth-blue); color:var(--auth-blue); }
.sk-auth-layout { max-width:1320px; min-height:calc(100svh - 172px); margin:auto; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:center; gap:clamp(32px,5.5vw,88px); }
.sk-auth-visual { min-width:0; padding-top:40px; }
.sk-auth-eyebrow { display:flex; align-items:center; gap:9px; font-size:12px; letter-spacing:.12em; font-weight:700; color:var(--auth-blue); }
.sk-auth-eyebrow>span,.sk-auth-visual-footer>span { width:7px; height:7px; border-radius:50%; background:#219486; flex-shrink:0; }
.sk-auth-visual h2 { color:var(--auth-ink); font-size:clamp(32px,3.45vw,51px); font-weight:760; line-height:1.18; letter-spacing:-.045em; margin:20px 0 18px; text-wrap:balance; }
.sk-auth-visual h2>span { color:var(--auth-blue); }
.sk-auth-description { color:var(--auth-muted); font-size:15px; line-height:1.8; margin:0; }
.sk-auth-scene { position:relative; margin:2px -26px 0 -35px; }
.sk-auth-scene>img { display:block; width:100%; height:auto; max-height:390px; object-fit:contain; }
.sk-auth-scene-tag { position:absolute; left:21%; bottom:7%; display:flex; gap:10px; align-items:center; padding:12px 18px; border:1px solid var(--auth-line); border-radius:14px; background:var(--auth-surface); color:var(--auth-ink); font-size:12px; font-weight:600; box-shadow:0 12px 28px rgb(25 55 100 / 8%); }
.sk-auth-tag-icon { background:#e6f5ee; color:#1f7554; border-radius:50%; width:23px; height:23px; display:grid; place-items:center; }
.sk-auth-visual-footer { display:flex; align-items:center; gap:9px; color:var(--auth-muted); font-size:12px; margin:0 0 24px; }
.sk-auth-panel { padding:42px clamp(28px,4vw,58px) 26px; border:1px solid var(--auth-line); border-radius:26px; background:var(--auth-surface); box-shadow:0 18px 65px rgb(31 61 108 / 7%),0 2px 6px rgb(31 61 108 / 2%); min-width:0; }
.sk-auth-form-wrap { max-width:360px; margin:auto; }
.sk-auth-welcome { font-size:12px; letter-spacing:.13em; font-weight:750; color:var(--auth-blue); }
.sk-auth-intro h1 { color:var(--auth-ink); font-size:30px; line-height:1.25; font-weight:750; letter-spacing:-.035em; margin:12px 0 10px; }
.sk-auth-intro>p { color:var(--auth-muted); font-size:14px; line-height:1.65; margin:0 0 30px; }
.sk-auth-forms :is(section.for-login,section.for-forgot,section.for-email-login,section.for-signup,section.for-login-with-email-link) { margin:0; padding:0; min-height:0; height:auto; width:100%; }
.sk-auth-forms .login-content.page-card { max-width:none; width:100%; min-height:0; height:auto; padding:0; margin:0; background:transparent; border:0; border-radius:0; box-shadow:none; }
.sk-auth-forms .login-content>.page-card-head { display:none; }
.sk-auth-forms .form-signin { margin:0; padding:0; gap:24px; }
.sk-auth-forms .page-card-body { padding:0; gap:20px; }
.sk-auth-forms { --auth-control-line:#7b8ca4; }
[data-theme="dark"] .sk-auth-forms { --auth-control-line:#7386a1; }
.sk-auth-forms .form-group label { color:var(--auth-ink); font-weight:600; font-size:13px; margin-bottom:7px; }
.sk-auth-forms :is(.email-field,.password-field) { width:100%; position:relative; }
.sk-auth-forms input.form-control { background:var(--auth-bg); color:var(--auth-ink); border:1px solid var(--auth-control-line); border-radius:11px; min-height:50px; height:auto; font-size:15px; padding:13px 15px; box-shadow:none; }
.sk-auth-forms input.form-control { background-color:var(--auth-bg) !important; }
.sk-auth-forms .es-button.btn-login-option { background:var(--auth-soft); color:var(--auth-blue); border:1px solid var(--auth-line); }
.sk-auth-forms input::placeholder { color:var(--auth-muted); opacity:1; }
.sk-auth-forms #login_password { padding-right:52px; }
.sk-auth-forms input.form-control:focus { border-color:var(--auth-blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-blue) 12%,transparent); }
.sk-auth-forms a { color:var(--auth-blue); font-weight:550; }
.sk-auth-forms a[href^="#"] { display:inline-flex; align-items:center; min-height:44px; }
.sk-auth-forms .page-card-actions { padding:0; margin:0; gap:12px; }
.sk-auth-forms .es-button { min-height:50px; border-radius:11px; font-size:14px; font-weight:650; }
.sk-auth-forms .es-button[data-variant="solid"] { background:var(--auth-blue); color:var(--auth-on-blue); border:1px solid var(--auth-blue); box-shadow:0 5px 12px rgb(23 94 172 / 13%); }
.sk-auth-forms .es-button[data-variant="solid"]:hover:not(:disabled):not([aria-busy="true"]) { filter:brightness(1.08); }
.sk-auth-forms .es-button[aria-busy="true"] { cursor:wait; }
.sk-auth-forms .es-button:disabled { opacity:.55; cursor:not-allowed; }
.sk-auth-forms .sk-password-toggle { position:absolute; right:4px; top:3px; width:44px; height:44px; border:0; border-radius:8px; color:var(--auth-muted); background:transparent; display:grid; place-items:center; }
.sk-auth-forms .sk-password-toggle .toggle-password { position:static; width:19px; height:19px; margin:0; transform:none; }
.sk-auth-forms .sk-password-toggle:hover { background:var(--auth-soft); color:var(--auth-blue); }
.sk-auth-forms .field-error { color:#b73438; font-size:13px; }
[data-theme="dark"] .sk-auth-forms .field-error { color:#ffb6b8; }
.sk-auth-forms .invalid-login { animation:none !important; }
.sk-auth-forms .sign-up-message { font-size:13px; color:var(--auth-muted); }
.sk-auth-forms #login_token { margin-block:8px 14px; }
.sk-auth-account-note { font-size:12px; line-height:1.8; text-align:center; color:var(--auth-muted); margin:26px 0 0; }
.sk-auth-panel-footer { display:flex; align-items:center; justify-content:center; gap:7px; border-top:1px solid var(--auth-line); margin-top:28px; padding-top:19px; color:var(--auth-muted); font-size:12px; text-align:center; }
.sk-auth-lock { display:flex; flex-shrink:0; }
.sk-auth-footer { max-width:1320px; margin:12px auto 0; display:flex; justify-content:space-between; gap:12px; color:var(--auth-muted); font-size:12px; }
.sk-auth-shell :where(a,button,input):focus-visible { outline:2px solid var(--auth-blue); outline-offset:3px; }
.sk-auth-skip:not(:focus-visible) { position:absolute; width:1px; height:1px; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.sk-auth-skip:focus-visible { position:fixed; z-index:50; top:10px; left:10px; min-height:44px; padding:10px 16px; border:1px solid var(--auth-blue); border-radius:10px; background:var(--auth-surface); color:var(--auth-ink); }
.sk-auth-shell :where(button,a) { touch-action:manipulation; }
.sk-auth-shell button { transition:background-color 120ms ease-out,border-color 120ms ease-out; }
@media (max-width:1000px) { .sk-auth-shell { padding-inline:28px; } .sk-auth-layout { gap:32px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .sk-auth-panel { padding:30px 26px 24px; } .sk-auth-scene { margin-inline:-20px; } .sk-auth-scene-tag { left:12%; font-size:12px; padding:10px 12px; } }
@media (max-width:767px) { .sk-auth-shell { padding:20px 20px calc(20px + env(safe-area-inset-bottom)); } .sk-auth-brand { font-size:15px; gap:9px; } .sk-auth-brand img { width:34px; height:34px; } .sk-auth-brand-caption { font-size:12px; } .sk-auth-theme { padding-inline:12px; font-size:12px; } .sk-auth-layout { display:block; min-height:0; max-width:440px; padding-top:36px; } .sk-auth-visual { display:none; } .sk-auth-panel { padding:30px 24px 22px; border-radius:22px; } .sk-auth-intro h1 { font-size:28px; } .sk-auth-forms input.form-control { font-size:16px; } .sk-auth-footer { max-width:440px; flex-wrap:wrap; justify-content:center; margin-top:26px; text-align:center; } }
@media (max-width:359px) { .sk-auth-shell { padding-inline:14px; } .sk-auth-panel { padding-inline:20px; } .sk-auth-brandbar { gap:8px; } .sk-auth-theme { font-size:12px; padding-inline:9px; } }
@media (prefers-reduced-motion:reduce) { .sk-auth-shell *, .sk-auth-shell *::before, .sk-auth-shell *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
