/* Visual reference adaptation only: existing routes, markup and layout retained. */
@font-face{font-family:Caveat;src:url('fonts/caveat-500.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--background:#F7F4ED;--surface:#FFFEFB;--text-primary:#20252B;--text-secondary:#555E60;--primary:#396638;--primary-hover:#2B502D;--green-soft:#E7EED7;--peach-soft:#FBE0D0;--peach-accent:#F2BEA2;--border-subtle:#E4E5DC;--shadow:0 6px 24px #35382C06;--radius:16px}
body{font-size:15px}.site-header{background:var(--surface);backdrop-filter:none;box-shadow:0 2px 16px #343B2504}.header-inner{min-height:74px}.top-nav>a:not(.button),.top-nav .link-button{font-size:14px;font-weight:600}.top-nav .home-nav-link{border-color:transparent}.top-nav .home-nav-link:hover{background:var(--green-soft)}
/* Banner treatment is restricted to the existing welcome section. */
.editorial-welcome.hero{padding:32px 0 24px}.editorial-welcome .hero-grid{padding:32px;border-radius:24px;background:#FFFDF8;border:1px solid var(--border-subtle);box-shadow:0 12px 40px #343B2508;gap:24px;grid-template-columns:1fr 1fr}.editorial-welcome .hero-card{box-shadow:none;border-radius:18px;background:var(--peach-soft)}.editorial-welcome .care-hero-photo{border-radius:18px 18px 0 0}.editorial-welcome .hero-card .demo-note{font-family:Caveat,'Segoe Print',cursive;font-weight:500;font-size:32px;line-height:1.12;padding:18px 24px 24px;transform:rotate(-3deg);color:#34433E}.care-hand-heart{color:var(--primary);font-size:38px;display:inline-block;vertical-align:middle}.editorial-welcome .demo-card{font-size:13px}.editorial-welcome .hero-copy{margin-bottom:24px}.editorial-welcome+.section{padding-top:32px}.editorial-welcome+.section .section-heading{margin-bottom:24px}.editorial-welcome+.section .feature-card:nth-child(2){background:#F2F5EA}.editorial-welcome+.section .feature-card:nth-child(3){background:#FFF0E7}
@media(max-width:760px){.editorial-welcome .hero-grid{grid-template-columns:1fr;padding:20px;gap:24px}.editorial-welcome .hero-card .demo-note{font-size:28px}.editorial-welcome.hero{padding-top:20px}.editorial-welcome .hero h1{font-size:34px}}
/* Editorial serif for headings, quiet sans-serif for working information. */
h1,h2,.hero h1,.page-heading h1,.form-card h1,.passport-identity h1,.account-hero h1,.account-section h2,.account-section-heading h2,.medical-title h1,.medical-content-heading h2,.medical-form-card h2,.admin-title h1,.admin-panel-heading h2,.avatar-dialog-header h2,.subscription-card-head h2{font-family:Lora,Georgia,serif;font-weight:600;letter-spacing:-.035em;color:var(--text-primary);line-height:1.2}
.hero h1{font-size:clamp(36px,4.6vw,60px);line-height:1.05;max-width:680px}.page-heading h1,.account-hero h1{font-size:clamp(30px,3.6vw,42px)}.passport-identity h1{font-size:clamp(36px,4.2vw,52px)}.medical-title h1{font-size:clamp(28px,3vw,36px)}.medical-content-heading h2,.medical-form-card h2,.account-section h2{font-size:26px}.passport-folder>summary>strong{font-family:Lora,Georgia,serif;font-weight:600;letter-spacing:-.025em;font-size:23px}.feature-card h3{font-family:Lora,Georgia,serif;font-size:22px;font-weight:600}.record-summary-copy strong{font-family:Manrope,system-ui,sans-serif}.eyebrow{font-size:11px;font-weight:500;letter-spacing:.06em;color:var(--text-secondary)}
/* Existing welcome composition: the photo is the main visual, with a small note. */
.hero{padding:64px 0 48px;background:var(--background)}.hero-grid{gap:40px}.hero-copy{font-size:17px;line-height:1.6;color:var(--text-secondary)}.hero .hero-card{background:var(--peach-soft);border-radius:20px;box-shadow:0 10px 35px #343B2507}.care-hero-photo{border-radius:20px 20px 0 0}.hero-card .demo-card{border-radius:12px;padding:12px 18px;box-shadow:0 4px 16px #35382C08}.hero-card .demo-note{font-family:Lora,Georgia,serif;font-size:23px;padding:20px 24px 24px;color:var(--text-primary)}.hero-card::after{display:none}.section-heading h2{font-size:clamp(28px,3vw,36px)}.feature-card{background:var(--surface);padding:24px;border-radius:16px}.feature-card>span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-bottom:16px;border-radius:10px;background:var(--green-soft);color:var(--primary);font-size:13px;font-weight:600}.feature-card p{font-size:15px;line-height:1.6}
.button,.passport-primary-button,.petpass-light-button,.medical-content-heading .button,.medical-form-card .button,.admin-search button{min-height:44px;border-radius:999px;padding:11px 22px;font-size:14px;font-weight:600;box-shadow:none}.button-small{min-height:40px;padding:9px 16px}.button-ghost,.petpass-light-button{background:var(--surface);border-color:var(--border-subtle);color:var(--primary)}.button-ghost:hover,.petpass-light-button:hover{border-color:var(--primary);background:var(--green-soft)}.entry-mode-switch button{border-radius:12px;min-height:44px}.medical-content-heading .button.button-ghost{border-color:var(--border-subtle)}
.passport-folder,.medical-shell,.account-card,.admin-panel,.pet-card{box-shadow:0 6px 24px #35382C05;border-color:var(--border-subtle);border-radius:16px}.passport-folder>summary{padding:20px 28px}.passport-folder[open]>summary{background:var(--surface)}.folder-icon{background:var(--green-soft);color:var(--primary);border-radius:12px}.folder-count{font-size:12px;font-weight:500}.passport-facts>div{background:var(--background);border-color:var(--border-subtle);border-radius:12px}.passport-facts dt{font-size:12px}.passport-facts dd{font-size:15px}.passport-identity>p{font-size:14px;letter-spacing:0}.passport-identity blockquote{font-size:15px;line-height:1.6}.passport-avatar{border-width:3px;border-color:var(--green-soft)}.petpass-folders{gap:20px}
.account-hero{background:var(--surface)}.account-section{border-color:var(--border-subtle)}.subscription-panel,.subscription-panel.is-active{background:var(--green-soft);border:1px solid var(--border-subtle);border-radius:14px}.account-section-icon{background:var(--green-soft);border-radius:12px}.account-badges span{background:var(--peach-soft)}.avatar-dialog-header{border-color:var(--border-subtle)}.avatar-dialog-choices button{border-radius:12px}
.medical-title{padding:24px 28px;min-height:88px}.medical-title-icon{color:var(--primary)}.medical-tabs{margin:24px 28px 0;background:transparent;border-color:var(--border-subtle)}.medical-tabs a{padding:14px 18px;min-height:48px;font-size:14px;letter-spacing:0;border-radius:10px 10px 0 0}.medical-tabs a.active{background:var(--green-soft);color:var(--primary-hover)}.medical-content-heading{padding:28px 32px 24px}.medical-tools{padding:0 32px 24px}.medical-records{padding:0 32px 32px;gap:12px}.medical-record-card{border-radius:14px;box-shadow:none}.medical-record-card summary{padding:20px;gap:16px}.medical-record-card .record-summary-copy strong{font-size:18px;font-weight:600}.medical-record-card .record-summary-copy time{font-size:13px}.record-round-icon{width:48px;height:48px;background:var(--green-soft)}.medical-record-card:nth-child(n) .record-round-icon{background:var(--green-soft);color:var(--primary)}.record-summary-copy em{font-size:12px;font-weight:500;text-transform:none;letter-spacing:0;border-radius:999px}.medical-filters a,.medical-sort{font-size:13px;padding:9px 14px;border-radius:10px}.medical-filters a:not(.active){background:var(--background);color:var(--text-secondary)}.medical-filters a.active{background:var(--green-soft);color:var(--primary-hover)}.medical-form-card{padding:28px 32px;background:var(--background)}.medical-empty,.petpass-empty{background:var(--surface);border-style:dashed}.care-empty-art{width:80px;height:auto;margin-bottom:12px}.medical-empty h3{font-size:18px}
.stack-form label,.account-form label{font-weight:500}.stack-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.stack-form select,.stack-form textarea,.account-form input,.account-form select{border-radius:10px}.petpass-editor,.gallery-upload,.life-form{background:var(--background)}.admin-tabs{background:var(--surface);border-radius:14px}.admin-tabs a{border-radius:10px}.admin-stat-grid article,.admin-subscription-grid article{border-radius:14px}.admin-stat-grid article>span{background:var(--green-soft)}.admin-stat-grid strong{font-size:28px}.gallery-grid figure{border-radius:16px}.site-footer{background:var(--surface);color:var(--text-primary);border-top:1px solid var(--border-subtle)}.site-footer span,.site-footer a{color:var(--text-secondary)}
@media(max-width:760px){.hero{padding:32px 0}.hero-grid{gap:24px}.hero h1{font-size:36px}.hero-copy{font-size:16px}.hero-card .demo-note{font-size:21px}.passport-folder>summary{padding:18px 16px}.passport-folder>summary>strong{font-size:21px}.medical-title,.medical-content-heading,.medical-form-card{padding:24px 16px}.medical-tabs{margin:16px 16px 0}.medical-tools{padding:0 16px 20px}.medical-records{padding:0 16px 24px}.medical-record-card summary{padding:16px;gap:12px}.medical-record-card .record-summary-copy strong{font-size:17px}.record-round-icon{width:40px;height:40px}.button,.passport-primary-button,.petpass-light-button{padding:11px 18px}.medical-content-heading h2,.medical-form-card h2,.account-section h2{font-size:24px}}
