/**
 * MR-2026-09-002 STEP 11 — Shared booking terms-consent chrome.
 * Foundation: car reserve .policy-details + .check-row (+ .req).
 * Consent chrome only. Term BODY / version / agreement record stay adapter/server owned.
 * CAR ONLY body copy (work notice / cancel fees / car notes URL) must not be invented for generic.
 */

.booking-terms-consent,
.nbt-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
}

.nbt-shell {
  display: grid;
  gap: 0;
}

.nbt-title {
  margin: 0 0 0.65rem;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent, #0f6b5c);
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #cfd9e0);
}

.nbt-lead {
  margin: 0 0 1rem;
  color: var(--ink-muted, #5a6b78);
  font-size: 14px;
  line-height: 1.55;
}

.nbt-facts {
  margin: 0 0 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line, #cfd9e0);
  border-radius: 12px;
  background: #f7fafc;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink, #1a2836);
}

.nbt-facts > div + div {
  margin-top: 6px;
}

.nbt-items {
  display: grid;
  gap: 14px;
  margin: 0 0 12px;
}

.nbt-item {
  display: grid;
  gap: 8px;
}

.nbt-section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink, #1a2836);
}

.nbt-details,
.booking-terms-consent .policy-details {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dde3e8;
  border-radius: 10px;
  background: #f8fafc;
}

.nbt-details > summary,
.booking-terms-consent .policy-details > summary {
  cursor: pointer;
  font-weight: 700;
  list-style: disclosure-closed;
}

.nbt-details[open] > summary,
.booking-terms-consent .policy-details[open] > summary {
  margin-bottom: 8px;
}

.nbt-body-list {
  margin: 8px 0 0 18px;
  padding: 0;
  line-height: 1.55;
  font-size: 0.92rem;
  color: #334155;
}

.nbt-body-list li {
  margin-bottom: 6px;
}

.nbt-body-p,
.nbt-link-row {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.nbt-link-row a {
  color: var(--accent, #0f6b5c);
}

.nbt-check,
.booking-terms-consent .check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.nbt-check input,
.booking-terms-consent .check-row input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--accent, #0f6b5c);
}

.nbt-check.is-disabled,
.booking-terms-consent .check-row.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.nbt-req,
.booking-terms-consent .req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fde8e8;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.nbt-opt {
  display: inline-block;
  margin-left: 6px;
  color: var(--ink-muted, #5a6b78);
  font-size: 12px;
  font-weight: 600;
}

.nbt-version {
  display: inline-block;
  margin-left: 6px;
  color: var(--ink-muted, #5a6b78);
  font-size: 12px;
  font-weight: 600;
}

.nbt-field-err {
  color: var(--bad, #b42318);
  font-size: 0.95rem;
  margin: 6px 0 0;
  min-height: 1.2em;
}

.nbt-nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.nbt-nav .btn {
  width: auto;
  min-width: 7rem;
  flex: 1;
  margin: 0;
  text-align: center;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-btn, 999px);
  border: 1px solid var(--line, #cfd9e0);
  background: #fff;
  cursor: pointer;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nbt-nav .btn.primary {
  background: var(--accent, #0f6b5c);
  color: #fff;
  border-color: var(--accent, #0f6b5c);
}

.nbt-nav .btn.ghost {
  background: #fff;
  border: 1px solid var(--accent, #0f6b5c);
  color: var(--accent, #0f6b5c);
}

.nbt-nav .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .nbt-check input,
  .booking-terms-consent .check-row input {
    width: 22px;
    height: 22px;
  }

  .nbt-nav .btn {
    flex: 1 1 100%;
  }
}

.work-notice-list { margin: 8px 0 0 18px; padding: 0; line-height: 1.55; font-size: 0.92rem; color: #334155; }
.work-notice-list li { margin-bottom: 6px; }
.field-note { margin: 8px 0 0; font-size: 0.9rem; line-height: 1.55; color: #475569; }
.summary-subtitle { margin: 0; font-size: 0.95rem; font-weight: 700; color: #1a2836; }

/* I150 — compact consent + aligned nav */
.nbt-items { gap: 10px; }
.nbt-item { gap: 6px; }
.nbt-nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}
.nbt-nav .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 420px) {
  .nbt-nav { flex-wrap: nowrap; }
  .nbt-nav .btn { min-height: 48px; padding: 14px 12px; }
}
