:root {
  --navy: #25336c;
  --navy-dark: #17244f;
  --red: #ee3037;
  --sky: #73bee2;
  --sky-soft: #e9f6fd;
  --ink: #202f57;
  --muted: #6c7891;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-header { background: var(--navy); color: white; position: relative; z-index: 3; }
.header-wrap { max-width: 1320px; margin: auto; padding: 12px clamp(24px, 5.5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.frb-logo { width: 234px; max-width: 100%; height: 76px; object-fit: contain; object-position: left center; display: block; }
.staff-pill { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .19em; font-weight: 800; color: #eafaff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #91d8fc; box-shadow: 0 0 0 4px #91d8fc21; display: inline-block; flex: none; }

.login-page { background: #f3f9fd; }
.login-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(ellipse 600px 460px at 4% 87%,#cfeafa 0%,transparent 70%),radial-gradient(ellipse 780px 550px at 99% 12%,#d2efff 0%,transparent 73%),linear-gradient(124deg,#f6fbff 6%,#eff8fd 55%,#e6f5fb 100%); }
.login-content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 18px clamp(24px,5.5vw,72px) 22px; flex: 1; display: flex; flex-direction: column; }
.login-grid { flex: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(375px,.91fr); column-gap: clamp(30px,5vw,90px); align-items: center; }
.mascot-column { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding-top: 12px; isolation: isolate; }
.mascot-aura { position: absolute; width: min(90%,530px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 30%,#c7f4ff 0%,#9ed9f6 60%,#77bce8 100%); filter: blur(35px); opacity: .38; z-index: -2; }
.mascot-ring { position: absolute; width: min(84%,435px); aspect-ratio: 1; border-radius: 50%; border: 10px solid #ffffffb8; background: radial-gradient(circle at 30% 28%,#d8f2ff,#a3d8f4 62%,#76b7e3); box-shadow: 0 28px 68px #335a7a24; z-index: -1; }
.mascot-img { display: block; width: min(100%,520px); max-height: min(64vh,540px); object-fit: contain; object-position: center; filter: drop-shadow(0 22px 18px #294e7326); }
.mascot-caption { display: flex; align-items: center; gap: 12px; margin-top: 3px; letter-spacing: .21em; color: #477fa3; font-size: 11px; font-weight: 780; }
.caption-line { width: 27px; height: 2px; background: var(--red); }
.login-card { width: 100%; max-width: 480px; justify-self: center; padding: clamp(28px,3.4vw,48px); border-radius: 24px; background: #fffffff7; border: 1px solid #ffffff; box-shadow: 0 25px 70px #20395f1d, 0 3px 10px #20395f10; }
.card-eyebrow { color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .18em; display: flex; align-items: center; gap: 10px; }
.eyebrow-rule { height: 4px; width: 20px; background: var(--red); border-radius: 20px; }
.login-card h1 { margin: 19px 0 15px; color: var(--navy-dark); font-size: clamp(30px,3.15vw,43px); letter-spacing: -.04em; line-height: 1.12; }
.card-description { font-size: 16px; color: var(--muted); line-height: 1.5; margin: 0 0 31px; }
.login-card label { font-size: 14px; color: var(--ink); display: block; font-weight: 750; margin-bottom: 9px; }
.login-card input { display: block; width: 100%; height: 54px; font-size: 16px; padding: 0 16px; border-radius: 10px; border: 1px solid #bed2e3; color: var(--ink); background: #fff; outline-offset: 3px; }
.login-card input:focus-visible { outline: 2px solid #79bcec; border-color: #246bab; }
.login-card input::placeholder { color: #9baabd; }
.primary-button { margin-top: 16px; height: 54px; width: 100%; background: var(--navy); border: 0; border-radius: 10px; color: white; font-weight: 800; font-size: 16px; box-shadow: 0 8px 20px #25336c20; }
.primary-button:hover { background: var(--navy-dark); }
.primary-button:focus-visible, .logout-button:focus-visible { outline: 3px solid #69baf1; outline-offset: 3px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; font-weight: 800; letter-spacing: .13em; font-size: 10px; color: #8392a8; }
.error { color: #a52235; background: #fff1f3; border: 1px solid #fad5dc; padding: 11px 13px; border-radius: 10px; margin: -10px 0 19px; font-size: 14px; }
.login-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: #7a92a7; font-size: 12px; }

.assistant-page { background: #f0f7fd; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-header .frb-logo { width: 206px; height: 68px; }
.app-controls { display: flex; align-items: center; gap: 23px; }
.employee-status { display: flex; gap: 10px; align-items: center; color: #e8f6ff; font-weight: 690; font-size: 14px; }
.app-controls form { margin: 0; }
.logout-button { border: 1px solid #b5dcf1; background: #ffffff; color: var(--navy); font-weight: 800; padding: 11px 19px; border-radius: 9px; white-space: nowrap; }
.logout-button:hover { background: #eaf8ff; }
.assistant-main { flex: 1; width: 100%; max-width: 1280px; margin: auto; display: flex; align-items: center; padding: clamp(24px,5vw,56px); }
.welcome-card { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,.88fr); align-items: center; gap: 24px; overflow: hidden; border: 1px solid #dce9f7; border-radius: 32px; padding: clamp(26px,5.2vw,70px); background: linear-gradient(115deg,#ffffff 0%,#f3faff 68%,#dcf0ff 100%); box-shadow: 0 24px 65px #243b6415; }
.intro-eyebrow { color: #477dab; font-weight: 820; font-size: 11px; letter-spacing: .2em; }
.welcome-copy h1 { color: var(--navy-dark); font-size: clamp(42px,5.4vw,73px); line-height: 1.04; letter-spacing: -.056em; margin: 18px 0 18px; }
.red-dot { color: var(--red); }
.welcome-copy p { font-size: clamp(18px,1.8vw,21px); max-width: 580px; color: #526887; line-height: 1.6; }
.welcome-copy strong { color: var(--navy); }
.hours-note { display: flex; align-items: center; gap: 11px; color: #6b83a2; font-size: 13px; margin-top: 33px; }
.welcome-copy .privacy-note { font-size: 13px; color: #71829a; margin-top: 17px; }
.welcome-mascot { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; isolation: isolate; }
.welcome-mascot::before { content: ''; background: radial-gradient(circle,#b0ddf5,#a7d2f2 69%,#a7d2f200 70%); width: 87%; aspect-ratio: 1; position: absolute; z-index: -1; border-radius: 50%; }
.welcome-mascot img { display: block; width: 100%; max-height: 425px; object-fit: contain; filter: drop-shadow(0 16px 16px #244a7630); }
.app-footer { max-width: 1280px; width: 100%; margin: auto; display: flex; justify-content: space-between; padding: 17px 48px 25px; font-size: 12px; color: #8da0b7; gap: 15px; }
.setup-note { position: fixed; right: 26px; bottom: 24px; z-index: 10; max-width: 345px; padding: 20px 23px; border: 1px solid #c4d9ef; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 15px 40px #162c4b25; }
.setup-note h2 { margin: 0 0 8px; color: var(--navy-dark); font-size: 19px; }
.setup-note p { margin: 0; font-size: 14px; line-height: 1.55; color: #62738e; }

@media (max-width: 860px) {
  .login-grid { grid-template-columns: minmax(0,.86fr) minmax(330px,1fr); gap: 20px; }
  .login-content { padding-left: 25px; padding-right: 25px; }
  .login-card { padding: 28px; }
  .mascot-img { max-height: 440px; }
  .welcome-card { padding: 35px; }
}

@media (max-width: 670px) {
  .header-wrap { padding: 10px 18px; }
  .frb-logo { width: 174px; height: 60px; }
  .staff-pill { display: none; }
  .login-content { padding: 12px 18px 26px; }
  .login-grid { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
  .mascot-column { padding: 0; width: 100%; }
  .mascot-img { width: min(78%,305px); height: 245px; }
  .mascot-ring { width: 210px; border-width: 7px; }
  .mascot-aura { width: 270px; }
  .mascot-caption { display: none; }
  .login-card { max-width: 460px; padding: 24px 22px; border-radius: 19px; }
  .login-card h1 { font-size: 31px; margin: 14px 0 10px; }
  .card-description { margin-bottom: 21px; }
  .secure-note { margin-top: 19px; }
  .login-footer { justify-content: center; margin-top: 14px; font-size: 11px; }
  .login-footer span:first-child { display: none; }
  .app-header .frb-logo { width: 168px; height: 59px; }
  .employee-status { display: none; }
  .logout-button { padding: 10px 13px; font-size: 14px; }
  .assistant-main { padding: 20px 16px; align-items: flex-start; }
  .welcome-card { display: flex; flex-direction: column-reverse; padding: 21px 21px 28px; border-radius: 21px; gap: 6px; }
  .welcome-mascot { min-height: 210px; }
  .welcome-mascot img { width: min(100%,240px); max-height: 230px; }
  .welcome-copy h1 { font-size: 43px; margin-top: 12px; }
  .welcome-copy p { font-size: 17px; }
  .hours-note { margin-top: 20px; }
  .app-footer { padding: 16px; font-size: 11px; }
  .setup-note { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
