/* GuideWell login + landing shell.
 *
 * Transcribed from Data-Query-Compare's style.css so the two VESA apps look
 * identical: warm-parchment page, spruce-teal accents, hairline borders, a
 * split login with the Kyndryl wordmark on a teal hero. Token names and values
 * are KP's, verbatim, so a future re-theme of one can be pasted into the other.
 *
 * Fonts differ in ONE way: KP loads Roboto / IBM Plex from Google Fonts. This
 * app must load nothing external (GuideWell staff sit behind a corporate
 * proxy), so the same families come from /static/fonts/fonts.css, vendored at
 * build time. Same faces, same weights, zero network.
 */
@import url("/static/fonts/fonts.css");

:root {
  --shidoka-primary: #2E8894;
  --shidoka-primary-hover: #1E5F6B;
  --shidoka-primary-pressed: #0C3138;
  --shidoka-on-primary: #ffffff;
  --shidoka-secondary: #EAF3F3;
  --shidoka-destructive: #B23A1D;
  --shidoka-page: #F5F2EC;
  --shidoka-surface: #ffffff;
  --shidoka-surface-subtle: #FBF8F2;
  --shidoka-border: #E3DFD6;
  --shidoka-focus: #2E8894;
  --shidoka-text: #1B1712;
  --shidoka-text-secondary: #4A443B;
  --shidoka-text-tertiary: #726B5F;
  --shidoka-link: #2E8894;
  --shidoka-link-hover: #1E5F6B;

  --shidoka-font-base: "Roboto", "IBM Plex Sans", Helvetica, Arial, sans-serif;
  --shidoka-font-display: "IBM Plex Sans", "Roboto", Helvetica, Arial, sans-serif;
  --shidoka-font-mono: "IBM Plex Mono", "Roboto Mono", monospace;

  --shidoka-h3-size: 28px; --shidoka-h3-weight: 300; --shidoka-h3-line: 36px;
  --shidoka-title-size: 20px; --shidoka-title-weight: 500; --shidoka-title-line: 28px;
  --shidoka-body-size: 16px; --shidoka-body-weight: 400; --shidoka-body-line: 24px;
  --shidoka-body-sm-size: 14px; --shidoka-body-sm-weight: 400; --shidoka-body-sm-line: 18px;
  --shidoka-label-size: 14px; --shidoka-label-weight: 500; --shidoka-label-line: 18px;
  --shidoka-caption-size: 12px; --shidoka-caption-weight: 400; --shidoka-caption-line: 16px;

  --shidoka-elevation-2: 0 2px 8px color-mix(in srgb, var(--shidoka-text) 12%, transparent);

  --shidoka-space-3xs: 2px;
  --shidoka-space-2xs: 4px;
  --shidoka-space-xs: 8px;
  --shidoka-space-sm: 12px;
  --shidoka-space-md: 16px;
  --shidoka-space-lg: 24px;
  --shidoka-space-xl: 32px;
  --shidoka-space-2xl: 48px;

  --shidoka-radius-sm: 4px;
  --shidoka-radius-md: 4px;
  --shidoka-radius-lg: 4px;
  --shidoka-radius-pill: 9999px;

  --bg: var(--shidoka-page);
  --bg2: var(--shidoka-surface-subtle);
  --card: var(--shidoka-surface);
  --card2: var(--shidoka-surface-subtle);
  --line: var(--shidoka-border);
  --text: var(--shidoka-text);
  --muted: var(--shidoka-text-tertiary);
  --bad: var(--shidoka-destructive);
  --accent: var(--shidoka-primary);
  font-size: 15px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--shidoka-font-base);
  min-height: 100vh;
}

/* ---------- brand mark (shared partial, sized per context) ---------- */
.kyndryl-mark { display: block; height: 22px; width: auto; flex: 0 0 auto; }

/* ---------- primary button ---------- */
.ask-btn {
  background: var(--accent); color: var(--shidoka-on-primary); border: none;
  border-radius: var(--shidoka-radius-sm); padding: var(--shidoka-space-sm) var(--shidoka-space-lg);
  font-family: var(--shidoka-font-base); font-size: var(--shidoka-label-size);
  font-weight: var(--shidoka-label-weight); line-height: var(--shidoka-label-line);
  cursor: pointer;
}
.ask-btn:hover { background: var(--shidoka-primary-hover); }

