:root {
  --ink: #173b35;
  --ink-2: #31564f;
  --green: #226c5a;
  --green-dark: #164d40;
  --mint: #e7f4eb;
  --mint-2: #f1f8f2;
  --cream: #fbf8ef;
  --white: #fff;
  --gold: #e4a72e;
  --coral: #db785e;
  --line: #dce8df;
  --muted: #6d817c;
  --shadow: 0 18px 50px rgba(24, 67, 55, .09);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; line-height: 1.55; }
body.dark {
  --ink:#e8f3ef; --ink-2:#c2d7d0; --green:#6fc3a7; --green-dark:#4fa68a; --mint:#1d3d35;
  --mint-2:#142d27; --cream:#24271f; --white:#17312b; --line:#355149; --muted:#9bb7ae;
  --shadow:0 18px 50px rgba(0,0,0,.28); background:#10231f;
}
body.dark .site-header, body.dark .mobile-nav { background:rgba(16,35,31,.96); }
body.dark .panel, body.dark .feature-card, body.dark .guide-card, body.dark .tool-card, body.dark .info-card,
body.dark .modal, body.dark .resource-item, body.dark input, body.dark select, body.dark textarea,
body.dark .source-chip, body.dark .followup-chip, body.dark .site-search-panel, body.dark .site-search-result { background:var(--white); color:var(--ink); }
body.dark .hero::after { background:linear-gradient(90deg,rgba(16,35,31,.98) 5%,rgba(16,35,31,.9) 38%,rgba(16,35,31,.12) 70%); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-family: "Manrope", sans-serif; line-height: 1.14; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.site-header { height: 78px; padding: 0 max(4vw, 24px); display: flex; align-items: center; gap: 34px; position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23,59,53,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Manrope"; font-size: 13px; line-height: 1.1; min-width: 182px; }
.brand b { color: var(--green); font-size: 15px; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; flex:0 0 auto; overflow:hidden; border:1px solid var(--line); border-radius:50%; background:#fff; filter:drop-shadow(0 5px 10px rgba(22,77,64,.18)); transition:.2s ease; }
.brand-mark img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; transform:scale(1.05); }
.brand:hover .brand-mark { transform:rotate(-3deg) scale(1.04); }
.profile-shortcut { display:flex; align-items:center; gap:8px; flex:0 0 auto; padding:5px 9px 5px 5px; border:1px solid var(--line); border-radius:12px; background:var(--white); white-space:nowrap; }
.profile-shortcut:hover { border-color:#a9cdbb; background:var(--mint-2); transform:translateY(-1px); }
.profile-shortcut-avatar { width:32px; height:32px; display:grid; place-items:center; flex:0 0 auto; overflow:hidden; border-radius:9px; background:var(--green); color:white; font-size:11px; font-weight:800; }
.profile-shortcut-avatar img, .breeder-avatar img { width:100%; height:100%; display:block; margin:auto; border-radius:inherit; object-position:50% 50%; }
.profile-image.fit-contain { object-fit:contain; object-position:50% 50%; background:var(--white); }
.profile-image.fit-cover { object-fit:cover; object-position:50% 32%; }
.profile-shortcut > span:last-child { display:grid; line-height:1.15; }
.profile-shortcut small { color:var(--muted); font-size:9px; }
.profile-shortcut b { max-width:90px; overflow:hidden; font-size:11px; text-overflow:ellipsis; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(16px, 2vw, 31px); flex: 1; font-size: 14px; font-weight: 600; }
.desktop-nav a { padding: 28px 0 25px; border-bottom: 3px solid transparent; transition: .2s; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--green); border-color: var(--gold); }
.header-cta, .btn { border: 0; border-radius: 11px; background: var(--green); color: white; padding: 12px 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .2s ease; }
.header-utilities { display:flex; gap:6px; }
.utility-button { width:34px; height:34px; border:1px solid var(--line); border-radius:10px; background:var(--white); color:var(--green); font-weight:800; cursor:pointer; }
.utility-button:hover { background:var(--mint); }
.header-cta:hover, .btn:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(34,108,90,.2); }
.btn.secondary { color: var(--green); background: white; border: 1px solid #bfd4c8; }
.btn.secondary:hover { background: var(--mint-2); box-shadow: none; }
.btn.gold { color: var(--ink); background: #f3c75c; }
.menu-button { display: none; margin-left: auto; border: 0; background: none; font-size: 25px; color: var(--ink); }
.mobile-nav { display: none; position: fixed; z-index: 25; top: 78px; left: 0; right: 0; padding: 12px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 11px 0; font-weight: 600; }
.search-open { overflow:hidden; }
.site-search-backdrop { position:fixed; inset:0; z-index:90; padding:clamp(18px,7vh,70px) 18px; background:rgba(9,31,26,.64); backdrop-filter:blur(8px); overflow-y:auto; }
.site-search-backdrop[hidden] { display:none; }
.site-search-panel { width:min(760px,100%); margin:auto; padding:30px; background:var(--white); border:1px solid var(--line); border-radius:24px; box-shadow:0 30px 90px rgba(8,35,28,.3); }
.site-search-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.site-search-head .eyebrow { margin-bottom:8px; }
.site-search-head h2 { font-size:clamp(25px,4vw,36px); }
.search-close { width:42px; height:42px; flex:0 0 auto; border:1px solid var(--line); border-radius:12px; background:var(--mint-2); color:var(--ink); font-size:25px; cursor:pointer; }
.site-search-box { display:flex; align-items:center; gap:11px; margin-top:18px; padding:5px 16px; border:2px solid var(--green); border-radius:15px; background:var(--white); box-shadow:0 8px 24px rgba(34,108,90,.1); }
.site-search-box > span { color:var(--green); font-size:24px; }
.site-search-box input { width:100%; min-width:0; padding:12px 0; border:0; outline:0; background:transparent; color:var(--ink); font-size:16px; }
.site-search-meta { margin:16px 2px 9px; color:var(--muted); font-size:12px; font-weight:700; }
.site-search-results { display:grid; gap:7px; }
.site-search-result { display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:13px; padding:12px; border:1px solid transparent; border-radius:14px; background:var(--white); transition:.16s ease; }
.site-search-result:hover, .site-search-result:focus { border-color:#b7d7c7; background:var(--mint-2); transform:translateY(-1px); outline:none; }
.search-result-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--mint); font-size:20px; }
.site-search-result span:nth-child(2) { min-width:0; display:grid; }
.site-search-result small { color:var(--green); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.site-search-result strong { font-family:"Manrope"; line-height:1.3; }
.site-search-result em { overflow:hidden; color:var(--muted); font-size:12px; font-style:normal; text-overflow:ellipsis; white-space:nowrap; }
.site-search-result > b { color:var(--green); }
.site-search-empty { padding:28px; text-align:center; border:1px dashed var(--line); border-radius:16px; background:var(--mint-2); }
.site-search-empty p { color:var(--muted); }
.site-search-hint { margin:17px 0 0; text-align:center; color:var(--muted); font-size:11px; }
kbd { padding:2px 6px; border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; background:var(--mint-2); font:600 10px "DM Sans"; }
.member-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
.member-sidebar, .member-content { border:1px solid var(--line); border-radius:20px; background:var(--white); box-shadow:var(--shadow); }
.member-sidebar { position:sticky; top:102px; padding:18px; }
.member-identity { display:flex; align-items:center; gap:12px; padding:4px 2px 18px; border-bottom:1px solid var(--line); }
.member-identity > div { min-width:0; display:grid; }
.member-identity strong, .member-identity small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.member-identity small { color:var(--muted); font-size:11px; }
.member-sidebar nav { display:grid; gap:5px; padding:14px 0; }
.member-sidebar nav a { padding:10px 12px; border-radius:10px; color:var(--ink-2); font-weight:700; font-size:13px; }
.member-sidebar nav a:hover, .member-sidebar nav a.active { background:var(--mint); color:var(--green); }
.member-community-link { display:block; padding-top:14px; border-top:1px solid var(--line); color:var(--green); font-size:12px; font-weight:700; }
.member-content { min-height:460px; }
.account-section { padding:clamp(24px,5vw,46px); }
.account-section > p { max-width:720px; color:var(--muted); }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 0; border-bottom:1px solid var(--line); cursor:pointer; }
.setting-row > span { display:grid; }
.setting-row small { color:var(--muted); }
.setting-row input { width:20px; height:20px; accent-color:var(--green); }
.account-preferences { margin-top:22px; }
.billing-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.plan-status { padding:7px 11px; border-radius:99px; background:var(--mint); color:var(--green); font-size:11px; font-weight:800; white-space:nowrap; }
.plan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:22px 0; }
.plan-card { display:flex; flex-direction:column; padding:20px; border:1px solid var(--line); border-radius:17px; background:var(--white); }
.plan-card.selected { outline:2px solid var(--green); }
.plan-card.featured { background:linear-gradient(160deg,var(--mint-2),var(--white)); }
.plan-card h3 { margin-top:15px; }
.plan-card p { flex:1; color:var(--muted); font-size:12px; }
.plan-price { margin-bottom:12px; color:var(--ink); font:800 30px "Manrope"; }
.plan-price small { color:var(--muted); font-size:11px; }
.billing-details { display:grid; grid-template-columns:repeat(3,1fr); margin:20px 0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.billing-details > div { display:grid; padding:14px; border-right:1px solid var(--line); }
.billing-details > div:last-child { border:0; }
.billing-details small { color:var(--muted); }
.profile-photo-editor { display:grid; grid-template-columns:132px minmax(0,1fr); align-items:start; gap:24px; margin:20px 0 24px; padding:20px; border:1px solid var(--line); border-radius:17px; background:var(--mint-2); }
.profile-photo-preview { width:132px; height:132px; display:grid; place-items:center; align-self:start; overflow:hidden; border:4px solid var(--white); border-radius:28px; background:var(--mint); box-shadow:0 10px 25px rgba(22,77,64,.15); }
.profile-photo-preview .breeder-avatar { width:100%; height:100%; overflow:hidden; border-radius:23px; font-size:32px; }
.profile-photo-controls { min-width:0; }
.profile-photo-editor .field { margin:0; }
.message-record { align-items:start; }
.message-record > span { min-width:0; }
.message-image { display:block; width:min(320px,100%); max-height:280px; margin-top:10px; border:1px solid var(--line); border-radius:12px; object-fit:cover; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.hero { min-height: 625px; display: flex; align-items: center; position: relative; overflow: hidden; background: #f7f6eb; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,247,236,.98) 5%, rgba(248,247,236,.92) 34%, rgba(248,247,236,.1) 65%); }
.hero-content { width: min(1160px, calc(100% - 40px)); margin: auto; position: relative; z-index: 1; }
.hero-copy { max-width: 580px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--gold); }
h1 { font-size: clamp(42px, 5.2vw, 70px); }
h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { color: var(--ink-2); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 34px; flex-wrap: wrap; }
.calculator-buttons { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.calculator-buttons .btn { min-height:48px; }
.calculator-access { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; padding:11px 13px; border:1px solid var(--line); border-radius:12px; background:var(--mint-2); color:var(--ink-2); font-size:12px; }
.calculator-access strong { color:var(--green); }
.paywall-modal { width:min(520px,100%); text-align:center; }
.paywall-logo { width:92px; height:92px; margin:0 auto 18px; overflow:hidden; border:1px solid var(--line); border-radius:50%; background:#fff; box-shadow:0 12px 32px rgba(22,77,64,.16); }
.paywall-logo img { width:100%; height:100%; display:block; object-fit:cover; transform:scale(1.05); }
.paywall-price { margin:8px 0 3px; color:var(--ink); font:800 42px "Manrope"; }
.paywall-price small { color:var(--muted); font-size:13px; }
.paywall-benefits { display:grid; gap:8px; margin:20px 0; padding:0; text-align:left; list-style:none; }
.paywall-benefits li { padding:9px 12px; border-radius:10px; background:var(--mint-2); color:var(--ink-2); font-size:13px; }
.paywall-benefits li::before { content:"✓"; margin-right:9px; color:var(--green); font-weight:900; }
.paywall-actions { display:grid; gap:9px; }
.paywall-actions .btn { width:100%; }
.paywall-fine-print { margin:14px 0 0; color:var(--muted); font-size:10px; }
.trust-row { display: flex; gap: 23px; font-size: 13px; font-weight: 600; color: var(--ink-2); flex-wrap: wrap; }
.trust-row span::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; color: var(--green); background: white; border-radius: 50%; }
.stats { background: var(--green); color: white; }
.stats-inner { min-height: 116px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; text-align: center; }
.stat { padding: 18px; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border: 0; }
.stat strong { display: block; font: 800 24px "Manrope"; color: #f0c757; }
.stat span { font-size: 13px; color: #d9ebe4; }
.section { padding: 84px 0; }
.section.soft { background: var(--mint-2); }
.section.cream { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head.center { display: block; max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .page-hero h1 { font-size: clamp(31px, 4vw, 47px); }
.section-head p { max-width: 550px; color: var(--muted); }
.text-link { color: var(--green); font-weight: 700; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .guide-card, .tool-card, .info-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; transition: .23s; }
.feature-card:hover, .guide-card:hover, .tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfd6ca; }
.preview-badge { display:inline-flex; border-radius:99px; padding:4px 8px; background:#fff4d8; color:#875d09; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.mini-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:15px 0; }
.mini-card { border:1px solid var(--line); background:var(--white); border-radius:14px; padding:15px; }
.mutation-sample { height:90px; border-radius:12px; margin-bottom:10px; border:1px solid var(--line); }
.policy-nav { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.policy-nav a { padding:8px 12px; border:1px solid var(--line); border-radius:99px; color:var(--green); font-weight:700; font-size:12px; }
.admin-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:15px 0; }
.admin-stat { padding:14px; border-radius:12px; background:var(--mint-2); border:1px solid var(--line); }
.admin-stat strong { display:block; font-size:22px; color:var(--green); }
.file-note { font-size:11px; color:var(--muted); margin-top:5px; }
.calc-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.calc-actions .btn { font-size:12px; padding:9px 12px; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 22px; margin-bottom: 22px; }
.card-icon.gold { background: #fff4d8; color: #a46b08; }
.card-icon.coral { background: #ffede8; color: var(--coral); }
.feature-card h3, .guide-card h3, .tool-card h3 { font-size: 19px; }
.feature-card p, .guide-card p, .tool-card p { color: var(--muted); font-size: 14px; }
.feature-card a, .guide-card a { color: var(--green); font-weight: 700; font-size: 14px; }
.species-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.species-pill { padding: 18px 10px; text-align: center; border: 1px solid var(--line); border-radius: 15px; background: white; cursor: pointer; transition: .2s; }
.species-pill:hover { border-color: var(--green); background: var(--mint-2); }
.species-pill span { display: block; font-size: 26px; margin-bottom: 5px; }
.species-pill b { display: block; font-size: 12px; }
.cta-band { border-radius: 28px; background: var(--green); color: white; padding: 48px 55px; display: flex; justify-content: space-between; align-items: center; gap: 30px; overflow: hidden; position: relative; }
.cta-band::after { content: "◌"; position: absolute; font-size: 230px; color: rgba(255,255,255,.05); right: 8%; top: -90px; }
.cta-band h2 { font-size: 35px; max-width: 580px; }
.cta-band p { color: #cfe2da; }
.page-hero { background: var(--cream); padding: 66px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero .container { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.page-hero p { max-width: 630px; color: var(--muted); font-size: 17px; }
.crumb { font-size: 12px; color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.calc-shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 25px; align-items: start; }
.panel { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 10px 35px rgba(25,68,55,.05); }
.panel-head { display: flex; gap: 13px; align-items: center; padding-bottom: 21px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.step { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.field { margin: 0 0 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
select, input, textarea { width: 100%; padding: 13px 14px; border: 1px solid #ccdcd3; border-radius: 10px; color: var(--ink); background: white; outline: none; transition: .2s; }
select:focus, input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,108,90,.1); }
.sex-label { display: flex; align-items: center; gap: 8px; }
.sex-label span { font-size: 11px; padding: 3px 7px; border-radius: 9px; color: #2b5f9c; background: #e6f1ff; }
.sex-label.female span { color: #9c4c63; background: #ffe9ef; }
.check-row { display: flex; gap: 12px; margin: 12px 0 22px; flex-wrap: wrap; }
.check-chip { border: 1px solid var(--line); padding: 8px 12px; border-radius: 99px; font-size: 12px; cursor: pointer; }
.check-chip input { width: auto; margin-right: 5px; }
.mutation-picker { display:grid; grid-template-columns:1fr 1fr; gap:7px; max-height:190px; overflow:auto; padding:9px; border:1px solid #ccdcd3; border-radius:12px; background:#fbfdfb; }
.mutation-picker.compact { max-height:145px; }
.mutation-option { display:flex; align-items:center; gap:7px; margin:0; padding:8px 9px; border:1px solid transparent; border-radius:9px; background:white; cursor:pointer; font-size:12px; font-weight:600; }
.mutation-option:hover { border-color:#b8d3c6; }
.mutation-option:has(input:checked) { color:var(--green); background:var(--mint); border-color:#9dc8b3; }
.mutation-option input { width:auto; margin:0; accent-color:var(--green); }
.mutation-empty { grid-column:1/-1; padding:10px; color:var(--muted); font-size:12px; text-align:center; }
.results-empty { text-align: center; padding: 62px 15px; color: var(--muted); }
.results-empty .big-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--mint); font-size: 28px; }
.result-summary { padding: 18px; border-radius: 14px; background: var(--mint-2); margin-bottom: 20px; }
.outcome { margin: 18px 0; }
.outcome-head { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; margin-bottom: 7px; }
.outcome-head strong:last-child { color: var(--green); }
.bar { height: 9px; background: #e8eee9; border-radius: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg,var(--green),#65a789); border-radius: 9px; }
.note { border-left: 3px solid var(--gold); padding: 12px 14px; background: #fff9e9; font-size: 12px; color: var(--ink-2); margin-top: 22px; }
.model-note { margin-top:8px; padding:8px 10px; border-radius:9px; background:var(--mint-2); color:var(--green); font-size:11px; font-weight:700; }
.chick-results { margin:22px 0; }
.chick-results h3 { margin-bottom:6px; }
.chick-results > p { color:var(--muted); font-size:12px; }
.chick-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:14px; }
.chick-card { display:flex; align-items:center; gap:12px; min-height:72px; padding:11px; border:1px solid var(--line); border-radius:13px; background:white; }
.chick-swatch { width:48px; height:48px; flex:0 0 auto; border-radius:50%; border:3px solid white; box-shadow:0 0 0 1px var(--line),inset 0 -8px 15px rgba(0,0,0,.08); }
.chick-card strong { display:block; font-size:13px; line-height:1.25; }
.chick-card span { color:var(--green); font-size:12px; font-weight:800; }
.confidence-low { color:#9a5b21; background:#fff3e7; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { border: 1px solid var(--line); background: white; color: var(--ink-2); padding: 8px 14px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter.active, .filter:hover { color: white; background: var(--green); border-color: var(--green); }
.guide-card { display: flex; flex-direction: column; min-height: 228px; }
.guide-card .tag { align-self: flex-start; color: var(--green); background: var(--mint); border-radius: 20px; padding: 4px 9px; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .08em; margin-bottom: 18px; }
.guide-card a { margin-top: auto; }
.article-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.article-nav { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: white; }
.article-nav b { display: block; margin-bottom: 10px; }
.article-nav a { display: block; color: var(--muted); font-size: 13px; padding: 7px 0; }
.article-body { max-width: 800px; }
.article-body h2 { margin-top: 40px; font-size: 27px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--ink-2); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.mutation-table-wrap { max-height:560px; overflow:auto; margin:18px 0 30px; border:1px solid var(--line); border-radius:14px; }
.mutation-table-wrap table { margin:0; }
.mutation-table-wrap thead { position:sticky; top:0; z-index:1; background:var(--mint-2); }
.count-badge { display:inline-grid; min-width:28px; height:28px; place-items:center; margin-left:6px; padding:0 8px; border-radius:99px; background:var(--mint); color:var(--green); font:800 12px "DM Sans"; vertical-align:middle; }
.article-body th, .article-body td { padding: 13px; text-align: left; border-bottom: 1px solid var(--line); }
.article-body th { background: var(--mint-2); }
.example { border-radius: 16px; padding: 22px; background: var(--mint-2); margin: 20px 0; }
.qa-shell { max-width: 1080px; margin: auto; }
.ai-portal { min-height:680px; display:grid; grid-template-columns:230px 1fr; overflow:hidden; background:white; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); }
.chat-sidebar { padding:18px; background:#f4f8f5; border-right:1px solid var(--line); }
.new-chat { width:100%; justify-content:flex-start; margin-bottom:24px; }
.sidebar-label { display:block; margin:18px 5px 8px; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.history-item { display:block; width:100%; overflow:hidden; padding:9px 10px; border:0; border-radius:9px; background:transparent; color:var(--ink-2); cursor:pointer; font-size:12px; text-align:left; text-overflow:ellipsis; white-space:nowrap; }
.history-item:hover { background:white; color:var(--green); }
.topic-link { display:flex; align-items:center; gap:8px; padding:8px 9px; border-radius:9px; font-size:12px; font-weight:600; }
.topic-link:hover { background:white; }
.chat-main { min-width:0; display:flex; flex-direction:column; background:linear-gradient(180deg,#fff 0%,#fbfdfb 100%); }
.portal-topbar { display:flex; justify-content:space-between; align-items:center; min-height:62px; padding:12px 22px; border-bottom:1px solid var(--line); }
.portal-identity { display:flex; gap:10px; align-items:center; font-weight:800; }
.portal-avatar, .message-avatar { display:grid; place-items:center; flex:0 0 auto; border-radius:10px; color:white; background:var(--green); }
.portal-avatar { width:34px; height:34px; }
.portal-status { color:var(--green); font-size:11px; font-weight:700; }
.portal-status::before { content:""; display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:#56a776; }
.chat-scroll { flex:1; overflow-y:auto; padding:34px clamp(20px,5vw,60px) 20px; }
.chat-welcome { max-width:650px; margin:62px auto 0; text-align:center; }
.welcome-orb { width:72px; height:72px; display:grid; place-items:center; margin:0 auto 19px; border-radius:22px 22px 22px 7px; background:linear-gradient(135deg,var(--green),#52967f); color:white; box-shadow:0 15px 35px rgba(34,108,90,.22); font-size:28px; }
.chat-welcome h2 { font-size:32px; }
.chat-welcome > p { color:var(--muted); }
.prompt-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:28px; text-align:left; }
.prompt-card { padding:14px 15px; border:1px solid var(--line); border-radius:13px; background:white; cursor:pointer; color:var(--ink-2); font-size:13px; transition:.2s; }
.prompt-card:hover { border-color:#98c1ad; background:var(--mint-2); transform:translateY(-2px); }
.prompt-card b { display:block; margin-bottom:3px; color:var(--ink); }
.chat-thread { max-width:700px; margin:auto; }
.chat-message { display:flex; gap:12px; margin-bottom:27px; animation:fade .3s; }
.message-avatar { width:32px; height:32px; border-radius:9px; font-size:13px; }
.chat-message.user { justify-content:flex-end; }
.chat-message.user .message-avatar { display:none; }
.message-content { max-width:86%; }
.chat-message.user .message-content { padding:11px 15px; border-radius:16px 16px 4px 16px; background:var(--green); color:white; }
.assistant-answer h3 { margin-bottom:10px; font-size:18px; }
.assistant-answer p { color:var(--ink-2); }
.assistant-answer p + p, .assistant-answer ul + p, .assistant-answer ol + p { margin-top:12px; }
.assistant-answer ul, .assistant-answer ol { margin:10px 0 0 20px; color:var(--ink-2); }
.assistant-answer li + li { margin-top:6px; }
.answer-mode { display:inline-flex; align-items:center; margin-bottom:10px; border-radius:99px; background:var(--mint); padding:4px 8px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.send-button:disabled { cursor:wait; opacity:.55; }
.answer-sources { display:flex; gap:7px; flex-wrap:wrap; margin-top:15px; }
.source-chip, .followup-chip { border:1px solid var(--line); border-radius:99px; background:white; padding:6px 10px; color:var(--green); font-size:11px; font-weight:700; cursor:pointer; }
.source-chip:hover, .followup-chip:hover { background:var(--mint); }
.followups { display:flex; gap:7px; flex-wrap:wrap; margin-top:12px; }
.typing-dots { display:flex; gap:4px; padding-top:9px; }
.typing-dots i { width:6px; height:6px; border-radius:50%; background:#89a69b; animation:pulse 1s infinite alternate; }
.typing-dots i:nth-child(2){animation-delay:.18s}.typing-dots i:nth-child(3){animation-delay:.36s}
@keyframes pulse { to { transform:translateY(-4px); opacity:.45; } }
.composer-wrap { padding:14px clamp(18px,4vw,45px) 18px; background:rgba(255,255,255,.92); border-top:1px solid var(--line); }
.chat-composer { max-width:740px; margin:auto; display:flex; align-items:flex-end; gap:9px; padding:9px 9px 9px 16px; border:1px solid #bfd4c8; border-radius:18px; background:white; box-shadow:0 8px 25px rgba(24,67,55,.08); }
.chat-composer textarea { max-height:130px; min-height:28px; padding:4px 0; resize:none; border:0; box-shadow:none; line-height:1.45; }
.chat-composer textarea:focus { box-shadow:none; }
.send-button { width:38px; height:38px; flex:0 0 auto; padding:0; border-radius:12px; }
.composer-note { margin:7px 0 0; color:var(--muted); text-align:center; font-size:10px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.answer-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 15px; }
.answer-meta span { display: grid; place-items: center; width: 27px; height: 27px; background: var(--mint); border-radius: 50%; }
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tool-card { cursor: pointer; }
.tool-card .card-icon { margin-bottom: 15px; }
.community-shell { display:grid; grid-template-columns:320px 1fr; gap:22px; align-items:start; }
.account-card, .community-panel { border:1px solid var(--line); border-radius:20px; background:white; padding:23px; box-shadow:0 10px 35px rgba(25,68,55,.05); }
.account-card { position:sticky; top:100px; }
.community-user { display:flex; align-items:center; gap:12px; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--line); }
.breeder-avatar { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; overflow:hidden; border-radius:15px; color:white; background:linear-gradient(135deg,var(--green),#73aa86); font:800 18px "Manrope"; }
.auth-tabs { display:flex; gap:5px; padding:4px; margin-bottom:20px; border-radius:11px; background:var(--mint-2); }
.auth-tab { flex:1; border:0; padding:8px; border-radius:8px; background:transparent; color:var(--muted); cursor:pointer; font-size:12px; font-weight:700; }
.auth-tab.active { background:white; color:var(--green); box-shadow:0 2px 8px rgba(20,60,50,.08); }
.community-toolbar { display:flex; gap:10px; align-items:center; margin-bottom:20px; }
.community-toolbar input { flex:1; }
.breeder-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.breeder-card { border:1px solid var(--line); border-radius:16px; padding:17px; background:white; }
.breeder-card-head { display:flex; align-items:center; gap:11px; margin-bottom:13px; }
.breeder-card h3 { margin:0; font-size:16px; }
.breeder-card p { color:var(--muted); font-size:12px; }
.species-tags { display:flex; flex-wrap:wrap; gap:5px; margin:10px 0 14px; }
.species-tag { padding:4px 7px; border-radius:99px; background:var(--mint); color:var(--green); font-size:9px; font-weight:800; }
.connection-button { width:100%; }
.connection-button.sent { color:var(--green); background:var(--mint); pointer-events:none; box-shadow:none; }
.community-banner { padding:13px 15px; margin-bottom:18px; border:1px solid #f0d0a7; border-radius:12px; background:#fff7e8; color:#805321; font-size:12px; }
.community-empty { padding:45px 20px; text-align:center; color:var(--muted); }
.modal-backdrop { display: none; position: fixed; inset: 0; z-index: 50; padding: 20px; place-items: center; background: rgba(11,36,30,.55); backdrop-filter: blur(5px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(570px,100%); max-height: 90vh; overflow-y: auto; background: white; border-radius: 22px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal.wide { width: min(820px,100%); }
.modal-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.close { border: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-2); cursor: pointer; }
.tool-result { padding: 16px; background: var(--mint-2); border-radius: 12px; margin-top: 15px; font-weight: 700; }
.records { margin-top: 18px; }
.record { display: flex; justify-content: space-between; padding: 11px; background: var(--mint-2); border-radius: 9px; margin-top: 7px; font-size: 13px; }
.suite-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; }
.suite-tab { border:1px solid var(--line); background:white; color:var(--ink-2); border-radius:99px; padding:7px 12px; font-size:12px; font-weight:700; cursor:pointer; }
.suite-tab.active { background:var(--green); color:white; border-color:var(--green); }
.pedigree-tree { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; align-items:center; margin:22px 0; }
.pedigree-generation { display:grid; gap:9px; }
.pedigree-node { border:1px solid var(--line); background:var(--mint-2); border-radius:11px; padding:10px; min-height:54px; font-size:12px; }
.pedigree-node strong { display:block; color:var(--green); }
.alert { padding:12px 14px; border-radius:11px; margin-top:14px; font-size:13px; }
.alert.warn { background:#fff1e4; color:#8a4b22; border:1px solid #f3d0b7; }
.alert.good { background:var(--mint-2); color:var(--green); border:1px solid var(--line); }
.growth-chart { width:100%; height:210px; margin:18px 0; border:1px solid var(--line); border-radius:14px; background:linear-gradient(#fff,#f7fbf8); }
.status-badge { display:inline-block; border-radius:99px; padding:3px 8px; background:var(--mint); color:var(--green); font-size:10px; font-weight:800; text-transform:uppercase; }
.resource-list { display:grid; gap:10px; }
.resource-item { border:1px solid var(--line); border-radius:13px; padding:15px; }
.resource-item h4 { margin:0 0 5px; }
.resource-item p { margin:0; color:var(--muted); font-size:13px; }
.backup-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.backup-card { border:1px solid var(--line); border-radius:14px; padding:18px; }
.backup-card .btn { width:100%; margin-top:10px; }
.punnett { display:grid; grid-template-columns:repeat(3,1fr); margin:14px 0; border:1px solid var(--line); border-radius:10px; overflow:hidden; font-size:12px; text-align:center; }
.punnett span { padding:9px 5px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.punnett span:nth-child(3n) { border-right:0; }
.print-only { display:none; }
@media print {
  header, footer, .modal-backdrop, .no-print { display:none !important; }
  .print-only { display:block; }
  body { color:#111; }
}
footer { padding: 58px max(4vw,24px) 20px; color: #dce9e4; background: #133d34; }
.footer-grid { width: min(1160px,100%); margin: auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr; gap: 28px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid b { color: white; }
.footer-grid a, .footer-grid p { font-size: 13px; color: #b9d0c7; margin: 0; }
.footer-brand { color: white; margin-bottom: 12px; }
.footer-brand b { color: #f0c757; }
.disclaimer { width: min(1160px,100%); margin: 40px auto 20px; padding: 14px 18px; text-align: center; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; color: #c9ddd5; font-size: 12px; }
.copyright { text-align: center; color: #7fa297; font-size: 11px; }
#toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; transform: translate(-50%,20px); padding: 11px 17px; border-radius: 10px; background: var(--ink); color: white; font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; }
#toast.show { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1180px) {
  .desktop-nav, .header-cta { display:none; }
  .menu-button { display:block; }
  .profile-shortcut > span:last-child { display:none; }
}
@media (max-width: 960px) {
  .desktop-nav, .header-cta { display: none; }
  .profile-shortcut > span:last-child { display:none; }
  .menu-button { display: block; }
  .card-grid, .tools-grid { grid-template-columns: repeat(2,1fr); }
  .species-strip { grid-template-columns: repeat(3,1fr); }
  .calc-shell { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .community-shell { grid-template-columns:1fr; }
  .member-layout { grid-template-columns:1fr; }
  .member-sidebar { position:static; }
  .member-sidebar nav { grid-template-columns:repeat(3,1fr); }
  .member-sidebar nav a { text-align:center; }
  .account-card { position:static; }
  .article-nav { display: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 14px; gap:8px; }
  .brand { min-width:0; flex:1; font-size:11px; }
  .brand b { font-size:12px; }
  .brand-mark { width:40px; height:40px; }
  .header-utilities { gap:3px; }
  .utility-button { width:30px; height:30px; font-size:11px; }
  .profile-shortcut { padding:3px; border:0; background:transparent; }
  .profile-shortcut-avatar { width:30px; height:30px; }
  .site-search-backdrop { padding:0; background:var(--white); }
  .site-search-panel { min-height:100vh; padding:22px 15px; border:0; border-radius:0; box-shadow:none; }
  .site-search-result { grid-template-columns:40px 1fr auto; padding:10px 6px; }
  .search-result-icon { width:38px; height:38px; }
  .mobile-nav { top: 70px; }
  .hero { min-height: 690px; align-items: flex-start; }
  .hero-image { height: 45%; top: auto; object-position: 66% center; }
  .hero::after { background: linear-gradient(180deg,#f7f6eb 47%,rgba(247,246,235,.2) 72%,rgba(247,246,235,.08)); }
  .hero-content { padding-top: 55px; }
  .hero-copy { max-width: none; }
  h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .trust-row { gap: 8px 15px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .section { padding: 62px 0; }
  .section-head, .page-hero .container { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 10px; }
  .card-grid, .tools-grid { grid-template-columns: 1fr; }
  .species-strip { grid-template-columns: repeat(2,1fr); }
  .plan-grid, .billing-details { grid-template-columns:1fr; }
  .profile-photo-editor { grid-template-columns:1fr; justify-items:center; text-align:center; }
  .profile-photo-controls { width:100%; }
  .billing-details > div { border-right:0; border-bottom:1px solid var(--line); }
  .billing-heading { display:block; }
  .plan-status { display:inline-block; margin-bottom:12px; }
  .cta-band { display: block; padding: 34px 25px; }
  .cta-band .btn { margin-top: 8px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 20px; }
  .ai-portal { grid-template-columns:1fr; min-height:720px; }
  .chat-sidebar { display:none; }
  .chat-scroll { padding:25px 17px; }
  .chat-welcome { margin-top:24px; }
  .prompt-grid { grid-template-columns:1fr; }
  .chick-grid { grid-template-columns:1fr; }
  .message-content { max-width:91%; }
  .pedigree-tree { grid-template-columns:1fr; }
  .backup-actions { grid-template-columns:1fr; }
  .breeder-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
}
