/* Public design for Dog Training Nerds. Loaded after the base stylesheet. */

/* One stylesheet for every page. Bold treatment (ink border + offset shadow) is
   reserved for things you act on: the search card, booking card and buttons. */

:root {
  --blue: #2563EB;
  --blue-deep: #1B46B5;
  --navy: #101A3B;
  --sun: #FCD34D;
  --mist: #F1F5FE;
  --line: #D5DCEC;
  --muted: #4B5775;
  --green: #0B7A53;
  --red: #B42318;
  --white: #fff;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-card: 16px;
  --r-ctl: 12px;
  --pop: 2px solid var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; box-shadow: 0 0 0 2px var(--navy); }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dtn-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.dtn-wrap--narrow { max-width: 780px; }
.dtn-section { padding: 64px 0; }
.dtn-section--mist { background: var(--mist); }
.dtn-section--tight { padding: 40px 0; }
.dtn-pagehead { background: var(--mist); padding: 48px 0 40px; }
.dtn-lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.dtn-muted { color: var(--muted); }
.dtn-count { color: var(--muted); margin-bottom: 20px; }
.dtn-sectionhead { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.dtn-sectionhead h2 { margin: 0; }
.dtn-sectionhead p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* Buttons */
.dtn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: var(--pop); border-radius: var(--r-ctl); background: var(--white); color: var(--navy); font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--navy); transition: transform .12s, box-shadow .12s; }
.dtn-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--navy); color: var(--navy); }
.dtn-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--navy); }
.dtn-btn--primary { background: var(--blue); color: var(--white); }
.dtn-btn--primary:hover { color: var(--white); background: var(--blue-deep); }
.dtn-btn--sun { background: var(--sun); }
.dtn-btn--small { padding: 8px 14px; font-size: .92rem; }
.dtn-btn--block { width: 100%; }
.dtn-btn--quiet { border-color: var(--line); box-shadow: none; }
.dtn-btn--quiet:hover { box-shadow: none; transform: none; border-color: var(--navy); }

/* Header */
.dtn-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.dtn-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.dtn-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.2rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.dtn-brand i { color: var(--blue); transform: rotate(-12deg); }
.dtn-brand b { color: var(--blue); }
.dtn-nav { display: flex; align-items: center; gap: 26px; }
.dtn-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.dtn-nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.dtn-nav a:hover, .dtn-nav .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.dtn-nav a.dtn-btn { text-decoration: none; }
.dtn-nav-toggle { display: none; }

