/* Full visual profiles share the same library and controls. */
/* One task per view. The timer is the first action, on every screen size. */
body[data-view] main{display:flex;flex-direction:column}
body[data-view] main>[hidden],body[data-view] .content-grid>[hidden]{display:none!important}
body[data-view] .content-grid{grid-template-columns:minmax(0,1fr);order:2}
body[data-view] #timer-panel{width:100%;max-width:680px;justify-self:center;position:static;grid-column:1;grid-row:auto}
body[data-view] #library-panel,body[data-view] #journal-panel{grid-column:1;grid-row:auto}
body[data-view] .welcome{order:0}
body[data-view] .save-strip{order:5;margin-top:24px}
body[data-view] #onboarding{display:none}
body[data-view] #discover{order:3}
body[data-view] .stats{order:1}
body[data-view] #clubs-panel{order:2}
body[data-view=home] .discovery-grid{display:none!important}
body[data-view=home] .content-grid{margin-top:20px}
body[data-view=home] #discover{max-width:100%;margin-top:28px}
body[data-view=home] .welcome{margin-bottom:0}
body[data-view=library] #library-panel{margin-top:24px}
body[data-view] .page-footer{order:6}
#welcome-dialog{width:min(660px,calc(100% - 32px));max-height:90dvh;margin:auto;padding:28px}
#welcome-form>h2{font-size:34px;line-height:1.2;margin:12px 0}
#welcome-form>p{line-height:1.6}
#welcome-form fieldset{min-width:0;border:0;padding:0;margin:24px 0}
#welcome-form legend{font-size:var(--reading-size,16px);margin-bottom:12px}
#welcome-form .profile-choice small{font-size:var(--reading-size,16px)}
#welcome-form>input{width:100%;margin-top:8px}
#welcome-form>button{display:block;width:100%;margin-top:12px;min-height:48px}
#welcome-error{color:#a32f43}
.publisher-link{display:none}
.profile-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.profile-choice{padding:0;border:2px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper);text-align:left;color:var(--ink);min-width:0}
.profile-choice>img{display:block;width:100%;height:135px;object-fit:cover}
.profile-choice>span{display:block;padding:16px}
.profile-choice b{display:block;font-size:24px;line-height:1.3;margin-bottom:8px}
.profile-choice small{display:block;line-height:1.55}
.profile-choice-falsum b{font-family:RinconEditorial,Georgia,serif;font-weight:400}
.profile-choice-cozy b{font-family:RinconHand,cursive}
.profile-choice[aria-pressed=true]{border-color:var(--style-accent,#895d9b);box-shadow:0 0 0 1px var(--style-accent,#895d9b)}
.theme-swatches.falsum i{background:#f4e5cf;border:1px solid #ddc7cc}.theme-swatches.falsum i:nth-child(2){background:#e3cfea}.theme-swatches.falsum i:nth-child(3){background:#b398be}.theme-swatches.falsum i:nth-child(4){background:#a32f43}
body[data-theme=falsum]{--paper:#fbf5ed;--ink:#432b3f;--muted:#705662;--green:#85404b;--line:#ddc7cc;--style-soft:#eadcf0;--style-accent:#a32f43;--style-panel:#eee0f2;--style-side:#f3e7d9;--style-title:#663e71;--style-secondary:#a32f43;--coral:#f5d9d0;--lilac:#e7d5ee;--blue:#ece1ed;--yellow:#f4e5cf;--surface:#fffbf6}
body[data-profile=falsum][data-theme]{background:var(--paper);color:var(--ink)}
body[data-profile=falsum][data-theme] :is(h1,h2,h3,.brand,.mobile-brand,.timer-face,.timer-footer,.hand-note){color:var(--ink);font-synthesis:none}
body[data-profile=falsum][data-theme] :is(h1,h2,h3){letter-spacing:0;line-height:1.25;font-weight:400}
body[data-profile=falsum][data-theme][data-font=editorial] .welcome h1,body.rincon-access[data-profile=falsum][data-font=editorial] h1{font-family:var(--serif);font-size:clamp(36px,3.5vw,52px);line-height:1.2;font-weight:400}
body[data-profile=falsum][data-theme] :is(.sidebar,.topbar){background:var(--paper);border-color:var(--line)}
body[data-profile=falsum][data-theme] .sidebar{padding:34px 22px}
body[data-profile=falsum][data-theme] .sidebar nav{gap:6px;margin-top:45px}
body[data-profile=falsum][data-theme] .brand{font-weight:400}
body[data-profile=falsum][data-theme] .brand small{letter-spacing:.06em}
body[data-profile=falsum][data-theme] :is(.nav-button,.sidebar-bottom p,.sidebar-bottom a){color:var(--muted)}
body[data-profile=falsum][data-theme] .nav-button{border-radius:6px;padding:15px 12px}
body[data-profile=falsum][data-theme] .nav-button.active{background:var(--style-soft);color:var(--ink);box-shadow:inset 3px 0 var(--style-accent)}
body[data-profile=falsum][data-theme] .nav-button img{width:32px;height:32px}
body[data-profile=falsum][data-theme] .sidebar-bottom p{font:400 20px/1.6 var(--serif)}
body[data-profile=falsum][data-theme] .topbar{gap:22px;min-height:82px}
body[data-profile=falsum][data-theme] .publisher-link{display:block;border:0;background:none;padding:0;border-radius:0;flex-shrink:0}
.publisher-link img{display:block;width:130px;height:auto}
body[data-profile=falsum][data-theme] .topbar-label{margin-right:auto;letter-spacing:.05em;color:var(--muted)}
body[data-profile=falsum][data-theme] .topbar-actions :is(a,#personalize-button){background:var(--paper);border:1px solid var(--line);border-radius:8px;color:var(--ink)}
body[data-profile=falsum][data-theme] main{padding-top:32px}
body[data-profile=falsum][data-theme] .welcome{background:var(--style-panel);border:0;border-radius:0;box-shadow:none;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;overflow:hidden}
body[data-profile=falsum][data-theme] .welcome>div:first-child{width:auto;padding:36px;align-self:center}
body[data-profile=falsum][data-theme] .welcome-art{width:100%;height:100%;min-height:340px;object-fit:cover;object-position:70% center;transform:none;border-radius:0}
body[data-profile=falsum][data-theme] .welcome h1 em{color:var(--style-secondary);font-weight:inherit;font-style:normal}
body[data-profile=falsum][data-theme] .welcome>div>p:last-child{color:var(--muted);line-height:1.75}
body[data-profile=falsum][data-theme] .welcome-date{gap:12px;margin-bottom:24px}
body[data-profile=falsum][data-theme] .welcome-date img{width:32px;height:32px}
body[data-profile=falsum][data-theme] .eyebrow{letter-spacing:.06em;font-weight:500}
body[data-profile=falsum][data-theme] .onboarding{gap:20px;border-block:1px solid var(--line);padding:18px 0}
body[data-profile=falsum][data-theme] .onboarding span{background:none;border:0;border-radius:0;padding:0;color:var(--muted)}
body[data-profile=falsum][data-theme] .onboarding b{font-weight:600;color:var(--ink)}
body[data-profile=falsum][data-theme] :is(.discover,.library-panel,.journal-panel){margin-top:34px}
body[data-profile=falsum][data-theme] .section-heading h2{font-size:32px}
body[data-profile=falsum][data-theme] .discovery-grid{gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}
body[data-profile=falsum][data-theme] .discovery-grid button{display:flex;flex-direction:row;align-items:flex-start;gap:16px;padding:24px 20px;background:var(--paper);border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;transform:none}
body[data-profile=falsum][data-theme] .discovery-grid button:last-child{border-right:0}
body[data-profile=falsum][data-theme] .discovery-grid button:hover{background:var(--style-soft)}
body[data-profile=falsum][data-theme] .discovery-grid img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
body[data-profile=falsum][data-theme] .discovery-grid span{padding:0;min-width:0}
body[data-profile=falsum][data-theme] .discovery-grid b{font:400 23px/1.3 var(--serif);color:var(--ink)}
body[data-profile=falsum][data-theme] .discovery-grid small{margin-top:7px;color:var(--muted)}
body[data-profile=falsum][data-theme] .stats{gap:0;border-block:1px solid var(--line);margin:32px 0;padding:8px 0}
body[data-profile=falsum][data-theme] .stats>div{background:none;border:0;border-right:1px solid var(--line);border-radius:0;padding:16px 24px!important;box-shadow:none}
body[data-profile=falsum][data-theme] .stats>div:last-of-type{border-right:0}
body[data-profile=falsum][data-theme] .stats strong{font-weight:400;color:var(--ink)}
body[data-profile=falsum][data-theme] :is(.book-card,.assistant-panel,.club-card,.club-section,.club-write,.club-intro,.club-empty,.catalog-search,.favorite-book){background:var(--paper);border-color:var(--line);border-radius:10px;box-shadow:none}
body[data-profile=falsum][data-theme] .cover-space{background:var(--style-panel);border-radius:6px}
body[data-profile=falsum][data-theme] .book-card h3{font-size:27px;font-weight:400}
body[data-profile=falsum][data-theme] :is(.book-tag,.journal-time,.journal-date,.chat-message.companion,.chat-message.you,.filter-tabs button.selected){background:var(--style-soft);color:var(--ink);border-color:var(--line);border-radius:6px}
body[data-profile=falsum][data-theme] :is(.primary,.quick-session,.active-timer){background:var(--style-accent);color:#fff;box-shadow:none;border-radius:8px}
body[data-profile=falsum][data-theme] :is(.text-button,.timer-hint,.hand-note,.timer-actions button){color:var(--muted);transform:none}
body[data-profile=falsum][data-theme] .timer-panel{background:var(--style-panel);border:1px solid var(--line);border-radius:10px;box-shadow:none}
body[data-profile=falsum][data-theme] .timer-panel h2{color:var(--ink);font-weight:400}
body[data-profile=falsum][data-theme] .timer-panel .timer-hint{color:var(--muted)}
body[data-profile=falsum][data-theme] .timer-dial{border:1px solid var(--line);background:var(--paper);box-shadow:none;border-radius:8px;width:100%;height:auto;min-height:170px;margin:24px auto}
body[data-profile=falsum][data-theme] .timer-dial::before,body[data-profile=falsum][data-theme] .timer-dial::after{display:none}
body[data-profile=falsum][data-theme] .timer-face{font-family:var(--sans);font-weight:400;letter-spacing:-.03em}
body[data-profile=falsum][data-theme] :is(.timer-reminder-settings button,.save-strip button,.favorites-button,.photo-upload){background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:none}
body[data-profile=falsum][data-theme] dialog{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 65px #2d173e20}
body[data-profile=falsum][data-theme] :is(.theme-choice,.font-choice,.avatar-choices button,.style-sample,.photo-options .photo-button,.category-covers button){background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:8px}
body[data-profile=falsum][data-theme] :is(.theme-choice,.font-choice,.avatar-choices button)[aria-pressed=true]{background:var(--style-soft);border-color:var(--style-accent);box-shadow:none}
body[data-profile=falsum][data-theme] :is(.style-hint,.font-choice>span,.style-secondary button,dialog label){color:var(--muted)}
body.rincon-access[data-profile=falsum] :is(.access-welcome,.access-card){border-radius:8px;box-shadow:none;background:var(--paper)}
body.rincon-access[data-profile=falsum] .access-welcome{background:var(--style-panel);border:0}
body.rincon-access[data-profile=falsum] .access-brand{font-weight:400;color:var(--ink)}
body.rincon-access[data-profile=falsum] :is(.access-back,.button){border-radius:8px}
@media(max-width:1100px){body[data-profile=falsum][data-theme] .discovery-grid{grid-template-columns:1fr 1fr}body[data-profile=falsum][data-theme] .discovery-grid button{border-bottom:1px solid var(--line)}body[data-profile=falsum][data-theme] .discovery-grid button:nth-child(2n){border-right:0}body[data-profile=falsum][data-theme] .discovery-grid button:nth-last-child(-n+2){border-bottom:0}body[data-profile=falsum][data-theme] .topbar-label{display:none}}
@media(max-width:920px){body[data-profile=falsum][data-theme] .mobile-brand{display:none}body[data-profile=falsum][data-theme] .topbar{justify-content:space-between;padding:16px 22px;min-height:76px}body[data-profile=falsum][data-theme] .sidebar{padding:6px 8px}body[data-profile=falsum][data-theme] .sidebar nav{margin:0;gap:2px}body[data-profile=falsum][data-theme] .nav-button{padding:8px 3px}body[data-profile=falsum][data-theme] .nav-button.active{box-shadow:inset 0 2px var(--style-accent)}body[data-profile=falsum][data-theme] .welcome>div:first-child{padding:28px}body[data-profile=falsum][data-theme] .welcome-art{min-height:320px}}
@media(max-width:620px){body[data-profile=falsum][data-theme] .topbar{padding:14px 16px;gap:12px}.publisher-link img{width:112px}body[data-profile=falsum][data-theme] main{padding-top:18px}body[data-profile=falsum][data-theme] .welcome{grid-template-columns:1fr}body[data-profile=falsum][data-theme] .welcome>div:first-child{padding:26px 24px}body[data-profile=falsum][data-theme] .welcome-date{margin-bottom:20px}body[data-profile=falsum][data-theme] .welcome-art{height:210px;min-height:0;object-position:center 55%}body[data-profile=falsum][data-theme] .section-heading h2{font-size:30px}body[data-profile=falsum][data-theme] .discovery-grid button{padding:20px 14px;flex-direction:column;gap:12px}body[data-profile=falsum][data-theme] .discovery-grid b{font-size:24px}body[data-profile=falsum][data-theme] .stats>div{padding:14px 10px!important}body[data-profile=falsum][data-theme] .onboarding{gap:16px}body[data-profile=falsum][data-theme] .favorite-book{flex-basis:280px}body[data-profile=falsum][data-theme] .timer-panel{padding:24px 20px}.profile-choices{grid-template-columns:1fr}.profile-choice{display:grid;grid-template-columns:115px 1fr}.profile-choice>img{height:100%;min-height:160px}.profile-choice>span{padding:16px 14px}}
@media(prefers-reduced-motion:reduce){.profile-choice{transition:none}}
/* Preview files arrive independently. Their intrinsic ratio must never grow
   a chooser row: the reserved column and its text determine the card size. */
@media(max-width:620px){
  .profile-choice{position:relative;min-height:160px}
  .profile-choice>img{position:absolute;grid-area:1/1/2/2;inset:0;width:100%;height:100%;min-height:0}
  .profile-choice>span{grid-column:2}
}

body[data-profile=falsum] #timer-panel .timer-dial{border:1px solid var(--line);background:var(--paper);box-shadow:none;border-radius:8px;width:100%;height:auto;min-height:170px;margin:24px auto}body[data-profile=falsum] #timer-panel .timer-dial::before,body[data-profile=falsum] #timer-panel .timer-dial::after{display:none}body[data-profile=falsum][data-theme] .empty-shelf{background:var(--style-panel);border:1px solid var(--line);border-radius:8px;box-shadow:none}body[data-profile=falsum][data-theme] .empty-icon{display:block;font-size:0;width:40px;height:40px;margin:0 auto 18px;background:url('/my-nook/assets/editorial-books.svg') center/contain no-repeat}body[data-profile=falsum][data-theme] #timer-panel .timer-face{font-family:var(--sans);font-weight:400;color:var(--ink)}

body[data-profile=falsum] #timer-panel{border-radius:10px;box-shadow:none}body[data-profile=falsum] #timer-panel .timer-dial{aspect-ratio:auto;min-height:175px;padding:24px 12px}body[data-profile=falsum] #timer-panel :is(#timer-toggle,#timer-finish){border-radius:8px}body[data-profile=falsum] #timer-panel #timer-clock{font-weight:400;font-size:clamp(32px,4vw,42px)}
/* A typographic opening: the profile follows the site's palette, not its catalogue. */
.welcome-art[hidden],.welcome-preview[hidden]{display:none!important}
.profile-choice .profile-art{height:135px;padding:24px;display:flex;flex-direction:column;justify-content:center;gap:10px;background:#e3cfea;color:#4b294d;font:400 30px/1.2 RinconEditorial,Georgia,serif}
.profile-art>span{font:400 16px/1.5 var(--sans);color:#8a3041}
.welcome-choice .welcome-type-preview{height:95px;display:flex;align-items:center;justify-content:center;background:#f7f1e7;color:#2d173e;font:400 25px/1.3 RinconEditorial,Georgia,serif}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden]){grid-template-columns:1fr;border-block:1px solid var(--line);background:var(--style-panel)}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden])>div:first-child{padding:40px 44px;width:100%}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden]) h1{margin-bottom:20px}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden])>div>p:last-child{max-width:620px;margin-bottom:0}
@media(max-width:620px){.profile-choice .profile-art{height:100%;min-height:160px;padding:18px 12px;font-size:25px}body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden])>div:first-child{padding:28px 24px}.profile-art>span{font-size:16px}}
/* FALSUM: lilac paper, warm beige and the publisher's red. */
body[data-profile=falsum][data-theme=falsum] .sidebar{background:#f3e7d9}
body[data-profile=falsum][data-theme=falsum] .topbar{background:#f8eee3;border-bottom:3px solid #a32f43}
body[data-profile=falsum][data-theme=falsum] .welcome:has(.welcome-art[hidden]){background:#eadcf0;border:0;border-left:5px solid #a32f43;border-radius:12px}
body[data-profile=falsum][data-theme=falsum] #timer-panel{background:#eee0f2;border-color:#d5bbdf;border-top:4px solid #a32f43;border-radius:16px}
body[data-profile=falsum][data-theme=falsum] #timer-panel .timer-dial{background:#fff9ef;border-color:#decdbb;border-radius:12px}
body[data-profile=falsum][data-theme=falsum] .discovery-grid{border:0;gap:12px;overflow:visible}
body[data-profile=falsum][data-theme=falsum] .discovery-grid button{background:#eadcf0;border:1px solid #ddc7cc;border-radius:12px}
body[data-profile=falsum][data-theme=falsum] .discovery-grid button:nth-child(2){background:#f3e4ce}
body[data-profile=falsum][data-theme=falsum] .discovery-grid button:nth-child(3){background:#f5dbd3}
body[data-profile=falsum][data-theme=falsum] .discovery-grid button:nth-child(4){background:#e7d9e9}
body[data-profile=falsum][data-theme=falsum] .book-card{background:#fff9f1}
body[data-profile=falsum][data-theme=falsum] .book-card:nth-child(2n){background:#f1e6f3}
body[data-profile=falsum][data-theme=falsum] .stats>div:nth-child(1){background:#f3e4ce}
body[data-profile=falsum][data-theme=falsum] .stats>div:nth-child(2){background:#eadcf0}
body[data-profile=falsum][data-theme=falsum] .stats>div:nth-child(3){background:#f5dbd3}
@media(max-width:920px){
  body[data-view] .sidebar .nav-label{font-size:16px;letter-spacing:-.02em}
  body[data-view] .sidebar .nav-button{min-width:0}
  body[data-view=home][data-profile][data-theme] .welcome{background:none;border:0;box-shadow:none;display:block;border-radius:0}
  body[data-view=home][data-profile][data-theme] .welcome>div:first-child{width:100%;padding:4px 0}
  body[data-view=home][data-profile][data-theme] .welcome h1{font-size:32px;line-height:1.3;margin:0;overflow-wrap:anywhere}
  body[data-view=home] .welcome :is(.welcome-date,#page-subtitle),body[data-view=home] #page-title :is(br,em){display:none!important}
  body[data-view=home][data-profile][data-theme] #timer-panel{padding:20px 18px}
  body[data-view=home] #timer-panel .timer-intro{margin-bottom:8px}
  body[data-view=home] #timer-panel h2{font-size:28px;margin:6px 0 16px}
  body[data-view=home] #timer-panel>p:not(.timer-hint),body[data-view=home] #timer-panel .timer-footer{display:none}
  body[data-view=home] #timer-panel .timer-dial{aspect-ratio:auto;width:100%;min-height:140px;margin:14px auto 8px;padding:16px 10px;border-radius:16px;border-width:1px}
  body[data-view=home] #timer-panel .timer-dial::before,body[data-view=home] #timer-panel .timer-dial::after{display:none}
  body[data-view=home] #timer-panel .timer-hint{margin:8px 0 12px}
  body[data-view=home] #timer-panel .timer-actions{display:grid;grid-template-columns:1fr 2fr;align-items:center}
  body[data-view=home] #timer-panel #timer-finish{padding:10px 8px}
  body[data-view=home] #timer-panel #timer-clock{font-size:38px}
  body[data-view=home] .content-grid{margin-top:12px}
}
@media(max-width:620px){
  #welcome-dialog{width:calc(100% - 24px);padding:24px 18px;border-radius:18px}
  #welcome-form>h2{font-size:30px}
  #welcome-form .profile-choice{grid-template-columns:88px minmax(0,1fr)}
  #welcome-form .profile-choice .profile-art{font-size:21px;padding:14px 8px}
  #welcome-form .profile-choice>span{padding:12px}
  #welcome-form .profile-choice b{font-size:22px;margin-bottom:4px}
  body[data-view] .sidebar{padding-inline:2px}
  body[data-view] .sidebar nav{grid-template-columns:1fr 1.5fr 1fr 1fr 1fr;gap:0}
}
#welcome-dialog [hidden]{display:none!important}
#welcome-name-step input{width:100%;margin:8px 0 16px}
#welcome-name-step{margin-top:24px}
@media(max-width:920px){
  body[data-view=home][data-profile][data-theme] .welcome:has(.welcome-art[hidden]){background:none;border:0;border-radius:0}
  body[data-view=home][data-profile][data-theme] .welcome:has(.welcome-art[hidden])>div:first-child{padding:4px 0}
  body[data-view=home][data-profile][data-theme][data-font] .welcome h1{font-size:32px;margin:0}
}

.compact-greeting{display:none}
@media(max-width:920px){body[data-view=home] #page-title>[data-profile-copy]{display:none}body[data-view=home] #page-title>.compact-greeting{display:inline}}

/* Account details stay in the same visual space as the library. */
#rincon-account-dialog{width:min(520px,calc(100% - 24px));margin:auto;max-height:90dvh}
#rincon-account-dialog h2{overflow-wrap:anywhere}
#rincon-account-email{overflow-wrap:anywhere;color:var(--muted)}
#rincon-account-dialog>button{display:block;width:100%;margin-top:12px;min-height:48px}
.account-settings-link{display:block;padding:16px 0 0;margin-top:16px;border-top:1px solid var(--line);text-decoration:underline;line-height:1.5}
.account-save-status,.library-save-status{font-size:var(--reading-size,16px);color:var(--muted);line-height:1.6}
.account-save-status{background:var(--style-soft);border-radius:12px;padding:14px}
.book-actions .book-delete{color:#a32f43;text-decoration:underline;text-underline-offset:3px}

.reading-shelf select,.reading-shelf input{width:100%;min-width:0;max-width:100%}
.reading-shelf label{display:block;margin:16px 0}
.reading-period{padding:18px;background:var(--style-soft);border:1px solid var(--line);border-radius:12px;margin-top:18px}
.reading-period p{margin:10px 0;line-height:1.7}
body[data-view] #reading-notices{order:3;margin-top:24px}
body[data-view]:not([data-view=home]):not([data-view=clubs]) #reading-notices{display:none}
.reading-notices article{padding:22px;background:var(--style-panel);border:1px solid var(--line);border-radius:16px;margin-bottom:16px}
.reading-notices h3{font-size:28px;overflow-wrap:anywhere}
.reading-notices button{min-height:48px;margin:6px 8px 6px 0}
@media(max-width:620px){.reading-shelf{padding:18px!important}.reading-notices button{width:100%}}

/* Coloured pictograms echo the London notebook; type stays calm and readable. */
body[data-profile=falsum][data-theme] :is(.hand-note,.timer-footer){font-family:var(--sans);font-size:var(--reading-size);font-weight:400;font-style:normal;letter-spacing:0}
body[data-profile=falsum][data-theme] .brand{letter-spacing:-.02em;line-height:1.25}
body[data-profile=falsum][data-theme] .nav-button{gap:12px}
body[data-profile=falsum][data-theme] .nav-button img{flex-shrink:0}
body[data-profile=falsum][data-theme] .stats>div>img{width:34px;height:34px}
body[data-profile=falsum][data-theme] .timer-intro img{width:36px;height:36px}
body[data-profile=falsum][data-theme] :is(.welcome h1,.section-heading h2,.book-card h3){text-wrap:balance}
@media(max-width:920px){body[data-profile=falsum][data-theme] .nav-button{gap:4px}body[data-profile=falsum][data-theme] .nav-button img{width:28px;height:28px}}

/* FALSUM local art direction: warm paper, wine red and quiet typography. */
body[data-profile=falsum][data-theme=falsum]{--paper:#f5eddf;--surface:#fffaf1;--ink:#3e2d24;--muted:#705c4c;--line:#d7c5af;--style-soft:#ecdfcb;--style-panel:#f0e3cf;--style-side:#ebddc8;--style-accent:#793e35;--style-title:#3e2d24;--style-secondary:#793e35;--green:#793e35}
body[data-profile=falsum][data-theme][data-font=editorial]{--sans:RinconEditorial,Arial,sans-serif;--serif:RinconEditorial,Arial,sans-serif;font-family:var(--sans)}
body[data-profile=falsum][data-theme][data-font=editorial] :is(h1,h2,h3,.brand,.mobile-brand){font-weight:500;letter-spacing:-.035em;line-height:1.2}
body[data-profile=falsum][data-theme][data-font=editorial] .welcome h1{font-size:clamp(32px,3vw,44px);line-height:1.2}
body[data-profile=falsum][data-theme] .eyebrow{font-size:var(--reading-size);letter-spacing:.04em;font-weight:500}
body[data-profile=falsum][data-theme=falsum] :is(.sidebar,.topbar){background:#efe3d0}
body[data-profile=falsum][data-theme=falsum] .topbar{border-bottom:1px solid var(--line)}
body[data-profile=falsum][data-theme] .topbar-label{letter-spacing:0;text-transform:none}
body[data-profile=falsum][data-theme] .brand>span{font-size:26px!important;font-weight:500}
body[data-profile=falsum][data-theme] .brand small{letter-spacing:0;font-weight:400;text-transform:lowercase;margin-top:6px}
body[data-profile=falsum][data-theme] .sidebar .brand img{width:30px;height:34px}
body[data-profile=falsum][data-theme] .nav-button{padding:14px 12px;gap:14px;border-radius:0}
body[data-profile=falsum][data-theme] .nav-button.active{background:transparent;box-shadow:inset 2px 0 var(--style-accent);font-weight:650}
body[data-profile=falsum][data-theme] .nav-button img{width:24px;height:24px}
body[data-profile=falsum][data-theme] .sidebar-bottom p{font-family:var(--sans);font-size:18px;font-weight:400;line-height:1.7}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden]){background:none;border:0;border-radius:0}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden])>div:first-child{padding:8px 0 28px}
body[data-profile=falsum][data-theme] #page-title :is(br,em){display:none}
body[data-profile=falsum][data-theme] .welcome:has(.welcome-art[hidden]) h1{margin-bottom:14px}
body[data-profile=falsum][data-theme] .welcome-date{margin-bottom:18px}
body[data-profile=falsum][data-theme] .welcome-date img{width:24px;height:28px}
body[data-profile=falsum][data-theme] .profile-art{background:#efe0c7;color:#663a2e;font-family:RinconEditorial,Arial,sans-serif;font-weight:500}
body[data-profile=falsum][data-theme] #timer-panel{border:0;border-radius:8px;padding:30px;background:#713d36;color:#fff4df;box-shadow:0 8px 24px #59331b0b}
body[data-profile=falsum][data-theme] #timer-panel :is(h2,label,.eyebrow,.text-button,.timer-hint,.timer-footer,.timer-dial-label,.timer-dial-units){color:#f5e4cd}
body[data-profile=falsum][data-theme] #timer-panel h2{font-size:34px;font-weight:500;margin:16px 0 12px}
body[data-profile=falsum][data-theme] #timer-panel>p{color:#f5e4cd}
body[data-profile=falsum][data-theme] #timer-panel select{color:#3e2d24;background-color:#fcf5e8;border:1px solid #dec6a9;border-radius:4px;min-height:50px}
body[data-profile=falsum][data-theme] #timer-panel .timer-intro img{width:28px;height:28px;filter:none}
body[data-profile=falsum][data-theme] #timer-panel .timer-dial{background:transparent;border:0;border-block:1px solid #a57669;border-radius:0;min-height:0;margin:24px 0 18px;padding:24px 0}
body[data-profile=falsum][data-theme] #timer-panel #timer-clock{font-family:var(--sans);color:#fff5e3;font-size:clamp(46px,4.5vw,68px);font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1.3}
body[data-profile=falsum][data-theme] #timer-panel .timer-dial-label{display:none}
body[data-profile=falsum][data-theme] #timer-panel #timer-toggle{background:#f4e3c7;color:#522d27;border:1px solid #f4e3c7;border-radius:4px;box-shadow:none;min-height:50px;font-weight:650}
body[data-profile=falsum][data-theme] #timer-panel #timer-toggle:disabled{opacity:.65}
body[data-profile=falsum][data-theme] #timer-panel .timer-actions{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:12px}
body[data-profile=falsum][data-theme] #timer-panel .timer-actions button{color:#fff1db;min-height:46px}
body[data-profile=falsum][data-theme] #timer-panel #timer-finish{background:transparent;border:1px solid #b38a7d;border-radius:4px}
body[data-profile=falsum][data-theme] #timer-panel :is(.timer-footer,.timer-reminder-settings){border-color:#a57669}
body[data-profile=falsum][data-theme] #timer-panel .timer-footer{display:none}
body[data-profile=falsum][data-theme] #timer-panel .timer-reminder-settings :is(button,a){background:none;border:0;color:#fff1db;text-decoration:underline;text-underline-offset:4px;padding:8px 0}
body[data-profile=falsum][data-theme] #timer-panel #reminder-status{color:#f3dfc5;font-size:var(--reading-size);line-height:1.5}
body[data-profile=falsum][data-theme] #timer-panel .hour-reminder{background:#fff5e3;color:#3e2d24}
body[data-profile=falsum][data-theme] #timer-panel .hour-reminder .primary{color:#fff5e3;background:#713d36}
body[data-profile=falsum][data-theme] :is(.book-card,.favorite-book,.club-card,.club-section){background:#fcf5e8;border-color:#d7c5af;border-radius:6px}
body[data-profile=falsum][data-theme] .book-card:nth-child(2n){background:#fcf5e8}
body[data-profile=falsum][data-theme] .section-heading h2{font-size:28px}
body[data-profile=falsum][data-theme] .favorites-button{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding-inline:0}
body[data-profile=falsum][data-theme] :is(.account-save-status,.reading-period,.reading-notices article){background:#e9dbc7;border-radius:6px}
@media(max-width:920px){
 body[data-profile=falsum][data-theme] .sidebar{background:#efe3d0;border-top:1px solid #d7c5af}
 body[data-profile=falsum][data-theme] .nav-button{padding:8px 2px;gap:5px}
 body[data-profile=falsum][data-theme] .nav-button.active{background:transparent;box-shadow:inset 0 2px var(--style-accent)}
 body[data-profile=falsum][data-theme] .nav-button img{width:23px;height:23px}
 body[data-profile=falsum][data-view=home][data-theme] #timer-panel{padding:24px 20px}
 body[data-profile=falsum][data-view=home][data-theme] #timer-panel h2{font-size:30px;margin:12px 0 22px}
 body[data-profile=falsum][data-view=home][data-theme] #timer-panel .timer-dial{padding:18px 0;margin:22px 0 12px}
 body[data-profile=falsum][data-view=home][data-theme] #timer-panel #timer-clock{font-size:clamp(40px,12vw,56px)}
 body[data-profile=falsum][data-view=home][data-theme] #timer-panel .timer-reminder-settings{margin-top:18px;padding-top:12px}
 body[data-profile=falsum][data-view=home][data-theme] .welcome:has(.welcome-art[hidden])>div:first-child{padding:6px 0 12px}
 body[data-profile=falsum][data-theme] .topbar{padding:14px 16px}
 body[data-profile=falsum][data-theme] #discover{margin-top:32px}
}

/* Home is a welcome image and a shortcut; the stopwatch has its own view. */
body[data-view=home] main{display:flex;flex-direction:column}
body[data-view] .home-actions{order:1;display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:24px 0 6px}
.home-timer-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:14px 24px;font-size:var(--reading-size,16px)}
.home-timer-button img{width:24px;height:24px;filter:none}
.home-timer-button>span{margin-left:16px}
body[data-view] .timer-back{order:1;align-self:flex-start;padding:12px 0;margin-bottom:8px;font-size:var(--reading-size,16px)}
body[data-view=timer] .content-grid{margin:0;width:100%}
body[data-view=timer] .welcome{margin-bottom:0}
body[data-view=timer] #timer-panel{max-width:680px;margin:0 auto;width:100%}
body[data-view=home][data-profile=falsum][data-theme] .welcome{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);background:#e9dac3;border:0;border-radius:8px;overflow:hidden;align-items:center}
body[data-view=home][data-profile=falsum][data-theme] .welcome>div:first-child{padding:32px;min-width:0}
body[data-view=home][data-profile=falsum][data-theme] .welcome-art{display:block;width:100%;height:340px;min-height:0;object-fit:cover;object-position:50% 60%;border-radius:0}
body[data-view=home][data-profile=falsum][data-theme] #discover{margin-top:32px;padding:0;width:100%}
body[data-profile=falsum][data-theme] #timer-back{color:var(--ink)}
body[data-profile=falsum][data-theme] .home-timer-button{border-radius:4px;background:#793e35;color:#fff6e6}
body[data-view=timer] #timer-panel .timer-hint{margin:12px 0}
body[data-view=timer] .welcome-art{display:none!important}
@media(max-width:920px){
 body[data-view=home][data-profile=falsum][data-theme] .welcome{display:flex;flex-direction:column;align-items:stretch;background:transparent;border:0}
 body[data-view=home][data-profile=falsum][data-theme] .welcome>div:first-child{padding:8px 0 18px}
 body[data-view=home][data-profile=falsum][data-theme] .welcome-art{height:240px;object-position:center 58%;border-radius:6px}
 body[data-view=home] .welcome .welcome-art:not([hidden]){display:block}
 body[data-view=home] .home-actions{gap:16px;margin-top:20px}
 .home-timer-button{flex:1}
 body[data-view=timer][data-profile=falsum][data-theme] #timer-panel{padding:24px 20px}
 body[data-view=timer][data-profile=falsum][data-theme] #timer-panel #timer-clock{font-size:clamp(40px,12vw,56px)}
 body[data-view=timer][data-profile=falsum][data-theme] #timer-panel h2{font-size:30px}
}
@media(max-width:420px){body[data-view=home] .home-actions{display:grid;grid-template-columns:1fr;width:100%;gap:8px}body[data-view=home] .home-actions>.text-button{padding:12px}}
