/* Adana Phone Doctor · V14
   Shared presentation asset for the seven independent topic sites.
   Load after the retained legacy styles. All overrides are scoped to body.apd. */

body.apd {
  --apd-bg: #f7f5ef;
  --apd-paper: #ffffff;
  --apd-soft: #edf2ec;
  --apd-ink: #153a33;
  --apd-muted: #53655e;
  --apd-green: #164e42;
  --apd-deep: #0c302b;
  --apd-copper: #ad6039;
  --apd-copper-light: #d59d75;
  --apd-line: #d7dfd5;
  --apd-radius: 24px;
  --apd-shadow: 0 18px 50px rgb(21 54 43 / 9%);
  --apd-max: 1260px;
  --apd-gutter: clamp(18px, 4vw, 48px);
  --ink: var(--apd-ink);
  --muted: var(--apd-muted);
  --paper: var(--apd-paper);
  --line: var(--apd-line);
  --blue: var(--apd-green);
  --navy: var(--apd-deep);
  --teal: var(--apd-green);
  --teal-dark: var(--apd-deep);
  --coral: var(--apd-copper-light);
  --mint: var(--apd-soft);
  --mint-2: #e1ebe1;
  --dp-accent: var(--apd-green);
  --dp-dark: var(--apd-deep);
  --dp-soft: var(--apd-soft);
  --dp-border: var(--apd-line);
  --v13-dark: var(--apd-ink);
  --v13-muted: var(--apd-muted);
  --v13-border: var(--apd-line);
  margin: 0;
  padding: 0;
  background: var(--apd-bg);
  color: var(--apd-ink);
  font: 18px/1.65 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
  isolation: isolate;
}

body.apd *, body.apd *::before, body.apd *::after { box-sizing: border-box; }
body.apd :where(main, section, article, aside, figure, div, nav, picture, form) { min-width: 0; }
body.apd :where(h1, h2, h3, h4, p, li, a, button, label, summary) { overflow-wrap: anywhere; }
body.apd :where(h1, h2, h3, h4) {
  color: inherit;
  font-family: inherit;
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.035em;
  margin: 0 0 .65em;
  text-wrap: balance;
}
body.apd h1 { font-size: clamp(2.05rem, 4.9vw, 4.35rem); max-width: none; }
body.apd h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
body.apd h3 { font-size: clamp(1.15rem, 1.65vw, 1.4rem); line-height: 1.3; }
body.apd h4 { font-size: 1.1rem; }
body.apd p { color: var(--apd-muted); margin: 0 0 1.1em; font-size: inherit; line-height: 1.7; }
body.apd ul, body.apd ol { padding-inline-start: 1.35em; margin-block: .9em 1.4em; }
body.apd li { margin-block: .4em; }
body.apd a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
body.apd a:hover { text-decoration-color: var(--apd-copper); }
body.apd :where(button, input, select, textarea) { font: inherit; color: inherit; }
body.apd :where(button, a, summary) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body.apd button { cursor: pointer; }
body.apd :where(button, input, select, textarea) { max-width: 100%; }
body.apd input, body.apd select, body.apd textarea { font-size: max(16px, 1rem); }
body.apd :where(img, video, iframe, svg) { max-width: 100%; }
body.apd img, body.apd video { display: block; height: auto; }
body.apd picture { display: block; }
body.apd figure { margin: 0; }
body.apd :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--apd-copper);
  outline-offset: 4px;
}
body.apd [hidden] { display: none !important; }
body.apd :where(.sr-only, .visually-hidden) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body.apd :where(.skip, .skip-link):focus {
  position: fixed; z-index: 10000; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; padding: 12px 18px; background: #fff; color: var(--apd-deep); border-radius: 10px;
}
body.apd :where([id]) { scroll-margin-top: 125px; }

/* Contact line and navigation */
body.apd .apd-top {
  position: relative; z-index: 101;
  background: var(--apd-deep); color: #f7faf4;
  padding: 8px var(--apd-gutter);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px 22px; font-size: .79rem; line-height: 1.55;
  text-align: center;
}
body.apd .apd-top :where(p, span, a) { color: inherit; margin: 0; }
body.apd .apd-top a { font-weight: 720; text-decoration: underline; }
body.apd .apd-header {
  position: sticky; inset-block-start: 0; z-index: 100;
  width: 100%; margin: 0; padding: 0;
  border: 0; border-block-end: 1px solid rgb(210 220 209 / 85%);
  background: rgb(255 255 251 / 96%);
  box-shadow: 0 3px 18px rgb(20 44 37 / 4%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
body.apd .apd-nav-shell {
  width: min(var(--apd-max), calc(100% - var(--apd-gutter) * 2));
  margin-inline: auto; min-height: 100px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  position: relative;
}
body.apd .apd-brand {
  display: flex; align-items: center; gap: 13px; flex: 0 1 355px;
  min-width: 0; text-decoration: none; color: var(--apd-deep);
}
body.apd img.apd-logo {
  width: 74px; height: 74px; min-width: 74px; max-width: 74px;
  object-fit: contain; object-position: center; border-radius: 13px;
  background: #fff; flex: none;
}
body.apd .apd-brand > span { min-width: 0; display: block; }
body.apd .apd-brand strong {
  display: block; font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.035em;
}
body.apd .apd-brand small {
  display: block; margin-top: 6px; font-size: .72rem; line-height: 1.45;
  font-weight: 570; letter-spacing: 0; color: var(--apd-muted);
}
body.apd #apd-nav {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 20px; min-width: 0; padding: 0; margin: 0;
  font-size: .9rem; line-height: 1.4;
}
body.apd #apd-nav a {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 8px 0; font-weight: 680; white-space: normal;
  border-block-end: 2px solid transparent;
}
body.apd #apd-nav a:hover, body.apd #apd-nav a[aria-current="page"] {
  color: var(--apd-green); border-color: var(--apd-copper);
}
body.apd .apd-nav-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
body.apd .apd-nav-actions :where(a, button) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 16px; border-radius: 11px;
  background: var(--apd-green); color: #fff; border: 1px solid var(--apd-green);
  font-size: .86rem; line-height: 1.35; font-weight: 740; text-align: center;
}
body.apd .apd-menu-toggle {
  display: none; flex: none; min-width: 48px; min-height: 48px;
  padding: 10px 12px; border: 1px solid var(--apd-line); border-radius: 11px;
  color: var(--apd-deep); background: var(--apd-soft); font-size: .88rem; font-weight: 740;
}

