/* Peermute app. Navy header and footer, cream pages. Single look by choice. */
:root {
  --navy: #2a6fa8; --navy-deep: #1f5a8a; --coral: #e65d4b; --coral-deep: #c13a28; --on-coral: #0e1b33;
  --cream: #fffdf7; --paper: #fffdf8; --ink: #0e1b33; --muted: #5d6a82; --line: rgba(14, 27, 51, 0.16);
  --blue: #1f5a8a; --ok: #1f8a57; --ok-bg: #e2f3ea; --warn-bg: #fbeed0; --err: #b3261e; --err-bg: #fbe4e2; --gold: #f7a592;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mark: "Fraunces", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, path:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap.wide { max-width: 1240px; }
main.wrap { flex: 1; padding-block: 2rem 4rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
p { margin: 0 0 1rem; }
h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; margin: 0 0 1.4rem; text-wrap: balance; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 2rem 0 0.8rem; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 0 0 0.3rem; line-height: 1.3; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--coral-deep); margin: 0 0 0.6rem; }

/* header, footer */
.top { background: var(--navy); color: var(--cream); padding-top: env(safe-area-inset-top, 0px); }
.top a { color: var(--cream); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 0.9rem; }
.logo { font-family: var(--mark); font-style: italic; font-weight: 600; font-size: 1.7rem; color: var(--blue) !important; background: var(--cream); padding: 0.1rem 0.8rem 0.3rem; border-radius: 0; text-decoration: none; line-height: 1.2; }
.logo.small { font-size: 1.2rem; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; align-items: center; font-size: 0.92rem; font-weight: 500; }
.top nav a { text-decoration: none; padding-block: 0.2rem; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--coral); }
.top nav a.btn { border-bottom: 0; }
.pill { background: var(--coral); color: var(--ink); font-weight: 700; font-size: 0.75rem; padding: 0.05rem 0.5rem; border-radius: 0; }
.dot { background: var(--coral); color: var(--ink); font-weight: 700; font-size: 0.7rem; padding: 0.05rem 0.45rem; border-radius: 0; }
.foot { background: var(--navy-deep); color: var(--cream); font-size: 0.85rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
.foot a { color: var(--cream); }
form.inline { display: inline; margin: 0; }
button.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.top button.linklike { text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.top button.linklike:hover { text-decoration: underline; }

.notice { padding-block: 0.7rem; font-size: 0.92rem; font-weight: 500; }
.notice.warn { background: var(--warn-bg); } .notice.ok { background: var(--ok-bg); color: #145c3a; } .notice.err { background: var(--err-bg); color: var(--err); }
.notice .linklike { font-weight: 600; color: var(--navy); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: 600 0.95rem/1.1 var(--body); text-decoration: none; padding: 0.8rem 1.3rem; border-radius: 0; border: 2px solid var(--navy); background: var(--navy); color: var(--cream) !important; cursor: pointer; transition: transform 0.12s; }
.btn:hover { transform: translateY(-1px); }
.btn.coral { background: var(--coral); border-color: var(--coral); color: var(--on-coral) !important; }
.btn.ghost { background: transparent; color: var(--navy) !important; }
.btn.danger { background: transparent; border-color: var(--err); color: var(--err) !important; }
.btn.small { padding: 0.5rem 0.95rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

/* forms */
.card { background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 1.3rem; min-width: 0; }
.card.navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.narrow { max-width: 30rem; margin-inline: auto; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; min-width: 0; }
.field > label, legend.lab { font-weight: 600; font-size: 0.9rem; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { font: 500 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.7rem 0.85rem; width: 100%; min-width: 0; }
input[type=file] { font: 500 0.9rem var(--body); max-width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); }
.hint { font-size: 0.8rem; color: var(--muted); margin: 0; }
.errors { background: var(--err-bg); color: var(--err); border-radius: 0; padding: 0.8rem 1rem; margin-bottom: 1.2rem; font-weight: 600; font-size: 0.92rem; }
.errors ul { margin: 0; padding-left: 1.1rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; border: 2px solid var(--line); background: #fff; border-radius: 0; padding: 0.7rem 1rem; font-weight: 600; font-size: 0.92rem; }
.choice input:checked + span { border-color: var(--navy); background: #eef3fa; }
.choice input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; font-size: 0.95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--navy); flex: none; }

/* map */
.mapbox { background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.6rem; }
svg.vmap { display: block; width: 100%; height: auto; max-height: 26rem; }
svg.vmap path { fill: #e8e3d4; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; fill-rule: evenodd; }
svg.vmap.pick path { cursor: pointer; }
svg.vmap.pick path:hover { fill: #cbd6ea; }
svg.vmap path.sel, svg.vmap.pick path.sel:hover { fill: var(--coral); }
svg.vmap text { font: 600 12px var(--body); fill: #6c7790; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
svg.vmap text.sel { fill: var(--ink); font-size: 17px; font-weight: 700; }
.credit { font-size: 0.7rem; color: var(--muted); margin: 0.4rem 0 0; }

/* listings */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.2rem; }
.lcard { display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.12s, box-shadow 0.12s; min-width: 0; }
.lcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14, 27, 51, 0.12); }
.pic { position: relative; aspect-ratio: 4 / 3; background: var(--navy); overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { width: 100%; height: 100%; background-image: radial-gradient(circle, rgba(248, 244, 234, 0.6) 1.2px, transparent 1.6px); background-size: 9px 9px; }
.feat { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.6rem; border-radius: 0; }
.lbody { padding: 0.9rem 1rem 1rem; display: grid; gap: 0.15rem; }
.lbody p { margin: 0; font-size: 0.85rem; }
.lbody h3 { overflow-wrap: anywhere; }
.crumb { font-size: 0.72rem !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); }
.price { font-weight: 700; color: var(--navy); margin-top: 0.3rem !important; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.8rem; align-items: end; background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 1rem; margin-bottom: 1.6rem; }
.filters .field { margin: 0; }
.pager { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2rem; align-items: center; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.gallery { display: grid; gap: 0.6rem; }
.gallery .main { aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden; background: var(--navy); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr)); gap: 0.5rem; }
.thumbs a { aspect-ratio: 1; border-radius: 0; overflow: hidden; display: block; background: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 1rem; }
.chip { font-size: 0.78rem; font-weight: 600; border-radius: 0; padding: 0.3rem 0.8rem; background: var(--navy); color: var(--cream); }
.chip.alt { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: #8a6a14; }
.chip.bad { background: var(--err-bg); color: var(--err); }
.desc { white-space: pre-wrap; overflow-wrap: anywhere; }
dl.facts { margin: 0 0 1rem; }
dl.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
dl.facts dt { font-weight: 600; color: var(--muted); }
dl.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.owner { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.av { width: 3rem; height: 3rem; border-radius: 0; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; color: var(--cream); background: radial-gradient(circle at 35% 30%, #f6b3b3, var(--coral) 55%, var(--navy) 120%); }
.av.lg { width: 4.5rem; height: 4.5rem; font-size: 2rem; }
.rate { font-weight: 700; }
.pricebox { background: var(--navy); color: var(--cream); border-radius: 0; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.pricebox .p { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.pricebox .p small { font-family: var(--body); font-size: 0.85rem; font-weight: 500; opacity: 0.85; margin-left: 0.3rem; }
.pricebox p { margin: 0.3rem 0 0; font-size: 0.88rem; opacity: 0.92; }

/* dashboard */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.8rem; margin-bottom: 1.6rem; }
.tile { background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.9rem 1rem; text-decoration: none; color: var(--ink); display: grid; gap: 0.1rem; }
.tile b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.tile span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.tile.hot { background: var(--navy); border-color: var(--navy); }
.tile.hot b { color: var(--cream); } .tile.hot span { color: rgba(248, 244, 234, 0.85); }
.cap { background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; font-size: 0.92rem; }
.bar-track { height: 0.55rem; background: rgba(14, 27, 51, 0.12); border-radius: 0; overflow: hidden; margin-top: 0.5rem; }
.bar-track i { display: block; height: 100%; background: var(--navy); border-radius: 0; }
.list { display: grid; gap: 0.7rem; }
.item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.7rem 0.9rem; }
.item .thumb { width: 4.5rem; height: 4.5rem; border-radius: 0; overflow: hidden; background: var(--navy); }
.item .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item h3 { overflow-wrap: anywhere; }
.item p { margin: 0; font-size: 0.85rem; }
.item .acts { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }

/* points */
.wallet { background: var(--navy); color: var(--cream); border-radius: 0; padding: 1.4rem; display: grid; gap: 0.8rem; margin-bottom: 1.4rem; }
.wallet .lab { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 0.85; }
.wallet .num { font-family: var(--display); font-size: 4.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.wallet .num small { font-family: var(--body); font-size: 1rem; font-weight: 500; opacity: 0.85; margin-left: 0.4rem; }
.wallet .two { display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; }
.wallet .two b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; display: block; line-height: 1.1; }
.wallet .meter { max-width: 24rem; font-size: 0.8rem; }
.wallet .bar-track { background: rgba(248, 244, 234, 0.2); } .wallet .bar-track i { background: var(--cream); }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.ledger .w { font-weight: 600; overflow-wrap: anywhere; }
.ledger .n { color: var(--muted); font-size: 0.8rem; grid-column: 1; }
.ledger .a { grid-row: 1 / span 2; grid-column: 2; font-family: var(--display); font-size: 1.6rem; align-self: center; font-variant-numeric: tabular-nums; }
.plus { color: var(--ok); } .minus { color: var(--coral-deep); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem 1.5rem; }
.rules div { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.6rem; align-items: center; font-size: 0.9rem; padding: 0.4rem 0; }
.rules b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }

/* exchanges */
.thread { display: grid; gap: 0.7rem; margin-bottom: 1.2rem; }
.msg { max-width: 85%; background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.6rem 0.9rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg.me { justify-self: end; background: #eef3fa; border-radius: 0; }
.msg.sys { justify-self: center; background: transparent; border: 0; color: var(--muted); font-size: 0.85rem; text-align: center; max-width: 100%; }
.msg small { display: block; color: var(--muted); font-size: 0.72rem; margin-bottom: 0.1rem; }
.track { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
.track li { border-top: 4px solid var(--line); padding-top: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.track li.done { border-top-color: var(--navy); color: var(--ink); } .track li.now { border-top-color: var(--coral); color: var(--ink); } .track li.bad { border-top-color: var(--err); color: var(--err); }
.stars { display: flex; gap: 0.4rem; flex-wrap: wrap; }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tablewrap { overflow-x: auto; background: #fff; border: 1.5px solid var(--line); border-radius: 0; }
th, td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.review { border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.review p { margin: 0.2rem 0 0; overflow-wrap: anywhere; }

/* no inline styles allowed by the CSP, so small helpers live here */
.flush { margin-top: 0 !important; margin-bottom: 0; } .h-sm { font-size: 2.4rem; } .gap-top { margin-top: 1.2rem; }
.owner.lg { grid-template-columns: 4.5rem minmax(0, 1fr); } .item.two { grid-template-columns: minmax(0, 1fr) auto; }
.narrow-in { width: 6rem !important; } .search-in { max-width: 20rem; }
.w0 { width: 0%; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; } 
/* europe map */
svg.emap { max-height: 30rem; }
svg.emap path { stroke-width: 0.8; }
svg.emap text { font-size: 13px; }
svg.emap text.sel { font-size: 13px; }

/* availability calendar */
.cals { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
table.cal { font-size: 0.8rem; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 0; padding: 0.4rem; border-collapse: separate; border-spacing: 2px; }
table.cal caption { font-weight: 700; padding: 0.3rem 0; font-size: 0.9rem; }
table.cal th, table.cal td { text-align: center; padding: 0.25rem 0; border: 0; letter-spacing: 0; text-transform: none; font-size: 0.8rem; border-radius: 0; }
table.cal th { color: var(--muted); font-weight: 600; }
table.cal td.past { color: #aab1c0; } table.cal td.today { outline: 2px solid var(--navy); }
table.cal td.busy { background: var(--coral); color: var(--ink); font-weight: 700; }
.sr { position: absolute; left: -9999px; }
@media (max-width: 820px) { .detail { grid-template-columns: minmax(0, 1fr); } .item { grid-template-columns: 4rem minmax(0, 1fr); } .item .acts { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 480px) { .track li { font-size: 0.6rem; } .wallet .num { font-size: 3.6rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.wide-text { max-width: 44rem; }

/* Prueba 6: títulos en coral */
h1 { color: var(--coral); }

/* Prueba 7: azul bebé, números en círculo, logo con dos flechas, mapa pequeño, transporte */
:root { --baby: #a9d6f5; --baby-deep: #8cc4ee; --navy: #2f78b2; --blue: #2f78b2; }
.top { background: var(--baby); color: var(--ink); }
.top a { color: var(--ink); }
.foot { background: var(--baby-deep); color: var(--ink); }
.foot a { color: var(--ink); }
.btn { background: var(--baby); border-color: var(--navy); color: var(--ink) !important; }
.btn.ghost { background: transparent; color: var(--navy) !important; }
.card.navy, .wallet, .tile.hot { background: var(--baby); border-color: var(--baby); color: var(--ink); }
.tile.hot b { color: var(--ink); } .tile.hot span { color: var(--muted); }
.chip { background: var(--baby); color: var(--ink); }
.chip.alt { background: transparent; color: var(--navy); }
.pic, .gallery .main, .thumbs a, .item .thumb { background: var(--baby); }
.chip.coralchip { background: var(--coral); color: var(--ink); }
/* logo: dos flechas de reciclaje alrededor de la palabra */
.logo, .logo.small { position: relative; display: inline-block; background: none; border: 0; padding: 0.55rem 1.7rem 0.6rem; color: var(--ink) !important; line-height: 1.2; }
.logo span { position: relative; z-index: 1; }
.logo .ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.logo .arrow-a { stroke: var(--navy); } .logo .head-a { fill: var(--navy); }
.logo .arrow-b { stroke: var(--coral); } .logo .head-b { fill: var(--coral); }
.logo.small { font-size: 1.2rem; padding: 0.4rem 1.3rem 0.45rem; }
/* números en círculo azul */
.pill, .dot { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.75rem; }
.pricebox { background: var(--baby); color: var(--ink); width: 10rem; height: 10rem; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 1rem; margin-inline: auto; }
.pricebox .p small { display: block; margin: 0.2rem 0 0; font-size: 0.75rem; opacity: 1; }
.pricebox p { font-size: 0.7rem; max-width: 7rem; }
/* mapa pequeño */
.mapbox.small { max-width: 17rem; padding: 0.4rem; }
.mapbox.small svg.vmap { max-height: 14rem; }
.mapbox.small .credit, .mapbox.small + p { font-size: 0.75rem; }

/* Logo v2: tipografía redondeada y dos flechas coral formando un círculo */
.logo, .logo.small { font-family: "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif; font-style: normal; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; width: 5.4rem; height: 5.4rem; padding: 0; display: inline-grid; place-items: center; margin-block: 0.3rem; }
.logo.small { width: 3.8rem; height: 3.8rem; font-size: 0.8rem; margin-block: 0; }
.logo .arrow { stroke: var(--coral); } .logo .head { fill: var(--coral); }

/* Puntos: círculo más pequeño con borde en forma de ola */
.pricebox { width: 7.2rem; height: 7.2rem; border-radius: 0; clip-path: polygon(96.0% 50.0%, 97.2% 51.6%, 98.2% 53.4%, 99.0% 55.1%, 99.3% 56.9%, 99.2% 58.7%, 98.7% 60.4%, 97.8% 61.9%, 96.5% 63.3%, 94.9% 64.6%, 93.2% 65.7%, 91.5% 66.8%, 89.9% 67.8%, 88.4% 68.7%, 87.3% 69.8%, 86.4% 71.0%, 85.8% 72.4%, 85.5% 73.9%, 85.3% 75.7%, 85.3% 77.6%, 85.2% 79.6%, 85.1% 81.6%, 84.8% 83.6%, 84.2% 85.4%, 83.3% 87.0%, 82.1% 88.3%, 80.7% 89.2%, 78.9% 89.8%, 77.0% 90.1%, 75.0% 90.1%, 73.0% 89.8%, 71.0% 89.5%, 69.1% 89.2%, 67.4% 89.1%, 65.8% 89.1%, 64.4% 89.5%, 63.0% 90.1%, 61.8% 91.1%, 60.6% 92.4%, 59.3% 93.8%, 58.0% 95.3%, 56.6% 96.8%, 55.1% 98.1%, 53.4% 99.1%, 51.7% 99.8%, 50.0% 100.0%, 48.3% 99.8%, 46.6% 99.1%, 44.9% 98.1%, 43.4% 96.8%, 42.0% 95.3%, 40.7% 93.8%, 39.4% 92.4%, 38.2% 91.1%, 37.0% 90.1%, 35.6% 89.5%, 34.2% 89.1%, 32.6% 89.1%, 30.9% 89.2%, 29.0% 89.5%, 27.0% 89.8%, 25.0% 90.1%, 23.0% 90.1%, 21.1% 89.8%, 19.3% 89.2%, 17.9% 88.3%, 16.7% 87.0%, 15.8% 85.4%, 15.2% 83.6%, 14.9% 81.6%, 14.8% 79.6%, 14.7% 77.6%, 14.7% 75.7%, 14.5% 73.9%, 14.2% 72.4%, 13.6% 71.0%, 12.7% 69.8%, 11.6% 68.7%, 10.1% 67.8%, 8.5% 66.8%, 6.8% 65.7%, 5.1% 64.6%, 3.5% 63.3%, 2.2% 61.9%, 1.3% 60.4%, 0.8% 58.7%, 0.7% 56.9%, 1.0% 55.1%, 1.8% 53.4%, 2.8% 51.6%, 4.0% 50.0%, 5.3% 48.4%, 6.5% 47.0%, 7.5% 45.5%, 8.2% 44.1%, 8.6% 42.7%, 8.7% 41.2%, 8.5% 39.7%, 8.0% 38.0%, 7.4% 36.2%, 6.8% 34.3%, 6.2% 32.3%, 5.8% 30.3%, 5.7% 28.4%, 6.0% 26.6%, 6.7% 25.0%, 7.8% 23.6%, 9.2% 22.5%, 10.9% 21.6%, 12.8% 20.9%, 14.8% 20.4%, 16.7% 20.0%, 18.6% 19.7%, 20.3% 19.2%, 21.8% 18.6%, 23.0% 17.8%, 24.0% 16.7%, 24.9% 15.4%, 25.6% 13.8%, 26.3% 12.0%, 27.0% 10.2%, 27.8% 8.3%, 28.8% 6.5%, 30.0% 5.0%, 31.3% 3.8%, 32.9% 3.0%, 34.6% 2.6%, 36.4% 2.7%, 38.3% 3.1%, 40.2% 3.8%, 42.0% 4.7%, 43.8% 5.7%, 45.4% 6.6%, 47.0% 7.3%, 48.5% 7.8%, 50.0% 8.0%, 51.5% 7.8%, 53.0% 7.3%, 54.6% 6.6%, 56.2% 5.7%, 58.0% 4.7%, 59.8% 3.8%, 61.7% 3.1%, 63.6% 2.7%, 65.4% 2.6%, 67.1% 3.0%, 68.7% 3.8%, 70.0% 5.0%, 71.2% 6.5%, 72.2% 8.3%, 73.0% 10.2%, 73.7% 12.0%, 74.4% 13.8%, 75.1% 15.4%, 76.0% 16.7%, 77.0% 17.8%, 78.2% 18.6%, 79.7% 19.2%, 81.4% 19.7%, 83.3% 20.0%, 85.2% 20.4%, 87.2% 20.9%, 89.1% 21.6%, 90.8% 22.5%, 92.2% 23.6%, 93.3% 25.0%, 94.0% 26.6%, 94.3% 28.4%, 94.2% 30.3%, 93.8% 32.3%, 93.2% 34.3%, 92.6% 36.2%, 92.0% 38.0%, 91.5% 39.7%, 91.3% 41.2%, 91.4% 42.7%, 91.8% 44.1%, 92.5% 45.5%, 93.5% 47.0%, 94.7% 48.4%); padding: 0.5rem; }
.pricebox .p { font-size: 2rem; }
.pricebox .p small { font-size: 0.65rem; }
.pricebox p { display: none; }

/* Header recto con una flecha coral como línea inferior; logo orgánico de 3 flechas */
.top { position: relative; padding-bottom: 6px; }
/* flecha dibujada a mano */
.top::after { content: ""; position: absolute; left: 0; right: 30px; bottom: -3px; height: 12px; background: url(hand-line.svg) repeat-x left center; }
.top::before { content: ""; position: absolute; right: 0; bottom: -12px; z-index: 2; width: 34px; height: 30px; background: url(hand-head.svg) no-repeat center; }
.logo { width: 12rem; height: 3.7rem; font-size: 1.6rem; margin-block: 0.1rem; }
.bar { padding-block: 0.3rem; }
.logo.small { width: 9rem; height: 2.9rem; font-size: 1.15rem; }
.logo .ring { preserveAspectRatio: none; }

/* Diseño más limpio: menos cajitas. Separación con espacio y líneas finas. */
.card, .mapbox, .mapbox.small, .tile, .lcard, .item, .doclist li { background: transparent; border: 0; box-shadow: none; }
.card { padding: 0; }
.mapbox, .mapbox.small { padding: 0; }
.lcard:hover { box-shadow: none; transform: none; }
.lcard:hover h3 { text-decoration: underline; }
.lbody { padding: 0.7rem 0 0; }
.tile { padding: 0.4rem 0; border-top: 2px solid var(--coral); border-radius: 0; }
.item { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.list { gap: 0; }
.doclist li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
/* campos: solo una línea inferior */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { background: transparent; border: 0; border-bottom: 2px solid var(--line); padding-inline: 0; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--coral); outline: none; }
.choice span { background: transparent; border: 0; border-bottom: 2px solid var(--line); padding-inline: 0.2rem; }
.choice input:checked + span { background: transparent; border-bottom-color: var(--coral); }
/* etiquetas: texto sin marco */
.chip.alt { border: 0; padding: 0.3rem 0.9rem 0.3rem 0; color: var(--navy); }
.chip.alt:not(:last-child)::after { content: "·"; margin-left: 0.9rem; color: var(--muted); }
.btn.ghost { border-color: transparent; padding-inline: 0.5rem; text-decoration: underline; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.filters { background: transparent; border: 0; padding: 0; }
.thumbs a.on { outline: 3px solid var(--coral); outline-offset: -3px; }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); margin-top: 0.6rem; }

.cals.paged { display: block; max-width: 21rem; }
.cals.paged table.cal { display: none; width: 100%; } .cals.paged table.cal.on { display: table; }
.cals.paged table.cal caption { display: none; }
.calnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.calnav[hidden] { display: none; }
.calttl { font-weight: 700; font-size: 0.95rem; }
.calbtn { background: none; border: 0; font: 400 2.6rem/0.7 var(--body); color: var(--navy); cursor: pointer; padding: 0.1rem 0.7rem; }
.calbtn:disabled { color: #c3c9d6; cursor: default; }
.calbtn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* Footer más estrecho */
.foot { font-size: 0.8rem; }
.foot .wrap { padding-block: 0.4rem calc(0.4rem + env(safe-area-inset-bottom, 0px)); gap: 0.4rem 2rem; }

/* Ajustes finales: logo solo palabra, coral más oscuro para texto, campos más visibles */
:root { --coral-text: var(--coral); }
h1 { color: var(--coral-text); }
.logo .ring { display: none; }
.logo, .logo.small { width: auto; height: auto; padding: 0.15rem 0; margin-block: 0; font-size: 2.3rem; line-height: 1.1; letter-spacing: -0.01em; }
.logo.small { font-size: 1.4rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { background: rgba(169, 214, 245, 0.18); border-bottom: 2px solid #5f7c96; padding: 0.55rem 0.6rem; }
textarea { border: 2px solid #5f7c96; border-bottom-width: 2px; }
.choice span { border-bottom-color: #5f7c96; }

/* Títulos más finos; logo escrito como una flecha (palabra sobre una línea dibujada a mano que termina en punta) */
h1 { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: 0.01em; line-height: 1.1; }
.logo, .logo.small { padding: 0.1rem 2.4rem 0.7rem 0; background-image: url(hand-head.svg), url(hand-line.svg); background-repeat: no-repeat, repeat-x; background-size: 34px 30px, auto 12px; background-position: right bottom -5px, left bottom 4px; }
.logo.small { padding-right: 2rem; padding-bottom: 0.55rem; background-size: 26px 23px, auto 10px; }

/* Logo: sin flecha debajo, tipografía de palo recto */
.logo, .logo.small { background-image: none; padding: 0.15rem 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; font-size: 2rem; }
.logo.small { font-size: 1.3rem; }

/* Documentos (manuales) */
.doclist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.2rem; }
/* Combinación final: puntos en amarillo mostaza con texto oscuro */
.pricebox { background: #f6c33d; color: var(--ink); }
.storythumb { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--baby); }


/* ===== Prueba 8: sobria. Petróleo (confianza + naturaleza), coral (calidez, comunidad), serif en títulos ===== */
:root { --navy: #1c6b73; --navy-deep: #124a50; --blue: #1c6b73; --baby: #e4f0ef; --baby-deep: #cfe4e2; --ok: #3f7d58; --ok-bg: #e4f0e8; --gold: #f1c75a; }
a { color: var(--navy); }
.top { background: var(--navy); color: #fffdf7; }
.top a { color: #fffdf7; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--coral); }
.logo, .logo.small { color: #fffdf7 !important; }
.pill, .dot { background: var(--coral); color: #fff; }
.foot { background: var(--navy-deep); color: #fffdf7; }
.foot a { color: #fffdf7; }
.btn { background: var(--navy); border-color: var(--navy); color: #fffdf7 !important; }
.btn.ghost { background: transparent; color: var(--navy) !important; }
.btn.coral { background: var(--coral); border-color: var(--coral); color: #fff !important; }
.card.navy, .wallet, .tile.hot { background: var(--navy); border-color: var(--navy); color: #fffdf7; }
.tile.hot b { color: #fffdf7; } .tile.hot span { color: rgba(255,253,247,.85); }
.chip { background: var(--navy); color: #fffdf7; }
.chip.coralchip { background: var(--coral); color: #fff; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.pic, .gallery .main, .thumbs a, .item .thumb { background: var(--baby); }
/* títulos: serif cálida */
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; text-transform: none; letter-spacing: -0.01em; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; color: var(--ink); }
h1::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--coral); margin-top: 0.6rem; }
/* puntos: bloque limpio, sin ondas */
.pricebox { clip-path: none; width: auto; height: auto; border-radius: 0; background: var(--navy); color: #fffdf7; display: block; text-align: left; padding: 1rem 1.2rem; margin: 0 0 1rem; }
.pricebox .p { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.4rem; }
.pricebox .p small { display: inline; font-size: 0.85rem; margin-left: 0.4rem; font-family: var(--body); font-weight: 500; }
.pricebox p { display: block; max-width: none; font-size: 0.85rem; }
/* números */
.tile b, .wallet b, .wallet .big { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
/* campos */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { background: #fff; border-bottom-color: #6b8a8c; }
textarea { border-color: #6b8a8c; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--navy); }
.choice input:checked + span { border-bottom-color: var(--coral); }
.thumbs a.on { outline-color: var(--coral); }
.calbtn { color: var(--navy); }
table.cal td.busy { background: var(--coral); color: #fff; }
table.cal td.today { outline-color: var(--navy); }
.eyebrow, .crumb { color: var(--navy); }
:root { --display: "Fraunces", Georgia, serif; } .wallet .num { font-weight: 600; }
:root { --cream: #ffffff; --bg: #ffffff; }
body { background: #ffffff; }
:root { --cream: #f3f5f6; --bg: #f3f5f6; }
body { background: #f3f5f6; }
.pic, .gallery .main, .thumbs a, .item .thumb { background: #e4ecec; }
:root { --navy: #1d5b78; --navy-deep: #123f55; --blue: #1d5b78; --baby: #e3edf3; --baby-deep: #cfdfe9; }
.pic, .gallery .main, .thumbs a, .item .thumb { background: #e1eaef; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { border-bottom-color: #6b8494; }

/* ===== Prueba 9: menos banco, más estudio creativo. Cabecera clara, tinta + coral + mostaza + teal ===== */
:root { --navy: #1b1a2e; --navy-deep: #1b1a2e; --blue: #1b1a2e; --teal: #1f7a7a; --mustard: #f2c14e; --baby: #eef0f2; --baby-deep: #e1e4e8; }
body { background: #f6f5f2; }
.top { background: #f6f5f2; color: #1b1a2e; border-bottom: 0; }
.top a, .logo, .logo.small { color: #1b1a2e !important; }
.logo { font-weight: 700; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--mustard); }
.top::after { filter: none; }
.pill, .dot { background: var(--coral); color: #fff; }
.foot { background: #1b1a2e; color: #f6f5f2; }
.foot a { color: #f6f5f2; }
.btn { background: #1b1a2e; border-color: #1b1a2e; color: #fff !important; }
.btn:hover { background: var(--coral); border-color: var(--coral); }
.btn.ghost { background: transparent; color: #1b1a2e !important; }
a { color: var(--teal); }
.chip { background: var(--mustard); color: #1b1a2e; }
.chip.coralchip { background: var(--coral); color: #fff; }
.pricebox { background: var(--mustard); color: #1b1a2e; }
.pricebox .p, .pricebox p { color: #1b1a2e; }
.card.navy, .wallet, .tile.hot { background: var(--teal); border-color: var(--teal); color: #fff; }
h1::after { background: var(--mustard); height: 6px; width: 3.4rem; }
.eyebrow, .crumb, .item .cat, .card .cat { color: var(--teal); }
.calbtn { color: #1b1a2e; }
table.cal td.today { outline-color: #1b1a2e; }
.pic, .gallery .main, .thumbs a, .item .thumb { background: #e9e6df; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--coral); }
.foot .logo, .foot .logo.small { color: #f6f5f2 !important; }

/* ===== Prueba 10: azul claro, fresco y creativo, con tinta para dar firmeza ===== */
:root { --navy: #1b1a2e; --navy-deep: #1b1a2e; --blue: #2a6fa8; --sky: #bfe0f7; --sky-soft: #e6f3fc; }
body { background: #f7f9fb; }
.top { background: var(--sky); color: #1b1a2e; }
.foot { background: var(--sky); color: #1b1a2e; }
.foot a, .foot .logo, .foot .logo.small { color: #1b1a2e !important; }
.top a, .logo, .logo.small { color: #1b1a2e !important; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: #1b1a2e; }
a { color: var(--blue); }
.chip { background: var(--sky); color: #1b1a2e; }
.pricebox { background: var(--sky); color: #1b1a2e; }
.card.navy, .wallet, .tile.hot { background: var(--sky); border-color: var(--sky); color: #1b1a2e; }
.wallet .lab, .wallet .num, .wallet b, .tile.hot b, .tile.hot span { color: #1b1a2e; }
.eyebrow, .crumb, .item .cat, .card .cat { color: var(--blue); }
h1::after { background: var(--coral); height: 5px; }
.pic, .gallery .main, .thumbs a, .item .thumb { background: var(--sky-soft); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { border-bottom-color: #7a93a8; }
.btn:hover { background: var(--blue); border-color: var(--blue); }

/* ===== Landing and legal pages ===== */
.l-hero { padding-block: 3.2rem 2.4rem; }
.l-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 7vw, 4.2rem); }
.l-hero .lede, .l-close .lede { max-width: 40rem; font-size: 1.12rem; }
.l-hero .row, .l-close .row { margin-top: 1.4rem; }
.l-sec { padding-block: 2.6rem; }
.l-sec.alt { background: var(--baby); }
.l-sec h2 { font-family: var(--mark); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; margin: 0 0 1.4rem; max-width: 26ch; }
.l-sec h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.l-3, .l-4, .l-2 { display: grid; gap: 1.6rem 2rem; }
.l-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.l-4 { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.l-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.l-3 p, .l-4 p, .l-2 p { margin: 0.2rem 0 0.6rem; }
.l-4 > div { border-top: 3px solid var(--coral); padding-top: 0.6rem; }
.l-4 .big { font-family: var(--mark); font-weight: 600; font-size: 1.5rem; margin: 0.2rem 0; }
.l-sub { margin-top: 2rem !important; }
.l-list { list-style: none; padding: 0; margin: 0.6rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.l-list li { background: #fff; border: 1px solid var(--line); padding: 0.25rem 0.6rem; font-size: 0.9rem; }
.l-list.one { display: block; }
.l-list.one li { display: block; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.l-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.4rem 2rem; }
.l-steps li { counter-increment: s; }
.l-steps li::before { content: counter(s); display: block; font-family: var(--mark); font-weight: 600; font-size: 2rem; color: var(--coral); }
.l-steps b, .l-steps span { display: block; }
.l-pts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.l-pts b { display: block; font-family: var(--mark); font-weight: 600; font-size: 2.2rem; }
.l-pts span { color: var(--muted); font-size: 0.9rem; }
.l-faq details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; max-width: 46rem; }
.l-faq summary { cursor: pointer; font-weight: 600; }
.l-faq details p { margin: 0.5rem 0 0; }
.l-close { text-align: left; }
.rules { list-style: none; padding: 0; margin: 0.6rem 0 1rem; }
.rules li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.rules li a b { display: block; }
.rules li span { color: var(--muted); font-size: 0.9rem; }
.legaltext h2 { font-size: 1.15rem; margin-top: 1.8rem; }
.legaltext ul, .legaltext ol { padding-left: 1.2rem; }
.legaltext li { margin-bottom: 0.4rem; }
.ensum { background: var(--baby); padding: 0.7rem 1rem; margin: 1rem 0; }
.formtext { border-left: 3px solid var(--coral); padding-left: 1rem; }
.top nav { flex-wrap: wrap; }

/* Tipografía principal de palo recto: Poppins en toda la app */
:root { --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; --mark: "Poppins", system-ui, sans-serif; }
h1 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1.1; }
.pricebox .p, .tile b, .wallet b, .wallet .big, .wallet .num, .wallet .two b, .ledger .a, .rules b, .av, .l-sec h2, .l-4 .big, .l-steps li::before, .l-pts b { font-family: var(--display); font-weight: 700; }
.l-sec h2 { text-transform: none; }

/* ---- v11 additions: listing form, browse, lightbox, features ---- */
main .notice { background: #e8f3fc; padding: 0.7rem 1rem; margin: 0 0 1rem; border-left: 4px solid var(--baby-deep); }
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 0 1.4rem; align-items: start; }
.where .where-map { margin: 0; }
.where .mapbox.small { max-width: 15rem; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 0.8rem; max-width: 26rem; }
.objrow { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.objrow .field { margin-bottom: 0.5rem; }
.choices.vert { flex-direction: column; align-items: stretch; }
.choices.wrap { flex-wrap: wrap; }
.askbox { border: 2px solid var(--baby-deep) !important; padding: 1rem !important; background: #fff !important; }
.gap-bottom { margin-bottom: 1.2rem; }
.quicklinks { margin: 0.4rem 0 1rem; font-weight: 600; }
.review-card .rc { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; }
.review-card .storythumb { width: 100%; height: auto; }
.chip.danger { background: var(--err-bg); color: var(--err); }
.btn.danger { border-color: var(--err); color: var(--err) !important; background: transparent; }

.browse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.6rem; align-items: start; }
.browse-map { position: sticky; top: 1rem; }
.browse-map .mapbox.small { max-width: none; }
.maphead { font-size: 1rem; margin: 0 0 0.4rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 900px) { .browse { grid-template-columns: minmax(0, 1fr); } .browse-map { position: static; } .where { grid-template-columns: minmax(0, 1fr); } .objrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

.gallery .main { position: relative; }
.gallery .main a { display: block; height: 100%; cursor: zoom-in; }
.gallery .main .count, .gallery .main .zoomhint { position: absolute; bottom: 0.5rem; background: rgba(14, 27, 51, 0.72); color: #fff; font-size: 0.78rem; padding: 0.15rem 0.55rem; }
.gallery .main .count { right: 0.5rem; } .gallery .main .zoomhint { left: 0.5rem; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 28, 0.93); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: pointer; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; font-size: 2.4rem; line-height: 1; width: 3rem; height: 3rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; }

.swaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.swaps figure { margin: 0; } .swaps img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.swaps figcaption { font-size: 0.85rem; margin-top: 0.3rem; }
.feat-card { border: 2px solid var(--baby-deep); padding: 1.2rem; margin: 0.8rem 0 1.6rem; background: #fff; }
.feat-main { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.4rem; }
.feat-photo { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.feat-thumb { width: 6rem; height: 6rem; object-fit: cover; display: block; margin-bottom: 0.4rem; }
.feat-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; margin-top: 1rem; }
.feat-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .feat-main { grid-template-columns: minmax(0, 1fr); } }
svg.chart { width: 100%; max-width: 38rem; height: auto; }
svg.chart .bar { fill: var(--baby-deep); } svg.chart .axis { font-size: 10px; fill: var(--muted); }
details.faq { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 0.5rem 0 0; }

/* ---- plans and checkout ---- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; margin: 1.2rem 0 2rem; }
.tiers .tier { border: 2px solid var(--baby-deep); background: #fff; padding: 1.2rem; }
.tiers .tier.hl { border-color: var(--coral); }
.tiers .name { font-weight: 700; font-size: 1.1rem; margin: 0; }
.tiers .amt { font-size: 2.2rem; font-weight: 700; margin: 0.2rem 0 0.6rem; line-height: 1.1; }
.tiers .amt small { font-size: 0.9rem; font-weight: 500; margin-left: 0.3rem; }
.plan-list { padding-left: 1.1rem; margin: 0 0 1rem; }
.paychoices { display: grid; gap: 0.6rem; margin-bottom: 1rem; }
.paychoice { display: flex; gap: 0.7rem; align-items: flex-start; border: 2px solid var(--line); background: #fff; padding: 0.8rem 1rem; cursor: pointer; }
.paychoice:has(input:checked) { border-color: var(--coral); background: #fff4f2; }
.paychoice input { margin-top: 0.3rem; }
.checkout .row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
dialog.paydialog { border: 2px solid var(--ink); padding: 1.6rem; max-width: 34rem; width: calc(100% - 2rem); max-height: 92vh; overflow: auto; background: #fff; color: var(--ink); }
dialog.paydialog::backdrop { background: rgba(14, 27, 51, 0.6); }
.dclose { position: absolute; top: 0.4rem; right: 0.6rem; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.checkout [hidden] { display: none !important; }

/* plan choice at sign-up: a coral Select button on paid plans, then the payment type */
.plans .plancard { border: 2px solid var(--line); background: #fff; margin: 0 0 0.7rem; position: relative; }
.plans .planlabel { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; cursor: pointer; }
.plans .plancard > .planlabel input { margin: 0 0.6rem 0 0; }
.plans .planradio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plans .planradio:checked + .planlabel { background: #eef3fa; }
.plans .plancard.paid:has(.planradio:checked) { border-color: var(--navy); }
.plans .planradio:focus-visible + .planlabel { outline: 3px solid var(--coral); outline-offset: 2px; }
.plans .selbtn { white-space: nowrap; flex: none; }
.plans .s-on { display: none; }
.plans .planradio:checked + .planlabel .s-on { display: inline; }
.plans .planradio:checked + .planlabel .s-off { display: none; }
.plans .paybox { display: none; padding: 0.2rem 1rem 1rem; border-top: 1px dashed var(--line); }
.plans .planradio:checked ~ .paybox { display: block; }

/* admin area, in the style of a WordPress dashboard */
body.adminbody { background: #f0f0f1; color: #1d2327; margin: 0; }
.adminbar { background: var(--navy-deep); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 1.2rem; position: sticky; top: 0; z-index: 5; }
.adminbar a, .adminbar .linklike { color: #fff; }
.adminlogo { font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.adminlogo span { background: var(--coral); color: #fff; font-size: 0.72rem; padding: 0.1rem 0.45rem; border-radius: 999px; margin-left: 0.4rem; vertical-align: 0.1em; }
.adminwho { font-size: 0.88rem; display: flex; gap: 0.8rem; align-items: center; }
.adm { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 2.9rem); }
.admside { background: #162a49; padding: 0.8rem 0; }
.admside ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 3.2rem; }
.admside li.sep { height: 1px; background: rgba(255, 255, 255, 0.12); margin: 0.6rem 0.9rem; }
.admside a { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 1.1rem; color: #d8e3f1; text-decoration: none; font-size: 0.92rem; border-left: 4px solid transparent; }
.admside a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admside a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; border-left-color: var(--coral); }
.admmain { padding: 1.6rem 2rem 3rem; min-width: 0; }
.admmain h1 { font-size: 1.7rem; margin: 0 0 1rem; }
.admmain h2 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.admmain .tile, .admmain .card, .admmain .tablewrap { background: #fff; border: 1px solid #dcdcde; border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); }
.admmain .tablewrap { overflow-x: auto; }
.admmain table { background: #fff; }
.admmain .notice { margin: 0 0 1rem; padding: 0.7rem 1rem; }
@media (max-width: 860px) { .adm { grid-template-columns: 1fr; } .admside ul { display: flex; overflow-x: auto; position: static; } .admside li.sep { display: none; } .admside a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; } .admside a[aria-current="page"] { border-bottom-color: var(--coral); } .admmain { padding: 1rem; } }
.admmain fieldset.card { margin: 0 0 1rem; padding: 0.9rem 1.1rem 1rem; }
.admmain fieldset.card legend { padding: 0 0.4rem; }
