/* ============================================================
   OIL CAPS EDGE — theme
   Virden Oil Capitals: burgundy, black, white, silver.
   Dark base by default (used at the rink and on the road).
   All brand colours are CSS variables — change them in one place.
   ============================================================ */

:root {
  /* --- Brand --- */
  --voc-burgundy: #7d1f2b;          /* primary */
  --voc-burgundy-bright: #a8283a;   /* hover / highlight */
  --voc-burgundy-deep: #571521;     /* gradients / headers */
  --voc-silver: #c7ccd1;            /* secondary accent */
  --voc-silver-dim: #8b9097;

  /* --- Surfaces (black base) --- */
  --bg: #0d0e10;
  --bg-elev: #16181c;
  --bg-elev-2: #1e2127;
  --line: #2a2e35;
  --line-soft: #21242a;

  /* --- Text --- */
  --text: #f3f5f7;
  --text-dim: #a9b0b8;
  --text-faint: #6f777f;

  /* --- Signal colours --- */
  --good: #46b173;
  --bad: #d6555f;
  --warn: #d8a23a;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  --header-h: 60px;
  --maxw: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--voc-silver); text-decoration: none; }
a:hover { color: #fff; }

/* ---------- Header ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--voc-burgundy-deep), #1a0c10 140%);
  border-bottom: 2px solid var(--voc-burgundy);
  box-shadow: var(--shadow);
}
.app-header .crest { height: 40px; width: 40px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.app-header .crest img { height: 40px; width: auto; display: block; }
.wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark .name {
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
}
.wordmark .tag { font-size: 11px; color: var(--voc-silver); letter-spacing: 1.5px; text-transform: uppercase; }

.app-header .spacer { flex: 1 1 auto; }
.app-header .who { font-size: 12.5px; color: var(--voc-silver); text-align: right; }
.app-header .who .role { color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }

/* ---------- Top nav ---------- */
.nav {
  display: flex;
  gap: 4px;
  padding: 0 12px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.nav a {
  padding: 12px 14px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: #fff; border-bottom-color: var(--voc-burgundy-bright); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 20px 18px 60px; }
.page-title { font-size: 22px; font-weight: 800; margin: 4px 0 2px; }
.page-sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 18px; }

.row { display: flex; flex-wrap: wrap; gap: 16px; }
.grid { display: grid; gap: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
}
.card-header .accent { width: 4px; height: 18px; border-radius: 2px; background: var(--voc-burgundy-bright); }
.card-body { padding: 14px 16px; }

/* ---------- Stat tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tile {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--voc-burgundy);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.tile .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
.tile .value { font-size: 26px; font-weight: 800; margin-top: 4px; }
.tile .value small { font-size: 13px; color: var(--text-dim); font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.table th, table.table td { padding: 9px 10px; text-align: right; white-space: nowrap; }
table.table th:first-child, table.table td:first-child { text-align: left; }
table.table thead th {
  position: sticky; top: 0;
  background: var(--bg-elev-2);
  color: var(--text-dim);
  font-size: 11px; text-transform: uppercase; letter-spacing: .6px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; user-select: none;
}
table.table thead th.no-sort { cursor: default; }
table.table tbody tr { border-bottom: 1px solid var(--line-soft); }
table.table tbody tr:hover { background: rgba(255,255,255,0.025); }
table.table tbody tr.is-our-team { background: rgba(125, 31, 43, 0.22); }
table.table tbody tr.is-our-team:hover { background: rgba(125, 31, 43, 0.30); }
table.table tbody tr.is-our-team td:first-child { box-shadow: inset 3px 0 0 var(--voc-burgundy-bright); font-weight: 700; }
.rank { color: var(--text-faint); width: 26px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Badges / pills ---------- */
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge.good { background: rgba(70,177,115,0.16); color: var(--good); }
.badge.bad  { background: rgba(214,85,95,0.16); color: var(--bad); }
.badge.neutral { background: rgba(199,204,209,0.12); color: var(--voc-silver); }
.pos { color: var(--good); } .neg { color: var(--bad); }
.diff-pos::before { content: "+"; }

/* form-streak pips */
.form { display: inline-flex; gap: 3px; }
.form .pip { width: 14px; height: 14px; border-radius: 3px; font-size: 9px; line-height: 14px; text-align: center; font-weight: 800; color: #0d0e10; }
.pip.w { background: var(--good); } .pip.l { background: var(--bad); } .pip.o { background: var(--warn); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filters label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); display: flex; flex-direction: column; gap: 4px; }
select, input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 14px;
  font-family: var(--font);
}
select:focus, input:focus { outline: none; border-color: var(--voc-burgundy-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 15px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.btn:hover { border-color: var(--voc-silver-dim); }
.btn-primary { background: var(--voc-burgundy); border-color: var(--voc-burgundy); color: #fff; }
.btn-primary:hover { background: var(--voc-burgundy-bright); border-color: var(--voc-burgundy-bright); }

/* ---------- Comparison ---------- */
.compare-card { max-width: 600px; margin: 0 auto; }
.compare-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.compare-head .ct { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.compare-head .ct-logo { width: 48px; height: 48px; object-fit: contain; }
.compare-head .ct-name { font-weight: 800; font-size: 14.5px; line-height: 1.15; }
.compare-head .ct-rec { font-size: 12px; }
.compare-head .ct-vs { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-faint); font-weight: 700; }
.compare-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 7px 14px; align-items: center; }
.compare-grid .metric { grid-column: 1 / -1; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin-top: 8px; }
.compare-grid .v-left { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; }
.compare-grid .v-right { text-align: left; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; }
.compare-grid .bar { height: 8px; border-radius: 4px; background: var(--bg-elev-2); position: relative; overflow: hidden; }
.compare-grid .bar > span { position: absolute; top: 0; bottom: 0; }
.win { color: var(--voc-burgundy-bright); }

/* ---------- Sync status bar ---------- */
.sync-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-dim);
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 18px;
}
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.sync-dot.stale { background: var(--warn); }
.sync-dot.error { background: var(--bad); }

/* ---------- Login ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(125,31,43,0.30), transparent), var(--bg); }
.login-card { width: 100%; max-width: 380px; background: var(--bg-elev); border: 1px solid var(--line);
  border-top: 3px solid var(--voc-burgundy); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.login-card .crest { display: flex; justify-content: center; margin-bottom: 14px; }
.login-card .crest img { height: 76px; }
.login-card h1 { font-size: 20px; text-align: center; margin: 0 0 2px; letter-spacing: 1px; }
.login-card .tag { text-align: center; color: var(--voc-silver); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px; }
.login-card .field { margin-bottom: 14px; }
.login-card label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-faint); margin-bottom: 5px; }
.login-card input { width: 100%; }
.login-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; padding: 11px; }
.alert { background: rgba(214,85,95,0.12); border: 1px solid rgba(214,85,95,0.4); color: #f1b6ba;
  padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; }

.muted { color: var(--text-faint); }
.right { text-align: right; }
.mt { margin-top: 18px; } .mb { margin-bottom: 18px; }
hr.sep { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

.small { font-size: 12px; }
textarea { font-family: var(--font); }

/* ====================================================================
   PHASE 3 — Import Center + Trade Board + Watch Lists
   ==================================================================== */

/* ---------- Drag-drop upload ---------- */
.dropzone {
  display: block; cursor: pointer;
  border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-elev-2); padding: 26px 18px; text-align: center;
  transition: border-color .15s, background .15s;
}
.dropzone:hover { border-color: var(--voc-silver-dim); }
.dropzone.drag { border-color: var(--voc-burgundy-bright); background: rgba(125,31,43,0.12); }
.dropzone.has-file { border-style: solid; border-color: var(--good); }
.dz-icon { font-size: 30px; color: var(--voc-silver); line-height: 1; }
.dz-text { margin-top: 8px; font-weight: 600; }
.dz-text .link { color: var(--voc-silver); text-decoration: underline; }
.dz-name { margin-top: 6px; }