/* Main containers */
body.apd :where(.apd-section, .apd-strip, .apd-hero, .apd-article-hero, .apd-detail-grid, .apd-contact-grid) {
  width: min(var(--apd-max), calc(100% - var(--apd-gutter) * 2));
  margin-inline: auto;
}
body.apd .apd-section { padding-block: clamp(38px, 5vw, 74px); }
body.apd .apd-section + .apd-section { padding-block-start: 18px; }
body.apd .apd-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-block-end: 28px;
}
body.apd .apd-section-head h2 { max-width: 770px; margin: 0; }
body.apd .apd-section-head p { max-width: 560px; margin: 0; font-size: 1rem; }
body.apd .apd-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-block: 0 18px;
  color: var(--apd-copper); font-size: .79rem; font-weight: 800;
  letter-spacing: .12em; line-height: 1.6; text-transform: uppercase;
}
body.apd .apd-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; flex: none; }
body.apd .apd-lead { max-width: 670px; font-size: clamp(1.02rem, 1.55vw, 1.2rem); line-height: 1.75; margin-block-end: 24px; }
body.apd .apd-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 24px 10px; }
body.apd .apd-actions :where(a, button),
body.apd :where(a.apd-button, button.apd-button, .button, .btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 22px; border: 1px solid var(--apd-line);
  border-radius: 12px; color: var(--apd-green); background: #fff;
  font-size: .95rem; line-height: 1.4; font-weight: 740; letter-spacing: 0;
  text-align: center; text-decoration: none; white-space: normal;
  box-shadow: none; transition: background-color .18s, box-shadow .18s, transform .18s;
}
body.apd .apd-actions > :first-child,
body.apd :where(.button.primary, .btn-primary, .btn-teal, .apd-button-primary, button.primary) {
  background: var(--apd-green); color: #fff; border-color: var(--apd-green);
}
body.apd .apd-actions :where(a, button):hover,
body.apd :where(.button, .btn, .apd-button):hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgb(30 65 47 / 12%); }
body.apd :where(.button.secondary, .btn-light, .apd-button-secondary) { background: #fff; color: var(--apd-green); border-color: var(--apd-line); }
body.apd :where(.text-link, .apd-text-link) {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  color: var(--apd-green); font-weight: 740; font-size: 1rem; text-decoration: underline;
}
body.apd .apd-actions :where(svg), body.apd :where(.button, .btn, .apd-button) svg { width: 21px; height: 21px; flex: none; }

/* The common hero supports copy, a true photograph and an intact logo panel. */
body.apd .apd-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  grid-template-rows: auto auto; align-items: center; gap: 20px 40px;
  padding-block: clamp(30px, 5vw, 66px);
}
body.apd .apd-hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding-block: 12px; }
body.apd .apd-hero-copy h1 { max-width: 760px; margin-block-end: 23px; }
body.apd .apd-hero-visual { grid-column: 2; grid-row: 1 / span 2; position: relative; min-width: 0; }
body.apd .apd-hero-visual picture {
  display: block; border-radius: 28px; overflow: hidden; background: #e6e9df;
  box-shadow: var(--apd-shadow);
}
body.apd .apd-hero-visual picture > img,
body.apd .apd-hero-visual > img {
  display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941;
  max-height: none; min-height: 0; object-fit: cover; object-position: var(--apd-focus, 50% 50%);
  border-radius: inherit; mix-blend-mode: normal; transform: none;
}
body.apd .apd-hero-emblem {
  grid-column: 1; grid-row: 2; width: min(235px, 100%); justify-self: start;
  padding: 10px; background: #fff; border: 1px solid var(--apd-line);
  border-radius: 21px; box-shadow: 0 10px 30px rgb(24 57 42 / 6%);
}
body.apd .apd-hero-emblem :where(img, picture) { width: 100%; height: auto; display: block; }
body.apd .apd-hero-emblem img {
  aspect-ratio: 1; object-fit: contain; object-position: center; max-height: none; min-height: 0;
  border: 0; border-radius: 12px; background: #fff;
}
body.apd .apd-hero-emblem :where(p, figcaption, small) { display: block; color: var(--apd-muted); font-size: .74rem; line-height: 1.55; margin: 9px 3px 2px; }