/* Notices and small parts */
.dtn-notice { padding: 14px 18px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--mist); margin: 0 0 24px; font-weight: 500; }
.dtn-notice--ok { border-color: var(--green); background: #EAF7F1; }
.dtn-notice--warn { border-color: #B7791F; background: #FFF7DB; }
.dtn-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.dtn-chips li { padding: 3px 10px; border-radius: 999px; background: var(--mist); font-size: .85rem; font-weight: 500; }
.dtn-chips--links li { padding: 0; background: none; }
.dtn-chips--links a { display: block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); text-decoration: none; font-size: .95rem; }
.dtn-chips--links a:hover { border-color: var(--navy); }
.dtn-verified { color: var(--green); font-size: .9em; }
.dtn-empty { border: 2px dashed var(--line); border-radius: var(--r-card); padding: 40px 28px; text-align: center; }
.dtn-empty p { color: var(--muted); max-width: 52ch; margin-left: auto; margin-right: auto; }
.dtn-empty .dtn-btn { margin: 4px; }
.dtn-adminhint { border-left: 4px solid var(--sun); background: #FFFBEA; padding: 12px 16px; margin: 0 0 24px; font-size: .95rem; }
.dtn-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.dtn-pagination .page-numbers { min-width: 42px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.dtn-pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Cards */
.dtn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.dtn-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); overflow: hidden; transition: border-color .12s; }
.dtn-card:hover { border-color: var(--navy); }
.dtn-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dtn-card__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; background: var(--mist); }
.dtn-card__photo--empty { display: grid; place-items: center; font: 700 3.5rem var(--serif); color: var(--blue); }
.dtn-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.dtn-card__name { font: 700 1.15rem var(--sans); letter-spacing: -.01em; margin: 0 0 2px; }
.dtn-card__place { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.dtn-card__text { font-size: .95rem; margin: 0 0 12px; }
.dtn-card__foot { display: flex; justify-content: space-between; gap: 10px; margin: auto 0 0; padding-top: 4px; font-size: .95rem; }
.dtn-card__foot span i { color: #D97706; }

/* Search card */
.dtn-search { border: var(--pop); border-radius: 20px; background: var(--white); padding: 24px; box-shadow: 7px 7px 0 var(--sun); }
.dtn-search fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.dtn-search legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.dtn-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dtn-tile { position: relative; cursor: pointer; }
.dtn-tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dtn-tile span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 84px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); text-align: center; font-size: .92rem; font-weight: 500; line-height: 1.2; }
.dtn-tile span i { font-size: 1.25rem; color: var(--blue); }
.dtn-tile:hover span { border-color: var(--navy); }
.dtn-tile input:checked + span { border: 2px solid var(--blue); background: var(--mist); font-weight: 700; }
.dtn-tile input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.dtn-search__row { display: flex; gap: 14px; align-items: end; }
.dtn-search__row .dtn-field { flex: 1; margin: 0; }
.dtn-search--compact { box-shadow: none; border: 1px solid var(--line); padding: 18px; margin-top: 20px; }
.dtn-search--compact .dtn-tiles { display: flex; flex-wrap: wrap; }
.dtn-search--compact .dtn-tile span { flex-direction: row; min-height: 0; padding: 8px 14px; border-radius: 999px; }
.dtn-search--compact .dtn-tile span i { font-size: 1rem; }

/* Forms */
.dtn-field { display: block; margin: 0 0 16px; }
.dtn-field > span, .dtn-label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.dtn-field small { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.dtn-field input:not([type=checkbox]):not([type=radio]), .dtn-field select, .dtn-field textarea,
#loginform input[type=text], #loginform input[type=password] { width: 100%; padding: 12px 14px; border: 1px solid #8A94AD; border-radius: var(--r-ctl); background: var(--white); color: var(--navy); font: inherit; }
.dtn-field textarea { min-height: 130px; resize: vertical; }
.dtn-field input:focus, .dtn-field select:focus, .dtn-field textarea:focus { border-color: var(--blue); }
.dtn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.dtn-form__row > * { min-width: 0; }
.dtn-field input, .dtn-field select { min-width: 0; max-width: 100%; }
.dtn-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; font-size: .95rem; }
.dtn-check input { width: 18px; height: 18px; margin-top: 4px; flex: none; }
.dtn-hp { position: absolute; left: -9999px; }
.dtn-panel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; background: var(--white); }
.dtn-panel--pop { border: var(--pop); box-shadow: 7px 7px 0 var(--sun); }
.dtn-panel h2 { font-size: 1.5rem; }
#loginform p { margin: 0 0 14px; }
#loginform label { font-weight: 700; font-size: .95rem; }
#loginform .button { padding: 12px 20px; border: var(--pop); border-radius: var(--r-ctl); background: var(--blue); color: var(--white); font: 700 1rem var(--sans); cursor: pointer; box-shadow: 3px 3px 0 var(--navy); }

/* Home: hero */
.dtn-hero { padding: 56px 0 72px; background: var(--mist); }
.dtn-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.dtn-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: .35em; }
.dtn-hero .dtn-lede { margin-bottom: 28px; }
.dtn-hero__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dtn-hero__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; background: var(--line); }
.dtn-hero__photos img:first-child { margin-top: 40px; }

