/* Responsive layout polish: navigation, content, and actions have distinct roles. */
@media(min-width:1000px){html[data-screen=home] body #app>:is(.home-hero,.today-strip,.collection-section){max-width:1280px!important}html body #app .home-book-studio.home-studio{max-width:1280px!important;grid-template-columns:minmax(190px,230px) minmax(300px,1fr) minmax(190px,230px)!important}}
.history-filter-options{margin:12px 0 18px;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}.history-filter-options>summary{font:600 14px/1.4 Atelier Sans,Arial,sans-serif;color:var(--accent-deep);cursor:pointer;padding:9px 0}.history-filter-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.history-filter-fields>.tag-filter-label{grid-column:1/-1;margin:0}.history-filter-fields input,.history-filter-fields select{min-width:0;width:100%}
@media(max-width:760px){
 html body #app .home-book-studio.home-studio{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
 html body #app .home-book-studio>.journal-display{grid-column:1/-1!important;grid-row:1!important;width:100%!important;height:330px!important;min-height:300px!important}
 html body #app .home-book-studio>.book-side-tools{display:contents!important}
 html body #app .home-book-studio .book-side-tools>button{width:100%!important;height:94px!important;min-height:94px!important;margin:0!important;align-self:stretch!important;grid-column:auto!important;grid-row:auto!important;padding:9px 5px!important;display:flex!important;align-items:center!important;justify-content:center!important}
 html body #app .home-book-studio .writing-side>button:nth-child(1){grid-column:1!important;grid-row:2!important}html body #app .home-book-studio .writing-side>button:nth-child(2){grid-column:2!important;grid-row:2!important}html body #app .home-book-studio .writing-side>button:nth-child(3){grid-column:3!important;grid-row:2!important}
 html body #app .home-book-studio .collection-side>button:nth-child(1){grid-column:1!important;grid-row:3!important}html body #app .home-book-studio .collection-side>button:nth-child(2){grid-column:2!important;grid-row:3!important}html body #app .home-book-studio .collection-side>button:nth-child(3){grid-column:3!important;grid-row:3!important}
 html body #app .home-book-studio .book-side-tools>button>:is(b,strong){font:500 14px/1.15 Atelier Display,Georgia,serif!important;display:block!important;min-height:32px!important;max-width:100%!important;text-align:center!important;margin:0!important}
 html body #app .hero-links [data-action=explore]{display:none!important}html body #app .hero-links [data-action=personalize]{padding:4px 0!important;min-height:32px!important;border:0!important;background:none!important;box-shadow:none!important;font-size:13px!important}
 html body #app>.today-strip{padding:64px 10px 14px!important;gap:8px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body #app .today-strip .snapshot-date{max-width:55%!important;left:12px!important;top:14px!important}.today-strip .snapshot-date strong{font-size:12px!important;line-height:1.4!important}.today-strip .snapshot-date .eyebrow{font-size:9px!important;letter-spacing:1px!important}
 html body #app .today-strip .daily-stat{padding:5px 2px!important;gap:6px!important;min-height:108px!important;border:0!important}
 html body #app .today-strip .daily-stat-icon{width:32px!important;height:32px!important}html body #app .today-strip .daily-stat-icon .live-icon{width:30px!important;height:30px!important}
 html body #app .today-strip .daily-stat-copy>b{font-size:30px!important;line-height:1.05!important}html body #app .today-strip .daily-stat-copy>b small{font-size:17px!important}
 html body #app .today-strip .daily-stat-copy>b.snapshot-mood{font-size:24px!important;white-space:nowrap!important}html body #app .today-strip .daily-stat-copy>span{font-size:11px!important;line-height:1.3!important;font-weight:500!important}.today-strip .snapshot-progress{max-width:68px!important;height:8px!important}
 html body #app .new-shelf[data-cabinet-ready]{min-height:190px!important;gap:18px!important}html[data-screen=home] body #app .new-shelf .real-shelf-row{height:194px!important;min-height:194px!important;gap:4px!important;padding:12px 12px 0!important;border-bottom-width:8px!important}
 html body #app .new-shelf .real-shelf-row>.new-spine{padding:10px 2px 8px!important;border-radius:3px 2px 2px 3px!important}.real-shelf-row .new-spine strong{max-height:130px!important}.real-shelf-row .new-spine>i{font-size:6px!important;padding-bottom:4px!important}.real-shelf-row .new-spine>span{font-size:3px!important;letter-spacing:.4px!important}
 html body #app .real-shelf-row>.shelf-end-accessory{width:68px!important;min-width:68px!important;max-width:68px!important;height:100px!important;max-height:100px!important;flex:0 0 68px!important;margin-left:auto!important;transform:none!important}.real-shelf-row>.shelf-end-accessory img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}.real-shelf-row>.shelf-photo-frame{padding:5px!important;height:100px!important}
 html body #app>.collection-section .collection-heading{align-items:center!important;gap:10px!important;margin-bottom:12px!important}.collection-heading h2{font-size:25px!important}.shelf-heading-actions{gap:10px!important}.shelf-heading-actions button{font-size:12px!important;min-height:38px!important;padding:8px 11px!important}
 html body #app #page[data-layout=journal]>.journal-mobile-views{display:flex!important;gap:22px!important;padding:0 16px!important;min-height:42px!important;border-bottom:1px solid var(--accent-edge)!important;margin:0!important;background:transparent!important}
 html body #app #page[data-layout=journal]>.journal-mobile-views>button{flex:0 0 auto!important;min-height:42px!important;padding:7px 2px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;color:var(--muted)!important}
 html body #app #page[data-layout=journal]>.journal-mobile-views>button[aria-pressed=true]{color:var(--accent-deep)!important;border-bottom-color:var(--accent-deep)!important;background:transparent!important;font-weight:700!important}
 html body #app #page[data-layout=journal] .section-head{gap:10px!important;margin:0 0 12px!important;align-items:center!important}.journal-actions{gap:8px!important}.journal-actions>[data-action=new]{min-height:38px!important;padding:8px 11px!important;font-size:12px!important}
 html body #app #page[data-layout=journal] .entry-mode-picker{margin:10px 0 12px!important;padding:0!important}.entry-mode-picker>h3{display:none!important}html body #app #page[data-layout=journal] .entry-mode-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.entry-mode-buttons>button{min-width:0!important;min-height:36px!important;height:auto!important;padding:7px 3px!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important;border-radius:6px!important}#entry-mode-help{font-size:11px!important;margin:8px 0 0!important;line-height:1.5!important}
 html body #app #page[data-layout=journal] .entry-essentials{margin:0!important}.entry-essentials label{font-size:12px!important}.entry-essentials input{padding:8px 10px!important;min-height:38px!important}
 html body #app .journal-help-shortcuts{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;margin:8px 0 14px!important;padding:0!important;flex-wrap:wrap!important;border:0!important;background:none!important}.journal-help-shortcuts>span,.journal-help-shortcuts>[data-action=surprise-prompt]{display:none!important}html body #app .journal-help-shortcuts>button{display:inline-flex!important;gap:6px!important;align-items:center!important;border:0!important;background:none!important;box-shadow:none!important;padding:5px 0!important;min-height:32px!important;font-size:12px!important;color:var(--accent-deep)!important;border-radius:0!important}.journal-help-shortcuts>button .live-icon{width:21px!important;height:21px!important}
 html body #app #page .entry-composer{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.composer-heading{display:none!important}.entry-composer>label{font-size:13px!important}.entry-title{font-size:25px!important;line-height:1.2!important;padding:9px 0!important;margin-bottom:14px!important}.writing-input-heading{gap:8px!important;align-items:center!important;margin:0 0 7px!important}.body-label{margin:0!important;max-width:70%!important}.compact-dictation .dictation-start{width:38px!important;height:38px!important;min-height:38px!important;min-width:38px!important}.writing{font-size:17px!important;line-height:32px!important;background-size:100% 32px!important;min-height:280px!important;padding-top:0!important}
 .composer-actions .clear-writing{min-height:32px!important;padding:5px 8px!important;font-size:12px!important}.entry-threads-options{padding:0!important;border:0!important;background:none!important;margin:12px 0!important}.entry-threads-options>summary{padding:8px 0!important;font-size:13px!important}.entry-save-main{gap:10px!important;flex-wrap:wrap!important}.entry-save-main>.primary{min-height:40px!important;padding:9px 14px!important;min-width:0!important;font-size:13px!important}.entry-save-main #word-count{font-size:11px!important}.entry-save-feedback .save-status{font-size:12px!important;background:none!important;border:0!important;padding:0!important}.task-from-thought-visible{min-height:34px!important;padding:7px 0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:12px!important}
 html body #app #page .history>h3,html body #app #page .history>.eyebrow{display:none!important}.history>.fields{display:block!important}.history #search{width:100%!important;min-height:40px!important;padding:9px 11px!important}.favorites-filter{min-height:34px!important;padding:6px 10px!important;font-size:12px!important}.history-filter-options{margin:8px 0 14px!important;border-bottom:1px solid var(--accent-edge)!important;padding-bottom:8px!important}.history-filter-fields{grid-template-columns:1fr 1fr;gap:10px}.history-filter-fields input,.history-filter-fields select{font-size:12px!important;min-height:38px!important;padding:7px!important}.entry-card{padding:12px!important;min-height:0!important}.entry-card .entry-open{padding:0 36px 0 0!important}.entry-card h3{font-size:22px!important}.entry-card p{font-size:13px!important;line-height:1.5!important}
 html body #app #page .consistency-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html body #app #page .consistency-scores>div{max-width:none!important;height:128px!important;padding:10px!important;display:grid!important;grid-template-rows:28px 1fr 25px!important;gap:3px!important;align-items:center!important;justify-items:center!important;overflow:hidden!important}
 html body #app #page .consistency-scores>div>span{grid-row:1!important;order:0!important;font-size:12px!important;line-height:1.15!important;text-align:center!important}html body #app #page .consistency-scores>div>strong{grid-row:2!important;order:1!important;font-size:35px!important;line-height:1!important;margin:0!important}html body #app #page .consistency-scores>div>i{grid-row:3!important;order:2!important;width:25px!important;height:25px!important;display:grid!important;place-items:center!important;font-size:24px!important;margin:0!important}html body #app #page .consistency-scores svg{width:24px!important;height:24px!important}
 html body #app #page .habit-list-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:4px 0 16px!important}.habit-list-heading h3{font-size:25px!important;line-height:1.15!important;margin:0!important}.habit-list-heading button{min-height:36px!important;padding:8px 10px!important;flex:none!important;font-size:12px!important}
 html body #app #page[data-layout=habits] .row{display:flex!important;gap:10px!important;padding:7px 8px!important;min-height:48px!important;margin:8px 0!important;align-items:center!important}.row .grow{min-width:0!important;flex:1!important}.row .check{flex:none!important;width:36px!important;height:36px!important;min-height:36px!important;min-width:36px!important;font-size:23px!important}.habit-more-button{flex:none!important;width:32px!important;min-width:32px!important;height:36px!important;min-height:36px!important;font-size:22px!important;padding:3px!important}
 html body #app #page .growth-scene{max-height:230px!important;overflow:hidden!important}.growth-scene .scene-visual{max-height:170px!important}.care-view-switch{gap:10px!important}.care-view-switch>button{padding:8px 12px!important;min-height:42px!important}.care-section-tabs{display:flex!important;border-bottom:1px solid var(--accent-edge)!important;gap:18px!important;padding:0 0 6px!important}.care-section-tabs>button{flex:0 0 auto!important;border:0!important;background:none!important;box-shadow:none!important;padding:8px 2px!important;min-height:36px!important;border-bottom:3px solid transparent!important;border-radius:0!important;font-size:13px!important}.care-section-tabs>button[aria-pressed=true]{border-bottom-color:var(--accent)!important;background:transparent!important;color:var(--accent-deep)!important;font-weight:700!important}
 .habit-week-scroll{overflow-x:auto!important}.habit-week{min-width:0!important;width:100%!important;table-layout:fixed!important}.habit-week th:first-child{width:31%!important}.habit-week th,.habit-week td{padding:4px 1px!important;font-size:10px!important}.habit-week button{min-width:0!important;width:100%!important;min-height:32px!important;padding:3px 0!important;font-size:17px!important}.habit-week thead button{font-size:10px!important}.habit-week thead small{font-size:12px!important}.weekly-rituals .section-head{flex-wrap:wrap!important;gap:8px!important}.week-total{font-size:28px!important}
 html body #app #page .task-totals{gap:10px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #app #page .task-totals>:is(div,.task-metric){height:118px!important;min-height:0!important;padding:9px 5px!important;gap:5px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:space-between!important}.task-totals strong{font-size:35px!important;line-height:1!important}.task-totals span{font-size:11px!important;line-height:1.2!important}.task-totals i,.task-totals svg{width:24px!important;height:24px!important;flex:none!important}.task-view-nav{gap:18px!important;border-bottom:1px solid var(--accent-edge)!important}.task-view-nav>button{min-height:36px!important;padding:8px 2px!important;border:0!important;border-bottom:3px solid transparent!important;background:none!important;box-shadow:none!important;border-radius:0!important;font-size:13px!important}.task-view-nav>button[aria-pressed=true]{background:none!important;color:var(--accent-deep)!important;border-bottom-color:var(--accent)!important}.task-row{padding:10px 0!important;gap:10px!important;min-height:52px!important}
 .mobile-header-actions>button:first-child{display:none!important}body>#settings-footer,#app~.utility-strip{display:none!important}body>button[data-action=settings]{display:none!important}
}
html body #app .direct-popover-body .font-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;margin:10px 0 16px!important}html body #app .direct-popover-body .font-grid>button{padding:8px 2px!important;min-height:73px!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:7px!important;align-items:center!important;justify-content:center!important}.direct-popover-body .font-grid>button>span{font-size:26px!important;line-height:1!important}.direct-popover-body .font-grid>button>b{font-size:9px!important;line-height:1.2!important;overflow-wrap:anywhere!important}.inline-fonts{margin:18px 0!important;padding:0!important;border:0!important}.inline-fonts>h3{font-size:22px!important;margin:0 0 8px!important}
html body #app .direct-popover-body .studio-page-view{margin:0 0 16px!important;padding:0 0 14px!important;border:0!important;border-bottom:1px solid var(--accent-edge)!important}.direct-popover-body .studio-page-view>h3{font-size:23px!important;margin:0 0 10px!important}.direct-popover-body .studio-page-view .two-choice-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.direct-popover-body .studio-page-view button{padding:9px!important;min-height:40px!important;font-size:12px!important}
.direct-layout{align-items:start!important}.direct-display,.direct-popover{margin-top:0!important;align-self:start!important}.direct-display:has(.direct-paper-surface){padding-top:0!important}.direct-paper-surface{width:100%!important;height:460px!important;align-items:stretch!important}.direct-paper-surface>.paper-detail-preview{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;box-sizing:border-box!important;margin:0!important;padding:28px!important;border-radius:8px!important}.direct-paper-surface .paper-detail-preview h3{font-size:32px!important}
@media(max-width:760px){.direct-paper-surface{height:340px!important}.direct-paper-surface>.paper-detail-preview{padding:22px!important}}
@media(max-width:760px){html body #app #page[data-layout=journal] .entry-mode-buttons>button{font-size:11px!important;padding:7px 3px!important;min-height:36px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}html body #app #page[data-layout=journal] .journal-help-shortcuts>[data-action=surprise-prompt]{display:none!important}html body #app #page[data-layout=journal] .journal-help-shortcuts{gap:18px!important}html body #app .notebook>.book-page-edges,html body #app .notebook:before,html body #app .notebook:after,html body #app .page-spread:before,html body #app .page-spread:after{display:none!important}}
html body #app .direct-popover-body [data-page-color-mode=signature]{background:linear-gradient(115deg,#780528,#ac3453 24%,#fff1d6 51%,#d3a74d 69%,#81052e)!important;border:2px solid #d8b86f!important;color:#fff!important;text-shadow:0 1px 3px #40091b!important;box-shadow:inset 0 1px #fff9,0 3px 0 #b18a4b!important;position:relative!important;font-weight:700!important}
html body #app .direct-popover-body [data-page-color-mode=custom]{border:2px solid transparent!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,conic-gradient(#d55c89,#e7be57,#65b68c,#69a9d2,#a783cd,#d55c89) border-box!important;color:var(--accent-deep)!important;font-weight:600!important;box-shadow:0 2px 4px #39243112!important}
html body #app .direct-popover-body [data-page-color-mode][aria-pressed=true]{outline:2px solid #81052e!important;outline-offset:3px!important}
.direct-design-links>[data-detail=design]{display:inline-flex;align-items:center;gap:8px}.direct-design-links>[data-detail=design] .live-icon{width:28px!important;height:32px!important;flex:none}
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook #page{background-image:none!important;background-color:var(--surface,#fff)!important}html body #app #page[data-layout=habits] .growth-scene{display:grid!important;grid-template-columns:125px minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;gap:8px 12px!important;height:auto!important;max-height:none!important;min-height:200px!important;padding:12px!important}.growth-scene>.living-scene{grid-column:1!important;grid-row:1/3!important;width:125px!important;height:180px!important;min-height:0!important;margin:0!important}.growth-scene>.progress-art{grid-column:1!important;grid-row:1/3!important;width:125px!important;height:180px!important;margin:0!important}.growth-scene>.growth-caption{grid-column:2!important;grid-row:1!important;text-align:left!important;height:auto!important;padding:0!important}.growth-scene>.growth-caption h3{font-size:20px!important;line-height:1.2!important}.growth-scene>.growth-meter{grid-column:2!important;grid-row:2!important;min-height:0!important;height:auto!important;align-self:center!important;display:block!important;padding:0!important;text-align:left!important}.growth-scene>.growth-meter>strong{font-size:35px!important}.growth-scene>.growth-meter>span{font-size:11px!important;line-height:1.4!important}.growth-scene .real-rose{animation:phone-rose-sway 8s ease-in-out infinite!important}.growth-track{margin:12px 0 0!important}.growth-scene>.growth-caption>.eyebrow{display:none!important}}
@keyframes phone-rose-sway{0%,100%{transform:translateX(-50%) translateY(calc((1 - var(--growth))*35px)) scale(calc(.35 + var(--growth)*.65)) rotate(-1deg)}50%{transform:translateX(-50%) translateY(calc((1 - var(--growth))*35px)) scale(calc(.35 + var(--growth)*.65)) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){.growth-scene .real-rose{animation:none!important}}

html body #app .cover-initials-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;padding:12px!important;border:1px solid #ead9de!important;border-radius:12px;background:#fff!important}
html body #app .cover-initials-row .initials-choice{display:flex;align-items:center;gap:8px;font-weight:600;white-space:nowrap}
html body #app .cover-initials-row .initials-value{display:flex;align-items:center;gap:8px;margin:0!important;max-width:none}
html body #app .cover-initials-row .initials-value input{width:70px!important;min-height:40px!important;margin:0!important;padding:8px!important}
html body #app .cover-initials-row .initials-page-link{margin-left:auto!important;min-height:40px!important;padding:8px 14px!important;border:1px solid #c7a365!important;background:linear-gradient(120deg,#fff,#fff7e4)!important;color:#780528!important;font-weight:600}
.direct-ribbon-preview{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(120deg,#fff,#fffaf1);border-radius:16px}.direct-ribbon-preview>.sample-ribbon{position:relative!important;display:block!important;width:180px!important;height:300px!important;transform:none!important}.direct-ribbon-preview strong{position:absolute;left:5%;right:5%;bottom:22%;text-align:center;text-transform:capitalize;font-size:18px}

.direct-open-book{position:relative;width:100%;padding-top:90px;--paper:#fff;filter:drop-shadow(0 10px 12px #36233220)}.direct-open-pages{min-height:270px;background:linear-gradient(90deg,var(--paper) 48%,#bfb6a7 50%,var(--paper) 52%);border:8px solid var(--edge);border-radius:10px;box-shadow:0 3px #fff,0 6px #cfc8bb,0 9px var(--edge);position:relative;z-index:2;padding:30px 15px}.direct-open-pages h3{font:500 24px Georgia;color:#780528;max-width:45%;overflow-wrap:anywhere;margin:10px 0}.direct-inbook-tabs{position:absolute;top:0;left:6%;right:6%;display:flex;justify-content:flex-end;gap:8px;height:125px}.direct-inbook-tab{position:relative;flex:1;max-width:65px;height:125px;background:var(--ribbon);border-radius:5px;box-shadow:inset 2px 0 3px #fff8,2px 2px 4px #0002}.direct-inbook-tab img{width:100%;height:100%;object-fit:contain}.direct-inbook-tab b{position:absolute;top:48px;left:0;right:0;font:600 10px/1.2 Arial;text-transform:capitalize;background:var(--ribbon);padding:5px 2px;color:#15151a}
html body #app .setup-category-grid{gap:8px!important}html body #app .setup-category-grid>button{min-height:72px!important;padding:12px 56px 12px 14px!important}html body #app [data-welcome-ribbon]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;aspect-ratio:1!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #fff9,0 3px 6px #47233230!important}html body #app [data-welcome-ribbon]::-webkit-color-swatch{border-radius:50%;border:2px solid white;background-image:linear-gradient(135deg,#ffffff66,transparent 60%)}

/* Warm metallic light, with solid readable text beneath the sheen. */
html body #app .direct-studio-heading h1,html body #app .direct-popover-heading h2{color:#806022;text-shadow:0 1px 0 #fff,0 2px 2px #ad87452b}
html body #app .direct-popover-heading{background:linear-gradient(112deg,#fff 10%,#fff8e9 47%,#fff 69%,#f7edda);box-shadow:inset 0 1px white,0 3px 9px #76562c0d}
html body #app .direct-secondary button,html body #app .direct-heading-actions button{border:1px solid #d4b577;box-shadow:inset 0 1px 0 #fff,0 3px 0 #d9c59b55,0 5px 12px #56341d12;background:linear-gradient(130deg,#fff 10%,#fff7e5 47%,#fff 70%);color:#785521}
html body #app .direct-heading-actions .primary{background:linear-gradient(125deg,#6f0327,#a71146 43%,#79082f 72%,#5f0223);color:#fff;box-shadow:inset 0 1px 1px #ffdfab80,0 3px 0 #4f001e,0 6px 15px #78052829}
html body #app .direct-secondary button[aria-pressed=true]{background:linear-gradient(120deg,#9b7231,#f4dfa4 50%,#b58c43)!important;color:#36240d!important}
html body #app .setup-palette-grid button{background:linear-gradient(135deg,#fff,#fffdf9);box-shadow:inset 0 1px #fff,0 3px 0 #d9c8b647,0 5px 10px #5533220c;transition:transform .18s,box-shadow .18s}
html body #app .setup-palette-grid button>span{position:relative;box-shadow:inset 1px 2px 3px #fff, inset -1px -2px 4px #53432c12,0 3px 5px #4a322519}
html body #app .setup-palette-grid button>span:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 20%,#ffffffb0 46%,transparent 65%);pointer-events:none}
@media(hover:hover){html body #app .setup-palette-grid button:hover{transform:translateY(-2px);box-shadow:0 6px 12px #55332218}}

html body #app .direct-popover-body .color-match-switch{display:flex!important;align-items:center;gap:8px;padding:8px 0!important;margin:8px 0!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:13px!important}

.phone-selected-bookmark{display:none}@media(max-width:760px){.phone-selected-bookmark{display:block;flex:0 0 44px;height:64px}.phone-selected-bookmark img{width:44px;height:64px;object-fit:contain}.direct-popover-heading:has(.phone-selected-bookmark) h2{font-size:21px!important}}

/* Writing tools: paired cards when space supports readable examples. */
html body #app .experience-tool-details{container-type:inline-size}
html body #app .experience-tool-details .experience-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
html body #app .experience-tool-details .experience-grid>.setting-switch{min-width:0!important;margin:0!important;padding:14px!important;min-height:0!important;align-items:start!important}
html body #app .experience-tool-details .feature-examples{display:flex;flex-wrap:wrap;gap:5px!important;margin-top:12px!important}
@container(max-width:440px){html body #app .experience-tool-details .experience-grid{grid-template-columns:1fr!important}}
@media(min-width:1000px){.direct-studio[data-target=tools] .direct-layout{grid-template-columns:minmax(300px,1fr) minmax(520px,600px)!important}}

html body #app .experience-grid .feature-emblem{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}

html[data-screen=home] body #app .home-experiences .experience-object{display:grid!important;place-items:center!important;aspect-ratio:1!important;height:auto!important;padding:0!important;line-height:0!important;box-sizing:border-box!important;flex-shrink:0!important}
html[data-screen=home] body #app .home-experiences .experience-object>svg{display:block!important;width:84%!important;height:84%!important;margin:0!important;position:static!important;transform:none!important;overflow:visible}
html[data-screen=home] body #app .home-experiences .intention-object>svg{translate:-4% 0}
html[data-screen=home] body #app .home-experiences .reflection-object>svg{translate:-3% 0}

/* The merged editor gives the book more of the available stage. */
@media(min-width:761px){
html body #app .direct-book-surface:not(.direct-paper-surface){width:min(100%,470px);height:570px}
html body #app .direct-book-surface>.setup-book{width:375px!important;height:500px!important;max-width:82%!important}
html body #app .direct-hotspots .edit-point{font-size:13px!important;min-height:40px!important;padding:7px 10px!important}
html body #app .direct-secondary button{font-size:15px;padding:10px 18px}
}
@media(min-width:761px) and (max-width:1050px){
html body #app .direct-layout:has(.direct-popover:not([hidden])) .direct-book-surface:not(.direct-paper-surface){height:500px}
html body #app .direct-layout:has(.direct-popover:not([hidden])) .direct-book-surface>.setup-book{width:315px!important;height:420px!important}
}
@media(max-width:760px){
html body #app .direct-book-surface:not(.direct-paper-surface){width:min(100%,350px);height:430px}
html body #app .direct-book-surface>.setup-book{width:280px!important;height:374px!important;max-width:82%!important}
}

/* Roomier opened editors, compact square decoration choices. */
@media(min-width:1000px){html body #app .direct-layout:has(.direct-popover:not([hidden])){grid-template-columns:minmax(340px,1fr) minmax(480px,580px)!important}}
html body #app .direct-popover-body .shelf-decor-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body #app .direct-popover-body .shelf-decor-options>button{aspect-ratio:1!important;min-width:0!important;min-height:0!important;height:auto!important;padding:10px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:12px!important;overflow:hidden}
html body #app .direct-popover-body .decor-choice-art{display:grid!important;place-items:center!important;width:100%!important;height:72px!important;min-height:0!important;margin:0!important}
html body #app .direct-popover-body .decor-choice-art .shelf-decor{position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;width:65px!important;height:70px!important;max-width:100%!important;margin:0!important;transform:none!important}
html body #app .direct-popover-body .decor-choice-art img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}
html body #app .direct-popover-body .shelf-decor-options b{font:600 12px/1.2 Atelier Sans,Arial,sans-serif!important;text-align:center;margin:0!important}
html body #app .direct-popover-body .shelf-mini-preview{height:145px!important;min-height:0!important;margin:12px 0!important;overflow:hidden}
html body #app .direct-popover-body .shelf-photo-controls{margin-top:14px!important;padding:12px!important}
@media(max-width:760px){html body #app .direct-popover{max-height:72dvh!important}html body #app .direct-popover-body .decor-choice-art{height:55px!important}html body #app .direct-popover-body .decor-choice-art .shelf-decor{height:53px!important;width:48px!important}html body #app .direct-popover-body .shelf-decor-options>button{padding:7px!important}html body #app .direct-popover-body .shelf-decor-options b{font-size:10px!important}}

/* Toggle shares the title row; body content keeps the whole card width. */
html body #app .experience-tool-details .experience-grid>.setting-switch{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;gap:9px 8px!important;align-content:start!important}
html body #app .experience-grid .setting-switch>span{display:contents!important}
html body #app .experience-grid .feature-emblem{grid-column:1!important;grid-row:1!important;float:none!important;margin:0!important;width:30px!important;height:34px!important;align-self:center!important}
html body #app .experience-grid .feature-title{grid-column:2!important;grid-row:1!important;font:500 20px/1.18 Atelier Display,Georgia,serif!important;align-self:center!important;overflow-wrap:normal!important;word-break:normal!important}
html body #app .experience-grid .setting-switch>input{grid-column:3!important;grid-row:1!important;align-self:center!important;margin:0!important;width:36px!important;min-width:36px!important}
html body #app .experience-grid .setting-switch>span>small{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important;margin:0!important;font:400 12px/1.5 Atelier Sans,Arial,sans-serif!important}
html body #app .experience-grid .feature-examples{grid-column:1/-1!important;grid-row:3!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;margin-top:4px!important;width:100%!important}
html body #app .experience-grid .feature-examples>b{width:100%;font-size:9px;letter-spacing:.08em;margin-bottom:1px}
html body #app .experience-grid .feature-examples>i{font-size:10px!important;padding:4px 6px!important;white-space:nowrap}
html body #app .experience-grid .feature-emblem .tool-art{width:30px!important;height:34px!important}

@media(min-width:761px){html body #app .direct-paper-surface{height:clamp(560px,67dvh,700px)!important}html body #app .direct-paper-surface>.paper-detail-preview{height:100%!important}html body #app .direct-paper-surface .paper-detail-ruling{min-height:calc(100% - 120px)!important}}

html body #app .page-color-approach [data-page-color-mode=signature]{font-size:16px!important;font-weight:700!important;color:#fff!important;text-shadow:0 1px 2px #360010,0 0 5px #360010b3!important;background:linear-gradient(115deg,#76032c 5%,#a33250 30%,#ad7d34 53%,#b9954d 64%,#81052e 95%)!important;min-height:54px!important;letter-spacing:.01em}

/* Bookmark colors belong to the readable label, not the artwork backing. */
html body #app .direct-inbook-tab{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
html body #app .direct-inbook-tab b{background:var(--ribbon)!important;border-radius:4px;padding:5px 3px;box-shadow:inset 0 1px #ffffff80,0 2px 4px #30232b25;border:1px solid #ffffff80}
html body #app .direct-ribbon-preview>.sample-ribbon:has(.bookmark-object-art){background:transparent!important;box-shadow:none!important;border:0!important}
html body #app .direct-ribbon-preview>.sample-ribbon>strong{background:var(--ribbon)!important;border:1px solid #fff9;border-radius:5px;padding:6px 4px;box-shadow:0 2px 4px #30232b25}

html body #app .direct-bookmark-book{padding-top:76px;box-sizing:content-box}
html body #app .direct-bookmark-book>.setup-book{z-index:2!important}
.direct-cover-bookmarks{position:absolute;top:12px;left:14%;right:14%;height:145px;display:flex;justify-content:center;gap:7px;z-index:1;pointer-events:none}
html body #app .direct-cover-bookmarks .direct-inbook-tab{height:145px;max-width:64px;min-width:0}
html body #app .direct-cover-bookmarks .direct-inbook-tab b{top:46px;font-size:10px;line-height:1.2}
html body #app .direct-design-links button{border:1px solid #d0b47f!important;border-radius:9px;background:linear-gradient(120deg,#fff,#fff8e8)!important;text-decoration:none!important;padding:9px 18px!important;min-height:40px;font-weight:600;color:#785521;box-shadow:inset 0 1px white,0 2px 4px #52342112!important}
@media(max-width:760px){html body #app .direct-bookmark-book{padding-top:58px}.direct-cover-bookmarks{top:0;left:12%;right:12%;height:120px}html body #app .direct-cover-bookmarks .direct-inbook-tab{height:120px}html body #app .direct-cover-bookmarks .direct-inbook-tab b{top:36px;font-size:9px}}

html body #app .direct-popover-heading>[data-direct-close]{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important;box-sizing:border-box!important}
html body #app .direct-popover-heading>[data-direct-close]>svg{display:block!important;width:20px!important;height:20px!important;margin:0!important;transform:none!important}

@media(min-width:761px){html body #app .direct-book-surface:not(.direct-paper-surface){width:min(100%,510px);height:620px}html body #app .direct-book-surface>.setup-book{width:413px!important;height:550px!important;max-width:86%!important}}
@media(min-width:761px) and (max-width:1050px){html body #app .direct-layout:has(.direct-popover:not([hidden])) .direct-book-surface:not(.direct-paper-surface){height:550px}html body #app .direct-layout:has(.direct-popover:not([hidden])) .direct-book-surface>.setup-book{width:347px!important;height:463px!important}}

html body #app .direct-ribbon-preview>.sample-ribbon{width:270px!important;height:470px!important;max-width:80%!important}
html body #app .direct-ribbon-preview>.sample-ribbon>strong{font-size:18px!important;line-height:1.25!important;padding:9px 6px!important;left:0!important;right:0!important}
@media(max-width:760px){html body #app .direct-ribbon-preview>.sample-ribbon{width:220px!important;height:360px!important}html body #app .direct-ribbon-preview>.sample-ribbon>strong{font-size:15px!important;padding:7px 4px!important}}

html body #app .shelf-mini-preview>[data-decor="Flower vase"],html body #app .shelf-mini-preview>[data-decor="Little Muse"]{height:112px!important;width:108px!important;flex:0 0 108px!important;max-height:calc(100% - 12px)!important;align-self:flex-end!important;margin-top:0!important}
html body #app .shelf-mini-preview>[data-decor="Flower vase"]>img,html body #app .shelf-mini-preview>[data-decor="Little Muse"]>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}

@media(min-width:1000px){html body #app .direct-studio[data-target=tools] .direct-layout{grid-template-columns:minmax(300px,1fr) minmax(580px,680px)!important}}
html body #app .direct-studio[data-target=tools] .direct-popover-body{padding:16px!important}
html body #app .direct-studio[data-target=tools] .feature-examples>i{padding:4px 5px!important;font-size:10px!important}

html body #app .experience-tool-details .experience-grid{align-items:start!important}
html body #app .experience-tool-details .experience-grid>.setting-switch{padding:12px!important;gap:7px 8px!important;height:auto!important;min-height:0!important}
html body #app .experience-grid .feature-examples{margin-top:2px!important;gap:4px!important}
html body #app .experience-grid .feature-examples>b{margin-bottom:0!important}
html body #app .experience-grid .feature-examples>i{padding:3px 5px!important}

html body #app .direct-studio[data-target=shelf] .direct-layout{display:block!important}
html body #app .direct-studio[data-target=shelf] .direct-display{display:none!important}
html body #app .direct-studio[data-target=shelf] .direct-popover{width:min(100%,780px)!important;margin:0 auto!important;position:relative!important;inset:auto!important;max-height:none!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=shelf] .shelf-setup{margin:0!important;padding:12px!important;border:0!important;background:none!important}
@media(max-width:760px){html body #app .direct-studio[data-target=shelf] .direct-popover{width:100%!important}.direct-studio[data-target=shelf] .direct-popover-heading{top:0!important}}

html body #app .direct-studio[data-target=tools] .direct-layout{display:block!important}
html body #app .direct-studio[data-target=tools] .direct-display{display:none!important}
html body #app .direct-studio[data-target=tools] .direct-popover{width:min(100%,900px)!important;margin:0 auto!important;position:relative!important;inset:auto!important;max-height:none!important;box-sizing:border-box!important}

html body #app .direct-heading-actions .direct-design-links{display:flex;gap:8px;margin:0!important;flex-wrap:wrap}
html body #app .direct-heading-actions{flex-wrap:wrap;justify-content:flex-end}
html body #app .visual-charm-options .real-charm-sample[data-metal=Gold]{filter:grayscale(1) sepia(1) saturate(2.2) hue-rotate(4deg) brightness(1.08) drop-shadow(1px 3px 2px #79511835)!important}
@media(max-width:760px){html body #app .direct-studio-heading{flex-wrap:wrap}html body #app .direct-heading-actions{justify-content:flex-start;gap:8px}html body #app .direct-heading-actions .direct-design-links{order:2;width:100%;justify-content:flex-start}}

html body #app .visual-charm-options .real-charm-sample[data-metal=Gold]{filter:grayscale(1) sepia(.62) saturate(.8) brightness(1.09) contrast(1.12) drop-shadow(1px 3px 2px #79511835)!important}
html body #app .sword-charm-sample{display:block;width:78px;height:90px;object-fit:contain;filter:drop-shadow(1px 3px 2px #50342430)}
html body #app .direct-popover-body label:has(>#cover-custom-foil){display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;width:100%!important;margin:18px 0 8px!important;text-align:center!important}

[data-habit-row],.task-list{overflow-anchor:none}

html body #app .real-shelf-row>.shelf-end-accessory{height:215px!important;width:175px!important;flex-basis:190px!important;max-height:90%!important;align-self:flex-end!important;margin-bottom:0!important}
html body #app .real-shelf-row>.shelf-photo-frame{height:205px!important;width:148px!important;flex-basis:148px!important;transform:perspective(650px) rotateY(-8deg) rotateX(5deg)!important;transform-origin:50% 100%;overflow:visible!important;isolation:isolate;box-shadow:inset 0 0 4px #765d3c88,5px 2px 0 #9f8c71,8px 5px 8px #362b272b!important}
html body #app .real-shelf-row>.shelf-photo-frame:after{content:'';position:absolute;width:35px;height:65%;bottom:-3px;right:-22px;transform:skewX(-12deg);background:linear-gradient(90deg,#8c7650,#d8c392);clip-path:polygon(0 0,25% 0,100% 100%,70% 100%);z-index:-1}
@media(max-width:760px){html body #app .real-shelf-row>.shelf-end-accessory{height:125px!important;width:76px!important;flex-basis:80px!important}html body #app .real-shelf-row>.shelf-photo-frame{height:118px!important;width:76px!important;flex-basis:76px!important}}
.growth-scene[data-scene=Bloom] .progress-art,.growth-scene[data-scene=Tree] .progress-art{aspect-ratio:3/5!important;max-height:300px}.growth-scene[data-scene=Bloom] .progress-frame,.growth-scene[data-scene=Tree] .progress-frame{background-size:500% 100%!important;background-repeat:no-repeat!important}

html body #app .direct-studio>.direct-secondary{display:flex!important;position:relative!important;margin:18px auto 0!important;padding:10px 0!important;justify-content:center!important;gap:10px!important}

html body #app .direct-studio[data-target=shelf] .shelf-mini-preview{--shelf-preview-decor-height:170px;height:215px!important;padding-top:18px!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=shelf] .shelf-mini-preview>.shelf-decor{height:var(--shelf-preview-decor-height)!important;width:150px!important;flex-basis:150px!important;max-height:100%!important;transform:none!important;margin-top:0!important;align-self:flex-end!important}
html body #app .direct-studio[data-target=shelf] .shelf-mini-preview>.shelf-photo-frame{height:var(--shelf-preview-decor-height)!important;width:126px!important;flex-basis:126px!important}
html body #app .direct-studio[data-target=shelf] .shelf-mini-preview>.shelf-decor>img{object-fit:contain!important;object-position:center bottom!important;transform:none!important}
@media(max-width:460px){html body #app .direct-studio[data-target=shelf] .shelf-mini-preview>.shelf-decor{width:120px!important;flex-basis:120px!important}}

/* Compact phone actions; keep the six feature cards unchanged. */
@media(max-width:760px){
 html[data-screen=home] body #app .home-actions [data-action=continue]{width:auto!important;min-width:0!important;min-height:44px!important;padding:10px 17px!important;font-size:14px!important;gap:10px!important}
 html[data-screen=home] body #app .today-strip .overview-link,html[data-screen=home] body #app .collection-heading .shelf-heading-actions button{width:auto!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:8px 10px!important;font-size:12px!important;gap:6px!important;flex:none!important}
 html[data-screen=home] body #app .overview-link svg,html[data-screen=home] body #app .shelf-heading-actions svg{width:17px!important;height:17px!important}
 html[data-screen=home] body #app .shelf-heading-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
}
/* A single close circle, without a second button shell. */
html body #modal>.modal-head>button[aria-label="Close dialog"]{border:0!important;background:transparent!important;box-shadow:none!important;outline-offset:3px;color:var(--accent-deep)!important;display:grid!important;place-items:center!important;padding:0!important}
html body #modal>.modal-head>button[aria-label="Close dialog"]::before,html body #modal>.modal-head>button[aria-label="Close dialog"]::after{display:none!important}
html body #modal>.modal-head>button[aria-label="Close dialog"]>svg{width:34px!important;height:34px!important;display:block!important;margin:0!important}
@media(max-width:760px){html body #modal .weekly-stats>div{display:grid!important;grid-template-rows:auto minmax(36px,1fr) 30px!important;justify-items:center!important;align-items:center!important;gap:8px!important;padding:14px 10px!important;min-height:130px!important;height:auto!important;box-sizing:border-box!important;overflow:hidden!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>span{grid-row:1!important;font-size:12px!important;line-height:1.25!important;text-align:center!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>b{grid-row:2!important;font-size:36px!important;line-height:1!important;margin:0!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i{grid-row:3!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;margin:0!important;background:none!important;box-shadow:none!important;border:0!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i .live-icon{width:28px!important;height:28px!important;background:none!important;box-shadow:none!important;border:0!important}}
html body #modal:has(.jar-gallery){width:min(1260px,calc(100vw - 32px))!important;max-width:1260px!important}
html body #modal:has(.jar-gallery) .jar-gallery{margin:14px 0!important;gap:14px!important}
html body #modal:has(.jar-gallery) :is(.jar-details-panel,.jar-note-panel){padding:16px!important;margin:0!important;min-height:0!important;align-self:stretch!important}
html body #modal:has(.jar-gallery) :is(.jar-details-panel,.jar-note-panel) h3{font-size:23px!important;margin:0 0 12px!important}
html body #modal:has(.jar-gallery) .jar-note-panel textarea{min-height:78px!important;height:78px}
html body #modal:has(.jar-gallery) .jar-note-panel>label{margin:8px 0!important}
@media(min-width:761px){html body #modal:has(.jar-gallery) .modal-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}html body #modal:has(.jar-gallery) .modal-body>:not(.jar-details-panel):not(.jar-note-panel){grid-column:1/-1!important}}

/* Date controls must not impose an intrinsic width on phone dialogs. */
@media(max-width:760px){
 html body #modal:has(#capsule-date),html body #modal:has(#edit-cap-date){width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box!important;margin-inline:auto!important;padding-inline:16px!important;overflow-x:hidden!important}
 html body #modal:has(#capsule-date) :is(.modal-body,.split,label,.capsule-list,.capsule-envelope),html body #modal:has(#edit-cap-date) :is(.modal-body,label){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html body #modal:has(#capsule-date) .split{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body #modal :is(#capsule-title,#capsule-date,#capsule-body,#edit-cap-title,#edit-cap-date,#edit-cap-body){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html body #modal :is(#capsule-date,#edit-cap-date){max-width:210px!important;display:block!important;min-height:44px!important;padding:10px!important;font-size:14px!important}
 html body #modal :is(#capsule-date,#edit-cap-date)::-webkit-date-and-time-value{text-align:left}
 html body #modal .capsule-envelope{display:flex!important;flex-wrap:wrap!important;gap:10px!important;overflow-wrap:anywhere!important}
 html body #modal .capsule-envelope>div{flex:1 1 140px!important;min-width:0!important}
}

/* One personalization heading row, with save last on the right. */
html body #app .direct-studio>.direct-home-corner{display:block!important;position:relative!important;margin:0 0 8px!important;min-height:40px!important;padding:8px 12px!important;width:auto!important}
html body #app .direct-studio-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:nowrap!important;width:100%!important;box-sizing:border-box!important}
html body #app .direct-studio-heading>div:first-child{min-width:0!important;flex:1 1 auto!important}
html body #app .direct-studio-heading h1{margin:4px 0!important;font-size:clamp(20px,2.5vw,34px)!important;line-height:1.2!important}
html body #app .direct-heading-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:8px!important;margin-left:auto!important;flex:0 0 auto!important}
html body #app .direct-heading-actions .direct-design-links{display:contents!important}
html body #app .direct-heading-actions button{white-space:nowrap!important;width:auto!important;min-width:0!important;margin:0!important;padding:10px 13px!important;min-height:44px!important;flex:0 0 auto!important}
html body #app .direct-heading-actions [data-direct-save]{order:3!important}
@media(max-width:600px){html body #app .direct-studio-heading{gap:7px!important}html body #app .direct-studio-heading h1{font-size:17px!important}html body #app .direct-studio-heading .eyebrow{font-size:8px!important;letter-spacing:.6px!important}html body #app .direct-heading-actions{gap:5px!important}html body #app .direct-heading-actions button{font-size:10px!important;padding:8px 6px!important}}

/* Writing stays primary; history is a peer navigation destination. */
html body #app #page[data-layout=journal]>.journal-mobile-views{display:flex!important;grid-column:1/-1!important;gap:22px!important;padding:0 18px!important;margin:0 0 12px!important;min-height:44px!important;border-bottom:1px solid var(--accent-edge)!important;background:transparent!important}
html body #app .journal-mobile-views>button{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;border-bottom:3px solid transparent!important;padding:9px 2px!important;min-height:44px!important}
html body #app .journal-mobile-views>button[aria-pressed=true]{border-bottom-color:var(--accent-deep)!important;color:var(--accent-deep)!important;font-weight:700!important}
html[data-view=full] body #app #page[data-layout=journal]{grid-template-columns:minmax(0,1fr)!important}
html[data-view=full] body #app #page[data-layout=journal][data-journal-pane=write]>.page-right,html[data-view=full] body #app #page[data-layout=journal][data-journal-pane=history]>.page-left{display:none!important}
html[data-view=full] body #app #page[data-layout=journal]>.spread-page{grid-column:1/-1!important;width:100%!important;max-width:none!important}
html[data-view=wide] body #app .workspace-shell{max-width:none!important;width:100%!important}
html[data-view=wide] body #app #page[data-layout=journal]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
@media(min-width:761px){html:is([data-view=book],[data-view=wide]) body #app #page[data-layout=journal]>:is(.page-left,.page-right){display:block!important}}
html body #app .entry-related-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:14px 0!important;flex-wrap:wrap!important}
html body #app .entry-related-actions>button{margin:0!important;min-height:44px!important;padding:8px 12px!important}
html body #modal .threads-panel{padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
@media(max-width:760px){html body #app .journal-help-shortcuts{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important}html body #app .journal-help-shortcuts>span{display:none!important}html[data-view=wide] body #app #page[data-layout=journal]{grid-template-columns:minmax(0,1fr)!important}}

/* Task Summary owns the metrics, leaving task lists focused and compact. */
html body #app #page[data-layout=tasks]>.task-primary-views{grid-column:1/-1!important;display:flex!important;gap:18px!important;margin:0 0 14px!important;flex-wrap:wrap!important}
html body #app #page[data-layout=tasks]:not([data-task-view=Summary])>.task-workspace-summary{display:none!important}
html body #app #page[data-layout=tasks][data-task-view=Summary]>.task-workspace-main{display:none!important}
html body #app #page[data-layout=tasks]>:is(.task-workspace-main,.task-workspace-summary){grid-column:1/-1!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body #app #page[data-layout=tasks] .task-row{min-height:48px!important;padding:7px 0!important;margin:0!important;gap:10px!important;align-items:center!important}
html body #app #page[data-layout=tasks] .task-row .grow{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 10px!important;align-items:center!important}
html body #app #page[data-layout=tasks] .task-row .task-text{grid-column:1/-1!important;line-height:1.35!important}
html body #app #page[data-layout=tasks] .task-row p{margin:0!important;font-size:11px!important}
html body #app #page[data-layout=tasks] .task-row .task-badges{margin:0!important;gap:5px!important;justify-content:flex-end!important}
html body #app #page[data-layout=tasks] .task-row .check{height:32px!important;width:32px!important;min-height:32px!important;min-width:32px!important;padding:4px!important}
html body #app #page[data-layout=tasks] .task-summary-item{padding:8px 0!important;min-height:42px!important;margin:0!important}
html body #app .compact-habit-streaks{padding:12px 14px!important;margin-block:10px!important}
html body #app .compact-habit-streaks .consistency-scores>div{height:116px!important;min-height:0!important;padding:10px!important;grid-template-rows:26px 1fr 24px!important;gap:3px!important}
html body #app .compact-habit-streaks .consistency-scores>div>strong{font-size:32px!important;margin:0!important}
@media(max-width:760px){
 html body #app #page .entry-essentials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html body #app #page .entry-essentials>label{min-width:0!important;width:100%!important;margin:0!important}
 html body #app #page #entry-date{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;font-size:13px!important;padding:9px!important;height:42px!important}
 html body #app #page .fields:has(#habit-date){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:center!important}
 html body #app #page :is(#habit-date,#scene){min-width:0!important;width:100%!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important;padding:8px!important;font-size:13px!important}
 html body #app #page #mood-date{width:calc(50% - 5px)!important;min-width:0!important;max-width:210px!important;height:42px!important;padding:8px!important;font-size:13px!important;box-sizing:border-box!important}
 html body #app #page .task-primary-views{gap:16px!important;justify-content:flex-start!important}
 html body #app #page[data-layout=tasks] .task-row .icon-btn{min-width:32px!important;min-height:36px!important;padding:5px!important;font-size:11px!important}
}

/* Category groups stay together; frame placeholders center in their aperture. */
html body :is(.setup-catalog-groups,.catalog-group-switch){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important;width:100%!important}
html body :is(.setup-catalog-groups,.catalog-group-switch)>button{width:100%!important;min-width:0!important;margin:0!important;padding:9px 5px!important;min-height:44px!important;white-space:nowrap!important;font-size:12px!important;box-sizing:border-box!important}
html body .shelf-photo-placeholder{position:absolute!important;inset:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;line-height:1.2!important;max-width:none!important;max-height:none!important;transform:none!important}
html body .shelf-photo-frame{position:relative!important}
@media(max-width:460px){html body :is(.setup-catalog-groups,.catalog-group-switch){gap:4px!important}html body :is(.setup-catalog-groups,.catalog-group-switch)>button{font-size:10px!important;padding-inline:2px!important}}

html body .experience-tool-details>.included-tools-heading{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:14px 16px!important;margin:18px 0 14px!important;background:linear-gradient(115deg,#fff,#fffaf0)!important;border:1px solid #d7b66d!important;border-left:4px solid #a67c2d!important;border-radius:10px!important;box-shadow:0 3px 10px #80602412!important;color:#780128!important;animation:included-reveal .55s ease-out both}
html body .included-tools-heading>strong{font:700 24px/1.2 Atelier Display,Georgia,serif!important;color:#805d19!important}
html body .included-tools-heading>span{font:600 15px/1.3 Atelier Sans,Arial,sans-serif!important}
@keyframes included-reveal{from{box-shadow:0 0 0 4px #d7b66d55;transform:translateY(3px)}to{box-shadow:0 3px 10px #80602412;transform:translateY(0)}}
html[data-lighting=night] body .experience-tool-details>.included-tools-heading{background:linear-gradient(115deg,#24242b,#302a23)!important;color:#fff!important;border-color:#c7a864!important}
html[data-lighting=night] body .included-tools-heading>strong{color:#edcf8c!important}
@media(prefers-reduced-motion:reduce){html body .included-tools-heading{animation:none!important}}

/* Gold charm samples: warm champagne midtones with bright metallic highlights. */
html body #app .visual-charm-options .real-charm-sample[data-metal=Gold],html body #modal .visual-charm-options .real-charm-sample[data-metal=Gold]{filter:grayscale(1) sepia(1) saturate(1.35) hue-rotate(2deg) brightness(1.03) contrast(1.14) drop-shadow(1px 3px 2px #50381840)!important}
html body :is(#app,#modal) .visual-charm-options .sword-charm-sample{filter:grayscale(1) sepia(1) saturate(1.35) hue-rotate(2deg) brightness(1.03) contrast(1.14) drop-shadow(1px 3px 2px #50381840)!important}

/* A fine DescaXora signature around Home's interactive objects. */
html[data-screen=home]{--home-iridescence:linear-gradient(120deg,#780128 0%,#a73754 20%,#fff5dc 39%,#bf9443 55%,#f9e8b6 69%,#8a1237 88%,#780128 100%)}
html[data-screen=home]:not([data-interior=Signature]){--home-iridescence:linear-gradient(120deg,var(--inside-accent,#780128),color-mix(in srgb,var(--inside-accent,#780128) 50%,white),#fff 46%,color-mix(in srgb,var(--inside-accent,#780128) 70%,white) 65%,var(--inside-accent,#780128))}
html[data-screen=home] body #app .hero-links [data-action=personalize]{font-size:19px!important;font-weight:600!important;line-height:1.4!important;padding:5px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;animation:none!important}
html[data-screen=home] body #app :is(.book-side-tools>button,.overview-link,.shelf-heading-actions>button,.new-spine.selected){position:relative!important;isolation:isolate}
html[data-screen=home] body #app :is(.book-side-tools>button,.overview-link,.shelf-heading-actions>button,.new-spine.selected)::after{content:''!important;display:block!important;position:absolute!important;inset:0!important;padding:1.5px!important;border-radius:inherit!important;background:var(--home-iridescence)!important;pointer-events:none!important;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)!important;-webkit-mask-composite:xor!important;mask-composite:exclude!important;z-index:2!important;opacity:.9!important}
html[data-screen=home] body #app .new-spine.selected::after{inset:-3px!important;padding:2px!important;border-radius:6px!important}
@keyframes home-letter-shine{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(max-width:760px){html[data-screen=home] body #app .hero-links [data-action=personalize]{font-size:17px!important}}
@media(prefers-reduced-motion:reduce){html[data-screen=home] body #app .hero-links [data-action=personalize]{animation:none!important}}

/* Woven cloth stays fabric: fine crossed threads, folded light and a soft cut end. */
html body :is(.sample-ribbon,.tabs>button,.direct-inbook-tab)[data-ribbon-style="Woven ribbon"]{background:linear-gradient(90deg,#0002,transparent 12%,#fff3 42%,transparent 80%,#0002),repeating-linear-gradient(0deg,#fff2 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#0001 0 1px,transparent 1px 3px),var(--ribbon,#8b284b)!important;border:0!important;box-shadow:inset 2px 0 #ffffff35,inset -2px 0 #00000020,2px 4px 5px #30202b25!important;border-radius:0!important}
html body .sample-ribbon[data-ribbon-style="Woven ribbon"]::before{display:none!important}
html body .sample-ribbon[data-ribbon-style="Woven ribbon"]{clip-path:polygon(0 0,100% 0,100% 100%,50% 91%,0 100%)!important}

/* Editorial headings: centered on a page, inset on a book leaf. */
html body #app #page .section-head h2,html body #app .care-navigation h2{font-family:Atelier Display,Georgia,serif!important;font-weight:500!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.25!important;background:linear-gradient(110deg,#780128 12%,#ad4961 34%,#8a641f 57%,#a27831 70%,#780128 90%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;padding:3px 8px!important;border:0!important}
html:not([data-view=book]) body #app #page .section-head>div:has(h2){flex:1!important;text-align:center!important}
html:not([data-view=book]) body #app #page .section-head h2,html:not([data-view=book]) body #app .care-navigation h2{text-align:center!important}
html[data-view=book] body #app #page .section-head h2,html[data-view=book] body #app .care-navigation h2{text-align:left!important;margin-left:12px!important}
html body #app #page .section-head:has(h2.writer-book-name){border-left:0!important;background:none!important}
html body #app .journal-help-shortcuts>button{font-weight:600!important;color:#856019!important}
html[data-lighting=night] body #app .journal-help-shortcuts>button{color:#e5c783!important}
@media(max-width:760px){html body #app .journal-help-shortcuts>button{padding:7px 9px!important;min-height:40px!important;font-size:12px!important}html body #modal .modal-body{padding:14px!important}html body #modal .modal-body :is(.tool-card,.template-card,.prompt-library-card){padding:12px!important;min-height:0!important}html body #modal .modal-body :is(.tool-card,.template-card,.prompt-library-card) p{margin:6px 0!important;line-height:1.4!important}}

html body #app .journal-help-shortcuts{display:flex!important;justify-content:center!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
html body #modal .settings-list{max-width:700px;margin:0 auto}
html body #modal .settings-list>h3{font:600 12px/1.4 Atelier Sans,Arial,sans-serif!important;letter-spacing:1px!important;color:var(--accent-deep)!important;margin:20px 0 5px!important;text-transform:uppercase}
html body #modal .settings-list>.settings-action{display:grid!important;grid-template-columns:28px minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:50px!important;padding:10px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--accent-edge)!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-align:left!important;color:var(--ink)!important}
html body #modal .settings-list .settings-action b{font:500 15px/1.3 Atelier Sans,Arial,sans-serif!important}
html body #modal .settings-list .settings-action>svg{width:23px!important;height:23px!important;color:#977126!important}
html body #modal .mobile-more-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body #modal .mobile-more-grid>h3{grid-column:1/-1!important;margin:12px 0 4px!important}
html body #modal .mobile-more-grid>button{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:50px!important;padding:10px!important;margin:0!important;font-size:13px!important}
html body #modal .mobile-more-grid[data-page-count="3"]{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html body #modal .mobile-more-grid[data-page-count="3"]>[data-mobile-page]{grid-column:span 2!important;flex-direction:column!important;text-align:center!important}
html body #modal .mobile-more-grid[data-page-count="3"]>[data-action]{grid-column:span 3!important}
html body #modal .mobile-more-grid[data-page-count="5"]>[data-mobile-page]:nth-of-type(5){grid-column:1/-1!important;justify-self:center!important;width:calc(50% - 5px)!important}
html body #modal .mobile-more-grid :is(.interface-icon,.live-icon){flex:none!important;width:26px!important;height:26px!important;color:#94702b!important;filter:drop-shadow(0 1px 1px #9d702b30)}
html[data-lighting=night] body #modal :is(.settings-list,.mobile-more-grid){color:#f6f2f5!important;background:#121212!important}
html[data-lighting=night] body #modal .settings-list .settings-action{color:#f6f2f5!important}
html[data-lighting=night] body #modal .settings-list :is(h3,svg){color:#e7cd92!important}
@media(min-width:761px){html:not([data-view=book]) body #app #page[data-layout=overview]{display:block!important}html:not([data-view=book]) body #app #page[data-layout=overview]>.dashboard-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;width:100%!important}html:not([data-view=book]) body #app .dashboard-details>:is(.dashboard-chart-panel,.dashboard-reflection-invitation){grid-column:auto!important;margin:0!important;padding:18px!important;min-width:0!important;max-width:100%!important}html:not([data-view=book]) body #app .dashboard-details .mood-metrics-layout{grid-template-columns:180px minmax(0,1fr)!important;gap:18px!important}html:not([data-view=book]) body #app .dashboard-details .dashboard-mood-donut{width:170px!important;height:170px!important}}

html body .sample-ribbon[data-ribbon-style="Braided cord"]{width:28px!important;background:repeating-linear-gradient(45deg,transparent 0 3px,#fff7 4px 5px,transparent 6px 9px),repeating-linear-gradient(-45deg,#0003 0 3px,var(--ribbon,#8b284b) 4px 8px)!important;border:0!important;border-radius:8px!important;clip-path:none!important;box-shadow:2px 3px 4px #0003!important}
html body .sample-ribbon[data-ribbon-style="Braided cord"]::before{display:none!important}
html body .sample-ribbon[data-ribbon-style="Stitched leather"]{background:linear-gradient(90deg,#e3e0dc,#fff 12%,#fff 85%,#d6d3cf)!important;border:1px solid #d5d1cc!important;box-shadow:2px 3px 5px #352b3020!important}
html body .sample-ribbon[data-ribbon-style="Stitched leather"]::before,html body .sample-ribbon[data-ribbon-style="Stitched leather"]::after{display:none!important}

html[data-account-pending=true] body #app{visibility:hidden!important}
.cloud-account-button{display:flex;align-items:center;gap:7px;margin-left:auto;min-height:44px;padding:8px 12px;border:1px solid #d2b16b;border-radius:9px;background:#fff;color:#80032e;font:600 13px Arial}
.cloud-account-button svg{width:22px;height:22px}
@media(max-width:760px){.cloud-account-button{min-width:40px;width:40px;padding:8px;justify-content:center}.cloud-account-button span{display:none}}
html[data-lighting=night] .cloud-account-button{background:#272a35;color:#f7e0af;border-color:#b6975d}

html body #app :is(.studio-page-view,.two-choice-row,.setup-choice-row) :is([data-welcome-view],[data-page-view],[data-studio-view])[aria-pressed=true]{background:#fff!important;color:#80032e!important;border:1px solid #b89857!important;box-shadow:0 2px 7px #96703218!important;text-shadow:none!important;transform:none!important}
html body #app .studio-page-view button[aria-pressed=true]{background:linear-gradient(120deg,#fff,#fffaf1)!important;color:#80032e!important;border:1px solid #ba995a!important;box-shadow:0 2px 7px #96703218!important;text-shadow:none!important}
html body #app .studio-page-view button[aria-pressed=true]::before,html body #app [data-welcome-view][aria-pressed=true]::before{content:none!important;display:none!important}
html[data-lighting=night] body #app .studio-page-view button[aria-pressed=true]{background:#302936!important;color:#f7e1b2!important;border-color:#c3a66b!important}
/* Dark reading surfaces and all their fields share a coherent palette. */
html[data-lighting=night] body #app :is(#page,.page-spread,.spread-page,.entry-composer,.page-left,.page-right,.history,.task-workspace-main,.task-workspace-summary,.growth-scene,.care-history,.compact-habit-streaks){background-color:#121212!important;background-image:none!important;color:#f0edf2!important;--inside-paper:#121212;--inside-text:#f0edf2;--ink:#f0edf2;--muted:#c5bdc9;--swoop-paper:#121212}
html[data-lighting=night] body #app :is(label,.body-label,.entry-title,.writing,.composer-heading,.category-intro,.subtle,.entry-essentials,.journal-mobile-views){color:#eeeaf1!important}
html[data-lighting=night] body #app :is(input:not([type=color]),select,textarea){background-color:#121212!important;color:#f0edf2!important;border-color:#55505e!important;color-scheme:dark}
html[data-lighting=night] body #app :is(input,textarea)::placeholder{color:#b8b0bd!important;opacity:1!important}
html[data-lighting=night] body #app :is(.entry-composer,.composer-heading,.writing-input-heading,.entry-title){background:#121212!important;border-color:#514650!important}
html[data-lighting=night] body #app .section-head h2,html[data-lighting=night] body #app .care-navigation h2{background:linear-gradient(110deg,#f1d3df,#e3c782,#f4e7d3)!important;background-clip:text!important;-webkit-background-clip:text!important}
html[data-lighting=night] body #modal :is(.modal-body,.jar-details-panel,.jar-note-panel,.jar-create-panel,.capsule-intro,.capsule-list,.empty,.release-room,.reflection-deck,.tool-card,.library-item,.prompt-library-card,.template-card){background:#121212!important;color:#f1edf3!important;border-color:#514b59!important}
html[data-lighting=night] body #modal :is(label,p,small,h3,h4,.feature-title,.feature-examples){color:#e7e1eb!important}
html[data-lighting=night] body #modal :is(input:not([type=color]),textarea,select){background:#171a22!important;color:#f4eff6!important;color-scheme:dark;border-color:#5b5260!important}
html[data-lighting=night] body #modal :is(input,textarea)::placeholder{color:#bcb2c3!important;opacity:1!important}

html body #app .color-match-switch{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important;justify-content:start!important;gap:12px!important;width:100%!important;max-width:100%!important;padding:12px 0!important;margin:10px 0 14px!important;background:none!important;border:0!important;box-shadow:none!important;text-align:left!important}
html body #app .color-match-switch>input[type=checkbox]{position:static!important;appearance:auto!important;-webkit-appearance:checkbox!important;transform:none!important;margin:0!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;align-self:center!important;accent-color:#80032e}
html body #app .color-match-switch>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0!important;text-align:left!important}
html body #app .color-match-switch b{font:600 14px/1.35 Atelier Sans,Arial,sans-serif!important;margin:0!important}
html body #app .color-match-switch small{display:block!important;font:400 12px/1.4 Atelier Sans,Arial,sans-serif!important;margin:0!important}

.admin-overview .admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.admin-metrics>div{text-align:center;padding:14px 8px;border-top:2px solid #b48e45}.admin-metrics span{display:block;font-size:12px}.admin-metrics strong{display:block;font:36px Georgia;color:var(--accent-deep);margin-top:9px}.admin-customers article{padding:16px 0;border-bottom:1px solid var(--accent-edge)}.admin-customers small{display:block;margin-top:5px}.admin-counts{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:12px}.admin-customers strong{overflow-wrap:anywhere}.admin-purchase-status{font-size:12px;color:var(--muted)}

.release-ready{position:fixed;bottom:88px;right:14px;z-index:1000;padding:10px 14px;border:1px solid #d6b469;border-radius:9px;background:#80032e;color:#fff;box-shadow:0 4px 15px #0002;font:600 13px Arial;min-height:44px}

/* Keep automatic color choices free of competing manual controls. */
.direct-studio[data-match-cover-colors="true"] .studio-page-colors,
.direct-studio[data-match-cover-colors="true"] .setup-palette-grid,
.direct-studio[data-match-cover-colors="true"] .studio-extra:has(.setup-palette-grid){display:none!important}
.direct-studio-heading{padding-inline:0!important;margin-inline:0!important}
.direct-display{min-width:0}
.direct-paper-surface{margin-inline:0!important}
.studio-page-colors{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:20px 40px!important;padding:12px 0!important}
.studio-page-colors>label{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex:0 0 auto!important}

html body #app .direct-popover .color-match-switch b{color:#81052e!important;text-shadow:none!important;-webkit-text-fill-color:#81052e!important}

html body #app .direct-studio-heading,html body #app .direct-studio-heading>div:first-child{background:transparent!important;backdrop-filter:none!important;box-shadow:none!important}
html body #app .direct-studio-heading::before,html body #app .direct-studio-heading::after,html body #app .direct-studio-heading>div:first-child::before,html body #app .direct-studio-heading>div:first-child::after{content:none!important;display:none!important}

/* Larger personalization book, with room retained for its editing labels. */
@media(min-width:1051px){html body #app .direct-book-surface:not(.direct-paper-surface){width:min(100%,580px)!important;height:690px!important}html body #app .direct-book-surface>.setup-book{width:465px!important;height:620px!important;max-width:86%!important}}
@media(min-width:761px) and (max-width:1050px){html body #app .direct-book-surface:not(.direct-paper-surface){width:min(100%,540px)!important;height:640px!important}html body #app .direct-layout:has(.direct-popover:not([hidden])) .direct-book-surface>.setup-book,html body #app .direct-book-surface>.setup-book{width:405px!important;height:540px!important;max-width:85%!important}}

@media(max-width:760px){html body .mobile-bottom-navigation button[aria-current="page"]{position:relative;background:linear-gradient(115deg,#fff 0%,#fffaf0 36%,#f4e6cc 50%,#fff 66%,#f9edf1 100%)!important;color:#81052e!important;border:0!important;border-radius:12px!important;box-shadow:none!important;transform:none!important}html body .mobile-bottom-navigation button[aria-current="page"]::before{content:none!important}html body .mobile-bottom-navigation button[aria-current="page"]::after{content:""!important;position:absolute;bottom:3px;left:25%;width:50%;height:3px;border-radius:3px;background:var(--selection-iridescence,linear-gradient(90deg,#81052e,#bd6b82,#fff3d4,#be9644,#81052e));box-shadow:0 1px 5px color-mix(in srgb,var(--inside-accent,#b58a34) 22%,transparent)}html body .mobile-bottom-navigation button[aria-current="page"] svg{color:#81052e!important;filter:drop-shadow(0 1px 1px #e6c78266)}}

html[data-screen=home] body #app .today-strip{position:relative!important;padding-top:66px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-screen=home] body #app .today-strip .snapshot-date{position:absolute!important;top:16px!important;left:18px!important;grid-column:auto!important}
html[data-screen=home] body #app .today-strip .overview-link{position:absolute!important;top:12px!important;right:16px!important;bottom:auto!important;left:auto!important;grid-column:auto!important;grid-row:auto!important;width:auto!important;margin:0!important;min-height:40px!important}
html body #app .hero-links button[data-action="personalize"]{background:none!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;-webkit-text-fill-color:#81052e!important;color:#81052e!important;mask-image:none!important;opacity:1!important;text-shadow:0 1px 1px #d9b76444!important;display:inline-flex!important;align-items:center!important;gap:10px!important}
html body #app .hero-links button[data-action="personalize"] span{display:none!important}
html body #app .hero-links button[data-action="personalize"]::after{content:""!important;display:inline-block!important;position:static!important;width:16px!important;height:16px!important;background:currentColor!important;clip-path:polygon(15% 14%,86% 14%,86% 85%,74% 85%,74% 35%,20% 89%,11% 80%,65% 26%,15% 26%);opacity:1!important;flex:none!important}
html[data-lighting="night"] body #app .hero-links button[data-action="personalize"]{color:#f1d5a0!important;-webkit-text-fill-color:#f1d5a0!important}

/* Habit progress stays prominent within a compact panel. */
html body #app .growth-scene #growth-percent,html body #app .growth-scene .growth-meter>strong{display:block!important;font-size:clamp(42px,4vw,60px)!important;line-height:1.05!important;margin:6px 0 8px!important;font-weight:600!important}
html body #app .growth-scene .growth-track{height:13px!important;width:min(100%,340px)!important;max-width:100%!important;margin:14px 0 0!important;border-radius:8px!important;overflow:hidden!important}
html body #app .growth-scene .growth-track>i{display:block!important;height:100%!important;border-radius:inherit!important}
@media(max-width:760px){html body #app .growth-scene #growth-percent,html body #app .growth-scene .growth-meter>strong{font-size:42px!important}html body #app .growth-scene .growth-track{height:11px!important}}

/* Center month history as one compact unit, rather than half a wide spread. */
html body #app #page[data-layout="habits"][data-care-panel="month"] .habit-month-view{width:min(100%,1180px)!important;max-width:1180px!important;min-width:0!important;box-sizing:border-box!important;margin:0 auto!important;justify-self:center!important;grid-column:1/-1!important;padding:20px!important}
html body #app .habit-month-view>label{display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;width:fit-content!important;margin:0 auto 14px!important}
html body #app .habit-month-view #habit-month{width:220px!important;max-width:100%!important}
html body #app #habit-month-content{width:100%!important;max-width:1140px!important;margin-inline:auto!important}
html body #app #habit-month-content>section,html body #app #habit-month-content>div{margin-inline:auto!important;max-width:100%!important}
@media(max-width:760px){html body #app #page[data-layout="habits"][data-care-panel="month"] .habit-month-view{padding:12px 6px!important}}

/* DescaXora navigation: bright surfaces, antique gold details, rich maroon. */
html body .journal-navigation{background:linear-gradient(150deg,#ffffff 0%,#fffdf8 62%,#fbf6ec 100%)!important;border-right:1px solid #d6bb815e!important;box-shadow:5px 0 22px #70502308!important}
html body .journal-navigation button{color:#6e233b!important;background:transparent!important;border-radius:9px!important;box-shadow:none!important}
html body .journal-navigation button svg,html body .journal-navigation button .live-icon{color:#a87b2d!important;background:transparent!important;box-shadow:none!important}
html body .journal-navigation :is(.navigation-group-label,.navigation-heading>span){color:#946a29!important}
html body .journal-navigation button:hover{background:linear-gradient(110deg,#fff,#faf0dc)!important}
html body .journal-navigation button[aria-current="page"]{color:#81052e!important;background:linear-gradient(115deg,#fffaf0,#f7ecef 50%,#fff8e7)!important;border:1px solid #b99a5966!important;box-shadow:inset 3px 0 #81052e!important}
html body .journal-navigation button[aria-current="page"] svg{color:#81052e!important}
html[data-lighting=night] body .journal-navigation{background:linear-gradient(150deg,#242027,#1d1b22)!important;border-color:#b99a5955!important}
html[data-lighting=night] body .journal-navigation button{color:#f5e9dd!important}
html[data-lighting=night] body .journal-navigation button[aria-current="page"],html[data-lighting=night] body .journal-navigation button:hover{background:linear-gradient(110deg,#482236,#32272a)!important;color:#fff!important}
html[data-lighting=night] body .journal-navigation button svg,html[data-lighting=night] body .journal-navigation button[aria-current="page"] svg{color:#dfbd77!important}

html body #app .habit-month-summary,html body #app .habit-month-grid{width:100%!important;max-width:none!important;box-sizing:border-box!important}
html body #app .habit-month-summary>h3,html body #app .habit-month-summary>p{text-align:center!important}
@media(min-width:761px){html body #app .habit-month-grid{gap:9px!important}html body #app .habit-month-grid>button{aspect-ratio:1!important;min-height:100px!important}html body #app .habit-month-grid>button>strong{font-size:29px!important}html body #app .habit-month-grid>button>i{height:8px!important}}

/* Keep the selected Mood face drawn, rather than filling its features. */
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood{fill:none!important;color:#fffaf1!important;filter:none!important}
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood .icon-halo{fill:none!important;stroke:none!important}
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood .mood-outline{fill:none!important;stroke:#fffaf1!important}
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood g{fill:none!important;stroke:#fffaf1!important}
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood .face-eyes ellipse{fill:#fffaf1!important;stroke:none!important}
html body #app [data-care-view="mood"][aria-pressed="true"] .icon-mood path{fill:none!important;stroke:#fffaf1!important}

.mood-context legend button{margin-left:14px;padding:6px 10px!important;min-height:34px!important;font:500 12px Arial!important;vertical-align:middle}.context-option-editor>div{display:flex;align-items:center;gap:10px;margin:10px 0}.context-option-editor input{flex:1;min-width:0}.context-option-editor button{flex:none}

/* One coordinated selected-border language across the product. */
:root{--selection-iridescence:linear-gradient(115deg,#80032e 0%,#b86d86 22%,#fff7df 43%,#c39b49 61%,#f8e8bb 78%,#80032e 100%)}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]){--selection-iridescence:linear-gradient(115deg,var(--inside-accent) 0%,color-mix(in srgb,var(--inside-accent),white 48%) 25%,color-mix(in srgb,var(--inside-accent),white 86%) 45%,var(--inside-accent) 65%,color-mix(in srgb,var(--inside-accent),white 60%) 84%,var(--inside-accent) 100%)}
html body #app :is(button[aria-pressed="true"],button[aria-current="page"],button.selected,.moods>button.selected),html body #modal :is(button[aria-pressed="true"],button.selected),html body .journal-navigation button[aria-current="page"]{border:2px solid transparent!important;border-image:var(--selection-iridescence) 1!important}
html body #app :is(button[aria-pressed="true"],button[aria-current="page"],button.selected):focus-visible,html body #modal button:focus-visible{outline:3px solid var(--inside-accent,#81052e)!important;outline-offset:3px!important}

html body #app .consistency-scores{display:grid!important;grid-template-columns:repeat(2,minmax(0,155px))!important;justify-content:start!important;align-items:stretch!important;gap:14px!important;width:100%!important}
html body #app .consistency-scores>div{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:36px 42px 28px!important;align-items:center!important;justify-items:center!important;gap:5px!important;padding:14px 12px!important;min-height:146px!important;height:auto!important;box-sizing:border-box!important;overflow:hidden!important;text-align:center!important}
html body #app .consistency-scores>div>span{grid-row:1!important;margin:0!important;line-height:1.25!important;max-width:100px!important}
html body #app .consistency-scores>div>strong{grid-row:2!important;font-size:36px!important;line-height:1!important;margin:0!important}
html body #app .consistency-scores>div>.rhythm-metric-icon{grid-row:3!important;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;margin:0!important;transform:none!important}
html body #app .rhythm-metric-icon svg{display:block!important;width:25px!important;height:25px!important;flex:none!important}
html body #app .consistency-scores+p{margin-top:14px!important}

/* Unified analytics layout: one spacing scale and aligned content groups. */
html body #app #page[data-layout="overview"]{--analytics-gap:24px;gap:var(--analytics-gap)!important}
html body #app #page[data-layout="overview"] .dashboard-intro{padding:22px!important;min-height:0!important;height:auto!important}
html body #app #page[data-layout="overview"] .dashboard-title{background:none!important;border:0!important;box-shadow:none!important;padding:0 0 12px!important;min-height:0!important}
html body #app #page[data-layout="overview"] .dashboard-title h2{color:var(--inside-accent,#81052e)!important;font-size:34px!important;margin:3px 0 8px!important}
html body #app #page[data-layout="overview"] .dashboard-title p{display:none!important}
html body #app #page[data-layout="overview"] .dashboard-period{display:inline-flex!important;align-items:center!important;gap:12px!important;width:auto!important;margin:0 0 10px!important}
html body #app #page[data-layout="overview"] .dashboard-period select{width:190px!important;min-height:40px!important}
html body #app #page[data-layout="overview"] .dashboard-range{margin:0 0 18px!important;font-size:12px!important}
html body #app #page[data-layout="overview"] .clear-dashboard-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html body #app #page[data-layout="overview"] .dash-card{min-width:0!important;min-height:156px!important;height:auto!important;aspect-ratio:auto!important;padding:16px!important;border:1px solid color-mix(in srgb,var(--inside-accent,#81052e),transparent 80%)!important;border-radius:12px!important;background:linear-gradient(130deg,#fff,var(--inside-paper,#fffefa))!important;box-shadow:0 3px 8px #33222108!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
html body #app #page[data-layout="overview"] .dash-card-heading{display:flex!important;align-items:center!important;gap:10px!important;min-height:28px!important}
html body #app #page[data-layout="overview"] .dash-card-heading b{font:600 14px/1.3 Arial,sans-serif!important;flex:1!important}
html body #app #page[data-layout="overview"] .dash-card-heading i{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;margin:0!important}
html body #app #page[data-layout="overview"] .dash-card-heading i svg{width:26px!important;height:26px!important;margin:0!important}
html body #app #page[data-layout="overview"] .dash-card>strong{font-size:38px!important;line-height:1.05!important;margin:0!important;display:block!important}
html body #app #page[data-layout="overview"] .dash-card>strong small{display:block!important;font:400 12px/1.45 Arial,sans-serif!important;margin-top:8px!important;color:var(--inside-text,#352e40)!important}
html body #app #page[data-layout="overview"] .dash-card-action{display:none!important}
html body #app #page[data-layout="overview"] .dashboard-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:24px!important;padding:22px!important;min-height:0!important}
html body #app #page[data-layout="overview"] .dashboard-details>.dashboard-chart-panel,html body #app #page[data-layout="overview"] .dashboard-reflection-invitation{width:100%!important;min-width:0!important;grid-column:auto!important;padding:16px 0!important;margin:0!important;border:0!important;border-top:1px solid #bd9b5545!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}
html body #app #page[data-layout="overview"] .panel-heading{font:600 17px/1.35 Arial,sans-serif!important;display:flex!important;align-items:center!important;gap:9px!important}
html body #app #page[data-layout="overview"] .readable-chart{height:160px!important;margin:18px 0 8px!important;gap:6px!important}
html body #app #page[data-layout="overview"] .chart-explainer{display:block!important;font-size:11px!important;line-height:1.5!important;margin-top:10px!important}
html body #app .mood-metrics-layout,html body #app .mood-distribution{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;align-items:center!important;gap:20px!important;margin:18px 0!important}
html body #app .dashboard-mood-donut,html body #app .mood-donut{width:170px!important;height:170px!important;min-width:170px!important;aspect-ratio:1!important;margin:0!important}
html body #app .mood-donut>span,html body #app .dashboard-mood-donut>div{width:68%!important;height:68%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important}
html body #app .mood-donut b,html body #app .dashboard-mood-donut strong{font-size:38px!important;line-height:1!important}
html body #app .mood-donut small,html body #app .dashboard-mood-donut>div>span{font-size:12px!important;line-height:1.2!important}
html body #app .mood-legend>div,html body #app .dashboard-mood-legend>div{display:grid!important;grid-template-columns:10px minmax(0,1fr) 38px 35px!important;align-items:center!important;gap:8px!important;padding:7px 0!important;font-size:12px!important}
html body #app .dashboard-mood-summary>strong{display:block!important;font-size:23px!important;line-height:1.35!important;margin:7px 0 12px!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"]>.care-history-row{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:22px!important;align-items:start!important;width:100%!important;max-width:1120px!important;margin:0 auto!important;padding:20px!important;box-sizing:border-box!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .mood-insight-column{display:contents!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .care-history-heading{display:none!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .insight-panel{padding:18px 0!important;margin:0!important;min-height:0!important;height:auto!important;background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid #bd9b5545!important;border-radius:0!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .mood-overview{grid-column:1!important;grid-row:1!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .feeling-timeline{grid-column:2!important;grid-row:1!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .mood-context-insight{grid-column:1!important;grid-row:2!important}
html body #app #page[data-layout="mood"][data-care-panel="insights"] .consistency-panel{grid-column:2!important;grid-row:2!important}
html body #app .insight-panel h3{font-size:25px!important;line-height:1.25!important;margin:0 0 12px!important}
html body #app .feeling-beads{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:flex-start!important;margin:18px 0!important}
html body #app .context-summary{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:14px 0!important}
html body #app .context-summary>span{border:0!important;border-radius:0!important;background:transparent!important;padding:7px 0!important;margin-right:14px!important}
@media(min-width:761px){html[data-view="book"] body #app #page[data-layout="overview"] .dashboard-details{grid-template-columns:1fr!important}}
@media(max-width:1000px){html body #app .mood-metrics-layout,html body #app .mood-distribution{grid-template-columns:140px minmax(0,1fr)!important;gap:14px!important}html body #app .dashboard-mood-donut,html body #app .mood-donut{width:140px!important;height:140px!important;min-width:140px!important}}
@media(max-width:760px){html body #app #page[data-layout="overview"] .dashboard-details{grid-template-columns:1fr!important;padding:14px!important;gap:16px!important}html body #app #page[data-layout="overview"] .dashboard-intro{padding:14px!important}html body #app #page[data-layout="overview"] .dash-card{padding:12px!important;min-height:145px!important}html body #app #page[data-layout="overview"] .dash-card-heading b{font-size:12px!important}html body #app #page[data-layout="overview"] .dash-card>strong{font-size:32px!important}html body #app #page[data-layout="mood"][data-care-panel="insights"]>.care-history-row{grid-template-columns:1fr!important;padding:14px!important;gap:16px!important}html body #app #page[data-layout="mood"][data-care-panel="insights"] .insight-panel{grid-column:1!important;grid-row:auto!important}html body #app .mood-metrics-layout,html body #app .mood-distribution{grid-template-columns:130px minmax(0,1fr)!important;gap:14px!important}html body #app .dashboard-mood-donut,html body #app .mood-donut{width:130px!important;height:130px!important;min-width:130px!important}html body #app .mood-legend>div,html body #app .dashboard-mood-legend>div{grid-template-columns:8px minmax(0,1fr) 30px!important;gap:6px!important}.mood-legend>div>small,.dashboard-mood-legend>div>small{display:none!important}}
html[data-lighting="night"] body #app #page[data-layout="overview"] .dash-card{background:#242630!important;border-color:#bfa06466!important}

html body #app #page[data-layout="overview"] .dash-card-heading{position:static!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important}
html body #app #page[data-layout="overview"] .dash-card-heading :is(i,b,em){position:static!important;inset:auto!important;transform:none!important;order:initial!important}
html body #app #page[data-layout="overview"] .dash-card-heading i{flex:0 0 28px!important}
html body #app #page[data-layout="overview"] .dash-card-heading em{margin-left:auto!important}
html body #app #page[data-layout="overview"] .dash-card-heading b{text-align:left!important}
html[data-lighting="night"] body #app #page[data-layout="overview"] .dashboard-title h2{color:#f0d49a!important}
html body #app #page[data-layout="overview"] .dashboard-title{height:auto!important;min-height:0!important;max-height:none!important;margin:0!important}
html body #app #page[data-layout="overview"] .dashboard-title .eyebrow{display:none!important}
html body #app #page[data-layout="overview"] .dashboard-details .mood-metrics-layout{grid-template-columns:145px minmax(0,1fr)!important;gap:14px!important}
html body #app #page[data-layout="overview"] .dashboard-details .dashboard-mood-donut{width:145px!important;height:145px!important;min-width:145px!important}
html body #app #page[data-layout="overview"] .dashboard-details .dashboard-mood-summary{min-width:0!important}
@media(min-width:761px){html[data-view="full"] body #app #page[data-layout="overview"]>.dashboard-intro,html[data-view="wide"] body #app #page[data-layout="overview"]>.dashboard-intro{width:100%!important;grid-column:1/-1!important}html[data-view="full"] body #app #page[data-layout="overview"]>.dashboard-details,html[data-view="wide"] body #app #page[data-layout="overview"]>.dashboard-details{width:100%!important;grid-column:1/-1!important}html[data-view="full"] body #app #page[data-layout="overview"] .clear-dashboard-cards,html[data-view="wide"] body #app #page[data-layout="overview"] .clear-dashboard-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}}

/* Labels keep the same dimensions before and after selection. */
html body #app .workspace-shell article.notebook nav.tabs>button .bookmark-label,html body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]) .bookmark-label{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;box-sizing:border-box!important;flex-wrap:nowrap!important;line-height:1.1!important;width:132px!important;min-width:132px!important;max-width:132px!important;height:38px!important;min-height:38px!important;padding:7px 8px!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important}
@media(min-width:1000px){html[data-view="full"] body #app .workspace-shell article.notebook nav.tabs>button,html[data-view="wide"] body #app .workspace-shell article.notebook nav.tabs>button{width:158px!important;min-width:158px!important;height:190px!important;min-height:190px!important}html[data-view="full"] body #app .workspace-shell article.notebook nav.tabs .bookmark-object-art,html[data-view="wide"] body #app .workspace-shell article.notebook nav.tabs .bookmark-object-art{height:190px!important;max-height:190px!important}html[data-view="full"] body #app .workspace-shell article.notebook nav.tabs .bookmark-label,html[data-view="wide"] body #app .workspace-shell article.notebook nav.tabs .bookmark-label{width:150px!important;min-width:150px!important;max-width:150px!important;height:44px!important;min-height:44px!important;font-size:15px!important}html[data-view="full"] body #app .workspace-shell article.notebook nav.tabs,html[data-view="wide"] body #app .workspace-shell article.notebook nav.tabs{gap:16px!important}}
@media(max-width:760px){html body #app .workspace-shell article.notebook nav.tabs>button .bookmark-label{width:100%!important;min-width:0!important;max-width:100%!important;font-size:10px!important;padding-inline:3px!important}}

/* Task and habit summaries share the analytics spacing and hierarchy. */
html body #app #page[data-layout="tasks"] .task-workspace-summary{max-width:1080px!important;width:100%!important;justify-self:center!important;padding:22px!important;min-height:0!important}
html body #app #page[data-layout="tasks"] .task-totals{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:14px 0 22px!important}
html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric){display:grid!important;grid-template-columns:1fr!important;grid-template-rows:28px 52px 28px!important;align-items:center!important;justify-items:center!important;gap:8px!important;min-height:160px!important;height:auto!important;padding:16px 12px!important;box-sizing:border-box!important;border:1px solid #bda46b66!important;border-radius:12px!important;background:transparent!important;box-shadow:0 3px 7px #34271709!important}
html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>span{grid-row:1!important;font-size:13px!important;margin:0!important;text-align:center!important}
html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>:is(strong,b){grid-row:2!important;font-size:46px!important;line-height:1!important;margin:0!important}
html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>i,html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>svg{grid-row:3!important;position:static!important;width:26px!important;height:26px!important;margin:0!important;transform:none!important}
html body #app #page[data-layout="tasks"] .task-summary-group{padding:18px 0!important;margin:0!important;border:0!important;border-top:1px solid #bda46b66!important;background:transparent!important;box-shadow:none!important}
html body #app #page[data-layout="tasks"] .task-summary-item{padding:12px 0!important;margin:0!important;min-height:55px!important;border:0!important;border-bottom:1px solid #bda46b33!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body #app #page[data-layout="tasks"] .completed-group h3{color:#28714e!important}
html body #app #page[data-layout="tasks"] .upcoming-group h3{color:#927029!important}
html body #app #page[data-layout="habits"] .compact-habit-streaks{border:0!important;border-top:1px solid #bda46b66!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:18px 0!important;margin:18px 0 0!important}
html body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:420px!important;gap:14px!important}
html body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores>div{grid-template-rows:32px 42px 26px!important;min-height:140px!important;height:auto!important;padding:12px!important}
html body #app #page[data-layout="habits"] .growth-meter{min-width:0!important}
html body #app #page[data-layout="habits"] .growth-track{position:relative!important;inset:auto!important;transform:none!important}
@media(min-width:761px){html body #app #page[data-layout="tasks"] .task-workspace-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 24px!important}html body #app #page[data-layout="tasks"] .task-workspace-summary>:is(h3,.task-totals,.next-task){grid-column:1/-1!important}html body #app #page[data-layout="habits"][data-care-panel="today"]>.page-left{max-width:620px!important;justify-self:center!important;width:100%!important}}
@media(max-width:760px){html body #app #page[data-layout="tasks"] .task-workspace-summary{padding:14px!important}html body #app #page[data-layout="tasks"] .task-totals{gap:8px!important}html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric){min-height:130px!important;padding:10px 5px!important;grid-template-rows:32px 38px 22px!important;gap:5px!important}html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>:is(strong,b){font-size:35px!important}html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric)>span{font-size:11px!important}html body #app #page[data-layout="habits"] .compact-habit-streaks{margin:12px 0!important;padding:14px!important}}

html body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric){aspect-ratio:auto!important;max-height:180px!important;align-self:start!important;background-image:none!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric){background:#252832!important;color:#f3e8d8!important;border-color:#bd9b5580!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals>:is(div,.task-metric) :is(strong,span,i,svg){color:#f4dfb2!important;-webkit-text-fill-color:currentColor!important}
html[data-lighting="night"] body #app .consistency-scores>div{background:#252832!important;background-image:none!important;border-color:#bd9b5580!important}
html[data-lighting="night"] body #app .consistency-scores>div :is(strong,span,i,svg){color:#f4dfb2!important}
html body #app #page[data-layout="overview"] .dash-card{background-image:none!important}
html[data-lighting="night"] body #app #page[data-layout="overview"] .dash-card{background:#252832!important}

/* Dark reading surfaces must win over layout-specific paper rules. */
html[data-lighting="night"][data-view] body #app .workspace-shell article.notebook #page[data-layout],html[data-lighting="night"][data-view] body #app .workspace-shell article.notebook #page[data-layout] :is(.spread-page,.care-history-row,.insight-panel,.care-page-heading,.mood-insight-column,.task-workspace-summary,.task-workspace-main){background:#121212!important;background-image:none!important;color:#f1edf2!important;--surface:#121212;--inside-paper:#121212;--inside-text:#f1edf2;--sample-paper:#121212;--ink:#f1edf2;--muted:#c5bdc9}
html[data-lighting="night"][data-view] body #app .workspace-shell article.notebook #page[data-layout] :is(h2,h3,h4,p,small,legend,label,.panel-heading,.mood-legend span,.mood-legend b,.dashboard-mood-summary,.dashboard-mood-legend span,.dashboard-mood-legend b){color:#f1edf2!important;-webkit-text-fill-color:currentColor!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals .task-metric>b{color:#f4dfb2!important;-webkit-text-fill-color:#f4dfb2!important;font-size:38px!important}
html[data-lighting="night"] body #app :is(.mood-donut>span,.dashboard-mood-donut>div){background:#121212!important;color:#fff!important}
html[data-lighting="night"] body #app :is(.mood-donut>span,.dashboard-mood-donut>div) :is(b,strong,small,span){color:#fff!important;-webkit-text-fill-color:#fff!important}

html[data-screen="home"] body #app .hero-links button[data-action="personalize"]{background:none!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;animation:none!important;mask:none!important;filter:none!important}
html[data-screen="home"] body #app .hero-links button[data-action="personalize"]::after{content:none!important;display:none!important}
html[data-screen="home"] body #app .hero-links button[data-action="personalize"]>svg{display:block!important;width:18px!important;height:18px!important;flex:0 0 18px!important;color:inherit!important;stroke:currentColor!important;fill:none!important;opacity:1!important}
html[data-lighting="night"][data-screen="home"] body #app .hero-links button[data-action="personalize"]{color:#f1d5a0!important;-webkit-text-fill-color:#f1d5a0!important}

html body button.release-ready{background:#fff!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;border:2px solid #b58b3d!important;border-radius:10px!important;box-shadow:0 4px 20px #30201c38!important;opacity:1!important;font:600 14px/1.3 Arial,sans-serif!important;padding:12px 16px!important;min-height:44px!important;z-index:2000!important}
html[data-lighting="night"] body button.release-ready{background:#29232d!important;color:#fff4d7!important;-webkit-text-fill-color:#fff4d7!important;border-color:#dfbc71!important;box-shadow:0 4px 22px #0008!important}
html body button.release-ready:focus-visible{outline:3px solid #81052e!important;outline-offset:3px!important}

/* Weekly history is a readable table, never a stretched spread-wide banner. */
html body #app #page[data-layout="habits"][data-care-panel="week"]>.care-history-row{width:min(100%,1040px)!important;max-width:1040px!important;min-width:0!important;justify-self:center!important;margin:0 auto!important;padding:20px!important;box-sizing:border-box!important;display:block!important;background:var(--inside-paper,#fff)!important;position:relative!important;z-index:1!important}
html body #app #page[data-layout="habits"][data-care-panel="week"] .care-history-heading{display:none!important}
html body #app #page[data-layout="habits"] .weekly-rituals{width:100%!important;max-width:100%!important;margin:0!important;padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html body #app #page[data-layout="habits"] .weekly-rituals .section-head{margin:0 0 14px!important;align-items:center!important;gap:16px!important}
html body #app #page[data-layout="habits"] .weekly-rituals .section-head h3{font-size:26px!important;margin:5px 0!important}
html body #app #page[data-layout="habits"] .weekly-rituals>p{margin:10px 0!important;font-size:12px!important;line-height:1.4!important}
html body #app #page[data-layout="habits"] .habit-week-scroll{width:100%!important;margin:12px 0!important}
html body #app #page[data-layout="habits"] .weekly-meter{max-width:100%!important;margin:14px 0 8px!important;height:9px!important}
html body #app #page[data-layout="habits"] .weekly-habits-empty{max-width:520px!important;margin:0 auto!important;padding:24px!important;text-align:center!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #app #page[data-layout="habits"] .weekly-habits-empty h3{font-size:27px!important;margin:0 0 10px!important}
html body #app #page[data-layout="habits"] .weekly-habits-empty p{margin:0 0 18px!important}
@media(max-width:760px){html body #app #page[data-layout="habits"][data-care-panel="week"]>.care-history-row{padding:14px 8px!important}html body #app #page[data-layout="habits"] .weekly-rituals .section-head h3{font-size:22px!important}}

/* Calendar heading and weekday rail use the shared luminous palette. */
html body #app .habit-month-view>label{align-self:center!important;text-align:center!important;font-weight:600!important;gap:9px!important;margin:0 auto 10px!important}
html body #app .habit-month-view #habit-month{display:block!important;margin-inline:auto!important;text-align:center!important;border-color:#bd9b5590!important;border-radius:9px!important;box-shadow:0 2px 6px #7050200c!important}
html body #app .habit-month-summary>h3{width:100%!important;text-align:center!important;font-size:clamp(29px,3vw,38px)!important;line-height:1.2!important;margin:8px auto 12px!important;color:var(--inside-accent,#81052e)!important}
html body #app .habit-month-summary>p{text-align:center!important;margin:0 0 22px!important}
html body #app .habit-month-grid>b{background:linear-gradient(115deg,#fffefa 0%,#f3e7cd 25%,#fff 45%,#f0d9df 70%,#f8eccf 100%)!important;color:#6f1230!important;-webkit-text-fill-color:#6f1230!important;border:1px solid #bf9c5866!important;border-radius:7px!important;box-shadow:inset 0 1px #fff,0 2px 4px #77602a0c!important;font:600 15px/1.2 Arial,sans-serif!important;padding:13px 4px!important;min-height:44px!important;box-sizing:border-box!important;display:grid!important;place-items:center!important}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app .habit-month-grid>b{background:linear-gradient(115deg,var(--inside-paper),color-mix(in srgb,var(--inside-accent),white 83%),var(--inside-paper),color-mix(in srgb,var(--inside-accent),white 70%))!important;color:var(--inside-accent)!important;-webkit-text-fill-color:var(--inside-accent)!important;border-color:color-mix(in srgb,var(--inside-accent),transparent 60%)!important}
html[data-lighting="night"] body #app .habit-month-summary>h3{color:#f2d7a0!important}
@media(max-width:760px){html body #app .habit-month-grid>b{font-size:12px!important;padding:10px 2px!important;min-height:36px!important}}

/* Selected side navigation uses its outline without the old inset stripe. */
html body .journal-navigation button[aria-current="page"]{box-shadow:none!important;border-left-width:2px!important}
html body .journal-navigation button[aria-current="page"]::before{content:none!important;display:none!important}

/* Task totals: readable figures and proportionate, compact cards. */
html body #app #page[data-layout="tasks"] .task-totals{grid-template-columns:repeat(3,minmax(0,230px))!important;justify-content:center!important;gap:18px!important;margin:14px auto 20px!important}
html body #app #page[data-layout="tasks"] .task-totals>.task-metric{position:relative!important;grid-template-rows:26px 66px 34px!important;gap:8px!important;height:184px!important;min-height:184px!important;max-height:184px!important;padding:16px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#fffdfa)!important;box-shadow:0 4px 10px #3c221308!important;border:1px solid #c4a46b77!important}
html body #app #page[data-layout="tasks"] .task-totals>.task-metric::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--selection-iridescence)}
html body #app #page[data-layout="tasks"] .task-totals>.task-metric>b{font-size:60px!important;font-weight:500!important;line-height:1!important;margin:0!important}
html body #app #page[data-layout="tasks"] .task-totals>.task-metric>span{font:600 14px/1.25 Arial,sans-serif!important}
html body #app #page[data-layout="tasks"] .task-totals>.task-metric>i,html body #app #page[data-layout="tasks"] .task-totals>.task-metric>i svg{width:32px!important;height:32px!important;display:block!important}
html body #app #page[data-layout="tasks"] .task-metric[data-metric="completed"] :is(b,i){color:#28714f!important}
html body #app #page[data-layout="tasks"] .task-metric[data-metric="due"] :is(b,i){color:#986417!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals>.task-metric{background:#252832!important;background-image:none!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals>.task-metric>b{font-size:60px!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-metric[data-metric="completed"] :is(b,i){color:#96d9b7!important;-webkit-text-fill-color:#96d9b7!important}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-metric[data-metric="due"] :is(b,i){color:#edc57f!important;-webkit-text-fill-color:#edc57f!important}
@media(max-width:760px){html body #app #page[data-layout="tasks"] .task-totals{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}html body #app #page[data-layout="tasks"] .task-totals>.task-metric{grid-template-rows:32px 45px 26px!important;height:147px!important;min-height:147px!important;max-height:147px!important;padding:11px 5px!important;gap:6px!important}html body #app #page[data-layout="tasks"] .task-totals>.task-metric>b,html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-totals>.task-metric>b{font-size:43px!important}html body #app #page[data-layout="tasks"] .task-totals>.task-metric>span{font-size:11px!important}html body #app #page[data-layout="tasks"] .task-totals>.task-metric>i,html body #app #page[data-layout="tasks"] .task-totals>.task-metric>i svg{width:26px!important;height:26px!important}}

html body #app .entry-mode-buttons>button{min-height:46px!important;padding:11px 12px!important;font-size:14px!important;line-height:1.25!important;font-weight:500!important}
@media(max-width:760px){html body #app .entry-mode-buttons>button{min-height:42px!important;padding:9px 6px!important;font-size:12px!important}}

html body #app .journal-mobile-views{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 12px!important}
html body #app .journal-mobile-views>button{box-sizing:border-box!important;min-width:92px!important;min-height:42px!important;padding:9px 16px!important;border:2px solid transparent!important;font-size:14px!important;line-height:1.25!important;border-radius:7px!important;margin:0!important;box-shadow:none!important}
html body #app .journal-mobile-views>button[aria-pressed="true"]{background:#81052e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid transparent!important;border-image:var(--selection-iridescence) 1!important;font-weight:600!important}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app .journal-mobile-views>button[aria-pressed="true"]{background:var(--inside-accent)!important;color:var(--inside-onaccent,#fff)!important;-webkit-text-fill-color:var(--inside-onaccent,#fff)!important}

/* Plain bookmarks carry selection around the complete bookmark perimeter. */
html[data-bookmark-style="Stitched leather"] body #app .workspace-shell article.notebook nav.tabs>button[aria-current="page"]{border:3px solid transparent!important;border-image:var(--selection-iridescence) 1!important;box-sizing:border-box!important}
html[data-bookmark-style="Stitched leather"] body #app .workspace-shell article.notebook nav.tabs>button[aria-current="page"] .bookmark-label{border-color:transparent!important;border-image:none!important;box-shadow:none!important}

/* Main headings and calendar navigation must remain readable at every width. */
html body #app .calendar>.calendar-weekday{font:600 15px/1.3 Arial,sans-serif!important;color:var(--inside-accent,#81052e)!important;padding:12px 3px!important;min-height:42px!important;display:grid!important;place-items:center!important;letter-spacing:0!important;background:linear-gradient(115deg,#fff,#f7eddb,#fff,#f7e9ec)!important;border-radius:5px!important;box-sizing:border-box!important}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app .calendar>.calendar-weekday{background:color-mix(in srgb,var(--inside-accent),transparent 91%)!important}
html body #app #page .care-page-heading h2,html body #app #page .section-head h2{font-size:clamp(29px,2.8vw,38px)!important;line-height:1.2!important}
html body #app #page .page-right>.section-head h3,html body #app #page .habit-list-heading h3{font-size:clamp(23px,2.2vw,29px)!important;line-height:1.25!important}
html[data-lighting="night"] body #app .calendar>.calendar-weekday{color:#f4dfb2!important;background:linear-gradient(115deg,#322730,#45333a,#322b2d)!important}
@media(max-width:760px){html body #app .calendar>.calendar-weekday{font-size:12px!important;min-height:36px!important;padding:9px 1px!important}html body #app #page .care-page-heading h2,html body #app #page .section-head h2{font-size:28px!important}}

/* Mood counts stay within their legend and clear of the book gutter. */
html body #app :is(.mood-legend,.dashboard-mood-legend){width:100%!important;max-width:440px!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
html body #app :is(.mood-legend,.dashboard-mood-legend)>div{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;grid-template-columns:10px minmax(60px,1fr) 42px 30px!important;gap:8px!important;padding:7px 0!important}
html body #app :is(.mood-legend,.dashboard-mood-legend)>div>:is(b,small){position:static!important;inset:auto!important;margin:0!important;transform:none!important;text-align:right!important;min-width:0!important;font-size:12px!important}
html body #app :is(.mood-distribution,.mood-metrics-layout,.dashboard-mood-summary){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html[data-view="book"] body #app .dashboard-mood-metrics,html[data-view="book"] body #app .mood-overview{max-width:100%!important;overflow:hidden!important;padding-inline:18px!important;box-sizing:border-box!important}
@media(max-width:760px){html body #app :is(.mood-legend,.dashboard-mood-legend)>div{grid-template-columns:8px minmax(0,1fr) 34px!important;gap:5px!important}html body #app :is(.mood-legend,.dashboard-mood-legend)>div>small{display:none!important}}

/* Color application follows each bookmark's construction. */
html body #app :is(.sample-ribbon,.direct-inbook-tab,.tabs>button)[data-ribbon-style="Stitched leather"]{background:linear-gradient(90deg,color-mix(in srgb,var(--ribbon,var(--ribbon-custom,#fff)),black 16%),var(--ribbon,var(--ribbon-custom,#fff)) 10%,color-mix(in srgb,var(--ribbon,var(--ribbon-custom,#fff)),white 14%) 48%,var(--ribbon,var(--ribbon-custom,#fff)) 90%,color-mix(in srgb,var(--ribbon,var(--ribbon-custom,#fff)),black 12%))!important;border-color:color-mix(in srgb,var(--ribbon,var(--ribbon-custom,#fff)),black 17%)!important;box-shadow:inset 1px 0 #ffffff80,inset -1px 0 #00000018,2px 3px 5px #30232b20!important}
html body #app :is(.sample-ribbon,.direct-inbook-tab,.tabs>button)[data-ribbon-style="Stitched leather"]::before,html body #app :is(.sample-ribbon,.direct-inbook-tab,.tabs>button)[data-ribbon-style="Stitched leather"]::after{content:none!important;display:none!important}
html body #app :is(.sample-ribbon,.direct-inbook-tab,.tabs>button)[data-ribbon-style="Woven ribbon"]{background:linear-gradient(90deg,#0002,transparent 13%,#fff3 42%,transparent 80%,#0002),repeating-linear-gradient(0deg,#fff2 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#0001 0 1px,transparent 1px 3px),var(--ribbon,var(--ribbon-custom,#8b284b))!important}
html body #app :is(.sample-ribbon,.direct-inbook-tab,.tabs>button)[data-ribbon-style="Braided cord"]{background:repeating-linear-gradient(45deg,transparent 0 3px,#fff7 4px 5px,transparent 6px 9px),repeating-linear-gradient(-45deg,#0003 0 3px,var(--ribbon,var(--ribbon-custom,#8b284b)) 4px 8px)!important}
html body #app .tabs>button[data-ribbon-style]:not(.object-bookmark) .bookmark-label{background:transparent!important;color:var(--ribbon-ink,#30242b)!important;-webkit-text-fill-color:var(--ribbon-ink,#30242b)!important;box-shadow:none!important}
html body #app .tabs>button.object-bookmark{background:transparent!important;background-image:none!important}
html body #app .tabs>button.object-bookmark .bookmark-object-art,html body #app .direct-inbook-tab:has(.bookmark-object-art) .bookmark-object-art{filter:drop-shadow(0 2px 2px #251c1b30)!important;mix-blend-mode:normal!important;opacity:1!important}
html body #app .tabs>button.object-bookmark .bookmark-label{background:var(--ribbon-custom)!important;color:var(--ribbon-ink,#30242b)!important;-webkit-text-fill-color:var(--ribbon-ink,#30242b)!important}
html body #app .direct-inbook-tab:has(.bookmark-object-art){background:transparent!important;box-shadow:none!important}
html body #app .direct-inbook-tab:has(.bookmark-object-art)>b{background:var(--ribbon)!important}

/* Decorative accents are protected: never hue-rotate or recolor the artwork. */
html body #app .tabs>button[data-color-treatment="label"]>.bookmark-object-art,html body #app :is(.direct-ribbon-preview,.direct-cover-bookmarks,.bookmark-style-options) .bookmark-object-art{mix-blend-mode:normal!important;opacity:1!important;filter:drop-shadow(0 2px 2px #251c1b30)!important}

/* Phone review fixes: uncluttered weekly stars and readable weekday labels. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week{table-layout:fixed!important;width:100%!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week th:first-child{width:34%!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week thead th>button{width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:2px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:600 12px/1.2 Arial,sans-serif!important;color:var(--inside-accent,#81052e)!important;white-space:nowrap!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week tbody td>button{border:0!important;border-image:none!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:22px!important;width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important}
html[data-lighting="night"][data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week thead th>button{color:#f2d7a0!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed="true"]{background:#81052e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid transparent!important;border-image:var(--selection-iridescence) 1!important;text-shadow:none!important;font-weight:600!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button::after{content:none!important;display:none!important}
html[data-interior]:not([data-interior="Signature"]):not([data-setup])[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed="true"]{background:var(--inside-accent)!important;color:var(--inside-onaccent,#fff)!important;-webkit-text-fill-color:var(--inside-onaccent,#fff)!important}
html body #app [data-care-view="mood"] .icon-mood,html body #app [data-care-view="mood"] .icon-mood .mood-outline{fill:none!important}
html body #app [data-care-view="mood"] .icon-mood .icon-halo{fill:none!important;stroke:none!important}
html body #app [data-care-view="mood"] .icon-mood .mood-outline,html body #app [data-care-view="mood"] .icon-mood path{stroke:currentColor!important;fill:none!important}
html body #app [data-care-view="mood"] .icon-mood .face-eyes ellipse{fill:currentColor!important;stroke:none!important}
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week th,html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week td{padding:2px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week thead th>button{font-size:10px!important}html body #app .habit-month-grid>button{min-height:44px!important}}

/* Compact Home utility actions without shrinking the surrounding metrics. */
html[data-screen="home"] body #app .today-strip .overview-link,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>button,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>.shelf-add-book{
 width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;
 padding:6px 10px!important;font:600 12px/1.2 Arial,sans-serif!important;gap:6px!important;border-radius:8px!important;flex:none!important;
}
html[data-screen="home"] body #app .today-strip .overview-link svg,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>button svg{width:16px!important;height:16px!important;min-width:16px!important}
/* Fine, single-line frames for Home utility actions. */
html[data-screen="home"] body #app .today-strip .overview-link,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>button,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>.shelf-add-book{
 border:1px solid var(--accent,#81052e)!important;border-image:none!important;outline:none!important;box-shadow:0 2px 5px #6508250a!important;
}
html[data-screen="home"] body #app .today-strip .overview-link::before,
html[data-screen="home"] body #app .today-strip .overview-link::after,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>button::before,
html[data-screen="home"] body #app .collection-heading .shelf-heading-actions>button::after{display:none!important}
/* Hairline iridescent rims on the six Home cards. */
html[data-screen="home"] body #app .book-side-tools>button{border:1px solid transparent!important;box-shadow:0 2px 3px #6508250b!important}
html[data-screen="home"] body #app .book-side-tools>button::after{padding:.75px!important;opacity:.8!important}

/* Metallic lettering retains contrast through the final character. */
html[data-screen="home"] body #app .hero-links button[data-action="personalize"]>.design-link-label{display:inline-block!important;background:linear-gradient(110deg,#81052e 0%,#a23a55 27%,#9a7129 48%,#ba9143 58%,#8d2844 78%,#81052e 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;opacity:1!important;white-space:nowrap!important}
html[data-lighting="night"][data-screen="home"] body #app .hero-links button[data-action="personalize"]>.design-link-label{background-image:linear-gradient(110deg,#f1c4d2,#e5bd68 45%,#fff0c8 58%,#f1c4d2)!important}
/* Persistent, unmistakable page-view selection. */
html body :is(#app,#modal) .studio-page-view [data-welcome-view]{min-height:42px!important;border:1px solid #d8c7ce!important;background:#fff!important;color:#81052e!important;box-shadow:none!important;font-weight:500!important}
html body :is(#app,#modal) .studio-page-view [data-welcome-view][aria-pressed="true"]{border:2px solid transparent!important;border-image:none!important;background:linear-gradient(#81052e,#81052e) padding-box,var(--selection-iridescence) border-box!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:700!important;box-shadow:0 3px 8px #81052e22!important}
html[data-lighting="night"] body :is(#app,#modal) .studio-page-view [data-welcome-view]:not([aria-pressed="true"]){background:#262833!important;color:#fff!important}

/* Selected decorative bookmarks emerge from the cover, replacing generic tabs. */
html body #app .direct-bookmark-book .setup-book>.direct-cover-bookmarks{top:-62px!important;left:10%!important;right:7%!important;height:115px!important;z-index:0!important;gap:6px!important}
html body #app .direct-bookmark-book .setup-book>.book-render{z-index:1}
html body #app .direct-bookmark-book .setup-book>.direct-cover-bookmarks .direct-inbook-tab{height:115px!important;flex:1!important;max-width:76px!important}
html body #app .direct-bookmark-book .setup-book>.direct-cover-bookmarks .direct-inbook-tab b{top:32px!important;font-size:9px!important}

html body #app .direct-inbook-tab b{color:var(--ribbon-ink,#231c22)!important;-webkit-text-fill-color:var(--ribbon-ink,#231c22)!important}

/* Chosen bookmarks sit in the page block and turn with the complete book. */
.photo-selected-bookmark{position:absolute;top:-16%;width:14%;height:32%;transform-style:preserve-3d;transform:translateZ(-12px);pointer-events:none}
.photo-selected-bookmark>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:visible}
.photo-selected-bookmark:not(:has(img)){top:-12%;height:23%;width:9%;background:linear-gradient(90deg,#0002,transparent 18%,#fff4 48%,transparent 80%,#0002),var(--bookmark-body);border-radius:2px;box-shadow:1px 0 0 #6e5b3c}
.photo-selected-bookmark[data-style="Woven ribbon"]{background:repeating-linear-gradient(0deg,#ffffff24 0 1px,transparent 1px 3px),var(--bookmark-body)}
.photo-selected-bookmark[data-style="Braided cord"]{width:2.5%;border-radius:12px;background:repeating-linear-gradient(35deg,#fff5 0 2px,#0002 2px 4px),var(--bookmark-body)}
html body #app .direct-bookmark-book .setup-book>.direct-cover-bookmarks{display:none!important}

html body #app .direct-ribbon-preview.setup-book{position:relative!important;width:100%!important;height:520px!important;max-width:100%!important;background:transparent!important;box-shadow:none!important;transform:none!important;border:0!important}html body #app .direct-ribbon-preview .book-render{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}html body #app .direct-ribbon-preview .book-render canvas{width:100%!important;height:100%!important}
html body #app .sample-ribbon :is(strong,i){color:var(--ribbon-ink,#231c22)!important;-webkit-text-fill-color:var(--ribbon-ink,#231c22)!important}/* Bookmark selection never changes label width or horizontal alignment. */
@media(min-width:761px){
 html[data-view] body #app .workspace-shell article.notebook nav.tabs{gap:14px!important}
 html[data-view="book"] body #app .workspace-shell article.notebook nav.tabs>button{width:140px!important;min-width:140px!important;max-width:140px!important;flex:0 0 140px!important}
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark{border:0!important;border-image:none!important;outline:none!important;box-shadow:none!important;box-sizing:border-box!important}
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]){transform:translateY(-5px)!important;outline:none!important;border:0!important;border-image:none!important}
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:hover{transform:translateY(-5px)!important}
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]) .bookmark-label{left:50%!important;right:auto!important;transform:translateX(-50%)!important;margin:0!important;box-sizing:border-box!important;border:2px solid transparent!important;outline:none!important}
 html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]) .bookmark-label{border-image:var(--selection-iridescence) 1!important}
}

/* Balanced streak metrics, including total days practiced. */
html[data-view] body #app #page .consistency-scores,
html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;max-width:540px!important;justify-content:start!important}
html[data-view] body #app #page .consistency-scores>div,
html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;height:132px!important;min-height:132px!important;padding:12px 8px!important;text-align:center!important}
html[data-view] body #app #page .consistency-scores>div>span{order:0!important;display:block!important;width:100%!important;max-width:none!important;text-align:center!important;font:500 13px/1.2 Arial,sans-serif!important;margin:0!important}
html[data-view] body #app #page .consistency-scores>div>strong{order:1!important;display:block!important;width:100%!important;font-size:34px!important;text-align:center!important;line-height:1!important;margin:0!important}
html[data-view] body #app #page .consistency-scores>div>.rhythm-metric-icon{order:2!important;position:static!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;width:25px!important;height:25px!important;transform:none!important}
html[data-view] body #app #page .consistency-scores>div>.rhythm-metric-icon svg{display:block!important;width:24px!important;height:24px!important;margin:0!important}
@media(max-width:480px){html[data-view] body #app #page .consistency-scores{gap:8px!important}html[data-view] body #app #page .consistency-scores>div>span{font-size:11px!important}html[data-view] body #app #page .consistency-scores>div>strong{font-size:30px!important}}

html[data-view] body #app #page .consistency-scores,html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:360px!important}/* Two evenly balanced streak cards fill their section without excess height. */
html[data-view] body #app #page .consistency-scores,
html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:100%!important;width:100%!important;gap:14px!important}
html[data-view] body #app #page .consistency-scores>div,
html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores>div{height:132px!important;min-height:132px!important;align-items:center!important;text-align:center!important}

/* Keep donut holes and their labels centered at every chart size. */
html[data-view] body #app :is(.mood-donut,.dashboard-mood-donut){position:relative!important;flex-shrink:0!important;border-radius:50%!important}
html[data-view] body #app :is(.mood-donut>span,.dashboard-mood-donut>div){position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:72%!important;height:72%!important;border-radius:50%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;text-align:center!important;box-sizing:border-box!important;padding:5px!important}
html[data-view] body #app :is(.mood-donut,.dashboard-mood-donut)[data-empty="true"]{background:#e7e1e4!important;box-shadow:none!important}
html[data-view] body #app :is(.mood-donut,.dashboard-mood-donut)[data-empty="true"]>:is(span,div){width:86%!important;height:86%!important}
html[data-view] body #app :is(.mood-donut b,.dashboard-mood-donut strong){font-size:32px!important;line-height:1!important;margin:0!important}
html[data-view] body #app :is(.mood-donut small,.dashboard-mood-donut>div>span){display:block!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;margin:0!important}
/* Home keeps its complete collection shortcut column for every book. */
html[data-screen="home"] body #app .home-book-studio>.collection-side{display:grid!important;visibility:visible!important;opacity:1!important;grid-template-columns:minmax(0,1fr)!important}
html[data-screen="home"] body #app .home-book-studio>.collection-side>button:is(.tool-jars,.tool-capsules,.tool-deck){display:grid!important;visibility:visible!important;opacity:1!important}
@media(min-width:761px){html[data-screen="home"] body #app .home-book-studio.home-studio{display:grid!important;grid-template-columns:minmax(170px,220px) minmax(300px,1fr) minmax(170px,220px)!important}html[data-screen="home"] body #app .home-book-studio>.collection-side{grid-column:3!important;grid-row:1!important}}

/* The cord selector uses the same section color and twisted profile as its model. */
html body #app .bookmark-style-options .sample-ribbon[data-ribbon-style="Braided cord"]{width:20px!important;border-radius:8px!important;background:repeating-linear-gradient(145deg,color-mix(in srgb,var(--ribbon),white 28%) 0 3px,var(--ribbon) 4px 8px,color-mix(in srgb,var(--ribbon),black 65%) 9px 12px)!important;box-shadow:inset 3px 0 3px #ffffff22,inset -4px 0 4px #0008,2px 3px 4px #0003!important;clip-path:polygon(10% 0,90% 0,100% 4%,90% 8%,100% 12%,90% 16%,100% 20%,90% 24%,100% 28%,90% 32%,100% 36%,90% 40%,100% 44%,90% 48%,100% 52%,90% 56%,100% 60%,90% 64%,100% 68%,90% 72%,100% 76%,90% 80%,100% 84%,90% 88%,100% 92%,90% 100%,10% 100%,0 96%,10% 92%,0 88%,10% 84%,0 80%,10% 76%,0 72%,10% 68%,0 64%,10% 60%,0 56%,10% 52%,0 48%,10% 44%,0 40%,10% 36%,0 32%,10% 28%,0 24%,10% 20%,0 16%,10% 12%,0 8%)!important}
html body #app .bookmark-style-options .sample-ribbon[data-ribbon-style="Braided cord"]::after{display:none!important}

.direct-layout,.direct-popover,.direct-popover-body{overflow-anchor:none!important}
html body #app .bookmark-design-card .sample-ribbon[data-ribbon-style="Braided cord"]{overflow:visible!important;clip-path:none!important;flex-shrink:0!important;margin-inline:50px!important}
html body #app .bookmark-design-card .sample-ribbon[data-ribbon-style="Braided cord"]>i{position:absolute!important;top:38px!important;left:50%!important;transform:translateX(-50%)!important;width:30px!important;height:30px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:var(--ribbon)!important;border-radius:5px!important}
html body #app .bookmark-design-card .sample-ribbon[data-ribbon-style="Braided cord"]>strong{position:absolute!important;top:78px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:120px!important;min-width:120px!important;max-width:120px!important;min-height:30px!important;padding:7px!important;box-sizing:border-box!important;white-space:nowrap!important;font:600 12px/1.2 Arial,sans-serif!important;background:var(--ribbon)!important;color:var(--ribbon-ink)!important;-webkit-text-fill-color:var(--ribbon-ink)!important;border-radius:4px!important;margin:0!important;text-align:center!important}

/* All customization samples reserve a separate, readable caption area. */
html body #app .bookmark-design-card .bookmark-sample-stage{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:168px!important;max-width:100%!important;min-height:210px!important;padding:0 0 8px!important;gap:12px!important;overflow:visible!important;flex-shrink:0!important}
html body #app .bookmark-design-card .bookmark-sample-stage>.sample-ribbon{position:relative!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;height:150px!important;min-height:150px!important;flex:0 0 150px!important;overflow:visible!important}
html body #app .bookmark-design-card .bookmark-sample-stage>.sample-ribbon:has(.bookmark-object-art){background:transparent!important;box-shadow:none!important;border:0!important;clip-path:none!important;width:92px!important;max-width:92px!important}
html body #app .bookmark-design-card .bookmark-sample-stage>.sample-ribbon>.bookmark-object-art{width:100%!important;height:100%!important;object-fit:contain!important;inset:0!important}
html body #app .bookmark-design-card .bookmark-sample-caption{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:164px!important;max-width:100%!important;min-height:38px!important;padding:7px 9px!important;box-sizing:border-box!important;border-radius:5px!important;background:var(--ribbon)!important;color:var(--ribbon-ink)!important;-webkit-text-fill-color:var(--ribbon-ink)!important;box-shadow:0 2px 4px #251c2218!important}
html body #app .bookmark-design-card .bookmark-sample-caption>i{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;transform:none!important;margin:0!important;background:none!important}
html body #app .bookmark-design-card .bookmark-sample-caption>i svg{width:22px!important;height:22px!important}
html body #app .bookmark-design-card .bookmark-sample-caption>strong{position:static!important;display:block!important;width:auto!important;min-width:0!important;max-width:none!important;transform:none!important;margin:0!important;padding:0!important;font:600 12px/1.2 Arial,sans-serif!important;white-space:normal!important;overflow-wrap:normal!important;text-align:center!important;background:none!important;color:inherit!important;-webkit-text-fill-color:inherit!important}
/* Wide view is a continuous workspace; the center crease belongs to Book view. */
html[data-view="wide"] body #app .workspace-shell article.notebook::before,
html[data-view="wide"] body #app .workspace-shell article.notebook::after,
html[data-view="wide"] body #app .workspace-shell article.notebook>.page-spread::before,
html[data-view="wide"] body #app .workspace-shell article.notebook>.page-spread::after,
html[data-view="wide"] body #app .workspace-shell article.notebook>.book-page-edges{display:none!important;content:none!important}
html[data-view="wide"] body #app .workspace-shell article.notebook,
html[data-view="wide"] body #app .workspace-shell article.notebook>.page-spread{background-image:none!important}
html[data-view] body #app .workspace-shell article.notebook #page :is(.section-head>h2,.page-left>h2,.care-page-heading h2){font-size:clamp(32px,3vw,44px)!important;line-height:1.18!important;padding-inline:12px!important;margin-block:12px 18px!important}
/* Restore the selected bookmark outline without changing its size or position. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]){outline:1px solid var(--inside-accent,var(--accent,#81052e))!important;outline-offset:2px!important;border:0!important;border-image:none!important;transform:translateY(-5px)!important}

/* Render the rope selector with the same geometry used on the book. */
html body #app .bookmark-style-options .sample-ribbon[data-ribbon-style="Braided cord"]{position:relative!important;width:84px!important;height:150px!important;background:none!important;box-shadow:none!important;clip-path:none!important;border:0!important;overflow:visible!important}
html body #app .bookmark-style-options .sample-ribbon[data-ribbon-style="Braided cord"]>.book-render{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important}
html body #app .bookmark-style-options .sample-ribbon[data-ribbon-style="Braided cord"]>.book-render canvas{width:100%!important;height:100%!important}
/* Rounded selection frames follow the card corners instead of square border-image gaps. */
html body #app .experience-preset-grid>button[aria-pressed="true"],html body #modal .experience-preset-grid>button[aria-pressed="true"]{border:2px solid transparent!important;border-image:none!important;outline:none!important;border-radius:14px!important;background:linear-gradient(#81052e,#81052e) padding-box,var(--selection-iridescence) border-box!important;background-clip:padding-box,border-box!important;overflow:hidden!important}

html body #app .direct-secondary>[data-direct-preview]{background:linear-gradient(120deg,#940b3c,#760025)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #ad526e!important;box-shadow:0 3px 0 #5e0523,0 5px 12px #81052e18!important;font-weight:600!important}

html body #app .bookmark-design-card .bookmark-sample-stage>.sample-ribbon[data-ribbon-style="Braided cord"]{width:84px!important;max-width:84px!important;height:150px!important;background:none!important;box-shadow:none!important;clip-path:none!important;border:0!important;margin:0!important}
html body #app .bookmark-design-card .bookmark-sample-stage>.sample-ribbon[data-ribbon-style="Braided cord"]::after{display:none!important}
html body #app .bookmark-design-card .sample-ribbon[data-ribbon-style="Braided cord"]>.book-render{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important}
/* Bookmark category selectors share one compact row. */
html body #app .bookmark-item-switch{display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:7px!important;width:100%!important;min-width:0!important}
html body #app .bookmark-item-switch>button{flex:1 1 0!important;min-width:0!important;width:auto!important;padding:8px 5px!important;font-size:12px!important;line-height:1.2!important;min-height:40px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;box-sizing:border-box!important}
@media(max-width:380px){html body #app .bookmark-item-switch{flex-wrap:wrap!important}html body #app .bookmark-item-switch>button{flex:1 1 28%!important}}
/* Cover color matching uses the same tidy trailing-switch pattern as categories. */
html body #app .color-match-switch{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:14px 0!important;margin:0!important;background:none!important;border:0!important;border-top:1px solid var(--accent-edge,#e5d6db)!important;box-shadow:none!important}
html body #app .color-match-switch>span{order:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;flex:1!important;text-align:left!important}
html body #app .color-match-switch>span>b{font-size:14px!important;line-height:1.3!important}
html body #app .color-match-switch>span>small{font-size:12px!important;line-height:1.35!important}
html body #app .color-match-switch>input[type="checkbox"]{order:1!important;appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;flex:0 0 44px!important;width:44px!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0!important;border:1px solid #bfb6bd!important;border-radius:20px!important;background:radial-gradient(circle at 11px 11px,#fff 0 8px,transparent 9px),#d2ccd2!important;box-shadow:inset 0 1px 2px #0001!important;cursor:pointer!important}
html body #app .color-match-switch>input[type="checkbox"]:checked{background:radial-gradient(circle at 31px 11px,#fff 0 8px,transparent 9px),#81052e!important;border-color:#81052e!important}
html body #app .color-match-switch>input[type="checkbox"]::before,html body #app .color-match-switch>input[type="checkbox"]::after{display:none!important}
html body #app .color-match-switch>input[type="checkbox"]:focus-visible{outline:2px solid #b18a3c!important;outline-offset:3px!important}

/* Soft category labels make prompts easier to scan without tinting every card. */
html body #modal .library-prompt .pill[data-prompt-category]{background:#e8effb!important;color:#365780!important;border:0!important;border-radius:6px!important;padding:6px 9px!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important}
html body #modal .library-prompt .pill[data-prompt-category="Reflection"]{background:#eee5fa!important;color:#69458a!important}
html body #modal .library-prompt .pill[data-prompt-category="Brain Dump"]{background:#fff0df!important;color:#895824!important}
html body #modal .library-prompt .pill[data-prompt-category="Gratitude"]{background:#e3f2e9!important;color:#386b51!important}

html body #modal .weekly-date-range{display:block!important;width:100%!important;text-align:center!important;margin:0 0 18px!important;font-size:12px!important}
@media(max-width:760px){html body #modal .weekly-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}}
@media(max-width:760px){html body #modal .weekly-stats>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:158px!important;padding:14px 8px!important;text-align:center!important;box-sizing:border-box!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>span{order:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:32px!important;margin:0!important;font-size:13px!important;line-height:1.2!important;text-align:center!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>b{order:1!important;width:100%!important;margin:0!important;text-align:center!important;font-size:40px!important;line-height:1!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i{order:2!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;background:none!important;box-shadow:none!important;border:0!important;filter:none!important;margin:0!important;position:static!important;transform:none!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i :is(svg,.live-icon){width:32px!important;height:32px!important;background:none!important;box-shadow:none!important;filter:none!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i :is(.icon-bg,.icon-halo,.icon-tile,.live-icon-bg){display:none!important}}

/* Keep jar tint within the square artwork, regardless of preview proportions. */
html body .real-jar .jar-tint{
 inset:auto!important;left:50%!important;top:50%!important;
 width:62%!important;height:auto!important;aspect-ratio:1;
 transform:translate(-50%,-50%);border-radius:0!important;
 clip-path:polygon(5% 34%,12% 29%,88% 29%,95% 34%,96% 79%,88% 89%,50% 93%,12% 89%,4% 79%);
}
html body .jar-inline-preview{aspect-ratio:1;height:auto!important}
html body .real-jar .jar-tint{width:100%!important;max-width:100%;max-height:100%}
html body #modal .jar-display-card [data-jar]{
 border:0!important;border-image:none!important;outline:0!important;box-shadow:none!important;background:transparent!important;
}
html body #modal .jar-display-card [data-jar]::before,
html body #modal .jar-display-card [data-jar]::after{display:none!important}
html body #modal .reflection-card h3{color:var(--accent-deep,#81052e)!important;font-weight:600}
html body #modal .reflection-card p{color:var(--text,#302830)!important}
/* Paper enters the pocket first; flap and wax follow in sequence. */
.motion-envelope{isolation:isolate;clip-path:inset(-120px -6px 0 -6px)}
.motion-paper{z-index:1;inset:-50px 14px 15px;animation:paper-insert 1.9s both}
.motion-pocket{position:absolute;inset:24px 0 0;z-index:2;background:linear-gradient(145deg,#fffdf7,#eadabd);clip-path:polygon(0 0,50% 48%,100% 0,100% 100%,0 100%);border-radius:0 0 4px 4px}
.motion-flap{z-index:3;animation:flap-after-paper 1.9s both}
.motion-seal{z-index:4;animation:wax-after-flap 1.9s both}
.letter-motion{animation:letter-scene 2s both}
@keyframes paper-insert{0%,10%{transform:translateY(-28px)}55%,100%{transform:translateY(58px)}}
@keyframes flap-after-paper{0%,56%{transform:rotateX(165deg)}80%,100%{transform:rotateX(0)}}
@keyframes wax-after-flap{0%,80%{opacity:0;transform:scale(1.35)}92%{opacity:1;transform:scale(.93)}100%{opacity:1;transform:scale(1)}}

html body .real-jar{aspect-ratio:1;height:auto!important}
html body #app .habit-month-view>label{font-size:22px!important;line-height:1.3!important;font-weight:600!important}html body #app .habit-month-view>label>input{font-size:14px!important}

/* A continuous expanded surface: no inherited signature-paper center gradient. */
html[data-view="full"] body #app .workspace-shell article.notebook,
html[data-view="wide"] body #app .workspace-shell article.notebook,
html[data-view="full"] body #app .workspace-shell article.notebook>.page-spread,
html[data-view="wide"] body #app .workspace-shell article.notebook>.page-spread{
 background-image:none!important;background-color:var(--inside-paper,#fff)!important;
}
html[data-view="full"] body #app .workspace-shell article.notebook>.page-spread::before,
html[data-view="full"] body #app .workspace-shell article.notebook>.page-spread::after,
html[data-view="full"] body #app .workspace-shell article.notebook>.book-page-edges{
 display:none!important;content:none!important;
}

html[data-view] body #app #page[data-layout="habits"] .compact-habit-streaks .consistency-scores{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:100%!important;gap:12px!important}
@media(max-width:480px){html[data-view] body #app #page[data-layout="habits"] .consistency-scores>div{padding:10px 5px!important}html[data-view] body #app #page[data-layout="habits"] .consistency-scores>div>strong{font-size:28px!important}}

/* Let the physical book and bookmarks stand without an enclosing display box. */
html body #app .journal-display,
html body #app .home-hero .journal-display,
html body #app .home-book-studio>.journal-display,
html body #app .direct-display,
html body #app .direct-book-surface{
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 overflow:visible!important;clip-path:none!important;
}
html body #app .journal-display::before,
html body #app .journal-display::after{display:none!important;content:none!important}

/* Restore a true donut: a centered reading surface over the segment ring. */
html body #app #page .mood-donut,
html body #app #page .dashboard-mood-donut{position:relative!important;display:block!important;isolation:isolate!important}
html body #app #page .mood-donut>span,
html body #app #page .dashboard-mood-donut>div{
 position:absolute!important;inset:16%!important;left:16%!important;top:16%!important;
 width:68%!important;height:68%!important;transform:none!important;translate:none!important;
 margin:0!important;border-radius:50%!important;background:var(--inside-paper,#fff)!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 padding:4px!important;box-shadow:none!important;z-index:1!important;
}
html[data-lighting="night"] body #app #page .mood-donut>span,
html[data-lighting="night"] body #app #page .dashboard-mood-donut>div{background:#121212!important;color:#fff!important}

/* Consistent compact task rows, including all priority levels. */
html body #app #page[data-layout="tasks"] .task-row{
 padding:12px 14px!important;gap:12px!important;border-radius:6px!important;
 border-left:0!important;background:transparent!important;background-image:none!important;
 box-shadow:none!important;min-height:64px!important;
}
html body #app #page[data-layout="tasks"] .task-row.done{background:transparent!important;color:var(--ink)!important}
html body #app #page[data-layout="tasks"] .task-row .check{
 display:grid!important;place-items:center!important;flex:0 0 30px!important;
 width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
 margin:0!important;padding:5px!important;border:1px solid var(--accent-edge)!important;
 border-radius:6px!important;background:transparent!important;box-shadow:none!important;font-size:0!important;
}
html body #app #page[data-layout="tasks"] .task-row .check::before,
html body #app #page[data-layout="tasks"] .task-row .check::after{content:none!important;display:none!important}
html body #app #page[data-layout="tasks"] .task-row.done .check{background:#e8f5ee!important;color:#267349!important;border-color:#9dc9af!important}
html body #app #page[data-layout="tasks"] .task-row .check svg{display:block!important;width:20px!important;height:20px!important;margin:0!important}
html body #app #page[data-layout="tasks"] .task-priority[data-priority="gentle"]{
 display:inline-flex!important;align-items:center!important;width:max-content!important;
 padding:3px 9px!important;border:1px solid #b6cce7!important;border-radius:999px!important;
 background:#edf4ff!important;color:#365f8f!important;font-size:12px!important;line-height:1.2!important;
}
html[data-lighting="night"] body #app #page[data-layout="tasks"] .task-priority[data-priority="gentle"]{background:#25364d!important;color:#c6ddff!important;border-color:#56759c!important}

/* Mood streaks share the refined task metric treatment. */
html[data-view] body #app #page[data-layout="mood"] .consistency-scores{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:16px!important;width:100%!important;max-width:520px!important;margin-inline:auto!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div{
 position:relative!important;display:grid!important;grid-template-columns:1fr!important;
 grid-template-rows:30px 64px 32px!important;align-items:center!important;justify-items:center!important;
 gap:7px!important;min-height:184px!important;height:auto!important;padding:15px 12px!important;
 border:1px solid #d9bd856e!important;border-radius:12px!important;
 background:var(--inside-paper,#fff)!important;box-shadow:none!important;overflow:hidden!important;
 text-align:center!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div::before{
 content:"";position:absolute;inset:0 0 auto;height:3px;
 background:var(--selection-iridescence,linear-gradient(105deg,#81052e,#c6788d,#fff3d2,#bf9742,#fff6db,#81052e));
}
html:not([data-interior="Signature"])[data-interior] body #app #page[data-layout="mood"] .consistency-scores>div::before{
 background:linear-gradient(105deg,var(--inside-accent),color-mix(in srgb,var(--inside-accent),white 65%),var(--inside-accent));
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>span{
 grid-row:1!important;font:600 14px/1.25 Arial,sans-serif!important;max-width:none!important;margin:0!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>strong{
 grid-row:2!important;font-size:52px!important;line-height:1!important;margin:0!important;color:var(--inside-accent,#81052e)!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>.rhythm-metric-icon{
 grid-row:3!important;position:static!important;width:28px!important;height:28px!important;
 display:grid!important;place-items:center!important;margin:0!important;background:none!important;box-shadow:none!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores svg{width:28px!important;height:28px!important}
html[data-lighting="night"] body #app #page[data-layout="mood"] .consistency-scores>div{background:#121212!important;color:#fff!important}
@media(max-width:480px){
 html[data-view] body #app #page[data-layout="mood"] .consistency-scores{gap:12px!important}
 html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div{min-height:158px!important;padding:12px 8px!important;grid-template-rows:28px 50px 28px!important}
 html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>strong{font-size:44px!important}
}

/* Seat bookmarks behind the page edge in wide and writing-only views. */
html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook{
 position:relative!important;isolation:isolate!important;padding-top:0!important;
}
html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook>nav.tabs{
 position:absolute!important;top:-110px!important;height:170px!important;
 margin:0!important;padding:0!important;z-index:0!important;
}
html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook>.page-spread,
html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook>.care-navigation{
 position:relative!important;z-index:1!important;
}
html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook>.page-spread{
 background-color:var(--inside-paper,#fff)!important;
}
@media(max-width:760px){
 html:is([data-view="wide"],[data-view="full"]) body #app .workspace-shell article.notebook>nav.tabs{top:-104px!important;height:150px!important}
}

/* Wide is a distinct multi-column workspace across every section. */
@media(min-width:1000px){
 html[data-view="wide"] body #app .workspace-shell{width:100%!important;max-width:1480px!important;margin-inline:auto!important}
 html[data-view="wide"] body #app #page[data-layout]{width:100%!important;max-width:none!important;box-sizing:border-box!important}
 html[data-view="wide"] body #app #page[data-layout="tasks"]{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)!important;gap:24px!important;align-items:start!important}
 html[data-view="wide"] body #app #page[data-layout="tasks"]>.task-primary-views{grid-column:1/-1!important}
 html[data-view="wide"] body #app #page[data-layout="tasks"]>.task-workspace-main{display:block!important;grid-column:1!important;max-width:none!important;min-width:0!important}
 html[data-view="wide"] body #app #page[data-layout="tasks"]>.task-workspace-summary{display:grid!important;grid-column:2!important;grid-template-columns:1fr!important;max-width:none!important;min-width:0!important;padding:20px!important}
 html[data-view="wide"] body #app #page[data-layout="tasks"] .task-list{grid-template-columns:1fr!important}
 html[data-view="wide"] body #app #page[data-layout="habits"][data-care-panel="today"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
 html[data-view="wide"] body #app #page[data-layout="habits"][data-care-panel="today"]>.page-left{max-width:none!important;grid-column:1!important;width:100%!important}
 html[data-view="wide"] body #app #page[data-layout="habits"][data-care-panel="today"]>.page-right{grid-column:2!important;min-width:0!important}
 html[data-view="wide"] body #app #page[data-layout="mood"][data-care-panel="today"]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
 html[data-view="wide"] body #app #page[data-layout="mood"][data-care-panel="today"]>.page-left{grid-column:1!important;max-width:none!important}
 html[data-view="wide"] body #app #page[data-layout="mood"][data-care-panel="today"]>.mood-checkin-details{grid-column:2!important;grid-row:auto!important;max-width:none!important}
 html[data-view="wide"] body #app #page[data-layout="mood"][data-care-panel="insights"]>.care-history-row{max-width:none!important}
 html[data-view="wide"] body #app #page[data-layout="overview"] .dashboard-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
 html[data-view="wide"] body #app #page[data-layout="overview"] .dashboard-details>*{min-width:0!important;max-width:none!important}
 html[data-view="wide"] body #app #page[data-layout="overview"] .dashboard-mood-metrics{grid-column:auto!important}
 html[data-view="wide"] body #app #page[data-layout="overview"] .clear-dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Book view uses a single paper surface; content is printed on each leaf. */
@media(min-width:761px){
 html[data-view="book"] body #app .workspace-shell{width:100%!important;max-width:1480px!important;margin-inline:auto!important}
 html[data-view="book"] body #app .workspace-shell article.notebook{width:100%!important;max-width:none!important;box-sizing:border-box!important}
 html[data-view="book"] body #app .workspace-shell article.notebook>#page.page-spread{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:0!important;min-height:740px!important;padding:18px 12px 24px!important;
 }
 html[data-view="book"] body #app .workspace-shell article.notebook>#page.page-spread>.spread-page,
 html[data-view="book"] body #app .workspace-shell article.notebook>#page.page-spread>.mood-checkin-details,
 html[data-view="book"] body #app .workspace-shell article.notebook>#page.page-spread>.care-history-row{
 background:transparent!important;background-image:none!important;border:0!important;
 border-radius:0!important;box-shadow:none!important;outline:0!important;
 padding:22px 28px!important;margin:0!important;min-width:0!important;box-sizing:border-box!important;
 }
 html[data-view="book"] body #app #page[data-layout="tasks"]>.task-primary-views{grid-column:1/-1!important;margin:0 20px 12px!important;padding:0 0 12px!important}
 html[data-view="book"] body #app #page[data-layout="tasks"]>.task-workspace-main{
 display:block!important;grid-column:1!important;width:100%!important;max-width:none!important;
 }
 html[data-view="book"] body #app #page[data-layout="tasks"]>.task-workspace-summary{
 display:block!important;grid-column:2!important;width:100%!important;max-width:none!important;
 }
 html[data-view="book"] body #app #page[data-layout="tasks"] .task-list{grid-template-columns:1fr!important}
 html[data-view="book"] body #app #page[data-layout="tasks"] .task-totals{gap:8px!important}
 html[data-view="book"] body #app #page[data-layout="tasks"] .task-summary-group{margin-top:20px!important}
 html[data-view="book"] body #app #page .entry-composer,
 html[data-view="book"] body #app #page .entry-essentials,
 html[data-view="book"] body #app #page .writing-input-heading{
 background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important;
 }
}

/* Give the progress artwork a centered, less narrow presentation. */
@media(min-width:761px){
 html body #app #page[data-layout="habits"] .growth-scene>.living-scene,
 html body #app #page[data-layout="habits"] .growth-scene>.progress-art{
 width:180px!important;min-width:180px!important;max-width:100%!important;
 margin-inline:auto!important;justify-self:center!important;
 }
}
@media(max-width:760px){
 html body #app #page[data-layout="habits"] .growth-scene{grid-template-columns:140px minmax(0,1fr)!important}
 html body #app #page[data-layout="habits"] .growth-scene>.living-scene,
 html body #app #page[data-layout="habits"] .growth-scene>.progress-art{
 width:140px!important;min-width:0!important;max-width:100%!important;margin-inline:auto!important;justify-self:center!important;
 }
}

@media(min-width:761px){
 html[data-view="book"] body #app #page[data-layout="journal"] .journal-help-shortcuts{
 display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;
 align-items:center!important;gap:9px!important;width:100%!important;
 }
 html[data-view="book"] body #app #page[data-layout="journal"] .journal-help-shortcuts>span{display:none!important}
 html[data-view="book"] body #app #page[data-layout="journal"] .journal-help-shortcuts>button{
 flex:0 1 auto!important;white-space:nowrap!important;min-width:0!important;
 padding:9px 10px!important;font-size:13px!important;margin:0!important;gap:6px!important;
 }
 html[data-view="book"] body #app #page[data-layout="journal"] .journal-help-shortcuts>button svg{
 width:23px!important;height:23px!important;flex-shrink:0!important;
 }
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>:is(strong,span,i){
 justify-self:center!important;text-align:center!important;align-self:center!important;
}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>strong{width:100%!important}
/* Constrain the legend to its own leaf instead of allowing counts into the gutter. */
html[data-view="book"] body #app #page .mood-distribution{grid-template-columns:minmax(120px,170px) minmax(0,1fr)!important;gap:16px!important}
html[data-view="book"] body #app #page .mood-legend{min-width:0!important;width:100%!important}
html[data-view="book"] body #app #page .mood-legend>div{display:grid!important;grid-template-columns:8px minmax(0,1fr) 38px!important;gap:7px!important;min-width:0!important}
html[data-view="book"] body #app #page .mood-legend>div>small{display:none!important}

html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div:first-child{--rhythm-color:#85062f}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div:nth-child(2){--rhythm-color:#a36b16}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app #page[data-layout="mood"] .consistency-scores>div:first-child{--rhythm-color:var(--inside-accent)}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app #page[data-layout="mood"] .consistency-scores>div:nth-child(2){--rhythm-color:color-mix(in srgb,var(--inside-accent) 80%,#27313e)}
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>strong,
html[data-view] body #app #page[data-layout="mood"] .consistency-scores>div>.rhythm-metric-icon{
 color:var(--rhythm-color)!important;-webkit-text-fill-color:var(--rhythm-color)!important;
}
html[data-lighting="night"] body #app #page[data-layout="mood"] .consistency-scores>div{--rhythm-color:#efd28c}

html body #app #page .favorite-button,
html body #app #page .favorite-button[aria-pressed="true"]{
 border:0!important;border-image:none!important;outline:none!important;
 background:transparent!important;background-image:none!important;box-shadow:none!important;
}
html body #app #page .favorite-button::before,
html body #app #page .favorite-button::after{content:none!important;display:none!important}
html body #app #page .favorite-button:focus-visible{outline:2px solid var(--inside-accent,#85062f)!important;outline-offset:2px!important;border-radius:50%!important}
html body #app #page[data-layout="overview"] .dash-card.journal-card{--metric-color:#85062f}
html body #app #page[data-layout="overview"] .dash-card.habits-card{--metric-color:#287451}
html body #app #page[data-layout="overview"] .dash-card.mood-card{--metric-color:#a36b16}
html body #app #page[data-layout="overview"] .dash-card.tasks-card{--metric-color:#765192}
html[data-interior]:not([data-interior="Signature"]):not([data-setup]) body #app #page[data-layout="overview"] .dash-card{
 --metric-color:var(--inside-accent);
}
html body #app #page[data-layout="overview"] .dash-card>strong,
html body #app #page[data-layout="overview"] .dash-card .dash-card-heading>i,
html body #app #page[data-layout="overview"] .dash-card .dash-card-heading>i svg{
 color:var(--metric-color)!important;-webkit-text-fill-color:var(--metric-color)!important;
}
html[data-lighting="night"] body #app #page[data-layout="overview"] .dash-card{--metric-color:#efd28c}

html body #app #page[data-layout="overview"] .dashboard-period{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:8px!important;width:190px!important;max-width:100%!important;text-align:left!important;
}
html body #app #page[data-layout="overview"] .dashboard-period>span{
 display:block!important;padding-left:16px!important;text-align:left!important;align-self:stretch!important;
}
html body #app #page[data-layout="overview"] .dashboard-period>select{
 width:100%!important;margin:0!important;padding-left:16px!important;text-align:left!important;box-sizing:border-box!important;
}

@media(min-width:761px){
 html[data-view="book"] body #app #page[data-layout="journal"][data-journal-pane="history"]>.page-left{display:none!important}
 html[data-view="book"] body #app #page[data-layout="journal"][data-journal-pane="history"]>.page-right.history{
 display:block!important;grid-column:1/-1!important;grid-row:auto!important;width:100%!important;max-width:none!important;
 }
 html[data-view="book"] body #app #page[data-layout="journal"][data-journal-pane="history"] #entry-list{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 column-gap:64px!important;align-items:start!important;
 }
 html[data-view="book"] body #app #page[data-layout="journal"][data-journal-pane="history"] .history>h3{text-align:left!important}
}
html body #app .home-actions>[data-action="continue"]{
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 min-height:46px!important;padding:11px 22px!important;font-size:16px!important;
 width:auto!important;max-width:100%!important;transition:transform .2s,box-shadow .2s!important;
}
html body #app .home-actions>[data-action="continue"]::after{
 content:"";position:absolute;inset:-60% auto -60% -55%;width:35%;pointer-events:none;
 background:linear-gradient(100deg,transparent,#fff3d740,transparent);
 transform:skewX(-18deg);animation:continue-shimmer 1.3s ease-out .3s 1 both;
}
html body #app .home-actions>[data-action="continue"]:hover{transform:translateY(-2px)!important}
html body #app .home-actions>[data-action="continue"]:active{transform:scale(.98)!important}
@keyframes continue-shimmer{from{left:-55%}to{left:130%}}
@media(prefers-reduced-motion:reduce){html body #app .home-actions>[data-action="continue"]::after{animation:none!important;display:none!important}}

html body #app #page .history-top-controls{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:18px!important;margin:14px 0!important;flex-wrap:nowrap!important;
}
html body #app #page .history-top-controls>.favorites-filter{flex:0 0 auto!important;margin:0!important}
html body #app #page .history-date-filter{
 display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;
 margin:0!important;min-width:0!important;font-size:13px!important;
}
html body #app #page .history-date-filter>input{width:170px!important;max-width:100%!important;min-width:0!important;margin:0!important}
html body #app #page .history-filter-fields{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:end!important;gap:14px!important;
}
html body #app #page .history-filter-fields>.tag-filter-label{margin:0!important;min-width:0!important}
html body #app #page .history-filter-fields>select,
html body #app #page .history-filter-fields>.tag-filter-label>select{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
@media(max-width:480px){
 html body #app #page .history-top-controls{gap:10px!important}
 html body #app #page .history-date-filter{gap:5px!important;font-size:12px!important}
 html body #app #page .history-date-filter>input{width:140px!important;padding-inline:7px!important}
 html body #app #page .history-filter-fields{gap:10px!important}
}
@media(min-width:761px){html[data-view="book"] body #app #page[data-layout="mood"] .mood-checkin-details #mood-note{min-height:250px!important;height:250px;line-height:1.7!important;resize:vertical!important}html[data-view="book"] body #app #page[data-layout="mood"] .mood-checkin-details>label{display:block!important;margin-top:0!important}}

/* Selection belongs to the category plaque, not the full bookmark silhouette. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]){
 outline:none!important;outline-offset:0!important;border:0!important;border-image:none!important;box-shadow:none!important;
 transform:translateY(-5px)!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]) .bookmark-label{
 border:2px solid transparent!important;border-image:var(--selection-iridescence) 1!important;
 outline:0!important;box-sizing:border-box!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:focus-visible{
 outline:none!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:focus-visible .bookmark-label{
 outline:2px solid var(--inside-accent,#85062f)!important;outline-offset:3px!important;
}

/* Put row actions on the same baseline as priority/status metadata. */
html body #app #page[data-layout="tasks"] .task-row{
 display:grid!important;grid-template-columns:30px minmax(0,1fr) 48px 30px!important;
 column-gap:12px!important;align-items:end!important;
}
html body #app #page[data-layout="tasks"] .task-row>.check{align-self:center!important}
html body #app #page[data-layout="tasks"] .task-row>.grow{min-width:0!important}
html body #app #page[data-layout="tasks"] .task-row>[data-edit-task],
html body #app #page[data-layout="tasks"] .task-row>[data-delete-task]{
 align-self:end!important;display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:28px!important;height:28px!important;min-width:0!important;width:100%!important;
 padding:3px!important;margin:0!important;line-height:22px!important;box-sizing:border-box!important;
}
html body #app #page[data-layout="tasks"] .task-row .task-badges{min-height:28px!important;align-items:center!important}
@media(max-width:480px){
 html body #app #page[data-layout="tasks"] .task-row{grid-template-columns:28px minmax(0,1fr) 34px 24px!important;column-gap:7px!important}
}

/* Dark Home surfaces need luminous text, never dark maroon ink. */
html[data-lighting="night"] body #app .book-side-tools>button>:is(strong,b),
html[data-lighting="night"] body #app .home-experiences>button>strong,
html[data-lighting="night"] body #app .home-studio>button>b,
html[data-lighting="night"] body #app .today-strip .daily-stat-copy>b,
html[data-lighting="night"] body #app .today-strip .snapshot-mood{
 color:#f4dfb1!important;-webkit-text-fill-color:#f4dfb1!important;
 background-image:none!important;text-shadow:none!important;
}
html[data-lighting="night"] body #app .today-strip .daily-stat-icon,
html[data-lighting="night"] body #app .today-strip .daily-stat-icon svg,
html[data-lighting="night"] body #app .today-strip .overview-link svg,
html[data-lighting="night"] body #app .today-strip .overview-link i{
 color:#efd28c!important;-webkit-text-fill-color:#efd28c!important;
}
html[data-lighting="night"] body #app .book-side-tools>button>:is(p,small),
html[data-lighting="night"] body #app .today-strip .daily-stat-copy>span,
html[data-lighting="night"] body #app .today-strip .daily-stat-copy>b>small{
 color:#f1edf2!important;-webkit-text-fill-color:#f1edf2!important;
}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week thead th:first-child{color:var(--inside-accent,#81052e)!important;-webkit-text-fill-color:var(--inside-accent,#81052e)!important;font-weight:600!important}html[data-lighting="night"][data-view] body #app .workspace-shell article.notebook #page[data-layout="habits"] table.habit-week thead th:first-child{color:#f2d7a0!important;-webkit-text-fill-color:#f2d7a0!important}

/* The active shelf book stays lifted; no added selection frame. */
html body #app .new-shelf .new-spine.selected,
html body #app .new-shelf .real-shelf-row>.new-spine.selected{
 transform:translateY(-16px)!important;outline:none!important;outline-offset:0!important;
 border-image:none!important;border:1px solid color-mix(in srgb,var(--book-color,#ddd),black 20%)!important;
}
html body #app .new-shelf .new-spine.selected::after{
 display:none!important;content:none!important;
}
html body #app .new-shelf .new-spine{transition:transform .22s ease!important}
html body #app .new-shelf .new-spine:not(.selected):hover{transform:translateY(-7px)!important}
html body #app .new-shelf .new-spine:focus-visible{outline:2px solid var(--accent,#85062f)!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){html body #app .new-shelf .new-spine{transition:none!important}}

/* Selected notebook category: underline only, across every bookmark material. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]){
 outline:none!important;border:0!important;border-image:none!important;box-shadow:none!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]) .bookmark-label{
 position:relative!important;border:0!important;border-image:none!important;outline:none!important;
 box-shadow:none!important;padding-bottom:10px!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]) .bookmark-label::after{
 content:""!important;display:block!important;position:absolute!important;left:8px!important;right:8px!important;
 bottom:1px!important;height:5px!important;border:0!important;border-radius:3px!important;
 background:var(--selection-iridescence)!important;pointer-events:none!important;
}

/* Selection follows the bookmark shape, leaving the artwork and label clean. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]){
 transform:translateY(-7px)!important;outline:none!important;border:0!important;border-image:none!important;
 box-shadow:none!important;--bookmark-selected-glow:#d3b16b;
}
html[data-interior]:not([data-interior="Signature"]):not([data-setup])[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]){
 --bookmark-selected-glow:var(--inside-accent);
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]) .bookmark-label{
 border:0!important;border-image:none!important;outline:none!important;box-shadow:none!important;padding-bottom:7px!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current="page"]) .bookmark-label::after{
 content:none!important;display:none!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]) .bookmark-object-art{
 filter:drop-shadow(0 0 3px var(--bookmark-selected-glow)) drop-shadow(0 0 7px color-mix(in srgb,var(--bookmark-selected-glow) 50%,transparent))!important;
}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark):is(.active,[aria-current="page"]){
 filter:drop-shadow(0 0 4px var(--bookmark-selected-glow))!important;
}

@media(min-width:761px){
 html[data-view] body #app .workspace-shell article.notebook .care-view-switch{
 position:absolute!important;top:20px!important;right:calc(50% + 26px)!important;left:auto!important;
 width:280px!important;max-width:calc(50% - 54px)!important;margin:0!important;
 gap:9px!important;z-index:5!important;
 }
 html[data-view] body #app .workspace-shell article.notebook .care-view-switch>button{
 min-height:50px!important;padding:8px 10px!important;grid-template-columns:22px minmax(0,1fr)!important;
 gap:2px 6px!important;font-size:13px!important;
 }
 html[data-view] body #app .workspace-shell article.notebook .care-view-switch>button small{font-size:10px!important}
 html[data-view] body #app #page>.care-page-heading{
 grid-column:1/-1!important;min-height:62px!important;box-sizing:border-box!important;
 display:flex!important;align-items:center!important;padding:10px 28px!important;margin:0 0 6px!important;
 }
 html[data-view] body #app #page>.care-page-heading h2{margin:0!important;padding:0!important;font-size:34px!important;text-align:left!important}
}
@media(min-width:761px) and (max-width:1100px){
 html[data-view] body #app .workspace-shell article.notebook .care-view-switch{width:240px!important;right:calc(50% + 20px)!important}
 html[data-view] body #app #page>.care-page-heading h2{font-size:29px!important}
}

@media(max-width:760px){
 html[data-screen="home"] body #app .home-book-studio.home-studio{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;
 }
 html[data-screen="home"] body #app .home-book-studio>.journal-display{
 grid-column:1/-1!important;grid-row:1!important;width:100%!important;height:350px!important;
 min-height:350px!important;max-width:100%!important;margin:0!important;
 }
 html[data-screen="home"] body #app .home-book-studio>:is(.book-side-tools,.collection-side){
 display:contents!important;
 }
 html[data-screen="home"] body #app .home-book-studio .book-side-tools>button{
 display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;
 min-width:0!important;width:100%!important;min-height:78px!important;height:auto!important;
 padding:10px!important;box-sizing:border-box!important;text-align:left!important;
 }
 html[data-screen="home"] body #app .home-book-studio .book-side-tools>button>span{width:38px!important;height:42px!important;grid-row:1!important}
 html[data-screen="home"] body #app .home-book-studio .book-side-tools>button>span :is(img,svg){width:38px!important;height:42px!important;object-fit:contain!important}
 html[data-screen="home"] body #app .home-book-studio .book-side-tools>button>:is(strong,b){font-size:16px!important;line-height:1.2!important;grid-row:1!important}
 html[data-screen="home"] body #app .home-book-studio .book-side-tools>button>:is(p,small,em){display:none!important}
 html[data-screen="home"] body #app .home-book-studio>.writing-side>button:nth-child(1){grid-column:1!important;grid-row:2!important}
 html[data-screen="home"] body #app .home-book-studio>.writing-side>button:nth-child(2){grid-column:1!important;grid-row:3!important}
 html[data-screen="home"] body #app .home-book-studio>.writing-side>button:nth-child(3){grid-column:1!important;grid-row:4!important}
 html[data-screen="home"] body #app .home-book-studio>.collection-side>button:nth-child(1){grid-column:2!important;grid-row:2!important}
 html[data-screen="home"] body #app .home-book-studio>.collection-side>button:nth-child(2){grid-column:2!important;grid-row:3!important}
 html[data-screen="home"] body #app .home-book-studio>.collection-side>button:nth-child(3){grid-column:2!important;grid-row:4!important}
 html body #app .dictation-start,html body #app .dictation-start[aria-pressed="true"]{border-image:none!important;outline:0!important;border:0!important;box-shadow:none!important;border-radius:50%!important}
 html body #app .dictation-start::after,html body #app .dictation-start::before{content:none!important}
}

html body #app #page[data-layout="tasks"] .next-task{position:relative!important;overflow:hidden!important}
html body #app #page[data-layout="tasks"] .next-task::before{
 content:""!important;position:absolute!important;inset:0 0 auto!important;height:3px!important;
 width:100%!important;background:var(--selection-iridescence)!important;border:0!important;
 border-radius:0!important;pointer-events:none!important;
}

html body #app .display-design-wand{
 position:absolute!important;right:18px!important;bottom:78px!important;z-index:5!important;
 width:46px!important;height:46px!important;min-height:46px!important;padding:7px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 display:grid!important;place-items:center!important;border-radius:10px!important;
}
html body #app .display-design-wand svg{width:32px!important;height:32px!important;overflow:visible;filter:drop-shadow(0 2px 2px #75501d25);transition:transform .25s}
.display-design-wand .wand-star{animation:wand-twinkle 3.8s ease-in-out infinite;transform-origin:24px 8px}
.display-design-wand .wand-glint{animation:wand-twinkle 3.8s ease-in-out .5s infinite}
html body #app .display-design-wand:hover svg{transform:rotate(-12deg) scale(1.1)}
html body #app .display-design-wand:focus-visible{outline:2px solid var(--accent,#85062f)!important;outline-offset:2px!important}
@keyframes wand-twinkle{0%,65%,100%{opacity:.65}78%{opacity:1;filter:drop-shadow(0 0 3px #ffe7a2)}}
@media(max-width:760px){html body #app .display-design-wand{right:12px!important;bottom:72px!important}}
@media(prefers-reduced-motion:reduce){.display-design-wand .wand-star,.display-design-wand .wand-glint{animation:none!important}}
html body #app .hero-links>[data-action="personalize"]{font-size:16px!important;line-height:1.3!important}html body #app .hero-links>[data-action="personalize"] svg{width:16px!important;height:16px!important}@media(max-width:760px){html body #app .hero-links>[data-action="personalize"]{font-size:14px!important}}

html body #app .today-strip .daily-stat{align-items:center!important;justify-content:flex-start!important}
html body #app .today-strip .daily-stat-icon{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:42px!important;height:42px!important;min-height:42px!important;margin:0 auto 10px!important;flex:none!important;
}
html body #app .today-strip .daily-stat-icon svg{display:block!important;width:36px!important;height:36px!important;margin:0!important}
html body #app .today-strip .daily-stat-copy>b{
 display:block!important;min-height:58px!important;line-height:1.2!important;padding:3px 0 6px!important;
 overflow:visible!important;
}
@media(max-width:760px){
 html body #app .today-strip .daily-stat-icon{height:34px!important;min-height:34px!important;width:34px!important;margin-bottom:7px!important}
 html body #app .today-strip .daily-stat-icon svg{height:28px!important;width:28px!important}
 html body #app .today-strip .daily-stat-copy>b{font-size:27px!important;min-height:42px!important;line-height:1.2!important;white-space:nowrap!important}
 html body #app .today-strip .daily-stat-copy>b.snapshot-mood{font-size:23px!important}
 html body #app #page .history .entry-card{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;padding:14px 0!important}
 html body #app #page .history .entry-card>.entry-open{flex:1 0 100%!important;width:100%!important;max-width:none!important;padding:0!important;min-width:0!important;text-align:left!important;display:block!important}
 html body #app #page .history .entry-card>.entry-open h3{font-size:23px!important;line-height:1.25!important;max-width:none!important;margin:8px 0!important}
 html body #app #page .history .entry-card>.entry-open p{font-size:13px!important;line-height:1.55!important;max-width:none!important;margin:6px 0!important}
 html body #app #page .history .entry-card>.favorite-button{margin-left:auto!important}
 html body #app #page .history .entry-card>.entry-tag-list:empty{display:none!important}
 html body #app #page .history .entry-card>[data-delete-entry]{margin:0!important;min-width:30px!important;min-height:32px!important}
}

/* Brand identity and compact privacy control. */
#descaxora-header .cloud-account-button{margin:0 12px 0 0;padding:8px;min-width:40px;width:40px;background:transparent;border:0;box-shadow:none;color:#80032e;flex-shrink:0}#descaxora-header .cloud-account-button span{display:none}#descaxora-header .brand-name small{text-transform:none;letter-spacing:.1em;font-size:9px}html[data-lighting=night] #descaxora-header .cloud-account-button{color:#f4dfb1}.privacy-quick.is-compact{width:44px!important;min-width:44px!important;padding:10px!important;justify-content:center}.privacy-quick.is-compact span{display:none}.privacy-minimize{position:fixed;right:4px;top:166px;z-index:1001;width:24px;min-height:24px;height:24px;padding:0;border:1px solid #b48b49;border-radius:50%;background:var(--surface,#fff);color:var(--text,#80032e);display:grid;place-items:center;font:18px Arial}.task-row .grow p{white-space:nowrap}.dictation-start{border:0!important;box-shadow:none!important;outline:0!important}.real-jar .jar-tint{clip-path:polygon(21%35%,26%31%,74%31%,79%35%,80%78%,74%86%,50%89%,26%86%,20%78%)!important}

@media(max-width:760px){.task-row .grow{display:block!important}.task-row .grow p{display:block!important;margin:5px 0!important;white-space:nowrap!important}.task-row .task-badges{display:flex!important;gap:5px;flex-wrap:wrap!important;margin-top:5px}.privacy-minimize{display:none!important}}

html body .pearl-photo-object{--display-book-depth:30px!important}@media(max-width:760px){html body .pearl-photo-object{--display-book-depth:23px!important}html body #app #page[data-layout=tasks] .task-row .grow{display:block!important}html body #app #page[data-layout=tasks] .task-row .grow p{display:block!important;white-space:nowrap!important;margin:5px 0!important}html body #app #page[data-layout=tasks] .task-row .task-badges{display:flex!important;flex-wrap:wrap!important}}

.privacy-curtain [role=alert]:empty{display:none!important}.home-experiences .experience-object{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}.home-experiences .experience-object>svg{display:block!important;margin:0!important;position:static!important;transform:none!important;max-width:80%;max-height:80%}

/* Keep the binding closed as the photographic cover turns. */
html body .pearl-photo-object>.pearl-photo-spine{left:12.7%!important;top:4.8%!important;height:82.4%!important;width:calc(var(--display-book-depth) + 2px)!important;backface-visibility:visible!important}html body .pearl-photo-object>.pearl-photo-top-edge,html body .pearl-photo-object>.pearl-photo-bottom-edge{left:15%!important;width:71.5%!important}html body .pearl-photo-object>.pearl-photo-front-board{left:12.7%!important;width:74.3%!important;background:var(--display-book-color)!important}

/* Center the primary action over its two supporting destinations. */
html body #app .home-hero .intro .home-actions{justify-self:center!important;align-self:center!important;display:flex!important;justify-content:center!important;width:100%!important;margin-inline:auto!important}html body #app .home-hero .intro .hero-links{justify-content:center!important;margin-inline:auto!important}html body #app .home-hero .intro .home-actions>.primary{margin-inline:auto!important}

/* Keep the wand close to the book rather than at the display edge. */
html body #app .display-design-wand{right:calc(50% - 175px)!important;bottom:88px!important;width:48px!important;height:62px!important;min-height:62px!important}html body #app .display-design-wand svg{width:42px!important;height:54px!important}@media(max-width:760px){html body #app .display-design-wand{right:calc(50% - 125px)!important;bottom:82px!important;width:42px!important;height:54px!important;min-height:54px!important}html body #app .display-design-wand svg{width:36px!important;height:48px!important}}

/* Bring the Home summary icons closer to their values. */
html body #app .today-strip .daily-stat-icon{position:relative!important;top:10px!important;margin-bottom:0!important}@media(max-width:760px){html body #app .today-strip .daily-stat-icon{top:6px!important}}

@media(min-width:761px){html body>.privacy-quick{display:inline-flex!important;position:fixed!important;top:112px!important;right:38px!important;z-index:1000!important;min-height:44px!important;background:var(--surface,#fff)!important;visibility:visible!important;opacity:1!important}html body>.privacy-quick:not(.is-compact){width:auto!important;min-width:100px!important;padding:10px 16px!important}html body>.privacy-quick:not(.is-compact) span{display:inline!important}html body>.privacy-minimize{top:122px!important;right:8px!important}}

html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current="page"]) .bookmark-label{top:auto!important;bottom:25px!important;position:absolute!important;translate:none!important;transform:translateX(-50%)!important;left:50%!important;right:auto!important;margin:0!important}
@media(min-width:761px){html[data-view=wide] body #app #page[data-layout=journal][data-journal-pane=history]>.page-left{display:none!important}html[data-view=wide] body #app #page[data-layout=journal][data-journal-pane=history]>.page-right.history{display:block!important;grid-column:1/-1!important;width:100%!important;max-width:none!important}html[data-view=wide] body #app #page[data-layout=journal][data-journal-pane=history] #entry-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 48px!important;align-items:start!important}}

/* Care navigation occupies its own row in expanded views. */
html[data-view=book] body #app .workspace-shell article.notebook>.care-navigation{display:none!important}html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>.care-navigation{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;align-items:center!important;justify-content:flex-start!important;min-height:66px!important;padding:8px 24px!important;margin:0 0 16px!important;width:100%!important;box-sizing:border-box!important;z-index:2!important}html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>.care-navigation>div:first-child{display:none!important}html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook .care-view-switch{display:flex!important;position:static!important;inset:auto!important;transform:none!important;width:280px!important;max-width:100%!important;margin:0!important;gap:10px!important}html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook .care-view-switch>button{flex:1!important;min-width:0!important}@media(max-width:760px){html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>.care-navigation{padding:8px 12px!important;margin-bottom:10px!important}}

html body #app #page[data-layout=journal] .history-filter-options .history-filter-fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;align-items:end!important}html body #app #page[data-layout=journal] .history-filter-fields>label{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;margin:0!important;grid-column:auto!important}html body #app #page[data-layout=journal] .history-filter-fields select{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}html body #app #page[data-layout=journal] .history-filter-options:not([open]) .history-filter-fields{display:none!important}

/* Icon-only controls do not inherit rectangular selection frames. */
html[data-view] body #app #page :is(.favorite-button,.favorites-filter,.dictation-start),html body :is(.favorite-button,.favorites-filter,.dictation-start)[aria-pressed]{border:0!important;border-image:none!important;outline:none!important;box-shadow:none!important;background-image:none!important}html body :is(.favorite-button,.favorites-filter,.dictation-start)::before,html body :is(.favorite-button,.favorites-filter,.dictation-start)::after{display:none!important}html body :is(.favorite-button,.favorites-filter){background:transparent!important}html body :is(.favorite-button,.favorites-filter,.dictation-start):focus-visible{outline:2px solid currentColor!important;outline-offset:3px!important;border-radius:999px!important}

/* Habit metrics share the task scorecard dimensions and hierarchy. */
html body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:none!important;gap:16px!important}html body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{position:relative!important;display:grid!important;grid-template-rows:26px 66px 34px!important;gap:8px!important;height:184px!important;min-height:184px!important;max-height:184px!important;padding:16px!important;align-items:center!important;justify-items:center!important;text-align:center!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#fffdfa)!important;box-shadow:0 4px 10px #3c221308!important;border:1px solid #c4a46b77!important;border-radius:12px!important}html body #app #page[data-layout=habits] .consistency-scores>div::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:var(--selection-iridescence)}html body #app #page[data-layout=habits] .consistency-scores>div>span{grid-row:1!important;font:600 14px/1.25 Arial,sans-serif!important;max-width:none!important}html body #app #page[data-layout=habits] .consistency-scores>div>strong{grid-row:2!important;font-size:60px!important;font-weight:500!important;line-height:1!important;margin:0!important}html body #app #page[data-layout=habits] .consistency-scores>div>i{grid-row:3!important;margin:0!important;display:block!important;width:32px!important;height:32px!important}html body #app #page[data-layout=habits] .consistency-scores svg{width:32px!important;height:32px!important}html body #app #page[data-layout=habits] .consistency-scores>div:nth-child(1) :is(strong,i){color:#347884!important}html body #app #page[data-layout=habits] .consistency-scores>div:nth-child(2) :is(strong,i){color:#8a5ca3!important}html body #app #page[data-layout=habits] .consistency-scores>div:nth-child(3) :is(strong,i){color:#28714f!important}html[data-lighting=night] body #app #page[data-layout=habits] .consistency-scores>div{background:#121212!important}html[data-lighting=night] body #app #page[data-layout=habits] .consistency-scores>div:nth-child(1) :is(strong,i){color:#97d2dc!important}html[data-lighting=night] body #app #page[data-layout=habits] .consistency-scores>div:nth-child(2) :is(strong,i){color:#d6b5ef!important}html[data-lighting=night] body #app #page[data-layout=habits] .consistency-scores>div:nth-child(3) :is(strong,i){color:#96d9b7!important}@media(max-width:760px){html body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores{gap:8px!important}html body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{grid-template-rows:32px 45px 26px!important;height:147px!important;min-height:147px!important;max-height:147px!important;padding:11px 5px!important;gap:6px!important}html body #app #page[data-layout=habits] .consistency-scores>div>strong{font-size:43px!important}html body #app #page[data-layout=habits] .consistency-scores>div>span{font-size:11px!important}html body #app #page[data-layout=habits] .consistency-scores>div>i,html body #app #page[data-layout=habits] .consistency-scores svg{width:26px!important;height:26px!important}html body #app #page[data-layout=habits] .consistency-scores>div:nth-child(3)>strong{font-size:30px!important}}

html body #app #page .weekly-rituals .section-head .eyebrow{font-size:16px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.06em!important}html body #app #page .weekly-rituals .habit-week thead th,html body #app #page .weekly-rituals .habit-week thead th button{font-size:19px!important;font-weight:700!important;line-height:1.3!important}html body #app #page .weekly-rituals .habit-week thead th button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:62px!important}html body #app #page .weekly-rituals .habit-week thead th button small{font-size:19px!important;line-height:1.2!important}@media(max-width:760px){html body #app #page .weekly-rituals .section-head .eyebrow{font-size:13px!important}html body #app #page .weekly-rituals .habit-week thead th,html body #app #page .weekly-rituals .habit-week thead th button{font-size:14px!important}html body #app #page .weekly-rituals .habit-week thead th button small{font-size:16px!important}}

/* Unified centered dashboard metrics, with icons beneath the copy. */
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card{position:relative!important;align-items:center!important;text-align:center!important;justify-content:flex-start!important;padding:16px 20px 58px!important;min-height:205px!important;gap:12px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading{display:block!important;width:100%!important;text-align:center!important;min-height:24px!important;padding-inline:18px!important;box-sizing:border-box!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading b{display:block!important;text-align:center!important;width:100%!important;font-size:14px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i{position:absolute!important;top:auto!important;bottom:14px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:32px!important;height:32px!important;margin:0!important;display:grid!important;place-items:center!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i svg{width:30px!important;height:30px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading em{position:absolute!important;top:16px!important;right:14px!important;left:auto!important;bottom:auto!important;margin:0!important;transform:none!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card>strong{width:100%!important;text-align:center!important;font-size:44px!important;margin:0!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card>strong small{text-align:center!important;max-width:100%!important;margin:9px auto 0!important;line-height:1.45!important}@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card{min-height:195px!important;padding:14px 12px 52px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card>strong{font-size:36px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading b{font-size:13px!important}}

@media(min-width:761px){html[data-view=book] body #app #page[data-layout=mood][data-care-panel=insights]>.care-history-row{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px 28px!important;gap:56px!important;box-sizing:border-box!important;align-items:start!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column{display:flex!important;flex-direction:column!important;gap:24px!important;min-width:0!important;width:100%!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column:first-of-type{grid-column:1!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column:last-of-type{grid-column:2!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.insight-panel{width:100%!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important;box-sizing:border-box!important}}

/* Printed calendar preview: ink on paper rather than separate tiles. */
html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar]>.page-right{background:var(--inside-paper,#fff)!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:24px 28px!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar{gap:0!important;border:0!important;background:transparent!important;padding:0!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar .calendar-weekday{background:transparent!important;border:0!important;border-bottom:2px solid color-mix(in srgb,var(--inside-accent,#85062f) 35%,transparent)!important;border-radius:0!important;box-shadow:none!important;padding:12px 0!important;margin:0!important;font-size:16px!important;font-weight:600!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar .day{background:transparent!important;background-image:none!important;border:0!important;border-right:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 18%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 18%,transparent)!important;border-radius:0!important;box-shadow:none!important;margin:0!important;min-height:80px!important;padding:10px!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar .day.today{background:color-mix(in srgb,var(--inside-accent,#85062f) 6%,transparent)!important;box-shadow:inset 0 -3px var(--inside-accent,#85062f)!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar .day:hover{background:color-mix(in srgb,var(--inside-accent,#85062f) 5%,transparent)!important;transform:none!important}

@media(min-width:761px){html[data-view=wide] body #app #page[data-layout=mood][data-care-panel=today]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:16px 28px!important;align-items:start!important}html[data-view=wide] body #app #page[data-layout=mood][data-care-panel=today]>.care-page-heading{grid-column:1/-1!important;grid-row:1!important;min-height:0!important;margin:0!important;padding:12px 24px!important}html[data-view=wide] body #app #page[data-layout=mood][data-care-panel=today]>.care-section-tabs{grid-column:1/-1!important;grid-row:2!important;margin:0!important;padding:0 24px 12px!important}html[data-view=wide] body #app #page[data-layout=mood][data-care-panel=today]>.page-left{grid-column:1!important;grid-row:3!important;align-self:start!important;width:100%!important;margin:0!important;padding:20px 24px!important}html[data-view=wide] body #app #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{grid-column:2!important;grid-row:3!important;align-self:start!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px 24px!important;box-sizing:border-box!important}}

html[data-view=book] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=calendar]>.page-right.history{display:block!important;grid-column:1/-1!important;background:var(--inside-paper,#fff)!important;position:relative!important;z-index:2!important;border:0!important;border-radius:0!important;box-shadow:none!important}html[data-view=book] body #app #page[data-layout=mood][data-care-panel=calendar] .calendar{position:relative!important;background:var(--inside-paper,#fff)!important;z-index:2!important}

/* Extend key stems below the paper edge without lifting their labels. */
html[data-bookmark-style="Antique key"][data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art{height:calc(100% + 34px)!important;max-height:none!important;top:0!important;bottom:auto!important;transform-origin:top center!important}html[data-bookmark-style="Antique key"][data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art img{height:100%!important;max-height:none!important;object-fit:fill!important}@media(max-width:760px){html[data-bookmark-style="Antique key"][data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art{height:calc(100% + 24px)!important}}

/* All section bookmarks tuck below the page edge, even while raised. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art{height:calc(100% + 40px)!important;max-height:none!important;top:0!important;bottom:auto!important;object-fit:fill!important;object-position:center top!important}html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark){height:calc(100% + 32px)!important;min-height:0!important}html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark) .bookmark-label{position:absolute!important;top:auto!important;bottom:57px!important;left:4%!important;right:4%!important;margin:0!important}@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art{height:calc(100% + 30px)!important}html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark){height:calc(100% + 24px)!important}}

/* One dedicated, in-flow Habits/Mood row in every display mode. */
html[data-view] body #app .workspace-shell article.notebook>.care-navigation{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;min-height:70px!important;margin:0!important;padding:12px 28px!important;background:var(--inside-paper,#fff)!important;border:0!important;box-shadow:none!important;z-index:2!important}html[data-view] body #app .workspace-shell article.notebook>.care-navigation>div:first-child{display:none!important}html[data-view] body #app .workspace-shell article.notebook>.care-navigation>.care-view-switch{display:flex!important;position:static!important;inset:auto!important;transform:none!important;width:280px!important;max-width:100%!important;gap:10px!important;margin:0!important}html[data-view] body #app .workspace-shell article.notebook>.care-navigation>.care-view-switch>button{flex:1!important;min-width:0!important;min-height:48px!important;box-sizing:border-box!important}html[data-lighting=night][data-view] body #app .workspace-shell article.notebook>.care-navigation{background:#121212!important}@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>.care-navigation{padding:10px 14px!important;min-height:66px!important}html[data-view] body #app .workspace-shell article.notebook>.care-navigation>.care-view-switch{width:100%!important;max-width:320px!important}}

@media(min-width:761px){html body>.privacy-quick.is-compact{display:none!important}html body>.privacy-minimize{width:32px!important;height:32px!important;min-height:32px!important;top:118px!important;display:grid!important;place-items:center!important;padding:5px!important}html body>.privacy-minimize svg{display:block;width:20px;height:20px}}html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{bottom:46px!important}@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{bottom:48px!important}}html body #descaxora-header{justify-content:flex-start!important;gap:10px!important}html body #descaxora-header>.wordmark{margin-right:auto!important}html body #descaxora-header>.header-actions{margin-left:auto!important}

html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{bottom:90px!important}@media(max-width:760px){html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{bottom:80px!important}}

html[data-view=book] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark) .bookmark-label{top:86px!important;bottom:auto!important;min-height:34px!important;line-height:1.2!important}html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark) .bookmark-label{top:64px!important;bottom:auto!important;min-height:34px!important;line-height:1.2!important}@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:not(.object-bookmark) .bookmark-label{top:54px!important;bottom:auto!important;min-height:32px!important}}

/* Keep metric contents on one centered column; legacy label columns must not create implicit tracks. */
html[data-view] body #app #page[data-layout=mood] .consistency-scores{max-width:none!important;gap:16px!important}
html[data-view] body #app #page[data-layout=mood] .consistency-scores>div{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=mood] .consistency-scores>div>:is(strong,span,i),html[data-view] body #app #page[data-layout=habits] .consistency-scores>div>:is(strong,span,i){grid-column:1!important;justify-self:center!important;text-align:center!important}
/* Rounded selection frames use layered backgrounds instead of square border-image corners. */
html[data-view] body #app :is([data-care-view],[data-care-panel-choice],.journal-pane-tabs button,.entry-type-choices button)[aria-pressed=true]{border-image:none!important;border:1px solid transparent!important;background:linear-gradient(var(--accent,#81052e),var(--accent,#81052e)) padding-box,var(--selection-iridescence) border-box!important;color:white!important;border-radius:10px!important;box-shadow:0 2px 5px #48142614!important}
/* Replacing a preview must not let scroll anchoring pull the selected control upward. */
html[data-setup=true],html[data-setup=true] body,html[data-setup=true] #app,html[data-setup=true] .direct-studio,html[data-setup=true] .direct-popover{overflow-anchor:none!important}
/* Two balanced jar tiles on phones, without stretched empty card height. */
@media(max-width:760px){html body #modal:has(.jar-gallery) .jar-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:12px!important;max-width:none!important;width:100%!important}html body #modal .jar-display-card,html body #modal .add-jar-tile{width:100%!important;min-width:0!important;min-height:0!important;height:220px!important;max-height:220px!important;box-sizing:border-box!important;padding:10px!important;border-radius:12px!important}html body #modal .jar-display-card>[data-jar]{padding:0!important;gap:5px!important;min-height:0!important;flex:1!important}html body #modal .jar-display-card .real-jar{width:110px!important;height:112px!important;max-width:100%!important}html body #modal .jar-display-card strong{font-size:19px!important;line-height:1.15!important}html body #modal .jar-note-total{font-size:11px!important}html body #modal .jar-draw-button{min-height:32px!important;padding:6px 8px!important;margin-top:5px!important;font-size:11px!important}html body #modal .jar-display-card:has([aria-pressed=true]){outline:none!important;border:1px solid var(--accent)!important;background:var(--surface,#fff)!important;box-shadow:0 2px 5px #48243a10!important}}
html body #modal:has(.jar-gallery) .jar-gallery>.jar-display-card:has(>button[aria-pressed=true]){background:#fff!important;background-image:none!important;outline:0!important;border:1px solid var(--accent)!important}
html[data-lighting=night] body #modal:has(.jar-gallery) .jar-gallery>.jar-display-card:has(>button[aria-pressed=true]){background:#121212!important}
/* Dark-mode contrast for navigation and small history labels. */
html[data-lighting=night] body footer{background:#151820!important;color:#dfe2e9!important}
html[data-lighting=night] body #app :is(.entry-tag,.entry-card>.pill,.thread-chip){background:#303543!important;color:#f4e4b7!important;border-color:#73798a!important}
html[data-lighting=night] body .mobile-bottom-navigation button[aria-current=page]{color:#f5dfaa!important}
html[data-lighting=night] body .mobile-bottom-navigation button[aria-current=page] :is(svg,.live-icon,.icon-drawing,g){color:#f5dfaa!important;stroke:currentColor!important}
html[data-lighting=night] body #app .favorite-button[aria-pressed=true]{color:#f2a5bf!important}
/* Independent metric columns keep the short timeline from stretching to the donut height. */
@media(min-width:761px){html[data-view] body #app #page[data-layout=mood][data-care-panel=insights]>.care-history-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:24px 32px!important}html[data-view] body #app #page[data-layout=mood][data-care-panel=insights]>.care-history-row>.mood-insight-column{display:flex!important;flex-direction:column!important;gap:24px!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important}html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.insight-panel{grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;align-self:stretch!important}}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{display:flex!important;flex-direction:column!important;height:auto!important;max-height:none!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i{background:transparent!important;box-shadow:none!important;border:0!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading .icon-halo{display:none!important}
html[data-lighting=night][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card :is(strong,.dash-card-heading i){color:color-mix(in srgb,var(--metric-color,var(--card)) 50%,white)!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card strong small{font:400 12px/1.5 Arial,sans-serif!important}
/* Keep the Home writing action's frame straight and even at every screen size. */
html body #app .home-hero .home-actions>button[data-action=continue]{border:1px solid #a14865!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(180deg,var(--accent-deep,#81052e),var(--accent-deep,#81052e))!important;background-clip:border-box!important;outline:0!important;box-shadow:inset 0 1px 0 #ffffff35,0 5px 12px #74052820!important;filter:none!important}
/* A concentric mood ring uses the same inset on all four sides. */
html[data-view] body #app #page[data-layout] :is(.mood-donut,.dashboard-mood-donut){box-sizing:border-box!important;padding:0!important;border:0!important;aspect-ratio:1!important;overflow:hidden!important}
html[data-view] body #app #page[data-layout] .mood-donut>span,html[data-view] body #app #page[data-layout] .dashboard-details .dashboard-mood-donut>div,html[data-view] body #app #page[data-layout] .dashboard-mood-donut>div{position:absolute!important;inset:16%!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;box-sizing:border-box!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;transform:none!important;translate:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:4px!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading b{font-size:18px!important;line-height:1.3!important;font-weight:600!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading b{font-size:16px!important}}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i{width:42px!important;height:42px!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i svg{width:40px!important;height:40px!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i{width:36px!important;height:36px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards .dash-card-heading i svg{width:34px!important;height:34px!important}}
/* Center the complete weekly reflection invitation as one balanced group. */
html[data-view] body #app #page[data-layout=overview] .dashboard-reflection-invitation{text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important}
html[data-view] body #app #page[data-layout=overview] .dashboard-reflection-invitation :is(h3,p){width:100%!important;text-align:center!important;margin:0!important}
html[data-view] body #app #page[data-layout=overview] .dashboard-reflection-invitation .reflection-counts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 24px!important;width:100%!important;max-width:420px!important;margin:10px auto!important;text-align:center!important}
html[data-view] body #app #page[data-layout=overview] .reflection-counts>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important}
html[data-view] body #app #page[data-layout=overview] .reflection-counts>small{grid-column:1/-1!important;text-align:center!important}
html[data-view] body #app #page[data-layout=overview] .dashboard-reflection-invitation>.dashboard-reflect{width:auto!important;max-width:100%!important;margin:0 auto!important;align-self:center!important}
/* The complete bookmark lifts as one object; selection keeps the hover position. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button{position:relative!important;top:0!important;transition:transform .2s ease,filter .2s ease!important;transform:translateY(0)!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(:hover,.active,[aria-current=page]){transform:translateY(-12px)!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(:hover,.active,[aria-current=page]){transform:translateY(-12px)!important}
/* Strike through the task title's own width, never the stretched grid cell. */
html body #app #page[data-layout=tasks] .task-row .grow>.task-text{display:block!important;width:fit-content!important;max-width:100%!important;justify-self:start!important;flex:0 1 auto!important;box-sizing:border-box!important}
html body #app #page[data-layout=tasks] .task-finishing .task-text::after{left:0!important;right:auto!important;width:100%!important;max-width:100%!important}
/* Keep habit artwork inside its own track, away from the progress copy. */
html[data-view] body #app #page[data-layout=habits] .growth-scene{display:grid!important;grid-template-columns:minmax(120px,32%) minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;gap:14px 24px!important;padding:18px!important;height:auto!important;min-height:260px!important;max-height:none!important;align-items:center!important}
html[data-view] body #app #page[data-layout=habits] .growth-scene>:is(.progress-art,.living-scene){grid-column:1!important;grid-row:1/3!important;width:100%!important;max-width:100%!important;height:220px!important;min-width:0!important;min-height:0!important;margin:0!important;position:relative!important;inset:auto!important;overflow:hidden!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=habits] .growth-scene>.growth-caption{grid-column:2!important;grid-row:1!important;position:static!important;transform:none!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important}
html[data-view] body #app #page[data-layout=habits] .growth-scene>.growth-meter{grid-column:2!important;grid-row:2!important;position:static!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{height:220px!important;min-height:220px!important;max-height:none!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:32px 86px 44px!important;gap:10px!important;padding:16px!important;text-align:center!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>strong{width:100%!important;text-align:center!important;font-size:64px!important;white-space:nowrap!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>:is(i,i svg){width:40px!important;height:40px!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>span{width:100%!important;font-size:15px!important;text-align:center!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=habits] .growth-scene{grid-template-columns:110px minmax(0,1fr)!important;gap:10px 16px!important;padding:12px!important;min-height:210px!important}html[data-view] body #app #page[data-layout=habits] .growth-scene>:is(.progress-art,.living-scene){height:180px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{height:170px!important;min-height:170px!important;grid-template-rows:34px 54px 34px!important;padding:10px 4px!important;gap:6px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>strong{font-size:44px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div:nth-child(3)>strong{font-size:30px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>:is(i,i svg){width:32px!important;height:32px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>span{font-size:12px!important}}
/* Align both halves of a mood check-in on the same grid row. */
@media(min-width:761px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto auto!important;align-items:stretch!important;column-gap:28px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.care-page-heading{grid-column:1/-1!important;grid-row:1!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.care-section-tabs{grid-column:1/-1!important;grid-row:2!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.page-left{grid-column:1!important;grid-row:3!important;align-self:stretch!important;margin:0!important;min-height:440px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{grid-column:2!important;grid-row:3!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:16px!important;margin:0!important;padding:20px 24px!important;min-height:440px!important;box-sizing:border-box!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>label{display:flex!important;flex-direction:column!important;flex:1 0 auto!important;margin:0!important;gap:8px!important}html[data-view] body #app #page[data-layout=mood][data-care-panel=today] #mood-note{height:220px;min-height:220px!important;width:100%!important;flex:1 0 auto!important;box-sizing:border-box!important}}

html body #app .display-design-wand{right:calc(50% - 191px)!important}
@media(max-width:760px){html body #app .display-design-wand{right:calc(50% - 141px)!important}}
/* Keep the view switch opposite its section title, including Writing only. */
html[data-view] body #app .workspace-shell article.notebook #page .care-page-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%!important;box-sizing:border-box!important}
html[data-view] body #app .workspace-shell article.notebook #page .care-page-heading>h2{margin:0!important;flex:0 1 auto!important}
html[data-view] body #app .workspace-shell article.notebook #page .care-page-heading>.care-navigation{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;flex:0 0 auto!important}
html[data-view] body #app #page .care-page-heading .care-navigation>div:first-child{display:none!important}
html[data-view] body #app #page .care-page-heading .care-view-switch{position:static!important;display:flex!important;width:280px!important;gap:10px!important;transform:none!important;margin:0!important}
@media(max-width:760px){html[data-view] body #app #page .care-page-heading{flex-wrap:wrap!important;gap:12px!important}html[data-view] body #app #page .care-page-heading .care-view-switch{width:250px!important;max-width:100%!important}html[data-view] body #app #page .care-page-heading>.care-navigation{margin-left:auto!important;max-width:100%!important}}
/* History tools occupy the top-left; saved entries use the remaining space. */
@media(min-width:761px){
html[data-view] body #app #page[data-layout=journal][data-journal-pane=history]>.history{display:grid!important;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr)!important;grid-template-rows:repeat(5,auto) 1fr!important;gap:12px 40px!important;align-items:start!important}
html[data-view] body #app #page[data-layout=journal][data-journal-pane=history]>.history> :not(#entry-list){grid-column:1!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-top:0!important;margin-bottom:0!important}
html[data-view] body #app #page[data-layout=journal][data-journal-pane=history]>.history>#entry-list{grid-column:2!important;grid-row:1/7!important;display:block!important;min-width:0!important;margin:0!important}
html[data-view] body #app #page[data-layout=journal][data-journal-pane=history] .history>.fields{display:block!important}
html[data-view] body #app #page[data-layout=journal][data-journal-pane=history] .history #search{width:100%!important;box-sizing:border-box!important}
}

/* A single celebratory flourish after applying a design through the Home wand. */
.display-design-wand.wand-book-reveal>svg{transform-origin:50% 65%;animation:wand-design-twirl 1.1s cubic-bezier(.22,.7,.3,1) both!important}
.wand-change-sparkles{position:absolute;inset:-18px;pointer-events:none;overflow:visible;color:#bf9443}
.wand-change-sparkles>i{position:absolute;font-style:normal;font-size:19px;left:50%;top:50%;opacity:0;animation:wand-design-spark 1.25s ease-out both;--sx:-40px;--sy:-30px}
.wand-change-sparkles>i:nth-child(2){--sx:40px;--sy:-42px;animation-delay:.12s;color:#85062f}
.wand-change-sparkles>i:nth-child(3){--sx:50px;--sy:12px;animation-delay:.22s}
.wand-change-sparkles>i:nth-child(4){--sx:-35px;--sy:30px;animation-delay:.3s;color:#b98866}
.wand-change-sparkles>i:nth-child(5){--sx:0px;--sy:-55px;animation-delay:.18s}
.book-design-reveal .cover{animation:book-design-arrive .85s ease-out both}
@keyframes wand-design-twirl{0%{transform:rotate(0) scale(1)}35%{transform:rotate(-35deg) scale(1.12)}85%{transform:rotate(360deg) scale(1.06)}100%{transform:rotate(360deg) scale(1)}}
@keyframes wand-design-spark{0%{opacity:0;transform:translate(0,0) scale(.3)}30%{opacity:1}100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(1.1)}}
@keyframes book-design-arrive{from{opacity:.55;filter:brightness(1.15)}to{opacity:1;filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.wand-book-reveal>svg,.book-design-reveal .cover,.wand-change-sparkles>i{animation:none!important}.wand-change-sparkles{display:none!important}}

/* Compact jar editing: color beside the label, actions in one row. */
html body #modal .jar-note-panel,html body #modal .jar-details-panel{min-height:0!important;height:auto!important;padding:16px!important;box-sizing:border-box!important;align-self:stretch!important}
html body #modal .jar-note-panel{display:flex!important;flex-direction:column!important;gap:12px!important}
html body #modal .jar-note-panel>h3{margin:0!important}
html body #modal .jar-note-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
html body #modal .jar-note-heading>label{margin:0!important;display:flex!important;align-items:center!important;gap:8px!important}
html body #modal .jar-note-color-picker>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
html body #modal .jar-note-heading input[type=color]{width:36px!important;height:36px!important;min-height:36px!important;margin:0!important}
html body #modal .jar-note-writing{margin:0!important;display:block!important;flex:1!important}
html body #modal .jar-note-writing>textarea{width:100%!important;height:110px;min-height:110px!important;box-sizing:border-box!important;margin:0!important}
html body #modal .jar-note-actions{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin:0!important}
html body #modal .jar-note-actions>button{width:auto!important;flex:0 1 auto!important;margin:0!important;min-height:36px!important;padding:8px 14px!important}
html body #modal .jar-editor-layout{margin-top:12px!important;margin-bottom:0!important}
html body #modal .jar-editor-controls{gap:10px!important}

html body #modal .jar-items{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(175px,1fr))!important;gap:10px!important;align-items:start!important;max-height:none!important;overflow:visible!important}
html body #modal .jar-items>article{padding:0!important;margin:0!important;min-height:0!important;height:auto!important;border-left:3px solid var(--note-color)!important;border-radius:8px!important;background:color-mix(in srgb,var(--note-color) 8%,var(--inside-paper,#fff))!important;box-shadow:none!important}
html body #modal .jar-note-chip{padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html body #modal .jar-note-chip>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:44px!important;padding:10px 12px!important;box-sizing:border-box!important;list-style:none!important;cursor:pointer;font:400 14px/1.4 Atelier Sans,Arial,sans-serif!important;color:var(--text,#302830)!important}
html body #modal .jar-note-chip>summary::-webkit-details-marker{display:none}
html body #modal .jar-note-chip>summary>span{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;min-width:0!important}
html body #modal .jar-note-chip>summary>svg{width:16px!important;height:16px!important;flex:none!important;transition:transform .18s}
html body #modal .jar-note-chip[open]>summary>svg{transform:rotate(90deg)}
html body #modal .jar-note-chip>.jar-note-meta,html body #modal .jar-note-chip>p{margin:8px 12px!important}
html body #modal .jar-note-chip>button{margin:4px 12px 12px!important}
html body #modal .jar-note-chip>p{font-size:15px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
@media(max-width:480px){html body #modal .jar-items{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
html[data-lighting=night] body #modal .jar-items>article{background:color-mix(in srgb,var(--note-color) 12%,#121212)!important}

html body #app .direct-studio .direct-hotspots button.edit-point[aria-pressed=true]{border:1px solid transparent!important;border-image:none!important;outline:none!important;box-shadow:none!important;background:var(--accent-deep,#85062f)!important;color:#fff!important;border-radius:999px!important}
html body #app .direct-studio .direct-hotspots button.edit-point[aria-pressed=true]::before,html body #app .direct-studio .direct-hotspots button.edit-point[aria-pressed=true]::after{display:none!important}
html body #app .direct-studio .direct-hotspots button.edit-point:focus-visible{outline:2px solid #b28a3f!important;outline-offset:3px!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{grid-template-rows:44px 72px 48px!important;align-content:center!important;gap:8px!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>span{display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;margin:0!important;line-height:1.25!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>strong{display:flex!important;align-items:center!important;justify-content:center!important;height:72px!important;line-height:1!important}
html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>i,html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>i svg{width:48px!important;height:48px!important;display:block!important;margin:0 auto!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{grid-template-rows:34px 54px 38px!important;gap:6px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>span{height:34px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>strong{height:54px!important}html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>i,html[data-view] body #app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>i svg{width:38px!important;height:38px!important}}
@media(min-width:761px){
html[data-view=book] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{grid-column:1!important;grid-row:1!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;padding:18px 28px!important;margin:0!important;gap:14px!important;flex-wrap:wrap!important;box-sizing:border-box!important}
html[data-view=book] body #app .workspace-shell article.notebook #page .care-page-heading>.care-navigation{margin-left:auto!important;max-width:100%!important;flex:0 1 280px!important}
html[data-view=book] body #app .workspace-shell article.notebook #page .care-page-heading .care-view-switch{width:100%!important;max-width:280px!important}
html[data-view=book] body #app .workspace-shell article.notebook #page .care-page-heading .care-view-switch>button{min-width:0!important;flex:1 1 0!important}
}
/* Weekly history uses one continuous paper surface, masking the book gutter. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .weekly-rituals{position:relative!important;z-index:2!important;isolation:isolate!important;background:var(--inside-paper,#fff)!important;background-image:none!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .weekly-rituals .habit-week-scroll,html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] table.habit-week{background:var(--inside-paper,#fff)!important;background-image:none!important;position:relative!important;z-index:1!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] :is(.weekly-rituals,.habit-week-scroll,table.habit-week){background:#121212!important}
@media(min-width:761px){
html[data-view=book] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])[data-care-panel]>.care-page-heading{grid-column:1/-1!important;justify-self:start!important;width:calc(50% - 14px)!important;max-width:calc(50% - 14px)!important;min-width:0!important;box-sizing:border-box!important;padding-right:24px!important;overflow:visible!important}
html[data-view=book] body #app .workspace-shell article.notebook #page[data-care-panel] .care-page-heading>.care-navigation{width:min(280px,100%)!important;min-width:0!important;max-width:100%!important;flex-shrink:1!important}
}
html body #app #page .mood-context-insight .context-summary{gap:10px!important}
html body #app #page .mood-context-insight .context-summary>span{display:inline-flex!important;align-items:center!important;gap:10px!important;padding:9px 12px!important;margin:0!important;border:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 22%,white)!important;border-radius:9px!important;background:color-mix(in srgb,var(--inside-accent,#85062f) 7%,white)!important;color:var(--text,#302830)!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important}
html body #app #page .mood-context-insight .context-summary>span>b{display:grid!important;place-items:center!important;min-width:24px!important;height:24px!important;padding:0 4px!important;border-radius:50%!important;box-sizing:border-box!important;background:var(--inside-accent,#85062f)!important;color:var(--inside-accent-ink,#fff)!important;font-size:13px!important;font-weight:700!important}
html[data-lighting=night] body #app #page .mood-context-insight .context-summary>span{background:#2b303c!important;border-color:#655a65!important;color:#f5f1f3!important}
html[data-lighting=night] body #app #page .mood-context-insight .context-summary>span>b{background:#e5c987!important;color:#29232a!important}
/* Mood has a pearl/champagne calendar finish, distinct from Habit history. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar{--mood-weekday-sheen:linear-gradient(120deg,#f7edda 0%,#fffefa 27%,#ead5a4 52%,#fff8e9 73%,#f1dde5 100%);gap:5px!important;padding:6px!important;background:var(--inside-paper,#fff)!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .calendar-weekday{background:var(--mood-weekday-sheen)!important;color:#761134!important;-webkit-text-fill-color:#761134!important;border:0!important;border-bottom:2px solid #c5a05a!important;border-radius:7px 7px 2px 2px!important;box-shadow:inset 0 1px 0 #fff!important;font-size:16px!important;font-weight:600!important;padding:12px 2px!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .day{border:0!important;border-bottom:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 20%,transparent)!important;border-radius:5px!important;background:linear-gradient(145deg,#ffffff00,#f7efd638)!important;box-shadow:none!important;transition:background .18s,box-shadow .18s!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .day:hover{background:color-mix(in srgb,var(--inside-accent,#85062f) 7%,white)!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .day.today{box-shadow:inset 0 -2px var(--inside-accent,#85062f)!important;background:color-mix(in srgb,var(--inside-accent,#85062f) 9%,white)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar{--mood-weekday-sheen:linear-gradient(120deg,color-mix(in srgb,var(--inside-accent) 12%,white),white,color-mix(in srgb,var(--inside-accent) 25%,white),color-mix(in srgb,var(--inside-accent) 8%,white))}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .calendar-weekday{color:var(--inside-accent)!important;-webkit-text-fill-color:var(--inside-accent)!important;border-bottom-color:var(--inside-accent)!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .calendar-weekday{background:linear-gradient(120deg,#3a2931,#5d4630,#34303d)!important;color:#f4dda5!important;-webkit-text-fill-color:#f4dda5!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .day{background:#121212!important;color:#fff!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .day.today{background:color-mix(in srgb,var(--inside-accent,#85062f) 24%,#121212)!important}
@media(max-width:480px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar{gap:3px!important;padding:0!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] .calendar .calendar-weekday{font-size:13px!important;padding:10px 0!important}}
html body #app #page .weekly-rituals .weekly-meter{height:16px!important;min-height:16px!important;border-radius:0!important;overflow:hidden!important}
html body #app #page .weekly-rituals .weekly-meter>i{display:block!important;height:100%!important;border-radius:inherit!important}
@media(max-width:480px){html body #app #page .weekly-rituals .weekly-meter{height:16px!important;min-height:16px!important}}
html body #app #page .entry-card .entry-open>.eyebrow{color:#8c672b!important;-webkit-text-fill-color:#8c672b!important;font-weight:600!important}
html[data-lighting=night] body #app #page .entry-card .entry-open>.eyebrow{color:#e4c984!important;-webkit-text-fill-color:#e4c984!important}
/* Editorial hierarchy: maroon leads, with restrained readable gold details. */
:root{--editorial-gold:#896324}
html[data-lighting=night]{--editorial-gold:#e4c984}
html[data-interior]:not([data-interior=Signature]):not([data-setup]){--editorial-gold:color-mix(in srgb,var(--inside-accent) 76%,#806126)}
html[data-lighting=night][data-interior]:not([data-interior=Signature]){--editorial-gold:color-mix(in srgb,var(--inside-accent) 35%,#f8e5b7)}
html body #app :is(.intro-tag,.snapshot-date>.eyebrow,.collection-heading .eyebrow,.direct-studio-heading .eyebrow,.feature-examples>b){color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #app #page :is(.history-tools-group>.eyebrow,.weekly-rituals .section-head .eyebrow,.growth-caption>.eyebrow,.dashboard-date,.chart-explainer){color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #app #page :is(.mood-context-insight>h3,.dashboard-reflection-invitation>h3,.habit-list-heading>h3){color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #app .direct-popover-heading>h2,html body #app .included-tools-heading>strong{color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #modal :is(.settings-section>h3,.settings-section>h4,.jar-panel-heading>h3,.jar-note-panel>h3,.jar-note-meta>small,#drawn-note-date,.weekly-date-range){color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #modal .template-grid>button:nth-child(2n) h3{color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
html body #app #page .entry-card .entry-open>.eyebrow{color:var(--editorial-gold)!important;-webkit-text-fill-color:var(--editorial-gold)!important}
/* Close the cover/spine joins instead of leaving white triangular gaps. */
html body .pearl-photo-object>.pearl-photo-back,html body .pearl-photo-object>.pearl-photo-front-board{left:12.7%!important;top:4.8%!important;width:74.6%!important;height:82.5%!important;box-sizing:border-box!important}
html body .pearl-photo-object>.pearl-photo-front-board{backface-visibility:visible!important;box-shadow:none!important;background:var(--display-book-color)!important}
html body .pearl-photo-object>.pearl-photo-spine{top:4.7%!important;height:82.7%!important;border-radius:0!important;width:calc(var(--display-book-depth) + 2px)!important}
html body .pearl-photo-object>.pearl-photo-top-edge,html body .pearl-photo-object>.pearl-photo-bottom-edge{left:12.7%!important;width:74.6%!important;height:calc(var(--display-book-depth) + 1px)!important;border:2px solid var(--display-book-color)!important;background-color:var(--display-book-color)!important}
html body .pearl-photo-object>.pearl-photo-top-edge{top:4.8%!important}
html body .pearl-photo-object>.pearl-photo-bottom-edge{top:87.2%!important}
html body #app .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon{width:58px!important;height:168px!important;min-width:58px!important;border:0!important;border-radius:6px!important;clip-path:none!important;background:linear-gradient(90deg,#00000012,transparent 12%,#ffffff16 65%,#00000010),var(--ribbon,#cf98ae)!important;box-shadow:inset 0 1px 1px #fff5,1px 2px 3px #0002!important;mask-image:radial-gradient(circle 4px at 50% 19px,transparent 3.5px,#000 4px)!important;-webkit-mask-image:radial-gradient(circle 4px at 50% 19px,transparent 3.5px,#000 4px)!important}
html body #app .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::before{content:''!important;display:block!important;position:absolute!important;left:calc(50% - 5.5px)!important;top:13.5px!important;width:11px!important;height:11px!important;inset-inline-end:auto!important;bottom:auto!important;border:1.5px solid #aa8b4d!important;border-radius:50%!important;background:transparent!important;box-shadow:0 1px 1px #fff8!important;box-sizing:border-box!important}
/* A periodic signature-color sheen, with a pause between passes. */
html body #app .home-hero .home-actions>[data-action=continue]::after{background:linear-gradient(100deg,transparent,#b14d7038,#fff2cf70,#cda64e55,transparent)!important;animation:continue-color-flow 8s ease-in-out 1s infinite!important;pointer-events:none!important}
@keyframes continue-color-flow{0%,68%{left:-55%;opacity:0}72%{opacity:1}94%{left:130%;opacity:1}100%{left:130%;opacity:0}}
@media(prefers-reduced-motion:reduce){html body #app .home-hero .home-actions>[data-action=continue]::after{animation:none!important;display:none!important}}
/* Fill weekly reflection cards with readable, centered metrics. */
@media(max-width:760px){html body #modal .weekly-stats>div{gap:12px!important;padding:16px 10px!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>span{font-size:17px!important;font-weight:600!important;min-height:36px!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>b{font-size:60px!important;line-height:1.05!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i{width:44px!important;height:44px!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i :is(svg,.live-icon){width:42px!important;height:42px!important}}
@media(max-width:480px){@media(max-width:760px){html body #modal .weekly-stats>div{padding:12px 5px!important;gap:9px!important}}@media(max-width:760px){html body #modal .weekly-stats>div>span{font-size:14px!important}}@media(max-width:760px){html body #modal .weekly-stats>div>b{font-size:46px!important}}@media(max-width:760px){html body #modal .weekly-stats>div>i{width:36px!important;height:36px!important}}@media(max-width:760px){html body #modal .weekly-stats>div>i :is(svg,.live-icon){width:34px!important;height:34px!important}}}
/* Larger exposed bookmarks on the closed preset book, still anchored in its pages. */
html body #app .photo-selected-bookmark{top:-24%!important;height:44%!important;width:18%!important;margin-left:-2%!important}
html body #app .photo-selected-bookmark:not(:has(img)){top:-18%!important;height:32%!important;width:11%!important;margin-left:-1%!important}
html body #app .photo-selected-bookmark[data-style="Braided cord"]{width:3.3%!important;margin-left:2%!important}

@media(min-width:761px){html body #app .direct-studio .direct-layout>.direct-popover.included-design-message{align-self:center!important;position:relative!important;top:auto!important;margin-block:auto!important;max-height:none!important}}
html body #app .included-design-message .direct-popover-body{padding:22px!important;text-align:center!important}
html body #app .included-design-message .direct-popover-body>p{font-size:15px!important;line-height:1.6!important;margin:0 auto 16px!important;max-width:420px!important}
html body #app .included-design-message .direct-popover-body>button{margin:0 auto!important}
html body #app .direct-book-surface .photo-selected-bookmark{top:-27%!important;height:48%!important;width:20%!important;margin-left:-3%!important}

html body #app .included-custom-action{display:flex;align-items:center;justify-content:center;gap:12px}html body #app .included-custom-action>svg{width:26px;height:26px;flex:none;color:var(--accent-deep,#85062f)}

html body #app .direct-studio .included-tools-heading,html body #app .experience-setup .included-tools-heading{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;text-align:center!important;width:100%!important;box-sizing:border-box!important;padding:14px 18px!important}
html body #app .included-tools-heading>strong{font-size:28px!important;line-height:1.2!important}
html body #app .included-tools-heading>span{font-size:18px!important;line-height:1.3!important}
@media(max-width:480px){html body #app .included-tools-heading>strong{font-size:24px!important}html body #app .included-tools-heading>span{font-size:16px!important}}

html body #app .experience-setup .privacy-callout{padding:14px 18px!important;margin:16px 0!important;min-height:0!important;gap:16px!important;align-items:center!important}
html body #app .experience-setup .privacy-callout>i{width:40px!important;height:40px!important;flex:0 0 40px!important}
html body #app .experience-setup .privacy-callout>i svg{width:36px!important;height:36px!important}
html body #app .experience-setup .privacy-callout>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 16px!important;align-items:center!important;min-width:0!important}
html body #app .experience-setup .privacy-callout h4{font-size:22px!important;line-height:1.2!important;margin:0!important;grid-column:1!important}
html body #app .experience-setup .privacy-callout p{font-size:14px!important;line-height:1.4!important;margin:0!important;grid-column:1!important}
html body #app .experience-setup .privacy-callout small{font-size:12px!important;line-height:1.4!important;margin:0!important;grid-column:1/-1!important}
html body #app .experience-setup .privacy-callout button{grid-column:2!important;grid-row:1/3!important;margin:0!important;min-height:34px!important;padding:7px 12px!important}

html body #app .included-custom-action{flex-wrap:wrap!important;row-gap:8px!important}
html body #app .included-custom-action>span{flex-basis:100%;text-align:center;font-size:14px;color:var(--text,#302830)}@media(max-width:480px){html body #app .included-custom-action{gap:8px;flex-wrap:wrap}}

html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane]>.journal-mobile-views{min-height:44px!important;height:auto!important;padding:8px 20px!important;margin:0!important;align-self:start!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button{border:1px solid transparent!important;border-image:none!important;border-radius:6px!important;outline:0!important;box-shadow:none!important;transform:none!important;clip-path:none!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed=true]{background:var(--accent-deep,#85062f)!important;color:#fff!important;border:1px solid #a24f69!important;border-image:none!important;box-shadow:inset 0 1px 0 #ffffff25!important}
html[data-view] body #app #page .journal-mobile-views>button::before,html[data-view] body #app #page .journal-mobile-views>button::after{display:none!important}
html body #app #page .history-tools-group{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important;align-self:start!important}
html body #app #page .history-tools-group>h3,html body #app #page .history-tools-group>.eyebrow{margin:0!important}
html body #app #page .history-tools-group>.fields{display:block!important;margin:0!important}
html body #app #page .history-tools-group #search{width:100%!important;box-sizing:border-box!important}
@media(min-width:761px){
html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]>.history{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto!important;gap:32px!important;align-items:start!important;padding-top:20px!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]>.history>.history-tools-group{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]>.history>#entry-list{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;margin:0!important}
}

html body #modal .template-grid .template-object-icon{display:block!important;width:58px!important;height:58px!important;margin-bottom:10px!important;background:none!important;border:0!important}html body #modal .template-grid .template-object-icon>svg{width:58px!important;height:58px!important;filter:none!important}html body #modal .template-grid>button:nth-child(2n) h3{color:#8c672b!important}html[data-lighting=night] body #modal .template-grid>button:nth-child(2n) h3{color:#e4c984!important}

html body #app .today-strip .daily-stat{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px auto!important;align-content:start!important;justify-items:center!important;gap:12px!important}
html body #app .today-strip .daily-stat>.daily-stat-icon{grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;height:48px!important;margin:0!important}
html body #app .today-strip .daily-stat>.daily-stat-copy{grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;margin:0!important}
html body #app .today-strip .daily-stat .daily-stat-copy>b{display:flex!important;align-items:center!important;justify-content:center!important;min-height:62px!important;margin:0!important;line-height:1.1!important}
@media(max-width:480px){html body #app .today-strip .daily-stat{grid-template-rows:40px auto!important;gap:8px!important}html body #app .today-strip .daily-stat>.daily-stat-icon{height:40px!important}html body #app .today-strip .daily-stat .daily-stat-copy>b{min-height:48px!important}}

html body #app .bookmark-style-options [data-bookmark-style="Woven ribbon"] .sample-ribbon{width:58px!important;min-width:58px!important;height:168px!important}
html body #app .bookmark-style-options :is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) .sample-ribbon:has([data-book-render]){background:none!important;box-shadow:none!important;border:0!important;mask:none!important;-webkit-mask:none!important;clip-path:none!important;overflow:visible!important}
html body #app .bookmark-style-options :is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) .sample-ribbon:has([data-book-render])::before,html body #app .bookmark-style-options :is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) .sample-ribbon:has([data-book-render])::after{display:none!important}
html body #app .bookmark-style-options .sample-ribbon>[data-book-render]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}

/* Book-wide design reveal, with restrained maroon and gold sparks. */
.journal-display>.wand-change-sparkles{inset:0;z-index:12;overflow:hidden}
.journal-display>.wand-change-sparkles>i:nth-child(n){left:var(--spark-x);top:var(--spark-y);--sx:0px;--sy:-22px;animation-delay:var(--spark-delay);font-size:22px;color:#bb9140}
.journal-display>.wand-change-sparkles>i:nth-child(3n){color:#85062f}
html body #app .tabs>button[data-go] .bookmark-label{font-weight:700!important;color:var(--ribbon-ink,#231c22)!important;-webkit-text-fill-color:var(--ribbon-ink,#231c22)!important}
html body #app .tabs>button[data-go] .ribbon-symbol,html body #app .tabs>button[data-go] .ribbon-symbol svg{color:var(--ribbon-ink,#231c22)!important;-webkit-text-fill-color:var(--ribbon-ink,#231c22)!important;filter:none!important;opacity:1!important}
html body #app .tabs>button[data-go] .ribbon-symbol svg{stroke:currentColor!important}
html[data-view=wide] body #app #page[data-layout=overview] .dashboard-details>.dashboard-reflection-invitation,html[data-view=full] body #app #page[data-layout=overview] .dashboard-details>.dashboard-reflection-invitation{grid-column:1/-1!important;width:100%!important;justify-self:center!important}
html body #modal :is(#jar-note-color,[data-note-color-edit],#jar-color){width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;flex:0 0 38px!important;aspect-ratio:1!important;box-sizing:border-box!important;border-radius:50%!important;padding:4px!important;box-shadow:inset 0 1px 2px #fff9,0 3px 6px #49301c25!important}
html body #modal :is(#jar-note-color,[data-note-color-edit],#jar-color)::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html body #modal :is(#jar-note-color,[data-note-color-edit],#jar-color)::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;background-image:linear-gradient(135deg,#ffffff88,transparent 52%,#00000014)!important;box-shadow:inset 0 2px 3px #fff5,inset 0 -2px 3px #0002!important}
/* Keep history tools compact so the entry list has the page. */
html[data-view] body #app #page .page-right.history{padding-top:20px!important}
html[data-view] body #app #page .history-tools-group{display:flex!important;flex-direction:column!important;gap:12px!important;margin:0 0 18px!important;padding:0!important;min-height:0!important;align-content:start!important}
html[data-view] body #app #page .history-tools-group> :is(h2,h3,p,.eyebrow,.history-top-controls,input,details){margin-top:0!important;margin-bottom:0!important}
html[data-view] body #app #page .history-tools-group :is(h2,h3){line-height:1.2!important}
html[data-view] body #app #page .history-filter-options{padding-block:0!important;min-height:0!important}
html[data-view] body #app #page .history-filter-options>summary{padding-block:6px!important;margin:0!important}
html[data-view] body #app #page .history-filter-fields{gap:12px!important;margin-top:6px!important;align-items:end!important}
html[data-view] body #app #page .history-filter-fields>label{margin:0!important;gap:6px!important}
html[data-view] body #app #page[data-journal-pane=history]>.journal-mobile-views{margin-bottom:14px!important;padding-block:8px!important;min-height:0!important}
html body #app .new-shelf .new-spine.selected,html body #app .new-shelf .real-shelf-row>.new-spine.selected{transform:translateY(-28px)!important;z-index:3!important}
html body #app .new-shelf .new-spine:not(.selected):hover{transform:translateY(-18px)!important}
html body #app .new-shelf .real-shelf-row{padding-top:32px!important}
html body #app #page .journal-mobile-views>button[aria-pressed=true]{border:1px solid transparent!important;border-image:none!important;background:linear-gradient(var(--accent-deep,#85062f),var(--accent-deep,#85062f)) padding-box,var(--selection-iridescence,linear-gradient(120deg,#85062f,#f5e8c7,#c5a04e,#85062f)) border-box!important;border-radius:6px!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views{border-bottom:1px solid var(--accent-edge,#d9a5b5)!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed=true]{border:1px solid transparent!important;background:linear-gradient(var(--accent-deep,#85062f),var(--accent-deep,#85062f)) padding-box,var(--selection-iridescence,linear-gradient(120deg,#85062f,#f5e8c7,#c5a04e,#85062f)) border-box!important}
html body #app .tabs>button[data-bookmark-ink=light] .ribbon-symbol .live-icon{filter:brightness(0) invert(1)!important}
html body #app .tabs>button .ribbon-symbol .icon-halo{display:none!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-object-art{object-fit:contain!important;object-position:center top!important}
/* Labels remain at the insertion edge while the bookmark itself lifts. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{top:auto!important;bottom:26px!important;translate:0 0!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(:hover,.active,[aria-current=page]) .bookmark-label{translate:0 12px!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(:hover,.active,[aria-current=page]) .bookmark-label{translate:0 12px!important}
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{bottom:22px!important}}

/* Paired dashboard pages: metrics, chart, then mood/reflection. */
@media(min-width:761px){
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;column-gap:0!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true]>.dashboard-heading{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px 22px!important;padding:22px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #app .dashboard-heading .dashboard-title{grid-row:1/3!important}
html body #app .dashboard-heading .dashboard-title h2{margin:0 0 8px!important}
html body #app .dashboard-heading .dashboard-period,html body #app .dashboard-heading .dashboard-range{margin:0!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true]>:is(.dashboard-intro,.dashboard-details){grid-column:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--dashboard-metric-height,205px) 300px auto!important;align-content:start!important;gap:24px!important;width:100%!important;padding:16px 22px 22px!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true] .clear-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0!important;gap:14px!important;align-items:stretch!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true] .clear-dashboard-cards>.dash-card{height:205px!important;min-height:205px!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true] :is(.journal-panel,.habits-panel){grid-column:1!important;grid-row:2!important;align-self:stretch!important;margin:0!important;padding-top:16px!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true] :is(.dashboard-mood-metrics,.dashboard-reflection-invitation){grid-column:1!important;grid-row:3!important;width:100%!important;align-self:start!important;margin:0!important;box-sizing:border-box!important}
}
@media(max-width:760px){
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true]{display:flex!important;flex-direction:column!important}
html[data-view] body #app #page[data-layout=overview][data-dashboard-balanced=true]>:is(.dashboard-intro,.dashboard-details){display:contents!important}
html body #app #page[data-dashboard-balanced=true]>.dashboard-heading{order:0;padding:14px!important;width:100%;box-sizing:border-box}
html body #app #page[data-dashboard-balanced=true] .clear-dashboard-cards{order:1;width:100%!important;padding:0 14px!important;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app #page[data-dashboard-balanced=true] .dashboard-secondary-cards{order:2;margin-top:12px!important}
html body #app #page[data-dashboard-balanced=true] .journal-panel{order:3}
html body #app #page[data-dashboard-balanced=true] .habits-panel{order:4}
html body #app #page[data-dashboard-balanced=true] .dashboard-mood-metrics{order:5}
html body #app #page[data-dashboard-balanced=true] .dashboard-reflection-invitation{order:6}
html body #app #page[data-dashboard-balanced=true] .dashboard-chart-panel,html body #app #page[data-dashboard-balanced=true] .dashboard-reflection-invitation{width:calc(100% - 28px)!important;margin:14px!important}
}
html body #app #page .weekly-rituals .weekly-meter,html body #app #page .weekly-rituals .weekly-meter>i{border-radius:999px!important}
html body #app #page .weekly-rituals .weekly-meter{overflow:hidden!important}
@media(min-width:761px){
html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{display:grid!important;grid-template-columns:minmax(70px,1fr) minmax(180px,280px)!important;align-items:center!important;column-gap:14px!important}
html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading>.care-navigation{width:100%!important;margin:0!important;max-width:280px!important;justify-self:end!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights]>.care-history-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto!important;gap:24px 28px!important;align-items:start!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .mood-insight-column{display:contents!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .mood-overview{grid-column:1!important;grid-row:1!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .feeling-timeline{grid-column:2!important;grid-row:1!important;height:100%!important;box-sizing:border-box!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .mood-context-insight{grid-column:1!important;grid-row:2!important;margin-top:0!important}
html[data-view] body #app #page[data-layout=mood][data-care-panel=insights] .consistency-panel{grid-column:2!important;grid-row:2!important;margin-top:0!important}
html body>.privacy-quick{right:52px!important}
}

html body #app .dashboard-heading{position:static!important;inset:auto!important;height:auto!important;min-height:0!important;box-shadow:none!important;transform:none!important}
html body #app .chart-value{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
html[data-lighting=night] body #app .panel-heading svg{color:#e5c787!important;stroke:currentColor!important}

@media(min-width:761px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=insights]>.care-history-row>.mood-insight-column{display:contents!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.mood-overview{grid-column:1!important;grid-row:1!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.feeling-timeline{grid-column:2!important;grid-row:1!important;height:100%!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.mood-context-insight{grid-column:1!important;grid-row:2!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=insights] .mood-insight-column>.consistency-panel{grid-column:2!important;grid-row:2!important}
}
html body #app #page[data-layout=mood] :is(.feeling-timeline>h3,.consistency-panel .section-head>h3){color:var(--editorial-gold,#8c672b)!important;-webkit-text-fill-color:var(--editorial-gold,#8c672b)!important}
html[data-lighting=night] body #app .consistency-scores>div>strong{color:color-mix(in srgb,var(--metric-color,#9c5a81) 45%,white)!important;-webkit-text-fill-color:color-mix(in srgb,var(--metric-color,#9c5a81) 45%,white)!important}
html[data-lighting=night] body #app :is(.mood-donut,.dashboard-mood-donut)>:is(span,div),html[data-lighting=night] body #app :is(.mood-donut,.dashboard-mood-donut)>:is(span,div) :is(b,strong,small,span){color:#fff7ef!important;-webkit-text-fill-color:#fff7ef!important}
@media(min-width:761px){html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{grid-template-columns:minmax(70px,1fr) minmax(160px,280px)!important}}
html[data-lighting=night] body #app .home-actions>[data-action=explore]{color:#ead39a!important;-webkit-text-fill-color:#ead39a!important}
html[data-lighting=night] #descaxora-header .main-navigation-button{background:#282d38!important;color:#ead39a!important;border-color:#55515a!important}
html[data-lighting=night] #descaxora-header .main-navigation-button span{color:#f7f1e8!important;-webkit-text-fill-color:#f7f1e8!important}
@media(min-width:761px) and (max-width:999px){html body>.privacy-quick{top:176px!important}html body>.privacy-minimize{top:182px!important}}

html body #modal .wand-cover-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html body #modal .wand-cover-gallery>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:14px;min-width:0;border:1px solid var(--accent-edge,#dfbec8);border-radius:10px}
html body #modal .wand-cover-gallery img{display:block;width:100%;height:180px;object-fit:contain}
html body #modal .wand-cover-gallery strong{font-size:15px;line-height:1.3;font-weight:700}
@media(max-width:760px){html body #modal .wand-cover-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html body #modal .wand-cover-gallery img{height:150px}html body #modal .wand-cover-gallery>button{padding:10px}}

/* Let the hanging bookmark clear the pedestal's upper rim. */
html[data-screen=home] body #app .home-hero .journal-display .display-halo{bottom:54px!important;z-index:0!important}
html body #app .setup-cover-display .display-halo{bottom:80px!important;z-index:0!important}
html body #app .journal-display>.book-wrap{z-index:2!important}
html[data-screen=home] body #app .home-hero .journal-display .display-halo::before{height:22px!important}
@media(max-width:760px){html[data-screen=home] body #app .home-hero .journal-display .display-halo{bottom:50px!important}html[data-screen=home] body #app .home-hero .journal-display .display-halo::before{height:18px!important}}

/* Keep the selected jar's single thin outline in the active palette. */
html body #modal:has(.jar-gallery) .jar-gallery>.jar-display-card:has(>button[aria-pressed=true]){border:1px solid transparent!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--selection-iridescence,linear-gradient(120deg,#85062f,#f7e8c7,#c5a04e,#85062f)) border-box!important;outline:none!important}
html[data-lighting=night] body #modal:has(.jar-gallery) .jar-gallery>.jar-display-card:has(>button[aria-pressed=true]){background:linear-gradient(#121212,#121212) padding-box,var(--selection-iridescence,linear-gradient(120deg,#85062f,#f7e8c7,#c5a04e,#85062f)) border-box!important}
html[data-setup] .direct-layout{overflow-anchor:none}

/* Category labels clear the paper edge; only their artwork enters the book. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(:hover,.active,[aria-current=page]) .bookmark-label{bottom:64px!important;z-index:5!important}
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label,html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(:hover,.active,[aria-current=page]) .bookmark-label{bottom:56px!important}}
html[data-view] body #app #page :is(.favorites-filter,.favorite-button)[aria-pressed=true]{color:var(--accent,#85062f)!important;-webkit-text-fill-color:var(--accent,#85062f)!important;background:transparent!important}
html[data-view] body #app #page :is(.favorites-filter,.favorite-button)[aria-pressed=true] svg{color:inherit!important;fill:currentColor!important;stroke:currentColor!important;filter:none!important}

html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)) .bookmark-label,html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(:hover,.active,[aria-current=page]) .bookmark-label{bottom:100px!important}
@media(max-width:760px){html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)) .bookmark-label,html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(:hover,.active,[aria-current=page]) .bookmark-label{bottom:80px!important}}

/* Compact history controls without shrinking their readable text. */
html[data-view] body #app .workspace-shell article.notebook #page .history{padding-top:12px!important;align-content:start!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-tools-group{gap:8px!important;margin:0!important;padding:0!important;min-height:0!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-tools-group>.fields{display:block!important;margin:0!important;padding:0!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-tools-group .history-top-controls{gap:10px!important;margin:0!important;align-items:center!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-filter-options{margin:0!important;padding:0!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-filter-options>summary{padding:6px 0!important;margin:0!important;min-height:28px!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-filter-options .split{gap:10px!important;margin:4px 0 0!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-filter-options label{gap:4px!important;margin:0!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]>.journal-mobile-views{padding:6px 0!important;margin:0 0 8px!important;min-height:0!important}
html[data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed=true]{border:1px solid transparent!important;border-image:none!important;background:linear-gradient(var(--accent-deep,#85062f),var(--accent-deep,#85062f)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#80032e,#b86d86,#fff7df,#c39b49,#80032e)) border-box!important;background-clip:padding-box,border-box!important;border-radius:6px!important;color:#fff!important;box-shadow:none!important}

html[data-view] body #app .workspace-shell article.notebook #page :is(.favorites-filter,.favorite-button)[aria-pressed=true],html[data-view] body #app .workspace-shell article.notebook #page :is(.favorites-filter,.favorite-button)[aria-pressed=true]>span{color:var(--accent,#85062f)!important;-webkit-text-fill-color:var(--accent,#85062f)!important}

html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]{grid-template-rows:max-content minmax(0,1fr)!important;align-content:start!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-journal-pane=history]>.history{padding-top:12px!important;align-content:start!important}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{position:relative!important;z-index:2!important;isolation:isolate!important;background:var(--inside-paper,#fff)!important;background-image:none!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{background:#121212!important}

@media(min-width:761px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview][data-dashboard-balanced=true]>.dashboard-heading{grid-row:1!important;grid-column:1/-1!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview][data-dashboard-balanced=true]>.dashboard-intro{grid-row:2!important;grid-column:1!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview][data-dashboard-balanced=true]>.dashboard-details{grid-row:2!important;grid-column:2!important}
}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;text-align:center!important;padding:20px 22px 24px!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading :is(.dashboard-title,.dashboard-period,.dashboard-range){margin:0!important;text-align:center!important;align-self:center!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading .dashboard-period{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{align-items:flex-start!important;text-align:left!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading :is(.dashboard-title,.dashboard-period,.dashboard-range){text-align:left!important;align-self:flex-start!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading .dashboard-period{align-items:flex-start!important}

.dashboard-mood-calendar{display:none}
html:is([data-view=wide],[data-view=full]) body #app #page .dashboard-mood-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
html:is([data-view=wide],[data-view=full]) body #app #page .dashboard-mood-calendar{display:block!important;min-width:0;padding:0 0 0 22px;box-sizing:border-box;border-left:1px solid #c5a04e40}
html body #app #page .dashboard-mood-calendar h3{margin:0 0 14px!important;color:var(--editorial-gold,#916b28);font-size:25px!important}
.dashboard-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.dashboard-calendar-grid .calendar-weekday{text-align:center;font-size:12px;padding:8px 2px;color:#81052e;background:linear-gradient(115deg,#fffaf0,#ebd9ae,#f6e9ed);border-radius:4px}
.dashboard-calendar-day{min-height:50px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-bottom:1px solid #c5a04e40;padding:4px;box-sizing:border-box}.dashboard-calendar-day small{font-size:11px}.dashboard-calendar-day>span{font-size:22px;line-height:1.2}
@media(max-width:760px){html:is([data-view=wide],[data-view=full]) body #app #page .dashboard-mood-metrics{grid-template-columns:minmax(0,1fr)!important}html:is([data-view=wide],[data-view=full]) body #app #page .dashboard-mood-calendar{border-left:0;padding:0;border-top:1px solid #c5a04e40;padding-top:16px}}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{grid-column:1/-1!important;grid-row:1!important;width:100%!important;box-sizing:border-box!important}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{gap:7px!important;padding-top:16px!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading .dashboard-range{margin-top:8px!important}

html body #app #page .dashboard-mood-calendar{border-top:3px solid transparent!important;border-image:none!important;position:relative}
html body #app #page .dashboard-mood-calendar::before{content:'';display:block;position:absolute;inset:-3px 0 auto;height:3px;background:var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e6c4,#c5a04e,#fff5da,#85062f));border-radius:3px}
html body #app #page .dashboard-mood-calendar h3{padding-top:12px!important}
html body #app #page .dashboard-calendar-grid .calendar-weekday{background:linear-gradient(115deg,#fff9ed 0%,#eedeb7 35%,#fffaf0 55%,#f2dde5 80%,#d5b875 100%)!important;box-shadow:inset 0 1px 0 #fff9;color:#81052e!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app #page .dashboard-calendar-grid .calendar-weekday{background:linear-gradient(115deg,color-mix(in srgb,var(--inside-accent) 15%,white),white,color-mix(in srgb,var(--inside-accent) 28%,white))!important;color:var(--inside-accent)!important}

html body #app #page .dashboard-calendar-grid .calendar-weekday,html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app #page .dashboard-calendar-grid .calendar-weekday{background:linear-gradient(#ffffffd6,#ffffffd6),var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e6c4,#c5a04e,#fff5da,#85062f))!important}
html body #app #page .dashboard-mood-calendar::before{background:linear-gradient(#ffffff66,#ffffff66),var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e6c4,#c5a04e,#85062f))!important}

html body #app #page[data-layout=overview] .readable-chart{display:flex!important;justify-content:space-evenly!important;align-items:stretch!important}
html body #app #page[data-layout=overview] .readable-chart>.chart-column{flex:1 1 0!important;min-width:0!important;max-width:48px!important}
html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-details>.dashboard-mood-metrics{grid-column:1/-1!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}

html[data-dashboard=Custom] body #app .dash-card.journal-card{--metric-color:var(--dash-journal)}html[data-dashboard=Custom] body #app .dash-card.habits-card{--metric-color:var(--dash-habits)}html[data-dashboard=Custom] body #app .dash-card.mood-card{--metric-color:var(--dash-mood)}html[data-dashboard=Custom] body #app .dash-card.tasks-card{--metric-color:var(--dash-tasks)}
html[data-dashboard=Custom] body #app #page .dash-card :is(strong,svg){color:var(--metric-color)!important;-webkit-text-fill-color:var(--metric-color)!important}
html[data-dashboard=Custom][data-lighting=night] body #app #page .dash-card :is(strong,svg){color:color-mix(in srgb,var(--metric-color) 65%,white)!important;-webkit-text-fill-color:color-mix(in srgb,var(--metric-color) 65%,white)!important}

html[data-interior]:not([data-interior=Signature]):not([data-setup]){--dx-iridescence:var(--selection-iridescence)}
html[data-color-harmony=rainbow]{--selection-iridescence:linear-gradient(115deg,#8961b5 0%,#79c5cd 24%,#f5dfaa 45%,#d991b4 67%,#9baee2 84%,#8961b5 100%)!important;--dx-iridescence:var(--selection-iridescence)}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app #page .chart-pillar{background:var(--selection-iridescence)!important}

/* Custom interiors use their palette, never the legacy blush UI defaults. */
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app .workspace-shell article.notebook{--accent-edge:color-mix(in srgb,var(--inside-accent,#85062f) 26%,var(--inside-paper,#fff));--muted:color-mix(in srgb,var(--inside-text,#352e40) 72%,var(--inside-paper,#fff))}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app .workspace-shell article.notebook :is(input:not([type=color]):not([type=checkbox]),textarea,select,button:not([aria-pressed=true]):not(.active):not(.selected)){border-color:var(--accent-edge)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]):not([data-lighting=night]) body #app .workspace-shell article.notebook :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--inside-text,#352e40) 63%,var(--inside-paper,#fff))!important;opacity:1!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app .workspace-shell article.notebook #page :is(.section-head h2,.care-page-heading h2){background:linear-gradient(110deg,var(--inside-accent,#85062f),color-mix(in srgb,var(--inside-accent,#85062f) 68%,#936b28),var(--inside-accent,#85062f))!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-lighting=night] body #app .workspace-shell article.notebook #page :is(.section-head h2,.care-page-heading h2){background:linear-gradient(110deg,color-mix(in srgb,var(--inside-accent,#85062f) 40%,white),#f0dba9,color-mix(in srgb,var(--inside-accent,#85062f) 40%,white))!important;background-clip:text!important;-webkit-background-clip:text!important}

html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading{padding-inline:22px!important;border-bottom:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 30%,var(--inside-paper,#fff))!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading .dashboard-title{width:auto!important;max-width:none!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading .dashboard-title h2{margin:0!important;padding:0!important;text-align:left!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-heading :is(.dashboard-period,.dashboard-period>span,.dashboard-range){margin-left:0!important;padding-left:0!important;text-align:left!important;justify-content:flex-start!important}
/* Pearl-light iridescent card edges retain a clean reading face. */
html body #modal .reflection-deck-stack .reflection-card,html body #modal .reflection-deck-stack .deck-back-card{border:3px solid transparent!important;background:linear-gradient(var(--inside-paper,#fff),var(--inside-paper,#fff)) padding-box,linear-gradient(#ffffffb8,#ffffffb8) border-box,var(--selection-iridescence,linear-gradient(110deg,#85062f,#f9ebc7,#c6a052,#85062f)) border-box!important;background-clip:padding-box,border-box,border-box!important;box-shadow:inset 0 0 0 1px #ffffffb0,1px 3px 0 color-mix(in srgb,var(--inside-accent,#85062f) 18%,white),3px 6px 12px #3b24351c!important}
html[data-lighting=night] body #modal .reflection-deck-stack .reflection-card,html[data-lighting=night] body #modal .reflection-deck-stack .deck-back-card{background:linear-gradient(#222632,#222632) padding-box,linear-gradient(#ffffff70,#ffffff70) border-box,var(--selection-iridescence) border-box!important}
/* Section titles share their content's left edge instead of stacking old indents. */
html[data-view] body #app .workspace-shell article.notebook #page .section-head{padding-inline:0!important;margin-inline:0!important;align-items:center!important}
html[data-view] body #app .workspace-shell article.notebook #page .section-head h2{margin-inline:0!important;padding-inline:0!important}
html[data-view=book] body #app .workspace-shell article.notebook #page :is(.section-head h2,.page-left>h2,.page-right>h2){margin-left:0!important;padding-inline:0!important;text-align:left!important}
/* Writing/History use a continuous sheen frame rather than border-image corners. */
html[data-interior][data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button{border:2px solid transparent!important;border-image:none!important;border-radius:6px!important;background:linear-gradient(var(--inside-paper,#fff),var(--inside-paper,#fff)) padding-box,var(--selection-iridescence,linear-gradient(110deg,#85062f,#f7e7bd,#b38b3c,#85062f)) border-box!important;background-origin:padding-box,border-box!important;background-clip:padding-box,border-box!important}
html[data-interior][data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button[aria-pressed=true][aria-pressed]{border:2px solid transparent!important;border-image:none!important;background:linear-gradient(var(--inside-accent,#85062f),var(--inside-accent,#85062f)) padding-box,var(--selection-iridescence,linear-gradient(110deg,#85062f,#f7e7bd,#b38b3c,#85062f)) border-box!important;color:var(--inside-onaccent,#fff)!important;-webkit-text-fill-color:var(--inside-onaccent,#fff)!important;box-shadow:0 1px 4px #42212b20!important}
html[data-lighting=night][data-interior][data-view] body #app .workspace-shell article.notebook #page .journal-mobile-views>button:not([aria-pressed=true]){background:linear-gradient(#121212,#121212) padding-box,var(--selection-iridescence) border-box!important;color:#fff!important}
/* A visible paper edge seats bookmarks in custom palettes as well. */
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-view] body #app .workspace-shell article.notebook>.page-spread{border-top:2px solid color-mix(in srgb,var(--inside-accent,#85062f) 65%,var(--inside-paper,#fff))!important;box-shadow:0 -2px 0 color-mix(in srgb,var(--inside-accent,#85062f) 16%,var(--inside-paper,#fff))!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-lighting=night][data-view] body #app .workspace-shell article.notebook>.page-spread{border-top-color:color-mix(in srgb,var(--inside-accent,#85062f) 55%,white)!important;box-shadow:0 -2px 0 #363b46!important}
/* Selection rises beyond hover; the label remains anchored at the page edge. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark .bookmark-label{width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;padding:7px 8px!important;white-space:nowrap!important;scale:1!important;transition:width .18s ease!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button.object-bookmark:is(.active,[aria-current=page]) .bookmark-label{width:calc(100% + 8px)!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;padding:7px 8px!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(.active,[aria-current=page]){transform:translateY(-24px)!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button:is(.object-bookmark,:not(.object-bookmark)):is(.active,[aria-current=page]) .bookmark-label{translate:0 24px!important}
.trash-book-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.trashed-book{gap:12px}

/* Category contrast and weight remain consistent for every bookmark style. */
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button[data-go] .bookmark-label{color:var(--ribbon-ink,#231c22)!important;-webkit-text-fill-color:var(--ribbon-ink,#231c22)!important;font-weight:700!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button[data-go]:is(.active,[aria-current=page]) .bookmark-label{font-weight:800!important}
html[data-view] body #app .workspace-shell article.notebook nav.tabs>button[data-bookmark-ink=light] .ribbon-symbol{color:#fff!important;-webkit-text-fill-color:#fff!important;filter:brightness(0) invert(1)!important}


/* Every wide/writing page has the same visible top paper edge. */
html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>.page-spread{border-top:2px solid color-mix(in srgb,var(--inside-accent,#85062f) 65%,var(--inside-paper,#fff))!important;box-shadow:0 -2px 0 color-mix(in srgb,var(--inside-accent,#85062f) 16%,var(--inside-paper,#fff))!important}
html:is([data-view=wide],[data-view=full])[data-lighting=night] body #app .workspace-shell article.notebook>.page-spread{border-top-color:color-mix(in srgb,var(--inside-accent,#85062f) 55%,white)!important}
html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>#page>:is(.task-view-nav,.journal-mobile-views,.care-section-tabs){margin-top:4px!important}


/* Custom page palettes own interface effects; brand artwork keeps its identity. */
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal){--accent:var(--inside-accent);--accent-deep:var(--inside-accent);--accent-soft:color-mix(in srgb,var(--inside-accent) 8%,var(--inside-paper));--accent-edge:color-mix(in srgb,var(--inside-accent) 26%,var(--inside-paper));--theme-shadow:color-mix(in srgb,var(--inside-accent) 16%,transparent);--theme-rule:color-mix(in srgb,var(--inside-accent) 24%,var(--inside-paper))}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app .home-hero .home-actions>button[data-action=continue]{border-color:color-mix(in srgb,var(--inside-accent) 60%,var(--inside-paper))!important;box-shadow:inset 0 1px 0 #ffffff35,0 5px 12px var(--theme-shadow)!important;background:var(--inside-accent)!important;color:var(--inside-onaccent)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app .home-hero .home-actions>button[data-action=continue]::after{background:linear-gradient(100deg,transparent,color-mix(in srgb,var(--inside-accent) 30%,transparent),#ffffff70,color-mix(in srgb,var(--inside-accent) 20%,white),transparent)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal) :is(input:not([type=color]):not([type=checkbox]):not([type=range]),textarea,select){border-color:var(--theme-rule)!important;box-shadow:inset 0 1px 3px #18202a08!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal) :is(input,textarea,select):focus{border-color:var(--inside-accent)!important;outline-color:var(--inside-accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--inside-accent) 16%,transparent)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]):not([data-lighting=night]) body :is(#app,#modal) :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--inside-text) 62%,var(--inside-paper))!important;opacity:1!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal) :is(button.primary,.home-studio>button,.home-experiences>button){border-color:var(--theme-rule)!important;box-shadow:inset 0 1px #ffffff30,0 3px 8px #18202a16!important}

html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal) :is(.next-task,.entry-card,.history-tools-group,.jar-details,.jar-note-composer){border-color:var(--theme-rule)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-lighting=night] body :is(#app,#modal){--theme-rule:color-mix(in srgb,var(--inside-accent) 35%,#535966);--accent-edge:var(--theme-rule)}


/* The design invitation keeps its maroon/gold identity, without a button surface. */
html[data-screen=home][data-interior] body #app .hero-links>button[data-action=personalize]{background:none!important;border:0!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important}
html[data-screen=home][data-interior] body #app .hero-links>button[data-action=personalize]>.design-link-label{background:linear-gradient(110deg,#81052e 0%,#94123d 28%,#a57a29 44%,#c39a43 53%,#9c7025 61%,#81052e 78%,#81052e 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;opacity:1!important}
html[data-screen=home][data-interior] body #app .hero-links>button[data-action=personalize]>svg{color:#81052e!important;stroke:currentColor!important;opacity:1!important}
html[data-screen=home][data-interior][data-lighting=night] body #app .hero-links>button[data-action=personalize]>.design-link-label{background-image:linear-gradient(110deg,#efb5c7 0%,#e1bf74 45%,#fff0c8 54%,#e1bf74 64%,#efb5c7 100%)!important}
html[data-screen=home][data-interior][data-lighting=night] body #app .hero-links>button[data-action=personalize]>svg{color:#ecd192!important}


/* Custom accents also govern secondary decorative layers and focus feedback. */
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body #app #page .dash-card::after{background:linear-gradient(110deg,transparent 30%,#ffffff99 45%,color-mix(in srgb,var(--inside-accent) 18%,transparent) 50%,#ffffff55 54%,transparent 66%)!important;background-size:300% 100%!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body .mode-current::before{color:var(--inside-accent)!important}
html[data-interior]:not([data-interior=Signature]):not([data-setup])[data-lighting=night] body #app #page[data-layout=mood] .consistency-scores>div{--rhythm-color:color-mix(in srgb,var(--inside-accent) 40%,white)}
html[data-interior]:not([data-interior=Signature]):not([data-setup]) body :is(#app,#modal) button:focus-visible{outline-color:var(--inside-accent)!important}


/* Setup chrome belongs to DescaXora; preview colors remain local to their samples. */
html[data-setup=true]{
 --inside-paper:#fffefa!important;--inside-accent:#81052e!important;--inside-text:#352e40!important;--inside-onaccent:#fff!important;
 --accent:#81052e!important;--accent-deep:#650323!important;--accent-soft:#fbf5f6!important;--accent-edge:#dfc8c9!important;
 --ink:#432b36!important;--muted:#826a73!important;--paper:#fffefa!important;--surface:#fff!important;
 --editorial-gold:#896324!important;--theme-shadow:#81052e24!important;--theme-rule:#dfc8c9!important;
 --selection-iridescence:linear-gradient(115deg,#80032e 0%,#b86d86 22%,#fff7df 43%,#c39b49 61%,#f8e8bb 78%,#80032e 100%)!important;
 --dx-iridescence:var(--selection-iridescence)!important;
}
/* Setup keeps a readable brand header even when opened from night mode. */
html[data-setup=true] body>header#descaxora-header{background:#fffefa!important;border-bottom-color:#d9bd83!important}
html[data-setup=true] body #descaxora-header .brand-name,html[data-setup=true] body #descaxora-header .cloud-account-button{color:#81052e!important;-webkit-text-fill-color:#81052e!important}

/* Keep the three color routes available after automatic matching. */
html body #app .page-color-routes button{font-size:14px!important;min-height:48px!important;padding:10px 12px!important}html body #app .page-color-routes small{font-size:12px!important}.direct-studio .signature-page-note{padding:0!important;border:0!important;background:none!important;font-size:13px!important;margin:12px 0!important}.direct-studio .page-color-approach h3{font-size:24px!important}

.section-focus-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.section-focus-routes button{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left;padding:12px!important;height:auto!important;min-height:78px}.section-focus-routes small{font-size:12px;line-height:1.4}.section-focus-routes [aria-pressed=true]{background:#81052e!important;color:#fff!important}.experience-tool-details[hidden],.bookmark-colors-choice[hidden]{display:none!important}.selected-section-summary{font-size:12px;color:#756369}.experience-setup>h3{margin-bottom:12px}

.sound-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:10px 0!important;background:transparent!important;border:0!important;min-height:0!important}.sound-toggle>span{display:flex!important;align-items:center!important;gap:12px!important}.sound-toggle input[role=switch]{appearance:none!important;position:relative;width:42px!important;height:24px!important;flex:0 0 42px;border:0!important;border-radius:20px!important;background:#a5a2a5!important;margin:0!important;cursor:pointer}.sound-toggle input[role=switch]:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:white;transition:transform .15s}.sound-toggle input[role=switch]:checked{background:#81052e!important}.sound-toggle input[role=switch]:checked:after{transform:translateX(18px)}

html body #app .page-color-routes [data-page-color-mode=signature] small{color:#fff8e8!important;text-shadow:0 1px 2px #420617!important}

/* Selected setup cards must retain readable descriptions on maroon. */
html body [data-setup] .category-approach button[aria-pressed="true"] small,html body .direct-studio [data-bookmark-group][aria-pressed="true"] small,html body .direct-studio [data-bookmark-group][aria-pressed="true"] span,html body .direct-studio [data-experience-preset][aria-pressed="true"] small{color:#fff4df!important;opacity:1!important;text-shadow:none!important}

.charm-color-controls{margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid #ddc699}.charm-color-controls h3{margin:0 0 5px;color:#886120;font-size:22px}.charm-color-controls>small{display:block;margin-bottom:10px;color:#68545d;line-height:1.4}.charm-color-controls .direct-metal-finishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.charm-color-controls .direct-metal-finishes button{min-width:0;padding:8px;font-size:12px}.charm-color-controls>label{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0 0}

html body #modal:has(.jar-gallery) .modal-body>:is(.jar-top-actions,.jar-note-panel){grid-column:1/-1!important}.jar-top-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.jar-top-actions h3{margin:0;min-width:0;font-size:22px;color:var(--editorial-gold,#886120)}html body #modal .jar-add-top{flex:0 0 auto;width:auto!important;height:auto!important;min-height:36px!important;padding:8px 12px!important;font-size:13px!important}.jar-top-actions+.jar-note-panel{margin-top:0!important}

html body #modal .jar-book-origin{display:inline-block;font-size:11px;line-height:1.25;font-weight:600;color:var(--accent,#85062f);padding:3px 8px;border-radius:12px;background:color-mix(in srgb,var(--accent,#85062f) 10%,var(--surface,#fff))}.jar-from-current-book{position:relative}.jar-from-current-book:before{content:"";position:absolute;left:12px;right:12px;top:0;height:3px;background:var(--selection-iridescence,linear-gradient(110deg,#85062f,#f2dfb8,#b58a35));border-radius:4px;pointer-events:none}

/* Paper is fully concealed before the flap closes; reverse remains usable for opening. */
@keyframes capsule-paper-contained{0%,10%{transform:translateY(-28px);opacity:1;visibility:visible}50%{transform:translateY(78px);opacity:1;visibility:visible}55%,100%{transform:translateY(78px);opacity:0;visibility:hidden}}
html body .motion-paper{animation-name:capsule-paper-contained!important;animation-duration:1.9s!important;animation-fill-mode:both!important}html body .letter-unfold .motion-paper{animation-direction:reverse!important}html body .motion-seal svg{display:block;width:23px;height:23px;margin:auto;filter:drop-shadow(0 1px 0 #fff5)}

html body #modal .jar-display-card{position:relative}html body #modal .jar-expand-notes{position:absolute;top:6px;right:6px;width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;z-index:3;border:0!important;background:var(--surface,#fff)!important;box-shadow:none!important;border-radius:6px!important}html body #modal .jar-expand-notes svg{width:20px;height:20px;display:block}html body #modal .modal-body.jar-notes-focused{display:block!important}html body #modal .jar-notes-focused>:is(p,.jar-gallery,.jar-top-actions,.jar-note-panel,.jar-details-panel,.jar-draw-result){display:none!important}.jar-notes-focus-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.jar-notes-focus-heading h3{margin:0;color:var(--editorial-gold,#886120);font-size:23px}

.capsule-seal-mode{margin:14px 0;padding:10px 12px;border:1px solid var(--accent-edge,#dcc6cc);border-radius:8px}.capsule-seal-mode legend{font-weight:600;color:var(--editorial-gold,#886120)}.capsule-seal-mode label{display:block;margin:8px 0!important;font-size:14px}.capsule-seal-mode small{display:block;padding-left:24px;font-size:12px;line-height:1.4}

.jar-shuffling .jar-notes i{animation:jar-slip-shuffle .65s calc(var(--n,0)*-60ms) ease-in-out 3!important;transform-origin:center!important}@keyframes jar-slip-shuffle{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(10px,-16px) rotate(38deg)}65%{transform:translate(-10px,-7px) rotate(-35deg)}}@media(prefers-reduced-motion:reduce){.jar-shuffling .jar-notes i{animation:none!important}}

.cloud-save-success:before{content:"✓ ";color:#23805b;font-weight:700}.cloud-save-success{font-weight:600!important}.action-toast{z-index:2147483000!important}

.capsule-home-reminder{display:block!important;margin:12px 0!important;padding:9px 14px!important;max-width:100%;font-size:14px!important;line-height:1.4!important;color:var(--accent,#81052e)!important;background:var(--surface,#fff)!important;border:1px solid var(--accent-edge,#d3b98a)!important;animation:capsule-reminder-arrive .6s 3s both}.capsule-ready-celebration:before,.capsule-ready-celebration:after{content:"✦";display:inline-block;margin:0 7px;color:#a77b2c;animation:capsule-reminder-spark 1s 3.6s 3}@keyframes capsule-reminder-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes capsule-reminder-spark{50%{transform:scale(1.3) rotate(25deg)}}@media(prefers-reduced-motion:reduce){.capsule-home-reminder,.capsule-ready-celebration:before,.capsule-ready-celebration:after{animation:none!important}}

html body .capsule-ready-celebration{display:flex!important;align-items:center;gap:12px;text-align:left;animation:capsule-envelope-swoop 1.2s 3s both!important;overflow:visible}.capsule-ready-celebration>img{width:92px;height:78px;object-fit:contain;flex:0 0 92px;filter:drop-shadow(0 6px 5px #35202b30)}.capsule-ready-celebration>span{min-width:0}.capsule-ready-celebration b,.capsule-ready-celebration small,.capsule-ready-celebration em{display:block}.capsule-ready-celebration small{font-size:12px;margin-top:4px;overflow-wrap:anywhere}.capsule-ready-celebration em{font-size:11px;margin-top:5px;color:var(--editorial-gold,#886120)}html body .capsule-ready-celebration:before{display:none}.capsule-ready-celebration:after{position:absolute;right:7px;top:5px}.capsule-ready-celebration{position:relative}@keyframes capsule-envelope-swoop{0%{opacity:0;transform:translate(24px,65px) rotate(-9deg)}70%{opacity:1;transform:translate(-3px,-5px) rotate(2deg)}100%{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){html body .capsule-ready-celebration{animation:none!important}}

html body .capsule-ready-celebration{flex-direction:column!important;justify-content:center;text-align:center!important;gap:6px!important;padding:14px!important}html body .capsule-ready-celebration>img{width:126px;height:100px;flex:0 0 auto}.capsule-ready-celebration>small{font-size:13px;overflow-wrap:anywhere}.capsule-ready-celebration>em{font-size:11px;color:var(--editorial-gold,#886120)}

/* Final review, detail history, settings search, and notices. */
html body .direct-studio.design-final-review .direct-layout{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)!important;gap:26px!important;align-items:start!important}.review-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.review-previews figure{margin:0;min-width:0}.review-previews figcaption{text-align:center;font-size:15px;font-weight:600;color:#886120;margin-bottom:12px}.review-previews .review-book{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:360px!important;max-width:260px!important;margin:16px auto!important}.review-previews .review-single-page{min-height:360px!important;height:360px!important;padding:20px!important;box-sizing:border-box;box-shadow:0 5px 14px #38232a16!important}.review-single-page h3{font-size:23px!important}.review-single-page .paper-detail-ruling{height:230px!important;min-height:0!important}.review-choice-list h2{font-size:28px;color:#886120;margin:0 0 16px}.review-choice-row{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e4d8c2}.review-choice-row>div{min-width:0}.review-choice-row b,.review-choice-row small{display:block}.review-choice-row b{font-size:15px;color:#81052e}.review-choice-row small{font-size:12px;line-height:1.5;color:#65535b;margin-top:3px;overflow-wrap:anywhere}.review-choice-row button{flex:0 0 auto;padding:7px 12px!important;min-height:34px!important}.design-history-controls{display:flex;gap:6px;margin-left:auto}.design-history-controls button{width:32px;height:32px;min-height:32px!important;padding:6px!important;border:0!important;box-shadow:none!important;background:transparent!important}.design-history-controls svg{width:20px;height:20px;display:block}.design-history-controls button:disabled{opacity:.35}.return-to-review{font-size:12px!important;padding:8px 10px!important}.settings-search{margin:0 0 16px!important;font-size:13px}.settings-search input{margin-top:6px!important;width:100%;box-sizing:border-box}.settings-list [hidden]{display:none!important}.settings-list .settings-action[hidden]{display:none!important}.today-notices-list>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:14px 0!important;border:0!important;border-bottom:1px solid var(--accent-edge,#e1d2b4)!important;box-shadow:none!important;background:transparent!important}.today-notices-list b,.today-notices-list small{display:block}.today-notices-list small{font-size:12px;margin-top:5px}.home-notice-area{max-width:400px;margin-top:10px}.all-notices-link{border:0!important;box-shadow:none!important;background:none!important;color:var(--editorial-gold,#886120)!important;padding:6px 0!important;font-size:13px!important}.notice-already-seen,.notice-already-seen:after{animation:none!important}.account-sync-status{padding:12px 0;margin-bottom:14px;border-block:1px solid var(--accent-edge,#e2d3bd)}.account-sync-status>b{font-size:15px;color:#886120}.account-sync-status p{margin:6px 0!important}.account-sync-status small{font-size:12px;color:var(--muted,#68545c)}
@media(max-width:1000px){html body .direct-studio.design-final-review .direct-layout{grid-template-columns:1fr!important}.review-previews{max-width:650px;width:100%;margin:auto}}@media(max-width:520px){.review-previews{grid-template-columns:1fr!important}.review-previews .review-book{height:370px!important;width:250px!important}.review-previews .review-single-page{max-width:320px!important;margin:auto}.design-history-controls{gap:3px}.review-choice-list h2{font-size:25px}.direct-studio.design-final-review{padding-bottom:90px!important}}

html body #app #dashboard-reminders{grid-column:1/-1!important;position:relative;z-index:2;background:var(--inside-paper,#fff);padding:20px 24px!important;border-top:1px solid var(--accent-edge,#e4d8c2);margin-top:20px;scroll-margin-top:24px}#dashboard-reminders h3{font-size:25px;color:var(--editorial-gold,#886120);margin:0 0 6px}#dashboard-reminders>p{font-size:12px;margin:0 0 8px}#dashboard-reminders>button{display:flex!important;justify-content:space-between;align-items:center;width:100%;padding:13px 0!important;border:0!important;border-bottom:1px solid var(--accent-edge,#e4d8c2)!important;background:none!important;box-shadow:none!important;text-align:left}#dashboard-reminders b{margin-left:5px;color:var(--accent,#81052e)}

html body #app #dashboard-reminders{border-top:3px solid transparent!important;border-image:var(--selection-iridescence,linear-gradient(110deg,#85062f,#f6e9ca,#be953e,#85062f)) 1!important;background:linear-gradient(120deg,color-mix(in srgb,var(--inside-accent,#85062f) 3%,var(--inside-paper,#fff)),var(--inside-paper,#fff))!important}html body #dashboard-reminders>button{gap:14px!important}.reminder-kind-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;color:var(--inside-accent,#85062f)}.reminder-kind-icon>svg,.reminder-kind-icon .live-icon{width:34px!important;height:34px!important;max-width:100%;display:block}.reminder-kind-copy{flex:1;min-width:0;font-size:16px}html body #dashboard-reminders .reminder-kind-copy b{display:inline-block;font-family:var(--font-display,Georgia);font-size:23px;font-weight:600;margin-left:8px}html body .design-final-review .direct-secondary{display:none!important}

html body .guided-setup-steps{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;margin:20px 0!important}html body .guided-setup-steps>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:10px 6px!important;min-height:76px!important;color:#81052e!important;background:#fffdf8!important;border:1px solid #d5b678!important;border-image:none!important;border-radius:9px!important;box-shadow:inset 0 1px 0 #fff!important;min-width:0!important}html body .guided-setup-steps>button>svg{width:21px!important;height:21px!important;flex:none!important;color:#9a7229!important;stroke:#9a7229!important;opacity:1!important;filter:drop-shadow(0 1px 0 #fff8)}.guide-step-caption{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;line-height:1.25;min-width:0}.guide-step-caption>span{min-width:0}.guide-step-number{display:grid;place-items:center;flex:0 0 21px;width:21px;height:21px;border-radius:50%;background:#f4e8cd;color:#805b1d;font-size:11px!important;font-variant-numeric:tabular-nums}html body .guided-setup-steps>button[aria-current=step]{border:2px solid transparent!important;background:linear-gradient(125deg,#fff9e9,#f8e9ed,#fff8e2) padding-box,linear-gradient(110deg,#81052e,#d4ae58,#fff1cc,#a07525,#81052e) border-box!important;color:#81052e!important;box-shadow:0 3px 9px #81532318,inset 0 1px 0 #fff!important;font-weight:700!important}html body .guided-setup-steps>button[aria-current=step]>svg{color:#916619!important;stroke:#916619!important;filter:drop-shadow(0 1px 0 #fff)}html body .guided-setup-steps>button[aria-current=step] .guide-step-number{background:linear-gradient(130deg,#a1772e,#f5e4aa,#b58a36);color:#4c340d}@media(max-width:900px){html body .guided-setup-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important}.guide-step-caption{font-size:11px}}@media(max-width:460px){html body .guided-setup-steps{gap:6px!important}.guide-step-caption{gap:4px;font-size:10px}.guide-step-number{width:17px;height:17px;flex-basis:17px;font-size:10px!important}html body .guided-setup-steps>button{padding:8px 4px!important;min-height:74px!important}}

html body .guided-setup-steps>button>.numbered-step-crown{width:42px!important;height:38px!important;fill:#fbf1d9!important;stroke:#a17c35!important;stroke-width:1.5!important}.numbered-step-crown text{fill:#81052e;stroke:none;font-family:Arial,sans-serif;font-size:14px;font-weight:700}html body .guided-setup-steps>button[aria-current=step]>.numbered-step-crown{fill:#e6cd8c!important;stroke:#8a601b!important;filter:drop-shadow(0 2px 2px #9c783c30)}html body .guided-setup-steps>button{min-height:88px!important;gap:5px!important}html body .guided-setup-steps>button .guide-step-caption{font-weight:600!important;line-height:1.3!important}@media(max-width:460px){html body .guided-setup-steps>button>.numbered-step-crown{width:36px!important;height:33px!important}html body .guided-setup-steps>button{min-height:82px!important}}

html body .guided-setup-steps .numbered-step-crown text{font-weight:900!important;font-size:15px!important;fill:#700326!important;stroke:#700326!important;stroke-width:.25px!important;paint-order:stroke fill}

html body .detail-next-arrow{display:flex!important;align-items:center;justify-content:center;margin:10px 0 0 auto!important;width:38px!important;height:34px!important;min-height:34px!important;padding:6px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#946e29!important}.detail-next-arrow svg{width:25px;height:25px}.detail-next-arrow:hover{background:#f6eddb!important;border-radius:6px}

html body #modal .modal-body .settings-list .settings-action[hidden],html body #modal .modal-body .settings-list h3[hidden]{display:none!important}

.cover-color-first{padding:4px 0 16px;margin-bottom:12px;border-bottom:1px solid #dcc492}.cover-color-first h3{font-size:23px!important;color:#886120!important;margin:0 0 10px!important}.cover-color-first .simple-color-choice{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0!important}.cover-color-first small{display:block;font-size:12px;line-height:1.45;margin-top:4px}.cover-color-first input[type=color]{flex:0 0 42px;width:42px;height:42px;aspect-ratio:1;border-radius:50%}

.metal-choice-hint{font-size:13px;line-height:1.5;margin:12px 0!important}.metal-finish-control .direct-metal-finishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.metal-finish-control .direct-metal-finishes button{min-width:0!important;font-size:12px!important;padding:9px 6px!important}.metal-finish-control>label:has(#cover-custom-foil){display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0;margin:8px 0!important;font-weight:600;color:#886120}

html body .direct-metal-finishes>.custom-metal-swatch{display:grid!important;place-items:center!important;justify-self:center;align-self:center;width:42px!important;height:42px!important;padding:3px!important;margin:4px!important;box-sizing:border-box;border-radius:50%!important;background:conic-gradient(#b95587,#d9b35a,#79aa9b,#659dc5,#a77bc0,#b95587)!important;cursor:pointer}html body .custom-metal-swatch>input[type=color]{width:34px!important;height:34px!important;min-height:0!important;aspect-ratio:1;padding:0!important;margin:0!important;border:2px solid white!important;border-radius:50%!important;box-shadow:none!important}

html body #app .direct-studio .direct-popover .direct-metal-finishes>label.custom-metal-swatch{width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:1!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;padding:3px!important;justify-self:center!important}html body #app .direct-studio .custom-metal-swatch>input[type=color]{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important}.metal-finish-control>.gilded-edges-switch{display:flex!important;align-items:center;justify-content:space-between;gap:12px;text-align:left!important;padding:10px 0!important}.metal-finish-control>.gilded-edges-switch input{width:auto!important;flex:0 0 auto!important;margin:0!important}

/* Keep the step action beside the options, independent of preview height. */
html body #app .direct-popover-body>.guided-setup-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:14px 0 0!important;padding:12px 0 2px!important;min-height:0!important;border-top:1px solid #e7dac4;background:transparent!important;position:static!important;width:100%!important;box-sizing:border-box!important}
html body #app .direct-popover-body>.guided-setup-actions button{min-height:38px!important;margin:0!important}

/* Clear spacing and guidance for multiple section choices. */
html body #app .direct-popover-body .section-selection-help{display:grid!important;gap:5px!important;margin:18px 0 12px!important;line-height:1.5!important;font-size:14px!important}
html body #app .section-selection-help strong{font-weight:600;color:#81052e}
html body #app .section-selection-help span{font-size:13px;color:#66535b}
html body #app .category-full-choices .setup-selection-count{margin:0 0 16px!important;padding:10px 14px!important;line-height:1.5!important}

/* Retain the three choices, sized to their content. */
html body #app .direct-studio .page-color-routes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:9px!important;margin:10px 0 14px!important}
html body #app .direct-studio .page-color-routes>button{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:4px!important;min-width:0!important;min-height:0!important;height:auto!important;padding:9px 10px!important;text-align:left!important;transform:none!important}
html body #app .direct-studio .page-color-routes>button>b{font-size:14px!important;line-height:1.35!important}
html body #app .direct-studio .page-color-routes>button>small{font-size:12px!important;line-height:1.4!important}
@media(max-width:420px){html body #app .direct-studio .page-color-routes{grid-template-columns:1fr!important}html body #app .direct-studio .page-color-routes>button{padding:9px 11px!important}}

/* Only Match my cover uses a neutral, iridescent selected choice. */
html body #app .direct-studio .direct-popover-body .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true]{background:linear-gradient(#fffcf6,#fffcf6) padding-box,linear-gradient(115deg,#81052e,#c48d9c 24%,#fff0d1 45%,#c49a45 65%,#81052e) border-box!important;border:2px solid transparent!important;border-radius:9px!important;outline:none!important;box-shadow:0 2px 5px #6d4d2412!important;color:#81052e!important;text-shadow:none!important}
html body #app .direct-studio .direct-popover-body .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true] b{color:#81052e!important;text-shadow:none!important}
html body #app .direct-studio .direct-popover-body .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true] small{color:#66535b!important;text-shadow:none!important}
html body #app .direct-studio .direct-popover-body .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true]:before,html body #app .direct-studio .direct-popover-body .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true]:after{display:none!important}

.bookmark-preview-colors{max-width:460px;width:100%;margin:14px auto 18px;padding:0 12px;box-sizing:border-box;text-align:center}.bookmark-preview-colors h3{margin:0 0 5px!important;font-size:21px!important;color:#886120!important}.bookmark-preview-colors p{margin:0 0 12px!important;font-size:13px!important}.bookmark-preview-colors .two-choice-row{display:flex;justify-content:center;gap:10px}.bookmark-preview-colors .two-choice-row button{min-height:38px!important;padding:8px 14px!important}.bookmark-preview-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.bookmark-preview-color-fields label{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin:0!important;font-size:13px!important}.bookmark-preview-color-fields input{width:34px!important;height:34px!important;flex:0 0 34px}
html body #app .direct-studio>.guided-setup-actions{width:min(100%,780px)!important;margin:14px auto 0!important;padding:0!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=shelf]>.guided-setup-actions{max-width:780px!important}

/* Informational headings breathe without another enclosing card. */
html body #app .experience-setup .included-tools-heading,html body #modal .experience-setup .included-tools-heading{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex-wrap:wrap!important;background:none!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;padding:6px 0!important;margin:18px 0 16px!important;min-height:0!important;text-align:center!important}
html body #app .experience-setup .included-tools-heading strong,html body #modal .experience-setup .included-tools-heading strong{font-family:Atelier Display,Georgia,serif!important;font-size:25px!important;color:#926821!important;line-height:1.3!important}
html body #app .experience-setup .included-tools-heading span,html body #modal .experience-setup .included-tools-heading span{font-size:15px!important;color:#81052e!important}
html body #app .experience-setup .included-tools-heading:before,html body #app .experience-setup .included-tools-heading:after,html body #modal .experience-setup .included-tools-heading:before,html body #modal .experience-setup .included-tools-heading:after{content:''!important;display:block!important;position:static!important;inset:auto!important;transform:none!important;flex:0 1 42px!important;width:42px!important;height:1px!important;min-height:0!important;background:linear-gradient(90deg,#b48b44,#ead8b2)!important;border:0!important;box-shadow:none!important;animation:none!important}

/* Match the compact section switches; avoid inherited circular inputs. */
html body #app .direct-studio .direct-popover-body .sound-toggle{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;max-width:420px!important;margin:12px auto!important;padding:10px 0!important;background:none!important;border:0!important}
html body #app .direct-studio .direct-popover-body .sound-toggle input[role=switch]{appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;order:2!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:24px!important;min-height:24px!important;max-height:24px!important;flex:0 0 42px!important;border:0!important;border-radius:20px!important;background:#bcb6bd!important;padding:0!important;margin:0!important;box-shadow:inset 0 1px 3px #0002!important;transform:none!important}
html body #app .direct-studio .direct-popover-body .sound-toggle input[role=switch]:checked{background:#81052e!important}
html body #app .direct-studio .direct-popover-body .sound-toggle input[role=switch]:after{content:''!important;display:block!important;position:absolute!important;inset:3px auto auto 3px!important;width:18px!important;height:18px!important;border-radius:50%!important;background:white!important;transform:none!important}
html body #app .direct-studio .direct-popover-body .sound-toggle input[role=switch]:checked:after{transform:translateX(18px)!important}
html body #app .direct-studio .more-sounds>summary{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#926821!important;font-weight:600!important}
.sound-customize-icon{width:21px!important;height:21px!important;flex:0 0 21px!important}

/* All setup footers align with their own options, including Writing tools. */
html body #app .direct-studio .direct-popover-body>.guided-setup-actions{position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;align-self:stretch!important;gap:10px!important;max-width:none!important;width:100%!important;margin:14px 0 0!important;padding:12px 0 0!important;transform:none!important}
html body #app .direct-studio .direct-popover-body>.guided-setup-actions>button{flex:0 1 auto!important;width:auto!important;margin:0!important}
html body #app .direct-studio .studio-area-navigation{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-top:14px!important;padding-top:12px!important;width:100%!important;box-sizing:border-box!important}

html body #app .entry-mode-picker>.entry-type-purpose{font-size:12px!important;line-height:1.45!important;color:var(--muted,#695860)!important;margin:0 0 9px!important}html body #app #entry-mode-help{display:block!important;font-size:12px!important;line-height:1.5!important}

/* Reserve space for the bookmark and its rotation controls before color choices. */
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:600px!important;min-height:600px!important;align-items:flex-start!important;padding-bottom:64px!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:520px!important;min-height:520px!important;max-height:520px!important;align-self:flex-start!important;margin:0 auto!important;top:0!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{bottom:8px!important;top:auto!important}
html body #app .direct-studio[data-target=ribbon] .direct-edit-hint{margin:10px auto!important}

html body #app .guided-setup-steps>button>.guide-step-caption{font-size:13px!important;font-weight:600!important;line-height:1.3!important;display:block!important;width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;margin:5px 0 0!important}
html body #app .experience-preset-grid>button{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;column-gap:8px!important;row-gap:7px!important;text-align:left!important;align-content:start!important;padding:14px!important;min-height:0!important;height:auto!important}
html body #app .experience-preset-grid>button>.preset-check{grid-column:1!important;grid-row:1!important;position:static!important;margin:0!important;align-self:center!important}
html body #app .experience-preset-grid>button>b{grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0!important;font-size:23px!important;line-height:1.2!important;margin:0!important}
html body #app .experience-preset-grid>button>small{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important;font-size:13px!important;line-height:1.45!important;margin:0!important}

/* Writing experience selection: luminous frame, neutral interior. */
html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true],html body #modal .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]{border:3px solid transparent!important;border-radius:16px!important;background:linear-gradient(#fffcf8,#fffcf8) padding-box,linear-gradient(115deg,#81052e 0%,#bf7d93 22%,#fff0d2 43%,#c79b42 64%,#f4dfae 80%,#81052e 100%) border-box!important;color:#81052e!important;outline:none!important;box-shadow:0 3px 8px #79522918!important;transform:none!important;text-shadow:none!important}
html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>b,html body #modal .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>b{color:#81052e!important;text-shadow:none!important}
html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>small,html body #modal .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>small{color:#66535b!important;text-shadow:none!important}
html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>.preset-check,html body #modal .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>.preset-check{color:#81052e!important;background:transparent!important;text-shadow:none!important}
html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]:before,html body #app .direct-studio .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]:after{display:none!important}

/* The active setup step is outlined, never a dark filled block. */
html body #app .direct-studio .guided-setup-steps>button[aria-current=step]{border:3px solid transparent!important;background:linear-gradient(#fffaf1,#fffaf1) padding-box,linear-gradient(115deg,#81052e,#c18a9c 24%,#fff0d2 45%,#c59b43 68%,#81052e) border-box!important;border-radius:12px!important;outline:none!important;box-shadow:0 3px 8px #79522918!important;color:#81052e!important;transform:none!important}
html body #app .direct-studio .guided-setup-steps>button[aria-current=step]>.guide-step-caption{color:#81052e!important;font-weight:750!important}
html body #app .direct-studio .guided-setup-steps>button>.guide-current-caption{font-size:10px!important;line-height:1.3!important;color:#886120!important;font-weight:600!important;margin-top:4px!important;display:block!important}

/* Compact editors remain together above the shared jar gallery. */
html body #modal:has(.jar-gallery) .jar-top-editors{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
html body #modal .jar-top-editors>:is(.jar-details-panel,.jar-note-panel){padding:12px 14px!important;min-height:0!important;height:auto!important;margin:0!important;box-shadow:none!important}
html body #modal .jar-top-editors .jar-panel-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:8px!important}
html body #modal .jar-top-editors h3{margin:0!important;font-size:22px!important}
html body #modal .jar-top-editors .jar-editor-layout{margin:8px 0 0!important;gap:12px!important;grid-template-columns:70px minmax(0,1fr)!important}
html body #modal .jar-top-editors .jar-editor-controls{gap:7px!important}
html body #modal .jar-top-editors label{margin:0!important;min-height:0!important}
html body #modal .jar-top-editors #jar-name{margin:5px 0 0!important;min-height:38px!important;padding:8px 10px!important}
html body #modal .jar-top-editors .jar-color-control{margin-top:7px!important;justify-content:flex-start!important;gap:10px!important}
html body #modal .jar-top-editors #jar-save-state{font-size:11px!important;margin:2px 0 0!important}
html body #modal .jar-top-editors .jar-note-heading{margin:0 0 6px!important;min-height:36px!important}
html body #modal .jar-top-editors #jar-note{height:82px!important;min-height:82px!important;margin:0!important;padding:10px!important}
html body #modal .jar-top-editors .jar-note-actions{margin:8px 0 0!important;display:flex!important;gap:10px!important;justify-content:flex-end!important}
html body #modal .jar-top-editors .jar-inline-preview{width:70px!important;height:80px!important}
html body #modal .jar-from-current-book.jar-display-card,html body #modal .jar-from-current-book.jar-display-card:has([aria-pressed=true]){border:2px solid transparent!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--selection-iridescence,linear-gradient(110deg,#81052e,#f6e9cb,#b58a36,#81052e)) border-box!important;outline:none!important;box-shadow:none!important}
html body #modal .jar-from-current-book:before{display:none!important}
html body #modal .jar-notes-focused>.jar-top-editors{display:none!important}
@media(max-width:620px){html body #modal:has(.jar-gallery) .jar-top-editors{grid-template-columns:1fr!important;gap:10px!important}}
/* Important resting transforms previously masked the shuffle keyframes. */
html body #modal .real-jar .jar-notes{z-index:4!important;overflow:hidden!important;isolation:isolate;clip-path:inset(0 round 5px 5px 14px 14px)}
html body #modal .jar-shuffling .jar-notes i{animation:jar-visible-tumble .58s ease-in-out infinite!important;animation-delay:calc(var(--n,0)*-73ms)!important;will-change:translate,rotate;transform-origin:center!important}
@keyframes jar-visible-tumble{0%,100%{translate:0 0;rotate:-12deg}25%{translate:9px -18px;rotate:55deg}55%{translate:-9px -7px;rotate:-48deg}80%{translate:6px -12px;rotate:28deg}}
@media(prefers-reduced-motion:reduce){html body #modal .jar-shuffling .jar-notes i{animation:none!important}}
/* The envelope front is opaque; paper can only emerge above its opening. */
html body .motion-envelope .motion-pocket{inset:0!important;clip-path:none!important;z-index:2!important;opacity:1!important;background:linear-gradient(32deg,transparent 49.5%,#cdb88f 50%,transparent 50.5%),linear-gradient(-32deg,transparent 49.5%,#cdb88f 50%,transparent 50.5%),linear-gradient(145deg,#fffdf7,#eadabd)!important}
html body .letter-unfold .motion-envelope .motion-flap{backface-visibility:hidden!important}
/* Box-free notice above the home book, rather than stretching the welcome column. */
html body #app .home-hero>.home-notice-area{position:relative!important;grid-column:1/-1!important;max-width:250px!important;width:100%!important;margin:6px auto 12px!important;text-align:center!important;justify-self:center!important}
html body #app .home-notice-area .capsule-home-reminder{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;border:0!important;outline:none!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0 auto!important;min-height:0!important;width:auto!important;color:var(--inside-accent,#81052e)!important}
html body #app .home-notice-area .capsule-home-reminder>img{width:100px!important;height:78px!important;flex:none!important;filter:drop-shadow(0 5px 4px #35202b25)}
html body #app .home-notice-area .capsule-home-reminder>b{font-size:15px!important}
html body #app .home-notice-area .all-notices-link{margin:4px auto 0!important}

html body #app #page .habit-list-heading h3,html body #app #page .page-right>h3{font-size:clamp(25px,2.2vw,32px)!important;font-weight:700!important;line-height:1.2!important;color:var(--editorial-gold,#926821)!important;margin:0 0 15px!important}

html body #app #page button[data-action=add-habit]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;padding:9px 15px!important;border:1px solid transparent!important;border-radius:8px!important;background:linear-gradient(var(--inside-accent,#81052e),var(--inside-accent,#81052e)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#81052e,#e8cf98,#a57931,#81052e)) border-box!important;color:var(--inside-onaccent,#fff)!important;font-size:14px!important;font-weight:650!important;box-shadow:0 3px 7px color-mix(in srgb,var(--inside-accent,#81052e) 18%,transparent)!important;white-space:nowrap!important}

/* Shared paper-edge clearance across every category, not individual tab fixes. */
html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>#page.page-spread{padding-top:16px!important;box-sizing:border-box!important}
html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>#page>:is(.task-view-nav,.journal-mobile-views,.care-page-heading,.care-section-tabs){margin-top:0!important;position:relative!important;top:auto!important;transform:none!important}
html body #modal .jar-gallery>article.jar-display-card.jar-from-current-book:has(>button[data-jar][aria-pressed=true]){border:2px solid transparent!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--selection-iridescence,linear-gradient(110deg,#81052e,#f6e9cb,#b58a36,#81052e)) border-box!important;outline:none!important;box-shadow:none!important}

html body #app .readable-chart>button.chart-column{display:block!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important;text-align:center!important;cursor:pointer!important;align-self:stretch!important}
html body #app .readable-chart>button.chart-column:focus-visible{outline:2px solid var(--inside-accent,#81052e)!important;outline-offset:3px!important}
html body #app button.dashboard-calendar-day{min-width:0!important;min-height:0!important;padding:5px 2px!important;margin:0!important;font:inherit!important;cursor:pointer!important;color:inherit!important}
.dashboard-day-note,.dashboard-day-entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.dashboard-day-entry{padding:12px 0;border-top:1px solid var(--accent-edge,#e4d4bd)}.dashboard-habit-detail{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--accent-edge,#e4d4bd)}

/* Current-book jars form their own row, never mixed with other books. */
html body #modal:has(.jar-gallery) .jar-gallery{display:block!important;width:100%!important}
html body #modal .jar-book-group{min-width:0;margin:0;padding:14px;border:0;background:none;box-sizing:border-box}
html body #modal .jar-book-group>h3{margin:0 0 12px!important;font-size:23px;font-weight:700;color:var(--editorial-gold,#886120)}
html body #modal .current-book-jars{border:2px solid transparent;border-radius:14px;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e8c9,#c5a04e,#85062f)) border-box}
html body #modal .other-book-jars{margin-top:24px!important;padding:0 2px}
html body #modal .jar-group-grid{display:grid;grid-template-columns:repeat(var(--jar-columns,3),minmax(0,1fr));gap:14px;align-items:stretch}
html body #modal .jar-group-grid>.jar-display-card{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
html body #modal .current-book-jars .jar-from-current-book.jar-display-card{border:1px solid var(--line,#e7d8df)!important;background:var(--surface,#fff)!important}
html body #modal .jar-group-grid>.jar-display-card:has(>button[data-jar][aria-pressed=true]){border:1px solid transparent!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e8c9,#c5a04e,#85062f)) border-box!important;outline:none!important}
@media(max-width:620px){html body #modal .jar-book-group{padding:10px}html body #modal .jar-group-grid{gap:8px}html body #modal .current-book-jars .jar-display-card{padding:7px!important}html body #modal .current-book-jars .jar-display-card .real-jar{width:85px!important;height:100px!important}html body #modal .current-book-jars .jar-display-card strong{font-size:16px!important;overflow-wrap:anywhere}html body #modal .current-book-jars .jar-draw-button{font-size:10px!important;padding:5px 3px!important}html body #modal .other-book-jars .jar-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

html body #modal .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,280px));justify-content:center}

html:is([data-view=wide],[data-view=full]) body #app .workspace-shell article.notebook>#page>:is(.task-view-nav,.journal-mobile-views,.care-section-tabs){padding-inline:3px!important;box-sizing:border-box!important}
html body #app button.dashboard-calendar-day{min-height:50px!important;padding:6px 3px!important}
html body #app #page .dashboard-mood-metrics{align-items:stretch!important}
html body #app .habit-month-grid button>i{display:block!important;width:85%!important;height:8px!important;flex-shrink:0;background:color-mix(in srgb,var(--inside-accent,var(--accent,#85062f)) 18%,var(--surface,#fff))!important;overflow:hidden;border-radius:8px}
html body #app .habit-month-grid button>i>i{display:block!important;height:100%!important;background:var(--selection-iridescence,linear-gradient(110deg,#85062f,#f8e7c6,#b58b38))!important;border-radius:inherit}
html body .letter-motion.letter-unfold{animation:letter-scene 4.2s both!important}
html body .letter-unfold .motion-envelope{width:210px;height:145px;clip-path:inset(-165px -10px -8px);overflow:visible}
html body .letter-unfold .motion-flap{z-index:3;animation:capsule-open-flap 1.2s ease-in-out both!important;backface-visibility:visible!important}
html body .letter-unfold .motion-paper{inset:14px 18px 6px!important;z-index:1!important;animation:capsule-open-paper 2.3s 1.2s cubic-bezier(.25,.65,.35,1) both!important;animation-direction:normal!important;visibility:visible!important}
html body .letter-unfold .motion-pocket{z-index:2!important;background:linear-gradient(32deg,transparent 49.5%,#ccb78e 50%,transparent 50.5%),linear-gradient(-32deg,transparent 49.5%,#ccb78e 50%,transparent 50.5%),linear-gradient(140deg,#fffdf6,#eadabd)!important;inset:0!important;clip-path:none!important}
html body .letter-unfold .motion-seal{animation:capsule-open-seal .65s both!important;left:calc(50% - 18px)}
html body #modal.capsule-opening .open-letter{visibility:hidden!important}
@keyframes capsule-open-flap{0%,10%{transform:rotateX(0);z-index:3}95%,100%{transform:rotateX(165deg);z-index:0}}
@keyframes capsule-open-paper{0%{transform:translateY(0);opacity:1}85%,100%{transform:translateY(-135px);opacity:1}}
@keyframes capsule-open-seal{0%,15%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.08)}}
.mood-flight{position:fixed;z-index:9999;pointer-events:none;width:44px;height:50px;display:grid;place-items:center}.mood-flight .face{width:44px!important;height:50px!important}.mood-receiving .face{opacity:0!important}
.sound-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.sound-presets button{padding:7px 12px;min-height:34px}.sound-presets button[aria-pressed=true]{font-weight:700;border-color:var(--accent)}

html body .letter-fold{animation:letter-scene 3.2s both!important}html body .letter-fold .motion-paper{animation:capsule-seal-paper 1.7s ease-in-out both!important}html body .letter-fold .motion-flap{animation:capsule-seal-flap .7s 1.7s ease-in-out both!important}html body .letter-fold .motion-seal{animation:seal-press .4s 2.4s both!important}
@keyframes capsule-seal-paper{0%,10%{transform:translateY(-28px);opacity:1;visibility:visible}85%{transform:translateY(78px);opacity:1}90%,100%{transform:translateY(78px);opacity:0;visibility:hidden}}
@keyframes capsule-seal-flap{from{transform:rotateX(165deg)}to{transform:rotateX(0)}}

html body .capsule-home-reminder.capsule-ready-celebration>b{box-sizing:border-box;width:100%;padding-inline:20px!important;line-height:1.4!important}html body .capsule-home-reminder.capsule-ready-celebration::after{right:0!important;top:0!important;margin:0!important;width:16px;text-align:center;line-height:20px;pointer-events:none}

.jar-keepsake{display:block;width:100%;height:100%;color:var(--paper-color,var(--note-color,var(--accent,#b17d9b)));filter:drop-shadow(0 1px 1px #38261966)}
html body .jar-notes i:has(>.jar-keepsake),html body .jar-falling-note:has(>.jar-keepsake){background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.jar-shape-picker{position:relative;margin:0!important;border:0!important;padding:0!important}.jar-shape-picker>summary{display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none;font-size:12px;font-weight:600;color:var(--accent);padding:4px}.jar-shape-picker>summary::-webkit-details-marker{display:none}.jar-shape-picker>summary>.jar-keepsake{width:30px;height:30px}.jar-shape-options{position:absolute;right:0;top:100%;z-index:12;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(300px,75vw);padding:8px;gap:6px;border:1px solid var(--accent-edge,#d7bc9a);border-radius:10px;background:var(--surface,#fff);box-shadow:0 6px 18px #30202b22}.jar-shape-options>button{display:flex;align-items:center;flex-direction:column;gap:5px;padding:8px 4px!important;font-size:10px!important;min-width:0}.jar-shape-options .jar-keepsake{width:38px;height:38px}.jar-shape-options>button[aria-pressed=true]{border:2px solid var(--accent)!important}.jar-note-heading{flex-wrap:wrap;gap:8px}.jar-note-heading>.jar-shape-picker{flex:0 0 auto}

html body .jar-notes i:has(>.jar-keepsake){width:18px!important;height:18px!important;aspect-ratio:1}html body .jar-falling-note:has(>.jar-keepsake){width:27px!important;height:27px!important}.jar-note-meta{flex-wrap:wrap}.jar-note-meta select{max-width:150px;min-height:30px;padding:4px;font-size:11px}

html body #app .journey-start-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html body #app .journey-start-options>button{display:flex;align-items:center;gap:15px;text-align:left;min-height:110px;padding:18px!important;border:1px solid #c9a35e!important;border-radius:13px;background:linear-gradient(120deg,#fffef9,#fff9ee)!important;box-shadow:inset 0 1px #fff,0 3px 8px #60451c0c!important;color:#81052e!important}html body #app .journey-start-options>button:hover,html body #app .journey-start-options>button:focus-visible{border:2px solid transparent!important;background:linear-gradient(#fffdf7,#fffdf7) padding-box,linear-gradient(115deg,#85062f,#f5e6c6,#c29a48,#85062f) border-box!important;padding:17px!important}.journey-route-icon{flex:0 0 48px;width:48px;height:48px;color:#a47b2c;display:grid;place-items:center;filter:drop-shadow(0 2px 1px #8a61252a)}.journey-route-icon>svg{width:46px!important;height:46px!important}.journey-route-copy{display:block;min-width:0}.journey-route-copy>b{display:block;font:700 23px/1.2 'Atelier Display',Georgia,serif;margin-bottom:6px}.journey-route-copy>span{display:block;font-size:13px;line-height:1.5;color:#69535b}.journey-route-copy>strong{display:block;font-size:14px;color:#916620;margin-bottom:5px}html body #app .journey-start-options>[data-studio-choose-for-me]{grid-column:1/-1;border:2px solid transparent!important;background:linear-gradient(#fffdf8,#fffdf8) padding-box,linear-gradient(115deg,#85062f,#f4e5c1,#b98b32,#85062f) border-box!important}
.home-design-shortcuts-setting{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:8px 0;font-size:12px;color:#81052e}.home-design-shortcuts-setting input{width:36px;height:20px;accent-color:#81052e}
@media(max-width:620px){html body #app .journey-start-options{grid-template-columns:1fr;gap:10px}html body #app .journey-start-options>button{min-height:90px;padding:14px!important;gap:12px}.journey-route-copy>b{font-size:21px}.journey-route-icon{flex-basis:40px;width:40px;height:40px}.home-design-shortcuts-setting{justify-content:space-between}}

.home-design-shortcuts-setting input{appearance:none;position:relative;display:block;flex:0 0 36px;border:0;border-radius:12px;background:#cfc8cb;cursor:pointer;padding:0}.home-design-shortcuts-setting input::after{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 2px #0003;transition:transform .15s}.home-design-shortcuts-setting input:checked{background:#85062f}.home-design-shortcuts-setting input:checked::after{transform:translateX(16px)}.home-design-shortcuts-setting input:focus-visible{outline:2px solid #bc9448;outline-offset:3px}

html body #app .guided-setup-steps[data-assisted=true]{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Task details: consistent spacing on tablet and narrower dialogs. */
html body #modal:has(#task-title) .split{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:end!important;margin:14px 0!important}
html body #modal:has(#task-title) .split>label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;margin:0!important}
html body #modal:has(#task-title) .split :is(input,select){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
html body #modal:has(#task-title) .quick-due{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center;margin:12px 0 18px!important}
html body #modal:has(#task-title) .quick-due>span{flex-basis:100%;margin-bottom:2px;font-size:12px;color:var(--muted)}
html body #modal:has(#task-title) .quick-due>button{margin:0!important;padding:8px 12px!important;min-height:36px!important}
html body #app #page[data-layout=tasks] .task-finishing:not(.done) .task-text::after{content:none!important;display:none!important;animation:none!important}
html body #app #page[data-layout=tasks] .task-finishing.done .task-text{text-decoration:none!important}
@media(max-width:430px){html body #modal:has(#task-title) .split{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}}

html body #modal .jar-color-preview-group{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0}html body #modal .jar-color-preview-group .jar-inline-preview{margin:0!important}html body #modal .jar-color-preview-group>.jar-color-control{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin:0!important;font-size:12px!important}
html body #modal .jar-note-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}html body #modal .jar-note-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}html body #modal .jar-note-tools .jar-note-color-picker{margin:0!important;gap:5px!important}.jar-note-tools .jar-note-color-picker>span{font-size:12px!important}
html body :is(#app,#modal) :is(.growth-track,.weekly-meter,.snapshot-progress,.dash-progress)>i{background:var(--selection-iridescence)!important;background-size:180% 100%!important;box-shadow:none!important}
html body #app .direct-metal-finishes>.custom-metal-swatch{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;height:auto!important;padding:8px!important;margin:0!important;border:1px solid var(--accent-edge,#d5c2ae)!important;border-radius:9px!important;background:var(--surface,#fff)!important;font-size:12px!important}.custom-metal-caption{font-weight:600;color:var(--accent,#85062f)}html body #app .custom-metal-swatch input[type=color]{width:36px!important;height:36px!important;aspect-ratio:1!important;flex:none!important;box-sizing:border-box!important}
html body #app .journey-start-options{max-width:760px;margin-inline:auto;gap:10px}html body #app .journey-start-options>button{min-height:96px!important;padding:14px!important;flex-direction:column;justify-content:center;text-align:center!important;gap:8px}.journey-route-copy{width:100%;text-align:center}.journey-route-copy>b{font-size:27px!important;margin:0 0 6px!important}.journey-route-copy>span{max-width:48ch;margin-inline:auto;font-size:12px!important}.journey-route-icon{height:42px;flex-basis:42px}.journey-route-icon>svg{width:42px!important;height:42px!important}html body #app .journey-start-options>[data-studio-choose-for-me]{min-height:0!important;padding:13px 18px!important;gap:6px}.journey-start-options [data-studio-choose-for-me] .journey-route-copy>b{font-size:29px!important}
html body #app .guided-setup-steps>button>.numbered-step-crown{width:48px!important;height:43px!important;overflow:visible;filter:drop-shadow(0 2px 1px #60441866)!important}.numbered-step-crown text{paint-order:stroke fill;stroke:#fff0c6!important;stroke-width:.65px!important;font-size:15px!important;font-weight:900!important}
.editor-home-tools{display:flex;align-items:center;gap:14px;grid-column:1/-1}.home-design-shortcuts-setting{margin:0!important;justify-content:flex-start!important}.home-design-shortcuts-setting b{display:block;font-size:12px}.home-design-shortcuts-setting small{display:block;font-size:10px;color:#745c62;margin-top:2px}.book-display-controls button svg{display:block;width:23px;height:23px;margin:auto}
@media(max-width:620px){.journey-route-copy>b{font-size:24px!important}.journey-start-options [data-studio-choose-for-me] .journey-route-copy>b{font-size:26px!important}.editor-home-tools{gap:10px;flex-wrap:wrap}html body #app .guided-setup-steps>button>.numbered-step-crown{width:40px!important;height:36px!important}}
/* A clear cover choice, with a ring that follows the existing rounded card. */
html[data-setup] body #app .preset-cover-gallery>button[aria-pressed=true]{
 border:4px solid transparent!important;
 border-image:none!important;
 background:linear-gradient(#fffaf5,#fffaf5) padding-box,linear-gradient(120deg,#81052e 0%,#c68194 24%,#fff1cc 43%,#bc9141 62%,#f4dfab 79%,#81052e 100%) border-box!important;
 box-shadow:0 3px 9px #6f46251c!important;
}
/* Signature stays softly luminous; selection is carried by its iridescent rim. */
/* Shared spacing safeguards apply at intermediate tablet widths as well. */
html body #modal .home-checkin-moods{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:12px 0 16px!important}
html body #modal .home-checkin-moods>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0!important;padding:10px 6px!important;font-size:13px!important}
html body #modal .home-checkin-moods .face{width:36px;height:36px}
html body #modal:has(.home-checkin-moods) .mood-context [data-action=edit-mood-context]{display:none!important}
html body #modal:has(.home-checkin-moods) .mood-context>div{display:flex;flex-wrap:wrap;gap:8px}
html body #modal:has(.home-checkin-moods) .mood-context label{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:0;padding:7px 9px;font-size:12px;box-sizing:border-box}
html body #modal .home-checkin-details{margin:12px 0 18px!important;padding:0!important;background:none!important;border:0!important}
html body #modal .home-checkin-details>summary{cursor:pointer;color:var(--accent,#81052e);font-size:14px;font-weight:600;padding:8px 0}
html body #modal .home-checkin-details [data-action=edit-mood-context]{display:none!important}
html body #modal .home-checkin-details .mood-context{margin-top:12px!important}
html[data-screen=home] body #app .home-hero .home-actions{display:flex!important;justify-content:center!important;justify-self:stretch!important}
html[data-screen=home] body #app .home-hero .hero-links{display:flex!important;justify-content:center!important;align-items:center!important;justify-self:stretch!important;gap:0!important}
@media(max-width:760px){html body #modal .weekly-stats>div{display:grid!important;grid-template-rows:42px 68px 48px!important;align-content:start!important;justify-items:center!important;align-items:center!important;row-gap:5px!important;padding:22px 10px 16px!important;cursor:pointer}}
@media(max-width:760px){html body #modal .weekly-stats>div>span{order:0!important;min-height:0!important;align-self:center!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>b{order:1!important;align-self:center!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i{order:2!important;align-self:center!important}}
@media(max-width:760px){html body #modal .weekly-stats>div:focus-visible{outline:2px solid var(--accent,#81052e);outline-offset:3px}}
@media(max-width:480px){@media(max-width:760px){html body #modal .weekly-stats>div{grid-template-rows:38px 54px 38px!important;padding:16px 5px 12px!important;row-gap:4px!important}}}
html body #modal:has(.jar-notes-focused){width:min(660px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0!important;height:auto!important;min-height:0!important;box-sizing:border-box!important}
html body #modal:has(.jar-notes-focused .jar-items>article:nth-child(4)){width:min(880px,calc(100vw - 24px))!important}
html body #modal .modal-body.jar-notes-focused{display:block!important;min-height:0!important;height:auto!important;padding-bottom:18px!important}
html body #modal .jar-notes-focused>.jar-top-editors{display:none!important}
html body #modal .jar-focus-content{display:grid!important;grid-template-columns:130px minmax(0,1fr);align-items:start;gap:20px!important;margin-top:16px!important;min-width:0}
html body #modal .jar-focus-visual{display:flex;justify-content:center;align-items:flex-start;padding:8px!important;min-width:0}
html body #modal .jar-focus-visual .real-jar{width:110px!important;height:145px!important;max-width:100%!important;margin:0!important}
html body #modal .jar-focus-content .jar-items{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important;gap:10px!important;margin:0!important;min-width:0!important}
@media(max-width:480px){html body #modal .jar-focus-content{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}html body #modal .jar-focus-visual .real-jar{width:90px!important;height:115px!important}html body #modal .jar-focus-content .jar-items{grid-template-columns:minmax(0,1fr)!important}}
html body #app .direct-single-focus .direct-layout{display:block!important;width:100%!important;max-width:760px!important;margin-inline:auto!important}
html body #app .direct-single-focus .direct-popover{position:relative!important;top:auto!important;width:100%!important;box-sizing:border-box!important}
html body #modal .capsule-seal-mode{display:grid;gap:12px;padding:12px 0!important;border:0!important}
html body #modal .capsule-seal-mode>label{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:start!important;column-gap:10px!important;position:relative;margin:0!important;padding:6px 3px!important;cursor:pointer}
html body #modal .capsule-seal-mode input[type=radio]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;margin:0!important;padding:0!important}
html body #modal .capsule-choice-crown{width:28px;height:25px;margin-top:0;color:var(--accent,#81052e);fill:transparent;transition:fill .18s}
html body #modal .capsule-seal-mode input:checked+.capsule-choice-crown{fill:var(--accent,#81052e);filter:drop-shadow(0 1px 1px #30201b25)}
html body #modal .capsule-seal-mode input:focus-visible+.capsule-choice-crown{outline:2px solid var(--accent,#81052e);outline-offset:3px;border-radius:3px}
html body #modal .capsule-seal-mode label>span{display:flex;flex-direction:column;gap:4px;min-width:0}
html body #modal .capsule-seal-mode label b{font-size:14px;line-height:1.5}
html body #modal .capsule-seal-mode label small{font-size:12px;line-height:1.45;display:block;margin:0!important}
html body #descaxora-header .offline-readiness{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto;margin-left:auto;order:20;font:500 11px/1.3 Arial,sans-serif;color:#806124;white-space:nowrap}
html body #descaxora-header .offline-readiness svg{width:15px;height:15px;flex:none}
html body #descaxora-header .offline-readiness[data-ready=true]{color:#276a50}
html[data-lighting=night] body #descaxora-header .offline-readiness{color:#e4ce9d}
@media(max-width:460px){html body #descaxora-header .offline-readiness{font-size:9px;gap:3px}html body #descaxora-header .offline-readiness svg{width:12px;height:12px}html body #descaxora-header{gap:6px!important}}
html body .jar-notes i:has(>.jar-keepsake){width:21px!important;height:21px!important}
html body .jar-falling-note:has(>.jar-keepsake){width:30px!important;height:30px!important}
html body #modal:has(#capsule-date),html body #modal:has(#edit-cap-date){box-sizing:border-box!important;width:min(690px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0!important;overflow-x:hidden!important}
html body #modal:has(#capsule-date) .modal-body,html body #modal:has(#edit-cap-date) .modal-body{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
html body #modal:has(#capsule-date) .split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,180px)!important;gap:14px!important}
html body #modal:has(#capsule-date) .split>label{display:flex;flex-direction:column;gap:7px;min-width:0!important;max-width:100%!important;margin:0!important}
html body #modal :is(#capsule-date,#edit-cap-date,#capsule-title,#edit-cap-title,#capsule-body,#edit-cap-body){display:block;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}
html body #modal .capsule-seal-mode{min-width:0!important;max-width:100%!important;box-sizing:border-box}
html body #modal .capsule-list{min-width:0!important;max-width:100%!important}
html body #modal .capsule-envelope{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;gap:10px!important;box-sizing:border-box}
html body #modal .capsule-envelope>div{min-width:0!important;flex:1 1 160px;overflow-wrap:anywhere}
@media(max-width:520px){html body #modal:has(#capsule-date) .split{grid-template-columns:minmax(0,1fr)!important}html body #modal #capsule-date{max-width:220px!important}}
html[data-setup] body #app .direct-studio>.direct-home-corner{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:sticky!important;top:8px!important;z-index:30!important;align-items:center;justify-content:center;width:max-content!important;margin:0 0 12px!important;background:#81052e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #81052e!important;border-image:none!important;box-shadow:0 2px 6px #320a171f!important}
html body #app .guided-setup-steps{grid-template-columns:repeat(9,minmax(0,1fr))!important}
html body #app .guided-setup-steps[data-assisted=true]{grid-template-columns:repeat(5,minmax(0,1fr))!important}
html body #app .editor-book-name{display:flex;align-items:center;gap:10px;max-width:480px;margin:8px 0 14px!important;font-size:13px}
html body #app .editor-book-name input{flex:1;min-width:0;width:100%}
html body #app .bookmark-inbook-toggle{display:block;width:max-content;margin:0 auto 10px;padding:6px 10px!important;min-height:32px!important;font-size:12px!important;border-radius:8px}
html body #app .journal-mobile-views>button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important;font-size:16px!important;font-weight:650!important}
html body #app .journal-mobile-views>button svg{display:block;width:22px;height:22px;flex:0 0 22px}
.account-privacy-note{display:block;margin-top:18px;line-height:1.5}#cloud-delete-account{margin-top:16px}
.selection-contour{display:block!important;position:absolute!important;pointer-events:none!important;box-sizing:border-box!important;padding:var(--contour-width)!important;background:var(--contour-image)!important;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;z-index:4}
@media(max-width:1100px){html body #app .guided-setup-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #app .guided-setup-steps[data-assisted=true]{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
html body #app .metal-finish-utilities{display:flex;align-items:center;justify-content:flex-start;gap:18px;flex-wrap:wrap;margin-top:14px}
html body #app .metal-finish-utilities>.custom-metal-swatch{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:0!important;flex:0 0 auto;font-size:13px}
html body #app .metal-finish-utilities>.gilded-edges-switch{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:0!important;min-width:0;flex:1 1 200px;font-size:13px}
html body #app .metal-finish-utilities>.gilded-edges-switch input{flex:0 0 auto}
html body #app .metal-finish-utilities>:is(.custom-metal-swatch,.gilded-edges-switch){width:auto!important;max-width:100%!important;flex-direction:row!important}
html body #app .metal-finish-utilities>.gilded-edges-switch{flex:1 1 230px!important;justify-content:space-between!important}
html body #app .metal-finish-utilities>.gilded-edges-switch input[role=switch]{appearance:none!important;position:relative!important;width:42px!important;min-width:42px!important;height:24px!important;min-height:24px!important;border:1px solid #bcb3ad!important;border-radius:20px!important;background:#ded9d4!important;padding:0!important;margin:0!important;cursor:pointer}
html body #app .metal-finish-utilities>.gilded-edges-switch input[role=switch]::after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #35251e33;transition:transform .15s}
html body #app .metal-finish-utilities>.gilded-edges-switch input[role=switch]:checked{background:#81052e!important;border-color:#81052e!important}
html body #app .metal-finish-utilities>.gilded-edges-switch input[role=switch]:checked::after{transform:translateX(18px)}
html body #modal #new-jar.jar-add-top{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;width:auto!important;min-height:40px!important;padding:9px 16px!important;
 border:2px solid transparent!important;border-image:none!important;border-radius:9px!important;
 background:linear-gradient(var(--accent,#81052e),var(--accent,#81052e)) padding-box,var(--selection-iridescence) border-box!important;
 color:var(--inside-onaccent,#fff)!important;font-size:14px!important;font-weight:700!important;line-height:1.25!important;
 box-shadow:0 3px 8px color-mix(in srgb,var(--accent,#81052e) 18%,transparent)!important;
}
html body #modal #new-jar.jar-add-top:hover{filter:brightness(1.08)}
html body #modal #new-jar.jar-add-top:focus-visible{outline:2px solid var(--accent,#81052e)!important;outline-offset:3px!important}
html body :is(#app,#modal) :is(input,select,textarea){box-sizing:border-box;max-width:100%;min-width:0}
html body #modal:has(#task-title) .split{column-gap:16px!important;row-gap:14px!important}
html body #modal:has(#task-title) .quick-due{column-gap:10px!important;row-gap:10px!important}
html body #modal:has(#task-title) .quick-due>button{flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important}
html body #app :is(.setup-controls,.guided-setup-actions,.studio-save-actions,.history-filter-options .split){gap:12px!important}
html body #app #page :is(.task-view-nav,.care-section-tabs,.journal-actions){gap:10px!important;flex-wrap:wrap}
html body #app #page .section-head{gap:14px!important;min-width:0}
@media(min-width:761px) and (max-width:1100px){
 html[data-view=book] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{grid-template-columns:minmax(0,1fr)!important;row-gap:12px!important}
 html[data-view=book] body #app #page .care-page-heading>.care-navigation{max-width:100%!important;justify-self:end!important}
}
html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature]{
 border:1px solid #dfcfac!important;border-image:none!important;border-radius:9px!important;
 background:linear-gradient(115deg,#f3e0e6 0%,#faedf0 27%,#fff9e8 47%,#eddbb5 67%,#f4e3e9 100%) padding-box!important;
 color:#710b30!important;text-shadow:none!important;outline:none!important;box-shadow:0 2px 5px #6d4d2412!important;
}
html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature][aria-pressed=true]{
 border:1px solid transparent!important;border-image:none!important;
 background:linear-gradient(115deg,#f3e0e6 0%,#faedf0 27%,#fff9e8 47%,#eddbb5 67%,#f4e3e9 100%) padding-box,linear-gradient(115deg,#81052e,#c48d9c 24%,#fff0d1 45%,#b58a35 65%,#81052e) border-box!important;
}
html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature] b{color:#710b30!important;text-shadow:none!important}
html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature] small{color:#665052!important;text-shadow:none!important}
html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature]::before,html body #app .page-color-approach .page-color-routes>button[data-page-color-mode=signature]::after{display:none!important}
/* Projecting shelf board and grounded objects, shared with the setup preview. */
html[data-view] body #app .workspace-shell article.notebook .care-view-switch>button{
 border:3px solid var(--accent-edge,#ddc9ce)!important;box-sizing:border-box!important;
}
html[data-view] body #app .workspace-shell article.notebook .care-view-switch>button[aria-pressed=true]{
 --care-selected-fill:color-mix(in srgb,var(--inside-accent,#81052e) 16%,var(--inside-paper,#fffefa));
 border:3px solid transparent!important;border-image:none!important;outline:none!important;
 background:linear-gradient(var(--care-selected-fill),var(--care-selected-fill)) padding-box,var(--selection-iridescence) border-box!important;
 color:var(--inside-text,#352e40)!important;box-shadow:0 2px 5px #392b2518!important;
}
html[data-view] body #app .workspace-shell article.notebook .care-view-switch>button[aria-pressed=true] :is(span,small,svg,.interface-icon){color:inherit!important;text-shadow:none!important}
html body #app :is(.real-shelf-row,.shelf-mini-preview){
 --shelf-depth:18px;position:relative;isolation:isolate;overflow:visible!important;
 border-bottom:0!important;padding-bottom:12px!important;margin-bottom:26px!important;
 background:linear-gradient(180deg,transparent 50%,#ede7de55 100%)!important;
 box-shadow:none!important;
}
html body #app :is(.real-shelf-row,.shelf-mini-preview)::before{
 content:'';position:absolute;pointer-events:none;left:0;right:0;bottom:0;height:24px;z-index:-1;
 background:linear-gradient(180deg,#c8b998,#fdf7e9 65%,#f2e5cc);
 clip-path:polygon(2% 0,98% 0,100% 100%,0 100%);
 box-shadow:inset 0 1px #fff;
}
html body #app :is(.real-shelf-row,.shelf-mini-preview)::after{
 content:'';position:absolute;pointer-events:none;left:0;right:0;top:100%;height:var(--shelf-depth);z-index:-1;
 background:linear-gradient(180deg,#fff8e8 0%,#dbc8a7 15%,#eee0c7 30%,#c4ad86 87%,#967b55 100%);
 border-radius:0 0 2px 2px;box-shadow:0 10px 13px -7px #38291f66,inset 0 1px #fffdf3;
}
html body #app :is(.real-shelf-row,.shelf-mini-preview)>.shelf-decor{
 overflow:visible!important;filter:drop-shadow(5px 4px 3px #392b2630)!important;
 transform:perspective(700px) rotateY(-7deg)!important;transform-origin:center bottom;
}
html body #app :is(.real-shelf-row,.shelf-mini-preview)>.shelf-decor:not(.shelf-photo-frame)::before{
 content:'';position:absolute;bottom:-3px;left:15%;width:75%;height:9px;border-radius:50%;
 background:radial-gradient(ellipse,#3c2c2259,transparent 70%);filter:blur(2px);z-index:-1;
}
html body #app :is(.real-shelf-row,.shelf-mini-preview)>.shelf-photo-frame{transform:perspective(650px) rotateY(-10deg) rotateX(5deg)!important}
html[data-screen=home] body #app .collection-heading h2{color:var(--inside-accent,#81052e)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html[data-screen=home][data-interior=Signature] body #app .collection-heading h2{color:#81052e!important}
html[data-screen=home][data-lighting=night] body #app .collection-heading h2{color:color-mix(in srgb,var(--inside-accent,#81052e) 40%,#fff0cf)!important}
@media(max-width:760px){html body #app :is(.real-shelf-row,.shelf-mini-preview){--shelf-depth:12px;margin-bottom:22px!important}html body #app :is(.real-shelf-row,.shelf-mini-preview)::before{height:17px}}
/* Keep care pages readable before a tablet becomes wide enough for a spread. */
html body #app .display-design-wand{width:56px!important;height:64px!important;padding:6px!important}
html body #app .display-design-wand>svg{width:44px!important;height:52px!important}
.display-design-wand .wand-star{transform-origin:39px 9px}
@media(max-width:760px){
 html body .mobile-bottom-navigation button{color:#81052e!important;opacity:1!important;background:transparent!important;font-weight:600!important}
 html body .mobile-bottom-navigation button :is(svg,.live-icon,.icon-drawing,g,span){color:inherit!important;opacity:1!important;filter:none!important;-webkit-text-fill-color:currentColor!important}
 html body .mobile-bottom-navigation button .icon-halo{display:none!important}
 html body .mobile-bottom-navigation button[aria-current=page]{color:#93691f!important;font-weight:800!important;background:radial-gradient(ellipse at 50% 22%,#f6df9d55,transparent 64%)!important}
 html body .mobile-bottom-navigation button[aria-current=page]::after{background:linear-gradient(90deg,#a0772d,#f5dda1,#b58a36)!important;box-shadow:0 1px 4px #d7b05b44!important}
 html[data-lighting=night] body .mobile-bottom-navigation button{color:#eab0c4!important}
 html[data-lighting=night] body .mobile-bottom-navigation button[aria-current=page]{color:#f4d68f!important}
 html[data-lighting=night] body .mobile-bottom-navigation button[aria-current=page] :is(svg,.live-icon,.icon-drawing,g){color:inherit!important}
}
html body #modal:has(.jar-gallery) .modal-body>.current-book-jars{grid-column:1/-1!important;margin-bottom:8px!important}
html body #modal .jar-notes-focused>.current-book-jars{display:none!important}
.guest-login-option{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:18px 0;padding:16px 0;border-top:1px solid var(--line,#ead7df)}
.guest-login-option>button{font-weight:700;color:var(--accent,#81052e);min-height:40px;padding:8px 14px}
.guest-login-option>small{font-size:12px;line-height:1.4}
.guest-account-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}
@media(max-width:760px){
 html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{color:#81052e!important}
 html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{color:#eab0c4!important}
 html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]{color:#93691f!important}
 html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]{color:#f4d68f!important}
 html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination] :is(svg,g,path,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}
 html body #descaxora-header{display:grid!important;grid-template-columns:32px 32px minmax(0,1fr)!important;grid-template-rows:auto 30px!important;gap:2px 8px!important;height:auto!important;min-height:0!important;padding:6px 12px!important;align-items:center!important}
 html body #descaxora-header>.wordmark{grid-row:1!important;grid-column:1/-1!important;justify-self:center!important;width:auto!important;margin:0!important}
 html body #descaxora-header>.cloud-account-button{grid-row:2!important;grid-column:1!important;width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:5px!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html body #descaxora-header>.mobile-header-actions{grid-row:2!important;grid-column:2!important;display:flex!important;width:30px!important;margin:0!important;position:static!important}
 html body #descaxora-header>.mobile-header-actions>button[aria-label=Lock]{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-height:30px!important;padding:5px!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html body #descaxora-header :is(.cloud-account-button,.mobile-header-actions) svg{width:19px!important;height:19px!important}
 html body #descaxora-header>.offline-readiness{grid-row:2!important;grid-column:3!important;justify-self:end!important;margin:0!important;max-width:100%!important}
}
html[data-lighting=night] body #app #page[data-layout=overview] .dash-card :is(strong,.dash-card-heading>i,.dash-card-heading>em){color:color-mix(in srgb,var(--inside-accent,#81052e) 30%,#ffffff)!important;-webkit-text-fill-color:currentColor!important}
html[data-lighting=night] body :is(#app #page,#modal) label:has(>input[data-mood-context]){background:#282e39!important;color:#f1edf2!important;-webkit-text-fill-color:#f1edf2!important;border-color:color-mix(in srgb,var(--inside-accent,#81052e) 40%,#cbd2d8)!important}
html[data-lighting=night] body :is(#app #page,#modal) label:has(>input[data-mood-context]:checked){background:color-mix(in srgb,var(--inside-accent,#81052e) 28%,#282e39)!important}
@media(min-width:761px) and (max-width:1100px){
 html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood]){grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>:is(.care-page-heading,.care-section-tabs,.page-left,.page-right,.care-history-row,.habit-month-view){grid-column:1/-1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html[data-view] body #app .workspace-shell article.notebook #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{grid-template-columns:minmax(0,1fr) minmax(240px,280px)!important;padding:18px 24px!important}
 html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div:nth-child(3)>strong{font-size:clamp(30px,5vw,48px)!important;white-space:nowrap!important}
}

/* Tablet Profile utility follows offline readiness. */
@media(min-width:761px) and (max-width:1100px){
html body #descaxora-header>.tablet-profile-control{order:21!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;margin:0 0 0 8px!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#800b35!important}
html body #descaxora-header>.tablet-profile-control>span{display:none!important}
html body #descaxora-header>.tablet-profile-control svg{width:22px!important;height:22px!important;color:inherit!important}
html[data-lighting=night] body #descaxora-header>.header-actions>button.main-navigation-button,html[data-lighting=night] body #descaxora-header>.header-actions>button.main-navigation-button :is(span,svg){color:#800b35!important;-webkit-text-fill-color:#800b35!important}
html[data-lighting=night] body #descaxora-header>.tablet-profile-control{color:#efd18e!important}
}

/* Night content stays on the page instead of separate filled rectangles. */
html[data-lighting=night]:not([data-setup]) body #app :is(.entry-card,.entry-open,.entry-open:hover,.history,.entry-composer,.threads-panel,.journal-controls,.prompt-card,.insight-panel,.care-history,.daily-inspiration,.mood-context,.entry-threads-options,.entry-more-actions,.next-task,.reminder-summary,.settings-section,.task-row){background:transparent!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important}
html[data-lighting=night]:not([data-setup]) body #app .entry-card .entry-open :is(.eyebrow,h3,p){background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-lighting=night]:not([data-setup]) body #app .entry-card{border:0!important;border-bottom:1px solid #ffffff24!important;border-radius:0!important}
html[data-lighting=night]:not([data-setup]) body #app .entry-card .entry-open{border:0!important;border-radius:0!important}

/* Preserve each growth sprite's portrait proportions at every viewport. */
html[data-view] body #app #page[data-layout=habits] .growth-scene.staged-growth>.progress-art>.progress-frame{inset:0 auto!important;left:50%!important;width:auto!important;height:100%!important;aspect-ratio:3/5!important;transform:translateX(-50%)!important;background-size:500% 100%!important;background-repeat:no-repeat!important}

/* Legible, softly tinted calendar headings in night mode. */
html[data-lighting=night][data-interior][data-view]:not([data-setup]) body #app .workspace-shell article.notebook #page :is(.habit-month-grid>b,.calendar>.calendar-weekday,.dashboard-calendar-grid>.calendar-weekday){color:color-mix(in srgb,var(--inside-accent,#17644d) 24%,#effff4)!important;-webkit-text-fill-color:color-mix(in srgb,var(--inside-accent,#17644d) 24%,#effff4)!important;text-shadow:0 1px 2px #000,0 0 4px #0009!important;font-weight:700!important}

/* Night calendars use a restrained theme sheen, without bronze or silver glare. */
html[data-lighting=night][data-interior][data-view]:not([data-setup]) body #app .workspace-shell article.notebook #page :is(.habit-month-grid>b,.calendar>.calendar-weekday,.dashboard-calendar-grid>.calendar-weekday){background:linear-gradient(115deg,#ffffff04 0%,#ffffff0b 43%,#ffffff03 62%,#ffffff06 100%),color-mix(in srgb,var(--inside-accent,#85062f) 18%,#20252e)!important;border:1px solid color-mix(in srgb,var(--inside-accent,#85062f) 30%,#89939d)!important;border-bottom:2px solid color-mix(in srgb,var(--inside-accent,#85062f) 40%,#dceade)!important;border-radius:7px!important;box-shadow:inset 0 1px 0 #ffffff12!important;color:color-mix(in srgb,var(--inside-accent,#85062f) 20%,#f5fff8)!important;-webkit-text-fill-color:color-mix(in srgb,var(--inside-accent,#85062f) 20%,#f5fff8)!important;text-shadow:none!important}

/* Completed-list empty message follows the selected palette's button accent. */
html[data-lighting=night][data-view]:not([data-setup]) body #app .workspace-shell article.notebook #page[data-layout=tasks] .task-empty[data-task-empty=completed]{color:var(--inside-accent,var(--accent,#85062f))!important;-webkit-text-fill-color:var(--inside-accent,var(--accent,#85062f))!important}

/* Compact capsule notice with an undistorted envelope and single-line copy. */
html body #app .home-hero>.home-notice-area{width:max-content!important;max-width:calc(100% - 24px)!important;margin:6px auto 12px!important}
html body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration{max-width:100%!important;gap:6px!important;padding:0 18px!important;box-sizing:border-box!important}
html body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration>b{width:auto!important;max-width:100%!important;padding:0!important;white-space:nowrap!important;font-size:clamp(12px,3.5vw,15px)!important}
html body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration>img{width:126px!important;height:100px!important;object-fit:contain!important;flex:none!important;align-self:center!important}
html body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration>:is(small,em){white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:min(340px,70vw)!important;overflow-wrap:normal!important}
html body #app .home-notice-area .capsule-ready-celebration::after{right:-2px!important;top:0!important}

/* Keep the current book's jars together without a large empty frame. */
html body #modal:has(.jar-gallery) .modal-body>.current-book-jars{width:fit-content!important;max-width:100%!important;justify-self:center!important;margin:0 auto 10px!important;padding:10px!important;box-sizing:border-box!important}
html body #modal .current-book-jars>h3{text-align:center!important;margin:0 0 8px!important;line-height:1.2!important}
html body #modal .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,210px))!important;gap:10px!important;justify-content:center!important}
html body #modal .current-book-jars .jar-display-card{padding:10px!important;min-height:0!important;gap:6px!important}
html body #modal .current-book-jars .jar-display-card>button[data-jar]{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;padding:4px!important;min-height:0!important;height:auto!important}
html body #modal .current-book-jars .jar-display-card strong{margin:0!important;font-size:20px!important;line-height:1.2!important}
html body #modal .current-book-jars .jar-display-card :is(.jar-note-total,.jar-book-origin){margin:0!important;line-height:1.2!important}
html body #modal .current-book-jars .jar-draw-button{margin:4px auto 0!important;min-height:32px!important;padding:6px 10px!important}
@media(max-width:620px){html body #modal .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,1fr))!important;gap:6px!important}html body #modal .current-book-jars .jar-display-card{padding:6px!important}html body #modal .current-book-jars .jar-display-card strong{font-size:15px!important}html body #modal .current-book-jars .jar-draw-button{font-size:10px!important;padding:5px 3px!important}}

html body #modal:has(.jar-gallery) .modal-body>.jar-draw-result{grid-column:1/-1!important;margin:8px auto 12px!important;width:min(100%,620px)!important;box-sizing:border-box!important}

html body #app .direct-studio .bookmark-inbook-toggle{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;width:max-content!important;max-width:100%!important;flex-shrink:0!important}

/* A selection ring is an overlay, never a category icon or layout item. */
html body :is(#app,#modal) button>.selection-contour{position:absolute!important;display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;align-self:auto!important;flex:none!important;aspect-ratio:auto!important;font-size:0!important;line-height:0!important;pointer-events:none!important}

/* Category selection outlines enclose the complete card, not its leading icon. */
html body #app .setup-category-grid .bookmark-category-choice>button[data-welcome-section]>.selection-contour{inset:calc(-1 * var(--contour-width))!important;width:auto!important;height:auto!important;top:calc(-1 * var(--contour-width))!important;right:calc(-1 * var(--contour-width))!important;bottom:calc(-1 * var(--contour-width))!important;left:calc(-1 * var(--contour-width))!important;padding:var(--contour-width)!important;border:0!important;background:var(--contour-image)!important;border-radius:inherit!important}
html body #app .setup-category-grid .bookmark-category-choice>button[data-welcome-section]>span:not(.selection-contour){border:0!important;outline:0!important;box-shadow:none!important}

/* Category cards indicate selection with their outline alone. */
html[data-setup] body #app .setup-category-grid .bookmark-category-choice>button[data-welcome-section][aria-pressed=true]{background:var(--surface,#fffdf9)!important;background-image:none!important;box-shadow:none!important;border:3px solid transparent!important;border-image:var(--selection-iridescence) 1!important}

/* Selected custom-palette copy keeps a readable gold tone on cream. */
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[data-page-color-mode=custom][aria-pressed=true] small{color:#94671f!important;-webkit-text-fill-color:#94671f!important;opacity:1!important;text-shadow:none!important}

/* One clear selection outline for page-color choices, without changing the fill. */
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button{border-width:1px!important;outline:none!important;box-shadow:none!important}
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[aria-pressed=true]{border:3px solid transparent!important;border-image:var(--selection-iridescence) 1!important;outline:none!important;box-shadow:none!important}
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[aria-pressed=true]>b{font-weight:750!important}
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[aria-pressed=true]>.selection-contour{inset:-3px!important;padding:3px!important;border-radius:inherit!important}

/* Custom colors uses a rainbow selection ring. */
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[data-page-color-mode=custom][aria-pressed=true]{--selection-iridescence:linear-gradient(115deg,#bd527b 0%,#b17bd3 18%,#658bd4 36%,#56a798 54%,#b4ad53 72%,#d89a57 86%,#bd527b 100%);border-image-source:var(--selection-iridescence)!important}
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[data-page-color-mode=custom][aria-pressed=true]>.selection-contour{--contour-image:var(--selection-iridescence)!important}

html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true]{--selection-iridescence:var(--cover-choice-border);background:linear-gradient(#fffcf6,#fffcf6) padding-box,var(--cover-choice-border) border-box!important;border:3px solid transparent!important;border-image:var(--cover-choice-border) 1!important}
html[data-setup] body #app .direct-studio .page-color-approach .page-color-routes>button[data-page-color-mode=cover][aria-pressed=true]>.selection-contour{--contour-image:var(--cover-choice-border)!important}

/* Compact page-color controls with a clear, short transition to paper choices. */
html[data-setup] body #app .direct-studio .direct-popover-body .page-custom-colors{margin:12px 0 16px!important;padding:0!important;min-height:0!important}
html[data-setup] body #app .direct-studio .page-custom-colors>.studio-extra{margin:6px 0 12px!important;padding:0!important;min-height:0!important}
html[data-setup] body #app .direct-studio .page-custom-colors>.studio-extra>summary{margin:0!important;padding:6px 0!important;min-height:32px!important}
html[data-setup] body #app .direct-studio .page-custom-colors .studio-page-colors{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:20px!important;margin:8px 0 0!important;padding:0!important;min-height:0!important}
html[data-setup] body #app .direct-studio .page-custom-colors .studio-page-colors>label{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;min-height:44px!important}
html[data-setup] body #app .direct-studio .page-paper-stage{margin:14px 0 0!important;padding-top:0!important;min-height:0!important}
html[data-setup] body #app .direct-studio .page-paper-stage h3{margin:0 0 6px!important}
html[data-setup] body #app .direct-studio .page-paper-stage p{margin:0 0 10px!important}
@media(max-width:380px){html[data-setup] body #app .direct-studio .page-custom-colors .studio-page-colors{gap:12px!important;flex-wrap:wrap!important}}

/* Journal name sits between the setup title and book-choice actions. */
html[data-setup] body #app .direct-studio>.direct-studio-heading{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(190px,300px) auto!important;align-items:center!important;gap:18px!important}
html[data-setup] body #app .direct-studio>.direct-studio-heading>.editor-book-name{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:300px!important;min-width:0!important;margin:0!important;padding:0!important;text-align:center!important;justify-self:center!important;font-size:12px!important}
html[data-setup] body #app .direct-studio>.direct-studio-heading>.editor-book-name input{width:100%!important;box-sizing:border-box!important;margin:5px 0 0!important;min-height:40px!important}
html[data-setup] body #app .direct-studio>.direct-studio-heading>.direct-heading-actions{grid-column:3!important;grid-row:1!important}
@media(max-width:900px){html[data-setup] body #app .direct-studio>.direct-studio-heading{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.editor-book-name{grid-column:1/-1!important;grid-row:2!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.direct-heading-actions{grid-column:2!important}}
@media(max-width:520px){html[data-setup] body #app .direct-studio>.direct-studio-heading{grid-template-columns:1fr!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.direct-heading-actions{grid-column:1!important;grid-row:3!important;justify-content:center!important}}

html[data-setup] body #app .direct-studio .direct-popover-body .paper-grid.paper-name-options>button[data-paper-style]{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-size:15px!important;line-height:1.3!important;min-height:44px!important;padding:10px 14px!important}

html[data-setup] body #app .direct-studio .direct-popover-body .page-custom-colors{margin-top:22px!important}html[data-setup] body #app .direct-studio .page-custom-colors>h3{margin:0 0 10px!important}

/* Shelf choices: compact square tiles with artwork taking the leading role. */
html[data-setup] body #app .direct-studio .direct-popover-body .shelf-decor-options{grid-template-columns:repeat(3,minmax(0,170px))!important;justify-content:center!important;gap:10px!important}
html[data-setup] body #app .direct-studio .direct-popover-body .shelf-decor-options>button{aspect-ratio:1!important;min-height:0!important;padding:10px 7px!important;gap:6px!important;overflow:visible!important}
html[data-setup] body #app .direct-studio .direct-popover-body .decor-choice-art{width:100%!important;height:105px!important;margin:0!important}
html[data-setup] body #app .direct-studio .direct-popover-body .decor-choice-art .shelf-decor{width:100px!important;height:102px!important;max-width:100%!important;max-height:100%!important;transform:none!important}
html[data-setup] body #app .direct-studio .direct-popover-body .decor-choice-art .shelf-decor>img{width:100%!important;height:100%!important;object-fit:contain!important}
html[data-setup] body #app .direct-studio .direct-popover-body .shelf-decor-options b{text-align:center!important;font-size:12px!important}
@media(max-width:620px){html[data-setup] body #app .direct-studio .direct-popover-body .shelf-decor-options{grid-template-columns:repeat(2,minmax(0,150px))!important}html[data-setup] body #app .direct-studio .direct-popover-body .decor-choice-art{height:90px!important}html[data-setup] body #app .direct-studio .direct-popover-body .decor-choice-art .shelf-decor{height:88px!important;width:88px!important}}

/* Writing-experience choices use a larger, clear circular selection indicator. */
html body :is(#app,#modal) .experience-setup .experience-preset-grid>button[data-experience-preset]{grid-template-columns:32px minmax(0,1fr)!important;column-gap:10px!important;row-gap:10px!important;padding:18px 16px!important;min-height:108px!important}
html body :is(#app,#modal) .experience-setup .experience-preset-grid>button[data-experience-preset]>.preset-check{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;box-sizing:border-box!important;border:2px solid #b58e9e!important;border-radius:50%!important;background:transparent!important;font-size:0!important;line-height:1!important;margin:0!important;padding:0!important}
html body :is(#app,#modal) .experience-setup .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>.preset-check{font-size:21px!important;font-family:Arial,sans-serif!important;font-weight:700!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;border-color:#81052e!important;background:transparent!important}
@media(max-width:480px){html body :is(#app,#modal) .experience-setup .experience-preset-grid>button[data-experience-preset]{padding:14px 10px!important;column-gap:8px!important}}

/* Final review: broader book and matching preview/list alignment. */
html[data-setup] body #app .direct-studio.design-final-review .direct-layout{align-items:start!important;gap:24px!important}
html[data-setup] body #app .design-final-review .review-previews{align-items:start!important;gap:18px!important}
html[data-setup] body #app .design-final-review .review-previews figure{display:flex!important;flex-direction:column!important;align-items:stretch!important;margin:0!important;min-width:0!important}
html[data-setup] body #app .design-final-review .review-previews figcaption{min-height:24px!important;margin:0 0 10px!important;line-height:24px!important}
html[data-setup] body #app .design-final-review .review-previews .review-book{width:100%!important;max-width:300px!important;height:390px!important;margin:0 auto!important;box-sizing:border-box!important}
html[data-setup] body #app .design-final-review .review-previews .review-single-page{height:390px!important;min-height:390px!important;margin:0!important;box-sizing:border-box!important}
html[data-setup] body #app .design-final-review .review-choice-list{margin:0!important;padding:34px 0 0!important;align-self:start!important}
html[data-setup] body #app .design-final-review .review-choice-list>h2{margin:0 0 12px!important}
@media(max-width:760px){html[data-setup] body #app .design-final-review .review-choice-list{padding-top:0!important}html[data-setup] body #app .design-final-review .review-previews .review-book{height:310px!important}html[data-setup] body #app .design-final-review .review-previews .review-single-page{height:310px!important;min-height:310px!important}}

/* Keep the sounds icon, label, and switch as one compact control. */
html[data-setup] body #app .direct-studio .direct-popover-body .sound-toggle{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:max-content!important;max-width:100%!important;margin:16px auto!important;padding:0!important}
html[data-setup] body #app .direct-studio .sound-toggle>.setup-sound-icon{display:flex!important;align-items:center!important;justify-content:center!important;order:0!important;width:23px!important;height:23px!important;margin:0!important;color:#94671f!important}
html[data-setup] body #app .direct-studio .sound-toggle>.setup-sound-icon svg{width:23px!important;height:23px!important}
html[data-setup] body #app .direct-studio .sound-toggle>#guide-sound-state{order:1!important;flex:none!important;margin:0!important;white-space:nowrap!important}
html[data-setup] body #app .direct-studio .sound-toggle>input{order:2!important;flex:none!important;margin:0 0 0 4px!important}

/* A modestly larger home book aligns with the top shortcut cards. */
@media(min-width:761px){html[data-screen=home] body #app .home-book-studio>.journal-display>.book-wrap{scale:1.1!important;translate:0 -10px!important;transform-origin:center bottom!important}html[data-screen=home] body #app .home-book-studio>.journal-display{overflow:visible!important}}

/* Capsule notices should not create a large blank band above the home book. */
html[data-screen=home] body #app .home-hero{row-gap:12px!important;align-content:start!important;grid-auto-rows:min-content!important}
html[data-screen=home] body #app .home-hero>.home-notice-area{margin:0 auto 4px!important;padding:0!important;min-height:0!important;align-self:start!important}
html[data-screen=home] body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration{gap:3px!important;min-height:0!important}
html[data-screen=home] body #app .home-notice-area .capsule-home-reminder.capsule-ready-celebration>img{width:100px!important;height:76px!important}
html[data-screen=home] body #app .home-notice-area .capsule-ready-celebration>:is(b,small,em){margin:0!important;line-height:1.3!important}
html[data-screen=home] body #app .home-hero>.home-book-studio{margin-top:0!important;align-self:start!important}

/* Small spine imprint follows the rounded surface toward both edges. */
html body #app .new-shelf .new-spine>.spine-brand{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;left:7%!important;right:7%!important;width:86%!important;max-width:86%!important;white-space:nowrap!important;letter-spacing:0!important;perspective:55px!important;overflow:hidden!important;font-size:5px!important}
html body #app .new-shelf .new-spine>.spine-brand>em{display:inline-block!important;position:static!important;font:inherit!important;font-style:normal!important;letter-spacing:0!important;color:inherit!important;opacity:var(--brand-shade)!important;transform:rotateY(var(--brand-angle))!important;transform-origin:center!important;width:auto!important;margin:0!important;padding:0!important;flex:0 1 auto!important}

/* Home shelf accessories share the books' responsive scale. */
html[data-screen=home] body #app .new-shelf .real-shelf-row>.shelf-decor{height:235px!important;max-height:235px!important;width:200px!important;flex:0 0 200px!important;align-self:flex-end!important;margin:0!important;bottom:0!important}
html[data-screen=home] body #app .new-shelf .real-shelf-row>.shelf-decor>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
@media(max-width:760px){html[data-screen=home] body #app .new-shelf .real-shelf-row>.shelf-decor{height:155px!important;max-height:155px!important;width:88px!important;flex-basis:88px!important}}

/* Give mood summaries a readable scale in spacious views. */
@media(min-width:761px){html[data-view] body #app #page :is(.mood-metrics-layout,.mood-distribution){grid-template-columns:clamp(180px,20vw,220px) minmax(0,1fr)!important;gap:24px!important;align-items:center!important}html[data-view] body #app #page :is(.dashboard-mood-donut,.mood-donut){width:clamp(180px,20vw,220px)!important;height:clamp(180px,20vw,220px)!important;min-width:180px!important}html[data-view] body #app #page :is(.dashboard-mood-donut strong,.mood-donut b){font-size:48px!important}html[data-view] body #app #page :is(.dashboard-mood-donut>div>span,.mood-donut small){font-size:14px!important}html[data-view] body #app #page :is(.dashboard-mood-legend,.mood-legend)>div{font-size:14px!important;padding:9px 0!important;gap:10px!important}html[data-view] body #app #page .dashboard-mood-summary>strong{font-size:25px!important}}

html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-column:1/-1!important;gap:24px!important;align-items:start!important;width:100%!important;margin-top:20px!important}
html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair>:is(.dashboard-reminder-center,.dashboard-reflection-invitation){grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:18px!important;box-sizing:border-box!important;align-self:start!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair{grid-template-columns:1fr!important;gap:16px!important}}

html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair{position:relative!important;gap:32px!important}
html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair::before{content:'';position:absolute;left:calc(50% - 1.5px);top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--selection-iridescence,linear-gradient(135deg,#85062f,#e4b9c7,#fff0cf,#b68b35,#85062f));pointer-events:none}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair::before{display:none}html[data-view] body #app #page[data-layout=overview]>.dashboard-bottom-pair>.dashboard-reminder-center{border-top:3px solid transparent!important;border-image:var(--selection-iridescence) 1!important}}

html[data-view] body #app .dashboard-bottom-pair>section>h3{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}
html[data-view] body #app .dashboard-bottom-pair .dashboard-section-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;color:var(--inside-accent,#94671f)!important;background:none!important}
html[data-view] body #app .dashboard-bottom-pair .dashboard-section-icon svg{width:32px!important;height:32px!important}
html[data-lighting=night][data-view] body #app .dashboard-bottom-pair .dashboard-section-icon{color:#efd18e!important}

/* Keep the account utility away from the logo on tablet and desktop. */
@media(min-width:761px){html body #descaxora-header>.cloud-account-button{order:22!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0 0 0 8px!important;padding:5px!important;position:static!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important}html body #descaxora-header>.cloud-account-button>span{display:none!important}html body #descaxora-header>.cloud-account-button svg{width:22px!important;height:22px!important}}

html[data-view] body #app .dashboard-reminder-center [data-reminder-area=capsules] .reminder-kind-icon{color:var(--inside-accent,var(--accent,#85062f))!important}
html[data-view] body #app .dashboard-reminder-center [data-reminder-area=capsules] .reminder-kind-icon svg{color:inherit!important;stroke:currentColor!important;width:28px!important;height:28px!important}

@media(min-width:761px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-details .dashboard-mood-metrics .mood-metrics-layout,html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .mood-metrics-layout{grid-template-columns:240px minmax(0,1fr)!important;gap:24px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .dashboard-mood-donut{width:240px!important;height:240px!important;min-width:240px!important;min-height:240px!important;max-width:240px!important;max-height:240px!important;flex:0 0 240px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .dashboard-mood-donut strong{font-size:52px!important}}

/* Expand the donut where its panel has room, and move its legend right. */
html[data-view] body #app .dashboard-mood-summary-panel{container-type:inline-size;container-name:mood-summary}
@container mood-summary (min-width:650px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-details .dashboard-mood-metrics .mood-metrics-layout,html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .mood-metrics-layout{grid-template-columns:280px minmax(0,1fr)!important;gap:40px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .dashboard-mood-donut{width:280px!important;height:280px!important;min-width:280px!important;min-height:280px!important;max-width:280px!important;max-height:280px!important;flex-basis:280px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-mood-metrics .dashboard-mood-donut strong{font-size:56px!important}html[data-view] body #app .dashboard-mood-summary .dashboard-mood-legend>div{font-size:15px!important;grid-template-columns:12px minmax(0,1fr) 48px 48px!important;gap:12px!important}}

/* Coordinated dashboard metrics with more character and clearer hierarchy. */
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{--metric-color:var(--inside-accent,#85062f);position:relative!important;overflow:hidden!important;background:linear-gradient(135deg,#ffffff0a,#ffffffa8 48%,#ffffff0a),color-mix(in srgb,var(--metric-color) 4%,var(--inside-paper,#fffdf9))!important;transition:translate .2s ease,box-shadow .2s ease!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.journal-card{--metric-color:color-mix(in srgb,var(--inside-accent,#85062f) 85%,#263d6d)}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.habits-card{--metric-color:color-mix(in srgb,var(--inside-accent,#85062f) 50%,#247b73)}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.mood-card{--metric-color:color-mix(in srgb,var(--inside-accent,#85062f) 45%,#9266b0)}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.tasks-card{--metric-color:color-mix(in srgb,var(--inside-accent,#85062f) 55%,#596881)}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card::before{content:''!important;position:absolute!important;inset:0 0 auto!important;height:4px!important;background:linear-gradient(110deg,var(--metric-color),#fff0d4,var(--metric-color))!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong{font-size:52px!important;line-height:1.1!important;color:var(--metric-color)!important;-webkit-text-fill-color:var(--metric-color)!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong>small{font-size:13px!important;line-height:1.4!important;color:var(--metric-color)!important;-webkit-text-fill-color:var(--metric-color)!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading i,html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading i svg{width:36px!important;height:36px!important;color:var(--metric-color)!important}
html[data-lighting=night][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{--metric-color:color-mix(in srgb,var(--inside-accent,#85062f) 35%,#e8dce7);background:linear-gradient(135deg,#ffffff04,#ffffff09,#ffffff02),#121212!important}
@media(hover:hover){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card:hover{translate:0 -3px!important;box-shadow:0 7px 15px #20253515!important}}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong{font-size:42px!important}}
@media(prefers-reduced-motion:reduce){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{transition:none!important}}

html[data-view] body #app .care-view-switch>button[data-care-view]{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;column-gap:8px!important;row-gap:3px!important}
html[data-view] body #app .care-view-switch>button[data-care-view]>svg{grid-column:1!important;grid-row:1/3!important;width:24px!important;height:24px!important;align-self:center!important;margin:0!important;color:var(--inside-accent,#85062f)!important;stroke:currentColor!important}
html[data-view] body #app .care-view-switch>button[data-care-view]>span{grid-column:2!important;grid-row:1!important;margin:0!important;line-height:1.2!important}
html[data-view] body #app .care-view-switch>button[data-care-view]>small{grid-column:2!important;grid-row:2!important;margin:0!important;line-height:1.2!important}
html[data-view] body #app .care-view-switch>button[data-care-view] .icon-halo{fill:transparent!important;stroke:none!important}
html[data-view] body #app .care-view-switch>button[data-care-view=mood] svg g{stroke:currentColor!important}
html[data-view] body #app .care-view-switch>button[data-care-view=mood] .face-eyes ellipse{fill:currentColor!important}
html[data-lighting=night][data-view] body #app .care-view-switch>button[data-care-view]>svg{color:#f0d9a5!important}

html body #descaxora-header .offline-readiness{font-size:12px!important}
@media(max-width:460px){html body #descaxora-header .offline-readiness{font-size:10px!important}}

html body #descaxora-header .offline-readiness,html body #descaxora-header .offline-readiness[data-ready=true]{color:#800b35!important}
html[data-lighting=night] body #descaxora-header .offline-readiness{color:#efb6c9!important}
@media(min-width:761px){html body #descaxora-header>.banner-view-toggle{position:absolute!important;left:50%!important;translate:-50% 0!important;margin:0!important;justify-content:center!important}}
@media(min-width:761px) and (max-width:1100px){html body #descaxora-header>.banner-view-toggle{position:relative!important;left:auto!important;translate:none!important;flex:0 0 100%!important;order:30!important;justify-self:center!important;width:max-content!important;margin:6px auto 0!important}}

@media(hover:hover){html body .journal-navigation button:hover svg,html body .journal-navigation button:hover svg :is(path,g){color:#800b35!important;-webkit-text-fill-color:#800b35!important}}

html[data-screen=home] body #app .today-strip .snapshot-progress{background:color-mix(in srgb,var(--inside-accent,#85062f) 12%,white)!important;height:11px!important;overflow:hidden!important;border-radius:8px!important}
html[data-screen=home] body #app .today-strip .snapshot-progress>i{background:var(--selection-iridescence)!important;height:100%!important;border-radius:inherit!important}
html[data-lighting=night][data-screen=home] body #app .today-strip .snapshot-progress{background:color-mix(in srgb,var(--inside-accent,#85062f) 16%,#cfd5dc)!important}
@media(min-width:761px) and (max-width:1100px){html body>header#descaxora-header{display:grid!important;grid-template-columns:minmax(0,1fr) 32px 32px!important;grid-template-rows:auto auto auto auto!important;gap:8px!important;height:auto!important;padding:12px 20px!important}html body>header#descaxora-header>.wordmark{grid-row:1!important;grid-column:1/-1!important;margin:0!important;justify-self:start!important}html body>header#descaxora-header>.header-actions{grid-row:2!important;grid-column:1/-1!important;width:100%!important;margin:0!important;display:flex!important}html body>header#descaxora-header>.header-actions>button.main-navigation-button{flex:1!important}html body>header#descaxora-header>.offline-readiness{grid-row:3!important;grid-column:1!important;justify-self:end!important;margin:0!important}html body>header#descaxora-header>.tablet-profile-control{grid-row:3!important;grid-column:2!important;margin:0!important}html body>header#descaxora-header>.cloud-account-button{grid-row:3!important;grid-column:3!important;margin:0!important}html body>header#descaxora-header>.banner-view-toggle{grid-row:4!important;grid-column:1/-1!important;justify-self:center!important;position:static!important;width:max-content!important;translate:none!important;margin:0!important}}

html[data-screen=home] body #app .new-shelf .real-shelf-row{justify-content:flex-start!important}
html[data-screen=home] body #app .new-shelf .real-shelf-row>.shelf-decor.shelf-end-accessory{position:relative!important;inset:auto!important;margin-left:8px!important;margin-right:0!important;order:0!important}
@media(max-width:760px){html[data-screen=home] body #app .new-shelf .real-shelf-row>.shelf-decor.shelf-end-accessory{margin-left:5px!important}}

@media(min-width:761px) and (max-width:1100px){html body>.privacy-quick{top:220px!important;right:58px!important}html body>.privacy-minimize{top:224px!important;right:18px!important}}

html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{color:#bd2854!important;-webkit-text-fill-color:#bd2854!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]{color:#efd18e!important;-webkit-text-fill-color:#efd18e!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination] :is(svg,g,path,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}

/* Tablet utility row: one account icon, beside offline readiness above navigation. */
@media(min-width:761px) and (max-width:1100px){html body>header#descaxora-header{grid-template-columns:minmax(0,1fr) auto 32px!important;grid-template-rows:auto auto auto!important}html body>header#descaxora-header>.wordmark{grid-row:1!important;grid-column:1!important;max-width:100%!important}html body>header#descaxora-header>.offline-readiness{grid-row:1!important;grid-column:2!important;justify-self:end!important;margin:0!important}html body>header#descaxora-header>.cloud-account-button{grid-row:1!important;grid-column:3!important;margin:0!important}html body>header#descaxora-header>.tablet-profile-control{display:none!important}html body>header#descaxora-header>.banner-view-toggle{grid-row:3!important}html body>.privacy-quick{top:200px!important}html body>.privacy-minimize{top:204px!important}}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:not([aria-current=page]){color:#e25878!important;-webkit-text-fill-color:#e25878!important}

@media(min-width:901px){html[data-setup] body #app .direct-studio>.direct-studio-heading{align-items:end!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.editor-book-name,html[data-setup] body #app .direct-studio>.direct-studio-heading>.direct-heading-actions{align-self:end!important;margin-bottom:0!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.editor-book-name input{height:44px!important;min-height:44px!important;margin-bottom:0!important}html[data-setup] body #app .direct-studio>.direct-studio-heading>.direct-heading-actions{align-items:flex-end!important}html[data-setup] body #app .direct-studio>.direct-studio-heading .direct-design-links{margin-bottom:0!important}}

html[data-setup] body #app .guided-setup-steps[data-assisted=true]>button:disabled{opacity:.38!important;filter:grayscale(.8)!important;cursor:default!important;box-shadow:none!important;background:transparent!important;border-color:#d6ccd0!important;pointer-events:none!important}
html[data-setup] body #app .guided-setup-steps[data-assisted=true]>button:not(:disabled){opacity:1!important}

/* Bookmark color routes share equal dimensions and a common baseline. */
html[data-setup] body #app .direct-studio .bookmark-preview-colors>.two-choice-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;width:100%!important;max-width:360px!important;margin:10px auto!important}
html[data-setup] body #app .direct-studio .bookmark-preview-colors>.two-choice-row>button[data-preview-color-mode]{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:9px 10px!important;text-align:center!important;white-space:nowrap!important;line-height:1.2!important;font-size:13px!important;transform:none!important;translate:none!important}

/* Align bookmark color circles independently of category-name lengths. */
html[data-setup] body #app .direct-studio .bookmark-preview-color-fields{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:14px 24px!important;margin:12px auto!important;width:100%!important}
html[data-setup] body #app .direct-studio .bookmark-preview-color-fields>label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;min-height:46px!important;margin:0!important;padding:0!important;line-height:1.2!important}
html[data-setup] body #app .direct-studio .bookmark-preview-color-fields>label>span{margin:0!important;white-space:nowrap!important;line-height:1.2!important}
html[data-setup] body #app .direct-studio .bookmark-preview-color-fields input[type=color]{display:block!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:1!important;margin:0!important;align-self:center!important;transform:none!important;translate:none!important;box-sizing:border-box!important}

html[data-screen=home] body #app .home-hero>.home-notice-area{margin-bottom:18px!important}
html[data-screen=home] body #app .home-hero>.home-notice-area+.home-book-studio{margin-top:6px!important}

html body #modal .capsule-seal-mode{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:12px 0 5px!important;padding:0!important;border:0!important}
html body #modal .capsule-seal-mode>legend{padding:0!important;margin-bottom:8px!important}
html body #modal .capsule-seal-mode>label{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:6px 0!important;min-width:0!important}
html body #modal .capsule-seal-mode>label>span{display:block!important;margin:0!important}
html body #modal .capsule-seal-mode b{font-size:13px!important;line-height:1.3!important}
html body #modal .capsule-mode-explanation{font-size:12px!important;margin:0 0 14px!important;line-height:1.4!important}
@media(max-width:760px){html body #modal .weekly-stats>div{display:grid!important;grid-template-rows:minmax(36px,auto) 64px 40px!important;align-items:center!important;justify-items:center!important;text-align:center!important;gap:6px!important;padding:16px 10px!important;box-sizing:border-box!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>span{grid-row:1!important;text-align:center!important;width:100%!important;margin:0!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>strong{grid-row:2!important;text-align:center!important;margin:0!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i{grid-row:3!important;display:grid!important;place-items:center!important;margin:0!important;width:36px!important;height:36px!important}}
@media(max-width:760px){html body #modal .weekly-stats>div>i svg{width:36px!important;height:36px!important}}

@media(max-width:760px){html body #modal .weekly-stats>div>b{grid-row:2!important;text-align:center!important;justify-self:center!important;margin:0!important;line-height:1!important}}

html body #app .home-notice-area .capsule-home-reminder:not(.capsule-ready-celebration){flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important}
html body #app .home-notice-kind-icon{display:inline-flex!important;flex:0 0 26px!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;color:inherit!important}
html body #app .home-notice-kind-icon svg{width:26px!important;height:26px!important;color:inherit!important}
html body #app .home-notice-kind-icon .icon-halo{fill:transparent!important;stroke:none!important}

/* Care mode switch remains a simple icon-and-title control. */
html[data-view] body #app .care-view-switch>button[data-care-view]{grid-template-rows:auto!important;align-items:center!important;min-height:44px!important;row-gap:0!important}
html[data-view] body #app .care-view-switch>button[data-care-view]>svg{grid-row:1!important;width:25px!important;height:25px!important}
html[data-view] body #app .care-view-switch>button[data-care-view]>small{display:none!important}
html[data-view] body #app .care-view-switch>button[data-care-view=mood][aria-pressed=true]>svg{color:var(--inside-accent,#85062f)!important;opacity:1!important;filter:none!important}
html[data-view] body #app .care-view-switch>button[data-care-view=mood][aria-pressed=true] svg :is(g,path,.mood-outline){stroke:currentColor!important;stroke-width:2!important}
html[data-view] body #app .care-view-switch>button[data-care-view=mood][aria-pressed=true] svg .face-eyes ellipse{fill:currentColor!important;opacity:1!important}
html[data-lighting=night][data-view] body #app .care-view-switch>button[data-care-view=mood][aria-pressed=true]>svg{color:#f2d28d!important}

/* Retain the reflection artwork, tinted to match the reminder bell. */
html[data-view] body #app .dashboard-bottom-pair>.dashboard-reflection-invitation .dashboard-section-icon svg{filter:grayscale(1) sepia(1) saturate(5) hue-rotate(175deg) brightness(.8)!important}

html[data-view] body #app #page[data-layout=overview] .dashboard-mood-metrics .panel-heading{font-size:28px!important;font-weight:700!important;line-height:1.25!important}
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .dashboard-mood-metrics .panel-heading{font-size:24px!important}}

/* The chosen page view echoes DescaXora navigation without a heavy fill. */
html body #descaxora-header>.banner-view-toggle>button[data-view][aria-pressed=true]{border:2px solid transparent!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(#fffaf0,#fffaf0) padding-box,linear-gradient(115deg,#85062f,#c58b9d 23%,#fff0d1 45%,#b98d39 66%,#f1dba8 82%,#85062f) border-box!important;box-shadow:0 2px 5px #6d4d2410!important;color:#800b35!important;-webkit-text-fill-color:#800b35!important;font-weight:600!important;outline:none!important}
html body #descaxora-header>.banner-view-toggle>button[data-view]:not([aria-pressed=true]){background:transparent!important;box-shadow:none!important;border-color:transparent!important}

/* Capsule action lasts 1.8 seconds, followed by a short resting pause. */
html body .letter-motion.letter-unfold,html body .letter-motion.letter-fold{animation-duration:2.3s!important}
html body .letter-unfold .motion-flap{animation-duration:.5s!important}
html body .letter-unfold .motion-paper{animation-duration:1.3s!important;animation-delay:.5s!important}
html body .letter-unfold .motion-seal{animation-duration:.3s!important}
html body .letter-fold .motion-paper{animation-duration:1s!important}
html body .letter-fold .motion-flap{animation-duration:.5s!important;animation-delay:1s!important}
html body .letter-fold .motion-seal{animation-duration:.3s!important;animation-delay:1.5s!important}

/* Layered paper envelope, with physical folds and a raised crown wax seal. */
html body .letter-motion{perspective:1000px!important}
html body .letter-motion .motion-envelope{width:260px!important;height:178px!important;transform-style:preserve-3d!important;transform:rotateX(8deg) rotateY(-8deg) rotateZ(-2deg)!important;background:linear-gradient(135deg,#eee0c5,#fffaf0 48%,#d8c3a0)!important;border:1px solid #bba581!important;border-radius:4px!important;box-shadow:1px 2px 0 #d2bd99,2px 4px 0 #c2aa82,4px 7px 0 #ad936c,10px 22px 28px #271a1840!important;clip-path:none!important;overflow:visible!important;isolation:auto!important}
html body .motion-envelope::before{content:'';position:absolute;inset:3px;background:linear-gradient(145deg,#b9a37d,#e0cba5);border-radius:3px;transform:translateZ(-3px);box-shadow:inset 0 3px 9px #66503545}
html body .letter-motion .motion-pocket{inset:0!important;z-index:2!important;transform:translateZ(4px)!important;background:linear-gradient(33deg,transparent 49.5%,#b9a27d 50%,#fff8e8 50.6%,transparent 51%),linear-gradient(-33deg,transparent 49.5%,#c7b18d 50%,#fff8e8 50.6%,transparent 51%),repeating-linear-gradient(0deg,#ffffff08 0 1px,transparent 1px 3px),linear-gradient(155deg,#fffbef,#e9d7b5)!important;border-radius:2px 2px 4px 4px!important;box-shadow:inset 0 -2px 3px #9d835b45,0 2px 2px #66503520!important;clip-path:polygon(0 0,50% 51%,100% 0,100% 100%,0 100%)!important}
html body .letter-motion .motion-flap{background:linear-gradient(160deg,#fffdf6,#ecdbb9 65%,#c4aa7f)!important;transform-origin:50% 0!important;backface-visibility:visible!important;filter:drop-shadow(0 3px 2px #684e2b45)!important;clip-path:polygon(0 0,100% 0,50% 65%)!important}
html body .letter-motion .motion-paper{inset:12px 20px 8px!important;z-index:1!important;background:repeating-linear-gradient(0deg,transparent 0 22px,#bc9b6d18 22px 23px),linear-gradient(110deg,#fffdf5,#fff 50%,#f4eddf)!important;border:1px solid #d7cbb5!important;box-shadow:1px 1px 0 #e1d8c7,2px 3px 4px #4a321b20!important;overflow:hidden!important}
html body .motion-message{position:absolute;inset:12px;display:block!important;text-align:center!important;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.35!important;font-family:Georgia,serif!important;font-style:normal!important;color:#4c3532!important;-webkit-text-fill-color:#4c3532!important;overflow:hidden!important}
html body .letter-motion .motion-seal{background:radial-gradient(circle at 30% 23%,#d86e76,#a21d3e 45%,#650c28 78%)!important;border:2px solid #a83c54!important;box-shadow:inset 0 1px 2px #ffe0bf9c,inset 0 -3px 3px #4e071e99,1px 3px 0 #690f2b,2px 5px 5px #4a1e283d!important;border-radius:47% 53% 48% 51%!important;color:#f1d093!important;transform-style:preserve-3d!important}
html body .letter-motion.letter-unfold{animation-duration:4.8s!important}
html body .letter-unfold .motion-flap{animation:real-envelope-open 1.25s ease-in-out both!important}
html body .letter-unfold .motion-paper{animation:capsule-open-paper 2.7s 1.25s cubic-bezier(.3,.1,.2,1) both!important}
html body .letter-unfold .motion-seal{animation-duration:.65s!important}
html body .letter-motion.letter-fold{animation-duration:4s!important}
html body .letter-fold .motion-paper{animation:capsule-seal-paper 2.1s ease-in-out both!important}
html body .letter-fold .motion-flap{animation:real-envelope-close 1s 2.1s ease-in-out both!important}
html body .letter-fold .motion-seal{animation-duration:.5s!important;animation-delay:3.1s!important}
@keyframes real-envelope-open{0%,10%{transform:translateZ(5px) rotateX(0);z-index:3}100%{transform:translateZ(-2px) rotateX(-175deg);z-index:0}}
@keyframes real-envelope-close{0%{transform:translateZ(-2px) rotateX(-175deg);z-index:0}100%{transform:translateZ(5px) rotateX(0);z-index:3}}
@media(max-width:380px){html body .letter-motion .motion-envelope{width:230px!important;height:160px!important}}

.origami-note-scene{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;pointer-events:none;perspective:1000px;background:#16101b18}
.origami-note-sheet{position:relative;width:220px;height:180px;transform-style:preserve-3d;background:linear-gradient(130deg,#fffef7,#f3ead8);box-shadow:2px 4px 0 #d5c6ad,6px 14px 25px #24162135;border:1px solid #cdbfa4;animation:origami-sheet-away 3s both}
.origami-note-copy{position:absolute;inset:18px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:hidden;line-height:1.3;text-align:center;font-family:Georgia,serif;color:#493036!important;-webkit-text-fill-color:#493036!important}
.origami-note-sheet>i{position:absolute;inset:0;display:block;background:linear-gradient(135deg,color-mix(in srgb,var(--origami-color) 42%,#fffdf5),var(--origami-color));backface-visibility:visible;box-shadow:inset 0 0 1px #6c493c;transform-style:preserve-3d}
.origami-fold-left{clip-path:polygon(0 0,50% 50%,0 100%);transform-origin:left center;animation:origami-left 3s both}
.origami-fold-right{clip-path:polygon(100% 0,50% 50%,100% 100%);transform-origin:right center;animation:origami-right 3s both}
.origami-fold-top{clip-path:polygon(0 0,100% 0,50% 50%);transform-origin:center top;animation:origami-top 3s both}
.origami-fold-bottom{clip-path:polygon(0 100%,100% 100%,50% 50%);transform-origin:center bottom;animation:origami-bottom 3s both}
.origami-note-shape{position:absolute;width:80px;height:80px;display:grid;place-items:center;--paper-color:var(--origami-color);filter:drop-shadow(3px 7px 4px #281c2e45);animation:origami-shape-arrive 3s both}
.origami-note-shape svg{width:100%!important;height:100%!important}
@keyframes origami-left{0%,25%{transform:rotateY(-180deg);opacity:0}28%{opacity:1}55%,100%{transform:rotateY(0)}}
@keyframes origami-right{0%,35%{transform:rotateY(180deg);opacity:0}38%{opacity:1}65%,100%{transform:rotateY(0)}}
@keyframes origami-top{0%,45%{transform:rotateX(180deg);opacity:0}48%{opacity:1}75%,100%{transform:rotateX(0)}}
@keyframes origami-bottom{0%,55%{transform:rotateX(-180deg);opacity:0}58%{opacity:1}85%,100%{transform:rotateX(0)}}
@keyframes origami-sheet-away{0%,70%{transform:rotateX(8deg) scale(1);opacity:1}90%,100%{transform:rotateX(25deg) scale(.25);opacity:0}}
@keyframes origami-shape-arrive{0%,75%{transform:scale(.5);opacity:0}90%,100%{transform:scale(1);opacity:1}}
.origami-unfold .origami-note-sheet,.origami-unfold .origami-note-sheet>i,.origami-unfold .origami-note-shape{animation-direction:reverse!important}

/* Physical card stack: layered stock, paper grain, and a tuck-behind draw. */
html body #modal .reflection-deck-stack{perspective:1100px!important;transform-style:preserve-3d!important;isolation:isolate!important;overflow:visible!important}
html body #modal .reflection-deck-stack .reflection-card{position:relative!important;z-index:3;transform:rotateX(3deg) rotateY(-3deg);transform-style:preserve-3d;box-shadow:inset 0 1px 1px #fff,0 1px 0 #d8cab8,0 3px 0 #f1e6d4,0 4px 0 #c7b596,0 6px 0 #efe4d2,0 7px 0 #cdbb9e,5px 14px 20px #281a2d2e!important;backface-visibility:hidden}
html body #modal .reflection-deck-stack .reflection-card::after{content:'';position:absolute;inset:3px;border-radius:inherit;pointer-events:none;opacity:.45;background:repeating-linear-gradient(0deg,#856c4510 0 1px,transparent 1px 3px),linear-gradient(115deg,#ffffff24,transparent 45%,#ffffff32);mix-blend-mode:multiply}
html body #modal .reflection-deck-stack .deck-back-card{z-index:1;box-shadow:0 2px 0 #d1c0a4,0 4px 0 #f1e7d6,3px 8px 12px #2a1b2420!important}
html body #modal .reflection-deck-stack .deck-back-card.second{z-index:0;box-shadow:0 2px 0 #c6b18d,0 4px 0 #e9ddc7,3px 10px 18px #2a1b2425!important}
html body #modal .reflection-deck-stack .reflection-card.card-returning{animation:deck-tuck-behind 1.4s cubic-bezier(.35,.1,.25,1) both!important}
html body #modal .reflection-deck-stack .reflection-card.card-arriving{animation:deck-reveal-front .65s ease-out both!important}
@keyframes deck-tuck-behind{0%{transform:translate3d(0,0,0) rotateX(3deg) rotateY(-3deg);z-index:3}35%{transform:translate3d(42%,-9%,65px) rotateX(8deg) rotateY(-16deg) rotateZ(8deg);z-index:3}55%{transform:translate3d(63%,1%,-35px) rotateY(-10deg) rotateZ(7deg);z-index:0}100%{transform:translate3d(9px,10px,-14px) rotateZ(-1deg);z-index:0}}
@keyframes deck-reveal-front{from{transform:translate3d(5px,5px,-8px) rotateX(3deg) rotateY(-3deg);opacity:.8}to{transform:translate3d(0,0,0) rotateX(3deg) rotateY(-3deg);opacity:1}}
@media(prefers-reduced-motion:reduce){html body #modal .reflection-deck-stack .reflection-card:is(.card-returning,.card-arriving){animation:none!important;transform:none!important}}
/* Drawn notes keep one coherent dark surface and readable ink. */
html[data-lighting=night]:not([data-setup]) body #modal .modal-body .jar-draw-result{background:#272d38!important;background-image:none!important;color:#f7f2e8!important;border-color:#626a77!important}
html[data-lighting=night]:not([data-setup]) body #modal .jar-draw-result :is(#drawn-note-text,#drawn-jar-name){color:#f7f2e8!important;-webkit-text-fill-color:#f7f2e8!important;background:transparent!important}
html[data-lighting=night]:not([data-setup]) body #modal .jar-draw-result #drawn-note-date{color:#d0d8c9!important;-webkit-text-fill-color:#d0d8c9!important}
/* Use jar-relative positions, never a fixed fall beyond a small phone jar. */
html body #modal .real-jar>.jar-falling-note{top:12%;left:50%;animation:jar-note-drop 1.3s ease-in-out both!important}
@keyframes jar-note-drop{0%{top:-25%;opacity:0;transform:translateX(-50%) rotate(-12deg) scale(.85)}15%{opacity:1}55%{top:28%;opacity:1;transform:translateX(-50%) rotate(6deg) scale(.8)}85%{top:58%;opacity:.9;transform:translateX(-50%) rotate(-4deg) scale(.65)}100%{top:62%;opacity:0;transform:translateX(-50%) rotate(0) scale(.6)}}
/* The sheet stops within the envelope; it must never travel through its base. */
@keyframes capsule-seal-paper{0%,10%{transform:translateY(-95px);opacity:1;visibility:visible}82%,100%{transform:translateY(0);opacity:1;visibility:visible}}
html body .letter-fold .motion-paper{animation:capsule-seal-paper 2.1s ease-in-out both!important;transform-origin:center bottom!important}
/* Let the emerging sheet clear the dialog edge while its form remains scrollable. */
html body #modal.capsule-animating{overflow:visible!important;clip-path:none!important}
html body #modal.capsule-animating>.letter-motion{position:fixed!important;inset:0!important;overflow:visible!important;border-radius:0!important;z-index:1100!important;box-sizing:border-box;padding-top:90px}
@media(max-height:500px){html body #modal.capsule-animating>.letter-motion{padding-top:65px}html body #modal.capsule-animating .motion-envelope{scale:.8}}
/* Dark mobile navigation: clear white at rest, warm gold for interaction. */
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:not([aria-current=page]){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is(:hover,:focus-visible,[aria-current=page]){color:#efd18e!important;-webkit-text-fill-color:#efd18e!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination] :is(svg,g,path,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}
/* Favorites belongs opposite the filter disclosure, not beside the date. */
html body #app #page .history-filter-row{position:relative;min-width:0;margin:0!important}
html body #app #page .history-filter-row>.favorites-filter{position:absolute!important;right:0;top:0;margin:0!important;min-height:34px!important;padding:4px 8px!important}
html body #app #page .history-filter-row>.history-filter-options>summary{padding-right:130px!important;min-height:34px!important;box-sizing:border-box}
html body #app #page .history-top-controls{justify-content:flex-end!important}
@media(max-width:760px){
html body #descaxora-header{grid-template-columns:minmax(0,1fr) 32px 32px!important;grid-template-rows:30px auto!important;gap:2px 6px!important}
html body #descaxora-header>.wordmark{grid-row:1/3!important;grid-column:1!important;justify-self:start!important;min-width:0!important;max-width:100%!important}
html body #descaxora-header>.cloud-account-button{grid-row:1!important;grid-column:2!important;justify-self:end!important}
html body #descaxora-header>.mobile-header-actions{grid-row:1!important;grid-column:3!important;justify-self:end!important}
html body #descaxora-header>.offline-readiness{grid-row:2!important;grid-column:2/4!important;justify-self:end!important;white-space:nowrap}
}
@media(max-width:760px){html body #descaxora-header{grid-template-columns:minmax(0,1fr) 54px 54px!important}}
@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .fields:has(>#habit-date){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;width:100%!important;margin-inline:0!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .fields>:is(#habit-date,#scene){width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box!important;padding:7px!important;font-size:12px!important}
}
html body #app #page .mood-context>legend{display:block!important;text-align:left!important}
html body #app #page .mood-context>legend>[data-action=edit-mood-context]{display:block!important;width:max-content!important;margin:8px 0 0!important;float:none!important;vertical-align:baseline!important}
@media(max-width:760px){
html body #modal .split:has(#task-due){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;align-items:end!important}
html body #modal .split:has(#task-due)>label{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;width:100%!important;margin:0!important}
html body #modal :is(#task-due,#task-priority){min-width:0!important;width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:7px!important;font-size:12px!important;box-sizing:border-box!important}
}
@media(max-width:760px){
html body #app #page[data-layout=tasks] .task-row>.check{align-self:start!important;margin:0!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:2px!important}
html body #app #page[data-layout=tasks] .task-row>.grow{align-self:start!important}
html body #app #page[data-layout=tasks] .task-row .task-text{line-height:24px!important;margin-top:0!important}
}
/* A little breathing room between the mobile Home sections. */
@media(max-width:760px){
html[data-screen=home] body #app>.today-strip{margin-top:22px!important}
html[data-screen=home] body #app>.collection-section{margin-top:24px!important}
}
@media(max-width:760px){
html[data-screen=home] body #app .home-book-studio .book-side-tools>button{align-items:center!important;align-content:center!important}
html[data-screen=home] body #app .home-book-studio .book-side-tools>button>:is(strong,b){align-self:center!important;margin-block:0!important;padding-block:0!important}
html[data-screen=home] body #app .home-book-studio .book-side-tools>button>span{align-self:center!important;margin-block:0!important}
}
html[data-view] body #app .dashboard-bottom-pair>.dashboard-reflection-invitation .dashboard-section-icon{color:var(--inside-accent,var(--accent,#85062f))!important}
html[data-view] body #app .dashboard-bottom-pair>.dashboard-reflection-invitation .dashboard-section-icon svg{filter:none!important;color:inherit!important;stroke:currentColor!important}
html[data-lighting=night][data-view] body #app .dashboard-bottom-pair>.dashboard-reflection-invitation .dashboard-section-icon{color:color-mix(in srgb,var(--inside-accent,var(--accent,#85062f)) 45%,white)!important}
@media(max-width:760px){
html[data-screen=home] body #app .home-notice-area .capsule-home-reminder:not(.capsule-ready-celebration){display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;text-align:left!important;width:fit-content!important;max-width:100%!important}
html[data-screen=home] body #app .home-notice-kind-icon{align-self:center!important;margin:0!important;line-height:1!important}
html[data-screen=home] body #app .home-notice-kind-icon+span{margin:0!important;padding:0!important;line-height:1.4!important;min-width:0!important}
}
@media(max-width:760px){
html body #app .guided-setup-steps{gap:6px!important;margin-block:10px!important}
html body #app .direct-studio .guided-setup-steps>button{min-height:62px!important;padding:5px 3px!important;gap:2px!important}
html body #app .direct-studio .guided-setup-steps>button>.numbered-step-crown{width:30px!important;height:27px!important}
html body #app .direct-studio .guided-setup-steps>button>.guide-step-caption{font-size:11px!important;line-height:1.15!important;margin:2px 0 0!important}
html body #app .direct-studio :is(.direct-popover,.direct-layout){scroll-margin-top:12px}
html body #modal .jar-shape-picker[open]{position:static!important;width:100%!important;flex-basis:100%!important;min-width:0!important}
html body #modal .jar-shape-picker[open]>.jar-shape-options{position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin-top:8px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body #modal .jar-note-heading{flex-wrap:wrap!important}
}
@media(max-width:760px){
html body #app .direct-studio .guided-setup-steps{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;gap:6px!important;padding:4px 2px 8px!important;scroll-snap-type:x proximity;max-width:100%!important}
html body #app .direct-studio .guided-setup-steps>button{flex:0 0 84px!important;min-width:84px!important;scroll-snap-align:center}
html body #app .direct-studio .direct-layout{display:flex!important;flex-direction:column!important;align-items:center!important;gap:16px!important;min-width:0!important}
html body #app .direct-studio .direct-display{position:relative!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:8px 0 0!important;display:flex!important;flex-direction:column!important;align-items:center!important}
html body #app .direct-studio .direct-book-surface:not(.direct-paper-surface):not(:has(.direct-ribbon-preview)){width:100%!important;max-width:360px!important;height:410px!important;min-height:410px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #app .direct-studio .direct-book-surface>.setup-book:not(.direct-ribbon-preview){position:relative!important;inset:auto!important;left:auto!important;top:auto!important;width:82%!important;max-width:280px!important;height:350px!important;margin:0 auto!important;transform:none!important;translate:none!important;flex:none!important}
html body #app .direct-studio .direct-edit-hint{position:static!important;inset:auto!important;transform:none!important;width:100%!important;box-sizing:border-box!important;text-align:center!important;margin:12px 0!important;line-height:1.5!important;z-index:auto!important}
html body #app .direct-studio .direct-popover{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;align-self:stretch!important;overflow:visible!important}
html body #app .direct-studio .direct-popover-body{max-height:none!important;overflow:visible!important}
html body #app #setup-feedback{text-align:center!important;margin:12px auto!important;width:100%!important}
html body #modal .jar-shape-picker[open]>.jar-shape-options>button{min-width:0!important;width:100%!important;box-sizing:border-box!important;padding:5px 2px!important}
html body #modal .jar-shape-picker[open]>.jar-shape-options{padding:6px!important;gap:5px!important}
}
@media(max-width:760px){html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .direct-display{display:none!important}}
/* Phone atelier: live preview, step strip, then the active controls. */
@media(max-width:760px){
html body #app .direct-studio{display:flex!important;flex-direction:column!important;padding-bottom:150px!important;isolation:isolate}
html body #app .direct-studio>.direct-studio-heading{order:0!important}
html body #app .direct-studio>.direct-layout{display:contents!important}
html body #app .direct-studio .direct-display{order:1!important;position:sticky!important;top:0!important;z-index:30!important;background:#fffdf8!important;height:280px!important;min-height:280px!important;padding:0!important;overflow:hidden!important}
html body #app .direct-studio .direct-book-surface:not(.direct-paper-surface):not(:has(.direct-ribbon-preview)){height:248px!important;min-height:248px!important;max-width:320px!important}
html body #app .direct-studio .direct-book-surface>.setup-book:not(.direct-ribbon-preview){height:220px!important;width:170px!important;max-width:65%!important}
html body #app .direct-studio .direct-edit-hint{font-size:11px!important;line-height:16px!important;margin:4px 0!important;padding:0 4px!important}
html body #app .direct-studio .guided-setup-steps{order:2!important;position:sticky!important;top:280px!important;z-index:31!important;background:#fffdf8!important;margin:0 0 10px!important;flex-shrink:0!important}
html body #app .direct-studio .direct-popover{order:3!important;scroll-margin-top:360px!important}
html body #app .direct-studio .guided-setup-actions{position:fixed!important;inset:auto 12px calc(78px + env(safe-area-inset-bottom)) 12px!important;width:auto!important;max-width:none!important;margin:0!important;padding:8px!important;box-sizing:border-box!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;background:#fffdf8f5!important;border-top:1px solid #d8c59d!important;box-shadow:0 -3px 12px #4b293812!important;z-index:210!important;transform:none!important}
html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .guided-setup-steps{top:0!important}
html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .direct-popover{scroll-margin-top:80px!important}
html body #app .direct-studio[data-target=ribbon] .direct-display{height:340px!important;min-height:340px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:300px!important;min-height:300px!important;padding-bottom:35px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:270px!important;min-height:270px!important;max-height:270px!important;width:100%!important}
html body #app .direct-studio[data-target=ribbon] .guided-setup-steps{top:340px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover{scroll-margin-top:420px!important}
html body #app .direct-studio[data-target=pages] .direct-paper-surface{height:245px!important;min-height:245px!important}
html body #app .direct-studio[data-target=pages] .direct-paper-surface>.paper-detail-preview{padding:14px!important}
}
@media(max-width:760px){
html body #app .direct-studio .direct-popover-body>.guided-setup-actions,html body #app .direct-studio>.guided-setup-actions{position:fixed!important;inset:auto 12px calc(78px + env(safe-area-inset-bottom)) 12px!important;width:auto!important;max-width:none!important;margin:0!important;padding:8px!important;z-index:210!important;background:#fffdf8f5!important;border-top:1px solid #d8c59d!important;box-shadow:0 -3px 12px #4b293812!important;transform:none!important}
html body #app .direct-studio .guided-setup-steps>button>.guide-step-caption{white-space:nowrap!important;font-size:10px!important}
html body #app .direct-studio .guided-setup-steps>button{flex-basis:96px!important;min-width:96px!important;height:62px!important;max-height:62px!important}
html body #app .direct-studio .direct-popover{scroll-margin-top:374px!important}
}
html[data-setup] body #app .direct-popover .cover-detail-group>summary{color:#292329!important;-webkit-text-fill-color:#292329!important}
@media(max-width:760px){
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px 225px 34px!important;justify-items:center!important;align-items:center!important;gap:4px!important;height:305px!important;min-height:305px!important;padding:0!important;width:100%!important;margin:0!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{grid-row:1!important;position:static!important;margin:0!important;z-index:3!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{grid-row:2!important;height:225px!important;min-height:225px!important;max-height:225px!important;position:relative!important;inset:auto!important;margin:0!important;width:100%!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{grid-row:3!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important;display:flex!important;justify-content:center!important;gap:8px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls button{width:30px!important;height:30px!important;min-height:30px!important;padding:4px!important}
}
/* Compact phone choices leave room for the live presentation. */
@media(max-width:760px){
html body #app .direct-studio .direct-display{height:230px!important;min-height:230px!important}
html body #app .direct-studio .direct-book-surface:not(.direct-paper-surface):not(:has(.direct-ribbon-preview)){height:205px!important;min-height:205px!important}
html body #app .direct-studio .direct-book-surface>.setup-book:not(.direct-ribbon-preview){height:185px!important;width:145px!important}
html body #app .direct-studio .guided-setup-steps{top:230px!important}
html body #app .direct-studio .direct-popover{scroll-margin-top:310px!important}
html body #app .direct-studio .direct-popover-heading{padding:8px 10px!important;min-height:38px!important;gap:6px!important}
html body #app .direct-studio .direct-popover-heading h2{font-size:20px!important;line-height:1.15!important;margin:0!important}
html body #app .direct-studio .direct-popover-body{padding:10px!important}
html body #app .direct-studio .direct-popover-body h3{font-size:18px!important;margin:10px 0 7px!important}
html body #app .direct-studio .direct-popover-body p{font-size:12px!important;line-height:1.4!important;margin:6px 0!important}
html body #app .direct-studio[data-target=ribbon] .direct-display{height:260px!important;min-height:260px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:235px!important;min-height:235px!important;grid-template-rows:30px 165px 30px!important;gap:3px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:165px!important;min-height:165px!important;max-height:165px!important}
html body #app .direct-studio[data-target=ribbon] .guided-setup-steps{top:260px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover{scroll-margin-top:340px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover-heading>.phone-selected-bookmark{display:none!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover-body>p{display:none!important}
html body #app .direct-studio .bookmark-style-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
html body #app .direct-studio .bookmark-style-options>button{height:74px!important;min-height:74px!important;padding:5px 2px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;border-radius:7px!important}
html body #app .direct-studio .bookmark-style-options>button .sample-ribbon{width:22px!important;min-width:22px!important;height:43px!important;min-height:43px!important;margin:0 auto!important;flex:none!important}
html body #app .direct-studio .bookmark-style-options>button .bookmark-object-art{height:43px!important;max-height:43px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}
html body #app .direct-studio .bookmark-style-options>button> :is(b,span:last-child){font-size:10px!important;line-height:1.1!important;min-width:0!important;text-align:center!important;margin:0!important}
html body #app .direct-studio .bookmark-preview-colors{margin:0 0 8px!important;padding:0!important}
html body #app .direct-studio .bookmark-preview-colors>:is(h3,p){display:none!important}
html body #app .direct-studio .bookmark-preview-colors .two-choice-row{margin:0!important;gap:8px!important}
html body #app .direct-studio .bookmark-preview-colors .two-choice-row>button{padding:6px!important;min-height:34px!important;font-size:12px!important}
html body #app .direct-studio .direct-popover-body .shelf-decor-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body #app .direct-studio .direct-popover-body .shelf-decor-options>button{padding:6px!important;aspect-ratio:1!important}
html body #app .direct-studio .direct-popover-body .decor-choice-art{height:50px!important}
html body #app .direct-studio .direct-popover-body .decor-choice-art .shelf-decor{height:48px!important;width:48px!important}
html body #app .direct-studio .direct-popover-body .shelf-decor-options b{font-size:11px!important}
html body #app .direct-studio .cover-detail-group{padding-inline:10px!important;margin:10px 0!important}
html body #app .direct-studio .cover-detail-group>summary{padding:12px 0!important;font-size:15px!important}
html body #app .direct-studio .direct-paper-surface{height:205px!important;min-height:205px!important}
}
@media(max-width:760px){html body #app .direct-studio[data-target=pages] .direct-paper-surface{height:205px!important;min-height:205px!important}}
@media(max-width:760px){
html body #app .direct-studio .bookmark-style-options>button .sample-ribbon:has(.bookmark-object-art){width:30px!important;min-width:30px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #app .direct-studio .bookmark-style-options>button .sample-ribbon>.bookmark-object-art{height:44px!important;width:30px!important;max-width:30px!important;padding:0!important;object-fit:contain!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover-body> :is(.accessory-group>h3,.accessory-group>p){margin-block:6px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover-body p:has(+.bookmark-style-options){display:none!important}
}
/* Mobile list density: consistent rows, compact choices, readable touch targets. */
@media(max-width:760px){
html body #app .direct-studio .section-focus-routes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:8px 0!important}
html body #app .direct-studio .section-focus-routes>button{min-height:62px!important;height:auto!important;padding:8px!important;gap:3px!important;box-sizing:border-box!important}
html body #app .direct-studio .section-focus-routes>button>b{font-size:13px!important;line-height:1.2!important}
html body #app .direct-studio .section-focus-routes>button>small{font-size:11px!important;line-height:1.3!important}
html body #app .direct-studio .setup-selection-count{padding:7px 10px!important;min-height:0!important;margin:8px 0!important;font-size:12px!important}
html body #app .direct-studio .section-selection-help{margin:6px 0!important;line-height:1.35!important}
html body #app .direct-studio .setup-category-grid{gap:7px!important;margin:8px 0!important}
html body #app .direct-studio .bookmark-category-choice>button{display:grid!important;grid-template-columns:26px minmax(0,1fr) 20px!important;align-items:center!important;gap:8px!important;padding:8px!important;min-height:56px!important;height:auto!important}
html body #app .direct-studio .bookmark-category-choice>button>span{width:26px!important;height:26px!important;margin:0!important;padding:0!important}
html body #app .direct-studio .bookmark-category-choice>button>span :is(svg,img){width:26px!important;height:26px!important}
html body #app .direct-studio .bookmark-category-choice b{font-size:14px!important;line-height:1.2!important}
html body #app .direct-studio .bookmark-category-choice small{font-size:11px!important;line-height:1.3!important;margin-top:3px!important}
html body #app .direct-studio .experience-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:8px 0 10px!important}
html body #app .direct-studio .experience-preset-grid>button{min-height:82px!important;height:auto!important;padding:9px!important;gap:5px!important;grid-template-columns:22px minmax(0,1fr)!important}
html body #app .direct-studio .experience-preset-grid>button>b{font-size:17px!important;line-height:1.15!important}
html body #app .direct-studio .experience-preset-grid>button>small{font-size:11px!important;line-height:1.3!important;margin:0!important}
html body #app .direct-studio .preset-check{width:20px!important;height:20px!important;min-width:20px!important;font-size:17px!important;line-height:20px!important}
html body #app .direct-studio .included-tools-heading{margin:12px 0 8px!important;font-size:16px!important;padding:0!important}
html body #app .direct-studio .experience-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0!important}
html body #app .direct-studio .experience-grid>label{min-height:54px!important;padding:8px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #e2d7cd!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;gap:8px!important;align-items:center!important}
html body #app .direct-studio .experience-grid>label>span{display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;column-gap:8px!important;align-items:center!important;min-width:0!important}
html body #app .direct-studio .experience-grid .feature-emblem{grid-column:1!important;grid-row:1/3!important;width:25px!important;height:25px!important;margin:0!important}
html body #app .direct-studio .experience-grid .feature-emblem :is(svg,img){width:25px!important;height:25px!important}
html body #app .direct-studio .experience-grid .feature-title{grid-column:2!important;font-size:15px!important;line-height:1.2!important;margin:0!important}
html body #app .direct-studio .experience-grid small{grid-column:2!important;font-size:11px!important;line-height:1.35!important;margin:3px 0 0!important}
html body #app .direct-studio .experience-grid .feature-examples{display:none!important}
html body #app .direct-studio.design-final-review>.direct-layout{order:3!important}
}
@media(max-width:760px){
html[data-setup] body #app .direct-studio:not(.design-final-review)>.direct-layout{display:contents!important}
html body #app .direct-studio .experience-preset-grid>button>.preset-check{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;font-size:16px!important;line-height:18px!important;align-self:center!important;margin:0!important}
html body #app .direct-studio .experience-preset-grid>button>b{font-size:15px!important;overflow-wrap:normal!important;word-break:normal!important}
html body #app .direct-studio .experience-preset-grid>button{grid-template-columns:18px minmax(0,1fr)!important;column-gap:5px!important}
html body #app .direct-studio .guided-setup-steps>button{padding:4px 3px!important;gap:1px!important;box-sizing:border-box!important}
html body #app .direct-studio .guided-setup-steps>button>.numbered-step-crown{width:28px!important;height:25px!important;flex:none!important}
}
@media(max-width:760px){
html body #app .direct-studio .direct-popover-body:has(.category-full-choices:not([hidden])) .section-focus-routes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
html body #app .direct-studio .direct-popover-body:has(.category-full-choices:not([hidden])) .section-focus-routes>button{min-height:38px!important;padding:5px 2px!important;justify-content:center!important;text-align:center!important}
html body #app .direct-studio .direct-popover-body:has(.category-full-choices:not([hidden])) .section-focus-routes>button>b{font-size:10px!important;line-height:1.2!important}
html body #app .direct-studio .direct-popover-body:has(.category-full-choices:not([hidden])) .section-focus-routes>button>small,html body #app .direct-studio .direct-popover-body:has(.category-full-choices:not([hidden])) .selected-section-summary{display:none!important}
html body #app .direct-studio .section-selection-help>span{display:none!important}
html[data-setup] body nav.mobile-bottom-navigation{background:#fffdf8!important}
html[data-setup] body nav.mobile-bottom-navigation>button[data-mobile-destination]{background:transparent!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;box-shadow:none!important}
html[data-setup] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is(:hover,[aria-current=page]){color:#89621d!important;-webkit-text-fill-color:#89621d!important;background:#fbf2de!important}
html[data-setup] body nav.mobile-bottom-navigation>button[data-mobile-destination] :is(svg,g,path,span){color:inherit!important;-webkit-text-fill-color:currentColor!important}
}
/* Reset legacy switch grids that squeezed Included copy into the icon column. */
@media(max-width:760px){
html body #app .direct-studio .direct-popover-body .experience-grid>label.setting-switch{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;grid-template-rows:auto!important;width:100%!important;box-sizing:border-box!important;align-items:center!important;padding:9px 0!important;min-height:58px!important;height:auto!important}
html body #app .direct-studio .direct-popover-body .experience-grid>label.setting-switch:not(:has(>input)){grid-template-columns:minmax(0,1fr)!important}
html body #app .direct-studio .direct-popover-body .experience-grid>label.setting-switch>span{grid-column:1!important;grid-row:1!important;display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important;align-items:center!important}
html body #app .direct-studio .direct-popover-body .experience-grid .feature-emblem{grid-area:1 / 1 / 3 / 2!important;width:28px!important;height:28px!important;margin:0!important}
html body #app .direct-studio .direct-popover-body .experience-grid .feature-title{grid-area:1 / 2 / 2 / 3!important;width:auto!important;min-width:0!important;font-size:15px!important;line-height:1.25!important}
html body #app .direct-studio .direct-popover-body .experience-grid>label.setting-switch>span>small{grid-area:2 / 2 / 3 / 3!important;width:auto!important;min-width:0!important;margin:3px 0 0!important;font-size:12px!important;line-height:1.35!important}
html body #app .direct-studio .direct-popover-body .experience-grid>label.setting-switch>input{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin:0!important}
html body #app .direct-studio .experience-tool-details{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin-top:12px!important}
html body #app .direct-studio .included-tools-heading{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:6px!important;line-height:1.25!important}
html body #app .direct-studio .included-tools-heading>strong{font-size:20px!important;white-space:nowrap!important}
html body #app .direct-studio .included-tools-heading>span{font-size:12px!important;width:auto!important;white-space:nowrap!important}
html body #app .direct-studio .included-tools-heading::before,html body #app .direct-studio .included-tools-heading::after{flex:0 1 20px!important;width:20px!important;margin:0!important;position:static!important}
/* Reallocate excess strip spacing to the book, rather than adding blank height. */
html body #app .direct-studio .guided-setup-steps{height:64px!important;min-height:64px!important;max-height:64px!important;box-sizing:border-box!important;padding:2px 1px 5px!important;margin-bottom:2px!important;gap:6px!important;align-items:start!important}
html body #app .direct-studio .guided-setup-steps>button{height:48px!important;min-height:48px!important;max-height:48px!important;padding:3px!important;gap:1px!important}
html body #app .direct-studio .direct-popover{margin-top:0!important;scroll-margin-top:346px!important}
html body #app .direct-studio .direct-display{height:280px!important;min-height:280px!important}
html body #app .direct-studio .direct-book-surface:not(.direct-paper-surface):not(:has(.direct-ribbon-preview)){height:255px!important;min-height:255px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:222px 30px!important;gap:3px!important;justify-items:center!important}
html body #app .direct-studio .direct-book-surface>.setup-book:not(.direct-ribbon-preview){grid-row:1!important;height:230px!important;width:180px!important;max-width:75%!important;align-self:center!important}
html body #app .direct-studio .direct-book-surface:not(:has(.direct-ribbon-preview))>.book-display-controls{position:static!important;grid-row:2!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important;gap:8px!important}
html body #app .direct-studio .direct-book-surface:not(:has(.direct-ribbon-preview))>.book-display-controls button{width:30px!important;height:30px!important;min-height:30px!important;padding:4px!important}
html body #app .direct-studio .guided-setup-steps{top:280px!important}
html body #app .direct-studio[data-target=ribbon] .direct-display{height:290px!important;min-height:290px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:266px!important;min-height:266px!important;grid-template-rows:30px 200px 30px!important;gap:3px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:200px!important;min-height:200px!important;max-height:200px!important}
html body #app .direct-studio[data-target=ribbon] .guided-setup-steps{top:290px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover{scroll-margin-top:356px!important}
html body #app .direct-studio[data-target=pages] .direct-display{height:230px!important;min-height:230px!important}
html body #app .direct-studio[data-target=pages] .guided-setup-steps{top:230px!important}
html body #app .direct-studio[data-target=pages] .direct-popover{scroll-margin-top:296px!important}
html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .guided-setup-steps{top:0!important}
}
@media(max-width:760px){html body #app .direct-studio .direct-book-surface>.setup-book:not(.direct-ribbon-preview){height:222px!important}}
@media(max-width:760px){
html body #app .direct-studio .direct-display{gap:0!important;justify-content:flex-start!important}
html body #app .direct-studio .direct-edit-hint{margin:2px 0!important;font-size:10px!important;line-height:14px!important;min-height:14px!important}
}
/* Six edit controls form a tidy rail beside the larger phone book. */
@media(max-width:760px){
html body #app .direct-studio:has(.direct-hotspots){--phone-book-height:clamp(260px,75vw,310px)}
html body #app .direct-studio .direct-display:has(.direct-hotspots){height:calc(var(--phone-book-height) + 56px)!important;min-height:calc(var(--phone-book-height) + 56px)!important}
html body #app .direct-studio .direct-book-surface:has(>.direct-hotspots){display:grid!important;grid-template-columns:minmax(0,1fr) 84px!important;grid-template-rows:var(--phone-book-height) 30px!important;column-gap:8px!important;row-gap:4px!important;width:100%!important;max-width:100%!important;height:calc(var(--phone-book-height) + 34px)!important;min-height:calc(var(--phone-book-height) + 34px)!important;padding:0!important}
html body #app .direct-studio .direct-book-surface:has(>.direct-hotspots)>.setup-book{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:100%!important;height:var(--phone-book-height)!important;margin:0!important;justify-self:center!important}
html body #app .direct-studio .direct-hotspots{position:static!important;inset:auto!important;grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:8px!important;width:84px!important;pointer-events:auto!important}
html body #app .direct-studio .direct-hotspots>.edit-point{position:static!important;inset:auto!important;transform:none!important;translate:none!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:3px!important;width:100%!important;min-height:34px!important;height:34px!important;margin:0!important;padding:5px 6px!important;box-sizing:border-box!important;font-size:11px!important;white-space:nowrap!important}
html body #app .direct-studio .direct-hotspots>.edit-point>i{width:15px!important;height:15px!important;min-width:15px!important;font-size:11px!important;line-height:15px!important}
html body #app .direct-studio .direct-book-surface:has(>.direct-hotspots)>.book-display-controls{grid-column:1!important;grid-row:2!important;justify-self:center!important}
html body #app .direct-studio:has(.direct-hotspots) .guided-setup-steps{top:calc(var(--phone-book-height) + 56px)!important}
html body #app .direct-studio:has(.direct-hotspots) .direct-popover{scroll-margin-top:calc(var(--phone-book-height) + 122px)!important}
/* Smaller bookmark thumbnails fund a larger live bookmark/book preview. */
html body #app .direct-studio .bookmark-style-options>button{height:64px!important;min-height:64px!important;padding:4px 2px!important;gap:2px!important}
html body #app .direct-studio .bookmark-style-options>button .sample-ribbon,html body #app .direct-studio .bookmark-style-options>button .sample-ribbon:has(.bookmark-object-art){height:32px!important;min-height:32px!important;width:24px!important;min-width:24px!important}
html body #app .direct-studio .bookmark-style-options>button .sample-ribbon>.bookmark-object-art{height:32px!important;max-height:32px!important;width:24px!important;max-width:24px!important}
html body #app .direct-studio[data-target=ribbon] .direct-display{height:320px!important;min-height:320px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:296px!important;min-height:296px!important;grid-template-rows:30px 230px 30px!important}
html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:230px!important;min-height:230px!important;max-height:230px!important}
html body #app .direct-studio[data-target=ribbon] .guided-setup-steps{top:320px!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover{scroll-margin-top:386px!important}
}
@media(max-width:760px){
html[data-setup] body #app .direct-studio .direct-book-surface:has(>.direct-hotspots):not(.direct-paper-surface){height:calc(var(--phone-book-height) + 34px)!important;min-height:calc(var(--phone-book-height) + 34px)!important;grid-template-columns:minmax(0,1fr) 84px!important;grid-template-rows:var(--phone-book-height) 30px!important;gap:4px 8px!important}
html[data-setup] body #app .direct-studio .direct-book-surface:has(>.direct-hotspots)>.book-display-controls{height:30px!important;min-height:30px!important;padding:0!important;align-items:center!important}
}
/* Phone setup steps: four, four, and the final step centered. */
@media(max-width:760px){
html body #app .direct-studio:has(.direct-hotspots){--phone-book-height:clamp(280px,82vw,340px)}
html body #app .direct-studio .guided-setup-steps,html body #app .direct-studio .guided-setup-steps[data-assisted=true]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:48px!important;gap:6px!important;height:auto!important;min-height:0!important;max-height:none!important;padding:5px 0!important;overflow:visible!important;position:relative!important;top:auto!important;scroll-snap-type:none!important;margin:0 0 4px!important;flex-shrink:0!important}
html body #app .direct-studio .guided-setup-steps>button{width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;padding:3px 2px!important;box-sizing:border-box!important}
html body #app .direct-studio .guided-setup-steps>button:last-child{grid-column:1/-1!important;justify-self:center!important;width:calc((100% - 18px)/4)!important}
html body #app .direct-studio .guided-setup-steps>button>.guide-step-caption{font-size:10px!important;white-space:normal!important;line-height:1.05!important}
html body #app .direct-studio .guided-setup-steps>button>.numbered-step-crown{width:25px!important;height:23px!important}
html body #app .direct-studio:has(.direct-hotspots) .direct-popover{scroll-margin-top:calc(var(--phone-book-height) + 62px)!important}
html body #app .direct-studio[data-target=ribbon] .direct-popover{scroll-margin-top:326px!important}
html body #app .direct-studio[data-target=pages] .direct-popover{scroll-margin-top:236px!important}
html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .direct-popover{scroll-margin-top:10px!important}
/* Pages stay centered within the available phone width throughout scrolling. */
html body #app .direct-studio[data-target=pages] .direct-display,html body #app .direct-studio[data-target=pages] .direct-popover{align-self:center!important;margin-inline:auto!important;max-width:100%!important}
html body #app .direct-studio[data-target=pages] .direct-paper-surface{margin-inline:auto!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=pages] .paper-detail-preview{margin-inline:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=pages] .direct-popover-body>:is(section,details),html body #app .direct-studio[data-target=pages] .page-color-routes,html body #app .direct-studio[data-target=pages] .studio-page-colors,html body #app .direct-studio[data-target=pages] .font-grid{margin-inline:auto!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body #app .direct-studio[data-target=pages] .studio-page-colors{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:12px 18px!important}
html body #app .direct-studio[data-target=pages] .studio-page-colors>label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
html body #app .direct-studio[data-target=pages] .page-paper-stage .paper-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-inline:auto!important}
html body #app .direct-studio[data-target=pages] .page-paper-stage .paper-grid>button{text-align:center!important;justify-content:center!important}
}
@media(max-width:760px){html body #app .direct-studio .guided-setup-steps{position:static!important;inset:auto!important}}

@media(max-width:760px){html body #app .direct-studio .guided-setup-steps{position:sticky!important;top:calc(var(--phone-book-height,280px) + 56px)!important;z-index:102!important;background:#fffdf9!important}html body #app .direct-studio[data-target=pages] .guided-setup-steps{top:230px!important}html body #app .direct-studio[data-target=ribbon] .guided-setup-steps{top:320px!important}html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=sounds],[data-target=profile]) .guided-setup-steps{top:0!important}}


@media(max-width:760px){html body #app .direct-studio .guided-setup-steps>button:last-child{grid-column:auto!important;width:100%!important;justify-self:stretch!important}}
.header-sound-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#85052f}.header-sound-toggle svg{width:22px;height:22px}html[data-theme=dark] .header-sound-toggle{color:#f4e8d8}
@media(max-width:760px){html body #app .home-experiences>button{align-items:center!important}html body #app .home-experiences>button strong{text-align:center!important;align-self:center!important;margin-block:auto!important}html body #app .home-experiences>button .experience-object{align-self:center!important}}
@media(max-width:760px){

/* Bookmark choices share the setup canvas rather than a separate floating card. */
html body #app .direct-studio:is([data-target=ribbon],[data-target=bookmarks]) .direct-popover{position:relative!important;inset:auto!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important;max-height:none!important;overflow:visible!important}
}

@media(max-width:760px){
html body #app .direct-studio:is([data-target=ribbon],[data-target=bookmarks]) .direct-popover-body{max-height:none!important;overflow:visible!important;background:transparent!important}
}

@media(max-width:760px){
html body #app .direct-studio:is([data-target=ribbon],[data-target=bookmarks]) .direct-popover-head{background:transparent!important;border-radius:0!important}
}

@media(max-width:760px){


/* Setup uses one inline canvas, never floating option panels. */
html body #app .direct-studio .direct-popover{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;max-height:none!important;overflow:visible!important;align-self:start!important}
}

@media(max-width:760px){
html body #app .direct-studio .direct-popover-body{max-height:none!important;overflow:visible!important;background:transparent!important}
}

@media(max-width:760px){
html body #app .direct-studio .direct-popover-head{background:transparent!important;border-radius:0!important}
}

@media(max-width:760px){
html body #app .direct-studio .direct-popover-head>button[aria-label*=Close]{display:none!important}
}

@media(max-width:760px){html body #app .direct-studio .direct-display{position:relative!important;inset:auto!important}html body #app .direct-studio .guided-setup-steps{position:static!important;inset:auto!important}html body #descaxora-header>.header-sound-toggle{position:absolute!important;right:76px!important;top:12px!important;z-index:12!important}}
@media(max-width:760px){

html body #app .direct-studio .direct-popover-heading{background:transparent!important;box-shadow:none!important;border-radius:0!important;padding-inline:0!important}
}

@media(max-width:760px){html body #app .direct-studio [data-direct-close]{display:none!important}
}

@media(max-width:760px){


/* Final review: book, sample page, and details share one centered axis. */
html[data-setup] body #app .direct-studio.design-final-review .direct-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;gap:20px!important;width:100%!important;min-width:0!important}
}

@media(max-width:760px){
html[data-setup] body #app .design-final-review .review-previews{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;width:100%!important;max-width:480px!important;margin:0 auto!important;gap:22px!important}
}

@media(max-width:760px){
html[data-setup] body #app .design-final-review .review-previews figure{width:100%!important;align-items:center!important;text-align:center!important}
}

@media(max-width:760px){
html[data-setup] body #app .design-final-review .review-previews .review-single-page{width:100%!important;max-width:360px!important;margin:0 auto!important;align-self:center!important;text-align:left!important}
}

html[data-setup] body #app .design-final-review .review-choice-list{width:100%!important;max-width:480px!important;box-sizing:border-box!important;margin:0 auto!important;padding:0!important;justify-self:center!important}
html[data-setup] body #app .design-final-review .review-choice-list>h2{text-align:center!important;margin:0 0 14px!important}
html[data-setup] body #app .design-final-review .review-choice-row{display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px!important;align-items:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important}
html[data-setup] body #app .design-final-review .review-choice-row>div{grid-column:2!important;text-align:center!important;min-width:0!important}
html[data-setup] body #app .design-final-review .review-choice-row>button{grid-column:3!important;justify-self:end!important}


@media(max-width:760px){
/* Cover is an enlarged inspection view with compact choices beneath. */
html body #app .direct-studio:is([data-target=color],[data-target=material]) .direct-layout{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .direct-display{width:100%!important;max-width:600px!important;margin-inline:auto!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .direct-popover{width:100%!important;max-width:680px!important;margin-inline:auto!important;justify-self:center!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .material-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .material-picker>button{min-height:76px!important;padding:7px!important;font-size:12px!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .material-picker>button small{display:none!important}
html body #app .direct-studio:is([data-target=color],[data-target=material]) .material-picker>button .material-sample{height:40px!important}
html body #app .direct-studio[data-target=color] .direct-popover-body>label:has(#cover-custom-color){display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin:12px auto!important;width:max-content!important;max-width:100%!important}
}
@media(max-width:760px){
html body #app .direct-studio.quick-detail-open .direct-popover{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(460px,calc(100vw - 32px))!important;max-height:70dvh!important;overflow:auto!important;padding:16px!important;box-sizing:border-box!important;border:1px solid #c7a361!important;border-radius:18px!important;background:#fffdf8!important;box-shadow:0 14px 60px #33212945!important;z-index:230!important}
}

@media(max-width:760px){
html body #app .quick-detail-open .guided-setup-actions{display:none!important}
}

@media(max-width:760px){html body #app .quick-detail-open .direct-popover-heading{padding:0 0 10px!important}
}

@media(max-width:760px){html body #app .quick-detail-open .quick-detail-done{display:block!important;margin:14px auto 0!important;min-width:100px!important}
}

@media(max-width:760px){html body #app .quick-detail-open :is(.charm-picker,.cover-pattern-options){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
}

@media(max-width:760px){html body #app .quick-detail-open :is(.charm-picker,.cover-pattern-options)>button{min-height:82px!important;padding:6px!important}
}

@media(max-width:760px){html body #app .quick-detail-open :is(.charm-picker,.cover-pattern-options) img{height:50px!important;max-width:100%!important;object-fit:contain!important}
}

@media(max-width:760px){html body #app .direct-studio:is([data-target=color],[data-target=material]){--phone-book-height:clamp(340px,95vw,410px)!important}html body #app .direct-studio.quick-detail-open .direct-popover{top:auto!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;max-height:48dvh!important}html body #app .direct-studio.quick-detail-open .guided-setup-steps{visibility:hidden!important}}
@media(max-width:760px){

html body #app .quick-detail-open .charm-picker{display:block!important;padding:0!important;border:0!important;box-shadow:none!important}
}

@media(max-width:760px){html body #app .quick-detail-open .charm-picker>.control-heading{display:none!important}
}

@media(max-width:760px){html body #app .quick-detail-open .visual-charm-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
}

@media(max-width:760px){html body #app .quick-detail-open .visual-charm-options>button{min-height:80px!important;height:80px!important;padding:6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important}
}

@media(max-width:760px){html body #app .quick-detail-open .real-charm-sample{width:48px!important;height:48px!important;margin:0!important}
}

@media(max-width:760px){html body #app .quick-detail-open .guided-setup-actions{display:none!important;visibility:hidden!important}
}

@media(max-width:760px){
html body .mobile-bottom-navigation>button[aria-current=page]{border:2px solid transparent!important;background:linear-gradient(var(--inside-paper,#fffdf7),var(--inside-paper,#fffdf7)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85052f,#f7e9ca,#bd9444,#85052f)) border-box!important;border-radius:12px!important;box-shadow:none!important;outline:0!important;color:var(--inside-accent,#85052f)!important}
}

html[data-lighting=night] body .mobile-bottom-navigation>button[aria-current=page]{background:linear-gradient(#181818,#181818) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85052f,#f7e9ca,#bd9444,#85052f)) border-box!important;color:#efd18b!important}


/* Keep the app canvas anchored to the viewport; scroll content vertically. */
html{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
body{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:clip;overscroll-behavior-x:none}
#app,#descaxora-header,body>footer,body>.preview-note{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:1100px){html body #app :is(.workspace-shell,.notebook,.page-spread,.page-left,.page-right,.direct-studio,.direct-layout,.direct-display,.direct-popover,.direct-popover-body,.review-previews,.review-choice-list,.home-hero,.today-strip,.collection-section){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}html body #modal{min-width:0!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;overscroll-behavior-x:none;overflow-x:clip}html body #modal :is(section,form,fieldset,.modal-body){min-width:0;max-width:100%;box-sizing:border-box}html body :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}html body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]){font-size:max(16px,1em)!important}html body :is(.habit-week-scroll,.real-shelf-row,.new-shelf,.guided-setup-steps){overscroll-behavior-x:contain}}


@media(max-width:760px){html body>.mobile-bottom-navigation,html[data-customizing=returning] body>.mobile-bottom-navigation{position:fixed!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:70px!important;box-sizing:border-box!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))!important;margin:0!important;transform:none!important;translate:none!important;z-index:220!important;overflow:visible!important;opacity:1!important;visibility:visible!important}html body>.mobile-bottom-navigation>button{min-height:54px!important;margin:0!important;box-sizing:border-box!important}html body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}}


/* Optical alignment for the habit metric beside journal and mood. */
html body #app .today-strip .daily-stat[data-go=habits]>.daily-stat-icon{top:14px!important}
html body #app .today-strip .daily-stat[data-go=habits] .daily-stat-copy>b{position:relative!important;top:6px!important}
@media(max-width:760px){html body #app .today-strip .daily-stat[data-go=habits]>.daily-stat-icon{top:10px!important}}


html body #app .page-cover-lettering .cover-initials-row{display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important;padding:14px 0!important}
html body #app .page-cover-lettering .initials-choice{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin:0!important;width:auto!important}
html body #app .page-cover-lettering .initials-choice>span{font-size:17px!important;font-weight:600!important}
html body #app .page-cover-lettering .initials-value{width:min(240px,100%)!important;text-align:center!important;margin:0!important}
html body #app .page-cover-lettering .initials-value input{text-align:center!important;width:100%!important}
html body #app .page-cover-lettering .cover-initials-row:has(input[data-pref=showMonogram]:not(:checked)) .initials-value{display:none!important}

/* Header controls have equal spacing and dedicated grid cells. */
@media(max-width:760px){html body #descaxora-header{grid-template-columns:minmax(0,1fr) 32px 32px 32px!important;column-gap:8px!important}html body #descaxora-header>.header-sound-toggle{position:static!important;inset:auto!important;grid-row:1!important;grid-column:2!important;width:32px!important;height:30px!important;min-height:30px!important;margin:0!important;justify-self:center!important}html body #descaxora-header>.cloud-account-button{grid-column:3!important;justify-self:center!important;width:32px!important}html body #descaxora-header>.mobile-header-actions{grid-column:4!important;justify-self:center!important;width:32px!important}html body #descaxora-header>.offline-readiness{grid-column:2/5!important}}
html body #app .bookmark-category-choice>button[aria-pressed=true]>i{font-size:27px!important;font-weight:800!important;line-height:1!important;width:32px!important;min-width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important}
html body #app .bookmark-preview-colors .two-choice-row{display:flex!important;justify-content:center!important;align-items:center!important;gap:12px!important;width:100%!important;margin:10px auto!important}
html body #app .bookmark-preview-colors .two-choice-row>button{flex:0 1 160px!important;text-align:center!important;justify-content:center!important;white-space:nowrap!important}
html body #app .page-choice-preview-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(110px,34%)!important;align-items:start!important;gap:20px!important;margin:16px 0!important;min-width:0!important}
html body #app .page-choice-preview-controls{min-width:0!important}html body #app .page-choice-mini-preview{width:100%!important;max-width:100%!important;min-width:0!important;height:240px!important;min-height:240px!important;box-sizing:border-box!important;margin:0!important;padding:12px!important;box-shadow:0 3px 10px #30232b12!important;align-self:stretch!important}
html body #app .page-choice-mini-preview h3{font-size:17px!important;margin:10px 0!important}html body #app .page-choice-mini-preview .eyebrow{font-size:8px!important}html body #app .page-choice-mini-preview .paper-detail-ruling{height:170px!important;font-size:12px!important;line-height:26px!important}
@media(max-width:480px){html body #app .page-choice-preview-layout{grid-template-columns:minmax(0,1fr) 110px!important;gap:14px!important}html body #app .page-choice-preview-controls h3{font-size:18px!important}html body #app .page-choice-preview-controls .studio-page-colors{justify-content:flex-start!important;gap:10px!important}html body #app .page-choice-preview-controls .studio-page-colors>label{font-size:11px!important;flex-wrap:wrap!important}html body #app .page-choice-mini-preview{height:220px!important;min-height:220px!important;padding:8px!important}html body #app .page-choice-mini-preview h3{font-size:14px!important}}

/* One sound toggle beside Profile at every breakpoint. */
html body #descaxora-header #sound-control{display:none!important}
@media(min-width:1101px){html body #descaxora-header>.header-sound-toggle{position:static!important;inset:auto!important;order:23!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-height:32px!important;margin:0 0 0 8px!important;padding:5px!important;align-self:center!important}}
@media(min-width:761px) and (max-width:1100px){html body>header#descaxora-header{grid-template-columns:minmax(0,1fr) auto 32px 32px!important;column-gap:8px!important}html body>header#descaxora-header>.cloud-account-button{grid-column:3!important;grid-row:1!important;margin:0!important}html body>header#descaxora-header>.header-sound-toggle{position:static!important;inset:auto!important;grid-column:4!important;grid-row:1!important;width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;justify-self:center!important}}
html body #app .direct-studio :is([data-detail=sounds],[data-studio-panel=sounds],[data-review-edit=sounds]){display:none!important}
/* Center edit labels without letting the plus icon pull the text left. */
html body #app .direct-hotspots>.edit-point{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;padding-inline:22px!important;text-align:center!important;box-sizing:border-box!important}
html body #app .direct-hotspots>.edit-point>span{display:block!important;text-align:center!important;white-space:nowrap!important;width:100%!important;margin:0!important}
html body #app .direct-hotspots>.edit-point>i{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:760px){


/* Three compact starting routes, stacked in reading order. */
html body #app .journey-start-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important;max-width:560px!important;margin:10px auto!important}
}

@media(max-width:760px){
html body #app .journey-start-options>button,html body #app .journey-start-options>[data-studio-choose-for-me]{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;grid-column:1!important;min-height:78px!important;padding:12px 14px!important;text-align:center!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html body #app .journey-start-options .journey-route-icon{width:38px!important;height:38px!important;margin:0!important}
}

@media(max-width:760px){html body #app .journey-start-options .journey-route-icon>svg{width:34px!important;height:34px!important}
}

@media(max-width:760px){
html body #app .journey-start-options .journey-route-copy{width:100%!important;text-align:center!important;min-width:0!important}
}

@media(max-width:760px){
html body #app .journey-start-options .journey-route-copy>b,html body #app .journey-start-options [data-studio-choose-for-me] .journey-route-copy>b{font-size:21px!important;line-height:1.15!important;margin:0 0 4px!important}
}

@media(max-width:760px){
html body #app .journey-start-options .journey-route-copy>span{font-size:12px!important;line-height:1.35!important;margin:0!important}
}

@media(max-width:760px){
html body #app .journey-start-options .journey-route-copy>strong{display:none!important}
}

@media(max-width:380px){html body #app .journey-start-options>button{padding:10px!important;gap:8px!important;grid-template-columns:30px minmax(0,1fr)!important}html body #app .journey-start-options .journey-route-copy>b{font-size:19px!important}}
@media(max-width:760px){

/* Steps follow Journal name, before the live preview and options. */
html body #app .direct-studio>.direct-studio-heading{order:0!important}
}

@media(max-width:760px){html body #app .direct-studio>.guided-setup-steps{order:1!important}
}

@media(max-width:760px){html body #app .direct-studio .direct-display{order:2!important}
}

@media(max-width:760px){html body #app .direct-studio .direct-popover{order:3!important}
}

@media(max-width:760px){
html body #app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;max-height:540px!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:4px!important}
}

@media(max-width:760px){
html body #app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:6px!important;min-height:102px!important;width:100%!important}
}

@media(max-width:760px){
html body #app .direct-studio .preset-cover-gallery .preset-cover-thumb{height:76px!important;min-height:76px!important;width:100%!important;margin:0!important}
}

@media(max-width:760px){
html body #app .direct-studio .preset-cover-gallery .preset-cover-thumb img{height:100%!important;width:100%!important;object-fit:contain!important}
}

@media(max-width:760px){
html body #app .direct-studio .preset-cover-gallery>button>b{font-size:11px!important;line-height:1.2!important;text-align:center!important}
}

@media(max-width:760px){
html body #app .direct-studio .preset-cover-gallery>button>small{display:none!important}
}

@media(max-width:760px){html body #app .direct-studio:has(.preset-cover-gallery){display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;column-gap:12px!important;align-items:start!important}html body #app .direct-studio:has(.preset-cover-gallery)>:is(.direct-home-corner,.direct-studio-heading,.guided-setup-steps,#setup-feedback){grid-column:1/-1!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-display{grid-column:1!important;grid-row:4!important;width:100%!important;height:390px!important;min-height:0!important;--phone-book-height:330px!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-popover{grid-column:2!important;grid-row:4!important;width:100%!important;margin:0!important;padding:0!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-popover-body{padding:0!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-popover-heading{display:none!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-hotspots{display:none!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-book-surface{display:block!important;width:100%!important;height:360px!important;min-height:0!important;margin:0!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-book-surface>.setup-book{width:100%!important;height:330px!important;max-width:none!important}html body #app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery{max-height:390px!important}html body #app .direct-studio:has(.preset-cover-gallery) .direct-edit-hint{display:none!important}}


html body #app .design-history-controls>button{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;padding:6px!important}
html body #app .design-history-controls>button>svg{display:block!important;width:22px!important;height:22px!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Reserve independent icon and offline-status rows, including dark mode. */
@media(max-width:760px){html body>header#descaxora-header{grid-template-columns:minmax(0,1fr) 32px 32px 32px!important;grid-template-rows:32px minmax(18px,auto)!important;gap:8px!important;height:auto!important;min-height:74px!important;padding:8px 12px!important;align-items:center!important}html body>header#descaxora-header>:is(.header-sound-toggle,.cloud-account-button,.mobile-header-actions){min-width:32px!important;max-width:32px!important;width:32px!important;min-height:32px!important;max-height:32px!important;height:32px!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important;padding:5px!important;box-sizing:border-box!important;align-self:center!important;justify-self:center!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}html body>header#descaxora-header>.mobile-header-actions{padding:0!important}html body>header#descaxora-header>.mobile-header-actions>button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:5px!important;margin:0!important;background:transparent!important;box-shadow:none!important;border:0!important}html body>header#descaxora-header>.offline-readiness{grid-row:2!important;grid-column:2/5!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;align-self:center!important;justify-self:end!important;margin:0!important;line-height:18px!important;min-height:18px!important;padding:0!important;white-space:nowrap!important}html[data-lighting=night] body>header#descaxora-header>:is(.header-sound-toggle,.cloud-account-button,.mobile-header-actions){color:#f4e7d1!important}}


/* Text links remain unboxed in every theme and interaction state. */
html body #app :is(.all-notices-link,.hero-links>button[data-action=personalize]),html[data-lighting=night] body #app :is(.all-notices-link,.hero-links>button[data-action=personalize]),html[data-interior] body #app :is(.all-notices-link,.hero-links>button[data-action=personalize]):is(:hover,:focus,:active){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;outline-offset:4px;border-radius:0!important}
html body #app .all-notices-link{padding:6px 0!important;min-height:32px!important;color:var(--editorial-gold,#886120)!important}
html[data-lighting=night] body #app .all-notices-link{color:#eed395!important}
html body #app .all-notices-link::before,html body #app .all-notices-link::after{background:none!important;box-shadow:none!important;border:0!important}


/* Preserve the signature bookmark navigation on phones. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook{overflow:visible!important;margin-top:14px!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;translate:none!important;align-items:flex-end!important;justify-content:center!important;gap:7px!important;width:100%!important;max-width:100%!important;height:140px!important;min-height:140px!important;margin:0!important;padding:16px 10px 0!important;box-sizing:border-box!important;overflow:visible!important;z-index:3!important;border-bottom:2px solid var(--theme-rule,var(--inside-accent,#85052f))!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]{display:block!important;position:relative!important;flex:1 1 0!important;min-width:0!important;max-width:100px!important;width:auto!important;height:120px!important;min-height:120px!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;scale:1!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page]){transform:translateY(-10px)!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go] .bookmark-object-art{height:120px!important;width:100%!important;object-fit:contain!important;object-position:center!important;inset:0!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go] .bookmark-label{position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:30px!important;min-height:30px!important;padding:3px 2px!important;font-size:10px!important;line-height:1.1!important;white-space:normal!important;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;translate:none!important;transform:none!important;border-radius:5px!important;box-sizing:border-box!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page]) .bookmark-label{translate:0 10px!important;width:100%!important}html[data-view] body #app .workspace-shell article.notebook #page{position:relative!important;z-index:1!important}}
html body #app #page .task-empty,html[data-lighting=night] body #app #page .task-empty{background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;height:auto!important;padding:14px 0!important;margin:8px 0!important;color:var(--muted,#6b5b63)!important;text-align:center!important}
html[data-lighting=night] body #app #page .task-empty{color:#e0dfdf!important}


/* History toolbar stays clean and aligned at desktop and phone widths. */
html body #app #page .history-filter-row{position:relative!important;display:flex!important;align-items:flex-start!important;gap:16px!important;min-width:0!important}
html body #app #page .history-filter-row>.history-filter-options{flex:1 1 auto!important;min-width:0!important;margin:0!important}
html body #app #page .history-filter-row>.favorites-filter,html[data-lighting=night] body #app #page .history-filter-row>.favorites-filter{position:absolute!important;right:0!important;top:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:36px!important;height:36px!important;margin:0!important;padding:4px 8px!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;line-height:1!important;box-sizing:border-box!important}
html body #app #page .history-filter-row>.favorites-filter svg{width:24px!important;height:24px!important;flex:0 0 24px!important;margin:0!important;display:block!important}
html body #app #page .history-filter-row>.history-filter-options>summary{display:flex!important;align-items:center!important;min-height:36px!important;box-sizing:border-box!important;padding:4px 140px 4px 0!important;line-height:1.3!important}
html body #app #page .favorites-filter[aria-pressed=true]{color:var(--inside-accent,#85052f)!important;background:transparent!important}html[data-lighting=night] body #app #page .favorites-filter{color:#f4e9dd!important}html[data-lighting=night] body #app #page .favorites-filter[aria-pressed=true]{color:#efd18b!important}
html body #app #page .favorites-filter>selection-outline{display:none!important}


/* Compact Mood check-in while preserving comfortable tap targets. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]{row-gap:10px!important;align-items:start!important}
@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.care-page-heading{padding-block:12px 4px!important;min-height:0!important;margin:0!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.care-section-tabs{padding-block:0 6px!important;margin:0!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>:is(.page-left,.mood-checkin-details){min-height:0!important;height:auto!important;padding-top:10px!important;padding-bottom:14px!important;margin-top:0!important;align-self:start!important}
}

@media(max-width:760px){
html body #app #page[data-layout=mood] .moods{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 12px!important}
}

@media(max-width:760px){
html body #app #page[data-layout=mood] .moods>button{min-height:64px!important;height:64px!important;padding:6px!important;font-size:13px!important;gap:5px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
}

@media(max-width:760px){
html body #app #page[data-layout=mood] .moods .face{width:26px!important;height:26px!important;font-size:25px!important;line-height:26px!important;margin:0!important;min-height:0!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] :is(#mood-note,#mood-intention){height:108px;min-height:108px!important;max-height:none!important;width:100%!important;margin-top:6px!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood]>.mood-checkin-details{gap:12px!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood]>.mood-checkin-details>label{flex:0 0 auto!important;margin:0!important;gap:0!important}
}

@media(max-width:760px){
html body #app #page[data-layout=mood] .mood-context{margin:8px 0!important;padding:0!important;min-height:0!important}
}

@media(max-width:760px){html body #app #page[data-layout=mood] .mood-context legend{margin-bottom:6px!important;font-size:21px!important}
}

@media(max-width:760px){html body #app #page[data-layout=mood] .mood-context label{padding:6px 9px!important;font-size:12px!important}
}

@media(max-width:760px){html body #app #page[data-layout=mood] .mood-save-actions{margin-top:2px!important}
}

@media(max-width:760px){html body #app #page[data-layout=mood] .moods>button{height:58px!important;min-height:58px!important}html body #app #page[data-layout=mood] .moods .face{font-size:23px!important;width:24px!important;height:24px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]{gap:8px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>:is(.page-left,.mood-checkin-details){padding-block:6px 10px!important}html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood] :is(#mood-note,#mood-intention){height:90px;min-height:90px!important}}
@media(max-width:760px){


html body :is(#app,#modal) .mood-context>div{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;min-width:0!important}
}

@media(max-width:760px){
html body :is(#app,#modal) .mood-context>div>label{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:28px!important;height:auto!important;padding:4px 7px!important;margin:0!important;box-sizing:border-box!important;font-size:11px!important;line-height:1.25!important;white-space:nowrap!important;border-radius:6px!important}
}

@media(max-width:760px){
html body :is(#app,#modal) .mood-context>div>label>input{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;margin:0!important;flex:0 0 12px!important}
}



@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs{background:transparent!important;background-image:none!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark>.bookmark-object-art{position:absolute!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;height:120px!important;max-height:120px!important;width:100%!important;opacity:1!important;visibility:visible!important;z-index:1!important;object-fit:contain!important;filter:none!important;transform:none!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover)>span.bookmark-label{top:auto!important;bottom:10px!important;translate:0 10px!important;z-index:5!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label{z-index:5!important}}


/* Phone bookmarks emerge from behind the same paper surface. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook{--phone-journal-paper:var(--inside-paper,#fffefa);isolation:isolate!important}html[data-lighting=night][data-view] body #app .workspace-shell article.notebook{--phone-journal-paper:#121212}html[data-view] body #app .workspace-shell article.notebook>nav.tabs{height:158px!important;min-height:158px!important;padding-top:20px!important;background:var(--phone-journal-paper)!important;z-index:1!important;border-bottom:2px solid var(--theme-rule,var(--inside-accent,#85052f))!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]{height:158px!important;min-height:158px!important;align-self:flex-end!important;z-index:1!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark>.bookmark-object-art{height:188px!important;max-height:188px!important;object-fit:contain!important;object-position:center top!important;top:0!important;bottom:auto!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label,html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover)>span.bookmark-label{top:auto!important;bottom:10px!important;translate:none!important;z-index:2!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover){transform:translateY(-12px)!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover)>span.bookmark-label{translate:0 12px!important}html[data-view] body #app .workspace-shell article.notebook>#page{position:relative!important;z-index:4!important;background:var(--phone-journal-paper)!important;margin-top:0!important}html[data-view] body #app .workspace-shell article.notebook>#page:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--phone-journal-paper);pointer-events:none}}


/* Match desktop bookmark selection mechanics on the phone canvas. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs{padding-top:32px!important;height:174px!important;min-height:174px!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]{transition:transform .22s ease,filter .22s ease!important;outline:none!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:hover:not(.active):not([aria-current=page]){transform:translateY(-9px)!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:hover:not(.active):not([aria-current=page])>span.bookmark-label{translate:0 9px!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page]),html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page]):hover{transform:translateY(-24px)!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page])>span.bookmark-label{top:auto!important;bottom:10px!important;translate:0 24px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100% + 4px)!important;max-width:none!important;font-weight:800!important;border:2px solid transparent!important;border-image:none!important;background:linear-gradient(var(--ribbon-custom,var(--ribbon)),var(--ribbon-custom,var(--ribbon))) padding-box,var(--selection-iridescence) border-box!important;box-shadow:inset 0 1px #ffffff60,0 2px 5px #30212a22!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:not(.active):not([aria-current=page])>span.bookmark-label{font-weight:700!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark>.bookmark-object-art{height:200px!important;max-height:200px!important}}


/* Home Writing tools: six writing choices, then paired collection/progress lists. */
html body #modal #all-tools-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important;min-width:0!important}

html body #modal #all-tools-list>.tool-group{min-width:0!important;margin:0!important;padding:0!important}

html body #modal #all-tools-list>.tool-group[data-tool-group=Writing]{grid-column:1/-1!important}

html body #modal #all-tools-list>.tool-group[data-tool-group=Collections]{grid-column:1!important}

html body #modal #all-tools-list>.tool-group[data-tool-group="Your progress"]{grid-column:2!important}

html body #modal #all-tools-list>.tool-group>h3{font-size:20px!important;margin:2px 0 8px!important;text-align:left!important}

html body #modal #all-tools-list>.tool-group>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}

html body #modal #all-tools-list>.tool-group[data-tool-group=Writing]>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}

html body #modal #all-tools-list [data-tool-open]{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:46px!important;height:auto!important;padding:8px!important;margin:0!important;min-width:0!important;width:100%!important;text-align:left!important;box-sizing:border-box!important}

html body #modal #all-tools-list [data-tool-open]>small{display:none!important}

html body #modal #all-tools-list [data-tool-open] :is(svg,.live-icon){width:26px!important;height:26px!important;min-width:26px!important;margin:0!important;flex:0 0 26px!important}

html body #modal #all-tools-list [data-tool-open] :is(b,strong,span){font-size:13px!important;line-height:1.25!important;min-width:0!important}

html body #modal:has(#all-tools-list) .all-tools-heading{margin-bottom:10px!important;gap:10px!important}


@media(max-width:480px){html body #modal #all-tools-list{gap:12px!important}html body #modal #all-tools-list [data-tool-open]{gap:6px!important;padding:7px 5px!important}html body #modal #all-tools-list [data-tool-open] :is(b,strong,span){font-size:12px!important}}

html body #modal #sound-master-state{display:inline-flex!important;align-items:center!important;gap:8px!important;line-height:1.2!important}
html body #modal #sound-master-state .sound-state-icon{display:block!important;width:23px!important;height:23px!important;flex:0 0 23px!important;color:inherit!important}
html body #modal .sound-toggle>span{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important}

/* Restore legible circular plus controls on every book hotspot. */
html[data-setup] body #app .direct-studio .direct-hotspots>button.edit-point>i{display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#85052f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:700 14px/1 Arial,sans-serif!important;font-style:normal!important;text-indent:0!important;overflow:visible!important;box-sizing:border-box!important}
html[data-setup] body #app .direct-studio .direct-hotspots>button.edit-point{min-width:100px!important;padding-left:20px!important;padding-right:24px!important}
@media(max-width:760px){html[data-setup] body #app .direct-studio .direct-hotspots{width:100px!important}html[data-setup] body #app .direct-studio .direct-book-surface:has(>.direct-hotspots){grid-template-columns:minmax(0,1fr) 100px!important}}
/* Night mode applies to the full setup interface, not just its fields. */
html[data-lighting=night][data-setup] body{background:#181b22!important;background-image:none!important;color:#f4eee4!important}
html[data-lighting=night][data-setup] body #app .direct-studio{background:#181b22!important;color:#f4eee4!important;--accent-deep:#f0cf86;--muted:#ccc5bd;--accent-edge:#615340}
html[data-lighting=night][data-setup] body #app .direct-studio :is(.direct-layout,.direct-display,.direct-book-surface,.direct-popover,.direct-popover-body,.direct-popover-heading,.guided-setup-steps,.review-choice-list,.page-custom-colors,.page-paper-stage,.page-font-options,.page-cover-lettering){background-color:transparent!important;background-image:none!important;color:#f4eee4!important}
html[data-lighting=night][data-setup] body #app .direct-studio :is(h1,h2,h3,h4,.eyebrow,.guide-step-caption){color:#efd294!important;-webkit-text-fill-color:#efd294!important}
html[data-lighting=night][data-setup] body #app .direct-studio :is(p,label,small,.review-choice-row b,.review-choice-row small){color:#ded6cc!important;-webkit-text-fill-color:#ded6cc!important}
html[data-lighting=night][data-setup] body #app .direct-studio :is(input:not([type=color]):not([type=checkbox]):not([type=radio]),textarea,select){background:#242933!important;color:#fff5e8!important;border-color:#67616a!important;-webkit-text-fill-color:#fff5e8!important}
@media(max-width:760px){
html[data-lighting=night][data-setup] body #app .direct-studio :is(.guided-setup-steps>button,.journey-start-options>button,.material-picker button,.visual-charm-options>button,.cover-pattern-options>button,.bookmark-style-options>button,.page-color-routes>button,.paper-grid>button,.font-grid>button,.edit-point){background:#242933!important;color:#f5e8d2!important;-webkit-text-fill-color:#f5e8d2!important;border-color:#8e754b!important}
}

html[data-lighting=night][data-setup] body #app .direct-studio .guided-setup-actions{background:#181b22!important;border-top-color:#635241!important}
html[data-lighting=night][data-setup] body #app .direct-studio.quick-detail-open .direct-popover{background:#20252e!important}
html[data-lighting=night][data-setup] body #app .direct-studio :is(.journey-route-copy>b,.journey-route-copy>span,.journey-route-copy>strong){color:#f1e5d2!important;-webkit-text-fill-color:#f1e5d2!important}


/* Keep the All notices link in the brand maroon in every view. */
html[data-screen=home] body #app .home-notice-area .all-notices-link,html[data-lighting=night][data-screen=home] body #app .home-notice-area .all-notices-link{color:#980b3d!important;-webkit-text-fill-color:#980b3d!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-screen=home] body #app .home-hero>.home-notice-area{position:relative!important;top:-8px!important}


/* Desktop/tablet retain the original six positions around the book. */
@media(min-width:761px){html body #app .direct-studio .direct-hotspots{position:absolute!important;inset:0!important;display:block!important;width:auto!important;height:auto!important;pointer-events:none!important}html body #app .direct-studio .direct-hotspots>button.edit-point{position:absolute!important;inset:auto!important;transform:none!important;translate:none!important;pointer-events:auto!important;width:auto!important;min-width:100px!important;height:40px!important;margin:0!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-color{left:0!important;right:auto!important;top:47%!important;bottom:auto!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-emblem{left:2%!important;right:auto!important;top:22%!important;bottom:auto!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-lettering{right:0!important;left:auto!important;top:58%!important;bottom:auto!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-charm{right:0!important;left:auto!important;top:14%!important;bottom:auto!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-metal{right:0!important;left:auto!important;top:83%!important;bottom:auto!important}html body #app .direct-studio .direct-hotspots>button.edit-point.point-ribbon{left:0!important;right:auto!important;top:auto!important;bottom:1%!important}html body #app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:none!important;overflow:visible!important}html body #app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery>button{min-height:170px!important}html body #app .direct-studio .preset-cover-gallery .preset-cover-thumb{height:140px!important;min-height:140px!important}}
@media(max-width:760px){

/* Bookmark choices: two columns, three visible rows, scroll for more styles. */
html body #app .direct-studio .bookmark-style-picker .bookmark-style-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:112px!important;gap:10px!important;max-height:356px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;padding:3px!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button{height:112px!important;min-height:112px!important;padding:7px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button :is(img,.bookmark-object-art){height:72px!important;max-height:72px!important;width:100%!important;max-width:100%!important;object-fit:contain!important;margin:0!important}
}

@media(max-width:760px){
html body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button :is(b,span){font-size:12px!important;line-height:1.2!important;text-align:center!important}
}

@media(max-width:760px){html body #app .direct-studio .bookmark-style-picker .bookmark-style-options{grid-auto-rows:94px!important;gap:8px!important;max-height:304px!important}html body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button{height:94px!important;min-height:94px!important;padding:6px!important}html body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button :is(img,.bookmark-object-art){height:56px!important;max-height:56px!important}}


html body #app .page-cover-lettering .initials-choice>input[role=switch]{appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;width:38px!important;min-width:38px!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#b7b0b8!important;box-shadow:inset 0 1px 3px #0002!important;cursor:pointer!important;transition:background .18s ease!important}
html body #app .page-cover-lettering .initials-choice>input[role=switch]::before{content:""!important;display:block!important;position:absolute!important;top:3px!important;left:3px!important;width:16px!important;height:16px!important;margin:0!important;border:0!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px #0003!important;transform:none!important;transition:left .18s ease!important}
html body #app .page-cover-lettering .initials-choice>input[role=switch]:checked{background:#85052f!important}
html body #app .page-cover-lettering .initials-choice>input[role=switch]:checked::before{left:19px!important}
html body #app .page-cover-lettering .initials-choice>input[role=switch]::after{content:none!important}
html body #app .page-cover-lettering .initials-choice>input[role=switch]:focus-visible{outline:2px solid #bd974b!important;outline-offset:3px!important}
html body #app .page-cover-lettering .initials-choice>b{min-width:24px!important;font-size:13px!important}
html body #app .page-cover-lettering .initials-value{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important}

/* Compact phone dashboard; larger layouts keep their existing sizing. */
@media(max-width:760px){html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-block:10px 14px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{height:120px!important;min-height:120px!important;padding:10px 8px!important;gap:5px!important;box-sizing:border-box!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong{font-size:31px!important;min-height:34px!important;line-height:1.1!important;margin:0!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading{font-size:14px!important;margin:0!important;min-height:18px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading :is(b,strong){font-size:14px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card :is(.dash-card-heading i,.dash-card-heading i svg){width:22px!important;height:22px!important}html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>small{font-size:10px!important;line-height:1.2!important;margin:0!important}html[data-view] body #app #page[data-layout=overview] :is(.dashboard-details,.dashboard-reflection-invitation,.dashboard-bottom-row){gap:12px!important;margin-block:12px!important}html[data-view] body #app #page[data-layout=overview] .panel-heading{margin-block:6px!important}}
/* Smaller in-journal bookmarks with safe icon and label placement. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs{height:120px!important;min-height:120px!important;padding-top:28px!important;gap:6px!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]{height:94px!important;min-height:94px!important;max-width:84px!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark>.bookmark-object-art{height:125px!important;max-height:125px!important;top:0!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>.ribbon-symbol{position:absolute!important;top:22px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;width:19px!important;height:19px!important;z-index:2!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>.ribbon-symbol :is(svg,.live-icon){width:19px!important;height:19px!important;margin:0!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label,html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover)>span.bookmark-label{top:auto!important;bottom:8px!important;height:26px!important;min-height:26px!important;font-size:10px!important;line-height:1.05!important;padding:3px 2px!important;text-align:center!important;align-items:center!important;justify-content:center!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:not(.active):not([aria-current=page])>span.bookmark-label{translate:none!important;width:100%!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page])>span.bookmark-label{translate:0 24px!important;width:calc(100% + 4px)!important}}
@media(max-width:760px){


/* Habit date and scene share the same two equal tracks and outer edges. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields:has(>#habit-date){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:16px!important;row-gap:0!important;align-items:stretch!important;justify-content:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:10px 0 14px!important;padding:0!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields>#habit-date,html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields>#scene{display:block!important;position:static!important;float:none!important;flex:none!important;grid-row:1!important;width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;min-inline-size:0!important;height:42px!important;min-height:42px!important;max-height:42px!important;margin:0!important;padding:8px!important;box-sizing:border-box!important;font-size:14px!important;line-height:1.2!important;transform:none!important;translate:none!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields>#habit-date{grid-column:1!important;justify-self:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields>#scene{grid-column:2!important;justify-self:end!important}
}

html body #habit-date::-webkit-date-and-time-value{text-align:left;min-width:0}html body #habit-date::-webkit-datetime-edit{padding:0;min-width:0}


/* The key shaft continues behind the page instead of ending under its label. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark[data-ribbon-style="Antique key"]>.bookmark-object-art{height:180px!important;min-height:180px!important;max-height:none!important;width:auto!important;max-width:none!important;left:50%!important;right:auto!important;top:0!important;object-fit:contain!important;transform:translateX(-50%)!important;transform-origin:top center!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark[data-ribbon-style="Antique key"]{clip-path:inset(-32px -8px 0 -8px)!important}}


/* Habit rhythm cards fill the same edges as their heading and upper panel. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding-inline:0!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks .section-head{width:100%!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks .consistency-scores{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;justify-content:stretch!important;width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;justify-self:stretch!important}
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .compact-habit-streaks .consistency-scores{gap:10px!important}}
@media(max-width:760px){


/* Mood details start near the page top and share one left alignment. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;align-self:start!important;min-height:0!important;height:auto!important;margin:0!important;padding:16px 22px!important;gap:16px!important;box-sizing:border-box!important;transform:none!important;translate:none!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>label{margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;text-align:left!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details #mood-note{margin:0!important;width:100%!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>.mood-context{margin:0!important;padding:0!important;width:100%!important;min-width:0!important;border:0!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today] .mood-context>legend{padding:0!important;margin:0 0 8px!important;text-align:left!important;width:100%!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today] .mood-context>p{margin:8px 0 10px!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>.mood-save-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;padding:0!important;margin:2px 0 0!important;width:100%!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today] .mood-save-actions>button{margin:0!important;align-self:flex-start!important}
}

@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{padding:10px 12px!important;gap:14px!important}}
@media(max-width:760px){


/* Task due date and priority mirror the equal Habit field tracks. */
html body #modal .split:has(#task-due){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:12px 0!important;box-sizing:border-box!important}
}
@media(max-width:760px){

html body #modal .split:has(#task-due)>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:left!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html body #modal .split:has(#task-due)>label:first-child{grid-column:1!important}
}

@media(max-width:760px){html body #modal .split:has(#task-due)>label:last-child{grid-column:2!important}
}

@media(max-width:760px){
html body #modal .split:has(#task-due) :is(#task-due,#task-priority){display:block!important;position:static!important;float:none!important;width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;margin:0!important;padding:8px!important;font-size:14px!important;line-height:1.2!important;box-sizing:border-box!important;transform:none!important;translate:none!important}
}

html body #task-due::-webkit-date-and-time-value{text-align:left;min-width:0}html body #task-due::-webkit-datetime-edit{padding:0;min-width:0}
html body #modal .quick-due:has([data-quick-due]){display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin:12px 0!important}


/* Audit corrections: active labels must not be clipped with the key art. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button.object-bookmark[data-ribbon-style="Antique key"]{clip-path:none!important}html body #modal .split:has(#task-due)>label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px 42px!important;align-items:end!important;gap:6px!important}html body #modal .quick-due:has([data-quick-due]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}html body #modal .quick-due>span{grid-column:1/-1!important}html body #modal .quick-due>[data-quick-due]{min-width:0!important;width:100%!important;margin:0!important;padding:6px 4px!important;font-size:12px!important;min-height:34px!important}}


/* Sound master state remains obvious in both lighting modes. */
html body #modal input#sound-enabled[role=switch]{appearance:none!important;-webkit-appearance:none!important;position:relative!important;display:inline-block!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:24px!important;min-height:24px!important;padding:0!important;margin:0!important;border:1px solid #89818b!important;border-radius:999px!important;background:#85808a!important;box-shadow:none!important;vertical-align:middle!important}
html body #modal input#sound-enabled[role=switch]::before{content:""!important;position:absolute!important;left:3px!important;top:3px!important;display:block!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 2px #0003!important;transform:none!important;transition:left .18s ease!important}
html body #modal input#sound-enabled[role=switch]::after{content:none!important}
html body #modal input#sound-enabled[role=switch]:checked{background:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important}
html body #modal input#sound-enabled[role=switch]:checked::before{left:19px!important}
html[data-lighting=night] body #modal input#sound-enabled[role=switch]{background:#4d5260!important;border-color:#8a8e99!important}
html[data-lighting=night] body #modal input#sound-enabled[role=switch]:checked{background:color-mix(in srgb,var(--inside-accent,#85052f) 55%,#ffffff)!important;border-color:color-mix(in srgb,var(--inside-accent,#85052f) 55%,#ffffff)!important}
/* Category text is never clipped as its bookmark rises. */
@media(max-width:760px){html[data-view] body #app .workspace-shell article.notebook>nav.tabs,html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]{overflow:visible!important;clip-path:none!important;mask-image:none!important}html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label,html[data-view] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page],:hover)>span.bookmark-label{height:32px!important;min-height:32px!important;max-height:none!important;bottom:6px!important;line-height:12px!important;font-size:10px!important;padding:4px 2px!important;overflow:visible!important;clip-path:none!important;mask-image:none!important;white-space:normal!important;text-overflow:clip!important}}

/* Visual audit: controls anchor to their own button on phones. */
@media(max-width:760px){html[data-setup] body #app .direct-studio .direct-hotspots>button.edit-point{position:relative!important;inset:auto!important}html body #app .direct-studio:is([data-target=shelf],[data-target=tools],[data-target=profile]) .direct-popover{scroll-margin-top:58px!important}html body #app .direct-studio[data-target=ribbon] .direct-display{height:250px!important;min-height:250px!important}html body #app .direct-studio[data-target=ribbon] .direct-book-surface{height:226px!important;min-height:226px!important;grid-template-rows:30px 160px 30px!important}html body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{height:160px!important;min-height:160px!important;max-height:160px!important}html body #app .direct-studio .page-paper-stage{margin-top:14px!important}}
html body #app .page-choice-mini-preview .paper-detail-ruling :is(span,p){font-size:11px!important;line-height:24px!important;letter-spacing:normal!important;overflow-wrap:anywhere!important}
html body #app .page-choice-mini-preview h3{font-size:14px!important;line-height:1.25!important}
html body #app .cover-path-options>button.choice-opening:after{content:none!important;display:none!important}
@media(max-width:760px){
html body #modal .split:has(#task-due)>label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:20px 42px 14px!important;gap:6px!important;align-items:end!important}
}

html body #modal .task-date-optional{display:block!important;font-size:10px!important;line-height:14px!important;margin:0!important;padding:0!important;color:#6b6570!important;font-weight:400!important;grid-row:3!important}
html[data-lighting=night] body #modal .task-date-optional{color:#c8c6cf!important}
/* Dark view selector: quiet black surface and deep-maroon active view. */
html[data-lighting=night] body :is(.view-toggle,.banner-view-toggle){background:#111318!important;color:#fff!important}
html[data-lighting=night] body :is(.view-toggle,.banner-view-toggle)>button{background:transparent!important;color:#f8f5f0!important;-webkit-text-fill-color:#f8f5f0!important;box-shadow:none!important}
html[data-lighting=night] body :is(.view-toggle,.banner-view-toggle)>button[aria-pressed=true]{border:2px solid transparent!important;border-image:none!important;border-radius:9px!important;background:linear-gradient(#4d0925,#4d0925) padding-box,var(--selection-iridescence) border-box!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* The setup action bar and bottom navigation meet without a transparent seam. */
@media(max-width:760px){html body>.mobile-bottom-navigation,html[data-customizing=returning] body>.mobile-bottom-navigation{height:calc(82px + env(safe-area-inset-bottom,0px))!important;min-height:calc(82px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}html[data-setup] body #app .direct-studio .guided-setup-actions{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;width:100%!important;max-width:100%!important;min-height:60px!important;height:auto!important;box-sizing:border-box!important;padding:10px 12px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;background:#fffdf8!important;background-image:none!important;opacity:1!important;backdrop-filter:none!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:0 -2px 7px #30212a0d!important;z-index:221!important;transform:none!important;translate:none!important}html[data-lighting=night][data-setup] body #app .direct-studio .guided-setup-actions{background:#181b22!important;background-image:none!important}html[data-setup] body #app .direct-studio .guided-setup-actions::before,html[data-setup] body #app .direct-studio .guided-setup-actions::after{content:none!important}html[data-setup] body #app .direct-studio{padding-bottom:154px!important}html[data-setup] body #app .direct-studio.quick-detail-open .guided-setup-actions{display:none!important}}
@media(min-width:761px){html body #app .direct-studio .guided-setup-actions{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}}


/* Phone overview: reserve distinct rows for heading, metric, caption and icon. */
@media(max-width:760px){
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{height:148px!important;min-height:148px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;padding:10px 8px 38px!important;gap:6px!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading{width:100%!important;min-height:20px!important;line-height:20px!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading>b{padding:0 12px!important;width:auto!important;text-align:center!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;line-height:36px!important;min-height:0!important;width:100%!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong>small{font-size:10px!important;line-height:13px!important;margin:0!important;min-height:26px!important;display:block!important;width:100%!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading>i{position:absolute!important;top:auto!important;bottom:9px!important;left:50%!important;transform:translateX(-50%)!important;width:24px!important;height:24px!important;margin:0!important;padding:0!important}
html[data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading>i svg{width:24px!important;height:24px!important}
}

/* Setup must retain readable night surfaces through its shared navigation. */
html[data-lighting=night][data-setup][data-view] body nav.mobile-bottom-navigation{background:#181b22!important;background-image:none!important;border-top-color:#5a515e!important}
html[data-lighting=night][data-setup][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{background:#242933!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night][data-setup][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]{background:linear-gradient(#242933,#242933) padding-box,var(--selection-iridescence) border-box!important;color:#efd18b!important;-webkit-text-fill-color:#efd18b!important}
html[data-lighting=night][data-setup] body #app .direct-studio :is(.bookmark-inbook-toggle,.two-choice-row>button,.guided-setup-actions>button:not(.primary)){background:#242933!important;color:#f5eee3!important;-webkit-text-fill-color:#f5eee3!important;border-color:#a58a5a!important}
/* Header theme overrides must not wash out the dark view selector. */
html[data-lighting=night][data-view] body header#descaxora-header div.view-toggle.banner-view-toggle{background:#111318!important;background-image:none!important;color:#fff!important}
html[data-lighting=night][data-view] body header#descaxora-header div.view-toggle.banner-view-toggle>button[data-view]{background:transparent!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:transparent!important;box-shadow:none!important}
html[data-lighting=night][data-view] body header#descaxora-header div.view-toggle.banner-view-toggle>button[data-view][aria-pressed=true]{background:linear-gradient(#4d0925,#4d0925) padding-box,var(--selection-iridescence) border-box!important;border:2px solid transparent!important;border-radius:9px!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night][data-view] body header#descaxora-header button.main-navigation-button{background:transparent!important;background-image:none!important;color:#f5eee5!important;-webkit-text-fill-color:#f5eee5!important;box-shadow:none!important}
html[data-lighting=night][data-view] body header#descaxora-header button.main-navigation-button :is(svg,span){color:inherit!important;-webkit-text-fill-color:inherit!important}

/* No permanent footer boilerplate; collection heading follows the book theme. */
html[data-lighting=night][data-screen=home][data-view] body #app .collection-section .collection-heading h2{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;background:none!important}
html[data-lighting=night][data-view] body header#descaxora-header .header-actions>button.main-navigation-button::before,html[data-lighting=night][data-view] body header#descaxora-header .header-actions>button.main-navigation-button::after{background:transparent!important;background-image:none!important}
html[data-lighting=night][data-view] body header#descaxora-header .header-actions>button.main-navigation-button{background:#121212!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Signature night metrics stay maroon; gold arrows provide a separate cue. */
html[data-lighting=night][data-interior=Signature][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{--metric-color:#c04c60!important}
html[data-lighting=night][data-interior=Signature][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card::before{background:linear-gradient(110deg,#85052f,#b63b54,#e5c778,#85052f)!important}
html[data-lighting=night][data-interior=Signature][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card>strong,html[data-lighting=night][data-interior=Signature][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading>i{color:#c04c60!important;-webkit-text-fill-color:#c04c60!important}
html[data-lighting=night][data-interior=Signature][data-view] body #app #page[data-layout=overview] .clear-dashboard-cards>.dash-card .dash-card-heading>em{color:#e4c47b!important;-webkit-text-fill-color:#e4c47b!important}
html body #connection-state{display:none!important}
html body>footer[hidden]{display:none!important;height:0!important;padding:0!important;margin:0!important;border:0!important}
html[data-lighting=night] body #descaxora-header#descaxora-header#descaxora-header .header-actions>button{background:#121212!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important}
html[data-lighting=night] body #descaxora-header#descaxora-header#descaxora-header .header-actions>button :is(span,svg){color:inherit!important;-webkit-text-fill-color:inherit!important}

/* Phone journal controls share a centered tab row and aligned history fields. */
html body #app #word-count{display:none!important}
@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page>:is(.task-view-nav,.journal-mobile-views){display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;padding-inline:10px!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=journal] .section-head:has(.writer-book-name){justify-content:space-between!important;text-align:left!important;padding-inline:0!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=journal] .writer-book-name{margin-left:0!important;padding-left:0!important;text-align:left!important;justify-self:start!important}
html[data-view] body #app .workspace-shell article.notebook #page .history-tools-group{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,140px)!important;gap:10px!important;align-items:end!important}
html[data-view] body #app #page .history-tools-group>h3{grid-column:1/-1!important;grid-row:1!important;margin:0 0 4px!important}
html[data-view] body #app #page .history-tools-group>.history-top-controls{grid-column:2!important;grid-row:2!important;width:100%!important;display:block!important;margin:0!important}
html[data-view] body #app #page .history-tools-group>.fields{grid-column:1!important;grid-row:2!important;width:100%!important;display:block!important;margin:0!important;min-width:0!important}
html[data-view] body #app #page .history-date-filter{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;width:100%!important;margin:0!important;text-align:left!important;font-size:12px!important}
html[data-view] body #app #page .history-tools-group :is(#filter-date,#search){width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important;padding:8px!important;font-size:12px!important}
html[data-view] body #app #page .history-tools-group>.history-filter-row{grid-column:1/-1!important;grid-row:3!important;width:100%!important;margin:0!important}
}
html body #modal .mobile-more-settings{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;margin:18px 0 0!important;padding:12px!important;border-top:1px solid var(--theme-rule,#c8ab76)!important}
html body #modal .mobile-more-settings svg{width:24px!important;height:24px!important;flex:0 0 24px!important}

/* Plain inactive task tabs; the existing selected treatment stays intact. */
html[data-view] body #app .workspace-shell article.notebook #page .task-view-nav>button:not([aria-pressed=true]):not(:hover):not(:focus-visible){background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important}
html[data-view] body #app .workspace-shell article.notebook #page .task-view-nav>button:not([aria-pressed=true])::before,html[data-view] body #app .workspace-shell article.notebook #page .task-view-nav>button:not([aria-pressed=true])::after{background:transparent!important;box-shadow:none!important}
/* Restore the earlier maroon-to-gold navigation with a small gold baseline. */
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{position:relative!important;background:transparent!important;background-image:none!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]{background:transparent!important;background-image:none!important;color:#b63b50!important;-webkit-text-fill-color:#b63b50!important}
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is([aria-current=page],:hover,:focus-visible){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#93691f!important;-webkit-text-fill-color:#93691f!important;font-weight:800!important}
html[data-lighting=night][data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is([aria-current=page],:hover,:focus-visible){background:transparent!important;background-image:none!important;border:0!important;color:#efd18b!important;-webkit-text-fill-color:#efd18b!important}
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]::before{content:none!important}
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]::after{content:none!important}
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is([aria-current=page],:hover,:focus-visible)::after{content:''!important;position:absolute!important;left:24%!important;right:24%!important;top:auto!important;bottom:2px!important;width:auto!important;height:3px!important;border-radius:3px!important;background:linear-gradient(90deg,#a0772d,#f5dda1,#b58a36)!important;box-shadow:none!important;transform:none!important}
html[data-view] body nav.mobile-bottom-navigation>button[data-mobile-destination]>selection-outline{display:none!important}
html[data-lighting=night][data-view][data-interior] body nav.mobile-bottom-navigation>button[data-mobile-destination]{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#b63b50!important;-webkit-text-fill-color:#b63b50!important}
html[data-lighting=night][data-view][data-interior] body nav.mobile-bottom-navigation>button[data-mobile-destination]:is([aria-current=page],:hover,:focus-visible){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#efd18b!important;-webkit-text-fill-color:#efd18b!important}

/* Only the plain bookmark needs a solid continuation beneath its phone label. */
@media(max-width:760px){
html[data-view][data-bookmark-style="Stitched leather"] body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label::after{content:''!important;position:absolute!important;top:calc(100% - 1px)!important;left:0!important;right:0!important;width:100%!important;height:14px!important;background:var(--ribbon-custom,var(--ribbon))!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:-1!important;pointer-events:none!important}
/* Explicit bounded tracks also constrain native mobile date controls. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields:has(>#habit-date){grid-template-columns:calc((100% - 20px)/2) calc((100% - 20px)/2)!important;column-gap:20px!important;overflow:visible!important}
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=habits] .page-left>.fields>:is(#habit-date,#scene){width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;contain:inline-size!important}
html body #modal .split:has(#task-due){grid-template-columns:calc((100% - 20px)/2) calc((100% - 20px)/2)!important;column-gap:20px!important}
html body #modal .split:has(#task-due)>label{min-width:0!important;max-width:100%!important;overflow:hidden!important}
html body #modal .split:has(#task-due) :is(#task-due,#task-priority){width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;contain:inline-size!important}
}
@media(max-width:760px){

/* One dashboard section rhythm, without stacked wrapper margins. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]{--dashboard-section-gap:12px;row-gap:var(--dashboard-section-gap)!important;align-content:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-intro{min-height:0!important;height:auto!important;padding-bottom:0!important;margin-bottom:0!important;align-self:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .clear-dashboard-cards{margin-bottom:0!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-details{min-height:0!important;height:auto!important;margin-block:0!important;padding-block:0!important;row-gap:var(--dashboard-section-gap)!important;align-content:start!important;align-self:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview] .dashboard-chart-panel{margin-block:0!important;min-height:0!important;align-self:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-bottom-pair{margin-block:0!important;padding-block:0!important;row-gap:var(--dashboard-section-gap)!important;align-content:start!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=overview]>.dashboard-bottom-pair>:is(.dashboard-reflection-invitation,.dashboard-reminder-center){margin-block:0!important;min-height:0!important}
}

@media(max-width:760px){
/* Keep the mood submission in normal flow directly below its options. */
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{justify-content:flex-start!important;align-content:start!important;gap:10px!important;min-height:0!important;height:auto!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>.mood-context{flex:0 0 auto!important;min-height:0!important;height:auto!important;margin:0!important;padding-bottom:0!important}
}

@media(max-width:760px){
html[data-view] body #app .workspace-shell article.notebook #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details>.mood-save-actions{position:static!important;inset:auto!important;transform:none!important;translate:none!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;align-self:flex-start!important;justify-content:flex-start!important}
}


/* Text-only care tabs remain visibly interactive before selection. */
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page .care-section-tabs>button:not([aria-pressed=true]){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;font-weight:600!important;text-decoration-line:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)!important}
html[data-lighting=night][data-view] body #app .workspace-shell article.notebook #page .care-section-tabs>button:not([aria-pressed=true]):is(:hover,:focus-visible){text-decoration-color:currentColor!important}
/* Phone Home shortcuts: discard the older two-row grid assignments entirely. */
@media(max-width:760px){
html[data-screen=home] body #app .home-book-studio .book-side-tools>button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:78px!important;padding:10px!important}
html[data-screen=home] body #app .home-book-studio .book-side-tools>button>span{position:static!important;inset:auto!important;grid-area:auto!important;flex:0 0 38px!important;width:38px!important;height:42px!important;align-self:center!important;margin:0!important;transform:none!important;translate:none!important;display:flex!important;align-items:center!important;justify-content:center!important}
html[data-screen=home] body #app .home-book-studio .book-side-tools>button>:is(strong,b){position:static!important;inset:auto!important;grid-area:auto!important;flex:1 1 0!important;min-width:0!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;margin:0!important;padding:0!important;text-align:center!important;transform:none!important;translate:none!important;line-height:1.2!important}
}
@media(max-width:760px){
/* Fit each bookmark image within its card, keeping its label in normal flow. */
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 72px!important;width:52px!important;min-width:52px!important;height:72px!important;min-height:72px!important;max-height:72px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;overflow:hidden!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon>.bookmark-object-art{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;translate:none!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>b{position:static!important;inset:auto!important;display:block!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:16px!important;margin:0!important;transform:none!important;translate:none!important;visibility:visible!important;opacity:1!important}
}

@media(max-width:760px){html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon{flex-basis:56px!important;height:56px!important;min-height:56px!important;max-height:56px!important}}
@media(max-width:760px){
/* Spin controls sit below, rather than over, the displayed book. */
html[data-setup] body #app .direct-studio .direct-book-surface>.book-display-controls{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;margin-top:18px!important;margin-bottom:8px!important;z-index:5!important;align-self:start!important}
}

@media(max-width:760px){html[data-setup] body #app .direct-studio .direct-book-surface:has(>.direct-hotspots):not(.direct-paper-surface){grid-template-rows:var(--phone-book-height) 56px!important;height:calc(var(--phone-book-height) + 64px)!important;min-height:calc(var(--phone-book-height) + 64px)!important}}

/* Bookmark colors stay in one row, with truly circular native swatches. */
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs){display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:8px 4px!important;box-sizing:border-box!important;scroll-snap-type:x proximity}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs)>label{display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;height:48px!important;margin:0!important;padding:0!important;white-space:nowrap!important;scroll-snap-align:start}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs)>label>span{line-height:1.25!important;margin:0!important;align-self:center!important}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs) input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:1!important;box-sizing:border-box!important;border:0!important;border-radius:50%!important;padding:5px!important;margin:0!important;transform:none!important;background:conic-gradient(#85052f,#ba617d,#fff4d2,#c49b49,#fff4d2,#85052f)!important;box-shadow:0 2px 5px #0003!important;overflow:hidden!important}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs) input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs) input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 1px 2px #0002!important}
html[data-setup] body #app .direct-studio :is(.bookmark-preview-color-fields,.custom-ribbon-inputs) input[type=color]::-moz-color-swatch{border:2px solid #fff!important;border-radius:50%!important}
@media(max-width:760px){

/* Bookmark editor footer uses the same left edge as its controls. */
html[data-setup] body #app .direct-studio[data-target=ribbon] .bookmark-classic-finish{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;margin-inline:0!important;padding-inline:0!important;width:100%!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .bookmark-classic-finish[hidden]{display:none!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .bookmark-classic-finish>label{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;text-align:left!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .bookmark-finish-note{text-align:left!important;margin-inline:0!important;padding-inline:0!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .guided-setup-actions{justify-content:flex-start!important;margin-inline:0!important}
}

@media(max-width:760px){
/* Explicit card tracks prevent inherited absolute preview positioning escaping. */
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:72px 18px!important;justify-items:center!important;align-items:center!important;align-content:center!important;gap:5px!important;overflow:hidden!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon{grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:center!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button>b{grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:center!important;line-height:18px!important}
}

@media(max-width:760px){html[data-setup] body #app .direct-studio .bookmark-style-picker .bookmark-style-options>button{grid-template-rows:56px 18px!important}}
@media(max-width:760px){

/* Bookmark preview, spin controls and color controls share one center axis. */
html[data-setup] body #app .direct-studio[data-target=ribbon] .direct-book-surface{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;justify-content:center!important;padding-inline:0!important;margin-inline:auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{grid-column:1!important;grid-row:1!important;justify-self:center!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:2!important;justify-self:center!important;width:100%!important;max-width:100%!important;margin-inline:0!important;padding:0!important;transform:none!important;translate:none!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{grid-column:1!important;grid-row:3!important;justify-self:center!important;width:max-content!important;margin-inline:auto!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio[data-target=ribbon] :is(.direct-edit-hint,.bookmark-preview-colors){text-align:center!important;margin-inline:auto!important;align-self:center!important;box-sizing:border-box!important}
}

@media(max-width:760px){

/* Center the page-color question and its three choices as one group. */
html[data-setup] body #app .direct-studio .page-color-approach{width:100%!important;max-width:100%!important;margin-inline:auto!important;text-align:center!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .page-color-approach>h3{text-align:center!important;margin-inline:auto!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .page-color-routes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;justify-content:center!important;align-items:stretch!important;width:100%!important;margin-inline:auto!important;box-sizing:border-box!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .page-color-routes>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;text-align:center!important;min-width:0!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .page-color-routes>button>:is(b,small){width:100%!important;text-align:center!important;margin-inline:0!important}
}

@media(max-width:760px){
html[data-setup] body #app .direct-studio .signature-page-note{text-align:center!important;margin-inline:auto!important}
}


/* A single slim initials switch, without a separate initials editor. */
html[data-setup] body #app .direct-studio .page-cover-lettering{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:6px 0!important;margin:8px 0!important;min-height:0!important;height:auto!important}
html[data-setup] body #app .direct-studio .cover-initials-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0!important;margin:0!important;min-height:0!important;height:auto!important}
html[data-setup] body #app .direct-studio .initials-choice{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;margin:0!important;padding:0!important;min-height:28px!important;height:auto!important}
html[data-setup] body #app .direct-studio .initials-choice>span{font-size:14px!important;font-weight:500!important}
html[data-setup] body #app .direct-studio .direct-edit-hint{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important}

/* Cream experience cards need dark readable copy even in night mode. */
html[data-lighting=night] body :is(#app,#modal) .experience-preset-grid>button{background:#fffaf5!important;background-image:none!important;color:#85052f!important;-webkit-text-fill-color:#85052f!important;opacity:1!important}
html[data-lighting=night] body :is(#app,#modal) .experience-preset-grid>button[aria-pressed=true]{background:linear-gradient(#fffaf5,#fffaf5) padding-box,var(--selection-iridescence,linear-gradient(110deg,#85052f,#f5e6c3,#ba9141,#85052f)) border-box!important}
html[data-lighting=night] body :is(#app,#modal) .experience-preset-grid>button>small{color:#5f4650!important;-webkit-text-fill-color:#5f4650!important;opacity:1!important;text-shadow:none!important;font-weight:500!important}
html[data-lighting=night] body :is(#app,#modal) .experience-preset-grid>button>:is(b,.preset-check){color:#85052f!important;-webkit-text-fill-color:#85052f!important;opacity:1!important}
@media(max-width:760px){html[data-setup] body #app .direct-studio .page-choice-preview-layout{align-items:center!important}html[data-setup] body #app .direct-studio .page-choice-mini-preview{align-self:center!important;margin-block:auto!important}}
/* Phone-only alignment for the bookmark/book preview switch. */
@media(max-width:760px){html[data-setup] body #app#app .direct-studio .direct-book-surface>.bookmark-inbook-toggle{justify-self:start!important;align-self:start!important;margin-left:0!important;margin-right:auto!important;left:0!important;right:auto!important;transform:none!important;translate:none!important;text-align:center!important}}
/* Phone-only density: grouped settings keep readable labels and tap targets. */
@media(max-width:760px){html body #modal#modal .settings-list{gap:0!important}html body #modal#modal .settings-list>h3{margin:14px 0 5px!important}html body #modal#modal .settings-list>.settings-action{min-height:44px!important;padding-block:9px!important}html body #modal#modal .mode-picker{gap:10px!important;margin-block:10px!important}html[data-setup] body #app#app .direct-studio[data-target=ribbon] .direct-popover-body>p:last-of-type{display:none!important}}
@media(max-width:760px){html body #modal#modal .mode-picker>button{min-width:0!important;gap:6px!important;padding:10px 8px!important}html body #modal#modal .mode-picker>button>b{font-size:14px!important}html body #modal#modal .mode-picker>button>.mode-state{font-size:11px!important;white-space:nowrap!important}html body #modal#modal .mode-picker>button>.interface-icon{width:23px!important;height:23px!important;flex:0 0 23px!important}}
/* Desktop bookmark gallery: all twelve styles, with the full live preview retained. */
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:112px!important;gap:9px!important;max-height:none!important;overflow:visible!important;padding:3px!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button{display:grid!important;grid-template-rows:72px 26px!important;align-content:center!important;gap:3px!important;height:112px!important;min-height:112px!important;padding:5px!important;min-width:0!important;overflow:hidden!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon{height:72px!important;min-height:72px!important;max-height:72px!important;width:50px!important;max-width:100%!important;margin:0!important;justify-self:center!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button>b{font-size:12px!important;line-height:13px!important;min-height:26px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important}
}
/* Keep Bookmark's label clear of its plus, without moving the surrounding control. */
html[data-setup] body #app#app .direct-studio .direct-hotspots>button.edit-point.point-ribbon{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding-inline:12px!important}
/* Tablet bookmark gallery: four compact rows, with no nested list scrolling. */
@media(min-width:761px) and (max-width:1099px){
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:96px!important;gap:7px!important;max-height:none!important;overflow:visible!important;padding:3px!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button{display:grid!important;grid-template-rows:58px 26px!important;align-content:center!important;gap:3px!important;height:96px!important;min-height:96px!important;padding:4px!important;min-width:0!important;overflow:hidden!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon{height:58px!important;min-height:58px!important;max-height:58px!important;width:44px!important;max-width:100%!important;margin:0!important;justify-self:center!important}
html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button>b{font-size:11px!important;line-height:13px!important;min-height:26px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important}
}
/* Center the setup-step group on tablet and desktop. */
@media(min-width:761px){html[data-setup] body #app#app .direct-studio>.guided-setup-steps{margin-inline:auto!important;justify-content:center!important;justify-items:center!important;width:100%!important;box-sizing:border-box!important}}
@media(min-width:1100px){html[data-setup] body #app#app .direct-studio>.guided-setup-steps{grid-template-columns:repeat(8,minmax(0,1fr))!important}}
@media(min-width:761px) and (max-width:1099px){html[data-setup] body #app#app .direct-studio>.guided-setup-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:761px){html[data-setup] body #app#app .direct-studio .bookmark-style-picker .bookmark-style-options>button>.sample-ribbon>.bookmark-object-art{transform:scale(1.55)!important;transform-origin:center!important}html[data-setup] body #app#app .direct-studio .bookmark-style-picker>p{display:none!important}html[data-setup] body #app#app .direct-studio .bookmark-style-picker>h3{margin-block:6px 10px!important}}
/* Tablet/desktop Pages: the paper shares the editor panel's full row height. */
@media(min-width:761px){
html[data-setup] body #app#app .direct-studio[data-target=pages]>.direct-layout{align-items:stretch!important}
html[data-setup] body #app#app .direct-studio[data-target=pages] .direct-display{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:auto!important;padding-block:0!important}
html[data-setup] body #app#app .direct-studio[data-target=pages] .direct-paper-surface{display:flex!important;flex:1 1 auto!important;align-items:stretch!important;height:auto!important;min-height:600px!important;margin:0!important}
html[data-setup] body #app#app .direct-studio[data-target=pages] .direct-paper-surface>.paper-detail-preview{flex:1 1 auto!important;height:auto!important;min-height:600px!important;margin:0!important;align-self:stretch!important}
/* Final review: paper follows the details height; book centers against the paper. */
html[data-setup] body #app#app .direct-studio.design-final-review>.direct-layout{align-items:stretch!important;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr)!important}
html[data-setup] body #app#app .design-final-review .review-previews{align-self:stretch!important;align-items:stretch!important;max-width:none!important;height:auto!important}
html[data-setup] body #app#app .design-final-review .review-previews>figure{display:grid!important;grid-template-rows:auto minmax(440px,1fr)!important;align-items:stretch!important;min-height:0!important}
html[data-setup] body #app#app .design-final-review .review-previews .review-single-page{height:auto!important;min-height:440px!important;max-width:none!important;width:100%!important;margin:0!important;align-self:stretch!important;display:flex!important;flex-direction:column!important}
html[data-setup] body #app#app .design-final-review .review-single-page .paper-detail-ruling{flex:1 1 auto!important;height:auto!important;min-height:300px!important}
html[data-setup] body #app#app .design-final-review .review-previews .review-book{height:430px!important;width:100%!important;max-width:310px!important;margin:0 auto!important;align-self:center!important;justify-self:center!important}
}
/* Retired utility footer has no visible controls; keep its status hook without a bar. */
html body>.utility-strip{display:none!important;margin:0!important;padding:0!important;border:0!important;min-height:0!important;height:0!important;background:transparent!important;box-shadow:none!important}
@media(min-width:761px){html[data-setup] body #app#app .design-final-review .review-previews>figure{grid-template-rows:auto minmax(400px,1fr)!important}html[data-setup] body #app#app .design-final-review .review-previews .review-single-page{min-height:400px!important}}
/* Desktop/tablet preview switch sits beside the upper part of the book. */
@media(min-width:761px){html[data-setup] body #app#app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{position:relative!important;top:48px!important;z-index:3!important}}
/* Align Choose a book with the visible book rather than the crown row. */
@media(min-width:761px){html[data-setup] body #app#app .direct-studio[data-target=design] .direct-popover{margin-top:88px!important;align-self:start!important}}
/* Desktop/tablet utilities: offline, Settings, sound, Home, Account. */
.header-settings-shortcut,.header-home-shortcut{display:none!important}
@media(min-width:761px){
html body>header#descaxora-header{display:grid!important;grid-template-columns:minmax(210px,1fr) auto repeat(4,36px)!important;column-gap:10px!important;align-items:center!important}
html body>header#descaxora-header>.wordmark{grid-column:1!important;grid-row:1!important;margin:0!important;justify-self:start!important}
html body>header#descaxora-header>.offline-readiness{grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important;margin:0 12px 0 0!important;justify-self:end!important}
html body>header#descaxora-header>:is(.header-settings-shortcut,.header-sound-toggle,.header-home-shortcut,.cloud-account-button){display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;inset:auto!important;transform:none!important;grid-row:1!important;width:36px!important;height:36px!important;min-height:36px!important;min-width:36px!important;margin:0!important;padding:6px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;box-sizing:border-box!important}
html body>header#descaxora-header>.header-settings-shortcut{grid-column:3!important}html body>header#descaxora-header>.header-sound-toggle{grid-column:4!important}html body>header#descaxora-header>.header-home-shortcut{grid-column:5!important}html body>header#descaxora-header>.cloud-account-button{grid-column:6!important}
html body>header#descaxora-header>:is(.header-settings-shortcut,.header-home-shortcut)>svg{width:24px!important;height:24px!important;display:block!important}
html body>header#descaxora-header>.header-actions{grid-column:1/-1!important;grid-row:2!important}
html[data-lighting=night] body>header#descaxora-header>:is(.header-settings-shortcut,.header-home-shortcut){color:var(--night-gold,#e3c37d)!important;-webkit-text-fill-color:var(--night-gold,#e3c37d)!important}
}
@media(min-width:761px){
/* Weekly reflection cards own their tracks; generic metric rules cannot displace content. */
html body #modal#modal#modal .weekly-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
html body #modal#modal#modal .weekly-stats>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:44px 66px 44px!important;align-items:center!important;justify-items:center!important;align-content:center!important;gap:8px!important;padding:18px 10px!important;min-width:0!important;height:auto!important;text-align:center!important}
html body #modal#modal#modal .weekly-stats>div>span{grid-column:1!important;grid-row:1!important;order:0!important;place-self:center!important;width:100%!important;max-width:none!important;margin:0!important;font-size:14px!important;line-height:20px!important;text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
html body #modal#modal#modal .weekly-stats>div>b{grid-column:1!important;grid-row:2!important;order:1!important;place-self:center!important;margin:0!important;font-size:52px!important;line-height:1!important;text-align:center!important}
html body #modal#modal#modal .weekly-stats>div>i{grid-column:1!important;grid-row:3!important;order:2!important;place-self:center!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;margin:0!important}
html body #modal#modal#modal .weekly-stats>div>i :is(svg,.live-icon){display:block!important;width:38px!important;height:38px!important;margin:0!important}
@media(max-width:480px){html body #modal#modal#modal .weekly-stats{gap:8px!important}html body #modal#modal#modal .weekly-stats>div{padding:12px 5px!important;grid-template-rows:44px 54px 36px!important;gap:6px!important}html body #modal#modal#modal .weekly-stats>div>span{font-size:12px!important;line-height:18px!important}html body #modal#modal#modal .weekly-stats>div>b{font-size:42px!important}html body #modal#modal#modal .weekly-stats>div>i,html body #modal#modal#modal .weekly-stats>div>i :is(svg,.live-icon){width:32px!important;height:32px!important}}

}
/* Content first: reveal collection editors only on request. */
html body #modal#modal#modal .collection-editor-overlay[hidden],html body #modal#modal#modal .collection-editor-content>[hidden]{display:none!important}
html body #modal#modal#modal .collection-editor-overlay:not([hidden]){display:block!important;position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:min(560px,calc(100% - 32px))!important;max-height:85dvh!important;overflow:auto!important;z-index:2400!important;box-sizing:border-box!important;border:1px solid var(--inside-accent,#85062f)!important;border-radius:16px!important;padding:18px!important;background:var(--inside-paper,#fffdf8)!important;color:var(--inside-text,#352e40)!important;box-shadow:0 12px 70px #0008,0 0 0 100vmax #0005!important}
html body #modal#modal#modal .collection-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.collection-editor-head h3{margin:0!important}.collection-editor-head>button{font-size:25px!important;width:36px;min-width:36px;min-height:36px;padding:2px!important}
html body #modal#modal#modal .collection-editor-content>:is(.jar-note-panel,.jar-details-panel){display:block!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;min-height:0!important}
html body #modal#modal#modal .compact-jar-library .jar-top-editors{display:none!important}
html body #modal#modal#modal .compact-jar-library .jar-top-actions:empty{display:none!important}
html body #modal#modal#modal .jar-card-add-note{position:absolute!important;top:10px!important;left:10px!important;z-index:2!important;width:auto!important;min-height:32px!important;padding:4px 7px!important;font-size:13px!important;background:transparent!important;border:0!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:3px!important}
.jar-card-add-note>span{font-size:22px!important;line-height:1!important}
html body #modal#modal#modal .jar-card-edit{position:absolute!important;left:10px!important;bottom:10px!important;width:34px!important;height:34px!important;min-height:34px!important;padding:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:2!important}.jar-card-edit svg{width:22px;height:22px;display:block}
html body #modal#modal#modal .jar-display-card{position:relative!important}
html body #modal#modal#modal .jar-display-card>.jar-draw-button{margin-inline:auto!important;max-width:calc(100% - 96px)!important}
html body #modal#modal#modal .compact-capsule-library>.create-capsule-action{margin:0 0 16px!important}
html body #modal#modal#modal .capsule-create-form>:first-child{margin-top:0!important}.capsule-create-form textarea{min-height:100px!important}.capsule-item-options{position:relative;margin-left:auto}.capsule-item-options>summary{cursor:pointer;list-style:none;padding:8px}.capsule-item-options[open]>button{position:absolute;right:0;z-index:2;white-space:nowrap;background:var(--inside-paper,#fffdf8)!important}
html[data-lighting=night] body #modal#modal#modal .collection-editor-overlay:not([hidden]){background:var(--night-surface,#121212)!important;color:var(--night-text,#f5f0e8)!important;border-color:var(--night-border,#9a7a85)!important}
/* Setup saves once, at final review; no competing header save action. */
html[data-setup] body #app#app .direct-studio .direct-heading-actions :is([data-direct-save],#setup-next){display:none!important}
html body #app .shelf-add-book>span:first-child,html body #modal .library-top-actions>[data-action=add-book]::first-letter{font-size:25px!important;line-height:1!important}
html body #app #page [data-delete-entry]{font-size:23px!important;line-height:1!important;min-width:34px!important;min-height:34px!important;padding:4px!important}
/* Library books share dimensional covers rather than flat cartoon blocks. */
html body #modal#modal .library-book-card{position:relative;perspective:700px}
html body #modal#modal .library-spine{position:relative!important;width:60px!important;height:88px!important;min-height:88px!important;overflow:visible!important;border-radius:5px 8px 8px 5px!important;transform:rotateY(-16deg) rotateZ(-2deg)!important;background:linear-gradient(90deg,#0005,transparent 12%,#fff3 24%,transparent 35%,#0002 96%),var(--book-color,#85062f)!important;box-shadow:inset 3px 0 4px #0005,inset -1px 0 1px #fff8,5px 4px 5px #0004!important}
.library-cover-art{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none}.library-cover-art>*{width:100%!important;height:100%!important;object-fit:cover!important}
html body #modal#modal .library-spine::after{content:'';position:absolute;left:100%;top:3px;bottom:3px;width:5px;background:repeating-linear-gradient(0deg,#e7dfcc 0 1px,#fff8e9 1px 3px);border-radius:0 3px 3px 0;transform:skewY(-8deg);box-shadow:1px 0 2px #0003}
html body #modal#modal .library-spine i{position:relative!important;z-index:1;writing-mode:horizontal-tb!important;display:block!important;max-width:90%;font-size:11px!important;line-height:1.1!important;overflow-wrap:anywhere;text-align:center;color:var(--book-ink,#fff)!important;text-shadow:0 1px 1px #0005}
html body #modal#modal .library-favorite{position:absolute!important;top:5px!important;right:5px!important;z-index:3!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important;min-width:32px!important;min-height:32px!important}.library-favorite svg,.library-favorites-filter svg{width:23px;height:23px;display:block}
.library-favorites-filter{display:inline-flex;align-items:center;gap:6px;margin-left:auto;background:transparent!important;border:0!important;box-shadow:none!important;font-size:13px!important;white-space:nowrap}
html body #modal#modal .library-favorites-filter[aria-pressed=true],html body #modal#modal .library-favorite[aria-pressed=true]{color:var(--inside-accent,#85062f)!important}
@media(min-width:761px){html body #modal#modal#modal:has(.weekly-stats){max-height:94dvh!important}html body #modal#modal#modal:has(.weekly-stats) .modal-body{padding-block:14px!important}html body #modal#modal .weekly-stats{margin:12px 0!important}html body #modal#modal .weekly-stats>div{padding-block:10px!important;grid-template-rows:38px 54px 36px!important;gap:5px!important}html body #modal#modal#modal:has(.weekly-stats) textarea{min-height:70px!important;height:80px}html body #modal#modal#modal:has(.weekly-stats) .clear-field-button{min-height:30px!important;padding:4px 9px!important;margin-block:4px!important}html body #modal#modal#modal:has(.weekly-stats) label{margin-top:8px!important}}
@media(max-width:760px){html body #modal#modal#modal .collection-editor-overlay:not([hidden]){padding:14px!important;width:calc(100% - 20px)!important;max-height:82dvh!important}.library-favorites-filter{font-size:12px!important;gap:3px}.library-favorites-filter svg{width:20px;height:20px}}
/* Desktop/tablet check-in keeps the whole form compact without changing phone. */
@media(min-width:761px){html body #modal#modal#modal:has(.home-checkin-moods){max-width:760px!important;max-height:94dvh!important}html body #modal#modal#modal:has(.home-checkin-moods) .modal-body{padding-block:14px!important}html body #modal#modal#modal .home-checkin-moods{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}html body #modal#modal#modal .home-checkin-moods>button{min-height:66px!important;padding:7px 4px!important;gap:4px!important;font-size:12px!important}html body #modal#modal#modal .home-checkin-moods>button>:first-child{font-size:26px!important;width:30px!important;height:30px!important}html body #modal#modal#modal:has(.home-checkin-moods) textarea{height:66px;min-height:66px!important;margin-top:5px!important}html body #modal#modal#modal:has(.home-checkin-moods) label{margin-block:8px!important}html body #modal#modal#modal:has(.home-checkin-moods) .context-tags{gap:6px!important;margin-block:8px!important}html body #modal#modal#modal:has(.home-checkin-moods) .context-tags label{padding:5px 8px!important;font-size:12px!important;margin:0!important}html body #modal#modal#modal:has(.home-checkin-moods) .clear-field-button{min-height:28px!important;padding:4px 8px!important;margin-block:2px!important}html body #modal#modal#modal:has(.home-checkin-moods) #save-ritual{margin-top:10px!important}}
html body #modal#modal#modal .collection-editor-overlay .collection-editor-content>:is(.jar-details-panel,.jar-note-panel)[hidden]{display:none!important}
/* Extra mood options use the available top space, then extend the page naturally. */
html[data-view] body #app#app #page[data-layout=mood][data-care-panel=today]:has(.mood-context>div>label:nth-child(11))>.mood-checkin-details{align-self:start!important;align-content:start!important;justify-content:flex-start!important;margin-top:0!important;padding-top:16px!important;min-height:0!important;height:auto!important;gap:12px!important}
html[data-view] body #app#app #page[data-layout=mood][data-care-panel=today] .mood-context>div{height:auto!important;max-height:none!important;flex-wrap:wrap!important;gap:7px!important}
/* Every jar action group has deliberate separation at every breakpoint. */
html body #modal#modal#modal .compact-jar-library :is(.jar-note-actions,.jar-note-tools,.jar-notes-focus-heading,.jar-panel-heading,.jar-top-actions){gap:10px!important;flex-wrap:wrap!important}
html body #modal#modal#modal .collection-editor-overlay .jar-note-heading{gap:12px!important;align-items:center!important}
html body #modal#modal#modal .collection-editor-overlay .jar-note-actions{display:flex!important;justify-content:flex-end!important;margin-top:12px!important;gap:10px!important}
html body #modal#modal#modal .jar-card-edit{left:8px!important;bottom:9px!important}
html body #modal#modal#modal .jar-expand-notes{right:8px!important;top:8px!important}
@media(min-width:761px){html body #app#app #page[data-layout=tasks] .next-task{padding:12px 16px!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 16px!important;align-items:center!important}html body #app#app #page[data-layout=tasks] .next-task>span{grid-column:1/-1!important;margin:0!important;line-height:1.3!important}html body #app#app #page[data-layout=tasks] .next-task>b{grid-column:1/-1!important;margin:0!important;padding:0!important;font-size:17px!important;line-height:1.35!important}html body #app#app #page[data-layout=tasks] .next-task>small{grid-column:1!important;margin:0!important;line-height:1.4!important}html body #app#app #page[data-layout=tasks] .next-task>.task-badges{grid-column:2!important;grid-row:3!important;margin:0!important;gap:7px!important}}
html body #modal#modal#modal .compact-jar-library .jar-display-card>.jar-card-add-note{top:2px!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card>button[data-jar]{padding-top:32px!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card>.jar-draw-button{white-space:nowrap!important;width:calc(100% - 54px)!important;max-width:none!important;min-width:0!important;margin:0 8px 0 46px!important;padding:8px!important;font-size:13px!important;box-sizing:border-box!important}
html body #modal#modal#modal .modal-head:has(.library-favorites-filter){gap:8px!important}
html body #modal#modal#modal .modal-head>.library-favorites-filter{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-width:92px!important;height:36px!important;min-height:36px!important;padding:5px!important;border:0!important;box-shadow:none!important;white-space:nowrap!important}
html body #modal#modal#modal .library-favorites-filter>selection-outline{display:none!important}
html body #modal#modal#modal .library-book{grid-template-columns:72px minmax(0,1fr)!important;column-gap:10px!important;min-width:0!important}
html body #modal#modal#modal .library-book>b{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:760px){html body #modal#modal#modal .modal-head:has(.library-favorites-filter){gap:4px!important}html body #modal#modal#modal .modal-head:has(.library-favorites-filter)>h2{font-size:22px!important}html body #modal#modal#modal .modal-head>.library-favorites-filter{min-width:78px!important;font-size:11px!important;gap:3px!important}html body #modal#modal#modal .modal-head:has(.library-favorites-filter)>:is(.modal-privacy,[data-action=close]){min-width:32px!important;width:32px!important;padding:4px!important}}
/* Phone dialogs use concise, aligned controls with scrolling only for longer content. */
@media(max-width:760px){
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)){max-height:92dvh!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .modal-head{padding:12px 14px!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .modal-head h2{font-size:24px!important;line-height:1.15!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .modal-body{padding:12px!important}
html body #modal#modal#modal .weekly-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
html body #modal#modal#modal .weekly-stats>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px 42px 28px!important;gap:5px!important;padding:9px 5px!important;min-width:0!important;min-height:0!important;align-content:center!important;justify-items:center!important;text-align:center!important}
html body #modal#modal#modal .weekly-stats>div>span{grid-area:1/1!important;order:0!important;align-self:center!important;font-size:11px!important;line-height:16px!important;text-align:center!important;width:100%!important;min-height:0!important;margin:0!important}
html body #modal#modal#modal .weekly-stats>div>b{grid-area:2/1!important;order:1!important;align-self:center!important;font-size:38px!important;line-height:1!important;text-align:center!important;margin:0!important;width:auto!important}
html body #modal#modal#modal .weekly-stats>div>i{grid-area:3/1!important;order:2!important;align-self:center!important;display:grid!important;place-items:center!important;margin:0!important;width:28px!important;height:28px!important}
html body #modal#modal#modal .weekly-stats>div>i :is(svg,.live-icon){width:28px!important;height:28px!important;margin:0!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) textarea{height:56px;min-height:56px!important;margin-block:5px!important;padding:8px!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) label{font-size:12px!important;margin-block:7px!important}
html body #modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .clear-field-button{min-height:26px!important;padding:3px 7px!important;margin-block:1px!important;font-size:11px!important}
html body #modal#modal#modal .home-checkin-moods{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
html body #modal#modal#modal .home-checkin-moods>button{min-height:51px!important;height:auto!important;padding:4px!important;font-size:11px!important;gap:2px!important}
html body #modal#modal#modal .home-checkin-moods .face{font-size:23px!important;width:25px!important;height:25px!important}
html body #modal#modal#modal:has(.home-checkin-moods) .mood-context{margin:8px 0!important;padding:0!important}
html body #modal#modal#modal:has(.home-checkin-moods) .mood-context>div{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
html body #modal#modal#modal:has(.home-checkin-moods) .mood-context>div>label{margin:0!important;padding:4px 6px!important;font-size:10px!important}
html body #modal#modal#modal:has(.home-checkin-moods) #save-ritual{margin-top:8px!important;min-height:36px!important}
html body #modal#modal#modal .capsule-create-form .split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important}
html body #modal#modal#modal .capsule-create-form .split>:is(label,input){min-width:0!important}
html body #modal#modal#modal .capsule-create-form .split input{width:100%!important;min-width:0!important;height:40px!important;padding:6px!important;box-sizing:border-box!important}
html body #modal#modal#modal .capsule-create-form textarea{height:100px;min-height:100px!important}
html body #modal#modal#modal .capsule-create-form label{font-size:12px!important;margin-block:7px!important}
html body #modal#modal#modal .capsule-create-form .capsule-seal-mode{margin-block:8px!important;gap:8px!important}
html body #modal#modal#modal .capsule-create-form .capsule-mode-explanation{font-size:11px!important;margin-block:6px!important}
}
/* Library thumbnails and their labels occupy distinct aligned tracks. */
html body #modal#modal#modal .library-book{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;gap:5px 10px!important;min-height:112px!important;padding:12px 38px 12px 12px!important;text-align:left!important;box-sizing:border-box!important}
html body #modal#modal#modal .library-book>.library-spine{grid-column:1!important;grid-row:1/3!important;align-self:center!important;justify-self:center!important}
html body #modal#modal#modal .library-book>b{grid-column:2!important;grid-row:1!important;align-self:end!important;margin:0!important;font-size:16px!important;line-height:1.25!important}
html body #modal#modal#modal .library-book>small{grid-column:2!important;grid-row:2!important;align-self:start!important;margin:0!important;line-height:1.4!important}
html body #modal#modal#modal .library-book-card .library-book-actions{margin:0!important;position:absolute!important;right:7px!important;bottom:7px!important}
html body #modal#modal#modal .library-spine i{display:none!important}
/* Library uses a realistic spine, never a miniature front-cover preview. */
html body #modal#modal#modal .library-spine{width:36px!important;height:80px!important;min-height:80px!important;border-radius:7px 3px 3px 7px!important;transform:none!important;background:linear-gradient(90deg,#0006 0%,#fff2 12%,#fff5 24%,transparent 45%,#0003 88%,#0006 100%),repeating-linear-gradient(0deg,#ffffff0a 0 1px,#00000009 1px 2px),var(--book-color,#85062f)!important;box-shadow:inset 2px 0 3px #fff5,inset -3px 0 4px #0005,3px 3px 4px #0003!important;border:1px solid color-mix(in srgb,var(--book-color,#85062f) 65%,#54464a)!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #modal#modal#modal .library-spine::after{display:none!important}
html body #modal#modal#modal .library-spine i{display:block!important;writing-mode:vertical-rl!important;text-orientation:mixed!important;max-height:70px!important;max-width:24px!important;font-size:11px!important;line-height:1.2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--book-ink,#fff)!important;text-align:center!important}
html body #modal#modal#modal .library-book{grid-template-columns:46px minmax(0,1fr)!important;column-gap:12px!important;min-height:106px!important}
/* Reflection metrics must never inherit the generic square-card aspect ratio. */
html body #modal#modal#modal .weekly-stats>div{aspect-ratio:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;position:relative!important}
@media(max-width:760px){html body #modal#modal#modal .weekly-stats>div{min-height:134px!important}}
@media(max-width:760px){html body #modal#modal#modal .weekly-stats>div{grid-template-rows:30px 42px 28px!important;gap:3px!important;padding:12px 5px!important;align-content:center!important;min-height:134px!important}html body #modal#modal#modal .weekly-stats>div>:is(span,b,i){position:static!important;inset:auto!important;transform:none!important;translate:none!important;justify-self:center!important;align-self:center!important}html body #modal#modal#modal .weekly-stats>div>span{font-weight:600!important;line-height:15px!important}html body #modal#modal#modal .weekly-stats>div>b{display:block!important;text-align:center!important}}
/* Edit hotspots center their words independently from the plus circle. */
html[data-setup] body #app#app#app .direct-studio .direct-hotspots>button.edit-point{box-sizing:border-box!important;min-width:112px!important;padding:9px 26px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;place-items:center!important;gap:0!important;text-align:center!important}
html[data-setup] body #app#app#app .direct-studio .direct-hotspots>button.edit-point>span{display:block!important;width:100%!important;text-align:center!important;white-space:nowrap!important;margin:0!important;padding:0!important;font-size:13px!important;line-height:18px!important;transform:none!important;translate:none!important}
html[data-setup] body #app#app#app .direct-studio .direct-hotspots>button.edit-point>i{position:absolute!important;right:7px!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;translate:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;line-height:1!important;font-size:13px!important;font-style:normal!important;border-radius:50%!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app .direct-studio .direct-hotspots>button.edit-point.point-ribbon{min-width:122px!important}
/* The tablet/narrow-window navigation already supplies Home and Settings. */
@media(min-width:761px) and (max-width:1100px){
html:not([data-setup]) body>header#descaxora-header>:is(.header-settings-shortcut,.header-home-shortcut){display:none!important}
html:not([data-setup]) body>header#descaxora-header{grid-template-columns:minmax(210px,1fr) auto 36px 36px!important}
html:not([data-setup]) body>header#descaxora-header>.header-sound-toggle{grid-column:3!important}
html:not([data-setup]) body>header#descaxora-header>.cloud-account-button{grid-column:4!important}
}
/* Larger jar artwork and roomier cards on desktop/tablet; phone remains compact. */
@media(min-width:761px){
html body #modal#modal#modal .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,300px))!important;gap:14px!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card .real-jar{width:250px!important;height:250px!important;max-width:100%!important;aspect-ratio:1!important;margin-inline:auto!important;flex-shrink:0!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card .real-jar>.glass-jar-photo{width:100%!important;height:100%!important;object-fit:contain!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card{height:auto!important;max-height:none!important;padding:12px!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card>button[data-jar]{padding-top:34px!important;gap:8px!important}
}
/* A calm jar collection: one group outline, no nested action-heavy cards. */
html body #modal#modal#modal .compact-jar-library .jar-group-grid>.jar-display-card{border:0!important;border-image:none!important;outline:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important;gap:8px!important}
html body #modal#modal#modal .compact-jar-library .jar-group-grid>.jar-display-card>button[data-jar]{border:0!important;outline:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card :is(selection-outline,.jar-card-edit,.jar-expand-notes){display:none!important}
html body #modal#modal#modal .compact-jar-library .jar-display-card::before,html body #modal#modal#modal .compact-jar-library .jar-display-card::after{content:none!important;display:none!important}
html body #modal#modal#modal .compact-jar-library:not(.jar-notes-focused)>.jar-items{display:none!important}
html body #modal#modal#modal .compact-jar-library .jar-note-total{margin-top:3px!important}
html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin-bottom:14px!important}
html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading>h3{flex:1 1 100%!important;margin:0!important}
html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading>button{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:none!important;margin:0!important;white-space:nowrap!important;min-height:36px!important;padding:7px 10px!important}
html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading>button[aria-label="Edit jar"]{width:36px!important;padding:6px!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading>button[aria-label="Edit jar"]>svg{display:block;width:23px;height:23px}
@media(max-width:760px){html body #modal#modal#modal .compact-jar-library .jar-group-grid{gap:7px!important}html body #modal#modal#modal .compact-jar-library .jar-display-card>.jar-card-add-note{font-size:11px!important;padding:4px!important;left:2px!important}html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading{gap:7px!important}html body #modal#modal#modal .compact-jar-library .jar-notes-focus-heading>button{font-size:12px!important;padding:6px 8px!important}}
html body #modal#modal#modal .capsule-library-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:14px!important}
html body #modal#modal#modal .capsule-library-toolbar>button{margin:0!important;white-space:nowrap!important}
html body #modal#modal#modal .capsule-library-toolbar>select{width:auto!important;max-width:100%!important;min-width:150px!important;height:42px!important;margin:0!important}
html body #modal#modal#modal .capsule-list>.capsule-envelope[hidden],html body #modal#modal#modal .capsule-filter-empty[hidden]{display:none!important}
@media(max-width:760px){html body #modal#modal#modal .capsule-library-toolbar{gap:8px!important}html body #modal#modal#modal .capsule-library-toolbar>button{font-size:12px!important;padding:8px 10px!important}html body #modal#modal#modal .capsule-library-toolbar>select{min-width:124px!important;font-size:12px!important;padding:7px!important}}
/* Restore the original compact hotspot proportions from the archived layout. */
html[data-setup] body #app#app#app#app .direct-studio .direct-hotspots>button.edit-point{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:max-content!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;padding:5px 10px!important;font:600 12px/1.1 Atelier Sans,Arial,sans-serif!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app .direct-studio .direct-hotspots>button.edit-point>span{position:static!important;inset:auto!important;flex:0 0 auto!important;display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;font:inherit!important;line-height:20px!important;text-align:center!important;white-space:nowrap!important;transform:none!important;translate:none!important}
html[data-setup] body #app#app#app#app .direct-studio .direct-hotspots>button.edit-point>i{position:static!important;inset:auto!important;flex:0 0 20px!important;display:grid!important;place-items:center!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;line-height:1!important;font:700 13px/1 Arial,sans-serif!important;border-radius:50%!important}
/* Capsule creation and filtering share a single row with opposite alignment. */
html body #modal#modal#modal .capsule-library-toolbar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important}
html body #modal#modal#modal .capsule-library-toolbar>.create-capsule-action{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;white-space:nowrap!important}
html body #modal#modal#modal .capsule-library-toolbar>select{flex:0 1 170px!important;width:170px!important;min-width:0!important;margin:0 0 0 auto!important;align-self:center!important}
@media(max-width:760px){html body #modal#modal#modal .capsule-library-toolbar{gap:8px!important}html body #modal#modal#modal .capsule-library-toolbar>select{flex-basis:130px!important;width:130px!important}html body #modal#modal#modal .capsule-library-toolbar>.create-capsule-action{font-size:12px!important;padding:8px!important}}
/* Bookmark choices have one centered axis for artwork and names. */
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button{justify-items:center!important;align-items:center!important;align-content:center!important;text-align:center!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:center!important;margin-inline:auto!important;left:auto!important;right:auto!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>b{grid-column:1!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:center!important;justify-self:stretch!important;align-self:center!important;text-align:center!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish>label:has(#bookmark-custom-metal){grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;gap:16px!important;margin:8px 0!important;padding:0!important;box-sizing:border-box!important;text-align:left!important}
html[data-setup] body #app#app#app .direct-studio #bookmark-custom-metal{flex:0 0 auto!important;margin:0 0 0 auto!important;align-self:center!important;justify-self:end!important}
/* Preview paper ends at the final choices divider, excluding the navigation buttons. */
@media(min-width:761px){html[data-setup] body #app#app#app .design-final-review .review-previews>figure{grid-template-rows:auto minmax(0,1fr)!important;min-height:0!important}html[data-setup] body #app#app#app .design-final-review .review-previews .review-single-page{min-height:0!important;height:auto!important;align-self:stretch!important}html[data-setup] body #app#app#app .design-final-review .review-single-page .paper-detail-ruling{min-height:0!important;flex:1 1 auto!important}html[data-setup] body #app#app#app .design-final-review .review-choice-list{align-self:start!important}}
/* Saving & sync uses one divider and compact, consistent spacing. */
html body #modal#modal#modal .account-sync-status{display:grid!important;gap:5px!important;padding:10px 0!important;margin:0 0 8px!important;min-height:0!important;border-top:1px solid var(--accent-edge,#d8cbd0)!important;border-bottom:1px solid var(--accent-edge,#d8cbd0)!important}
html body #modal#modal#modal .account-sync-status>:is(b,p,small){margin:0!important;padding:0!important;line-height:1.4!important}
html body #modal#modal#modal:has(.account-sync-status) .toolbar{border-top:0!important;margin-top:8px!important;padding-top:0!important}
@media(max-width:760px){html body #modal#modal#modal .home-checkin-moods>button{aspect-ratio:auto!important;height:52px!important;min-height:52px!important;max-height:52px!important}html body #modal#modal#modal:has(.home-checkin-moods) .mood-context>legend{font-size:18px!important;line-height:1.2!important;margin-bottom:8px!important;padding:0!important}html body #modal#modal#modal:has(.home-checkin-moods) .mood-context>p{display:none!important}html body #modal#modal#modal:has(.home-checkin-moods) .modal-body>.subtle:not([id]){margin:6px 0!important;font-size:11px!important}}
/* Phone Plain and Woven ribbon continue beneath the label into the page. */
@media(max-width:760px){
html[data-view]:is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) body #app .workspace-shell article.notebook>nav.tabs>button[data-go]>span.bookmark-label::after{content:''!important;position:absolute!important;top:calc(100% - 1px)!important;left:0!important;right:0!important;width:100%!important;height:14px!important;background:var(--ribbon-custom,var(--ribbon))!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:-1!important;pointer-events:none!important}
/* Fixed geometry prevents touch-hover and selection from fighting over the lift. */
html[data-view] body #app#app .workspace-shell article.notebook>nav.tabs>button[data-go]{animation:none!important;transition:transform .18s ease!important;height:134px!important;min-height:134px!important;max-height:134px!important;transform:translateY(0)!important;translate:none!important}
html[data-view] body #app#app .workspace-shell article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page]){transform:translateY(-24px)!important;translate:none!important}
html[data-view] body #app#app .workspace-shell article.notebook>nav.tabs>button[data-go]:not(.active):not([aria-current=page]):hover{transform:translateY(0)!important}
}
/* Library close uses its crisp SVG circle, without an extra stretched selection halo. */
@media(max-width:760px){html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]{display:grid!important;place-items:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:3px!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;outline:0!important;transform:none!important;box-sizing:border-box!important}html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]>selection-outline{display:none!important}html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]::before,html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]::after{content:none!important;display:none!important}html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]>svg{width:26px!important;height:26px!important;display:block!important;margin:0!important}html body #modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]:focus-visible{box-shadow:inset 0 -2px currentColor!important}}
/* Tablet setup removes unused header rows and keeps its setup heading compact. */
@media(min-width:761px) and (max-width:1100px){html[data-setup] body>header#descaxora-header{height:auto!important;min-height:0!important;grid-template-rows:auto!important;row-gap:0!important;padding-block:12px!important}html[data-setup] body #app#app .direct-studio-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 14px!important;padding-bottom:10px!important}html[data-setup] body #app#app .direct-studio-heading>div:first-child{grid-column:1!important;grid-row:1!important}html[data-setup] body #app#app .direct-studio-heading>.direct-heading-actions{grid-column:2!important;grid-row:1!important;margin:0!important}html[data-setup] body #app#app .direct-studio-heading>.editor-book-name{grid-column:1/-1!important;grid-row:2!important;width:min(100%,360px)!important;max-width:100%!important;justify-self:center!important;margin:0!important}html[data-setup] body #app#app .direct-studio-heading h1{font-size:26px!important;margin-block:5px!important}html[data-setup] body #app#app .guided-setup-steps>button{min-height:76px!important;height:80px!important;padding:6px!important;gap:5px!important}}
/* Desktop/tablet task details keep native date and select controls on one baseline. */
@media(min-width:761px){html body #modal#modal#modal .split:has(#task-due){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;align-items:start!important}html body #modal#modal#modal .split:has(#task-due)>label{display:grid!important;grid-template-rows:20px 44px 14px!important;gap:6px!important;min-width:0!important;margin:0!important;align-items:start!important}html body #modal#modal#modal .split:has(#task-due) :is(#task-due,#task-priority){grid-row:2!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:8px!important;box-sizing:border-box!important}html body #modal#modal#modal .split:has(#task-due) .task-date-optional{grid-row:3!important;margin:0!important}}
/* Desktop/tablet bookmark preview uses the available column, independent of cover sizing. */
@media(min-width:761px){
html[data-setup] body #app#app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{width:100%!important;max-width:100%!important;height:560px!important;min-height:560px!important;max-height:560px!important;flex:none!important;margin-inline:auto!important}
html[data-setup] body #app#app .direct-studio[data-target=ribbon] .direct-book-surface{height:640px!important;min-height:640px!important}
html[data-setup] body #app#app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{position:absolute!important;top:160px!important;left:12px!important;right:auto!important;margin:0!important;z-index:3!important}
}
/* Equal crown-step cells preserve desktop/tablet alignment regardless of label length. */
@media(min-width:761px){
html[data-setup] body #app#app .direct-studio>.guided-setup-steps{display:grid!important;align-items:stretch!important;justify-items:stretch!important;gap:10px!important}
html[data-setup] body #app#app .direct-studio>.guided-setup-steps>button{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:none!important;height:100px!important;min-height:100px!important;max-height:100px!important;margin:0!important;padding:8px 5px!important;gap:4px!important;transform:none!important}
html[data-setup] body #app#app .direct-studio>.guided-setup-steps>button>.guide-step-caption{display:block!important;min-height:18px!important;margin:0!important;text-align:center!important;line-height:18px!important;font-size:13px!important}
}
/* Phone crown steps use equal compact cells, including selected and final steps. */
@media(max-width:760px){
html[data-setup] body #app#app .direct-studio>.guided-setup-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;justify-items:stretch!important;gap:6px!important;width:100%!important;box-sizing:border-box!important}
html[data-setup] body #app#app .direct-studio>.guided-setup-steps>button{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;grid-column:auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:56px!important;min-height:56px!important;max-height:56px!important;margin:0!important;padding:3px 2px!important;gap:2px!important;transform:none!important}
html[data-setup] body #app#app .direct-studio>.guided-setup-steps>button>.numbered-step-crown{flex:0 0 23px!important;width:25px!important;height:23px!important;margin:0!important}
html[data-setup] body #app#app .direct-studio>.guided-setup-steps>button>.guide-step-caption{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:22px!important;min-height:22px!important;margin:0!important;text-align:center!important;line-height:11px!important;font-size:10px!important}
}
/* Center bookmark art and its name in the full card, not an inherited content-width track. */
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:center!important;text-align:center!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{position:relative!important;inset:auto!important;translate:none!important;transform:none!important;justify-self:center!important;align-self:center!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>b{position:static!important;inset:auto!important;min-width:0!important;justify-self:stretch!important;width:100%!important;max-width:none!important;text-align:center!important;margin:0!important}
/* Desktop/tablet colors follow the gallery; larger centered artwork stays inside each card. */
@media(min-width:761px){
html[data-setup] body #app#app#app .bookmark-style-picker>.bookmark-preview-colors{width:100%!important;max-width:none!important;margin:14px 0 0!important;padding:0!important;box-sizing:border-box!important;text-align:center!important}
html[data-setup] body #app#app#app .bookmark-style-picker>.bookmark-preview-colors>h3{display:block!important;margin:0 0 8px!important;text-align:center!important}
html[data-setup] body #app#app#app .bookmark-style-picker>.bookmark-preview-colors>p{display:none!important}
html[data-setup] body #app#app#app .bookmark-style-picker>.bookmark-preview-colors>.two-choice-row{margin:0 auto!important;justify-content:center!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options{grid-auto-rows:124px!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button{height:124px!important;min-height:124px!important;grid-template-rows:82px 26px!important;padding:6px!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{height:82px!important;min-height:82px!important;max-height:82px!important;width:56px!important}
}
@media(min-width:761px) and (max-width:1099px){
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options{grid-auto-rows:108px!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button{height:108px!important;min-height:108px!important;grid-template-rows:68px 26px!important;padding:5px!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{height:68px!important;min-height:68px!important;max-height:68px!important;width:50px!important}
}
/* Journal-name label remains distinct from the editable book title. */
@media(min-width:761px){
html[data-setup] body #app#app .direct-studio .editor-book-name{font-size:17px!important;font-weight:600!important;line-height:1.35!important;gap:8px!important}
html[data-setup] body #app#app .direct-studio .editor-book-name>input{font-size:16px!important;font-weight:400!important}
}
/* Keep rotation buttons below the rendered setup book at every responsive size. */
html[data-setup] body #app#app#app .direct-studio .direct-book-surface>.book-display-controls{translate:0 16px!important;margin-bottom:24px!important}
html[data-setup] body #app#app#app .direct-studio .direct-book-surface{padding-bottom:32px!important;overflow:visible!important}
/* Keep the custom metal swatch opposite the finish selector on one aligned row. */
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:16px!important;width:100%!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish>label{display:grid!important;grid-template-rows:20px 50px!important;gap:6px!important;min-width:0!important;margin:0!important;padding:0!important;line-height:20px!important;align-items:center!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish>label:has(#bookmark-custom-metal){grid-column:2!important;justify-items:end!important;text-align:right!important;width:100%!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish :is(#bookmark-finish,#bookmark-custom-metal){grid-row:2!important;margin:0!important;align-self:center!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish #bookmark-finish{width:100%!important;min-width:0!important;height:50px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app .direct-studio .direct-book-surface>.book-display-controls{translate:0 44px!important;margin-bottom:52px!important}
html[data-setup] body #app#app#app .direct-studio .direct-book-surface{padding-bottom:60px!important}
html[data-setup] body #app#app#app .direct-studio .bookmark-classic-finish[hidden]{display:none!important}
html[data-setup] body #app#app#app#app .direct-studio .bookmark-classic-finish>label:has(#bookmark-custom-metal){display:grid!important;grid-template-rows:20px 50px!important;grid-column:2!important;justify-items:end!important;align-items:center!important;align-self:start!important;gap:6px!important;margin:0!important;padding:0!important;min-height:0!important;height:76px!important}
html[data-setup] body #app#app#app#app .direct-studio .bookmark-classic-finish #bookmark-custom-metal{justify-self:end!important;align-self:center!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio .direct-book-surface>.book-display-controls{translate:0 60px!important}
/* Give the metal controls breathing room below bookmark-color choices. */
html[data-setup] body #app#app#app#app .direct-studio .bookmark-classic-finish{margin-top:16px!important}
/* The jar-group outline hugs its contents without squeezing actions. */
html body #modal#modal#modal:has(.compact-jar-library) .modal-body>.current-book-jars{width:fit-content!important;max-width:100%!important;padding:8px!important;margin-inline:auto!important;box-sizing:border-box!important}
html body #modal#modal#modal .compact-jar-library .current-book-jars>h3{margin:0 0 6px!important}
@media(min-width:761px){html body #modal#modal#modal .compact-jar-library .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,270px))!important;gap:10px!important}}
/* PHONE ONLY: connected editor and compact phone surfaces. Desktop/tablet remain unchanged. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor{display:flex!important;flex-direction:column!important;gap:8px!important;padding:8px 10px 90px!important;--phone-book-height:290px}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.direct-home-corner{position:static!important;align-self:flex-start!important;min-height:30px!important;padding:5px 10px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-studio-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px 10px!important;margin:0!important;padding:0!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .editor-book-name{grid-column:1/-1!important;grid-row:1!important;display:grid!important;justify-self:center!important;width:min(100%,290px)!important;gap:3px!important;margin:0!important;padding:0!important;text-align:center!important;font-size:12px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor #welcome-book-name{height:34px!important;min-height:34px!important;padding:5px 10px!important;margin:0!important;width:100%!important;box-sizing:border-box!important;font-size:16px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-studio-heading>div:first-of-type{grid-column:1!important;grid-row:2!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-studio-heading h1{font-size:21px!important;line-height:1.15!important;margin:2px 0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-studio-heading .eyebrow{font-size:9px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions{grid-column:2!important;grid-row:2!important;align-self:center!important;margin:0!important;gap:4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>button{font-size:11px!important;min-height:32px!important;padding:5px 7px!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:2px!important;order:0!important;width:100%!important;margin:0!important;padding:4px 0 7px!important;border:0!important;border-bottom:1px solid var(--line,#d6c8b6)!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button{position:relative!important;display:grid!important;place-items:center!important;width:100%!important;height:36px!important;min-height:36px!important;max-height:36px!important;min-width:0!important;padding:0!important;gap:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;transform:none!important;flex-basis:auto!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button>.numbered-step-crown{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button::before{content:attr(data-phone-step)!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:50%!important;font:700 14px/1 Atelier Sans,Arial!important;color:var(--accent,#85052f)!important;background:transparent!important;position:static!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button[aria-current=step]::before,html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button.active::before{background:var(--accent,#85052f)!important;color:#fff!important;box-shadow:0 0 0 2px #d2af67!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button>.guide-step-caption{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button>selection-outline{border-radius:50%!important;inset:2px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-layout{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;margin:0!important;padding:0!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-display{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;order:0!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-book-surface{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 98px!important;grid-template-rows:290px 32px!important;gap:10px 4px!important;width:100%!important;max-width:none!important;height:340px!important;min-height:340px!important;margin:0!important;padding:0 0 8px!important;overflow:visible!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-book-surface>.setup-book{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;height:290px!important;min-height:290px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-hotspots{position:static!important;grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:98px!important;gap:7px!important;inset:auto!important;margin:0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-hotspots>button{position:static!important;inset:auto!important;display:flex!important;justify-content:center!important;gap:6px!important;width:96px!important;height:32px!important;min-height:32px!important;padding:4px 5px!important;transform:none!important;font-size:10px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-hotspots>button>i{width:17px!important;height:17px!important;flex:0 0 17px!important;font-size:11px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-book-surface>.book-display-controls{position:static!important;inset:auto!important;grid-column:1!important;grid-row:2!important;justify-self:center!important;align-self:center!important;display:flex!important;gap:8px!important;width:max-content!important;height:32px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .book-display-controls>button{width:30px!important;height:30px!important;min-height:30px!important;padding:4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-popover{position:static!important;inset:auto!important;order:1!important;display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-popover[hidden]{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-popover-heading{padding:6px 0!important;min-height:30px!important;border-bottom:1px solid var(--line)!important;background:transparent!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-popover-heading h2{font-size:20px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-popover-body{max-height:none!important;height:auto!important;overflow:visible!important;padding:8px 0 0!important;display:block!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-edit-hint{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions{position:fixed!important;inset:auto 10px calc(72px + env(safe-area-inset-bottom)) 10px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;z-index:220!important;padding:7px!important;margin:0!important;width:auto!important;max-width:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;background:var(--surface,#fffdf8)!important;transform:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions>button{min-height:36px!important;padding:7px 12px!important;font-size:13px!important;margin:0!important}
/* Large bookmark preview, with its toggle beside it and compact styles immediately below. */
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:270px 32px!important;height:312px!important;min-height:312px!important;gap:8px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{grid-row:1!important;height:270px!important;min-height:270px!important;max-height:270px!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .bookmark-inbook-toggle{position:absolute!important;top:64px!important;left:0!important;right:auto!important;margin:0!important;min-height:30px!important;padding:5px 8px!important;font-size:11px!important;white-space:nowrap!important;z-index:5!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .book-display-controls{grid-row:2!important;grid-column:1!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-style-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:78px!important;gap:6px!important;max-height:none!important;overflow:visible!important;padding:2px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-style-options>button{height:78px!important;min-height:78px!important;grid-template-rows:48px 18px!important;padding:4px 2px!important;gap:2px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-style-options>button>.sample-ribbon{width:34px!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-style-options>button>b{font-size:10px!important;line-height:10px!important;min-height:18px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-preview-colors{margin:4px 0 10px!important;padding:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-preview-colors>h3{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-preview-colors .two-choice-row{gap:8px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-preview-colors .two-choice-row>button{min-height:32px!important;padding:5px 7px!important;font-size:12px!important}
/* Pages sample follows the height of its controls, centered in the available area. */
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=pages] .direct-display{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .page-choice-preview-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;margin:8px 0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .page-choice-mini-preview{width:100%!important;max-width:none!important;height:100%!important;min-height:210px!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;align-self:stretch!important;overflow:hidden!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .page-choice-mini-preview :is(h3,.paper-detail-ruling>span){white-space:nowrap!important;font-size:clamp(9px,2.6vw,12px)!important;line-height:1.4!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .page-choice-mini-preview>.eyebrow{font-size:8px!important;letter-spacing:.5px!important}
html body #app#app#app#app#app .shelf-photo-frame{overflow:hidden!important;box-sizing:border-box!important}
html body #app#app#app#app#app .shelf-photo-frame>img{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;transform:none!important;position:static!important}
/* Equal native fields with a real gap; Safari date controls may not expand their grid tracks. */
html body #app#app#app#app#app #page[data-layout=habits] .fields:has(#habit-date){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:center!important;width:100%!important;margin:10px 0!important}
html body #app#app#app#app#app #page[data-layout=habits] :is(#habit-date,#scene){display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;padding:6px!important;line-height:24px!important;font-size:12px!important;border:1px solid var(--line)!important;border-radius:6px!important}
html body #modal#modal#modal#modal#modal .split:has(#task-due){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:start!important;width:100%!important}
html body #modal#modal#modal#modal#modal .split:has(#task-due)>label{display:grid!important;grid-template-rows:20px 38px 12px!important;gap:6px!important;width:100%!important;min-width:0!important;margin:0!important;line-height:20px!important;align-items:start!important}
html body #modal#modal#modal#modal#modal .split:has(#task-due) :is(#task-due,#task-priority){grid-row:2!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:38px!important;min-height:38px!important;max-height:38px!important;padding:6px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:6px!important;line-height:24px!important;font-size:13px!important}
html body #app#app#app#app#app .quick-task-form{display:none!important}
html body #app#app#app#app#app :is(.care-panel-tabs,.mood-panel-tabs,.care-view-tabs,.habit-view-tabs){justify-content:center!important;gap:12px!important}
html body #app#app#app#app#app :is([data-care-panel],[data-habit-view],[data-mood-panel]){text-align:center!important}
html body #app#app#app#app#app :is(.task-primary-views,.habit-view-tabs,.mood-panel-tabs,.care-panel-tabs) button:not([aria-pressed=true]){text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important}
html body #app#app#app#app#app #page[data-layout=tasks] .task-row .task-text{display:inline!important;text-decoration:none!important}
html body #app#app#app#app#app #page[data-layout=tasks] .task-row.done .task-text{display:inline!important;text-decoration:line-through!important;text-decoration-thickness:1.5px!important;text-decoration-color:currentColor!important}
html body #app#app#app#app#app #page[data-layout=tasks] .task-finishing .task-text::after{display:none!important;content:none!important;animation:none!important}
/* Jar outline hugs the actual art and note count. */
html body #modal#modal#modal#modal#modal .compact-jar-library .current-book-jars{width:fit-content!important;max-width:100%!important;padding:6px!important;margin:0 auto 8px!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .current-book-jars .jar-group-grid{grid-template-columns:repeat(var(--jar-columns,3),minmax(0,1fr))!important;gap:5px!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card{padding:4px!important;min-height:0!important;height:auto!important;gap:3px!important;padding-bottom:4px!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>button[data-jar]{padding:26px 2px 0!important;gap:3px!important;min-height:0!important;height:auto!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-note-total{margin:0!important;padding:0!important;line-height:16px!important}
html body #modal#modal#modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]{display:grid!important;place-items:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;line-height:1!important;border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important;border-radius:50%!important}
html body #modal#modal#modal#modal#modal:has(.library-grid) .modal-head>[data-action=close]>svg{display:block!important;width:28px!important;height:28px!important;margin:0!important;overflow:visible!important}
/* Journal tabs start at the right; plain ribbons use a shorter, balanced label/icon spacing. */
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs{justify-content:flex-end!important;margin-left:auto!important;gap:6px!important}
html[data-view][data-bookmark-style="Stitched leather"] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]{height:108px!important;min-height:108px!important;max-height:108px!important}
html[data-view][data-bookmark-style="Stitched leather"] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-label{bottom:14px!important;top:auto!important}
html[data-view][data-bookmark-style="Stitched leather"] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-icon{top:26px!important}
html body #modal#modal#modal#modal#modal .all-tools-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin:0 0 8px!important;padding:0!important}
html body #modal#modal#modal#modal#modal .all-tools-heading>p{margin:0!important;font-size:12px!important;line-height:1.4!important}
html body #modal#modal#modal#modal#modal .all-tools-heading>button{align-self:flex-start!important;margin:0!important;min-height:32px!important;padding:5px 9px!important}
html body #modal#modal#modal#modal#modal:has(.all-tools-heading) .modal-body>label{margin:6px 0!important}
html body #modal#modal#modal#modal#modal :is(#ritual-intention,#home-mood-note,#week-keep,#week-release)::placeholder{white-space:nowrap!important;font-size:12px!important}
.phone-history-controls{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-left:auto!important}
.phone-history-controls>button{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;background:transparent!important;border:0!important;color:var(--accent)!important}
.phone-history-controls svg{width:22px!important;height:22px!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;pointer-events:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions>button{pointer-events:auto!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .direct-popover{order:-1!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options{gap:7px!important;margin:6px 0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options>button{min-height:56px!important;padding:7px 10px!important;gap:4px 8px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options>button>b{font-size:18px!important;line-height:1.15!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options>button>small{font-size:10px!important;line-height:1.25!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:is([data-target=bookmarks],[data-target=tools],[data-target=shelf],[data-target=profile]) .direct-display{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .material-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .material-picker>button{height:82px!important;min-height:82px!important;padding:4px!important;gap:4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .material-picker>button small{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .material-picker>button b{font-size:10px!important;line-height:11px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .material-picker>button>span{height:45px!important;min-height:45px!important;max-height:45px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-ribbon-preview .book-render>canvas{transform:scale(1.35)!important;transform-origin:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .cover-detail-group{margin:6px 0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .cover-detail-group>summary{min-height:36px!important;padding:7px 9px!important;font-size:13px!important}
}
@media(max-width:760px){
html body #app#app#app#app#app .care-section-tabs{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;width:100%!important;margin:8px 0 16px!important}
html body #app#app#app#app#app .care-section-tabs>button:not([aria-pressed=true]){text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important}
html[data-view][data-bookmark-style="Stitched leather"] body #app#app#app#app#app article.notebook>nav.tabs{height:128px!important;min-height:128px!important}
html[data-view][data-bookmark-style="Stitched leather"] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.ribbon-symbol{position:absolute!important;top:24px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>button[data-direct-choices]{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--accent,#85052f)!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .editor-book-name{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .direct-studio-heading>div:first-of-type,html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .direct-heading-actions{grid-row:1!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>.phone-book-choices{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;min-height:32px!important;padding:5px 2px!important;color:var(--accent,#85052f)!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .direct-book-surface{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .direct-hotspots{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:not([data-phone-active-step="2"]) .direct-book-surface>.setup-book{grid-column:1!important;justify-self:center!important;margin-inline:auto!important;max-width:300px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions::before,html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions::after{content:none!important;display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-choice-list{margin-top:18px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-previews{width:100%!important;margin:0 auto!important;justify-items:center!important;align-items:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-previews>figure{width:100%!important;margin:0 auto!important;align-items:center!important;justify-items:center!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-book{margin-inline:auto!important;align-self:center!important;justify-self:center!important}
}
@media(max-width:760px){
html body #modal#modal#modal#modal#modal .modal-head{display:flex!important;align-items:center!important;gap:8px!important}
html body #modal#modal#modal#modal#modal .modal-head>h2{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;font-size:20px!important;line-height:1.2!important;margin:0!important}
html body #modal#modal#modal#modal#modal .modal-head>button{flex-shrink:0!important}
html body #modal#modal#modal#modal#modal .weekly-stats>div{transform:none!important;translate:none!important;align-self:stretch!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-book-surface:not(:has(.direct-ribbon-preview)){grid-template-rows:320px 32px!important;height:370px!important;min-height:370px!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-book-surface>.setup-book:not(.direct-ribbon-preview){height:320px!important;min-height:320px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-previews>figure:first-child{padding-bottom:20px!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .review-book{overflow:visible!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .phone-book-choices{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:var(--accent,#85052f)!important}
html[data-view]:is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]{overflow:visible!important;clip-path:none!important}
html[data-view]:is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-label{overflow:visible!important;isolation:isolate!important}
html[data-view]:is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-label::after{content:''!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% - 1px)!important;width:100%!important;height:32px!important;background:var(--ribbon-custom,var(--ribbon))!important;border:0!important;z-index:-1!important;pointer-events:none!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true]){grid-template-rows:320px 32px!important;height:362px!important;min-height:362px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.direct-ribbon-preview{height:320px!important;min-height:320px!important;max-height:320px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true]) .book-render>canvas{transform:none!important}
}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .phone-connected-editor>.guided-setup-steps>button[aria-current=step]{opacity:1!important;filter:none!important}}
@media(max-width:760px){html body #modal#modal#modal#modal#modal .modal-head>h2{font-size:24px!important;font-weight:600!important;line-height:1.2!important}}
@media(max-width:760px){
html[data-view]:is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"]) body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-label::after{display:block!important;visibility:visible!important;opacity:1!important}
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs>button:not(.object-bookmark)>.ribbon-symbol{display:grid!important;place-items:center!important;width:30px!important;height:30px!important}
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs>button:not(.object-bookmark)>.ribbon-symbol>svg{display:block!important;width:28px!important;height:28px!important;max-width:none!important;max-height:none!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-previews{display:block!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-previews>figure:nth-child(2),html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-choice-list{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-previews>figure>figcaption{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-previews>figure:first-child{display:grid!important;place-items:center!important;margin:0 auto!important;padding:0 0 12px!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-book{width:260px!important;max-width:100%!important;height:360px!important;min-height:360px!important;margin:0 auto!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .phone-reveal-title{font-size:25px!important;line-height:1.2!important;text-align:center!important;margin:10px 0 4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-design-links:empty{display:none!important}
}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-design-links{display:none!important;margin:0!important;padding:0!important}}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-phone-active-step="2"] .direct-layout:has(>.direct-popover[hidden]){min-height:min(450px,calc(100dvh - 270px))!important;justify-content:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-phone-active-step="2"] .direct-layout:has(>.direct-popover:not([hidden])){min-height:0!important;justify-content:flex-start!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .guided-setup-actions{bottom:calc(var(--phone-action-offset,12px) + env(safe-area-inset-bottom))!important;align-items:center!important;min-height:0!important;height:auto!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .phone-reveal-title{width:100%!important;text-align:center!important;align-self:center!important;justify-self:center!important}
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]>.bookmark-label{font-weight:700!important}
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]:not([data-go=care]):not([data-go=habits]):not([data-go=mood])>.bookmark-label{font-size:14px!important;line-height:1.15!important}
html[data-view] body #app#app#app#app#app article.notebook>nav.tabs>button[data-go]:is(.active,[aria-current=page])>.bookmark-label{font-weight:800!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-quick-reveal>.guided-setup-actions{position:static!important;inset:auto!important;bottom:auto!important;justify-content:center!important;width:100%!important;max-width:100%!important;margin:8px auto 0!important;gap:12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .review-previews>figure:first-child{padding-bottom:0!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .direct-layout{gap:4px!important}
}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .phone-quick-reveal>.guided-setup-actions{order:99!important}}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-phone-active-step="2"] .direct-layout:has(>.direct-popover[hidden]){min-height:0!important;justify-content:flex-start!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-phone-active-step="2"] .direct-layout:has(>.direct-popover[hidden]) .direct-book-surface{grid-template-rows:360px 32px!important;height:404px!important;min-height:404px!important;gap:8px 4px!important;padding-bottom:4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-phone-active-step="2"] .direct-layout:has(>.direct-popover[hidden]) .direct-book-surface>.setup-book{height:360px!important;min-height:360px!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .direct-layout{padding-top:18px!important}
html[data-setup] body #app#app#app#app#app .phone-quick-reveal .phone-reveal-title{margin:8px 0 6px!important}
}
/* Phone Book choices is a compact button beside the setup heading. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>.phone-book-choices{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;height:34px!important;padding:6px 10px!important;border:1px solid var(--line,#d3b67e)!important;border-radius:8px!important;background:var(--surface,#fffdf8)!important;background-image:none!important;box-shadow:none!important;color:var(--accent,#85052f)!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;box-sizing:border-box!important}
}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>.phone-book-choices{background:#85052f!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#85052f!important;font-weight:600!important}html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-heading-actions>.phone-book-choices:hover{background:#6d0426!important;border-color:#6d0426!important}}
/* Phone Sections uses clear groups and a quiet, single-line selection summary. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .category-approach>h3{margin:2px 0 12px!important;font-size:20px!important;line-height:1.25!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .section-focus-routes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important;overflow:visible!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .section-focus-routes>button{width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:7px 8px!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .section-focus-routes>button>b{font-size:12px!important;line-height:1.2!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .section-focus-routes>button>small{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .phone-section-count-row{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .phone-section-count-row>.section-selection-help{margin:0!important;padding:0!important;font-size:12px!important;line-height:1.4!important;flex:0 1 auto!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .section-selection-help>span{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .phone-section-count-row>.setup-selection-count{margin:0!important;padding:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important;font-weight:400!important;text-align:right!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .setup-category-grid{display:grid!important;gap:10px!important;margin:0!important;padding:0 2px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-category-choice{margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .bookmark-category-choice>button{margin:0!important;min-height:70px!important;padding:10px 12px!important;gap:10px!important;box-sizing:border-box!important}
}
/* Phone writing-experience introduction has clear separation from the choices. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=tools] .direct-popover-body>h3{margin:10px 0 10px!important;line-height:1.3!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .experience-choice-instruction{margin:0 0 16px!important;line-height:1.5!important;font-size:13px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .experience-preset-grid{margin:0!important;gap:10px!important}
}

/* Phone route selection precedes the live preview. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .direct-display,html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .guided-setup-actions{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options>button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;grid-column:auto!important;min-height:154px!important;padding:12px 9px!important;gap:8px!important;text-align:center!important;border-radius:14px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-start-options>[data-studio-choose-for-me]{grid-column:1/-1!important;width:calc((100% - 12px)/2)!important;justify-self:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-route-copy>b{font-size:19px!important;line-height:1.15!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor.phone-start-choices .journey-route-copy>span{font-size:11px!important;line-height:1.3!important}
}

/* Keep the view switch outside the rotating book's drawing area. */
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:34px 560px 32px!important;gap:12px!important;height:650px!important;min-height:650px!important;align-items:center!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.bookmark-inbook-toggle{position:static!important;inset:auto!important;grid-row:1!important;grid-column:1!important;justify-self:start!important;align-self:center!important;margin:0 0 0 12px!important;transform:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.direct-ribbon-preview{grid-row:2!important;grid-column:1!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.book-display-controls{grid-row:3!important;grid-column:1!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true]){grid-template-rows:34px 320px 32px!important;height:410px!important;min-height:410px!important;gap:10px!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.bookmark-inbook-toggle{margin-left:0!important}
}

/* Compact desktop/tablet book choices without changing the live book. */
@media(min-width:761px){
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .direct-popover-body{padding:14px 16px!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.control-heading,.cover-color-first){margin-block:8px!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover h3{margin:8px 0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.material-grid,.visual-charm-options,.cover-pattern-options,.preset-cover-gallery){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .material-picker{display:block!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.material-grid,.visual-charm-options,.cover-pattern-options,.preset-cover-gallery)>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:104px!important;height:auto!important;padding:8px 5px!important;text-align:center!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.material-grid,.visual-charm-options,.cover-pattern-options,.preset-cover-gallery)>button>b{font-size:12px!important;line-height:1.25!important;text-align:center!important;overflow-wrap:normal!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.material-grid,.preset-cover-gallery)>button>small{display:none!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .material-sample{width:52px!important;height:44px!important;min-height:44px!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .visual-charm-options :is(.real-charm-sample,.charm-sample,.sword-charm-sample){height:54px!important;max-height:54px!important;width:54px!important;object-fit:contain!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .cover-pattern-options :is(svg,img){width:48px!important;height:48px!important;object-fit:contain!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .preset-cover-thumb{height:84px!important;width:100%!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .preset-cover-thumb img{height:84px!important;max-width:100%!important;object-fit:contain!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover :is(.simple-color-choice,.metal-finish-control){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-block:12px!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .metal-finish-control>label{min-width:0!important;margin:0!important}
html[data-setup] body #app#app#app .direct-studio:is([data-target=design],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-popover .cover-detail-group{margin-block:8px!important;padding-block:6px!important}
}

@media(min-width:761px){html[data-setup] body #app#app#app .book-detail-sequence{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px 14px;margin-top:4px}html[data-setup] body #app#app#app .book-detail-sequence>button:only-child{margin-left:auto}html[data-setup] body #app#app#app .book-detail-sequence>button{min-height:36px;padding:7px 12px;white-space:nowrap}}

@media(min-width:761px){html[data-setup] body #app#app#app .direct-studio:is([data-target=color],[data-target=charm],[data-target=emblem]):has(.book-detail-sequence) .guided-setup-actions{display:none!important}}

/* Phone book details follow a compact sequence inside Choose book. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor .book-detail-sequence{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 0 4px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .book-detail-sequence>button{min-height:36px!important;padding:7px 10px!important;font-size:12px!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .book-detail-sequence>button:only-child{margin-left:auto!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor:has(.book-detail-sequence) .guided-setup-actions{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-picker{display:block!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-grid>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:80px!important;padding:6px!important;gap:4px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-grid>button>b{font-size:11px!important;line-height:1.2!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-grid>button>small{display:none!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=color] .material-sample{width:42px!important;height:35px!important;min-height:35px!important;margin:0!important}
}

/* Match phone finishing choices to compact cover texture cards. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .phone-connected-editor :is(.visual-charm-options,.cover-pattern-options,.direct-metal-finishes){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:8px 0!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor :is(.visual-charm-options,.cover-pattern-options,.direct-metal-finishes)>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:80px!important;height:80px!important;max-height:80px!important;padding:6px!important;gap:4px!important;margin:0!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor :is(.visual-charm-options,.cover-pattern-options,.direct-metal-finishes)>button :is(b,span:not(.real-charm-sample)){font-size:11px!important;line-height:1.2!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .visual-charm-options :is(.real-charm-sample,.sword-charm-sample,.charm-object),html[data-setup] body #app#app#app#app#app .phone-connected-editor .cover-pattern-options :is(svg,img){display:block!important;flex:none!important;width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;max-width:100%!important;object-fit:contain!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor .direct-metal-finishes>button>i{width:32px!important;height:32px!important;min-height:32px!important;flex:none!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor :is(.charm-picker,.bespoke-controls){min-width:0!important;width:100%!important;padding:0!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor :is(.charm-picker .control-heading,.direct-popover-body>.control-heading){margin:4px 0 8px!important;padding:0!important}
}

/* An opaque phone setup dock covers the device's lower safe area while scrolling. */
@media(max-width:760px){
html[data-setup] body>nav.mobile-bottom-navigation{bottom:0!important;margin-bottom:0!important;border-radius:0!important;background:#fffdf8!important;opacity:1!important;backdrop-filter:none!important;isolation:isolate!important;overflow:visible!important;transform:none!important}
html[data-setup] body>nav.mobile-bottom-navigation::before{content:''!important;display:block!important;position:absolute!important;inset:0 0 calc(-1 * max(env(safe-area-inset-bottom,0px),24px)) 0!important;background:#fffdf8!important;border:0!important;border-radius:0!important;z-index:-1!important;pointer-events:none!important}
html[data-lighting=night][data-setup] body>nav.mobile-bottom-navigation,html[data-lighting=night][data-setup] body>nav.mobile-bottom-navigation::before{background:#181b22!important}
}

/* Sprite artwork needs a square cell: a wide span squashes its atlas image. */
html[data-setup] body #app#app#app#app#app .direct-studio .cover-pattern-options .emblem-art-preview{display:block!important;flex:none!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;max-height:48px!important;aspect-ratio:1!important;margin:0 auto!important;background-size:400% 200%!important}
@media(max-width:900px){
html[data-setup] body #app#app#app#app#app .direct-studio :is(.visual-charm-options,.cover-pattern-options,.material-grid){grid-template-columns:repeat(3,minmax(0,112px))!important;justify-content:center!important;gap:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options .real-charm-sample{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1!important;flex:none!important;background-size:300% 200%!important;margin:0 auto!important}
html[data-setup] body #app#app#app#app#app .direct-studio .cover-pattern-options .emblem-art-preview{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important}
}

/* Compact the phone Next up task without changing larger layouts. */
@media(max-width:760px){
html body #app#app #page[data-layout=tasks] .next-task{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:6px!important;min-height:0!important;height:auto!important;padding:10px 12px!important;margin-block:10px!important}
html body #app#app #page[data-layout=tasks] .next-task>span{margin:0!important;padding:0!important;font-size:10px!important;line-height:1.3!important}
html body #app#app #page[data-layout=tasks] .next-task>b{margin:0!important;padding:0!important;font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
html body #app#app #page[data-layout=tasks] .next-task>small{margin:0!important;padding:0!important;font-size:11px!important;line-height:1.3!important}
html body #app#app #page[data-layout=tasks] .next-task>.task-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important}
}

/* Phone native date controls and selects share one explicit border-box size. */
@media(max-width:760px){
html body #app#app#app#app#app #page[data-layout=habits] .fields:has(#habit-date),html body #modal#modal#modal#modal#modal .split:has(#task-due){display:grid!important;grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;column-gap:20px!important;row-gap:8px!important;align-items:start!important;min-width:0!important;width:100%!important}
html body #app#app#app#app#app #page[data-layout=habits] :is(#habit-date,#scene),html body #modal#modal#modal#modal#modal .split:has(#task-due) :is(#task-due,#task-priority){appearance:none!important;-webkit-appearance:none!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:10px 8px!important;border:1px solid var(--theme-rule,var(--accent-edge,#b69d91))!important;border-radius:6px!important;background-color:var(--inside-paper,#fffdf8)!important;color:var(--inside-ink,var(--ink,#432b36))!important;font-size:12px!important;line-height:24px!important;overflow:hidden!important}
html body #modal#modal#modal#modal#modal .split:has(#task-due)>label{display:grid!important;grid-template-rows:20px 46px 12px!important;gap:6px!important;min-width:0!important;width:100%!important;margin:0!important}
html body #app#app#app#app#app #habit-date::-webkit-date-and-time-value,html body #modal#modal#modal#modal#modal #task-due::-webkit-date-and-time-value{min-width:0!important;text-align:left!important;margin:0!important;padding:0!important}
html[data-lighting=night] body #app#app#app#app#app #page[data-layout=habits] :is(#habit-date,#scene),html[data-lighting=night] body #modal#modal#modal#modal#modal .split:has(#task-due) :is(#task-due,#task-priority){background-color:#20242c!important;color:#f5eee3!important;border-color:#8d929e!important;color-scheme:dark!important}
}

@media(max-width:760px){html body #app#app#app#app#app #page[data-layout=habits] select#scene,html body #modal#modal#modal#modal#modal select#task-priority{appearance:auto!important;-webkit-appearance:auto!important;padding-right:20px!important}}

/* Unselected content tabs advertise interaction consistently at every width. */
html body #app#app#app#app#app :is(.care-section-tabs,.task-view-nav,.journal-mobile-views,.task-primary-views,.habit-view-tabs,.mood-panel-tabs,.care-panel-tabs)>button[aria-pressed=false]{text-decoration-line:underline!important;text-decoration-thickness:1px!important;text-underline-offset:5px!important;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)!important;text-decoration-skip-ink:auto!important}
html body #app#app#app#app#app :is(.care-section-tabs,.task-view-nav,.journal-mobile-views,.task-primary-views,.habit-view-tabs,.mood-panel-tabs,.care-panel-tabs)>button[aria-pressed=false]:is(:hover,:focus-visible){text-decoration-color:currentColor!important}

html body #app#app#app .mood-overview-heading{display:flex!important;align-items:center!important;gap:.35em!important}html body #app#app#app .mood-overview-heading>.mood-overview-heading-icon{display:block!important;width:1em!important;height:1em!important;min-width:1em!important;max-width:1em!important;max-height:1em!important;flex:0 0 1em!important;margin:0!important;vertical-align:middle!important}

/* Crowned DX is impressed into the wax after the envelope flap closes. */
html body .letter-motion .motion-seal>.capsule-dx-stamp{display:block!important;width:28px!important;height:28px!important;margin:auto!important;filter:drop-shadow(0 -1px 0 #490c24) drop-shadow(0 1px 0 #f1b18b)!important}
html body .letter-fold .motion-seal{animation:dx-wax-set .2s 3.1s both!important;overflow:visible!important}
html body .letter-fold .motion-seal>.capsule-dx-stamp{animation:dx-wax-imprint .2s 3.4s both!important}
html body .letter-fold .motion-seal::after{content:''!important;position:absolute!important;left:50%!important;top:-16px!important;width:28px!important;height:42px!important;border-radius:12px 12px 5px 5px!important;background:linear-gradient(90deg,#563722,#bc8551 36%,#75472c 75%,#382619)!important;border-bottom:7px solid #dbb66d!important;box-shadow:inset 2px 0 3px #ffddaf55,1px 3px 4px #35101e66!important;transform-origin:center bottom!important;pointer-events:none!important;animation:dx-stamp-press .65s 3.1s both!important;z-index:3!important}
@keyframes dx-wax-set{from{opacity:0;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}
@keyframes dx-wax-imprint{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes dx-stamp-press{0%{opacity:0;transform:translate(-50%,-55px) rotate(-8deg)}25%{opacity:1}48%,62%{opacity:1;transform:translate(-50%,0) rotate(0)}100%{opacity:0;transform:translate(-50%,-60px) rotate(5deg)}}

/* Phone capsule title and opening date are equally sized, inset from the dialog. */
@media(max-width:760px){
html body #modal#modal#modal#modal#modal:has(#capsule-date) .split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;padding:0 6px!important;box-sizing:border-box!important;width:100%!important;margin:10px 0!important}
html body #modal#modal#modal#modal#modal:has(#capsule-date) .split>label{display:grid!important;grid-template-rows:20px 46px!important;gap:6px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal :is(#capsule-title,#capsule-date,#edit-cap-title,#edit-cap-date){display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:10px 7px!important;margin:0!important;font-size:12px!important;line-height:24px!important;border:1px solid var(--theme-rule,var(--accent-edge,#b69d91))!important;border-radius:6px!important}
html body #modal#modal#modal#modal#modal:has(#edit-cap-date) .modal-body>label:has(:is(#edit-cap-title,#edit-cap-date)){box-sizing:border-box!important;margin-inline:6px!important;width:calc(100% - 12px)!important}
html body #modal#modal#modal#modal#modal :is(#capsule-date,#edit-cap-date){appearance:none!important;-webkit-appearance:none!important}
}

/* Phone capsule rows keep a stable compact size and one title baseline. */
@media(max-width:760px){
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;align-items:start!important;gap:8px 10px!important;padding:12px!important;margin:10px 0!important;min-height:0!important;height:auto!important;background-image:none!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope::before,html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope::after{display:none!important;content:none!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>span{grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;font-size:24px!important;line-height:28px!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>div{grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope h3{font-size:21px!important;line-height:28px!important;margin:0 0 4px!important;padding:0!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope small{display:block!important;font-size:11px!important;line-height:1.4!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{grid-column:3!important;grid-row:1!important;align-self:start!important;margin:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button{grid-row:2!important;min-height:32px!important;padding:5px 9px!important;margin:0!important;font-size:12px!important;white-space:nowrap!important;justify-self:start!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button[data-open-capsule]{grid-column:2!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button[data-edit-capsule]{grid-column:3!important}
}

/* Compact every phone capsule immediately, independent of list length. */
@media(max-width:760px){
html body #modal#modal#modal#modal#modal .capsule-list{display:grid!important;gap:7px!important;margin:10px 0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope{grid-template-columns:22px minmax(0,1fr) auto!important;gap:4px 8px!important;padding:8px 9px!important;margin:0!important;min-height:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>span{width:22px!important;height:22px!important;font-size:20px!important;line-height:22px!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope h3{font-size:17px!important;line-height:22px!important;margin:0 0 2px!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope small{font-size:10px!important;line-height:1.3!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button[data-open-capsule]{grid-column:3!important;grid-row:1!important;align-self:center!important;min-height:30px!important;padding:4px 8px!important;font-size:11px!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{grid-column:3!important;grid-row:2!important;justify-self:end!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope .capsule-item-options>summary{min-height:24px!important;padding:2px 6px!important;line-height:20px!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button[data-edit-capsule]{grid-column:2!important;grid-row:2!important;min-height:24px!important;padding:2px 7px!important;font-size:11px!important}
}

/* Compact capsule lists on desktop and tablet, matching the phone cleanup. */
@media(min-width:761px){
html body #modal#modal#modal#modal#modal .capsule-list{display:grid!important;gap:8px!important;margin:12px 0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope{display:grid!important;grid-template-columns:26px minmax(0,1fr) auto auto auto!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;margin:0!important;min-height:0!important;height:auto!important;background-image:none!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope::before,html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope::after{display:none!important;content:none!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>span{display:grid!important;place-items:center!important;align-self:start!important;width:26px!important;height:26px!important;font-size:23px!important;line-height:26px!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>div{min-width:0!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope h3{font-size:20px!important;line-height:26px!important;margin:0 0 2px!important;padding:0!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope small{display:block!important;font-size:11px!important;line-height:1.35!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>button{min-height:32px!important;padding:5px 9px!important;margin:0!important;font-size:12px!important;white-space:nowrap!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{grid-column:5!important;margin:0!important;align-self:center!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope .capsule-item-options>summary{min-height:28px!important;padding:3px 6px!important;line-height:22px!important}
}

/* Desktop/tablet clearance preserves bookmark length and selected lift. */
@media(min-width:761px){
html:not([data-setup]) body #app#app#app .workspace-shell>.page-top{padding-bottom:20px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;margin:10px 0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex:1 1 0!important;min-width:0!important;width:auto!important;min-height:76px!important;height:76px!important;padding:6px 3px!important;gap:5px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button>span{font-size:11px!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button>i{width:30px!important;height:30px!important;min-height:30px!important;flex:none!important;margin:0!important}
}

/* Two preset rows, followed by aligned metal and custom controls. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:12px 20px!important;width:100%!important;margin-top:14px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>label:has(select){display:grid!important;grid-template-rows:20px 42px!important;gap:6px!important;min-width:0!important;margin:0!important;width:100%!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row select{width:100%!important;min-width:0!important;height:42px!important;box-sizing:border-box!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.custom-metal-swatch{display:flex!important;flex-direction:column-reverse!important;align-items:flex-end!important;justify-content:start!important;gap:6px!important;justify-self:stretch!important;width:100%!important;height:auto!important;min-height:68px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row .custom-metal-caption{display:block!important;font-size:13px!important;line-height:20px!important;height:20px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch{grid-column:1/-1!important;margin:0!important}
}

html body :is(#app,#modal) .visual-charm-options [data-matched-gold=true],html body :is(#app,#modal) .cover-pattern-options [data-matched-gold=true]{filter:drop-shadow(1px 3px 2px #50381840)!important}

/* Tablet native select text needs room for descenders inside its fixed row. */
@media(min-width:761px) and (max-width:1100px){
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row select#cover-metal{box-sizing:border-box!important;height:42px!important;min-height:42px!important;max-height:42px!important;font-size:14px!important;line-height:normal!important;padding:7px 28px 7px 10px!important;text-indent:0!important;vertical-align:middle!important}
}

html[data-setup] body #app#app#app#app#app .direct-studio .direct-heading-actions>.existing-book-finish{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:6px 12px!important;white-space:nowrap!important;flex:none!important}

/* Desktop/tablet: twelve bookmark styles in three compact columns. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:88px!important;gap:7px!important;padding:3px!important;margin:6px 0!important;max-height:none!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:54px 20px!important;justify-items:center!important;align-items:center!important;min-width:0!important;width:100%!important;height:88px!important;min-height:88px!important;max-height:88px!important;padding:5px!important;gap:2px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{width:42px!important;min-width:0!important;height:54px!important;min-height:54px!important;max-height:54px!important;position:relative!important;inset:auto!important;margin:0!important;transform:none!important;justify-self:center!important;align-self:center!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button>b{font-size:11px!important;line-height:14px!important;text-align:center!important;margin:0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-picker>.bookmark-preview-colors{margin-top:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover-body{padding:10px 12px!important}
}

/* Tactile cover samples, shared across every device size. */
html body #app .material-sample.sample-leather{background:radial-gradient(ellipse at 30% 30%,#fff5 0 12%,#0004 20%,transparent 26%) 0 0/9px 7px,radial-gradient(ellipse,#0003 15%,transparent 40%) 4px 3px/11px 9px,var(--sample-cover)!important;border:2px solid color-mix(in srgb,var(--sample-cover) 65%,#38271d)!important;box-shadow:inset 2px 2px 4px #fff5,inset -2px -3px 5px #0005,0 4px 0 color-mix(in srgb,var(--sample-cover) 65%,#24150d),0 5px 6px #0003!important}
html body #app .material-sample.sample-velvet{background:radial-gradient(ellipse at 50% 0%,transparent 57%,#24180e99 60% 66%,#ffffff55 69%,transparent 73%) 0 0/15px 20px,radial-gradient(ellipse at 50% 0%,transparent 57%,#24180e99 60% 66%,#ffffff55 69%,transparent 73%) 7.5px 10px/15px 20px,linear-gradient(120deg,#fff4,#0002),var(--sample-cover)!important;box-shadow:inset 1px 1px 3px #fff7,inset -2px -2px 4px #0005,0 3px 0 #38271d55!important}

/* Bookmark topics form compact columns within each desktop/tablet family. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .setup-category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;max-height:none!important;overflow:visible!important;padding:3px!important;margin:8px 0!important;align-items:stretch!important}
html[data-setup] body #app#app#app#app#app .direct-studio .setup-category-grid>.bookmark-category-choice{width:100%!important;min-width:0!important;margin:0!important;display:flex!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;min-height:82px!important;height:100%!important;box-sizing:border-box!important;padding:8px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button>div{min-width:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice b{display:block!important;font-size:13px!important;line-height:1.25!important;overflow-wrap:normal!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice small{display:block!important;font-size:10px!important;line-height:1.3!important;margin-top:4px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button>i{width:24px!important;min-width:24px!important;height:28px!important;font-size:24px!important;line-height:28px!important;text-align:center!important}
}
@media(min-width:1100px){html[data-setup] body #app#app#app#app#app .direct-studio .setup-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Keep the desktop/tablet topic list, with minimal vertical padding. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .setup-category-grid{grid-template-columns:minmax(0,1fr)!important;gap:5px!important;padding:0!important;margin:5px 0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button{grid-template-columns:24px minmax(0,1fr) 24px!important;min-height:48px!important;height:auto!important;padding:5px 8px!important;gap:7px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice small{margin-top:2px!important}
}

/* Less padding in the bookmark-topic list on every view. */
html[data-setup] body #app#app#app#app#app .direct-studio .setup-category-grid{gap:5px!important;padding:0!important;margin:5px 0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice{margin:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button{min-height:48px!important;height:auto!important;padding:5px 8px!important;gap:7px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice small{margin-top:2px!important}

/* Fine glitter particles retain the selected cover color. */
html body #app .material-sample.sample-linen{background:radial-gradient(circle,#fff 0 .6px,transparent 1px) 1px 2px/9px 11px,radial-gradient(circle,#fff9 0 .8px,transparent 1.3px) 4px 5px/13px 9px,radial-gradient(circle,#0005 0 .6px,transparent 1px) 2px 4px/7px 8px,radial-gradient(circle,#fff7 0 .5px,transparent 1px) 5px 2px/6px 7px,linear-gradient(120deg,#fff5,transparent 40%,#0002),var(--sample-cover)!important;box-shadow:inset 1px 1px 2px #fffa,inset -1px -2px 3px #0003,0 2px 4px #0002!important}

/* A compact formatting row shares the writing header with the microphone. */
html body #app#app#app .writing-input-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html body #app#app#app .writing-format-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;min-width:0!important;max-width:100%!important}
html body #app#app#app .writing-format-row #dictation-mount{width:auto!important;min-width:0!important;margin:0!important}
html body #app#app#app .writing-format-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px!important;max-width:100%!important;padding:3px!important;border:1px solid var(--theme-rule,var(--accent-edge,#d2bdb6))!important;border-radius:8px!important;background:transparent!important;color:var(--inside-accent,#85052f)!important}
html body #app#app#app .writing-format-toolbar>button{display:grid!important;place-items:center!important;min-width:32px!important;width:32px!important;height:32px!important;min-height:32px!important;padding:4px!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;font:16px/1 Georgia,serif!important}
html body #app#app#app .writing-format-toolbar>button[aria-pressed=true]{background:var(--inside-accent,#85052f)!important;color:#fff!important;border-radius:5px!important}
html body #app#app#app .writing-format-toolbar svg{width:19px!important;height:19px!important}
html body #app#app#app .writing-format-toolbar>label{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;min-width:0!important;gap:0!important}
html body #app#app#app .writing-font-control select{font-size:12px!important;line-height:normal!important;width:100px!important;min-width:0!important;min-height:32px!important;height:32px!important;padding:3px 5px!important;margin:0!important;border:0!important;background:transparent!important;color:inherit!important}
html body #app#app#app .writing-color-control{position:relative!important;width:32px!important;height:32px!important;justify-content:center!important;cursor:pointer!important;border-bottom:3px solid var(--writing-color,#85052f)!important;box-sizing:border-box!important;font:bold 17px Georgia!important}
html body #app#app#app .writing-color-control input{position:absolute!important;inset:0!important;opacity:0!important;width:32px!important;height:32px!important;min-height:0!important;margin:0!important;padding:0!important;cursor:pointer!important}
html body #app#app#app textarea#body[hidden]{display:none!important}
html body #app#app#app .rich-writing{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:300px!important;height:auto!important;max-height:none!important;padding:16px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.8!important;outline-offset:3px!important}
html body #app#app#app .rich-writing:empty::before{content:attr(data-placeholder);color:var(--muted,#887b84);pointer-events:none}
html body #app#app#app .rich-writing :is(ul,ol){padding-left:1.6em;margin:.4em 0}
html body #app#app#app .rich-writing li{display:list-item!important;list-style:disc outside!important}
html[data-lighting=night] body #app#app#app .writing-format-toolbar{color:#f4e9dc!important;border-color:#74747e!important}
html[data-lighting=night] body #app#app#app .rich-writing{color:#f4eee6;background-color:transparent!important}
@media(max-width:760px){html body #app#app#app .writing-format-row{width:100%!important;justify-content:flex-start!important}html body #app#app#app .writing-format-toolbar{gap:2px!important}html body #app#app#app .rich-writing{min-height:250px!important;padding:12px!important}}

html body #app#app#app .writing-font-control>.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html body #app#app#app .writing-format-row{flex-wrap:nowrap!important;align-items:center!important}
html body #app#app#app .writing-format-toolbar{flex-wrap:nowrap!important;align-items:center!important;min-height:38px!important;box-sizing:border-box!important}
html body #app#app#app .writing-font-control select{align-self:center!important}
html body #app#app#app .shelf-decor>.shelf-edit-accessory{position:absolute!important;right:-4px!important;bottom:12px!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:5px!important;display:grid!important;place-items:center!important;border:1px solid var(--theme-rule,#b99d67)!important;border-radius:50%!important;background:var(--inside-paper,#fffdf8)!important;color:var(--inside-accent,#85052f)!important;z-index:5!important}
html body #app#app#app .shelf-edit-accessory svg{width:17px!important;height:17px!important}
html body #app#app#app .shelf-edit-empty{align-self:flex-end!important;margin:0 8px 16px!important;min-height:30px!important;padding:4px 7px!important;white-space:nowrap!important}
@media(max-width:380px){html body #app#app#app .writing-format-toolbar>button{width:28px!important;min-width:28px!important}html body #app#app#app .writing-font-control select{width:85px!important}.writing-format-row{gap:4px!important}}

html body #app#app#app .writing-format-toolbar>.writing-color-control{height:32px!important;min-height:32px!important;max-height:32px!important;line-height:29px!important;flex:0 0 32px!important;align-self:center!important}html body #app#app#app .writing-format-toolbar>button{transform:none!important;translate:none!important}

/* Dark calendars retain the journal's iridescent theme beneath readable text. */
html[data-lighting=night][data-view]:not([data-setup]) body #app#app#app#app#app :is(.habit-month-grid>b,.calendar>.calendar-weekday,.dashboard-calendar-grid>.calendar-weekday){background:linear-gradient(#171c27bb,#171c27bb),var(--selection-iridescence,linear-gradient(115deg,#85062f,#c9b4eb,#91c4d0,#ead69e,#85062f))!important;color:#f7f4ed!important;-webkit-text-fill-color:#f7f4ed!important;border:1px solid #ffffff40!important;box-shadow:inset 0 1px 0 #ffffff30!important;text-shadow:0 1px 2px #0009!important}
html[data-lighting=night][data-view]:not([data-setup]) body #app#app#app#app#app :is(.calendar>.day:not(.today),.dashboard-calendar-day){background:linear-gradient(#171c27ed,#171c27ed),var(--selection-iridescence,linear-gradient(115deg,#85062f,#c9b4eb,#91c4d0,#ead69e,#85062f))!important;color:#f7f4ed!important}

/* A themed rule separates writing controls from the entry itself. */
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){padding-bottom:12px!important;margin-bottom:12px!important;border-bottom:1px solid var(--theme-rule,var(--accent-edge,#c8b7a7))!important}
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar)+.rich-writing{margin-top:0!important;padding-top:14px!important}
html[data-lighting=night] body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){border-bottom-color:color-mix(in srgb,var(--inside-accent,#bd8f51) 45%,#b8bec8)!important}

/* One aligned header icon row, including appearance and settings. */
html body>header#descaxora-header#descaxora-header{display:grid!important;grid-template-columns:minmax(180px,1fr) auto repeat(5,36px)!important;grid-template-rows:auto auto!important;gap:8px!important;align-items:center!important;height:auto!important;min-height:76px!important}
html body>header#descaxora-header#descaxora-header>.wordmark{grid-column:1!important;grid-row:1!important;justify-self:start!important;min-width:0!important}
html body>header#descaxora-header#descaxora-header>.offline-readiness{grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important;margin:0!important;justify-self:end!important}
html body>header#descaxora-header#descaxora-header>:is(.header-settings-shortcut,.header-sound-toggle,.header-lighting-toggle,.header-home-shortcut,.cloud-account-button){display:grid!important;place-items:center!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:6px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#81052e!important;-webkit-text-fill-color:#81052e!important;box-sizing:border-box!important}
html body>header#descaxora-header#descaxora-header>.header-settings-shortcut{grid-column:3!important}
html body>header#descaxora-header#descaxora-header>.header-sound-toggle{grid-column:4!important}
html body>header#descaxora-header#descaxora-header>.header-lighting-toggle{grid-column:5!important}
html body>header#descaxora-header#descaxora-header>.header-home-shortcut{grid-column:6!important}
html body>header#descaxora-header#descaxora-header>.cloud-account-button{grid-column:7!important}
html body>header#descaxora-header#descaxora-header :is(.header-settings-shortcut,.header-lighting-toggle,.header-home-shortcut)>svg{display:block!important;width:22px!important;height:22px!important}
html body>header#descaxora-header#descaxora-header>.header-actions{grid-column:1/-1!important;grid-row:2!important}
html body>header#descaxora-header#descaxora-header>.banner-view-toggle{grid-column:1/-1!important;grid-row:3!important;position:static!important;inset:auto!important;justify-self:center!important;translate:none!important}
html body>header#descaxora-header#descaxora-header>.tablet-profile-control{display:none!important}
html[data-lighting=night] body>header#descaxora-header#descaxora-header>:is(.header-settings-shortcut,.header-sound-toggle,.header-lighting-toggle,.header-home-shortcut,.cloud-account-button){color:#efd18a!important;-webkit-text-fill-color:#efd18a!important}
@media(max-width:760px){
html body>header#descaxora-header#descaxora-header{grid-template-columns:minmax(0,1fr) repeat(5,30px)!important;grid-template-rows:32px 20px auto!important;column-gap:4px!important;row-gap:4px!important;padding:8px 10px!important;min-height:72px!important}
html body>header#descaxora-header#descaxora-header>.wordmark{grid-column:1!important;grid-row:1/3!important;max-width:100%!important}
html body>header#descaxora-header#descaxora-header>.header-actions,html body>header#descaxora-header#descaxora-header>.header-home-shortcut{display:none!important}
html body>header#descaxora-header#descaxora-header>.header-settings-shortcut{grid-column:2!important}
html body>header#descaxora-header#descaxora-header>.header-sound-toggle{grid-column:3!important}
html body>header#descaxora-header#descaxora-header>.header-lighting-toggle{grid-column:4!important}
html body>header#descaxora-header#descaxora-header>.cloud-account-button{grid-column:5!important}
html body>header#descaxora-header#descaxora-header>.mobile-header-actions{display:flex!important;grid-column:6!important;grid-row:1!important;position:static!important;inset:auto!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;margin:0!important;transform:none!important}
html body>header#descaxora-header#descaxora-header>:is(.header-settings-shortcut,.header-sound-toggle,.header-lighting-toggle,.cloud-account-button),html body>header#descaxora-header#descaxora-header>.mobile-header-actions>button[aria-label=Lock]{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:5px!important}
html body>header#descaxora-header#descaxora-header>.mobile-header-actions>button[aria-label="Quick tools"]{display:none!important}
html body>header#descaxora-header#descaxora-header>.offline-readiness{grid-column:2/7!important;grid-row:2!important;justify-self:end!important;font-size:11px!important;white-space:nowrap!important}
html body>header#descaxora-header#descaxora-header>.banner-view-toggle{grid-row:3!important}
}
/* A visible full-width divider below the writing controls. */
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){border-bottom:0!important;padding-bottom:0!important;margin-bottom:0!important}
html body #app#app#app#app#app .writing-toolbar-divider{display:block!important;flex:none!important;width:100%!important;height:2px!important;min-height:2px!important;margin:12px 0 14px!important;background:linear-gradient(90deg,var(--inside-accent,#85052f),#ddc38b 50%,var(--inside-accent,#85052f))!important;opacity:.85!important;border:0!important}

/* A thin underline follows only the formatting toolbar. */
html body #app#app#app#app#app .writing-toolbar-divider{display:none!important}
html body #app#app#app#app#app .writing-format-toolbar{position:relative!important;margin-bottom:13px!important}
html body #app#app#app#app#app .writing-format-toolbar::after{content:''!important;position:absolute!important;left:0!important;right:0!important;bottom:-7px!important;height:1px!important;background:var(--inside-accent,#85052f)!important;opacity:.55!important;pointer-events:none!important}
html[data-lighting=night] body #app#app#app#app#app .writing-format-toolbar::after{background:#e0c795!important;opacity:.7!important}

/* Writing controls start at the left edge in every view. */
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;width:100%!important}
html body #app#app#app#app#app .writing-input-heading>.writing-format-row{align-self:flex-start!important;justify-content:flex-start!important;flex:0 0 auto!important;width:auto!important;max-width:100%!important;margin:0!important}
html body #app#app#app#app#app .writing-format-toolbar{margin-left:0!important;margin-right:0!important}

/* Tablet/narrow desktop use top shortcuts and the sidebar without a duplicate row. */
@media(min-width:761px) and (max-width:1100px){
html body>header#descaxora-header#descaxora-header>.header-actions{display:none!important}
html body>header#descaxora-header#descaxora-header{grid-template-rows:auto!important;row-gap:0!important;padding-block:12px!important}
html body>header#descaxora-header#descaxora-header>.banner-view-toggle{grid-row:2!important;margin-top:10px!important}
}

/* Keep navigation at the bottom when an expanded sidebar would crowd the page. */
@media(max-width:1100px){
html body{padding-left:0!important;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
html body>.journal-navigation{display:none!important}
html body>nav.mobile-bottom-navigation{display:grid!important;grid-template-columns:repeat(var(--nav-count,5),minmax(0,1fr))!important;position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:100%!important;height:calc(82px + env(safe-area-inset-bottom,0px))!important;min-height:82px!important;box-sizing:border-box!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px))!important;margin:0!important;gap:4px!important;background:#fffdf8!important;border-top:1px solid #c8b278!important;z-index:220!important;transform:none!important;opacity:1!important;visibility:visible!important}
html body>nav.mobile-bottom-navigation>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:54px!important;padding:5px!important;margin:0!important;font-size:12px!important;line-height:1.2!important;box-sizing:border-box!important}
html body>nav.mobile-bottom-navigation>button>svg{display:block!important;width:23px!important;height:23px!important;flex:none!important}
html[data-lighting=night] body>nav.mobile-bottom-navigation{background:#181b22!important;border-top-color:#74654d!important}
}
@media(min-width:1101px){html body>nav.mobile-bottom-navigation{display:none!important}}

/* The same iridescent day treatment covers all three dark-mode calendars. */
html[data-lighting=night][data-view]:not([data-setup]) body #app#app#app#app#app :is(.habit-month-grid>button[data-habit-day],.calendar>.day:not(.today),.dashboard-calendar-day){background:linear-gradient(#171c27d9,#171c27d9),var(--selection-iridescence,linear-gradient(115deg,#85062f,#c9b4eb,#91c4d0,#ead69e,#85062f))!important;color:#f7f4ed!important;border-color:#a4b4bd66!important;box-shadow:inset 0 1px 0 #ffffff20!important}

/* Full-width tablets retain the sidebar; narrower tablets use the bottom dock. */
@media(min-width:1000px) and (max-width:1100px){
html body{padding-left:var(--navigation-width,218px)!important;padding-bottom:0!important}
html body>.journal-navigation{display:flex!important}
html body>nav.mobile-bottom-navigation{display:none!important}
}

/* Right-align the microphone and format bar, sharing one thin underline. */
html body #app#app#app#app#app .writing-input-heading>.writing-format-row{align-self:flex-end!important;justify-content:flex-end!important;position:relative!important;width:max-content!important;max-width:100%!important;margin:0 0 13px auto!important;padding-bottom:0!important}
html body #app#app#app#app#app .writing-format-row>.writing-format-toolbar{margin-bottom:0!important}
html body #app#app#app#app#app .writing-format-toolbar::after{content:none!important;display:none!important}
html body #app#app#app#app#app .writing-format-row::after{content:''!important;position:absolute!important;left:0!important;right:0!important;bottom:-7px!important;height:1px!important;background:var(--inside-accent,#85052f)!important;opacity:.55!important;pointer-events:none!important}
html[data-lighting=night] body #app#app#app#app#app .writing-format-row::after{background:#e0c795!important;opacity:.7!important}

/* Night navigation uses warm white at rest and gold for the active destination. */
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation button:not([aria-current=page]),html[data-lighting=night][data-view] body>nav.mobile-bottom-navigation>button:not([aria-current=page]){color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;background:transparent!important;background-image:none!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation button:not([aria-current=page]) :is(svg,.live-icon,.icon-drawing,span,g),html[data-lighting=night][data-view] body>nav.mobile-bottom-navigation>button:not([aria-current=page]) :is(svg,.live-icon,.icon-drawing,span,g){color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;stroke:currentColor!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation button[aria-current=page],html[data-lighting=night][data-view] body>nav.mobile-bottom-navigation>button[aria-current=page]{position:relative!important;color:#efd18a!important;-webkit-text-fill-color:#efd18a!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation button[aria-current=page] :is(svg,.live-icon,.icon-drawing,span,g),html[data-lighting=night][data-view] body>nav.mobile-bottom-navigation>button[aria-current=page] :is(svg,.live-icon,.icon-drawing,span,g){color:#efd18a!important;-webkit-text-fill-color:#efd18a!important;stroke:currentColor!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation button[aria-current=page]::after{content:''!important;position:absolute!important;bottom:2px!important;left:20%!important;right:20%!important;height:2px!important;background:#efd18a!important;border-radius:2px!important}
html[data-lighting=night] body>header#descaxora-header#descaxora-header>:is(.header-settings-shortcut,.header-sound-toggle,.header-lighting-toggle,.header-home-shortcut,.cloud-account-button):not([aria-pressed=true]){color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night] body>header#descaxora-header#descaxora-header>.mobile-header-actions>button{color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}

/* Center notebook page headings on desktop and tablet only. */
@media(min-width:761px){
html body #app#app#app#app#app .notebook #page>.care-page-heading>h2,html body #app#app#app#app#app .notebook #page .section-head>h2,html body #app#app#app#app#app .notebook #page .section-head>div:first-child{flex:1 1 auto!important;min-width:0!important;text-align:center!important}
html body #app#app#app#app#app .notebook #page .section-head h2,html body #app#app#app#app#app .notebook #page>.care-page-heading>h2{text-align:center!important;justify-self:center!important;width:100%!important}
}

/* Additional writing controls remain one neat, horizontally scrollable row. */
html body #app#app#app#app#app .writing-format-row>.writing-format-toolbar{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scrollbar-color:var(--inside-accent,#85052f) transparent!important}
html body #app#app#app#app#app .writing-format-toolbar>button,html body #app#app#app#app#app .writing-format-toolbar>label{flex-shrink:0!important}
html body #app#app#app#app#app .writing-format-toolbar>.clear-formatting-control{display:block!important;width:auto!important;min-width:112px!important;padding:4px 8px!important;font:12px/1.2 Arial,sans-serif!important;white-space:nowrap!important;border-left:1px solid var(--theme-rule,#c8b7a7)!important;border-radius:0!important}
html body #app#app#app#app#app .writing-format-toolbar>[data-journal-pencil][aria-pressed=true]{background:var(--inside-accent,#85052f)!important;color:white!important;border-radius:5px!important}
html body #app#app#app#app#app .writing-format-row>#dictation-mount{flex:0 0 auto!important}
html body #app#app#app .journal-drawing-panel{width:100%!important;margin:8px 0!important;padding:0!important;border-top:1px solid var(--theme-rule,#b9b2a9)!important}
html body #app#app#app .journal-drawing-panel[hidden]{display:none!important}
html body #app#app#app .journal-drawing-canvas{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/1!important;background:transparent!important;box-sizing:border-box!important}
html body #app#app#app .journal-drawing-panel.drawing-active{outline:1px dashed var(--inside-accent,#85052f)!important;outline-offset:3px!important}
.saved-journal-drawing{display:block;width:100%;height:auto;max-height:400px}

/* The writing label, microphone and toolbar share a baseline at every width. */
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
html body #app#app#app#app#app .writing-input-heading>.body-label{display:block!important;position:static!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;margin:0 0 13px!important;padding:0!important;line-height:1.3!important;white-space:nowrap!important;align-self:center!important}
html body #app#app#app#app#app .writing-input-heading>.writing-format-row{flex:0 1 auto!important;min-width:0!important;align-self:center!important;margin-left:auto!important}
@media(max-width:760px){html body #app#app#app#app#app .writing-input-heading>.body-label{font-size:11px!important}html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){gap:6px!important}}

@media(max-width:760px){
html body #app#app#app#app#app .writing-input-heading:has(.writing-format-toolbar){flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
html body #app#app#app#app#app .writing-input-heading>.body-label{font-size:13px!important;margin:0!important;align-self:flex-start!important}
html body #app#app#app#app#app .writing-input-heading>.writing-format-row{align-self:flex-end!important;max-width:100%!important}
}

/* Rotation fixes apply only in landscape; all portrait layouts are preserved. */
@media(orientation:landscape){
html body #modal#modal#modal#modal#modal{box-sizing:border-box!important;max-width:calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 24px)!important;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 20px)!important}
html body #modal#modal#modal#modal#modal .modal-body{min-height:0!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important}
}
@media(orientation:landscape) and (max-width:1100px){
html body #app#app#app#app#app .direct-studio{padding:10px 12px 84px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body #app#app#app#app#app .direct-studio>.direct-home-corner{min-height:30px!important;padding:5px 10px!important;margin:0 0 5px!important}
html body #app#app#app#app#app .direct-studio .direct-studio-heading{padding:0 0 6px!important;margin:0!important;gap:6px 10px!important}
html body #app#app#app#app#app .direct-studio .direct-studio-heading h1{font-size:22px!important;margin:0!important;line-height:1.15!important}
html body #app#app#app#app#app .direct-studio .direct-studio-heading>.editor-book-name{grid-column:1!important;grid-row:2!important;justify-self:start!important;width:min(100%,270px)!important;margin:0!important}
html body #app#app#app#app#app .direct-studio .direct-studio-heading>.editor-book-name input{height:34px!important;min-height:34px!important;padding:5px 8px!important;margin:0!important}
html body #app#app#app#app#app .direct-studio:is([data-target=ribbon],[data-target=bookmarks],[data-target=pages],[data-target=shelf],[data-target=tools],[data-target=review]) .editor-book-name{display:none!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:5px!important;margin:6px 0 10px!important;padding:0!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button{width:100%!important;min-width:0!important;height:60px!important;min-height:60px!important;max-height:60px!important;padding:4px 2px!important;gap:3px!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button>.numbered-step-crown{width:29px!important;height:26px!important;flex-basis:26px!important;margin:0!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button>.guide-step-caption{font-size:10px!important;line-height:12px!important;height:auto!important;min-height:0!important;margin:0!important}
html body #app#app#app#app#app .direct-studio>.direct-layout{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;align-items:start!important;gap:14px!important;min-width:0!important;margin:0!important;padding:0!important}
html body #app#app#app#app#app .direct-studio>.direct-layout:not(:has(>.direct-popover:not([hidden]))){grid-template-columns:minmax(0,1fr)!important}
html body #app#app#app#app#app .direct-studio .direct-display{position:sticky!important;top:10px!important;grid-column:1!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 32px!important;position:relative!important;width:100%!important;max-width:540px!important;min-width:0!important;height:clamp(260px,56dvh,460px)!important;min-height:0!important;padding:0 40px 8px!important;gap:10px!important;margin:0 auto!important;overflow:visible!important;box-sizing:border-box!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface>.setup-book{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;transform:none!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface>.book-display-controls{grid-column:1!important;grid-row:2!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;justify-self:center!important}
html body #app#app#app#app#app .direct-studio .direct-hotspots>button.edit-point{min-width:76px!important;width:76px!important;height:30px!important;min-height:30px!important;padding:5px 21px 5px 4px!important;font-size:10px!important}
html body #app#app#app#app#app .direct-studio .direct-hotspots>button.edit-point>span{font-size:10px!important;line-height:16px!important}
html body #app#app#app#app#app .direct-studio .direct-hotspots>button.edit-point>i{width:15px!important;min-width:15px!important;height:15px!important;right:4px!important;font-size:11px!important}
html body #app#app#app#app#app .direct-studio .direct-popover{position:static!important;inset:auto!important;grid-column:2!important;width:100%!important;min-width:0!important;max-width:none!important;transform:none!important;margin:0!important;box-sizing:border-box!important}
html body #app#app#app#app#app .direct-studio .direct-popover[hidden]{display:none!important}
html body #app#app#app#app#app .direct-studio .direct-popover-body{padding:10px!important;max-height:none!important;min-width:0!important}
html body #app#app#app#app#app .direct-studio .guided-setup-actions{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;gap:8px!important}
html body #app#app#app#app#app .direct-studio.design-final-review>.direct-layout{grid-template-columns:minmax(0,1fr)!important}
}
@media(orientation:landscape) and (max-height:540px) and (max-width:1100px){
html body>header#descaxora-header#descaxora-header{min-height:52px!important;padding:5px max(10px,env(safe-area-inset-right,0px)) 5px max(10px,env(safe-area-inset-left,0px))!important;row-gap:2px!important}
html body>header#descaxora-header#descaxora-header .wordmark img{width:36px!important;height:36px!important}
html body>header#descaxora-header#descaxora-header .brand-name{font-size:20px!important}
html body>header#descaxora-header#descaxora-header .brand-name small{display:none!important}
html body>nav.mobile-bottom-navigation{height:calc(54px + env(safe-area-inset-bottom,0px))!important;min-height:54px!important;padding:3px 8px calc(3px + env(safe-area-inset-bottom,0px))!important}
html body>nav.mobile-bottom-navigation>button{min-height:44px!important;padding:2px!important;gap:2px!important;font-size:10px!important}
html body>nav.mobile-bottom-navigation>button>svg{width:18px!important;height:18px!important}
html body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
html body #app#app#app#app#app .direct-studio>.direct-home-corner{display:none!important}
html body #app#app#app#app#app .direct-studio .direct-studio-heading h1{font-size:19px!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button{height:40px!important;min-height:40px!important;max-height:40px!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button>.numbered-step-crown{width:22px!important;height:20px!important;flex-basis:20px!important}
html body #app#app#app#app#app .direct-studio>.guided-setup-steps>button>.guide-step-caption{font-size:9px!important;line-height:10px!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface{height:clamp(170px,49dvh,250px)!important;min-height:0!important;padding-inline:30px!important;gap:6px!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface:has(>.bookmark-inbook-toggle){grid-template-rows:28px minmax(0,1fr) 28px!important;padding-inline:0!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface>.bookmark-inbook-toggle{position:static!important;grid-column:1!important;grid-row:1!important;justify-self:start!important;min-height:28px!important;padding:4px 6px!important;font-size:10px!important;z-index:5!important;margin:0!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface:has(>.bookmark-inbook-toggle)>.direct-ribbon-preview{grid-row:2!important}
html body #app#app#app#app#app .direct-studio .direct-book-surface:has(>.bookmark-inbook-toggle)>.book-display-controls{grid-row:3!important}
html body #app#app#app#app#app .direct-studio .direct-popover-heading{padding:6px 10px!important}
html body #app#app#app#app#app .direct-studio .direct-popover-heading h2{font-size:19px!important}
html body #app#app#app#app#app .direct-studio .direct-popover-body{max-height:calc(100dvh - 190px)!important;overflow-y:auto!important;min-height:0!important;padding:8px!important}
html body #app#app#app#app#app .direct-studio .guided-setup-actions{position:static!important;inset:auto!important;transform:none!important;margin:8px 0 0!important;padding:0!important;min-height:0!important;background:transparent!important}
html body #modal#modal#modal#modal#modal .modal-head{padding:8px 12px!important;min-height:0!important}
html body #modal#modal#modal#modal#modal .modal-head>h2{font-size:21px!important;line-height:1.2!important}
html body #modal#modal#modal#modal#modal .modal-body{padding:10px 12px!important}
html body #app#app#app#app#app .rich-writing{min-height:180px!important}
html body #app#app#app#app#app .calendar .day,html body #app#app#app#app#app .dashboard-calendar-day{min-height:44px!important}
}

/* Keep accessory editing at the far end of the shelf, clear of its decoration. */
html body #app#app#app .real-shelf-row>.shelf-edit-accessory{position:absolute!important;right:8px!important;bottom:2px!important;z-index:8!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:6px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--inside-accent,#85052f)!important;pointer-events:auto!important;cursor:pointer!important}


html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important} 
html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options>button{height:130px!important;min-height:0!important;padding:8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important} 
html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art{height:80px!important;width:100%!important;display:grid!important;place-items:center!important} 
html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art .shelf-decor{position:relative!important;inset:auto!important;width:90px!important;height:80px!important;margin:0!important;transform:none!important} 
html body #modal#modal#modal .shelf-accessory-chooser .shelf-photo-controls[hidden]{display:none!important} 
@media(max-width:600px){html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Shelf chooser: two clear columns across desktop, tablet and phone. */
html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:520px!important;margin:0 auto!important}
html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options>button{height:138px!important}
html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art{height:92px!important}
html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art .shelf-decor{width:108px!important;height:92px!important}
@media(max-width:600px){html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options{gap:8px!important}html body #modal#modal#modal .shelf-accessory-chooser .shelf-decor-options>button{height:108px!important;padding:6px!important;font-size:12px!important;gap:5px!important}html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art,html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art .shelf-decor{height:68px!important}html body #modal#modal#modal .shelf-accessory-chooser .decor-choice-art .shelf-decor{width:80px!important}}

/* Selected bottom-navigation glyphs have a gold body, with readable inner detail. */
html[data-view] body>nav.mobile-bottom-navigation>button[aria-current=page]>svg:not(:has(.icon-drawing))>path,html[data-view] body>nav.mobile-bottom-navigation>button[aria-current=page] .icon-drawing{fill:#efd18a!important;stroke:#89621d!important;stroke-width:1.35!important}
html[data-view] body>nav.mobile-bottom-navigation>button[aria-current=page] .icon-halo{fill:none!important;stroke:none!important}


/* Book choices and Finish share a baseline and consistent button dimensions in every view. */
html body #app#app#app#app#app .direct-studio .direct-heading-actions{display:flex!important;align-items:center!important;gap:8px!important}
html body #app#app#app#app#app .direct-studio .direct-heading-actions .direct-design-links{display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
html body #app#app#app#app#app .direct-studio .direct-heading-actions :is([data-detail=design],.existing-book-finish){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px 14px!important;line-height:20px!important;white-space:nowrap!important;align-self:center!important}
@media(max-width:760px){html body #app#app#app#app#app .direct-studio .direct-heading-actions :is([data-detail=design],.existing-book-finish){height:34px!important;min-height:34px!important;padding:5px 10px!important}}

html body #app#app#app#app#app .direct-studio .direct-heading-actions :is(.direct-design-links,[data-detail=design],.existing-book-finish){transform:none!important;top:auto!important;bottom:auto!important;vertical-align:middle!important}


/* Bookmark choices use the DescaXora setup palette, without pink card fills. */
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button{
 --bookmark-choice-surface:#fff;
 border:1px solid transparent!important;
 background:linear-gradient(var(--bookmark-choice-surface),var(--bookmark-choice-surface)) padding-box,linear-gradient(115deg,#85052f 0%,#d89aa6 24%,#fff4dc 47%,#c59a42 70%,#85052f 100%) border-box!important;
 box-shadow:none!important;
}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button{--bookmark-choice-surface:#20242d}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button[aria-pressed=true]{border-width:2px!important;box-shadow:none!important}
@media(min-width:761px){
 html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button{height:100px!important;min-height:100px!important;max-height:100px!important;grid-template-rows:66px 20px!important;gap:2px!important;padding:5px!important}
 html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{width:54px!important;height:66px!important;min-height:66px!important;max-height:66px!important}
}

/* Metal selections carry their own finish color; topic text remains legible. */
html[data-setup] body #app#app#app#app#app .direct-studio select#cover-metal{border:2px solid var(--selected-metal-border,#c59a42)!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button[aria-pressed=true]{border:2px solid var(--selected-metal-border,#c59a42)!important;border-image:none!important;box-shadow:none!important;outline:0!important}
html[data-setup] body #app#app#app#app#app [data-welcome-section][aria-pressed=true]{border-width:2px!important}
html[data-setup] body #app#app#app#app#app [data-welcome-section] small{color:#5c4b50!important;-webkit-text-fill-color:#5c4b50!important;opacity:1!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app [data-welcome-section] small{color:#e0d9d3!important;-webkit-text-fill-color:#e0d9d3!important}

/* Finish is the primary action, with a restrained DescaXora metallic sheen. */
html body #app#app#app#app#app .direct-studio .direct-heading-actions>.existing-book-finish{
 border:1px solid #d4ac58!important;
 background:linear-gradient(118deg,#780329 0%,#a11a46 34%,#bd6671 48%,#8b0b35 64%,#700124 100%)!important;
 color:#fffaf0!important;-webkit-text-fill-color:#fffaf0!important;
 font-weight:700!important;
 box-shadow:inset 0 1px 0 #fff1cf80,0 2px 6px #85052f30!important;
}
html body #app#app#app#app#app .direct-studio .direct-heading-actions>.existing-book-finish:hover{background:linear-gradient(118deg,#87062f,#b83c5b 40%,#d6a984 52%,#8b0b35 70%)!important}

/* Matching raised edges keep the two setup actions visually aligned. */
html body #app#app#app#app#app .direct-studio .direct-heading-actions [data-detail=design]{
 border:1px solid #d4ac58!important;
 border-radius:9px!important;
 background:linear-gradient(180deg,#980d3d,#790329)!important;
 color:#fffaf0!important;-webkit-text-fill-color:#fffaf0!important;
 box-shadow:inset 0 1px 0 #fff1cf80,0 2px 6px #85052f30!important;
 font-weight:600!important;
}
html body #app#app#app#app#app .direct-studio .direct-heading-actions>.existing-book-finish{border-radius:9px!important}

/* Desktop/tablet topic cards reserve real space for the illustrated icon. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section]{display:grid!important;grid-template-columns:42px minmax(0,1fr) 26px!important;column-gap:12px!important;align-items:center!important;padding:8px 12px!important;min-height:64px!important;height:auto!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section]>span:not(.selection-contour){position:static!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;transform:none!important;display:grid!important;place-items:center!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section]>span:not(.selection-contour) :is(svg,img){width:38px!important;height:38px!important;max-width:100%!important;object-fit:contain!important;transform:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section]>div{position:static!important;grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;text-align:left!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section]>i{position:static!important;grid-column:3!important;grid-row:1!important;justify-self:center!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section] :is(b,small){white-space:normal!important;overflow-wrap:break-word!important;text-align:left!important}
}

/* Material swatches follow the same relief and tonal character as the book. */
.material-sample.sample-illustrated{background:repeating-linear-gradient(45deg,transparent 0 26px,#0003 27px,#fff5 28px,transparent 30px 56px),repeating-linear-gradient(-45deg,transparent 0 26px,#0003 27px,#fff5 28px,transparent 30px 56px),radial-gradient(ellipse at 35% 25%,#fff4,transparent 65%),var(--sample-cover)!important;box-shadow:inset 3px 3px 7px #fff3,inset -3px -3px 9px #0004!important}
.material-sample.sample-leather{background:radial-gradient(ellipse at 35% 30%,#ffffff24 0 18%,#00000018 65%,transparent 72%) 0 0/9px 7px,linear-gradient(110deg,#0003,#fff1 15%,transparent 50%,#0003),var(--sample-cover)!important;box-shadow:inset 2px 2px 3px #fff4,inset -3px -3px 5px #0006!important}
.material-sample.sample-velvet{background:radial-gradient(ellipse at 40% 25%,#fff4 0 15%,#ffffff0a 35%,#0005 68%,transparent 72%) 0 0/14px 19px,radial-gradient(ellipse at 40% 25%,#fff3 0 15%,#ffffff0a 35%,#0004 68%,transparent 72%) 7px 9px/14px 19px,var(--sample-cover)!important;box-shadow:inset 1px 1px 3px #fff4,inset -2px -2px 4px #0004!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio .material-grid>button{background:#181818!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio .material-grid>button :is(b,small){color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
/* The former wavy slot is now a color-matched iridescent finish. */
.material-sample.sample-illustrated,.cover-material.material-illustrated{background:linear-gradient(118deg,#00000020 0%,#ffffff05 20%,#ffffff75 40%,#ffffff12 53%,#00000025 68%,#ffffff38 86%,#00000008),var(--sample-cover,var(--book-color))!important;box-shadow:inset 1px 1px 3px #fff5,inset -2px -2px 5px #0003!important}
/* Gold bodies retain contrasting page lines, checkmarks and house details. */
html[data-view] body>nav.mobile-bottom-navigation>button[aria-current=page]>svg.bottom-defined-icon>path.nav-fill{fill:#efd18a!important;stroke:#b18a3d!important;stroke-width:1.5!important}
html[data-view] body>nav.mobile-bottom-navigation>button[aria-current=page]>svg.bottom-defined-icon>path.nav-detail{fill:none!important;stroke:#604510!important;stroke-width:1.65!important}
html[data-view] body>nav.mobile-bottom-navigation>button:not([aria-current=page])>svg.bottom-defined-icon>path{fill:none!important;stroke:currentColor!important}

/* Native select text needs room before its arrow at narrow widths. */
html[data-setup] body #app#app#app#app#app .direct-studio select#cover-metal{
 width:100%!important;min-width:0!important;max-width:none!important;
 padding:7px 26px 7px 10px!important;font-size:14px!important;line-height:normal!important;
 text-indent:0!important;letter-spacing:normal!important;box-sizing:border-box!important;
}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row{grid-template-columns:minmax(150px,1fr) minmax(70px,.65fr)!important;column-gap:16px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>label:has(select#cover-metal){min-width:150px!important}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-control>label:has(select#cover-metal){flex:1 1 150px!important;min-width:140px!important}
}

/* One shared metal finish: compact two-column presets and paired controls below. */
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button{height:64px!important;min-height:64px!important;max-height:64px!important;flex-direction:row!important;gap:10px!important;padding:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row{grid-template-columns:minmax(150px,1fr) minmax(70px,.65fr)!important;align-items:start!important;column-gap:16px!important;margin-top:16px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch>span{white-space:normal!important;flex:1!important}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button{height:52px!important;min-height:52px!important;max-height:52px!important}}

/* Desktop/tablet pair dropdown and edge matching; custom color belongs beside the heading. */
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr)!important;align-items:start!important;gap:16px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:20px 42px!important;gap:6px!important;margin:0!important;padding:0!important;align-items:center!important;justify-items:start!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch>span{font-size:13px!important;line-height:20px!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-third-row>.gilded-edges-switch>input{margin:0!important;align-self:center!important;justify-self:start!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-popover-heading>.metal-heading-custom{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0 10px!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-heading-custom>.custom-metal-caption{font-size:12px!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-heading-custom>input{width:32px!important;height:32px!important;min-width:32px!important;margin:0!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button{flex-direction:column!important;height:80px!important;min-height:80px!important;max-height:80px!important;padding:6px!important;gap:4px!important}
}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button{background:#181818!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio .direct-metal-finishes>button>span{color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}

/* Compact labeled color controls, without separate oversized panels. */
html body #app#app#app#app#app .direct-studio .direct-popover-heading>.heading-color-control{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0 8px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;font-size:12px!important}
html body #app#app#app#app#app .direct-studio .heading-color-control>input{width:32px!important;min-width:32px!important;height:32px!important;margin:0!important}
html body #app#app#app#app#app .direct-studio .page-colors-heading-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:8px 0 12px!important}
html body #app#app#app#app#app .direct-studio .page-colors-heading-row>h3{margin:0!important}
html body #app#app#app#app#app .direct-studio .page-colors-heading-row>.studio-page-colors{display:flex!important;flex-wrap:nowrap!important;gap:12px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
html body #app#app#app#app#app .direct-studio .studio-page-colors>label{display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;margin:0!important;font-size:12px!important}
html body #app#app#app#app#app .direct-studio .studio-page-colors input[type=color]{width:32px!important;min-width:32px!important;height:32px!important;margin:0!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields{display:grid!important;grid-template-columns:repeat(var(--bookmark-color-count,5),minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;padding:8px 0!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label{display:flex!important;min-width:0!important;width:100%!important;gap:5px!important;justify-content:center!important;margin:0!important;padding:0!important;font-size:11px!important;white-space:normal!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label>span{min-width:0!important;line-height:1.15!important;text-align:center!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields input[type=color]{width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;flex:0 0 32px!important;padding:4px!important}
html body #modal#modal#modal .jar-name-color-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 6px!important}
html body #modal#modal#modal .jar-name-color-heading>label{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;white-space:nowrap!important}
html body #modal#modal#modal .jar-name-color-heading input[type=color]{width:34px!important;height:34px!important;margin:0!important}
html body #modal#modal#modal .jar-note-heading{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
html body #modal#modal#modal .jar-note-heading>.jar-note-color-picker{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0 0 0 auto!important}
html body #modal#modal#modal .jar-note-heading>.jar-shape-picker{margin:0!important}
/* Toolbar overflow is moved with edge chevrons; touch scrolling remains available. */
html body #app#app#app#app#app .writing-tools-shell{display:flex!important;align-items:center!important;gap:3px!important;flex:0 1 auto!important;min-width:0!important;max-width:100%!important}
html body #app#app#app#app#app .writing-tools-shell>.writing-format-toolbar{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}
html body #app#app#app#app#app .writing-tools-shell>.writing-format-toolbar::-webkit-scrollbar{display:none!important}
html body #app#app#app#app#app .writing-tools-scroll{display:none!important;flex:0 0 24px!important;width:24px!important;min-width:24px!important;height:30px!important;min-height:30px!important;padding:3px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--inside-accent,#85052f)!important}
html body #app#app#app#app#app .writing-tools-scroll>svg{width:18px!important;height:18px!important}
html body #app#app#app#app#app .has-tools-overflow>.writing-tools-scroll{display:grid!important;place-items:center!important}
html body #app#app#app#app#app .writing-tools-scroll:disabled{opacity:.25!important}
html[data-lighting=night] body #app#app#app#app#app .writing-tools-scroll{color:#f2ede4!important}
@media(max-width:760px){
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label{flex-direction:column!important;justify-content:flex-start!important;gap:4px!important;height:auto!important;font-size:9px!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label>span{height:23px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #app#app#app#app#app .direct-studio .bookmark-preview-color-fields input[type=color]{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;flex-basis:30px!important}
}
/* Give bookmark artwork a dedicated stage and its spin controls a separate row. */
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:not(:has(>.bookmark-inbook-toggle[aria-pressed=true]))>.direct-ribbon-preview{padding-bottom:18px!important;box-sizing:border-box!important}
@media(max-width:760px) and (orientation:portrait){
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:not(:has(>.bookmark-inbook-toggle[aria-pressed=true])){grid-template-rows:minmax(0,1fr) 32px!important;row-gap:16px!important;padding-bottom:6px!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:not(:has(>.bookmark-inbook-toggle[aria-pressed=true]))>.direct-ribbon-preview{grid-row:1!important;min-height:0!important;height:100%!important;transform:translateY(-8px)!important}
html[data-setup] body #app#app#app#app#app .phone-connected-editor[data-target=ribbon] .direct-book-surface:not(:has(>.bookmark-inbook-toggle[aria-pressed=true]))>.book-display-controls{grid-row:2!important;position:static!important;margin:0!important;transform:none!important}
}

/* Phone shelf setup uses the available height without large preview padding. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .direct-popover-body{padding-top:0!important;padding-bottom:0!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] :is(.accessory-group,.shelf-setup){margin:0!important;padding:0!important;min-height:0!important;height:auto!important;background:transparent!important;border:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-mini-preview{height:142px!important;min-height:142px!important;max-height:142px!important;padding:0 10px 8px!important;margin:2px 0 10px!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-mini-preview>.mini-spine{height:112px!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-mini-preview>.shelf-decor{height:115px!important;max-height:115px!important;width:100px!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-decor-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-decor-options>button{height:104px!important;min-height:104px!important;max-height:104px!important;aspect-ratio:auto!important;padding:5px!important;gap:3px!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .decor-choice-art{height:70px!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .decor-choice-art .shelf-decor{height:68px!important;width:78px!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio[data-target=shelf] .shelf-decor-options b{font-size:11px!important;line-height:14px!important}
}

/* Toolbar navigation sits beneath the tools at their left edge. */
html body #app#app#app#app#app .writing-tools-shell{flex-direction:column!important;align-items:stretch!important;gap:2px!important}
html body #app#app#app#app#app .writing-tools-navigation{display:none!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:22px!important}
html body #app#app#app#app#app .has-tools-overflow>.writing-tools-navigation{display:flex!important}
html body #app#app#app#app#app .writing-tools-navigation>.writing-tools-scroll{display:grid!important;place-items:center!important;width:26px!important;min-width:26px!important;height:22px!important;min-height:22px!important;padding:1px 4px!important;color:var(--inside-accent,#85052f)!important;font-weight:800!important}
html body #app#app#app#app#app .writing-tools-navigation>.writing-tools-scroll svg{stroke-width:3!important;width:20px!important;height:20px!important}
html[data-lighting=night] body #app#app#app#app#app .writing-tools-navigation>.writing-tools-scroll{color:color-mix(in srgb,var(--inside-accent,#85052f) 55%,white)!important}
/* Raised color chips remain recognizable without a visible caption. */
html body #app#app#app#app#app .direct-studio :is(.heading-color-control,.metal-heading-custom)>input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;width:34px!important;min-width:34px!important;height:34px!important;box-sizing:border-box!important;padding:4px!important;border:0!important;border-radius:50%!important;background:conic-gradient(from 15deg,#85052f,#d9a9b1,#fff8e6,#d3ac5c,#fff2cf,#85052f)!important;box-shadow:0 3px 5px #0004,inset 0 1px 1px #ffffffcc!important;overflow:hidden!important}
html body #app#app#app#app#app .direct-studio :is(.heading-color-control,.metal-heading-custom)>input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html body #app#app#app#app#app .direct-studio :is(.heading-color-control,.metal-heading-custom)>input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}

/* Consistent header color chip and readable secondary setup actions. */
html[data-setup] body #app#app#app#app#app .direct-studio .direct-popover-heading>.metal-heading-custom{display:inline-flex!important;align-items:center!important;gap:0!important;margin:0 8px!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-utilities>.gilded-edges-switch{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
html[data-setup] body #app#app#app#app#app .direct-studio .metal-finish-utilities>.gilded-edges-switch>span{white-space:normal!important;overflow-wrap:normal!important;line-height:1.3!important}
html[data-lighting=night] body #app#app#app#app#app .direct-studio :is(.book-detail-sequence,.guided-setup-actions)>button:not(.primary){background:#181818!important;background-image:none!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;border:1px solid #ad915b!important;box-shadow:none!important}
html[data-lighting=night] body #app#app#app#app#app .direct-studio :is(.book-detail-sequence,.guided-setup-actions)>button:not(.primary):hover{background:#34303a!important;color:#f2d38c!important;-webkit-text-fill-color:#f2d38c!important}
html[data-lighting=night] body #app#app#app#app#app .direct-studio :is(.simple-color-choice,.cover-color-first){background:transparent!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;border:0!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio :is(.visual-charm-options,.cover-pattern-options){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html[data-setup] body #app#app#app#app#app .direct-studio :is(.visual-charm-options,.cover-pattern-options)>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;text-align:center!important;min-width:0!important}
html[data-setup] body #app#app#app#app#app .direct-studio .sunburst-emblem-preview{width:58px!important;height:58px!important;flex:none!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px #56380e44)!important}

/* Detached sun rays and long charms use comparable visual weight. */
html[data-setup] body #app#app#app#app#app .direct-studio .cover-pattern-options .sunburst-emblem-preview{width:68px!important;height:68px!important;max-width:100%!important;max-height:68px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options .antique-key-charm-sample{width:55px!important;height:60px!important;max-width:100%!important;object-fit:contain!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options .sword-charm-sample{width:58px!important;height:66px!important;max-width:100%!important;object-fit:contain!important;transform:scale(1.18)!important;transform-origin:center!important}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app .direct-studio .cover-pattern-options .sunburst-emblem-preview{width:56px!important;height:56px!important;max-height:56px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options .antique-key-charm-sample{width:42px!important;height:50px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options .sword-charm-sample{width:45px!important;height:52px!important}
}
html body #app#app#app .real-shelf-row>.shelf-edit-accessory{width:48px!important;min-width:48px!important;height:34px!important;min-height:34px!important;padding:2px!important;right:7px!important;bottom:2px!important}
html body #app#app#app .real-shelf-row>.shelf-edit-accessory svg{width:42px!important;height:29px!important}
html[data-lighting=night] body #app#app#app .real-shelf-row>.shelf-edit-accessory{color:#f0d18b!important}

/* Brighter themed calendar sheen in night mode, with legible date text. */
html[data-lighting=night][data-view]:not([data-setup]) body #app#app#app#app#app :is(.habit-month-grid>b,.calendar>.calendar-weekday,.dashboard-calendar-grid>.calendar-weekday){background:linear-gradient(#171c2799,#171c2799),var(--selection-iridescence,linear-gradient(115deg,#85062f,#c9b4eb,#91c4d0,#ead69e,#85062f))!important;color:#fffaf1!important;-webkit-text-fill-color:#fffaf1!important;border-color:#c0c9d080!important;box-shadow:inset 0 1px 0 #ffffff50!important;text-shadow:0 1px 2px #000b!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app .direct-studio :is(.charm-picker,.bespoke-controls){background:transparent!important;border:0!important;box-shadow:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options>button{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:66px 20px!important;justify-items:center!important;align-items:center!important;height:104px!important;min-height:104px!important;padding:6px!important;gap:4px!important}
html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options>button>b{grid-row:2!important;margin:0!important;line-height:20px!important}
html[data-setup] body #app#app#app#app#app .direct-studio :is(.sunburst-emblem-preview.book-render,.antique-key-charm-sample.book-render){display:block!important;position:relative!important;flex:none!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app .direct-studio :is(.sunburst-emblem-preview.book-render,.antique-key-charm-sample.book-render)>canvas{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options>button{grid-template-rows:50px 16px!important;height:82px!important;min-height:82px!important;max-height:82px!important;padding:6px!important;gap:4px!important}html[data-setup] body #app#app#app#app#app .direct-studio .visual-charm-options>button>b{line-height:16px!important}}

/* Cover and metal use identical header chip geometry and spacing. */
html[data-setup] body #app#app#app#app#app .direct-studio .direct-popover-heading>:is(.heading-color-control,.metal-heading-custom){display:flex!important;flex:0 0 34px!important;align-items:center!important;justify-content:center!important;align-self:center!important;gap:0!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0 8px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;position:static!important;transform:none!important}
html[data-setup] body #app#app#app#app#app .direct-studio .direct-popover-heading>:is(.heading-color-control,.metal-heading-custom)>input[type=color]{display:block!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;padding:4px!important;transform:none!important;align-self:center!important}

/* Full book preview: choices at the left, next step at the right. */
html[data-setup] body #app#app#app#app#app .direct-studio .guided-setup-actions.book-preview-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app .direct-studio .book-preview-actions>[data-preview-book-choices]{margin-right:auto!important;white-space:nowrap!important}
html[data-setup] body #app#app#app#app#app .direct-studio .book-preview-actions>[data-guide-next]{margin-left:auto!important;white-space:nowrap!important}

/* Page and Accent use the same 34px raised color chip as Cover and Metal. */
html[data-setup] body #app#app#app#app#app .direct-studio .studio-page-colors input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important;padding:4px!important;margin:0!important;border:0!important;border-radius:50%!important;transform:none!important;background:conic-gradient(from 15deg,#85052f,#d9a9b1,#fff8e6,#d3ac5c,#fff2cf,#85052f)!important;box-shadow:0 3px 5px #0004,inset 0 1px 1px #ffffffcc!important;overflow:hidden!important}
html[data-setup] body #app#app#app#app#app .direct-studio .studio-page-colors input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html[data-setup] body #app#app#app#app#app .direct-studio .studio-page-colors input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}

/* A single color-chip size throughout setup, including bookmark and dashboard custom colors. */
html[data-setup] body #app#app#app#app#app#app input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;flex:0 0 34px!important;aspect-ratio:1!important;padding:4px!important;border:0!important;border-radius:50%!important;transform:none!important;translate:none!important;background:conic-gradient(from 15deg,#85052f,#d9a9b1,#fff8e6,#d3ac5c,#fff2cf,#85052f)!important;box-shadow:0 3px 5px #0004,inset 0 1px 1px #ffffffcc!important;overflow:hidden!important}
html[data-setup] body #app#app#app#app#app#app input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html[data-setup] body #app#app#app#app#app#app input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}
html[data-setup] body #app#app#app#app#app#app input[type=color]::-moz-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}

/* Initials switch remains slim and legible without a white panel in night mode. */
html[data-lighting=night][data-setup] body #app#app#app#app#app#app :is(.page-cover-lettering,.cover-initials-row,.initials-choice){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice :is(span,b){color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;opacity:1!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice>input[role=switch]{appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:44px!important;min-width:44px!important;height:25px!important;min-height:25px!important;padding:0!important;border:1px solid #9ca4af!important;border-radius:20px!important;background:#505762!important;box-shadow:inset 0 1px 3px #0004!important;flex:0 0 44px!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice>input[role=switch]::before{content:''!important;display:block!important;position:absolute!important;top:3px!important;left:3px!important;width:17px!important;height:17px!important;border-radius:50%!important;background:#fffaf1!important;box-shadow:0 1px 2px #0005!important;transform:none!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice>input[role=switch]:checked{background:#8c123d!important;border-color:#d8b668!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice>input[role=switch]:checked::before{left:22px!important}

html[data-lighting=night][data-setup] body #app#app#app#app#app#app .initials-choice>input[role=switch]::after{content:none!important}

html body #modal#modal#modal#modal .jar-note-style-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;margin-left:auto!important;min-width:0!important}
html body #modal#modal#modal#modal .jar-note-style-tools>.jar-note-color-picker{display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal .jar-note-style-tools>.jar-shape-picker{margin:0!important}
html body #modal#modal#modal#modal .jar-note-color-picker>input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;flex:0 0 34px!important;padding:4px!important;margin:0!important;border:0!important;border-radius:50%!important;background:conic-gradient(from 15deg,#85052f,#d9a9b1,#fff8e6,#d3ac5c,#fff2cf,#85052f)!important;box-shadow:0 3px 5px #0004,inset 0 1px 1px #ffffffcc!important}
html body #modal#modal#modal#modal .jar-note-color-picker>input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html body #modal#modal#modal#modal .jar-note-color-picker>input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}

/* Dark-mode audit: remove remaining light surfaces and low-contrast selected states. */
html[data-lighting=night] body #app#app#app#app#app#app article.notebook{background-color:#121212!important}
html[data-lighting=night] body #app#app#app#app#app#app [data-action=personalize],html[data-lighting=night] body #app#app#app#app#app#app [data-action=personalize] .design-link-label{color:#efd18a!important;-webkit-text-fill-color:#efd18a!important;background-image:none!important;text-shadow:none!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app [data-tone][aria-pressed=true]{background:#482533!important;color:#fff4e9!important;-webkit-text-fill-color:#fff4e9!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal [data-library-kind][aria-pressed=true]{background:#482533!important;color:#fff4e9!important;-webkit-text-fill-color:#fff4e9!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal .pin-feedback{background:#39232d!important;color:#f4d4dd!important;-webkit-text-fill-color:#f4d4dd!important;border-color:#986477!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal .pin-feedback:empty{display:none!important}
html[data-lighting=night] body #app#app#app#app#app#app .task-row.done>.check{background:#203d31!important;color:#9cddba!important;-webkit-text-fill-color:#9cddba!important;border-color:#77b794!important}
/* Task counts keep their meaning in every color palette and view. */
html body #app#app#app#app#app#app .task-metric[data-metric=due]>b{color:#9b2344!important;-webkit-text-fill-color:#9b2344!important}
html body #app#app#app#app#app#app .task-metric[data-metric=completed]>b{color:#267349!important;-webkit-text-fill-color:#267349!important}
html body #app#app#app#app#app#app .task-metric[data-metric=remaining]>b{color:#a57824!important;-webkit-text-fill-color:#a57824!important}
html[data-lighting=night] body #app#app#app#app#app#app .task-metric[data-metric=due]>b{color:#cf718a!important;-webkit-text-fill-color:#cf718a!important}
html[data-lighting=night] body #app#app#app#app#app#app .task-metric[data-metric=completed]>b{color:#8acda6!important;-webkit-text-fill-color:#8acda6!important}
html[data-lighting=night] body #app#app#app#app#app#app .task-metric[data-metric=remaining]>b{color:#e5c57d!important;-webkit-text-fill-color:#e5c57d!important}
/* Destructive actions use a consistent trash glyph; window closing keeps its X. */
html body :is(#app,#modal) button.destructive-icon-action{display:inline-grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;line-height:1!important;box-sizing:border-box!important;overflow:visible!important}
html body :is(#app,#modal) button.destructive-icon-action>svg{display:block!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;stroke:currentColor!important;fill:none!important}
html[data-lighting=night] body :is(#app,#modal) button.destructive-icon-action{color:#e4a0b1!important;-webkit-text-fill-color:#e4a0b1!important;background:transparent!important;border-color:#94707e!important}
/* Enhanced shelves draw their own front edge; suppress the obsolete outer strip. */
html[data-screen=home] body #app#app#app .new-shelf[data-cabinet-ready]::before,html[data-screen=home] body #app#app#app .new-shelf[data-cabinet-ready]::after{content:none!important;display:none!important}
html body #modal#modal#modal .book-trash>summary{display:flex!important;align-items:center!important;gap:8px!important}
html body #modal#modal#modal .trash-folder-icon{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important}
html body #modal#modal#modal#modal#modal .modal-head>.new-jar-header-color{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;margin:0 8px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #modal#modal#modal#modal#modal .new-jar-header-color>input[type=color]{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;display:block!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:4px!important;margin:0!important;border:0!important;border-radius:50%!important;background:conic-gradient(from 15deg,#85052f,#d9a9b1,#fff8e6,#d3ac5c,#fff2cf,#85052f)!important;box-shadow:0 3px 5px #0004,inset 0 1px 1px #ffffffcc!important}
html body #modal#modal#modal#modal#modal .new-jar-header-color>input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;border-radius:50%!important}
html body #modal#modal#modal#modal#modal .new-jar-header-color>input[type=color]::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important;box-shadow:inset 0 2px 3px #ffffff70,inset 0 -3px 4px #0004!important}
html body :is(#app,#modal) button.edit-icon-action{display:inline-grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;line-height:1!important;box-sizing:border-box!important}
html body :is(#app,#modal) button.edit-icon-action>svg{display:block!important;width:19px!important;height:19px!important;stroke:currentColor!important;fill:none!important}
html[data-lighting=night] body :is(#app,#modal) button.edit-icon-action{color:#efd18a!important;-webkit-text-fill-color:#efd18a!important;background:#181818!important;border-color:#9e8d6a!important}
html body #modal#modal#modal .privacy-shortcut{margin-top:12px!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .direct-popover-heading>[data-direct-close]{background:#181818!important;background-image:none!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;border-color:#969ba4!important;box-shadow:none!important}

/* Welcome/profile choices: readable night surfaces and labels in every view. */
html[data-lighting=night][data-setup] body #app#app#app#app#app#app [data-tone]{background:#181818!important;background-image:none!important;color:#fff4e9!important;-webkit-text-fill-color:#fff4e9!important;border-color:#9c8b80!important;text-shadow:none!important;opacity:1!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app [data-tone][aria-pressed=true]{background:#482533!important;color:#fff4e9!important;-webkit-text-fill-color:#fff4e9!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .identity-extra .setting-switch{background:#181818!important;background-image:none!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;border-color:#77717b!important;box-shadow:none!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .identity-extra .setting-switch>span{color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;opacity:1!important}
html[data-lighting=night][data-setup] body #app#app#app#app#app#app .identity-extra .setting-switch small{color:#d9d2cc!important;-webkit-text-fill-color:#d9d2cc!important;opacity:1!important;text-shadow:none!important}

/* Texture picker is a section, not an extra nested card grid. */
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-picker{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:7px!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;width:100%!important;height:88px!important;min-height:88px!important;padding:6px 3px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button>.material-sample{width:46px!important;height:42px!important;max-width:100%!important;min-height:0!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button>b{font-size:11px!important;line-height:1.15!important;text-align:center!important;overflow-wrap:normal!important}
@media(max-width:760px) and (orientation:portrait){html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(orientation:landscape) and (max-width:1100px) and (max-height:540px){
html[data-setup] body #app#app#app#app#app#app .direct-studio:is([data-target=none],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-book-surface{grid-template-columns:minmax(0,1fr) 84px!important;grid-template-rows:minmax(0,1fr) 28px!important;height:220px!important;min-height:220px!important;padding:0 4px 6px!important;column-gap:6px!important;row-gap:8px!important;align-items:center!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .direct-hotspots{position:static!important;inset:auto!important;grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;width:84px!important;height:auto!important;margin:0!important;padding:0!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .direct-hotspots>.edit-point{position:relative!important;inset:auto!important;min-height:26px!important;height:26px!important;width:82px!important;min-width:82px!important;transform:none!important;margin:0!important;padding:3px 20px 3px 3px!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio:is([data-target=none],[data-target=color],[data-target=material],[data-target=charm],[data-target=emblem],[data-target=metal]) .direct-book-surface>.book-display-controls{grid-column:1/-1!important;grid-row:2!important}
}
/* Keep material thumbnails at their intended height instead of flex-shrinking them. */
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button>.material-sample{flex:0 0 42px!important;width:46px!important;height:42px!important;min-height:42px!important;max-height:42px!important;aspect-ratio:auto!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button>small{display:none!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio .material-grid>button>b{flex:0 0 auto!important;margin:0!important;padding:0!important;min-height:0!important}
@media(orientation:landscape) and (max-width:1100px) and (max-height:540px){
html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface{height:220px!important;min-height:220px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px minmax(0,1fr) 38px!important;gap:12px!important;padding:0!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.direct-ribbon-preview{grid-row:2!important;grid-column:1!important;height:100%!important;min-height:0!important;padding:0!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{grid-row:3!important;grid-column:1!important;position:static!important;height:34px!important;min-height:34px!important;padding:2px!important;align-self:end!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=ribbon] .book-display-controls>button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:5px!important}
}
@media(orientation:landscape){html[data-setup] body #app#app#app#app#app#app .direct-studio .book-display-controls{translate:none!important}}
/* Grid tracks follow the resized bookmark cards instead of the old 88px row height. */
html[data-setup] body #app#app#app#app#app#app .direct-studio .bookmark-style-options{grid-auto-rows:max-content!important;grid-template-rows:none!important;row-gap:8px!important;align-items:start!important}
@media(min-width:761px){
html body #app#app#app#app#app#app :is(#habit-date,#scene){box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:7px 10px!important;font-size:14px!important;line-height:normal!important;align-self:center!important}
html body #app#app#app#app#app#app .fields:has(#habit-date):has(#scene){gap:16px!important;align-items:center!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app .direct-studio .direct-popover-body>.guided-setup-actions{position:static!important;inset:auto!important;translate:none!important;transform:none!important;display:flex!important;justify-content:space-between!important;align-items:center!important;margin:12px 0 4px!important;padding:0!important;width:100%!important;background:transparent!important;box-shadow:none!important}
}

/* Keep the text-color hit area inside its toolbar control. */
html body #app#app#app#app#app#app .writing-color-control input[type=color]{inset:0!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;box-sizing:border-box!important;margin:0!important}


/* Wand reveal stays visible after the replacement cover is ready. */
html body #app .journal-display>.wand-change-sparkles>i:nth-child(n){animation:wand-glitter-linger 3.25s var(--spark-delay) ease-in-out both!important;color:#e7c575!important;text-shadow:0 0 5px #fff1b3,0 0 12px #dca738!important}
html body #app .journal-display>.wand-change-sparkles>i:nth-child(3n){color:#fff2c5!important}
@keyframes wand-glitter-linger{0%{opacity:0;transform:translateY(8px) scale(.25)}15%,48%,76%{opacity:1;transform:translateY(-4px) scale(1)}30%,64%{opacity:.45;transform:translateY(-10px) scale(.65)}100%{opacity:0;transform:translateY(-32px) scale(.3)}}
/* Keep the wax and its imprint in front of the closed flap in 3D space. */
html body .letter-motion.letter-fold{animation:capsule-seal-scene 4.8s linear both!important}
html body .letter-motion .motion-seal{left:calc(50% - 22px)!important;top:50%!important;width:44px!important;height:44px!important;z-index:8!important;transform:translateZ(12px)}
html body .letter-fold .motion-seal{animation:dx-wax-visible .25s 3.1s both!important}
html body .letter-fold .motion-seal>.capsule-dx-stamp{animation:dx-wax-imprint .25s 3.4s both!important}
html body .letter-fold .motion-seal::after{animation:dx-stamp-press .7s 3.1s both!important}
@keyframes dx-wax-visible{from{opacity:0;transform:translateZ(12px) scale(1.1)}to{opacity:1;transform:translateZ(12px) scale(1)}}
@keyframes capsule-seal-scene{0%,92%{opacity:1}100%{opacity:0}}
/* Capsule opening and management have distinct, compact controls. */
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope{grid-template-columns:26px minmax(0,1fr) 34px!important;grid-template-rows:auto auto!important;gap:4px 10px!important;align-items:start!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>span{grid-column:1!important;grid-row:1!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>div{grid-column:2!important;grid-row:1/3!important}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-open-arrow{grid-column:3!important;grid-row:1!important;align-self:start!important;justify-self:end!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;padding:6px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal .capsule-open-arrow>svg{width:22px;height:22px;display:block}
html body #modal .capsule-open-copy{cursor:pointer}
html body #modal .capsule-open-copy:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}
html body #modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{grid-column:3!important;grid-row:2!important;justify-self:end!important;align-self:start!important;margin:0!important;position:relative!important}
html body #modal#modal#modal#modal#modal .capsule-item-options>summary{display:grid!important;place-items:center!important;width:34px!important;height:30px!important;min-height:30px!important;padding:0!important;list-style:none!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:19px!important;line-height:1!important}
html body #modal .capsule-item-options>summary::marker{content:''!important}
html body #modal .capsule-item-options>summary::-webkit-details-marker{display:none!important}
html body #modal .capsule-item-options>summary::before,html body #modal .capsule-item-options>summary::after{content:none!important;display:none!important}
html body #modal .capsule-action-menu{position:absolute;right:0;top:100%;z-index:20;display:flex;gap:8px;padding:7px;background:var(--paper,#fffaf4);border:1px solid var(--line,#d9c6c9);border-radius:10px;box-shadow:0 5px 14px #0003}
html body #modal .capsule-action-menu>button{position:static!important;width:34px!important;min-width:34px!important;height:34px!important;padding:6px!important;margin:0!important}
html body #modal .capsule-action-menu>button>svg{display:block;width:20px;height:20px}
html[data-lighting=night] body #modal .capsule-action-menu{background:#181818;color:#f5eee5;border-color:#737580}
html body #app .writing-color-control{border-bottom:0!important}
html body #app .writing-color-control>svg{width:23px;height:23px;display:block}
html body #app .writing-color-control .writing-paint-fill{fill:var(--writing-color,#85052f)}
html[data-screen=home] body #app#app#app .new-shelf .real-shelf-row>.shelf-decor.shelf-end-accessory{width:200px!important;min-width:200px!important;max-width:200px!important;flex:0 0 200px!important;height:250px!important;max-height:250px!important}
@media(max-width:760px){html[data-screen=home] body #app#app#app .new-shelf .real-shelf-row>.shelf-decor.shelf-end-accessory{width:110px!important;min-width:110px!important;max-width:110px!important;flex:0 0 110px!important;height:158px!important;max-height:158px!important}}
html body #app .direct-studio .book-detail-sequence{display:flex!important;justify-content:space-between!important;gap:12px!important;margin-top:12px!important}
html body #app .direct-studio .book-detail-sequence>.primary{margin-left:auto!important}
html body #app .visual-charm-options .sword-charm-sample[data-matched-gold=true]{filter:drop-shadow(1px 3px 2px #50381840)!important}
html body :is(button,a,summary,[role=button]){touch-action:manipulation}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=color] .material-picker{margin-top:10px!important;padding-top:0!important}html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=color] .material-picker .control-heading{margin:0 0 8px!important;padding-top:0!important}}
/* Keep the capsule menu inside the visible card area. */
html body #modal#modal#modal#modal#modal .capsule-item-options>summary>span{position:static!important;display:block!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;font:700 19px/20px Arial,sans-serif!important;white-space:nowrap!important;letter-spacing:1px!important;transform:none!important;float:none!important}
html body #modal#modal#modal#modal#modal .capsule-action-menu{top:auto!important;bottom:calc(100% + 3px)!important;right:0!important}
/* Move the whole phone bookmark row down; preserve its selected lift. */
@media(max-width:760px){html[data-view] body #app#app#app#app#app#app article.notebook{margin-top:30px!important}}
/* The date sits beneath the New entry divider, aligned to the right. */
html body #app#app#app#app#app .section-head:has([data-action=new]){border-bottom:0!important}
html body #app#app#app#app#app .entry-fields{display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;width:100%!important;max-width:100%!important;margin:8px 0 12px!important;padding:8px 0 0!important;border-top:1px solid var(--line,#c9bac3)!important;box-sizing:border-box!important}
html body #app#app#app#app#app .entry-fields>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:160px!important;max-width:100%!important;margin:0!important;font-size:12px!important}
html body #app#app#app#app#app .entry-fields #entry-date{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:5px 8px!important;font-size:14px!important;line-height:normal!important}
@media(max-width:760px){html body #app#app#app#app#app .entry-fields>label{width:144px!important}}
html body #app#app#app#app#app .entry-fields>label{min-width:0!important;max-width:160px!important;flex:0 0 160px!important}
@media(max-width:760px){html body #app#app#app#app#app .entry-fields>label{min-width:0!important;max-width:144px!important;flex:0 0 144px!important}}
html body #modal .jar-notes>i.note-deposit-pending{visibility:hidden!important;opacity:0!important;animation:none!important}
html body #app .direct-studio .guided-setup-actions>:is([data-guide-next],[data-profile-next]),html body #app .studio-area-navigation>.primary{margin-left:auto!important}
html body #app .material-sample.sample-illustrated{background:linear-gradient(125deg,color-mix(in srgb,var(--sample-cover,var(--book-color)) 65%,#101528),color-mix(in srgb,var(--sample-cover,var(--book-color)) 75%,#efc5fb) 28%,color-mix(in srgb,var(--sample-cover,var(--book-color)) 72%,#8bdde5) 52%,color-mix(in srgb,var(--sample-cover,var(--book-color)) 78%,#ffe6bc) 75%,color-mix(in srgb,var(--sample-cover,var(--book-color)) 75%,#172a45))!important}
/* Focused jars keep the readable draw result after the origami animation. */
html body #modal#modal#modal#modal#modal .modal-body.jar-notes-focused>.jar-draw-result:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important;margin:10px 0!important;box-sizing:border-box!important}
/* Jar display stays visual; notes are grouped in their own view. */
html body #modal#modal#modal#modal .jar-caption{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;margin:0!important;text-align:center!important}
html body #modal#modal#modal#modal .jar-caption>strong{margin:0!important;font-size:18px!important;line-height:1.25!important}
html body #modal#modal#modal#modal .jar-count-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:2px 4px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap!important;text-decoration:underline;text-underline-offset:3px;font-size:13px!important}
html body #modal#modal#modal#modal .jar-display-card>.jar-draw-button{width:max-content!important;min-width:0!important;max-width:100%!important;align-self:center!important;justify-self:center!important;margin:4px auto 0!important;padding:6px 13px!important;white-space:nowrap!important;text-align:center!important}
html body #modal#modal#modal .modal-head>.jar-all-notes{margin-left:auto!important;width:auto!important;min-width:0!important;padding:4px 6px!important;min-height:32px!important;height:32px!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:nowrap!important;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
html body #modal .jar-note-group{padding:0;margin:0 0 10px;border-bottom:1px solid var(--line,#aaa6)}
html body #modal .jar-note-group>summary{padding:10px 4px;font-weight:600;cursor:pointer}
html body #modal .jar-note-group-items{display:grid;gap:7px;padding:0 0 10px}
html body #modal .jar-note-group-items>button{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:4px 10px;padding:10px;text-align:left;min-width:0}
html body #modal .jar-note-group-items>button>span{grid-column:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;font-size:14px;line-height:1.4}
html body #modal .jar-note-group-items>button>small{grid-column:1;font-size:11px;opacity:.8}
html body #modal .jar-note-group-items>button>svg{grid-column:2;grid-row:1/3;align-self:center;width:20px;height:20px}
html body #modal .jar-notes-back{width:32px!important;min-width:32px!important;height:32px!important;padding:6px!important;margin-left:auto!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal .jar-notes-back>svg{display:block;width:20px;height:20px}
html body #modal .jar-note-reading{white-space:pre-wrap;overflow-wrap:anywhere;font:22px/1.6 'Atelier Display',Georgia,serif;padding:12px 0}
html body #modal .jar-note-reading-date{display:block;font-size:12px;opacity:.8}
html body #modal .jar-note-reading-actions{display:flex;align-items:center;gap:10px;margin-top:14px}
html body #modal .jar-note-reading-actions>.primary{margin-left:auto}
html body #modal .jar-note-edit-color{display:flex;align-items:center;margin:0 8px}
html body #modal .jar-note-edit-color>input{width:34px!important;min-width:34px!important;height:34px!important;padding:4px!important;border:0!important;border-radius:50%!important;background:conic-gradient(#8e1741,#ebc8d1,#fff4cb,#ba9144,#8e1741)!important;box-shadow:inset 0 1px 2px #fff9,0 2px 4px #0005}
html body #modal .jar-note-edit-color>input::-webkit-color-swatch-wrapper{padding:0}
html body #modal .jar-note-edit-color>input::-webkit-color-swatch{border:1px solid #fff;border-radius:50%}
html body #modal .jar-note-edit-shape{max-width:160px;margin-top:10px}
html[data-lighting=night] body #modal :is(.all-jar-notes,.jar-note-reading,.jar-note-reading-date){color:#f5eee5}
/* Notices use one compact row without reserving a tall hero block. */
html[data-screen=home] body #app#app#app#app#app .home-notice-area{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px 12px!important;min-height:0!important;height:auto!important;max-height:none!important;padding:6px 0!important;margin:8px 0 12px!important;position:relative!important;inset:auto!important;grid-template-rows:auto!important}
html[data-screen=home] body #app#app#app#app#app .home-notice-area>.capsule-home-reminder{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:32px!important;height:auto!important;width:auto!important;max-width:100%!important;padding:3px 5px!important;margin:0!important;position:static!important}
html[data-screen=home] body #app#app#app#app#app .home-notice-area>.capsule-home-reminder>img{width:38px!important;height:34px!important;min-width:38px!important;max-height:34px!important;object-fit:contain!important;margin:0!important;order:-1!important}
html[data-screen=home] body #app#app#app#app#app .home-notice-area>.capsule-home-reminder>:is(b,span){margin:0!important;max-width:none!important;line-height:1.35!important}
html[data-screen=home] body #app#app#app#app#app .home-notice-area>.capsule-home-reminder>em{display:none!important}
html[data-screen=home] body #app#app#app#app#app .home-notice-area>.all-notices-link{position:static!important;margin:0!important;padding:4px!important;min-height:28px!important}
/* Rendered cover lettering already includes its title and subtitle. */
html body :is(#app,#modal) .has-live-book>:is(.cover-title,.cover-name,.design-book-title,small){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
/* Jar action rows have separate hit areas above and below the artwork. */
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:30px auto auto auto!important;gap:6px!important;align-items:center!important;justify-items:center!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>.jar-card-add-note{position:static!important;inset:auto!important;grid-column:1!important;grid-row:1!important;justify-self:start!important;width:max-content!important;min-height:30px!important;height:30px!important;margin:0!important;padding:4px 6px!important;transform:none!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>button[data-jar]{grid-column:1!important;grid-row:2!important;padding:0!important;margin:0!important;min-height:0!important;height:auto!important;max-height:none!important;align-self:center!important;width:100%!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>.jar-caption{grid-column:1!important;grid-row:3!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>.jar-draw-button{grid-column:1!important;grid-row:4!important}
/* A Home notice follows the actions without stacked section padding. */
html[data-screen=home] body #app#app#app#app#app#app .home-hero:has(>.home-notice-area){row-gap:8px!important}
html[data-screen=home] body #app#app#app#app#app#app .home-hero:has(>.home-notice-area)>.intro{padding-bottom:0!important;margin-bottom:0!important}
html[data-screen=home] body #app#app#app#app#app#app .home-hero>.home-notice-area{margin:0!important;padding:0!important}
html[data-screen=home] body #app#app#app#app#app#app .home-hero>.home-notice-area+.home-book-studio{margin-top:0!important}
/* Keep jar names and their counts together in the optional All notes index. */
html body #modal#modal#modal .jar-note-group>summary{display:flex!important;align-items:center!important;gap:6px!important;list-style:none!important}
html body #modal#modal#modal .jar-note-group>summary>span{display:inline!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;white-space:nowrap!important;font:inherit!important}
html body #modal#modal#modal .jar-note-group>summary::before{content:''!important;display:block!important;flex:0 0 7px!important;width:7px!important;height:7px!important;border-right:1.6px solid currentColor!important;border-bottom:1.6px solid currentColor!important;transform:rotate(-45deg)!important;margin:0 6px 0 2px!important}
html body #modal#modal#modal .jar-note-group[open]>summary::before{transform:rotate(45deg)!important}
html body #modal .jar-note-group>summary::-webkit-details-marker{display:none}
html body #modal #capsule-seal-feedback:not([hidden]){display:block!important;margin:7px 0 0!important;font-size:13px!important;line-height:1.4!important;background:transparent!important}
html body #modal #capsule-seal-feedback[hidden]{display:none!important}

/* Focused jars use the same square image coordinates as the collection. */
html body #modal#modal#modal#modal#modal .jar-notes-focus-heading{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;gap:10px!important;align-items:center!important;margin:0 0 8px!important}
html body #modal#modal#modal#modal#modal .jar-notes-focus-heading>h3{grid-column:2;grid-row:1;text-align:center!important;font-size:23px!important;line-height:1.25!important}
html body #modal#modal#modal#modal#modal .jar-notes-focus-heading>.jar-focused-back{grid-column:1;grid-row:1;width:36px!important;padding:6px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal#modal#modal#modal#modal .jar-notes-focus-heading>button[aria-label="Edit jar"]{grid-column:3;grid-row:1}
.jar-focused-back svg{width:24px;height:24px;display:block}
html body #modal#modal#modal#modal#modal .jar-focus-content{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;margin:0!important}
html body #modal#modal#modal#modal#modal .jar-focus-visual{padding:0!important}
html body #modal#modal#modal#modal#modal .jar-focus-visual .real-jar{width:220px!important;height:220px!important}
html body #modal#modal#modal#modal#modal .jar-focused-actions{display:flex!important;justify-content:center;align-items:center;gap:10px!important;margin:0!important}
html body #modal#modal#modal#modal#modal .jar-focused-actions>button{width:auto!important;white-space:nowrap;margin:0!important;min-height:38px!important;padding:8px 14px!important}
html body #modal#modal#modal#modal#modal .modal-head>.jar-all-notes{display:inline-flex!important;align-items:center;gap:6px!important;min-height:36px!important;height:auto!important;padding:6px 9px!important;border:1px solid var(--accent-edge)!important;border-radius:7px!important;color:var(--accent-deep)!important;background:var(--accent-soft)!important;font-weight:700!important;text-decoration:none!important;flex-shrink:0}
html body #modal .jar-all-notes svg{width:19px;height:19px;flex-shrink:0}
html body #modal .real-jar .jar-notes{inset:36% 25% 25%!important;overflow:hidden!important;clip-path:inset(0 round 4px 4px 12px 12px)!important}
html body #modal .real-jar .jar-notes i{left:calc(8% + mod(var(--n),4)*22%)!important;bottom:calc(8% + round(down,var(--n)/4)*8%)!important;transform:rotate(calc(mod(var(--n),5)*13deg - 26deg))!important}
html body #modal .real-jar .jar-notes i:before,html body #modal .real-jar .jar-notes i:after{display:none!important}
html body #descaxora-header [data-desk="lock"]{background:transparent!important;box-shadow:none!important}
@media(max-width:760px){html body #modal#modal#modal#modal#modal .jar-focus-visual .real-jar{width:180px!important;height:180px!important}html body #modal#modal#modal#modal#modal .modal-head>.jar-all-notes{gap:4px!important;padding:5px 7px!important;font-size:11px!important}}

/* Controls occupy their own row below the full rotating preview. */
html body #app#app#app#app#app#app#app .journal-display>.book-display-controls{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;margin:18px auto 4px!important;align-self:end!important;z-index:2!important}
html body #app#app#app#app#app#app#app .direct-book-surface>.book-display-controls{position:static!important;inset:auto!important;transform:none!important;translate:none!important;margin:18px auto 4px!important;align-self:end!important}

html body .writing-tools-shell{position:relative}
html body #app#app#app#app#app#app .writing-more-panel{position:absolute;top:calc(100% + 7px);right:0;z-index:60;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px;width:min(270px,calc(100vw - 48px));padding:10px;border:1px solid var(--accent-edge);border-radius:9px;background:var(--surface,#fffdfa);box-shadow:0 8px 22px #0003}
html body #app#app#app#app#app#app .writing-more-panel[hidden]{display:none!important}
html body #app#app#app#app#app#app .writing-more-panel>button{width:auto!important;min-height:36px!important;white-space:normal!important}
html body #app#app#app#app#app#app .writing-more-panel .writing-font-control{width:100%!important}
html body #app#app#app#app#app#app .phone-tools-compact>.writing-tools-navigation{display:none!important}
html body #app#app#app#app#app#app .phone-tools-compact>.writing-format-toolbar{overflow:visible!important;gap:2px!important}
html body #app#app#app#app#app#app .phone-tools-compact>.writing-format-toolbar>button,html body #app#app#app#app#app#app .phone-tools-compact>.writing-format-toolbar>.writing-color-control{width:29px!important;min-width:29px!important;padding:5px!important}
html[data-lighting=night] body #app#app#app#app#app#app .writing-more-panel{background:var(--night-raised,#181818)!important;color:var(--night-text)!important}

/* Moving glitter retains the original burst rather than twinkling in place. */
html body #app .journal-display>.wand-change-sparkles>i:nth-child(n){animation:wand-design-spark 3.2s var(--spark-delay) ease-out both!important;--sx:42px;--sy:-65px}
html body #app .journal-display>.wand-change-sparkles>i:nth-child(2n){--sx:-48px;--sy:-95px}
html body #app .journal-display>.wand-change-sparkles>i:nth-child(3n){--sx:65px;--sy:40px}
html body #app .journal-display>.wand-change-sparkles>i:nth-child(5n){--sx:-65px;--sy:55px}

.writing-format-toolbar .writing-more-caption{display:none!important}
.writing-more-panel .writing-more-caption{display:inline!important;font-size:12px;margin-left:5px}
.writing-more-panel>button{display:flex!important;align-items:center;justify-content:center}
html body #modal .real-jar .jar-notes i{bottom:calc(8% + round(down,var(--n)/4)*12%)!important}
html body #app#app#app#app#app#app .writing-more-panel>button{min-width:0!important;padding:7px!important;gap:4px!important;min-height:36px!important;font-size:12px!important;line-height:1.2!important}
html body #app#app#app#app#app#app .writing-more-panel>button>svg{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important}
html body #app#app#app#app#app#app .writing-more-panel .writing-more-caption{white-space:nowrap!important;margin:0!important}

html body .material-sample.sample-textured{background-color:var(--sample-cover)!important;background-image:url('assets/fur-fibers.svg')!important;background-size:64px 64px!important;box-shadow:inset 2px 2px 4px #fff5,inset -3px -3px 5px #0004!important}
@media(min-width:761px) and (min-height:541px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:not([data-target=ribbon]) .direct-book-surface{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 48px!important;gap:18px!important;padding:8px 14px!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:not([data-target=ribbon]) .direct-book-surface>.designed-book{grid-row:1!important;grid-column:1!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:not([data-target=ribbon]) .direct-book-surface>.book-display-controls{grid-row:2!important;grid-column:1!important;margin:0!important;justify-self:center!important;align-self:center!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:not([data-target=ribbon]) .direct-book-surface>.direct-hotspots{top:8px!important;bottom:74px!important;height:auto!important}
}
@media(max-width:760px),(orientation:landscape) and (max-width:1100px) and (max-height:540px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:not([data-target=ribbon]) .direct-book-surface{grid-template-rows:minmax(0,1fr) 44px!important;row-gap:12px!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface{grid-template-rows:28px minmax(0,1fr) 44px!important;row-gap:12px!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .direct-book-surface>.book-display-controls{height:40px!important;min-height:40px!important;margin:0!important;padding:4px!important;align-self:center!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .book-display-controls>button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important}
}
@media(min-width:761px) and (min-height:541px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:32px minmax(0,1fr) 48px!important;gap:12px!important;padding:8px 14px!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.setup-book{grid-row:2!important;grid-column:1!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{position:static!important;inset:auto!important;transform:none!important;grid-row:1!important;grid-column:1!important;justify-self:start!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{position:static!important;grid-row:3!important;grid-column:1!important;margin:0!important;justify-self:center!important;align-self:center!important}
}
@media(max-width:760px),(orientation:landscape) and (max-width:1100px) and (max-height:540px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.setup-book{grid-row:2!important;grid-column:1!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.bookmark-inbook-toggle{position:static!important;inset:auto!important;transform:none!important;grid-row:1!important;grid-column:1!important;justify-self:start!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface>.book-display-controls{grid-row:3!important;grid-column:1!important}
}

/* Restore the original localized wand flourish, retaining the longer reveal. */
html body #app .display-design-wand.wand-book-reveal{overflow:visible!important}
html body #app .display-design-wand>.wand-change-sparkles{position:absolute;inset:-18px;z-index:12;pointer-events:none;overflow:visible}
html body #app .display-design-wand>.wand-change-sparkles>i{left:50%;top:50%;font-size:19px;color:#bf9443;text-shadow:none;animation:wand-design-spark 3.2s ease-out both!important;--sx:-40px;--sy:-30px}
html body #app .display-design-wand>.wand-change-sparkles>i:nth-child(2){--sx:40px;--sy:-42px;animation-delay:.12s!important;color:#85062f}
html body #app .display-design-wand>.wand-change-sparkles>i:nth-child(3){--sx:50px;--sy:12px;animation-delay:.22s!important}
html body #app .display-design-wand>.wand-change-sparkles>i:nth-child(4){--sx:-35px;--sy:30px;animation-delay:.3s!important;color:#b98866}
html body #app .display-design-wand>.wand-change-sparkles>i:nth-child(5){--sx:0px;--sy:-55px;animation-delay:.18s!important}
@media(prefers-reduced-motion:reduce){html body #app .display-design-wand>.wand-change-sparkles{display:none!important}}

/* Opening is sequential: sealed hold/release, flap, then paper. */
html body .letter-motion.letter-unfold{animation:capsule-open-sequence var(--capsule-open-total,6200ms) linear both!important}
html body .letter-motion.letter-unfold .motion-envelope>.motion-seal{animation:capsule-release-seal var(--capsule-seal-duration,1500ms) ease-in-out both!important}
html body .letter-motion.letter-unfold .motion-envelope>.motion-flap{animation:real-envelope-open var(--capsule-flap-duration,1200ms) var(--capsule-flap-delay,1500ms) ease-in-out both!important;backface-visibility:visible!important}
html body .letter-motion.letter-unfold .motion-envelope .motion-paper{animation:capsule-open-paper var(--capsule-paper-duration,2700ms) var(--capsule-paper-delay,2700ms) cubic-bezier(.3,.1,.2,1) both!important}
@keyframes capsule-release-seal{0%,28%{opacity:1;transform:translateZ(12px) translateY(0) rotateZ(0)}55%{opacity:1;transform:translateZ(20px) translateY(-3px) rotateZ(-7deg)}85%{opacity:.9;transform:translateZ(30px) translateY(-12px) rotateZ(-15deg)}100%{opacity:0;transform:translateZ(34px) translateY(-20px) rotateZ(-18deg)}}
@keyframes capsule-open-sequence{0%,90%{opacity:1}100%{opacity:0}}
/* Clean card stock: keep the physical deck edges without ruled texture. */
html body #modal .reflection-deck-stack .reflection-card::after{content:none!important;display:none!important}
html body #modal .reflection-card>.deck-signature{display:block!important;flex:0 0 auto;width:32px;height:36px;margin-top:auto!important;line-height:1;letter-spacing:0;filter:drop-shadow(0 1px 0 #fff7)}
html body #modal .deck-signature>svg{display:block;width:100%;height:100%}
html body #modal .reflection-card:has(>.deck-signature)>small{margin-top:0!important;padding-top:5px!important}

/* Natural mixed orientations, with the entire pile clipped inside the glass. */
html body #modal .real-jar .jar-notes i{left:var(--jar-note-x,40%)!important;bottom:var(--jar-note-y,8%)!important;z-index:var(--jar-note-layer,1)!important;transform:translateZ(var(--jar-note-depth,0px)) rotateZ(var(--jar-note-angle,0deg)) rotateX(var(--jar-note-tilt-x,0deg)) rotateY(var(--jar-note-tilt-y,0deg)) scale(var(--jar-note-scale,1))!important;transform-style:preserve-3d!important;backface-visibility:visible!important}
html body #modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>.jar-card-add-note{left:50%!important;right:auto!important;transform:translateX(-50%)!important;text-align:center!important;justify-content:center!important;white-space:nowrap!important}

/* Keep navigation dates beside the tabs on larger screens. */
@media(min-width:761px){
html body #app#app#app#app#app#app .habit-navigation-date-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 14px!important;min-width:0}
html body #app#app#app#app#app#app .habit-navigation-date-row>.care-section-tabs{margin:0!important;flex:0 1 auto!important;width:auto!important}
html body #app#app#app#app#app#app .habit-navigation-date-row>.care-date-note{margin:0!important;padding:0!important;text-align:right!important;white-space:nowrap;flex:0 0 auto}
html body #app#app#app#app#app#app #page[data-layout=habits]>.page-left{padding-top:12px!important}
html body #app#app#app#app#app#app .task-workspace-summary>h3{text-align:center!important}
html body #app#app#app#app#app#app .task-summary-group>h3{justify-content:center!important;text-align:center!important}
html body #app#app#app#app#app#app #page[data-layout=tasks] .next-task{width:100%!important;max-width:726px!important;box-sizing:border-box!important;margin:14px auto 20px!important;height:auto!important}
html body #app#app#app#app#app#app #page[data-layout=tasks] .next-task>b{white-space:normal!important;overflow-wrap:anywhere!important;height:auto!important}
}
html body #app#app#app#app .habit-inline-actions{display:flex;align-items:center;gap:8px;flex:none}
html body #app#app#app#app .habit-inline-actions>button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:7px!important;display:inline-flex;align-items:center;justify-content:center}
html body #app#app#app#app .habit-inline-actions svg{width:20px;height:20px}
html body #app#app#app#app#app#app #page[data-layout=journal] :is(.clear-writing,.add-thread-dialog,[data-action=task-from-thought],[data-action=save-entry]){min-height:36px!important;height:auto!important;padding:7px 12px!important;font-size:13px!important;line-height:1.4!important;width:auto!important;max-width:100%!important;white-space:normal!important}
html body #app#app#app#app#app#app .clear-writing svg{width:18px!important;height:18px!important}
html body #app#app#app#app#app#app .writing-format-toolbar [data-format]:is([data-format=undo],[data-format=redo]){background:transparent!important;box-shadow:none!important;color:var(--inside-accent,var(--accent-deep))!important}
html body #app#app#app#app#app#app .writing-format-toolbar [data-format]:disabled{opacity:.38!important;cursor:default!important}
html body #app#app#app#app#app#app .writing-color-control{border-bottom:3px solid var(--writing-color,#85052f)!important}
html body #app#app#app#app#app#app .writing-color-letter{font:bold 19px Georgia,serif;line-height:1;color:currentColor}
/* Explicit ink styles must remain visible through inherited theme fills. */
html body #app#app#app#app#app#app .rich-writing,html body #app#app#app#app#app#app .rich-writing *{-webkit-text-fill-color:currentColor!important}

html body #app#app#app#app#app#app .rich-writing *{color:inherit!important}
@media(min-width:761px){
html body #app#app#app#app#app#app #page[data-layout=journal] .journal-actions{width:200px!important;justify-content:flex-start!important;flex:none!important}
html body #app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{width:200px!important;margin-left:auto!important;max-width:100%!important}
html body #app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>label{width:100%!important}
}

@media(min-width:761px){
html body #app#app#app#app#app#app .habit-navigation-date-row{margin-bottom:0!important}
html body #app#app#app#app#app#app #page[data-layout=habits]:has(.habit-navigation-date-row){row-gap:12px!important}
html body #app#app#app#app#app#app #page[data-layout=habits]>.page-left{padding-top:0!important}
html body #app#app#app#app#app#app #page[data-layout=habits] .fields:has(#habit-date){margin-top:0!important;margin-bottom:14px!important}
}

html body #modal#modal#modal#modal#modal#modal .compact-jar-library .jar-display-card>.jar-card-add-note{position:static!important;inset:auto!important;transform:none!important;justify-self:center!important;margin-inline:auto!important;text-align:center!important;justify-content:center!important}
html body #modal#modal#modal#modal#modal#modal .jar-focused-actions{display:flex!important;flex-direction:column-reverse!important;align-items:center!important;justify-content:center!important;gap:8px!important}
html body #modal#modal#modal#modal#modal#modal .jar-focused-actions>button{align-self:center!important;margin-inline:auto!important}
html body #modal#modal#modal#modal#modal#modal .real-jar .jar-notes{inset:36% 25% 17%!important}

/* The envelope front masks the sheet while it travels through the mouth. */
html body .letter-motion .motion-envelope>.motion-paper-slot{display:block!important;position:absolute!important;inset:0!important;z-index:1!important;transform:translateZ(2px)!important;clip-path:polygon(0 -200%,100% -200%,100% 0,50% 51%,0 0)!important;overflow:visible!important;pointer-events:none!important}
html body .letter-motion .motion-paper-slot>.motion-paper{position:absolute!important;display:block!important;transform-style:flat!important}

html body #app#app#app#app#app#app .entry-jump-link{display:block!important;width:max-content!important;margin:0 0 12px auto!important;padding:4px 0!important;min-height:30px!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px;font-size:13px!important;color:var(--inside-accent,var(--accent-deep))!important}
html body #modal .entry-jump-list{display:grid;gap:8px}
html body #modal .entry-jump-list>button{display:grid;gap:4px;text-align:left;padding:10px 12px;min-width:0}
html body #modal .entry-jump-list>button>strong{overflow-wrap:anywhere;font-size:14px}
html body #modal .entry-jump-list>button>small{font-size:11px;opacity:.8}
html[data-lighting=night] body #app#app#app#app#app#app .entry-jump-link{color:var(--night-accent-text,#efd18a)!important}
html[data-lighting=night] body #modal .entry-jump-list>button{background:#181818;color:#f2ede4;border-color:#827562}
html body #modal#modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{width:34px!important;min-width:34px!important;max-width:34px!important;justify-self:end!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal#modal .capsule-item-options>summary{box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;margin:0!important;padding:0!important}

@media(min-width:761px){html body #app#app#app#app#app#app #page[data-layout=journal] .entry-essentials :is(label,#entry-date){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important}html body #app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{display:block!important}}
html body #app#app#app#app#app#app .writing-format-toolbar button[aria-pressed=true]{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #app#app#app#app#app#app .writing-format-toolbar button[aria-pressed=true] *{color:inherit!important;-webkit-text-fill-color:currentColor!important}

html body #app#app#app#app#app#app .entry-jump-link{font-size:14px!important;font-weight:650!important;margin-bottom:8px!important;text-decoration-thickness:1px!important}
html body #app .entry-jump-link>.ui-arrow-icon{width:18px;height:18px;vertical-align:middle}
html body #modal .capsule-open-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0 10px}
html body #modal#modal#modal#modal#modal#modal .capsule-list>.capsule-envelope[hidden]{display:none!important}
html body #modal.capsule-opening .capsule-open-actions{visibility:hidden}
@media(max-width:760px){html body #app#app#app#app#app#app .entry-jump-link{font-size:13px!important;min-height:32px!important;margin:8px 0 4px auto!important}html body #modal .capsule-open-actions>button{padding:8px 12px;font-size:13px;min-height:36px}}

html body #modal .drawn-note-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
html body #modal .drawn-note-actions>button{min-height:36px;padding:7px 11px;font-size:13px;width:auto}
html body #modal #toss-drawn-note{display:inline-flex;justify-content:center;align-items:center;width:34px;height:36px;padding:7px;background:transparent;box-shadow:none}
html body #modal #toss-drawn-note svg{width:20px;height:20px}

html body #modal .jar-notes-view-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
html body #modal .jar-notes-view-tools select{width:auto;max-width:100%;min-width:130px}
html body #modal [data-bulk-delete]{font-size:12px;min-height:34px;padding:7px 10px;width:auto;max-width:100%}
html body #modal#modal#modal#modal#modal#modal [data-bulk-delete][hidden]{display:none!important}
html body #modal .capsule-library-toolbar>.capsule-bulk-delete{grid-column:1/-1;justify-self:end}
html body #modal .book-trash>[data-bulk-delete]{margin:10px 0}

html body #app#app#app#app#app#app .cover-detail-group>summary>.custom-metal-swatch{display:inline-flex!important;margin-left:auto!important;flex:none!important;vertical-align:middle}
html body #app#app#app#app#app#app .cover-color-first>.heading-color-control{display:inline-flex!important;margin:0 0 10px!important}
@media(min-width:761px){
html body #app#app#app#app#app#app .direct-popover-body .metal-finish-control:has(.direct-metal-finishes){display:block!important;width:100%!important;min-width:0!important}
html body #app#app#app#app#app#app .direct-popover-body .direct-metal-finishes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;margin:12px 0!important;padding:0!important}
html body #app#app#app#app#app#app .direct-popover-body .direct-metal-finishes>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:8px!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
html body #app#app#app#app#app#app .direct-metal-finishes>button>span{display:block!important;width:100%!important;text-align:center!important;white-space:normal!important}
html body #app#app#app#app#app#app .metal-finish-utilities{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%!important;margin-top:12px!important;align-items:start!important}
html body #app#app#app#app#app#app .metal-finish-utilities>label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;min-width:0!important;width:100%!important;margin:0!important}
html body #app#app#app#app#app#app .metal-finish-utilities select{width:100%!important;min-width:0!important;max-width:100%!important}
}

html body #app#app#app#app#app#app .direct-popover-body .direct-metal-finishes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important}
html body #app#app#app#app#app#app .metal-finish-utilities{display:block!important;margin-top:12px!important;width:100%!important}
html body #app#app#app#app#app#app .metal-finish-utilities>.gilded-edges-switch{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;width:100%!important;gap:12px!important}
html body #app#app#app#app#app#app .gilded-edges-switch>span{white-space:nowrap!important;font-size:12px!important;line-height:1.4!important}
html body #app#app#app#app#app#app .direct-popover-body label:has(>#cover-metal)[hidden]{display:none!important}
html body #modal#modal#modal#modal#modal#modal .drawn-note-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
html body #modal#modal#modal#modal#modal#modal .drawn-note-actions>button{position:static!important;margin:0!important;transform:none!important;flex:none!important}
html body #modal#modal#modal#modal#modal#modal .drawn-note-actions>#draw-jar-again{margin-left:auto!important;background:transparent!important;box-shadow:none!important;border:0!important;text-decoration:underline!important;text-underline-offset:4px!important;padding-inline:2px!important}
html body #app#app#app#app#app#app .home-capsule-envelope{display:inline-block;position:relative;width:43px;height:34px;flex:none;overflow:hidden;filter:drop-shadow(1px 2px 2px #0003);transform:rotate(-5deg)}
html body #app .home-capsule-envelope>svg{width:100%;height:100%;display:block}
html body #app .home-capsule-envelope::after{content:'';position:absolute;inset:-8px;background:linear-gradient(110deg,transparent 35%,#fff9 50%,transparent 65%);transform:translateX(-100%);animation:home-envelope-shimmer 1.8s .2s ease-out both;pointer-events:none}
@keyframes home-envelope-shimmer{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){html body #app .home-capsule-envelope::after{animation:none;display:none}}

html body :is(#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal) :is(.visual-charm-options,.cover-pattern-options) [data-matched-gold=true]{filter:drop-shadow(1px 3px 2px #50381840)!important}

html body #app#app#app#app#app#app .direct-popover-body .direct-metal-finishes>button{height:54px!important;min-height:54px!important;max-height:54px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:5px!important;gap:3px!important}
html body #app#app#app#app#app#app .direct-metal-finishes>button>i{display:block!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;flex:none!important;margin:0!important}
html body #app#app#app#app#app#app .direct-metal-finishes>button>span{font-size:11px!important;line-height:14px!important;margin:0!important;text-align:center!important}
html body #app#app#app#app#app#app .cover-color-first:has(>.heading-color-control){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;margin-bottom:10px!important}
html body #app#app#app#app#app#app .cover-color-first>.heading-color-control{margin:0!important}
html body #app#app#app#app#app#app .material-sample.sample-illustrated[data-neutral-black=true]{background:linear-gradient(125deg,#0b0b0d,#353539 28%,#131316 52%,#414147 75%,#09090b)!important}

html body #app#app#app#app#app#app .emblem-metal-preview{display:block!important;position:relative!important;width:64px!important;height:64px!important;min-width:0!important;background:none!important;filter:none!important;margin:auto!important}
html body #app#app#app#app#app#app .emblem-metal-preview>canvas{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;transform:none!important}
@media(max-width:760px){html body #app#app#app#app#app#app .emblem-metal-preview{width:44px!important;height:44px!important}}

html body :is(#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal) button.compact-action-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:8px!important;margin-block:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:none!important;color:var(--inside-accent,var(--accent-deep))!important}
html body .compact-action-icon>.action-symbol{width:24px!important;height:24px!important;display:block!important;flex:none!important}
html[data-lighting=night] body :is(#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal) button.compact-action-icon{color:var(--night-accent-text,#efd18a)!important;-webkit-text-fill-color:currentColor!important}
html body :is(#app,#modal) button.compact-action-icon:hover{filter:brightness(1.14)}
@media(max-width:760px){html body :is(#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal) button.compact-action-icon{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}

html body #app#app#app#app#app#app :is(.cover-initials-row,.initials-choice){background:transparent!important;border:0!important;box-shadow:none!important}
html body #app#app#app#app#app#app .initials-choice>input[role=switch]{appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;width:38px!important;height:22px!important;min-width:38px!important;min-height:22px!important;max-height:22px!important;padding:0!important;border:1px solid #9d9294!important;border-radius:20px!important;background:radial-gradient(circle at 10px 50%,#fff 0 7px,transparent 8px),#a6a1a4!important;vertical-align:middle!important;box-sizing:border-box!important;cursor:pointer}
html body #app#app#app#app#app#app .initials-choice>input[role=switch]:checked{background:radial-gradient(circle at 27px 50%,#fff 0 7px,transparent 8px),#85052f!important;border-color:#85052f!important}
html[data-lighting=night] body #app#app#app#app#app#app .initials-choice>input[role=switch]:not(:checked){background:radial-gradient(circle at 10px 50%,#f8f2e9 0 7px,transparent 8px),#55515c!important;border-color:#a09aa5!important}
/* Keep the lock accessible in the header instead of over setup options. */
html[data-setup] body>:is(.privacy-quick,.privacy-minimize){display:none!important}
@media(min-width:761px){
html[data-setup] body>header#descaxora-header#descaxora-header{grid-template-columns:minmax(160px,1fr) auto repeat(6,36px)!important}
html[data-setup] body>header#descaxora-header#descaxora-header>.mobile-header-actions{display:flex!important;grid-column:8!important;grid-row:1!important;position:static!important;inset:auto!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;margin:0!important;transform:none!important}
html[data-setup] body>header#descaxora-header#descaxora-header>.mobile-header-actions>button[aria-label="Quick tools"]{display:none!important}
html[data-setup] body>header#descaxora-header#descaxora-header>.mobile-header-actions>button[aria-label=Lock]{display:grid!important;place-items:center!important;position:static!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:6px!important;margin:0!important;background:transparent!important;box-shadow:none!important;border:0!important;color:var(--inside-accent,#85052f)!important}
html[data-lighting=night][data-setup] body>header#descaxora-header#descaxora-header>.mobile-header-actions>button[aria-label=Lock]{color:#f2ede4!important}
}
/* Original saved wand/book flourish, slowed without changing its movement. */
html body #app#app#app#app#app .display-design-wand.wand-book-reveal>svg{transform-origin:50% 65%;animation:wand-design-twirl 3.8s cubic-bezier(.22,.7,.3,1) both!important}
html body #app#app#app#app#app .book-design-reveal .cover{animation:book-design-arrive 3.8s ease-out both!important}
html body #app#app#app#app#app .display-design-wand>.wand-change-sparkles>i{animation:wand-design-spark 3.3s ease-out both!important}
html body #app#app#app#app#app .display-design-wand>.wand-change-sparkles>i:nth-child(2){animation-delay:.12s!important}
html body #app#app#app#app#app .display-design-wand>.wand-change-sparkles>i:nth-child(3){animation-delay:.22s!important}
html body #app#app#app#app#app .display-design-wand>.wand-change-sparkles>i:nth-child(4){animation-delay:.3s!important}
html body #app#app#app#app#app .display-design-wand>.wand-change-sparkles>i:nth-child(5){animation-delay:.18s!important}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app#app .book-design-reveal .cover,html body #app#app#app#app#app .display-design-wand.wand-book-reveal>svg{animation:none!important}}
/* Fine falling glitter passes over the cover while the wand completes its burst. */
html body #app#app#app#app#app .book-change-drizzle{position:absolute!important;inset:12% 23% 16%!important;z-index:15!important;overflow:hidden!important;pointer-events:none!important;border:0!important;background:none!important;filter:none!important}
html body #app#app#app#app#app .book-change-drizzle>i{position:absolute!important;top:0!important;left:var(--drizzle-x)!important;width:var(--drizzle-size)!important;height:var(--drizzle-size)!important;border-radius:50%!important;background:radial-gradient(circle,#fff9dc 15%,#edcb78 45%,#bc8c35 100%)!important;box-shadow:0 0 4px #f2cf8a,0 0 8px #dca94a70!important;opacity:0;animation:book-sparkle-drizzle 2.4s var(--drizzle-delay) linear both!important;pointer-events:none!important}
@keyframes book-sparkle-drizzle{0%{opacity:0;transform:translate3d(0,-12px,0) scale(.4)}12%{opacity:1}35%{opacity:.5}55%{opacity:1}85%{opacity:.75}100%{opacity:0;transform:translate3d(8px,var(--drizzle-fall),0) scale(.6)}}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app#app .book-change-drizzle{display:none!important}}
/* Open arrow and menu share the same fixed-width center line. */
html body #modal#modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-item-options{box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;padding:0!important;border:0!important;justify-self:end!important;transform:none!important;translate:none!important}
html body #modal#modal#modal#modal#modal#modal .capsule-item-options>summary{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:34px!important;min-width:34px!important;height:30px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important}
html body #modal#modal#modal#modal#modal#modal .capsule-item-options>summary>svg{display:block!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important}
/* Equal-height reading actions, with an archive glyph sized to the text button. */
html body #modal#modal#modal#modal#modal#modal .capsule-open-actions{align-items:stretch!important}
html body #modal#modal#modal#modal#modal#modal .capsule-open-actions>#capsule-keep-journal{box-sizing:border-box!important;height:42px!important;min-height:42px!important;padding:8px 12px!important;white-space:nowrap!important}
html body #modal#modal#modal#modal#modal#modal .capsule-open-actions>#capsule-archive{box-sizing:border-box!important;display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:6px!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal #capsule-archive>svg{width:28px!important;height:28px!important;display:block!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal:has(.reflection-deck-stack) .modal-head h2{margin-right:auto!important;min-width:0!important}
html body #modal#modal#modal#modal#modal#modal .deck-customize-heading{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:13px!important;line-height:1.3!important;min-height:36px!important;padding:6px 8px!important;margin:0 6px 0 auto!important;text-decoration:underline!important;text-underline-offset:4px!important;color:inherit!important}
html body #modal#modal#modal#modal#modal#modal:has(.reflection-deck-stack) .modal-body>.toolbar{align-items:stretch!important;gap:12px!important}
html body #modal#modal#modal#modal#modal#modal #draw-card{display:grid!important;place-items:center!important;align-self:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;width:54px!important;min-width:54px!important;padding:8px!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal #draw-card>svg{width:28px!important;height:28px!important;display:block!important;margin:0!important}
html body #app#app#app#app#app .book-change-drizzle{inset:12% auto 16% 50%!important;width:min(70%,calc(var(--drizzle-fall)*.85))!important;transform:translateX(-50%)!important}
html body #modal#modal#modal#modal#modal#modal .deck-customize-row{display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0 0 8px!important;padding:0!important}
html body #modal#modal#modal#modal#modal#modal .deck-customize-row>.deck-customize-heading{margin:0!important;padding:3px 2px!important;min-height:30px!important}
html body #modal#modal#modal#modal#modal#modal .other-book-jars>h3{width:100%!important;text-align:center!important;margin-inline:auto!important}
html body #modal#modal#modal#modal#modal#modal .capsule-list>.capsule-envelope>.capsule-open-arrow{position:static!important;inset:auto!important;margin:0!important;transform:none!important;translate:none!important;box-sizing:border-box!important;justify-self:end!important}
@keyframes book-sparkle-drizzle{0%{opacity:0;transform:translate3d(0,-12px,0) scale(.8)}12%{opacity:1}35%{opacity:.7}55%{opacity:1}85%{opacity:.85}100%{opacity:0;transform:translate3d(8px,var(--drizzle-fall),0) scale(1)}}
html body #app#app#app#app#app .book-change-drizzle>i{background:radial-gradient(circle,#fff4c0 10%,#e7bc57 45%,#ad741d 100%)!important;box-shadow:0 1px 1px #76501b66,0 0 5px #e7bb6370!important}
html body #modal#modal#modal#modal#modal#modal .capsule-item-options>summary{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important}
html body #modal#modal#modal#modal#modal#modal .capsule-item-options>summary>svg{grid-area:1/1!important;justify-self:center!important;align-self:center!important}
/* Every paper uses one stable typing grid; only the paper markings differ. */
html body #app#app#app#app#app#app#app .rich-writing{--writing-row-height:36px;--writing-rule:var(--accent-edge,#c7b9c0);line-height:var(--writing-row-height)!important;padding:12px 16px!important;background-origin:content-box!important;background-position:0 0!important;background-size:100% var(--writing-row-height)!important;background-repeat:repeat-y!important;background-image:linear-gradient(to bottom,transparent 0,transparent calc(var(--writing-row-height) - 7px),var(--writing-rule) calc(var(--writing-row-height) - 7px),var(--writing-rule) calc(var(--writing-row-height) - 6px),transparent calc(var(--writing-row-height) - 6px))!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .rich-writing{--writing-rule:var(--night-border,#62717b)}
html body #app#app#app#app#app#app#app .rich-writing :is(p,div,li){margin:0!important;padding-block:0!important;line-height:inherit!important;min-height:var(--writing-row-height)!important}
html body #app#app#app#app#app#app#app .rich-writing :is(span,b,strong,i,em,u,font){line-height:inherit!important}
html body #app#app#app#app#app#app#app .rich-writing :is(ul,ol){margin-block:0!important}
html[data-paper-style=Blank] body #app#app#app#app#app#app#app .rich-writing{background-image:none!important}
html[data-paper-style="Dot grid"] body #app#app#app#app#app#app#app .rich-writing{background-image:radial-gradient(var(--writing-rule) 1px,transparent 1px)!important;background-size:18px 18px!important;background-repeat:repeat!important}
html[data-paper-style=Graph] body #app#app#app#app#app#app#app .rich-writing{background-image:linear-gradient(var(--writing-rule) .6px,transparent .6px),linear-gradient(90deg,var(--writing-rule) .6px,transparent .6px)!important;background-size:18px 18px!important;background-repeat:repeat!important}
html body #app#app#app#app#app#app#app .entry-jump-link{display:inline-flex!important;width:max-content!important;margin:8px auto 4px 0!important;align-self:flex-start!important;justify-self:start!important;text-align:left!important;float:none!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app .rich-writing{padding-inline:12px!important}}
@media(min-width:761px){
html body #app#app#app#app#app#app#app .habit-navigation-date-row{box-sizing:border-box!important;padding-inline:20px!important;flex-wrap:wrap!important}
html[data-view=book] body #app#app#app#app#app#app#app .habit-navigation-date-row{padding-inline:28px!important}
html body #app#app#app#app#app#app#app .habit-navigation-date-row>.care-date-note{margin-left:auto!important;max-width:100%!important}
}
html body #app#app#app#app#app#app#app .task-workspace-main>.section-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr)!important;align-items:center!important;column-gap:12px!important;row-gap:0!important}
html body #app#app#app#app#app#app#app .task-workspace-main>.section-head>h2{grid-column:2!important;grid-row:1!important;width:auto!important;margin:0!important;justify-self:center!important}
html body #app#app#app#app#app#app#app .task-workspace-main>.section-head>[data-action=add-task]{grid-column:3!important;grid-row:1!important;width:max-content!important;justify-self:end!important;margin:0!important;white-space:nowrap!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app .task-workspace-main>.section-head>h2{grid-column:1/3!important;justify-self:start!important}}
html body #app#app#app#app#app#app#app#app .quick-task-form{display:block!important;margin:12px 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #app#app#app#app#app#app#app#app .quick-task-form>div{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:10px!important;align-items:stretch!important}
html body #app#app#app#app#app#app#app#app #quick-task-title{box-sizing:border-box!important;min-width:0!important;width:100%!important;height:42px!important;min-height:42px!important;padding:8px 12px!important}
html body #app#app#app#app#app#app#app#app .quick-task-form button{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:42px!important;height:42px!important;min-height:42px!important;min-width:42px!important;padding:8px!important}
html body #app#app#app#app#app#app#app#app .quick-task-form button>svg{width:22px!important;height:22px!important}
html body #app#app#app#app#app#app#app#app #quick-task-status:empty{display:none!important}
html body #app#app#app#app#app#app#app#app .quick-task-form>div{grid-template-columns:minmax(0,1fr) max-content!important}
html body #app#app#app#app#app#app#app#app .quick-task-form button{width:max-content!important;min-width:84px!important;padding:8px 12px!important;font-size:14px!important;white-space:nowrap!important}
html body #app#app#app#app#app#app#app .cover-detail-group>summary .metal-summary-content{display:inline-flex!important;align-items:center!important;gap:10px!important;vertical-align:middle!important;width:auto!important}
html body #app#app#app#app#app#app#app .metal-summary-content>.custom-metal-swatch{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
html body #app#app#app#app#app#app#app .metal-summary-content>.custom-metal-swatch>input{margin:0!important}

html body #app#app#app#app#app .setup-book-shimmer>i{top:var(--sparkle-top,0%)!important;animation-duration:1s!important}

/* Keep the experience title and its preset subtitle distinct at every width. */
html body #app#app#app#app#app#app .included-tools-heading{column-gap:18px!important;row-gap:6px!important;align-items:baseline!important}
html body #app#app#app#app#app#app .included-tools-heading>strong+span{margin-inline-start:6px!important}

html body #modal .manifesting-questions{display:grid;gap:14px}html body #modal .manifesting-questions label{display:grid;gap:6px}html body #modal .manifesting-questions textarea{box-sizing:border-box;width:100%;min-height:62px;height:68px;margin:0;resize:vertical}
html body #modal .manifesting-questions{gap:8px}
html body #modal .manifesting-questions>label{margin:0!important}
html body #modal .manifesting-questions>button{justify-self:end;margin:0!important}
html body #modal #manifesting-feedback:empty{display:none}

html body #app#app#app#app#app#app .material-sample.sample-illustrated[data-pearl-white=true]{background:linear-gradient(125deg,#f9e7f0,#fff1d8 17%,#edf6df 33%,#e0f5f8 50%,#e5e7fc 67%,#f2e0f7 83%,#fff6fb)!important;box-shadow:inset 1px 1px 3px #fff9,inset -2px -2px 5px #afbdd344!important}

/* Finished cover cards: one centered image slot and its title. */
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-gallery>button{display:grid!important;grid-template-rows:112px auto!important;align-content:center!important;justify-items:center!important;gap:8px!important;height:auto!important;min-height:0!important;padding:10px 6px!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb{display:grid!important;place-items:center!important;width:100%!important;height:112px!important;min-height:112px!important;max-height:112px!important;margin:0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;margin:0!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-gallery>button>b{margin:0!important;text-align:center!important}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-gallery>button{grid-template-rows:86px auto!important}html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb{height:86px!important;min-height:86px!important;max-height:86px!important}}

html body #app#app#app#app#app#app .included-tools-heading{column-gap:6px!important;align-items:center!important}
html body #app#app#app#app#app#app .included-tools-heading>strong+span{margin-inline-start:0!important;word-spacing:.14em!important;letter-spacing:normal!important}
html body #app#app#app#app#app#app .experience-preset-grid>button b{word-spacing:.14em!important;letter-spacing:normal!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb{grid-template-rows:minmax(0,1fr)!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb img{min-width:0!important;min-height:0!important;height:112px!important;max-height:112px!important}
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app .direct-studio .preset-cover-thumb img{height:86px!important;max-height:86px!important}}

html[data-lighting=night] body #app#app#app#app#app#app#app .direct-studio .cover-detail-group{background:var(--night-surface)!important;color:var(--night-text)!important;border-color:var(--night-border)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .direct-studio .cover-detail-group>summary{background:transparent!important;color:var(--night-text)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .direct-studio .preset-cover-gallery>button>b{color:var(--night-text)!important}

/* New-entry action and its date form one compact, related control row. */
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:12px!important;width:max-content!important;max-width:100%!important;margin:4px 0 14px auto!important;padding:0!important;border:0!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>label{flex:0 1 180px!important;width:180px!important;min-width:150px!important;margin:0!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>[data-action=new]{flex:none!important;align-self:flex-end!important;min-height:42px!important;height:42px!important;margin:0!important;padding:8px 12px!important;white-space:nowrap!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials #entry-date{box-sizing:border-box!important;height:42px!important;min-height:42px!important;margin:0!important;width:100%!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{width:100%!important;gap:10px!important}html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>label{flex:1 1 150px!important;width:auto!important}}

/* Recent-action arrows replace floating Undo confirmations on every view. */
html body :is(#app,#modal) .phone-history-controls{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-left:auto!important;flex:none!important}
html body :is(#app,#modal) .phone-history-controls>button{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--accent-deep)!important}
html body :is(#app,#modal) .phone-history-controls svg{width:22px!important;height:22px!important}
html[data-lighting=night] body :is(#app,#modal) .phone-history-controls>button{color:var(--night-gold)!important}
html body :is(#app,#modal) .phone-history-controls>button:disabled{opacity:.35!important}
/* Stage art uses its actual 3:5 frame instead of sitting inside a wider box. */
html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art{width:auto!important;aspect-ratio:3/5!important;justify-self:center!important;max-width:100%!important;background:transparent!important}
html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art>.progress-frame{inset:0!important;left:0!important;width:100%!important;height:100%!important;transform:none!important;aspect-ratio:auto!important}

/* Short welcome preferences should not stretch into oversized fields. */
html body #app#app#app#app#app#app#app .welcome-preferences-panel{max-width:760px!important;margin-inline:auto!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .direct-popover-body{padding:16px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel label{margin:8px 0!important;gap:6px!important;font-size:14px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel :is(input:not([type=checkbox]):not([type=color]),select){box-sizing:border-box!important;min-height:42px!important;height:42px!important;padding:8px 10px!important;font-size:14px!important;line-height:1.4!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel label:has(#setup-welcome-name){max-width:340px!important;width:100%!important;border:0!important;padding:0!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .identity-extra{border:0!important;padding:0!important;margin:10px 0 0!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .identity-extra>label:has(input:not([type=checkbox])){max-width:560px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .split{display:grid!important;grid-template-columns:88px minmax(140px,220px)!important;gap:12px!important;width:max-content!important;max-width:100%!important;margin:0!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .upgrade-subhead{margin:12px 0 8px!important;font-size:22px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:8px 0 12px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options>button{min-height:36px!important;height:auto!important;padding:7px 10px!important;font-size:12px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .setting-switch{max-width:560px!important;padding:9px 12px!important;margin:8px 0!important;min-height:0!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app .welcome-preferences-panel .split{width:100%!important;grid-template-columns:76px minmax(0,1fr)!important}}
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=pages]>.direct-layout{align-items:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=pages] .direct-display{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding-block:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=pages] .direct-paper-surface{display:flex!important;align-items:stretch!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=pages] .direct-paper-surface>.paper-detail-preview{flex:1 1 auto!important;align-self:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app .direct-studio[data-target=pages] .direct-edit-hint{display:none!important}
}
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app#app#app .design-final-review .review-previews>figure{grid-template-rows:auto minmax(0,1fr)!important;align-items:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app .design-final-review .review-previews .review-book{height:100%!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0 auto!important;align-self:stretch!important;justify-self:stretch!important;overflow:visible!important}
}
@media(min-width:761px) and (min-height:501px){
html body>header#descaxora-header#descaxora-header#descaxora-header{grid-template-columns:minmax(0,1fr) repeat(5,36px)!important;grid-template-rows:36px 18px!important;column-gap:8px!important;row-gap:5px!important;align-items:center!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.wordmark{grid-column:1!important;grid-row:1/3!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-settings-shortcut{grid-column:2!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-sound-toggle{grid-column:3!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-lighting-toggle{grid-column:4!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-home-shortcut{grid-column:5!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.cloud-account-button{grid-column:6!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.offline-readiness{grid-column:2/7!important;grid-row:2!important;justify-self:center!important;align-self:center!important;width:max-content!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;line-height:18px!important}
}
html body #modal#modal#modal#modal .library-spine{border-radius:7px!important}

html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art{width:132px!important;height:auto!important;max-width:100%!important;max-height:220px!important;aspect-ratio:3/5!important;align-self:center!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art{width:108px!important;max-height:180px!important}}
/* Letter proportions and thin stationery edges, rather than a stacked box. */
html body .letter-motion .motion-envelope{box-sizing:border-box!important;width:min(300px,78vw)!important;height:auto!important;aspect-ratio:1.8/1!important;min-height:0!important;border-radius:3px!important;box-shadow:0 1px 0 #c9b38e,3px 10px 22px #271a1833!important}
html body .letter-motion .motion-paper{inset:12px 20px 8px!important;border-radius:1px!important;box-shadow:0 1px 3px #4a321b24!important}
html body .letter-motion .motion-envelope::before{transform:translateZ(-1px)!important;box-shadow:inset 0 2px 5px #66503525!important}

html body #modal .real-jar .jar-notes{perspective:450px!important}html body #modal .real-jar .jar-notes .jar-keepsake{filter:drop-shadow(1px 2px 1px #32212a66)!important}

html body #app#app#app#app#app#app#app .metal-custom-control-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;margin:0 0 8px!important;padding:0!important;background:none!important;border:0!important}
html body #app#app#app#app#app#app#app .metal-custom-control-row>.custom-metal-swatch{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin:0!important;padding:0!important;transform:none!important}
html body #app#app#app#app#app#app#app .metal-custom-control-row>.custom-metal-swatch input{margin:0!important}
html body #app#app#app#app#app#app#app .metal-custom-control-row+.direct-metal-finishes{margin-top:0!important}
html[data-lighting=night] body>.journal-navigation button[aria-current=page] .navigation-symbol path{stroke:#efd18a!important;color:#efd18a!important;fill:none!important}

/* Plain, centered metal controls above and below the preset grid. */
html body #app#app#app#app#app#app#app#app .metal-custom-control-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-height:34px!important;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body #app#app#app#app#app#app#app#app .metal-custom-title{font-size:13px!important;line-height:1.4!important;white-space:nowrap!important;color:var(--accent-deep)!important}
html body #app#app#app#app#app#app#app#app .metal-finish-utilities{display:block!important;width:100%!important;margin:12px 0 0!important;padding:0!important;border:0!important;background:none!important}
html body #app#app#app#app#app#app#app#app .metal-finish-utilities>.gilded-edges-switch{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html body #app#app#app#app#app#app#app#app .metal-finish-utilities>.gilded-edges-switch>span{flex:none!important;font-size:13px!important;line-height:1.4!important;white-space:nowrap!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .metal-custom-title{color:var(--night-text)!important}
/* Keep desktop/tablet view choices in the logo-and-actions band. */
@media(min-width:761px) and (min-height:501px){
html body>header#descaxora-header#descaxora-header#descaxora-header{grid-template-columns:minmax(180px,1fr) auto repeat(5,36px)!important;grid-template-rows:42px 18px!important;min-height:0!important;height:auto!important;padding-block:10px!important;column-gap:8px!important;row-gap:3px!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.banner-view-toggle{grid-column:2!important;grid-row:1/3!important;position:static!important;inset:auto!important;translate:none!important;transform:none!important;align-self:center!important;justify-self:center!important;margin:0 20px 0 0!important;width:max-content!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-settings-shortcut{grid-column:3!important;grid-row:1!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-sound-toggle{grid-column:4!important;grid-row:1!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-lighting-toggle{grid-column:5!important;grid-row:1!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.header-home-shortcut{grid-column:6!important;grid-row:1!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.cloud-account-button{grid-column:7!important;grid-row:1!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.offline-readiness{grid-column:3/8!important;grid-row:2!important}
}
@media(min-width:761px) and (max-width:1000px) and (min-height:501px){
html body>header#descaxora-header#descaxora-header#descaxora-header>.banner-view-toggle{margin-right:6px!important}
html body>header#descaxora-header#descaxora-header#descaxora-header>.banner-view-toggle button{padding:8px!important;font-size:11px!important}
}
/* Bloom and Tree use square-corner artwork, matching New Life. */
html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art,
html body #app#app#app#app#app#app#app #page[data-layout=habits] .staged-growth>.progress-art>.progress-frame{border-radius:0!important}
/* Writing only omits the main heading divider; Book and Wide retain it. */
html[data-view=full] body #app#app#app#app#app#app#app .notebook #page[data-layout=journal] .page-left>.section-head{border-bottom:0!important;border-block-end:0!important;box-shadow:none!important}
html[data-view=full] body #app#app#app#app#app#app#app .notebook #page[data-layout=journal] .page-left>.section-head::after{display:none!important}
/* Final review has one aligned pair of completion controls. */
html body #app#app#app#app#app#app#app .design-final-review .guided-setup-actions{display:flex!important;grid-column:1/-1!important;justify-content:flex-end!important;align-items:center!important;gap:12px!important;width:100%!important;margin:16px 0 0!important;padding:0!important}
html body #app#app#app#app#app#app#app .design-final-review .guided-setup-actions>button{position:static!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;align-self:center!important}
/* Welcome fields share the right edge of the tone choices. */
html body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options{width:max-content!important;max-width:100%!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel :is(label:has(#setup-welcome-name),.identity-extra,.identity-extra>label:has(input:not([type=checkbox])),.setting-switch){width:var(--welcome-form-width,100%)!important;max-width:100%!important;box-sizing:border-box!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .split{width:100%!important;grid-template-columns:88px minmax(0,1fr)!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .guided-setup-actions{width:var(--welcome-form-width,100%)!important;max-width:100%!important;justify-content:flex-end!important}
/* Metal utility rows share one center and consistent normal-weight labels. */
html body #app#app#app#app#app#app#app .metal-custom-control-row,
html body #app#app#app#app#app#app#app .metal-finish-utilities .gilded-edges-switch{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important;font-weight:400!important}
html body #app#app#app#app#app#app#app .metal-custom-title,
html body #app#app#app#app#app#app#app .metal-finish-utilities .gilded-edges-switch>span{font-weight:400!important;font-size:13px!important;line-height:1.4!important}
html body #app#app#app#app#app#app#app .metal-custom-control-row>label{margin:0!important;flex:0 0 34px!important;width:34px!important}
html body #app .bookmark-style-options .sample-ribbon:has(.instant-plain-bookmark){background:transparent!important;box-shadow:none!important;clip-path:none!important}
html body #app .bookmark-style-options .instant-plain-bookmark{display:block;width:100%;height:100%;filter:drop-shadow(1px 2px 2px #0003)}
html body #app .bookmark-style-options .sample-ribbon:has(.instant-plain-bookmark)::before,html body #app .bookmark-style-options .sample-ribbon:has(.instant-plain-bookmark)::after{display:none!important}
/* The preview toggle stays visibly outlined in either preview mode. */
html body #app#app#app#app#app#app#app .bookmark-inbook-toggle,
html body #app#app#app#app#app#app#app .bookmark-inbook-toggle[aria-pressed=true]{border:1px solid #ae813b!important;border-radius:10px!important;background:var(--inside-paper,#fffdf8)!important;color:#85052f!important;-webkit-text-fill-color:#85052f!important;box-shadow:0 2px 4px #6b442014!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .bookmark-inbook-toggle,
html[data-lighting=night] body #app#app#app#app#app#app#app .bookmark-inbook-toggle[aria-pressed=true]{border-color:#d8b66b!important;background:#181818!important;color:#f5e8ca!important;-webkit-text-fill-color:#f5e8ca!important}
/* Paper and cover-font selections share the DescaZora iridescent frame. */
html[data-setup] body #app#app#app#app#app#app#app :is(.paper-name-options>button[data-paper-style],button[data-font-preview])[aria-pressed=true]{border:3px solid transparent!important;background:linear-gradient(#fffdf9,#fffdf9) padding-box,linear-gradient(115deg,#85062f,#c58b9d 24%,#fff0d1 46%,#b98d39 67%,#f1dba8 83%,#85062f) border-box!important;border-radius:11px!important;color:#85052f!important;-webkit-text-fill-color:#85052f!important;box-shadow:0 2px 4px #6e442015!important}
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app :is(.paper-name-options>button[data-paper-style],button[data-font-preview])[aria-pressed=true]{background:linear-gradient(#29232b,#29232b) padding-box,linear-gradient(115deg,#85062f,#c58b9d 24%,#fff0d1 46%,#b98d39 67%,#f1dba8 83%,#85062f) border-box!important;color:#f5e8ca!important;-webkit-text-fill-color:#f5e8ca!important}
/* Size the welcome panel around its aligned form rather than unused space. */
html body #app#app#app#app#app#app#app .welcome-preferences-panel{width:calc(var(--welcome-form-width,580px) + 32px)!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;justify-self:center!important;margin-inline:auto!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .direct-popover-heading{padding-inline:16px!important}
/* Compact focus cards and align the topic list to their outer edges. */
html[data-setup] body #app#app#app#app#app#app#app .section-focus-routes{width:100%!important;max-width:100%!important;margin-inline:0!important;padding:0!important;gap:10px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app .section-focus-routes>button{min-height:0!important;height:auto!important;padding:10px 12px!important;gap:5px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app .section-focus-routes>button>small{color:#65545d!important;-webkit-text-fill-color:#65545d!important;line-height:1.4!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app .section-focus-routes>button[aria-pressed=true]>small{color:#fff5e8!important;-webkit-text-fill-color:#fff5e8!important}
html[data-setup] body #app#app#app#app#app#app#app :is(.category-full-choices,.setup-category-grid){width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app .section-focus-routes>button:not([aria-pressed=true])>small{color:#d2c6cd!important;-webkit-text-fill-color:#d2c6cd!important}
/* Stable width prevents a content/observer feedback loop when fitting the form. */
html body #app#app#app#app#app#app#app .welcome-preferences-panel{width:520px!important;max-width:100%!important;--welcome-form-width:100%}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options>button{flex:1 0 auto!important}
/* Keep topic names readable on dark setup surfaces. */
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app .bookmark-category-choice button b{color:#f5eee4!important;-webkit-text-fill-color:#f5eee4!important}
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app .bookmark-category-choice button small{color:#d2c6cd!important;-webkit-text-fill-color:#d2c6cd!important}
/* Journal section names need no descriptive sentence beneath them. */
html body #app#app#app#app#app#app#app #page[data-layout=journal] .category-intro{display:none!important}
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app button[data-direct-custom]{background:#29252e!important;color:#f5e8ca!important;-webkit-text-fill-color:#f5e8ca!important;border:1px solid #b8995f!important}
/* Remove oversized vertical gaps above journal entry controls. */
html body #app#app#app#app#app#app#app #page[data-layout=journal] .page-left{padding-top:12px!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .page-left>.section-head{padding-block:0 6px!important;margin-block:0 8px!important;min-height:0!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .writer-book-name{margin-block:2px!important;padding-block:0!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{margin-top:0!important;margin-bottom:10px!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-mode-buttons>button{padding-block:8px!important;min-height:38px!important}
html[data-lighting=night] body #app#app#app#app#app#app#app #page[data-layout=journal] :is(.writer-book-name,.section-head h2){background:none!important;color:#f1dfb9!important;-webkit-text-fill-color:#f1dfb9!important}
@media(max-width:760px){
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:end!important;width:100%!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>:is(label,[data-action=new]){width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials :is(#entry-date,[data-action=new]){height:42px!important;min-height:42px!important;max-height:42px!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body #app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group :is(#search,#filter-date){height:42px!important;min-height:42px!important;max-height:42px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
}
html[data-lighting=night] body #app#app#app#app#app#app#app #page[data-layout=journal] :is(.history>h3,.history-tools-group>h3,.entry-mode-picker>h3){background:none!important;color:#f1dfb9!important;-webkit-text-fill-color:#f1dfb9!important}
html body #app#app#app#app#app#app#app .entry-jump-link{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;line-height:1.3!important;vertical-align:middle!important;white-space:nowrap!important}
html body #app#app#app#app#app#app#app .entry-jump-link>.ui-arrow-icon{display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;position:static!important;transform:none!important;align-self:center!important}
/* Overview bars stay steady on entry, hover, focus, and device rotation. */
html body #app#app#app#app#app#app#app #page[data-layout=overview] :is(.chart-column,.chart-pillar,.chart-value){animation:none!important;transition:none!important;transform:none!important}
.phone-add-jar-art{display:none}
@media(max-width:760px){
html body #modal#modal#modal#modal .jar-title-actions{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1!important}
html body #modal#modal#modal#modal .jar-title-actions h2{flex:0 1 auto!important;margin:0!important}
html body #modal#modal#modal#modal .jar-add-top{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:2px!important;flex:none!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal#modal#modal#modal .jar-add-top>.action-symbol{display:none!important}
html body #modal#modal#modal#modal .phone-add-jar-art{display:block!important;position:relative!important;width:40px!important;height:42px!important}
html body #modal#modal#modal#modal .phone-add-jar-art img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
html body #modal#modal#modal#modal .phone-add-jar-art b{position:absolute!important;right:-3px!important;bottom:0!important;display:grid!important;place-items:center!important;width:19px!important;height:19px!important;border-radius:50%!important;background:#85052f!important;color:#fff6df!important;font:700 18px/1 Arial!important;box-shadow:0 1px 3px #0003!important}
}
html body #modal#modal#modal#modal #draw-jar-again{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:8px 10px!important;overflow:visible!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal #draw-jar-again .action-symbol{display:block!important;width:28px!important;height:28px!important;flex:none!important;overflow:visible!important}
html body #modal#modal#modal#modal #draw-jar-again>span{font-size:13px!important;line-height:1.2!important;white-space:nowrap!important}
html body #modal#modal#modal#modal#modal#modal#modal .deck-customize-heading{color:var(--inside-accent,var(--accent,#85052f))!important;-webkit-text-fill-color:var(--inside-accent,var(--accent,#85052f))!important;text-decoration-color:currentColor!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal .deck-customize-heading{color:color-mix(in srgb,var(--inside-accent,#85052f) 40%,#fff4dc)!important;-webkit-text-fill-color:color-mix(in srgb,var(--inside-accent,#85052f) 40%,#fff4dc)!important}
/* Fine points of light replace oversized decorative star glyphs. */
html body #app#app#app#app#app#app#app .display-design-wand>.wand-change-sparkles>i{font-size:0!important;width:5px!important;height:5px!important;line-height:0!important;background:radial-gradient(circle,#fffef4 0 20%,#f5d58a 45%,transparent 75%)!important;box-shadow:0 0 5px #edc86e!important;border-radius:50%!important}
html body #app#app#app#app#app#app#app .book-change-drizzle>i{width:min(var(--drizzle-size),4px)!important;height:min(var(--drizzle-size),4px)!important;background:radial-gradient(circle,#fffef5 0 22%,#f5d58a 48%,transparent 76%)!important;box-shadow:0 0 4px #f3d79890!important}
html body #app#app#app#app#app#app#app .book-change-drizzle>i:nth-child(3n)::after{content:''!important;position:absolute!important;inset:-2px!important;background:#fff4cb!important;clip-path:polygon(50% 0,59% 40%,100% 50%,59% 59%,50% 100%,41% 59%,0 50%,41% 40%)!important}
/* The empty photo insert fits inside the frame instead of keeping full frame height. */
html body :is(#app,#modal) .shelf-photo-frame>.shelf-photo-placeholder{position:absolute!important;inset:8px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:4px!important;box-sizing:border-box!important;overflow:hidden!important;transform:none!important;align-self:stretch!important}
/* Center the final writing tool beneath the paired columns. */
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing]>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing] [data-tool-open=decision]:last-child:nth-child(odd){grid-column:1/-1!important;justify-self:center!important;width:calc((100% - 7px)/2)!important;max-width:100%!important}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app :is(.book-detail-sequence,.guided-setup-actions):has(>[data-next-bookmark]){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin-inline:0!important;padding-inline:0!important;gap:10px!important;justify-content:space-between!important}
html[data-setup] body #app#app#app#app#app#app#app button[data-next-bookmark]{box-sizing:border-box!important;min-width:0!important;max-width:calc(100% - 76px)!important;flex:0 1 auto!important;position:static!important;right:auto!important;transform:none!important;translate:none!important;margin-left:auto!important;margin-right:0!important;padding:8px 10px!important;font-size:12px!important;white-space:nowrap!important}
}
/* Phone step two keeps Book choices beside the preview, avoiding a duplicate above. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app .direct-studio:has(.guided-setup-steps>[data-guide-step="0"][aria-current=step]) .direct-heading-actions [data-detail=design]{display:none!important}
}
/* The instant Plain artwork already draws its eyelet; suppress the legacy oversized one. */
html body #app#app#app#app#app#app#app .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::before,
html body #app#app#app#app#app#app#app .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::after{content:none!important;display:none!important;width:0!important;height:0!important;border:0!important;box-shadow:none!important}
/* Phone welcome step uses the same centered heading alignment as larger views. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel .direct-popover-heading{position:relative!important;justify-content:center!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel .direct-popover-heading>h2{width:100%!important;text-align:center!important;justify-self:center!important;margin-inline:0!important}
}
/* Center the full phone welcome form, including its labels and choice rows. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel .direct-popover-body{text-align:center!important;margin-inline:auto!important}
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel :is(label,.identity-extra,.split,.tone-options,.setting-switch,.upgrade-subhead){margin-inline:auto!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel :is(input:not([type=checkbox]):not([type=color]),select){text-align:center!important}
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel .tone-options{justify-content:center!important}
html[data-setup] body #app#app#app#app#app#app#app .welcome-preferences-panel .guided-setup-actions{justify-content:center!important;text-align:center!important}
}
/* Profile is a compact identity/sign-out panel; account deletion lives in Settings. */
html body #modal#modal#modal#modal:has(.simple-account-profile){width:520px!important;max-width:calc(100vw - 24px)!important}
html body #modal#modal#modal#modal .simple-account-profile{padding:20px!important}
html body #modal#modal#modal#modal .account-signed-in{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 18px!important;padding:0!important}
html body #modal#modal#modal#modal .account-signed-in h3{font-size:23px!important;margin:0 0 6px!important}
html body #modal#modal#modal#modal .account-signed-in p{margin:0!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal#modal .account-profile-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important}
html body #modal#modal#modal#modal .account-management{padding:0!important;margin:0!important}
html body #modal#modal#modal#modal .account-management h3{margin:0 0 8px!important;font-size:24px!important}
html body #modal#modal#modal#modal .account-delete-labeled{width:auto!important;height:auto!important;min-height:42px!important;padding:9px 14px!important;font-size:14px!important;color:#9e2047!important;border:1px solid #b64b67!important}
html[data-lighting=night] body #modal#modal#modal#modal .account-delete-labeled{color:#ffb7c9!important;-webkit-text-fill-color:#ffb7c9!important;background:#30202a!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{background:#050505!important;box-shadow:inset 0 0 15px #000!important}
html[data-lighting=night] body #app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{background-image:var(--night-growth-art)!important;filter:drop-shadow(0 0 3px #e5dfbe99) drop-shadow(0 0 9px #c9d6ad55)!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation.journal-navigation button[data-desktop-destination]{border:1px solid #60616b!important;border-radius:12px!important;box-sizing:border-box!important;background:transparent!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation.journal-navigation button[data-desktop-destination][aria-current=page]{border:1px solid #d9b869!important;background:linear-gradient(120deg,#5a4224,#332c28)!important;box-shadow:inset 0 1px #f5dca32b!important;color:#f5d78e!important}
/* Compact desktop/tablet tool dialog with stable, non-overlapping grid tracks. */
@media(min-width:761px){
html body #modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list){width:760px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;padding:0!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list) .modal-head{padding:14px 18px!important;min-height:0!important;gap:12px!important}
html body #modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list) .modal-head h2{font-size:28px!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list) .modal-body{padding:14px 18px 18px!important;min-width:0!important}
html body #modal#modal#modal#modal#modal#modal#modal .all-tools-heading{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 10px!important}
html body #modal#modal#modal#modal#modal#modal#modal .all-tools-heading p{font-size:13px!important;margin:0!important;line-height:1.4!important}
html body #modal#modal#modal#modal#modal#modal#modal #edit-shortcuts{min-height:36px!important;padding:7px 10px!important;font-size:13px!important;flex:none!important}
html body #modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list) label:has(#tool-search){margin:0 0 12px!important;gap:5px!important;font-size:13px!important}
html body #modal#modal#modal#modal#modal#modal#modal #tool-search{height:40px!important;min-height:40px!important;padding:8px 10px!important;font-size:14px!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list{gap:12px!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;min-width:0!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing]>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group>h3{font-size:19px!important;margin:0 0 7px!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]{display:flex!important;align-items:center!important;gap:8px!important;min-height:40px!important;height:auto!important;padding:6px 9px!important;min-width:0!important;max-width:100%!important;transform:none!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>:is(.tool-art,.thought-object,.writing-object,.live-icon,svg){width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;flex:0 0 28px!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>span{font-size:13px!important;line-height:1.3!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important}
}
@media(max-width:760px){
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important;min-width:0!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>:is(.tool-art,.thought-object,.writing-object,.live-icon,svg){display:block!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:28px!important;flex:0 0 26px!important;margin:0!important;grid-row:auto!important;grid-column:auto!important;align-self:center!important}
html body #modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>span{flex:0 1 auto!important;min-width:0!important;grid-row:auto!important;grid-column:auto!important;align-self:center!important;text-align:center!important;font-size:12px!important;line-height:1.3!important;margin:0!important;white-space:normal!important}
}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{background:#000!important;background-image:none!important;box-shadow:none!important}
html[data-lighting=night] body>.journal-navigation.journal-navigation.journal-navigation button[data-action]{border:1px solid #60616b!important;border-radius:12px!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night] body>.journal-navigation.journal-navigation.journal-navigation button[data-action] :is(svg,path,span){color:#f2ede4!important;stroke:currentColor!important;-webkit-text-fill-color:#f2ede4!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{background-image:var(--night-growth-art,var(--day-growth-art))!important}
/* Plain uses only the small eyelet drawn in its artwork, including phone pickers. */
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::before,
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::after{display:none!important;content:none!important;border:0!important;background:none!important;box-shadow:none!important}
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio .bookmark-style-options{grid-auto-rows:112px!important}
html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio .bookmark-style-options>button{height:112px!important;min-height:112px!important;max-height:112px!important;grid-template-rows:80px 20px!important;padding:4px!important;gap:2px!important}
html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio .bookmark-style-options>button>.sample-ribbon{width:68px!important;height:80px!important;min-height:80px!important;max-height:80px!important}
html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio .bookmark-style-options .bookmark-object-art{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
}
/* Keep one image source and remove its pale backdrop directly during dark-mode drawing. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{background-image:var(--day-growth-art)!important;filter:url(#habit-remove-light-background) drop-shadow(0 0 2px #e4d7ad99) drop-shadow(0 0 6px #c7d7af55)!important}
.habit-night-filter{position:absolute!important;width:0!important;height:0!important;pointer-events:none!important;overflow:hidden!important}
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options .sample-ribbon>svg.instant-plain-bookmark{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;position:static!important;transform:none!important;flex:none!important}
/* Highlighted night navigation keeps its border/fill without an extra underline. */
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation button[aria-current=page]::after{display:none!important;content:none!important}
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation button[aria-current=page]{text-decoration:none!important}
/* Tool icon/title pairs align to the left and share one vertical center on every device. */
html body #modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]{display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:8px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>span{align-self:center!important;flex:0 1 auto!important;line-height:1.3!important;text-align:left!important;margin:0!important;grid-row:auto!important;grid-column:auto!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]>:is(.tool-art,.thought-object,.writing-object,.live-icon,svg){display:block!important;align-self:center!important;grid-row:auto!important;grid-column:auto!important;margin:0!important;flex:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing] [data-tool-open=decision]:last-child:nth-child(odd){grid-column:1!important;justify-self:stretch!important;width:100%!important}
/* Phone identity fields share the form edges with a protected gap. */
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app#app .welcome-preferences-panel .split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:14px!important;row-gap:8px!important;width:100%!important;max-width:100%!important;margin-inline:0!important;align-items:end!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app .welcome-preferences-panel .split>label{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app .welcome-preferences-panel .split>label:first-child{justify-self:start!important;text-align:left!important}
html[data-setup] body #app#app#app#app#app#app#app#app .welcome-preferences-panel .split>label:last-child{justify-self:end!important;text-align:right!important}
html[data-setup] body #app#app#app#app#app#app#app#app .welcome-preferences-panel .split :is(input,select){display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important}
}
/* Bloom and Tree sit directly on the page, without a separate framed panel. */
html body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{background-image:var(--day-growth-art)!important;filter:url(#habit-remove-light-background)!important;box-shadow:none!important;border:0!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{filter:url(#habit-remove-light-background) drop-shadow(0 0 2px #e4d7ad99) drop-shadow(0 0 6px #c7d7af55)!important}
/* Allow the natural silhouette and glow beyond the illustration area. */
html body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{overflow:visible!important;clip-path:none!important}
html body #app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{clip-path:none!important}
/* Phone entry/date controls share exact tracks, including native mobile date inputs. */
@media(max-width:760px){
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:10px!important;align-items:end!important;width:100%!important;min-width:0!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>:is(label,[data-action=new]){width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;overflow:hidden!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials :is(#entry-date,[data-action=new]){display:block!important;width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;height:42px!important;block-size:42px!important;min-height:42px!important;max-height:42px!important;padding:8px!important;border-width:1px!important;box-sizing:border-box!important;line-height:24px!important;font-size:14px!important;-webkit-appearance:none!important;appearance:none!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] input[type=date]::-webkit-date-and-time-value{min-width:0!important;margin:0!important;padding:0!important;line-height:24px!important;text-align:center!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group>.history-top-controls{grid-column:1!important;grid-row:2!important;width:50%!important;max-width:180px!important;justify-self:end!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group>.fields{grid-column:1!important;grid-row:3!important;width:100%!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .history-tools-group>.history-filter-row{grid-column:1!important;grid-row:4!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] .history-date-filter{text-align:right!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=journal] #filter-date{display:block!important;min-inline-size:0!important;inline-size:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:8px!important;line-height:24px!important;box-sizing:border-box!important;-webkit-appearance:none!important;appearance:none!important}
}
/* Selected night navigation keeps gold fill with an iridescent border. */
html[data-lighting=night][data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation button[aria-current=page]{border:2px solid transparent!important;background:linear-gradient(120deg,#5a4224,#332c28) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#c58b9d,#fff0d1,#b98d39,#f1dba8,#85062f)) border-box!important;border-radius:12px!important}
html[data-lighting=night][data-view] body>nav.mobile-bottom-navigation.mobile-bottom-navigation>button[aria-current=page]{border:2px solid transparent!important;background:linear-gradient(#211e26,#211e26) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#c58b9d,#fff0d1,#b98d39,#f1dba8,#85062f)) border-box!important;border-radius:10px!important;box-sizing:border-box!important}
html[data-lighting=night][data-view][data-interior] body>nav.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]{border:2px solid transparent!important;background:linear-gradient(#211e26,#211e26) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#c58b9d,#fff0d1,#b98d39,#f1dba8,#85062f)) border-box!important;border-radius:10px!important;box-sizing:border-box!important}
html[data-lighting=night][data-view][data-interior] body>nav.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation>button[data-mobile-destination][aria-current=page]::after{display:none!important;content:none!important}
/* Desktop/tablet tools use one compact width, with the last writing choice centered. */
@media(min-width:761px){
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#all-tools-list){width:552px!important;max-width:calc(100vw - 32px)!important;--tool-choice-width:250px}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:512px!important;gap:12px!important;margin-inline:auto!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list [data-tool-open]{width:100%!important;min-width:0!important;max-width:var(--tool-choice-width)!important;padding:6px 9px!important;justify-self:stretch!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing] [data-tool-open=decision]:last-child:nth-child(odd){grid-column:1/-1!important;justify-self:center!important;width:calc((100% - 12px)/2)!important;max-width:var(--tool-choice-width)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal .all-tools-heading{gap:10px!important;align-items:center!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal .all-tools-heading p{flex:1!important;min-width:0!important}
}
@media(max-width:760px){
html[data-screen=home] body #app#app#app#app#app#app#app#app .home-book-studio .book-side-tools>button>:is(strong,b){font-family:'Atelier Display',Georgia,serif!important;font-size:16px!important;font-weight:500!important;line-height:1.2!important}
}
/* The final writing-tool button is centered; its contents stay left aligned. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing] [data-tool-open=decision]:last-child:nth-child(odd){grid-column:1/-1!important;justify-self:center!important;width:calc((100% - 7px)/2)!important;max-width:250px!important;justify-content:flex-start!important;text-align:left!important}
@media(min-width:761px){html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #all-tools-list .tool-group[data-tool-group=Writing] [data-tool-open=decision]:last-child:nth-child(odd){width:calc((100% - 12px)/2)!important}}
/* Habit date and progression share a stable row in every writing layout. */
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=habits] .fields:has(>#habit-date):has(>#scene){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:center!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=habits] .fields>:is(#habit-date,#scene){display:block!important;position:static!important;inset:auto!important;transform:none!important;translate:none!important;float:none!important;grid-row:1!important;align-self:center!important;margin:0!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;height:44px!important;block-size:44px!important;min-height:44px!important;max-height:44px!important;padding:9px 10px!important;line-height:24px!important;font-size:14px!important;-webkit-appearance:none!important;appearance:none!important}
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=habits] #habit-date{grid-column:1!important}
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=habits] #scene{grid-column:2!important}
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=mood] #mood-date{box-sizing:border-box!important;min-width:0!important;min-inline-size:0!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:9px 10px!important;line-height:24px!important;-webkit-appearance:none!important;appearance:none!important}
html body :is(#habit-date,#mood-date)::-webkit-date-and-time-value{min-width:0!important;margin:0!important;padding:0!important;line-height:24px!important}
html body :is(#habit-date,#mood-date)::-webkit-datetime-edit{padding:0!important;min-width:0!important;line-height:24px!important}
@media(min-width:761px) and (min-height:501px){
html body>header#descaxora-header#descaxora-header#descaxora-header#descaxora-header{position:relative!important}
html body>header#descaxora-header#descaxora-header#descaxora-header#descaxora-header>.banner-view-toggle{position:absolute!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;translate:none!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;width:max-content!important;max-width:calc(100% - 460px)!important;box-sizing:border-box!important}
}
@media(min-width:761px) and (max-width:950px) and (min-height:501px){
html body>header#descaxora-header#descaxora-header#descaxora-header#descaxora-header>.wordmark{max-width:220px!important;min-width:0!important}
html body>header#descaxora-header#descaxora-header#descaxora-header#descaxora-header>.banner-view-toggle>button{font-size:11px!important;padding:7px 8px!important;min-width:0!important}
}
html[data-view] body #app#app#app#app#app#app#app#app #page[data-layout=habits] select#scene{appearance:auto!important;-webkit-appearance:auto!important;padding-right:24px!important}
@media(min-width:761px) and (max-width:950px) and (min-height:501px){html body>header#descaxora-header#descaxora-header#descaxora-header#descaxora-header .brand-name small{white-space:nowrap!important;font-size:8px!important}}
@media(max-width:760px){
html body #modal#modal#modal#modal#modal#modal#modal#modal .drawn-note-actions{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;gap:8px!important;flex-wrap:wrap!important;padding-right:6px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal .drawn-note-actions>#draw-jar-again{position:static!important;max-width:100%!important;min-width:0!important;margin-left:auto!important;margin-right:8px!important;padding-inline:4px!important;gap:5px!important;box-sizing:border-box!important;transform:none!important}
}
@media(min-width:761px){
html body #modal#modal#modal#modal#modal#modal#modal#modal .drawn-note-actions{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding-right:6px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal .drawn-note-actions>#draw-jar-again{margin-right:8px!important;max-width:100%!important;box-sizing:border-box!important}
}
html body #modal#modal#modal#modal#modal#modal#modal#modal .capsule-open-actions>#capsule-archive{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:44px!important;min-height:44px!important;height:44px!important;max-width:100%!important;margin:0 8px 0 0!important;padding:8px!important;box-sizing:border-box!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:4px!important;color:var(--inside-accent,#85052f)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #capsule-archive .action-symbol{display:block!important;flex:none!important;width:26px!important;height:26px!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #capsule-archive>span{font-size:13px!important;line-height:1.3!important;white-space:nowrap!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal .capsule-open-actions>#capsule-archive{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important}
/* Clear labeled secondary buttons accompany Keep in journal. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal :is(#draw-jar-again,#capsule-archive){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;max-width:100%!important;min-height:44px!important;height:44px!important;padding:8px 11px!important;border:1px solid var(--theme-rule,var(--accent-edge,#c9a6b4))!important;border-radius:9px!important;background:var(--inside-paper,#fffdf8)!important;box-shadow:0 2px 4px #39202a0a!important;text-decoration:none!important;color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal :is(.drawn-note-actions,.capsule-open-actions)>.primary{height:44px!important;min-height:44px!important;box-sizing:border-box!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal :is(#draw-jar-again,#capsule-archive){background:#181818!important;border-color:#ad915b!important;color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important}

/* Phone Home: center collection labels in the same text column as writing shortcuts. */
@media(max-width:760px){
html[data-screen=home] body #app#app#app#app#app#app#app#app#app .home-book-studio .collection-side>button>b{justify-content:center!important;text-align:center!important}
html[data-screen=home] body #app#app#app#app#app#app#app#app#app .home-book-studio .collection-side>button.tool-jars>b{font-size:18px!important}
}

/* Keep history arrows legible on dark journal paper in every toolbar layout. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app .writing-format-toolbar button:is([data-format=undo],[data-format=redo]){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .writing-format-toolbar button:is([data-format=undo],[data-format=redo]) svg{color:#fff!important;stroke:#fff!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .writing-format-toolbar button:is([data-format=undo],[data-format=redo]):disabled{opacity:.55!important}
/* Match the softly rounded tablet navigation on desktop. */
@media(min-width:761px){
html body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation button{border-radius:12px!important;border-image:none!important}
html:not([data-lighting=night]) body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation button[aria-current=page]{border:2px solid transparent!important;background:linear-gradient(115deg,#fffaf0,#f7ecef 50%,#fff8e7) padding-box,var(--selection-iridescence) border-box!important}
}

/* Preserve pale pink petals instead of treating their brightness as background. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app .staged-growth[data-scene=Bloom] .progress-frame{filter:url(#habit-bloom-background) drop-shadow(0 0 2px #e4d7ad66) drop-shadow(0 0 6px #c7d7af44)!important}

/* Keep the rhythm action at the outer right edge on tablet and desktop. */
@media(min-width:761px){html[data-view] body #app#app#app#app#app#app#app#app .consistency-panel>.section-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;width:100%!important;gap:12px!important}html[data-view] body #app#app#app#app#app#app#app#app .consistency-panel>.section-head>[data-action=toggle-consistency]{margin-left:auto!important;flex:0 0 auto!important}}

/* Context editing belongs beside its explanation, without a separate button row. */
html body #app#app#app#app#app#app#app#app .mood-context>legend,html body #modal#modal#modal#modal#modal#modal#modal#modal .mood-context>legend{margin-bottom:4px!important}
html body #app#app#app#app#app#app#app#app .mood-context>.mood-context-caption,html body #modal#modal#modal#modal#modal#modal#modal#modal .mood-context>.mood-context-caption{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;margin:0 0 6px!important;text-align:left!important;line-height:1.35!important}
html body #app#app#app#app#app#app#app#app .mood-context-caption>button,html body #modal#modal#modal#modal#modal#modal#modal#modal .mood-context-caption>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:4px!important}

/* Empty mood history stays centered across writing layouts and devices. */
html body #app#app#app#app#app#app#app#app .feeling-beads>.mood-timeline-empty{display:block!important;flex:1 0 100%!important;grid-column:1 / -1!important;width:100%!important;box-sizing:border-box!important;text-align:center!important;margin-inline:0!important}

/* Concise task empty states use consistent alignment and dark-mode contrast. */
html body #app#app#app#app#app#app#app#app .task-empty{width:100%!important;box-sizing:border-box!important;text-align:center!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .task-empty{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}

/* Settings subpages share a compact return control beside Close. */
html body #modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.settings-back-arrow{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:8px!important;margin:0 6px 0 auto!important;color:inherit!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal .settings-back-arrow svg{width:22px!important;height:22px!important;stroke:currentColor!important}

/* Settings forms use compact fields and only reserve feedback space when needed. */
html body #modal#modal#modal#modal#modal#modal#modal#modal.settings-subpage{width:min(680px,calc(100vw - 24px))!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal.settings-subpage>.modal-body{padding:16px 18px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal.settings-subpage .modal-body>label{margin-block:8px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal.settings-subpage .settings-section{padding:0!important;margin-block:8px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin){width:min(560px,calc(100vw - 24px))!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .privacy-explanation{margin:0 0 10px!important;padding:0!important;gap:10px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .privacy-explanation h3{margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal :is(#screen-pin,#screen-pin-repeat){width:100%!important;max-width:240px!important;height:42px!important;min-height:42px!important;padding:8px 10px!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .pin-inputs{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:8px 0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .pin-inputs>label{flex:1 1 180px!important;min-width:0!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .dialog-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin:12px 0!important;padding:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .dialog-actions>button{margin:0!important;width:auto!important;min-height:40px!important;padding:8px 12px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal .pin-feedback:empty{display:none!important;margin:0!important;padding:0!important;border:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .privacy-shortcut{margin-top:14px!important;padding-top:10px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(#screen-pin) .privacy-shortcut p{margin:5px 0 0!important}

/* Familiar compact sign-in form with recovery beside the password workflow. */
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(:is(#cloud-login,#password-reset-form)){width:min(440px,calc(100vw - 24px))!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal:has(:is(#cloud-login,#password-reset-form)) .modal-body{padding:18px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal :is(#cloud-login,#password-reset-form)>label{display:block!important;margin:0 0 12px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal :is(#cloud-login,#password-reset-form) input{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:44px!important;min-height:44px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal .login-recovery-link{display:flex!important;justify-content:flex-end!important;margin:-4px 0 14px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #cloud-reset{padding:5px 0!important;min-height:30px!important;background:transparent!important;border:0!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:3px!important;color:inherit!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal #cloud-login .toolbar{margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal :is(#cloud-login,#password-reset-form) button[type=submit]{width:100%!important;min-height:44px!important}

/* Bloom and Tree show only the current stage, with no ghosted crossfade. */
html body #app#app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{transition:none!important;animation:none!important}

/* A task checks once on interaction; reordering restores a settled checkmark. */
html body #app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-check-stroke.checked{animation:none!important;stroke-dashoffset:0!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-finishing.done .task-check-stroke.checked{animation:draw-check .45s ease both!important}
html body #app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-finishing.done .task-text{ text-decoration:line-through!important;text-decoration-thickness:2px!important}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-finishing.done .task-check-stroke.checked{animation:none!important}}

/* Home notices retain readable text and line icons on dark backgrounds. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app .home-notice-area>.capsule-home-reminder{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .home-notice-area>.capsule-home-reminder>:is(span,b):not(.home-capsule-envelope){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .home-notice-kind-icon :is(svg,g,path){color:#fff!important;stroke:#fff!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .home-notice-kind-icon .icon-halo{stroke:none!important;fill:transparent!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app .home-notice-area>.all-notices-link{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important;opacity:1!important}

/* Navigation line icons stay unboxed in dark mode, including Learning and Dreams. */
html[data-lighting=night] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation .icon-halo,
html[data-lighting=night] body>nav.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation .icon-halo{display:none!important;fill:none!important;stroke:none!important}
html[data-lighting=night] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation :is(.live-icon,.interface-icon),
html[data-lighting=night] body>nav.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation.mobile-bottom-navigation :is(.live-icon,.interface-icon){background:transparent!important;background-image:none!important;box-shadow:none!important}

/* Settings uses a neutral black surface in dark mode rather than blue panels. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal:is(.settings-subpage,:has(#settings-search)),
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal:is(.settings-subpage,:has(#settings-search)) :is(.modal-head,.modal-body,.settings-list,.settings-section,.account-management,.privacy-explanation,.backup-hero,.backup-grid>section,.recovery-key-note){background:#121212!important;background-image:none!important;color:#f5f2ee!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal:is(.settings-subpage,:has(#settings-search)) :is(input:not([type=checkbox]):not([type=range]):not([type=radio]),select,textarea){background:#090909!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#777078!important}

/* Dark mode panels blend into the page instead of adding navy rectangles. */
html[data-lighting=night]{--night-surface:#121212!important;--night-raised:#181818!important;--night-panel:#121212!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app #page :is(.care-page-heading,.care-section-tabs,.care-view-switch,.care-history,.care-history-row,.compact-habit-streaks,.consistency-panel,.insight-panel,.mood-overview,.feeling-timeline,.mood-context-insight,.mood-checkin-details,.habit-month-view,.task-view-nav,.journal-controls,.entry-composer,.threads-panel,.dashboard-reminder-center,.settings-section){background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal :is(.modal-head,.modal-body,.tool-card,.jar-draw-result,.jar-details-panel,.jar-note-panel,.jar-create-panel,.capsule-intro,.capsule-list,.reflection-deck,.collection-editor-overlay,.settings-list){background:#121212!important;background-image:none!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]),
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}

/* Deep red Bloom petals share the same cutout in light and dark views. */
html body #app#app#app#app#app#app#app#app#app#app#app#app .staged-growth[data-scene=Bloom] .progress-frame{filter:url(#habit-bloom-background)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .staged-growth[data-scene=Bloom] .progress-frame{filter:url(#habit-bloom-background) drop-shadow(0 0 2px #e4d7ad44) drop-shadow(0 0 5px #c7d7af33)!important}

/* Overview sections sit on the page without separate navy panel boxes. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=overview] :is(.dashboard-intro,.dashboard-title,.dashboard-period,.dashboard-range,.dashboard-details,.dashboard-chart-panel,.dashboard-bottom-pair,.dashboard-reflection-invitation,.dashboard-reminder-center,.dashboard-reflect){background:transparent!important;background-image:none!important;box-shadow:none!important;border-color:transparent!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=overview] .clear-dashboard-cards>.dash-card{background:#161616!important;background-image:none!important}

/* Shared dark surfaces: neutral black throughout the journal, on every breakpoint. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app{--night-surface:#121212;--night-raised:#181818;--inside-paper:#121212;--swoop-paper:#121212}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app :is(#page,.page-spread,.spread-page,.page-left,.page-right,.task-workspace-main,.task-workspace-summary,.history,.composer-heading,.writing-input-heading){background-color:#121212!important;background-image:none!important;--inside-paper:#121212!important;--swoop-paper:#121212!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app :is(.prompt-card,.daily-inspiration,.mood-context,.entry-threads-options,.entry-more-actions,.next-task,.dashboard-reminder-center,.reminder-summary,.care-history,.consistency-panel,.release-room,.tool-card,.library-item,.template-card,.prompt-library-card){background:transparent!important;background-image:none!important;box-shadow:none!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app :is(.consistency-scores>div,.task-totals>div,.task-metric,.dash-card,.daily-stat){background:#181818!important;background-image:none!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app :is(input:not([type=color]):not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background-color:#090909!important;color:#f5f2ee!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .welcome-replay{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;color:#f4e7c7!important;-webkit-text-fill-color:#f4e7c7!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .welcome-replay::before,html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .welcome-replay::after{background:none!important;box-shadow:none!important}

/* One inspiration entry point for Home on every device. */
html body #app#app#app#app#app#app#app#app#app#app#app#app .home-inspiration-link{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;max-width:100%!important;min-height:36px!important;padding:5px 0!important;margin:6px 0 0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--inside-accent,#85052f)!important;font-size:13px!important;line-height:1.4!important;cursor:pointer!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app .home-inspiration-link>span:nth-child(2){text-decoration:underline!important;text-underline-offset:4px!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app .home-inspiration-link{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal){width:min(500px,calc(100vw - 24px))!important}
.inspiration-reveal{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:14px 8px 24px}
.inspiration-reveal p{font-family:'Atelier Display',Georgia,serif;font-size:clamp(22px,4vw,30px);line-height:1.5;position:relative;margin:12px 0;animation:inspiration-arrive 1.1s ease both}
.inspiration-spark{display:block;color:#b38b3f;font-size:30px;animation:inspiration-arrive .7s ease both}
.inspiration-reveal::after{content:'';pointer-events:none;position:absolute;inset:0;z-index:2;background:linear-gradient(110deg,transparent 30%,#efd78b33 47%,#fff4d966 50%,transparent 65%);transform:translateX(-120%);animation:inspiration-sweep 2s .2s ease-in-out both}
@keyframes inspiration-arrive{from{opacity:0;transform:translateY(10px);clip-path:inset(0 100% 0 0)}to{opacity:1;transform:translateY(0);clip-path:inset(0)}}
@keyframes inspiration-sweep{to{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){.inspiration-reveal p,.inspiration-spark{animation:none!important}.inspiration-reveal::after{display:none!important}}

/* Inspiration stays just above Home notices in every view. */
html body #app#app#app#app#app#app#app#app#app#app#app#app .home-inspiration-entry{display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1 / -1!important;width:100%!important;min-width:0!important;margin:4px 0 6px!important;padding:0!important;background:transparent!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app .home-inspiration-entry .home-inspiration-link{margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal){width:min(520px,calc(100vw - 24px))!important;max-height:calc(100dvh - 32px)!important;color:var(--inside-text,#422e32)!important;border:1px solid var(--inside-rule,var(--accent-edge,#c5a36b))!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal) :is(.modal-head,.modal-body){background:var(--inside-paper,#fffdf8)!important;background-image:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal) .modal-head h2{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-reveal{--inspiration-glow:color-mix(in srgb,var(--inside-accent,#b38b3f) 16%,transparent);padding:22px 12px 30px!important;text-align:center!important;background:radial-gradient(ellipse at 50% 110%,var(--inspiration-glow),transparent 67%)!important;border-radius:16px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-message{margin:8px 0 20px!important;color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;font-family:'Atelier Display',Georgia,serif!important;font-size:clamp(23px,4vw,30px)!important;line-height:1.55!important;animation:none!important;overflow-wrap:anywhere!important}
.inspiration-word{display:inline-block;white-space:nowrap;max-width:100%}
.inspiration-letter{display:inline-block;animation:inspiration-letter-in .32s ease both;animation-delay:var(--reveal-delay)}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-original{display:block!important;font-size:11px!important;letter-spacing:.09em!important;color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;opacity:.8!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-reveal::after{background:linear-gradient(110deg,transparent 30%,var(--inspiration-glow) 46%,#fff7df55 50%,transparent 65%)!important;animation:inspiration-calm-light 7s 2.8s ease-in-out infinite!important;transform:translateX(-120%)}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal) :is(.modal-head,.modal-body){background:#121212!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-message,html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .inspiration-original,html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.inspiration-reveal) .modal-head h2{color:var(--night-accent-text,#f0d69c)!important;-webkit-text-fill-color:var(--night-accent-text,#f0d69c)!important}
@keyframes inspiration-letter-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes inspiration-calm-light{0%{transform:translateX(-120%)}28%,100%{transform:translateX(120%)}}
@media(prefers-reduced-motion:reduce){.inspiration-letter{animation:none!important}.inspiration-reveal::after{display:none!important}}

/* Plain has one drawn eyelet; retire the old CSS punch-hole and top notch. */
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon{mask:none!important;-webkit-mask:none!important;mask-image:none!important;-webkit-mask-image:none!important;clip-path:none!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::before,
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Stitched leather"] .sample-ribbon::after{content:none!important;display:none!important}
@media(min-width:761px){
/* Remove inherited ribbon padding so the three fabric samples fill the same art slot as the other styles. */
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options :is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"],[data-bookmark-style="Braided cord"])>.sample-ribbon{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:68px!important;height:80px!important;min-height:80px!important;max-height:80px!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important;border:0!important;clip-path:none!important;mask:none!important;-webkit-mask:none!important;overflow:visible!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options :is([data-bookmark-style="Stitched leather"],[data-bookmark-style="Woven ribbon"],[data-bookmark-style="Braided cord"])>.sample-ribbon>svg{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;flex:none!important}
}

/* Bloom needs no pale drop-shadow around the petals or below the soil. */
html[data-lighting] body #app#app#app#app#app#app#app#app#app#app#app#app#app .staged-growth[data-scene=Bloom] .progress-frame{filter:url(#habit-bloom-background)!important;box-shadow:none!important}

@media(min-width:761px){
/* All bookmark artwork uses the same unpadded art slot on tablet and desktop. */
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options>button>.sample-ribbon:has(>.bookmark-object-art){display:flex!important;align-items:center!important;justify-content:center!important;width:68px!important;height:80px!important;min-height:80px!important;max-height:80px!important;padding:0!important;margin:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;border:0!important;clip-path:none!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Rose stem"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.43px,0.03px) scale(0.9683)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Character clip"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.15px,0.03px) scale(0.9722)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Antique key"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.00px,0.02px) scale(0.9548)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Dragon"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.87px,0.00px) scale(0.9587)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Celestial crescent"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(-1.24px,0.25px) scale(0.9715)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Sculpted feather"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.21px,0.03px) scale(0.9853)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Jeweled sword"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(1.22px,0.03px) scale(0.9761)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Pressed flowers"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(-3.03px,-0.39px) scale(0.9960)!important;transform-origin:center!important}
html body :is(#app#app#app#app#app#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal) .bookmark-style-options [data-bookmark-style="Climbing ivy"] .bookmark-object-art{width:68px!important;height:80px!important;max-width:68px!important;max-height:80px!important;object-fit:contain!important;object-position:center!important;transform:translate(0.05px,0.18px) scale(0.9633)!important;transform-origin:center!important}
}

/* Bookmark color circles have their own space, including long topic names. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-category-choice{position:relative!important;min-width:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-category-choice:has(.bookmark-inline-color)>button{width:100%!important;box-sizing:border-box!important;padding-right:64px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-inline-color{right:12px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;margin:0!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app .ribbon-color-choice{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;gap:14px!important;min-width:0!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app .ribbon-color-choice>.ribbon-color-identity{min-width:0!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app .ribbon-color-choice>[data-welcome-ribbon]{position:static!important;margin:0!important;justify-self:end!important;transform:none!important}

/* Choose colors: each bookmark name sits above its color circle in every view. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .custom-ribbon-inputs>.ribbon-color-choice{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-width:0!important;padding:12px!important;text-align:center!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .custom-ribbon-inputs .ribbon-color-identity{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;width:100%!important;max-width:100%!important;text-align:center!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .custom-ribbon-inputs .ribbon-color-identity b{min-width:0!important;overflow-wrap:anywhere!important;line-height:1.3!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .custom-ribbon-inputs .ribbon-color-choice>[data-welcome-ribbon]{position:static!important;display:block!important;flex:0 0 36px!important;align-self:center!important;width:36px!important;height:36px!important;margin:0!important;transform:none!important}

/* Bookmark titles remain on one line where they fit, wrapping only within their own tab. */
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs{column-gap:8px!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-go]{min-width:0!important;box-sizing:border-box!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-go]>span.bookmark-label{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;left:50%!important;right:auto!important;width:calc(100% - 4px)!important;max-width:calc(100% - 4px)!important;height:auto!important;min-height:30px!important;padding:5px 3px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;text-align:center!important;line-height:1.15!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-go]>span.bookmark-label::after{max-width:100%!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app :is(.ribbon-color-identity b,.bookmark-card-controls h3,.bookmark-sample-caption strong,.bookmark-category-choice button b){white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;min-width:0!important;max-width:100%!important}
@media(max-width:760px){html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-go]>span.bookmark-label{font-size:11px!important;min-height:30px!important;padding:4px 3px!important}}

/* Notices are static siblings above the book, never tilted entry animations. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-notice-area{position:static!important;inset:auto!important;transform:none!important;translate:none!important;rotate:none!important;animation:none!important;transition:none!important;perspective:none!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-notice-area>.capsule-home-reminder{position:static!important;inset:auto!important;transform:none!important;translate:none!important;rotate:none!important;animation:none!important;transition:none!important}
/* Every Choose colors label has a separate title row above its circle. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label{display:grid!important;grid-template-rows:minmax(min-content,1fr) 36px!important;justify-items:center!important;align-items:center!important;align-self:stretch!important;height:auto!important;min-width:0!important;gap:8px!important;margin:0!important;padding:0 3px!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label>span{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;white-space:normal!important;overflow-wrap:break-word!important;line-height:1.3!important;text-align:center!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-preview-color-fields>label>input{position:static!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;transform:none!important}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-style-picker>h3{display:block!important;text-align:center!important;width:100%!important;margin-inline:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-preview-colors>.two-choice-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;margin:8px auto 12px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-preview-colors>.two-choice-row>button{flex:0 1 140px!important;min-width:0!important;max-width:calc(50% - 5px)!important;text-align:center!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-style-picker>.bookmark-preview-colors>:is(h3,p){display:none!important}
/* The actual step-two footer uses data-guide-next, not data-next-bookmark. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .guided-setup-actions.book-preview-actions{position:static!important;inset:auto!important;display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;max-width:calc(100vw - 48px)!important;min-width:0!important;margin:12px auto 8px!important;padding:0!important;gap:10px!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app .book-preview-actions>[data-guide-next]{position:static!important;right:auto!important;transform:none!important;translate:none!important;box-sizing:border-box!important;flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 120px)!important;margin:0!important;padding:9px 10px!important;font-size:12px!important;white-space:normal!important;line-height:1.25!important}
}

/* Keep every journal bookmark label centered inside its own tab. */
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-go]>span.bookmark-label{left:50%!important;right:auto!important;transform:translateX(-50%)!important;text-align:center!important;justify-content:center!important;align-items:center!important;margin-inline:0!important}
/* Compact installation page: app identity, a clear direction arrow, and only the steps. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.install-guide){width:min(540px,calc(100vw - 24px))!important;max-height:calc(100dvh - 32px)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.install-guide) .modal-body{padding:16px 20px!important}
.install-summary{margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid var(--accent-edge,#d9c9b5);text-align:center;background:transparent;border-radius:0;box-shadow:none}
.install-icon-flow{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 10px;color:var(--inside-accent,#85052f)}
.install-app-icon{display:block;width:56px;height:56px;object-fit:contain;border-radius:12px}
.install-direction{width:28px;height:28px;flex:none}
.install-home-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:64px;height:88px;border:1.5px solid currentColor;border-radius:11px;box-sizing:border-box;padding:9px 4px}
.install-home-screen img{width:33px;height:33px;border-radius:7px;object-fit:contain}
.install-home-screen small{font-size:8px!important;line-height:1.2}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-summary>h3{font-size:22px!important;line-height:1.3!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-steps>section{margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-steps h3{font-size:18px!important;line-height:1.3!important;margin:0 0 4px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-steps p{font-size:13px!important;line-height:1.5!important;margin:0!important}
html[data-lighting=night] .install-icon-flow{color:#f0d69c}

/* A recognizable home-screen demonstration uses the approved satin app icon. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-icon-flow{gap:20px!important;margin:0 0 14px!important;padding:2px 0!important}
.install-icon-flow>.install-app-icon{width:68px;height:68px;border-radius:15px;filter:drop-shadow(0 3px 4px #38102522)}
.install-icon-flow>.install-direction{width:34px;height:34px}
.install-icon-flow>.install-home-screen{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;width:100px;height:166px;padding:16px 8px 12px;border:3px solid #393137;border-radius:19px;background:radial-gradient(ellipse at 90% 85%,#dbc58d70,transparent 65%),linear-gradient(150deg,#f8ece9,#efe3cd);box-shadow:inset 0 0 0 1px #fff7,0 4px 7px #36202a18;overflow:hidden;color:#542635}
.install-home-screen::before{content:'';position:absolute;top:5px;left:50%;transform:translateX(-50%);width:27px;height:4px;border-radius:4px;background:#393137}
.install-home-screen::after{content:'';position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:30px;height:3px;border-radius:4px;background:#393137}
.install-phone-time{font-family:Arial,sans-serif;font-size:9px;line-height:1.2;align-self:flex-start;font-weight:600}
.install-phone-app{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.install-home-screen .install-phone-app img{display:block;width:42px;height:42px;border-radius:10px;object-fit:contain}
.install-home-screen .install-phone-app small{font-family:Arial,sans-serif;font-size:8px!important;color:#542635!important;-webkit-text-fill-color:#542635!important;line-height:1.2}
.install-phone-dock{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:auto;padding:7px 3px;border-radius:10px;background:#ffffff60}
.install-phone-dock i{display:block;width:14px;height:14px;border-radius:4px;background:#b5a38d}
html[data-lighting=night] .install-icon-flow>.install-home-screen{border-color:#bfa575;background:radial-gradient(ellipse at 90% 85%,#a77b332e,transparent 65%),linear-gradient(150deg,#301c25,#171313);color:#f0d69c}
html[data-lighting=night] .install-home-screen::before,html[data-lighting=night] .install-home-screen::after{background:#bfa575}
html[data-lighting=night] .install-home-screen .install-phone-app small{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important}
html[data-lighting=night] .install-phone-dock{background:#ffffff0c}
html[data-lighting=night] .install-phone-dock i{background:#7d665b}

/* Transparent botanical sprites: no runtime color extraction or clipped canopies. */
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree]) .progress-frame{filter:none!important;box-shadow:none!important;background-image:var(--day-growth-art)!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .staged-growth:is([data-scene=Bloom],[data-scene=Tree])>.progress-art{background:transparent!important;box-shadow:none!important;overflow:visible!important;border:0!important}
@media(min-width:761px){
html[data-view] body>.journal-navigation.journal-navigation.journal-navigation{overflow:visible!important;bottom:0!important;min-height:0!important;padding-block:8px!important;gap:4px!important;box-sizing:border-box!important}
html[data-view] body>.journal-navigation .navigation-heading{flex:0 0 36px!important;min-height:0!important;height:36px!important;margin:0!important;padding:0 0 4px!important}
html[data-view] body>.journal-navigation .navigation-heading button{height:32px!important;min-height:0!important;width:36px!important;padding:5px!important}
html[data-view] body>.journal-navigation>nav{display:grid!important;grid-template-rows:repeat(var(--navigation-page-count,9),minmax(0,1fr))!important;flex:var(--navigation-page-count,9) 1 0!important;min-height:0!important;gap:4px!important;overflow:visible!important}
html[data-view] body>.journal-navigation .navigation-tools{display:grid!important;grid-template-rows:auto repeat(3,minmax(0,1fr))!important;flex:3 1 0!important;min-height:0!important;gap:4px!important;padding-top:6px!important;margin-top:4px!important}
html[data-view] body>.journal-navigation .navigation-group-label{margin:0 8px!important;font-size:9px!important;line-height:12px!important}
html[data-view] body>.journal-navigation.journal-navigation :is(nav,.navigation-tools)>button{height:100%!important;min-height:0!important;max-height:50px!important;padding:3px 9px!important;box-sizing:border-box!important;align-self:stretch!important}
html[data-navigation=compact] body>.journal-navigation .navigation-tools{grid-template-rows:repeat(3,minmax(0,1fr))!important}
}
/* Desktop bookmark editor: two balanced rows, controls stay inside the panel. */
@media(min-width:1200px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-self:start!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover-body{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:12px 16px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-style-options{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:112px!important;gap:6px!important;max-height:none!important;overflow:visible!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-style-picker>h3{margin:0 0 8px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors{margin-top:8px!important;padding:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-finish-note{display:none!important}
}
/* Habit streak controls stay at the right; recent-action arrows never enter habits. */
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=habits] .phone-history-controls{display:none!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=habits] .consistency-panel>.section-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;width:100%!important;gap:12px!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=habits] .consistency-panel>.section-head>[data-action=toggle-consistency]{grid-column:2!important;justify-self:end!important;margin:0!important;width:auto!important}

/* Plain navigation expander; fitting the rail does not add button decoration. */
html[data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation .navigation-heading{border-bottom:0!important;box-shadow:none!important;background:transparent!important}
html[data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation [data-collapse-navigation]{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;text-decoration:none!important;transform:none!important}
html[data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation [data-collapse-navigation]::before,
html[data-view] body>.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation.journal-navigation [data-collapse-navigation]::after{content:none!important;display:none!important}
html[data-view] body>.journal-navigation [data-collapse-navigation]:focus-visible{outline:2px solid currentColor!important;outline-offset:2px!important}
/* Account sign-in: clear spacing between primary, account and guest actions. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) .modal-head{padding:16px 18px!important;gap:12px!important;align-items:center!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) .modal-head>[data-action=close]{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:3px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) #cloud-login .toolbar{padding:0!important;margin:18px 0 0!important;border:0!important;display:block!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) #cloud-feedback:empty{display:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) .modal-body>p:has(#cloud-mode){display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 12px!important;margin:18px 0!important;line-height:1.5!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) #cloud-mode{margin:0!important;min-height:40px!important;padding:8px 12px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) .guest-login-option{margin:0!important;padding:16px 0!important;align-items:center!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(#cloud-login) .modal-body>small:last-child{display:block!important;margin:4px 0 0!important;line-height:1.5!important}
/* Live audit: page surface hides the bookmark tails; nested panels remain plain. */
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>#page{background:#121212!important;background-image:none!important}
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app :is(#page,.home-hero) :is(h1,h2,h3,h4){color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important;background:none!important;text-shadow:none!important}
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page :is(.care-section-tabs,.task-view-nav)>button:not([aria-pressed=true]){color:#f0e8dc!important;-webkit-text-fill-color:#f0e8dc!important}
@media(min-width:761px) and (max-width:1199px){
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page:is([data-layout=habits],[data-layout=mood])>.care-page-heading{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:14px 18px!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .care-page-heading>.care-navigation{justify-self:center!important;max-width:100%!important;width:280px!important}
}
/* Desktop bookmark colors share one compact row; preview fits the same screen. */
@media(min-width:1200px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface{height:clamp(280px,calc(100dvh - 440px),540px)!important;min-height:0!important;max-height:calc(100dvh - 340px)!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors>:is(h3,p){display:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors>.two-choice-row{flex:0 1 220px!important;margin:0!important;gap:6px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-color-fields{flex:1 1 260px!important;width:auto!important;margin:0!important;padding:0!important}
}
html[data-lighting=night][data-screen=home] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app :is(.home-experiences,.home-studio,.home-book-studio,.home-collections) :is(strong,b,h3){color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important}
/* Final visual pass: neutral collection rows and readable dashboard figures. */
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=overview] .dash-card>strong{color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important}
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=overview] .dash-card>strong>small{color:#f5f0e8!important;-webkit-text-fill-color:#f5f0e8!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal :is(.capsule-envelope,.library-manager-item,.jar-editor,.jar-editor-card,.jar-settings-card,.jar-note-form,.reminder-group,.backup-grid>section){background:#121212!important;background-image:none!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #draw-card{color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important}
@media(min-width:761px) and (max-width:1199px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-style-options{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
}
@media(max-width:760px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover-heading{position:relative!important;min-height:44px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover-heading>h2{position:absolute!important;left:50%!important;transform:translateX(-50%)!important;text-align:center!important;width:max-content!important;max-width:calc(100% - 110px)!important;margin:0!important;font-size:22px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-popover-heading>.design-history-controls{margin-left:auto!important}
}
/* Stable task summary columns and centered empty messages. */
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-summary-empty{text-align:center!important;color:var(--muted)!important;margin:16px 0!important}
@media(min-width:761px){
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks]>.task-workspace-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 20px!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-workspace-summary>.upcoming-group{grid-column:1!important}
html[data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-workspace-summary>.completed-group{grid-column:2!important}
}
/* Neutral shared surfaces across all dark layouts. */
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app :is(article.notebook,#page,.spread-page,.task-workspace-summary,.task-workspace-main,.task-totals,.task-summary-group,.care-navigation,.care-history,.insight-panel,.compact-habit-streaks,.dashboard-heading,.dashboard-period,.dashboard-range,.dashboard-reminder-center,.dashboard-intro,.dashboard-details,.clear-dashboard-cards,.journal-panel,.mood-insight-column){background:transparent!important;background-image:none!important;box-shadow:none!important;--inside-paper:#121212;--swoop-paper:#121212}

/* Audit: readable dark history, entry actions and habit metrics. */
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page :is(.journal-mobile-views,.care-view-switch)>button:not([aria-pressed=true]){color:#f0e8dc!important;-webkit-text-fill-color:#f0e8dc!important;background:transparent!important;background-image:none!important}
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page .consistency-scores :is(strong,i,svg){color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important}
html[data-lighting=night][data-view] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page :is(.entry-mode-picker button,.writing-help-row button,.quick-task-form button):not(.primary):not([aria-pressed=true]){background:#181818!important;background-image:none!important;color:#f5f0e8!important;-webkit-text-fill-color:#f5f0e8!important}

/* Color mode choices precede the gallery in every viewport. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-color-mode-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;margin:0 auto 12px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-color-mode-row>button{flex:0 1 150px!important;min-width:0!important;max-width:calc(50% - 5px)!important;margin:0!important;text-align:center!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors{display:block!important;width:100%!important;margin:12px 0 0!important;padding:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors>:is(h3,p){display:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-colors:not(:has(.bookmark-preview-color-fields)){display:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .bookmark-preview-color-fields{display:grid!important;width:100%!important;grid-template-columns:repeat(var(--bookmark-color-count,5),minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important}
@media(min-width:761px){
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true]){height:clamp(460px,calc(100dvh - 300px),720px)!important;min-height:460px!important;max-height:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface:has(>.bookmark-inbook-toggle[aria-pressed=true])>.direct-ribbon-preview{height:100%!important;min-height:0!important;max-height:none!important}
}

/* Surprise actions are centered as a group; back cards carry the crowned DX. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .surprise-card>.toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .surprise-card>.toolbar>button{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .deck-back-card{display:grid!important;place-items:center!important;background-image:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .deck-back-card>.dx-crown-mark{display:block!important;width:clamp(72px,20vw,108px)!important;height:auto!important;aspect-ratio:40/44!important;opacity:.32!important;pointer-events:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .deck-back-card>.dx-crown-mark>svg{display:block!important;width:100%!important;height:100%!important}

@media(max-width:760px){
/* Anchor every setup + to the same trailing inset, independent of label width. */
html body #app .direct-studio .direct-hotspots>button.edit-point{padding-inline:10px 34px!important;justify-content:center!important}
html body #app .direct-studio .direct-hotspots>button.edit-point>i{position:absolute!important;right:9px!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;margin:0!important;display:grid!important;place-items:center!important;flex-shrink:0!important}

}
/* Final review: keep navigation below the preview with clear edge space. */
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .guided-setup-actions{position:static!important;inset:auto!important;transform:none!important;translate:none!important;display:flex!important;grid-column:1/-1!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:12px 16px!important;margin:12px 0 0!important;gap:16px!important;clear:both!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .guided-setup-actions>button{position:static!important;inset:auto!important;transform:none!important;margin:0!important;min-width:0!important;max-width:calc(100% - 96px)!important;flex:0 1 auto!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .guided-setup-actions>[data-guide-back]{margin-right:auto!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .guided-setup-actions>[data-guide-next]{margin-left:auto!important}}

/* Keep all phone detail badges in one trailing column. */
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app .direct-studio .direct-hotspots>button.edit-point{position:relative!important;inset:auto!important;width:100%!important;box-sizing:border-box!important;padding:5px 32px 5px 8px!important;justify-content:center!important}html[data-setup] body #app#app#app#app#app#app .direct-studio .direct-hotspots>button.edit-point>i{position:absolute!important;inset:auto!important;right:9px!important;top:50%!important;transform:translateY(-50%)!important;translate:none!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important}}

/* Accessory tiles reserve separate image and caption rows. */
html body #app#app#app#app#app#app#app .direct-studio[data-target=shelf] .shelf-decor-options>button:is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]){display:grid!important;grid-template-rows:76px auto!important;justify-items:center!important;align-content:center!important;align-items:center!important;gap:10px!important;height:auto!important;min-height:122px!important;max-height:none!important;padding:10px 8px!important;box-sizing:border-box!important}html body #app#app#app#app#app#app#app .direct-studio[data-target=shelf] :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:76px!important;min-height:76px!important;transform:none!important;overflow:hidden!important}html body #app#app#app#app#app#app#app .direct-studio[data-target=shelf] :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art .shelf-decor{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:90px!important;height:76px!important;max-height:76px!important;margin:0!important;transform:none!important}html body #app#app#app#app#app#app#app .direct-studio[data-target=shelf] :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}html body #app#app#app#app#app#app#app .direct-studio[data-target=shelf] .shelf-decor-options>button:is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"])>b{position:static!important;inset:auto!important;margin:0!important;transform:none!important;text-align:center!important;line-height:1.3!important;width:100%!important}html body #modal#modal#modal#modal#modal#modal#modal .shelf-accessory-chooser .shelf-decor-options>button:is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]){display:grid!important;grid-template-rows:76px auto!important;justify-items:center!important;align-content:center!important;align-items:center!important;gap:10px!important;height:auto!important;min-height:122px!important;max-height:none!important;padding:10px 8px!important;box-sizing:border-box!important}html body #modal#modal#modal#modal#modal#modal#modal .shelf-accessory-chooser :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:76px!important;min-height:76px!important;transform:none!important;overflow:hidden!important}html body #modal#modal#modal#modal#modal#modal#modal .shelf-accessory-chooser :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art .shelf-decor{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:90px!important;height:76px!important;max-height:76px!important;margin:0!important;transform:none!important}html body #modal#modal#modal#modal#modal#modal#modal .shelf-accessory-chooser :is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"]) .decor-choice-art img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}html body #modal#modal#modal#modal#modal#modal#modal .shelf-accessory-chooser .shelf-decor-options>button:is([data-shelf-decor="Plant"],[data-shelf-decor="Pen cup"],[data-shelf-decor="Little Muse"])>b{position:static!important;inset:auto!important;margin:0!important;transform:none!important;text-align:center!important;line-height:1.3!important;width:100%!important}

/* Peach artwork has less transparent padding: match the other cover bodies. */


/* Desktop/tablet reflection actions match the approved phone buttons. */
@media(min-width:761px){html body #modal#modal#modal#modal#modal#modal#modal .toolbar:has(>#draw-card){display:flex!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;flex-wrap:wrap!important}html body #modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:10px 14px!important;border:1px solid var(--accent-edge,#d9c5ce)!important;border-radius:10px!important;background:var(--inside-paper,#fffdfb)!important;box-shadow:0 2px 4px #0000000d!important;font-size:inherit!important}html body #modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button>span{display:inline!important;position:static!important;white-space:nowrap!important}html body #modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button>svg{width:24px!important;height:24px!important;flex:0 0 24px!important}}

/* Keep the moving reading face opaque and above the waiting-card branding. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack{isolation:isolate!important;transform-style:flat!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card{opacity:1!important;z-index:3;backface-visibility:hidden!important;background-color:var(--inside-paper,#fff)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card.card-returning{animation:deck-opaque-tuck 1.4s cubic-bezier(.35,.1,.25,1) both!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card.card-arriving{animation:deck-opaque-reveal .65s ease-out both!important}
@keyframes deck-opaque-tuck{0%{transform:translate(0,0) rotate(-1deg);z-index:3}35%{transform:translate(72%,-9%) rotate(8deg);z-index:3}55%{transform:translate(105%,1%) rotate(7deg);z-index:-1}100%{transform:translate(9px,10px) rotate(-1deg);z-index:-1}}
@keyframes deck-opaque-reveal{from{transform:translate(5px,5px) rotate(-1deg)}to{transform:translate(0,0) rotate(-1deg)}}
@media(prefers-reduced-motion:reduce){html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card:is(.card-returning,.card-arriving){animation:none!important}}

/* Drawn jar notes share capsule paper, with actions outside the note. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result:not([hidden]){width:100%!important;max-width:540px!important;min-height:0!important;height:auto!important;margin:16px auto 8px!important;padding:0!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper.open-letter{width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:16px 18px!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper #drawn-note-text{min-height:0!important;margin:12px 0!important;padding:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper #drawn-note-date{display:block!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result .drawn-note-actions{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;width:100%!important;padding:0!important;margin:12px 0 0!important;gap:10px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result .drawn-note-actions>button{position:static!important;margin:0!important;flex:0 1 auto!important}

/* Jar paper contains only the message; actions share one consistent height. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper>:is(div,#drawn-note-date){display:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-drawn-paper #drawn-note-text{margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result .drawn-note-actions>button{height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result .drawn-note-actions>#toss-drawn-note{width:44px!important;min-width:44px!important;max-width:44px!important;padding:10px!important;flex:0 0 44px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-draw-result .drawn-note-actions>#toss-drawn-note svg{width:24px!important;height:24px!important;display:block!important;margin:0!important}

/* Discover rotation without covering book controls. */
.book-turn-hint{position:absolute;left:50%;top:48%;z-index:25;pointer-events:none;transform:translate(-50%,-50%);padding:5px 9px;border-radius:14px;color:var(--inside-accent,#85052f);background:#ffffffe6;font:600 14px/1.2 Arial,sans-serif;box-shadow:0 1px 5px #0002;animation:book-turn-teach 1.6s ease-in-out 2}
@keyframes book-turn-teach{0%,100%{opacity:0;transform:translate(-50%,-50%)}30%{opacity:.8;transform:translate(calc(-50% - 8px),-50%)}70%{opacity:.8;transform:translate(calc(-50% + 8px),-50%)}}
@media(prefers-reduced-motion:reduce){.book-turn-hint{animation:none}}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-tools-shell{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-tools-shell>.writing-tools-navigation{order:-1!important;width:100%!important;justify-content:center!important;margin:0!important;border:0!important;text-decoration:none!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-tools-navigation>.writing-tools-scroll{border:0!important;border-bottom:0!important;box-shadow:none!important;text-decoration:none!important;background:transparent!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-tools-navigation>.writing-tools-scroll::after{display:none!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-format-row{align-items:flex-end!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .writing-format-row>#dictation-mount{display:flex!important;align-items:center!important;justify-content:center!important;align-self:flex-end!important;height:var(--writing-toolbar-height,44px)!important;margin-bottom:0!important}

/* A finger gesture and thin orbit communicate rotation without moving the label. */
.book-turn-hint{width:150px!important;height:60px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--inside-accent,#85052f)!important;filter:drop-shadow(0 1px 1px #fff);animation:book-rotation-hint 3.2s ease-in-out 1!important}
.book-turn-hint>svg{display:block;width:100%;height:100%;overflow:visible}
.book-turn-hint .turn-finger{animation:book-finger-swipe 1.6s ease-in-out 2}
@keyframes book-rotation-hint{0%,100%{opacity:0}15%,85%{opacity:.75}}
@keyframes book-finger-swipe{0%,100%{transform:translateX(-12px)}50%{transform:translateX(12px)}}
@media(prefers-reduced-motion:reduce){.book-turn-hint,.book-turn-hint .turn-finger{animation:none!important}}

/* Let the outgoing opaque card pass behind a clean waiting face. */

html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack.deck-is-drawing .deck-back-card>.dx-crown-mark{visibility:hidden!important}

/* Butterfly emblem and charm previews share the same detailed wing artwork. */
html body .emblem-art-preview.butterfly-charm-preview{background-image:url(assets/sculpted-charms.png)!important;background-size:300% 200%!important;background-position:50% 100%!important;background-repeat:no-repeat!important}

/* Desktop/tablet category preview leaves room for readable journal tab titles. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-book-surface{padding-top:90px!important;box-sizing:border-box!important;min-height:540px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tabs{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:90%;display:flex;justify-content:center;align-items:stretch;gap:6px;z-index:24;pointer-events:none}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab{flex:1 1 0;min-width:0;height:90px;display:flex;align-items:flex-end;justify-content:center;padding:8px 4px;box-sizing:border-box;border-radius:7px 7px 0 0;box-shadow:inset 3px 0 5px #ffffff50,inset -2px 0 4px #0002,0 2px 4px #0002}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab b{font:600 12px/1.2 Arial,sans-serif;text-align:center;overflow-wrap:break-word}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-hotspots{display:none!important}}

@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tabs{display:grid!important;visibility:visible!important;opacity:1!important;overflow:visible!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tabs>.category-preview-tab{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;visibility:visible!important;opacity:1!important;width:100%!important;min-width:0!important;margin:0!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab>b{position:static!important;inset:auto!important;transform:none!important;display:block!important;white-space:normal!important}}

/* Category row and book share a fixed center regardless of selection count. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-book-surface{position:relative!important;display:block!important;margin-inline:auto!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tabs{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:90%!important;margin:0!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-book-surface>.setup-book{position:absolute!important;left:50%!important;right:auto!important;top:105px!important;bottom:0!important;transform:translateX(-50%)!important;translate:none!important;margin:0!important;width:100%!important;max-width:100%!important;height:calc(100% - 105px)!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-book-surface>.setup-book>.book-render{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;transform:none!important}}

@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-display>.book-display-controls{position:static!important;inset:auto!important;transform:none!important;translate:none!important;display:flex!important;justify-content:center!important;align-items:center!important;margin:16px auto 8px!important;width:100%!important;clear:both!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab{flex-direction:column!important;justify-content:flex-end!important;height:130px!important;background:transparent!important;box-shadow:none!important;padding:0!important;gap:5px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-art{position:relative!important;display:block!important;inset:auto!important;transform:none!important;width:100%!important;height:98px!important;min-height:98px!important;background:transparent!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-art>img{position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;transform:none!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab>b{background:var(--category-color)!important;padding:5px 3px!important;box-sizing:border-box!important;width:100%!important;border-radius:3px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .direct-book-surface>.setup-book{top:150px!important;height:calc(100% - 150px)!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab[data-ribbon-style="Stitched leather"] .category-preview-art{background:var(--category-color)!important;border-radius:4px 4px 0 0!important;box-shadow:inset 3px 0 5px #fff5,inset -2px 0 4px #0002!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab[data-ribbon-style="Woven ribbon"] .category-preview-art{background:repeating-linear-gradient(0deg,#fff3 0 1px,transparent 1px 3px),var(--category-color)!important;clip-path:polygon(0 0,100% 0,100% 100%,50% 90%,0 100%)}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tab[data-ribbon-style="Braided cord"] .category-preview-art{width:24px!important;margin-inline:auto!important;border-radius:12px!important;background:repeating-linear-gradient(145deg,#fff4 0 5px,#0002 6px 8px,transparent 9px 13px),var(--category-color)!important}}

/* A single selection sheen; no looping or sparkle particles. */
.category-selected-sheen{position:relative;overflow:hidden}
.category-selected-sheen::after{content:'';position:absolute;inset:-60% auto -60% -55%;width:35%;pointer-events:none;background:linear-gradient(100deg,transparent,#fff3d740,transparent);transform:skewX(-18deg);animation:category-selected-sheen 1.3s ease-out .3s 2 both}
@keyframes category-selected-sheen{from{left:-55%}to{left:130%}}
@media(prefers-reduced-motion:reduce){.category-selected-sheen::after{display:none!important}}
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .category-preview-tabs.review-bookmark-row{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;display:grid!important;gap:6px!important;margin:10px auto!important;pointer-events:none!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .review-bookmark-row .category-preview-tab{height:105px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-book-preview .review-bookmark-row .category-preview-art{height:75px!important;min-height:75px!important}}

/* Center identity captions above their own fields at every viewport. */
html body .identity-extra label.identity-field-centered>span{display:block!important;width:100%!important;text-align:center!important;align-self:center!important;margin:0!important}

/* Setup header actions share one row with Home at every screen size. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio>.setup-top-actions{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:0!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .setup-top-actions-right{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;margin-left:auto!important;min-width:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .setup-top-actions button{min-height:40px!important;padding:8px 12px!important;white-space:nowrap!important}

/* Tablet bookmark preview shares the style panel's vertical center. */
@media(min-width:761px) and (max-width:1200px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon]>.direct-layout{align-items:center!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-display{position:relative!important;top:auto!important;align-self:center!important;margin-block:0!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-book-surface{margin-inline:auto!important}}

/* Phone final preview: selected bookmarks first, existing content, then book. */
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks>.direct-layout{display:flex!important;flex-direction:column!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-selected-bookmarks{position:static!important;order:-1!important;width:100%!important;margin:0 0 18px!important;padding:0!important;box-sizing:border-box!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-selected-bookmarks>h3{text-align:center!important;margin:0 0 12px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row{position:static!important;inset:auto!important;transform:none!important;display:grid!important;gap:6px!important;width:100%!important;margin:0!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row>.category-preview-tab{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-width:0!important;height:auto!important;padding:0!important;background:transparent!important;box-shadow:none!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row .category-preview-art{display:block!important;position:relative!important;width:100%!important;height:95px!important;min-height:95px!important;transform:none!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row img{display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row b{display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;width:100%!important;min-height:34px!important;padding:4px 2px!important;font:600 10px/1.2 Arial,sans-serif!important;overflow-wrap:break-word!important;text-align:center!important;background:var(--category-color)!important;box-sizing:border-box!important;border-radius:3px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row [data-ribbon-style="Stitched leather"] .category-preview-art{background:var(--category-color)!important;border-radius:4px 4px 0 0!important;box-shadow:inset 3px 0 4px #fff5,inset -2px 0 4px #0002!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row [data-ribbon-style="Woven ribbon"] .category-preview-art{background:repeating-linear-gradient(0deg,#fff3 0 1px,transparent 1px 3px),var(--category-color)!important;clip-path:polygon(0 0,100% 0,100% 100%,50% 90%,0 100%)}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmark-row [data-ribbon-style="Braided cord"] .category-preview-art{width:18px!important;border-radius:10px!important;background:repeating-linear-gradient(145deg,#fff4 0 5px,#0002 6px 8px,transparent 9px 13px),var(--category-color)!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks>.phone-review-bottom-book{position:relative!important;display:block!important;order:100!important;grid-column:1/-1!important;width:100%!important;margin:20px auto 0!important;padding:0!important;text-align:center!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bottom-book .review-book{margin-inline:auto!important}}

/* Setup bookmark preview uses the atelier heading and consistent white captions. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-selected-bookmarks>h3{font-family:'Atelier Display',Georgia,serif!important;font-weight:500!important;color:#94671f!important;font-size:26px!important;line-height:1.2!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-preview-tab>b{color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}

/* Phone review follows bookmarks, book, inside page, then the review summary. */
@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks .review-previews{display:flex!important;flex-direction:column!important;gap:20px!important;order:0!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks .review-choice-list{order:1!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks .phone-review-book-figure{order:-1!important;display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:center!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .phone-review-bookmarks :is(.phone-review-selected-bookmarks>h3,.review-previews>figure>figcaption){font-family:'Atelier Display',Georgia,serif!important;font-size:26px!important;line-height:1.2!important;font-weight:500!important;color:#94671f!important;text-align:center!important;margin:0 0 12px!important}}

/* Category names remain intact and review captions identify their own previews. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .category-preview-tab>b.bookmark-care-title{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:clamp(7px,1.65vw,12px)!important}
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{font:500 26px/1.2 'Atelier Display',Georgia,serif!important;color:#94671f!important;text-align:center!important;margin:0 0 12px!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row+figcaption{display:block!important;text-align:center!important;margin:16px 0 12px!important}}

html body #app .tabs>button[data-go="care"] .bookmark-label,html body #app .tabs>button[data-go="care"] .bookmark-label-text{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}

/* Phone custom greeting caption aligns with the field start. */
@media(max-width:760px){html body #app .identity-extra label.custom-greeting-field{text-align:left!important;align-items:stretch!important}}

@media(max-width:760px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .setup-top-actions-right>[data-detail="design"]{border:1px solid var(--accent-edge,#c8a46c)!important;border-radius:9px!important;background:var(--inside-paper,#fffdf8)!important;box-shadow:0 2px 4px #39202a0a!important;text-decoration:none!important;color:var(--inside-accent,#85052f)!important;padding:8px 12px!important;min-height:40px!important;box-sizing:border-box!important}}

/* Explicit stack order switches after the outgoing card clears the reading face. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card.card-returning{z-index:3!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card.card-returning.deck-card-behind{z-index:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card{z-index:1!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card.second{z-index:-1!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack.deck-is-drawing .deck-back-card>.dx-crown-mark{visibility:visible!important;opacity:.12!important;filter:grayscale(1)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card>.dx-crown-mark :is(path,text){fill:#655d59!important;stroke:#655d59!important}

/* Same recognizable Add jar artwork beside the heading at every viewport. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-title-actions{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;flex:1!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-title-actions h2{flex:0 1 auto!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-add-top{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:2px!important;flex:none!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-add-top>.action-symbol{display:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .phone-add-jar-art{display:block!important;position:relative!important;width:40px!important;height:42px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .phone-add-jar-art img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .phone-add-jar-art b{position:absolute!important;right:-3px!important;bottom:0!important;display:grid!important;place-items:center!important;width:19px!important;height:19px!important;border-radius:50%!important;background:#85052f!important;color:#fff6df!important;font:700 18px/1 Arial!important;box-shadow:0 1px 3px #0003!important}

/* Capsule composer follows the active journal palette in every view. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .collection-editor-head,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .collection-editor-head h3,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .collection-editor-actions>button,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .capsule-create-form>label,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .capsule-create-form>.split>label,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .capsule-create-form legend{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library>.create-capsule-action,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay #seal-capsule{background:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay .collection-editor-head h3{font-family:'Atelier Display',Georgia,serif!important}

/* Approved theme audit: functional controls follow the journal accent. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .phone-add-jar-art b{background:var(--inside-accent,#85052f)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-inbook-toggle,html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-inbook-toggle[aria-pressed=true]{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .initials-choice>input[role=switch]:checked{background:radial-gradient(circle at 27px 50%,#fff 0 7px,transparent 8px),var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .gilded-edges-switch input[role=switch]:checked{background-color:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>.preset-check,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-preset-grid>button[data-experience-preset][aria-pressed=true]>.preset-check{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .compact-capsule-library .collection-editor-overlay #keep-capsule{background:var(--inside-accent,#85052f)!important;border-color:var(--inside-accent,#85052f)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Explicit setup heading colors requested across all view sizes. */
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .category-approach>h3,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio[data-target=tools] .experience-setup>h3{color:#780528!important;-webkit-text-fill-color:#780528!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .page-paper-stage h3,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio :is(.page-font-options>h3,.cover-font-options>h3){color:#8a3154!important;-webkit-text-fill-color:#8a3154!important}

/* Desktop/tablet final review uses explicit rows so 3D previews always have height. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto auto minmax(400px,440px)!important;align-items:start!important;column-gap:18px!important;row-gap:10px!important;height:auto!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure{display:contents!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{grid-column:1!important;grid-row:1!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row{grid-column:1!important;grid-row:2!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:first-child>figcaption{grid-column:1!important;grid-row:3!important;align-self:end!important;margin:4px 0 0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:nth-child(2)>figcaption{grid-column:2!important;grid-row:3!important;align-self:end!important;margin:4px 0 0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book{grid-column:1!important;grid-row:4!important;position:relative!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:none!important;height:440px!important;min-height:400px!important;margin:0!important;align-self:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book>.book-render{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:400px!important;transform:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{grid-column:2!important;grid-row:4!important;height:440px!important;min-height:400px!important;width:100%!important;margin:0!important;align-self:stretch!important}
}

/* Stable final-review grid: bookmark count never resizes the book/page columns. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review>.direct-layout{padding-top:28px!important;align-items:start!important;column-gap:26px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto auto auto 440px!important;row-gap:12px!important;column-gap:20px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{grid-column:1/-1!important;grid-row:1!important;text-align:center!important;margin:0 0 4px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .category-preview-tabs.review-bookmark-row{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,84px)!important;justify-content:center!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 26px!important;padding:0!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row>.category-preview-tab{width:100%!important;min-width:0!important;max-width:84px!important;height:122px!important;overflow:hidden!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row .category-preview-art{height:82px!important;min-height:82px!important;max-height:82px!important;flex:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row .category-preview-tab>b{font:600 10px/1.2 Arial,sans-serif!important;min-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:normal!important;overflow-wrap:break-word!important;padding:4px 2px!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row .category-preview-tab>b.bookmark-care-title{white-space:nowrap!important;font-size:9px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure>figcaption{grid-row:3!important;margin:0 0 8px!important;align-self:end!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{grid-row:4!important;height:440px!important;min-height:440px!important;max-height:440px!important;margin:0!important;align-self:stretch!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-list{align-self:start!important;margin:0!important;padding-top:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-list>h2{margin-top:0!important}
}

/* Fixed row footprint; selection count changes only the empty space between tiles. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .category-preview-tabs.review-bookmark-row{display:flex!important;justify-content:space-around!important;align-items:stretch!important;gap:8px!important;width:100%!important;min-height:122px!important;height:122px!important;max-height:122px!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row>.category-preview-tab{flex:0 0 calc((100% - 32px)/5)!important;width:calc((100% - 32px)/5)!important;min-width:0!important;max-width:84px!important;margin:0!important}
}

/* Even-height review columns: the inside paper spans the full neighboring preview. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review>.direct-layout{align-items:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews{height:100%!important;grid-template-rows:auto 122px auto minmax(440px,1fr)!important;align-self:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:nth-child(2)>figcaption{grid-column:2!important;grid-row:1!important;align-self:start!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{grid-column:2!important;grid-row:2/5!important;height:100%!important;min-height:0!important;max-height:none!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page .paper-detail-ruling{flex:1 1 auto!important;height:auto!important;min-height:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book{height:100%!important;min-height:440px!important;max-height:none!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-list{display:flex!important;flex-direction:column!important;align-self:stretch!important;height:100%!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-row{flex:1 1 auto!important}
}

/* Shared top heading line and shared lower edge across the three review columns. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review>.direct-layout{align-items:stretch!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review :is(.review-bookmarks-heading,.review-previews>figure:nth-child(2)>figcaption,.review-choice-list>h2){align-self:start!important;margin-top:0!important;padding-top:0!important;line-height:1.2!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:nth-child(2)>figcaption{grid-row:1!important;margin-bottom:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-list{align-self:stretch!important;height:100%!important;margin-block:0!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book{grid-row:4!important;align-self:stretch!important;margin-bottom:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{grid-row:2/5!important;align-self:stretch!important;margin-block:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-row:last-child{margin-bottom:0!important}
}

/* Final desktop/tablet refinement: captions hug the matched book and paper row. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{text-align:left!important;justify-self:start!important;width:100%!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews{grid-template-rows:auto 122px minmax(42px,auto) minmax(480px,1fr)!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:first-child>figcaption{grid-row:3!important;align-self:end!important;margin:16px 0 0!important;padding-bottom:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book,html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{grid-row:4!important;height:100%!important;min-height:480px!important;max-height:none!important;align-self:stretch!important;margin:0!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-book>.book-render{height:100%!important;min-height:480px!important}
}

/* Fewer bookmarks can broaden within a bounded width; all preview rows stay fixed. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row>.category-preview-tab{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:var(--review-bookmark-max,84px)!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row .category-preview-art{width:100%!important;max-width:100%!important}html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmark-row [data-ribbon-style="Braided cord"] .category-preview-art{width:24px!important}}

/* Align the actual rendered cover with paper, rather than its transparent canvas. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:first-child>figcaption{text-align:left!important;justify-self:start!important;width:100%!important;align-self:end!important;margin:0!important;transform:translateY(var(--visible-book-top,0px))!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{text-align:left!important;justify-self:start!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-single-page{height:var(--visible-book-height,480px)!important;min-height:0!important;max-height:none!important;align-self:start!important;margin-top:var(--visible-book-top,0px)!important;margin-bottom:0!important}
}

/* Each desktop/tablet preview caption sits directly above its own content. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-bookmarks-heading{text-align:center!important;justify-self:center!important;width:100%!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:first-child>figcaption{text-align:center!important;justify-self:center!important;width:100%!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:nth-child(2)>figcaption{grid-column:2!important;grid-row:3!important;align-self:end!important;text-align:center!important;justify-self:center!important;width:100%!important;margin:0!important;transform:translateY(var(--visible-book-top,0px))!important}
}

html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-choice-list>h2{text-align:center!important;align-self:center!important;width:100%!important;box-sizing:border-box!important}

/* Two shared caption lines, each centered within its own section. */
@media(min-width:761px){html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review :is(.review-bookmarks-heading,.review-choice-list>h2){text-align:center!important;align-self:start!important;margin-top:0!important;padding-top:0!important;line-height:1.2!important;min-height:34px!important;width:100%!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure>figcaption{grid-row:3!important;align-self:end!important;text-align:center!important;justify-self:center!important;width:100%!important;margin:0!important;padding:0!important;line-height:1.2!important;transform:translateY(var(--visible-book-top,0px))!important;box-sizing:border-box!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:first-child>figcaption{grid-column:1!important}
html[data-setup] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .design-final-review .review-previews>figure:nth-child(2)>figcaption{grid-column:2!important}
}

/* Preserve each selected topic’s progress when another selection redraws the row. */
.category-selected-sheen::after{animation-delay:var(--topic-sheen-delay,.3s)!important}

/* All notes remains a boxed header action immediately before Close at every width. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.jar-all-notes{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:0 8px 0 auto!important;flex:0 0 auto!important;border:1px solid var(--accent-edge,#c9a6b4)!important;border-radius:7px!important;background:var(--accent-soft,#fff8fa)!important;color:var(--inside-accent,#85052f)!important;text-decoration:none!important;min-height:36px!important;padding:6px 9px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-title-actions{flex:1 1 auto!important;min-width:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-add-top:disabled{display:inline-flex!important;opacity:.5!important}
@media(max-width:760px){html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.jar-all-notes{font-size:11px!important;padding:5px 6px!important;gap:4px!important;margin-right:6px!important}html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.jar-all-notes svg{width:16px!important;height:16px!important}html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-title-actions{gap:5px!important}html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .jar-title-actions h2{font-size:22px!important}}

/* Settings back controls use the active journal accent in every viewport. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.settings-back-arrow{color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .settings-back-arrow svg{color:inherit!important;stroke:currentColor!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .modal-head>.settings-back-arrow{color:color-mix(in srgb,var(--inside-accent,#85052f) 55%,white)!important;-webkit-text-fill-color:currentColor!important}

/* Dark setup actions remain equally visible. */
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .setup-top-actions-right>[data-detail="design"]{background:#181818!important;background-image:none!important;color:#f2ede4!important;-webkit-text-fill-color:#f2ede4!important;border:1px solid #ad915b!important;border-radius:9px!important;box-shadow:none!important}

/* Writing experience stays legible in dark mode, including nested text fills. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button{background:#181818!important;background-image:none!important;color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button[aria-pressed=true]>.preset-check{color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#fff!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button>b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button>small{color:#ded6d9!important;-webkit-text-fill-color:#ded6d9!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-tool-details{background:transparent!important;color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .included-tools-heading :is(strong,span){color:#e8c97f!important;-webkit-text-fill-color:#e8c97f!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-grid>.setting-switch{background:#161616!important;background-image:none!important;border-color:#73626c!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-grid :is(.feature-title,.setting-switch>span){color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-grid small,html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-tool-details>p{color:#ded6d9!important;-webkit-text-fill-color:#ded6d9!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .feature-examples>b{color:#e8c97f!important;-webkit-text-fill-color:#e8c97f!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .feature-examples>i{background:#202020!important;border-color:#73626c!important;color:#f5ecef!important;-webkit-text-fill-color:#f5ecef!important;opacity:1!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup>h3{color:#e7b5c9!important;-webkit-text-fill-color:#e7b5c9!important}

/* Writing experience stays legible in dark mode, including nested text fills. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-preset-grid>button{background:#181818!important;background-image:none!important;color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-preset-grid>button[aria-pressed=true]>.preset-check{color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#fff!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-preset-grid>button>b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-preset-grid>button>small{color:#ded6d9!important;-webkit-text-fill-color:#ded6d9!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-tool-details{background:transparent!important;color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .included-tools-heading :is(strong,span){color:#e8c97f!important;-webkit-text-fill-color:#e8c97f!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-grid>.setting-switch{background:#161616!important;background-image:none!important;border-color:#73626c!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-grid :is(.feature-title,.setting-switch>span){color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-grid small,html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .experience-tool-details>p{color:#ded6d9!important;-webkit-text-fill-color:#ded6d9!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .feature-examples>b{color:#e8c97f!important;-webkit-text-fill-color:#e8c97f!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup .feature-examples>i{background:#202020!important;border-color:#73626c!important;color:#f5ecef!important;-webkit-text-fill-color:#f5ecef!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .experience-setup>h3{color:#e7b5c9!important;-webkit-text-fill-color:#e7b5c9!important}

/* Task Summary is a separate view, never a second panel beside Today. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks]{grid-template-columns:minmax(0,1fr)!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks]>:is(.task-workspace-main,.task-workspace-summary,.task-primary-views){grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;box-sizing:border-box!important}
@media(min-width:761px){html[data-view] body>.journal-navigation .navigation-tools{border-top:0!important;padding-top:0!important;margin-top:6px!important;grid-template-rows:repeat(3,minmax(0,1fr))!important}html[data-view] body>.journal-navigation .navigation-tools::before{display:none!important}}

/* Tablet-only breathing room before the home book. */
@media(min-width:761px) and (max-width:1200px){html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero .home-inspiration-entry{margin-bottom:24px!important}html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero .home-inspiration-link{margin-bottom:0!important}}

/* Keep the bookmark/book preview switch clearly identifiable in every theme. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-inbook-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 16px!important;font-weight:600!important;border:2px solid var(--inside-accent,#85052f)!important;border-radius:10px!important;background:var(--inside-paper,#fffdf8)!important;color:var(--inside-accent,#85052f)!important;-webkit-text-fill-color:var(--inside-accent,#85052f)!important;box-shadow:0 2px 5px #00000018!important;opacity:1!important;text-decoration:none!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .bookmark-inbook-toggle{background:#181818!important;color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important;border-color:#d8bd7c!important;box-shadow:0 0 0 1px #d8bd7c33!important}

/* Dark setup choices share the journal-color palette and selection border. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .category-approach>h3{color:var(--night-accent-text,#f0d69c)!important;-webkit-text-fill-color:var(--night-accent-text,#f0d69c)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button{background:var(--night-surface,#181818)!important;background-image:none!important;border-color:var(--night-border,#73626c)!important;color:var(--night-text,#f7f2ee)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .experience-setup .experience-preset-grid>button[aria-pressed=true]{border:3px solid transparent!important;background:linear-gradient(var(--night-selected,#272027),var(--night-selected,#272027)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85052f,#c58b9d,#fff0d1,#b98d39,#85052f)) border-box!important;border-radius:11px!important;box-shadow:none!important}

/* Selected topic categories match the approved dark writing-tool selection treatment. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .section-focus-routes>button[aria-pressed=true],html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section][aria-pressed=true]{border:3px solid transparent!important;background:linear-gradient(var(--night-selected,#272027),var(--night-selected,#272027)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85052f,#c58b9d,#fff0d1,#b98d39,#85052f)) border-box!important;border-radius:11px!important;box-shadow:none!important;color:var(--night-text,#f7f2ee)!important;-webkit-text-fill-color:var(--night-text,#f7f2ee)!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio .bookmark-category-choice>button[data-welcome-section][aria-pressed=true] :is(b,small){color:var(--night-text,#f7f2ee)!important;-webkit-text-fill-color:var(--night-text,#f7f2ee)!important}

/* Tablet inspiration moves up while retaining a clear gap before the book. */
@media(min-width:761px) and (max-width:1200px){html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero .home-inspiration-entry{margin-top:-12px!important;margin-bottom:32px!important;position:relative!important;top:-8px!important}html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero .home-inspiration-entry .home-inspiration-link{margin:0!important}}

/* Book view task controls stay together on the left; task data retains its layout. */
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks]>.task-book-controls{grid-column:1/-1!important;display:block!important;justify-self:start!important;align-self:start!important;width:calc(50% - 16px)!important;max-width:calc(50% - 16px)!important;min-width:0!important;padding:0 20px!important;margin:0!important;box-sizing:border-box!important;text-align:left!important}
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-book-controls .section-head{display:flex!important;justify-content:flex-start!important;align-items:center!important;width:100%!important;margin:0!important;text-align:left!important}
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-book-controls .section-head h2{text-align:left!important;margin-inline:0!important}
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-book-controls .quick-task-form{width:100%!important;margin:12px 0!important}
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-book-controls .quick-task-form>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important}
html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .task-book-controls .quick-task-form button{width:auto!important;min-width:64px!important;white-space:nowrap!important}
@media(max-width:760px){html[data-view=book] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks]>.task-book-controls{width:100%!important;max-width:100%!important;padding-inline:12px!important}}

/* Tablet inspiration belongs to the welcome area rather than the book's notice row. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero.tablet-inspiration-in-intro .intro>.home-inspiration-entry{grid-column:1/-1!important;grid-row:auto!important;position:static!important;inset:auto!important;top:auto!important;transform:none!important;margin:16px 0 24px!important;padding:0!important;align-self:start!important;justify-self:center!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .home-hero.tablet-inspiration-in-intro .intro>.home-inspiration-entry .home-inspiration-link{margin:0!important}

/* Inside-pages section headings share one palette in light and dark modes. */
html[data-setup][data-lighting=night] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .direct-studio :is(.page-color-approach>h3,.page-paper-stage h3,:is(.page-font-options>h3,.cover-font-options>h3)){color:var(--night-accent-text,#f0d69c)!important;-webkit-text-fill-color:var(--night-accent-text,#f0d69c)!important}

/* Compact account settings and readable backup controls across viewports. */
#modal .account-settings-panel{display:grid;gap:12px;max-width:560px;margin-inline:auto;width:100%;box-sizing:border-box}
#modal .account-settings-panel>section{padding:10px 0;border-top:1px solid #b9a6ae}
#modal .account-settings-panel h3{margin:0 0 7px;font-size:19px}
#modal .account-settings-panel p{margin:0 0 9px;line-height:1.45}
#modal .account-settings-panel label{display:grid;gap:6px;margin:0}
#modal .account-settings-panel input{width:100%;min-width:0;box-sizing:border-box}
#modal .account-settings-panel button{min-height:44px;max-width:100%}
html[data-lighting=night] #modal :is(.backup-hero .storage-chip,.backup-grid .setting-switch){background:#161616!important;border:1px solid #887b82!important;color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}
html[data-lighting=night] #modal .backup-grid .setting-switch :is(span,small){color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important}

/* Keep the empty Today message directly beneath its heading in book view. */
html[data-view=book] #page[data-layout=tasks] .task-today-empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;grid-column:1/-1!important;break-inside:avoid}
html[data-view=book] #page[data-layout=tasks] .task-today-empty-state .task-list-title{margin:0!important;text-align:center!important}
html[data-view=book] #page[data-layout=tasks] .task-today-empty-state .task-empty{margin:0!important;padding:0!important}

/* Center Today's empty state within its book page. */
html[data-view=book] body #app #page[data-layout=tasks] .task-today-empty-state{display:grid!important;grid-template-rows:auto 1fr!important;align-items:stretch!important;justify-items:center!important;width:100%!important;min-height:clamp(240px,40vh,420px)!important;box-sizing:border-box!important}
html[data-view=book] body #app #page[data-layout=tasks] .task-today-empty-state .task-empty{align-self:center!important;text-align:center!important;margin:0!important;padding:0!important}

/* Use the phone Backup Center arrangement at every viewport. */
#modal:has(.backup-grid){width:600px;max-width:calc(100vw - 36px)}
#modal .backup-grid{grid-template-columns:1fr!important;gap:22px!important}
#modal .backup-grid>section+section{border-top:1px solid var(--accent-edge);padding-top:15px}
#modal .backup-grid .backup-export-actions{display:contents}

/* Dark open-book depth: decorative surfaces only; preserve all content geometry. */
@media(min-width:761px){
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook{background-image:linear-gradient(90deg,#0008,transparent 4% 96%,#0009),linear-gradient(180deg,#ffffff12,transparent 12% 85%,#0005)!important;box-shadow:inset 0 1px 1px #fff3,inset 0 -2px 3px #0009,0 2px 0 #887560,0 5px 0 #30241f,0 8px 1px #0a0808,0 15px 24px #0007,0 30px 48px #0005!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook>.book-page-edges{filter:drop-shadow(0 3px 3px #0009)!important;pointer-events:none!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook>.book-page-edges::before,html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook>.book-page-edges::after{background:linear-gradient(180deg,#c1b5a0 0%,#e0d5bf 17%,#b7a991 55%,#82735d 100%)!important;border-top-color:#e2d6bd!important;box-shadow:inset 0 1px #f6eacf66,0 -1px 3px #0005!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook .page-edge-left,html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook .page-edge-right{background:linear-gradient(180deg,#ffffff14,transparent 15% 84%,#0004),repeating-linear-gradient(90deg,#736755 0px,#c7baa1 1px,#a69980 2px,#d2c5ac 3px,#94856c 4px)!important;border-color:#918168!important;box-shadow:inset 3px 0 5px #0005,inset -1px 0 2px #eedfc644!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook .page-edge-bottom{background:linear-gradient(90deg,#0003,transparent 15% 45%,#0005 50%,transparent 55% 85%,#0003),repeating-linear-gradient(0deg,#776950 0px,#c7baa0 1px,#a99b81 2px,#ded1b6 3px,#95856b 4px)!important;border-bottom-color:#6f5d45!important;box-shadow:inset 0 2px 4px #0005,0 1px 0 #d8c6a566,0 3px 4px #0007!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook>.page-spread:before{background:repeating-linear-gradient(0deg,#85765f 0 1px,#c4b69b 1px 2px,#a99b82 2px 3px)!important;box-shadow:0 2px 0 #736149,0 4px 0 #b8a789,0 6px 5px #0006!important;pointer-events:none!important}
html[data-lighting=night][data-view=book]:not([data-setup]) body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .workspace-shell article.notebook>.page-spread:after{background:linear-gradient(90deg,transparent,#0004 25%,#000a 49%,#000b 50%,#e1d4b51f 58%,transparent)!important;box-shadow:none!important;pointer-events:none!important}
}

/* Backup Center: separated actions and a consistent pill switch. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid .backup-export-actions{display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:16px!important;width:100%!important;flex-wrap:nowrap!important;margin:12px 0 0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-export-actions>button{margin:0!important;min-width:0!important;max-width:calc(50% - 8px)!important;min-height:44px!important;padding:10px 12px!important;box-sizing:border-box!important;line-height:1.35!important;white-space:normal!important;text-align:center!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-export-actions>#share-backup{margin-left:auto!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid .setting-switch{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid .setting-switch>span{min-width:0!important;flex:1!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal input#encrypt-export{appearance:none!important;-webkit-appearance:none!important;display:block!important;position:relative!important;flex:0 0 48px!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:0!important;margin:0!important;border:1px solid #b6aeb4!important;border-radius:999px!important;background:radial-gradient(circle at 13px 50%,#fffafa 0 9px,transparent 10px),#d3ccd2!important;box-shadow:inset 0 2px 4px #42344126!important;opacity:1!important;filter:none!important;cursor:pointer!important;transform:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal input#encrypt-export:checked{background:radial-gradient(circle at 33px 50%,#fffafa 0 9px,transparent 10px),var(--inside-accent,var(--accent,#85052f))!important;border-color:var(--inside-accent,var(--accent,#85052f))!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal input#encrypt-export::before,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal input#encrypt-export::after{content:none!important;display:none!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal input#encrypt-export:focus-visible{outline:2px solid var(--inside-accent,var(--accent,#85052f))!important;outline-offset:3px!important}
@media(min-width:761px){
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.backup-grid){width:560px!important;padding:0!important;min-height:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.backup-grid) .modal-head{padding:16px 20px!important;margin:0!important;min-height:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.backup-grid) .modal-body{padding:16px 20px!important;min-height:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-hero{padding:12px 14px!important;margin:0 0 16px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-hero h3{font-size:25px!important;margin:8px 0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-hero p{margin:8px 0!important;line-height:1.5!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid{gap:16px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid h3{margin:0 0 10px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid label{margin:10px 0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid .setting-switch{padding:10px 12px!important;min-height:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .backup-grid>section+section{padding-top:14px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #restore-review:empty{display:none!important}
}

/* Account settings use a compact dialog on tablet and desktop. */
@media(min-width:761px){
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.account-settings-panel){width:460px!important;max-width:calc(100vw - 36px)!important;min-width:0!important;min-height:0!important;padding:0!important;box-sizing:border-box!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.account-settings-panel) .modal-head{padding:16px 20px!important;margin:0!important;min-height:0!important;gap:12px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.account-settings-panel) .modal-head h2{font-size:30px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.account-settings-panel) .modal-body{padding:16px 20px!important;min-height:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .account-settings-panel{width:100%!important;max-width:100%!important;gap:10px!important;margin:0!important;padding:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .account-settings-panel>section{padding:10px 0 0!important;margin:0!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .account-settings-panel h3{margin:0 0 7px!important;font-size:19px!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .account-settings-panel p{margin:0 0 8px!important;line-height:1.4!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .account-settings-panel button{min-height:42px!important;padding:9px 12px!important}
}

/* Readable reflection-card lettering in dark mode, including transitions. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>h3{color:var(--night-accent-text,#f0d69c)!important;-webkit-text-fill-color:var(--night-accent-text,#f0d69c)!important;opacity:1!important;text-shadow:none!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>p{color:#f7f2ee!important;-webkit-text-fill-color:#f7f2ee!important;opacity:1!important;text-shadow:none!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>small{color:#d4cbc5!important;-webkit-text-fill-color:#d4cbc5!important;opacity:1!important;text-shadow:none!important}

/* Match My Jars' dark Draw again surface without changing deck layout. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button{background:#181818!important;background-image:none!important;border:1px solid #ad915b!important;border-radius:9px!important;color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important;box-shadow:0 2px 4px #39202a0a!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button>span,html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal #draw-card.deck-draw-button>svg{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important;opacity:1!important}

/* Keep the existing blue-gray card, with clear gold and white lettering. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>h3{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>p{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* The opacity safeguard must use a dark surface in night mode too. */
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card{background:#222632!important;background-color:#222632!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:3px solid #b5a4b4!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>h3{color:#f0d69c!important;-webkit-text-fill-color:#f0d69c!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>p{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card>small{color:#d4cbc5!important;-webkit-text-fill-color:#d4cbc5!important;opacity:1!important}

/* Every deck layer is opaque; flatten 3D contexts so z-order is deterministic. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack{transform-style:flat!important;isolation:isolate!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .reflection-card,html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card{transform-style:flat!important;mix-blend-mode:normal!important;opacity:1!important;backface-visibility:hidden!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card{background:var(--inside-paper,#fffdf8)!important;background-image:none!important;z-index:2!important}
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card.second{z-index:1!important}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .reflection-deck-stack .deck-back-card{background:#222632!important;background-image:none!important}

#modal .admin-console-links{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}#modal .admin-usage-overview .admin-customers article{padding:12px 0;border-bottom:1px solid var(--accent-edge)}#modal .admin-usage-overview .admin-customers small{display:block;margin-top:6px;overflow-wrap:anywhere}#modal .admin-usage-overview p{font-size:13px;line-height:1.5}html[data-lighting=night] #modal .admin-usage-overview{color:#f7f2ee;-webkit-text-fill-color:#f7f2ee}

/* Bounded history navigation keeps large journals usable. */
#app .entry-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;grid-column:1/-1;flex-wrap:wrap}#app .entry-pagination button{min-height:44px;padding:8px 12px}#app .entry-pagination>span{font-size:13px;text-align:center;flex:1}html[data-lighting=night] #app .entry-pagination>span{color:#f5f2ee;-webkit-text-fill-color:#f5f2ee}

#app .task-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0}#app .task-pagination button{min-height:44px;padding:8px 12px}#app .task-pagination>span{font-size:13px;text-align:center;flex:1}html[data-lighting=night] #app .task-pagination>span{color:#f5f2ee;-webkit-text-fill-color:#f5f2ee}

/* Keep controls readable inside a narrow two-page journal spread. */
@media(min-width:761px){
 html[data-view=book] #page[data-layout=journal]>.page-left{container-type:inline-size;container-name:journal-writing-page}
 @container journal-writing-page (max-width:480px){
  html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-mode-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-mode-buttons>button{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
  html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=journal] .journal-help-shortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=journal] .journal-help-shortcuts>span{grid-column:1/-1;text-align:center}
  html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=journal] .journal-help-shortcuts>button{width:100%!important;min-width:0!important;white-space:nowrap!important;padding-inline:8px!important}
 }
}

.capsule-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}.capsule-pagination[hidden]{display:none!important}.capsule-pagination span{font-size:13px;white-space:nowrap}

/* Enlarged bookmark canvas may bleed into blank margins without widening phone setup. */
@media(max-width:760px){html[data-setup] body #app .direct-display{overflow-x:clip!important}}

/* Keep the standalone bookmark readable on short desktop displays. */
@media(min-width:1000px) and (max-height:760px){
 html[data-setup] body #app .direct-studio[data-target=ribbon] .direct-display{overflow-x:clip!important}
 html[data-setup] body #app#app#app#app#app#app .direct-studio[data-target=ribbon] .direct-ribbon-preview .book-render>canvas{transform:translateY(-18px) scale(1.8)!important;transform-origin:center!important}
}


/* Habit counts must fit the metric cards on narrow journal pages. */
html body #app #page[data-layout=habits] .compact-habit-streaks{container-type:inline-size;container-name:habit-rhythm}
@container habit-rhythm (max-width:420px){
 html body #app#app#app#app#app#app#app#app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>strong{font-size:40px!important}
 html body #app#app#app#app#app#app#app#app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div>span{font-size:12px!important;overflow-wrap:normal!important;word-break:normal!important}
 html body #app#app#app#app#app#app#app#app #page[data-layout=habits] .compact-habit-streaks .consistency-scores>div:nth-child(3)>strong{font-size:clamp(22px,7.5cqw,32px)!important;white-space:nowrap!important}
}

/* Default secondary buttons inherit the dark surface rather than a white gradient. */
html[data-lighting=night]{--default-button-surface:#181818}
html[data-lighting=night] body #modal .guest-login-option>button{color:#f0d9a5!important;-webkit-text-fill-color:#f0d9a5!important}
html[data-lighting=night] body #modal .mode-picker button:not([aria-pressed=true]){background:#181818!important;background-image:none!important}
@media(max-width:760px){
 html body #modal#modal#modal#modal#modal .compact-jar-library .jar-caption{flex-direction:column!important;gap:3px!important}
 html body #modal#modal#modal#modal#modal .compact-jar-library .jar-caption>strong{width:100%!important;word-break:normal!important;overflow-wrap:anywhere!important}
}

/* Keep privacy controls in the journal's outer gutter, clear of bookmark tabs. */
@media(min-width:761px){
 html:is([data-view=book],[data-view=wide]) body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:end!important;gap:10px!important;width:320px!important;max-width:100%!important}
 html:is([data-view=book],[data-view=wide]) body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials>:is(label,[data-action=new]){width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
 html:is([data-view=book],[data-view=wide]) body #app#app#app#app#app#app#app#app #page[data-layout=journal] .entry-essentials :is(#entry-date,[data-action=new]){height:42px!important;min-height:42px!important;max-height:42px!important;width:100%!important;min-width:0!important;padding:7px!important;box-sizing:border-box!important;font-size:13px!important}
}
#modal nav.entry-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
#modal nav.entry-pagination>span{flex:1;min-width:88px;text-align:center;font-size:13px}
#modal nav.entry-pagination>button{width:auto;min-height:44px;padding:8px 12px}
/* A returning deck card may leave the stack, without widening its dialog. */
html body #modal:has(.reflection-deck-stack),html body #modal:has(.reflection-deck-stack) .modal-body{overflow-x:hidden!important}
/* Keep sparse task rows together rather than stretching gaps to fill the book. */
@media(min-width:761px){html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=tasks]{align-content:start!important}}
/* A saved mood must remain visibly selected on neutral dark surfaces. */
html[data-lighting=night] body #app#app#app#app#app#app#app#app #page .moods>[data-mood][aria-pressed=true]{background:linear-gradient(color-mix(in srgb,var(--inside-accent,#85062f) 42%,#161116),color-mix(in srgb,var(--inside-accent,#85062f) 42%,#161116)) padding-box,linear-gradient(125deg,#b77792,#f0dfb0,#a7b9dc,#b77792) border-box!important;border:2px solid transparent!important;color:#fff6ec!important;-webkit-text-fill-color:#fff6ec!important;box-shadow:0 0 0 1px #e9d8a744!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app #page table.habit-week :is(thead,tbody,tr,th,td){background:transparent!important;background-image:none!important}
/* Dense year charts retain every bar and accessible value without colliding labels. */
html body #app #page[data-layout=overview] .readable-chart{container-type:inline-size;container-name:overview-bars}
@container overview-bars (max-width:720px){
 html body #app #page[data-layout=overview] .readable-chart:has(>.chart-column:nth-child(11))>.chart-column:not(:nth-child(3n+1)) .chart-value{visibility:hidden!important}
}
@container overview-bars (max-width:480px){
 html body #app #page[data-layout=overview] .readable-chart:has(>.chart-column:nth-child(11))>.chart-column .chart-value{visibility:hidden!important}
 html body #app #page[data-layout=overview] .readable-chart:has(>.chart-column:nth-child(11))>.chart-column:nth-child(4n+1) .chart-value{visibility:visible!important}
}
@media(min-width:761px) and (max-width:1000px){html[data-view=book] body #app#app#app#app#app#app#app#app #page[data-layout=overview] .dash-card-heading b{font-size:14px!important;white-space:nowrap!important}}
@media(min-width:761px){
 html body:has(#app nav.tabs)>.privacy-quick:not(.is-compact){right:0!important;top:112px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;justify-content:center!important}
 html body:has(#app nav.tabs)>.privacy-quick span{display:none!important}
 html body:has(#app nav.tabs)>.privacy-minimize{right:4px!important;top:152px!important;width:24px!important;height:24px!important;min-height:24px!important;padding:2px!important}
}
/* Page ink shares the ruled editor; the separate pad remains optional. */
html body #app#app#app .journal-writing-page{position:relative;width:100%;min-width:0}
html body #app#app#app .journal-writing-page .rich-writing{margin:0!important}
html body #app#app#app .journal-page-drawing-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;background:transparent;border:0}
html body #app#app#app .journal-drawing-options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;padding:6px;width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--inside-accent,#85052f) 35%,transparent);border-radius:12px;background:#fffaf5;box-shadow:0 3px 10px #33202b14}
html body #app#app#app .journal-drawing-options[hidden]{display:none!important}
html body #app#app#app .journal-drawing-options button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--inside-accent,#85052f) 40%,white);border-radius:8px;background:#fff;color:var(--inside-accent,#85052f)}
html body #app#app#app .journal-drawing-options button svg{width:22px;height:22px;flex:none}
html body #app#app#app .journal-drawing-options button[aria-pressed=true]{background:var(--inside-accent,#85052f);color:#fff;border-color:var(--inside-accent,#85052f);box-shadow:0 2px 5px #33202b22}
html[data-lighting=night] body #app#app#app .journal-drawing-options{background:#111;border-color:#bda573;box-shadow:0 3px 12px #0008}
html[data-lighting=night] body #app#app#app .journal-drawing-options button{background:#222;color:#f5e9d4;border-color:#bda573}
html[data-lighting=night] body #app#app#app .journal-drawing-options button[aria-pressed=true]{background:var(--inside-accent,#85052f);color:#fff;border-color:#fff0ce;box-shadow:0 0 0 1px #fff0ce55}
.journal-entry-page{display:grid;position:relative}
.journal-entry-page>.journal-entry-text,.journal-entry-page>.saved-journal-page-drawing{grid-area:1/1;min-width:0}
.saved-journal-page-drawing{display:block;width:100%;height:auto;align-self:start;pointer-events:none}
.surprise-draw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.surprise-draw-button svg{width:24px;height:24px;flex:none}
/* A quiet weekly grid keeps attention on the checkoffs. */
html body #app#app#app#app#app#app#app#app #page .habit-week tbody :is(tr,th,td){background:transparent!important;background-image:none!important;box-shadow:none!important;border-radius:0!important}
html body #app#app#app#app#app#app#app#app #page .habit-week tbody :is(th,td){border-bottom:1px solid color-mix(in srgb,var(--inside-accent,#85052f) 12%,transparent)!important}
html body #app#app#app#app#app#app#app#app #page .habit-week thead th>button{font-size:18px!important;font-weight:750!important;line-height:1.25!important;min-height:64px!important;height:auto!important;background:linear-gradient(#ffffffdc,#ffffffdc),var(--selection-iridescence)!important;border-radius:8px!important;gap:5px!important}
html body #app#app#app#app#app#app#app#app #page .habit-week thead th>button small{font-size:16px!important;font-weight:600!important}
html body #app#app#app#app#app#app#app#app #page .weekly-meter{background:#f0efed!important;background-image:none!important;box-shadow:inset 0 0 0 1px #00000014!important}
html[data-lighting=night] body #app#app#app#app#app#app#app#app #page .weekly-meter{background:#555!important;box-shadow:inset 0 0 0 1px #ffffff24!important}
@media(max-width:760px){html body #app#app#app#app#app#app#app#app #page .habit-week thead th>button{font-size:14px!important;min-height:56px!important}html body #app#app#app#app#app#app#app#app #page .habit-week thead th>button small{font-size:14px!important}}
/* Topics and final review use the same shaped cord as Bookmark Style. */
.category-preview-art>.rope-bookmark-art{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;margin:0!important;transform:none!important;filter:drop-shadow(1px 2px 2px #0003)}

/* Weekdays echo the exact progress iridescence with a quiet, readable wash. */
html body #app#app#app#app#app#app#app#app #page .weekly-rituals{--week-ink:var(--inside-accent,#85052f)}
html[data-lighting=night] body #app#app#app#app#app#app#app#app #page .weekly-rituals{--week-ink:color-mix(in srgb,var(--inside-accent,#85052f) 45%,white)}
html body #app#app#app#app#app#app#app#app #page .habit-week thead th>button{color:var(--week-ink)!important;-webkit-text-fill-color:var(--week-ink)!important}

html[data-lighting=night] body #app#app#app#app#app#app#app#app #page .habit-week thead th>button{background:linear-gradient(#111111d9,#111111d9),var(--selection-iridescence)!important}
/* All finished covers use Enchanted Forest's visible size, independent of transparent margins. */
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .book-choice-art{--choice-slot:180px;display:grid!important;place-items:center!important;position:relative!important;width:100%!important;height:var(--choice-slot)!important;min-height:0!important;margin:0!important;padding:0!important;flex:none!important;background:transparent!important}
html body #app#app#app#app#app#app#app#app .preset-cover-thumb>.book-choice-art{--choice-slot:112px}
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .book-choice-frame{display:block!important;position:relative!important;width:calc(var(--choice-slot)*296/480)!important;max-width:100%!important;aspect-ratio:296/421!important;height:auto!important;overflow:hidden!important;margin:0!important;padding:0!important;background:transparent!important}
html body :is(#app#app#app#app#app#app#app#app,#modal#modal#modal#modal#modal#modal#modal#modal) .book-choice-frame>img{position:absolute!important;left:var(--thumb-x)!important;top:var(--thumb-y)!important;width:var(--thumb-w)!important;height:var(--thumb-h)!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;object-fit:fill!important;margin:0!important;padding:0!important;transform:none!important}
@media(max-width:760px){
 html body #modal#modal#modal#modal#modal#modal#modal#modal .wand-cover-gallery .book-choice-art{--choice-slot:150px}
 html body #app#app#app#app#app#app#app#app .preset-cover-thumb>.book-choice-art{--choice-slot:86px}
 html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio:has(.preset-cover-gallery){display:flex!important;flex-direction:column!important;align-items:stretch!important}
 html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio:has(.preset-cover-gallery) .direct-popover{position:relative!important;inset:auto!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;max-width:100%!important;margin:12px 0!important;transform:none!important}
 html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio:has(.preset-cover-gallery) .preset-cover-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important;gap:10px!important}
 html[data-setup] body #app#app#app#app#app#app#app#app .direct-studio:has(.preset-cover-gallery) .direct-popover-body{max-height:none!important;height:auto!important;overflow:visible!important}
}
/* Home book changes use the wand's four-point stars, twinkling in place. */
html body #app#app#app#app#app#app#app#app .home-book-twinkles{position:absolute!important;inset:-5% -4%!important;z-index:15!important;overflow:visible!important;pointer-events:none!important;background:none!important;border:0!important}
html body #app#app#app#app#app#app#app#app .home-book-twinkles>i{position:absolute!important;left:var(--twinkle-x)!important;top:var(--twinkle-y)!important;width:var(--twinkle-size)!important;height:var(--twinkle-size)!important;color:#d7b266;opacity:0;filter:drop-shadow(0 0 3px #f3d79890);animation:home-book-twinkle var(--twinkle-duration) var(--twinkle-delay) ease-in-out both!important}
html body #app#app#app#app#app#app#app#app .home-book-twinkles svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
html body #app#app#app#app#app#app#app#app .home-book-twinkles path{stroke:currentColor;stroke-width:1.1;stroke-linejoin:round}
html body #app#app#app#app#app#app#app#app .home-book-twinkles .twinkle-filled path{fill:currentColor}
html body #app#app#app#app#app#app#app#app .home-book-twinkles .twinkle-outline path{fill:none}
html body #app#app#app#app#app#app#app#app .home-book-twinkles>i:nth-child(3n){color:#fff1c9}
@keyframes home-book-twinkle{0%{opacity:.15;filter:drop-shadow(0 0 1px #f3d79850)}25%{opacity:1;filter:drop-shadow(0 0 5px #fff1c9)}50%{opacity:.2;filter:drop-shadow(0 0 1px #f3d79850)}72%{opacity:.9;filter:drop-shadow(0 0 4px #fff1c9)}100%{opacity:0;filter:drop-shadow(0 0 1px #f3d79850)}}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app#app#app#app#app .home-book-twinkles{display:none!important}}
/* Separate cover-only layer; the approved surrounding twinkles stay unchanged. */
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain{position:absolute!important;inset:12% auto 16% 50%!important;width:min(70%,calc(var(--rain-fall)*.85))!important;transform:translateX(-50%)!important;z-index:16!important;overflow:hidden!important;pointer-events:none!important;background:none!important;border:0!important}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain>i{position:absolute!important;top:-10px!important;left:var(--rain-x)!important;width:var(--rain-size)!important;height:var(--rain-size)!important;color:#e1bf75;opacity:0;animation:home-cover-twinkle-rain var(--rain-duration) var(--rain-delay) linear both!important}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain path{stroke:currentColor;stroke-width:1.1;stroke-linejoin:round}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain .rain-filled path{fill:currentColor}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain .rain-outline path{fill:none}
html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain>i:nth-child(3n){color:#fff4d6}
@keyframes home-cover-twinkle-rain{0%{opacity:.15;transform:translateY(0);filter:drop-shadow(0 0 1px #f3d79850)}14%{opacity:1;filter:drop-shadow(0 0 4px #fff1c9)}32%{opacity:.2}48%{opacity:1;filter:drop-shadow(0 0 5px #fff1c9)}65%{opacity:.25}80%{opacity:.95;filter:drop-shadow(0 0 4px #fff1c9)}100%{opacity:0;transform:translateY(var(--rain-fall));filter:drop-shadow(0 0 1px #f3d79850)}}
@media(prefers-reduced-motion:reduce){html body #app#app#app#app#app#app#app#app .home-book-sparkle-rain{display:none!important}}
/* A preset's shell is never shown before its decorative artwork is ready. */
html body #app#app#app#app#app#app#app#app .book-render[data-context-state=lost]>canvas,html body #modal#modal#modal#modal#modal#modal#modal#modal .book-render[data-context-state=lost]>canvas{visibility:hidden!important}
html body #app#app#app#app#app#app#app#app .book-render[data-preset-artwork]:not([data-preset-artwork=ready])>canvas,html body #modal#modal#modal#modal#modal#modal#modal#modal .book-render[data-preset-artwork]:not([data-preset-artwork=ready])>canvas{visibility:hidden!important}

/* Journal rope uses the same silhouette as setup, across every layout. */
html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;clip-path:none!important;overflow:visible!important}
html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]::before,html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]::after,html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]>.bookmark-fabric-fold{display:none!important}
html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]>.journal-rope-art{position:absolute!important;inset:0 0 28px!important;display:block!important;width:100%!important;height:calc(100% - 28px)!important;transform:none!important;pointer-events:none!important;filter:drop-shadow(1px 2px 2px #0003)}
html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]>.journal-rope-art>svg{display:block!important;width:100%!important;height:100%!important;position:static!important;transform:none!important;max-width:100%!important;margin:0!important}
html body #app#app#app .tabs>button[data-ribbon-style="Braided cord"]>.bookmark-label{background:var(--ribbon-custom,var(--ribbon))!important;color:var(--ribbon-ink)!important}

/* Never replace a saved book with the generic CSS dummy after a GPU failure. */
html body #app#app#app .book-render[data-render-state=error]>.book-render-fallback{display:none!important}
html body #app#app#app .book-render[data-render-state=error]::before{content:'Your saved cover could not be displayed. Reopen to retry.';position:absolute;inset:42% 12% auto;text-align:center;font:14px/1.5 Atelier Sans;color:var(--inside-accent,#85052f)}
html body #app#app#app :is(.cover,.designed-book):has(.book-render[data-render-state=error])>:is(.cover-title,.cover-name,.design-book-title,small){visibility:hidden!important}

/* Failure-only details identify the real installed-device exception. */
html body #app#app#app .book-render[data-render-state=error][data-render-error]::after{content:'Display details: ' attr(data-render-step) ' — ' attr(data-render-error) '\A' 'Build ' attr(data-render-version);position:absolute;inset:65% 7% auto;display:block;white-space:pre-line;overflow-wrap:anywhere;text-align:center;font:12px/1.45 Atelier Sans;color:var(--inside-accent,#85052f);opacity:.9}
html[data-lighting=night] body #app#app#app .book-render[data-render-state=error]::before,html[data-lighting=night] body #app#app#app .book-render[data-render-state=error]::after{color:#f2e5cf}

/* Capsule title examples are hints, distinct from the user’s typed title. All viewports. */
html body #modal #capsule-title::placeholder{color:#858087!important;-webkit-text-fill-color:#858087!important;opacity:.72!important;font-weight:400!important}
html[data-lighting=night] body #modal #capsule-title::placeholder{color:#b7b2ba!important;-webkit-text-fill-color:#b7b2ba!important;opacity:.72!important;font-weight:400!important}

/* Separate cover lettering from the finished-book gallery, at every viewport. */
html[data-setup] body #app .direct-studio .cover-font-options{margin-block-start:20px!important;margin-block-end:12px!important}

/* More-fonts tile keeps the standard border and gold Aa+ sample. */
html[data-setup] body #app .page-font-grid .page-font-custom-tile{position:relative!important}
html[data-setup] body #app .page-font-grid .page-font-custom-tile>span{color:#ac8238!important;-webkit-text-fill-color:#ac8238!important}
html[data-setup][data-lighting=night] body #app .page-font-grid .page-font-custom-tile>span{color:#eed398!important;-webkit-text-fill-color:#eed398!important}
html[data-setup] body #app .direct-studio .cover-font-options>h3{text-align:center!important}
html[data-setup] body #app .direct-studio :is(.page-paper-stage h3,.page-font-options>h3){text-align:center!important}html[data-setup] body #app .section-selection-help>strong{display:block!important;width:100%!important;text-align:center!important}

/* Tablet task controls: equal native date/select height, helper on its own row. */
@media(min-width:761px) and (pointer:coarse){html body #modal#modal#modal#modal#modal#modal#modal#modal .split:has(#task-due)>label{display:grid!important;grid-template-rows:20px 44px auto!important;row-gap:7px!important;align-content:start!important;overflow:visible!important}html body #modal#modal#modal#modal#modal#modal#modal#modal :is(#task-due,#task-priority){height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;padding:8px!important;line-height:26px!important;align-self:start!important}html body #modal#modal#modal#modal#modal#modal#modal#modal .task-date-optional{position:static!important;grid-row:3!important;display:block!important;line-height:16px!important;margin:0!important;padding:0!important;transform:none!important}html body #modal#modal#modal#modal#modal#modal#modal#modal #task-due::-webkit-date-and-time-value{line-height:26px!important;min-height:0!important;margin:0!important;padding:0!important}}

/* Woven ribbon: shared artwork across preview and journal, with a visible V tail. */
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app [data-ribbon-style="Woven ribbon"] .category-preview-art{background:none!important;box-shadow:none!important;clip-path:none!important;--ribbon:var(--category-color)}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app :is(.sample-ribbon,.direct-inbook-tab)[data-ribbon-style="Woven ribbon"]{background:none!important;box-shadow:none!important;border:0!important;clip-path:none!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app .woven-ribbon-art{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;overflow:visible!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]{background:transparent!important;box-shadow:none!important;border:0!important;clip-path:none!important;overflow:visible!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]>.journal-woven-art{position:absolute!important;inset:0!important;top:0!important;bottom:0!important;width:100%!important;height:100%!important;max-height:none!important;pointer-events:none!important;z-index:0!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]>.bookmark-label{bottom:24px!important;z-index:2!important}
html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]::before,html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]::after,html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"] .bookmark-fabric-fold,html body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app nav.tabs>button[data-ribbon-style="Woven ribbon"]>.bookmark-label::after{content:none!important;display:none!important}

html body #app :is(.sample-ribbon,.direct-inbook-tab)[data-ribbon-style="Woven ribbon"]::before,html body #app :is(.sample-ribbon,.direct-inbook-tab)[data-ribbon-style="Woven ribbon"]::after{display:none!important;content:none!important}

/* Journal only: top V notch, full-width fabric, labels inside the exposed part. */
html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.journal-woven-art{left:0!important;right:0!important;top:0!important;bottom:0!important;width:100%!important;height:100%!important;transform:none!important}
html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.bookmark-label,html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]:is(.active,[aria-current=page],:hover)>.bookmark-label{position:absolute!important;top:84px!important;bottom:auto!important;left:4px!important;right:4px!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:30px!important;max-height:44px!important;padding:3px 2px!important;margin:0!important;transform:none!important;translate:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--ribbon-ink)!important;-webkit-text-fill-color:var(--ribbon-ink)!important;text-align:center!important;font-size:13px!important;line-height:1.1!important;white-space:normal!important;overflow-wrap:normal!important;z-index:3!important}
html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.ribbon-symbol{position:absolute!important;top:30px!important;left:50%!important;transform:translateX(-50%)!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;z-index:2!important;color:var(--ribbon-ink)!important}
html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.ribbon-symbol :is(svg,.live-icon){width:24px!important;height:24px!important}
@media(max-width:760px){html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.bookmark-label,html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]:is(.active,[aria-current=page],:hover)>.bookmark-label{top:calc(100% - 48px)!important;font-size:10px!important;min-height:28px!important;max-height:36px!important}html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.ribbon-symbol{top:18px!important;width:19px!important;height:19px!important}html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"]>.ribbon-symbol :is(svg,.live-icon){width:19px!important;height:19px!important}}

html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"][data-go="care"]>.bookmark-label{white-space:nowrap!important}
@media(max-width:760px){html[data-view][data-bookmark-style="Woven ribbon"] body #app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app#app article.notebook>nav.tabs>button[data-ribbon-style="Woven ribbon"][data-go="care"]>.bookmark-label{font-size:clamp(7.5px,2.15vw,11px)!important}}

/* Larger keepsakes inside the jar only: the previous final size was 21px. */
html body #modal .real-jar .jar-notes i:has(>.jar-keepsake){width:42px!important;height:42px!important;aspect-ratio:1}

/* Make the selected cover or cover material clearly stronger than other tiles. */
html body #app#app#app#app#app#app#app#app .direct-studio :is(.preset-cover-gallery,.material-grid)>button[aria-pressed=true],
html body #modal#modal#modal#modal#modal#modal#modal#modal :is(.preset-cover-gallery,.material-grid)>button[aria-pressed=true]{
 border-width:5px!important;
}
/* Date filter label and quiet empty-state cue, shared by every layout. */
html body #app#app#app#app#app#app#app#app#app #page[data-layout=journal] .history-date-filter{position:relative!important;display:flex!important;flex-direction:column!important;text-align:left!important;align-items:stretch!important;gap:5px!important;}

html body .date-empty-hint{position:absolute!important;display:flex;align-items:center;justify-content:center;pointer-events:none!important;font:400 12px/1.4 Arial,sans-serif!important;color:#655e68!important;letter-spacing:normal!important;text-transform:none!important;z-index:1;}
html body .date-empty-hint[hidden]{display:none!important;}
html[data-lighting=night] body .date-empty-hint{color:#bdb7c1!important;}
html body input[data-date-empty]:not(:focus)::-webkit-datetime-edit{opacity:0!important;}
html body label:has(>input:is([type=date],[type=month],[type=datetime-local])){text-align:left!important;}
/* Shared first-use and Settings install guide. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.install-guide-numbered){width:min(700px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box!important;border:2px solid transparent!important;background:linear-gradient(var(--inside-paper,#fffaf3),var(--inside-paper,#fffaf3)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#c790a7,#f5e4bd,#ad873e,#85062f)) border-box!important;}
html body #modal:has(.install-guide-numbered) .modal-head{flex-shrink:0!important;gap:10px!important;}
html body #modal:has(.install-guide-numbered) .modal-head h2{font-size:clamp(20px,4vw,26px)!important;min-width:0!important;}
html body #modal:has(.install-guide-numbered) .modal-body{overflow:auto!important;min-height:0!important;}
.install-guide-numbered [hidden]{display:none!important;}
.install-guide-numbered .install-device-choice{display:flex!important;flex-direction:column!important;text-align:left!important;gap:6px!important;margin:0 0 16px!important;font-size:13px!important;}
.install-guide-numbered .install-device-choice select{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;height:auto!important;min-height:42px!important;margin:0!important;font-size:13px!important;}
.install-guide-numbered ol{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:14px!important;}
.install-guide-numbered li{margin:0!important;padding:0!important;}
.install-guide-numbered .install-step-number{display:block!important;margin:0 0 4px!important;color:var(--inside-accent,#85062f)!important;font-size:13px!important;}
.install-guide-numbered .install-guide-note,.install-guide-numbered .install-welcome-copy{font-size:13px!important;line-height:1.5!important;margin:12px 0!important;}
.install-guide-numbered .install-guide-actions{display:flex!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;}
.install-guide-numbered .install-guide-actions button{min-height:40px!important;padding:8px 14px!important;font-size:13px!important;}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.install-guide-numbered){background:linear-gradient(#19171d,#19171d) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#c790a7,#f5e4bd,#ad873e,#85062f)) border-box!important;color:#f5f0e8!important;}
html[data-lighting=night] body #modal:has(.install-guide-numbered) .modal-head{background:#19171d!important;color:#edce87!important;}
html[data-lighting=night] body .install-guide-numbered :is(h3,.install-step-number){color:#edce87!important;}
html[data-lighting=night] body .install-guide-numbered :is(p,li,label){color:#e7e1e9!important;}
@media(min-width:700px){
 .install-guide-numbered{display:grid!important;grid-template-columns:minmax(0,180px) minmax(0,1fr)!important;column-gap:24px!important;align-items:start!important;}
 .install-guide-numbered .install-summary{grid-column:1!important;grid-row:1/5!important;border-bottom:0!important;}
 .install-guide-numbered>:not(.install-summary){grid-column:2!important;}
 .install-guide-numbered .install-icon-flow{gap:10px!important;}
}
@media(max-height:500px){html body #modal:has(.install-guide-numbered) .modal-head{padding:10px 16px!important;}html body #modal:has(.install-guide-numbered) .modal-body{padding:12px 16px!important;}}
/* Keep the existing illustration at recognizable phone proportions. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal .install-guide-numbered .install-icon-flow{gap:10px!important;overflow:visible!important;}
html body #modal .install-guide-numbered .install-icon-flow>.install-app-icon{flex:0 0 52px!important;width:52px!important;height:52px!important;}
html body #modal .install-guide-numbered .install-icon-flow>.install-direction{flex:0 0 24px!important;width:24px!important;height:24px!important;}
html body #modal .install-guide-numbered .install-icon-flow>.install-home-screen{flex:0 0 78px!important;width:78px!important;min-width:78px!important;max-width:78px!important;height:136px!important;min-height:136px!important;max-height:136px!important;border-radius:15px!important;gap:8px!important;padding:14px 6px 10px!important;box-sizing:border-box!important;}
html body #modal .install-guide-numbered .install-home-screen .install-phone-app img{width:34px!important;height:34px!important;}
html body #modal .install-guide-numbered .install-phone-dock{gap:5px!important;padding:5px 2px!important;}
html body #modal .install-guide-numbered .install-phone-dock i{width:10px!important;height:10px!important;flex:0 0 10px!important;}
html body #modal .install-guide-numbered .install-steps{padding-top:2px!important;}
html body #modal .install-guide-numbered .install-steps ol{gap:16px!important;}
/* Keep the current-book group visibly framed at every viewport width. */
html body #modal#modal#modal#modal#modal#modal .compact-jar-library>.current-book-jars{border:2px solid transparent!important;border-radius:14px!important;background:linear-gradient(var(--surface,#fffdf8),var(--surface,#fffdf8)) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e8c9,#c5a04e,#85062f)) border-box!important;}
html[data-lighting=night] body #modal#modal#modal#modal#modal#modal .compact-jar-library>.current-book-jars{background:linear-gradient(#181818,#181818) padding-box,var(--selection-iridescence,linear-gradient(115deg,#85062f,#f6e8c9,#c5a04e,#85062f)) border-box!important;}
.current-book-jars-empty{margin:12px!important;padding:4px!important;font-size:14px!important;line-height:1.5!important;text-align:center!important;}
/* Full-entry reader uses the active book's paper, font and ruling. */
html body #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal:has(.entry-reading){width:min(800px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;}
html body #modal:has(.entry-reading) .modal-head{flex-shrink:0!important;}
html body #modal:has(.entry-reading) .modal-head h2{font-size:18px!important;}
html body #modal:has(.entry-reading) .modal-body{padding:18px!important;overflow:auto!important;min-height:0!important;}
html body #modal#modal#modal#modal .entry-reading{--reader-paper:var(--inside-paper,#fffefa);--reader-ink:var(--inside-text,#352e40);--reader-rule:color-mix(in srgb,var(--reader-ink) 14%,transparent);box-sizing:border-box!important;max-width:680px!important;min-width:0!important;min-height:340px!important;margin:0 auto!important;padding:clamp(20px,4vw,42px)!important;border:1px solid color-mix(in srgb,var(--inside-accent,#85052f) 22%,var(--reader-paper))!important;border-radius:2px!important;background:var(--reader-paper)!important;color:var(--reader-ink)!important;box-shadow:2px 3px 0 var(--reader-paper),3px 4px 0 #00000022,0 10px 24px #00000012!important;}
html body #modal#modal#modal#modal .entry-reading-heading{padding:0 0 18px!important;border-bottom:1px solid var(--reader-rule)!important;}
html body #modal#modal#modal#modal .entry-reading .entry-reading-title{font:500 clamp(25px,4vw,34px)/1.25 var(--reader-font,Georgia),serif!important;color:var(--reader-ink)!important;-webkit-text-fill-color:var(--reader-ink)!important;margin:10px 0 14px!important;overflow-wrap:anywhere!important;background:none!important;}
html body #modal#modal#modal#modal .entry-reading .entry-reading-body{font:400 17px/32px var(--reader-font,Georgia),serif!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;min-height:224px!important;margin:20px 0 0!important;padding:0!important;color:var(--reader-ink)!important;-webkit-text-fill-color:currentColor!important;background-color:transparent!important;background-image:linear-gradient(to bottom,transparent 31px,var(--reader-rule) 31px,var(--reader-rule) 32px)!important;background-size:100% 32px!important;}
html body #modal#modal#modal#modal .entry-reading[data-paper-style=Blank] .entry-reading-body{background-image:none!important;}
html body #modal#modal#modal#modal .entry-reading[data-paper-style="Dot grid"] .entry-reading-body{background-image:radial-gradient(var(--reader-rule) 1px,transparent 1px)!important;background-size:18px 18px!important;}
html body #modal#modal#modal#modal .entry-reading[data-paper-style=Graph] .entry-reading-body{background-image:linear-gradient(var(--reader-rule) .6px,transparent .6px),linear-gradient(90deg,var(--reader-rule) .6px,transparent .6px)!important;background-size:18px 18px!important;}
html body #modal#modal#modal#modal .entry-reading .entry-reading-body :is(p,div,li){color:inherit!important;-webkit-text-fill-color:currentColor!important;font-family:inherit!important;line-height:inherit!important;}
html body #modal#modal#modal#modal .entry-reading :is(svg,img){max-width:100%!important;height:auto!important;}
html body #modal#modal#modal#modal .entry-reading .eyebrow{color:color-mix(in srgb,var(--reader-ink) 72%,var(--reader-paper))!important;-webkit-text-fill-color:currentColor!important;}
html[data-lighting=night] body #modal#modal#modal#modal .entry-reading{--reader-paper:var(--night-background,#121212);--reader-ink:var(--night-text,#f5f0e8);--reader-rule:color-mix(in srgb,var(--reader-ink) 17%,transparent);box-shadow:2px 3px 0 var(--reader-paper),3px 4px 0 #ffffff28,0 10px 24px #00000055!important;}
html[data-lighting=night] body #modal#modal#modal#modal .entry-reading .entry-reading-body [style*="color"]{color:var(--reader-ink)!important;-webkit-text-fill-color:currentColor!important;}
@media(max-width:760px){html body #modal:has(.entry-reading) .modal-body{padding:10px!important;}html body #modal#modal#modal#modal .entry-reading{padding:20px 16px!important;}html body #modal#modal#modal#modal .entry-reading .entry-reading-body{font-size:16px!important;}}
html body #modal#modal#modal#modal .entry-reading-heading{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;gap:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;}
