/* ---------------------------------------------------------------------------
   Shared design tokens for both pages (weather dashboard + TUI offer archive).
   Loaded before each page's own stylesheet, so the two pages share one palette,
   one type scale and one set of shadows instead of drifting apart.
--------------------------------------------------------------------------- */

:root {
  /* Type */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Ink */
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --subtle: #98a2b3;

  /* Surfaces */
  --canvas: #f4f6fa;
  --panel: #ffffff;
  --panel-alt: #f8fafc;
  --line: #e8edf5;
  --line-strong: #d8e0ec;

  /* Accent */
  --accent: #2f6bed;
  --accent-ink: #1d4ed8;
  --accent-deep: #17337a;
  --accent-soft: #eaf1ff;
  --accent-line: #c3d6ff;

  /* Status */
  --good: #067647;
  --good-soft: #e7f7ee;
  --good-line: #b7e6cd;
  --warn: #8a5a00;
  --warn-soft: #fff6e5;
  --warn-line: #f3ddb0;
  --bad: #b42318;
  --bad-soft: #fdefee;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* Depth — one soft, low-contrast lift, used sparingly */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 22px -14px rgba(16, 24, 40, .45);
  --shadow-lg: 0 18px 40px -18px rgba(16, 24, 40, .38);
  --ring: 0 0 0 3px rgba(47, 107, 237, .22);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }

:where(a, button, summary, input, select, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* A quiet, reusable pill button: the nav links and toolbar triggers. */
.btn-quiet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.btn-quiet:hover, .btn-quiet:focus-visible {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   App bar — the same slim identity row on both pages.
-------------------------------------------------------------------------- */

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-mark, linear-gradient(150deg, #6ea8fe, #2f6bed));
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  color: var(--muted);
  font-size: .76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-nav { flex: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
