/* ==========================================================================
   Chowtime's Stream Tools — site theme
   Homemade / dark teal + lime. Hand-built feel on purpose.
   Drop this in as a single stylesheet and apply the classes on every page.
   ========================================================================== */

:root {
  /* Surfaces */
  --st-desk:        #0e161c; /* outside the page frame (browser background) */
  --st-paper:       #16212a; /* the page card itself */
  --st-panel:       #1d2a33; /* tables, boxes, any inset panel */
  --st-panel-hover: #24333d; /* table row hover */
  --st-band:        #1e2c36; /* footer band */
  --st-counter-bg:  #0f181f; /* visitor counter well */

  /* Teals */
  --st-header:      #0e4a46; /* title band (darkest teal) */
  --st-nav:         #14706a; /* nav bar, table header row, strong borders */
  --st-teal-line:   #0e544f; /* borders inside teal areas */
  --st-teal-text:   #5fc9bc; /* headings + links on dark */
  --st-teal-soft:   #7fd3c6; /* secondary teal text (status column) */
  --st-teal-rule:   #62a8a1; /* thin rules, nav pipes, small frames */
  --st-teal-pale:   #cfeee9; /* text on the header band */
  --st-teal-pale-2: #a9dcd5; /* meta text on the header band */

  /* Lime — accent only, never body text */
  --st-lime:        #a8cc3e;
  --st-lime-bright: #b6e24a;

  /* Text */
  --st-cream:        #eae5d6; /* body text */
  --st-cream-strong: #f4efe1; /* h1 on the header band */
  --st-cream-on-teal:#eef7f4; /* nav links, table header labels */
  --st-muted:        #93a3ac; /* captions, helper lines */
  --st-muted-2:      #b9c2c7; /* secondary paragraph */
  --st-muted-3:      #8fa3ac; /* smallest asides */
  --st-footer-text:  #cdd6dc;
  --st-footer-meta:  #7f96a3;

  /* Lines */
  --st-line:      #33454f; /* table cell + box borders */
  --st-line-soft: #2c3b46; /* inner hairline of the page frame */
  --st-frame:     #0a1015; /* outer frame of the page card */

  /* Type */
  --st-font-head: Georgia, 'Times New Roman', serif;
  --st-font-body: Verdana, Geneva, sans-serif;
  --st-font-mono: 'Courier New', Courier, monospace;

  /* Spacing — the page only uses these */
  --st-pad-x: 34px;   /* horizontal padding inside the page card */
  --st-gap:   28px;   /* gap between the two columns */
  --st-page:  1000px; /* content width */
}

/* ---------- page shell ------------------------------------------------- */

body {
  margin: 0;
  background: var(--st-desk);
  color: var(--st-cream);
  font-family: var(--st-font-body);
  font-size: 13.5px;
  line-height: 1.8;
}

.st-wrap {                 /* centers the page card on the desk */
  width: var(--st-page);
  margin: 0 auto;
  padding: 60px 0 96px;
}

.st-page {                 /* the card: double frame, hard shadow */
  background-color: var(--st-paper);
  color: var(--st-cream);
  border: 3px solid var(--st-frame);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.st-page > .st-inner { border: 1px solid var(--st-line-soft); padding: 0 0 6px; }

/* ---------- header band ------------------------------------------------ */

.st-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px var(--st-pad-x) 20px;
  background: var(--st-header);
  border-bottom: 5px solid var(--st-lime);
}
.st-header .st-logo {
  width: 74px; height: 74px; flex: none;
  border: 1px solid #3d8a84;
  box-sizing: border-box;
}
.st-header h1 {
  margin: 0 0 3px;
  font-family: var(--st-font-head);
  font-size: 36px; font-weight: bold;
  letter-spacing: -0.01em;
  color: var(--st-cream-strong);
}
.st-header .st-tagline {
  margin: 0;
  font-family: var(--st-font-head);
  font-style: italic; font-size: 16px;
  color: var(--st-teal-pale);
}
.st-header .st-meta {
  text-align: right;
  font-family: var(--st-font-mono);
  font-size: 11.5px; line-height: 1.7;
  color: var(--st-teal-pale-2);
}

/* ---------- nav bar ---------------------------------------------------- */

.st-nav {
  display: flex; justify-content: center; gap: 0;
  padding: 11px 20px;
  background: var(--st-nav);
  border-bottom: 1px solid var(--st-teal-line);
  font-size: 12.5px; letter-spacing: 0.03em;
}
.st-nav a { padding: 0 12px; color: var(--st-cream-on-teal); text-decoration: underline; }
.st-nav a:hover { color: var(--st-lime-bright); }
.st-nav .st-pipe { color: var(--st-teal-rule); }

/* ---------- body links ------------------------------------------------- */

a { color: var(--st-teal-text); text-decoration: underline; }
a:hover { color: var(--st-lime); text-decoration: underline; }

/* ---------- headings -------------------------------------------------- */

.st-h2 {                   /* teal heading sitting on a lime underscore */
  margin: 0 0 10px;
  font-family: var(--st-font-head);
  font-size: 22px;
  color: var(--st-teal-text);
  display: inline-block;
  border-bottom: 3px solid var(--st-lime);
  padding-bottom: 4px;
}
.st-h2--lg { font-size: 24px; margin-bottom: 3px; }
.st-subhead { margin: 0 0 14px; font-size: 12px; color: var(--st-muted); }