/* ---------- eyebrow ---------- */
.kicker { font-family: var(--shidoka-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- login page ---------- */
.login-shell { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: minmax(100vh, 1fr); min-height: 100vh; }
@media (max-width: 800px) { .login-shell { grid-template-columns: 1fr; } }

.login-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--shidoka-primary-pressed) 0%, var(--shidoka-primary-hover) 55%, var(--shidoka-primary) 100%);
  color: #F4F1EA;
  padding: 56px 48px;
  display: flex; align-items: center;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255,255,255,.35) 1.4px, transparent 1.6px),
    radial-gradient(circle at 11px 11px, rgba(255,255,255,.18) 1px, transparent 1.2px);
  background-size: 22px 22px, 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000 25%, transparent 78%);
  mask-image: linear-gradient(160deg, #000 25%, transparent 78%);
}
.hero-content { position: relative; z-index: 2; max-width: 400px; }
.hero-content .wordmark { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; }
.hero-content .kyndryl-mark { height: 40px; }
.hero-content .wm-app {
  font: 500 12.5px var(--shidoka-font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,241,234,.62); border-left: 1px solid rgba(244,241,234,.28); padding-left: 26px;
}
.hero-tag { font-family: var(--shidoka-font-display); font-size: 17px; line-height: 1.55; color: rgba(244,241,234,.9); font-weight: 300; }

.login-form-pane { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; background: var(--bg); }
.login-form {
  width: 100%; max-width: 380px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--shidoka-radius-md); padding: 34px 34px 30px; box-shadow: var(--shidoka-elevation-2);
  display: flex; flex-direction: column; gap: 16px;
}
.login-form h1 {
  font-family: var(--shidoka-font-display); font-size: var(--shidoka-h3-size); font-weight: var(--shidoka-h3-weight);
  line-height: var(--shidoka-h3-line); margin-top: -4px;
}
.login-sub { color: var(--muted); font-size: 13.5px; }
.login-form label {
  display: flex; flex-direction: column; gap: var(--shidoka-space-2xs);
  font-size: var(--shidoka-label-size); font-weight: var(--shidoka-label-weight);
  line-height: var(--shidoka-label-line); color: var(--text);
}
.login-form input {
  padding: var(--shidoka-space-sm); border: 1px solid var(--line);
  border-radius: var(--shidoka-radius-sm); background: var(--bg2);
  color: var(--text); font-family: var(--shidoka-font-base);
  font-size: var(--shidoka-body-size); font-weight: var(--shidoka-body-weight);
  line-height: var(--shidoka-body-line);
}
.login-form input:focus { outline: none; border-color: var(--shidoka-focus); background: var(--card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--shidoka-focus) 35%, transparent); }
.login-error {
  color: var(--bad); font-size: var(--shidoka-body-sm-size);
  font-weight: var(--shidoka-body-sm-weight); line-height: var(--shidoka-body-sm-line);
}
.login-form .ask-btn { width: 100%; }
.login-foot { font-size: 12px; color: var(--muted); line-height: 1.5; }
.pane-foot { text-align: center; margin-top: 28px; font-size: 11.5px; color: var(--muted); }

/* ---------- app header (landing page) ---------- */
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--shidoka-space-md) var(--shidoka-space-lg);
  border-bottom: 1px solid var(--line);
  background: var(--shidoka-surface);
}
.ws-wordmark { display: flex; align-items: center; gap: 10px; }
.ws-wordmark .ws-sep { color: var(--line); font-size: 14px; }
.app-header-name {
  font-family: var(--shidoka-font-base); font-weight: 400; font-size: 1.1rem;
  color: var(--muted);
}
.app-header-actions { display: flex; align-items: center; gap: var(--shidoka-space-md); }
.app-header-signout {
  font-family: var(--shidoka-font-base); font-size: 0.875rem;
  color: var(--shidoka-link); text-decoration: none;
}
.app-header-signout:hover { color: var(--bad); text-decoration: underline; }

/* ---------- landing: report cards ---------- */
.reports { max-width: 1120px; margin: 0 auto; padding: 48px 20px 60px; }
.reports h1 {
  font-family: var(--shidoka-font-display); font-size: var(--shidoka-h3-size);
  font-weight: var(--shidoka-h3-weight); line-height: var(--shidoka-h3-line); margin-top: 4px;
}
.reports-sub { color: var(--muted); font-size: 13.5px; margin: 6px 0 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--shidoka-radius-md); padding: 26px 26px 24px;
  box-shadow: var(--shidoka-elevation-2); color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-kicker { font-family: var(--shidoka-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card h2 {
  font-family: var(--shidoka-font-display); font-size: var(--shidoka-title-size);
  font-weight: var(--shidoka-title-weight); line-height: var(--shidoka-title-line);
}
.card p { color: var(--shidoka-text-secondary); font-size: var(--shidoka-body-sm-size); line-height: 1.55; }

/* ---------- footer ---------- */
.app-footer {
  padding: var(--shidoka-space-lg); text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.75rem;
  font-family: var(--shidoka-font-base);
}

/* Kept so the corporate face stays available to anything that asks for it;
   the shell itself uses KP's Roboto / IBM Plex stack for parity. */
.tw-everett { font-family: 'TWK Everett', 'Helvetica', 'Arial', sans-serif; }
