/* ZERO App Portal: company-isolated implementation of supplied ZERO art and palette.
   Figtree interface + selective Playfair headings accepted as an app-specific
   direction 2026-10-21, not a universal corporate typography guide.
   Exact self-hosted, SIL-OFL Latin variable WOFF2 files from pinned brand-system. */
@font-face {
  font-family: Figtree;
  src: url('/fonts/figtree-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url('/fonts/playfair-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --background: #f8faf7;
  --surface: #ffffff;
  --ink: #111b17;
  --muted: #516259;
  --border: #dce6df;
  --green: #286746;
  --green-dark: #153d2b;
  --focus: #286746;
  --zero-supplied-green: #58a480;
  --zero-supplied-gold: #d6bd7d;
  --zero-ui-gold-dark: #685321;
}
body { font-family: Figtree, Arial, Helvetica, sans-serif; }
::selection { background: #d2e9da; color: #153d2b; }
.portal-header { border-top: 4px solid #58a480; border-bottom: 1px solid #dce6df; }
.header-inner { min-height: 112px; gap: 22px; }
.portal-brand { gap: 18px; }
.zero-logo-viewport { width: 212px; height: 72px; overflow: hidden; position: relative; display: block; flex-shrink: 0; }
.zero-logo-image { position: absolute; left: 0; top: 50%; display: block; width: 212px; height: auto; margin: 0; padding: 0; transform: translateY(-50%); }
.brand-divider { height: 31px; border: 0; background: #bfd8c7; }
.brand-product { color: #153d2b; letter-spacing: .02em; }
.portal-main { padding-top: 62px; }
.eyebrow { color: #286746; }
.launcher-heading h1, .auth-card h1, .zero-introduction h2 {
  font-family: Playfair, Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -.55px;
}
.launcher-heading h1 { font-size: clamp(37px, 4vw, 48px); line-height: 1.2; }
.app-grid { gap: 22px; }
.app-card { border-radius: 12px; border-color: #dce6df; box-shadow: 0 3px 20px #07130b05; }
.app-card-available:hover { border-color: #58a480; box-shadow: 0 12px 28px #153d2b16; }
.app-icon-cash { color: #286746; background: #e8f3ea; }
.app-icon-procurement { color: #685321; background: #f6f0df; }
.app-status-available { background: #e8f3e9; color: #285d3c; }
.app-status-coming-soon { background: #f5f1e6; color: #685321; }
.app-card-action { color: #286746; }
.app-card-unavailable { background: #fbfcfa; }
.account-avatar { background: #e8f3e9; border-color: #cfe1d2; color: #286746; }
.sign-out-button { color: #153d2b; }
.sign-out-button:hover:not(:disabled) { background: #eff6ef; border-color: #a5c9ad; }
.footer-workspace > span { background: #58a480; }
.auth-screen:has(.zero-introduction) { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 520px; gap: clamp(28px, 7vw, 88px); }
.zero-introduction { max-width: 475px; }
.zero-introduction::before { content: ''; display: block; width: 52px; height: 5px; background: #d6bd7d; margin-bottom: 32px; border-radius: 1px; }
.zero-introduction h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.12; max-width: 510px; text-wrap: balance; }
.zero-introduction h2 em { font-style: normal; color: #286746; }
.zero-introduction > p:not(.eyebrow) { max-width: 390px; margin-top: 24px; line-height: 1.8; font-size: 15px; color: #516259; }
.zero-introduction .workspace-label { display: inline-flex; align-items: center; gap: 9px; margin-top: 38px; color: #516259; font-size: 12px; }
.zero-introduction .workspace-label > span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #58a480; }
.zero-introduction + .auth-card { padding: 44px 36px; max-width: 465px; background: #fff; border: 1px solid #dce6df; border-radius: 14px; box-shadow: 0 18px 52px #153d2b0b; }
.zero-introduction + .auth-card h1 { font-size: clamp(29px, 3vw, 36px); }
.auth-symbol { background: #e8f3ea; border-color: #cfe1d2; color: #286746; }
.microsoft-button, .primary-button { background: #153d2b; border-color: #153d2b; }
.microsoft-button:hover:not(:disabled), .primary-button:hover:not(:disabled) { background: #245c42; }
.loading-spinner { border-top-color: #286746; }
@media (max-width: 960px) {
  .auth-screen:has(.zero-introduction) { gap: 36px; }
  .zero-introduction h2 { font-size: clamp(38px, 5vw, 52px); }
  .zero-introduction + .auth-card { padding: 34px 28px; }
}
@media (max-width: 760px) {
  .auth-screen:has(.zero-introduction) { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; padding-top: 24px; }
  .zero-introduction { width: 100%; max-width: 460px; }
  .zero-introduction::before { margin-bottom: 22px; }
  .zero-introduction h2 { font-size: clamp(37px, 7vw, 48px); }
  .zero-introduction > p:not(.eyebrow) { margin-top: 14px; }
  .zero-introduction .workspace-label { margin-top: 18px; }
  .zero-introduction + .auth-card { width: 100%; }
}
@media (max-width: 640px) {
  .header-inner { gap: 16px; padding: 12px 24px; min-height: 95px; }
  .portal-brand { gap: 12px; }
  .zero-logo-viewport { width: 154px; height: 56px; }
  .zero-logo-image { width: 154px; }
  .brand-divider { height: 26px; }
  .brand-product { font-size: 12px; }
  .portal-main { padding-top: 40px; }
  .zero-introduction + .auth-card { padding: 30px 24px; }
  .launcher-heading h1 { font-size: 39px; }
}
@media (max-width: 380px) {
  .zero-logo-viewport { width: 136px; height: 48px; }
  .zero-logo-image { width: 136px; }
  .portal-brand { gap: 10px; }
  .brand-product { font-size: 11px; }
  .zero-introduction h2 { font-size: 37px; }
}
