/* Login-only canvas. The shared admin styles and authentication flow stay intact. */
.auth-page { background: #f7f9ff; padding: 0; display: block; place-items: normal; }
.auth-shell { width: 100%; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(450px, 1fr); }
.auth-story { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 40px clamp(32px, 5vw, 88px) 28px; color: #fff; background: radial-gradient(ellipse at 8% 4%, #2759c8 0, transparent 48%), radial-gradient(ellipse at 95% 75%, #2460bbaa 0, transparent 55%), linear-gradient(145deg, #142f74, #0d1e4a 78%); }
.auth-story::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#c2deff06 1px, transparent 1px), linear-gradient(90deg, #c2deff06 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); }
.auth-story::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -340px; top: 110px; border: 1px solid #9dbfff16; border-radius: 50%; box-shadow: 0 0 0 90px #9dbfff05, 0 0 0 180px #9dbfff04; }
.story-brand { width: fit-content; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.story-brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 12px #071b4860); }
.story-brand > span { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.story-brand small { display: block; margin-top: 5px; color: #bbccef; font-size: 11px; font-weight: 400; letter-spacing: 2px; }
.story-content { width: 100%; max-width: 640px; margin: auto; padding: 22px 0 20px; }
.story-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #c4d8ff; font-size: 13px; letter-spacing: .5px; line-height: 1.7; }
.story-eyebrow > span { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #8ce8eb; box-shadow: 0 0 12px #8ce8eb70; }
.auth-story h2 { margin: 0; font-size: clamp(34px, 3.3vw, 56px); line-height: 1.34; font-weight: 700; letter-spacing: -1.8px; }
.auth-story h2 > span { color: #93e8f0; }
.story-description { margin: 18px 0 24px; max-width: 440px; color: #bbccee; font-size: 14px; line-height: 1.9; }
.profit-scene { position: relative; padding-right: 24px; }
.scene-caption { display: flex; justify-content: space-between; padding: 0 3px 12px; color: #9db5df; font-size: 10px; letter-spacing: 1.5px; }
.scene-caption span:first-child { color: #c3d6f6; letter-spacing: 2px; }
.profit-board { position: relative; padding: 22px 26px 26px; border: 1px solid #9fbeff38; border-radius: 18px; background: linear-gradient(125deg, #779eeb18, #2342763d); box-shadow: 0 24px 45px #07132e40, inset 0 1px 0 #dbeaff12; }
.board-heading { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #d4e2ff; }
.board-heading > span:first-child { display: flex; align-items: center; gap: 8px; }
.board-heading i { display: block; width: 12px; height: 12px; border: 3px solid #a2c2ff; border-radius: 4px; }
.board-period { border: 1px solid #bfdaff22; border-radius: 6px; padding: 5px 10px; font-size: 10px; color: #9fb7dc; }
.board-period b { margin-left: 12px; }
.board-metrics { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 12px; }
.board-metrics > div > span { display: block; font-size: 11px; color: #a6bdde; }
.board-metrics strong { display: block; margin-top: 6px; font-size: clamp(27px, 2.5vw, 39px); font-weight: 600; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.board-metrics strong small { font-size: .48em; color: #aac3eb; font-weight: 400; }
.profit-amount { display: inline-flex; vertical-align: bottom; align-items: center; }
.profit-digit { display: inline-block; width: .64em; height: 1.2em; overflow: hidden; line-height: 1.2; }
.profit-digit-track { display: block; will-change: transform; }
.profit-digit-track > span { display: block; height: 1.2em; line-height: 1.2; text-align: center; }
.profit-digit-separator { display: inline-block; width: .3em; line-height: 1.2; }
.board-trend { text-align: right; }
.board-trend strong { font-size: 11px; letter-spacing: 0; color: #86e3d6; }
.profit-chart { position: relative; height: 110px; padding: 8px 0 22px 30px; }
.chart-grid { position: absolute; inset: 0 0 22px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid span { font-size: 9px; color: #849cc4; background: linear-gradient(#bdd7ff14, #bdd7ff14) no-repeat right center / calc(100% - 30px) 1px; }
.profit-chart svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.profit-scene[data-preview-state="complete"] .chart-marker-halo { transform-box: fill-box; transform-origin: center; animation: chart-marker-breathe 3s ease-in-out infinite; }
@keyframes chart-marker-breathe { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.45); opacity: 1; } }
.chart-dates { position: absolute; bottom: 0; right: 0; left: 30px; display: flex; justify-content: space-between; font-size: 9px; color: #9db2d4; }
.board-breakdown { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 10px; color: #b6c9e7; }
.board-breakdown > span { display: flex; align-items: center; gap: 5px; }
.board-breakdown i { background: #73a5ff; }
.board-breakdown span i { width: 5px; height: 5px; border-radius: 50%; }
.board-breakdown > span:nth-child(2) i, .board-breakdown > div i:nth-child(2) { background: #70d0d3; }
.board-breakdown > span:nth-child(3) i, .board-breakdown > div i:nth-child(3) { background: #8b87ee; }
.board-breakdown > div { display: flex; flex-basis: 100%; gap: 4px; height: 5px; }
.board-breakdown > div i { flex: 6; border-radius: 4px; }
.board-breakdown > div { transform-origin: left center; }
.board-breakdown > div i:nth-child(2) { flex: 3; }
.board-breakdown > div i:nth-child(3) { flex: 1; }
.flow-card { position: relative; display: flex; align-items: center; gap: 12px; width: min(345px, calc(100% - 18px)); margin: -16px -24px 0 auto; padding: 16px; border: 1px solid #b3d3ff44; border-radius: 12px; background: #eaf4ff; color: #203963; box-shadow: 0 12px 36px #07173840; }
.flow-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: #d8e8fe; color: #3671d9; font-size: 22px; }
.flow-card strong { display: block; font-size: 12px; }
.flow-card div > span { display: block; margin-top: 5px; font-size: 10px; color: #7b8ca7; }
.flow-nodes { display: flex; gap: 5px; margin-left: auto; }
.flow-nodes i { width: 5px; height: 5px; border-radius: 50%; background: #4686dc; }
.flow-nodes i:nth-child(2) { background: #68afc8; }
.flow-nodes i:nth-child(3) { background: #77c5bb; }
.scene-note { margin: 12px 0 0 3px; color: #859cc3; font-size: 9px; letter-spacing: .5px; }
.story-capabilities { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: #c5d6f1; font-size: 11px; }
.story-capabilities span::before { content: "✓"; margin-right: 6px; color: #87cfe5; }
.story-footer { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #91a7cc; }
.story-footer > span:last-child { font-size: 8px; letter-spacing: 1px; }
.auth-access { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px clamp(32px, 5vw, 88px) 24px; background: radial-gradient(ellipse at 100% 0, #e8eeff70, transparent 65%), #fafbff; }
.auth-card, .auth-card.registration-mode { width: 100%; max-width: 400px; margin: auto 0; padding: 28px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.auth-welcome { display: flex; align-items: center; gap: 12px; color: #8b98b0; font-size: 12px; }
.auth-welcome .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
.auth-card h1 { margin: 26px 0 10px; font-size: clamp(23px, 2vw, 29px); font-weight: 700; letter-spacing: -.8px; color: #172c50; }
.auth-card > .muted { margin: 0; color: #8591a6; font-size: 13px; line-height: 1.8; }
.auth-card form { gap: 16px; margin-top: 28px; }
.auth-card label { gap: 9px; color: #4e5d75; font-size: 12px; line-height: 1.5; }
.auth-card input { min-height: 50px; padding: 13px 15px; border: 1px solid #dce3ef; border-radius: 10px; font-size: 14px; background: #fff; box-shadow: 0 2px 3px #182d5010; transition: border-color .15s, box-shadow .15s; }
.auth-card input::placeholder { color: #a0abbc; font-size: 13px; }
.auth-card input:focus { border-color: #537cf0; outline: 3px solid #2d64ff15; box-shadow: none; }
.auth-card button { min-height: 46px; font-size: 14px; border-radius: 10px; }
.auth-card button[type="submit"] { margin-top: 5px; background: linear-gradient(110deg, #3065ed, #3454dc); box-shadow: 0 6px 16px #3864db26; transition: box-shadow .15s, background .15s; }
.auth-card button[type="submit"]:hover { background: #244fcf; box-shadow: 0 8px 20px #3864db35; }
.auth-card .text-button { min-height: 24px; padding: 0; color: #6e7d97; font-size: 12px; }
.auth-password { position: relative; }
#forgot-button { position: absolute; top: -3px; right: 0; font-size: 11px; }
.auth-card .register-button { margin-top: 2px; border: 1px solid #dce3f1; background: transparent; color: #4f6695; font-size: 13px; }
.auth-card .register-button:hover { background: #eff4ff; border-color: #abc3f7; }
.auth-card button:focus-visible, .story-brand:focus-visible, .auth-support a:focus-visible, .auth-footer a:focus-visible { outline: 3px solid #7db2ff; outline-offset: 4px; }
.auth-card form h2 { margin: 0; color: #20395f; font-size: 21px; }
.auth-card .message { margin: 14px 0; font-size: 12px; overflow-wrap: anywhere; }
.auth-card .message:empty { display: none; }
.auth-support { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 14px 18px; border: 1px solid #e4eaf4; border-radius: 14px; background: #fff; }
.support-eyebrow { display: block; font-size: 10px; color: #8f9eb5; letter-spacing: 1px; margin-bottom: 10px; }
.support-copy strong { color: #405b86; font-size: 12px; }
.support-copy p { margin: 10px 0 0; font-size: 10px; line-height: 1.9; color: #929fb3; }
.auth-support > a { display: block; width: 126px; flex-shrink: 0; color: #8091ad; text-align: center; text-decoration: none; }
.auth-support img { display: block; width: 100%; height: auto; }
.auth-support a > span { display: block; font-size: 9px; margin-top: 3px; }
.auth-footer { display: grid; gap: 8px; margin-top: 24px; text-align: center; font-size: 10px; color: #9da8bb; line-height: 1.6; }
.auth-footer a { color: #8a98ad; text-decoration: none; }
.auth-footer a:hover { color: #426cc9; text-decoration: underline; }
.auth-card.registration-mode form { gap: 15px; margin-top: 24px; }
.auth-card.registration-mode h1 { margin-top: 18px; }
@media (min-width: 1600px) { .auth-story { padding-top: 52px; padding-bottom: 36px; } .story-content { padding: 60px 0; } .profit-chart { height: 160px; } .profit-board { padding: 26px 30px 30px; } .story-description { margin-bottom: 40px; font-size: 16px; } }
@media (max-width: 1100px) { .auth-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr); } .auth-story { padding: 28px 32px; } .auth-access { padding: 40px 36px 24px; } .story-content { padding: 40px 0 28px; } .auth-story h2 { font-size: 36px; } .story-footer > span:last-child { display: none; } .story-capabilities { gap: 10px 14px; } .profit-board { padding: 18px; } .board-metrics strong { font-size: 28px; } .flow-card { padding: 12px; } }
@media (min-width: 801px) and (max-height: 820px) { .auth-access { padding-top: 20px; padding-bottom: 16px; } .auth-card { padding: 12px 0; } .auth-card h1 { margin-top: 18px; } .auth-card form { margin-top: 22px; gap: 12px; } .auth-card input { min-height: 44px; padding: 11px 14px; } .auth-card button { min-height: 44px; } .auth-card .text-button { min-height: 24px; } .auth-support { margin-top: 18px; padding: 12px 16px; } .auth-support > a { width: 112px; } .auth-footer { margin-top: 16px; } .auth-story { padding-top: 28px; padding-bottom: 24px; } .story-content { padding-top: 14px; padding-bottom: 12px; } .auth-story h2 { font-size: 36px; } .story-eyebrow { margin-bottom: 14px; } .story-description { margin-top: 14px; margin-bottom: 20px; } .profit-chart { height: 85px; } .profit-board { padding: 18px 22px; } .board-metrics { margin-top: 14px; } .board-metrics > div:first-child strong { font-size: 31px; } .story-capabilities { margin-top: 18px; } }
@media (max-width: 800px) { .auth-shell { grid-template-columns: 1fr; } .auth-story { padding: 24px max(24px, calc((100vw - 480px) / 2)); } .story-brand img { width: 36px; height: 36px; } .story-brand > span { font-size: 20px; } .story-brand small { font-size: 9px; } .story-content { padding: 28px 0 4px; margin: 0; } .story-eyebrow { margin-bottom: 12px; font-size: 11px; } .auth-story h2 { font-size: 32px; letter-spacing: -1px; } .story-description { margin: 12px 0 0; font-size: 12px; } .profit-scene, .story-capabilities, .story-footer { display: none; } .auth-access { padding: 16px 28px 24px; } .auth-card, .auth-card.registration-mode { max-width: 440px; padding: 24px 0 8px; } .auth-welcome { display: none; } .auth-card h1 { margin: 0 0 8px; font-size: 23px; } .auth-card.registration-mode h1 { margin-top: 0; } .auth-card form { margin-top: 26px; } .auth-footer { margin-top: 28px; } }
@media (max-width: 380px) { .auth-story { padding: 22px; } .auth-story h2 { font-size: 28px; } .auth-access { padding-right: 22px; padding-left: 22px; } .story-description { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .auth-card input, .auth-card button[type="submit"] { transition: none; } .profit-scene .chart-marker-halo { animation: none !important; } }
