/* Shared editorial theme across the original readers, activities and notebook. */
:root{--bg:#faf8f2;--panel:#fffdf9;--text:#132332;--muted:#63706f;--accent:#007d72;--line:#d8dcd6;--ink:#132332;--teal:#007d72;color-scheme:light}
body.living-v2{background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}body.living-v2 *{box-sizing:border-box}body.living-v2 h1,body.living-v2 h2,body.living-v2 h3{font-family:Georgia,'Times New Roman',serif;color:var(--text);letter-spacing:-.025em}body.living-v2 h1{font-size:clamp(32px,5vw,54px);line-height:1.07}body.living-v2 h2{font-size:26px}body.living-v2 p{color:#556461;line-height:1.65}body.living-v2 a{color:#007d72}body.living-v2 button{font:inherit;color:var(--text);background:#fffdf9;border:1px solid var(--line);border-radius:12px;min-height:44px;cursor:pointer}body.living-v2 button:hover{border-color:#007d72}body.living-v2 button:focus-visible,body.living-v2 a:focus-visible{outline:3px solid #0c9c8c;outline-offset:3px}body.living-v2 .primary,body.living-v2 .xtc-cta{background:#007d72;color:white;border-color:#007d72}body.living-v2 input,body.living-v2 textarea,body.living-v2 select{background:#fffdf9;color:#132332;border:1px solid #c9d1cd;min-height:44px}body.living-v2 header{background:#faf8f2;border-bottom:1px solid #e0e3dd;padding:14px 24px;height:78px}body.living-v2 header .brand{color:#132332}body.living-v2 header small{color:#526662;letter-spacing:3px;font-size:10px}body.living-v2 header nav button{background:transparent}body.living-v2 #xtc-wire,body.living-v2 #xtc-bottom-tabs,body.living-v2 #xtc-desktop-toolbar{display:none!important}body.living-v2 main#app{padding:28px 32px 40px;background:#faf8f2;height:calc(100dvh - 154px);overflow:auto;max-width:none}body.living-v2 footer{height:76px;background:#faf8f2;border-top:1px solid #d8dcd6;display:flex;justify-content:space-around;padding:8px 10px max(8px,env(safe-area-inset-bottom));gap:8px}body.living-v2 footer button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;font-size:11px;padding:4px;min-width:0}body.living-v2 footer svg{width:23px;height:23px}body.living-v2 footer button.active{color:#007d72;background:#e6f2ed;border-radius:12px}body.living-v2 .eyebrow{color:#007d72;font-size:10px;letter-spacing:1.8px;font-weight:700}body.living-v2 .entry,body.living-v2 .workspace,body.living-v2 .empty,body.living-v2 .history-item,body.living-v2 .c2-topic-card,body.living-v2 .c2-foundation-card,body.living-v2 .c2-visual-card,body.living-v2 .c2-chart-activity,body.living-v2 .c2-hub-cover,body.living-v2 .xtc-offer,body.living-v2 .xtc-panel-grid>*{background:#fffdf9;color:#132332;border:1px solid #d8dcd6;border-radius:16px;box-shadow:none}body.living-v2 .feedback{background:#e7f3ed;color:#153f36;border-color:#91bfb1}body.living-v2 .c2-levels button.selected,body.living-v2 button[aria-selected=true]{background:#007d72;color:white}body.living-v2 .chapter-row{background:#fffdf9;border:1px solid #d8dcd6}body.living-v2 .chapter-row small{color:#60736c}body.living-v2 .c2-hub-chapters button{background:#fffdf9;color:#132332;border:1px solid #d8dcd6}body.living-v2 .c2-hub-cover h1{color:#132332}body.living-v2 .c2-hub{max-width:1100px;margin:auto}body.living-v2 .c2-visual-card text{fill:#31493e}body.living-v2 .c2-visual-card .gridline{stroke:#dce3dd}body.living-v2 .c2-visual-card rect{stroke:#53796c;stroke-width:.6}body.living-v2 .c2-visual-card figcaption{color:#60736c}body.living-v2 dialog{background:#fffdf9;color:#132332;border:1px solid #bccfc6;border-radius:18px}body.living-v2 .v2-home{max-width:1060px;margin:auto}body.living-v2 .v2-welcome h1{margin:12px 0}body.living-v2 .v2-welcome p{margin:12px 0 26px;font-size:16px}.v2-resume{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:16px;border:1px solid #cdd6ce;border-radius:20px;margin-bottom:30px;background:#fffdf9}.v2-portrait{position:relative;height:220px;overflow:hidden;border-radius:12px;background:#173b36}.v2-portrait img{height:100%;width:100%;object-fit:cover;object-position:center 25%}.v2-portrait span{position:absolute;bottom:10px;left:10px;background:#fffdf9e8;border-radius:5px;padding:6px;font-size:10px;color:#1a302b}.v2-resume-copy{align-self:center;padding:12px}.v2-resume-copy h2{margin:12px 0!important;font-size:34px!important}.v2-resume-copy p{margin:0 0 18px;font-size:14px}.v2-resume-copy button{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:13px 18px;width:100%;max-width:360px;font-weight:600!important}.v2-section{display:flex;align-items:center;justify-content:space-between;margin:8px 0 16px}.v2-section h2{margin:0}.v2-section a{font-size:13px;text-decoration:none}.v2-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v2-tile{display:flex!important;align-items:center;gap:16px;text-align:left;padding:18px!important;min-height:92px!important}.v2-tile .cover-icon{width:38px;height:38px;color:#007d72;flex-shrink:0;margin:0}.v2-tile>span:not(.v2-arrow){display:flex;flex-direction:column;gap:8px}.v2-tile small{font-size:9px;color:#63756c;letter-spacing:.7px}.v2-tile strong{font-family:Georgia,serif;font-size:20px;font-weight:600}.v2-arrow{margin-left:auto;color:#007d72}.v2-practice{display:flex;align-items:center;gap:20px;background:#e9f2ec;border:1px solid #d4e4d8;border-radius:16px;margin:26px 0 18px;padding:22px;text-decoration:none}.v2-practice svg{width:42px;height:42px;flex-shrink:0}.v2-practice strong,.v2-practice small{display:block}.v2-practice strong{font-family:Georgia,serif;color:#132332;font-size:21px}.v2-practice small{color:#53665e;margin-top:8px;font-size:12px}.v2-practice>span:last-child{margin-left:auto;font-size:24px}.v2-links{display:flex;justify-content:space-between;gap:15px;font-size:12px}.v2-footnote{font-size:11px!important;margin-top:22px}.v2-search{display:block;font-size:12px;margin:24px 0 18px}.v2-search input{display:block;width:100%;margin-top:8px;padding:14px}.v2-home .xtc-offer{margin-top:26px}.living-v2 #xtc-desktop-sidebar{background:#f2f4ec;border-right:1px solid #d8dcd6}.living-v2 #xtc-desktop-sidebar a{color:#365148}.living-v2 .xtc-desk-brand{color:#132332}.living-v2 #xtc-desktop-sidebar a[aria-current=page]{background:#dceee4;color:#006c61}.living-v2 .xtc-tabs{background:#faf8f2}.living-v2 .c2-reader-tabs,.living-v2 .c2-tabs{overflow:auto;scrollbar-width:thin}.living-v2 .c2-reader-tabs button,.living-v2 .c2-tabs button{white-space:nowrap}.living-v2 .book-table{background:#fffdf9;color:#132332}.living-v2 .book-table th,.living-v2 .book-table td{border-color:#d9e0d8}.living-v2 .notice{color:#60736c}
@media(min-width:1024px){body.living-v2 main#app{height:calc(100dvh - 154px);padding-top:32px}.v2-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.v2-resume{grid-template-columns:260px 1fr}.v2-portrait{height:240px}}
@media(max-width:600px){body.living-v2 header{height:70px;padding:12px 18px}body.living-v2 header .brand{font-size:15px}body.living-v2 header nav{display:none}body.living-v2 main#app{height:calc(100dvh - 146px);padding:24px 18px 32px}body.living-v2 h1{font-size:37px}body.living-v2 .v2-welcome p{font-size:14px;margin-bottom:22px}.v2-resume{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:10px;margin-bottom:24px;border-radius:16px}.v2-portrait{height:184px}.v2-resume-copy{padding:5px 0}.v2-resume-copy .eyebrow{font-size:8px;letter-spacing:1px}.v2-resume-copy h2{font-size:27px!important;margin:10px 0!important}.v2-resume-copy p{font-size:11px;line-height:1.5!important;margin-bottom:12px}.v2-resume-copy button{font-size:12px!important;padding:10px;gap:8px}.v2-tile{padding:13px 10px!important;gap:9px;min-height:84px!important}.v2-tile .cover-icon{width:25px;height:25px}.v2-tile strong{font-size:16px}.v2-tile small{font-size:7px;letter-spacing:.3px}.v2-tiles{gap:9px}.v2-arrow{display:none}.v2-section h2{font-size:23px!important}.v2-practice{padding:17px;gap:12px}.v2-practice strong{font-size:18px}.v2-practice small{font-size:11px}.v2-links{font-size:10px}.living-v2 .c2-hub-cover{padding:20px}.living-v2 .c2-hub-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.living-v2 .c2-hub-actions button{padding:10px;font-size:11px}.living-v2 .c2-hub-chapters{grid-template-columns:1fr!important}.living-v2 .workspace{padding:18px}.living-v2 .row{flex-wrap:wrap}.living-v2 textarea{max-width:100%}}
@media(prefers-reduced-motion:reduce){.living-v2 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
body.living-v2.xtc-reading{background:#faf8f2}body.living-v2.xtc-reading>#xtc-desktop-sidebar{background:#f2f4ec!important;color:#132332}body.living-v2.xtc-reading #xtc-desktop-sidebar a{color:#365148}body.living-v2.xtc-reading #xtc-desktop-sidebar a[aria-current]{background:#dceee4;color:#006c61}body.living-v2 .c2-reader,body.living-v2 .b-reader{background:#fffdf9;color:#132332;border-color:#d8dcd6}body.living-v2 .c2-reader p,body.living-v2 .c2-reader li,body.living-v2 .c2-reader label{color:#40564d}body.living-v2 .c2-reader h2,body.living-v2 .c2-reader h3{color:#132332}body.living-v2 .c2-tabnav{display:flex;gap:6px;overflow:auto;background:#eef3eb;padding:5px;border-radius:14px;margin:16px 0}body.living-v2 .c2-tabnav button{flex:1;white-space:nowrap;padding:10px;font-size:12px;border:0;background:transparent}body.living-v2 .c2-tabnav button.active{background:#007d72;color:#fff}body.living-v2 .c2-foundation-entry,body.living-v2 .c2-source-course-entry,body.living-v2 .c2-hub-activity{background:#e7f1e9!important;color:#173e32!important}body.living-v2 .c2-hub small,body.living-v2 .b-reader-top small,body.living-v2 .c2-reading-tools{color:#5e7267}body.living-v2 .c2-hub-cover .cover-icon{color:#007d72}.v2-mentor-line{display:flex;align-items:center;gap:12px;margin:16px 0;padding:14px;border:1px solid #dae2d9;border-radius:14px;background:#f0f5ed;font-size:12px;color:#244d40}.v2-mentor-line img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:50% 20%}.v2-mentor-line strong,.v2-mentor-line small{display:block}.v2-mentor-line small{margin-top:4px;color:#63736c;font-size:11px}
@media(min-width:1024px){body.living-v2{grid-template-rows:78px minmax(0,1fr) 76px!important}body.living-v2>main#app{grid-column:2;grid-row:2;height:auto!important;min-height:0;padding-top:28px}body.living-v2>footer{display:flex!important;grid-column:2;grid-row:3;position:static;width:100%}body.living-v2.xtc-reading{grid-template-rows:minmax(0,1fr)!important}body.living-v2.xtc-reading>main#app{grid-row:1;height:100dvh!important}body.living-v2.xtc-reading>footer{display:none!important}body.living-v2 #xtc-desktop-sidebar{grid-row:1 / -1!important}}
body.living-v2 .c2-reader .c2-lesson-goal,body.living-v2 .c2-level-focus,body.living-v2 .c2-course-launch,body.living-v2 .c2-course-progress,body.living-v2 .c2-reader .b-callout,body.living-v2 .c2-reader .notice,body.living-v2 .c2-mtf-exercise,body.living-v2 .c2-wb-answerbar,body.living-v2 .c2-wb-prices span,body.living-v2 .c2-animation-values span,body.living-v2 .c2-progress-grid>div,body.living-v2 .c2-progress-resume,body.living-v2 .c2-practice-summary,body.living-v2 .c2-dimensions span{background:#e8f1e9;color:#294d3f;border-color:#ccdbce}body.living-v2 .c2-reader .c2-lesson-goal strong,body.living-v2 .c2-reader .book-table th{color:#294d3f}body.living-v2 .c2-reader .book-table th{background:#e8f1e9}body.living-v2 .c2-lesson-pager,body.living-v2 .c2-workbook-page .b-pager{background:#faf8f2;color:#294d3f;border-color:#ccd9ce}body.living-v2 .c2-lesson-pager span{color:#526b5e}body.living-v2 .c2-reading-tools button[aria-pressed=true]{background:#007d72;color:white}body.living-v2 #xtc-desktop-sidebar h2,body.living-v2 #xtc-desktop-sidebar h3{color:#294d3f}body.living-v2 .c2-visual-option{background:#fffdf9;color:#132332;border-color:#d2dbd1}body.living-v2 .c2-option-letter{background:#e8f1e9;color:#294d3f}body.living-v2 .c2-visual-option.correct,body.living-v2 .c2-wb-options button.correct,body.living-v2 .c2-hammer-options button.correct{background:#d9efdf;color:#204d34}body.living-v2 .c2-visual-option.incorrect,body.living-v2 .c2-wb-options button.incorrect{background:#f6e5e3;color:#73372e}body.living-v2 .c2-saved-activity{background:#fffdf9;color:#132332;border-color:#d2dbd1}
/* One-screen mobile home: allocate the available viewport, rather than clip a long page. */
@media(max-width:1023px){
body.living-v2[data-screen=home]{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
body.living-v2[data-screen=home]>header{height:60px;min-height:60px;padding:8px 18px;flex:none}
body.living-v2[data-screen=home]>main#app{height:auto;min-height:0;flex:1;overflow:hidden;padding:12px 16px 10px}
body.living-v2[data-screen=home]>footer{height:64px;min-height:64px;flex:none;position:static;padding:6px 10px max(6px,env(safe-area-inset-bottom))}
body[data-screen=home] .v2-home{height:100%;display:grid;grid-template-rows:auto minmax(100px,1fr) minmax(0,2.1fr) auto;gap:12px}
body[data-screen=home] .v2-welcome .eyebrow{display:none}
body[data-screen=home] .v2-welcome h1{font-size:clamp(23px,3.5dvh,32px);line-height:1.12;margin:0 0 5px}
body[data-screen=home] .v2-welcome h1 br{display:none}
body[data-screen=home] .v2-welcome p{font-size:11px;margin:0;line-height:1.3}
body[data-screen=home] .v2-resume{height:100%;min-height:0;margin:0;padding:8px;grid-template-columns:32% minmax(0,1fr);gap:12px;border-radius:14px}
body[data-screen=home] .v2-portrait{height:100%;min-height:0}
body[data-screen=home] .v2-portrait img{object-position:50% 24%}
body[data-screen=home] .v2-portrait span{font-size:8px;padding:4px;bottom:5px;left:5px}
body[data-screen=home] .v2-resume-copy{padding:0;min-width:0}
body[data-screen=home] .v2-resume-copy .eyebrow{font-size:7px;letter-spacing:.8px;line-height:1.4}
body[data-screen=home] .v2-resume-copy h2{font-size:clamp(22px,3dvh,28px)!important;margin:5px 0!important}
body[data-screen=home] .v2-resume-copy p{font-size:10px;margin:0 0 8px;line-height:1.3!important}
body[data-screen=home] .v2-resume-copy button{font-size:11px!important;min-height:36px;padding:8px 10px}
body[data-screen=home] .v2-home>section:nth-child(3){min-height:0;display:flex;flex-direction:column}
body[data-screen=home] .v2-section{margin:0 0 8px;flex:none}
body[data-screen=home] .v2-section h2{font-size:21px!important}
body[data-screen=home] .v2-section a{font-size:10px}
body[data-screen=home] .v2-tiles{flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:6px}
body[data-screen=home] .v2-tile{height:100%;min-height:0!important;padding:6px 9px!important;gap:8px;border-radius:10px}
body[data-screen=home] .v2-tile .cover-icon{width:24px;height:24px}
body[data-screen=home] .v2-tile>span:not(.v2-arrow){gap:3px;min-width:0}
body[data-screen=home] .v2-tile small{font-size:6px;line-height:1.1;letter-spacing:.2px}
body[data-screen=home] .v2-tile strong{font-size:clamp(11px,1.8dvh,15px);line-height:1.12}
body[data-screen=home] .v2-practice{margin:0;padding:10px 12px;gap:10px;min-height:44px;border-radius:12px}
body[data-screen=home] .v2-practice svg{width:27px;height:27px}
body[data-screen=home] .v2-practice strong{font-size:14px;line-height:1.2}
body[data-screen=home] .v2-practice small{font-size:9px;margin-top:3px}
body[data-screen=home] .v2-links,body[data-screen=home] .v2-footnote{display:none}
}
@media(max-height:650px) and (max-width:1023px){body[data-screen=home] .v2-home{gap:8px;grid-template-rows:auto minmax(92px,.9fr) minmax(0,2.1fr) 44px}body[data-screen=home] .v2-resume-copy p{display:none}body[data-screen=home] .v2-tile small{display:none}body[data-screen=home] .v2-section h2{font-size:18px!important}body[data-screen=home] .v2-welcome p{display:none}}
