/* The Link look (tools/link-shell/LINK-STYLE-BRIEF.md), light and dark (David 12-02: "make sure the forms styling
   matches the home page, apps, etc. (i like the dark mode)"). Dark follows the computer's setting unless the visitor
   picks one (theme.js). Fonts bundled here, never from another site. */
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-display: swap; src: url(fonts/lato-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-display: swap; src: url(fonts/lato-latin-700-normal.woff2) format('woff2'); }

:root, :root[data-theme="light"] {
  --bg: #f8fafc; --glow: rgba(8,143,50,.12); --surface: #ffffff; --surface-2: #f1f5f9;
  --border: #e2e8f0; --border-strong: #cbd5e1; --text: #0f172a; --text-2: #475569; --muted: #64748b;
  --green: #088f32; --green-dark: #055d20; --green-pale: #eaf7ee;
  --shadow: 0 1px 2px rgba(15,23,42,.04);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c1220; --glow: rgba(63,191,102,.14); --surface: #131b2c; --surface-2: #1a2438;
  --border: #26324a; --border-strong: #35425e; --text: #f1f5f9; --text-2: #cbd5e1; --muted: #8a9ab3;
  --green: #3fbf66; --green-dark: #4fd077; --green-pale: #12301d;
  --shadow: 0 10px 25px -5px rgba(0,0,0,.5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 500px at 85% -5%, var(--glow), transparent 60%), var(--bg);
  color: var(--text); font: 400 15px/1.45 'Lato', 'Segoe UI', system-ui, sans-serif; min-height: 100vh;
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; max-width: 960px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 16px 'Poppins', 'Segoe UI', sans-serif; color: var(--text); }
/* The logo is the white mark (tools/link-shell/logo-light.png): on a dark tile so it shows in light mode too. */
.brand img { width: 32px; height: 32px; border-radius: 8px; padding: 4px; background: #0c1220; border: 1px solid var(--border); }
.theme { font: 500 13px 'Poppins', 'Segoe UI', sans-serif; color: var(--text-2); background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.theme:hover { border-color: var(--border-strong); }
main { max-width: 960px; margin: 0 auto; padding: 8px 16px 48px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
h1 { font: 700 21px 'Poppins', 'Segoe UI', sans-serif; margin: 0 0 10px; display: flex; align-items: center; gap: 11px; }
h1::before { content: ''; width: 4px; height: 21px; border-radius: 2px; background: var(--green); }
p { color: var(--text-2); margin: 0 0 8px; }
.pill { display: inline-block; font: 600 12px 'Poppins', 'Segoe UI', sans-serif; color: var(--green-dark); background: var(--green-pale);
  border-radius: 999px; padding: 3px 10px; }
