/* tracker-styles.css — Fortnite Combat Zone device / peripheral tracker.
 * Same visual language as styles.css (weapon comparison tool) and
 * planner-styles.css, kept in its own file so the pages evolve independently.
 * No external fonts, images or assets: everything here is self-contained.
 */
:root { color-scheme: dark; --bg:#14171c; --card:#1d2229; --line:#2c333c; --fg:#e6e9ee; --dim:#9aa4b0; --ok:#7fd88f; --warn:#ffb454; --bad:#ff6b6b; --accent:#e74c3c; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.5 system-ui,"Segoe UI",Arial,sans-serif; background:var(--bg); color:var(--fg); }
header,main,footer { max-width:980px; margin:0 auto; padding:16px; }
h1 { font-size:24px; margin:0 0 4px; }
h2 { font-size:17px; margin:22px 0 8px; border-bottom:1px solid var(--line); padding-bottom:4px; }
h3 { font-size:15px; margin:16px 0 6px; }
.sub,.note,footer p { color:var(--dim); font-size:13px; }
a { color:var(--accent); }
.nav-links { margin:8px 0 0; font-size:13px; }
.nav-links a { text-decoration:none; }
.nav-links a:hover { text-decoration:underline; }

/* Controls */
form { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
label { display:block; font-size:13px; color:var(--dim); }
input,select,textarea { width:100%; margin-top:4px; padding:7px 8px; background:#111419; color:var(--fg); border:1px solid var(--line); border-radius:6px; font-size:14px; font-family:inherit; }
textarea { resize:vertical; }

/* Cards / stages */
.stage { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:12px 14px; margin:10px 0; }
.stage h3 { margin:0 0 8px; font-size:16px; }

/* Notices */
.warn { color:var(--warn); font-size:14px; background:#2a2113; border:1px solid #4a3b1c; padding:10px 12px; border-radius:8px; }
.ok { color:var(--ok); font-size:13px; }
code { background:#111419; border:1px solid var(--line); border-radius:4px; padding:0 4px; font-size:13px; }

/* Device category badge (matches the comparison tool + planner) */
.cat { font-size:11px; padding:2px 6px; border-radius:4px; background:#2c333c; color:var(--dim); }

/* Setting chips on a device card */
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
.chip { font-size:12px; padding:2px 8px; border-radius:999px; background:#111419; border:1px solid var(--line); color:var(--fg); }

/* Buttons */
button { padding:7px 14px; border:1px solid var(--line); border-radius:6px; background:#111419; color:var(--fg); font-size:14px; cursor:pointer; }
button:hover { background:#2c333c; }
button.mini { padding:1px 8px; font-size:12px; color:var(--dim); }
.row-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.form-actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 4px; }

/* Profile lists */
ul.summary,.attached { margin:8px 0; padding-left:20px; }
ul.summary li,.attached li { margin:6px 0; font-size:13px; }
.attached li button { margin-left:6px; }
.profile-row { border-left:3px solid var(--line); }

/* Export / import */
textarea.export { min-height:96px; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:12px; }

/* Mobile */
@media (max-width:600px) {
  header,main,footer { padding:10px; }
  h1 { font-size:20px; }
  h2 { font-size:15px; }
  form { grid-template-columns:1fr; }
  .row-actions button,.form-actions button { flex:1 1 auto; }
}
