/* ============================================
   BREED LOOKUP — Design System
   breedlookup.com
   ============================================ */

:root {
  --color-brand: #1B7A6E;
  --color-brand-hover: #15665C;
  --color-brand-light: #E8F5F2;
  --color-brand-subtle: #D4EDE9;
  --color-brand-dark: #0F4F46;
  --color-dog: #C4723A;
  --color-dog-hover: #A85E2E;
  --color-dog-light: #FFF3EA;
  --color-cat: #7B6B94;
  --color-cat-hover: #695A82;
  --color-cat-light: #F3F0F8;
  --color-bg: #FAFAF7;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F4F3EF;
  --color-border: #E3E1DB;
  --color-border-light: #EDEBE6;
  --color-text: #1A1A1A;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-success: #2D8F3E;
  --color-success-light: #EDF5ED;
  --color-info: #2E6B8A;
  --color-info-light: #E8F1F6;
  --color-warning: #B8860B;
  --color-warning-light: #FFF8ED;
  --color-danger: #C0392B;
  --color-danger-light: #FDEEEC;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-full: 100px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --accent: var(--color-brand);
  --accent-hover: var(--color-brand-hover);
  --accent-light: var(--color-brand-light);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* === SKIP LINK === */
.skip-link { position: absolute; top: -100%; left: 0; background: var(--accent); color: #fff; padding: 0.75rem 1.5rem; z-index: 1000; font-weight: 600; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { top: 0; color: #fff; }

/* === FOCUS STATES === */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* === NAV === */
.site-nav { display: flex; align-items: center; justify-content: space-between; max-width: 960px; margin: 0 auto; padding: 0.5rem 1.25rem; }
.site-nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); }
.site-nav .logo-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--color-text); }
.site-nav .logo-text span { color: var(--color-brand); }

.nav-links { display: flex; gap: 0.25rem; list-style: none; align-items: center; }
.nav-item { position: relative; }
.nav-item-btn { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--color-text-secondary); padding: 10px 16px; border-radius: var(--radius-full); transition: all 0.2s; cursor: pointer; background: none; border: none; }
.nav-item-btn img { width: 28px; height: 28px; border-radius: 0; }
.nav-item-btn .nav-arrow { font-size: 0.6rem; transition: transform 0.2s; color: var(--color-text-muted); }
.nav-item-btn:hover { background: var(--color-surface-alt); color: var(--color-text); }

.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 310px; padding: 6px; padding-top: 10px; z-index: 200; }
.nav-dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown { display: block; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown a { display: block; font-size: 0.95rem; font-weight: 500; color: var(--color-text-secondary); padding: 12px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: all 0.15s; }
.nav-dropdown a:hover { background: var(--color-surface-alt); color: var(--color-text); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text); padding: 4px; }

/* === MOBILE NAV === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: 1.5px solid var(--color-border); box-shadow: var(--shadow-md); padding: 0.5rem; z-index: 100; }
  .nav-links.open { display: flex; }
  .nav-dropdown { position: static; border: none; box-shadow: none; min-width: 100%; padding: 0 0 0 1rem; }
  .nav-dropdown::before { display: none; }
}

/* === MAIN CONTENT === */
main { max-width: 760px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

/* === BREADCRUMBS === */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0.35rem; font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.35rem; color: var(--color-border); }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb a:hover { color: var(--accent); }

/* === BREED HERO === */
.breed-hero { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.breed-image-wrap { flex-shrink: 0; }
.breed-image { width: 140px; height: 140px; border-radius: var(--radius-xl); background: var(--color-surface-alt); }
.breed-intro { flex: 1; }
.breed-intro h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.15; margin-bottom: 0.35rem; }
.breed-tagline { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.5; }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--color-text-secondary); background: var(--color-surface-alt); padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 0.5rem; }
.pronunciation { font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; margin-top: 0.25rem; }

@media (max-width: 600px) {
  .breed-hero { flex-direction: column; text-align: center; }
  .breed-intro h1 { font-size: 1.6rem; }
}

/* === SHORT ANSWER BOX === */
.short-answer { background: var(--color-brand-light); border: 1.5px solid var(--color-brand-subtle); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.short-answer-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--color-brand-dark); margin-bottom: 0.5rem; }
.short-answer p { font-size: 0.95rem; color: var(--color-text); line-height: 1.6; margin: 0; }

/* === STAT CARDS === */
.breed-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-md); padding: 0.85rem; text-align: center; }
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.25rem; }
.stat-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--color-text); }
.stat-metric { font-size: 0.75rem; color: var(--color-text-muted); }