/* Home: featured provider */
.dtn-feature { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); border: var(--pop); border-radius: 24px; overflow: hidden; background: var(--white); }
.dtn-feature__photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center 20%; background: var(--mist); display: block; }
.dtn-feature__body { padding: 36px 40px; }
.dtn-feature__tag { display: inline-block; background: var(--sun); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .88rem; margin-bottom: 14px; }
.dtn-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .15em; }
.dtn-feature__place { color: var(--muted); margin-bottom: 16px; }
.dtn-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 20px 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dtn-facts dt { color: var(--muted); font-size: .88rem; }
.dtn-facts dd { margin: 0; font-weight: 700; }
.dtn-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Home: services, steps, standards */
.dtn-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
.dtn-services a { display: block; padding: 20px 0; border-top: 2px solid var(--navy); color: inherit; text-decoration: none; height: 100%; }
.dtn-services a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.dtn-services i { color: var(--blue); font-size: 1.3rem; margin-bottom: 10px; }
.dtn-services h3 { font: 700 1.1rem var(--sans); margin-bottom: 4px; }
.dtn-services p { color: var(--muted); font-size: .95rem; margin: 0; }
.dtn-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.dtn-steps li { counter-increment: step; }
.dtn-steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border: var(--pop); border-radius: 50%; background: var(--sun); font-weight: 700; margin-bottom: 12px; }
.dtn-steps h3 { font: 700 1.1rem var(--sans); margin-bottom: 4px; }
.dtn-steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.dtn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.dtn-ticks { list-style: none; padding: 0; margin: 0; }
.dtn-ticks li { position: relative; padding: 0 0 14px 32px; }
.dtn-ticks li::before { content: '\f00c'; font: 900 .95rem 'Font Awesome 6 Free'; color: var(--green); position: absolute; left: 0; top: 4px; }
.dtn-ticks strong { display: block; }
.dtn-ticks span { color: var(--muted); font-size: .97rem; }

/* Home: band, FAQ */
.dtn-accordion details { border-top: 1px solid var(--line); }
.dtn-accordion details:last-child { border-bottom: 1px solid var(--line); }
.dtn-accordion summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.dtn-accordion summary::-webkit-details-marker { display: none; }
.dtn-accordion summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.dtn-accordion details[open] summary::after { content: '\2212'; }
.dtn-accordion details > *:not(summary) { color: var(--muted); max-width: 68ch; }
.dtn-accordion details > :last-child { padding-bottom: 18px; margin-bottom: 0; }
.dtn-band { background: var(--sun); padding: 48px 0; }
.dtn-band__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.dtn-band h2 { margin: 0 0 6px; }
.dtn-band p { margin: 0; max-width: 56ch; }