/* ---------- Inline add (player card popovers) ---------- */
.inline-add { display: inline-block; }
.inline-add > summary { list-style: none; }
.inline-add > summary::-webkit-details-marker { display: none; }
.inline-add .pop {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 10px; padding: 12px; background: var(--bg-elev-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.inline-add .pop input[type="text"] { width: 150px; }

/* ---------- Kanban / Trade Board ---------- */
.kanban { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.kcol {
  flex: 0 0 280px; min-width: 280px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
}
.kcol.drop-hover { border-color: var(--voc-burgundy-bright); box-shadow: 0 0 0 1px var(--voc-burgundy-bright) inset; }
.kcol-head {
  padding: 11px 14px; font-weight: 700; font-size: 13px;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px;
  border-left: 3px solid var(--voc-burgundy); border-radius: var(--radius) var(--radius) 0 0;
}
.kcount { margin-left: auto; background: var(--bg-elev-2); color: var(--text-dim);
  border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.kcol-body { padding: 10px; min-height: 80px; display: flex; flex-direction: column; gap: 10px; }
.kcard {
  background: var(--bg-elev-2); border: 1px solid var(--line); border-left: 3px solid var(--voc-silver-dim);
  border-radius: var(--radius-sm); padding: 10px 12px; cursor: grab;
}
.kcard:active { cursor: grabbing; }
.kcard.dragging { opacity: .4; }
.kcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.kcard-notes { margin-top: 5px; color: var(--text-dim); white-space: pre-wrap; }
.kcard-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 12px; }
.kcard-actions form { display: inline; }
.klink { background: none; border: none; color: var(--text-faint); padding: 0; font-size: 12px; cursor: pointer; }
.klink:hover { color: var(--bad); }
.kedit summary { cursor: pointer; color: var(--voc-silver); font-size: 12px; list-style: none; }
.kedit summary::-webkit-details-marker { display: none; }
.kedit-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.kedit-form input, .kedit-form textarea { width: 100%; font-size: 12.5px; padding: 6px 8px; }

/* ---------- Imported metric dump ---------- */
.metric-dump { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 2px; max-width: 760px; }
.metric-dump span { font-size: 12px; color: var(--text-dim); }
.metric-dump b { color: var(--text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 14px; }
  .wordmark .name { font-size: 15px; }
  .app-header .who { display: none; }
  .page-title { font-size: 19px; }
  .tile .value { font-size: 22px; }
  table.table th, table.table td { padding: 8px 7px; }
  .kcol { flex-basis: 80vw; min-width: 80vw; }
}

/* ====================================================================
   WAR ROOM — Recruiting decision surface
   ==================================================================== */
.wr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.wr-pos {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--voc-silver); font-weight: 700; margin: 16px 0 6px;
}
.wr-pos:first-child { margin-top: 2px; }
.wr-empty { color: var(--text-faint); font-size: 13px; padding: 6px 2px; }
.section-pill {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  background: rgba(199, 204, 209, 0.12); color: var(--voc-silver);
}
.wr-act { text-align: right; }
.wr-act form { display: inline; margin: 0; }
.wr-act .btn { padding: 5px 10px; font-size: 12px; }

/* ====================================================================
   SCOUTING REPORTS (Phase 4)
   ==================================================================== */
.scout-overall { font-size: 22px; font-weight: 800; color: var(--voc-silver); }
.scout-overall small { font-size: 12px; color: var(--text-faint); font-weight: 600; }

.grade-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.grade-chip { display: flex; flex-direction: column; gap: 3px; }
.gc-label { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint); }
.gc-val { font-size: 18px; font-weight: 800; }
.gc-bar { height: 5px; border-radius: 3px; background: var(--bg-elev-2); overflow: hidden; }
.gc-bar > span { display: block; height: 100%; background: var(--voc-burgundy-bright); }

.scout-report { border-top: 1px solid var(--line-soft); padding: 12px 0; }
.scout-report:first-of-type { border-top: none; }
.sr-head { display: flex; align-items: center; gap: 6px; }
.sr-head form { display: inline; margin: 0; }
.sr-tools { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0; }
.sr-tool { font-size: 12px; color: var(--text-dim); }
.sr-tool b { color: var(--text); font-weight: 700; }
.sr-notes { color: var(--text-dim); white-space: pre-wrap; font-size: 13px; margin-top: 4px; }
.sr-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }

