/* After Theft refresh (23 Nov 2026). One look for every public page: cream paper, ink text, the luggage tag,
   rules and space between sections (no cards inside cards). Everything is scoped to .rf so pages that have not
   been moved yet keep their old styles. The display face is for the main headline, the dark section and step
   numerals only; everything else is Sarabun. */
.rf {
  --rf-paper: #fbf7ee; --rf-tag: #fff5db; --rf-ink: #17243c; --rf-deep: #111a2d; --rf-muted: #56637a;
  --rf-rule: #ddd5c2; --rf-sky: #e3ecf3; --rf-stamp: #b8402a; --rf-teal: #1f7775;
  background: var(--rf-paper); color: var(--rf-ink); color-scheme: light;
  font: 400 17px/1.55 var(--text);
}
.rf:lang(th) { line-height: 1.75; }
.rf :focus-visible { outline: 3px solid var(--rf-teal); outline-offset: 3px; border-radius: 6px; }
.rf-shell { max-width: 70rem; margin: 0 auto; padding: 0 20px; }
.rf h1 { font: 400 clamp(2.05rem, 9.2vw, 3.6rem)/1.06 var(--display); letter-spacing: -.005em; text-wrap: balance; color: var(--rf-ink); }
.rf:lang(th) h1 { line-height: 1.32; font-size: clamp(1.8rem, 8vw, 3.2rem); }
.rf h2 { font: 700 1.5rem/1.2 var(--text); letter-spacing: -.01em; text-wrap: balance; }
.rf:lang(th) h2 { line-height: 1.4; letter-spacing: 0; }
.rf h3 { font: 700 1.08rem/1.3 var(--text); }
.rf:lang(th) h3 { line-height: 1.5; }
.rf-kicker { font: 700 .78rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--rf-muted); margin-bottom: 10px; }
.rf-link { font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rf-fine { font-size: .9rem; color: var(--rf-muted); }

.rf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--rf-ink); color: var(--rf-tag); font: 700 1.05rem/1.2 var(--text); text-decoration: none; border: 0; cursor: pointer;
  max-width: 100%; padding-block: 8px; text-align: center; text-wrap: balance; }
.rf-btn.is-small { white-space: nowrap; }
.rf-btn:hover { background: #24375a; }
.rf-btn.is-light { background: var(--rf-tag); color: var(--rf-deep); }
.rf-btn.is-light:hover { background: #fff; }
.rf-btn.is-ghost { background: transparent; color: var(--rf-ink); box-shadow: inset 0 0 0 1.5px var(--rf-ink); }
.rf-btn.is-ghost:hover { background: rgba(23, 36, 60, .06); }
.rf-btn.is-small { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.rf-btn .city-form-language { font-weight: 500; font-size: .86em; }

/* The tag hangs from the top of the page beside the headline. */
.rf-hero { padding: 26px 0 24px; position: relative; overflow: hidden; }
.rf-hero-copy { position: relative; }
.rf-hang { position: absolute; right: -2px; top: -30px; width: 74px; transform-origin: 50% 0; transform: rotate(7deg); pointer-events: none; }
.rf-hang i { display: block; width: 1.5px; height: 32px; background: var(--rf-ink); margin: 0 auto -6px; opacity: .7; }
.rf-hang svg { display: block; width: 100%; height: auto; }
.rf-hero h1 { padding-right: 88px; }
.rf-lede { margin-top: 10px; font-size: 1.08rem; max-width: 30ch; }
.rf-acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.rf-acts .rf-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* Police stations */
.rf-stations { padding: 6px 0 30px; }
.rf-stations h2 { padding-top: 24px; border-top: 1px solid var(--rf-rule); scroll-margin-top: 5.25rem; }
.rf-sub { color: var(--rf-muted); margin-top: 4px; font-size: .98rem; }
.rf-stlist { margin-top: 2px; }
.rf-st { margin-top: 14px; border: 1.5px solid var(--rf-ink); border-radius: 12px; background: #fff; overflow: hidden; }
.rf-st-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.rf-st-top small { display: block; font: 700 .7rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--rf-muted); }
.rf-st-top b { display: block; font-size: 1.08rem; line-height: 1.3; }
.rf-st-name { display: block; color: var(--rf-teal); font-weight: 700; font-size: .95rem; }
.rf-st-th { background: var(--rf-tag); border-top: 1px dashed #b9ad8d; padding: 10px 14px 12px; }
.rf-st-th small, .rf-phrase small { display: block; font: 700 .7rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--rf-muted); }
.rf-st-th [lang="th"], .rf-phrase [lang="th"] { display: block; font: 700 1.25rem/1.5 var(--text); margin-top: 2px; }
.rf-st-en { display: block; font-size: .88rem; color: var(--rf-muted); }
.rf-call { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rf-rule); border-bottom: 1px solid var(--rf-rule); }
.rf-call b { display: block; }
.rf-call span span { color: var(--rf-muted); font-size: .92rem; }
.rf-airports { margin-top: 14px; display: grid; gap: 4px; }
.rf-airports h3 { margin-bottom: 2px; }
.rf-airports a { display: block; padding: 8px 0; }

/* Numbered steps: plain lines, no cards */
.rf-steps { padding: 30px 0 34px; }
.rf-steps ol { margin-top: 16px; counter-reset: rf-step; }
.rf-steps li { counter-increment: rf-step; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-top: 1px solid var(--rf-rule); }
.rf-steps li::before { content: counter(rf-step); font: 400 1.9rem/1 var(--display); color: var(--rf-stamp); }
.rf-steps li p { color: var(--rf-muted); margin-top: 2px; font-size: .98rem; }
.rf-items { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px !important; }
.rf-items a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--rf-ink); font-weight: 700; font-size: .95rem; text-underline-offset: 4px; }
.rf-steps .rf-btn { margin-top: 10px; }
.rf-phrase { margin-top: 12px; background: var(--rf-tag); border: 1.5px solid var(--rf-ink); border-radius: 10px; padding: 10px 14px; }

