/* Plane Spotting Hotels — site + admin styles */
:root {
  --ink: #0f1d2b;
  --ink-2: #3c4b5b;
  --muted: #6b7a89;
  --line: #dfe5ea;
  --line-2: #eef2f5;
  --paper: #f6f7f4;
  --card: #ffffff;
  --navy: #0b3d5c;
  --navy-2: #0e5079;
  --silver: #cbd3db;
  --silver-2: #e1e6eb;
  --silver-ink: #46525e;
  --tint: #eef1f4;
  --beige: #ece3d2;
  --beige-line: #dccdb2;
  --tint-line: #d9dfe5;
  --sky: #e5f0f7;
  --ok: #1f7a4d;
  --ok-bg: #e6f4ec;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 29, 43, .06), 0 4px 14px rgba(15, 29, 43, .05);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; text-wrap: balance; }
h2 { font-size: 1.18rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
code { font-family: var(--mono); font-size: .9em; background: var(--line-2); padding: .1em .35em; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); text-transform: uppercase; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 2px; border-radius: 4px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 48px; flex-wrap: wrap; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand-name { font-size: 1.05rem; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--silver); flex: none; }
.brand-mark svg { width: 22px; height: 22px; fill: var(--navy); }
.brand-mark-lg { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 14px; }
.brand-mark-lg svg { width: 34px; height: 34px; }
.brand-name { font-size: 1.05rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav a { white-space: nowrap; color: rgba(255,255,255,.82); text-decoration: none; padding: 5px 10px; border-radius: 7px; font-size: .87rem; font-weight: 500; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }
.nav .nav-cta { background: var(--silver); color: var(--navy); font-weight: 650; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--silver-2); color: var(--navy); }
.topsearch { position: relative; }
.topsearch svg { position: absolute; left: 9px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.topsearch input:focus + svg, .topsearch:focus-within svg { stroke: var(--muted); }
.topsearch input { width: 180px; padding: 5px 10px 5px 30px; border-radius: 7px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .95rem; }
.topsearch input::placeholder { color: rgba(255,255,255,.6); }
.topsearch input:focus { background: #fff; color: var(--ink); outline: none; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--silver); color: var(--navy); font-size: .75rem; font-weight: 700; text-align: center; line-height: 20px; }
@media (max-width: 860px) {
  .topbar-in { gap: 8px; padding-block: 8px; }
  .brand { flex-basis: 100%; }
  .nav { margin: 0; order: 2; width: 100%; flex-wrap: nowrap; gap: 6px; }
  .nav a { flex: 1 1 auto; text-align: center; padding: 6px 4px; background: rgba(255,255,255,.08); }
  .topsearch { order: 3; margin-left: 0; width: 100%; }
  .topsearch input { width: 100%; }
  .btn.statband-map { display: none; }
}
@media (max-width: 370px) {
  .nav { gap: 4px; }
  .nav a { font-size: .78rem; padding: 6px 2px; }
}

/* ---------- stats band (home) ---------- */
.statband { background: var(--navy); color: #fff; }
.statband-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 12px; }
.stats-line { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-family: var(--mono); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--silver); }
.stats-line strong { color: #fff; font-weight: 600; font-size: 1.05rem; margin-right: 6px; letter-spacing: 0; }

.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, #0a4366 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { /* runway centreline */
  content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 44px, transparent 44px 80px);
}
.hero-in { position: relative; }
.hero-in > * { max-width: 860px; }
.eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.hero .eyebrow { color: var(--silver); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 640px; margin: 0 0 26px; }
.lede-sm { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.bigsearch { display: flex; gap: 8px; max-width: 640px; }
.bigsearch input { flex: 1; min-width: 0; padding: 15px 18px; font: inherit; font-size: 1.05rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.bigsearch button { padding: 0 24px; border: 0; border-radius: 10px; background: var(--silver); color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.bigsearch button:hover { background: var(--silver-2); }
.bigsearch-inline { margin-bottom: 24px; }
.bigsearch-inline button { background: var(--navy); color: #fff; }
.bigsearch-inline button:hover { background: var(--navy-2); }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.regions a { color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .92rem; }
.regions a:hover { background: rgba(255,255,255,.1); }
.regions span { font-family: var(--mono); font-size: .8rem; color: var(--silver); margin-left: 4px; }

/* ---------- sections & cards ---------- */
main { padding-bottom: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.22rem; }
.section-head a { font-weight: 500; text-decoration: none; }
.page-title { margin: 26px 0 16px; }
.page-title h1 { margin: 0 0 8px; }
.count { font-family: var(--mono); font-size: .5em; font-weight: 500; color: var(--muted); vertical-align: middle; margin-left: 6px; letter-spacing: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,29,43,.06), 0 12px 28px rgba(15,29,43,.1); }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-img { aspect-ratio: 2 / 1; background: var(--sky); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.card-body { padding: 12px 14px 13px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; min-height: 22px; }
.code { display: inline-block; font-family: var(--mono); font-weight: 600; font-size: .82rem; letter-spacing: .05em; padding: 2px 8px; border-radius: 6px; background: var(--navy); color: var(--silver); }
.place { color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.card-title { font-size: 1rem; margin: 0 0 5px; }
.card-ex { color: var(--ink-2); font-size: .87rem; line-height: 1.5; margin: 0 0 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-ph { position: relative; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy) 0%, #0f5683 100%); }
.card-ph::before { content: attr(data-code); font-family: var(--mono); font-weight: 600; font-size: 2.1rem; letter-spacing: .12em; color: var(--silver); }
.card-ph::after { content: ''; position: absolute; left: 0; right: 0; bottom: 16px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 26px, transparent 26px 48px); }
.card-foot { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .77rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 8px; }
.empty { padding: 30px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.hint { background: var(--sky); padding: 12px 16px; border-radius: 10px; }

.notice { margin-top: 18px; background: var(--beige); border: 1px solid var(--beige-line); border-radius: var(--radius); padding: 16px 20px; }
.notice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.notice h2 { font-size: 1.08rem; margin-bottom: .35em; }
.notice .prose { font-size: .93rem; }
.notice .prose p { margin-bottom: .6em; }
.notice .prose p:last-child { margin-bottom: 0; }

.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 22px; }
.pager a { padding: 9px 16px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.pager span { color: var(--muted); font-size: .92rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-wrap { margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; }
.chip:hover { border-color: var(--navy-2); color: var(--navy); }
.chip span { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.chip-airport { font-family: var(--mono); font-weight: 600; letter-spacing: .03em; }
.chip-continent { background: var(--sky); border-color: transparent; }

/* ---------- report page ---------- */
.report { max-width: 1040px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin: 18px 0 14px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.draft-flag { display: inline-block; background: var(--tint); color: var(--silver-ink); padding: 4px 10px; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.report-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.codes { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.code-lg { font-size: 1rem; padding: 5px 11px; }
.code-alt { background: var(--silver); color: var(--navy); }
.place-lg { font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.report-head h1 { margin-bottom: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 14px; }
.facts div { display: flex; gap: 6px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; font-size: .9rem; }
.facts-stack { flex-direction: column; gap: 10px; }
.facts-stack div { flex-direction: column; gap: 0; }

.prose { font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.prose p, .prose div { margin: 0 0 .85em; }
.prose div > div, .prose p > div { margin: 0; }
.prose img { display: block; border-radius: 10px; margin: 12px 0; cursor: zoom-in; background: var(--sky); }
.prose a img { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1em 0; padding: 4px 18px; border-left: 4px solid var(--line); color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.report-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.update-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.update-box p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }

.lightbox { position: fixed; inset: 0; background: rgba(6, 14, 22, .94); display: flex; align-items: center; justify-content: center; z-index: 50; cursor: zoom-out; padding: 56px 64px 16px; }

/* ---------- airports & countries ---------- */
.filterbox input { width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 8px; }
.az a { font-family: var(--mono); font-weight: 600; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.az a:hover { background: var(--navy); color: var(--silver); }
.az-group { margin-top: 18px; scroll-margin-top: 70px; }
.az-group h2 { font-family: var(--mono); color: var(--muted); font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ap { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.ap:hover { border-color: var(--navy-2); }
.ap-place { flex: 1; font-size: .92rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-n { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.continents { columns: 3 280px; column-gap: 24px; }
.continent { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.continent h2 a { color: var(--ink); text-decoration: none; }
.continent ul { list-style: none; margin: 0; padding: 0; }
.continent li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.continent li:last-child { border-bottom: 0; }
.continent li a { text-decoration: none; }
.continent li span { font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.archive-years { display: grid; gap: 10px; margin-bottom: 30px; }
.ay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ay a { padding: 4px 10px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.ay a span { font-family: var(--mono); color: var(--muted); font-size: .78rem; }
.ay .ay-y { font-family: var(--mono); font-weight: 600; background: var(--navy); color: #fff; border-color: var(--navy); min-width: 64px; text-align: center; }

/* ---------- forms ---------- */
.form { display: grid; gap: 13px; }
.form label { display: grid; gap: 6px; font-weight: 550; font-size: .93rem; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .toolbar input, .toolbar select, .label-row input, .label-row select {
  width: 100%; padding: 8px 11px; border: 1px solid #cdd6de; border-radius: 9px; font: inherit; font-weight: 400; background: #fff; color: var(--ink);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(14, 80, 121, .15); }
.form input[type=file] { font: inherit; font-weight: 400; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 450; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; }
.help { color: var(--muted); font-size: .85rem; font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 9px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-lg { padding: 11px 20px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #cdd6de; }
.btn-ghost:hover { background: var(--line-2); color: var(--navy); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-2); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.danger { color: var(--err); }
.alert { padding: 12px 16px; border-radius: 10px; margin: 18px 0; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-err { background: var(--err-bg); color: var(--err); }
.inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline form { margin: 0; }
.inline-form { display: inline; margin-left: 8px; }
.inline-prefix { display: flex; align-items: center; border: 1px solid #cdd6de; border-radius: 9px; overflow: hidden; background: #fff; }
.inline-prefix span { padding: 0 4px 0 10px; color: var(--muted); font-weight: 400; font-size: .88rem; }
.form .inline-prefix input { border: 0; padding-left: 2px; box-shadow: none; }
.stack { display: grid; gap: 10px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 24px 0; font-size: .88rem; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.foot-email { color: #fff; user-select: all; }
.foot-in > div:first-child { max-width: 520px; }
.foot strong { color: #fff; }
.foot a { color: #fff; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }

/* ---------- admin ---------- */
.admin .topbar { background: #0c2233; }
.admin-user { color: rgba(255,255,255,.7); font-size: .88rem; }
.admin-user a { color: #fff; }
.admin-main { padding-top: 20px; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-title h1 { margin: 0; font-size: 1.55rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.panel h2 { font-size: 1.12rem; }
.panel h3 { font-size: 1rem; margin-bottom: 10px; }
.panel-hi { border-color: var(--tint-line); background: var(--tint); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.stat span { display: block; font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.stat:hover { border-color: var(--navy-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.two-col-wide { grid-template-columns: 2fr 1fr; }
@media (max-width: 860px) { .two-col, .two-col-wide { grid-template-columns: 1fr; } }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 9px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.list li:last-child { border-bottom: 0; }
.toolbar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input { flex: 1; min-width: 200px; }
.toolbar select { width: auto; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td a { text-decoration: none; font-weight: 500; }
.actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.actions form { margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 5px; background: var(--line-2); color: var(--ink-2); }
.tag-live { background: var(--ok-bg); color: var(--ok); }
.tag-draft { background: var(--tint); color: var(--silver-ink); }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--navy); border-color: var(--navy); font-weight: 600; }

.editor-form { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; }
@media (max-width: 960px) { .editor-form { grid-template-columns: 1fr; } }
.editor-main { display: grid; gap: 14px; min-width: 0; }
.editor-side { display: grid; gap: 0; }
.editor-side .panel { display: grid; gap: 14px; }
.editor-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: -6px; }
.lbl { font-weight: 550; font-size: .93rem; }
.seg { display: inline-flex; border: 1px solid #cdd6de; border-radius: 8px; overflow: hidden; }
.seg-btn { border: 0; background: #fff; padding: 5px 12px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--ink-2); }
.seg-btn.is-on { background: var(--navy); color: #fff; }
.ql-toolbar.ql-snow { border-color: #cdd6de; border-radius: 9px 9px 0 0; background: #fff; position: sticky; top: 48px; z-index: 2; }
.ql-container.ql-snow { border-color: #cdd6de; border-radius: 0 0 9px 9px; background: #fff; font: inherit; }
.ql-editor { min-height: 320px; font-size: 1.02rem; line-height: 1.7; }
.ql-editor img { max-width: 100%; border-radius: 8px; }
.editor-short .ql-editor, .editor-short.ql-container .ql-editor { min-height: 220px; }
.editor-form #editor.editor-short ~ .html-field, .editor-short + .html-field { min-height: 220px; }
.html-field { font-family: var(--mono) !important; font-size: .85rem !important; line-height: 1.5; min-height: 460px; }
.danger-zone { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 10px 0 30px; }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--paper) 30%); }
.label-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 8px; }
.label-row { display: grid; grid-template-columns: 1fr 120px 36px; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.label-row input, .label-row select { padding: 7px 9px; }
.label-row span { text-align: right; font-family: var(--mono); font-size: .82rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 18px; }
.thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; }
.sub-message { white-space: normal; }
.progress .bar { height: 14px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin: 18px 0 10px; }
.progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-2), var(--silver)); transition: width .3s; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(ellipse at top, #12507a, var(--navy) 60%); }
.login-card, .install-card { width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 30px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.install-card { width: min(620px, 100%); }
.login-card h1, .install-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.install-card h2 { font-size: 1.05rem; margin: 10px 0 0; }
.checks { list-style: none; padding: 0; margin: 14px 0 20px; font-size: .92rem; display: grid; gap: 4px; }
.checks .ok { color: var(--ok); }
.checks .bad { color: var(--err); font-weight: 600; }
.code-block { background: var(--ink); color: #e6edf3; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: .8rem; }

/* ---------- airport map ---------- */
.amap-regions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.amap-regions button { font: inherit; font-size: .85rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.amap-regions button:hover { border-color: var(--navy-2); color: var(--navy); }
.amap-box { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 200px; }
.amap-box > p { padding: 20px; margin: 0; }
.amap svg { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; }
.amap svg.dragging { cursor: grabbing; }
.amap-water { fill: #e8eef3; }
.amap-grat { fill: none; stroke: #d6dfe6; stroke-width: .6px; }
.amap-land { fill: #cfd8df; stroke: #cfd8df; stroke-width: .6px; }
.amap-border { fill: none; stroke: #f4f6f8; stroke-width: .6px; }
.amap-dot { fill: var(--navy); fill-opacity: .88; stroke: #fff; stroke-width: 1.5px; cursor: pointer; transition: fill .15s; }
.amap-dots a:hover .amap-dot, .amap-dots a:focus .amap-dot { fill: var(--navy-2); fill-opacity: 1; }
.amap-dots a:focus { outline: none; }
.amap-code { fill: #f2b33d; font-family: var(--mono); font-weight: 600; pointer-events: none; letter-spacing: 0; }
.amap-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); background: var(--ink); color: #fff; padding: 8px 11px; border-radius: 8px; font-size: .82rem; line-height: 1.4; pointer-events: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.18); z-index: 2; }
.amap-tip.below { transform: translate(-50%, 14px); }
.amap-tip strong { font-family: var(--mono); letter-spacing: .04em; }
.amap-tip div { color: rgba(255,255,255,.8); }
.amap-tip .amap-tip-n { color: var(--silver); font-size: .76rem; margin-top: 2px; }
.amap-ctrl { position: absolute; right: 10px; top: 10px; display: grid; gap: 4px; }
.amap-ctrl button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 1.05rem/1 var(--sans); cursor: pointer; box-shadow: var(--shadow); }
.amap-ctrl button:hover { background: var(--line-2); }
.map-foot { margin-top: 8px; }
.label-row .coords { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--err); }
.label-row .coords input { width: 100px; padding: 5px 7px; }

/* ---------- report: best rooms & map button ---------- */
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.best-rooms { background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; }
.best-rooms h2 { font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
.best-rooms p { margin: 0; font-size: 1rem; font-weight: 500; }

/* ---------- report editor fields ---------- */
.title-fields { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 12px 14px 10px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.title-fields legend { font-weight: 600; font-size: .93rem; padding: 0 6px; }
.tf-grid { display: grid; grid-template-columns: 96px 84px minmax(0, 1fr); gap: 10px; }
.tf-grid-2 { grid-template-columns: minmax(0, 1fr) 260px; }
@media (max-width: 620px) { .tf-grid { grid-template-columns: 1fr 1fr; } .tf-airport { grid-column: 1 / -1; } .tf-grid-2 { grid-template-columns: 1fr; } }
.tf-month { display: grid; gap: 6px; font-weight: 550; font-size: .93rem; }
.month-pick { display: grid; grid-template-columns: 1fr 96px; gap: 6px; }
.form .month-pick select { width: 100%; }
.title-preview { margin: 0; overflow-wrap: anywhere; }
.title-preview strong { color: var(--ink); font-weight: 600; }
.editor-block { display: grid; gap: 6px; min-width: 0; }
.photo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.photo-bar .help { flex: 1; min-width: 200px; }
.counter { text-align: right; }
.counter-low { color: var(--err); }
.plain-field { font: inherit; min-height: 300px; }
.ql-toolbar.ql-snow .ql-formats { margin-right: 8px; }

/* labels: keep the caption, "*" and "(optional)" on one line above the control */
.form label:not(.check) { display: block; }
.form label:not(.check) > :not(.opt):not(.req) { margin-top: 6px; }
.form label:not(.check) > input:not([type=checkbox]), .form label:not(.check) > select, .form label:not(.check) > textarea { display: block; }
.form label:not(.check) > .help { display: block; margin-top: 4px; }
.form label .opt { font-size: .85rem; }

.topsearch input { font-size: .87rem; }
.settings-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .settings-pair { grid-template-columns: 1fr; } }
.site-form { max-width: none; }

/* ---------- report page: text 2/3, photos 1/3 ---------- */
.report { max-width: none; padding-top: 22px; }
.rh { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.rh-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.rh-kicker a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-radius: 6px; }
.rh-kicker a:hover span:not(.code), .rh-kicker a.rh-country:hover { color: var(--navy); text-decoration: underline; }
.rh-kicker a:hover .code { background: var(--navy-2); }
.rh-sep { color: var(--muted); }
.rh h1 { margin: 2px 0 0; }
.rh-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: .92rem; color: var(--ink); }
.rh-label { color: var(--muted); }
.rh-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 6px; }
.rh-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.rh-update { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); }
.report-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.report-grid:has(+ .photos-overflow:not([hidden])) .photos-hint { display: none; }
.report-grid.no-photos { grid-template-columns: minmax(0, 760px); }
.report-main { min-width: 0; }
.report-photos { display: grid; gap: 10px; }
.report-photos .gallery-item { aspect-ratio: auto; }
.report-photos .gallery-item img { height: auto; aspect-ratio: 3 / 2; }
.photos-hint { margin: 0; text-align: center; }
.best-rooms { margin-bottom: 16px; }
.gallery-item { display: block; margin: 0; min-width: 0; }
.gallery-link { display: block; border-radius: 8px; overflow: hidden; background: var(--sky); cursor: zoom-in; }
.gallery-item figcaption { font-size: .8rem; color: var(--muted); line-height: 1.35; padding: 4px 2px 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; color: transparent; }
.gallery-item:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .report-grid, .report-grid.no-photos { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .report-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .photos-hint { grid-column: 1 / -1; }
  .rh-actions { align-items: flex-start; flex-direction: column; }
}
/* the photo is scaled to fit the screen, whatever its original size */
.lightbox .lb-fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 0; }
.lightbox .lb-fig img { flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .lb-cap { flex: none; color: #fff; font-size: .95rem; text-align: center; max-width: 900px; line-height: 1.4; }
@media (max-width: 860px) { .lightbox { padding: 52px 6px 12px; } .lightbox .lb-nav { top: auto; bottom: 14px; transform: none; } .lightbox:has(.lb-nav) { padding-bottom: 70px; } }
.lightbox .lb-count { position: absolute; top: 14px; left: 16px; color: rgba(255,255,255,.8); font-family: var(--mono); font-size: .85rem; }
.lightbox .lb-nav, .lightbox .lb-close { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox .lb-nav:hover, .lightbox .lb-close:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close { top: 10px; right: 12px; font-size: 1.1rem; }

/* ---------- editor: photo gallery ---------- */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 10px; border: 1px dashed #cdd6de; border-radius: var(--radius); background: var(--card); }
.ph-grid.ph-drop { border-color: var(--navy-2); background: var(--sky); }
.ph-item { margin: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.ph-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--sky); }
.ph-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 5px 6px; font-size: .78rem; }
.form .ph-main { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: .78rem; margin: 0; }
.form .ph-main input { margin: 0; }
.ph-item:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.ph-tools { display: flex; gap: 2px; }
.ph-btn { border: 0; background: none; width: 24px; height: 24px; border-radius: 5px; cursor: pointer; color: var(--ink-2); font-size: .85rem; }
.ph-btn:hover { background: var(--line-2); }
.ph-del:hover { color: var(--err); }
.ph-loading { align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.ph-wait { color: var(--muted); font-size: .85rem; }
.ph-add { display: grid; place-content: center; justify-items: center; gap: 4px; min-height: 140px; border: 0; border-radius: 9px; background: var(--paper); color: var(--navy-2); font: inherit; font-weight: 600; cursor: pointer; }
.ph-add:hover { background: var(--line-2); }
.ph-add svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-add .help { font-weight: 400; }

.btn.btn-light { background: var(--silver); border-color: var(--silver); color: var(--navy); }
.btn.btn-light:hover { background: var(--silver-2); border-color: var(--silver-2); color: var(--navy); }
.map-top { height: 18px; }
.sub-fields { margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.sub-fields dt { color: var(--muted); font-size: .8rem; }
.sub-fields dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* cards: heading and stay only */
.card-body { gap: 0; }
.card-title { margin-bottom: 8px; }
.card-foot { margin-top: auto; }

/* report header: update prompt sits top-right, level with the airport line */
.rh { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: start; }
.rh-main { display: grid; gap: 6px; min-width: 0; }
.rh-update { align-self: start; justify-content: flex-end; }
.rh-actions:not(:has(a)) { display: none; }
@media (max-width: 860px) { .rh { grid-template-columns: minmax(0, 1fr); } .rh-update { justify-content: flex-start; } }
/* best rooms: a shade darker */
.best-rooms { background: #e1e7ed; border-color: #cbd4dd; }
/* photos that run past the end of the text continue underneath it */
.photos-overflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 10px; margin-top: 10px; direction: rtl; align-items: start; }
.photos-overflow > * { direction: ltr; }   /* rows fill from the right, under the photo column */
.photos-overflow .gallery-item img { height: auto; aspect-ratio: 3 / 2; }
.dash-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 960px) { .dash-cols { grid-template-columns: minmax(0, 1fr); } }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.panel-head a { font-size: .88rem; text-decoration: none; }
.sub-photos { display: grid; gap: 8px; }
.sub-photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.sub-photo-list:empty { display: none; }
.sub-photo-list .help { grid-column: 1 / -1; }
.sub-photo { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--card); }
.sub-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sub-photo figcaption { font-size: .72rem; color: var(--muted); padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-photo-remove { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(15, 29, 43, .75); color: #fff; font-size: .8rem; cursor: pointer; }
.sub-photo-remove:hover { background: var(--err); }

/* ---------- share bar & other hotels ---------- */
.share-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-label { font-weight: 600; font-size: .95rem; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-buttons .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.share-buttons .share-wa { color: #128c4b; }
.other-hotels { margin-top: 8px; }
.other-hotels .section-head { border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 500px) { .share-buttons { width: 100%; } .share-buttons .btn { flex: 1 1 0; } }
.report-map-btn { margin-top: 4px; }

/* ---------- "stayed recently, no changes" ---------- */
.rh-update { flex-direction: column; align-items: flex-end; gap: 8px; }
.rh-update-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.still-valid { position: relative; }
.still-valid summary { list-style: none; cursor: pointer; }
.still-valid summary::-webkit-details-marker { display: none; }
.still-valid[open] summary { background: var(--line-2); }
.still-form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; width: 290px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(15,29,43,.18); padding: 14px; display: grid; gap: 10px; }
.still-form p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.still-fields { display: grid; grid-template-columns: 1fr 90px; gap: 6px; }
.still-form select, .still-form input:not([type=hidden]) { width: 100%; padding: 7px 9px; border: 1px solid #cdd6de; border-radius: 8px; font: inherit; font-size: .9rem; background: #fff; }
.still-thanks { margin: 0; color: var(--ok); font-weight: 600; font-size: .9rem; }
@media (max-width: 860px) {
  .rh-update { align-items: flex-start; }
  .rh-update-row { justify-content: flex-start; }
  .still-form { left: 0; right: auto; width: min(290px, calc(100vw - 32px)); }
}
.status-line { margin: 0; font-size: .9rem; color: var(--ink-2); }
.save-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.save-buttons .btn { padding-inline: 10px; }
/* phones: no prompt text, the two update buttons side by side */
@media (max-width: 860px) {
  .rh-update { flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; }
  .rh-update-row > span { display: none; }
  .rh-update-row, .still-valid { flex: 1 1 0; min-width: 0; }
  .rh-update-row .btn, .still-valid summary { width: 100%; white-space: nowrap; }
  .still-thanks { flex: 1 1 0; }
}
@media (max-width: 370px) { .rh-update .btn, .still-valid summary { font-size: .78rem; padding-inline: 6px; } }
@media (max-width: 860px) {
  .rh-update-row .btn, .still-valid summary { white-space: normal; line-height: 1.25; min-height: 38px; text-align: center; padding-inline: 8px; }
  .still-valid .still-form { left: auto; right: 0; width: min(290px, calc(100vw - 32px)); }
}
.btn.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn.btn-danger:hover { background: #8f1c13; border-color: #8f1c13; color: #fff; }
.confirm-panel { max-width: 640px; display: grid; gap: 10px; }
.confirm-panel p { margin: 0; }
.confirm-title { font-weight: 650; font-size: 1.05rem; }
.still-form textarea { width: 100%; padding: 7px 9px; border: 1px solid #cdd6de; border-radius: 8px; font: inherit; font-size: .9rem; resize: vertical; min-height: 64px; }
.still-notes { background: var(--tint); border-radius: 8px; padding: 8px 12px; }
.still-notes p { margin: 2px 0 0; }
.list-gap { margin-top: 28px; } .admin-title h2 { margin: 0; font-size: 1.25rem; }
.form .ph-item input.ph-cap[type=text], .ph-item input.ph-cap { margin: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 6px 7px; font-size: .8rem; width: 100%; background: var(--paper); }
.form .ph-item input.ph-cap:focus { outline: 2px solid var(--navy); outline-offset: -2px; }

/* map button on Airports and Countries: phones only */
.btn.mobile-map { display: none; }
@media (max-width: 860px) {
  .btn.mobile-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
  .btn.mobile-map svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
}
/* visitor comments shown on the report editor */
.visitor-notes { border-left: 4px solid var(--navy); background: #f1ede4; margin-bottom: 16px; }
.visitor-notes h2 { font-size: 1rem; margin: 0 0 8px; }
.visitor-notes .vn { padding: 8px 0; border-top: 1px solid var(--line); }
.visitor-notes .vn:first-of-type { border-top: 0; padding-top: 0; }
.visitor-notes .vn p { margin: 4px 0 0; white-space: pre-line; }
.visitor-notes .vn-meta { font-size: .85rem; color: var(--muted); }

.reply-box { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.reply-box p { margin: 0 0 6px; }
.narrow-form { max-width: 680px; }

.finish-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.btn.btn-done { background: #2f7d4f; border-color: #2f7d4f; color: #fff; }
.btn.btn-done:hover { background: #276a43; }
