/* ==========================================================================
   tour-board.css — the tour request board's pages and blocks (2026-10-18):
   the board form on /request, /request-verify, the hiker's quotes on
   /my-request, /business/requests, the homepage card, the tour CTAs and
   the yearly tour and guide plans on /pricing and Subscription.

   Every rule is scoped to a tb- class, so nothing leaks into a page that
   links this file without using the board. Colours come from the brand
   palette in styles.v2.css (--green, --terracotta, --sand, --text-light).
   ========================================================================== */

.tb-page { padding-top: var(--navbar-h, 66px); background: var(--sand, #f5f0e8); min-height: 70vh; }
.tb-wrap { max-width: 860px; margin: 0 auto; padding: 36px 20px 72px; }
.tb-narrow { max-width: 620px; }
.tb-head h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.7rem, 4.6vw, 2.3rem); margin: 0 0 8px; }
.tb-lead { color: var(--text-light, #63676c); line-height: 1.6; margin: 0 0 22px; max-width: 42em; }
.tb-card {
  background: #fff; border: 1px solid #e3d9c6; border-radius: 16px;
  box-shadow: 0 10px 34px rgba(60, 45, 20, .06); padding: 24px 24px 22px; margin: 0 0 20px;
}
.tb-card h2 { font-size: 1.25rem; margin: 0 0 10px; }
.tb-center { text-align: center; }
.tb-center h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.9rem; margin: 6px 0 10px; }
.tb-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center;
  background: #f1f6ec; color: var(--green, #2d5016);
}
.tb-badge svg { width: 30px; height: 30px; }
.tb-ref { font-weight: 700; letter-spacing: .05em; color: var(--green, #2d5016); }
.tb-again { margin-top: 18px; }
.tb-loading { color: var(--text-light, #63676c); }
.tb-sub, .tb-fine { color: var(--text-light, #63676c); font-size: .88rem; line-height: 1.55; margin: 8px 0 0; }
.tb-error {
  display: none; background: #fdecea; color: #a4231c; border: 1px solid #f2c4bf; border-radius: 10px;
  padding: 12px 15px; margin: 0 0 16px; line-height: 1.5;
  scroll-margin-top: calc(var(--navbar-h, 66px) + 16px);
}
.tb-notice {
  background: #f1f6ec; color: #234012; border: 1px solid #cfe0bf; border-radius: 10px;
  padding: 12px 15px; margin: 0 0 16px; line-height: 1.5;
}
.tb-btn {
  display: inline-block; border: 0; border-radius: 10px; padding: 12px 20px; margin-top: 12px;
  background: var(--green, #2d5016); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.tb-btn[disabled] { opacity: .6; cursor: default; }
.tb-btn[hidden] { display: none; }
.tb-btn-ghost {
  border: 1.5px solid #cdbfa5; background: #fff; border-radius: 10px; padding: 10px 16px;
  font: inherit; font-weight: 600; color: var(--text, #1c1c1c); cursor: pointer;
}
.tb-actions { margin: 18px 0 0; }
.tb-pill {
  display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700;
  background: #f3eee3; color: #5b5a55; white-space: nowrap;
}
.tb-pill-ok { background: #e7f2df; color: #2d5016; }
.tb-pill-muted { background: #efede8; color: #6b6a65; }
.tb-pill-accent { background: #fdeee4; color: #9a4423; }
.tb-dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 16px; margin: 14px 0 0; }
.tb-dl dt { font-weight: 600; color: var(--text-light, #63676c); }
.tb-dl dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.tb-check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; font-size: .93rem; cursor: pointer; }
.tb-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green, #2d5016); flex: none; }

/* ---- /request: the board form (inside request.html's r- styles) -------- */
.tb-first {
  border-left: 3px solid var(--terracotta, #c0623a); background: #fbf6ee; border-radius: 8px;
  padding: 12px 14px; margin: 0 0 22px;
}
.tb-first-text { margin: 0; font-weight: 600; line-height: 1.5; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tb-stages { max-height: 280px; overflow-y: auto; padding: 2px; }
.r-form .tb-chip, .tb-chip {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px;
  border: 1.5px solid #e3d9c6; border-radius: 999px; background: #fff; cursor: pointer;
  font-size: .9rem; font-weight: 500;
}
.tb-chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--green, #2d5016); }
.tb-chip.on { border-color: var(--green, #2d5016); background: #f1f6ec; }
.tb-chip:has(input:checked) { border-color: var(--green, #2d5016); background: #f1f6ec; }
.r-form .tb-consent { align-items: flex-start; font-weight: 500; line-height: 1.5; }
.r-form .tb-consent input { margin-top: 2px; }
.tb-captcha { margin-top: 14px; }
.tb-done-email { font-weight: 700; margin: 0 0 10px; overflow-wrap: anywhere; }

/* ---- /my-request: the hiker's quotes ------------------------------------ */
.tb-hiker .m-status .tb-sub { margin-top: 6px; }
.tb-hiker .tb-first-text { margin: 0 0 16px; color: #5b5a55; font-weight: 500; }
.tb-quotes { display: grid; gap: 14px; margin: 0 0 18px; }
.tb-quote { background: #fff; border: 1px solid #e3d9c6; border-radius: 14px; padding: 18px 20px; }
.tb-quote.chosen { border: 2px solid var(--green, #2d5016); }
.tb-quote.faded { opacity: .62; }
.tb-quote-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tb-quote-name { font-size: 1.15rem; margin: 0; }
.tb-quote-name a { color: inherit; }
.tb-quote-meta { color: var(--text-light, #63676c); font-size: .88rem; margin: 4px 0 8px; }
.tb-quote-price { font-size: 1.45rem; font-weight: 700; color: var(--green, #2d5016); margin: 6px 0; }
.tb-quote-basis { font-size: .9rem; font-weight: 500; color: var(--text-light, #63676c); }
.tb-quote-tour { margin: 4px 0; }
.tb-contact { border-top: 1px solid #f0e9dc; padding-top: 12px; }
.tb-brief { margin: 8px 0 0; }
.tb-brief summary { cursor: pointer; font-weight: 600; }

/* ---- /business/requests ------------------------------------------------- */
.tb-plan .tb-plan-name { font-weight: 700; margin: 12px 0 0; }
.tb-price { font-size: 1.8rem; font-weight: 700; color: var(--green, #2d5016); margin: 4px 0 0; }
.tb-mine { background: #fff; border: 1px solid #e3d9c6; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; }
.tb-filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; margin: 0 0 12px; }
.tb-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; }
.tb-filters label.tb-check { flex-direction: row; align-items: center; margin: 0; }
.tb-filters input[type=month], .tb-filters input[type=number], .tb-filters select,
.tb-quote-form input, .tb-quote-form select, .tb-quote-form textarea {
  padding: 9px 11px; border: 1.5px solid #e3d9c6; border-radius: 9px; font: inherit; background: #fff; box-sizing: border-box;
}
.tb-filters input[type=number] { width: 90px; }
.tb-count { color: var(--text-light, #63676c); font-size: .9rem; margin: 6px 0 10px; }
.tb-list { display: grid; gap: 12px; }
.tb-req {
  background: #fff; border: 1px solid #e3d9c6; border-radius: 14px; padding: 15px 18px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.tb-req:hover, .tb-req:focus-visible { border-color: var(--green, #2d5016); box-shadow: 0 6px 18px rgba(45, 80, 22, .08); outline: none; }
.tb-req-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-req-ref { letter-spacing: .04em; }
.tb-req-count { margin-left: auto; font-size: .85rem; color: var(--text-light, #63676c); }
.tb-req-line { margin: 8px 0 2px; font-weight: 600; }
.tb-req-sub { margin: 4px 0 0; font-size: .88rem; color: var(--text-light, #63676c); }
.tb-req-notes { margin: 8px 0 0; font-size: .92rem; line-height: 1.5; }
.tb-empty { background: #fff; border: 1px dashed #cdbfa5; border-radius: 12px; padding: 18px; text-align: center; color: var(--text-light, #63676c); }
.tb-back { border: 0; background: none; padding: 0; color: var(--green, #2d5016); font: inherit; font-weight: 600; cursor: pointer; margin: 0 0 10px; }
.tb-detail:focus { outline: none; }
.tb-hikerbox { background: #f1f6ec; border: 1px solid #cfe0bf; border-radius: 12px; padding: 14px 16px; margin: 18px 0 0; }
.tb-hikerbox h3 { margin: 0 0 6px; font-size: 1rem; }
.tb-hiker-name { font-weight: 700; margin: 0; }
.tb-reason { background: #fbf6ee; border-left: 3px solid var(--terracotta, #c0623a); border-radius: 8px; padding: 12px 14px; margin: 18px 0 0; }
.tb-quote-form { margin: 22px 0 0; border-top: 1px solid #f0e9dc; padding-top: 16px; }
.tb-quote-form h3 { margin: 0 0 6px; }
.tb-quote-form > label, .tb-row > label { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 0; font-weight: 600; font-size: .9rem; }
.tb-quote-form textarea { width: 100%; resize: vertical; }
.tb-row { display: flex; flex-wrap: wrap; gap: 0 14px; }
.tb-row > label { flex: 1 1 150px; }
.tb-quote-form .tb-error { margin: 14px 0 0; }

/* ---- the homepage card, the tour CTAs ------------------------------------ */
.tb-home-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e3d9c6; border-radius: 16px; padding: 22px 24px; margin: 18px auto 0; max-width: 860px;
  box-shadow: 0 10px 34px rgba(60, 45, 20, .06); text-align: left;
}
.tb-home-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.tb-home-card p { margin: 0; color: var(--text-light, #63676c); line-height: 1.55; }
.tb-home-card .tb-btn { margin: 0; white-space: nowrap; }
.contact.tb-board-on .contact-wrapper,
.contact.tb-board-on .contact-services,
.contact.tb-board-on .contact-header > p,
.contact.tb-board-on .contact-meta-item:first-child { display: none; }
.tb-tours-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e3d9c6; border-left: 4px solid var(--terracotta, #c0623a); border-radius: 12px;
  padding: 14px 18px; margin: 0 0 18px;
}
.tb-tours-cta p { margin: 0; line-height: 1.5; }
.tb-tours-cta .tb-btn { margin: 0; }
.tb-tour-quote { margin: 18px 0 0; }

/* ---- the yearly tour and guide plans (/pricing, Subscription) ------------ */
.tb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 0; }
.tb-plan-card { background: #fff; border: 1px solid #e3d9c6; border-radius: 16px; padding: 22px; text-align: left; }
.tb-plan-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.tb-plan-card .tb-price { font-size: 2rem; }
.tb-plan-card ul { margin: 12px 0 0; padding-left: 18px; line-height: 1.6; }

@media (max-width: 600px) {
  .tb-card { padding: 20px 16px; }
  .tb-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .tb-dl dd { margin-bottom: 8px; }
}