/* ---------- announcement --------------------------------------------- */

.st-callout {              /* solid lime block, dark text. One per page, max. */
  background: var(--st-lime);
  color: var(--st-paper);
  padding: 10px 14px;
  font-size: 13px; font-weight: bold;
  margin-bottom: 18px;
}

/* ---------- layout helpers ------------------------------------------- */

.st-section  { padding: 0 var(--st-pad-x) 8px; }
.st-two-col  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--st-gap); padding: 24px var(--st-pad-x) 20px; }
.st-intro    { display: grid; grid-template-columns: 1fr 328px; gap: var(--st-gap); padding: 26px var(--st-pad-x) 24px; }
.st-body     { margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; max-width: 38em; }
.st-body--dim{ color: var(--st-muted-2); }

/* ---------- image placeholders / real screenshots -------------------- */

.st-shot {                 /* teal-framed capture; keep 16:9 */
  border: 2px solid var(--st-nav);
  background-image: repeating-linear-gradient(135deg, #223038 0 5px, #1a2630 5px 10px);
  font-family: var(--st-font-mono);
  font-size: 10px; color: var(--st-muted);
  display: flex; align-items: flex-end;
  padding: 7px; box-sizing: border-box;
}
.st-shot--sm { border-width: 1px; border-color: var(--st-teal-rule); font-size: 9px; padding: 4px; }
.st-shot-note { font-family: var(--st-font-mono); font-size: 10.5px; color: var(--st-muted-3); margin-top: 7px; }

/* ---------- the table (the signature element) ------------------------ */

.st-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--st-nav);
  background: var(--st-panel);
  font-size: 13px;
}
.st-table thead tr, .st-table tr.st-table-head { background: var(--st-nav); }
.st-table th {
  border: 1px solid var(--st-teal-line);
  padding: 10px 11px;
  text-align: left;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--st-cream-on-teal);
}
.st-table td {
  border: 1px solid var(--st-line);
  padding: 10px 11px;
  vertical-align: top;
  line-height: 1.65;
}
.st-table tbody tr { background: var(--st-panel); }
.st-table tbody tr:not(.st-table-head):hover { background: var(--st-panel-hover); }
.st-table .st-col-name { width: 170px; }
.st-table .st-col-state { width: 150px; font-family: var(--st-font-mono); font-size: 12px; color: var(--st-teal-soft); }

/* ---------- lists ----------------------------------------------------- */

.st-list { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.95; }
.st-list--num { padding-left: 22px; }
.st-note { margin: 12px 0 0; font-size: 12.5px; color: var(--st-muted); }

.st-flag {                 /* lime chip: NEW / UPDATED. Only when it's true. */
  color: var(--st-paper);
  background: var(--st-lime);
  font-size: 10.5px; letter-spacing: 0.06em;
  padding: 1px 6px; margin-left: 6px;
  white-space: nowrap;
}

/* ---------- boxes ----------------------------------------------------- */

.st-box {
  border: 1px solid var(--st-line);
  border-top: 5px solid var(--st-nav);   /* teal cap */
  background: var(--st-panel);
  padding: 14px 16px;
  font-size: 13px; line-height: 1.75;
}
.st-box--lime { border-top-color: var(--st-lime); }
.st-box b.st-box-title {
  font-family: var(--st-font-head);
  font-size: 16px; color: var(--st-teal-text);
  display: block; margin-bottom: 7px;
}
.st-log { font-family: var(--st-font-mono); font-size: 12.5px; line-height: 1.9; color: #c3ccd2; }

/* ---------- footer ---------------------------------------------------- */

.st-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px var(--st-pad-x) 17px;
  background: var(--st-band);
  border-top: 5px solid var(--st-lime);
  font-size: 12px; color: var(--st-footer-text);
}
.st-footer a { color: var(--st-lime); }
.st-footer .st-footer-meta { font-family: var(--st-font-mono); font-size: 11px; color: var(--st-footer-meta); }
.st-counter {
  border: 1px solid var(--st-lime);
  background: var(--st-counter-bg);
  color: var(--st-lime-bright);
  font-family: var(--st-font-mono);
  font-size: 12px; padding: 5px 10px; letter-spacing: 0.14em;
}

/* ---------- narrow screens ------------------------------------------- */

@media (max-width: 1040px) {
  .st-wrap { width: auto; padding: 0; }
  .st-page { border-width: 2px; }
  .st-header { flex-wrap: wrap; }
  .st-header .st-meta { text-align: left; }
  .st-nav { flex-wrap: wrap; justify-content: flex-start; }
  .st-intro, .st-two-col { grid-template-columns: 1fr; }
  .st-intro .st-shot, .st-intro > div:last-child > .st-shot { width: 100%; }
  .st-table, .st-table tbody, .st-table tr, .st-table td { display: block; width: auto; }
  .st-table thead, .st-table tr.st-table-head { display: none; }
  .st-table tr { border-bottom: 1px solid var(--st-line); }
  .st-table td { border: none; }
}
