.account-page{min-height:100vh;background:radial-gradient(ellipse at 85% 0,#eef2e4,transparent 48%),#fcfcf7}.account-main{max-width:1280px;margin:auto;padding:48px 5% 70px}.account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.account-heading h1{font-size:55px;margin:10px 0 12px;letter-spacing:-1.5px}.account-heading p,.subtle{color:var(--muted);line-height:1.8;margin:0}.account-eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#869473}.account-footer{text-align:center;color:#8c9785;font-size:11px;padding:25px;border-top:1px solid var(--line)}.account-nav-name{max-width:140px;overflow:hidden;text-overflow:ellipsis}.account-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.panel{border:1px solid #e1e7d9;border-radius:15px;background:#fffefa;box-shadow:0 8px 30px #3b513305}.companions-panel{padding:25px;min-height:485px}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:18px;border-bottom:1px solid var(--line)}.panel-top h2{font-family:var(--sans);font-size:15px;letter-spacing:0;margin:0;font-weight:550}.count-pill{font-size:11px;background:#edf1e6;color:#6e805f;border-radius:30px;padding:5px 10px}.pet-group{padding:24px 0;border-bottom:1px solid var(--line)}.pet-group:last-child{border:0;padding-bottom:0}.pet-group h3{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:500;margin:0 0 16px}.pet-group h3 span{color:#a0aa96;font-size:11px}.companion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.companion-card{text-align:left;min-width:0;padding:6px;border:1px solid transparent;border-radius:11px;transition:background .2s,border-color .2s}.companion-card:hover{background:#f3f5ee}.companion-card[aria-pressed=true]{background:#f0f4e9;border-color:#9daf8b}.companion-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;background:#edf1e6;display:block}.companion-card strong{display:block;font-family:var(--serif);font-size:24px;font-weight:400;margin:10px 3px 3px;overflow-wrap:anywhere}.companion-card small{display:block;color:#8a9582;font-size:9px;margin:0 3px 5px}.detail-panel{padding:27px;position:sticky;top:24px;min-width:0}.detail-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;font-size:10px;color:#87947c;letter-spacing:1px}.detail-topline button{font-size:12px;letter-spacing:0;color:var(--green);text-decoration:underline;text-underline-offset:4px}.companion-summary{display:grid;grid-template-columns:40% 1fr;gap:22px;align-items:start}.cover-photo{width:100%;aspect-ratio:4/5;object-fit:cover;background:#edf1e6;border-radius:10px}.companion-summary h2{font-size:40px;margin:4px 0 10px;overflow-wrap:anywhere}.companion-meta{font-size:11px;color:#839076;line-height:1.9}.companion-quote{font-family:Georgia,serif;font-style:italic;font-size:13px;line-height:1.9;color:#66765d;white-space:pre-wrap;overflow-wrap:anywhere}.companion-story{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#74826a;margin:22px 0;max-height:170px;overflow-y:auto}.album-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.album-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.album-heading h3{font-size:11px;font-weight:500;margin:0}.album-controls{display:flex;gap:5px}.album-controls button{border:1px solid var(--line);width:28px;height:28px;border-radius:50%}.photo-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.photo-strip button{padding:0;flex:0 0 31%;scroll-snap-align:start}.photo-strip img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;display:block}.detail-bottom{display:flex;justify-content:flex-end;margin-top:22px}.quiet-empty{text-align:center;padding:64px 20px}.quiet-empty img{width:40px;height:40px;opacity:.4;margin-bottom:20px}.quiet-empty h2{font-size:30px;line-height:1.3}.quiet-empty p{color:#829076;font-size:12px;line-height:1.9;max-width:300px;margin:12px auto 23px}.detail-placeholder{display:grid;place-items:center;min-height:440px;color:#849276;text-align:center;padding:25px}.detail-placeholder span{display:block;font-size:34px;color:#b0bd9f;margin-bottom:18px}.account-error{background:#fcf1e9;border:1px solid #ecd9c9;border-radius:8px;padding:14px 18px;color:#9b5747;font-size:12px;margin-bottom:22px}.account-error button{font-size:inherit;text-decoration:underline;margin-left:12px}.loading-state{padding:65px 20px;text-align:center;color:#839076}.auth-layout{max-width:1050px;margin:55px auto 75px;display:grid;grid-template-columns:1fr 1fr;min-height:570px;border:1px solid #e3e8d9;border-radius:20px;overflow:hidden;box-shadow:0 12px 50px #4b633109}.auth-art{position:relative;background:#edf1e5;display:flex;flex-direction:column;justify-content:flex-start;text-align:center;padding:50px 30px;isolation:isolate;overflow:hidden}.auth-art:before{content:'';position:absolute;inset:0;background:linear-gradient(#f0f4e9 18%,#f0f4e955 68%),url('assets/heaven-garden-v3.png') center bottom/auto 65% no-repeat;z-index:-1;opacity:.8}.auth-art h1{font-size:48px;line-height:1.15;letter-spacing:-1px;margin:20px 0}.auth-art p{font-size:12px;color:#7a896e;line-height:1.9;max-width:300px;margin:0 auto}.auth-form-panel{padding:42px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:28px}.auth-tabs button{width:50%;padding:13px 10px;color:#8a9580;font-size:13px;border-bottom:2px solid transparent}.auth-tabs button[aria-pressed=true]{border-color:var(--green);color:var(--green-dark)}.auth-form-panel h2{font-size:35px;margin-bottom:10px}.auth-form-panel form{display:grid;gap:17px;margin-top:25px}.auth-form-panel .button{margin-top:4px;width:100%;font-size:13px}.password-wrap{position:relative}.password-wrap input{padding-right:60px}.password-wrap button{position:absolute;right:10px;top:10px;font-size:11px;color:#829273;padding:3px}.auth-note{color:#929c88;font-size:10px;line-height:1.8;margin-top:20px}.pet-editor{width:min(740px,calc(100% - 28px));padding:34px}.pet-editor h2{font-size:36px}.pet-editor form{gap:19px}.editor-section{border-top:1px solid var(--line);padding-top:19px;display:grid;gap:15px}.editor-section h3{font-size:12px;margin:0;color:#758667;font-weight:500}.upload-zone{border:1px dashed #b9c6aa;border-radius:9px;background:#f6f8f0;padding:15px;display:grid;gap:8px}.upload-zone input{font-size:11px;max-width:100%}.upload-preview{display:flex;gap:10px;flex-wrap:wrap}.upload-item{position:relative;width:75px}.upload-item img{width:75px;height:75px;object-fit:cover;border-radius:6px}.upload-item button{position:absolute;right:2px;top:2px;border-radius:50%;background:#fff;width:22px;height:22px;color:#71574c;padding:0}.editor-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center}.editor-actions .delete-button{margin-right:auto}.editor-actions .button{font-size:12px}.photo-lightbox{width:min(900px,calc(100% - 28px));padding:35px;background:#fcfcf7}.photo-lightbox img{max-width:100%;max-height:75vh;object-fit:contain;display:block;margin:auto}.visit-main{max-width:900px;margin:auto;padding:40px 5% 80px}.visit-card{text-align:center;padding:50px 65px;margin-top:25px}.visit-cover{width:220px;height:250px;object-fit:cover;border-radius:100px 100px 12px 12px;background:#eef2e7;margin:25px auto}.visit-card h1{font-size:64px;margin:15px 0}.visit-story{font-size:14px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;color:#718165;margin:30px auto;max-width:580px}.visit-card .photo-strip button{flex-basis:28%}.pet-editor::backdrop{background:#263c3266}.account-notice{min-height:20px;color:#627e52;font-size:12px;margin-bottom:10px}.cover-placeholder{object-fit:contain!important;padding:25%!important}.account-page .signin{max-width:160px}.account-page .header-actions{gap:12px}
@media(max-width:1000px){.account-main{padding-left:4%;padding-right:4%}.account-layout{gap:18px}.companions-panel,.detail-panel{padding:20px}.companion-grid{gap:6px}.companion-summary{gap:15px}.companion-summary h2{font-size:32px}.auth-layout{margin:35px 4%}.auth-form-panel{padding:32px}.auth-art{padding:40px 24px}.auth-art h1{font-size:42px}}
@media(max-width:760px){.account-heading h1{font-size:40px}.account-heading{margin-bottom:24px;align-items:flex-start}.account-heading p{font-size:12px}.account-heading>.button{margin-top:25px;white-space:nowrap}.account-layout{grid-template-columns:1fr}.detail-panel{position:static}.companions-panel{min-height:0}.companion-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.detail-placeholder{min-height:180px}.account-main{padding-top:32px}.auth-layout{grid-template-columns:1fr;max-width:500px;margin:28px auto}.auth-art{min-height:190px;padding:25px 20px}.auth-art:before{background-size:auto 150%;background-position:center 70%;opacity:.3}.auth-art h1{font-size:34px;margin:12px 0}.auth-art p{font-size:11px}.auth-form-panel{padding:24px}.auth-main{padding:0 5%}.companion-summary{grid-template-columns:37% 1fr}.companion-summary h2{font-size:38px}.visit-card{padding:30px 22px}.visit-card h1{font-size:50px}.pet-editor{padding:30px 20px}.account-heading .button{font-size:11px}.account-page .account-nav-name{max-width:85px}.field-row{gap:12px}}

/* Keep photo tops aligned even when a companion has a long name. */
.companion-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}

.date-details{margin:0 0 20px;color:#738269;font-size:12px}.date-details summary{cursor:pointer;margin-bottom:12px}.date-details .form-note{display:block;margin-top:-8px}

.life-date,.location-fields{border:0;padding:0;margin:0;min-width:0}.life-date legend,.location-fields legend{font-size:12px;color:#6b7e60;margin-bottom:10px}.date-parts{display:flex;gap:8px}.date-parts label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;color:#8a967f;font-size:10px}.date-parts input,.date-parts select{width:100%;box-sizing:border-box;min-width:0;border:1px solid #dce2d3;border-radius:7px;padding:10px 8px;background:#fff;color:#4c6144}.date-parts label:first-child{flex:1.4}.life-dates{margin-bottom:28px}.location-fields{margin-top:22px}.location-fields .field-row>div{min-width:0}.location-value{margin-top:-10px}.pet-editor [hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.life-dates>.field-row,.location-fields>.field-row{grid-template-columns:1fr;gap:18px}}

.email-panel{width:min(100%,560px);margin:5rem auto;padding:2.5rem;box-sizing:border-box}.email-panel p{line-height:1.7}.email-panel h1{font-size:2rem}