@media (max-width: 480px) {
  .breed-stats { grid-template-columns: repeat(2, 1fr); }
}

/* === CONTENT CARDS === */
.content-card { background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.content-card h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.content-card p { margin-bottom: 0.85rem; line-height: 1.65; color: var(--color-text); }
.content-card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); font-size: 1rem; }

/* === CALLOUTS === */
.callout { border-radius: var(--radius-md); padding: 1rem 1.25rem; margin: 1rem 0; font-size: 0.92rem; line-height: 1.6; }
.callout-warn { background: var(--color-warning-light); border-left: 3px solid var(--color-warning); }
.callout-danger { background: var(--color-danger-light); border-left: 3px solid var(--color-danger); }
.callout-info { background: var(--color-info-light); border-left: 3px solid var(--color-info); }

/* === HEALTH GRID === */
.health-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
.health-tag { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; padding: 5px 12px; background: var(--color-surface-alt); border-radius: var(--radius-full); }
.health-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-high { background: var(--color-danger); }
.dot-mid { background: var(--color-warning); }
.dot-low { background: var(--color-info); }

/* === TRAIT BARS === */
.trait-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.trait-label { font-size: 0.85rem; font-weight: 500; min-width: 100px; color: var(--color-text-secondary); }
.trait-bar-wrap { flex: 1; display: flex; align-items: center; gap: 0.5rem; }
.trait-bar { flex: 1; height: 8px; background: var(--color-surface-alt); border-radius: 4px; overflow: hidden; }
.trait-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }
.trait-text { font-size: 0.8rem; color: var(--color-text-muted); min-width: 80px; text-align: right; }

/* === TOOL CTA === */
.tool-cta-box { background: var(--color-surface-alt); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tool-cta-box p { margin: 0; font-size: 0.9rem; }
.cta-btn { display: inline-block; background: var(--accent); color: #fff; padding: 0.6rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; transition: background 0.2s; white-space: nowrap; }
.cta-btn:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 480px) {
  .tool-cta-box { flex-direction: column; text-align: center; }
}

/* === BREED TOOLS GRID === */
.breed-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tool-card-compact { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--color-surface-alt); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); transition: all 0.15s; border: 1.5px solid transparent; }
.tool-card-compact:hover { border-color: var(--color-border); background: var(--color-surface); }
.tc-icon { font-size: 1.25rem; }
.tc-name { font-weight: 600; font-size: 0.88rem; }
.tc-desc { font-size: 0.78rem; color: var(--color-text-muted); }

@media (max-width: 480px) {
  .breed-tools-grid { grid-template-columns: 1fr; }
}

/* === FAQ === */
.faq-section { margin-top: 0.5rem; }
.faq-item { border-bottom: 1px solid var(--color-border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: 1rem 0; font-size: 0.95rem; font-weight: 600; background: none; border: none; cursor: pointer; color: var(--color-text); font-family: var(--font-body); }
.faq-question:hover { color: var(--accent); }
.faq-arrow { font-size: 0.7rem; color: var(--color-text-muted); transition: transform 0.2s; }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 1rem; }
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.92rem; line-height: 1.65; color: var(--color-text-secondary); }

/* === RELATED BREEDS === */
.related-breeds { margin: 1.5rem 0; }
.related-breeds h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.breed-link-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.breed-link { display: inline-block; padding: 0.4rem 1rem; background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 500; color: var(--color-text-secondary); transition: all 0.15s; }
.breed-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.view-all-link { font-size: 0.88rem; font-weight: 600; color: var(--accent); }

/* === DISCLAIMER === */
.disclaimer { margin: 2rem 0 1rem; padding: 1rem 1.25rem; background: var(--color-surface-alt); border-radius: var(--radius-md); }
.disclaimer p { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* === AD ZONE === */
.ad-zone { margin: 1.5rem 0; min-height: 1px; }

/* === FOOTER === */
.site-footer { max-width: 960px; margin: 0 auto; padding: 3rem 1.25rem 2rem; border-top: 1.5px solid var(--color-border); }
.footer-brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.footer-brand span { color: var(--color-brand); }
.footer-tagline { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--color-text-secondary); padding: 0.25rem 0; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { font-size: 0.78rem; color: var(--color-text-muted); padding-top: 1rem; border-top: 1px solid var(--color-border-light); }

@media (max-width: 768px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
}

/* === HERO (Homepage) === */
.hero { text-align: center; padding: 2.5rem 1rem; }
.hero h1 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1.15; margin-bottom: 0.75rem; }
.hero h1 span { color: var(--color-brand); }
.hero p { font-size: 1.1rem; color: var(--color-text-secondary); max-width: 560px; margin: 0 auto 1.5rem; line-height: 1.55; }

