:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24342f;background:#f7f8f7;font-synthesis:none;--green:#176354;--muted:#62716b;--line:#dbe3de;--soft:#e9f1ed;--rose:#a24b61;--blue:#406a96}*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;padding:10px 15px;background:transparent;color:inherit;cursor:pointer;font-weight:550}button:hover{background:#e7eeea}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b76817;outline-offset:3px}button svg{flex-shrink:0}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#0e5042}.secondary{background:white;border-color:#bccdc4}.danger{color:#a02d3c;border-color:#d6b9bd}.danger:hover{background:#fbeaec}.icon-button{width:44px;height:44px;padding:10px;flex-shrink:0}.text-button{color:var(--green);padding-left:4px;padding-right:4px}.compact{white-space:nowrap}.inline,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.actions{margin:24px 0}p{line-height:1.6;margin:8px 0}h1,h2,h3{line-height:1.25;overflow-wrap:anywhere}h1{font-family:Georgia,"Times New Roman",serif;font-size:38px;font-weight:500;margin:0}h2{font-size:19px;font-weight:650;margin:0}h3{font-size:17px;margin:12px 0}small,.muted{color:var(--muted)}.muted{font-size:14px}.eyebrow{font-size:12px;text-transform:uppercase;font-weight:650;color:var(--muted);margin:0 0 12px;letter-spacing:0}.skip{position:fixed;top:-100px;background:white;padding:16px;z-index:10}.skip:focus{top:0}#header{height:82px;position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:16px}.brand{font-family:Georgia,"Times New Roman",serif;font-size:21px;padding-left:0;font-weight:500;text-align:left}.brand svg{width:29px;height:29px;color:var(--green)}.header-tools{display:flex;align-items:center;gap:16px}.private-label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}#navigation{position:fixed;left:0;top:82px;bottom:0;width:204px;padding:32px 18px;border-right:1px solid var(--line);background:white;z-index:4;display:flex;flex-direction:column;gap:7px}.nav-item{justify-content:flex-start;gap:12px;padding:13px 15px;color:#66746f}.nav-item.active{color:var(--green);background:var(--soft)}.nav-count{font-size:11px;margin-left:auto;background:#d2e4dc;border-radius:20px;padding:1px 6px}main{max-width:1380px;margin-left:204px;padding:44px 48px 80px;min-height:calc(100vh - 82px)}main:focus{outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading>div{min-width:0}.page-heading>button{flex-shrink:0}.section{padding:0;margin:32px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:16px}.notice{display:flex;align-items:center;gap:16px;padding:18px 20px;background:#eaf1ed;border-left:3px solid #54816d;border-radius:0;margin-bottom:24px;font-size:13px}.notice>svg{flex-shrink:0}.notice>div{flex:1}.notice p{margin:3px 0 0}.notice button{flex-shrink:0}.reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reading-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:22px;background:white;border:1px solid var(--line);border-radius:8px;align-items:start}.reading-card>button{grid-column:2;justify-self:start}.book-row{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.book-row:first-child{border-top:1px solid var(--line)}.book-info{flex:1;min-width:0}.book-mark{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:center;flex-shrink:0;width:48px;height:67px;padding:10px 6px 6px;border-radius:2px 4px 4px 2px;border-left:4px solid #0002;font-family:Georgia,serif;font-size:19px;box-shadow:2px 3px 0 #26392e0b}.book-mark svg{width:17px;height:17px}.book-mark.green{background:#d2e6da;color:#1c6146}.book-mark.rose{background:#f1dce1;color:#8b3d55}.book-mark.blue{background:#dce6ef;color:#305a83}.book-mark.gold{background:#ede7c9;color:#746322}.title-button{font-size:16px;text-align:left;justify-content:flex-start;min-height:0;padding:0;border:0;display:block;line-height:1.4;overflow-wrap:anywhere}.title-button:hover{background:transparent;text-decoration:underline}.author{font-size:13px;color:var(--muted);margin:3px 0}.position{font-size:13px;color:#55665e;margin:8px 0}.badge{font-size:11px;font-weight:600;padding:5px 8px;border-radius:4px;display:inline-block;background:#edf0ed;color:#51625a;text-transform:capitalize;white-space:nowrap}.badge.reading,.badge.completed{color:#166046;background:#e0eee5}.badge.partial{color:#846006;background:#f8eed1}.badge.missed{color:#92374c;background:#f9e5eb}.badge.finished{color:#3b6088;background:#e6edf4}.goal-line{display:flex;align-items:center;gap:12px;font-size:12px;margin-top:15px}.progress-line{display:flex;align-items:center;gap:10px;max-width:320px;margin-top:9px;font-size:11px;color:var(--muted)}progress{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:4px;background:#e3eae5;overflow:hidden}progress::-webkit-progress-bar{background:#e3eae5}progress::-webkit-progress-value{background:#548d75}progress::-moz-progress-bar{background:#548d75}.empty{text-align:center;padding:40px 20px;border-block:1px solid var(--line);background:#f0f4f1}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;color:var(--green);margin-bottom:5px}.empty-icon svg{width:44px;height:44px;stroke-width:1.2}.empty h3{font-family:Georgia,serif;font-size:23px;font-weight:500}.empty button{margin-top:12px}.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:40px}.home-bottom section{border-top:1px solid var(--line);padding-top:20px}.streak-summary{display:flex;gap:15px;align-items:center;min-height:80px}.streak-summary>svg{color:#ad6b2f;width:32px;height:32px}.streak-summary>strong,.practice-summary strong{font-family:Georgia,serif;font-weight:500;font-size:42px}.streak-summary p{margin:0}.streak-summary span,.practice-summary span{font-size:14px}.practice-summary{display:flex;align-items:center;gap:24px;justify-content:space-between}.search-field{display:flex;align-items:center;gap:12px;max-width:480px;border:1px solid #becbc3;border-radius:6px;padding:0 12px;background:white}.search-field input{border:none;width:100%;background:transparent;min-height:46px}.filters{display:flex;gap:5px;flex-wrap:wrap;margin:24px 0}.filters button{font-size:13px}.filters .selected{background:#dcebe2;color:#194f3d}.book-overview{display:flex;align-items:center;gap:28px;padding:28px 0;border-block:1px solid var(--line)}.book-overview .book-mark{width:92px;height:128px;font-size:34px;padding:20px 10px 10px}.book-overview .book-mark svg{width:28px;height:28px}.book-overview>div:last-child{flex:1}.book-overview h2{margin:14px 0}.book-overview progress{max-width:440px}.schedule-summary{display:flex;align-items:center;gap:24px}.quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.quote-item{border:1px solid var(--line);background:#fff;padding:24px;border-radius:8px}.quote-item blockquote{font-family:Georgia,serif;font-size:20px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 20px}.quote-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.quote-actions{display:flex;justify-content:flex-end;margin-top:10px}.history-row,.day-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.history-row>div:first-child,.day-row>div{min-width:0;overflow-wrap:anywhere}.history-row p{margin:2px 0}.history-row strong{font-size:13px}.danger-zone{border-top:1px solid var(--line);margin-top:44px;padding-top:25px}.practice-toolbar{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--muted);margin:36px 0 22px}.practice-stage{text-align:center;border-block:1px solid var(--line);padding:40px 28px;min-height:460px}.practice-source>svg{color:var(--green);width:28px;height:28px;margin-bottom:12px}.practice-source h2{font-size:17px}.recall-space{min-height:225px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--muted)}.recall-space svg{width:48px;height:48px;stroke-width:1}.practice-stage blockquote{font-family:Georgia,serif;font-size:28px;line-height:1.65;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;max-width:760px;margin:36px auto}.ratings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:680px;margin:32px auto 0}.rating{border:1px solid var(--line);background:white;min-height:72px}.rating strong,.rating small{display:block}.rating small{font-size:11px;font-weight:400;margin-top:4px}.rating.again{border-bottom:3px solid #b16576}.rating.hard{border-bottom:3px solid #b59844}.rating.good{border-bottom:3px solid #4d8c71}.rating.easy{border-bottom:3px solid #507f9f}.reveal{min-width:180px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.weekday{text-align:center;padding:10px 0;font-size:12px;color:var(--muted)}.calendar-day{height:92px;min-width:0;align-items:flex-start;justify-content:flex-start;flex-direction:column;border:1px solid var(--line);background:white;padding:12px;gap:9px}.calendar-day.selected{border:2px solid var(--green);padding:11px;background:#e9f2ec}.calendar-day.today>span{font-weight:800;text-decoration:underline;text-underline-offset:4px}.day-markers{display:flex;gap:3px;flex-wrap:wrap}.marker{display:inline-flex;justify-content:center;align-items:center;min-width:14px;height:16px;border-radius:2px;background:#e9eded;color:#53635c;font-size:9px;font-weight:650}.marker.completed{background:#d6ebdf;color:#145034}.marker.partial{background:#f6e9c0;color:#72570b}.marker.missed{background:#f1dce2;color:#893148}.marker.reading-logged{background:#dce7f3;color:#315d90}.legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:18px}.legend>span{display:flex;align-items:center;gap:6px;font-size:11px;text-transform:capitalize;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}.stat{padding:28px 16px 28px 0;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--line)}.stat strong{font-family:Georgia,serif;font-size:38px;font-weight:500;color:var(--green)}.stat span{font-size:13px;color:var(--muted)}.help-list details{border-bottom:1px solid var(--line);padding:8px 0}.help-list p{max-width:850px;font-size:14px}.help-list summary{font-size:15px}dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 100px #102b2530;background:white;color:inherit}dialog::backdrop{background:#172d2966;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialog-body{padding:22px}.dialog-body>h3{margin-top:0}.dialog-body>button{margin-top:12px}.form-fields{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550;min-width:0}.field input,.field textarea,.field select,select{width:100%;min-height:44px;border:1px solid #b7c7be;border-radius:5px;background:white;color:inherit;padding:10px 11px;min-width:0}.field textarea{resize:vertical}.field input:disabled{background:#f0f2f0;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-error{color:#a22b3e;font-size:14px}.form-error:empty{display:none}summary{min-height:44px;cursor:pointer;padding:12px 0;color:var(--green);font-size:13px;font-weight:600}details>.form-fields{padding-top:14px}.checkbox{display:flex;gap:12px;align-items:center;font-size:13px;min-height:44px;line-height:1.5}.checkbox input{width:19px;height:19px;flex-shrink:0;accent-color:var(--green)}fieldset{border:0;padding:0;margin:0}legend{font-size:13px;margin-bottom:10px;font-weight:550}.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekdays label{position:relative;cursor:pointer}.weekdays input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.weekdays span{display:flex;align-items:center;justify-content:center;height:44px;border:1px solid var(--line);border-radius:5px;font-size:12px}.weekdays input:checked+span{color:white;background:var(--green)}.weekdays input:focus-visible+span{outline:3px solid #b76817;outline-offset:2px}.schedule-preview{font-size:14px;background:var(--soft);padding:12px 16px;border-radius:4px}.section-heading select{width:auto;max-width:160px;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(130px);max-width:min(640px,calc(100% - 32px));background:#213c31;color:white;border-radius:6px;padding:14px 20px;z-index:20;font-size:14px;box-shadow:0 6px 30px #0002;transition:transform .2s}#toast.show{transform:translateX(-50%)}.update-notice{position:fixed;bottom:24px;right:24px;background:white;border:1px solid var(--line);padding:12px 16px;z-index:7;display:flex;gap:16px;align-items:center;box-shadow:0 4px 20px #0002}.offline{background:#e5eaf1;color:#3e607b}
@media(min-width:1600px){main{margin-inline:auto;padding-left:252px;max-width:1500px}}
@media(max-width:1100px){main{padding:32px 28px 70px;margin-left:172px}#navigation{width:172px;padding:24px 12px}.reading-grid{grid-template-columns:1fr}.home-bottom{gap:24px}.practice-summary{align-items:flex-start;flex-direction:column;gap:8px}.quotes{grid-template-columns:1fr}h1{font-size:34px}}
@media(max-width:760px){#header{height:66px;padding:0 18px}.brand{font-size:18px;gap:9px}.brand svg{width:24px;height:24px}.private-label{display:none}.header-tools{gap:4px}#navigation{inset:auto 0 0 0;width:100%;height:calc(70px + env(safe-area-inset-bottom));padding:5px 6px env(safe-area-inset-bottom);border-top:1px solid var(--line);border-right:0;flex-direction:row;gap:0;justify-content:space-around}.nav-item{position:relative;flex:1;min-width:0;flex-direction:column;gap:4px;padding:8px 3px;font-size:10px;border-radius:0}.nav-item.active{background:transparent}.nav-item.active:before{content:'';position:absolute;top:-5px;height:2px;background:var(--green);width:32px}.nav-count{position:absolute;top:1px;left:55%;font-size:9px}main{margin:0;padding:30px 20px 110px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:26px}h1{font-size:30px}.eyebrow{font-size:10px;margin-bottom:10px}.page-heading>.primary{padding:9px 13px;font-size:13px}.section{margin-top:27px}.section-heading{margin-bottom:10px}.section-heading h2{font-size:17px}.section-heading button{font-size:12px}.notice{padding:14px 12px;gap:10px;font-size:12px;align-items:flex-start}.notice>svg{display:none}.notice>.icon-button{width:32px;min-width:32px;padding:5px}.notice:has(>button:not(.icon-button)){flex-wrap:wrap}.reading-card{padding:18px;gap:14px}.book-row{gap:14px;padding:19px 0}.book-row>.badge{font-size:9px;padding:5px}.book-mark{width:40px;height:58px;font-size:16px}.title-button{font-size:15px}.author,.position{font-size:12px}.home-bottom{grid-template-columns:1fr;gap:0}.home-bottom section{margin-top:27px;padding-top:14px}.practice-summary{flex-direction:row;align-items:center}.practice-summary strong{font-size:36px}.search-field{max-width:100%}.filters{gap:0;margin:18px 0}.filters button{font-size:11px;padding:8px 9px}.book-overview{gap:18px}.book-overview .book-mark{width:66px;height:96px;font-size:25px}.book-overview h2{font-size:17px}.book-overview p{font-size:12px}.schedule-summary{gap:12px;align-items:flex-start;flex-direction:column}.schedule-summary p{margin:0}.quote-item{padding:20px}.quote-item blockquote{font-size:19px}.practice-stage{padding:30px 0;min-height:420px}.practice-stage blockquote{font-size:23px}.ratings{gap:6px}.rating{padding:10px 4px;font-size:13px}.rating small{font-size:10px}.calendar-toolbar{gap:10px}.calendar-toolbar h2{font-size:17px}.calendar-toolbar .inline{gap:0;flex-wrap:nowrap}.calendar-day{height:72px;padding:7px;gap:8px;font-size:13px}.calendar-day.selected{padding:6px}.calendar-grid{gap:3px}.day-markers{gap:2px}.marker{min-width:10px;height:12px;font-size:8px}.weekday{font-size:10px}.legend{gap:10px}.legend>span{font-size:10px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{font-size:33px}.stat span{font-size:12px}.history-row .inline{gap:0}.dialog-body{padding:18px}.dialog-heading{padding:12px 18px}.weekdays{gap:4px}.weekdays span{font-size:10px}.form-grid{gap:12px}#toast{bottom:84px;width:calc(100% - 32px)}.update-notice{bottom:85px;right:12px;left:12px;font-size:12px}.empty{padding:30px 15px}.day-row{font-size:13px}}
.title-button{min-height:44px;display:flex;align-items:center}
.skip{top:0;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{width:auto;height:auto;padding:16px;clip-path:none}
.weekdays{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

:root { --green:#a33f1d; --accent-fill:var(--green); --accent-2:#427656; --muted:#626b78; --line:#e8e5de; --soft:#f4f1e9; --page:#faf9f6; --paper:#fcfbf8; --ink:#26303b; --display-font:Georgia,'Times New Roman',serif; --ui-font:system-ui,-apple-system,'Segoe UI',sans-serif; --ui-step:0px; --quote-step:0px; color:var(--ink); background:var(--page); font-family:var(--ui-font); }
[data-palette='forest'] { --green:#256044; --accent-2:#95551f; --soft:#eef3ed; --page:#f8faf7; --paper:#fff; --ink:#24332c; --line:#dce6dd; }
[data-palette='ocean'] { --green:#23627a; --accent-2:#b05c48; --soft:#edf4f6; --page:#f7fafb; --paper:#fff; --ink:#25353d; --line:#d9e6ea; }
[data-palette='plum'] { --green:#744564; --accent-2:#3f7669; --soft:#f4eff3; --page:#fbf8fa; --paper:#fff; --ink:#352d34; --line:#e8dce5; }
[data-palette='ink'] { --green:#303840; --accent-2:#a85335; --soft:#f0f1f2; --page:#f8f8f7; --paper:#fff; --ink:#20262b; --line:#dfe1e3; }
[data-palette='sunshine'] { --green:#1756b5; --accent-2:#8f5f00; --soft:#fff5bf; --page:#fffdf4; --paper:#fff; --ink:#243046; --line:#e8dfb7; }
[data-palette='coral'] { --green:#bd3151; --accent-2:#007175; --soft:#ffe5e9; --page:#fff8f8; --paper:#fff; --ink:#3b2930; --line:#efd9dd; }
[data-palette='aurora'] { --green:#5b21b6; --accent-fill:linear-gradient(135deg,#5b21b6,#0a6862); --accent-2:#0a6862; --soft:#eee9ff; --page:#fbfaff; --paper:#fff; --ink:#312b42; --line:#e3dcf3; }
[data-palette='sunset'] { --green:#96302f; --accent-fill:linear-gradient(135deg,#b83225,#71328d); --accent-2:#71328d; --soft:#ffede4; --page:#fff9f5; --paper:#fff; --ink:#3c2c34; --line:#eeddd5; }
[data-palette='nocturne'] { --green:#26b7b4; --accent-fill:linear-gradient(135deg,#066f75,#5c43c4); --accent-2:#b9a5ff; --soft:#242738; --page:#151720; --paper:#1d202b; --ink:#f2f3f7; --muted:#bfc3cf; --line:#3d4252; color-scheme:dark; }
[data-font='classic'] { --display-font:Palatino Linotype,Book Antiqua,Palatino,serif; --ui-font:'Trebuchet MS',Arial,sans-serif; }
[data-font='modern'] { --display-font:'Segoe UI',Arial,sans-serif; --ui-font:'Segoe UI',Arial,sans-serif; }
[data-font='bookish'] { --display-font:Cambria,Constantia,Georgia,serif; --ui-font:Verdana,Arial,sans-serif; }
[data-interface-size='compact'] { --ui-step:-1px; }
[data-interface-size='large'] { --ui-step:2px; }
[data-quotation-size='compact'] { --quote-step:-2px; }
[data-quotation-size='large'] { --quote-step:4px; }
body { background:#faf9f6; }
button { transition:background .15s,box-shadow .15s,transform .15s; font-weight:600; }
button:active:not(:disabled) { transform:translateY(1px); }
.primary { background:#a33f1d; border-color:#a33f1d; color:#fff; }
.primary:hover { background:#893218; box-shadow:0 3px 8px #8c43141a; }
.secondary { background:#f6f3ed; border-color:#ebe6dc; color:#3c4650; }
.secondary:hover { background:#eee8dc; }
.text-button { color:#973b1e; font-size:12px; }
.muted { color:#727988; font-size:12px; }
#header { height:76px; background:#fcfbf8; color:#25323a; border-bottom:1px solid #e7e2d8; padding:0 max(24px,calc((100% - 1056px)/2)); }
.brand { font-family:Georgia,serif; font-size:20px; font-weight:400; text-align:left; gap:10px; }
.brand > svg { width:24px; height:24px; padding:3px; background:#eeeae0; color:#757b70; border-radius:4px; }
.brand strong { display:block; font-weight:500; line-height:1.3; }
.brand small { display:block; color:#427656; font:600 9px/1.7 system-ui,sans-serif; }
.header-tools { gap:4px; }
.header-tools .icon-button { color:#7b8290; }
.header-tools .icon-button:last-child { color:white; background:#a33f1d; width:38px; height:38px; min-height:38px; border-radius:50%; margin-left:4px; }
.header-tools .icon-button:last-child svg { width:17px; height:17px; }
#navigation { position:fixed; inset:auto 0 0; flex-direction:row; justify-content:center; width:100%; height:calc(76px + env(safe-area-inset-bottom)); padding:6px 20px env(safe-area-inset-bottom); gap:24px; background:#fcfbf8f5; border:0; border-top:1px solid #e8e3d9; backdrop-filter:blur(14px); }
.nav-item { position:relative; justify-content:center; flex-direction:column; gap:4px; width:100px; color:#747d8a; font-size:10px; padding:6px 8px; border-radius:0; }
.nav-item.active { background:transparent; color:#a33f1d; }
.nav-item.active::before,.nav-item.active::after { display:none; }
.nav-item:hover { background:#f5f0e7; }
.nav-item svg { width:20px; height:20px; }
.nav-count { position:absolute; left:55%; top:-1px; margin:0; padding:0 5px; font-size:8px; color:white; background:#b64c25; border-radius:5px; }
main,main[data-view] { width:min(1056px,100%); max-width:1056px; min-height:calc(100vh - 76px); margin:0 auto; padding:28px 24px 116px; overflow-anchor:none; }
h1,h2,h3 { color:#23323a; }
h1 { font:500 28px/1.3 Georgia,serif; }
h2 { font:500 21px/1.35 Georgia,serif; }
h3 { font:500 19px/1.4 Georgia,serif; }
.page-heading { gap:12px; margin:0 0 8px; min-height:44px; }
.page-heading > div { min-width:0; }
.page-heading > button { font-size:12px; }
.page-title-row { display:flex; align-items:center; gap:2px; }
.page-title-row h1 { min-width:0; }
.eyebrow { font-size:10px; color:#77808c; text-transform:uppercase; margin-bottom:8px; }
.welcome-copy { color:#778090; font-size:13px; line-height:1.7; margin:0 0 23px; }
.date-bar { display:flex; align-items:center; justify-content:space-between; margin:0 0 7px; }
.badge { background:#f3f0e9; border-radius:4px; color:#656d76; font-size:10px; font-weight:500; padding:4px 7px; }
.date-chip { text-transform:uppercase; font-size:10px; }
.streak-button { padding:5px 10px; min-height:36px; background:#f5f1e8; color:#5b6270; font-size:10px; }
.streak-button svg { color:#c76626; width:16px; }
.home-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:12px; }
.home-intro { min-width:0; }
.home-intro .date-chip { margin-bottom:12px; }
.home-heading .streak-button { flex-shrink:0; min-height:44px; white-space:nowrap; font-size:12px; padding:8px 12px; }
@media(max-width:480px) {
  .home-heading { flex-direction:column; align-items:flex-start; gap:12px; }
  .home-heading .streak-button { margin:0; }
}
.notice { padding:12px 14px; background:#f4f1e9; border:0; border-radius:5px; font-size:11px; margin:16px 0; gap:10px; }
.notice p { font-size:11px; }
.notice>svg { width:19px; color:#568263; }
.section { margin:24px 0 0; padding:0; }
.section-heading { margin:0 0 10px; min-height:34px; gap:8px; }
.section-heading h2 { font-size:19px; font-weight:500; text-transform:none; color:#29333d; }
.section-heading .text-button { font-size:11px; min-height:34px; }
.section-tools,.stats-period-title,.rating-tools { display:flex; align-items:center; gap:6px; }
.section-tools { justify-content:flex-end; min-width:0; }
.section-heading>.info-disclosure { margin:-1px auto 0 -4px; }
.info-disclosure { position:relative; flex:0 0 auto; }
.info-disclosure>summary { display:flex; align-items:center; justify-content:center; width:24px; height:24px; min-height:24px; padding:3px; color:var(--muted); background:transparent; border:0; border-radius:3px; cursor:pointer; list-style:none; }
.info-disclosure>summary::-webkit-details-marker { display:none; }
.info-disclosure>summary:hover,.info-disclosure>summary:focus-visible { color:var(--accent); background:var(--soft); outline:0; box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent); }
.info-disclosure>summary svg { width:15px; height:15px; }
.info-popover { display:none; position:absolute; z-index:40; right:0; top:calc(100% + 7px); width:min(300px,calc(100vw - 32px)); padding:14px 15px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:7px; box-shadow:0 12px 32px #17231e26; text-align:left; font-size:12px; line-height:1.55; text-transform:none; }
.info-disclosure[open]>.info-popover { display:block; }
.info-popover strong { display:block; margin-bottom:7px; color:var(--ink); font:500 15px/1.35 var(--display-font); }
.info-popover p { margin:7px 0 0; color:var(--muted); }
.page-title-row>.info-disclosure>.info-popover,.section-heading>.info-disclosure>.info-popover,.stats-period-title>.info-disclosure>.info-popover { left:0; right:auto; }
@media(hover:hover) {
  .info-disclosure:not([open]):hover>.info-popover,.info-disclosure:not([open]):focus-within>.info-popover { display:block; }
}
.small-muted { font-size:10px; color:#858996; }
.source-label { text-transform:uppercase; font-size:9px; padding:3px 6px; background:#f3f0e9; }
.reading-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.reading-card.goal-card { display:flex; flex-direction:column; gap:12px; padding:18px; background:#fff; border:1px solid #efebe3; border-radius:8px; box-shadow:0 1px 2px #352c1703; }
.goal-card-top { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.reading-card.goal-card { align-items:stretch; }
.goal-card-top>div { min-width:0; flex:1; }
.goal-card-top .inline { gap:6px; }
.goal-card-top .title-button { font:500 20px/1.3 Georgia,serif; min-height:38px; text-align:left; }
.goal-card-top .muted { margin:0; font-size:11px; }
.goal-card-top .icon-button { color:#596b72; background:#f5f2eb; border-radius:50%; }
.goal-card .badge.scheduled { background:transparent; font-size:10px; color:#738396; padding-left:0; }
.goal-card.completed { border-top:2px solid #578167; padding-top:17px; }
.goal-position { background:#f8f6f1; padding:12px 11px; display:flex; justify-content:space-between; gap:12px; border-radius:4px; }
.goal-position>div { min-width:0; }
.goal-position>div:last-child { text-align:right; }
.goal-position small { display:block; font-size:9px; color:#7d8692; text-transform:uppercase; margin-bottom:5px; }
.goal-position strong { font-size:12px; font-weight:500; }
.goal-position>div:last-child strong { color:#a13c1b; }
.goal-progress { display:flex; flex-direction:column; gap:5px; }
.goal-progress span { font-size:10px; color:#6d7581; align-self:flex-end; }
progress { height:5px; background:#f1eee7; }
progress::-webkit-progress-bar { background:#f1eee7; }
progress::-webkit-progress-value { background:#ad4321; }
progress::-moz-progress-bar { background:#ad4321; }
.quick-log { display:flex; gap:10px; align-items:center; border-top:1px solid #f1eee8; padding-top:10px; }
.quick-log>.primary { flex:1; font-size:11px; min-height:44px; padding:9px; }
.quick-log>.primary svg { width:16px; }
.stepper { display:flex; gap:0; align-items:center; background:#f5f2eb; border-radius:5px; overflow:hidden; }
.stepper .icon-button { width:38px; padding:9px; min-height:44px; height:44px; }
.stepper .icon-button:last-child { background:#ac421d; color:white; }
.stepper svg { width:14px; height:14px; }
.stepper output { min-width:28px; text-align:center; font-size:12px; }
.recall-banner { background:#f0ede4; padding:17px 18px; margin:20px 0 0; border-left:2px solid #ae4927; }
.mini-label { display:flex; align-items:center; gap:6px; font-size:9px; text-transform:uppercase; color:#ad4321; }
.mini-label svg { width:13px; height:13px; }
.recall-banner h2 { font-size:21px; margin:0 0 9px; }
.recall-banner>.primary { width:100%; font-size:12px; min-height:44px; margin-top:12px; }
.recall-banner .section-heading { min-height:16px; margin-bottom:10px; }
.recall-banner .muted { font-size:11px; }
.recall-tags { display:flex; gap:5px; flex-wrap:wrap; }
.recall-tags .badge { background:#fffcf7; font-size:9px; }
.current-shelf { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.shelf-book { min-width:0; background:#fff; padding:15px; border:1px solid #eeeae1; border-radius:6px; }
.shelf-book>.inline { justify-content:space-between; gap:5px; }
.shelf-book>.inline>strong { font-size:10px; color:#5d6972; }
.shelf-book .source-label { font-size:8px; }
.title-button { min-height:38px; display:flex; align-items:center; font-family:Georgia,serif; font-size:18px; font-weight:500; overflow-wrap:anywhere; }
.title-button:hover { color:#a43e1b; background:none; }
.shelf-book .muted { margin:0 0 12px; font-size:10px; }
.shelf-position { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; font-size:9px; color:#677382; margin-top:7px; }
.shelf-book:nth-child(even) progress::-webkit-progress-value { background:#477258; }
.privacy-footer { text-align:center; padding:30px 0 0; font-size:10px; color:#90949d; }
.privacy-footer>span { display:inline-flex; align-items:center; gap:5px; background:#f2efe7; padding:5px 8px; border-radius:4px; color:#818471; }
.privacy-footer svg { width:13px; height:13px; color:#728268; }
.privacy-footer p { margin-top:8px; font-size:10px; }
.reading-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; margin:22px 0 0; }
.week-day { display:flex; flex-direction:column; padding:6px 0; gap:6px; font-size:9px; font-weight:500; color:#818790; }
.week-dot { display:flex; align-items:center; justify-content:center; width:29px; height:29px; border:1px solid #e6e1d6; border-radius:50%; font-size:10px; }
.week-dot svg { width:16px; height:16px; }
.week-day.read .week-dot { background:#4c795c; color:white; border-color:#4c795c; }
.week-day.today .week-dot { outline:2px solid #d4c8b1; outline-offset:2px; }
.week-browser { margin-top:22px; min-width:0; }
.week-toolbar { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.week-range { font-size:11px; color:#727988; }
.week-toolbar .inline { gap:2px; flex-wrap:nowrap; margin-left:auto; }
.week-toolbar .icon-button { width:44px; height:44px; color:#973b1e; }
.week-toolbar button:disabled { cursor:default; }
.week-viewport { overflow:hidden; padding:4px; }
.week-browser .reading-week { margin:0; touch-action:pan-y; user-select:none; cursor:grab; }
.week-browser .week-day { cursor:grab; }
.week-browser .dragging,.week-browser .dragging .week-day { cursor:grabbing; }
.quote-spotlight { margin:24px 0 0; padding-top:14px; border-top:1px solid var(--line); }
.quote-spotlight h2 { font-size:18px; }
.quote-spotlight blockquote { font:italic 18px/1.6 Georgia,serif; max-height:200px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; margin:8px 0; }
.quote-spotlight .text-button { font-size:11px; }
.search-field { max-width:none; background:#fff; padding:0 12px; border:1px solid #eeeae2; border-radius:6px; }
.search-field svg { width:16px; color:#9196a1; }
.search-field input { min-height:44px; font-size:12px; }
.filters { gap:5px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; margin:12px 0 18px; padding-bottom:4px; }
.filters button { white-space:nowrap; flex-shrink:0; min-height:34px; padding:6px 10px; font-size:10px; background:#f2efe8; color:#858893; border-radius:5px; }
.filters .selected { background:#303333; color:white; }
.library-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.library-book { border:1px solid #eeeae2; border-radius:7px; background:white; padding:16px; min-width:0; }
.library-book-main { display:flex; align-items:flex-start; gap:14px; }
.library-book .book-info { flex:1; min-width:0; }
.library-book .book-info>.inline { justify-content:space-between; gap:5px; }
.library-book .source-label { font-size:8px; }
.library-book .book-info>.inline>.badge { font-size:8px; padding:3px 5px; }
.library-book .title-button { font-size:20px; min-height:34px; line-height:1.3; }
.library-book .muted { font-size:11px; margin:2px 0 9px; }
.position-line { display:flex; align-items:center; justify-content:space-between; gap:7px; font-size:10px; margin-bottom:6px; }
.position-line>strong { color:#ad4321; font-size:10px; font-weight:500; flex-shrink:0; }
.book-mark { position:relative; flex-shrink:0; width:70px; height:100px; padding:12px 9px; border-left:4px solid #0002; border-radius:2px 4px 4px 2px; box-shadow:2px 3px 0 #dbd5c9; overflow:hidden; }
.book-mark:after { content:''; position:absolute; inset:5px; border:1px solid #ffffff45; pointer-events:none; }
.book-mark.green { background:#596c50; color:#f7f1d9; }
.book-mark.rose { background:#906575; color:#fff0de; }
.book-mark.blue { background:#5c7182; color:#fcf5df; }
.book-mark.gold { background:#ac8a54; color:#fff2d2; }
.book-mark.custom-cover { background:var(--book-cover-bg); color:var(--book-cover-ink); }
.cover-letter { font:32px/1 Georgia,serif; }
.cover-letter.wide { font-size:24px; }
.cover-rule { width:18px; border-bottom:1px solid currentColor; }
.real-cover { padding:0; border:0; }
.real-cover:after { display:none; }
.real-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.library-book-actions { display:flex; align-items:center; gap:7px; border-top:1px solid #f1eee8; padding-top:11px; margin-top:12px; }
.library-book-actions button { min-height:42px; padding:7px 9px; font-size:10px; gap:5px; }
.library-book-actions button svg { width:14px; height:14px; }
.book-fact { flex:1; min-width:0; display:flex; align-items:center; gap:5px; font-size:9px; color:#73808b; line-height:1.45; }
.book-fact svg { width:13px; height:13px; flex-shrink:0; }
.storage-summary { display:flex; align-items:center; gap:10px; background:#f1eee6; padding:13px 14px; margin-top:20px; border-radius:5px; }
.storage-summary>svg { width:17px; color:#73836a; }
.storage-summary>div { flex:1; }
.storage-summary strong { font-size:11px; font-weight:500; }
.storage-summary p { margin:2px 0 0; font-size:10px; }
.storage-summary .badge { font-size:9px; color:#54745b; }
.practice-toolbar { margin:16px 0 10px; padding:10px 12px; background:#f1eee6; border-radius:5px; font-size:11px; }
.session-progress { height:4px; margin:0 0 15px; }
.practice-stage { border:1px solid #eeeae2; background:white; border-radius:8px; padding:22px; min-height:0; text-align:left; }
.practice-source { position:relative; padding:0 60px 14px 0; text-align:left; border-bottom:0; }
.practice-source-title { display:flex; align-items:flex-start; gap:7px; }
.practice-source-title>svg { width:17px; height:17px; color:#7c836f; flex-shrink:0; }
.practice-source h2 { font:500 22px/1.4 Georgia,serif; }
.source-cues { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.source-cues .badge { text-transform:none; font-size:10px; background:#f7f3ec; color:#a84727; }
.queue-count { position:absolute; right:0; top:0; color:#818774; background:#f3f0e8; }
.recall-space { align-items:flex-start; min-height:0; background:#f8f6f1; padding:17px 18px; margin:12px 0 16px; border-radius:5px; color:#506072; }
.recall-space>small { display:flex; align-items:center; gap:5px; font-size:10px; text-transform:uppercase; color:#8992a0; }
.recall-space>small>svg { width:13px; height:13px; }
.recall-space p { font:italic 19px/1.6 Georgia,serif; margin:7px 0; }
.recall-space>span { font-size:11px; line-height:1.65; color:#85909d; }
.reveal { width:100%; min-height:48px; font-size:12px; }
.revealed-passage { padding:20px 0 5px; animation:reveal-passage .2s ease-out; }
.revealed-passage>svg { color:#b69c8c; width:23px; }
.practice-stage blockquote { font:500 24px/1.7 Georgia,serif; margin:10px 0 20px; white-space:pre-wrap; overflow-wrap:anywhere; }
.practice-stage blockquote:focus { outline:none; }
.rating-prompt { font-size:12px; color:#7d8390; margin:20px 0 8px; }
.ratings { max-width:none; gap:8px; margin:10px 0 0; }
.rating { min-height:65px; font-size:12px; }
.rating small { font-size:10px; }
.rating.again { background:#fcf2f1; border-color:#eddbd6; border-bottom:3px solid #b06b62; color:#945349; }
.rating.hard { background:#faf6eb; border-color:#eee4c9; border-bottom:3px solid #c0a053; color:#8b722f; }
.rating.good { background:#f0f6ef; border-color:#dce7d7; border-bottom:3px solid #6b986d; color:#517657; }
.rating.easy { background:#eef4f8; border-color:#dae5ec; border-bottom:3px solid #7298af; color:#587687; }
.streak-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:17px; }
.streak-card { padding:20px; background:white; border:1px solid #eeeae2; border-radius:7px; }
.streak-card>.inline { justify-content:space-between; color:#7d8795; font-size:10px; text-transform:uppercase; }
.streak-card>.inline svg { width:18px; color:#db8a34; }
.streak-card>strong { display:block; font:500 30px/1.3 Georgia,serif; color:#a73f1d; margin:12px 0 3px; }
.streak-card>strong>small { font:11px system-ui,sans-serif; color:inherit; }
.streak-card:nth-child(2)>strong { color:#43734f; }
.streak-card .muted { font-size:11px; margin:3px 0 12px; }
.streak-card .badge { font-size:9px; }
.volume-summary { background:white; padding:20px; border-block:1px solid #eeeae2; }
.metric-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.reading-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.metric { display:flex; flex-direction:column; gap:5px; }
.metric-label { font-size:10px; text-transform:uppercase; color:#7c8491; }
.metric>strong { font:500 29px/1.2 Georgia,serif; color:#344457; }
.metric>small { font-size:10px; color:#8f96a1; }
.status-strip { display:flex; background:#f5f1e8; padding:13px; gap:20px; margin-top:20px; border-radius:5px; }
.status-strip>div { display:grid; grid-template-columns:24px 1fr; column-gap:7px; flex:1; }
.status-strip svg { grid-row:1/span 2; width:23px; height:23px; padding:4px; background:#b55732; color:white; border-radius:50%; }
.status-strip>div:nth-child(2) svg { background:#b4dfb5; color:#3c8253; }
.status-strip strong { font-size:12px; font-weight:500; }
.status-strip span { font-size:9px; color:#7a808c; }
.goal-audit { display:flex; align-items:center; gap:32px; background:white; border-block:1px solid #eeeae2; padding:20px; }
.goal-ring { width:140px; height:140px; flex-shrink:0; }
.goal-legend { flex:1; display:flex; flex-direction:column; gap:12px; }
.goal-legend>div { display:flex; align-items:center; gap:7px; font-size:12px; color:#7c8590; }
.goal-legend strong { margin-left:auto; color:#364454; font-size:12px; font-weight:500; }
.stats-empty { display:flex; align-items:flex-start; gap:13px; min-height:120px; padding:24px 20px; background:white; border-block:1px solid #eeeae2; }
.stats-empty>svg { width:22px; color:#a55a37; flex-shrink:0; }
.stats-empty strong { font:500 17px/1.3 Georgia,serif; }
.stats-empty .muted { margin:5px 0 0; font-size:11px; }
.legend-dot { width:7px; height:7px; border-radius:50%; background:#7b8e9f; flex-shrink:0; }
.legend-dot.completed,.mastered .legend-dot { background:#4c7d58; }
.legend-dot.partial,.learning .legend-dot { background:#e2aa42; }
.legend-dot.missed { background:#aa6771; }
.legend-dot.scheduled,.new .legend-dot { background:#7990a4; }
.retention { background:white; padding:18px 20px; border-block:1px solid #eeeae2; }
.retention .section-heading { min-height:0; }
.retention .muted { font-size:11px; }
.stats-period-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:22px 0 16px; padding-top:18px; border-top:1px solid #eeeae2; }
.stats-period-heading strong { font:500 16px/1.3 Georgia,serif; }
.stats-period-title { flex:1; }
.stats-period-heading select { flex:0 0 auto; width:auto; min-width:140px; max-width:180px; }
.tier-bar { display:block; width:100%; height:7px; margin:10px 0 17px; }
.tier-list { display:flex; flex-direction:column; gap:8px; }
.tier-row { display:flex; align-items:center; gap:9px; padding:11px 12px; background:#faf8f3; border-radius:5px; }
.tier-row>div { flex:1; }
.tier-row strong { font-size:12px; font-weight:500; }
.tier-row .muted { margin:2px 0 0; font-size:10px; }
.rating-tools { justify-content:flex-end; margin-top:16px; color:var(--muted); font-size:11px; }
.data-safety { background:#f3f0e7; padding:18px; border-radius:5px; }
.data-safety>.inline { margin-bottom:15px; flex-wrap:nowrap; align-items:flex-start; }
.data-safety>.inline>svg { width:21px; flex-shrink:0; color:#758173; }
.data-safety strong { font-size:12px; }
.data-safety .muted { margin:2px 0; font-size:11px; }
.data-safety>button { width:100%; font-size:12px; margin-top:8px; }
.appearance-panel { padding:20px; background:var(--paper); border-block:1px solid var(--line); }
.palette-field { margin:0 0 20px; border-bottom:1px solid var(--line); }
.palette-field>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--ink); font-size:13px; padding:0 0 12px; }
.palette-current { color:var(--muted); font-size:11px; font-weight:500; }
.palette-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding-bottom:18px; }
.palette-choice { min-width:0; min-height:70px; flex-direction:column; gap:7px; padding:9px 6px; border-color:var(--line); background:var(--paper); font-size:11px; }
.palette-choice[aria-pressed='true'] { border-color:var(--green); box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 20%,transparent); color:var(--green); }
.palette-swatches { display:flex; width:42px; height:20px; overflow:hidden; border-radius:4px; border:1px solid #0001; }
.palette-swatches span { flex:1; }
.appearance-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.cover-design-preview { display:flex; align-items:center; justify-content:center; min-height:128px; padding:14px; background:var(--soft); border:1px solid var(--line); border-radius:6px; }
.cover-design-preview .book-mark { width:70px; height:100px; }
.color-fields input[type='color'] { padding:4px; cursor:pointer; }
.notification-panel { padding:18px 20px; background:var(--paper); border-block:1px solid var(--line); }
.notification-panel>.inline { justify-content:space-between; margin-bottom:12px; }
.notification-panel .form-grid { margin:14px 0; }
.notification-panel .actions { margin:14px 0 0; }
.install-panel { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 20px; background:var(--paper); border-block:1px solid var(--line); }
.install-panel>div { min-width:0; }
.install-panel strong { font-size:13px; font-weight:600; }
.install-panel .muted { margin:3px 0 0; font-size:11px; }
.install-panel button { flex-shrink:0; }
.empty { background:#f4f1e9; padding:26px 18px; border-block:1px solid #ebe5d8; }
.empty-icon { color:#a88b64; margin-bottom:0; width:45px; height:45px; }
.empty-icon svg { width:30px; height:30px; }
.empty h3 { font-size:22px; }
.empty .muted { font-size:12px; }
.empty button { font-size:12px; }
.book-overview { background:#f4f1e9; border:0; padding:20px; }
.book-overview .book-mark { width:92px; height:128px; }
.book-overview .real-cover { padding:0; }
.book-overview h2 { font-size:20px; }
.quote-item { border:1px solid #eeeae2; box-shadow:none; }
.history-row strong { font-size:12px; }
.calendar-toolbar h2 { font-size:20px; }
.calendar-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:32px; align-items:start; }
.calendar-month,.calendar-agenda { min-width:0; }
.calendar-agenda { border-left:1px solid #dedfda; padding-left:28px; }
.calendar-agenda h2 { font-size:21px; margin:0 0 24px; scroll-margin-top:100px; }
.calendar-agenda h3 { font-size:16px; margin:26px 0 8px; }
.agenda-row { padding:16px 0; border-bottom:1px solid #dedfda; min-width:0; overflow-wrap:anywhere; }
.agenda-actions,.practice-schedule { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:12px; }
.practice-schedule { justify-content:space-between; margin:0 0 20px; }
.agenda-excerpt { line-height:1.65; overflow-wrap:anywhere; max-height:180px; overflow:auto; }
.agenda-empty { padding:32px 0; color:#666f69; }
.review-schedule-fields { display:grid; gap:16px; padding:16px; border:1px solid #d7ddd7; border-radius:6px; }
.review-schedule-fields [hidden] { display:none!important; }
.review-schedule-fields:disabled { opacity:.6; }
.schedule-preview { margin:0; font-size:13px; color:#52665b; line-height:1.5; }
.day-markers { flex-wrap:wrap; gap:2px; }
.marker.quote-reviews { background:#e4edf2; color:#27516b; }
.marker.reviews-completed { background:#dcebdd; color:#28543b; }
@media(max-width:900px) {
  .calendar-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .calendar-agenda { border-left:0; border-top:1px solid #dedfda; padding:24px 0 0; }
  .calendar-day { min-height:72px; height:auto; }
}
.calendar-day.selected { border-color:#af5838; background:#f5ede3; }
dialog { border:1px solid #e1dcd1; box-shadow:0 20px 75px #34251425; }
.dialog-heading { background:#faf8f3; }
.dialog-heading h2 { font:500 22px Georgia,serif; }
.field { font-size:12px; }
.field input,.field select,.field textarea { border-color:#d9d6cd; }
.schedule-preview { background:#f5f1e7; color:#796549; }
.weekdays input:checked+span { background:#a33f1d; }
#toast { visibility:hidden; pointer-events:none; background:#334b3c; bottom:91px; font-size:12px; box-shadow:0 5px 20px #27372922; padding:12px 18px; }
#toast.show { visibility:visible; }
.update-notice { bottom:90px; }
@keyframes reveal-passage { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:761px) {
  main[data-view='home'],main[data-view='stats'] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; align-content:start; }
  main[data-view='home']>*,main[data-view='stats']>* { grid-column:1 / -1; min-width:0; }
  main[data-view='home']>.section:first-of-type { grid-column:1; }
  main[data-view='home']:not(:has(>.recall-banner))>.section:first-of-type { grid-column:1 / -1; }
  main[data-view='home']>.recall-banner { grid-column:2; align-self:start; margin-top:68px; }
  main[data-view='home'] .reading-grid { grid-template-columns:1fr; }
  main[data-view='stats']>.section { grid-column:auto; }
  main[data-view='stats']>.section:first-of-type,main[data-view='stats']>.section:last-of-type { grid-column:1 / -1; }
  main[data-view='stats']>.section>.section-heading { min-height:52px; align-items:flex-start; flex-wrap:wrap; }
  main[data-view='stats'] .goal-audit { min-height:205px; }
  main[data-view='practice'] { max-width:800px; }
  .reading-grid,.library-cards { grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr)); }
  .library-book-actions button,.filters button { min-height:44px; }
  .library-book-actions button { font-size:12px; }
  .library-book .muted,.position-line { font-size:12px; }
  .source-label,.goal-position small,.metric-label { font-size:10px; }
  .recall-banner>.primary { margin-top:22px; }
  .recall-banner { padding:22px; }
}
@media(max-width:560px) {
  .reading-metrics { grid-template-columns:1fr; }
  .palette-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .appearance-controls { grid-template-columns:1fr; }
}

/* Appearance preferences stay deliberately global and predictable. */
body,#header,#navigation { background:var(--page); color:var(--ink); font-family:var(--ui-font); }
#header,#navigation { background:color-mix(in srgb,var(--paper) 95%,transparent); border-color:var(--line); }
h1,h2,h3,.brand,.title-button,.goal-card-top .title-button,.practice-source h2,.recall-space p,.metric>strong,.streak-card>strong,.stats-empty strong,.stats-period-heading strong,.dialog-heading h2 { font-family:var(--display-font); }
.primary,.header-tools .icon-button:last-child { background:var(--accent-fill); border-color:var(--green); }
.primary:hover { background:var(--accent-fill); filter:brightness(.9); }
.text-button,.nav-item.active,.goal-position>div:last-child strong { color:var(--green); }
.nav-count,.stepper .icon-button:last-child { background:var(--accent-fill); }
progress::-webkit-progress-value { background:var(--accent-fill); } progress::-moz-progress-bar { background:var(--green); }
.notice,.recall-banner { border-color:var(--green); background:var(--soft); }
.brand small,.notice>svg { color:var(--accent-2); }
.muted,.welcome-copy,.eyebrow { color:var(--muted); }
.nav-item { color:var(--muted); }
button,input,select,textarea,summary,.muted,.welcome-copy,.book-fact,.position-line { font-size:calc(1em + var(--ui-step)); }
.quote-spotlight blockquote { font-family:var(--display-font); font-size:calc(24px + var(--quote-step)); }
.quote-item blockquote { font-family:var(--display-font); font-size:calc(20px + var(--quote-step)); }
.practice-stage blockquote { font-family:var(--display-font); font-size:calc(29px + var(--quote-step)); }
.recall-input textarea { font-family:var(--display-font); font-size:calc(19px + var(--quote-step)); }
.cloze-passage,.first-letters,.guided-recall { font-family:var(--display-font); font-size:calc(20px + var(--quote-step)); }
.chosen-tiles button,.tile-bank button { font-family:var(--display-font); font-size:calc(16px + var(--quote-step)); }

/* Nocturne uses designed dark surfaces instead of a blanket color inversion. */
[data-palette='nocturne'] body,[data-palette='nocturne'] main { background:var(--page); color:var(--ink); }
[data-palette='nocturne'] #header,[data-palette='nocturne'] #navigation,[data-palette='nocturne'] dialog,[data-palette='nocturne'] .dialog-heading { background:#191c26; color:var(--ink); border-color:var(--line); }
[data-palette='nocturne'] h1,[data-palette='nocturne'] h2,[data-palette='nocturne'] h3,[data-palette='nocturne'] .section-heading h2,[data-palette='nocturne'] .title-button,[data-palette='nocturne'] .goal-card-top .title-button { color:var(--ink); }
[data-palette='nocturne'] .reading-card.goal-card,[data-palette='nocturne'] .shelf-book,[data-palette='nocturne'] .library-book,[data-palette='nocturne'] .quote-item,[data-palette='nocturne'] .streak-card,[data-palette='nocturne'] .volume-summary,[data-palette='nocturne'] .goal-audit,[data-palette='nocturne'] .stats-empty,[data-palette='nocturne'] .retention,[data-palette='nocturne'] .appearance-panel,[data-palette='nocturne'] .practice-stage,[data-palette='nocturne'] .search-field,[data-palette='nocturne'] .book-overview { background:var(--paper); border-color:var(--line); }
[data-palette='nocturne'] .goal-position,[data-palette='nocturne'] .tier-row,[data-palette='nocturne'] .secondary,[data-palette='nocturne'] .stepper,[data-palette='nocturne'] .empty,[data-palette='nocturne'] .appearance-preview,[data-palette='nocturne'] .notice,[data-palette='nocturne'] .recall-banner,[data-palette='nocturne'] .guided-recall,[data-palette='nocturne'] .first-letters { background:var(--soft); color:var(--ink); border-color:var(--line); }
[data-palette='nocturne'] input,[data-palette='nocturne'] select,[data-palette='nocturne'] textarea,[data-palette='nocturne'] .chosen-tiles button,[data-palette='nocturne'] .tile-bank button,[data-palette='nocturne'] .cloze-passage input,[data-palette='nocturne'] .guided-letter input { background:#171a23; color:var(--ink); border-color:#4a5062; }
[data-palette='nocturne'] .badge,[data-palette='nocturne'] .source-label,[data-palette='nocturne'] .streak-button,[data-palette='nocturne'] .goal-card-top .icon-button { background:#2b2f3d; color:#d6d9e3; }
[data-palette='nocturne'] .metric>strong,[data-palette='nocturne'] .goal-position strong,[data-palette='nocturne'] .tier-row strong,[data-palette='nocturne'] .appearance-preview blockquote { color:var(--ink); }
[data-palette='nocturne'] .shelf-book .title-button,[data-palette='nocturne'] .shelf-book>.inline>strong,[data-palette='nocturne'] .shelf-position,[data-palette='nocturne'] .position-line,[data-palette='nocturne'] .book-fact { color:var(--ink); }
[data-palette='nocturne'] .book-mark { box-shadow:2px 3px 0 #0005; }
[data-palette='nocturne'] dialog::backdrop { background:#05060acc; }
@media(min-width:1100px) {
  #navigation { inset:76px 0 auto; height:60px; padding:6px 24px; gap:12px; }
  .nav-item { flex-direction:row; width:132px; gap:9px; font-size:12px; }
  .nav-count { left:auto; right:4px; top:1px; }
  main,main[data-view] { max-width:1100px; padding-top:88px; padding-bottom:48px; }
  main[data-view='practice'] { max-width:800px; }
  main[data-view='home'],main[data-view='stats'] { column-gap:32px; }
  #toast { bottom:24px; }
  .update-notice { bottom:24px; }
}
@media(max-width:760px) {
  #header { height:68px; padding-inline:17px; }
  .brand { font-size:17px; gap:8px; }
  .brand small { font-size:8px; }
  .brand>svg { width:24px; height:24px; }
  .header-tools .icon-button { width:34px; min-height:38px; padding:8px; }
  #navigation { height:calc(68px + env(safe-area-inset-bottom)); padding:4px 6px env(safe-area-inset-bottom); gap:0; }
  .nav-item { flex:1; width:auto; font-size:9px; padding:5px 2px; }
  main,main[data-view] { padding:18px 17px 100px; min-height:calc(100vh - 68px); }
  h1 { font-size:24px; }
  .page-heading { flex-wrap:nowrap; min-height:38px; }
  .page-heading>.section-tools { flex-shrink:0; }
  .info-disclosure>summary { width:28px; height:28px; min-height:28px; padding:5px; }
  .info-popover { top:calc(100% + 5px); width:min(300px,calc(100vw - 34px)); max-height:min(55vh,360px); overflow:auto; }
  .page-heading>.primary { padding:8px 10px; font-size:11px; }
  .page-heading>.home-add { padding:5px; font-size:10px; }
  .home-add svg { width:14px; }
  .welcome-copy { font-size:12px; margin:3px 0 17px; }
  .section { margin-top:22px; }
  .section-heading h2 { font-size:18px; }
  .section-heading .badge { font-size:9px; }
  .reading-grid,.library-cards { grid-template-columns:1fr; gap:13px; }
  .reading-card.goal-card { padding:16px; gap:11px; }
  .goal-card.completed { padding-top:15px; }
  .goal-card-top .title-button { font-size:19px; }
  .goal-position { padding:10px; }
  .goal-position strong { font-size:11px; }
  .goal-position small { font-size:8px; }
  .quick-log { gap:9px; }
  .quick-log>.primary { font-size:10px; }
  .stepper .icon-button { width:35px; }
  .stepper output { min-width:24px; }
  .recall-banner { padding:15px; margin-top:17px; }
  .recall-banner h2 { font-size:20px; }
  .recall-banner .mini-label { font-size:8px; }
  .recall-banner .small-muted { font-size:8px; }
  .current-shelf { gap:9px; }
  .shelf-book { padding:12px; }
  .shelf-book .title-button { font-size:17px; }
  .shelf-position { font-size:8px; }
  .shelf-book .source-label { font-size:7px; padding:3px 4px; }
  .library-book { padding:14px; }
  .library-book-main { gap:12px; }
  .library-book .title-button { font-size:19px; }
  .book-mark { width:60px; height:87px; }
  .library-book-actions { gap:5px; }
  .library-book-actions button { padding:7px; font-size:9px; }
  .library-book-actions button svg { width:12px; height:12px; }
  .book-fact { font-size:8px; gap:3px; }
  .position-line { font-size:9px; }
  .streak-card { padding:15px; }
  .streak-card>.inline { font-size:9px; }
  .streak-card>strong { font-size:26px; }
  .streak-card .badge { font-size:8px; }
  .volume-summary { padding:17px; }
  .metric>strong { font-size:25px; }
  .metric-label { font-size:9px; }
  .goal-audit { gap:18px; padding:14px; }
  .goal-ring { width:110px; height:110px; }
  .goal-legend>div { font-size:11px; }
  .retention { padding:15px; }
  .install-panel { align-items:flex-start; flex-direction:column; padding:15px; }
  .stats-period-heading { align-items:flex-end; }
  .stats-period-title { min-width:0; }
  .practice-stage { padding:18px; }
  .practice-source h2 { font-size:21px; }
  .practice-toolbar { font-size:10px; padding:8px 10px; }
  .recall-space { padding:14px; }
  .recall-space p { font-size:18px; }
  .practice-stage blockquote { font-size:22px; }
  .ratings { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quote-spotlight blockquote { font-size:17px; }
  #toast { bottom:82px; }
  .update-notice { bottom:81px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; animation:none!important; } }

/* Final palette pass: these rules own contrast after every responsive layer. */
.week-range,.week-day,.week-dot,.book-fact { color:var(--muted); }
.filters button:not(.selected) { color:#596371; }
.streak-card>.inline,.metric-label,.metric>small,.small-muted,.goal-legend>div { color:var(--muted); }
[data-palette='nocturne'] #header,[data-palette='nocturne'] #navigation { background:#191c26; color:var(--ink); border-color:var(--line); }
[data-palette='nocturne'] .skip { background:#191c26; color:var(--ink); }
[data-palette='nocturne'] .nav-item:hover,[data-palette='nocturne'] .nav-item:focus-visible { background:#252936; }
[data-palette='nocturne'] .storage-summary,[data-palette='nocturne'] .practice-toolbar,[data-palette='nocturne'] .privacy-footer>span { background:#252936; color:var(--ink); }
[data-palette='nocturne'] .streak-card>strong { color:#ff9f7e; }
[data-palette='nocturne'] .streak-card:nth-child(2)>strong { color:#91dfb0; }
[data-palette='nocturne'] .reading-card,[data-palette='nocturne'] .shelf-book,[data-palette='nocturne'] .library-book,[data-palette='nocturne'] .quote-item,[data-palette='nocturne'] .practice-stage,[data-palette='nocturne'] .search-field,[data-palette='nocturne'] .book-overview,[data-palette='nocturne'] .calendar-day { background:var(--paper); color:var(--ink); border-color:var(--line); box-shadow:none; }
[data-palette='nocturne'] .reading-card .title-button,[data-palette='nocturne'] .shelf-book .title-button,[data-palette='nocturne'] .library-book .title-button,[data-palette='nocturne'] .book-row .title-button,[data-palette='nocturne'] .quote-item blockquote,[data-palette='nocturne'] .practice-source h2,[data-palette='nocturne'] .recall-space p { color:var(--ink); }
[data-palette='nocturne'] .author,[data-palette='nocturne'] .position,[data-palette='nocturne'] .shelf-position,[data-palette='nocturne'] .position-line,[data-palette='nocturne'] .book-fact,[data-palette='nocturne'] .recall-space>span,[data-palette='nocturne'] .rating-prompt { color:var(--muted); }
[data-palette='nocturne'] .goal-position,[data-palette='nocturne'] .empty,[data-palette='nocturne'] .recall-space,[data-palette='nocturne'] .source-cues .badge,[data-palette='nocturne'] .queue-count,[data-palette='nocturne'] .filters .selected { background:var(--soft); color:var(--ink); border-color:var(--line); }
[data-palette='nocturne'] .secondary,[data-palette='nocturne'] .empty .secondary,[data-palette='nocturne'] .book-row-end .icon-button { background:#252936; color:var(--ink); border-color:#4a5062; }
[data-palette='nocturne'] progress,[data-palette='nocturne'] progress::-webkit-progress-bar { background:#343846; }
[data-palette='nocturne'] .week-day,[data-palette='nocturne'] .week-dot { color:#d0d3dc; border-color:#4a5062; }
[data-palette='nocturne'] .calendar-day.selected { background:#283144; border-color:#39bdb8; }
[data-palette='nocturne'] .rating.again { background:#38272f; color:#ffbdc9; border-color:#68414c; }
[data-palette='nocturne'] .rating.hard { background:#373326; color:#f3d78b; border-color:#61583a; }
[data-palette='nocturne'] .rating.good { background:#25352d; color:#b9e5c2; border-color:#405f49; }
[data-palette='nocturne'] .rating.easy { background:#253340; color:#baddf4; border-color:#3f5c72; }

.practice-filters { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:18px 0; flex-wrap:wrap; }
.practice-queues { display:flex; padding:3px; gap:3px; background:#efece5; border-radius:6px; }
.practice-queues button { font-size:12px; min-height:44px; padding:9px 14px; }
.practice-queues button[aria-pressed='true'] { background:#fff; color:#a33f1d; box-shadow:0 1px 3px #29251d12; }
.practice-filters select { width:190px; max-width:100%; min-height:44px; font:12px system-ui,sans-serif; padding:9px; border:1px solid #e4dfd5; border-radius:5px; background:#fff; color:#53616b; }
.practice-modes { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:4px; background:#efede7; border-radius:6px; }
.practice-modes button { min-width:0; padding:10px 6px; font-size:12px; min-height:46px; gap:7px; }
.practice-modes button[aria-selected='true'] { background:white; color:#a33f1d; box-shadow:0 1px 3px #29251d12; }
.practice-modes svg { width:17px; height:17px; }
.practice-answer-actions { display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; }
.practice-answer-actions button { flex:1; min-height:46px; font-size:12px; }
.recall-input { display:flex; flex-direction:column; gap:9px; margin-top:14px; font-size:12px; color:#697781; }
.recall-input textarea { resize:vertical; width:100%; min-height:170px; max-height:420px; padding:15px; background:#fcfbf8; color:#344454; font:19px/1.6 Georgia,serif; border:1px solid #d6d2c8; border-radius:5px; }
.recall-feedback { padding:12px 14px; background:#edf3ed; border-left:3px solid #648366; color:#3c6148; font-size:13px; margin-top:16px; }
.cloze-passage { font:20px/2.6 Georgia,serif; white-space:pre-wrap; overflow-wrap:anywhere; padding:12px 0; }
.cloze-passage input { display:inline-block; max-width:100%; min-height:44px; padding:5px 7px; margin:2px; border:1px solid #d1cabc; border-bottom:2px solid #a33f1d; border-radius:4px; font:17px/1.5 Georgia,serif; background:#fcfbf8; color:#344454; vertical-align:baseline; }
.cloze-passage input.correct { border-color:#517657; background:#f0f6ef; }
.cloze-passage input.incorrect { border-color:#ad5862; background:#fcf2f1; }
.chosen-tiles,.tile-bank { display:flex; flex-wrap:wrap; align-content:flex-start; gap:7px; padding:14px; overflow-wrap:anywhere; }
.chosen-tiles { min-height:110px; border:1px solid #d9d2c6; background:#faf8f3; border-radius:5px; margin-top:14px; }
.chosen-tiles button,.tile-bank button { max-width:100%; min-height:44px; padding:9px 12px; font:16px/1.4 Georgia,serif; overflow-wrap:anywhere; white-space:normal; text-align:left; border:1px solid #ded7c9; background:white; color:#344454; }
.chosen-tiles button { background:#edf2ed; border-color:#c3d3c3; }
.tile-bank { padding-inline:0; max-height:360px; overflow-y:auto; }
.tile-bank .used { opacity:.25; }
.tile-bank:focus-visible { outline:2px solid #b76817; outline-offset:3px; }
.tile-tools { display:flex; align-items:center; justify-content:space-between; }
.practice-session-actions { display:flex; justify-content:flex-end; margin-top:10px; }
.next-quote { width:100%; margin-top:15px; }
.practice-stage [readonly] { opacity:.8; }
@media(max-width:760px) {
  .practice-filters { gap:9px; }
  .practice-queues { flex:1; }
  .practice-queues button { flex:1; padding:8px; font-size:11px; }
  .practice-filters select { width:100%; }
  .practice-modes button { flex-direction:column; font-size:10px; gap:5px; min-height:58px; }
  .cloze-passage { font-size:18px; }
  .chosen-tiles,.tile-bank { gap:5px; }
  .chosen-tiles button,.tile-bank button { font-size:15px; padding:8px; }
}
.reference-recall { margin:20px 0; }
.reference-recall input { width:100%; min-width:0; min-height:44px; padding:12px; border:1px solid #d6d2c8; border-radius:5px; background:#fcfbf8; color:#344454; font:16px/1.5 system-ui,sans-serif; }
.reference-recall input[aria-invalid='true'] { border-color:#ad5862; }
.revealed-reference,.spotlight-reference { overflow-wrap:anywhere; line-height:1.6; font-weight:600; }
.reference-feedback { font-size:13px; color:var(--muted); margin:8px 0 20px; }
.practice-option { display:flex; flex-direction:column; gap:7px; margin:16px 0; font-size:13px; max-width:320px; }
.practice-option select { width:100%; min-height:44px; padding:9px; border:1px solid #d6d2c8; border-radius:5px; background:white; }
.practice-queues { flex-wrap:wrap; }
.first-letters,.attempt-text { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
.first-letters { padding:16px; background:#eef2f3; font:20px/1.8 Georgia,serif; }
.word-comparison { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0; }
.comparison-word { font-size:12px; padding:5px 7px; border-bottom:2px solid #739476; }
.comparison-word.missed { border-bottom:2px dashed #b86748; background:#f8eee9; }
.word-attention { padding:16px 0; border-top:1px solid #d9dfdb; margin:18px 0; }
.word-difficulty { border-left:3px solid #bf8b24; padding-left:10px; font-size:13px; }
.word-difficulty.frequent { border-color:#bd6438; }.word-difficulty.trouble { border-color:#a04e5a; }
.session-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
.session-summary dt { font-size:13px; color:var(--muted); }.session-summary dd { margin:8px 0; font-size:24px; }
.learning-settings { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; }
.segment-preview { max-height:340px; overflow:auto; line-height:2; overflow-wrap:anywhere; }
.segment-preview small { color:#526b7b; }.graduated-message { color:#346342; font-weight:600; }
.recall-missed { background: #ffe3b3; color: inherit; border-bottom: 2px solid #a33e1a; padding: 0 .06em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.guided-recall { margin:16px 0; padding:16px; background:#f7f6f2; border:1px solid #e1ddd4; border-radius:5px; font:20px/2.5 Georgia,serif; white-space:pre-wrap; overflow-wrap:anywhere; }
.guided-letter { display:inline-flex; align-items:flex-end; gap:3px; margin:0 3px; vertical-align:middle; }
.guided-letter input { width:2.2rem; min-height:40px; padding:5px; text-align:center; border:1px solid #b9b3a8; border-bottom:2px solid #a33f1d; border-radius:4px; background:#fff; color:#243641; font:19px/1 Georgia,serif; }
.guided-letter small { color:#7b858d; font:10px/1.2 system-ui,sans-serif; }
.guided-word { color:inherit; }
.word-attention summary { cursor:pointer; font-weight:600; color:#465963; }
.word-attention-details { padding-top:12px; }

[data-palette='nocturne'] .practice-queues,[data-palette='nocturne'] .practice-modes { background:#202431; }
[data-palette='nocturne'] .practice-queues button[aria-pressed='true'],[data-palette='nocturne'] .practice-modes button[aria-selected='true'] { background:#303546; color:#7dddd8; }
[data-palette='nocturne'] .practice-filters select,[data-palette='nocturne'] .practice-option select,[data-palette='nocturne'] .recall-input textarea,[data-palette='nocturne'] .reference-recall input { background:#171a23; color:var(--ink); border-color:#4a5062; }
[data-palette='nocturne'] .recall-feedback { background:#24362f; border-color:#4aa478; color:#c5ebd3; }
[data-palette='nocturne'] .recall-input,[data-palette='nocturne'] .guided-letter small,[data-palette='nocturne'] .word-attention summary { color:var(--muted); }
[data-palette='nocturne'] .cloze-passage input.correct { background:#24362f; color:#c5ebd3; border-color:#4aa478; }
[data-palette='nocturne'] .cloze-passage input.incorrect { background:#3a272e; color:#ffc3cd; border-color:#a95869; }
[data-palette='nocturne'] .recall-missed { background:#70451f; color:#fff3da; border-color:#e49b4d; }