.scout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; max-width: 620px; }
.scout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.scout-form select, .scout-form input[type="date"] { width: 100%; }
.scout-form textarea, .scout-form input[type="text"] { width: 100%; }

/* Scouting grade pill (War Room candidates) */
.grade-pill {
  display: inline-block; padding: 0 7px; border-radius: 999px;
  font-size: 11px; font-weight: 800; white-space: nowrap;
  background: rgba(125, 31, 43, 0.28); color: #f0c6cc;
}

/* ====================================================================
   ROSTER MAKE-UP
   ==================================================================== */
.mk-actions { display: flex; gap: 6px; justify-content: flex-end; }
.mk-actions form { display: inline; margin: 0; }
.mk-btn {
  background: var(--bg-elev-2); border: 1px solid var(--line); color: var(--text-dim);
  padding: 4px 9px; border-radius: var(--radius-sm); font-size: 11.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.mk-btn:hover { border-color: var(--voc-silver-dim); color: var(--text); }
.mk-btn.on { background: rgba(125, 31, 43, 0.28); border-color: var(--voc-burgundy); color: #f0c6cc; }
.mk-btn.danger:hover { border-color: var(--bad); color: var(--bad); }
.mk-summary { cursor: pointer; color: var(--voc-silver); font-weight: 600; font-size: 13px; padding: 6px 0; list-style: none; }
.mk-summary::-webkit-details-marker { display: none; }
.mk-summary::before { content: "\25B8  "; color: var(--text-faint); }
.mk-removed[open] .mk-summary::before { content: "\25BE  "; }

/* ====================================================================
   TEAM CALENDAR
   ==================================================================== */
.cal-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-title { font-size: 17px; font-weight: 800; min-width: 150px; text-align: center; }
.cal-bar .inline-add .pop label { flex-direction: column; gap: 4px; }

table.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 720px; }
table.cal-grid th {
  padding: 8px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text-faint); background: var(--bg-elev-2); border-bottom: 1px solid var(--line); text-align: left;
}
table.cal-grid td { vertical-align: top; height: 92px; width: 14.28%; border: 1px solid var(--line-soft); padding: 4px 4px 6px; }
.cal-empty { background: rgba(0,0,0,0.18); }
.cal-day.today { background: rgba(125,31,43,0.16); box-shadow: inset 0 0 0 2px var(--voc-burgundy-bright); }
.cal-num { font-size: 12px; color: var(--text-dim); font-weight: 700; margin-bottom: 3px; }
.cal-day.today .cal-num { color: #fff; }

.cal-item {
  font-size: 11px; line-height: 1.3; padding: 2px 16px 2px 6px; border-radius: 4px; margin-bottom: 3px;
  background: var(--bg-elev-2); border-left: 3px solid var(--voc-silver-dim); position: relative;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-item.game { border-left-color: var(--voc-burgundy-bright); }
.cal-item.game.win { border-left-color: var(--good); }
.cal-item.game.loss { border-left-color: var(--bad); }
.cal-time { color: var(--text-faint); font-weight: 700; }
.cal-del { display: inline; position: absolute; right: 1px; top: 0; margin: 0; }
.cal-del button { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 13px; line-height: 1; padding: 1px 3px; }
.cal-del button:hover { color: var(--bad); }

.cat-dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: middle; background: var(--voc-silver-dim); }
.cal-item.cat-practice { border-left-color: #3f86c4; } .cat-dot.cat-practice { background: #3f86c4; }
.cal-item.cat-game     { border-left-color: var(--voc-burgundy-bright); } .cat-dot.cat-game { background: var(--voc-burgundy-bright); }
.cal-item.cat-meeting  { border-left-color: var(--warn); } .cat-dot.cat-meeting { background: var(--warn); }
.cal-item.cat-camp     { border-left-color: var(--good); } .cat-dot.cat-camp { background: var(--good); }
.cal-item.cat-travel   { border-left-color: #9b7cc7; } .cat-dot.cat-travel { background: #9b7cc7; }
.cal-item.cat-other    { border-left-color: var(--voc-silver-dim); } .cat-dot.cat-other { background: var(--voc-silver-dim); }

.up-item { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; align-items: baseline; }
.up-item:last-child { border-bottom: none; }
.up-date { color: var(--text-faint); min-width: 130px; font-variant-numeric: tabular-nums; }
.leg-item { display: flex; align-items: center; font-size: 12.5px; padding: 3px 0; color: var(--text-dim); }

/* ====================================================================
   BUDGET TRACKER
   ==================================================================== */
.bt-row { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.bt-row form { margin: 0; }
.bt-edit-wrap { display: inline-block; }
.bt-edit { cursor: pointer; color: var(--voc-silver); font-size: 12px; list-style: none; }
.bt-edit::-webkit-details-marker { display: none; }
.bt-edit-form { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.bt-edit-form input[type="text"] { width: 130px; }
.bt-edit-form input[type="number"] { width: 100px; }
.bt-edit-form .btn { padding: 6px 11px; }
