/* Flip-Synergy — dark navy / cream / orange, garage-friendly big targets */
:root {
  --navy: #0b1526;
  --navy-2: #122036;
  --navy-3: #1a2c47;
  --cream: #f5ebd9;
  --cream-dim: #cdbfa4;
  --orange: #f26b21;
  --orange-dark: #c8520f;
  --green: #3fbf6f;
  --red: #e5484d;
  --amber: #f5b921;
  --teal: #2fbfa5;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  padding-bottom: 48px;
}

.hidden { display: none !important; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--navy-2);
  border-bottom: 3px solid var(--orange);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-loop {
  width: 26px; height: 26px; flex: 0 0 auto;
  border: 5px solid var(--orange);
  border-radius: 50%;
  border-top-color: var(--cream);
  transform: rotate(45deg);
}
.brand-name { font-weight: 800; letter-spacing: 1px; font-size: 20px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.user-chip {
  background: var(--navy-3);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  max-width: 40vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- layout ---------- */
main { max-width: 760px; margin: 0 auto; padding: 16px; }
.screen-title { font-size: 26px; margin: 4px 0 8px; }
.card {
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}
.card-title { margin: 0 0 12px; font-size: 21px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-between.wrap { flex-wrap: wrap; }
.row-gap { display: flex; gap: 10px; }
.grow { flex: 1 1 auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .grid2, .grid3 { grid-template-columns: 1fr 1fr; }
}
.meta { color: var(--cream-dim); margin: 0 0 6px; }
.money-line { font-weight: 700; margin: 0 0 6px; }
.hint { color: var(--cream-dim); font-size: 15px; margin: 0 0 10px; }
.empty { color: var(--cream-dim); text-align: center; padding: 24px 0; }
.msg { min-height: 1.2em; margin: 4px 0 0; color: var(--amber); font-size: 15px; }
.msg.ok { color: var(--green); }

/* ---------- forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--navy-3);
  background: var(--navy);
  color: var(--cream);
  font-size: 17px;
  font-family: inherit;
  width: 100%;
}
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }

.btn {
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-big { min-height: 58px; font-size: 18px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:active { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--navy-3); }
.btn-danger { background: transparent; color: #ff8589; border-color: var(--red); }
.btn-danger.solid, #btn-record { background: var(--red); color: #fff; border-color: var(--red); }
.btn:disabled { opacity: .45; cursor: default; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab {
  flex: 1;
  min-height: 52px;
  border-radius: 10px;
  border: 2px solid var(--navy-3);
  background: var(--navy);
  color: var(--cream-dim);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.warn {
  max-width: 760px;
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #4a3205;
  border: 1px solid var(--amber);
  color: #ffe9b0;
  font-size: 15px;
}
.warn code { background: rgba(0,0,0,.35); padding: 1px 5px; border-radius: 5px; }

/* ---------- vehicle cards & chips ---------- */
.vehicle-card {
  text-align: left;
  width: 100%;
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--cream);
  cursor: pointer;
  font-family: inherit;
}
.vehicle-card:active { background: var(--navy-3); }
.vc-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.vc-sub { color: var(--cream-dim); margin: 0 0 8px; font-size: 15px; }
.vc-money { font-weight: 700; margin: 0; font-size: 15px; }
.vc-flags { color: #ff8589; margin: 6px 0 0; font-size: 15px; }

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: var(--navy-3);
  color: var(--cream);
}
.chip-sourcing   { background: #33507e; }
.chip-inspecting { background: var(--amber); color: #231a00; }
.chip-rebuilding { background: var(--orange); color: #fff; }
.chip-listed     { background: var(--teal); color: #04231d; }
.chip-sold       { background: var(--green); color: #06280f; }
.flag-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13px;
  font-weight: 800;
  margin-left: 8px;
  vertical-align: middle;
}
.redflags {
  background: rgba(229, 72, 77, .14);
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  white-space: pre-wrap;
}

/* ---------- parts / totals ---------- */
.totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.total-box {
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.total-box .t-label { display: block; color: var(--cream-dim); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.total-box .t-value { display: block; font-size: 24px; font-weight: 800; margin-top: 2px; }
.margin {
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 18px;
  background: var(--navy);
  border: 1px solid var(--navy-3);
  margin-bottom: 14px;
}
.margin.good { border-color: var(--green); color: #9fe8bb; }
.margin.bad { border-color: var(--red); color: #ffb3b5; }
.margin small { display: block; font-weight: 600; color: var(--cream-dim); font-size: 14px; margin-top: 2px; }

.part-row {
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.part-row .pr-top { display: flex; gap: 10px; }
.part-row .pr-name { flex: 1; }
.part-row .pr-nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.part-row .pr-actions { display: flex; gap: 10px; }
.part-row .btn { min-height: 48px; flex: 1; }
.part-add { border-top: 1px dashed var(--navy-3); padding-top: 14px; margin-top: 4px; }

.calc-result {
  background: var(--navy);
  border: 2px solid var(--orange);
  border-radius: 10px;
  padding: 14px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

/* ---------- checklists ---------- */
.check-group h3 { margin: 14px 0 8px; font-size: 18px; text-transform: capitalize; }
.check-group h3 .progress { color: var(--cream-dim); font-size: 14px; font-weight: 600; text-transform: none; }
.check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 10px;
  padding: 14px;
  min-height: 56px;
  color: var(--cream);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 8px;
  touch-action: manipulation;
}
.check-item:active { background: var(--navy-3); }
.state {
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.state-pending { background: var(--navy-3); color: var(--cream-dim); }
.state-done { background: var(--green); color: #06280f; }
.state-na { background: #555f73; color: #dfe5ee; }
.check-item.is-done { border-color: var(--green); }
.check-item.is-na { opacity: .65; }

/* ---------- photos ---------- */
.file-label { display: block; }
.file-btn { display: flex; align-items: center; justify-content: center; width: 100%; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.photo-cell { background: var(--navy); border: 1px solid var(--navy-3); border-radius: 10px; overflow: hidden; }
.photo-cell img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--navy-3); }
.photo-cell .pc-cap { padding: 8px 10px; font-size: 14px; color: var(--cream-dim); min-height: 20px; }
.photo-cell .btn { width: 100%; border-radius: 0; min-height: 46px; }

/* ---------- notes ---------- */
.note-cell { background: var(--navy); border: 1px solid var(--navy-3); border-radius: 10px; padding: 12px 14px; }
.note-cell .n-body { white-space: pre-wrap; margin: 6px 0 0; }
.note-cell .n-meta { color: var(--cream-dim); font-size: 13px; }
.note-cell audio { width: 100%; margin-top: 8px; }
.kind-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--navy-3);
  color: var(--cream);
}
.kind-voice { background: var(--orange); color: #fff; }
.kind-quote { background: var(--teal); color: #04231d; }
.recorder { border-top: 1px dashed var(--navy-3); margin-top: 14px; padding-top: 6px; }
.recording { color: #ff8589 !important; font-weight: 700; }

.details-edit { margin-top: 14px; }
.details-edit summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  min-height: 48px;
}
.details-edit .btn-danger { margin-top: 12px; width: 100%; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  z-index: 50;
  max-width: 90vw;
  text-align: center;
}

/* ---------- password show/hide ---------- */
.pw-wrap { display: flex; gap: 8px; align-items: stretch; }
.pw-wrap input { flex: 1 1 auto; }
.pw-toggle {
  flex: 0 0 auto;
  min-width: 76px;
  border-radius: 10px;
  border: 2px solid var(--navy-3);
  background: var(--navy-3);
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

/* ---------- member approvals ---------- */
.count-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 2px 11px;
  font-size: 15px;
  font-weight: 800;
  vertical-align: middle;
}
.sub-title { margin: 18px 0 6px; font-size: 17px; }
.member-row {
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-row .m-name { font-weight: 800; font-size: 18px; margin: 0; }
.member-row .m-meta { color: var(--cream-dim); font-size: 14px; margin: 0; }
.member-row .pr-actions { display: flex; gap: 10px; }
.member-row .btn { min-height: 48px; flex: 1; }
.btn-approve { background: var(--green); color: #06280f; }

/* ============ layout-match (original tracker) ============ */
body { font-family: "Baloo 2", "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.brand-back { background: none; border: none; color: #fff; font-size: 30px; font-weight: 800; line-height: 1; padding: 0 6px 0 0; cursor: pointer; font-family: inherit; }
.auth-logo { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; display: block; margin: 2px auto 10px; }
.auth-card .card-title { text-align: center; }
.form-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; margin: 0 auto; }

/* stage pills (original stages) */
.chip-scouting   { background: #33507e; color: #fff; }
.chip-purchased  { background: var(--amber); color: #231a00; }
.chip-teardown   { background: #7a4fd0; color: #fff; }
.chip-rebuilding { background: var(--orange); color: #fff; }
.chip-testing    { background: var(--teal); color: #04231d; }
.chip-finished   { background: var(--green); color: #06280f; }
.chip-sold       { background: #57606a; color: #fff; }

/* search home */
.search-bar { display: flex; gap: 8px; margin-bottom: 14px; }
.search-bar input { flex: 1; min-width: 0; }
.search-bar select { flex: 0 0 108px; }
.fab { position: fixed; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 62px; height: 62px; border-radius: 50%; border: none; background: var(--orange); color: #fff; font-size: 36px; font-weight: 700; line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,.45); cursor: pointer; z-index: 40; font-family: inherit; }
.fab:active { background: var(--orange-dark); }
.vc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.vc-idx { color: var(--orange); font-weight: 800; }
.viewing-badge { display: inline-block; background: var(--teal); color: #04231d; border-radius: 999px; padding: 5px 15px; font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-left: 10px; vertical-align: middle; animation: viewing-pulse 2s ease-in-out infinite; }
@keyframes viewing-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .55); } 50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); } }
.vehicle-card.is-viewing { outline: 2px solid var(--teal); outline-offset: -2px; }
.vc-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.btn-mini { min-height: 36px; padding: 4px 12px; font-size: 14px; border-radius: 10px; }
.progress-wrap { background: rgba(255,255,255,.12); border-radius: 999px; height: 10px; overflow: hidden; margin-top: 8px; }
.progress-bar { background: var(--orange); height: 100%; width: 0%; border-radius: 999px; transition: width .3s; }
.vc-progress { margin-top: 2px; }
.member-row .btn-mini { flex: 1; }

/* vehicle tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; background: #0d1830; border-top: 2px solid rgba(255,255,255,.14); padding-bottom: env(safe-area-inset-bottom); }
.tabbtn { flex: 1; background: none; border: none; color: #aebad0; font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 8px 2px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tabbtn .tic { font-size: 21px; line-height: 1.1; }
.tabbtn.on { color: #fff; box-shadow: inset 0 3px 0 var(--orange); }
.tabbtn.tab-center { color: #fff; }
.tabbtn.tab-center .tic { background: var(--orange); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-top: -14px; box-shadow: 0 4px 12px rgba(0,0,0,.4); font-size: 19px; }
body.has-tabbar main { padding-bottom: 92px; }
.pane { display: block; }

/* inspection verdicts */
.vd { display: inline-block; border-radius: 7px; padding: 0 8px; font-weight: 800; font-size: 13px; }
.vd-pass { background: #1d7a3a; color: #eafff1; }
.vd-concern { background: #b8860b; color: #fff8e1; }
.vd-fail { background: #b3261e; color: #ffeceb; }
.vd-na { background: #6a4fd0; color: #f0ebff; }
.insp-row { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; }
.insp-top { display: flex; align-items: flex-start; gap: 8px; }
.insp-title { flex: 1; font-weight: 700; }
.info-btn { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: #cfe0ff; font-size: 15px; cursor: pointer; font-family: inherit; }
.insp-how { margin: 8px 0 2px; font-size: 14.5px; color: #c6d2e6; line-height: 1.45; }
.verdict-btns { display: flex; gap: 6px; margin-top: 9px; }
.verdict-btns button { flex: 1; min-height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #dbe4f2; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.verdict-btns button.on-pass { background: #1d7a3a; color: #fff; border-color: #1d7a3a; }
.verdict-btns button.on-concern { background: #b8860b; color: #fff; border-color: #b8860b; }
.verdict-btns button.on-fail { background: #b3261e; color: #fff; border-color: #b3261e; }
.verdict-btns button.on-na { background: #6a4fd0; color: #fff; border-color: #6a4fd0; }

/* task rows + groups */
.group-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.group-head h3 { margin: 0; font-size: 17px; }
.group-head .progress { color: #9fb0ca; font-size: 13.5px; font-weight: 700; }
.sel-btns { display: flex; gap: 6px; }
.sel-btns button { background: none; border: 1px solid rgba(255,255,255,.3); color: #dbe4f2; border-radius: 8px; padding: 4px 10px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 32px; }
.task-row { display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; width: 100%; background: none; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
.task-box { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; margin-top: 1px; }
.task-row.is-done .task-box { background: var(--green); border-color: var(--green); color: #06280f; }
.task-row.is-done .task-title { text-decoration: line-through; opacity: .75; }
.task-main { flex: 1; min-width: 0; }
.task-title { font-weight: 700; display: block; }
.task-cat { color: #9fb0ca; font-size: 13px; font-weight: 700; }
.task-how { font-size: 14px; color: #c6d2e6; line-height: 1.45; margin-top: 6px; }

/* photos */
.pc-cat { display: inline-block; background: rgba(242,107,33,.9); color: #fff; border-radius: 7px; padding: 0 8px; font-size: 12.5px; font-weight: 800; margin-bottom: 3px; }

.danger-zone { border-color: rgba(179,38,30,.55); }

/* ---------- shop / crew entry toggle ---------- */
.mode-toggle { display: flex; gap: 8px; margin: 0 0 14px; }
.mode-btn {
  flex: 1; padding: 12px 8px; border-radius: var(--radius);
  border: 2px solid var(--navy-3); background: var(--navy);
  color: var(--cream-dim); font: inherit; font-weight: 700; cursor: pointer;
}
.mode-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- shop (customers) ---------- */
.shop-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 620px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
.shop-card {
  background: var(--navy-2); border: 1px solid var(--navy-3);
  border-radius: var(--radius); overflow: hidden;
}
.shop-photo {
  aspect-ratio: 4 / 3; background: var(--navy-3);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.shop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-photo-ph { color: var(--cream-dim); }
.shop-body { padding: 12px 14px 14px; }
.shop-price { color: var(--orange); font-size: 22px; font-weight: 800; margin: 2px 0; }
.shop-actions { display: flex; gap: 8px; margin-top: 10px; }
.shop-actions .btn { flex: 1; }
.active-toggle { background: var(--orange) !important; border-color: var(--orange) !important; color: #fff !important; }
.sl-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.sl-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--navy-3); }
.sl-price { color: var(--orange); font-size: 24px; font-weight: 800; }
.sl-text { white-space: pre-line; margin: 0 0 10px; }
.check-line { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pub-switch-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 17px; padding: 4px 0; }
.pub-switch { position: relative; display: inline-block; width: 62px; height: 34px; flex: 0 0 auto; }
.pub-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.pub-switch i { position: absolute; inset: 0; border-radius: 999px; background: #d64541; transition: background 0.2s ease; }
.pub-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); transition: left 0.2s ease; }
.pub-switch input:checked + i { background: #2fa84f; }
.pub-switch input:checked + i::after { left: 31px; }
.check-line input { width: auto; transform: scale(1.3); }

/* My Garage (Phase D1) */
.gv-row { width: 100%; text-align: left; }
.gv-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.gv-item:last-child { border-bottom: none; }
#print-area { display: none; }
@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { display: block; position: absolute; inset: 0; padding: 24px; color: #000; background: #fff; }
  #print-area table { width: 100%; border-collapse: collapse; }
  #print-area th, #print-area td { border: 1px solid #999; padding: 6px 8px; text-align: left; font-size: 13px; }
}

/* Service specs (Phase D2) */
.spec-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.spec-ok { background: #14532d; color: #4ade80; border: 1px solid #22c55e; }
.spec-no { background: rgba(255,255,255,.06); color: #9ca3af; border: 1px solid rgba(255,255,255,.15); }

body.has-custbar main { padding-bottom: 92px; }
