#auth {color:var(--ink)}
#auth:not(:empty) {min-height:100dvh;background:var(--chalk)}
.entry-page {max-width:65rem;margin:0 auto;padding:0 clamp(20px,4vw,40px) calc(32px + env(safe-area-inset-bottom,0px))}
.entry-masthead {min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top,0px)}
.public-home-brand {display:inline-flex;align-items:center;justify-self:start;align-self:start;width:fit-content;max-width:100%;min-height:44px;border-radius:6px}
.public-home-brand img {display:block;height:auto;max-width:100%}
.public-home-brand:focus-visible {outline:3px solid #087653;outline-offset:3px}
.entry-masthead .public-home-brand,.intake-brand .public-home-brand {align-self:center}
.entry-masthead .public-home-brand img {width:124px}
.entry-recovery .entry-panel {max-width:32rem;margin:clamp(30px,7vw,90px) auto;padding:0}
.entry-panel h1 {font-size:var(--type-page);line-height:1.25;letter-spacing:-.025em}
.entry-panel .hh-text {min-height:44px}
.entry-signin {display:inline-flex;align-items:center;gap:.6rem;padding:.55rem 1rem;min-height:44px;border:1px solid var(--border);border-radius:10px;color:var(--ink);background:transparent;font-weight:600}
.entry-chevron {--ui-icon-size:1rem}
.entry-body {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(24px,5vw,56px);max-width:56rem;margin:clamp(24px,4vw,48px) auto 0;padding:0}
.entry-body-signin {grid-template-columns:minmax(0,25rem) minmax(0,1fr)}
.entry-story,.entry-form {min-width:0}
.entry-hero {display:flex;flex-direction:column;gap:16px;border-radius:16px;background:var(--mint);padding:clamp(18px,3vw,32px)}
.entry-story-title {font-size:var(--type-section);font-weight:700;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;color:var(--ink)}
.entry-pets {display:block;width:min(100%,13rem);height:auto;max-height:10.5rem;object-fit:contain;align-self:center}
#auth .entry-form {width:100%;max-width:25rem;justify-self:start;padding:0;margin:0}
.entry-heading {font-size:var(--type-page);line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.entry-body-signin .entry-heading {font-size:clamp(1.625rem,3vw,2.125rem)}
.entry-intro {margin:.75rem 0 0;color:var(--muted)}
#auth .entry-form :is(#entry,#account-choice) {margin-top:1.125rem;display:grid;gap:1rem}
.entry-form .field {font-size:var(--type-ui);display:grid;gap:.5rem;color:var(--ink);font-weight:600}
.entry-form .field input,.entry-form .field select {width:100%;min-height:48px;border:1px solid var(--border);border-radius:10px;background:#fff;font-size:var(--type-body)}
.entry-form .field input:focus,.entry-form .field select:focus {outline:2px solid #007655;outline-offset:2px}
.entry-form .btn {min-height:48px;border-radius:10px}
#auth .entry-form .notice:empty {display:none}
.entry-reset,.entry-other,.entry-register button,.entry-privacy a {color:#234f42;font-weight:650;text-decoration:underline;text-underline-offset:.19em}
.entry-reset,.entry-other,.entry-register button {min-height:44px;text-align:left;padding:0;width:max-content;max-width:100%}
.entry-form .entry-reset {margin-block:-.5rem;justify-self:end}
.entry-form .btn,.entry-signin,.entry-roles button,.entry-reset,.entry-other,.entry-register button,.entry-panel .hh-text {font-size:var(--type-ui)}
.entry-roles {display:grid;margin-top:1rem;border-top:1px solid #cbdad0}
.entry-roles button {display:flex;align-items:center;gap:12px;min-height:48px;text-align:left;border-bottom:1px solid #cbdad0;font-weight:650;padding:8px 2px}
.entry-roles .entry-chevron {margin-inline-start:auto}
.entry-privacy,.entry-services p {color:var(--muted);font-size:var(--type-meta);line-height:1.5;margin:.85rem 0 0}
.entry-services {margin:1.2rem 0 0}
.entry-services h2 {font-size:var(--type-card);margin:0}
.entry-services ul {margin:.5rem 0 0;padding:0;list-style:none}
.entry-services li {display:flex;justify-content:space-between;gap:12px;padding:.65rem 0;border-bottom:1px solid #cbdad0}
.entry-services small,.entry-services strong {display:block}
.entry-services small {color:var(--muted)}
.entry-services summary {min-height:44px;align-content:center;color:#234f42;font-weight:650;cursor:pointer}
.entry-services li>span {text-align:right;font-weight:650;overflow-wrap:anywhere;max-width:55%}
#auth .intake-shell:not(.intake-editing) {max-width:820px;padding:0 clamp(18px,4vw,42px) 40px}
#auth .intake-brand {min-height:76px;margin:0 0 1.5rem;border-bottom:1px solid #cbdad0}
#auth .intake-brand img {width:140px}
#auth .intake-card {border:0;box-shadow:none;background:transparent;padding:0;gap:1rem}
#auth .intake-card h2 {font-size:var(--type-page);letter-spacing:-.025em;line-height:1.25}
#auth .intake-progress {gap:8px;margin-bottom:1.2rem}
#auth .intake-progress button {min-height:48px;align-items:center;flex-direction:row;padding:7px 4px;border-radius:0;background:none;border-bottom:3px solid #b8cdc1}
#auth .intake-progress [aria-current=step] {border-bottom-color:#107856}
#auth .intake-step-marker {width:24px;height:24px;background:#e3ebe0;color:#46636a}
#auth [aria-current=step] .intake-step-marker {background:#102f36;color:white}
#auth .intake-card [data-intake-content] {max-width:630px}
@media(max-width:740px){
 .entry-page {max-width:32rem;padding-inline:max(clamp(16px,5vw,28px),env(safe-area-inset-left,0px)) max(clamp(16px,5vw,28px),env(safe-area-inset-right,0px))}
 .entry-masthead {min-height:60px}
 .entry-masthead .public-home-brand img {width:120px}
 .entry-body, .entry-body-signin {grid-template-columns:minmax(0,1fr);gap:20px;margin-top:20px}
 .entry-hero {flex-direction:row;align-items:center;justify-content:center;gap:12px;padding:14px 16px}
 .entry-story-title {flex:1}
 .entry-pets {width:min(34%,7.5rem);max-height:5.5rem}
 #auth .entry-form {max-width:none}
 .entry-services {margin:14px 0 0}
 #auth .intake-progress button {align-items:flex-start;flex-direction:column}
}
.entry-page-native {padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.entry-page-native .entry-masthead {min-height:48px}
.entry-page-native .entry-masthead .public-home-brand img {width:108px}
.entry-page-native .entry-signin {border:0;padding-inline:.375rem}
.entry-page-native .entry-body {margin-top:.75rem;gap:.75rem}
.entry-page-native .entry-body-simple {display:block;max-width:25rem}
.entry-page-native .entry-panel {margin-top:1rem}
.entry-page-native .entry-heading {font-size:1.375rem}
.entry-page-native .entry-intro {margin-top:.375rem}
#auth .entry-page-native .entry-form :is(#entry,#account-choice) {margin-top:.625rem;gap:.625rem}
.entry-page-native .entry-form .field {gap:.25rem}
.entry-page-native .entry-form .entry-reset {margin:0}
.entry-page-native .entry-roles {margin-top:.5rem}
.entry-page-native .entry-privacy {margin-top:.625rem}
.entry-page-native #sent-code:empty {display:none}
@media(prefers-contrast:more){.entry-form .field input,.entry-signin {border-color:var(--ink)}}
