:root {
  --navy: #193d32; --navy-2: #285144; --sky: #e6eee7; --sky-2: #f0f5ef;
  --marigold: #efc675; --coral: #b84432; --coral-dark: #963524;
  --paper: #faf9f5; --white: #fff; --ink: #223a32; --muted: #58695f;
  --line: #d8dfd6; --green: #206145; --danger: #a6322b;
  --shadow: 0 12px 36px rgba(25,61,50,.08); --radius: 20px;
  --shell: min(1160px, calc(100% - 48px));
  --display: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --body: var(--display);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); background: var(--white); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,249,245,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: var(--navy); font-size: 1.55rem; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 38px; background: var(--navy); color: white; border-radius: 11px; font-size: 1.15rem; }
.brand-dot { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav > a:not(.button) { padding-block: 12px; }
.site-nav > a:not(.button):hover, .site-nav > a[aria-current='page']:not(.button) { color: var(--coral-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-nav .nav-whatsapp { color: var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; min-width: 44px; min-height: 44px; padding: 9px; }
.nav-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: var(--navy); margin: 5px auto; }
h1, h2, h3 { color: var(--navy); font-family: var(--display); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.eyebrow { display: inline-block; color: var(--coral-dark); font-size: .73rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; margin-bottom: 14px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: var(--white); border: 1px solid var(--navy); border-radius: 10px; padding: 12px 20px; font-weight: 650; text-align: center; text-decoration: none; line-height: 1.25; transition: background .16s ease, transform .16s ease; }
.button:hover { background: var(--navy-2); transform: translateY(-1px); }
.button:active { transform: none; }
.button-secondary { background: transparent; color: var(--navy); border-color: #94a79a; }
.button-secondary:hover { background: var(--sky); color: var(--navy); }
.button-coral { background: var(--coral); border-color: var(--coral); }
.button-coral:hover { background: var(--coral-dark); }
.button-whatsapp { background: var(--green); border-color: var(--green); }
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-danger:hover { background: #85271f; }
.button-small, .button-tiny { min-height: 44px; padding: 10px 14px; font-size: .88rem; }
.button-tiny { font-size: .82rem; }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--navy); font-weight: 650; text-decoration-thickness: 1px; }
.hero { padding: 48px 0 40px; background: #f1f4ec; }
.hero-grid { display: grid; grid-template-columns: 1.07fr 1fr; gap: 52px; align-items: center; }
.hero-grid > *, .field-grid > *, .filters > *, .admin-card > * { min-width: 0; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.2vw, 3.65rem); max-width: 600px; line-height: 1.05; margin-bottom: 22px; }
.hero-lead { max-width: 510px; color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .8rem; margin-top: 23px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; }
.hero-visual figcaption { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: #193d32e8; color: white; font-size: .7rem; }
.quick-search { padding: 0 0 16px; background: linear-gradient(#f1f4ec 50%, var(--paper) 50%); }
.search-panel { display: grid; grid-template-columns: .7fr 1.6fr; gap: 26px; align-items: center; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-panel h2 { font-size: 1.22rem; margin: 0; }
.search-panel .eyebrow { margin-bottom: 6px; }
.search-panel form { display: grid; grid-template-columns: 1fr .85fr .85fr auto; gap: 12px; align-items: end; }
label { display: grid; gap: 7px; color: var(--navy); font-size: .9rem; font-weight: 650; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #a7b7aa; border-radius: 9px; background: white; color: var(--ink); padding: 11px 12px; }
input::placeholder, textarea::placeholder { color: #657367; opacity: 1; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 2px; }
.section { padding: 60px 0; }
.section-blue { background: var(--sky-2); border-block: 1px solid var(--line); }
.section-note { background: #f8f2e5; border-block: 1px solid #e8ddc8; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 8px; }
.dog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.dog-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .18s ease, transform .18s ease; }
.dog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dog-photo { position: relative; display: block; background: var(--sky); text-decoration: none; }
.dog-photo img, .dog-photo .photo-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-placeholder { display: grid; place-items: center; min-height: 200px; background: var(--sky-2); color: var(--muted); font-weight: 600; }
.photo-placeholder.large { min-height: 330px; border-radius: var(--radius); grid-column: 1/-1; }
.status-tag { position: absolute; top: 14px; left: 14px; background: #fffdf5; color: var(--navy); padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 750; }
.dog-body { padding: 21px; }
.dog-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dog-heading h2 { font-size: 1.5rem; margin: 0; }
.dog-heading h2 a { text-decoration: none; }
.dog-heading > span { color: var(--muted); font-size: .85rem; }
.dog-meta { color: var(--muted); font-size: .87rem; margin: 10px 0 3px; }
.dog-body > p:not(.dog-meta) { color: var(--muted); font-size: .88rem; }
.empty-state { padding: 38px 24px; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state.small { padding: 24px; }
.empty-state h2, .empty-state h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.empty-state h1 { font-size: clamp(2rem, 4vw, 3rem); }
.empty-state p { max-width: 600px; margin: 0 auto 20px; color: var(--muted); }
.empty-state .button-row { justify-content: center; }
.empty-mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: var(--sky); color: var(--navy); font-size: 1.3rem; font-weight: 750; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.steps article { padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.steps article > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 50%; background: var(--sky); color: var(--navy); font-weight: 750; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); margin-bottom: 0; }
.split-callout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.split-callout > aside { background: var(--navy); color: white; padding: 30px; border-radius: var(--radius); }
.split-callout aside strong { color: var(--marigold); font-size: 1.1rem; }
.split-callout li { margin: 8px 0; }
.page-hero { background: var(--sky-2); padding: 40px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; }
.page-hero p { max-width: 720px; font-size: 1.05rem; color: var(--muted); margin-bottom: 0; }
.page-hero .button-row { margin-top: 22px; }
.filters { display: grid; grid-template-columns: 1.2fr 1fr .8fr .8fr auto auto; align-items: end; gap: 12px; padding: 22px; margin-bottom: 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.filters .text-link { align-self: center; }
.results-head { margin: 22px 0; color: var(--muted); }
.dog-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.dog-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.dog-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--sky-2); border-radius: 14px; }
.dog-gallery img:first-child { grid-column: 1/-1; }
.dog-profile h1 { margin-bottom: 12px; }
.profile-lead { font-size: 1.05rem; color: var(--muted); white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .8rem; }
.facts dd { margin: 2px 0 0; font-weight: 650; }
.facts.compact { max-width: 460px; margin: 13px 0 0; }
.dog-profile h2 { font-size: 1.35rem; margin: 26px 0 8px; }
.profile-actions { margin: 24px 0; }
.profile-actions p { font-size: .88rem; margin-top: 10px; }
.date-note { color: var(--muted); font-size: .82rem; }
.notice { padding: 16px 18px; background: var(--sky-2); border-left: 3px solid var(--green); border-radius: 8px; color: var(--ink); }
.inline-report { display: grid; gap: 16px; margin-top: 24px; }
.inline-report .button { justify-self: start; }
.form-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 42px; align-items: start; }
.form-aside { position: sticky; top: 100px; font-size: .94rem; }
.form-aside h2 { font-size: 1.45rem; }
.check-list { padding-left: 21px; }
.check-list li { margin: 10px 0; }
.form-aside .notice { margin-top: 24px; }
.form-jump { display: grid; gap: 6px; margin: 20px 0; }
.form-jump a { padding: 9px 0; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.submission-form { display: grid; gap: 24px; }
fieldset { min-width: 0; margin: 0; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 16px; }
legend { padding: 0 8px; color: var(--navy); font-size: 1.15rem; font-weight: 750; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
fieldset > label, fieldset > .field-grid, fieldset > details { margin-bottom: 18px; }
fieldset > :last-child { margin-bottom: 0; }
.submission-form fieldset > fieldset { margin-bottom: 20px; }
.check { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; line-height: 1.6; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 3px 0 0; padding: 0; accent-color: var(--green); }
.field-help { color: var(--muted); font-size: .82rem; font-weight: 400; line-height: 1.55; }
.field-error { color: var(--danger); font-weight: 650; }
.photo-preview { display: grid; grid-template-columns: repeat(auto-fit,minmax(90px,1fr)); gap: 10px; margin-top: 12px; }
.photo-preview figure { margin: 0; }
.photo-preview img { width: 100%; height: 100px; object-fit: cover; border-radius: 9px; }
.photo-preview figcaption { font-size: .75rem; color: var(--muted); margin-top: 5px; }
.incident-fields { padding: 18px; background: var(--sky-2); border-radius: 10px; margin-top: 20px; }
.incident-fields p { font-size: .9rem; }
.honeypot { position: absolute; left: -10000px; }
.prose { max-width: 780px; font-size: 1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose li { margin: 9px 0; }
.prose a { color: var(--green); font-weight: 600; }
.flash { margin-top: 16px; padding: 16px; border-radius: 10px; font-weight: 600; }
.flash-success { background: #e3f1e7; color: #13573f; }
.flash-error { background: #fbe4e1; color: #85271f; }
.login-card { max-width: 460px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.login-card h1 { font-size: 2rem; }
.login-card form { display: grid; gap: 16px; margin-top: 24px; }
.admin-hero { padding: 32px 0; background: var(--navy); }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-title h1, .admin-title .eyebrow { color: white; }
.admin-title h1 { font-size: clamp(1.8rem,3vw,2.5rem); margin: 0; }
.admin-title .eyebrow { color: #d8e5dc; }
.admin-actions, .admin-actions form { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-title .button { border-color: #d8e5dc; }
.admin-title .button-secondary { color: white; }
.admin-title .button-secondary:hover { background: var(--navy-2); }
.admin-section { padding-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 28px; }
.stats article { display: flex; justify-content: space-between; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--navy); gap: 12px; }
.stats span { font-weight: 650; }
.stats strong { font-size: 2rem; }
.admin-block { margin: 40px 0; scroll-margin-top: 90px; }
.queue-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; }
.queue-filter label { min-width: 220px; }
.account-form { margin: 28px 0; }
.admin-list { display: grid; gap: 16px; }
.admin-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.48fr); gap: 28px; align-items: start; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.admin-card h3 { margin: 10px 0 6px; font-size: 1.4rem; }
.admin-card p { margin: 6px 0; }
.admin-private { color: var(--muted); font-size: .88rem; }
.status-pill { display: inline-block; padding: 5px 10px; background: var(--sky); color: var(--navy); border-radius: 999px; font-size: .78rem; font-weight: 650; }
.status-pending { background: #fff0c5; }
.status-rejected { background: #fbe0dd; }
.status-approved { background: #dcefe7; }
.admin-card-actions { display: grid; gap: 10px; }
.admin-card-actions .check { font-size: .85rem; margin-bottom: 8px; }
.admin-card-actions form { display: grid; gap: 8px; }
.admin-card-actions.wrap { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.admin-card-actions.wrap > a { grid-column: 1/-1; }
.admin-card-actions.wrap form:first-of-type { grid-column: 1/-1; }
.reject-form { padding-top: 10px; border-top: 1px solid var(--line); }
.password-form { max-width: 900px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: end; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.password-form .button { grid-column: 1/-1; justify-self: start; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--navy); font-weight: 650; min-height: 44px; padding-block: 10px; }
details[open] > summary { margin-bottom: 12px; }
.review-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 16px; margin: 16px 0; }
.review-photos img { width: 100%; height: 180px; object-fit: contain; background: var(--sky-2); border-radius: 12px; }
.review-photos span { display: flex; gap: 8px; align-items: center; }
.review-photos input[type='checkbox'] { width: 20px; min-height: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--green); }
.review-photo { display: grid; gap: 12px; align-content: start; }
.photo-editor-original, .photo-editor-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 65vh; margin: 0 auto; background: var(--sky-2); border: 1px solid var(--line); border-radius: 12px; }
.photo-editor-canvas { touch-action: none; cursor: crosshair; }
.photo-editor-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-editor-buttons .button { flex: 1 1 150px; }
.photo-crop-fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
.site-footer { padding: 44px 0 22px; background: var(--navy); color: #e0e8e0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.brand-footer { color: white; margin-bottom: 18px; }
.brand-footer .brand-mark { background: #dce8dc; color: var(--navy); }
.footer-grid > div:first-child p { max-width: 360px; font-size: .92rem; }
.footer-grid h2 { color: var(--marigold); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a:not(.brand) { display: block; padding: 6px 0; color: #e0e8e0; font-size: .92rem; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #466252; font-size: .8rem; color: #c5d5c8; }
.footer-bottom p:first-child { max-width: 730px; }
.whatsapp-float { position: fixed; z-index: 15; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 9px; padding: 10px 15px; background: var(--green); color: white; border: 2px solid white; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; min-height: 48px; }
.whatsapp-float-icon { font-size: .75rem; font-weight: 750; }
.whatsapp-float strong { font-size: .85rem; font-weight: 650; }
@media (max-width: 1000px) {
  .hero-grid { gap: 30px; }
  .hero-copy h1 { font-size: 2.8rem; }
  .search-panel { grid-template-columns: 1fr; gap: 18px; }
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .form-layout { grid-template-columns: 230px minmax(0,1fr); gap: 28px; }
  .admin-card { grid-template-columns: minmax(0,1fr) 240px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 24px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav > a { min-height: 48px; display: flex; align-items: center; padding: 12px; }
  .site-nav .button { justify-content: center; margin-top: 8px; }
  .dog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .form-jump { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .form-aside .check-list { display: none; }
  .form-aside .notice { margin-top: 10px; }
  .form-aside h2 { margin-bottom: 8px; }
  .dog-detail-grid { gap: 28px; }
}
@media (max-width: 760px) {
  :root { --shell: min(1160px, calc(100% - 32px)); }
  .header-inner { min-height: 64px; }
  .hero { padding: 32px 0 24px; }
  .hero-grid, .dog-detail-grid, .split-callout { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { font-size: clamp(2rem,8.6vw,3rem); max-width: 530px; margin-bottom: 18px; }
  .hero-lead { font-size: 1rem; margin-bottom: 20px; }
  .hero-visual img { aspect-ratio: 2/1; border-radius: 16px; object-position: center 58%; }
  .trust-line { margin-top: 18px; gap: 5px 12px; font-size: .77rem; }
  .search-panel { padding: 20px; gap: 16px; }
  .search-panel form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .search-panel form > label:first-child { grid-column: 1/-1; }
  .search-panel form > .button { grid-column: 1/-1; }
  .section { padding: 40px 0; }
  .section-head { align-items: flex-start; gap: 16px; }
  .section-head .text-link { flex-shrink: 0; font-size: .9rem; padding-top: 6px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps article { padding: 22px; }
  .steps article > span { margin-bottom: 14px; }
  .page-hero { padding: 30px 0; }
  .page-hero h1 { font-size: clamp(1.9rem,7.5vw,2.6rem); }
  .page-hero p { font-size: 1rem; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 18px; }
  .filters > label:first-child { grid-column: 1/-1; }
  .filters > .button { grid-column: 1/-1; }
  .filters > .text-link { padding: 8px 0; }
  .field-grid { grid-template-columns: 1fr; }
  .form-layout { gap: 24px; }
  .form-jump { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 12px 0; }
  fieldset { padding: 20px; }
  .form-aside h2 { font-size: 1.25rem; }
  .admin-title, .footer-bottom { flex-direction: column; align-items: stretch; }
  .admin-actions { flex-wrap: wrap; }
  .admin-card, .password-form { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; gap: 20px; }
  .stats { gap: 10px; }
  .stats article { flex-direction: column; align-items: flex-start; padding: 14px; gap: 6px; }
  .stats span { font-size: .8rem; }
  .stats strong { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 12px; }
  .whatsapp-float strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
}
@media (max-width: 520px) {
  .hero .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .button { padding: 11px; font-size: .88rem; }
  .dog-grid { grid-template-columns: 1fr; }
  .empty-state { padding: 28px 20px; }
  .empty-state .button-row, .page-hero .button-row { align-items: stretch; flex-direction: column; }
  .section-head { flex-wrap: wrap; }
  .hero .eyebrow { font-size: .68rem; }
  .filters > label:nth-child(2) { grid-column: 1/-1; }
  .facts div { padding: 12px; }
  .login-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Publishing and moderation controls keep their full text and touch area on phones. */
.listing-sharing { border-block: 1px solid var(--line); background: var(--sky-2); scroll-margin-top: 90px; }
.listing-sharing .button-row { margin-block: 18px; }
.share-caption { margin-block: 22px; }
.share-caption { min-height: 220px; font-weight: 400; line-height: 1.6; }
.receipt h2 { margin-top: 28px; font-size: 1.4rem; }
.receipt-reference { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--sky-2); margin-block: 24px; }
.receipt-reference .reference { margin-top: 0; }
.receipt-reference .copy-status { display: block; margin-top: 8px; }
.receipt-requests { display: grid; gap: 12px; margin-block: 24px; }
.admin-share-link { margin-top: 14px; }
.prose a.button { color: white; }
.prose a.button-secondary { color: var(--navy); }
@media (max-width: 760px) {
  .listing-sharing .button-row { display: grid; grid-template-columns: minmax(0,1fr); }
  .listing-sharing .button { width: 100%; }
}
.text-button { color: var(--navy); background: transparent; border: 0; padding: 12px 0; min-height: 44px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.form-progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; background: var(--sky); border-radius: 12px; padding: 10px 18px; }
.form-progress p { margin: 0; font-weight: 700; }
.wizard-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.wizard-controls .button-full { width: auto; flex: 1; }
.submission-summary { margin-top: 24px; font-size: .9rem; }
.filter-disclosure { margin-bottom: 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.filter-disclosure > summary { padding: 16px 22px; min-height: 52px; }
.discovery-filters { grid-template-columns: repeat(4,minmax(0,1fr)); border: 0; margin: 0; padding-top: 0; }
.discovery-filters > label:first-child { grid-column: span 2; }
.discovery-filters > .button-row { grid-column: span 3; justify-content: flex-end; }
.listings-layout { padding-top: 32px; }
.filter-chips, .pagination, .results-head, .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filter-chips a { padding: 8px 12px; background: var(--sky); border-radius: 999px; text-decoration: none; min-height: 44px; }
.results-head { justify-content: space-between; }
.results-head p { margin: 0; }
.pagination { justify-content: center; margin-top: 28px; }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { padding-block: 8px; }
.share-actions { margin-bottom: 20px; }
.copy-status { flex-basis: 100%; font-size: .9rem; }
.admin-tabs { position: sticky; top: 72px; z-index: 10; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-tabs a { display: grid; place-items: center; text-align: center; min-height: 48px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .88rem; }
.admin-tabs a[aria-current] { background: var(--navy); color: white; border-color: var(--navy); }
.admin-block { scroll-margin-top: 145px; }
.admin-menu > summary { min-height: 44px; }
.admin-hero p, .admin-menu > summary { color: #e0e8e0; }
.admin-title p { margin: 8px 0 0; }
.admin-menu > summary { padding: 10px 0; }
.admin-title .eyebrow { margin-bottom: 8px; }
.admin-menu .admin-actions { padding: 14px 0; }
.admin-filter { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin: 24px 0; }
.admin-card-heading { display: flex; gap: 16px; margin-bottom: 18px; }
.admin-card-heading > div { min-width: 0; }
.admin-card-heading h3 { margin: 10px 0 6px; }
.admin-card-heading p { margin-bottom: 4px; }
.admin-thumb { flex: 0 0 90px; width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.admin-card details { border-top: 1px solid var(--line); padding: 10px 0; }
.admin-card summary { min-height: 44px; padding: 9px 0; }
.admin-message-links { display: grid; gap: 10px; padding: 10px 0; }
.moderation-tools form { display: grid; gap: 14px; margin: 12px 0; }
.editor-save-bar { position: sticky; bottom: 0; z-index: 12; display: grid; gap: 8px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.admin-page .site-footer { padding-block: 24px; }
.admin-page .footer-grid { display: none; }
@media (max-width: 760px) {
  .admin-title { gap: 12px; }
  .admin-page .nav-toggle { display: none; }
  .admin-page .site-nav { position: static; display: flex; flex-direction: row; gap: 8px; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .admin-page .site-nav a { font-size: .8rem; padding: 10px 4px; }
  .admin-page .header-inner { gap: 12px; }
  .discovery-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .discovery-filters > .button-row { grid-column: 1/-1; justify-content: flex-start; }
  .discovery-filters > label:first-child, .discovery-filters > label:nth-child(2) { grid-column: 1/-1; }
  .form-progress { padding: 12px 14px; }
  .form-progress p { font-size: .9rem; }
  .admin-tabs { top: 64px; gap: 4px; }
  .admin-tabs a { font-size: .77rem; padding-inline: 4px; }
  .admin-filter { grid-template-columns: 1fr; }
  .admin-card-actions > .button { width: 100%; }
  .admin-section { padding-top: 24px; }
  .admin-hero { padding-block: 24px; }
  .admin-title h1 { font-size: 1.9rem; }
  .admin-card { padding: 18px; }
  .admin-card-heading { gap: 12px; }
  .admin-thumb { flex-basis: 72px; width: 72px; height: 80px; }
  .share-actions { align-items: stretch; flex-direction: column; }
}

.dog-card-link { display: block; height: 100%; text-decoration: none; color: inherit; }
.dog-card-link:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.site-footer :focus-visible, .admin-hero :focus-visible { outline-color: #fff; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.admin-tabs { grid-template-columns: repeat(6,minmax(0,1fr)); }
.mobile-contact { display: none; }
@media (max-width: 900px) {
  html:not(.nav-enhanced) .nav-toggle { display: none; }
  html:not(.nav-enhanced) .header-inner { flex-wrap: wrap; }
  html:not(.nav-enhanced) .site-nav { position: static; display: flex; width: 100%; box-shadow: none; }
  html:not(.nav-enhanced) .site-header { position: relative; }
}
@media (max-width: 760px) {
  .admin-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); position: static; }
  .mobile-contact { display: block; position: fixed; inset: auto 0 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -2px 14px #0002; }
  .mobile-contact .button { width: 100%; }
  body:has(.mobile-contact) { padding-bottom: 90px; }
  body:has(.inline-report :focus) .mobile-contact { display: none; }
  .inline-report input, .inline-report textarea { scroll-margin-bottom: 110px; }
}

/* Adoption guides: readable article navigation and keyboard-accessible FAQs. */
.editorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin:1.5rem 0; }
.editorial-grid article { background:var(--paper,#fff); padding:1.4rem; border:1px solid #dce6df; border-radius:16px; }
.editorial-grid h3 { margin:0 0 .6rem; font-size:1.15rem; }
.editorial-grid p { margin:0; }
.breadcrumbs { margin-bottom:1rem; font-size:.9rem; }
.editorial-date { font-size:.9rem; color:#4c6057; }
.guide-toc { border:1px solid #dce6df; border-radius:12px; padding:1.2rem; background:#f5f8f5; }
.guide-toc ul { margin-bottom:0; }
.guide-faq { margin:.8rem 0; border:1px solid #dce6df; border-radius:10px; padding:1rem; }
.guide-faq summary { cursor:pointer; font-weight:700; }
.guide-faq p { margin-bottom:0; }
.editorial-sources { margin-top:2rem; padding-top:1rem; border-top:1px solid #dce6df; }
.prose section[id], .prose h2[id] { scroll-margin-top:7rem; }
@media(max-width:900px) { .editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .editorial-grid { grid-template-columns:1fr; } }