/* The document */
.rf-doc { background: var(--rf-sky); padding: 34px 0; }
.rf-doc .rf-shell { display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: center; }
.rf-sheet { display: block; background: #fff; padding: 5px; box-shadow: 0 1px 0 rgba(23, 36, 60, .2), 0 10px 22px rgba(23, 36, 60, .18); transform: rotate(-3deg); }
.rf-sheet img { display: block; width: 100%; height: auto; }
.rf-doc p { margin-top: 6px; }
.rf-doc .rf-shell > div { min-width: 0; }
.rf-doc .rf-btn { margin-top: 14px; white-space: normal; padding: 10px 22px; text-align: center; }
.rf-doc .rf-link { display: inline-block; padding: 10px 0; margin-top: 2px; }

/* Is someone selling it? (dark) */
.rf-sell { background: var(--rf-deep); color: #eef2f7; padding: 44px 0 40px; }
.rf-sell .rf-kicker { color: #9db3cc; }
.rf-sell h2, .rf-sell h1 { font: 400 2rem/1.1 var(--display); color: #fff; letter-spacing: 0; }
.rf-sell:lang(th) h2, .rf-sell:lang(th) h1 { line-height: 1.4; font-size: 1.75rem; }
.rf-sell-lead { margin-top: 10px; color: #cfd9e6; }
.rf-found { margin-top: 22px; background: var(--rf-tag); color: var(--rf-ink); border-radius: 14px; overflow: hidden; }
.rf-found figure { margin: 0; position: relative; }
.rf-found figure > img { display: block; width: 100%; height: 200px; object-fit: cover; }
.rf-zoom { position: absolute; right: 12px; bottom: 12px; width: 150px; border: 3px solid #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.rf-zoom img { display: block; width: 100%; height: auto; }
.rf-found-label { position: absolute; left: 12px; top: 12px; background: var(--rf-deep); color: #fff; font: 700 .74rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 5px; }
.rf-found-body { padding: 16px 16px 18px; }
.rf-where { font-size: .9rem; color: var(--rf-muted); }
.rf-title { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-top: 2px; }
.rf-serial { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #b9ad8d; font-size: .92rem; }
.rf-serial code { display: block; font: 700 1.35rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.rf-advice { margin-top: 10px; font-weight: 700; color: var(--rf-stamp); font-size: .95rem; }
.rf-sell .rf-found .rf-summary { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; margin-top: 6px; color: var(--rf-ink); font-size: .95rem; }
.rf-facts { margin-top: 24px; display: grid; gap: 12px; }
.rf-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: #dfe7f0; }
.rf-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rf-tag); margin-top: .62em; }
.rf-price { margin-top: 22px; padding-top: 18px; border-top: 1px solid #2c3a55; font-weight: 700; color: #fff; }
.rf-sell .rf-acts { margin-top: 18px; }
.rf-sell .rf-link { color: #fff; }
.rf-sell .rf-fine { margin-top: 18px; color: #a9b7ca; }
.rf-sell :focus-visible { outline-color: var(--rf-tag); }

/* Homepage */
.rf-home-hero { padding: 30px 0 34px; }
.rf-home-hero .rf-lede { margin-top: 14px; font-size: 1.1rem; max-width: 34ch; }
.rf-ask { margin-top: 26px; font: 700 1.15rem/1.3 var(--text) !important; letter-spacing: 0 !important; }
.rf-ask small { font: 400 .92rem/1 var(--text); color: var(--rf-muted); margin-left: 6px; white-space: nowrap; }
.rf-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.rf-pick { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 4px 10px; background: var(--rf-tag); color: var(--rf-ink);
  border: 1.5px solid var(--rf-ink); border-radius: 10px; text-decoration: none; font: 700 .95rem/1.2 var(--text); text-align: center; position: relative;
  box-shadow: 0 2px 0 var(--rf-ink); overflow-wrap: anywhere; }
.rf-pick:hover { background: #fff; }
.rf-pick:active { transform: translateY(2px); box-shadow: none; }
.rf-pick::before { content: ""; position: absolute; top: 6px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--rf-paper); box-shadow: inset 0 0 0 1.5px var(--rf-ink); }
.rf-pick img { width: 52px; height: 52px; margin-top: 6px; }
.rf-home-hero .rf-fine { margin-top: 14px; }
.rf-langs { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rf-rule); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 0 14px; }
.rf-langs a { display: inline-flex; align-items: center; min-height: 40px; white-space: nowrap; text-underline-offset: 4px; color: var(--rf-ink); }
.rf-get .rf-shell { grid-template-columns: 118px 1fr; }
.rf-home .rf-steps { padding: 38px 0 8px; }
.rf-steplink { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rf-more { padding: 14px 0 0; border-top: 1px solid var(--rf-rule); display: grid; gap: 4px; font-size: .98rem; }
.rf-more .rf-link { display: inline-block; padding: 8px 0; justify-self: start; }
.rf-more .airport-line { margin: 6px 0 0; color: var(--rf-ink); }
.rf-more .airport-line a { color: inherit; font-weight: 700; text-underline-offset: 4px; display: inline-block; padding: 6px 0; }
.rf-find { padding: 40px 0; }
.rf-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px; margin-top: 18px; }
.rf-tags a { display: block; color: var(--rf-ink); text-decoration: none; }
.rf-tags a:hover svg { transform: translateY(-2px) rotate(-2deg); }
.rf-tags svg { display: block; width: 100%; height: auto; transition: transform .15s; }
.rf-tags a span { display: block; text-align: center; font: 700 .82rem/1.25 var(--text); margin-top: 6px; }
.rf-other { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rf-rule); }
.rf-other label { font-weight: 700; display: block; margin-bottom: 8px; }
.rf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-row input { flex: 1 1 9rem; min-width: 0; height: 52px; border: 1.5px solid var(--rf-ink); border-radius: 10px; background: #fff; padding: 0 14px; font: 400 1rem var(--text); color: var(--rf-ink); }
.rf-row .rf-btn { padding: 0 18px; border-radius: 10px; flex: 1 0 auto; }
.rf-other .rf-fine { margin-top: 8px; }

@media (min-width: 860px) {
  .rf { font-size: 18px; }
  .rf-hero { padding: 56px 0 40px; }
  .rf-hero h1 { padding-right: 150px; }
  .rf-hang { right: 40px; top: -56px; width: 110px; }
  .rf-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; max-width: 70rem; margin: 0 auto; padding: 0 20px; }
  .rf-grid .rf-shell { padding: 0; }
  .rf-grid .rf-steps { padding-top: 6px; }
  .rf-grid .rf-steps h2 { padding-top: 24px; border-top: 1px solid var(--rf-rule); }
  .rf-stlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; }
  .rf-doc .rf-shell { grid-template-columns: 180px 1fr; gap: 48px; }
  .rf-home-hero { padding: 64px 0; }
  .rf-home-hero .rf-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 170px; align-items: start; }
  .rf-home-hero h1 { padding-right: 0; }
  .rf-home-hero .rf-hang { right: auto; left: calc(100% + 30px); top: -64px; }
  .rf-hero-side { padding-top: 10px; }
  .rf-ask { margin-top: 0; }
  .rf-pick img { width: 64px; height: 64px; }
  .rf-get .rf-shell { grid-template-columns: 200px 1fr; }
  .rf-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 70rem; margin: 0 auto; padding: 0 20px; }
  .rf-lower .rf-shell { padding: 0; }
  .rf-lower .rf-find { padding-top: 38px; }
  .rf-sell .rf-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; grid-template-areas: 'head card' 'rest card'; align-items: start; }
  .rf-sell-head { grid-area: head; } .rf-sell-rest { grid-area: rest; }
  .rf-found { grid-area: card; margin-top: 0; }
}
@media print {
  .rf-sell, .rf-doc, .rf-hang, .rf-acts { display: none; }
}

/* Footer links were pale blue on pale blue (hard to read). */
@media screen { .footer #footer-line a, .footer .city-footer a { color: #253658; } }

/* The new-document form in three steps (23 Nov 2026). One step shows at a time; every field stays in the page. */
.intake-page.is-stepped[data-step="1"] [data-panel]:not([data-panel="1"]),
.intake-page.is-stepped[data-step="2"] [data-panel]:not([data-panel="2"]),
.intake-page.is-stepped[data-step="3"] [data-panel]:not([data-panel="3"]) { display: none; }
.intake-page.is-stepped:not([data-step="1"]) .page-head :is(.prose, .document-peek) { display: none; }
.steps-nav { list-style: none; display: flex; gap: 8px; margin: 0 0 14px; padding: 0; }
.steps-nav li { flex: none; min-width: 0; }
.steps-nav button { display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; max-width: 100%; padding: 0 6px; border: 1.5px solid #17243c; border-radius: 999px; background: transparent; color: #17243c; font: inherit; font-weight: 700; cursor: pointer; }
.steps-nav b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; }
.steps-nav span { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.steps-nav button[aria-current] { background: #17243c; color: #fff; }
.steps-nav button[aria-current] b { background: #fff5db; color: #17243c; }
.steps-nav button[aria-current] span { display: block; }
.steps-nav li:has(button[aria-current]) { flex: 0 1 auto; }
.steps-nav button[aria-current] { min-width: 0; }
.intake-page.is-stepped .page-head h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.15; }
.intake-page.is-stepped .intake-lede { display: none; }
.intake-page.is-stepped #record-you { border-top: 0; margin-top: 0; padding-top: 0; }
.intake-page.is-stepped :is(h1, h2)[tabindex="-1"]:focus { outline: none; }
.intake-page .step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.intake-page .step-actions .button { min-height: 48px; }
.intake-page .step-actions [data-action="step-next"] { flex: 1 1 12rem; }
.intake-page.is-stepped .record-items { scroll-margin-top: 6rem; }

/* One look for the whole site (23 Nov 2026): every page sits on the cream paper with ink text, as the homepage and
   city pages do. The older pages were written for a dark room; these rules re-point their colours. */
@media screen {
  :root {
    --night: #fbf7ee; --desk: #fffdf7; --rule: #ddd5c2; --smoke: #56637a; --lamp: #253658; --peach: #e3ecf3;
    --paper: #fffdf7; --paper-edge: #ddd5c2; --ink: #17243c; --ink-soft: #56637a; --stamp: #253658;
    --folio-ink: #17243c; --folio-blue: #253658; --folio-mist: #fbf7ee; --folio-paper: #fffdf7; --folio-rule: #ddd5c2;
  }
  body { background: #fbf7ee; color: #17243c; }
  :is(.lede, .prose.long, .price-line, .live, .compare p, .story-teaser .prose) { color: #17243c; }
  .button { background: #17243c; border-color: #17243c; color: #fff; }
  .button:hover { background: #253658; border-color: #253658; }
  .button.ghost { background: transparent; color: #17243c; border-color: #17243c; }
  .button.ghost:hover { background: #fff5db; border-color: #17243c; }
  .button.dark { background: #17243c; border-color: #17243c; color: #fff; }
  .warning { color: #17243c; background: #fff5db; border-left-color: #b8402a; }
  .page-head h1 { color: #17243c; }
  /* Text that was pale for the dark room. */
  :is(.big-line, .sample-badge, .serial, .compare h3, .avatar, a.chip, .msg-from, .journey-label, .record-copy .lede) { color: #17243c; }
  a.chip { border-color: #17243c; }
  .result-feature .result-feature-title { background: #17243c; color: #fff5db; }
  /* The footer stays at the bottom of short pages. */
  body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  body > main { flex: 1 0 auto; width: 100%; align-content: start; }
  body > :is(.masthead, .footer) { flex: none; }

  /* Guides: steps are a plain numbered list on the paper, as on the homepage. */
  .field-guide .field-steps { background: transparent; border: 0; border-radius: 0; padding: 0; }
  .field-guide .field-steps > li { padding: 16px 0 16px 44px; border-color: #ddd5c2; }
  .field-guide .field-steps > li:first-child { border-top: 1px solid #ddd5c2; }
  .field-guide .field-steps > li::before { content: counter(field-step); top: 14px; font: 400 1.9rem/1 var(--display); color: #b8402a; }
  .field-guide :is(.field-step-link, .guide-document), .field-guide .journey-label { color: #17243c; }

  /* Airport guides: the same paper and tags as the city pages. */
  .city-cover { background: #fbf7ee; color: #17243c; border-bottom: 1px solid #ddd5c2; }
  .city-top h1 { color: #17243c; }
  .city-intro, .city-find { color: #17243c; }
  .airport-routes a { background: #fff5db; color: #17243c; border: 1.5px solid #17243c; }
  .airport-routes a:hover { background: #ffecc0; }
  .airport-counters li { background: #fff5db; color: #17243c; border: 1.5px solid #17243c; }
  .airport-counters small { color: #1f7775; }
  .airport-counters span { color: #56637a; }
  .airport-counters .textlink, .airport-page .airport-counters .textlink, .airport-page .city-body .textlink { color: #17243c; }
  .city-staff { background: #fff5db; color: #17243c; border: 1.5px solid #17243c; }
  .city-staff .city-th, .airport-card dd, .airport-message-text p { color: #17243c; }
  .city-staff .city-en, .airport-card dt.city-en { color: #56637a; }
  .airport-card dt[lang="th"] { color: #1f7775; }
  .airport-message-text { border-top-color: #ddd5c2; }
  .city-lost { background: #e3ecf3; }
  .city-main, .airport-page .city-body a.city-main { background: #17243c; color: #fff; border-radius: 999px; padding-inline: 1.3rem; }
  .city-staff small { color: #1f7775; }
}

/* Small edits after paying (D-0083). */
.owner-details { margin: 1rem 0 1.5rem; }
.owner-details .actions { margin: .5rem 0; }

/* Plain lines: not an official form; what is kept (23 Nov 2026). */
.rf .rf-plain { color: var(--rf-muted); font-size: .95rem; margin-top: 8px; }
.phone-document .phone-plain { font-size: .9rem; color: #56637a; }

/* The PDF, offered plainly once it is made (24 Nov 2026). */
.pdf-ready { margin: .8rem 0 1rem; padding: .9rem 1rem; background: #fff5db; border: 1.5px solid #17243c; border-radius: 12px; }
.pdf-ready p { margin: 0 0 .5rem; }
.pdf-ready .actions { margin: 0; }
/* Printing the page: only the document, and no blank pages after it. */
@media print {
  body { display: block !important; min-height: 0 !important; }
  body:has(.printable) *:not(:has(.printable)):not(.printable):not(.printable *) { display: none !important; }
  .printable { position: static !important; }
  .printable .serial .doc-kind { display: inline; }
}

/* The document shown before the email step (24 Nov 2026). */
.see-first .account-form { margin-bottom: 1.5rem; }

.city-sources { margin-top: 18px; font-size: .92rem; }
.city-sources summary { cursor: pointer; padding: 12px 0; }
.city-sources ul { padding-left: 1.25rem; }
.city-sources li { margin: .5rem 0; }
.rf-st > p { padding: 0 14px 12px; }
