﻿body.initial-body { overflow: auto; background: #f7f8f9; }
.login-screen, .initial-menu-screen { position: relative; min-height: 100dvh; overflow: hidden; font-family: "Poppins", sans-serif; }
.login-screen { display: grid; place-items: center; padding: 34px 20px; background: #f7f8f9; }
.login-card { position: relative; z-index: 1; width: min(100%, 420px); padding: 34px 32px 30px; border-radius: 3px; background: rgb(255 255 255 / 96%); box-shadow: 0 14px 36px rgb(5 29 70 / 14%); }
.brand-mark { display: flex; align-items: center; gap: 10px; color: var(--navy-950); font-size: 12px; line-height: 1.06; }
.brand-mark span { font-size: 35px; font-weight: 700; letter-spacing: -4px; }.brand-mark i { width: 2px; height: 34px; background: var(--amber-500); }.brand-mark strong { font-size: 12px; letter-spacing: .2px; }
.login-card h1 { margin: 45px 0 24px; color: var(--navy-950); font-size: 22px; font-weight: 600; }
.initial-field { position: relative; display: block; margin-top: 16px; }.initial-field span { position: absolute; top: -9px; left: 14px; padding: 0 4px; color: #65686c; background: #fff; font-size: 11px; }.initial-field input { width: 100%; height: 48px; padding: 10px 14px; border: 1px solid #cfd2d6; border-radius: 5px; color: var(--text-primary); background: #fff; outline: 0; }.initial-field input:focus { border-color: var(--amber-500); box-shadow: 0 0 0 2px rgb(233 169 27 / 18%); }.password-field input { padding-right: 45px; }.password-field button { position: absolute; right: 10px; bottom: 7px; width: 34px; height: 34px; border: 0; color: #777; background: transparent; }
.login-options { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 26px; color: #54575b; font-size: 11px; }.login-options label { display: flex; align-items: center; gap: 4px; }.login-options input { accent-color: var(--amber-500); }.link-button { padding: 0; border: 0; color: var(--navy-950); background: transparent; font-size: inherit; text-decoration: underline; }.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 18px 0 25px; border: 0; border-radius: 4px; color: #fff; background: linear-gradient(100deg, #dfa017, #efb525); font-size: 14px; font-weight: 700; }.login-submit span { font-size: 26px; font-weight: 400; }.initial-status { min-height: 18px; margin: 10px 0 0; color: var(--navy-950); font-size: 11px; }
.initial-menu-screen { box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 0 24px 40px; background: #fff; }.initial-header { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }.initial-round-button { width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--navy-950); font-size: 25px; }.welcome-banner { position: relative; margin: 2px 0 22px; padding: 20px 48px 18px 24px; border-radius: 12px; color: #fff; background: var(--navy-950); }.welcome-banner h2 { margin: 0 0 7px; font-size: 17px; }.welcome-banner p { max-width: 740px; margin: 0; font-size: 11px; line-height: 1.6; }.welcome-banner p:not(.is-expanded) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.banner-more, .banner-close { border: 0; color: #fff; background: transparent; }.banner-more { margin-top: 8px; padding: 0; font-size: 11px; text-decoration: underline; }.banner-close { position: absolute; top: 12px; right: 14px; font-size: 24px; }.module-grid, .module-subgrid, .shortcut-grid { display: grid; gap: 16px; }.module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.module-subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.shortcut-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }.module-card { position: relative; min-height: 142px; border: 1px solid #dedfdf; border-radius: 10px; background: #e9e9e7; box-shadow: 0 3px 12px rgb(0 0 0 / 6%); }.module-card.is-selected { border-color: var(--amber-500); }.module-open { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; min-height: 142px; padding: 20px 32px; border: 0; color: var(--navy-950); background: transparent; text-align: center; }.module-icon { display: grid; place-items: center; font-size: 25px; }.module-card strong { max-width: 220px; font-size: 13px; line-height: 1.3; }.favorite-button { position: absolute; right: 10px; bottom: 8px; width: 29px; height: 29px; border: 0; border-radius: 50%; color: #fff; background: #1a65b7; font-size: 21px; line-height: 1; }
@media (max-width: 299px) { .module-grid, .module-subgrid { grid-template-columns: 1fr; }.shortcut-grid { gap: 8px; }.shortcut-grid .module-card { min-height: 105px; }.shortcut-grid .module-open { min-height: 105px; }.login-screen { padding: 18px 12px; } }
@media (min-width: 800px) { .module-grid, .module-subgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.module-card { min-height: 176px; }.module-open { min-height: 176px; } }

/* Raster background derived from the approved login prototype; controls remain live HTML. */
body.login-body { background: var(--navy-950); }
.login-screen { display: block; width: 100%; min-height: 100dvh; margin: 0; padding: 0; background-color: var(--navy-950); background-image: url("../../Content/assets/login/login-background-v1.png"); background-repeat: no-repeat; background-position: center top; background-size: 100% 100%; }
.login-card { position: absolute; inset: 0; width: 100%; max-width: none; padding: 0 13%; background: transparent; box-shadow: none; }
.brand-mark { position: absolute; top: 12%; left: 13%; color: var(--navy-950); transform: scale(1.22); transform-origin: left top; }.brand-mark span { color: var(--amber-500); }
.login-card h1.sr-only { display: block; margin: -1px; }
.login-card form { position: absolute; right: auto; bottom: clamp(32px, 7dvh, 64px); left: 50%; width: min(74%, 568px); transform: translateX(-50%); }
.initial-field { margin-top: 10px; }.initial-field span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }.initial-field input { height: 48px; padding-left: 43px; border: 0; border-radius: 4px; background: #fff; }.initial-field input::placeholder { color: #777; opacity: 1; }.initial-field > svg { position: absolute; z-index: 1; top: 13px; left: 14px; width: 21px; height: 21px; fill: none; stroke: var(--navy-950); stroke-width: 1.5; }.password-field button { bottom: 7px; }.password-field button svg { width: 20px; height: 20px; fill: none; stroke: #777; stroke-width: 1.5; }.login-options { margin: 14px 0 16px; color: #fff; }.login-options .link-button { color: #fff; }.login-submit { height: 46px; }
.initial-menu-screen { min-height: 100dvh; }
.login-header { height: 112px; min-height: 112px; padding: 0; }
.login-card { z-index: 2; }
.initial-menu-screen[data-view="submenu"] .back-button { background: transparent; }
.initial-menu-screen[data-view="submenu"] .back-button::before { content: none; }
.initial-menu-screen[data-view="menu"] #menu-hamburger { left: var(--back-button-left); right: auto; top: calc(var(--back-button-top) + env(safe-area-inset-top)); width: var(--back-button-size); height: var(--back-button-size); border-radius: 50%; background: #fff; }
.initial-menu-screen[data-view="menu"] #menu-hamburger span { width: 23px; height: 3px; background: var(--navy-950); }
.initial-menu-screen[data-view="menu"] .initial-header-copy { max-width: calc(100% - 96px); }
.initial-menu-screen .initial-status:empty { display: none; }
.module-card { overflow: hidden; }.module-card::before { content: ""; position: absolute; top: 0; right: 0; width: 25px; height: 25px; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 0); z-index: 2; }.module-icon { border-radius: 0; width: 44px; height: 44px; color: #73777c; background: transparent; }.module-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.favorite-button { top: 0; right: 0; bottom: auto; width: 35px; height: 35px; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 76%); background: var(--navy-950); font-size: 23px; z-index: 3; }.module-card.is-selected .favorite-button { color: #fff; }
.initial-menu-screen[data-view="submenu"] .module-grid { display: block; }.initial-menu-screen[data-view="submenu"] .shortcut-grid, .initial-menu-screen[data-view="submenu"] .module-subgrid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-card { min-height: 110px; color: #fff; background: var(--navy-950); }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-open { min-height: 110px; color: #fff; }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-card::before { background: #fff; }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-icon { color: #fff; }.initial-menu-screen[data-view="submenu"] .module-subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }.initial-menu-screen[data-view="submenu"] .module-subgrid .module-card.is-selected { color: #fff; background: var(--navy-950); }.initial-menu-screen[data-view="submenu"] .module-subgrid .module-card.is-selected .module-icon { color: #fff; }
@media (max-width: 430px) { .login-card { padding: 0 10.5%; }.brand-mark { top: 58px; left: 13%; transform: scale(1.35); }.login-card form { right: auto; bottom: clamp(32px, 7dvh, 64px); left: 50%; width: 79%; transform: translateX(-50%); }.initial-menu-screen { padding-right: 14px; padding-left: 14px; }.welcome-banner { margin-bottom: 16px; padding: 16px 40px 14px 18px; }.module-grid { gap: 11px; }.module-subgrid { gap: 11px; }.module-card, .module-open { min-height: 114px; }.module-card strong { font-size: 11px; }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-card { min-height: 105px; }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-open { min-height: 105px; padding: 10px 2px; }.initial-menu-screen[data-view="submenu"] .shortcut-grid .module-card strong { font-size: 10px; }.initial-menu-screen[data-view="submenu"] .module-subgrid .module-card, .initial-menu-screen[data-view="submenu"] .module-subgrid .module-open { min-height: 114px; } }

/* The initial screens share the product header geometry used by index.html. */
.initial-menu-screen .header-yellow-shape { width: var(--header-art-width); height: var(--header-art-height); }
.initial-header { min-height: calc(112px + env(safe-area-inset-top)); margin-inline: -24px; padding: 0; }
.initial-header-copy { position: absolute; z-index: 2; top: calc(50px + env(safe-area-inset-top)); left: 140px; }
.initial-header-copy p, .initial-header-copy h1 { margin: 0; }
.initial-header-copy p { color: #777b80; font-size: 12px; }
.initial-header-copy h1 { color: var(--text-primary); font-size: clamp(24px, 2.35vw, 32px); line-height: 1.1; }
.initial-menu-trigger { display: grid; }
.initial-menu-trigger[hidden] { display: none; }
.initial-menu-trigger span { display: block; width: 25px; height: 4px; border-radius: 4px; background: var(--navy-950); }
.initial-menu-screen .back-button { background: var(--navy-950); }
.initial-menu-screen .back-button::before { content: ""; width: 15px; height: 15px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg) translate(2px,-2px); }
.module-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; overflow: visible; }
.favorite-button { display: grid; place-items: center; }
@media (max-width: 767px) {
  .login-header { height: 96px; min-height: 96px; }
  .initial-header { min-height: calc(96px + env(safe-area-inset-top)); margin-inline: -14px; }
  .initial-header-copy { top: calc(45px + env(safe-area-inset-top)); left: 84px; max-width: calc(100% - 96px); }
  .initial-header-copy h1 { overflow: hidden; font-size: clamp(19px, 6vw, 26px); text-overflow: ellipsis; white-space: nowrap; }
  .initial-menu-screen[data-view="submenu"] .initial-header-copy { left: 84px; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .login-screen { width: 100%; background-size: 100% 100%; }
  .login-card { padding: 0 4%; }
  .login-header { position: absolute; inset: 0 auto 0 0; width: 42%; height: 100%; min-height: 0; }
  .brand-mark { top: 28px; left: 6%; transform: scale(.9); }
  .login-card form { top: 50%; right: 4%; bottom: auto; left: auto; width: min(50%, 360px); transform: translateY(-50%); }
  .initial-field { margin-top: 7px; }
  .initial-field input { height: 42px; }
  .initial-field > svg { top: 10px; }
  .password-field button { bottom: 4px; }
  .login-options { margin: 8px 0 10px; }
  .login-submit { height: 42px; }
  .initial-status { min-height: 12px; margin-top: 4px; }
}

@media (orientation: landscape) and (max-height: 360px) {
  .brand-mark { top: 20px; transform: scale(.88); }
  .initial-field input { height: 38px; }
  .initial-field > svg { top: 8px; }
  .password-field button { bottom: 2px; }
  .login-options { margin: 5px 0 7px; }
  .login-submit { height: 38px; }
}

@media (orientation: portrait) and (min-height: 700px) {
  .login-card form { top: 53dvh; bottom: auto; }
}
.mobile-environment-note { margin: 6px 0 0; color: #fff; font-size: 11px; line-height: 1.4; text-align: center; }
.login-desktop-fallback { color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
