/* Approved 01 palette and shared navigation. Existing form names, actions,
   CSRF fields and feature controllers remain in their source templates. */
@font-face{font-family:Inter;src:url('/static/design-fonts/Inter-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Manrope;src:url('/static/design-fonts/Manrope-Variable.woff2') format('woff2');font-weight:200 800;font-display:swap}
body.pb-scope,.dn-header.pb-scope{
 --pb-color-canvas:#f6f8f4;--pb-color-surface:#fff;--pb-color-surface-muted:#eef3f0;
 --pb-color-ink:#223b45;--pb-color-ink-muted:#53685e;--pb-color-primary:#315d70;
 --pb-color-primary-hover:#244b5d;--pb-color-primary-soft:#eaf0f3;--pb-color-border:#dbe4df;
 --pb-color-control-border:#9aafa6;--pb-color-focus:#315d70;--pb-color-emergency:#a54842;
 --pb-font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;
 --pb-shadow-card:0 5px 18px #223b4506;--pb-radius-lg:22px;
 font-family:var(--pb-font-family);color:var(--pb-color-ink);background:var(--pb-color-canvas)
}
body.pb-scope h1,body.pb-scope h2,body.pb-scope h3{font-family:Manrope,Inter,sans-serif;letter-spacing:-.025em}
body.pb-scope :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #315d70;outline-offset:3px}
body.pb-scope :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
body.pb-scope :is(input[type=date],input[type=time],input[type=datetime-local]){display:block;width:100%;inline-size:100%;min-inline-size:0;min-height:46px;overflow:hidden;appearance:none;-webkit-appearance:none}
body.pb-scope input::-webkit-date-and-time-value{min-width:0;min-height:1.4em;text-align:left}
body.pb-scope input::-webkit-datetime-edit{min-width:0;padding:0}
body.pb-scope :is(button,summary){touch-action:manipulation}
.dn-header.pb-header{position:sticky;top:0;width:100%;margin:0;border-radius:0;border:0;border-bottom:1px solid #dbe4df;background:#f6f8f4f5;box-shadow:none;backdrop-filter:none;z-index:1600}
.dn-header .pb-header__inner{max-width:none;min-height:80px;padding:14px 28px;gap:16px;align-items:center}
.dn-header .pb-brand{min-width:0;min-height:44px;gap:0;padding:0;background:transparent;border:0;box-shadow:none}
.dn-header .pb-brand__app-symbol{display:none}
.dn-header .pb-brand__wordmark-capsule{background:transparent;padding:0;border:0;box-shadow:none}
.dn-header .pb-brand__wordmark,.dn-header .dn-wordmark{width:126px;max-width:126px;height:auto;object-fit:contain}
.dn-bell__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dn-header .pb-header__account{display:none}
.dn-header .dn-bell{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;width:44px;height:44px;border:1px solid #dbe4df;border-radius:50%;background:white;color:#315d70;text-decoration:none}
.dn-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dn-header .pb-brand+.dn-bell{margin-left:auto}
.dn-bell__count{position:absolute;right:-3px;top:-4px;min-width:20px;height:20px;padding:0 4px;box-sizing:border-box;border-radius:20px;background:#c92a35;color:#fff;border:2px solid #fff;font:700 11px/16px Inter,sans-serif;text-align:center;pointer-events:none;z-index:2}
.dn-bell__count[hidden]{display:none!important}
.dn-paw-switch{display:flex;align-items:center;gap:10px;min-width:0;margin-left:auto;color:#53685e;font-size:12px}
.dn-paw-select{max-width:220px!important;min-width:100px!important;width:auto;min-height:44px;padding:10px 34px 10px 12px;border:1px solid #c4d2ca;border-radius:11px;background:#fff;color:#223b45;font:600 13px Inter}
.dn-header .dn-primary-nav{display:flex;width:100%;max-width:none;margin:0;border:0;background:#fff;box-shadow:none;gap:4px;padding:8px 12px}
.dn-header .dn-primary-nav .pb-primary-nav__link{display:flex;align-items:center;justify-content:center;flex:1;gap:5px;flex-direction:column;min-width:0;min-height:52px;border:0;border-radius:12px;background:transparent;color:#53685e;text-decoration:none;font:500 11px/1.3 Inter;padding:6px 4px;box-shadow:none}
.dn-header .dn-primary-nav .pb-primary-nav__link[aria-current]{background:#e9f0f4;color:#315d70}
.dn-header .dn-primary-nav :is(svg,.pb-primary-nav__icon){width:22px;height:22px;flex-shrink:0;stroke-width:1.7}
.dn-header .dn-primary-nav .pb-primary-nav__link--emergency{color:#a54842;background:transparent}
.dn-primary-nav strong{font-weight:500;font-size:11px;text-transform:capitalize}
.dn-header .pb-header__menu-trigger{min-height:44px;min-width:44px;border:1px solid #dbe4df;border-radius:12px;background:white;color:#315d70;font-size:12px;padding:10px}
.dn-secondary-nav{gap:5px}
.dn-secondary-main,.dn-secondary-utility{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0}
.dn-secondary-utility{margin-top:12px;padding-top:12px;border-top:1px solid #dbe4df}
.dn-header .pb-header__link{min-height:44px;border-radius:10px;font-size:13px}
.dn-header .pb-header__link:hover,.dn-header .pb-header__link[aria-current]{color:#315d70;background:#eaf0f3}
.dn-header .pb-header__product-trigger{min-height:44px;font-size:13px;color:#53685e}
.dn-care-picker{grid-column:1/-1;min-width:0;padding:28px;background:#fff;border:1px solid #dbe4df;border-radius:22px}
.dn-care-picker h2{margin:0 0 20px;color:#223b45;font-size:26px}
.dn-care-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dn-care-option{padding:22px;border:1px solid #dbe4df;border-radius:16px;background:#f6f8f4;min-width:0}
.dn-care-option h3{margin:0 0 14px;font-size:20px;overflow-wrap:anywhere}
.dn-care-option__actions{display:flex;flex-wrap:wrap;gap:10px}
.dn-care-option__actions a,.dn-care-empty a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #c4d2ca;border-radius:10px;font-size:13px;font-weight:600;color:#315d70;text-decoration:none;background:white}
.dn-care-option__actions a:first-child{background:#315d70;color:white;border-color:#315d70}
.dn-care-empty p{color:#53685e;font-size:14px;margin:0 0 20px}
.dn-care-picker[hidden]{display:none!important}
[data-design-gps-content][hidden],[data-design-gps-unavailable][hidden]{display:none!important}
.dn-map-unavailable{grid-column:1/-1}
body[data-ios-companion-dashboard="true"][data-companion-dashboard-view="care"] [data-companion-panel]:not([data-companion-panel~="care"]){display:none!important}
body[data-ios-companion-dashboard="true"][data-companion-dashboard-view="care"] [data-companion-panel~="care"]{display:block!important}
body[data-ios-companion-dashboard="true"]:not([data-companion-dashboard-view="care"]) [data-companion-panel~="care"]{display:none!important}
.dn-care-option.dn-paw-selected{border-color:#315d70;box-shadow:inset 3px 0 #315d70}
body.pb-scope :is(.surface-card,.animal-card,.card,.account-panel,.workspace-card){border-color:#dbe4df;background:#fff;box-shadow:0 4px 16px #223b4505}
body.pb-scope :is(.surface-card,.account-panel,.workspace-card){border-radius:22px}
body.pb-scope .dashboard-intro{background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 24px}
body.pb-scope .dashboard-intro h1{color:#223b45}
body.pb-scope .dashboard-intro-description{color:#53685e}
body.pb-scope .quick-help-action--emergency{background:#fcf0ed;border-color:#d9aaa5;box-shadow:none;color:#923f39}
body.pb-scope .quick-help-action--support{background:#edf3f4;border-color:#a8c0c9;box-shadow:none;color:#315d70}
body.pb-scope .quick-help-action :is(strong,small,span){color:inherit}
body.pb-scope :is(.page-eyebrow,.section-link,.animal-edit-link){color:#315d70}
body.pb-scope .animal-card-name{color:#223b45}
body.pb-scope :is(.soft-button,.animal-health-link){border-color:#c4d2ca;background:#eaf0f3;color:#315d70;min-height:44px}
body.pb-scope .animal-profile-links{gap:8px;flex-wrap:wrap}
body.pb-scope .animal-profile-links a{min-height:44px;display:inline-flex;align-items:center}
body.pb-scope .cr-page,body.pb-scope.cr-page{--cr-ink:#223b45;--cr-muted:#53685e;--cr-blue:#315d70;--cr-teal:#315d70;--cr-border:#dbe4df;background:#f6f8f4}
body.pb-scope.hj-page{--hj-ink:#223b45;--hj-muted:#53685e;--hj-blue:#315d70;--hj-teal:#315d70;--hj-border:#dbe4df;background:#f6f8f4}
body.pb-scope :is(.cr-panel,.cr-reminder,.hj-panel,.hj-record,.hj-vet,.hj-weight){border-radius:20px;box-shadow:none}
body.pb-scope :is(.cr-button,.hj-button){border-radius:12px}
body.pb-scope :is(.cr-button,.hj-button):not([class*="secondary"]):not([class*="danger"]){background:#315d70;border-color:#315d70;color:white}
body.pb-scope :is(.cr-button,.hj-button):not([class*="secondary"]):not([class*="danger"]):hover{background:#244b5d}
body.pb-scope :is(.cr-button--secondary,.hj-button--secondary){color:#315d70;border-color:#bdcec5;background:white}
body.pb-scope :is(.cr-medical-note,.hj-medical-note,.cr-form-note,.hj-form-note){background:#eef3f0;color:#53685e}
body.pb-scope :is(.cr-field,.hj-field){min-width:0}
body.pb-scope :is(.cr-field,.hj-field) :is(input,textarea,select){border-color:#9aafa6;border-radius:12px}
body.pb-scope .cr-overview{gap:0;border-block:1px solid #dbe4df;padding:10px 0}
body.pb-scope .cr-overview>a{border:0;border-radius:0;background:transparent;min-height:44px;padding:5px 15px;justify-content:center;gap:8px}
body.pb-scope .cr-overview>a+a{border-left:1px solid #dbe4df}
body.pb-scope .cr-overview strong{font-size:21px;color:#315d70}
body.pb-scope .cr-reminder--due{border-left:3px solid #315d70}
body.pb-scope :is(.cr-kind,.hj-kind){background:#eef3f0;color:#53685e}
body.pb-scope .cr-due{color:#53685e}
body.pb-scope :is(.cr-hero,.hj-hero){padding-bottom:24px;border-color:#dbe4df}
@media(min-width:1100px){
 body:has(.dn-header:not(.pb-header--ios-companion))>main,body:has(.dn-header:not(.pb-header--ios-companion)) .dashboard-shell{margin-left:244px;width:calc(100% - 244px);max-width:none;padding:32px 40px 60px;min-height:calc(100vh - 81px)}
 .dn-header:not(.pb-header--ios-companion) .dn-primary-nav{position:fixed;top:112px;left:20px;bottom:auto;width:204px;display:flex;flex-direction:column;padding:0;background:transparent;gap:8px}
 .dn-header:not(.pb-header--ios-companion) .dn-primary-nav .pb-primary-nav__link{flex-direction:row;justify-content:flex-start;gap:15px;padding:14px 18px;min-height:52px;font-size:14px}
 .dn-header:not(.pb-header--ios-companion) .dn-primary-nav strong{font-size:14px}
 .dn-header:not(.pb-header--ios-companion) .pb-header__menu{position:fixed;top:438px;left:20px;width:204px;z-index:1}
 .dn-header:not(.pb-header--ios-companion) :is(.pb-header__menu-trigger,.pb-header__menu-dismiss){display:none!important}
 .dn-header:not(.pb-header--ios-companion) .pb-header__nav{display:flex!important;position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;width:100%;min-width:0;max-height:calc(100dvh - 454px);overflow:auto;flex-direction:column;padding:18px 0 0;border:0;border-top:1px solid #dbe4df;border-radius:0;background:transparent;box-shadow:none;gap:5px}
 .dn-header:not(.pb-header--ios-companion) :is(.pb-header__link,.pb-header__product-trigger){width:100%;padding:12px 18px;justify-content:flex-start;text-align:left}
 .dn-header:not(.pb-header--ios-companion) .pb-header__product-panel{position:static;box-shadow:none;min-width:0;width:100%;padding:8px;border:1px solid #dbe4df;overflow-wrap:anywhere}
 body:has(.dn-header:not(.pb-header--ios-companion))>.pb-footer{margin-left:244px}
 .cr-layout,.hj-layout{gap:24px}
}
@media(max-width:1099px){
 body:has(.dn-header:not(.pb-header--ios-companion)){padding-bottom:calc(84px + env(safe-area-inset-bottom))}
 .dn-header:not(.pb-header--ios-companion) .dn-primary-nav{position:fixed;bottom:0;left:0;right:0;border-top:1px solid #dbe4df;padding:8px 10px calc(10px + env(safe-area-inset-bottom));z-index:1600;background:#fffffff5;backdrop-filter:blur(12px)}
 .dn-header .pb-header__inner{min-height:70px;padding:10px 18px;gap:10px}
 .dn-header .pb-brand__wordmark{max-width:110px;width:110px}
 .dn-header .pb-header__nav{max-height:calc(100dvh - 170px);overflow:auto;background:white;border-color:#dbe4df}
 .dn-paw-switch{font-size:11px;gap:5px}
 .dn-paw-select{max-width:160px!important}
}
@media(max-width:620px){
 .dn-header .pb-header__inner{flex-wrap:wrap;padding:10px 16px;gap:10px}
 .dn-header .pb-brand{margin-right:auto}
 .dn-paw-switch{order:4;flex-basis:100%;margin-left:0;padding-top:9px;border-top:1px solid #e4ebe6;justify-content:space-between}
 .dn-paw-select{max-width:235px!important;flex:1}
 .dn-header .pb-header__menu{margin:0}
 .dn-header .pb-header__menu-trigger{padding:10px;min-width:44px}
 .dn-care-options{grid-template-columns:1fr}
 .dn-care-picker{padding:20px}
 .dn-care-option{padding:18px}
 body.pb-scope :is(.cr-main,.hj-main,.dashboard-shell){padding:22px 18px 32px}
 body.pb-scope :is(.cr-hero,.hj-hero){margin-bottom:20px}
 body.pb-scope :is(.cr-hero h1,.hj-hero h1){font-size:28px;line-height:1.2}
 body.pb-scope .hj-filters{grid-template-columns:minmax(0,1fr) minmax(125px,.65fr)}
 body.pb-scope .cr-overview>a{padding:6px 4px;gap:5px}
 body.pb-scope .cr-overview span{font-size:11px}
 body.pb-scope .cr-overview strong{font-size:18px}
 body.pb-scope :is(.cr-form,.hj-form){padding:16px}
}
/* Phase 4 public entry pages: keep every header action reachable at 320px.
   Authenticated and native headers retain their existing navigation layout. */
@media(max-width:620px){
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion){min-width:0;width:100%;background:#fff;border-bottom:1px solid #dbe4df}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 10px;width:100%;min-height:64px;padding:10px 16px;box-sizing:border-box}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-brand{grid-column:1;grid-row:1;width:auto;min-width:0;max-width:100%;min-height:44px;gap:0;background:transparent;box-shadow:none}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-brand__app-symbol{display:none}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-brand__wordmark-capsule{width:110px;max-width:100%;min-width:0;background:transparent;border:0;box-shadow:none}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__login-shortcut{grid-column:2;grid-row:1;min-height:44px;margin:0;padding:10px;border-color:#c4d2ca;border-radius:10px;background:#eaf0f3;color:#315d70;font-size:12px}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__menu{grid-column:3;grid-row:1;min-width:0;margin:0}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__menu-trigger{min-width:44px;min-height:44px;padding:10px;border-color:#dbe4df;border-radius:10px;background:#fff;color:#315d70;font-size:12px}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__nav{min-width:min(272px,calc(100vw - 32px));max-width:calc(100vw - 32px);background:#fff;border-color:#dbe4df}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__emergency{grid-column:1/-1;grid-row:2;width:100%;min-width:0;min-height:44px;margin:0;border-radius:10px;background:#a54842;border-color:#a54842;color:#fff;font-size:12px}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__emergency-label--full{display:inline}
 body:is(.de-emergency,.pb-feature-gate-page--discover,.ds-store-guest) .pb-header:not(.dn-header):not(.pb-header--ios-companion) .pb-header__emergency-label--short{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
