
/* Layout rhythm shared across the journal. Artwork and brand colors are preserved. */
html body{--layout-gap:16px;--layout-pad:22px}
html body #app :is(.section-head,.studio-option-heading){gap:14px!important;min-width:0!important}
html body #app :is(.fields,.split,.toolbar,.journal-actions,.journal-help-shortcuts,.dialog-actions,.studio-save-actions){gap:12px!important}
html body :is(.modal-body,.studio-options,.spread-page) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select){box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;font-size:15px}
html body :is(.modal-body,.studio-options) label{line-height:1.45!important}
html body :is(.modal-body,.studio-options) label>input,html body :is(.modal-body,.studio-options) label>select{margin-top:7px!important}
html body :is(.modal-body,.studio-options) :is(h3,h4){line-height:1.3!important}
html body :is(.modal-body,.studio-options) :is(.toolbar,.dialog-actions,.dialog-footer,.book-actions,.letter-actions,.library-actions){display:flex;flex-wrap:wrap;align-items:center;gap:12px!important}
html body :is(.modal-body,.studio-options) :is(.toolbar,.dialog-actions,.dialog-footer)>button{margin:0!important}
/* Personalization is a workspace, not a succession of oversized cards. */
html body #app .studio-heading{padding:22px 26px!important;gap:18px!important;align-items:start!important}
html body #app .studio-heading h1{font-size:clamp(30px,3vw,42px)!important;line-height:1.16!important;margin:4px 0 8px!important}
html body #app .studio-heading p{font-size:14px!important;margin:0!important;line-height:1.5!important}
html body #app .studio-profile-controls{gap:16px 24px!important;align-items:center!important}
html body #app .studio-profile-controls>label:first-child{width:240px!important;max-width:100%!important;margin:0!important}
html body #app .studio-category-nav{gap:12px!important;margin:18px 0!important}
html body #app .studio-category-nav>button{min-height:76px!important;padding:12px!important;gap:8px!important}
html body #app .studio-category-nav>button svg{width:28px!important;height:28px!important}
html body #app .studio-options{padding:22px!important;min-width:0!important}
html body #app .studio-option-heading{margin:0 0 18px!important;padding-bottom:14px!important}
html body #app .studio-option-heading h2{font-size:32px!important;line-height:1.2!important;margin:6px 0 0!important}
html body #app .studio-extra{padding:12px 16px!important;margin:16px 0!important}
html body #app .studio-extra>summary{padding:8px 0!important;min-height:0!important}
html body #app .studio-area-navigation{gap:12px!important;padding-top:20px!important;margin-top:20px!important}
/* Journal: related fields and shortcuts use a common vertical rhythm. */
html body #app #page[data-layout=journal] .section-head{margin-bottom:16px!important}
html body #app #page[data-layout=journal] .entry-essentials{margin:0 0 14px!important}
html body #app #page[data-layout=journal] .entry-essentials>label{width:190px!important;flex:0 1 190px!important}
html body #app #page[data-layout=journal] .entry-mode-picker{margin:0 0 12px!important}
html body #app #page[data-layout=journal] .entry-mode-picker h3{font-size:23px!important;margin:0 0 12px!important}
html body #app #page[data-layout=journal] .journal-help-shortcuts{margin:0 0 18px!important;row-gap:10px!important}
html body #app #page[data-layout=journal] .entry-composer{padding:0!important}
html body #app #page[data-layout=journal] .entry-title{margin:7px 0 18px!important;padding:8px 0 12px!important;min-height:54px!important;font-size:29px!important}
html body #app #page[data-layout=journal] .writing-input-heading{margin:0 0 10px!important;gap:12px!important}
html body #app #page[data-layout=journal] .history>h3{font-size:28px!important;margin:6px 0 14px!important}
html body #app #page[data-layout=journal] .history .fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin:14px 0!important}
html body #app #page[data-layout=journal] .history #search{grid-column:1/-1!important}
html body #app #page[data-layout=journal] .tag-filter-label{display:block!important;margin:0 0 16px!important;font-size:13px!important}
html body #app #page[data-layout=journal] .tag-filter-label>select{margin-top:7px!important}
html body #app #page[data-layout=journal] #entry-list .entry-preview{padding:14px!important;margin:10px 0!important}
/* A real spread: each task column stays on its own paper leaf. */
html[data-view=book] body #app #page[data-layout=tasks]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html[data-view=full] body #app #page[data-layout=tasks]{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)!important}
html body #app #page[data-layout=tasks] .task-workspace-main,html body #app #page[data-layout=tasks] .task-workspace-summary{min-width:0!important}
html body #app #page[data-layout=tasks] .task-row .icon-btn{flex-shrink:0!important}
/* Overview: smaller supporting chrome, with room for the actual charts. */
html body #app #page[data-layout=overview] .dashboard-title{padding:18px 22px!important;margin-bottom:18px!important}
html body #app #page[data-layout=overview] .dashboard-title h2{font-size:34px!important;margin:4px 0!important}
html body #app #page[data-layout=overview] .dashboard-period{margin:14px 0 10px!important}
html body #app #page[data-layout=overview] .dashboard-range{margin:10px 0 18px!important;font-size:13px!important;line-height:1.5!important}
html body #app #page[data-layout=overview] .clear-dashboard-cards{gap:14px!important}
html body #app #page[data-layout=overview] .dash-card{min-height:146px!important;padding:16px!important}
html body #app #page[data-layout=overview] .dash-card>strong{font-size:39px!important;margin:12px 0!important;line-height:1.1!important}
html body #app #page[data-layout=overview] .dash-card-heading{font-size:16px!important;gap:12px!important}
html body #app #page[data-layout=overview] .dashboard-chart-panel>.panel-heading{font-size:23px!important;margin-bottom:10px!important}
html body #app #page[data-layout=overview] .dashboard-chart-panel>p{margin-bottom:14px!important}
html body #app #page[data-layout=overview] .readable-chart{height:190px!important}
/* Collections: keep the objects generous without hiding the tools underneath. */
html body #modal .modal-body:has(>.jar-gallery){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px 24px!important;align-items:start!important}
html body #modal .modal-body:has(>.jar-gallery)>:is(p,.jar-gallery,.jar-draw-result,.jar-items,.jar-create-panel,.jar-danger-footer){grid-column:1/-1!important;margin:0!important}
html body #modal .jar-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html body #modal .jar-display-card{padding:12px!important;min-height:0!important;margin:0!important}
html body #modal .jar-display-card>button:first-child{padding:0!important;gap:6px!important;min-height:0!important}
html body #modal .jar-display-card .real-jar{width:160px!important;height:172px!important;max-width:100%!important;margin:0 auto!important}
html body #modal .jar-display-card strong{font-size:23px!important;margin:4px 0!important;line-height:1.3!important}
html body #modal .jar-note-total{font-size:13px!important;margin:0!important}
html body #modal .jar-draw-button{margin:10px auto 0!important;min-height:40px!important;padding:8px 14px!important}
html body #modal :is(.jar-details-panel,.jar-note-panel){padding:18px!important;margin:0!important;min-width:0!important}
html body #modal :is(.jar-details-panel,.jar-note-panel)>h3{font-size:23px!important;margin:0 0 16px!important}
html body #modal .jar-editor-layout{grid-template-columns:88px minmax(0,1fr)!important;gap:16px!important}
html body #modal .jar-editor-layout .real-jar{width:88px!important;height:115px!important}
html body #modal #jar-note{min-height:110px!important;height:110px!important;margin-top:7px!important}
html body #modal .jar-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html body #modal .jar-items>article{margin:0!important;padding:16px!important}
html body #modal .jar-danger-footer{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:12px!important;padding:16px 0!important}
/* Reusable dialogs: a consistent header, not oversized option tiles. */
html body #modal .modal-head{padding:18px 24px!important;margin:0!important;gap:14px!important}
html body #modal .modal-head h2{font-size:32px!important;line-height:1.2!important;margin:0!important}
html body #modal .modal-body{padding:22px 24px!important}
html body #modal .settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body #modal .settings-action{min-height:76px!important;padding:15px!important;gap:14px!important;text-align:left!important}
html body #modal .settings-action>svg{width:28px!important;height:28px!important;flex-shrink:0!important}
html body #modal .settings-action b{font-size:16px!important;line-height:1.35!important}
html body #modal .settings-section{padding:0!important;margin:0 0 24px!important}
html body #modal .settings-section h3{font-size:24px!important;margin:0 0 14px!important}
html body #modal .all-tools-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important}
html body #modal .tool-group>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body #modal .tool-group button{min-height:98px!important;padding:14px!important;gap:10px!important}
html body #modal .tool-group h3{font-size:23px!important;margin:20px 0 12px!important}
html body #modal .capsule-intro{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:4px 20px!important;align-items:center!important;padding:0!important;margin:0 0 20px!important;text-align:left!important}
html body #modal .capsule-intro img{grid-column:1!important;grid-row:1/3!important;width:100px!important;height:100px!important;margin:0!important;object-fit:contain!important}
html body #modal .capsule-intro h3{font-size:28px!important;margin:0!important}.capsule-intro p{margin:5px 0!important}
html body #modal .reflection-deck-stack{width:min(100%,390px)!important;max-width:390px!important;margin:12px auto 26px!important;min-height:0!important;height:370px!important}
html body #modal .reflection-card{width:100%!important;max-width:100%!important;height:100%!important;padding:30px!important;box-sizing:border-box!important}
html body #modal .reflection-card h3{font-size:28px!important;margin:15px 0!important}
html body #modal .reflection-card p{font-size:25px!important;line-height:1.45!important}
html body #modal .letter-choice-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
html body #modal .letter-choice-grid>button{min-height:110px!important;padding:16px!important;font-size:17px!important;line-height:1.4!important}
/* Narrow screens get one natural reading column, with no horizontal dragging. */
@media(max-width:760px){
 html body{--layout-pad:16px}
 html body #app .studio-heading{padding:18px!important}
 html body #app .studio-heading h1{font-size:31px!important}
 html body #app .studio-profile-controls{align-items:stretch!important;gap:14px!important}
 html body #app .studio-profile-controls>label:first-child{width:100%!important}
 html body #app .studio-category-nav{gap:8px!important}
 html body #app .studio-category-nav>button{min-height:68px!important;padding:9px!important;font-size:12px!important}
 html body #app .studio-options{padding:18px!important}
 html body #app #page[data-layout=tasks]{grid-template-columns:minmax(0,1fr)!important}
 html body #app #page[data-layout=tasks]>.spread-page{grid-column:1!important}
 html body #app #page[data-layout=journal] .history .fields{grid-template-columns:minmax(0,1fr)!important}
 html body #app #page[data-layout=journal] .journal-help-shortcuts{gap:8px!important}
 html body #app #page[data-layout=journal] .journal-help-shortcuts>span{flex-basis:100%!important}
 html body #app #page[data-layout=overview] .dash-card{padding:14px!important;min-height:140px!important}
 html body #modal .modal-head{padding:16px!important}
 html body #modal .modal-head h2{font-size:27px!important}
 html body #modal .modal-body{padding:18px 16px!important}
 html body #modal .modal-body:has(>.jar-gallery){grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 html body #modal .jar-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 html body #modal .jar-display-card{padding:8px 4px!important}
 html body #modal .jar-display-card .real-jar{width:90px!important;height:105px!important}
 html body #modal .jar-display-card strong{font-size:17px!important;overflow-wrap:anywhere!important}
 html body #modal .jar-note-total{font-size:12px!important}
 html body #modal .jar-draw-button{font-size:12px!important;padding:8px!important;max-width:100%!important}
 html body #modal .jar-items,html body #modal .settings-grid{grid-template-columns:minmax(0,1fr)!important}
 html body #modal .tool-group>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body #modal .tool-group button{padding:12px!important;min-height:96px!important}
 html body #modal .capsule-intro{grid-template-columns:72px minmax(0,1fr)!important;gap:8px 14px!important}
 html body #modal .capsule-intro img{width:72px!important;height:82px!important}
 html body #modal .capsule-intro h3{font-size:24px!important}
 html body #modal .capsule-intro p{grid-column:1/-1!important;font-size:14px!important}
 html body #modal .reflection-deck-stack{height:330px!important;width:min(90%,330px)!important}
 html body #modal .reflection-card{padding:24px!important}
 html body #modal .reflection-card p{font-size:22px!important}
 html body #modal .letter-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

html body #app #page[data-layout=overview] .dashboard-period{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;max-width:210px!important;text-align:left!important}
html body #app #page[data-layout=overview] .dashboard-period select{width:100%!important;margin:0!important}
html body #app #page[data-layout=habits] .habit-list-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 18px!important}
html body #app #page[data-layout=habits] .habit-list-heading h3{font-size:27px!important;margin:0!important}
html body #app #page[data-layout=habits] .habit-list-heading button{flex-shrink:0!important}
html body #app #page[data-layout=mood][data-care-panel=today]>.page-left>:is(.eyebrow,h2,p.subtle){display:none!important}
@media(min-width:761px){
 html body #app #page:is([data-layout=habits],[data-layout=mood])[data-care-panel=today]{grid-template-rows:auto auto minmax(0,1fr)!important;align-items:start!important}
 html body #app #page:is([data-layout=habits],[data-layout=mood])[data-care-panel=today]>.care-page-heading{grid-column:1!important;grid-row:1!important;padding:22px 26px 8px!important}
 html body #app #page:is([data-layout=habits],[data-layout=mood])[data-care-panel=today]>.care-section-tabs{grid-column:1!important;grid-row:2!important;padding:0 26px 16px!important;margin:0!important}
 html body #app #page[data-layout=habits][data-care-panel=today]>.page-right,html body #app #page[data-layout=mood][data-care-panel=today]>.mood-checkin-details{grid-column:2!important;grid-row:1/4!important;padding-top:26px!important}
 html body #app #page:is([data-layout=habits],[data-layout=mood])[data-care-panel=today]>.page-left{grid-column:1!important;grid-row:3!important;padding-top:0!important}
}

@media(max-width:760px){
 html[data-screen=home] body #app .home-studio{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
 html[data-screen=home] body #app .home-studio>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:145px!important;padding:12px 7px!important;text-align:center!important}
 html[data-screen=home] body #app .home-studio>button .studio-object{width:68px!important;height:72px!important}
 html[data-screen=home] body #app .home-studio>button>b{font-size:17px!important;line-height:1.25!important;align-self:center!important;text-align:center!important;overflow-wrap:normal!important}
 html[data-screen=home] body #app .home-studio>button>small{display:none!important}
 html body #app .studio-category-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important}
 html body #app .studio-category-nav>button{width:100%!important;min-width:0!important;white-space:normal!important}
 html body #app .studio-main{grid-template-columns:minmax(0,1fr)!important}
 html body #app .studio-main>*{min-width:0!important;max-width:100%!important}
 html body #modal .jar-editor-layout{grid-template-columns:70px minmax(0,1fr)!important}
}

.journal-mobile-views{display:none!important}
@media(max-width:760px){
 html body #app #page[data-layout=journal]>.journal-mobile-views{display:flex!important;gap:10px!important;padding:8px 16px 14px!important;grid-column:1/-1!important}
 html body #app #page[data-layout=journal]>.journal-mobile-views>button{min-height:44px!important;flex:1 1 0!important;padding:10px!important;background:var(--surface)!important;color:var(--accent-deep)!important;border:1px solid var(--accent-edge)!important}
 html body #app #page[data-layout=journal]>.journal-mobile-views>button[aria-pressed=true]{background:var(--accent-deep)!important;color:#fff!important;border-color:var(--accent-deep)!important}
 html body #app #page[data-layout=journal][data-journal-pane=write]>.history,html body #app #page[data-layout=journal][data-journal-pane=history]>.page-left{display:none!important}
}

html body #modal .clear-field-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:7px 11px!important;font-size:13px!important;margin:8px 0 12px!important}
html body #modal .clear-field-button svg{width:18px!important;height:18px!important}
html body #modal :is(.template-grid,#prompt-library-list){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:18px 0!important}
html body #modal .template-grid>button{min-height:125px!important;padding:18px!important;text-align:left!important;gap:10px!important}
html body #modal .template-grid h3{font-size:23px!important;margin:8px 0!important}.template-grid small{line-height:1.5!important}
html body #modal .library-prompt{padding:16px!important;margin:0!important;text-align:left!important;min-height:128px!important}
html body #modal .library-prompt p{font-size:19px!important;line-height:1.5!important;margin:12px 0!important}
html body #modal .writing-library-kinds{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:16px 0!important}
html body #modal .library-manager-tools{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important}
html body #modal .library-manager-tools>input{flex:1 1 200px!important}
html body #modal .library-manager-tools>label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
html body #modal #library-manager-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:18px 0!important}
html body #modal .library-manager-item{display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:16px!important;padding:16px!important;margin:0!important;min-width:0!important}
html body #modal .library-manager-item h3{font-size:23px!important;margin:10px 0!important}.library-manager-item p{font-size:14px!important;line-height:1.6!important}
html body #modal .sound-choice-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:end!important;padding:12px 0!important;margin:0!important}
html body #modal .sound-choice-row>label{min-width:0!important;margin:0!important}
html body #modal .sound-choice-row>button{min-height:44px!important;margin:0!important}
html body #modal .scene-sound-samples{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:18px 0!important}
html body #modal .sound-toggle{padding:12px 0!important;background:transparent!important;border:0!important;margin:0 0 12px!important}
html body #modal .sound-toggle>span{display:flex!important;align-items:center!important;gap:10px!important}
html body #modal .sound-toggle input{margin:0!important;width:20px!important;height:20px!important}
@media(max-width:760px){html body #modal :is(.template-grid,#prompt-library-list,#library-manager-list){grid-template-columns:minmax(0,1fr)!important}.sound-choice-row label>select{width:100%!important}}

@media(max-width:760px){
 html[data-view] body #app #page[data-layout=tasks]{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 html[data-view] body #app #page[data-layout=tasks]>.task-workspace-main,html[data-view] body #app #page[data-layout=tasks]>.task-workspace-summary{grid-column:1/-1!important;width:100%!important;box-sizing:border-box!important}
 html body #app #page[data-layout=tasks] .quick-task-form>div{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important}
 html body #app #page[data-layout=tasks] #quick-task-title{height:44px!important;min-height:44px!important;max-height:44px!important;flex:1 1 160px!important;width:100%!important;padding:10px 12px!important}
 html body #app #page[data-layout=tasks] .quick-task-form button{min-height:44px!important;height:44px!important;flex:0 0 auto!important}
 html body #app #page[data-layout=tasks] .task-view-nav{flex-direction:row!important}
 html body #app #page[data-layout=tasks] .task-row{flex-direction:row!important;min-height:78px!important;height:auto!important}
 html body #app #page[data-layout=tasks] .task-row .grow{flex:1 1 0!important}
 html body #app .notebook::before,html body #app .notebook::after{display:none!important}
}

html body #modal .split{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
html body #modal .split>label{min-width:0!important;margin:0 0 14px!important}
html body #modal .split>label>input{width:100%!important}
@media(max-width:760px){html body #modal .split{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}html body #app #page[data-layout=tasks] .task-row .check{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}

html body #app .identity-extra>:is(.custom-greeting-field,.custom-tone-field)[hidden]{display:none!important}
html body #app .identity-extra>.split{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
html body #app .identity-extra .setting-switch{padding:14px 16px!important;margin:12px 0!important;gap:16px!important;min-height:0!important}
html body #app .identity-extra .setting-switch small{font-size:12px!important;line-height:1.5!important}
html body #app .tone-options{gap:10px!important;margin:14px 0 18px!important}
html body #app .tone-options button{min-height:44px!important;padding:10px 13px!important}
html body #app .experience-preset-grid{gap:12px!important}.experience-preset-grid button{padding:16px!important;min-height:130px!important}
html body #app .experience-grid{gap:14px!important}.experience-grid .setting-switch{padding:16px!important;gap:14px!important;min-height:0!important}.experience-grid .feature-emblem{width:36px!important;height:36px!important}.experience-grid .feature-emblem svg{width:30px!important;height:30px!important}.experience-grid .feature-examples{margin-top:10px!important;gap:7px!important}.experience-grid .feature-examples i{padding:4px 8px!important;font-size:11px!important}
@media(max-width:760px){html body #app .identity-extra>.split{grid-template-columns:100px minmax(0,1fr)!important}.experience-preset-grid button{min-height:120px!important}}

html body #app .cover-initials-row{justify-content:flex-start!important;gap:14px 24px!important}
html body #app .cover-initials-row .initials-choice{flex:0 1 auto!important}

html body #modal .tool-group button{grid-template-columns:58px minmax(0,1fr)!important;column-gap:15px!important;row-gap:8px!important;align-items:center!important;padding:18px!important;min-height:138px!important}
html body #modal .tool-group button>.tool-art{grid-column:1!important;grid-row:1/3!important;width:58px!important;height:64px!important;max-width:none!important;filter:drop-shadow(0 3px 4px #40233218)!important}
html body #modal .tool-group button>span{grid-column:2!important;grid-row:1!important;font-size:17px!important;line-height:1.3!important;align-self:end!important}
html body #modal .tool-group button>small{grid-column:2!important;grid-row:2!important;align-self:start!important;font-size:13px!important;line-height:1.55!important;margin:0!important}
html body #modal .shortcut-picker .tool-art{width:46px!important;height:50px!important;flex-shrink:0!important}
html body #app .page-quick-tools .tool-art{width:30px!important;height:32px!important;flex-shrink:0!important}
.tool-art{transition:transform .22s ease,filter .22s ease}
button:hover>.tool-art{transform:translateY(-2px) scale(1.05)}
@media(max-width:760px){html body #modal .tool-group>div{grid-template-columns:minmax(0,1fr)!important}html body #modal .tool-group button{min-height:112px!important;grid-template-columns:58px minmax(0,1fr)!important;padding:16px!important}}
@media(prefers-reduced-motion:reduce){.tool-art{transition:none!important}button:hover>.tool-art{transform:none!important}}

html body #app .journal-help-shortcuts .tool-art{width:27px!important;height:29px!important;margin:0!important;flex-shrink:0!important}
html body #app .experience-grid .feature-emblem .tool-art{width:40px!important;height:42px!important}

html body #modal:has(#all-tools-list){width:min(1040px,calc(100vw - 48px))!important;max-width:1040px!important}
html body #app .favorites-filter{display:inline-flex!important;align-items:center!important;gap:12px!important;min-height:44px!important;padding:9px 13px!important}
.favorite-filter-state{font-size:12px;font-weight:600;padding:3px 7px;border:1px solid currentColor;border-radius:6px;line-height:1.3}
html body #app .favorite-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border-radius:50%!important;cursor:pointer!important;position:relative!important;z-index:2!important;color:var(--accent-deep)!important}
html body #app .favorite-button svg{width:22px!important;height:22px!important;pointer-events:none}
html body #app .favorite-button[aria-pressed=true]{background:var(--surface)!important;box-shadow:inset 0 0 0 1px var(--accent-edge)!important}
@media(max-width:760px){html body #modal:has(#all-tools-list){width:calc(100vw - 24px)!important}}

/* A restrained lift with the iridescent frame confined to the label. */
html body #app .workspace-shell article.notebook nav.tabs>button{--bookmark-frame:var(--metric-foil);outline:none!important;outline-offset:0!important;transform:translateY(0)!important}
html:not([data-interior=Signature]) body #app .workspace-shell article.notebook nav.tabs>button{--bookmark-frame:linear-gradient(115deg,var(--ribbon-custom,var(--accent-deep)),color-mix(in srgb,var(--ribbon-custom,var(--accent-deep)) 35%,#fff) 30%,#fff 47%,color-mix(in srgb,var(--ribbon-custom,var(--accent-deep)) 70%,#fff) 70%,var(--ribbon-custom,var(--accent-deep)))}
html body #app .workspace-shell article.notebook nav.tabs>button:hover{transform:translateY(-4px)!important}
html body #app .workspace-shell article.notebook nav.tabs>button.active,html body #app .workspace-shell article.notebook nav.tabs>button[aria-current=page]{outline:none!important;transform:translateY(-6px)!important}
html body #app .workspace-shell article.notebook nav.tabs>button.active:hover{transform:translateY(-8px)!important}
html body #app .workspace-shell article.notebook nav.tabs>button.active .bookmark-label,html body #app .workspace-shell article.notebook nav.tabs>button[aria-current=page] .bookmark-label{background:linear-gradient(var(--ribbon-custom,#fffdf6),var(--ribbon-custom,#fffdf6)) padding-box,var(--bookmark-frame) border-box!important;color:var(--ribbon-ink,#57152e)!important;border:3px solid transparent!important;border-radius:8px!important;box-shadow:inset 0 1px #ffffff80,0 2px 5px #51302122!important;text-shadow:none!important;padding:7px 9px!important}
html body #app .workspace-shell article.notebook nav.tabs>button:focus-visible .bookmark-label{outline:2px solid #a77935!important;outline-offset:3px!important}
@media(min-width:761px){html body #app .workspace-shell>.notebook{margin-top:158px!important}html body #app .workspace-shell article.notebook>nav.tabs{height:180px!important;top:-126px!important}html body #app .workspace-shell article.notebook>nav.tabs>button{height:180px!important;min-height:180px!important}html body #app .workspace-shell article.notebook>nav.tabs .bookmark-object-art{height:180px!important}html body #app .workspace-shell article.notebook nav.tabs .object-bookmark .bookmark-label{bottom:68px!important}}
html{--metric-foil:linear-gradient(115deg,#6e052c,#a32b50 23%,#fff5d7 44%,#c49a49 66%,#fffaf1 80%,#810e34)}
html:not([data-interior=Signature]){--metric-foil:linear-gradient(115deg,var(--accent-deep),color-mix(in srgb,var(--accent-deep) 65%,#fff) 25%,color-mix(in srgb,var(--accent-deep) 15%,#fff) 48%,color-mix(in srgb,var(--accent-deep) 65%,#fff) 72%,var(--accent-deep))}
html body #app #page[data-layout=tasks] .task-totals{gap:12px!important;align-items:stretch!important}
html body #app #page[data-layout=tasks] .task-totals>.task-metric{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;aspect-ratio:1!important;min-height:144px!important;min-width:0!important;padding:15px 10px!important;box-sizing:border-box!important;text-align:center!important;border:2px solid transparent!important;border-radius:15px!important;background:linear-gradient(var(--surface,#fff),var(--surface,#fff)) padding-box,var(--metric-foil) border-box!important;box-shadow:inset 0 1px #ffffff80,0 4px 0 color-mix(in srgb,var(--accent-deep) 12%,transparent),0 8px 18px #3b18300c!important}
html body #app #page[data-layout=tasks] .task-metric>i{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;color:var(--accent-deep)!important}
html body #app #page[data-layout=tasks] .task-metric>i svg{width:28px!important;height:28px!important}
html body #app #page[data-layout=tasks] .task-totals>.task-metric>b{font:500 clamp(42px,4vw,58px)/1 Atelier Display,Georgia,serif!important;margin:0!important;color:var(--accent-deep)!important}
html body #app #page[data-layout=tasks] .task-metric>span{font-size:14px!important;line-height:1.3!important;color:var(--ink)!important;margin:0!important}
html body #app #page .clear-dashboard-cards>button:before{background:var(--metric-foil)!important}
html body #app #page .scorecard{position:relative!important;overflow:hidden}
html body #app #page .scorecard:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--metric-foil);pointer-events:none}
html body #app #page .scorecard>b{font-size:36px!important;line-height:1.1!important}
html body #app #page .task-badges{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;min-width:0!important}
html body #app #page .task-priority,html body #app #page .task-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;align-self:flex-start!important;width:fit-content!important;min-width:0!important;max-width:100%!important;padding:3px 9px!important;border-radius:999px!important;font-size:12px!important;line-height:1.35!important;white-space:nowrap!important}
@media(max-width:760px){html body #app #page[data-layout=tasks] .task-totals{gap:8px!important}html body #app #page[data-layout=tasks] .task-totals>.task-metric{min-height:116px!important;padding:10px 6px!important;gap:6px!important;border-radius:12px!important}html body #app #page[data-layout=tasks] .task-totals>.task-metric>b{font-size:38px!important}html body #app #page[data-layout=tasks] .task-metric>i,html body #app #page[data-layout=tasks] .task-metric>i svg{width:22px!important;height:22px!important}html body #app #page[data-layout=tasks] .task-metric>span{font-size:12px!important}}

/* Persisted choices are unmistakable, with instant theme-colored feedback. */
html{--selection-fill:color-mix(in srgb,var(--accent-deep,#81052e) 20%,var(--surface,#fff))}
html body #app #page .moods>button.selected,html body #app #page .moods>button[aria-pressed=true]{background:var(--selection-fill)!important;background-image:none!important;border:2px solid var(--accent-deep)!important;box-shadow:inset 0 0 0 2px var(--surface),0 3px 0 var(--accent-edge)!important;color:var(--ink)!important;transform:translateY(-2px)!important}
html body :is(.task-view-nav,.care-section-tabs,.care-view-switch,.writing-library-kinds,.setup-choice-row,.experience-preset-grid,.studio-category-nav)>button[aria-pressed=true]{background:var(--accent-deep,#81052e)!important;background-image:none!important;color:#fff!important;border-color:var(--accent-deep,#81052e)!important;box-shadow:inset 0 0 0 1px #ffffff40,0 3px 0 var(--accent-edge)!important}
html body :is(.care-view-switch,.studio-category-nav,.experience-preset-grid)>button[aria-pressed=true] :is(b,span,small,svg){color:inherit!important}
html body #app :is(.setup-category-grid,.setup-material-grid,.setup-paper-grid)>button[aria-pressed=true]{background-color:var(--selection-fill)!important;border-color:var(--accent-deep)!important;box-shadow:inset 0 0 0 2px var(--accent-deep)!important}
/* Celebration is words and confetti, never an oversized panel. */
html body #app #page .habit-celebration,html[data-lighting=night] body #app #page .habit-celebration{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:10px 40px 10px 0!important;margin:12px 0!important;min-height:54px!important;overflow:visible!important}
html body #app #page .habit-celebration>strong,html[data-lighting=night] body #app #page .habit-celebration>strong{font:600 clamp(23px,2.1vw,31px)/1.25 Atelier Display,Georgia,serif!important;color:transparent!important;background:var(--metric-foil)!important;background-size:180% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;text-align:center!important;filter:drop-shadow(0 1px 0 #71512b20);animation:praise-word-shine 2.4s ease-in-out 2}
html body #app #page .habit-celebration>button{position:absolute!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:4px!important;color:var(--ink)!important}
html body #app #page .habit-celebration .praise-confetti{position:absolute!important;inset:-8px 0!important;height:94px!important;overflow:hidden!important;pointer-events:none!important}
html body #app #page .praise-confetti i{background:var(--accent-deep)!important;animation:word-confetti-fall 3.2s ease-out calc(var(--confetti)*-.13s) 2!important}
html body #app #page .praise-confetti i:nth-child(3n){background:color-mix(in srgb,var(--accent-deep) 40%,#fff)!important}
html body #app #page .praise-confetti i:nth-child(3n + 1){background:var(--accent-edge)!important}
html[data-interior=Signature] body #app #page .praise-confetti i:nth-child(3n){background:#caa15b!important}
@keyframes praise-word-shine{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes word-confetti-fall{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(100px) rotate(280deg)}}
/* A new note drops only after a successful save. */
.jar-falling-note{position:absolute;z-index:7;left:44%;top:30%;width:23px;height:29px;border:1px solid color-mix(in srgb,var(--paper-color) 65%,#593c48);border-radius:2px;background:repeating-linear-gradient(0deg,transparent 0 5px,#ffffff44 5px 6px),linear-gradient(135deg,color-mix(in srgb,var(--paper-color) 35%,#fff),var(--paper-color));box-shadow:inset 1px 1px #fff8,1px 3px 4px #39222b30;pointer-events:none;animation:jar-note-drop .9s cubic-bezier(.25,.1,.3,1) both}
.jar-deposit-bounce{animation:jar-deposit-bounce .45s ease .65s!important}
.jar-notes .note-landing{animation:jar-note-appear 1s both!important}
@keyframes jar-note-drop{0%{opacity:0;transform:translateY(-75px) rotate(-16deg) scale(.8)}15%{opacity:1}70%{opacity:1;transform:translateY(55px) rotate(9deg)}85%{opacity:.8;transform:translateY(43px) rotate(-4deg)}100%{opacity:0;transform:translateY(57px) rotate(3deg)}}
@keyframes jar-deposit-bounce{0%,100%{transform:translateY(0)}40%{transform:translateY(-4px)}70%{transform:translateY(1px)}}
@keyframes jar-note-appear{0%,70%{opacity:0}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){html body #app #page .habit-celebration>strong,.jar-deposit-bounce,.jar-falling-note,.jar-notes .note-landing{animation:none!important}html body #app #page .praise-confetti{display:none!important}}

html body #app .workspace-shell article.notebook .care-view-switch>button[aria-pressed=true],html body #app :is(.task-view-nav,.care-section-tabs,.setup-choice-row,.experience-preset-grid,.studio-category-nav)>button[aria-pressed=true],html body #modal .writing-library-kinds>button[aria-pressed=true]{background:var(--accent-deep,#81052e)!important;background-image:none!important;color:#fff!important;border-color:var(--accent-deep,#81052e)!important}

html body #app #page .moods>button.selected,html body #app #page .moods>button[aria-pressed=true]{background:var(--accent-deep)!important;color:#fff!important}
html body #modal .jar-display-card:has([data-jar][aria-pressed=true]){background:var(--selection-fill)!important;border-color:var(--accent-deep)!important}

.paper-detail-preview{min-height:460px;padding:38px 30px;background:var(--detail-paper,#fff);border-radius:12px;box-shadow:0 12px 28px #39232b14;overflow:hidden;text-align:left;transform:none!important}
.paper-detail-preview h3{font-size:32px;margin:22px 0;color:var(--detail-accent)}
.paper-detail-ruling{height:300px;line-height:38px;padding:0 8px;background:repeating-linear-gradient(to bottom,transparent 0 37px,color-mix(in srgb,var(--detail-accent) 23%,transparent) 37px 38px)}
.paper-detail-ruling span{font-size:20px}
.paper-detail-preview[data-paper-style="Dot grid"] .paper-detail-ruling{background:radial-gradient(circle,color-mix(in srgb,var(--detail-accent) 45%,transparent) 1px,transparent 1.4px) 0 0/22px 22px}
.paper-detail-preview[data-paper-style="Graph"] .paper-detail-ruling{background-image:linear-gradient(color-mix(in srgb,var(--detail-accent) 22%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--detail-accent) 22%,transparent) 1px,transparent 1px);background-size:24px 24px}
.paper-detail-preview[data-paper-style="Blank"] .paper-detail-ruling{background:none}
.bookmark-closeup{height:460px;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:24px;overflow:hidden;background:linear-gradient(140deg,#fff,#faf7f2);border-radius:14px}
.bookmark-paper-edge{position:absolute;inset:360px 0 0;background:#fff;box-shadow:0 -3px 8px #37232b12;z-index:2}
.zoomed-bookmark.sample-ribbon{position:relative;width:170px;height:390px;flex:none;box-shadow:4px 8px 14px #36232a26}
.zoomed-bookmark .bookmark-object-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-height:none}
.zoomed-bookmark-label{position:absolute;top:140px;left:8px;right:8px;display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;font-size:19px;font-style:normal;color:#30242b}
.zoomed-bookmark-label .live-icon{width:42px;height:42px}
.zoomed-bookmark:has(.bookmark-object-art){background:transparent!important;box-shadow:none}
.zoomed-bookmark:has(.bookmark-object-art) .zoomed-bookmark-label{top:235px;background:var(--ribbon);padding:10px 8px;border-radius:7px;box-shadow:0 2px 4px #0002}
.studio-category-nav .studio-object-icon{color:#827780;fill:none;transition:color .2s,fill .2s,filter .2s}
.studio-category-nav button[aria-pressed="true"] .studio-object-icon{color:#ffe6a3;fill:#b8863b55;filter:drop-shadow(0 1px 1px #34061966)}
@media(max-width:760px){.paper-detail-preview,.bookmark-closeup{min-height:340px;height:340px}.paper-detail-preview{padding:24px}.paper-detail-preview h3{font-size:27px}.zoomed-bookmark.sample-ribbon{height:290px;width:135px}.bookmark-paper-edge{top:285px}.zoomed-bookmark:has(.bookmark-object-art) .zoomed-bookmark-label{top:165px}}

/* Selection markers have a reserved column, never an overlay on the title. */
html body #app .experience-preset-grid>button{display:grid!important;grid-template-columns:28px minmax(0,1fr);column-gap:12px;row-gap:8px;padding:20px!important;align-content:center;min-height:128px!important}
html body #app .experience-preset-grid .preset-check{position:static!important;grid-column:1;grid-row:1;align-self:center;width:25px;height:25px;font-size:18px;line-height:1;display:grid;place-items:center}
html body #app .experience-preset-grid>button>b{grid-column:2;grid-row:1;margin:0;font-size:26px;line-height:1.15;overflow-wrap:anywhere}
html body #app .experience-preset-grid>button>small{grid-column:2;grid-row:2;margin:0;font-size:13px;line-height:1.5}
.included-tools-summary{margin:20px 0 14px;padding:0}
.included-tools-summary h4{font-size:17px;margin:0 0 10px;color:var(--accent-deep)}
.included-tools-summary>div{display:flex;flex-wrap:wrap;gap:8px 14px}
.included-tools-summary>div>span{font-size:13px;line-height:1.5;color:var(--ink);display:inline-flex;align-items:center;gap:7px}
.included-tools-summary>div>span:before{content:'✓';color:var(--accent);font-weight:700}
html body #app .studio-options .experience-setup{margin:0;padding:0;border:0}
html body #app .studio-options .experience-heading{margin-top:0;padding-top:0;border:0}
html body #app .studio-options .experience-setup:after,html body #app .studio-options .experience-setup:before{display:none!important}
html body #app .studio-area-navigation{border-top:0!important;margin-top:16px!important;padding-top:12px!important}
.customization-workspace[data-studio-panel="tools"] .studio-main{align-items:start}
.customization-workspace[data-studio-panel="tools"] .studio-live-preview{min-height:570px}
@media(max-width:600px){html body #app .experience-preset-grid>button{padding:16px!important;column-gap:8px;grid-template-columns:25px minmax(0,1fr)}html body #app .experience-preset-grid>button>b{font-size:22px}.customization-workspace[data-studio-panel="tools"] .studio-live-preview{min-height:0}}

/* Compact setup identity bar, without a broad empty banner. */
html body #app .studio-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px 24px!important;padding:22px 26px!important;align-items:center!important;min-height:0!important}
html body #app .studio-heading>div:first-child{grid-column:1;max-width:none}
html body #app .studio-heading h1{font-size:36px!important;margin:8px 0!important;line-height:1.1!important}
html body #app .studio-heading p{margin:6px 0!important}
html body #app .studio-profile-controls{grid-column:1;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:16px!important;margin:0!important;padding:0!important}
html body #app .studio-profile-controls>label:first-child{width:240px!important;flex:0 1 240px!important;margin:0!important}
html body #app .studio-profile-controls input#welcome-book-name{min-height:46px!important;padding:10px 12px!important;margin:6px 0 0!important}
html body #app .color-match-switch{min-height:0!important;width:auto!important;padding:10px 14px!important;margin:0!important;gap:10px!important;align-self:end!important}
html body #app .studio-navigation-actions{grid-column:2;grid-row:1/3;display:flex!important;gap:12px!important;align-items:center!important;position:static!important;margin:0!important}
html body #app .studio-navigation-actions button{position:static!important;margin:0!important;min-height:46px!important}
.gentle-pulse{animation:gentle-pulse .45s ease-out}.heart-pop svg{animation:heart-pop .5s ease-out}.mood-react .face,.mood-react svg,.mood-react .mood-emoji{animation:mood-react .55s ease-out}.mood-react{animation:gentle-pulse .45s ease-out}
.saved-tick{width:18px;height:18px;margin-right:6px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.saved-tick path{stroke-dasharray:30;stroke-dashoffset:0;animation:save-tick .4s ease-out}
.chart-grow{transform-origin:bottom;animation:chart-grow .7s cubic-bezier(.2,.7,.2,1) both}
.shelf-pulling{animation:shelf-pull .28s ease-in forwards!important;z-index:5!important}
.card-arriving{animation:card-arrive .45s ease-out!important}.page-unfold{animation:page-unfold .65s ease-out;transform-origin:top}
.letter-motion{position:absolute;inset:0;z-index:8;display:grid;place-items:center;pointer-events:none;background:color-mix(in srgb,var(--surface,#fff) 78%,transparent);animation:letter-scene 1.4s both;border-radius:inherit}
.motion-envelope{width:180px;height:125px;position:relative;background:linear-gradient(135deg,#fff,#f1e6d1);border:1px solid #c7a66a;border-radius:4px;box-shadow:0 12px 24px #35202b30;perspective:600px}
.motion-paper{position:absolute;inset:-30px 12px 12px;background:repeating-linear-gradient(#fff 0 14px,#d7c9bb 15px,#fff 16px);border:1px solid #e1d7c7;transform-origin:bottom;animation:paper-fold 1.2s both}
.motion-flap{position:absolute;inset:0;background:linear-gradient(155deg,#fff9eb,#e4d2af);clip-path:polygon(0 0,100% 0,50% 65%);transform-origin:top;animation:flap-close 1.2s both}
.motion-seal{position:absolute;left:72px;top:53px;width:36px;height:36px;display:grid;place-items:center;border:3px double #d5ad68;border-radius:50%;background:var(--accent-deep,#81052e);color:#ffe9b1;box-shadow:0 2px 4px #0003;animation:seal-press 1.2s both}
.letter-unfold .motion-flap{animation-direction:reverse}.letter-unfold .motion-paper{animation-direction:reverse}.letter-unfold .motion-seal{animation-direction:reverse}
.milestone-sparkles{position:absolute;inset:12%;pointer-events:none;z-index:5}.milestone-sparkles i{position:absolute;left:calc(8% + var(--spark)*13%);top:calc(15% + mod(var(--spark),3)*24%);font-style:normal;font-size:24px;color:var(--accent);animation:milestone-glint 1s ease-out both;animation-delay:calc(var(--spark)*30ms)}
@keyframes save-tick{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}@keyframes heart-pop{50%{transform:scale(1.28)}100%{transform:scale(1)}}@keyframes gentle-pulse{50%{transform:translateY(-2px) scale(1.025)}}@keyframes mood-react{35%{transform:rotate(-6deg) scale(1.12)}70%{transform:rotate(4deg) scale(1.06)}}@keyframes chart-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes shelf-pull{to{transform:translateY(-16px) translateZ(24px) scale(1.08)}}@keyframes card-arrive{from{opacity:.2;transform:translateX(22px) rotate(5deg)}to{opacity:1;transform:translateX(0) rotate(0)}}@keyframes page-unfold{from{opacity:0;transform:rotateX(-12deg) translateY(12px)}to{opacity:1;transform:none}}@keyframes letter-scene{0%,85%{opacity:1}100%{opacity:0}}@keyframes paper-fold{0%{transform:translateY(-25px)}60%,100%{transform:translateY(20px) scaleY(.6)}}@keyframes flap-close{0%,45%{transform:rotateX(160deg)}80%,100%{transform:rotateX(0)}}@keyframes seal-press{0%,70%{opacity:0;transform:scale(1.5)}85%{opacity:1;transform:scale(.9)}100%{opacity:1;transform:scale(1)}}@keyframes milestone-glint{0%{opacity:0;transform:scale(.2)}35%{opacity:1}100%{opacity:0;transform:translateY(-24px) scale(1.25)}}
@media(max-width:900px){html body #app .studio-heading{grid-template-columns:1fr!important}html body #app .studio-navigation-actions{grid-column:1;grid-row:auto;flex-wrap:wrap!important}html body #app .studio-heading h1{font-size:30px!important}}
@media(prefers-reduced-motion:reduce){.gentle-pulse,.heart-pop svg,.mood-react,.mood-react svg,.chart-grow,.shelf-pulling,.card-arriving,.page-unfold,.saved-tick path{animation:none!important}.letter-motion,.milestone-sparkles{display:none!important}}

html body #app .studio-profile-controls{width:100%!important;max-width:none!important;min-width:0!important}html body #app .studio-navigation-actions{grid-row:1!important;align-self:start!important}html body #app .studio-heading{gap:12px 24px!important}html body #app .studio-profile-controls .color-match-switch{flex:0 1 auto!important;max-width:100%!important}@media(max-width:900px){html body #app .studio-navigation-actions{grid-row:auto!important}}

.preset-tool-list>h4{font-size:21px;color:var(--accent-deep);margin:20px 0 14px}.preset-tool-list .experience-grid{gap:14px}.preset-tool-list .setting-switch:not(:has(input)){cursor:default;padding-right:18px!important}.preset-tool-list .setting-switch:not(:has(input))>span{width:100%}.preset-tool-list .setting-switch:not(:has(input)):hover{transform:none}.preset-tool-list .feature-examples{display:flex;flex-wrap:wrap;gap:6px 9px}

html body #app .favorites-filter{gap:10px!important;color:#85062f!important;border:1px solid #d9b6c0!important;background:linear-gradient(135deg,#fff,#fffaf5)!important;border-radius:24px!important;padding:10px 17px!important;box-shadow:inset 0 1px #fff,0 3px 8px #85062f0d!important;font-weight:600!important}html body #app .favorites-filter svg{width:23px;height:23px;flex:none;filter:drop-shadow(0 1px 1px #85062f20)}html body #app .favorites-filter[aria-pressed=true]{color:#fff!important;background:linear-gradient(125deg,#a51d46,#780326)!important;border-color:#85062f!important;box-shadow:inset 0 1px #ffffff55,0 3px 9px #85062f28!important}html body #app .favorites-filter:hover{border-color:#85062f!important;transform:translateY(-1px)}html[data-lighting=night] body #app .favorites-filter:not([aria-pressed=true]){background:#2b2028!important;color:#ffb8cb!important;border-color:#b86880!important}

html body #app .favorites-filter{color:var(--accent-deep,#85062f)!important;border-color:var(--accent-edge,#d9b6c0)!important;background:linear-gradient(135deg,var(--surface,#fff),color-mix(in srgb,var(--accent) 4%,var(--surface,#fff)))!important}html body #app .favorites-filter[aria-pressed=true]{color:#fff!important;background:linear-gradient(125deg,var(--accent),var(--accent-deep))!important;border-color:var(--accent-deep)!important}html body #app .favorites-filter:hover{border-color:var(--accent)!important}html[data-lighting=night] body #app .favorites-filter:not([aria-pressed=true]){color:color-mix(in srgb,var(--accent) 45%,white)!important;border-color:var(--accent-edge)!important}

.reflection-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:18px 0 20px;max-width:440px}.reflection-counts>div{display:flex;align-items:center;gap:14px}.reflection-counts strong{font:500 46px/1 Atelier Display,Georgia,serif;color:var(--accent-deep)}.reflection-counts span{font-size:14px;color:var(--ink)}.reflection-counts small{grid-column:1/-1;color:var(--muted);font-size:12px;margin-top:5px}@media(max-width:480px){.reflection-counts{gap:16px}.reflection-counts>div{gap:8px}.reflection-counts strong{font-size:38px}}

/* Portrait cards stay inside their reserved stack, clear of every action. */
html body #modal .reflection-deck-stack{width:min(84%,300px)!important;max-width:300px!important;height:385px!important;min-height:0!important;padding:0!important;margin:20px auto 38px!important;box-sizing:border-box!important;overflow:visible}
html body #modal .reflection-deck-stack .reflection-card{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:28px 23px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border:5px double var(--accent-edge)!important;border-radius:15px!important;background:radial-gradient(ellipse at 25% 10%,#fff,#fffaf2)!important;box-shadow:0 2px 1px #fff inset,1px 3px 0 #d7bc85,3px 6px 12px #3b24351c!important;transform:rotate(-1deg)}
html body #modal .reflection-card>span{font-size:10px!important;letter-spacing:2px!important}
html body #modal .reflection-card h3{font-size:28px!important;margin:22px 0 12px!important}
html body #modal .reflection-card p{font-size:23px!important;line-height:1.4!important;min-height:0!important;overflow:auto;max-height:190px;margin:8px 0 20px!important}
html body #modal .reflection-card small{font-size:12px!important;margin-top:auto;padding-top:12px}
html body #modal .reflection-deck-stack .deck-back-card{inset:5px -5px -5px 5px!important;border-radius:15px!important;transform:rotate(2deg)!important;background:linear-gradient(135deg,#fff,var(--accent-soft))!important}
html body #modal .reflection-deck-stack .deck-back-card.second{inset:9px -8px -9px 8px!important;transform:rotate(-1deg)!important}
html body #modal .reflection-deck-stack+.toolbar{position:relative!important;z-index:4;display:flex!important;justify-content:center;flex-wrap:wrap;gap:12px!important;padding-top:4px!important;margin-top:0!important}
html body #modal .reflection-card.card-returning{animation:card-to-back .46s ease-in-out both!important}
html[data-lighting=night] body #modal .reflection-deck-stack .reflection-card{background:radial-gradient(ellipse at 25% 10%,#353b49,#222632)!important}
html body #app .home-actions .primary{display:inline-flex!important;align-items:center;justify-content:center;gap:16px!important;min-height:58px!important;font-size:18px!important;font-weight:600!important;padding:15px 26px!important;border:2px solid transparent!important;background:linear-gradient(var(--accent-deep),var(--accent-deep)) padding-box,var(--metric-foil,linear-gradient(125deg,#85062f,#e5c783,#fff,#85062f)) border-box!important;box-shadow:inset 0 1px #ffffff45,0 7px 18px #74052825!important}
html body #app .home-actions .primary:before{content:'✎';font-size:25px;line-height:1;color:#ffe8b0}
html body #app .hero-links{display:flex!important;gap:12px!important;flex-wrap:wrap;margin-top:18px!important}
html body #app .hero-links button{display:inline-flex!important;align-items:center;gap:13px!important;border:1px solid var(--accent-edge)!important;border-radius:10px!important;padding:12px 15px!important;min-height:46px!important;font-size:14px!important;background:var(--surface,#fff)!important;box-shadow:0 3px 8px #4f25320b!important;color:var(--accent-deep)!important}
@media(max-width:480px){html body #modal .reflection-deck-stack{height:350px!important;width:min(86%,280px)!important}html body #modal .reflection-card p{font-size:21px!important}html body #app .home-actions .primary{font-size:17px!important}html body #app .hero-links button{font-size:13px!important;padding:11px 12px!important}}
@media(prefers-reduced-motion:reduce){html body #modal .reflection-card.card-returning{animation:none!important}}

html body #modal .modal-body:has(>.jar-gallery){grid-auto-rows:max-content!important;grid-template-rows:none!important;align-content:start!important}html body #modal .jar-items{height:auto!important;min-height:min-content!important;max-height:none!important;overflow:visible!important;align-self:start!important}html body #modal .jar-items article{background:var(--surface,#fff)!important;border:1px solid var(--accent-edge)!important;border-left:4px solid var(--note-color,var(--accent))!important;box-shadow:0 2px 6px #3523310a!important;margin:0!important;padding:18px!important}html body #modal .jar-danger-footer{position:static!important;margin-top:8px!important;padding-top:18px!important;border-top:1px solid var(--accent-edge)!important}

html body #modal:has(.jar-gallery){width:min(1280px,calc(100vw - 32px))!important;max-width:1280px!important}html body #modal .jar-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}html body #modal .jar-panel-heading h3{margin:0!important;font-size:23px!important}html body #modal .jar-panel-heading button{min-height:40px;padding:8px 13px;font-size:13px}html body #modal .jar-gallery .add-jar-tile{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--surface,#fff)!important;border:2px dashed var(--accent-edge)!important;border-radius:18px;min-height:220px;color:var(--accent-deep)}.add-jar-tile>span{font-size:42px;font-weight:300}.add-jar-tile>b{font-size:20px}.new-jar-form{display:grid;gap:18px}.new-jar-form .toolbar{display:flex;gap:12px;flex-wrap:wrap}.new-jar-form .jar-color-control{justify-content:flex-start!important;gap:18px!important}html body #modal .jar-note-panel textarea{min-height:95px!important;height:95px}html body #modal .jar-display-card{padding:10px 12px 14px!important}html body #modal .jar-display-card>[data-jar]{gap:7px!important;padding:8px 6px!important}html body #modal .jar-display-card .real-jar{width:150px!important;height:150px!important}html body #modal .jar-display-card strong{font-size:23px!important}html body #modal .jar-note-panel>h3{margin-bottom:12px!important}@media(max-width:600px){html body #modal .jar-gallery .add-jar-tile{min-height:170px}.add-jar-tile>b{font-size:16px}html body #modal .jar-display-card .real-jar{width:90px!important;height:115px!important}html body #modal .jar-panel-heading{gap:8px;flex-wrap:wrap}}

html body #app .today-strip .daily-stat{display:flex!important;align-items:center!important;gap:16px!important;padding:15px 20px!important;min-height:94px!important}html body #app .today-strip .daily-stat-icon{display:grid!important;place-items:center!important;flex:none!important;width:46px!important;height:46px!important;border-radius:13px!important;background:color-mix(in srgb,var(--accent) 7%,var(--surface,#fff))!important;color:var(--accent-deep)!important;box-shadow:inset 0 1px #fff,0 3px 6px #43243212!important}html body #app .today-strip .daily-stat-icon .live-icon{width:32px!important;height:32px!important}html body #app .today-strip .daily-stat-copy{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important}html body #app .today-strip .daily-stat-copy>b{font:500 39px/1 Atelier Display,Georgia,serif!important;color:var(--accent-deep)!important}html body #app .today-strip .daily-stat-copy>b small{font-size:23px!important;color:var(--muted)!important}html body #app .today-strip .daily-stat-copy>span{font-size:15px!important;font-weight:600!important;color:var(--ink)!important}html body #app .today-strip .snapshot-progress{height:6px!important;width:110px!important;margin-top:2px!important}html body #app .today-strip .snapshot-mood{font-size:29px!important}@media(max-width:600px){html body #app .today-strip .daily-stat{padding:12px 9px!important;gap:9px!important;min-height:84px!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:25px!important;height:25px!important}html body #app .today-strip .daily-stat-copy>b{font-size:30px!important}html body #app .today-strip .daily-stat-copy>span{font-size:12px!important}html body #app .today-strip .snapshot-progress{width:75px!important}html body #app .today-strip .snapshot-mood{font-size:21px!important}}

html body #modal .weekly-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:20px 0!important}
html body #modal .weekly-stats>div{position:relative;display:grid!important;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px;align-items:center;text-align:left!important;min-height:126px!important;padding:20px 16px!important;border:1px solid transparent!important;border-top:4px solid transparent!important;border-radius:14px!important;background:linear-gradient(135deg,var(--surface,#fff),color-mix(in srgb,var(--accent) 7%,var(--surface,#fff))) padding-box,var(--metric-foil,linear-gradient(120deg,#85062f,#e5ca87,#fff,#85062f)) border-box!important;box-shadow:inset 0 1px #fff,0 4px 0 var(--accent-edge),0 7px 15px #4527350d!important;transition:transform .2s,box-shadow .2s}
html body #modal .weekly-stats>div>i{display:grid;place-items:center;grid-row:1/3;width:40px;height:44px;font-style:normal}.weekly-stats>div>i .live-icon{width:38px;height:38px}html body #modal .weekly-stats b{font:500 49px/1 Atelier Display,Georgia,serif!important;color:var(--accent-deep)!important;margin:0!important}html body #modal .weekly-stats span{font:600 14px/1.35 Atelier Sans,Arial,sans-serif!important;color:var(--ink)!important}html body #modal .weekly-stats>div:hover{transform:translateY(-3px);box-shadow:inset 0 1px #fff,0 6px 0 var(--accent-edge),0 10px 18px #45273515!important}
html body #app .consistency-scores{gap:14px!important}html body #app .consistency-scores>div{display:grid!important;grid-template-columns:30px auto;gap:7px 12px!important;align-items:center;padding:16px!important;min-height:96px!important;border:1px solid transparent!important;border-top:3px solid transparent!important;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--accent) 6%,var(--surface))) padding-box,var(--metric-foil) border-box!important;border-radius:12px!important;box-shadow:0 4px 0 var(--accent-edge)!important}html body #app .consistency-scores strong{font-size:41px!important;line-height:1!important}html body #app .consistency-scores span{font-size:14px!important;grid-column:2}.rhythm-metric-icon{grid-row:1/3;font:32px Georgia;color:var(--accent);font-style:normal}
html body #app .today-strip .daily-stat{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:7px 12px!important;align-items:center!important;padding:12px 20px!important}html body #app .today-strip .daily-stat-copy{display:contents!important}html body #app .today-strip .daily-stat-copy>b{grid-column:2;grid-row:1}html body #app .today-strip .daily-stat-icon{grid-column:1;grid-row:2;width:32px!important;height:32px!important;align-self:center!important}html body #app .today-strip .daily-stat-icon .live-icon{width:27px!important;height:27px!important}html body #app .today-strip .daily-stat-copy>span{grid-column:2;grid-row:2;align-self:center!important}html body #app .today-strip .snapshot-progress{grid-column:2;grid-row:3}
@media(max-width:600px){html body #modal .weekly-stats{gap:10px!important}html body #modal .weekly-stats>div{display:flex!important;flex-direction:column;align-items:center;text-align:center!important;gap:8px!important;padding:14px 7px!important;min-height:140px!important}html body #modal .weekly-stats b{font-size:38px!important}html body #modal .weekly-stats span{font-size:12px!important}html body #modal .weekly-stats>div>i{height:30px;width:30px}.weekly-stats>div>i .live-icon{width:29px;height:29px}html body #app .today-strip .daily-stat{grid-template-columns:24px minmax(0,1fr)!important;gap:6px!important;padding:12px 8px!important}html body #app .today-strip .daily-stat-icon{width:24px!important;height:28px!important}html body #app .today-strip .daily-stat-icon .live-icon{width:22px!important;height:22px!important}}
@media(prefers-reduced-motion:reduce){html body #modal .weekly-stats>div:hover{transform:none}}

/* A square summary system: title, value, then icon. */
html body #app .clear-dashboard-cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,190px))!important;gap:16px!important;justify-content:start!important}
html body #app .clear-dashboard-cards>.dash-card{width:100%!important;aspect-ratio:1!important;min-height:0!important;height:auto!important;padding:17px 13px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:space-between!important;text-align:center!important;gap:8px!important;position:relative!important;border-radius:12px!important}
html body #app .dash-card-heading{display:contents!important}html body #app .dash-card-heading>b{order:0;font-size:16px!important;line-height:1.2!important;text-align:center!important}html body #app .dash-card-heading>i{order:3;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;margin:0!important}html body #app .dash-card-heading>em{position:absolute!important;top:8px;right:8px;font-size:13px!important}html body #app .dash-card>strong{order:1;font:500 45px/1 Atelier Display,Georgia,serif!important;margin:0!important;min-height:0!important;text-align:center!important}html body #app .dash-card>strong>small{font:12px/1.3 Atelier Sans,Arial,sans-serif!important;display:block!important;margin-top:7px!important;color:var(--ink)!important}html body #app .dash-card-action{order:4;font-size:11px!important;margin:0!important;border:0!important;padding:0!important}
html body #modal .weekly-stats{grid-template-columns:repeat(3,minmax(0,160px))!important;justify-content:center!important}html body #modal .weekly-stats>div{display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;text-align:center!important;aspect-ratio:1!important;min-height:0!important;padding:15px 10px!important;gap:9px!important}html body #modal .weekly-stats>div>span{order:0}html body #modal .weekly-stats>div>b{order:1;font-size:48px!important}html body #modal .weekly-stats>div>i{order:2;width:32px!important;height:32px!important}.weekly-stats>div>i .live-icon{width:32px!important;height:32px!important}
html body #app .consistency-scores{display:grid!important;grid-template-columns:repeat(2,minmax(0,155px))!important;gap:16px!important;justify-content:start!important}html body #app .consistency-scores>div{display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;text-align:center!important;aspect-ratio:1!important;min-height:0!important;padding:15px!important;gap:9px!important;border-radius:10px!important;border:2px solid transparent!important;background:linear-gradient(140deg,var(--surface),color-mix(in srgb,var(--accent) 9%,var(--surface))) padding-box,var(--metric-foil) border-box!important;transition:transform .2s,box-shadow .2s}html body #app .consistency-scores>div>span{order:0;font-weight:600!important;font-size:14px!important}html body #app .consistency-scores>div>strong{order:1;font-size:48px!important;color:var(--accent-deep)!important}html body #app .consistency-scores>div>i{order:2;font-size:28px!important;line-height:1}html body #app .consistency-scores>div:hover{transform:translateY(-3px);box-shadow:0 6px 0 var(--accent-edge),0 8px 15px #46303c18!important}
html body #app #page[data-layout=tasks] .task-totals>.task-metric{justify-content:space-between!important;gap:10px!important;min-height:0!important;padding:16px 10px!important}html body #app #page[data-layout=tasks] .task-metric>span{order:0;font-weight:600!important;text-align:center!important}html body #app #page[data-layout=tasks] .task-metric>b{order:1}html body #app #page[data-layout=tasks] .task-metric>i{order:2}html body #app .task-summary-group>h3{display:flex;align-items:center;gap:10px;font-size:26px!important;font-weight:600!important;margin:0 0 16px!important}html body #app .task-summary-group>h3 svg{width:26px;height:26px;flex:none}.task-summary-group.completed-group>h3{color:#278251!important}.task-summary-group.upcoming-group>h3{color:#286a9e!important}html body #app .task-summary-item>span{color:var(--ink)!important}
/* The snapshot is one anchored group per metric. */
html body #app .today-strip{display:grid!important;grid-template-columns:180px repeat(3,minmax(120px,160px)) auto!important;justify-content:start!important;align-items:center!important;gap:24px!important;padding:16px 22px!important}html body #app .today-strip .daily-stat{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 6px!important;min-height:106px!important;text-align:center!important}html body #app .today-strip .daily-stat-copy{display:contents!important}html body #app .today-strip .daily-stat-icon{order:0;width:30px!important;height:30px!important;background:transparent!important;box-shadow:none!important;border:0!important}html body #app .today-strip .daily-stat-copy>b{order:1;font-size:36px!important}html body #app .today-strip .daily-stat-copy>span{order:2;font-size:14px!important}html body #app .today-strip .snapshot-progress{order:3;width:95px!important}html body #app .today-strip .snapshot-mood{font-size:28px!important}
/* Tools frame the display instead of occupying two more rows below it. */
html body #app .home-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important}html body #app .home-book-studio.home-studio{display:grid!important;grid-template-columns:minmax(180px,240px) minmax(300px,1fr) minmax(180px,240px)!important;gap:24px!important;align-items:center!important;width:100%!important;max-width:1300px!important;padding:0!important;margin:0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important;grid-column:auto!important}html body #app .home-book-studio>.journal-display{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;height:500px!important}html body #app .book-side-tools{display:flex;flex-direction:column;gap:18px;min-width:0}html body #app .book-side-tools>button{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;gap:5px 12px!important;width:100%!important;min-height:94px!important;padding:16px 14px!important;text-align:left!important;border:1px solid var(--accent-edge)!important;border-radius:12px!important;background:linear-gradient(135deg,var(--surface,#fff),color-mix(in srgb,var(--accent) 4%,var(--surface,#fff)))!important;box-shadow:inset 0 1px #fff,0 3px 0 color-mix(in srgb,var(--accent) 15%,var(--surface))!important}html body #app .book-side-tools>button>span{grid-column:1;grid-row:1/3;width:48px!important;height:52px!important;margin:0!important;display:grid!important;place-items:center!important}html body #app .book-side-tools>button>span svg,html body #app .book-side-tools>button>span img{width:48px!important;height:52px!important;object-fit:contain!important}html body #app .book-side-tools>button>:is(strong,b){grid-column:2;font:500 21px/1.15 Atelier Display,Georgia,serif!important;margin:0!important;color:var(--accent-deep)!important}html body #app .book-side-tools>button>:is(p,small){grid-column:2;display:block!important;font:12px/1.4 Atelier Sans,Arial,sans-serif!important;margin:0!important;color:var(--ink)!important;letter-spacing:0!important}html body #app .book-side-tools>button>small:not(:last-child),html body #app .book-side-tools>button>em{display:none!important}html body #app .book-side-tools>button:after{display:none!important}
html body #app .collection-heading .navigation-button{font-size:15px!important;font-weight:600!important;padding:12px 17px!important;min-height:48px!important;border:1px solid var(--accent)!important;border-radius:10px!important;background:var(--surface)!important;box-shadow:0 3px 0 var(--accent-edge)!important;gap:12px!important}html body #app .collection-heading .navigation-button svg{width:25px!important;height:25px!important}html body #app .new-shelf{min-height:220px!important;padding-top:24px!important;align-items:flex-end!important}html body #app .new-shelf .new-spine{height:180px!important;max-height:180px!important;min-width:56px!important;width:64px!important}
/* Week/month history has one continuous surface over the crease. */
html body #app .weekly-rituals,html body #app .habit-month-view{position:relative!important;z-index:2!important;background:var(--surface,#fff)!important;border:1px solid var(--accent-edge)!important;border-radius:10px!important;padding:24px!important;box-shadow:0 3px 8px #4c30380b!important}html body #app .weekly-rituals h3,html body #app .habit-month-summary>h3{font-size:32px!important;line-height:1.2!important;margin:12px 0 18px!important}html body #app .habit-week thead th,html body #app .habit-week thead button{font-size:17px!important;font-weight:700!important;color:var(--accent-deep)!important}html body #app .habit-week thead small{font-size:19px!important;font-weight:600!important;margin-top:5px!important}html body #app .habit-week th[scope=row]{font-size:14px!important}html body #app .habit-week td button{font-size:24px!important;min-width:38px!important;min-height:38px!important}html body #app .weekly-meter>i,html body #app .habit-month-grid button>i>i{background:var(--metric-foil)!important}
html body #app .habit-month-view>label{display:block!important;width:220px!important;max-width:100%!important;margin:0 0 20px!important;text-align:left!important}html body #app .habit-month-view>label input{width:100%!important;margin-top:8px!important}html body #app .habit-month-grid{max-width:840px!important;gap:8px!important;margin:18px 0 0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}html body #app .habit-month-grid>b{display:grid!important;place-items:center!important;font-size:17px!important;font-weight:700!important;background:var(--accent-deep)!important;color:#fff!important;border-radius:5px!important;padding:10px 2px!important}html body #app .habit-month-grid>button{aspect-ratio:1!important;min-height:0!important;height:auto!important;padding:12px 8px!important;display:flex!important;flex-direction:column;justify-content:center;gap:8px;align-items:center;background:var(--surface)!important;border-radius:5px!important}html body #app .habit-month-grid>button>strong{font-size:24px!important}html body #app .habit-month-grid>button>span{font-size:13px!important}html body #app .habit-month-grid>button>i{width:90%!important;height:6px!important}
html body #app [data-habit-row]{border-radius:0!important;clip-path:none!important}html body #app [data-habit-row]:before,html body #app [data-habit-row]:after{border-radius:0!important}
/* Keep the selected bookmark label at exactly the idle dimensions. */
html body #app .workspace-shell article.notebook nav.tabs .object-bookmark .bookmark-label{box-sizing:border-box!important;width:126px!important;min-width:126px!important;max-width:126px!important;height:40px!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;font-size:14px!important;line-height:1!important;padding:7px 9px!important;border:3px solid transparent!important;transform:none!important}
html body #app .workspace-shell article.notebook nav.tabs>button:is(.active,[aria-current=page]){scale:1!important}html body #app .zoomed-bookmark:has(.bookmark-object-art) .zoomed-bookmark-label{height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;font-size:15px!important;line-height:1!important;white-space:nowrap!important;padding:7px 9px!important}.zoomed-bookmark:has(.bookmark-object-art) .zoomed-bookmark-label .live-icon{display:none!important}
html body #app .studio-category-nav>button[aria-pressed=true] svg.studio-object-icon{color:#edc66d!important;stroke:#edc66d!important;fill:none!important;filter:drop-shadow(0 1px 0 #684416) drop-shadow(0 0 3px #ffdc8055)!important}
.bookmark-category-choice{position:relative;min-width:0}.bookmark-category-choice>button{width:100%;height:100%;padding-right:62px!important}.bookmark-inline-color{position:absolute;right:16px;bottom:16px;margin:0!important;display:block!important;width:32px;height:32px}.bookmark-inline-color input[type=color]{width:32px!important;height:32px!important;min-height:32px!important;padding:3px!important;border:0!important;border-radius:50%!important;background:conic-gradient(#e15d81,#e2bb51,#78bc8a,#6ea4d8,#a073d0,#e15d81)!important;box-shadow:0 2px 5px #36232b22;cursor:pointer}.bookmark-inline-color input::-webkit-color-swatch-wrapper{padding:1px!important}.bookmark-inline-color input::-webkit-color-swatch{border:2px solid #fff!important;border-radius:50%!important}
.decision-tool-intro{display:flex;align-items:center;gap:18px;margin-bottom:18px}.decision-tool-intro>.live-icon{width:64px;height:64px;flex:none}.decision-question-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.decision-question-grid label{font-weight:600;color:var(--accent-deep);font-size:16px}.decision-question-grid textarea{font-weight:400;min-height:135px;margin-top:9px}.decision-history{margin-top:24px}.decision-history>article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--accent-edge)}.decision-history b{font-size:18px;color:var(--ink)}.decision-history small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.decision-history .toolbar{display:flex;gap:10px;flex-wrap:wrap}.decision-outcome-link{display:inline-flex!important;margin:8px!important;min-height:40px!important;padding:8px 12px!important;font-size:13px!important}
@media(max-width:1050px){html body #app .home-book-studio.home-studio{grid-template-columns:minmax(150px,200px) minmax(260px,1fr) minmax(150px,200px)!important;gap:14px!important}html body #app .book-side-tools>button{grid-template-columns:36px minmax(0,1fr)!important;padding:12px 10px!important;gap:7px!important}html body #app .book-side-tools>button>span,html body #app .book-side-tools>button>span img,html body #app .book-side-tools>button>span svg{width:36px!important;height:42px!important}html body #app .book-side-tools>button>:is(strong,b){font-size:18px!important}html body #app .today-strip{grid-template-columns:160px repeat(3,minmax(110px,1fr))!important;gap:12px!important}.today-strip .overview-link{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){html body #app .home-book-studio.home-studio{grid-template-columns:1fr!important;gap:18px!important}.home-book-studio>.journal-display{grid-row:1}html body #app .home-book-studio>.journal-display{height:360px!important}html body #app .book-side-tools{display:contents!important}html body #app .home-book-studio.home-studio{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important}html body #app .book-side-tools>button{width:calc(50% - 9px)!important;min-height:95px!important;flex:none!important}html body #app .home-book-studio>.journal-display{order:-1;width:100%!important;flex-basis:100%!important}html body #app .clear-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html body #app .dash-card>strong{font-size:38px!important}html body #app .today-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:14px!important}.today-strip .snapshot-date{grid-column:1/-1}.today-strip .overview-link{grid-column:1/-1}html body #app .today-strip .daily-stat-copy>b{font-size:30px!important}html body #app .today-strip .snapshot-mood{font-size:21px!important}html body #app .today-strip .daily-stat-copy>span{font-size:12px!important}.decision-question-grid{grid-template-columns:1fr}.decision-history>article{align-items:flex-start;flex-direction:column}html body #app .habit-month-grid{gap:4px!important}html body #app .habit-month-grid>b{font-size:12px!important}html body #app .habit-month-grid>button{padding:5px 2px!important;gap:4px!important}html body #app .habit-month-grid>button>strong{font-size:18px!important}html body #app .habit-month-grid>button>span{font-size:10px!important}html body #app .weekly-rituals,html body #app .habit-month-view{padding:14px!important}html body #app .weekly-rituals h3,html body #app .habit-month-summary>h3{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){html body #app .consistency-scores>div:hover{transform:none}}

html body #app .home-book-studio>.writing-side{grid-column:1!important;grid-row:1!important}html body #app .home-book-studio>.journal-display{grid-column:2!important;grid-row:1!important;display:flex!important;align-self:center!important}html body #app .home-book-studio>.collection-side{grid-column:3!important;grid-row:1!important}html body #app .home-book-studio>nav{width:100%!important}.home-book-studio>.journal-display .book-wrap{max-width:100%!important}

html body #app .bookmark-category-choice>button{display:flex!important;align-items:center!important;gap:14px!important;min-height:104px!important;text-align:left!important;border:1px solid var(--accent-edge)!important;border-radius:12px!important;background:var(--surface,#fff)!important;padding:16px 58px 16px 18px!important}html body #app .bookmark-category-choice>button>span{flex:none;width:42px;height:42px;display:grid;place-items:center}html body #app .bookmark-category-choice>button>span svg{width:38px;height:38px}.bookmark-category-choice>button b{display:block;font-size:16px}.bookmark-category-choice>button small{display:block;font-size:12px;line-height:1.5;margin-top:6px}.bookmark-category-choice>button>i{position:absolute;right:18px;top:12px;font-style:normal}html body #app .bookmark-category-choice>button[aria-pressed=true]{border:2px solid var(--accent)!important;background:color-mix(in srgb,var(--accent) 5%,var(--surface))!important}

/* Comfortable default density; Expanded View deliberately uses the wider canvas. */
html body #app>:is(.home-hero,.today-strip,.collection-section,.home-experiences,.home-studio){max-width:1180px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}html[data-view=book] body #app .workspace-shell{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}html[data-view=full] body #app .workspace-shell{max-width:none!important}html body #app .customization-workspace{max-width:1280px!important;margin-inline:auto!important}.book-side-tools p,.book-side-tools small{font-size:13px!important}html body #app .new-shelf .new-spine{width:52px!important;min-width:48px!important;height:170px!important;max-height:170px!important}html body #app .new-shelf{gap:14px!important}html body #app .home-book-studio.home-studio{max-width:1180px!important;grid-template-columns:minmax(170px,220px) minmax(300px,1fr) minmax(170px,220px)!important}html body #app .home-book-studio>.journal-display{height:460px!important}@media(max-width:760px){html body #app .home-book-studio>.journal-display{height:350px!important}.book-side-tools p,.book-side-tools small{font-size:12px!important}html body #app .new-shelf .new-spine{width:45px!important;min-width:42px!important;height:155px!important;max-height:155px!important}}

html body #app #page .clear-dashboard-cards{grid-template-columns:repeat(auto-fit,minmax(150px,190px))!important;justify-content:start!important;gap:16px!important}html body #app #page .clear-dashboard-cards>.dash-card{max-width:190px!important;height:190px!important;min-height:0!important;gap:6px!important;padding:14px 12px!important}html body #app #page .dash-card .dash-card-action{display:none!important}html body #app #page .dash-card-heading>b{font-size:15px!important}html body #app #page .dash-card>strong{font-size:43px!important}html body #app .home-book-studio.home-studio>.journal-display{height:460px!important}.book-side-tools>button :is(small,p){text-align:left!important}@media(max-width:760px){html body #app #page .clear-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html body #app #page .clear-dashboard-cards>.dash-card{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1!important}html body #app .home-book-studio.home-studio>.journal-display{height:350px!important}}

html body #app .zoomed-bookmark .zoomed-bookmark-label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;padding:7px 9px!important;white-space:nowrap!important;font-size:15px!important;line-height:1!important}.zoomed-bookmark-label .live-icon{display:none!important}

html body #app .compact-dictation{width:fit-content!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;gap:0!important}html body #app .compact-dictation :is(.dictation-status,.dictation-interim,.mic-label,.mic-state){position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;background:transparent!important}html body #app .compact-dictation .dictation-options{display:none!important}html body #app .compact-dictation .dictation-start{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border-radius:50%!important}.decision-outcome-link{position:relative!important;right:auto!important;bottom:auto!important}html[data-tool-jars=false] body #app .book-side-tools>.tool-jars,html[data-tool-capsules=false] body #app .book-side-tools>.tool-capsules,html[data-tool-deck=false] body #app .book-side-tools>.tool-deck{display:none!important}

html body #app .chart-value{font-size:13px!important;font-weight:600!important;color:var(--ink)!important;z-index:2!important;padding:2px 3px!important;border-radius:4px;line-height:1.2!important}html body #app .chart-value.on-bar{color:#fff!important;background:#28182296!important;text-shadow:0 1px 1px #0008!important;box-shadow:0 1px 3px #0001!important}.chart-bar-space{isolation:isolate}.chart-pillar{z-index:0!important}

.dashboard-range{display:flex!important;align-items:center!important;gap:9px!important;color:var(--accent,var(--ink))!important}.dashboard-range>svg{width:20px;height:20px;flex:none}.dashboard-range>span{color:var(--ink)}
/* Shared tool cards: reserve icon space and keep copy together. */
html body #app .home-book-studio .book-side-tools>button{grid-template-columns:50px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:16px!important;row-gap:6px!important;padding:17px 16px!important;align-content:center!important;min-height:108px!important}
html body #app .home-book-studio .book-side-tools>button>span{grid-area:1/1/3/2!important;width:50px!important;height:58px!important;position:relative!important;inset:auto!important;transform:none!important;align-self:center!important;overflow:visible!important}
html body #app .home-book-studio .book-side-tools>button>span :is(img,svg){position:static!important;width:50px!important;height:58px!important;max-width:100%!important;inset:auto!important;transform:none!important;object-fit:contain!important}
html body #app .home-book-studio .book-side-tools>button>:is(b,strong){grid-area:1/2/2/3!important;align-self:end!important;min-width:0!important;text-align:left!important;line-height:1.2!important}
html body #app .home-book-studio .book-side-tools>button>:is(small,p){grid-area:2/2/3/3!important;align-self:start!important;min-width:0!important;text-align:left!important;line-height:1.45!important}
@media(max-width:760px){html body #app .home-book-studio .book-side-tools>button{grid-template-columns:40px minmax(0,1fr)!important;column-gap:12px!important;padding:14px 12px!important}html body #app .home-book-studio .book-side-tools>button>span,html body #app .home-book-studio .book-side-tools>button>span :is(img,svg){width:40px!important;height:48px!important}}
html body #app .today-strip .daily-stat{align-items:center!important;text-align:center!important;gap:9px!important}
html body #app .today-strip .daily-stat-icon{width:48px!important;height:48px!important}
html body #app .today-strip .daily-stat-icon .live-icon{width:42px!important;height:42px!important}
html body #app .today-strip .daily-stat-copy>b{font-size:49px!important;line-height:1.1!important;text-align:center!important;width:100%!important}
html body #app .today-strip .daily-stat-copy>b small{font-size:27px!important}
html body #app .today-strip .snapshot-mood{font-size:38px!important}
html body #app .today-strip .daily-stat-copy>span{width:100%!important;text-align:center!important}
@media(max-width:760px){html body #app .today-strip .daily-stat-icon{width:40px!important;height:40px!important}html body #app .today-strip .daily-stat-icon .live-icon{width:35px!important;height:35px!important}html body #app .today-strip .daily-stat-copy>b{font-size:38px!important}html body #app .today-strip .daily-stat-copy>b small{font-size:21px!important}html body #app .today-strip .snapshot-mood{font-size:28px!important}}
/* Center the compact home composition in the available content area. */
html[data-screen=home] body #app>:is(.home-hero,.today-strip,.collection-section,.home-experiences,.home-studio){margin-left:auto!important;margin-right:auto!important;max-width:1180px!important;box-sizing:border-box!important}
html[data-screen=home] body #app .home-hero>.home-book-studio{margin-left:auto!important;margin-right:auto!important}
html[data-screen=home] body #app>.collection-section{width:100%!important;margin-inline:auto!important;max-width:1180px!important}
html[data-screen=home] body #app .collection-section .new-shelf{justify-content:safe center!important}
/* A broader book without enlarging its controls or scorecards. */
html[data-view=book] body #app .workspace-shell{width:100%!important;max-width:1320px!important;margin-inline:auto!important;min-width:0!important;box-sizing:border-box!important}
html[data-view=book] body #app .workspace-shell>.notebook{width:100%!important;max-width:none!important;box-sizing:border-box!important;min-width:0!important}
html[data-screen=home] body #app .new-shelf[data-cabinet-ready]{display:flex!important;flex-direction:column!important;gap:25px!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important;align-items:stretch!important}
.real-shelf-row{display:flex;align-items:flex-end;justify-content:safe center;gap:12px;position:relative;min-height:282px;padding:18px 18px 15px;background:linear-gradient(180deg,#fff8,#f7f4f5 95%);border-bottom:12px solid #fffaf0;box-shadow:0 3px 0 #c3af87,0 8px 8px -5px #37232d60,inset 0 -2px 0 #bca98e;box-sizing:border-box}
html body #app .new-shelf .real-shelf-row>.new-spine{flex:0 0 var(--spine-width)!important;width:var(--spine-width)!important;min-width:var(--spine-width)!important;max-width:var(--spine-width)!important;height:var(--spine-height)!important;max-height:none!important;padding:18px 5px 14px!important;transform:none!important;border-radius:6px 3px 2px 5px!important;background:repeating-linear-gradient(25deg,#fff1 0 1px,transparent 1px 3px),linear-gradient(90deg,#0007,var(--book-color) 14%,color-mix(in srgb,var(--book-color),white 24%) 32%,var(--book-color) 66%,#0005)!important;box-shadow:inset 2px 0 2px #fff7,inset -3px 0 4px #0004,3px 1px 3px #24151e45!important}
html body #app .new-shelf .real-shelf-row>.new-spine strong{max-height:205px!important;line-height:1.1!important;color:var(--book-foil,var(--book-ink))!important;text-shadow:0 1px 0 #fff8,0 -1px 1px #0009,1px 0 0 #0004!important;overflow:hidden!important;white-space:nowrap!important}
html body #app .new-shelf .real-shelf-row>.new-spine:is(:hover,:focus-visible){transform:translateY(-8px)!important}
html body #app .new-shelf .real-shelf-row>.new-spine.selected{outline:2px solid var(--book-foil);outline-offset:3px}
html body #app .real-shelf-row>.add-spine{min-width:76px!important;width:76px!important;height:170px!important;margin-left:8px!important;align-self:flex-end!important}
@media(max-width:600px){.real-shelf-row{padding-inline:8px;gap:10px}}
@media(min-width:761px){html[data-screen=home] body #app>.today-strip{grid-template-columns:145px repeat(3,minmax(0,1fr)) 130px!important;gap:18px!important;justify-content:stretch!important;padding:18px!important}html[data-screen=home] body #app .today-strip .daily-stat{width:100%!important;margin:0!important;justify-self:stretch!important}html[data-screen=home] body #app .today-strip .overview-link{grid-column:auto!important;justify-self:end!important}}
html[data-screen=home] body #app .new-shelf[data-cabinet-ready]{height:auto!important;max-height:none!important;min-height:300px!important}html[data-screen=home] body #app .new-shelf .real-shelf-row{height:300px!important;min-height:300px!important;flex:none!important;width:100%!important}
@media(min-width:761px){html body #modal :is(.jar-details-panel,.jar-note-panel){align-self:stretch!important;height:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important}html body #modal .jar-panel-heading{height:40px!important;min-height:40px!important;margin:0 0 16px!important}html body #modal .jar-note-panel>h3{height:40px!important;min-height:40px!important;display:flex!important;align-items:center!important;margin:0 0 16px!important}html body #modal .jar-editor-layout{align-items:start!important}html body #modal .jar-editor-controls>label:first-child,html body #modal .jar-note-panel>label:first-of-type{margin-top:0!important}html body #modal .jar-editor-layout>.jar-inline-preview{align-self:center!important}}
html body #modal .jar-items:empty{display:none!important}
html body #modal .modal-body:has(>.jar-gallery)>.jar-draw-result{width:min(440px,100%)!important;max-width:440px!important;justify-self:center!important;margin:8px auto!important;padding:18px 22px!important;min-height:0!important;height:auto!important;box-sizing:border-box!important;background:#fff!important;background-image:none!important;border:1px solid #e4dce0!important;border-top:3px solid var(--drawn-accent,var(--accent))!important;border-radius:5px 5px 12px 5px!important;box-shadow:0 7px 18px #33212b12,2px 3px 0 #eee9e5!important;color:#33232d!important}
html body #modal .jar-draw-result>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important}
html body #modal .jar-draw-result #close-jar-draw{width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;padding:4px!important}
html body #modal .jar-draw-result>p{font:500 24px/1.4 Atelier Display,Georgia,serif!important;margin:14px 0!important;color:#33232d!important;overflow-wrap:anywhere}
html body #modal .jar-draw-result>small{display:inline-block!important;color:#71656c!important;font-size:12px!important;margin:0!important}
html body #modal .jar-draw-result>#draw-jar-again{float:right!important;margin:0 0 0 16px!important;min-height:36px!important;padding:7px 12px!important;font-size:12px!important}
html body #modal .jar-draw-result:after{content:'';display:block;clear:both}
html[data-mode=dark] body #modal .jar-draw-result{background:#24242c!important;color:#fff!important}
html[data-mode=dark] body #modal .jar-draw-result>p{color:#fff!important}
html body #app .today-strip .daily-stat-icon{width:54px!important;height:54px!important;background:none!important;box-shadow:none!important;filter:none!important}
html body #app .today-strip .daily-stat-icon .live-icon{width:48px!important;height:48px!important;filter:none!important;background:none!important;box-shadow:none!important}
html body #app .today-strip .daily-stat-icon .icon-halo{display:none!important}
@media(max-width:760px){html body #app .today-strip .daily-stat-icon{width:44px!important;height:44px!important}html body #app .today-strip .daily-stat-icon .live-icon{width:40px!important;height:40px!important}}
/* Saved jar notes stay content-sized, with compact secondary controls. */
html body #modal .jar-items{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important;gap:12px!important;align-items:start!important}
html body #modal .jar-items>article{padding:12px 14px!important;margin:0!important;min-height:0!important;height:auto!important;border-radius:7px!important;box-shadow:none!important;background:var(--surface,#fff)!important}
html body #modal .jar-items .jar-note-meta{gap:10px!important;min-height:30px!important;align-items:center!important}
html body #modal .jar-items .jar-note-meta>small{font-size:11px!important}
html body #modal .jar-items .jar-note-meta label{font-size:12px!important;gap:8px!important;margin:0!important}
html body #modal .jar-items input[type=color]{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:3px!important}
html body #modal .jar-items p{font:400 17px/1.45 Atelier Display,Georgia,serif!important;margin:10px 0!important}
html body #modal .jar-items [data-delete-note]{margin:0!important;padding:6px 10px!important;min-height:34px!important;font-size:12px!important}
html[data-screen=home] body #app>.today-strip{position:relative!important;padding-top:70px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html[data-screen=home] body #app .today-strip .snapshot-date{position:absolute!important;top:18px!important;left:18px!important;max-width:55%!important}
html[data-screen=home] body #app .today-strip .overview-link{position:absolute!important;top:14px!important;right:18px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:11px 16px!important;border:1px solid var(--accent)!important;border-radius:10px!important;background:var(--surface,#fff)!important;box-shadow:0 3px 0 var(--accent-edge)!important;font-size:15px!important;font-weight:600!important;min-height:44px!important;color:var(--accent-deep)!important}
html body #app .today-strip .overview-link>svg{width:23px!important;height:23px!important}
.ui-arrow-icon{display:inline-block!important;width:1em!important;height:1em!important;min-width:1em;vertical-align:-.12em;flex:none;overflow:visible;stroke:currentColor;fill:none}
@media(max-width:600px){html[data-screen=home] body #app .today-strip .overview-link{font-size:12px!important;gap:7px!important;padding:8px 10px!important}.today-strip .snapshot-date{font-size:12px!important}}
.shelf-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
html body #app .shelf-heading-actions>.shelf-add-book{position:static!important;display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;height:auto!important;min-width:0!important;min-height:44px!important;padding:11px 16px!important;margin:0!important;border:1px solid var(--accent)!important;border-radius:10px!important;background:var(--surface,#fff)!important;color:var(--accent-deep)!important;box-shadow:0 3px 0 var(--accent-edge)!important;font:600 14px/1.2 Atelier Sans,Arial,sans-serif!important}
html body #app .shelf-add-book>span{margin:0!important;font:inherit!important}
html[data-screen=home] body #app .new-shelf .real-shelf-row{justify-content:flex-start!important;padding-inline:32px!important;gap:10px!important}
html body #app .real-shelf-row>.shelf-end-accessory{margin-left:auto!important;margin-right:4px!important;align-self:flex-end!important;filter:drop-shadow(1px 3px 2px #34222c38)!important}
html body #app .new-shelf .real-shelf-row>.new-spine{box-shadow:inset 2px 0 2px #fff7,inset -3px 0 4px #0004,3px 1px 3px #24151e45,0 3px 2px #38232e55!important}
@media(max-width:600px){.collection-heading{flex-wrap:wrap!important;gap:12px!important}.shelf-heading-actions{gap:10px;justify-content:flex-start}html[data-screen=home] body #app .new-shelf .real-shelf-row{padding-inline:20px!important}}
html[data-screen=home] body #app .new-shelf .real-shelf-row{padding-bottom:0!important}html body #app .real-shelf-row>.shelf-end-accessory{margin-bottom:0!important}
/* Book-first personalization: controls appear only for the selected detail. */
.direct-studio{max-width:1180px;margin:0 auto;padding:16px 0 32px;color:#4b2938}.direct-studio-heading{display:flex!important;position:static!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;width:100%!important;height:auto!important;min-height:0!important;background:transparent!important;border:0!important;padding:0 0 16px!important;margin:0!important;box-shadow:none!important}.direct-studio-heading h1{font:500 36px/1.15 Atelier Display,Georgia,serif;margin:5px 0;color:#81052e}.direct-heading-actions{display:flex;gap:12px;align-items:center}.direct-heading-actions button{min-height:44px;padding:10px 18px}.direct-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.direct-layout:has(.direct-popover:not([hidden])){grid-template-columns:minmax(350px,1fr) minmax(320px,420px)}.direct-display{position:relative;background:radial-gradient(ellipse at center,#fff,#fffdfb 70%);border-radius:22px;padding:12px 18px 20px;text-align:center;min-width:0}.direct-book-surface{position:relative;width:360px;max-width:100%;height:460px;margin:0 auto;display:flex;align-items:center;justify-content:center}.direct-book-surface>.setup-book{width:300px!important;height:400px!important;max-width:84%!important;margin:0!important;position:relative!important;transform:none!important}.direct-hotspots{position:absolute;inset:0;z-index:20;pointer-events:none}.edit-point{position:absolute;pointer-events:auto;display:flex;align-items:center;gap:6px;min-height:36px!important;padding:5px 8px!important;border:1px solid #c5a46b!important;border-radius:20px!important;background:#fffdf8f2!important;color:#780528!important;box-shadow:0 2px 8px #42243218!important;font:600 12px/1.1 Atelier Sans,Arial,sans-serif!important}.edit-point i{display:grid;place-items:center;background:#81052e;color:#fff;width:20px;height:20px;border-radius:50%;font-style:normal}.edit-point[aria-pressed=true]{background:#81052e!important;color:#fff!important}.point-color{left:0;top:47%}.point-emblem{left:2%;top:22%}.point-lettering{right:0;top:58%}.point-charm{right:0;top:14%}.point-metal{right:0;top:83%}.point-ribbon{left:0;bottom:1%}.direct-edit-hint{font-size:14px;margin:8px 0 16px;color:#6b5963}.direct-secondary{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.direct-secondary button{font-size:14px;padding:9px 15px;min-height:42px}.direct-secondary button[aria-pressed=true]{background:#81052e!important;color:white!important}.direct-design-links{display:flex;justify-content:center;gap:18px;margin-top:14px}.direct-design-links button{border:0;box-shadow:none;background:none;padding:6px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.direct-popover{background:#fffdfb;border:1px solid #d8bea2;border-radius:16px;box-shadow:0 12px 32px #43203212;min-width:0;max-height:calc(100dvh - 145px);position:sticky;top:20px;overflow:auto}.direct-popover[hidden]{display:none!important}.direct-popover-heading{position:sticky;top:0;background:#fffdfb;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid #e8d9ce}.direct-popover-heading h2{font:600 26px/1.15 Atelier Display,Georgia,serif;margin:0!important;color:#81052e}.direct-popover-heading>button{width:38px;height:38px;min-height:38px;padding:4px;font-size:25px;background:#fff;border-radius:50%;flex:none}.direct-popover-body{padding:18px}.direct-popover-body>p{font-size:14px;line-height:1.6}.direct-popover-body h3{font-size:24px!important;margin:0 0 10px!important}.direct-popover-body :is(.material-grid,.visual-charm-options,.cover-pattern-options,.preset-cover-gallery,.paper-grid,.font-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}.direct-popover-body :is(button,input,select){max-width:100%;box-sizing:border-box}.direct-popover-body .cover-editions button{padding:10px!important}.direct-popover-body .preset-cover-thumb{height:160px!important}.direct-popover-body .cover-editions small{display:none}.direct-popover-body .cover-initials-row{display:flex;gap:14px;align-items:center;padding:10px 0!important}.direct-popover-body .initials-value{max-width:100px}.direct-popover-body .initials-choice{display:flex;align-items:center;gap:8px}.direct-popover-body .control-heading>p{font-size:13px!important}.direct-popover-body .accessory-group,.direct-popover-body .bookmark-style-picker{padding:0!important;border:0!important;margin:0!important;background:none!important;box-shadow:none!important}.direct-popover-body .bookmark-style-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}.direct-metal-finishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.direct-metal-finishes button{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:12px;padding:12px 6px}.direct-metal-finishes i{width:32px;height:32px;border-radius:50%;border:1px solid #0002;background:linear-gradient(120deg,#fff8,var(--finish) 35%,var(--finish) 60%,#0003);box-shadow:inset 1px 1px 2px #fff9,0 2px 3px #0002}.direct-metal-finishes [aria-pressed=true]{outline:2px solid #81052e;outline-offset:2px}.direct-all-details{display:grid;grid-template-columns:1fr 1fr;gap:10px}.direct-all-details button{padding:10px;font-size:13px}.direct-popover-body .studio-area-navigation{display:none!important}.direct-popover-body .studio-extra{border:0;background:none;margin:12px 0;padding:0}.direct-popover-body .setup-category-grid{max-height:none!important;grid-template-columns:1fr!important;overflow:visible!important}.direct-popover-body .setup-preview-caption{display:none}.direct-popover-body .experience-preset-grid{grid-template-columns:1fr 1fr!important}.direct-popover-body .experience-grid{grid-template-columns:1fr!important}.direct-popover-body .experience-grid>label{padding:12px!important}.direct-popover-body .two-choice-row{gap:10px}.direct-popover-body label{font-size:14px}.direct-popover-body .setup-small-heading{font-size:21px!important;padding:10px!important;margin:16px 0 12px!important}
@media(max-width:760px){html[data-customizing=returning] .mobile-bottom-navigation{display:flex!important;position:fixed!important;bottom:0!important;z-index:200!important}html[data-customizing=returning] .wordmark{pointer-events:auto!important}.direct-studio{padding:4px 0 85px}.direct-studio-heading{gap:10px!important;align-items:flex-start!important}.direct-studio-heading h1{font-size:26px}.direct-studio-heading .eyebrow{font-size:10px}.direct-heading-actions{gap:8px}.direct-heading-actions button{font-size:12px;padding:9px 11px;white-space:nowrap}.direct-layout,.direct-layout:has(.direct-popover:not([hidden])){display:block}.direct-display{padding:6px 0 16px}.direct-book-surface{height:400px;width:320px}.direct-book-surface>.setup-book{height:350px!important;width:262px!important}.edit-point{font-size:11px!important;padding:5px 7px!important}.direct-secondary{gap:8px}.direct-secondary button{padding:8px 12px;font-size:13px}.direct-popover{position:fixed;z-index:190;inset:auto 8px calc(76px + env(safe-area-inset-bottom));max-height:60dvh;overflow:auto;border-radius:18px 18px 12px 12px;box-shadow:0 -10px 40px #39233135}.direct-popover-body{padding:14px}.direct-popover-heading{padding:12px 14px}.direct-popover-heading h2{font-size:24px}.direct-popover-body .preset-cover-thumb{height:135px!important}.direct-edit-hint{font-size:13px}.direct-design-links{gap:20px}.direct-popover-body .bookmark-style-options>button{min-height:150px!important}}
/* Recent feedback: compact dashboard rectangles and streaks. */
html body #app #page .clear-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html body #app #page .clear-dashboard-cards>.dash-card{width:100%!important;max-width:none!important;height:150px!important;min-height:0!important;aspect-ratio:auto!important;padding:12px 16px!important;gap:5px!important}
html body #app #page .dash-card>strong{font-size:38px!important}html body #app #page .dash-card-heading>b{font-size:16px!important}
html body #app #page .consistency-scores{display:grid!important;grid-template-columns:repeat(2,minmax(0,155px))!important;justify-content:start!important;gap:14px!important}
html body #app #page .consistency-scores>div{height:142px!important;max-width:155px!important;min-height:0!important;aspect-ratio:auto!important;padding:12px!important}
html body #app #page .feeling-timeline{padding:18px!important;border-top:3px solid var(--accent)!important;background:linear-gradient(115deg,var(--surface,#fff),color-mix(in srgb,var(--accent) 4%,var(--surface,#fff)))!important}
html body #app #page .feeling-timeline h3{font-size:29px!important;margin-bottom:10px!important}.feeling-beads{gap:16px!important;flex-wrap:wrap!important}.feeling-beads button>span{width:48px!important;height:48px!important;font-size:29px!important}
@media(min-width:761px){html body #app .home-book-studio .book-side-tools{display:grid!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;height:426px!important;gap:18px!important}html body #app .home-book-studio .book-side-tools>button{height:100%!important;min-height:0!important}}
html body #app .today-strip .snapshot-progress{height:11px!important;border-radius:8px!important}html body #app .today-strip .snapshot-progress>i{height:100%!important;border-radius:8px!important}
@media(max-width:760px){html[data-customizing=returning] .mobile-bottom-navigation{display:grid!important;grid-template-columns:repeat(var(--nav-count,5),minmax(0,1fr))!important;width:100%!important;left:0!important;right:0!important;gap:0!important}html[data-customizing=returning] .mobile-bottom-navigation button{min-width:0!important;width:100%!important}}
html body #app .direct-studio .direct-save{min-width:0!important;width:auto!important;padding:10px 18px!important}
.direct-popover-body .signature-page-note{font-size:13px!important;background:none!important;padding:0!important;border:0!important}
.direct-popover-body .visual-charm-options>button{min-height:125px!important;padding:10px!important;gap:7px!important}.direct-popover-body .real-charm-sample{width:78px!important;height:78px!important}.direct-popover-body .charm-object{width:65px!important;height:78px!important}.direct-popover-body .material-sample{height:60px!important}.direct-popover-body .material-grid>button{padding:9px!important;min-height:0!important}.direct-popover-body .material-grid small{font-size:11px!important;line-height:1.4!important}.direct-popover-body .material-grid b{font-size:13px!important}.direct-popover-body .cover-pattern-options>button{min-height:120px!important;padding:9px!important}.direct-popover-body .cover-pattern-options svg,.direct-popover-body .emblem-art{width:74px!important;height:74px!important}
@media(max-width:760px){html body #app .home-book-studio .book-side-tools>button{width:calc((100% - 36px)/3)!important;min-height:92px!important;height:92px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:6px!important;padding:10px 5px!important;text-align:center!important}html body #app .home-book-studio .book-side-tools>button>span{height:38px!important;width:38px!important;flex:none!important}html body #app .home-book-studio .book-side-tools>button>span :is(svg,img){height:38px!important;width:38px!important}html body #app .home-book-studio .book-side-tools>button>:is(b,strong){font-size:15px!important;line-height:1.15!important;text-align:center!important;align-self:center!important}html body #app .home-book-studio .book-side-tools>button>:is(p,small,em){display:none!important}}

/* Numbered first-book route, shared on phone, tablet and desktop. */
.guided-setup-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0 20px}.guided-setup-steps button{padding:10px 8px;min-width:0;color:#81052e;background:#fffdf8;border:1px solid #ddc699;font-size:13px}.guided-setup-steps button span{display:block;color:#967028;font-size:20px}.guided-setup-steps button[aria-current=step]{background:#81052e;color:white}.guided-setup-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 0}.guided-setup-actions button{min-height:42px}.guided-setup-steps~.direct-layout .direct-secondary{display:none}@media(max-width:760px){.guided-setup-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.guided-setup-steps button{font-size:12px;padding:8px 4px}.guided-setup-actions{position:sticky;bottom:0;background:#fffdf8;z-index:10;flex-wrap:wrap}}

.guided-setup-steps{grid-template-columns:repeat(7,minmax(0,1fr))}.guide-sound-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,1.3fr) auto;align-items:center;gap:8px;margin:12px 0}.guide-sound-row select{min-width:0}@media(max-width:760px){.guided-setup-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.guide-sound-row{grid-template-columns:1fr 1fr}.guide-sound-row button{grid-column:2}}

.more-sounds{margin-top:14px;border-top:1px solid var(--accent-edge);padding-top:10px}.more-sounds>summary{cursor:pointer;color:var(--gold);font-weight:600}.sound-choice-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin:12px 0}.sound-choice-row select{width:100%;min-width:0}.guided-setup-steps svg{width:20px;height:20px;display:block;margin:auto;color:#9b752e}

@media(max-width:760px){.direct-studio:has(.guided-setup-steps) .direct-popover{position:relative;inset:auto;width:100%;max-height:calc(100dvh - 310px);min-height:280px;margin:0}.direct-studio:has(.guided-setup-steps) .direct-layout{margin-top:0}.direct-studio .guide-sound-row{grid-template-columns:minmax(0,1fr) auto;text-align:left}.direct-studio .guide-sound-row>span{grid-column:1/-1;font-weight:600}.direct-studio .guide-sound-row select{width:100%;min-width:0}.direct-studio .guide-sound-row button{grid-column:auto;min-width:64px}.direct-studio .sound-toggle{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:8px 0;border:0;background:transparent;min-height:0}.direct-studio .sound-toggle input{width:18px;height:18px;margin:0}}

.direct-studio[data-target=sounds] .direct-layout{display:block;max-width:720px;margin:0 auto}.direct-studio[data-target=sounds] .direct-popover{width:100%}@media(max-width:760px){.direct-studio:has(.guided-setup-steps){padding-bottom:76px}.direct-studio .guided-setup-actions{position:fixed;bottom:0;left:0;right:0;margin:0;padding:10px 16px;background:#fffdf8;z-index:160;border-top:1px solid #dfcda9}.direct-studio:has(.guided-setup-steps) .direct-layout{display:flex;flex-direction:column}.direct-studio:has(.guided-setup-steps) .direct-popover{order:0}.direct-studio:has(.guided-setup-steps) .direct-display{order:1}}

.page-color-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.page-color-routes button{display:flex;flex-direction:column;gap:6px;text-align:left;padding:12px;min-width:0}.page-color-routes small{font-size:12px;line-height:1.45;color:#74636b}.page-color-routes button[aria-pressed=true]{background:#81052e;color:white;border-color:#b69450}.page-color-routes button[aria-pressed=true] small{color:#fff4dd}.page-paper-stage,.page-custom-colors{scroll-margin-block:20px;outline:none}.page-font-options{margin-top:14px}.page-font-options>summary{color:#8a682b;font-weight:600;cursor:pointer}@media(max-width:760px){.page-color-routes{grid-template-columns:1fr}.page-color-routes button{padding:11px 13px;gap:3px}}

.bookmark-family-choice{display:flex;align-items:center;gap:12px;margin:12px 0}.bookmark-family-choice select{flex:1;min-width:0}.bookmark-style-options>[hidden],.category-full-choices[hidden],.bookmark-color-fields[hidden]{display:none!important}.bookmark-colors-choice{margin-top:18px;padding-top:16px;border-top:1px solid #ddc699}.bookmark-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.explicit-bookmark-color{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0}.page-paper-stage .paper-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.page-paper-stage .paper-grid button{padding:8px;min-width:0}.page-paper-stage .paper-sample{height:65px;min-height:65px}.page-paper-stage .paper-sample i{display:none}@media(max-width:760px){.page-paper-stage .paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bookmark-color-fields{grid-template-columns:1fr}.category-approach .two-choice-row,.bookmark-colors-choice .two-choice-row{gap:8px}.bookmark-colors-choice button{font-size:12px;padding:10px}.guided-setup-actions{z-index:999!important}}

.paper-name-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px}.paper-name-options button{min-width:0;min-height:42px;padding:10px 6px!important;font-size:13px}.paper-name-options button[aria-pressed=true]{background:#81052e;color:white}.bookmark-color-fields input[type=color]{width:36px;height:36px;flex:0 0 36px;aspect-ratio:1;border-radius:50%}

/* Verified account confirmation: brand colors stay independent of book palettes. */
.account-ready{text-align:center;padding:18px 12px 8px;color:#81052e;animation:account-ready-enter .45s ease-out both}.account-ready h3{font-size:clamp(24px,5vw,32px);line-height:1.2;margin:12px 0 8px;color:#81052e}.account-ready p{max-width:350px;margin:0 auto;line-height:1.5;color:#53434a}.account-ready-mark{position:relative;display:block;width:62px;height:62px;margin:0 auto;color:#a47829}.account-ready-mark svg{width:100%;height:100%;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.account-ready-mark path{stroke:#81052e;stroke-dasharray:42;stroke-dashoffset:42;animation:account-ready-check .6s .2s ease forwards}.account-ready-mark i{position:absolute;width:8px;height:8px;background:linear-gradient(135deg,#81052e,#eed8a4,#a47829);clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%);animation:account-ready-twinkle 1.1s .3s ease-in-out 2 both}.account-ready-mark i:nth-of-type(1){top:0;right:-12px}.account-ready-mark i:nth-of-type(2){bottom:8px;left:-13px;animation-delay:.6s}.account-ready-mark i:nth-of-type(3){bottom:-8px;right:2px;animation-delay:.9s}.account-start-actions{justify-content:center;gap:10px;margin-top:16px}.account-ready-note{text-align:center;font-size:12px;color:#65545c}.account-start-actions button{min-width:135px}@keyframes account-ready-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes account-ready-check{to{stroke-dashoffset:0}}@keyframes account-ready-twinkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1.2)}}@media(prefers-reduced-motion:reduce){.account-ready,.account-ready-mark path,.account-ready-mark i{animation:none}.account-ready-mark path{stroke-dashoffset:0}.account-ready-mark i{opacity:1}}

.account-signed-in{display:flex;align-items:center;gap:14px;margin:4px 0 18px}.account-signed-in>svg{width:42px;height:42px;flex:0 0 42px;color:#9b742c}.account-signed-in h3{margin:0 0 4px;font-size:26px;color:#81052e}.account-signed-in p{margin:0;overflow-wrap:anywhere}.account-signed-in>div{min-width:0}.screen-lock-about{max-width:320px;margin:14px auto 0;font-size:12px}.screen-lock-about summary{cursor:pointer}.screen-lock-about p{font-size:12px;line-height:1.5}

/* 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}

/* 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 .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 #modal .modal-body .settings-list .settings-action[hidden],html body #modal .modal-body .settings-list h3[hidden]{display:none!important}
/* Keep reflection controls compact on larger screens as well as phones. */
@media(min-width:761px){
html body #modal#modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .modal-head{padding:14px 20px!important}
html body #modal#modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .modal-body{padding:14px 20px!important}
html body #modal#modal#modal#modal .weekly-stats{gap:12px!important;margin:10px 0!important}
html body #modal#modal#modal#modal .weekly-stats>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px 48px 30px!important;gap:6px!important;min-height:0!important;height:142px!important;padding:10px!important;align-content:center!important;justify-items:center!important}
html body #modal#modal#modal#modal .weekly-stats>div>span{grid-area:1/1!important;position:static!important;transform:none!important;align-self:center!important;text-align:center!important;margin:0!important;font-size:14px!important;line-height:18px!important}
html body #modal#modal#modal#modal .weekly-stats>div>b{grid-area:2/1!important;position:static!important;transform:none!important;align-self:center!important;text-align:center!important;margin:0!important;font-size:44px!important;line-height:1!important}
html body #modal#modal#modal#modal .weekly-stats>div>i{grid-area:3/1!important;position:static!important;transform:none!important;align-self:center!important;margin:0!important;width:30px!important;height:30px!important}
html body #modal#modal#modal#modal .weekly-stats>div>i :is(svg,.live-icon){width:30px!important;height:30px!important}
html body #modal#modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) textarea{height:56px;min-height:56px!important;padding:9px 12px!important;margin-block:4px!important}
html body #modal#modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) label{margin-block:6px!important}
html body #modal#modal#modal#modal:has(:is(.weekly-stats,.home-checkin-moods)) .clear-field-button{margin-block:2px!important;min-height:28px!important;padding:3px 8px!important}
}
@media(min-width:761px){
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context{margin:10px 0!important;padding:0!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context legend{font-size:17px!important;line-height:1.4!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context>p{font-size:12px!important;margin:5px 0!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context>div{gap:7px!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context label{margin:0!important;padding:7px 9px!important;min-height:34px!important}
}
@media(min-width:761px){
html body #modal#modal#modal#modal:has(.home-checkin-moods) .modal-body>p{font-size:12px!important;line-height:1.4!important;margin:4px 0 8px!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .home-checkin-moods{margin-block:8px!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .home-checkin-moods>button{min-height:64px!important;padding:7px!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .mood-context{margin:6px 0!important}
html body #modal#modal#modal#modal:has(.home-checkin-moods) .modal-body>label{margin-block:4px!important}
}
/* Jar dialogs follow their current content, including the drawn-note result. */
html body #modal#modal#modal#modal#modal:has(.compact-jar-library){height:fit-content!important;min-height:0!important;max-height:92dvh!important}
/* A scrolling Home shortcut must not cover setup headings or crown steps. */
html body #app#app#app#app#app .direct-home-corner{position:static!important;inset:auto!important}
/* Scorecards keep their shared baseline when hovered or focused. */
html body #app#app#app#app#app#app .clear-dashboard-cards>.dash-card{transform:none!important;translate:none!important}
@media(min-width:761px) and (max-width:1100px){html[data-view] body #app#app#app#app#app#app #page[data-layout=overview] .clear-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Shared audit follow-ups: hit testing, contrast and legend layout. */
html body #app#app#app#app .home-notice-area{position:relative!important;z-index:5!important}
html body #app#app#app#app #page[data-layout=overview] .mood-metrics-layout{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:0!important}
html body #app#app#app#app #page[data-layout=overview] .dashboard-mood-donut{flex:0 0 200px!important;width:200px!important;height:200px!important;max-width:100%!important;margin:0 12px 12px 0!important}
html body #app#app#app#app #page[data-layout=overview] .dashboard-mood-summary{flex:1 1 260px!important;min-width:0!important;width:auto!important}
html body #app#app#app#app #page[data-layout=overview] .dashboard-mood-legend>div{display:grid!important;grid-template-columns:8px minmax(0,1fr) auto auto!important;gap:8px!important;align-items:center!important}
html body #app#app#app#app #page[data-layout=overview] .dashboard-mood-legend>div>span{white-space:nowrap!important;word-break:normal!important}
html[data-lighting=night][data-night-theme] body #app#app#app#app .daily-stat-copy>b,html[data-lighting=night][data-night-theme] body #app#app#app#app .consistency-scores strong,html[data-lighting=night][data-night-theme] body #app#app#app#app .dash-card>strong,html[data-lighting=night][data-night-theme] body #app#app#app#app .task-metric strong{color:var(--night-accent-text,#e3c37d)!important;-webkit-text-fill-color:var(--night-accent-text,#e3c37d)!important}

/* Dense task counters remain aligned. */
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#app #page[data-layout=tasks] .task-totals{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap: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#app#app#app #page[data-layout=tasks] .task-totals>.task-metric{display:grid!important;grid-template-rows:auto auto auto!important;align-content:center!important;justify-items:center!important;gap:6px!important;min-width:0!important;min-height:118px!important;padding:10px 4px!important;box-sizing:border-box!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#app #page[data-layout=tasks] .task-totals>.task-metric>b{font-size:30px!important;line-height:1.1!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;margin: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#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-totals>.task-metric>span{font-size:11px!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important;text-align:center!important;margin: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#app#app#app#app#app#app#app#app#app#app#app#app#app#app #page[data-layout=tasks] .task-summary-group>h3{font-size:20px!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important}