/* Honest service strip, photographs and category cards */
body.apd .apd-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--apd-deep); color: #f9fbf6; border-radius: 18px;
  padding: 7px 18px; margin-block: 14px 18px; overflow: hidden;
}
body.apd .apd-strip-item { min-width: 0; padding: 16px 20px; border-inline-end: 1px solid rgb(255 255 255 / 18%); }
body.apd .apd-strip-item:last-child { border: 0; }
body.apd .apd-strip-item :where(strong, b) { display: block; font-size: .97rem; line-height: 1.4; font-weight: 760; }
body.apd .apd-strip-item :where(span, small, p) { display: block; margin: 5px 0 0; color: #dce8df; font-size: .86rem; line-height: 1.6; }
body.apd .apd-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
body.apd .apd-card {
  display: flex; flex-direction: column; min-width: 0; margin: 0;
  background: var(--apd-paper); border: 1px solid var(--apd-line);
  border-radius: var(--apd-radius); overflow: hidden;
  box-shadow: 0 7px 22px rgb(30 52 37 / 4%);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
body.apd .apd-card:hover { border-color: #aebfb0; box-shadow: var(--apd-shadow); transform: translateY(-3px); }
body.apd .apd-card > picture, body.apd .apd-card > a > picture { display: block; width: 100%; background: var(--apd-soft); }
body.apd .apd-card > picture img, body.apd .apd-card > a > picture img, body.apd .apd-card > img {
  width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 1672 / 941;
  object-fit: cover; object-position: var(--apd-focus, 50% 50%); border-radius: 0;
}
body.apd .apd-card-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
body.apd .apd-card-body h3 { font-size: 1.27rem; letter-spacing: -.025em; margin-block-end: 11px; }
body.apd .apd-card-body p { margin-block-end: 18px; font-size: .96rem; line-height: 1.75; }
body.apd .apd-card-body > :last-child { margin-block-start: auto; }
body.apd .apd-card-body :where(a, button) { min-height: 48px; display: inline-flex; align-items: center; font-size: .95rem; font-weight: 750; color: var(--apd-green); }
body.apd .apd-heading-photo {
  display: block; width: 100%; max-width: 100%; min-width: 0; margin-block: 24px 18px;
  border-radius: 17px; overflow: hidden; background: var(--apd-soft);
}
body.apd img.apd-heading-photo, body.apd .apd-heading-photo img {
  width: 100%; height: auto; min-height: 0; max-height: 260px; aspect-ratio: 1672 / 941;
  object-fit: cover; object-position: var(--apd-focus, 50% 50%); border-radius: inherit;
}
body.apd .apd-heading-photo :where(figcaption, small) { display: block; padding: 8px 12px; font-size: .78rem; line-height: 1.55; color: var(--apd-muted); background: #fff; }

/* Service and document pages */
body.apd .apd-article-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: 42px 34px;
}
body.apd .apd-article-title h1 { font-size: clamp(1.95rem, 3.5vw, 3.2rem); line-height: 1.18; margin-block-end: 20px; }
body.apd .apd-article-title :where(p, .lead) { font-size: 1.06rem; line-height: 1.75; margin-block: 0 16px; color: var(--apd-muted); }
body.apd .apd-article-photo { margin: 0; min-width: 0; }
body.apd .apd-article-photo :where(picture, img) { display: block; width: 100%; border-radius: 22px; }
body.apd .apd-article-photo img { height: auto; min-height: 0; max-height: none; aspect-ratio: 1672 / 941; object-fit: cover; object-position: var(--apd-focus, 50% 50%); }
body.apd .apd-article-photo figcaption { margin: 9px 0 0; font-size: .78rem; line-height: 1.55; color: var(--apd-muted); }
body.apd .apd-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: clamp(26px, 4vw, 48px); align-items: start; padding-block: 10px 60px; }
body.apd .apd-preserved { min-width: 0; color: var(--apd-ink); font-size: 18px; line-height: 1.75; }
body.apd .apd-preserved > :first-child { margin-block-start: 0; }
body.apd .apd-preserved :where(p, li) { font-size: 18px; line-height: 1.8; color: var(--apd-muted); }
body.apd .apd-preserved h2 { font-size: clamp(1.5rem, 2.35vw, 2rem); margin-block: 1.25em .6em; line-height: 1.25; }
body.apd .apd-preserved h3 { font-size: 1.25rem; margin-block: 1.1em .55em; }
body.apd .apd-preserved a:not(:where(.button, .btn, .apd-button)) { color: var(--apd-green); text-decoration: underline; }
body.apd .apd-preserved :where(.wrap, .container, .section, .v13-wrap, .v13-article, .dp-shell, .prose) {
  width: 100%; max-width: none; margin-inline: 0; padding-inline: 0;
}
body.apd .apd-preserved :where(.section, .v13-section) { padding-block: 22px; }
body.apd .apd-preserved :where(.v13-doc-layout, .detail-layout) { display: block; }
body.apd .apd-preserved :where(.v13-doc-side, .intake-card) { position: static; max-height: none; margin-block: 26px; }
body.apd .apd-visit-card {
  position: sticky; top: 125px; min-width: 0; padding: 22px;
  border: 1px solid var(--apd-line); border-radius: 23px;
  background: var(--apd-paper); color: var(--apd-ink); box-shadow: var(--apd-shadow);
}
body.apd .apd-visit-card > img, body.apd .apd-visit-card > picture img, body.apd .apd-visit-card img.apd-logo {
  display: block; width: 100%; height: auto; min-width: 0; max-width: 100%;
  max-height: 270px; min-height: 0; aspect-ratio: 1; object-fit: contain;
  border-radius: 14px; margin: 0 auto 21px; background: #fff;
}
body.apd .apd-visit-card h2 { font-size: 1.35rem; line-height: 1.25; margin-block: 0 15px; }
body.apd .apd-visit-card :where(p, li) { font-size: .95rem; line-height: 1.7; }
body.apd .apd-visit-card .apd-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
body.apd .apd-visit-card .apd-actions > :where(a, button) { width: 100%; }
body.apd :where(.breadcrumb, .v13-breadcrumb, .apd-breadcrumb) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-block: 0 20px; padding: 0; max-width: 100%;
  list-style: none; color: var(--apd-muted); font-size: .83rem; line-height: 1.7;
}

/* Retained content: maintain useful copy while bringing its controls and rhythm forward. */
body.apd :where(.v13-wrap, .wrap, .container, .dp-shell) { max-width: var(--apd-max); }
body.apd :where(.v13-grid, .service-grid, .cards, .dp-three) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.apd :where(.v13-grid, .grid, .service-grid, .cards, .dp-three) > * { min-width: 0; }
body.apd :where(.v13-category, .dp-card, .intake-card) {
  border: 1px solid var(--apd-line); border-radius: 19px; background: var(--apd-paper);
  color: var(--apd-ink); box-shadow: 0 6px 20px rgb(28 59 40 / 4%); overflow: hidden;
}
body.apd .v13-category-body { padding: 22px; }
body.apd :where(.v13-category, .dp-card) h3 { font-size: 1.25rem; }
body.apd :where(.v13-category, .dp-card) :where(p, li) { font-size: 1rem; line-height: 1.75; }
body.apd .v13-category :where(picture, img) { width: 100%; }
body.apd .v13-category img { height: auto; min-height: 0; aspect-ratio: 1672 / 941; object-fit: cover; }
body.apd :where(.v13-panel, .dp-note, .dp-faq, .final-cta, .v13-doc-side) {
  background: var(--apd-soft); border: 1px solid var(--apd-line); border-radius: 19px;
  padding: clamp(20px, 3vw, 32px); color: var(--apd-ink);
}
body.apd :where(.v13-panel, .dp-note, .final-cta) h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
body.apd :where(.v13-safe-note, .dp-safe-note, .safe-note) {
  border-inline-start: 4px solid var(--apd-copper); border-radius: 0 13px 13px 0;
  background: var(--apd-soft); padding: 18px 22px; color: var(--apd-ink);
  font-size: 1rem !important; line-height: 1.75 !important;
}
body.apd :where(.v13-question-list, .dp-checklist) { margin-block: 22px; padding-inline-start: 0; }
body.apd .v13-question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.apd :where(.v13-question, .v13-question-list > a, .v13-question-list > button) {
  min-height: 56px; padding: 15px 18px; border: 1px solid var(--apd-line);
  border-radius: 12px; background: #fff; color: var(--apd-ink);
  font-size: 1rem; line-height: 1.55; font-weight: 650; text-align: start;
}
body.apd :where(.v13-links, .source-links) { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-block: 18px; }
body.apd :where(.v13-links, .source-links) a { font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
body.apd :where(.v13-search, .search-form, .apd-search) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  width: 100%; max-width: 100%; margin-block: 24px;
  padding: 18px; border: 1px solid var(--apd-line); border-radius: 17px;
  background: #fff; box-shadow: 0 10px 30px rgb(27 58 42 / 5%);
}
body.apd :where(.v13-search, .search-form, .apd-search) label { flex: 1 1 100%; font-size: 1rem; font-weight: 720; }
body.apd :where(.v13-search, .search-form, .apd-search) input {
  flex: 1 1 220px; width: 0; min-width: min(100%, 180px); min-height: 50px;
  padding: 11px 14px; border: 1px solid #b7c9bb; border-radius: 10px;
  font-size: 17px; line-height: 1.5; color: var(--apd-ink); background: #fff;
}
body.apd :where(.v13-search, .search-form, .apd-search) [role="status"] { flex: 1 1 100%; color: var(--apd-muted); font-size: .86rem; }
body.apd :where(.v13-filter-tags, .apd-tags) { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 19px 27px; }
body.apd :where(.v13-filter-tags, .apd-tags) :where(a, button) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px;
  border: 1px solid var(--apd-line); border-radius: 30px;
  background: #fff; color: var(--apd-green); font-size: .9rem; line-height: 1.45; font-weight: 650;
}
body.apd :where(details) { border: 1px solid var(--apd-line); border-radius: 12px; background: #fff; padding: 0; margin-block: 12px; }
body.apd :where(details) summary { cursor: pointer; min-height: 52px; padding: 14px 18px; font-size: 1rem; font-weight: 720; line-height: 1.6; }
body.apd :where(details) > :not(summary) { margin-inline: 18px; }
body.apd :where(.apd-preserved, .v13-panel, .prose) table {
  display: block; width: 100%; max-width: 100%; overflow-x: auto;
  border-collapse: collapse; font-size: 1rem; margin-block: 24px;
  -webkit-overflow-scrolling: touch;
}
body.apd :where(.apd-preserved, .v13-panel, .prose) :where(th, td) { padding: 12px 15px; border: 1px solid var(--apd-line); min-width: 130px; line-height: 1.65; text-align: start; vertical-align: top; }
body.apd :where(.apd-preserved, .v13-panel, .prose) th { background: var(--apd-soft); font-weight: 720; }
body.apd :where(pre, code) { font-size: .9em; overflow-wrap: anywhere; }
body.apd pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; border-radius: 12px; padding: 18px; background: #edf1ec; color: #173d31; }
body.apd .apd-preserved :where(.v13-grid, .grid, .service-grid, .cards, .dp-three) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Location and footer */
body.apd .apd-contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: stretch; margin-block: 25px 60px; }
body.apd .apd-contact-grid > :not(.apd-map-frame) { min-width: 0; padding: 28px; border: 1px solid var(--apd-line); border-radius: 22px; background: #fff; }
body.apd .apd-contact-grid :where(h2, h3) { margin-block-start: 0; }
body.apd .apd-map-frame { display: block; width: 100%; height: 380px; min-height: 320px; border: 1px solid var(--apd-line); border-radius: 22px; overflow: hidden; background: var(--apd-soft); }
body.apd iframe.apd-map-frame { border: 1px solid var(--apd-line); }
body.apd .apd-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
body.apd .apd-map-placeholder { min-height: 320px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 30px; background: var(--apd-soft); border: 1px dashed #adbeaf; border-radius: 20px; color: var(--apd-ink); }
body.apd .apd-map-placeholder :where(p, h3) { margin: 0; }
body.apd .apd-footer { background: var(--apd-deep); color: #f5faf3; margin: 0; padding: 48px var(--apd-gutter) calc(48px + env(safe-area-inset-bottom, 0px)); border: 0; }
body.apd .apd-footer > :where(div, section) { max-width: var(--apd-max); margin-inline: auto; }
body.apd .apd-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 35px; }
body.apd .apd-footer :where(h2, h3, strong) { color: #fffdf5; }
body.apd .apd-footer :where(p, small, li, address) { color: #d0e0d5; font-size: .91rem; line-height: 1.8; font-style: normal; }
body.apd .apd-footer a { color: #f3faf0; text-decoration: underline; font-size: .93rem; }
body.apd .apd-footer :where(ul, ol) { list-style: none; padding: 0; }
body.apd .apd-footer :where(li) { margin-block: 8px; }
body.apd .apd-footer img { width: min(190px, 100%); max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 13px; background: #fff; }
body.apd .apd-footer .apd-brand { color: #fff; max-width: 440px; }
body.apd .apd-footer .apd-brand img { width: 90px; height: 90px; min-width: 90px; max-width: 90px; }
body.apd .apd-footer .apd-brand small { color: #d0e0d5; }

/* Accessible local service assistant; native closed dialogs remain closed. */
body.apd .apd-helper-launch {
  position: fixed; z-index: 250; inset-inline-end: max(18px, env(safe-area-inset-right, 0px));
  inset-block-end: max(18px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  max-width: calc(100vw - 36px); min-height: 54px; padding: 13px 19px;
  border: 1px solid #f8fff0; border-radius: 16px;
  background: var(--apd-green); color: #fff; box-shadow: 0 12px 32px rgb(6 38 23 / 25%);
  font-size: 1rem; font-weight: 760; line-height: 1.45; text-align: center;
}
body.apd .apd-helper-launch svg { width: 23px; height: 23px; flex: none; }
body.apd dialog#apd-assistant {
  position: fixed; z-index: 1000;
  inset: auto max(18px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) auto;
  width: min(460px, calc(100vw - 36px)); max-width: calc(100vw - 36px);
  height: auto; max-height: min(790px, calc(100dvh - 40px - env(safe-area-inset-top, 0px)));
  margin: 0; padding: 0; overflow: hidden;
  color: var(--apd-ink); background: #fff; border: 1px solid #c5d4c3; border-radius: 22px;
  box-shadow: 0 22px 90px rgb(5 28 16 / 28%); font-size: 18px; line-height: 1.65;
}
body.apd dialog#apd-assistant[open] { display: flex; flex-direction: column; }
body.apd dialog#apd-assistant::backdrop { background: rgb(4 24 17 / 42%); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
body.apd .apd-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; flex: none; color: #fff; background: var(--apd-deep); }
body.apd .apd-chat-head :where(h2, h3, strong) { margin: 0; font-size: 1.1rem; line-height: 1.35; letter-spacing: -.015em; color: #fff; }
body.apd .apd-chat-head :where(p, small) { display: block; font-size: .84rem; line-height: 1.55; color: #deeadb; margin: 5px 0 0; }
body.apd .apd-chat-head button { display: inline-flex; justify-content: center; align-items: center; flex: none; min-width: 48px; min-height: 48px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 10px; background: rgb(255 255 255 / 10%); color: #fff; font-size: 1rem; }
body.apd .apd-chat-log { flex: 1 1 auto; min-height: 130px; max-height: 48dvh; overflow-y: auto; overscroll-behavior: contain; padding: 18px; scrollbar-gutter: stable; background: #f3f6ef; }
body.apd .apd-chat-bubble { max-width: 100%; margin: 0 0 13px; padding: 15px; border: 1px solid var(--apd-line); border-radius: 15px 15px 15px 4px; background: #fff; color: var(--apd-ink); font-size: 18px; line-height: 1.72; overflow-wrap: anywhere; }
body.apd .apd-chat-bubble :where(p, li) { font-size: 18px; line-height: 1.72; color: inherit; }
body.apd .apd-chat-bubble > :last-child { margin-block-end: 0; }
body.apd .apd-chat-bubble:is(.is-user, .user, [data-role="user"], .apd-chat-user) { margin-inline-start: 20px; border-color: #c0d8c6; border-radius: 15px 15px 4px 15px; background: #dfeddf; }
body.apd .apd-chat-bubble a { text-decoration: underline; color: var(--apd-green); }
body.apd .apd-chat-options { display: grid; grid-template-columns: 1fr; gap: 9px; padding: 0 18px 15px; background: #f3f6ef; flex: none; }
body.apd .apd-chat-options button { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9cfbd; border-radius: 10px; background: #fff; color: var(--apd-green); font-size: 17px; line-height: 1.55; font-weight: 680; text-align: start; }
body.apd :where(form.apd-chat-input, div.apd-chat-input) { display: flex; align-items: stretch; gap: 9px; padding: 13px 16px; border-block-start: 1px solid var(--apd-line); background: #fff; flex: none; }
body.apd .apd-chat-input :where(input, textarea), body.apd input.apd-chat-input {
  display: block; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 49px;
  padding: 11px 13px; border: 1px solid #adc2b0; border-radius: 10px;
  font-size: 17px; line-height: 1.5; color: var(--apd-ink); background: #fff;
}
body.apd .apd-chat-input button { min-width: 55px; min-height: 49px; padding: 10px 14px; border: 1px solid var(--apd-green); border-radius: 10px; color: #fff; background: var(--apd-green); font-size: .95rem; font-weight: 720; }
body.apd .apd-chat-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; padding: 12px 16px 16px; background: #fff; flex: none; }
body.apd .apd-chat-actions :where(a, button) { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 120px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--apd-line); border-radius: 10px; color: var(--apd-green); background: var(--apd-soft); font-size: .92rem; line-height: 1.5; font-weight: 720; text-align: center; }

/* Seven content-led art directions. Shared device photographs retain their proportions. */
body.apd.site-phone { --apd-bg: #f5f4ed; --apd-soft: #eaf0e5; --apd-radius: 27px; }
body.apd.site-phone .apd-hero { grid-template-columns: minmax(0, 1fr) 250px; gap: 26px 42px; padding-block-start: 30px; }
body.apd.site-phone .apd-hero-visual { grid-column: 1 / -1; grid-row: 1; }
body.apd.site-phone .apd-hero-visual picture { border-radius: 28px 28px 76px 28px; }
body.apd.site-phone .apd-hero-copy { grid-column: 1; grid-row: 2; padding: 0; }
body.apd.site-phone .apd-hero-copy h1 { font-size: clamp(2rem, 4.45vw, 3.7rem); }
body.apd.site-phone .apd-hero-emblem { grid-column: 2; grid-row: 2; justify-self: end; width: 235px; }
body.apd.site-phone .apd-card > picture { padding: 10px 10px 0; background: #fff; }
body.apd.site-phone .apd-card > picture img { border-radius: 18px; }

body.apd.site-computer { --apd-bg: #f1f1ec; --apd-soft: #e8eee8; --apd-copper: #a15834; --apd-radius: 16px; }
body.apd.site-computer .apd-hero { align-items: start; column-gap: 48px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.08fr); padding-block: 64px 52px; }
body.apd.site-computer .apd-hero::before { content: ""; position: absolute; z-index: -1; inset: 12px -18px 30px; border: 1px solid #d6ded2; border-radius: 28px; background: linear-gradient(120deg, #e4ece0 0 49%, #f9f8f2 49%); }
body.apd.site-computer .apd-hero-copy { padding-block-start: 20px; }
body.apd.site-computer .apd-hero-visual { margin-block-start: 28px; transform: rotate(-2deg); }
body.apd.site-computer .apd-hero-visual picture { border-radius: 62px 16px 16px 16px; border: 7px solid #fff; }
body.apd.site-computer .apd-hero-emblem { border-radius: 14px; width: 210px; }
body.apd.site-computer .apd-card { border-inline-start: 4px solid var(--apd-copper); }
body.apd.site-computer .apd-strip { border-radius: 6px 22px 6px 22px; }

body.apd.site-internet { --apd-bg: #f7faf6; --apd-soft: #e7f1eb; --apd-green: #226753; --apd-copper: #a15c38; --apd-radius: 12px; }
body.apd.site-internet .apd-hero { padding: 36px; margin-block: 32px; gap: 22px 32px; background-color: #f1f6ef; background-image: linear-gradient(#bad0bd40 1px, transparent 1px), linear-gradient(90deg, #bad0bd40 1px, transparent 1px); background-size: 28px 28px; border: 1px solid #d5e2d3; border-radius: 16px; }
body.apd.site-internet .apd-hero-visual picture { border: 5px solid #fff; border-radius: 12px; }
body.apd.site-internet .apd-hero-emblem { width: 195px; border-radius: 12px; }
body.apd.site-internet .apd-strip { color: var(--apd-deep); background: #e2ece0; border: 1px solid #cfdfce; border-radius: 10px; }
body.apd.site-internet .apd-strip-item { border-color: #bccfbc; }
body.apd.site-internet .apd-strip-item :where(p, small, span) { color: #365f4b; }
body.apd.site-internet .apd-card { border-block-start: 4px solid var(--apd-green); box-shadow: none; }

body.apd.site-server { --apd-bg: #f2f3ee; --apd-soft: #e9eee8; --apd-green: #155340; --apd-copper: #9b5a34; --apd-deep: #102e2c; --apd-radius: 15px; }
body.apd.site-server .apd-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #132b2b; color: #f4f6e9; padding: 36px; margin-block: 32px; border-radius: 20px; gap: 24px 35px; }
body.apd.site-server .apd-hero-copy { grid-column: 2; grid-row: 1; }
body.apd.site-server .apd-hero-copy :where(p, .apd-lead) { color: #d1e0d6; }
body.apd.site-server .apd-eyebrow { color: #e5b58a; }
body.apd.site-server .apd-hero-visual { grid-column: 1; grid-row: 1 / span 2; }
body.apd.site-server .apd-hero-visual picture { border-radius: 11px; border: 1px solid #5c7f70; box-shadow: 0 18px 36px #061c2370; }
body.apd.site-server .apd-hero-emblem { grid-column: 2; grid-row: 2; width: 205px; background: #fff; border-color: #fff; }
body.apd.site-server .apd-hero .apd-actions > :first-child { color: #152f29; background: #e8b78a; border-color: #e8b78a; }
body.apd.site-server .apd-hero .apd-actions > :not(:first-child) { background: transparent; color: #f7fcf3; border-color: #789c89; }
body.apd.site-server .apd-strip { background: #213d38; border-radius: 9px; }
body.apd.site-server .apd-card { border-radius: 12px; }
body.apd.site-server .apd-card-body { border-block-start: 3px solid #b87851; }

body.apd.site-workshop { --apd-bg: #faf5eb; --apd-soft: #f0ede0; --apd-green: #225a45; --apd-copper: #a55e38; --apd-radius: 29px; }
body.apd.site-workshop .apd-hero { grid-template-columns: minmax(0, 1fr) 265px; gap: 30px 48px; padding-block-start: 50px; }
body.apd.site-workshop .apd-hero-copy { grid-column: 1; grid-row: 1; }
body.apd.site-workshop .apd-hero-copy h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
body.apd.site-workshop .apd-hero-visual { grid-column: 1 / -1; grid-row: 2; }
body.apd.site-workshop .apd-hero-visual picture { border-radius: 65px 18px 65px 18px; }
body.apd.site-workshop .apd-hero-emblem { grid-column: 2; grid-row: 1; width: 250px; justify-self: end; border-radius: 27px; }
body.apd.site-workshop .apd-strip { background: #e8eadb; color: #204b39; border-radius: 24px; }
body.apd.site-workshop .apd-strip-item { border-color: #c7d4c1; }
body.apd.site-workshop .apd-strip-item :where(p, small, span) { color: #47634c; }
body.apd.site-workshop .apd-card { border-color: #dfddca; box-shadow: 0 8px 22px #57491e08; }

body.apd.site-library { --apd-bg: #f3f4ef; --apd-soft: #e8ede4; --apd-green: #255f4b; --apd-copper: #996335; --apd-radius: 13px; }
body.apd.site-library .apd-hero { grid-template-columns: minmax(0, 1fr) 265px; align-items: start; gap: 26px 35px; }
body.apd.site-library .apd-hero-copy { grid-column: 1; grid-row: 1; padding: 0; }
body.apd.site-library .apd-hero-copy h1 { font-size: clamp(2rem, 3.9vw, 3.4rem); }
body.apd.site-library .apd-hero-visual { grid-column: 1; grid-row: 2; }
body.apd.site-library .apd-hero-visual picture { border-radius: 12px; }
body.apd.site-library .apd-hero-emblem { grid-column: 2; grid-row: 1 / span 2; width: 260px; padding: 12px; border-radius: 13px; align-self: center; }
body.apd.site-library :where(.v13-search, .apd-search) { border-width: 2px; border-color: #b2c5ad; border-radius: 9px; box-shadow: none; }
body.apd.site-library .apd-strip { border-radius: 8px; background: #dfe8d9; color: var(--apd-deep); }
body.apd.site-library .apd-strip-item { border-color: #bdcdb7; }
body.apd.site-library .apd-strip-item :where(p, small, span) { color: #3e5c47; }
body.apd.site-library .apd-card { border-radius: 12px; box-shadow: none; }
body.apd.site-library .apd-card-body { padding: 20px; }
body.apd.site-library .apd-card-body h3 { font-size: 1.18rem; }

body.apd.site-web { --apd-bg: #f6f1e9; --apd-soft: #e9e8dc; --apd-green: #134e43; --apd-copper: #ab5534; --apd-radius: 28px; }
body.apd.site-web .apd-hero { grid-template-columns: minmax(0, 1fr) 250px; gap: 30px 40px; padding-block-start: 48px; }
body.apd.site-web .apd-hero-copy { grid-column: 1; grid-row: 1; padding: 0; }
body.apd.site-web .apd-hero-copy h1 { font-size: clamp(2.2rem, 5.1vw, 4.4rem); line-height: 1.08; letter-spacing: -.05em; }
body.apd.site-web .apd-hero-visual { grid-column: 1 / -1; grid-row: 2; }
body.apd.site-web .apd-hero-visual picture { border-radius: 18px 72px 18px 18px; border: 6px solid #fff; }
body.apd.site-web .apd-hero-emblem { grid-column: 2; grid-row: 1; width: 240px; justify-self: end; border-radius: 50% 50% 18px 18px; padding: 13px; }
body.apd.site-web .apd-hero-emblem img { border-radius: 20px; }
body.apd.site-web .apd-strip { background: #213d36; border-radius: 28px 8px 28px 8px; }
body.apd.site-web .apd-card { border-radius: 28px 28px 9px 28px; }
body.apd.site-web .apd-card:nth-child(3n + 2) { border-block-end: 4px solid var(--apd-copper); }

/* Tablet: predictable two-column content, with full usable copy widths. */
@media (max-width: 1160px) {
  body.apd .apd-nav-shell { gap: 16px; }
  body.apd .apd-brand { flex-basis: 305px; }
  body.apd #apd-nav { gap: 4px 13px; font-size: .85rem; }
  body.apd .apd-nav-actions :where(a, button) { padding-inline: 12px; font-size: .8rem; }
  body.apd .apd-hero { column-gap: 28px; }
  body.apd .apd-detail-grid { grid-template-columns: minmax(0, 1fr) 275px; gap: 28px; }
}
@media (max-width: 1024px) {
  body.apd { --apd-gutter: 26px; }
  body.apd .apd-nav-shell { min-height: 91px; }
  body.apd .apd-brand { flex: 1 1 auto; }
  body.apd .apd-brand small { max-width: 380px; }
  body.apd .apd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
  body.apd #apd-nav {
    display: none; position: absolute; inset-inline: 0; top: calc(100% + 1px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    max-height: min(72dvh, 620px); overflow-y: auto; padding: 12px;
    border: 1px solid var(--apd-line); border-radius: 0 0 17px 17px;
    background: #fffffc; box-shadow: 0 14px 30px rgb(27 57 37 / 13%);
    font-size: 1rem;
  }
  body.apd #apd-nav:is(.is-open, .open, [data-open="true"]),
  body.apd.apd-menu-open #apd-nav,
  body.apd .apd-header:has(.apd-menu-toggle[aria-expanded="true"]) #apd-nav { display: flex; }
  body.apd #apd-nav a { min-height: 50px; padding: 13px 12px; border-radius: 8px; border: 0; }
  body.apd #apd-nav a:hover, body.apd #apd-nav a[aria-current="page"] { background: var(--apd-soft); }
  body.apd .apd-photo-grid, body.apd :where(.v13-grid, .service-grid, .cards, .dp-three) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  body.apd .apd-section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  body.apd .apd-section-head p { max-width: 820px; }
  body.apd .apd-hero-copy h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); }
  body.apd.site-computer .apd-hero { column-gap: 30px; }
  body.apd.site-internet .apd-hero, body.apd.site-server .apd-hero { padding: 26px; gap: 22px; }
  body.apd .apd-detail-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; }
  body.apd .apd-visit-card { padding: 18px; top: 110px; }
  body.apd .apd-article-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); }
  body.apd .apd-footer-grid { grid-template-columns: 1.1fr 1fr; gap: 28px; }
}
@media (max-width: 850px) {
  body.apd .apd-detail-grid { grid-template-columns: 1fr; }
  body.apd .apd-visit-card { position: static; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 25px; align-items: center; }
  body.apd .apd-visit-card > :where(img, picture) { grid-column: 1; grid-row: 1 / span 5; max-width: 220px; margin: 0 auto; }
  body.apd .apd-visit-card > :not(:where(img, picture)) { grid-column: 2; }
  body.apd .apd-visit-card > img { max-height: 250px; }
  body.apd .apd-contact-grid { grid-template-columns: 1fr; }
  body.apd .apd-contact-grid > :not(.apd-map-frame) { padding: 24px; }
  body.apd .apd-hero, body.apd.site-computer .apd-hero, body.apd.site-internet .apd-hero, body.apd.site-server .apd-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Mobile: every key photograph and entire logo are visible without an imposed portrait crop. */
@media (max-width: 760px) {
  body.apd { --apd-gutter: 18px; --apd-radius: 20px; font-size: 18px; line-height: 1.7; }
  body.apd .apd-top { justify-content: flex-start; text-align: start; padding-block: 9px; font-size: .75rem; gap: 4px 14px; }
  body.apd .apd-top :where(a) { min-height: 28px; display: inline-flex; align-items: center; }
  body.apd .apd-nav-shell { gap: 12px; min-height: 86px; width: calc(100% - 28px); }
  body.apd .apd-brand { gap: 9px; }
  body.apd img.apd-logo { width: 62px; height: 62px; min-width: 62px; max-width: 62px; border-radius: 10px; }
  body.apd .apd-brand strong { font-size: 1.1rem; line-height: 1.15; }
  body.apd .apd-brand small { font-size: .66rem; line-height: 1.4; margin-top: 4px; }
  body.apd .apd-nav-actions { display: none; }
  body.apd .apd-menu-toggle { min-width: 48px; min-height: 48px; padding: 9px; font-size: .8rem; }
  body.apd #apd-nav { inset-inline: 0; border-radius: 0 0 15px 15px; }
  body.apd :where([id]) { scroll-margin-top: 108px; }
  body.apd .apd-section { padding-block: 35px; }
  body.apd .apd-section + .apd-section { padding-block-start: 12px; }
  body.apd .apd-section-head { margin-block-end: 23px; gap: 13px; }
  body.apd .apd-section-head p { font-size: 18px; line-height: 1.75; }
  body.apd .apd-eyebrow { font-size: .76rem; letter-spacing: .09em; margin-block-end: 13px; }
  body.apd h1 { font-size: clamp(1.95rem, 8.3vw, 2.65rem); letter-spacing: -.035em; line-height: 1.15; }
  body.apd .apd-lead { font-size: 18px; line-height: 1.75; }
  body.apd .apd-actions { align-items: stretch; gap: 10px; }
  body.apd .apd-actions :where(a, button) { flex: 1 1 140px; padding: 12px 15px; min-height: 50px; font-size: 17px; }
  body.apd .apd-hero,
  body.apd.site-phone .apd-hero,
  body.apd.site-computer .apd-hero,
  body.apd.site-internet .apd-hero,
  body.apd.site-server .apd-hero,
  body.apd.site-workshop .apd-hero,
  body.apd.site-library .apd-hero,
  body.apd.site-web .apd-hero {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto;
    gap: 23px; padding: 30px 0; margin-block: 0;
  }
  body.apd .apd-hero .apd-hero-copy,
  body.apd .apd-hero .apd-hero-visual,
  body.apd .apd-hero .apd-hero-emblem { grid-column: 1; grid-row: auto; }
  body.apd .apd-hero .apd-hero-copy { padding: 0; order: 0; }
  body.apd .apd-hero .apd-hero-visual { order: 1; width: 100%; margin: 0; transform: none; }
  body.apd .apd-hero .apd-hero-emblem { order: 2; width: min(240px, 82%); justify-self: center; align-self: center; padding: 9px; margin: 0; }
  body.apd .apd-hero .apd-hero-copy h1 { font-size: clamp(1.95rem, 8.3vw, 2.65rem); line-height: 1.16; margin-block-end: 19px; }
  body.apd .apd-hero .apd-hero-visual :where(picture, img) { border-radius: 18px; }
  body.apd .apd-hero .apd-hero-visual img { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 1672 / 941; object-fit: cover; }
  body.apd.site-phone .apd-hero .apd-hero-visual { order: 0; }
  body.apd.site-phone .apd-hero .apd-hero-copy { order: 1; }
  body.apd.site-computer .apd-hero::before { inset: 10px -8px; border-radius: 20px; }
  body.apd.site-internet .apd-hero { padding: 25px 18px; margin-block: 22px; }
  body.apd.site-server .apd-hero { padding: 25px 18px; margin-block: 22px; }
  body.apd.site-server .apd-hero-copy { color: #f4f6e9; }
  body.apd.site-workshop .apd-hero .apd-hero-copy h1 { font-size: clamp(2.05rem, 9vw, 2.9rem); }
  body.apd.site-library .apd-hero .apd-hero-copy h1 { font-size: clamp(1.95rem, 8vw, 2.5rem); }
  body.apd.site-web .apd-hero .apd-hero-copy h1 { font-size: clamp(2rem, 9vw, 2.9rem); }
  body.apd .apd-strip { grid-template-columns: 1fr; padding: 4px 18px; border-radius: 16px; margin-block: 15px 9px; }
  body.apd .apd-strip-item { padding: 14px 0; border-inline-end: 0; border-block-end: 1px solid rgb(255 255 255 / 20%); }
  body.apd .apd-strip-item:last-child { border: 0; }
  body.apd.site-internet .apd-strip-item, body.apd.site-workshop .apd-strip-item, body.apd.site-library .apd-strip-item { border-block-end-color: #c2d1bb; }
  body.apd .apd-photo-grid,
  body.apd :where(.v13-grid, .service-grid, .cards, .dp-three),
  body.apd .apd-preserved :where(.v13-grid, .grid, .service-grid, .cards, .dp-three) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.apd .apd-card-body { padding: 21px; }
  body.apd .apd-card-body h3 { font-size: 1.3rem; }
  body.apd .apd-card-body p { font-size: 18px; line-height: 1.75; }
  body.apd .apd-card > picture img, body.apd .apd-card > a > picture img, body.apd .apd-card > img { height: auto; min-height: 0; aspect-ratio: 1672 / 941; object-fit: cover; }
  body.apd .apd-heading-photo img, body.apd img.apd-heading-photo { height: auto; max-height: none; aspect-ratio: 1672 / 941; }
  body.apd .apd-article-hero { grid-template-columns: 1fr; gap: 20px; padding-block: 29px 25px; }
  body.apd .apd-article-title h1 { font-size: clamp(1.85rem, 7.5vw, 2.45rem); line-height: 1.2; }
  body.apd .apd-article-title :where(p, .lead) { font-size: 18px; line-height: 1.75; }
  body.apd .apd-article-photo img { height: auto; aspect-ratio: 1672 / 941; min-height: 0; max-height: none; }
  body.apd .apd-detail-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 8px 36px; }
  body.apd .apd-preserved :where(p, li), body.apd .apd-preserved { font-size: 18px; line-height: 1.8; }
  body.apd .apd-preserved h2 { font-size: 1.6rem; }
  body.apd .apd-preserved h3 { font-size: 1.25rem; }
  body.apd .apd-visit-card { display: block; padding: 22px; border-radius: 20px; position: static; }
  body.apd .apd-visit-card > :where(img, picture) { width: min(235px, 100%); margin: 0 auto 22px; }
  body.apd .apd-visit-card > img { max-height: none; aspect-ratio: 1; object-fit: contain; }
  body.apd .apd-visit-card h2 { font-size: 1.4rem; }
  body.apd .apd-visit-card :where(p, li) { font-size: 18px; line-height: 1.75; }
  body.apd .apd-contact-grid { grid-template-columns: 1fr; gap: 20px; margin-block-end: 36px; }
  body.apd .apd-contact-grid > :not(.apd-map-frame) { padding: 22px; }
  body.apd .apd-map-frame { height: 330px; min-height: 300px; border-radius: 17px; }
  body.apd .apd-map-placeholder { padding: 23px; min-height: 300px; }
  body.apd .v13-question-list { grid-template-columns: 1fr; }
  body.apd :where(.v13-panel, .dp-note, .dp-faq, .final-cta, .v13-doc-side) { padding: 21px; border-radius: 16px; }
  body.apd :where(.v13-question, .v13-question-list > a, .v13-question-list > button) { font-size: 18px; min-height: 54px; }
  body.apd :where(.v13-search, .search-form, .apd-search) { padding: 15px; border-radius: 12px; }
  body.apd :where(.v13-search, .search-form, .apd-search) input { flex-basis: 100%; min-width: 0; width: 100%; }
  body.apd :where(.v13-filter-tags, .apd-tags) :where(a, button) { font-size: 16px; min-height: 44px; }
  body.apd .apd-footer { padding: 36px 21px calc(104px + env(safe-area-inset-bottom, 0px)); }
  body.apd .apd-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body.apd .apd-footer :where(p, li, address) { font-size: 17px; }
  body.apd .apd-footer .apd-brand { gap: 14px; }
  body.apd .apd-footer .apd-brand strong { font-size: 1.3rem; }
  body.apd .apd-footer .apd-brand small { font-size: .78rem; }
  body.apd .apd-footer .apd-brand img { width: 92px; height: 92px; min-width: 92px; max-width: 92px; }
  body.apd .apd-helper-launch { inset-inline-end: max(13px, env(safe-area-inset-right, 0px)); inset-block-end: max(13px, env(safe-area-inset-bottom, 0px)); min-height: 52px; padding: 12px 16px; font-size: 17px; border-radius: 14px; }
  body.apd dialog#apd-assistant { inset: auto 10px max(10px, env(safe-area-inset-bottom, 0px)) 10px; width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); border-radius: 18px; }
  body.apd .apd-chat-head { padding: 14px; }
  body.apd .apd-chat-log { padding: 14px; max-height: 47dvh; }
  body.apd .apd-chat-bubble { font-size: 18px; padding: 14px; }
  body.apd .apd-chat-options { padding-inline: 14px; }
  body.apd :where(form.apd-chat-input, div.apd-chat-input) { padding: 11px 12px; gap: 7px; }
  body.apd .apd-chat-actions { padding: 11px 12px 14px; }
}
@media (max-width: 360px) {
  body.apd { --apd-gutter: 15px; }
  body.apd .apd-nav-shell { width: calc(100% - 24px); gap: 8px; }
  body.apd .apd-brand { gap: 7px; }
  body.apd img.apd-logo { width: 54px; height: 54px; min-width: 54px; max-width: 54px; }
  body.apd .apd-brand strong { font-size: 1.02rem; }
  body.apd .apd-brand small { font-size: .64rem; }
  body.apd .apd-menu-toggle { padding-inline: 8px; }
  body.apd .apd-actions :where(a, button) { flex-basis: 100%; }
  body.apd .apd-hero .apd-hero-emblem { width: min(235px, 90%); }
  body.apd .apd-card-body { padding: 18px; }
  body.apd .apd-chat-head :where(h2, h3, strong) { font-size: 1.03rem; }
  body.apd .apd-chat-input button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body.apd, body.apd * { scroll-behavior: auto !important; }
  body.apd *, body.apd *::before, body.apd *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.apd :where(.apd-card, .apd-hero-visual, .button, .btn, .apd-button):hover { transform: none; }
}
@media print {
  body.apd { background: #fff; color: #162f25; font-size: 12pt; }
  body.apd .apd-header { position: static; box-shadow: none; backdrop-filter: none; }
  body.apd :where(.apd-helper-launch, #apd-assistant, .apd-menu-toggle, .apd-nav-actions) { display: none !important; }
  body.apd :where(.apd-detail-grid, .apd-article-hero, .apd-contact-grid) { display: block; width: 100%; }
  body.apd .apd-visit-card { position: static; box-shadow: none; margin-block-start: 20px; }
  body.apd .apd-footer { padding-bottom: 25px; }
  body.apd :where(h1, h2, h3, picture, img, .apd-card) { break-inside: avoid; }
}

/* Integration refinements observed in the live preview. */
body.apd .apd-top > div{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 22px}
body.apd #apd-nav > button{border:0;background:transparent;padding:12px 8px;min-height:48px;font-weight:700;font-size:.92rem;color:inherit}
body.apd.apd-modal-open{overflow:hidden}
body.apd .apd-chat-bubble{white-space:pre-line}
body.apd .apd-chat-bubble.is-user{background:#164e42;color:white;margin-inline-start:24px}
body.apd .apd-summary{padding:14px 20px}
body.apd .apd-summary label{display:block;font-weight:700;margin-bottom:8px}
body.apd .apd-summary textarea{width:100%;padding:12px;border:1px solid #97ada1;border-radius:12px;resize:vertical;min-height:170px}
body.apd .apd-dialog-backdrop{position:fixed;inset:0;background:#001c18bb;z-index:999}
body.apd .apd-map-frame{position:relative;padding-bottom:46px}
body.apd .apd-map-frame iframe{display:block;width:100%;height:100%;border:0}
body.apd .apd-map-direct{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;padding:10px;background:#fff;font-size:15px;min-height:46px;text-align:center}
body.apd .apd-chat-input>div{display:flex;gap:8px;width:100%}
body.apd .apd-chat-input>div input{flex:1;min-width:0}
body.apd .apd-chat-input>label,body.apd .apd-chat-input>small{flex-basis:100%}
body.apd .apd-search>div{display:flex;gap:10px;flex-wrap:wrap}
body.apd .apd-search>div input{flex:1;min-width:0}
body.apd .apd-search-result{padding:20px;border:1px solid var(--apd-line);border-radius:16px;background:white;margin-bottom:15px}
body.apd .apd-search-result h2{font-size:1.25rem}
body.apd .apd-section>video{display:block;width:100%;height:auto;border-radius:18px;background:#102e2c}
@media(min-width:761px){
body.apd.site-phone .apd-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px 38px;align-items:center;padding-top:35px}
body.apd.site-phone .apd-hero-copy{grid-column:1;grid-row:1;padding:0}
body.apd.site-phone .apd-hero-visual{grid-column:2;grid-row:1 / span 2;margin:0}
body.apd.site-phone .apd-hero-visual img{height:auto;aspect-ratio:1672/941;min-height:0;object-fit:contain}
body.apd.site-phone .apd-hero-copy h1{font-size:clamp(2.4rem,4vw,3.65rem)}
body.apd.site-phone .apd-hero-emblem{grid-column:1;grid-row:2;width:165px;justify-self:start;align-self:start;margin:0}
}
