/* The pages hosting added (sign-in, setup, admin). Nathan's pages keep their own styles; these only need to look like RotoBot. */
:root {
  --bg: #0b0e14; --panel: #141a24; --panel2: #1c2431; --line: #263042; --text: #eef2f8; --muted: #9aa6b8; --dim: #6b778a;
  --accent: #4ade80; --accent-ink: #052e16; --warn: #fbbf24; --bad: #f87171; --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
main { max-width: 980px; margin: 0 auto; padding: 28px 18px 80px; }
header.top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
header.top img { height: 26px; }
header.top h1 { font-size: 20px; margin: 0; font-weight: 700; }
header.top .sp { flex: 1; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card h2 { margin: 0 0 4px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.card h2 .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--panel2); font-size: 13px; }
.card h2 .done { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent); }
.card p.sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); min-width: 180px; flex: 1; }
input[type=text], input[type=email], select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
button.go { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
button:disabled { opacity: 0.5; cursor: default; }
.msg { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1.5em; }
.msg.bad { color: var(--bad); }
.msg.ok { color: var(--accent); }
.hidden { display: none !important; }
.center { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center .card { max-width: 460px; text-align: left; }
.look { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sw { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 13px; }
.sw input[type=color] { width: 34px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.sw code { color: var(--muted); font-size: 12px; }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 16; border-radius: 26px; border: 6px solid var(--panel2); overflow: hidden;
  background: linear-gradient(160deg, #3a4150, #1d222b); }
.phone iframe { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; border: 0; transform-origin: 0 0; transform: scale(0.2667); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 8px; border-bottom: 1px solid var(--line); }
td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
td code, .copy code { font-size: 12.5px; word-break: break-all; }
.copy { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); margin: 6px 0; }
.copy code { flex: 1; }
.copy button { padding: 6px 10px; font-size: 13px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--panel2); color: var(--muted); }
.pill.on { background: rgba(74, 222, 128, 0.15); color: var(--accent); }
.pill.warn { background: rgba(251, 191, 36, 0.15); color: var(--warn); }
.pill.bad { background: rgba(248, 113, 113, 0.15); color: var(--bad); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dim); margin-right: 6px; vertical-align: 0; }
.dot.on { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
ol.steps { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
ol.steps b { color: var(--text); }
@media (max-width: 760px) { .look { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }
