/* Number history page (/number/<tfn>), 2026-10-11: the VanityNumbers.com look.
   Loaded by number_lookup.html only, so the rest of Resporgs.com is unchanged.
   Tokens match VanityNumbers.com: Raleway text and bold headings, Roboto Condensed
   numbers, Nanum Pen Script accents, cream page, orange pill buttons. */

body.vn-look {
  --nh-bg: #FDFDFA;
  --nh-card: #FFFFFF;
  --nh-ink: #111111;
  --nh-ink-soft: #44403C;
  --nh-muted: #78716C;
  --nh-line: #E7E5E4;
  --nh-link: #C2410C;
  --nh-link-hover: #9A3412;
  --nh-brand: #F38E1C;
  --nh-brand-hi: #F59C2E;
  --nh-brand-lo: #E07B0A;
  --nh-brand-dark: #92400E;
  --nh-cream: #FFF7ED;
  --nh-cream-line: #FDE7CF;
  --nh-past: #57534E;
  --nh-spare: #D6D3D1;
  background: var(--nh-bg);
}
/* The site header needs about 1,320px on one line; narrower, its search box ran off
   the right edge and the page scrolled sideways. Let it wrap here. */
body.vn-look .site-header { flex-wrap: wrap; row-gap: 10px; }
/* The site header and footer keep the Resporgs.com look; only the page body changes. */
body.vn-look main {
  max-width: 1040px; padding: 0 16px; margin-top: 24px;
  font-family: Raleway, -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--nh-ink);
  font-variant-numeric: lining-nums;   /* Raleway's default old-style digits read poorly in phone numbers */
}