/* === BREED INDEX GRID === */
.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.breed-grid-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); transition: all 0.15s; }
.breed-grid-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.breed-grid-card .breed-thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-surface-alt); flex-shrink: 0; }
.breed-grid-card .breed-grid-name { font-weight: 600; font-size: 0.9rem; }
.breed-grid-card .breed-grid-meta { font-size: 0.78rem; color: var(--color-text-muted); }

/* === TOOL GRID (Homepage) === */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.tool-grid-card { background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-lg); padding: 1.25rem; text-decoration: none; color: var(--color-text); transition: all 0.15s; }
.tool-grid-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.tool-grid-card .tool-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.tool-grid-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; }
.tool-grid-card p { font-size: 0.85rem; color: var(--color-text-secondary); margin: 0; }

/* === CALCULATOR STYLES === */
.calc-section { background: var(--color-surface); border: 1.5px solid var(--color-border-light); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.calc-row { margin-bottom: 1rem; }
.calc-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.calc-row input, .calc-row select { width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: var(--color-surface); color: var(--color-text); transition: border-color 0.2s; }
.calc-row input:focus, .calc-row select:focus { border-color: var(--accent); outline: none; }

.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { padding: 0.45rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; cursor: pointer; background: var(--color-surface); color: var(--color-text-secondary); transition: all 0.15s; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.calc-result { background: var(--color-brand-light); border: 1.5px solid var(--color-brand-subtle); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-top: 1rem; text-align: center; }
.calc-result .result-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-brand-dark); }
.calc-result .result-label { font-size: 0.88rem; color: var(--color-text-secondary); }

/* === TRUST BAR === */
.trust-bar { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin: 1.5rem 0; font-size: 0.85rem; color: var(--color-text-muted); }
.trust-item { display: flex; align-items: center; gap: 0.4rem; }

/* === WEIGHT DATABASE TABLE === */
.data-table-wrap { overflow-x: auto; margin: 1rem 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { text-align: left; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text-muted); padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--color-border); cursor: pointer; white-space: nowrap; }
.data-table th:hover { color: var(--accent); }
.data-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--color-border-light); }
.data-table tr:hover { background: var(--color-surface-alt); }
.data-table a { font-weight: 500; }

/* === LAST REVIEWED === */
.last-reviewed { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 1rem; }

/* ============================================
   Calculator & Tool Page Styles
   (ported from original site)
   ============================================ */
