:root {
  --ink: #17262e; --muted: #5d6f78; --line: #dde5e3; --bg: #f6f8f7; --card: #fff;
  --brand: #0b6e69; --brand-dark: #08524e; --brand-soft: #e3f2f0;
  --accent: #e8962e; --ok: #1f8a4c; --ok-soft: #e4f4ea; --bad: #c2412d; --bad-soft: #fbe9e5;
  --na: #7a8a93; --na-soft: #eef1f2; --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav { margin-left: auto; display: flex; gap: 4px 14px; flex-wrap: wrap; align-items: center; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 4px 2px; }
.nav a:hover { color: var(--brand); }
.nav a.btn { color: #fff; padding: 7px 14px; }
.linkbtn { background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--muted); cursor: pointer; }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px;
  background: var(--brand); color: #fff; padding: 12px 20px; font: 600 1rem/1.2 inherit; font-family: inherit;
  cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.light { background: var(--brand-soft); color: var(--brand-dark); }
.btn.danger { background: #fff; color: var(--bad); border: 1.5px solid #e6b6ad; }
.btn.small { padding: 8px 12px; font-size: .9rem; border-radius: 8px; }
.btn.big { padding: 15px 26px; font-size: 1.05rem; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
label.f { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
label.f > span.hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
input, select, textarea { width: 100%; font: inherit; color: inherit; padding: 11px 12px; margin-top: 5px;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 90px; resize: vertical; }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 8px; font: 600 .95rem inherit; font-family: inherit; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--brand); color: #fff; }
.checks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; background: #fff; border: 1.5px solid var(--line);
  padding: 9px 14px; border-radius: 9px; cursor: pointer; }
.checks input { width: auto; margin: 0; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: .95rem; }
.msg.err { background: var(--bad-soft); color: #8d2a1b; }
.msg.ok { background: var(--ok-soft); color: #176536; }
.msg.info { background: var(--brand-soft); color: var(--brand-dark); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 14px; }
.cols > .card, .grid2 > .card { margin-top: 0; }
.stack > * + * { margin-top: 14px; }
.section { padding-block: 56px; }
.page { padding-block: 32px 64px; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .04em; background: var(--na-soft); color: var(--na); }
.pill.open { background: #fff3df; color: #94570b; }
.pill.assigned { background: var(--brand-soft); color: var(--brand-dark); }
.pill.done, .pill.approved { background: var(--ok-soft); color: var(--ok); }
.pill.cancelled, .pill.rejected, .pill.suspended { background: var(--bad-soft); color: var(--bad); }
.pill.pending { background: #fff3df; color: #94570b; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.job { display: block; color: inherit; text-decoration: none; }
.job:hover { border-color: var(--brand); }
.job .row { justify-content: space-between; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font: 600 .9rem inherit;
  font-family: inherit; color: var(--muted); cursor: pointer; }
.tabs button.on { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }

/* home */
.hero { background: linear-gradient(160deg, #0b6e69 0%, #0a4f5c 100%); color: #fff; padding-block: 64px 72px; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 640px; opacity: .93; }
.hero .btn { background: #fff; color: var(--brand-dark); }
.hero .btn:hover { background: #e9f5f3; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.1); }
.hero .tag { display: inline-block; background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 99px; font-size: .88rem; margin-bottom: 18px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.step b.n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  align-items: center; justify-content: center; margin-bottom: 10px; }
.issue-list { list-style: none; padding: 0; margin: 0; }
.issue-list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); }
.issue-list li:last-child { border-bottom: 0; }
.issue-list li::before { content: "!"; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bad-soft); color: var(--bad); font: 700 .75rem/18px inherit; text-align: center; }
.band { background: #fff; border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: .9rem; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { font-weight: 600; cursor: pointer; }
details.faq p { margin: 10px 0 0; color: var(--muted); }
.foot { border-top: 1px solid var(--line); background: #fff; padding-block: 26px; color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: var(--muted); }

/* checklist editor and report */
.sec-title { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 10px; gap: 10px; }
.item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.item + .item { margin-top: 8px; }
.item.ok { border-left: 4px solid var(--ok); }
.item.issue { border-left: 4px solid var(--bad); }
.item.na { border-left: 4px solid var(--na); }
.item .lbl { font-weight: 600; }
.item .hint { color: var(--muted); font-size: .86rem; }
.marks { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.marks button { border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 14px; font: 600 .9rem inherit;
  font-family: inherit; cursor: pointer; color: var(--muted); }
.marks button.on[data-v="ok"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.marks button.on[data-v="issue"] { background: var(--bad); border-color: var(--bad); color: #fff; }
.marks button.on[data-v="na"] { background: var(--na); border-color: var(--na); color: #fff; }
.marks .linkbtn { font-size: .9rem; padding: 7px 8px; color: var(--brand); }
body.has-savebar { padding-bottom: 90px; }
.item textarea { min-height: 60px; margin-top: 10px; }
.photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.photos .ph { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--na-soft); }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.photos .ph button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 22px; padding: 0; }
.addph { width: 84px; height: 84px; border: 1.5px dashed #b9c7c4; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: .8rem; text-align: center; cursor: pointer; background: #fafcfb; }
.addph input { display: none; }
.savebar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.06);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); margin-top: 24px; z-index: 10; }
.savebar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.verdict { padding: 22px; border-radius: var(--radius); color: #fff; }
.verdict.good { background: var(--ok); }
.verdict.fix { background: var(--accent); }
.verdict.reject { background: var(--bad); }
.verdict h2 { margin: 0 0 4px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; min-width: 110px; }
.stats b { display: block; font-size: 1.5rem; }
.rline { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rline:last-child { border-bottom: 0; }
.rline .note { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; white-space: pre-wrap; }
.rline .photos { grid-column: 1 / -1; margin-top: 2px; }
.mark { font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; align-self: start; }
.mark.ok { background: var(--ok-soft); color: var(--ok); }
.mark.issue { background: var(--bad-soft); color: var(--bad); }
.mark.na { background: var(--na-soft); color: var(--na); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center;
  z-index: 50; padding: 16px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; border-radius: 6px; }
.modal { position: fixed; inset: 0; background: rgba(15,30,35,.5); display: flex; align-items: center; justify-content: center; z-index: 40; padding: 16px; }
.modal .card { width: 100%; max-width: 440px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 60; font-size: .95rem; max-width: calc(100% - 32px); }

@media print {
  .top, .foot, .savebar, .noprint { display: none !important; }
  body { background: #fff; }
  .card, .item { break-inside: avoid; }
}
@media (max-width: 560px) {
  .top { position: static; }
  .nav { margin-left: 0; width: 100%; }
  .card { padding: 16px; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv dt { margin-top: 8px; }
}

/* address search dropdown */
.ac { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; box-shadow: 0 10px 28px rgba(20,40,45,.14); z-index: 30; overflow: hidden; font-weight: 400; }
.ac-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.ac-item b { display: block; font-weight: 600; }
.ac-item span { display: block; color: var(--muted); font-size: .86rem; }
.ac-item.on, .ac-item:hover { background: var(--brand-soft); }
.ac-foot { padding: 8px 14px; font-size: .8rem; color: var(--muted); background: var(--bg); }
.filled { animation: filled 1.2s ease-out; }
@keyframes filled { from { background: var(--brand-soft); } to { background: #fff; } }

/* booking: first choice */
.choices { display: grid; gap: 16px; margin-top: 22px; }
.choice { display: flex; align-items: center; gap: 22px; width: 100%; text-align: left; background: #fff; color: var(--ink);
  border: 2px solid var(--line); border-radius: 18px; padding: 28px 26px; cursor: pointer; font: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.choice:hover, .choice:focus-visible { border-color: var(--brand); box-shadow: 0 10px 26px rgba(11,110,105,.14); transform: translateY(-2px); outline: none; }
.choice svg { width: 84px; height: 84px; flex: none; }
.choice b { display: block; font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.2; }
.choice span { display: block; color: var(--muted); margin-top: 4px; }
.choice .go { margin-left: auto; font-size: 1.8rem; color: var(--brand); }
@media (max-width: 560px) { .choice { padding: 20px 18px; gap: 16px; } .choice svg { width: 60px; height: 60px; } .choice .go { display: none; } }

/* pin map */
.map { height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-top: 6px; background: var(--na-soft); }
.map.small { height: 220px; margin-bottom: 14px; }

/* full checklist page */
ul.checklist { list-style: none; padding: 0; margin: 12px 0 0; }
ul.checklist li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; }
ul.checklist li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; border-radius: 4px;
  border: 2px solid var(--brand); }
ul.checklist li b { display: block; font-weight: 500; }
ul.checklist li span { display: block; color: var(--muted); font-size: .88rem; }

/* compact "+ Photo" until the first photo is added */
.photos:not(:has(.ph)) { margin-top: 8px; }
.photos:not(:has(.ph)) .addph { width: auto; height: 36px; padding: 0 14px; border-radius: 8px; font-size: .85rem; }
[data-restok] { color: var(--brand); font-weight: 600; }

/* booking choices: smaller cards for the extra categories, country badges */
.choices.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.choice.small { padding: 16px 18px; gap: 14px; border-radius: 14px; }
.choice.small b { font-size: 1.1rem; }
.choice.small span { font-size: .9rem; }
.choice.small svg { width: 56px; height: 56px; }
.choice.small .go { font-size: 1.4rem; }
.choice.picked { border-color: var(--brand); background: #f6fbfa; }
.flag { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; flex: none; border-radius: 16px;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; margin: 0 !important; }
.choice span.flag { color: var(--brand-dark); }
@media (max-width: 560px) { .flag { width: 60px; height: 60px; font-size: 1.2rem; } .choices.two { grid-template-columns: 1fr; } }
.catcard .chips span { font-size: .82rem; padding: 4px 10px; }

/* home: rolling strip of example problems */
.catches { padding-block: 44px 8px; }
.marquee { overflow: hidden; margin-top: 18px; padding-block: 4px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee .track { display: flex; gap: 16px; width: max-content; animation: roll 70s linear infinite; padding-left: 16px; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.issue { margin: 0; width: 300px; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.issue img { display: block; width: 100%; height: 210px; object-fit: cover; cursor: zoom-in; }
.issue figcaption { padding: 12px 14px 14px; display: grid; gap: 4px; }
.issue figcaption .pill { justify-self: start; }
.issue figcaption b { font-size: 1rem; }
.issue figcaption span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; }
  .marquee .issue[aria-hidden="true"] { display: none; }
}
@media (max-width: 560px) { .issue { width: 250px; } .issue img { height: 175px; } .marquee .track { animation-duration: 55s; } }

/* hero: highlighted word */
mark.hl { background: #ffc35c; color: #08403d; font-weight: 800; padding: 1px 9px; border-radius: 7px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero p.stat { color: #ffc35c; font-size: 1rem; max-width: 640px; margin: 4px 0 0; padding-left: 12px; border-left: 3px solid #ffc35c; }
.hero p.stat b { color: #ffd88f; }
.hero p.stat a { color: #fff; opacity: .8; font-size: .85rem; margin-left: 4px; }

/* footer guide links and landing pages */
.foot .guides { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.lp-hero { background: linear-gradient(160deg, #0b6e69 0%, #0a4f5c 100%); color: #fff; padding-block: 48px 52px; }
.lp-hero h1 { max-width: 820px; }
.lp-hero p { max-width: 680px; opacity: .93; font-size: 1.08rem; }
.lp-hero .crumbs { font-size: .88rem; opacity: .8; margin-bottom: 14px; }
.lp-hero .crumbs a { color: #fff; }
.lp-hero .btn { background: #fff; color: var(--brand-dark); }
.lp-body { padding-block: 36px 60px; }
.lp-body h2 { margin-top: 36px; }
.lp-sec { margin-top: 16px; }
.lp-sec h3 { margin-bottom: 6px; }
.lp-sec ul.checklist li i { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft);
  border-radius: 99px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.lp-related { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-related a { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; text-decoration: none; font-size: .92rem; }
