/* Driftwood Property Management | website styles.
   Coastal, calm and exact: inlet navy, sea glass and shell white, with the logo's sunset used only where you act. */
:root {
  --ink: #0d2a3a; --ink-2: #163a4d; --sea: #12485a; --glass: #8cc7bf; --glass-2: #c4e3de; --glass-soft: #e6f3f0;
  --sun: #f0a35e; --sun-deep: #c9692c; --shell: #fbfaf7; --sand: #f1e9dc; --drift: #6e5a49;
  --text: #1c2f3a; --muted: #566b77; --line: rgba(13,42,58,.13); --line-2: rgba(13,42,58,.22);
  --ok: #2c8a6b; --warn: #b4541f;
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px; --r: 14px; --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--shell); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 450; color: var(--ink); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.32rem; font-weight: 500; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary, .btn.accent { background: var(--sun); border-color: var(--sun); color: #2a1406; }
.btn.primary:hover, .btn.accent:hover { background: #f6b578; border-color: #f6b578; color: #2a1406; transform: translateY(-1px); }
.btn.sea { background: var(--ink); color: #fff; }
.btn.sea:hover { background: var(--sea); border-color: var(--sea); }
.btn.light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn.ghost { border-color: var(--line-2); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo { flex: none; display: block; }
.logo img { height: 74px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--glass); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .25s var(--ease), opacity .2s; }
@media (max-width: 1060px) {
  .nav-phone { display: none; }
  .burger { display: block; }
  .nav-links { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: var(--shell); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(13,42,58,.4); display: none; margin: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin-left: auto; }
  .nav.is-open .nav-links { display: flex; }
  .nav.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) { .nav-in { height: 72px; gap: 10px; } .logo img { height: 52px; } .nav-links { top: 72px; } .nav-cta .btn { padding: 0 14px; min-height: 42px; font-size: .86rem; } }
@media (max-width: 370px) { .nav-cta .btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 128px; background: linear-gradient(180deg, var(--shell) 0%, var(--glass-soft) 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-bottom: 28px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-where { margin-top: 26px; color: var(--muted); font-size: .95rem; }
.hero-where b { color: var(--ink); font-weight: 650; }
.tide { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }
@media (max-width: 920px) { .hero { padding: 36px 0 104px; } .hero-in { grid-template-columns: 1fr; gap: 40px; } }

/* The visit report: the one thing the home page makes memorable. */
.report { margin: 0; position: relative; background: #fff; border-radius: 22px; box-shadow: 0 1px 0 rgba(13,42,58,.06), 0 30px 60px -28px rgba(13,42,58,.45); overflow: hidden; max-width: 520px; justify-self: end; width: 100%; }
.report-top { background: var(--ink); color: #fff; padding: 20px 24px 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.report-top b { font-family: var(--serif); font-weight: 450; font-size: 1.32rem; display: block; line-height: 1.2; }
.report-top small { color: var(--glass-2); font-size: .84rem; }
.report-top .when { text-align: right; color: var(--glass-2); font-size: .82rem; line-height: 1.4; }
.report ul { list-style: none; margin: 0; padding: 8px 24px 4px; }
.report li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.report li:last-child { border-bottom: 0; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; margin-top: 1px; transition: background .3s var(--ease), border-color .3s; }
.tick svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease) .1s; }
.report li.on .tick { background: var(--ok); border-color: var(--ok); }
.report li.flag .tick { background: var(--sun); border-color: var(--sun); }
.report li.on .tick svg, .report li.flag .tick svg { stroke-dashoffset: 0; }
.report .st { font-size: .76rem; font-weight: 700; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.report li.flag .st { color: var(--warn); }
.report .note { grid-column: 2 / 4; font-size: .86rem; color: var(--muted); margin-top: -4px; }
.report .reading { font-weight: 700; color: var(--ink); }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px 18px; background: var(--sand); font-size: .86rem; color: var(--drift); }
.report-foot strong { color: var(--ink); }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec.tight { padding: 72px 0; }
.sec.sand { background: var(--sand); }
.sec.navy { background: var(--ink); color: #dfe9ee; }
.sec.navy h2, .sec.navy h3 { color: #fff; }
.sec.navy .muted { color: #a9c0cb; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.sec.navy .sec-head p { color: #a9c0cb; }
@media (max-width: 860px) { .sec { padding: 72px 0; } .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; } }

/* Checklist, straight from Driftwood's visit sheet */
.checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.checklist h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--glass); }
.checklist .extra { margin-top: 22px; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .checklist { grid-template-columns: 1fr; gap: 28px; } }

/* Services as a ledger, not cards */
.svc-list { border-top: 1px solid var(--line-2); }
.svc-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) auto; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line-2); align-items: start; scroll-margin-top: 100px; }
.svc-row h3 { margin: 0; font-size: 1.6rem; font-weight: 420; }
.svc-row p { margin: 0; color: var(--muted); max-width: 60ch; }
.svc-row p + p { margin-top: .8em; }
.svc-row a { font-weight: 700; white-space: nowrap; }
.sec.navy .svc-list, .sec.navy .svc-row { border-color: rgba(255,255,255,.16); }
.sec.navy .svc-row p { color: #a9c0cb; }
.sec.navy .svc-row a { color: var(--glass-2); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; gap: 8px; } }

/* One call band */
.band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.band h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 16ch; }
.band ul { list-style: none; padding: 0; margin: 0; }
.band li { padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; }
.band li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 8px; border-left: 2.5px solid var(--glass); border-bottom: 2.5px solid var(--glass); transform: rotate(-45deg); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; gap: 28px; } }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--sea); margin-bottom: 14px; font-variation-settings: "opsz" 144; }
.steps h3 { font-size: 1.18rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: #fff; }
.plan { padding: 34px 30px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan.feature { background: var(--ink); color: #dfe9ee; }
.plan.feature h3 { color: #fff; }
.plan h3 { font-size: 1.6rem; margin-bottom: 4px; }
.plan .freq { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan.feature .freq { color: var(--glass-2); }
.plan .price { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1.1; margin: 0 0 6px; }
.plan.feature .price { color: #fff; }
.plan .price small { font: 600 .9rem var(--sans); color: var(--muted); }
.plan.feature .price small { color: var(--glass-2); }
.plan .blurb { font-size: .97rem; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 26px; flex: 1; }
.plan li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.plan.feature li { border-color: rgba(255,255,255,.14); }
.plan li::before { content: ""; position: absolute; left: 1px; top: 16px; width: 12px; height: 6px; border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg); }
.plan.feature li::before { border-color: var(--glass); }
.plan .btn { align-self: flex-start; }
.plan.feature .btn { background: var(--sun); border-color: var(--sun); color: #2a1406; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line-2); } .plan:last-child { border-bottom: 0; } }

/* Towns */
.towns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.town { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line-2); }
.town b { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.7rem; color: var(--ink); line-height: 1.2; }
.town span { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .towns { grid-template-columns: 1fr 1fr; } }

/* Owner account preview */
.portal { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.portal ul { padding: 0; margin: 20px 0 28px; list-style: none; }
.portal li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.portal li b { color: var(--ink); }
.screen { background: #fff; border-radius: 20px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -36px rgba(13,42,58,.5); padding: 22px; }
.screen-row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; align-items: center; }
.screen-row:last-child { border-bottom: 0; }
.screen h4 { margin: 4px 0 8px; font: 650 .86rem var(--sans); color: var(--muted); }
.screen h4 + .screen-row { padding-top: 6px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--glass-soft); color: var(--sea); white-space: nowrap; }
.chip.warm { background: #fbe7d4; color: var(--warn); }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; gap: 32px; } }

/* Final CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; }
.cta h2 { max-width: 18ch; margin: 0 0 .3em; }
.cta p { margin: 0; color: var(--muted); }
.sec.navy .cta p { color: #a9c0cb; }
.cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { padding: 64px 0 56px; background: var(--glass-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lede { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.kv-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.kv-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.kv-list li b { color: var(--ink); }
@media (max-width: 560px) { .kv-list li { grid-template-columns: 1fr; gap: 2px; } }
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--ink); max-width: 30ch; margin: 0; font-weight: 400; }

/* ---------- forms (contact, booking, login, account, signing) ---------- */
.inq { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 48px; padding: 56px 0 96px; align-items: start; }
.inq.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .inq { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 24px 50px -40px rgba(13,42,58,.5); min-width: 0; }
.form h2 { font-size: 1.7rem; }
.form label, .cardx form label { display: block; font-weight: 650; font-size: .94rem; color: var(--ink); margin: 0 0 16px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .cardx input:not([type=checkbox]):not([type=radio]):not([type=file]), .cardx select, .cardx textarea { display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--shell); font: 500 1rem var(--sans); color: var(--text); }
.form textarea, .cardx textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .cardx textarea:focus, .cardx input:focus, .cardx select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(18,72,90,.12); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.bk-check, .form label.bk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); font-size: .9rem; }
.bk-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--sea); }
.bk-msg { color: var(--warn); font-weight: 650; }
.bk-msg:empty { display: none; }
.form-error { background: #fdeee3; border: 1px solid #f2c5a3; color: #7a3410; padding: 12px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 14px; }
.bk-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bk-types button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 650 .92rem var(--sans); color: var(--ink); cursor: pointer; }
.bk-types button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bk-days { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.bk-days button { flex: none; }
.bk-day { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 6px 0 12px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-bottom: 8px; }
.bk-times button { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--shell); font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.bk-times button:hover { border-color: var(--sea); background: var(--glass-soft); }
.bk-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.bk-kind button { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: inherit; color: var(--text); }
.bk-kind button b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.bk-kind button span { font-size: .9rem; color: var(--muted); }
.bk-kind button[aria-pressed="true"] { border-color: var(--sea); background: var(--glass-soft); box-shadow: inset 0 0 0 1px var(--sea); }
@media (max-width: 520px) { .bk-kind { grid-template-columns: 1fr; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--sea); text-decoration: underline; cursor: pointer; }
.side h3 { font-size: 1.3rem; }
.contact-line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line b { display: block; color: var(--ink); }
.success .check { width: 58px; height: 58px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }

/* Customer pages (account, approve, pay, report, sign) */
.cardx { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; min-width: 0; }
.cardx h2 { font-size: 1.45rem; margin-bottom: 12px; }
.cardx table, .form table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.cardx td, .cardx th, .form td, .form th { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cardx tr:last-child td { border-bottom: 0; }
.r { text-align: right !important; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--glass-soft); color: var(--sea); }
.tag.due { background: #fbe7d4; color: var(--warn); }
.tag.ok { background: #dff1e9; color: var(--ok); }
details summary { cursor: pointer; font-weight: 650; color: var(--ink); }
.doc-body { white-space: pre-wrap; font-size: .97rem; line-height: 1.7; background: var(--shell); border: 1px solid var(--line); border-radius: 14px; padding: 18px; max-height: 460px; overflow: auto; margin: 10px 0 18px; }
.sig-pad { width: 100%; max-width: 560px; height: 150px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: #fff; touch-action: none; display: block; margin: 6px 0 8px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .acct-grid { grid-template-columns: 1fr; } }
.upd-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.upd-item:last-child { border-bottom: 0; }
.upd-item b { color: var(--ink); display: block; }
.upd-item small { color: var(--muted); }
.upd-item p { margin: 4px 0 0; font-size: .94rem; color: var(--muted); white-space: pre-wrap; }
.rep-list { list-style: none; margin: 0; padding: 0; }
.rep-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.rep-list .tick { background: var(--ok); border-color: var(--ok); }
.rep-list .tick svg { stroke-dashoffset: 0; }
.rep-list li.attention .tick { background: var(--sun); border-color: var(--sun); }
.rep-list li.working .tick { background: var(--sea); border-color: var(--sea); }
.rep-list li.na .tick { background: #c5cfd4; border-color: #c5cfd4; }
.rep-list .st { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.rep-list li.attention .st { color: var(--warn); }
.rep-list .note { grid-column: 2 / 4; font-size: .92rem; color: var(--muted); margin-top: -4px; }
.rep-sec { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 26px 0 2px; }
.rep-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rep-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ---------- dialogs (ui.js) ---------- */
.dlg-backdrop { position: fixed; inset: 0; background: rgba(13,42,58,.5); display: grid; place-items: center; padding: 20px; z-index: 90; opacity: 0; transition: opacity .2s; }
.dlg-backdrop.is-in { opacity: 1; }
.dlg { background: #fff; border-radius: 22px; width: min(560px, 100%); max-height: 88svh; overflow: auto; padding: 24px; }
.dlg-head { display: flex; justify-content: space-between; gap: 12px; }
.dlg-x { border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.dlg-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #b9ccd5; padding: 72px 0 34px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-logo { background: var(--shell); display: inline-block; border-radius: 18px; padding: 10px 14px; margin-bottom: 16px; }
.foot-logo img { height: 74px; width: auto; }
.foot h3 { color: #fff; font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* The page's one orchestrated moment: the report card rises, then its lines are checked off in order (site.js). */
@media (prefers-reduced-motion: no-preference) {
  .report { animation: rise .8s var(--ease) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
.inq > * { min-width: 0; }