/* === PAGE HEADER === */
.page-header { text-align: center; padding: 2rem 1.25rem 1.5rem; max-width: 720px; margin: 0 auto; }
.page-header .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-light); color: var(--accent); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 1rem; letter-spacing: 0.02em; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 600; line-height: 1.2; color: var(--color-text); margin-bottom: 0.75rem; }
.page-header .subtitle { font-size: 1.05rem; color: var(--color-text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.55; }
/* === CALCULATOR === */
.calc-container { max-width: 600px; margin: 1rem auto 0; padding: 0 1.25rem; }
.calc-card { background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.calc-card { padding: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group:last-of-type { margin-bottom: 0; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: 8px; letter-spacing: 0.01em; }
.form-label .hint { font-weight: 400; color: var(--color-text-muted); font-size: 0.8rem; }
.form-input { width: 100%; font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; padding: 12px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); transition: border-color 0.2s; outline: none; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,122,110,0.15); }
.form-input::placeholder { color: var(--color-text-muted); font-weight: 400; }
.input-with-unit { position: relative; flex: 1; }
.input-with-unit input { width: 100%; font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; padding: 12px 16px; padding-right: 72px; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); transition: border-color 0.2s; outline: none; }
.input-with-unit input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,122,110,0.15); }
.input-with-unit input::placeholder { color: var(--color-text-muted); font-weight: 400; }
.input-with-unit.food-unit input { padding-right: 140px; }
.unit-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; background: var(--color-surface-alt); border-radius: 8px; padding: 2px; gap: 2px; }
.unit-toggle button { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border: none; border-radius: 6px; cursor: pointer; background: transparent; color: var(--color-text-muted); transition: all 0.2s; }
.unit-toggle button.active { background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-sm); }
.form-select { width: 100%; font-family: var(--font-body); font-size: 1rem; font-weight: 500; padding: 12px 40px 12px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239C8E82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; transition: border-color 0.2s; outline: none; }
.form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,122,110,0.15); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--color-surface-alt); border-radius: var(--radius-md); cursor: pointer; transition: background 0.2s; user-select: none; }
.toggle-row:hover { background: var(--color-border-light); }
.toggle-row .toggle-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.toggle-switch { width: 44px; height: 24px; border-radius: 12px; background: var(--color-border); position: relative; transition: background 0.2s; }
.toggle-switch::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: white; top: 3px; left: 3px; transition: transform 0.2s; box-shadow: var(--shadow-sm); }
.toggle-switch.on { background: var(--accent); }
.toggle-switch.on::after { transform: translateX(20px); }
.pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-group button { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; padding: 8px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-text-secondary); cursor: pointer; transition: all 0.2s; }
.pill-group button:hover { border-color: var(--accent); color: var(--accent); }
.pill-group button.active { background: var(--accent-light); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.btn-primary { display: block; width: 100%; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: white; background: var(--accent); border: none; border-radius: var(--radius-md); padding: 14px; cursor: pointer; transition: all 0.2s; margin-top: 1.5rem; letter-spacing: 0.01em; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 15px rgba(27,122,110,0.3); }
/* === RESULTS === */
.results-section { max-width: 600px; margin: 1.5rem auto 0; padding: 0 1.25rem; display: none; }
.results-section.visible { display: block; animation: fadeInUp 0.3s ease; }
.results-card { background: var(--color-surface); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.results-header { background: linear-gradient(135deg, #2F2520 0%, #4A3D35 100%); padding: 2rem; text-align: center; color: white; }
.pet-name-display { font-family: var(--font-display); font-size: 1rem; font-weight: 500; opacity: 0.85; margin-bottom: 4px; }
.pet-summary { font-size: 0.8rem; opacity: 0.65; margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.calorie-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.calorie-unit { font-size: 0.85rem; font-weight: 500; opacity: 0.75; margin-top: 4px; }
.calorie-range { font-size: 0.78rem; opacity: 0.55; margin-top: 8px; }
.results-body { padding: 1.5rem 2rem; }
.results-body { padding: 1.25rem; }
.results-header { padding: 1.5rem; }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border-light); }
.result-item:last-of-type { border-bottom: none; }
.result-label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--color-text-secondary); }
.result-label .icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.result-value { font-size: 1rem; font-weight: 600; color: var(--color-text); }
.icon-orange { background: var(--color-brand-light); }
.icon-green { background: var(--color-success-light); }
.icon-blue { background: var(--color-info-light); }
.icon-yellow { background: var(--color-warning-light); }
/* Cross-link callout */
.cross-link { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--color-surface-alt); border-radius: var(--radius-md); border-left: 3px solid var(--accent); }
.cross-link p { font-size: 0.88rem; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 6px; }
.cross-link a { font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.cross-link a:hover { color: var(--accent-hover); }
/* Treat tip — mirrors disclaimer pattern */
.treat-tip { max-width: 600px; margin: 1.5rem auto; padding: 0 1.25rem; }
.treat-tip .disclaimer-inner { background: var(--color-warning-light); border-left-color: var(--color-warning); }
.treat-tip .disclaimer-inner p { color: var(--color-text-secondary); }
.treat-tip .disclaimer-inner strong { color: var(--color-text); }
/* Food inputs group (wet + dry side by side) */
.food-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.food-inputs-row { grid-template-columns: 1fr; }
.trust-item .check { color: var(--color-success); font-size: 1rem; }
/* === SEO CONTENT === */
.seo-content { max-width: 680px; margin: 3rem auto; padding: 0 1.25rem; }
.seo-content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.75rem; margin-top: 2.5rem; }
.seo-content h2:first-of-type { margin-top: 0; }
.seo-content h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; margin-top: 2rem; }
.seo-content p { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.seo-content strong { color: var(--color-text); font-weight: 600; }
.ref-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.88rem; }
.ref-table thead th { text-align: left; font-weight: 600; color: var(--color-text); padding: 10px 14px; background: var(--color-surface-alt); border-bottom: 2px solid var(--color-border); }
.ref-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--color-border-light); color: var(--color-text-secondary); }
.ref-table tbody tr:hover { background: var(--color-surface-alt); }
.pet-name-highlight { color: var(--color-brand); font-weight: 600; }
/* removed: print-only rules extracted without @media wrapper */
