* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: #172d28; background: #f8faf9; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
.login-layout { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 40% 60%; }
.access-panel { display: flex; align-items: center; justify-content: center; padding: 36px 44px; }
.access-content { width: 100%; max-width: 380px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.6; }
.identity .eyebrow { color: #64756e; margin: 0 0 14px; }
.client-logo { width: auto; height: auto; max-width: 180px; max-height: 66px; object-fit: contain; display: block; }
.brand-fallback { font-weight: 700; font-size: 22px; }
h1 { margin: 24px 0 10px; font-size: clamp(23px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.25; }
.intro { margin: 0 0 27px; font-size: 14px; line-height: 1.7; color: #61716b; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
input { width: 100%; min-width: 0; height: 48px; border: 1px solid #d9e2dd; border-radius: 11px; padding: 0 14px; background: #fff; color: #172d28; font-size: 16px; }
input::placeholder { color: #78867f; font-size: 14px; }
input:focus { border-color: #047857; outline: 3px solid #04785720; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-toggle { position: absolute; top: 2px; right: 3px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #62776d; cursor: pointer; }
.password-toggle svg { width: 20px; height: 20px; fill: currentColor; vertical-align: middle; }
.password-toggle[aria-pressed="true"] { background: #ecfdf5; color: #047857; }
.submit-button { width: 100%; min-height: 48px; display: flex; justify-content: center; align-items: center; gap: 16px; border: 0; border-radius: 11px; padding: 12px 16px; background: #047857; color: white; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 5px 14px #04785717; }
.submit-button:hover { background: #065f46; }
.submit-button:disabled { opacity: .7; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #059669; outline-offset: 4px; }
.help { text-align: center; margin: 17px 0 0; font-size: 13px; }
.help a { color: #047857; text-underline-offset: 4px; }
.error-message { padding: 12px 14px; margin-bottom: 18px; border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 10px; font-size: 14px; }
.provider { border-top: 1px solid #e2e9e5; margin-top: 28px; padding-top: 20px; display: flex; align-items: center; gap: 12px; font-size: 11px; color: #6a7b73; }
.provider-logo { background: #13273d; padding: 7px 10px; border-radius: 8px; }
.provider img { display: block; width: 95px; height: auto; object-fit: contain; }
.overview-panel { display: flex; align-items: center; padding: 40px clamp(32px, 4vw, 84px); color: #f0fdf4; background: radial-gradient(ellipse at 90% 0, #0b624951, transparent 65%), linear-gradient(145deg, #064e3b, #022c22); }
.overview-content { width: 100%; max-width: 830px; margin: auto; }
.overview-panel .eyebrow { margin: 0 0 17px; color: #a7f3d0; }
h2 { margin: 0; font-size: clamp(27px, 2.65vw, 42px); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.overview-description { max-width: 590px; margin: 17px 0 23px; color: #c0d9cd; font-size: 14px; line-height: 1.7; }
.benefits { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; color: #deeee6; font-size: 12px; line-height: 1.5; }
.benefits li { display: flex; align-items: baseline; gap: 10px; }
.benefits li>span { color: #a7f3d0; }
.dashboard-preview { background: #f6faf8; border: 1px solid #ffffff80; color: #193b2e; border-radius: 18px; padding: 18px; box-shadow: 0 24px 65px #001b2045; }
.preview-header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 15px; }
.preview-header strong { display: block; font-size: 13px; font-weight: 650; }
.preview-header div>span { display: block; font-size: 10px; color: #6a7e72; margin-top: 3px; }
.demo-badge { font-size: 9px; color: #426452; background: #e7f0e9; border-radius: 20px; padding: 6px 9px; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.metrics article, .preview-details article { background: #fff; border: 1px solid #e3ebe5; border-radius: 12px; padding: 12px; }
.metrics article>span { font-size: 10px; color: #64796c; }
.metrics strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.04em; margin: 4px 0; }
.metrics small { display: block; font-size: 9px; line-height: 1.4; color: #6f8076; }
.preview-details { display: grid; grid-template-columns: 1.45fr 1fr; gap: 9px; margin-top: 9px; }
h3 { margin: 0 0 10px; font-size: 11px; font-weight: 600; }
.legend { display: flex; gap: 12px; font-size: 9px; color: #047857; }
.legend span+span { color: #64796c; }
.chart { width: 100%; height: 86px; display: block; margin-top: 5px; }
.grid-lines { stroke: #e8eee9; fill: none; }
.customer-line, .subscription-line { fill: none; stroke: #047857; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.subscription-line { stroke: #8aa395; stroke-width: 2.5; }
.months { display: flex; justify-content: space-between; color: #798b80; font-size: 8px; }
.orders>div { display: flex; justify-content: space-between; align-items: center; font-size: 10px; margin-top: 11px; }
.orders>div>span { display: flex; align-items: center; gap: 7px; color: #5b7163; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #d6a742; }
.closed { background: #059669; }.canceled { background: #94a39a; }
.orders p { font-size: 9px; line-height: 1.5; color: #718578; margin: 12px 0 0; }
.finance-strip { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #e8f3ec; }
.finance-icon { width: 28px; height: 28px; border-radius: 8px; background: #d4e9dd; display: grid; place-items: center; color: #047857; }
.finance-strip strong { display: block; font-size: 10px; }.finance-strip div>span { font-size: 9px; color: #607f6c; }
.finance-tag { margin-left: auto; font-size: 9px; color: #426452; }
.overview-footnote { color: #adcfbe; font-size: 11px; margin: 17px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(min-width:761px) and (max-height:820px) {
  .overview-panel { padding-top: 26px; padding-bottom: 26px; }
  .overview-panel .eyebrow { margin-bottom: 12px; }
  .overview-description { margin-top: 12px; margin-bottom: 16px; }
  .benefits { gap: 5px; margin-bottom: 18px; }
  .dashboard-preview { padding: 14px; }
  .metrics article, .preview-details article { padding: 10px; }
  .chart { height: 65px; }
  .overview-footnote { margin-top: 12px; }
}
@media(min-width:1600px) { .overview-panel { padding: 60px 7vw; } .dashboard-preview { padding: 24px; } .benefits { margin: 28px 0; } }
@media(max-width:1000px) and (min-width:761px) { .access-panel { padding: 28px; } .overview-panel { padding: 30px 24px; } .metrics small { display: none; } .finance-tag { display: none; } }
@media(max-width:760px) {
  .login-layout { display: block; }
  .access-panel { padding: 34px 24px; min-height: 650px; min-height: min(100svh, 740px); }
  .access-content { max-width: 400px; }
  h1 { font-size: 26px; }
  .overview-panel { padding: 36px 24px; }
  h2 { font-size: 28px; }
  .dashboard-preview { display: none; }
  .overview-footnote { display: none; }
  .benefits { margin-bottom: 0; font-size: 13px; gap: 12px; }
}
