/* Ironstrike brand tokens (from the ironstrike-ai site). Change colours here only. */
:root {
  --bg: #0a0a0b;
  --bg-panel: #141416;
  --bg-panel-2: #1a1a1d;
  --steel: #2c2d31;
  --steel-line: #38393e;
  --text: #eae8e4;
  --text-dim: #9a9a9f;
  --text-faint: #6b6c71;
  --ember: #f5821f;
  --ember-bright: #ff9e42;
  --ember-dim: rgba(245, 130, 31, 0.14);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { min-height: 100vh; padding-top: env(safe-area-inset-top); padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
header { padding: 16px 16px 8px; border-bottom: 1px solid var(--steel-line); }
h1 { margin: 0; font-size: 1.25rem; color: var(--ember); letter-spacing: .02em; }
h2 { margin-top: 0; } h3 { color: var(--ember-bright); }
main { padding: 16px; max-width: 640px; margin: 0 auto; }
.tab { display: none; } .tab.active { display: block; }
form { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
input { flex: 1 1 140px; min-width: 0; padding: 12px; font-size: 16px; color: var(--text);
  background: var(--bg-panel); border: 1px solid var(--steel-line); border-radius: 10px; }
input:focus { outline: 2px solid var(--ember); border-color: transparent; }
button { padding: 12px 16px; font-size: 16px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--ember); color: #111; font-weight: 600; }
ul { list-style: none; margin: 0; padding: 0; }
li { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 8px;
  background: var(--bg-panel); border: 1px solid var(--steel); border-radius: 10px; }
li span, li a { flex: 1; word-break: break-word; color: var(--text); text-decoration: none; }
li a { color: var(--ember-bright); }
li.done span { color: var(--text-faint); text-decoration: line-through; }
li input[type=checkbox] { flex: 0 0 auto; width: 22px; height: 22px; accent-color: var(--ember); }
li button.del { background: transparent; color: var(--text-dim); padding: 4px 10px; font-size: 20px; }
.dim { color: var(--text-dim); }
code { background: var(--bg-panel-2); padding: 2px 6px; border-radius: 6px; color: var(--ember-bright); }
nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: var(--bg-panel);
  border-top: 1px solid var(--steel-line); padding-bottom: env(safe-area-inset-bottom); }
nav button { flex: 1; background: transparent; color: var(--text-dim); border-radius: 0; padding: 16px 0; }
nav button.on { color: var(--ember); box-shadow: inset 0 2px 0 var(--ember); }