.nh a { color: var(--nh-link); }
.nh a:hover { color: var(--nh-link-hover); text-decoration: underline; }
.nh h1, .nh h2 { font-family: Raleway, -apple-system, "Segoe UI", system-ui, sans-serif; font-weight: 700; color: var(--nh-ink); }
.nh h2 { font-size: 22px; margin: 0 0 6px; border: 0; padding: 0; }
.nh-mono, .nh-code { font-family: "Roboto Condensed", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.nh-dim { color: var(--nh-muted); }
.nh-source { color: var(--nh-muted); font-size: 14px; margin: 0 0 14px; }

/* ---------- hero ---------- */
.nh-hero { text-align: center; padding: 8px 0 18px; }
/* The scroll on the left; the number with the orange tagline under it on the right. */
.nh-title { display: inline-flex; align-items: center; gap: 20px; text-align: left; max-width: 100%; }
.nh-title-text { min-width: 0; }
.nh-scroll {
  flex: none; display: block; background: #fff; border: 1px solid var(--nh-line); border-radius: 18px;
  padding: 10px 14px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.nh-scroll img { display: block; width: 104px; height: auto; }
.nh-eyebrow {
  font-family: "Nanum Pen Script", cursive; color: #EA580C;
  font-size: 30px; line-height: 1; margin: 6px 0 0;
}
.nh-number {
  font-family: "Roboto Condensed", system-ui, sans-serif !important; font-weight: 700;
  font-size: clamp(36px, 7vw, 58px); letter-spacing: .5px; line-height: 1.05; margin: 0;
}
.nh-digits { font-family: "Roboto Condensed", system-ui, sans-serif; color: var(--nh-ink-soft); font-size: 18px; margin: 6px 0 0; }
.nh-current {
  display: inline-block; margin: 16px auto 0; padding: 10px 18px; max-width: 720px;
  background: var(--nh-cream); border: 1px solid var(--nh-cream-line); border-radius: 999px;
  color: var(--nh-ink-soft); font-size: 16px;
}
.nh-current { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.nh-logo {
  flex: none; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--nh-line); border-radius: 10px; padding: 4px 8px; height: 40px; box-sizing: border-box;
}
.nh-logo:hover { border-color: var(--nh-brand); }
.nh-logo img { display: block; max-height: 30px; max-width: 110px; width: auto; height: auto; }
.nh-current strong a { color: var(--nh-ink); text-decoration: underline; text-decoration-color: var(--nh-brand); text-underline-offset: 3px; }
.nh-code { color: var(--nh-muted); }

/* ---------- cards ---------- */
.nh-card {
  background: var(--nh-card); border: 1px solid var(--nh-line); border-radius: 16px;
  padding: 22px 24px; margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* ---------- timeline ---------- */
.nh-chart {
  --label-w: 190px;
  --lane-h: 46px;
  --bar-h: 18px;
  --bar-top: 20px;          /* bar's top edge inside a lane; date labels sit above it */
  display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr);
  position: relative; margin-top: 6px;
}
.nh-labels { display: flex; flex-direction: column; }
.nh-label {
  height: var(--lane-h); display: flex; align-items: flex-end; padding: 0 12px calc(var(--lane-h) - var(--bar-top) - var(--bar-h)) 0;
  font-weight: 600; font-size: 14.5px; line-height: 1.15; overflow: hidden;
}
.nh-label span { display: block; max-height: 2.4em; overflow: hidden; }
.nh-label.is-spare { color: var(--nh-muted); font-weight: 500; }
.nh-tracks { position: relative; border-left: 1px solid var(--nh-line); }
.nh-lane { position: relative; height: var(--lane-h); }
.nh-lane:nth-child(odd) { background: #FAFAF9; }
.nh-inlabel { display: none; }
.nh-bar {
  position: absolute; top: var(--bar-top); height: var(--bar-h); min-width: 4px;
  border-radius: 4px; background: var(--nh-past); box-sizing: border-box;
}
.nh-lane.is-current .nh-bar { background: var(--nh-brand); }
.nh-bar.k-reserved { opacity: .45; }
.nh-bar.k-disconnected, .nh-lane.is-current .nh-bar.k-disconnected {
  background: repeating-linear-gradient(135deg, var(--c, var(--nh-past)) 0 3px, #fff 3px 6px);
  border: 1.5px solid var(--c, var(--nh-past));
}
.nh-lane.is-current .nh-bar.k-disconnected { --c: var(--nh-brand); }
.nh-bar.k-spare { background: var(--nh-spare); border: 1.5px dashed #A8A29E; }
.nh-dot {
  position: absolute; top: calc(var(--bar-top) + var(--bar-h) / 2 - 6px); width: 12px; height: 12px;
  margin-left: -6px; border-radius: 50%; background: #fff; border: 2px dashed #A8A29E; box-sizing: border-box;
}
.nh-date {
  position: absolute; top: 3px; font-family: "Roboto Condensed", system-ui, sans-serif;
  font-size: 12.5px; color: var(--nh-ink-soft); white-space: nowrap; pointer-events: none;
}
.nh-date.is-end { transform: translateX(calc(-100% - 4px)); }
.nh-now {
  position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dotted var(--nh-brand); pointer-events: none;
}
.nh-link {
  position: absolute; width: 0; border-left: 1.5px solid #A8A29E; pointer-events: none;
  top: calc(var(--lane-h) * var(--lo) + var(--bar-top) + var(--bar-h) / 2);
  height: calc(var(--lane-h) * var(--span));
}
.nh-axis { position: relative; height: 26px; border-top: 1px solid #A8A29E; }
.nh-tick { position: absolute; top: 0; height: 5px; border-left: 1px solid #A8A29E; }
.nh-year {
  position: absolute; top: 6px; transform: translateX(-50%);
  font-family: "Roboto Condensed", system-ui, sans-serif; font-size: 13px; color: var(--nh-muted);
}
.nh-axis-pad { height: 26px; }

.nh-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13.5px; color: var(--nh-ink-soft); }
.nh-legend li { display: inline-flex; align-items: center; gap: 7px; }
.nh-sw { display: inline-block; width: 22px; height: 11px; border-radius: 3px; background: var(--nh-past); box-sizing: border-box; }
.nh-sw.k-working { background: linear-gradient(90deg, var(--nh-past) 50%, var(--nh-brand) 50%); }
.nh-sw.k-reserved { background: var(--nh-past); opacity: .45; }
.nh-sw.k-disconnected { background: repeating-linear-gradient(135deg, var(--nh-past) 0 3px, #fff 3px 6px); border: 1.5px solid var(--nh-past); }
.nh-sw.k-spare { background: var(--nh-spare); border: 1.5px dashed #A8A29E; }

/* ---------- story ---------- */
.nh-story { list-style: none; margin: 4px 0 0; padding: 0; }
.nh-story li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-top: 1px solid var(--nh-line); }
.nh-story li:first-child { border-top: 0; }
.nh-story time { font-family: "Roboto Condensed", system-ui, sans-serif; color: var(--nh-ink-soft); font-weight: 600; }
.nh-story .nh-what { color: var(--nh-ink); }

/* ---------- actions ---------- */
.nh-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 22px; }
.nh .nh-btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(var(--nh-brand-hi) 0%, var(--nh-brand) 60%, var(--nh-brand-lo) 100%);
  box-shadow: 0 4px 14px -2px rgba(243,142,28,.45), inset 0 1px 0 rgba(255,255,255,.25);
}
.nh .nh-btn:hover { background: linear-gradient(var(--nh-brand) 0%, var(--nh-brand-lo) 100%); color: #fff; text-decoration: none; }
.nh .nh-btn-alt { background: #fff; color: var(--nh-brand-dark); border: 1.5px solid var(--nh-brand); box-shadow: none; }
.nh .nh-btn-alt:hover { background: var(--nh-brand); color: #fff; }

/* ---------- nationwide ---------- */
.nh-nw-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--nh-brand-dark); margin: 16px 0 6px;
}
.nh-nw-label:first-child { margin-top: 0; }
.nh-nw { list-style: none; margin: 0; padding: 0; }
.nh-nw li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 9px 0; border-top: 1px solid var(--nh-line);
}
.nh-nw .n { font-family: "Roboto Condensed", system-ui, sans-serif; font-weight: 700; font-size: 18px; min-width: 9.5em; }
.nh-nw .d { color: var(--nh-muted); font-size: 14px; flex: 1 1 12em; }
.nh-nw .go { font-weight: 700; white-space: nowrap; }
.nh-nw-more { margin: 14px 0 0; font-weight: 600; }

/* ---------- tables ---------- */
.nh-details { margin: 0 0 14px; background: var(--nh-card); border: 1px solid var(--nh-line); border-radius: 12px; padding: 12px 18px; }
.nh-details summary { cursor: pointer; font-weight: 600; color: var(--nh-ink-soft); }
.nh-details[open] summary { margin-bottom: 10px; }
.nh-table-wrap { overflow-x: auto; }
.nh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nh-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--nh-muted); padding: 6px 10px 6px 0; border-bottom: 1px solid var(--nh-line); }
.nh-table td { padding: 7px 10px 7px 0; border-bottom: 1px solid #F5F5F4; vertical-align: top; }

/* ---------- lookup ---------- */
.nh-form { display: flex; gap: 10px; max-width: 620px; }
.nh-form input {
  flex: 1; min-width: 0; border: 1px solid #E5E7EB; border-radius: 999px; padding: 12px 20px;
  font-family: "Roboto Condensed", system-ui, sans-serif; font-size: 17px;
}
.nh-form input:focus { outline: none; border-color: var(--nh-brand); box-shadow: 0 6px 18px -6px rgba(243,142,28,.4); }
.nh-form button {
  border: 0; border-radius: 999px; padding: 12px 24px; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
  font-family: Raleway, system-ui, sans-serif;
  background: linear-gradient(var(--nh-brand-hi) 0%, var(--nh-brand) 60%, var(--nh-brand-lo) 100%);
  box-shadow: 0 4px 14px -2px rgba(243,142,28,.45);
}
.nh-lookup { margin-top: 8px; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body.vn-look .site-header { padding: 10px 16px; gap: 8px 14px; position: static; }
  body.vn-look .site-header .nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  body.vn-look .site-header .search { width: 100%; display: flex; }
  body.vn-look .site-header .search input { flex: 1; min-width: 0; width: auto; }
  body.vn-look main { margin-top: 14px; }
  .nh-card { padding: 16px 14px; border-radius: 12px; }
  .nh-current { border-radius: 14px; }
  .nh-title { gap: 12px; }
  .nh-scroll { padding: 6px 8px 3px; border-radius: 12px; }
  .nh-scroll img { width: 62px; }
  .nh-eyebrow { font-size: 24px; }
  .nh-chart { --label-w: 0px; --lane-h: 56px; --bar-top: 32px; grid-template-columns: minmax(0, 1fr); }
  .nh-labels { display: none; }
  .nh-tracks { border-left: 0; }
  .nh-inlabel {
    display: block; position: absolute; left: 4px; top: 2px; right: 4px;
    font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .nh-date { top: 17px; font-size: 11.5px; }
  .nh-story li { grid-template-columns: minmax(0, 1fr); }
  .nh-form { flex-direction: column; }
  .nh-actions .nh-btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- ask / had forms (/history-review?kind=ask|had) ---------- */
.nh-formpage { max-width: 680px; margin: 0 auto; }
.nh-formpage .nh-eyebrow { text-align: left; }
.nh-h1 { font-size: clamp(26px, 4.6vw, 36px); margin: 0 0 8px; line-height: 1.15; }
.nh-lead-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.nh-lead-form label { display: block; font-weight: 600; font-size: 15px; }
.nh-lead-form label .nh-dim { font-weight: 400; }
.nh-lead-form input[type=text], .nh-lead-form input[type=email], .nh-lead-form textarea {
  display: block; width: 100%; box-sizing: border-box; margin-top: 5px;
  font: 400 16px Raleway, system-ui, sans-serif; border: 1px solid #D6D3D1; border-radius: 12px; padding: 10px 14px;
}
.nh-lead-form input:focus, .nh-lead-form textarea:focus { outline: none; border-color: var(--nh-brand); box-shadow: 0 6px 18px -6px rgba(243,142,28,.4); }
.nh-lead-form fieldset { border: 0; margin: 0; padding: 0; }
.nh-lead-form legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.nh-lead-form .nh-radio { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 4px 0; }
.nh-lead-form button {
  align-self: flex-start; border: 0; border-radius: 999px; padding: 12px 26px; color: #fff; font: 700 16px Raleway, system-ui, sans-serif; cursor: pointer;
  background: linear-gradient(var(--nh-brand-hi) 0%, var(--nh-brand) 60%, var(--nh-brand-lo) 100%);
  box-shadow: 0 4px 14px -2px rgba(243,142,28,.45);
}

/* ---------- text pages (/privacy, /ai), 2026-10-16 ---------- */
.nh-doc { max-width: 760px; margin: 0 auto; }
.nh-doc .nh-hero { padding-bottom: 8px; }
.nh-doc .nh-hero .nh-eyebrow { margin: 0 0 4px; }
.nh-doc .nh-card p { margin: 0 0 10px; }
.nh-doc .nh-card p:last-child { margin-bottom: 0; }
.nh-doc .nh-card ul { margin: 6px 0 0; padding-left: 20px; }
.nh-doc .nh-card li { margin: 0 0 8px; }
.nh-addr {
  font-family: "Roboto Condensed", system-ui, sans-serif; font-size: 19px; font-weight: 600;
  background: var(--nh-cream); border: 1px solid var(--nh-cream-line); border-radius: 12px;
  padding: 10px 16px; display: inline-block; user-select: all;
}
