@import "gen-interface-jp/400.css";
@import "gen-interface-jp/500.css";
@import "gen-interface-jp/600.css";
@import "gen-interface-jp/700.css";
@import "@fontsource/ibm-plex-mono/latin-400.css";
@import "@fontsource/ibm-plex-mono/latin-500.css";
@import "@fontsource/ibm-plex-mono/latin-600.css";
@import "@fontsource/ibm-plex-mono/latin-700.css";
@layer reset, tokens, base, layout, components;
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  button,
  input,
  textarea,
  select {
    font: inherit;
  }
}
@layer tokens {
  :root {
    color-scheme: light dark;
    --bg: oklch(98.5% 0 0);
    --bg-raised: oklch(96% 0 0);
    --bg-subtle: oklch(93% 0 0);
    --line: oklch(82% 0 0);
    --line-strong: oklch(70% 0 0);
    --text: oklch(30% 0.012 75);
    --text-strong: oklch(22% 0.012 75);
    --text-muted: oklch(50% 0.01 75);
    --text-faint: oklch(62% 0.008 75);
    --code: oklch(34% 0.012 75);
    --accent: oklch(54% 0.13 230);
    --accent-muted: oklch(54% 0.08 230);
    --success: oklch(48% 0.11 145);
    --warning: oklch(62% 0.12 85);
    --danger: oklch(54% 0.14 25);
    --tui-green: #76946a;
    --tui-red: #c34043;
    --tui-yellow: #c0a36e;
    --tui-blue: #7e9cd8;
    --tui-cyan: #6a9589;
    --tui-magenta: #957fb8;
    --tui-gray: #727169;
    --tui-dark-gray: #54546d;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --radius-soft: 8px;
    --radius-panel: 12px;
    --interactive-hover: oklch(94.5% 0 0);
    --interactive-selected: oklch(93% 0.02 230);
    --font-sans: "Gen Interface JP", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: oklch(16% 0 0);
      --bg-raised: oklch(21% 0 0);
      --bg-subtle: oklch(26% 0 0);
      --line: oklch(36% 0 0);
      --line-strong: oklch(48% 0 0);
      --text: oklch(87% 0.012 75);
      --text-strong: oklch(95% 0.01 75);
      --text-muted: oklch(70% 0.01 75);
      --text-faint: oklch(58% 0.008 75);
      --code: oklch(84% 0.012 75);
      --accent: oklch(76% 0.12 230);
      --accent-muted: oklch(71% 0.08 230);
      --success: oklch(77% 0.12 145);
      --warning: oklch(82% 0.13 85);
      --danger: oklch(76% 0.14 25);
      --interactive-hover: oklch(29% 0 0);
      --interactive-selected: oklch(30% 0.025 230);
    }
  }
}
@layer base {
  html {
    font-size: 14px;
  }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
  }
  a {
    color: var(--accent);
  }
  h1,
  h2,
  h3,
  p,
  li,
  dd {
    overflow-wrap: anywhere;
  }
  h1,
  h2,
  h3 {
    color: var(--text-strong);
    margin-top: 0;
  }
  p {
    line-height: 1.55;
  }
  code,
  pre {
    font-family: var(--font-mono);
  }
  code {
    color: var(--code);
  }
  small {
    color: var(--text-muted);
    display: block;
    margin-top: var(--space-1);
  }
}
@layer layout {
  .grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    min-width: 0;
  }
  .runtime {
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  }
  .stack {
    display: grid;
    gap: var(--space-4);
  }
}
@layer components {
  .section-note,
  .section-state,
  .muted {
    color: var(--text-muted);
    font-size: 0.82rem;
  }
  .section-note,
  .section-state {
    margin: 0;
    line-height: 1.45;
  }
  .card {
    min-width: 0;
    padding: 0;
  }
  dl {
    display: grid;
    gap: var(--space-1);
    margin: 0;
  }
  dl > div {
    display: grid;
    grid-template-columns: minmax(6.5rem, 10rem) minmax(0, 1fr);
    align-items: baseline;
    gap: var(--space-3);
    min-width: 0;
  }
  dt {
    color: var(--text-faint);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  dd {
    min-width: 0;
    margin: 0;
  }
  dd small {
    display: inline;
    margin-top: 0;
    margin-left: var(--space-2);
  }
  .table-wrap {
    overflow-x: auto;
  }
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th,
  td {
    border-bottom: 1px solid var(--line);
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
  }
  th {
    color: var(--text-faint);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .inline-link,
  .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0.4rem 0.75rem;
    background: var(--bg);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
  }

  .secondary-button:hover,
  .inline-link:hover {
    border-color: var(--line-strong);
    background: var(--bg-raised);
  }
}
