.dog-page {
  --dog-ink: #26362d;
  --dog-green: #275747;
  --dog-dim: #515d50;
  --dog-rule: #d9ddce;
  --dog-cream: #faf8ef;
  --dog-tint: #e7eedf;
  margin: 0;
  background: var(--dog-cream);
  color: var(--dog-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  overflow-wrap: anywhere;
}
.dog-page [hidden] { display: none !important; }
.dog-page :is(h1, h2, h3, p, figure) { margin: 0; }
.dog-page :is(h1, h2, h3) { text-wrap: balance; }
.dog-page :is(p, li) { line-height: 1.65; }
.dog-page :is(button, input, select) { font: inherit; }
.dog-page :is(a, button, summary, input, select):focus-visible { outline: 3px solid #7151aa; outline-offset: 3px; }
.dog-page h1:focus { outline: 0; }
html[lang="ko"] .dog-page :is(h1, h2, h3, p, li, button, label, a) { word-break: keep-all; overflow-wrap: anywhere; }
.dog-page .site-bar, .dog-page footer {
  width: min(1112px, 100%); margin: 0 auto; padding: 12px clamp(14px, 3vw, 30px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.dog-page .site-bar { min-height: 68px; border-bottom: 1px solid var(--dog-rule); }
.dog-page .wordmark { font-size: 25px; font-weight: 830; letter-spacing: -.06em; }
.dog-page .wordmark span { color: #7651bd; }
.dog-page .languages { display: flex; gap: 2px; margin-left: auto; }
.dog-page :is(.languages a, .home-link) { padding: 8px; min-height: 44px; display: inline-flex; align-items: center; font-size: .85rem; }
.dog-page .languages [aria-current] { color: var(--dog-green); background: var(--dog-tint); border-radius: 7px; font-weight: 700; }
.dog-page footer { color: var(--dog-dim); border-top: 1px solid var(--dog-rule); padding-block: 22px; }
.dog-page footer :is(span,a) { font-size: .8rem; }
.dog-page footer a { min-height: 40px; display: inline-flex; align-items: center; }
.dog-page footer span:last-child { margin-left: auto; }
.dog-page :is(.skip, .skip-link) { position: absolute; left: 10px; top: -100px; padding: 12px; background: #fff; z-index: 2; }
.dog-page :is(.skip, .skip-link):focus { top: 8px; }
#dog-app { width: min(1112px,100%); margin: auto; padding: clamp(22px,5vw,66px) clamp(16px,3vw,30px); }
.dog-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(22px,4vw,62px); margin: 0 auto 30px; }
.dog-page .dog-intro-copy > * + * { margin-top: 15px; }
.dog-intro h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.14; letter-spacing: -.044em; }
.dog-intro-copy > p { max-width: 52ch; color: var(--dog-dim); }
.dog-page .dog-intro-meta, .dog-kicker { color: var(--dog-green); font-size: .88rem; font-weight: 720; }
.dog-hero-image { width: 100%; height: auto; border-radius: 16px; display: block; }
.dog-page :is(.dog-action, .dog-secondary) {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px;
  padding: 11px 21px; border: 1px solid var(--dog-green); border-radius: 9px;
  font-size: .96rem; line-height: 1.4; font-weight: 670; text-align: center;
}
.dog-page .dog-action { background: var(--dog-green); color: #fff; }
.dog-page .dog-secondary { background: #fff; color: var(--dog-green); border-color: #b0bfac; }
.dog-page .dog-action:disabled { color: #545e54; background: #e7ebe1; border-color: var(--dog-rule); }
.dog-intro #dog-start { margin-top: 23px; min-width: 145px; }
.dog-question { max-width: 960px; margin: auto; }
.dog-steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--dog-dim); font-size: .88rem; }
.dog-steps button { display: flex; align-items: center; gap: .5em; min-height: 44px; background: transparent; color: var(--dog-green); padding: 0 6px 0 0; }
.dog-progress { width: 100%; height: 6px; display: block; appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: #e2e5d9; margin: 4px 0 clamp(20px, 3vw, 35px); color: var(--dog-green); }
.dog-progress::-webkit-progress-bar { background: #e2e5d9; }
.dog-progress::-webkit-progress-value { background: var(--dog-green); }
.dog-progress::-moz-progress-bar { background: var(--dog-green); }
.dog-question-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px,4vw,56px); align-items: start; }
.dog-question-photo { width: 100%; height: auto; max-height: 430px; object-fit: cover; border-radius: 13px; background: var(--dog-tint); }
.dog-question-copy h1 { font-size: clamp(1.53rem,2.9vw,2.35rem); line-height: 1.3; letter-spacing: -.034em; }
.dog-help { color: var(--dog-dim); font-size: .96rem; padding: 12px 0 18px; }
.dog-region, .dog-breed-choice { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; font-weight: 650; }
.dog-region { margin-top: 12px; }
.dog-page :is(.dog-region, .dog-breed-choice) select {
  min-height: 44px; max-width: 100%; min-width: 0; padding: 6px 10px; font-size: 1rem;
  background: #fffefa; border: 1px solid #879881; border-radius: 7px; color: var(--dog-ink);
}
.dog-question-notice { margin-bottom: 12px; padding: 8px 12px; border-left: 3px solid #8caa85; background: var(--dog-tint); }
.dog-choices { display: grid; gap: 8px; }
.dog-choice {
  display: flex; align-items: center; justify-content: space-between; gap: .7em; min-height: 55px;
  padding: 13px 16px; border: 1px solid #bfcbb7; border-radius: 9px; color: var(--dog-ink); background: #fffefa;
  font-weight: 640; line-height: 1.5; text-align: left;
}
.dog-choice-arrow { margin-left: auto; color: #53765f; }
.dog-choice small { color: var(--dog-green); font-size: .75rem; }
.dog-choice[data-selected] { background: #e1ecda; border-color: var(--dog-green); }
@media (hover:hover) {
  .dog-choice:hover, .dog-page .dog-secondary:hover { border-color: var(--dog-green); background: #eff4e8; }
  .dog-page .dog-action:not(:disabled):hover { background: #193e31; }
}
.dog-page .dog-result { width: 100%; max-width: 910px; padding: 0; }
.dog-result-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px,4vw,52px); }
.dog-result-photo { position: relative; }
.dog-result-photo img { display: block; width: 100%; height: auto; border-radius: 13px; }
.dog-result-photo figcaption { margin-top: 4px; text-align: right; }
.dog-result-photo figcaption a { display: inline-flex; align-items: center; min-height: 28px; font-size: .75rem; color: var(--dog-dim); text-decoration: underline; }
.dog-result h1 { margin: .15em 0 .35em; font-size: clamp(2.1rem, 4.9vw, 4rem); line-height: 1.12; letter-spacing: -.043em; }
.dog-result .dog-lead { color: var(--dog-dim); font-size: 1.03rem; }
.dog-result :is(h2,h3) { font-size: clamp(1.17rem,2.1vw,1.55rem); line-height: 1.35; letter-spacing: -.023em; }
.dog-result ul { margin: 8px 0 0; padding-left: 1.25em; }
.dog-result li + li { margin-top: 5px; }
.dog-fit-notes { border-top: 2px solid #91ab90; padding-top: 13px; margin: 20px 0; }
.dog-fit-notes h2, .dog-advice h2 { color: var(--dog-green); margin-bottom: 8px; }
.dog-plan-summary { margin: 20px 0; padding: clamp(15px,3vw,24px); border-radius: 12px; background: var(--dog-tint); }
.dog-plan-summary h2 { color: var(--dog-green); }
.dog-page .dog-plan-profile { margin: 6px 0 12px; color: var(--dog-green); }
.dog-plan-details { margin: 0; }
.dog-plan-details > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px 15px; align-items: baseline; padding-block: 8px; }
.dog-plan-details > div + div { border-top: 1px solid #b5c4ad; }
.dog-plan-details dt { color: var(--dog-dim); }
.dog-plan-details dd { margin: 0; text-align: end; font-weight: 650; font-variant-numeric: tabular-nums; }
.dog-breed-costs {
  margin-block: 12px; padding: 12px clamp(12px,2.5vw,20px) 4px; border: 1px solid #c4d1bc; border-radius: 10px;
  background: #f3f6ee; text-align: start;
}
.dog-estimates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 16px; margin: 0; }
.dog-estimates dt { color: var(--dog-dim); font-size: .88rem; }
.dog-estimates dd { margin: 4px 0 0; font-size: clamp(.95rem,2vw,1.12rem); font-weight: 710; font-variant-numeric: tabular-nums; }
.dog-price-value { white-space: nowrap; }
html[lang="ko"] .dog-estimates dt { word-break: keep-all; }
@supports (grid-template-rows: subgrid) {
  .dog-estimates > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 3px; }
  .dog-estimates dd { margin: 0; }
}
.dog-page .dog-cost-gap { margin: 10px 0 0; padding-top: 7px; border-top: 1px solid #cbd7c3; font-size: .92rem; }
.dog-cost-gap strong { display: block; color: var(--dog-green); }
.dog-cost-gap [data-status="shortfall"] { color: #7b3a17; font-weight: 680; }
.dog-page .dog-cost-basis { margin-top: 4px; color: var(--dog-dim); font-size: .86rem; }
.dog-cost-method { font-size: .88rem; }
.dog-cost-method summary { min-height: 44px; align-content: center; cursor: pointer; color: var(--dog-green); font-weight: 640; }
.dog-cost-method[open] { padding-bottom: 10px; }
.dog-cost-method p + p { margin-top: 7px; }
.dog-cost-method a { display: inline-block; padding-block: 4px; color: var(--dog-green); text-decoration: underline; text-underline-offset: .18em; }
.dog-cost-parts { width: 100%; border-collapse: collapse; margin-block: 12px; font-variant-numeric: tabular-nums; }
.dog-cost-parts caption { margin-bottom: 4px; text-align: start; color: var(--dog-green); font-weight: 700; }
.dog-cost-parts th, .dog-cost-parts td { padding: 5px 0; border-bottom: 1px solid #d4ddcd; }
.dog-cost-parts th { padding-inline-end: 10px; text-align: start; font-weight: 550; }
.dog-cost-parts td { text-align: end; }
.dog-alternative > .dog-breed-costs { grid-column: 1 / -1; margin: 0; }
@media(max-width:440px) {
  .dog-plan-details > div { grid-template-columns: 1fr; gap: 2px; }
  .dog-plan-details dd { text-align: start; }
}
.dog-preparation {
  margin: 20px 0 25px; padding: clamp(16px,3vw,25px); border: 1px solid #b9c6af; border-radius: 13px; background: #fffefa;
}
.dog-preparation h2 { color: var(--dog-green); }
.dog-breed-choice { margin: 12px 0; color: var(--dog-dim); font-size: .94rem; }
.dog-prep-summary { display: flex; gap: 12px; align-items: center; margin: 15px 0 10px; border-top: 1px solid var(--dog-rule); padding-top: 14px; }
.dog-prep-summary img { flex: none; width: 58px; height: 58px; border-radius: 9px; object-fit: cover; background: var(--dog-tint); }
.dog-result .dog-prep-summary h3 { font-size: 1.12rem; }
.dog-preparation li::marker { color: var(--dog-green); }
.dog-prep-details { margin-top: 8px; }
.dog-prep-details summary { cursor: pointer; min-height: 44px; align-content: center; color: var(--dog-green); font-weight: 650; }
.dog-prep-details a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dog-green); text-decoration: underline; }
.dog-page .dog-cost-context { color: var(--dog-green); font-size: .88rem; font-weight: 650; }
.dog-question-copy .dog-cost-context { padding-top: 8px; }
.dog-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dog-sharing { padding: clamp(17px,3vw,27px); border: 1px solid #c8d5c0; border-radius: 14px; background: var(--dog-tint); }
.dog-sharing > p { margin-top: 6px; color: var(--dog-dim); }
.dog-share-actions, .dog-end-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dog-sharing .dog-status:not(:empty) { margin-top: 12px; color: var(--dog-green); }
.dog-sharing .dog-status:empty { display: none; }
.dog-manual { display: grid; gap: 6px; margin-top: 12px; }
.dog-manual input { width: 100%; padding: 10px; font-size: 16px; border: 1px solid var(--dog-rule); border-radius: 6px; }
.dog-sharing [data-card-preview] { margin-top: 14px; }
.dog-sharing [data-card-preview] img { width: 100%; max-width: 580px; height: auto; display: block; }
.dog-sharing [data-card-preview] a, .dog-alternative a, .dog-sources a { color: var(--dog-green); text-decoration: underline; text-underline-offset: .18em; }
.dog-alternatives, .dog-advice, .dog-personal, .dog-sources { margin-top: 28px; }
.dog-advice { margin-bottom: 25px; }
.dog-alternative { display: grid; grid-template-columns: minmax(145px, 26%) 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--dog-rule); }
.dog-alternative img { display: block; width: 100%; height: auto; border-radius: 9px; }
.dog-alternative > div:first-of-type > * + * { margin-top: 7px; }
.dog-alternative h3 { color: var(--dog-green); }
.dog-alternative a { display: inline-block; font-size: .9rem; }
.dog-alt-caution, .dog-personal { color: var(--dog-dim); font-size: .94rem; }
.dog-result .dog-personal { border-left: 3px solid #859f84; padding: 6px 14px; margin: 18px 0; }
.dog-sources { border-block: 1px solid var(--dog-rule); padding: 5px 0; }
.dog-sources summary { min-height: 43px; align-content: center; cursor: pointer; color: var(--dog-green); font-weight: 650; }
.dog-sources ul { margin-bottom: 13px; }
.dog-end-actions { margin-top: 22px; }
.dog-end-actions > a { margin-left: auto; padding: 10px 0; color: var(--dog-green); }
@media(max-width:690px) {
  .dog-page .site-bar { gap: 6px; padding-block: 6px; min-height: 54px; }
  .dog-page .site-bar :is(.languages a,.home-link) { font-size: .76rem; padding-inline: 5px; }
  .dog-page .wordmark { font-size: 21px; }
  .dog-page footer { gap: 0 12px; }
  .dog-intro, .dog-question-layout, .dog-result-intro { grid-template-columns: minmax(0,1fr); }
  .dog-hero-image { grid-row: 1; max-height: 280px; object-fit: cover; }
  .dog-intro { gap: 18px; }
  .dog-question-layout { gap: 17px; }
  .dog-question-photo { max-height: clamp(125px,26vh,195px); }
  .dog-progress { margin-bottom: 16px; }
  .dog-choice { min-height: 48px; padding: 10px 13px; }
  .dog-help { padding: 8px 0 13px; }
  .dog-result-intro { gap: 9px; }
  .dog-result-photo img { max-height: 250px; object-fit: contain; background: #ebeddf; }
  .dog-share-actions > * { flex: 1 1 120px; }
  .dog-share-actions .dog-action { flex-basis: 100%; }
  .dog-page .dog-share-actions .dog-secondary { padding-inline: 10px; }
  .dog-alternative { grid-template-columns: minmax(84px, 28%) 1fr; gap: 12px; }
  .dog-end-actions > a { margin-left: 0; }
}
@media(max-width:370px) {
  .dog-page .site-bar .home-link { margin-left: auto; padding-left: 0; }
  .dog-end-actions > * { flex: 1 1 auto; }
}
@media(prefers-reduced-motion: reduce) {
  .dog-page * { scroll-behavior: auto !important; }
}
