/* Customer views follow the approved archive's paper, typography and card system. */
:root{--ink:#172a38;--ink2:#465764;--ink3:#697883;--paper:#faf8f3;--paper2:#eee8dc;--paper3:#e0d7c8;--serif:Georgia,serif;--gold:#a7834d;--gold2:#806744}
.top-bar{background:#fbf8f1!important;border-bottom:1px solid var(--paper3)}
.tb-logo,.tb-name,.tb-plan,.tb-tag,.tb-logout{color:var(--ink)!important}.tb-burger{display:flex;background:#e9e1d2;border-radius:50%;width:36px;height:36px;padding:10px}.tb-burger span{background:var(--ink)}
.sidebar{background:#ebe5d9;border-right:1px solid #ded7ca}.sh-name,.ss-val,.snav-btn,.sb-info-name{color:var(--ink)}.sh-label,.sp-pct{color:var(--gold2)}.sh-dates,.ss-lbl,.sp-lbl,.sb-info-role{color:var(--ink3)}.snav-btn.active{background:#e0d7c6;color:var(--ink)}.snav-btn:hover{background:#e6dece;color:var(--ink)}.snav-divider{background:var(--paper3)}.sp-bar{background:#d6ccba}.snav-btn>div{background:#e8e0d1!important}.snav-btn svg{stroke:#886b3e}
.section-wrap{width:100%;max-width:1320px;margin:0 auto;padding:38px 42px 65px}.mh-h1{font-size:36px;font-weight:400;line-height:1.2}.mh-sub{font-size:15px;line-height:1.7}.main-person-switch{margin-bottom:25px}.mps-card{padding:15px 22px}.mps-card.active{background:#e8dfcf;border-color:#b49664}.mps-card.active .mps-card-name{color:var(--ink)}.mps-card.active .mps-card-label{color:var(--gold2)}
.customer-hero{position:relative;min-height:460px;border-radius:18px;overflow:hidden;background:#eee8dc;display:flex;align-items:center}.customer-hero.has-photo{background:#172a38;color:#fff8ec}.customer-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.customer-hero.has-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,24,34,.9),rgba(11,24,34,.45) 55%,rgba(11,24,34,.05))}.customer-hero-copy{position:relative;z-index:1;max-width:670px;padding:52px 48px}.customer-hero h1{font:400 clamp(42px,5vw,74px)/1.08 Georgia,serif;letter-spacing:-1.5px;margin:14px 0 18px}.customer-hero p{font:18px/1.8 Georgia,serif;max-width:490px;margin:22px 0;color:inherit}.customer-hero small{color:inherit;opacity:.8}.customer-hero .mh-eyebrow{color:#d9bb83}.customer-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border:1px solid #cbbda3;border-radius:30px;background:#e5d4ae;color:#172a38;cursor:pointer;text-decoration:none;font:13px var(--sans)}.customer-action.secondary{background:transparent;color:inherit}.customer-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.customer-entry{margin:36px 0 22px}.customer-entry h2{font:32px Georgia,serif;margin:7px 0 22px}.archive-links,.document-grid,.photo-albums,.customer-books,.customer-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.archive-link{display:flex;align-items:center;gap:14px;padding:25px 20px;background:#fffdf8;border:1px solid #ded7ca;border-radius:12px;text-align:left;color:#172a38;cursor:pointer}.archive-link:hover{background:#eee6d7}.archive-link h3{font:21px Georgia,serif;margin:0 0 6px}.archive-link small{font-size:11px;color:#75808a}.archive-link .entry-icon{width:42px;height:42px;background:#eee7db;color:#886b3e;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.archive-link .entry-icon svg{width:23px;height:23px}.archive-link .entry-arrow{margin-left:auto;color:#9b8057}.archive-link:disabled{opacity:.5;cursor:default}
.chronicle-card{background:#eee8dc;border:1px solid #e1d8c7;border-radius:15px;padding:32px 34px}.chronicle-card h3{font:400 28px/1.3 Georgia,serif;margin:0 0 20px}.chronicle-years{font:600 12px var(--sans);letter-spacing:1px;color:#b28a48;margin-bottom:10px}.chronicle-intro{font:italic 19px/1.9 Georgia,serif;color:#7b786e}.chronicle-tags span{background:#faf7f0;border:1px solid #e7dfd1;border-radius:30px;padding:3px 12px;font-size:11px;color:#8b877f}.chronicle-read-btn{margin-top:22px;border-top:1px solid #ded4c3;padding-top:16px;width:100%;text-align:left}.chronicle-reader{background:#fffdf7;border:1px solid var(--paper3);border-radius:12px;padding:36px}.chronicle-reader-text{font:19px/1.9 Georgia,serif}
.document-card,.photo-album,.customer-video,.memory-book{padding:0;text-align:left;background:#fffdf8;border:1px solid #e2d8c7;border-radius:13px;overflow:hidden;color:#172a38;cursor:pointer}.document-thumb{height:185px;background:#eee8dc;position:relative;display:grid;place-items:center;overflow:hidden}.document-thumb img{width:100%;height:100%;object-fit:cover}.document-thumb .paper-preview{font:italic 18px/1.8 Georgia,serif;padding:26px;transform:rotate(-3deg);color:#806744}.document-caption,.photo-album-copy,.customer-video-copy{padding:23px}.document-caption h3,.photo-album h3,.customer-video h3{font:25px Georgia,serif;margin:8px 0}.document-caption p{font-size:13px;line-height:1.7;color:#697883}.document-caption small{color:#967647}.document-reader{max-width:950px;margin:28px auto}.document-paper{background:#fffdf6;border:1px solid #e3d7c4;border-radius:10px;padding:40px;box-shadow:0 10px 30px #172a3809}.document-paper p{font:19px/1.9 Georgia,serif;margin:0 0 22px;white-space:pre-wrap;overflow-wrap:anywhere}.document-source{width:100%;max-height:700px;object-fit:contain}.document-source-pdf{width:100%;height:70vh;border:0}.customer-reader-nav{display:flex;justify-content:space-between;gap:12px;margin:25px 0}.customer-reader-nav button{background:#eee8dc;padding:10px 18px;border:0;border-radius:25px;cursor:pointer}.customer-reader-nav button:disabled{opacity:.4;cursor:default}.photo-album img{width:100%;height:220px;object-fit:cover}.photo-album-copy small{color:var(--gold2)}.customer-video video{width:100%;height:220px;object-fit:cover;background:#e7dfd0}.customer-modal{position:fixed;inset:0;background:#172a3866;z-index:400;display:flex;align-items:center;justify-content:center;padding:24px}.customer-modal-body{position:relative;max-width:1000px;width:100%;max-height:92vh;overflow:auto;background:#faf8f3;border-radius:15px;padding:30px}.customer-modal-body video{width:100%;max-height:72vh}.customer-modal-close{float:right;background:#eee8dc;border:0;border-radius:25px;padding:8px 15px;cursor:pointer}.customer-modal-body iframe{width:100%;height:78vh;border:0}
.reference-cover{aspect-ratio:.71;background:#fffefb;color:#433f37;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center;border-bottom:1px solid #e9dfd1}.reference-cover>small{font:10px Georgia,serif;letter-spacing:4px;color:#927240}.reference-gold-line{height:1px;background:#b69563;width:100%;margin:24px 0 30px}.reference-cover h3{font:italic 34px/1.22 Georgia,serif;margin:0;color:#373932}.reference-cover p{font:14px Georgia,serif;color:#8a8174}.reference-cover em{font:italic 15px Georgia,serif;color:#967647;margin-top:32px}.memory-book-caption{padding:23px}.memory-book-caption h3{font:22px Georgia,serif;margin:0 0 10px}.memory-book-caption p{font-size:13px;color:#697883}.memory-book:disabled{cursor:default;opacity:.7}.memory-book{box-shadow:0 8px 28px #172a3808}.voice-reading{padding:24px;background:#eee8dc;border:1px solid #dfd3bc;border-radius:14px;margin:15px 0}.voice-reading h3{font:23px Georgia,serif;margin:0 0 7px}.voice-controls{display:flex;gap:14px;align-items:center;margin:20px 0}.voice-controls button{width:48px;height:48px;border-radius:50%;background:#e3cc9f;color:#172a38;border:0;cursor:pointer;font-size:21px}.voice-controls input{flex:1;accent-color:#ae915c;min-width:50px}.voice-controls small{font-variant-numeric:tabular-nums}.voice-reading p{font-size:12px;color:#697883}.stemme-generate{background:#fffdf8;border-color:#e2d8c7}
.uploaded-panel{margin-top:35px;padding-top:30px;border-top:1px solid var(--paper3)}.uploaded-panel h3{font:26px Georgia,serif;margin:0 0 12px}.uploaded-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.uploaded-file{padding:0;background:#fffdf8;border:1px solid var(--paper3);border-radius:10px;overflow:hidden;text-align:left;color:var(--ink);cursor:pointer}.uploaded-file img{width:100%;height:140px;object-fit:cover}.uploaded-file>div{padding:17px;overflow-wrap:anywhere}.uploaded-file small{display:block;color:var(--ink3);margin-top:5px}.uploaded-file .file-symbol{height:140px;background:#eee8dc;display:grid;place-items:center;font:38px Georgia,serif;color:#967647}.upload-progress-steps{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0 25px}.upload-progress-steps span{padding:8px 14px;background:#eee8dc;border-radius:25px;font-size:12px}.upload-progress-steps span.current{background:#dcccab}.customer-empty{padding:30px;background:#eee8dc;border:1px solid #e2d8c7;border-radius:12px;color:var(--ink3);line-height:1.7}.customer-caption{font-size:12px;color:var(--ink3);margin-top:18px}
@media(min-width:861px){.app-body.sidebar-hidden .sidebar{display:none}.app-body.sidebar-hidden .section-wrap{max-width:1460px}.tb-burger{display:flex}}
@media(max-width:1000px){.archive-links,.document-grid,.photo-albums,.customer-books,.customer-videos{grid-template-columns:repeat(2,minmax(0,1fr))}.section-wrap{padding:28px}.customer-hero-copy{padding:40px}}
@media(max-width:600px){.section-wrap{padding:22px 18px 40px}.customer-hero{min-height:480px}.customer-hero-copy{padding:30px 25px}.customer-hero h1{font-size:44px}.customer-hero.has-photo:after{background:linear-gradient(90deg,rgba(11,24,34,.88),rgba(11,24,34,.5))}.archive-links,.document-grid,.photo-albums,.customer-books,.customer-videos,.uploaded-grid{grid-template-columns:1fr}.chronicle-card{padding:25px 22px}.chronicle-card h3{font-size:25px}.chronicle-intro{font-size:17px}.document-paper,.chronicle-reader{padding:24px}.document-paper p{font-size:18px}.customer-modal{padding:10px}.customer-modal-body{padding:20px}.mh-h1{font-size:30px}}
.customer-chapter-photo{width:100%;height:210px;object-fit:cover;border-radius:10px;margin-bottom:24px;display:block}
.customer-chapter-image{border:0;padding:0;background:transparent;cursor:zoom-in;border-radius:10px;overflow:hidden}
.customer-chapter-image:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.customer-chapter-image img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.customer-chapter-photo{height:170px}}

.customer-chapter-details{margin-top:22px}.customer-chapter-details summary{cursor:pointer;list-style:none;font:14px var(--sans);color:var(--ink);padding:10px 0}.customer-chapter-details summary::-webkit-details-marker{display:none}.chapter-close-label{display:none}.customer-chapter-details[open] .chapter-close-label{display:inline}.customer-chapter-details[open] .chapter-open-label{display:none}.customer-chapter-details .chronicle-reader-text{margin-top:14px}.customer-chapter-details summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

/* Exact approved chronicle component styles. */
.chronicle-list{display:grid;gap:20px;margin-top:32px}.chronicle-card{background:#eee8dc;border:1px solid #e1d8c7;border-radius:15px;padding:32px 34px}.chronicle-years{font:600 12px Arial,sans-serif;letter-spacing:1px;color:#b28a48;margin-bottom:10px}.chronicle-card h3{font:400 28px/1.3 Georgia,serif;margin:0 0 20px}.chronicle-intro{font:italic 19px/1.9 Georgia,serif;color:#7b786e;margin:0 0 22px}.chronicle-tags{display:flex;gap:8px;flex-wrap:wrap}.chronicle-tags span{background:#faf7f0;border:1px solid #e7dfd1;border-radius:30px;padding:3px 12px;font-size:11px;color:#8b877f}.chronicle-details{margin-top:22px;border-top:1px solid #ded4c3;padding-top:14px}.chronicle-details summary{display:flex;justify-content:space-between;cursor:pointer;font-size:12px;color:#806744;list-style:none}.chronicle-details summary::-webkit-details-marker{display:none}.chronicle-details[open] summary span{transform:rotate(45deg)}.chronicle-full{max-width:760px;padding-top:10px}.chronicle-full p{font:19px/1.9 Georgia,serif;color:#48545b}.chronicle-details[open] summary{font-weight:600}@media(max-width:600px){.chronicle-card{padding:25px 22px}.chronicle-card h3{font-size:25px}.chronicle-intro,.chronicle-full p{font-size:17px}}

/* Approved reference: shell, split portrait hero and archive navigation cards. */
body{background:#faf8f3;color:#172a38;font:15px/1.65 Arial,sans-serif}
.top-bar{height:76px;padding:0 34px;background:#faf8f3!important;border-bottom:1px solid #ded8cc}
.sidebar{width:230px;background:#f2eee5;padding:35px 25px;border-right:1px solid #ded8cc}
.snav-btn{padding:11px 13px;border-radius:7px;color:#566472}.snav-btn.active{background:#172a38;color:white}.snav-btn.active svg{stroke:white}
.section-wrap{padding:38px 48px;max-width:1350px;margin:auto;width:100%}
.hero{display:grid;grid-template-columns:1fr 1fr;background:#eee8dc;border-radius:15px;overflow:hidden;min-height:500px}
.hero-copy{padding:58px 48px;align-self:center}
.hero h1{font:400 66px/1.05 Georgia,serif;letter-spacing:normal;margin:15px 0}
.hero p{max-width:390px;font:16px/1.65 Arial,sans-serif;color:#596976}
.hero img{width:100%;height:100%;object-fit:cover;min-height:440px}
.hero .mh-eyebrow{font:10px Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#927240}
.hero small{color:#687681}
.button{display:inline-block;text-decoration:none;background:#172a38;color:white;padding:12px 20px;border:0;border-radius:30px;font:13px Arial,sans-serif}
.subtle{background:transparent;color:#172a38;border:1px solid #c9c1b4}.hero .button{margin:5px 5px 0 0}
.archive-entry{margin-top:36px}.archive-entry h2{font:400 32px/1.2 Georgia,serif;margin:8px 0 25px}
.archive-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.archive-link{display:flex;align-items:center;gap:16px;padding:25px 22px;background:#fffdf8;border:1px solid #ded7ca;border-radius:12px;text-align:left;color:#172a38;transition:background .15s,transform .15s}
.archive-link:hover{background:#eee6d7;transform:translateY(-2px)}.archive-link h3{font:400 21px Georgia,serif;margin:0 0 6px}.archive-link small{font-size:11px;color:#75808a}
.archive-link .entry-icon{width:45px;height:45px;flex-shrink:0;background:#eee7db;color:#886b3e;border-radius:10px;display:grid;place-items:center}.archive-link .entry-icon svg{width:24px;height:24px}.entry-arrow{margin-left:auto;color:#9b8057}
#kronikList{display:grid;gap:20px;margin-top:32px}
@media(max-width:1150px){.archive-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.section-wrap{padding:22px}.hero{grid-template-columns:1fr;min-height:520px}.hero-copy{padding:40px 28px}.hero h1{font-size:47px}.hero img{min-height:0;height:300px}.archive-link{padding:18px 15px}.archive-link h3{font-size:19px}.archive-link small{font-size:10px}.top-bar{padding:0 22px}}
@media(max-width:550px){.archive-links{grid-template-columns:1fr}.archive-link{padding:20px}.hero-copy{padding:40px 23px}}

/* Approved reference document components. */
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.document-card{padding:0;text-align:left;background:#fffdf8;border:1px solid #e2d8c7;border-radius:13px;overflow:hidden;color:#172a38;transition:transform .18s,box-shadow .18s}.document-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #172a3812}.document-thumb{position:relative;height:185px;overflow:hidden}.document-thumb .archive-photo{height:100%;object-fit:cover}.document-thumb>span{position:absolute;left:16px;bottom:14px;background:#fffaf0ee;border-radius:20px;padding:4px 12px;color:#80643b;font-size:11px}.document-caption{padding:23px}.document-caption small{color:#967647}.document-caption h3{font-size:25px;margin:9px 0}.document-caption p{font-size:13px}.document-open{font-size:12px;color:#80643b}.document-reader{max-width:1080px;margin:32px auto}.document-heading{margin:25px 0 32px}.document-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:32px;align-items:start}.document-paper{white-space:normal;padding:45px}.document-paper p{font:19px/1.9 Georgia,serif;color:#465764;margin:0 0 23px}.document-paper p:first-child{font-size:15px;color:#937447;margin-bottom:34px}.document-context .archive-photo{border-radius:10px;margin-bottom:10px}.document-context small{font-size:10px;color:#7b858a}.document-context h3{font-size:20px;margin-top:25px}.document-context p{font-size:13px}@media(max-width:1000px){.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-reading-layout{grid-template-columns:1fr}.document-context{max-width:320px}}@media(max-width:550px){.document-grid{grid-template-columns:1fr}.document-paper{padding:25px}.document-paper p{font-size:18px}.document-thumb{height:220px}}
.tabs{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.tabs button{padding:9px 16px;border-radius:22px;background:#eee8dc;border:0;font:15px/1.65 Arial,sans-serif}.tabs button.active{background:#172a38;color:white}
.archive-photo{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.paper{background:#fffdf6;padding:40px;border:1px solid #e3d7c4;font:21px/1.8 Georgia,serif;box-shadow:0 10px 30px #172a3809}
.document-heading h2{font:400 36px/1.2 Georgia,serif;margin:8px 0 18px}.document-reader .document-paper{border-radius:0;padding:45px}.document-paper p{white-space:normal;overflow-wrap:normal}
.reader-controls{display:flex;justify-content:space-between;margin:30px 0}.reader-controls button{background:#eee8dc;padding:10px 18px;border:0;border-radius:30px}
@media(max-width:550px){.document-reader .document-paper{padding:25px}.document-heading h2{font-size:30px}}

/* Approved reference photo cards and complete image viewing. */
.photos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.photo-card{border:0;padding:0;background:white;text-align:left;border-radius:12px;overflow:hidden;color:#172a38}
.photos-grid .photo-card{border:1px solid #e5dccd;box-shadow:0 6px 22px #172a3806;cursor:pointer;transition:transform .18s,box-shadow .18s}
.photos-grid .photo-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px #172a3812}
.photos-grid .caption{padding:20px}.photos-grid .caption h3{font:400 25px Georgia,serif;margin:8px 0}.photo-card p{font:12px/1.65 Arial,sans-serif;margin:6px 0;color:#596976}.photo-card small{font-size:12px}
.search{width:100%;padding:15px;border:1px solid #d8cfbf;border-radius:8px;background:white;margin-bottom:25px;font:15px Arial,sans-serif}
.customer-modal-body{max-width:850px;padding:35px}.customer-full-photo{max-height:65vh;width:100%;object-fit:contain;aspect-ratio:auto;border-radius:8px;background:#f1ece3;margin-bottom:22px}
@media(max-width:900px){.photos-grid{grid-template-columns:1fr 1fr}}@media(max-width:500px){.photos-grid{grid-template-columns:1fr}}

/* Current approved demo hero: full portrait with left-hand gradient. */
.hero{display:block;position:relative;min-height:500px;background:#eee8dc;border-radius:18px;color:#172a38}
.hero.has-photo{color:#fff8ec;background:#172a38}
.hero>.customer-hero-background{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center}
.hero.has-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,24,34,.88),rgba(11,24,34,.5) 44%,transparent 78%);pointer-events:none}
.hero-copy{position:relative;z-index:1;width:62%;padding:58px 48px}
.hero h1{font-size:clamp(56px,5vw,82px);letter-spacing:-2px;max-width:560px}
.hero.has-photo .mh-eyebrow{color:#d9bb83}.hero.has-photo small{color:#dfd8ca}.hero.has-photo p{color:#f0e6d7;font:20px/1.65 Georgia,serif}
.hero .button{background:#dfc99d;color:#172a38}.hero.has-photo .subtle{background:transparent;border-color:#e8dcc3;color:white}
@media(max-width:900px){.hero{min-height:520px}.hero-copy{width:82%;padding:40px 28px}.hero h1{font-size:56px}.hero.has-photo p{font-size:18px}.hero>.customer-hero-background{height:100%;object-position:60% center}}
@media(max-width:550px){.hero-copy{width:100%;padding:40px 23px}}
/* Match the approved demo's left-aligned brand and sidebar arrow. */
.top-bar{justify-content:flex-start;gap:20px;border-bottom:1px solid #ded8cc}
.top-bar:after{display:none}
.tb-burger{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#e9e1d2;color:#172a38;font:22px Arial,sans-serif}
.tb-logo{margin:0 auto 0 0;font:italic 400 29px Georgia,serif;color:#172a38!important}.tb-logo span{color:inherit}
@media(max-width:600px){.top-bar{gap:16px}.tb-logo{font-size:29px}}
/* Approved text-only sidebar navigation, with generous vertical spacing. */
#sidebarNav{display:grid;gap:7px;margin:20px 0 0;padding:0}
#sidebarNav .customer-nav-text{display:block;width:100%;text-align:left;background:transparent;border:0;padding:11px 13px;margin:0;color:#566472;border-radius:7px;font:15px/1.65 Arial,sans-serif;min-height:47px;white-space:nowrap}
#sidebarNav .customer-nav-text.active{background:#223b49;color:#fff}
#sidebarNav .customer-nav-text:hover:not(.active):not(:disabled){background:#e9e2d5}
#sidebarNav .customer-nav-text:disabled{opacity:.45;cursor:default}
.customer-sidebar-practical{border-top:1px solid #ddd5c8;margin-top:22px;padding-top:22px}
#sidebarNav .customer-sidebar-practical .customer-nav-text{font-size:12px;color:#707c84;white-space:normal}
/* Expanded chapters keep the reference's narrow reading column inside the card. */
.chronicle-full{max-width:760px;padding-top:10px}
.chronicle-full p{font:19px/1.9 Georgia,serif;color:#48545b;margin:1em 0;white-space:normal;overflow-wrap:break-word}
.chronicle-details{margin-top:22px;border-top:1px solid #ded4c3;padding-top:14px}
.chronicle-details summary{display:flex;justify-content:space-between;cursor:pointer;font:12px/1.65 Arial,sans-serif;color:#806744;list-style:none}
.chronicle-details[open] summary{font-weight:600}
@media(max-width:600px){.chronicle-full p{font-size:17px}}

.customer-album-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 20px}.customer-album-heading h2{font:36px Georgia,serif;margin:0}.customer-album-heading small{color:#75808a}
.customer-photo-slider{position:relative;background:#eee8dc;border:1px solid #e1d8c7;border-radius:14px;overflow:hidden;touch-action:pan-y}
.customer-photo-slider>img{display:block;width:100%;height:min(65vh,700px);object-fit:contain}
.customer-photo-slider>button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #d4c6ae;border-radius:50%;background:#fffaf0ed;color:#172a38;font:30px Georgia,serif}.customer-slide-prev{left:16px}.customer-slide-next{right:16px}.customer-photo-slider>button:disabled{display:none}.customer-slide-caption{margin-top:24px;max-width:760px}.customer-slide-caption h3{font:26px Georgia,serif;margin:8px 0}.customer-slide-caption p{white-space:pre-wrap;color:#596976}
@media(max-width:600px){.customer-album-heading h2{font-size:28px}.customer-photo-slider>img{height:52vh}.customer-slide-prev{left:8px}.customer-slide-next{right:8px}}
/* Approved letter stationery: warm lined paper and generous reading space. */
.document-reader .paper.document-paper{background:repeating-linear-gradient(#fffdf5,#fffdf5 36px,#dcd0b850 37px);border:1px solid #e3d7c4;border-radius:3px;padding:45px;box-shadow:0 12px 40px #59452b12;line-height:1.8}
.document-reader .document-paper p{font:400 19px/1.9 Georgia,serif;color:#465764;margin:0 0 23px}
.document-reader .document-paper p:first-child{font-size:15px;color:#937447;margin-bottom:34px}
.document-reader .document-paper p:last-child{margin-bottom:0}
@media(max-width:550px){.document-reader .paper.document-paper{padding:25px}.document-reader .document-paper p{font-size:18px}.document-reader .document-paper p:first-child{font-size:15px}}

/* Approved voice archive components */
.voice-intro{display:grid;grid-template-columns:220px 1fr;gap:34px;align-items:center;background:#eee8dc;border:1px solid #e2d7c4;border-radius:15px;padding:24px;margin-top:30px}.voice-intro-photo .archive-photo{height:230px;object-fit:cover;border-radius:10px}.voice-intro h3{font-size:30px;line-height:1.35;margin:9px 0}.voice-intro small{font-size:11px;color:#758087}.voice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:20px}.voice-card{padding:0;border:1px solid #e2d8c7;border-radius:13px;overflow:hidden;text-align:left;background:#fffdf8;color:#172a38;transition:transform .18s,box-shadow .18s}.voice-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #172a3812}.voice-card-photo{height:190px;position:relative}.voice-card-photo .archive-photo{height:100%;object-fit:cover}.voice-play-mark{position:absolute;bottom:15px;left:18px;background:#fffaf0ee;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:25px;color:#172a38}.voice-card-copy{padding:23px}.voice-card-copy small{color:#927240;font-size:11px}.voice-card-copy h3{font-size:24px;margin:9px 0}.voice-card-copy p{font-size:13px}.voice-open{font-size:12px;color:#84683f}.voice-reader{max-width:900px;margin:36px auto}.voice-listen-panel{display:grid;grid-template-columns:150px 1fr;gap:26px;padding:27px;background:#eee8dc;border-radius:14px;border:1px solid #dfd3bc;margin-top:28px}.voice-avatar .archive-photo{border-radius:10px;height:160px;object-fit:cover}.voice-player-copy h3{font-size:23px;margin:0 0 4px}.voice-player-copy small{font-size:11px;color:#758087}.voice-wave{height:55px;display:flex;align-items:center;gap:4px;max-width:380px;margin:15px 0}.voice-wave i{display:block;flex:1;background:#ae915c;border-radius:3px;opacity:.65}.voice-player-controls{display:flex;align-items:center;gap:12px;font-size:12px;color:#74818a}.voice-player-controls button{width:42px;height:42px;border-radius:50%;font-size:23px;background:#d6cebe;color:#7b847f;cursor:default}.voice-disclosure{font-size:11px;line-height:1.7;margin:16px 0 30px;max-width:730px}.voice-letter .eyebrow{margin-bottom:28px}.section-head small{font-size:11px;color:#78838b}@media(max-width:900px){.voice-cards{grid-template-columns:1fr 1fr}.voice-intro{grid-template-columns:160px 1fr}.voice-intro h3{font-size:25px}}@media(max-width:550px){.voice-cards,.voice-intro{grid-template-columns:1fr}.voice-intro-photo .archive-photo{height:240px}.voice-listen-panel{grid-template-columns:80px 1fr;padding:18px;gap:16px}.voice-avatar .archive-photo{height:100px}.voice-wave{gap:2px}.voice-player-copy h3{font-size:20px}.section-head{flex-wrap:wrap}}
.voice-actions{margin-bottom:24px}.voice-intro .archive-photo,.voice-card .archive-photo,.voice-avatar .archive-photo{width:100%;display:block}.voice-card{cursor:pointer;font-family:inherit}.voice-card-photo{background:#eee8dc}.voice-intro p{line-height:1.8}.voice-intro small{display:block;line-height:1.7}.voice-controls button{cursor:pointer;background:#ded2b9;color:#172a38;border:1px solid #c9b891}.voice-controls input{accent-color:#a8874a}.voice-listen-panel .voice-controls{margin-top:26px}.voice-reading .voice-disclosure{margin-bottom:0}#customerVoiceComposer[hidden]{display:none}

#sec-stemme.voice-detail-open>.mh-eyebrow,#sec-stemme.voice-detail-open>.mh-h1,#sec-stemme.voice-detail-open>.mh-sub{display:none}.customer-voice-reader{max-width:900px;margin:0 auto}.customer-voice-reader>h2{font:400 38px/1.25 Georgia,serif!important;margin:12px 0 18px}.voice-back{margin-bottom:26px}.voice-person-line{color:#607484;margin-bottom:30px}.customer-voice-reader .voice-player-copy h3{font:400 25px/1.35 Georgia,serif!important}.customer-voice-reader .voice-controls{margin-top:24px}.customer-voice-reader .voice-controls button{width:56px;height:56px;flex-shrink:0;border-radius:50%;background:#ddcca7;border:1px solid #c3aa77;color:#6c5534;font-size:20px;box-shadow:0 3px 8px #59452b0a}.voice-progress{flex:1;min-width:0}.voice-progress input{width:100%;display:block}.voice-time-row{display:flex;justify-content:space-between;margin-top:12px;color:#967443}.customer-voice-reader .document-reader{margin-top:32px}.customer-voice-reader .document-paper>.eyebrow{font:italic 11px Georgia,serif;letter-spacing:1px;color:#98743c;margin-bottom:34px}.customer-voice-reader .voice-disclosure{margin-top:16px;font-size:11px;line-height:1.7}.customer-voice-reader .voice-listen-panel{grid-template-columns:150px minmax(0,1fr)}@media(max-width:550px){.customer-voice-reader>h2{font-size:29px!important}.customer-voice-reader .voice-listen-panel{grid-template-columns:1fr}.customer-voice-reader .voice-avatar{max-width:150px}}

.video-toolbar{margin-top:28px}.video-toolbar .search{margin-bottom:0}.archive-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.archive-video-card{padding:0;background:#fffdf8;border:1px solid #e0d7c6;border-radius:14px;overflow:hidden;text-align:left;color:#172a38;transition:transform .18s,box-shadow .18s}.archive-video-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #172a3812}.video-thumbnail{position:relative;aspect-ratio:16/9;overflow:hidden}.video-thumbnail .archive-photo{height:100%;width:100%;object-fit:cover;aspect-ratio:auto}.video-play-symbol{position:absolute;left:22px;bottom:20px;width:50px;height:50px;border-radius:50%;background:#fffaf0ed;color:#172a38;display:grid;place-items:center;font-size:28px}.video-type{position:absolute;top:16px;right:16px;background:#fffaf0eb;border-radius:20px;padding:4px 11px;font-size:10px;color:#78613f}.video-caption{padding:24px}.video-caption small{font-size:11px;color:#927240}.video-caption h3{font-size:26px;margin:9px 0}.video-caption p{font-size:13px}.video-status{font-size:10px;color:#849095}.video-disclaimer{font-size:11px;margin-top:24px;color:#808c93}.video-reader{max-width:1000px;margin:32px auto}.video-stage{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#e9e3d7;margin-top:26px}.video-stage>.archive-photo{height:100%;width:100%;object-fit:cover;aspect-ratio:auto;opacity:.62}.video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fff9ee44;color:#233e4a;text-align:center;padding:20px}.video-placeholder>span{background:#fffaf0dd;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;font-size:36px}.video-placeholder strong{background:#fffaf0e8;border-radius:5px;padding:5px 12px;font-weight:400}.video-placeholder small{background:#fffaf0e8;padding:3px 8px;border-radius:4px;font-size:11px}.video-story{display:grid;grid-template-columns:1fr 180px;gap:45px;margin-top:36px}.video-story h3{margin-top:10px}.video-story aside{border-left:1px solid #dfd4bf;padding-left:25px}.video-story aside small{font-size:10px;color:#927240;text-transform:uppercase;letter-spacing:1px}.video-story aside p{font-size:13px;margin:4px 0 15px}@media(max-width:700px){.archive-video-grid,.video-story{grid-template-columns:1fr}.video-story aside{border-left:0;border-top:1px solid #dfd4bf;padding:20px 0 0}.video-caption h3{font-size:24px}.video-placeholder>span{width:45px;height:45px;font-size:26px}}
.archive-video-card{cursor:pointer;font-family:inherit}.video-caption h3{font:400 26px/1.35 Georgia,serif!important}.video-caption p{line-height:1.8;color:#607484}.video-caption small{display:block;margin:5px 0 18px}.video-status{display:block;margin-top:20px}.video-thumbnail{background:#eee8dc}.video-thumbnail video{pointer-events:none}.customer-video-search{width:100%;box-sizing:border-box;background:#fff;border:1px solid #dacebb;border-radius:8px;padding:15px;font:14px Georgia,serif}.customer-video-filters{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.customer-video-filters button{border:0;border-radius:24px;padding:12px 17px;background:#eee8dc;color:#172a38;cursor:pointer}.customer-video-filters .active{background:#172a38;color:white}.video-stage video{width:100%;height:100%;display:block}.video-reader>h2{font:400 38px/1.3 Georgia,serif!important}.video-reader>.eyebrow{margin-top:30px}.video-story p{font:18px/1.8 Georgia,serif}.customer-video-detail>.mh-h1,.customer-video-detail>.mh-sub,.customer-video-detail>.mh-eyebrow{display:none}

.customer-book-modal .customer-modal-body{max-width:940px;background:#f6f1e7;padding:28px 36px}.customer-book-modal .customer-modal-body>h2{font:400 28px Georgia,serif;text-align:center;margin:5px 0 26px}.customer-book-reader{max-width:780px;margin:0 auto}.book-reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;font:12px Arial,sans-serif;color:#7a705e}.book-reader-toolbar button{border:1px solid #ded3bf;border-radius:24px;padding:11px 18px;background:#e8ddc7;color:#172a38;cursor:pointer}.book-reader-toolbar button:disabled{opacity:.4;cursor:default}.customer-book-paper{background:#fffefb;border:1px solid #e6ddce;box-shadow:0 10px 40px #59452b13;min-height:240px;overflow:hidden}.customer-book-paper canvas{display:block;max-width:100%}.customer-book-paper>p{padding:30px;text-align:center;font:16px Georgia,serif}.customer-book-original{display:block;text-align:center;font:12px Arial,sans-serif;color:#927240;margin-top:22px}.customer-books .memory-book-caption h3{font:400 25px/1.35 Georgia,serif!important}@media(max-width:550px){.customer-book-modal .customer-modal-body{padding:20px 15px}.book-reader-toolbar{gap:6px}.book-reader-toolbar button{padding:10px 12px}}

/* Upload phase: shared warm archive design, existing form controls preserved. */
.customer-upload-mode .section-wrap{max-width:1120px;margin:0 auto}.customer-upload-mode .mh-h1{font:400 38px/1.25 Georgia,serif!important;margin-bottom:26px}.customer-upload-mode .mh-eyebrow{color:#a58248}.customer-upload-mode .snav-btn{padding:14px;border-radius:8px;font-size:14px}.upload-progress-steps{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e2d8c7;padding:0 0 22px;margin-bottom:34px}.upload-progress-steps button{border:1px solid #e2d8c7;border-radius:24px;padding:12px 20px;background:#f1ecdf;color:#777365;font:13px Arial,sans-serif;cursor:pointer}.upload-progress-steps button.current{background:#223b49;color:#fffdf8;border-color:#223b49}.customer-upload-mode .upload-banner{background:#eee8dc;border:1px solid #e1d5c1;border-radius:14px;padding:26px 30px;margin-bottom:26px}.customer-upload-mode .ub-title{font:400 25px Georgia,serif!important;margin-bottom:10px}.customer-upload-mode .ub-body{font:14px/1.8 Arial,sans-serif;max-width:750px;color:#687980}.customer-upload-mode .consent-box{padding:25px 30px;border:1px solid #e2d8c7;border-radius:14px;background:#fffdf8;margin-bottom:28px}.customer-upload-mode .consent-title{font:400 23px Georgia,serif!important}.customer-upload-mode .consent-row{line-height:1.8;gap:12px;margin-top:14px}.customer-upload-mode input[type=checkbox]{accent-color:#a8874a;width:18px;height:18px;flex-shrink:0}.customer-upload-mode .voice-consent-panel{background:#f5f0e6;border:1px solid #e4dbc9;border-radius:10px;padding:22px;margin-top:24px}.customer-upload-mode .field{background:#fffdf8;border:1px solid #ddd1be;border-radius:8px;padding:13px 15px;line-height:1.6}.customer-upload-mode .type-tabs{display:flex;gap:10px;flex-wrap:wrap;border:0;margin:20px 0}.customer-upload-mode .ttab{border:1px solid #e2d8c7;border-radius:24px;background:#eee8dc;padding:12px 22px;color:#172a38}.customer-upload-mode .ttab.active{background:#223b49;border-color:#223b49;color:#fff}.customer-upload-mode .dropzone{min-height:200px;display:flex;flex-direction:column;justify-content:center;border:2px dashed #ccb891;border-radius:16px;background:#f5efe3;margin:24px 0}.customer-upload-mode .dropzone:hover,.customer-upload-mode .dropzone.drag{background:#ede2cb;border-color:#a8874a}.customer-upload-mode .dz-title{font:400 29px Georgia,serif!important;margin:12px 0}.customer-upload-mode .dz-icon{color:#a8874a}.customer-upload-mode .camera-btn{border:1px solid #d9cab1;background:#eee5d3;color:#172a38;border-radius:24px;padding:12px 20px}.customer-upload-mode .upload-btn{border-radius:24px;background:#a8874a;padding:13px 24px;font-size:14px}.customer-upload-mode .upload-btn:disabled{opacity:.45}.customer-upload-mode .uploaded-panel{padding:28px 0;margin:30px 0;border-top:1px solid #e2d8c7}.customer-upload-mode .uploaded-panel>h3{font:400 28px Georgia,serif!important;margin:10px 0}.customer-upload-mode .uploaded-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.customer-upload-mode .uploaded-file{border:1px solid #e0d5c2;background:#fffdf8;border-radius:12px;overflow:hidden}.customer-upload-mode #faerdigSektion{background:#eee8dc!important;border:1px solid #d9c9ac!important;border-radius:14px!important;padding:28px!important;margin:28px 0}.customer-upload-mode .upload-status-summary{gap:18px!important}.customer-upload-mode .upload-status-summary>div,.customer-upload-mode .upload-status-card{background:#fffdf8!important;border-color:#e1d5c1!important;border-radius:14px!important}.customer-upload-mode .upload-status-card{max-width:none!important;padding:28px!important}.customer-upload-mode #sec-om .om-step{background:#fffdf8;border-color:#e1d5c1}.customer-upload-mode #velkomstVideoBox{border-radius:14px!important}@media(max-width:600px){.customer-upload-mode .mh-h1{font-size:30px!important}.upload-progress-steps{gap:7px}.upload-progress-steps button{padding:10px 12px;font-size:11px}.customer-upload-mode .consent-box,.customer-upload-mode .upload-banner{padding:20px}.customer-upload-mode .voice-consent-panel{padding:16px}.customer-upload-mode .upload-status-summary{grid-template-columns:1fr!important}.customer-upload-mode .ttab{padding:11px 17px}.customer-upload-mode .uploaded-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Family access shares the archive's warm visual language. */
.customer-family>h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,48px);font-weight:400;margin:12px 0}.customer-family>p{color:var(--ink3);line-height:1.8;max-width:670px}.family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:32px 0}.family-profile{background:#fffdf9;border:1px solid #e6ddcf;border-radius:18px;padding:26px;text-align:center}.family-initial{width:64px;height:64px;border-radius:50%;background:#eee3d2;color:#8b7044;font:30px Georgia,serif;margin:0 auto 18px;display:grid;place-items:center}.family-profile h3{font:24px Georgia,serif;margin:0 0 8px}.family-profile p{color:#887e6e}.family-access-label{display:block;font-size:12px;color:#82714e;margin-bottom:20px}.family-create,.family-link-result{padding:28px;border-radius:18px;border:1px solid #e6ddcf;background:#f4eee4;margin:24px 0}.family-create h3,.family-link-result h3{font:27px Georgia,serif;margin:0 0 22px}.family-create label{display:block;margin:16px 0}.family-create input,.family-link-result input{display:block;width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid #daccb8;border-radius:9px;background:#fffdf9;margin-top:8px;color:#3c372e;font:15px inherit}.family-note{font-size:13px;color:#837a6c;line-height:1.7;max-width:680px}.family-link-result .button{margin-top:16px}@media(max-width:700px){.family-grid{grid-template-columns:1fr}.family-create,.family-link-result{padding:20px}}


/* Personal family email login. */
#familyLoginScreen{background:#f5f0e7!important;overflow-y:auto;padding:24px;box-sizing:border-box;color:#38352e}.family-login-card{width:min(100%,480px);padding:36px;background:#fffdf9;border:1px solid #e6ddcf;border-radius:22px;box-sizing:border-box;box-shadow:0 14px 50px #594c3610}.family-login-card h1{font:40px Georgia,serif;margin:12px 0 22px}.family-login-card p{line-height:1.7;color:#81796b}.family-login-card label{display:block;margin:20px 0}.family-login-card input{display:block;width:100%;box-sizing:border-box;padding:14px;border:1px solid #daccb8;border-radius:9px;margin-top:8px;background:#fffdf9;color:#38352e;font:16px inherit}.family-login-card .button{background:#e9ddc7;color:#554631;border:1px solid #d8c8aa;border-radius:9px;padding:13px 18px;margin:6px 6px 6px 0;cursor:pointer}.family-login-card .button:disabled{opacity:.55;cursor:default}.family-login-card .subtle{background:transparent}.family-archive-card{border-bottom:1px solid #e6ddcf;padding:16px 0}.family-archive-card h2{font:26px Georgia,serif}.family-profile p{overflow-wrap:anywhere}.family-profile .button{margin:6px 3px}.family-archives{width:min(100%,640px)}@media(max-width:600px){.family-login-card{padding:24px}#familyLoginScreen{align-items:flex-start!important}.family-login-card h1{font-size:34px}}

/* Keep family email login readable on the dark owner login screen. */
#loginScreen #familyEmailEntry{display:block;width:100%;margin-top:18px;padding:12px 16px;background:#eee3d2;color:#554631;border:1px solid #d8c8aa;border-radius:10px;font-family:var(--sans);font-size:13px;font-weight:500;line-height:1.5;cursor:pointer;transition:background .15s ease,border-color .15s ease}
#loginScreen #familyEmailEntry:hover{background:#f6edde;border-color:#e7d6b7}
#loginScreen #familyEmailEntry:focus-visible{outline:2px solid #d4a870;outline-offset:4px}
