/* Final Heirloom Light presentation. Original artwork and data remain intact. */
:root[data-theme=heirloom_light]{--bg:#f8efdd;--surface:#fff7e9;--paper:#fff7e9;--ink:#3f2c1e;--muted:#705b44;--gold:#8c6230;--line:#bea174;--soft-line:#deccb0;--light-text:#3f2c1e;--light-muted:#705b44;--light-accent:#815a2b}
:root[data-theme=heirloom_light] body{background:url('/assets/images/ae3eecc3329110b3/waymark-surface-grain.svg'),radial-gradient(ellipse at top,#fff8e9,#e9ddc7);color:var(--ink)}
:root[data-theme=heirloom_light] .phone-shell{max-width:430px!important;width:100%;border-color:#bca17b;box-shadow:0 14px 45px #68472026}
:root[data-theme=heirloom_light] .bottom-nav{max-width:430px!important;width:min(100%,430px)!important;background:linear-gradient(#fff7e9f7,#efe0c8fc)!important}
:root[data-theme=heirloom_light] .bottom-nav .coordinated-art{filter:none}
:root[data-theme=heirloom_light] .family-shelf-picture{aspect-ratio:390/292;object-fit:contain;height:auto}
:root[data-theme=heirloom_light] .preview-strip{background:#eee0c8!important}
:root[data-theme=heirloom_light] :is(.illustrated-card,.illustrated-wide,.family-card,.shelf-approved-card,.shelf-daily-wisdom,.doors-room,.doors-room-copy span){--light-text:#3f2c1e;--light-muted:#705b44;--light-accent:#815a2b;text-shadow:none}
:root[data-theme=heirloom_light] :is(.illustrated-card,.illustrated-wide,.family-card,.shortcut-card){background:var(--surface);border-color:#ba985e;box-shadow:0 2px 7px #70502515}
:root[data-theme=heirloom_light] .wide-card-copy{background:linear-gradient(90deg,#fff5e6ed,#fff5e699,transparent);text-shadow:none}
:root[data-theme=heirloom_light] .shelf-keepsake-art{object-fit:cover;object-position:right center}
:root[data-theme=heirloom_light] .light-keepsake-card[data-shelf-shortcut=stones] .shelf-keepsake-art{object-fit:contain;object-position:right center}
:root[data-theme=heirloom_light] .light-keepsake-card[data-shelf-shortcut=nuggets]{background-image:url('/assets/images/a87c1c37cc8d93e5/wisdom-keepsakes.png');background-size:200% 200%;background-position:left top}
:root[data-theme=heirloom_light] .light-keepsake-card[data-shelf-shortcut=nuggets] .shelf-keepsake-art{visibility:hidden}
:root[data-theme=heirloom_light] .family-card::after{background:linear-gradient(90deg,#fff5e6,#fff5e6b0,transparent)}
:root[data-theme=heirloom_light] .family-card-art{object-position:right center;filter:none}
:root[data-theme=heirloom_light] .shortcut-thumbnail{object-fit:cover;border-radius:6px}
:root[data-theme=heirloom_light] .reference-art{object-fit:cover}
:root[data-theme=heirloom_light] .waymark-card>h2{font:400 20px/1.25 Georgia,serif;text-align:center;padding:12px 8px 3px;margin:0}
:root[data-theme=heirloom_light] .waymark-card>.reference-art{width:100%;height:auto;aspect-ratio:3/2}
:root[data-theme=heirloom_light] .waymark-card>.compact-card-action{display:flex;min-height:44px;align-items:center;justify-content:center;font:15px Georgia,serif}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-waymark-card>.reference-art{aspect-ratio:3/2;object-position:70% center;min-height:75px;max-height:115px;object-fit:cover}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-shelf-cards .secret-card>.reference-art{height:96px;width:100%;object-fit:cover;object-position:center 48%;aspect-ratio:auto}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-shelf-cards .family-card-art{height:64px;width:100%;object-fit:cover;object-position:right center}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-shelf-cards .family-card-copy{padding-top:55px}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-shelf-cards .shelf-keepsake-art{height:90px;object-fit:cover}
:root[data-theme=heirloom_light] body[data-shelf-layout=compact] .compact-shelf-cards .wide-card-copy{background:var(--surface)}
:root[data-theme=heirloom_light] .shelf-actions .pill{background:linear-gradient(#fff8e9,#eddbba)!important;border-color:#ba985e!important;box-shadow:inset 0 1px #fff9e9,0 2px 5px #72512712;--light-text:#51371d}
:root[data-theme=heirloom_light] .shelf-actions .pill.featured{background:linear-gradient(125deg,#f7dfa7,#d8ad62)!important;--light-text:#402710}
/* Original flame coordinates belong to the dark illustrations. The independent
   Jar of Weeks animation keeps its own original lighting and motion. */
:root[data-theme=heirloom_light] .lantern-artwork{display:none}
:root[data-theme=heirloom_light] .doors-hero{background:linear-gradient(90deg,#fbf1dff5 0%,#fbf1dfd0 40%,#fbf1df15),url('/assets/images/431ecc8014ecd129/light-door.webp') right 48%/60% auto no-repeat!important;min-height:214px;padding:20px 23px 30px}
:root[data-theme=heirloom_light] .doors-hero h1{font-size:43px}
:root[data-theme=heirloom_light] .doors-room{background:var(--surface);box-shadow:0 3px 8px #68451f18;border-color:#b99b6d}
:root[data-theme=heirloom_light] .doors-room::after{background:linear-gradient(90deg,#fff5e6f5 0%,#fff5e6e8 38%,#fff5e6b0 60%,#fff5e620)}
:root[data-theme=heirloom_light] :is(.doors-room-icon,.doors-expand){background:linear-gradient(#fff0cf,#e4c68f)!important;--light-text:#6b491f;color:#6b491f;border-color:#b28e55;box-shadow:inset 0 1px #fff9e9,0 2px 4px #72512716}
:root[data-theme=heirloom_light] .doors-room-copy span{--light-text:#3f2c1e}
:root[data-theme=heirloom_light] .doors-room-title{font-size:21px}
:root[data-theme=heirloom_light] .doors-room-description{font-size:12px}
:root[data-theme=heirloom_light] .doors-group.is-open .doors-group-heading>a{box-shadow:inset 0 0 0 1px #b18a46,0 3px 8px #68451f18}
:root[data-theme=heirloom_light] .doors-design-options button{background:#fbf0db;border-color:#b99b6d;--light-text:#664720}
:root[data-theme=heirloom_light] .doors-design-options button[aria-pressed=true]{background:linear-gradient(#f4d79b,#dfba78);--light-text:#412b14}
:root[data-theme=heirloom_light] :is(.loading-state,.tag,.library-filter,.entry-button,.secondary){--light-text:#705232}
:root[data-theme=heirloom_light] button:disabled{cursor:not-allowed}
/* Audit corrections: transient messages and inherited small control details. */
:root[data-theme=heirloom_light] .toast{background:#fff2d8;border:1px solid #b99860;--light-text:#49331d;color:#49331d;box-shadow:0 4px 18px #6f4b2429}
:root[data-theme=heirloom_light] #keep-passage-dialog #keep-apply{box-shadow:0 -3px 10px #88602a14}
:root[data-theme=heirloom_light] :is(.family-quick-stats b,.family-branch svg,.family-entry-symbol svg,.family-person>svg,.family-empty>svg,.shelf-actions .pill svg){color:#805b2c;--light-text:#805b2c}
:root[data-theme=heirloom_light] :is(.church-tabs,.church-prayer-list){scrollbar-color:#b99b6d #f0e3cd}
:root[data-theme=heirloom_light] :is(.tree-view-heading svg,.chronicles-invitation>svg){color:#805b2c}
:root[data-theme=heirloom_light] .family-entry>svg:last-child{color:#805b2c}
:root[data-theme=heirloom_light] :is(.family-dialog,.church-dialog) input[type=checkbox]:not([role=switch]){width:20px;height:20px;min-height:20px;padding:0;flex:0 0 20px;accent-color:#805b2c;background:#fff7e9!important;border-color:#b99b6d}
:root[data-theme=heirloom_light] .light-playback-controls{display:grid;gap:8px;border-top:1px solid var(--soft-line);padding-top:14px;margin-top:5px}
:root[data-theme=heirloom_light] .light-playback-controls small{font:12px/1.45 system-ui,sans-serif;--light-text:#705b44}
:root[data-theme=heirloom_light] #shelf-motion-status{margin:0;font:12px/1.45 system-ui,sans-serif;--light-text:#705b44}
:root[data-theme=heirloom_light] .shelf-totals b{color:#51371d;--light-text:#51371d}