/* Profile */
.dtn-crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.dtn-crumbs a { color: var(--muted); }
.dtn-profilehead { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; }
.dtn-profilehead__photo { width: 220px; height: 220px; border-radius: 24px; object-fit: cover; object-position: center 20%; border: var(--pop); background: var(--white); display: grid; place-items: center; font: 700 5rem var(--serif); color: var(--blue); }
.dtn-profilehead h1 { margin-bottom: .1em; }
.dtn-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.dtn-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 500; }
.dtn-pills i { color: var(--blue); }
.dtn-pills .dtn-pill--verified { border-color: var(--green); color: var(--green); }
.dtn-pills .dtn-pill--verified i { color: var(--green); }
.dtn-profile { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.dtn-profile__main > section { margin-bottom: 44px; }
.dtn-profile__main h2 { font-size: 1.6rem; }
.dtn-prose { max-width: 68ch; }
.dtn-prose p, .dtn-prose li { margin-bottom: 1em; }
.dtn-prose h2, .dtn-prose h3 { margin-top: 1.4em; }
.dtn-prose img { border-radius: var(--r-ctl); }
.dtn-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sun); font-size: 1.1rem; }
.dtn-book { position: static; }
.dtn-rates { list-style: none; margin: 0 0 20px; padding: 0; }
.dtn-rates li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dtn-rates li span:last-child { font-weight: 700; white-space: nowrap; }
.dtn-estimate { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--mist); font-weight: 700; margin: 0 0 16px; }
.dtn-fineprint { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.dtn-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.dtn-packages .dtn-panel { display: flex; flex-direction: column; }
.dtn-packages h3 { font: 700 1.2rem var(--sans); }
.dtn-packages .dtn-btn { margin-top: auto; }
.dtn-profile__main > section { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.dtn-profile__main > section:last-child { border-bottom: 0; }
.dtn-classes, .dtn-books { list-style: none; margin: 0 0 12px; padding: 0; }
.dtn-classes li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.dtn-classes li:first-child { border-top: 0; padding-top: 4px; }
.dtn-classes__date { display: grid; place-items: center; width: 64px; height: 68px; border: var(--pop); border-radius: 14px; background: var(--sun); line-height: 1.1; }
.dtn-classes__date span { font-size: .82rem; font-weight: 700; }
.dtn-classes__date strong { font: 700 1.6rem var(--serif); }
.dtn-classes__body h3 { font: 700 1.1rem var(--sans); margin: 0 0 2px; }
.dtn-classes__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.dtn-classes__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dtn-books li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.dtn-books li:first-child { border-top: 0; padding-top: 4px; }
.dtn-books i { color: var(--blue); margin-top: 5px; }
.dtn-books p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.dtn-rowset { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 16px 16px 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; min-width: 0; }
.dtn-rowset__wide { grid-column: 1 / -1; }
.dtn-role { font-weight: 700; color: var(--blue-deep); margin: 0 0 6px; }
.dtn-creds { font-size: .55em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.dtn-pills .dtn-pill--open { border-color: var(--green); color: var(--green); font-weight: 700; }
.dtn-pills .dtn-pill--open i { color: var(--green); font-size: .6em; }
.dtn-pills .dtn-pill--closed { color: var(--muted); }
.dtn-pills .dtn-pill--closed i { color: var(--muted); }
.dtn-taggroups { display: grid; gap: 22px; }
.dtn-taggroups h2 { font: 700 1rem var(--sans); letter-spacing: 0; margin: 0 0 10px; }
.dtn-chips--lg li { padding: 6px 14px; font-size: .95rem; border: 1px solid var(--line); background: var(--white); }
.dtn-side { display: grid; gap: 24px; }
.dtn-quickfacts { margin: 0; padding: 8px 24px; }
.dtn-quickfacts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.dtn-quickfacts div:first-child { border-top: 0; }
.dtn-quickfacts dt { color: var(--muted); font-size: .92rem; }
.dtn-quickfacts dd { margin: 0; font-weight: 500; }
.dtn-classes__cal { margin-top: 6px !important; font-size: .88rem !important; display: flex; gap: 14px; flex-wrap: wrap; }
.dtn-step { margin-bottom: 20px; }
.dtn-step > h3, .dtn-step summary h3 { font: 700 1.25rem var(--sans); letter-spacing: -.01em; margin: 0 0 6px; }
details.dtn-step summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
details.dtn-step summary::-webkit-details-marker { display: none; }
details.dtn-step summary::after { content: '+'; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--blue); }
details.dtn-step[open] summary::after { content: '\2212'; }
details.dtn-step[open] summary { margin-bottom: 14px; }
.dtn-pickgroup { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.dtn-pickgroup legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.dtn-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.dtn-pick { position: relative; cursor: pointer; }
.dtn-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dtn-pick span { display: block; padding: 8px 14px; border: 1px solid #8A94AD; border-radius: 999px; font-size: .95rem; background: var(--white); }
.dtn-pick:hover span { border-color: var(--navy); }
.dtn-pick input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 700; }
.dtn-pick input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.dtn-savebar { position: sticky; bottom: 0; z-index: 5; background: var(--white); border: var(--pop); border-radius: var(--r-card); padding: 16px 20px; box-shadow: 0 -6px 18px rgba(16, 26, 59, .08); }
.dtn-savebar .dtn-check { margin-bottom: 12px; }
.dtn-todo { margin-bottom: 32px; }
.dtn-todo ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 20px; }
.dtn-todo li i { color: #8A94AD; margin-right: 6px; }
.dtn-todo li.is-done { color: var(--muted); }
.dtn-todo li.is-done i { color: var(--green); }
.dtn-search--compact .dtn-search__row { max-width: none; flex-wrap: wrap; }
.dtn-search--compact .dtn-search__row .dtn-field { flex: 1 1 170px; }
.dtn-badge { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: .8rem; font-weight: 700; text-align: center; }
.dtn-threads { list-style: none; margin: 0; padding: 0; }
.dtn-threads a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 12px; color: var(--navy); text-decoration: none; background: var(--white); }
.dtn-threads a:hover { border-color: var(--navy); }
.dtn-threads .is-unread a { border: var(--pop); }
.dtn-threads strong { font-size: 1.05rem; }
.dtn-threads time { color: var(--muted); font-size: .88rem; }
.dtn-threads p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtn-chat { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.dtn-chat li { max-width: 78%; padding: 12px 16px; border-radius: 16px; background: var(--mist); justify-self: start; }
.dtn-chat li.is-mine { background: var(--blue); color: var(--white); justify-self: end; }
.dtn-chat p { margin: 0; overflow-wrap: anywhere; }
.dtn-chat small { display: block; margin-top: 6px; font-size: .8rem; opacity: .8; }
.dtn-chips--lg li.is-primary { border-color: var(--navy); background: var(--sun); font-weight: 700; }
.dtn-card__focus { margin: 0 0 8px; font-size: .88rem; font-weight: 700; color: var(--blue-deep); }
.dtn-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--navy); }
.dtn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dtn-classes li.is-cancelled .dtn-classes__date { background: var(--mist); border-color: var(--line); color: var(--muted); }
.dtn-classes li.is-cancelled h3 { color: var(--muted); }
.dtn-cancelled { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: #FDECEA; color: var(--red); font-size: .82rem; font-weight: 700; }
.dtn-books li:has(.dtn-books__cover) { grid-template-columns: 56px minmax(0, 1fr); }
.dtn-books__cover { width: 56px; border-radius: 4px; border: 1px solid var(--line); }
.dtn-gear { list-style: none; padding: 0; margin: 0; }
.dtn-gear li { padding: 12px 0; border-top: 1px solid var(--line); }
.dtn-disclosure { font-size: .88rem; color: var(--muted); }

/* Dashboard */
.dtn-status { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); margin-bottom: 32px; }
.dtn-status i { font-size: 1.3rem; margin-top: 3px; color: var(--blue); }
.dtn-status--live i { color: var(--green); }
.dtn-status strong { display: block; }
.dtn-status p { margin: 0; color: var(--muted); }
.dtn-booking { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; margin-bottom: 16px; background: var(--white); }
.dtn-booking--todo { border: var(--pop); }
.dtn-booking__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dtn-booking h3 { font: 700 1.1rem var(--sans); margin: 0 0 4px; }
.dtn-booking p { margin: 0 0 6px; font-size: .97rem; }
.dtn-booking__state { font-weight: 700; font-size: .9rem; padding: 3px 12px; border-radius: 999px; background: var(--mist); height: fit-content; }
.dtn-booking form { display: inline-block; margin: 10px 8px 0 0; }
.dtn-servicerow { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.dtn-servicerow .dtn-check, .dtn-servicerow .dtn-field { margin: 0; }
.dtn-ratefields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 16px; }
.dtn-ratefields .dtn-field input { max-width: 100%; }

/* Location pages */
.dtn-citylist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dtn-citylist a { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); color: var(--navy); text-decoration: none; font-weight: 700; }
.dtn-citylist a:hover { border-color: var(--navy); }
.dtn-citylist span { color: var(--muted); font-weight: 400; }
.dtn-columns { columns: 4 180px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.dtn-columns li { padding: 4px 0; break-inside: avoid; }
.dtn-parks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.dtn-parks h3 { font: 700 1.1rem var(--sans); margin-bottom: 2px; }

/* Blog */
.dtn-post { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.dtn-post__thumb { display: block; aspect-ratio: 16 / 9; background: var(--mist); }
.dtn-post__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dtn-post__body { padding: 18px 20px 22px; }
.dtn-post__meta { color: var(--muted); font-size: .88rem; margin: 0 0 8px; }
.dtn-post__title { font-size: 1.3rem; margin: 0 0 8px; }
.dtn-post__title a { color: var(--navy); text-decoration: none; }
.dtn-post__title a:hover { text-decoration: underline; }
.dtn-post__excerpt { color: var(--muted); font-size: .97rem; margin: 0; }
.dtn-article__hero img { width: 100%; border-radius: 20px; margin-bottom: 32px; }
.dtn-article .dtn-prose { font-size: 1.12rem; line-height: 1.7; }
.dtn-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.dtn-comments ol { list-style: none; padding: 0; }
.dtn-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dtn-comments textarea, .dtn-comments input[type=text], .dtn-comments input[type=email], .dtn-comments input[type=url] { width: 100%; padding: 12px 14px; border: 1px solid #8A94AD; border-radius: var(--r-ctl); font: inherit; }
.dtn-comments .submit { padding: 12px 20px; border: var(--pop); border-radius: var(--r-ctl); background: var(--blue); color: var(--white); font: 700 1rem var(--sans); cursor: pointer; }

/* Footer */
.dtn-footer { border-top: 2px solid var(--navy); padding: 48px 0 28px; margin-top: 0; font-size: .97rem; }
.dtn-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.dtn-footer h2 { font: 700 1rem var(--sans); letter-spacing: 0; margin-bottom: 10px; }
.dtn-footer ul { list-style: none; padding: 0; margin: 0; }
.dtn-footer li { padding: 3px 0; }
.dtn-footer a { color: var(--navy); text-decoration: none; }
.dtn-footer a:hover { text-decoration: underline; }
.dtn-footer__fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.dtn-footer__fine p { margin: 0 0 6px; }

@media (max-width: 960px) {
  .dtn-hero__grid, .dtn-split, .dtn-profile, .dtn-feature { grid-template-columns: 1fr; }
  .dtn-hero__photos { display: none; }
  .dtn-services { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .dtn-feature__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .dtn-feature__body { padding: 28px 24px; }
  .dtn-book { position: static; }
  .dtn-split { gap: 36px; }
  .dtn-footer__grid { grid-template-columns: 1fr 1fr; }
  .dtn-nav-toggle { display: inline-flex; }
  .dtn-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--white); border-bottom: 2px solid var(--navy); }
  .dtn-nav.is-open { display: flex; }
  .dtn-nav ul { flex-direction: column; gap: 0; }
  .dtn-nav a { display: block; padding: 12px 0; }
  .dtn-nav a.dtn-btn { margin-top: 10px; text-align: center; }
}
@media (max-width: 640px) {
  .dtn-section { padding: 48px 0; }
  .dtn-tiles { grid-template-columns: repeat(2, 1fr); }
  .dtn-tile span { flex-direction: row; min-height: 52px; justify-content: flex-start; padding: 10px 12px; text-align: left; }
  .dtn-search { padding: 18px; box-shadow: 5px 5px 0 var(--sun); }
  .dtn-search__row { flex-direction: column; align-items: stretch; }
  .dtn-form__row { grid-template-columns: 1fr; }
  .dtn-servicerow { grid-template-columns: 1fr; gap: 8px; }
  .dtn-rowset { grid-template-columns: 1fr; }
  .dtn-classes li { grid-template-columns: 64px minmax(0, 1fr); }
  .dtn-classes__cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .dtn-servicerow .dtn-field { padding-left: 28px; }
  .dtn-profilehead { grid-template-columns: 1fr; gap: 20px; }
  .dtn-profilehead__photo { width: 140px; height: 140px; font-size: 3.2rem; }
  .dtn-footer__grid { grid-template-columns: 1fr; }
  .dtn-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dtn-btn { transition: none; }
}

/* Parts drawn by the dashboard modules (events, bookshelf, connect button) sit inside the public layout. */
.dtn-fromstudio { max-width: 100%; overflow-wrap: anywhere; }
.dtn-fromstudio img { max-width: 100%; height: auto; }
.dtn-feature:not(:has(.dtn-feature__photo)) { grid-template-columns: 1fr; }
