/* Planning, finding a source, and writing use the same quiet reading rhythm. */
.plan-today{padding:18px 0;margin-bottom:0;border-top:1px solid var(--line)}
.plan-today .section-heading{margin:0 0 6px}.plan-today .section-heading>span,.plan-calendar .section-heading>span{font-size:var(--type-caption);color:var(--muted)}
.plan-today-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:8px 0}.plan-today-row+.plan-today-row{border-top:1px solid var(--line);margin-top:8px}
.plan-today-row>div{max-width:760px}.plan-today-row h3{font-size:var(--type-section);line-height:1.5;margin:6px 0;font-weight:620}
.plan-today-row p{font-size:var(--type-body);line-height:var(--text-leading);margin:0;color:var(--muted)}.plan-today-row>.button{flex-shrink:0;white-space:nowrap}
.plan-today-row .topic-label{font-size:var(--type-caption)}.plan-calendar .section-heading{margin:0 0 16px}
.plan-week{margin-bottom:28px}.plan-day{min-height:132px;padding:16px 13px}.plan-day header{margin-bottom:16px}
.plan-day.is-today{box-shadow:inset 0 2px var(--accent)}.plan-day.is-today header strong{color:var(--accent)}
.plan-open{font-size:11px;line-height:1.75;color:var(--muted)}.plan-unit{font-size:11px;line-height:1.7;padding:8px 0}.plan-unit strong{font-size:13px;line-height:1.7}
.plan-detail-row{gap:24px}.plan-detail-row strong{font-size:15px;line-height:1.7}.plan-detail-row small{font-size:12px;line-height:1.8}
.plan-detail-row>label{font-size:12px;gap:10px}.plan-detail-row input{font-size:14px;min-height:39px;padding:7px 10px;border-color:var(--control-border)}
.plan-empty{padding:22px 0;margin:0}.plan-method p{font-size:14px;line-height:1.9;max-width:780px}
.resource-catalog .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;align-items:center;scroll-margin-top:88px}
.resource-catalog .filter-bar{grid-column:1/-1;gap:5px;flex-wrap:wrap}.resource-catalog .filter-button{font-size:var(--type-caption);min-height:36px;padding:7px 11px;border-radius:5px}
.resource-catalog .search-field{width:min(100%,520px);margin-left:0;min-width:0;min-height:42px}.resource-catalog .search-field input{font-size:var(--type-control)}.resource-catalog .view-switch{justify-self:end}
.catalog-count{font-size:var(--type-caption);line-height:var(--text-leading);margin:14px 0 6px;color:var(--muted)}
.resource-card h3{font-size:17px;line-height:1.5}.resource-card .resource-title{font:inherit}.resource-card p{font-size:var(--type-body);line-height:var(--text-leading)}.resource-card footer{font-size:var(--type-caption);gap:12px}
.resource-card footer>span{color:var(--muted);font-size:var(--type-caption);line-height:var(--text-leading)}.resource-actions{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center}
.resource-card footer .resource-actions a{font-size:var(--type-control);line-height:var(--text-leading);min-height:32px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.resource-grid.list .resource-card{grid-template-columns:32px minmax(0,1fr) 200px;gap:5px 14px;padding:18px 0!important;align-items:start}
.resource-grid.list .resource-card h3{grid-column:2;grid-row:1;font-size:17px;margin:0}
.resource-grid.list .resource-card p{grid-column:2;grid-row:2;margin:0;font-size:var(--type-body);line-height:var(--text-leading);max-width:730px;color:var(--muted)}
.resource-grid.list .resource-card .tags{grid-column:2;grid-row:3;margin:4px 0 0;gap:10px}.resource-card .tags .tag{font-size:12px;line-height:1.6;background:transparent;border:0;padding:0;color:var(--muted)}
.resource-grid.list .resource-card-head{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0}
.resource-grid.list .resource-card-head .save-button{position:static;width:34px;height:34px}.resource-grid.list .resource-symbol{font-size:9px;width:34px;height:24px}
.resource-grid.list .resource-card footer{grid-column:3;grid-row:1/4;padding:0;margin:0;align-items:flex-end;gap:9px;flex-direction:column}
.resource-grid.list .resource-card footer>span{max-width:200px;font-size:var(--type-caption);line-height:var(--text-leading)}.resource-grid.list .resource-actions{flex-direction:column;align-items:flex-end;gap:2px}
.resource-grid.list .resource-card:last-child{border-bottom:1px solid var(--line)}
.journal-view-tabs{display:flex;gap:24px;margin:0 0 16px;border-bottom:1px solid var(--line)}
.journal-view-tabs a{padding:10px 0;font-size:14px;color:var(--muted);border-bottom:2px solid transparent}
.journal-view-tabs a.active{color:var(--accent);border-bottom-color:var(--accent)}
.journal-filters{display:grid;grid-template-columns:minmax(0,420px) 160px;gap:12px;margin-bottom:20px;align-items:center}
.journal-filters .search-field{width:100%;min-height:42px}.journal-filters input{font-size:14px}.journal-filters select{font-size:14px;min-height:42px;padding:8px 11px}
.journal-layout{grid-template-columns:260px minmax(0,1fr);gap:32px}.journal-index{position:sticky;top:88px;min-width:0}
.journal-index-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0 8px 12px;color:var(--muted);font-size:12px}
.journal-index-heading button{display:none}.journal-list{display:grid;grid-template-columns:1fr;gap:0;padding:0;max-height:calc(100dvh - 200px);overflow:auto}
.note-preview{padding:14px 10px}.note-preview strong{font-size:var(--type-body);line-height:1.6;margin:6px 0 0;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-preview p{font-size:var(--type-caption);line-height:1.65;margin:6px 0}.note-preview small{font-size:12px;line-height:1.65}
.note-reader,#note-form{max-width:720px;padding:0;scroll-margin-top:88px}.note-reader:focus{outline:none}.note-reader>h2{font-size:22px;line-height:1.5;margin:12px 0 8px;font-weight:620;letter-spacing:0}
.note-meta{font-size:12px;line-height:1.8;color:var(--muted);padding-bottom:22px;margin:0 0 24px;border-bottom:1px solid var(--line)}
.journal-source-unit{padding:0 0 24px;margin-bottom:26px;border-bottom:1px solid var(--line)}.journal-source-unit h3{font-size:17px;margin:0 0 10px}.journal-source-unit p{font-size:12px;line-height:1.8;color:var(--muted)}.journal-source-unit li{font-size:15px;line-height:1.85;margin:10px 0}.journal-source-unit .actions{gap:20px;font-size:14px}
.note-reader .note-body{font-size:18px;line-height:var(--text-leading);white-space:normal}.note-reader .note-body p,.note-reader .note-body li,.note-reader .note-body blockquote{font-size:inherit;line-height:inherit}.note-body p{margin:0 0 14px}
.note-body h2,.note-body h3{font-size:21px;line-height:1.5;margin:24px 0 12px}.note-body h4{font-size:19px;line-height:1.5;margin:20px 0 10px}.note-body blockquote{background:transparent;border-left:2px solid var(--control-border);border-radius:0;margin:14px 0 20px;padding:2px 0 2px 16px}.note-body ul,.note-body ol{margin:14px 0;padding-left:24px}.note-body li{margin:5px 0}.note-body pre{white-space:pre;font-size:13px;line-height:1.65}.note-body :not(pre)>code{font-size:.9em}
#note-form input,#note-form textarea{font-size:18px;line-height:var(--text-leading)}#note-form textarea{min-height:320px;padding:14px;resize:vertical}#note-form label{font-size:var(--type-caption)}
#note-form .editor-title h2{font-size:21px}#note-form .editor-footer{gap:15px;align-items:center}#editor-status{font-size:12px;line-height:1.8;max-width:420px}
.journal-empty-reader{padding:24px 0}.journal-empty-reader h2{font-size:22px}.journal-empty-reader p{font-size:15px;line-height:1.85;color:var(--muted)}
.backup-panel{margin-top:35px;padding:22px 0;border-top:1px solid var(--line);border-bottom:0;background:transparent;border-radius:0}.backup-panel p{font-size:12px;line-height:1.8}
@media(max-width:1000px){.resource-grid.list .resource-card{grid-template-columns:36px minmax(0,1fr)}.resource-grid.list .resource-card footer{grid-column:2;grid-row:4;flex-direction:row;align-items:center;justify-content:space-between}.resource-grid.list .resource-actions{flex-direction:row;gap:16px}.journal-layout{grid-template-columns:220px minmax(0,1fr);gap:25px}}
@media(max-width:700px){.plan-today-row{display:block;padding:10px 0}.plan-today-row h3{font-size:19px}.plan-today-row>.button{margin-top:15px}.plan-today .section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.plan-day{min-height:118px}.plan-detail-row{display:block}.plan-detail-row>label{margin-top:12px;justify-content:space-between}.plan-calendar .section-heading{align-items:flex-start}.plan-calendar .section-heading>span{font-size:11px;text-align:right}.resource-grid.list .resource-card{gap:7px 12px}.resource-grid.list .resource-card h3{font-size:16px}.resource-grid.list .resource-card p{font-size:var(--type-body)}.resource-grid.list .resource-card footer{align-items:flex-start;flex-direction:column;gap:5px}.resource-grid.list .resource-card footer>span{max-width:100%;white-space:normal}.resource-grid.list .resource-actions{gap:16px}.resource-catalog .search-field{width:100%}.resource-catalog .search-field input{font-size:16px}.resource-catalog .filter-button{font-size:var(--type-caption);padding:7px 9px}.journal-filters{grid-template-columns:minmax(0,1fr) 118px;gap:9px}.journal-filters input,.journal-filters select{font-size:16px}.journal-layout{grid-template-columns:1fr;gap:22px}.journal-index{position:static}.journal-index-heading{padding:0 0 12px;border-bottom:1px solid var(--line)}.journal-index-heading button{display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:13px}.journal-index .journal-list{display:none;max-height:270px}.journal-index.is-open .journal-list{display:grid}.note-reader>h2{font-size:22px}.note-reader,#note-form{max-width:none}.note-reader .editor-title{gap:10px}.note-reader .editor-title .actions{gap:8px}.note-body h3{font-size:21px}.note-body h4{font-size:19px}.backup-panel{display:block}.backup-panel .actions{margin-top:15px;flex-wrap:wrap;gap:8px}#note-form textarea{min-height:280px}#note-form .editor-footer{flex-direction:column;align-items:stretch}#note-form .editor-footer .actions{justify-content:flex-end}}
@media(max-width:560px){#main[data-route="journal"] .page-title.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:18px}#main[data-route="journal"] .page-title.row>div:first-child{display:contents}#main[data-route="journal"] .page-title .eyebrow,#main[data-route="journal"] .page-title p{grid-column:1/-1}#main[data-route="journal"] .page-title h1{margin:0;font-size:25px}#main[data-route="journal"] .page-title .actions{grid-column:2;grid-row:2;margin:0}#main[data-route="journal"] .page-title .actions .button{font-size:12px;min-height:36px;padding:7px 10px}}

/* Quiet, persistent learning tools belong to the text, not another dashboard. */
.recommended-unit{min-width:0;display:flex;flex-direction:column}.recommended-unit .unit-card{flex:1}.recommendation-reason{font-size:12px;color:var(--muted);margin:0 0 9px;line-height:1.7}
.open-learning-questions,.bookmarked-units{margin:32px 0}.open-question-row{display:flex;flex-direction:column;gap:7px;border-bottom:1px solid var(--line);padding:15px 0}.open-question-row strong{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.open-question-row span{font-size:12px;color:var(--muted)}
.annotation-point{font-size:12px;display:inline-block;margin:2px 0 10px}.study-reader mark[data-learning-mark]{background:#e5edff;color:inherit;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:1px 0;border-bottom:1px solid #829aec}
[data-theme=dark] .study-reader mark[data-learning-mark]{background:#29395e;border-color:#718cd2}
.reading-marks{border-top:1px solid var(--line);padding:32px 0;scroll-margin-top:135px}.reading-marks .section-heading{margin-bottom:12px}.reading-marks h2{font-size:24px}.reading-marks .small-note{font-size:13px;line-height:1.8}
.annotation-row{border-left:2px solid #a5b7e8;padding:3px 0 3px 18px;margin:22px 0}.annotation-row>span{font-size:12px;color:var(--muted)}.annotation-row p{font-size:16px;line-height:1.85;margin:9px 0;overflow-wrap:anywhere}.annotation-row>div{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--green)}.annotation-row button{text-align:left;padding:0;color:var(--green)}
.reading-selection-bar{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:45;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 32px #10244224;border-radius:12px;padding:12px 14px;width:min(580px,calc(100vw - 32px));font-size:12px}.reading-selection-bar[hidden]{display:none}.reading-selection-bar>span{display:block;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-bottom:8px}.reading-selection-bar>div{display:flex;gap:4px}.reading-selection-bar button{padding:8px 12px;border-radius:6px;font-size:13px;color:var(--ink)}.reading-selection-bar button:hover{background:var(--surface-soft)}.reading-selection-bar button:last-child{margin-left:auto}
.source-provenance-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.source-provenance-fields input,.source-provenance-fields select{width:100%;min-width:0;font-size:14px}.question-record-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0}.question-record-actions small{color:var(--muted);font-size:12px}
.frontier-reading,.creator-reading{margin:38px 0}.frontier-reading>article{display:flex;align-items:center;justify-content:space-between;gap:26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}.frontier-reading h3{font-size:22px;margin:8px 0 12px}.frontier-reading p{font-size:15px;line-height:1.8;max-width:600px;margin:0 0 8px}.frontier-reading small{color:var(--muted);font-size:12px;line-height:1.75}.frontier-reading>article>div:last-child{display:flex;flex-direction:column;gap:12px;flex-shrink:0}
.creator-source-list{display:grid;grid-template-columns:1fr 1fr;column-gap:32px}.creator-source-list article{padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.creator-source-list strong{font-size:15px;line-height:1.6}.creator-source-list p{font-size:14px;line-height:1.9;color:var(--muted);margin:9px 0}.creator-source-list small{font-size:12px;line-height:1.7;color:var(--muted);display:block}.creator-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:12px}.creator-actions button{padding:0}
@media(max-width:700px){.reading-toolbar .reader-actions{flex-wrap:wrap;gap:13px}.reading-selection-bar{bottom:max(12px,env(safe-area-inset-bottom));padding:11px 10px}.reading-selection-bar button{font-size:13px;padding:8px 9px}.source-provenance-fields{grid-template-columns:1fr}.source-provenance-fields input,.source-provenance-fields select{font-size:16px}.frontier-reading>article{display:block}.frontier-reading>article>div:last-child{margin-top:18px;align-items:flex-start}.creator-source-list{grid-template-columns:1fr}.annotation-row p{font-size:16px}.reading-marks{scroll-margin-top:165px}.recommended-unit .unit-card{min-height:0}}
.creator-more{margin:8px 0 18px}.creator-more summary{cursor:pointer;color:var(--muted);font-size:13px;padding:12px 0}.creator-more[open] summary{margin-bottom:8px}

/* Learning state stays legible without scores, streaks, or another wall of cards. */
.learning-needs{margin:32px 0 38px;scroll-margin-top:100px}.learning-needs .section-heading{align-items:flex-start;gap:14px;margin-bottom:12px}.learning-needs .section-heading>span{font-size:12px;color:var(--muted);line-height:1.85;text-align:right}
.learning-need-row{display:grid;grid-template-columns:76px minmax(0,1fr) 16px;align-items:start;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.learning-need-row:hover strong{color:var(--accent)}.learning-need-row strong{display:block;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.learning-need-row small{display:block;font-size:12px;line-height:1.85;margin-top:5px;color:var(--muted)}.learning-need-kind{font-size:12px;line-height:1.8;color:var(--accent);padding-top:2px}.learning-need-row>span:last-child{color:var(--muted);line-height:1.8}.learning-needs-more summary{font-size:13px;color:var(--muted);padding:15px 0;cursor:pointer}.learning-needs-empty{font-size:13px;line-height:1.85;color:var(--muted);margin:0 0 30px}
.recall-reader{max-width:760px;margin:30px auto 65px}.recall-reader .study-reader-header{margin-bottom:32px}.recall-start{padding:20px 0;border-top:1px solid var(--line)}.recall-start p{font-size:16px;line-height:1.9;max-width:620px;margin:0 0 22px}.exercise-previous{border-top:1px solid var(--line);margin:12px 0;padding:14px 0}.exercise-previous summary{font-size:13px;cursor:pointer;color:var(--muted)}.exercise-previous .markdown-body{margin-top:18px}.recall-reader .study-reflection{padding-bottom:0}
@media(max-width:700px){.learning-needs .section-heading{display:block}.learning-needs .section-heading>span{display:block;text-align:left;margin-top:10px}.learning-need-row{grid-template-columns:60px minmax(0,1fr) 12px;gap:10px}.learning-need-row strong{font-size:14px}.recall-reader{margin-top:22px}.recall-reader .study-reader-header h1{font-size:26px}.recall-start p{font-size:16px}.learning-need-row small{font-size:12px}}
.review-result a{display:inline-block;margin:4px 18px 0 0;padding:4px 0;min-height:32px}
.prerequisite-help{font-size:12px;margin:12px 0 18px;color:var(--muted)}.prerequisite-help summary{cursor:pointer;padding:7px 0}.prerequisite-help>div{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0}.prerequisite-help button{font-size:13px;padding:6px 0;min-height:32px;text-align:left}.prerequisite-help p{font-size:12px;line-height:1.85;margin:8px 0}
#learning-needs,#learning-queue,#creator-reading{scroll-margin-top:100px}

/* Show the next action; supporting context opens only when it is needed. */
.plan-schedule{margin:4px 0 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.plan-schedule>summary{padding:14px 0;font-size:var(--type-body);font-weight:600;cursor:pointer}.plan-schedule>summary span{font-size:12px;font-weight:400;color:var(--muted);margin-left:12px}
.plan-browse{display:flex;flex-wrap:wrap;gap:8px 22px;margin:16px 0;font-size:var(--type-control)}.plan-browse a{padding:5px 0;min-height:32px}
.plan-method{border:0;padding:0;margin:12px 0;color:var(--muted)}.plan-method>summary,.library-scope>summary,.resource-reading-notes>summary,.note-context>summary,.assessment-help>summary{font-size:13px;line-height:1.8;padding:10px 0;cursor:pointer}
.library-scope{border-top:1px solid var(--line);margin:25px 0;color:var(--muted)}.library-scope p{font-size:13px;line-height:1.9;max-width:720px}
.resource-reading-notes{margin:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.resource-card-head{min-height:34px}.resource-grid:not(.list) .resource-card-head{justify-content:flex-end}
.journal-layout-empty{grid-template-columns:1fr}.journal-source-unit,.note-learning-actions{display:flex;flex-wrap:wrap;gap:10px 22px;padding:0 0 16px;margin:0 0 18px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8}
.note-learning-actions a,.note-learning-actions button{min-height:32px;padding:4px 0}.note-context{margin-top:24px;border-top:1px solid var(--line);color:var(--muted)}.note-context .markdown-body,.note-context .markdown-body p,.note-context .markdown-body li{font-size:var(--type-body);line-height:var(--text-leading)}.note-context .markdown-body{padding:12px 0}.note-reader .note-meta{font-size:var(--type-caption);line-height:var(--text-leading);padding:0;border:0;margin:0 0 12px}.note-reader .editor-title{margin-bottom:12px}
.question-record-actions{margin:16px 0 24px;gap:12px 18px}.assessment-help{margin-top:14px}.assessment-help p{margin-top:8px;font-size:13px;line-height:1.85}
.desk-recent{padding:24px 0;border-top:1px solid var(--line)}.recent-note{display:block;padding:12px 0;border-bottom:1px solid var(--line)}.recent-note strong{font-size:var(--type-body);line-height:var(--text-leading);font-weight:500;display:block;overflow-wrap:anywhere}.recent-note small{display:block;color:var(--muted);font-size:12px;line-height:var(--text-leading);margin-top:4px}
.assistant-dialog .chat-messages:empty{display:none}.assistant-dialog:has(.chat-messages:empty) .chat-composer{margin-top:20px}
@media(max-width:700px){.plan-schedule>summary{font-size:15px}.plan-browse{gap:8px 22px}.journal-view-tabs{gap:18px;flex-wrap:wrap}.journal-unit-filter{width:100%;font-size:12px!important;padding-top:0!important}.desk-recent{padding:20px 0}.note-learning-actions{gap:8px 18px}}
@media(max-width:560px){#main[data-route="journal"] .page-title .actions{grid-row:1;gap:12px}}
.radar-secondary,.account-info{margin:24px 0;border-top:1px solid var(--line)}.radar-secondary>summary,.account-info>summary,.discovery-method>summary,.question-suggestion-help>summary{font-size:13px;line-height:1.85;cursor:pointer;padding:14px 0;color:var(--muted)}
.radar-secondary[open]>summary{margin-bottom:14px}.discovery-method p,.account-info p{font-size:13px;line-height:1.9;max-width:740px;color:var(--muted)}.discovery-options{align-items:flex-start}.discovery-method{flex:1;min-width:0}.discovery-method>summary{padding:0}.discovery-status:empty{display:none}.knowledge-discovery{margin-bottom:28px}
.account-local{max-width:820px}.account-local .account-panel{padding:0}.account-local .account-panel h2{font-size:20px;margin:0 0 12px}.backup-metrics{flex-wrap:wrap;gap:20px 30px}.backup-metrics b{font-size:24px}.account-local .actions{flex-wrap:wrap}.account-info{margin-top:30px}
.assistant-layout-empty{grid-template-columns:minmax(0,1fr);max-width:820px;min-height:0;overflow:visible}.assistant-layout-empty .assistant-main{padding:24px 0}.assistant-layout-empty .chat-messages{min-height:0;padding:20px 0;max-height:none}.assistant-layout-empty .chat-welcome{margin:0;max-width:none;text-align:left}.assistant-layout-empty .chat-welcome h2{font-size:20px}.assistant-layout-empty .question-suggestions{margin:8px 0 0;max-width:none}.assistant-layout-empty .chat-composer{margin-top:8px}
@media(max-width:700px){.discovery-options{display:block}.discovery-method{margin-top:12px}.backup-metrics{gap:16px 24px}.account-local .actions .button{font-size:13px}.assistant-layout-empty .assistant-context{flex-wrap:wrap}.assistant-layout-empty .assistant-status{margin-left:0}.assistant-layout-empty .assistant-foot{font-size:12px}}
.source-extra{margin:16px 0}.source-extra>summary,.member-handoff>summary{font-size:13px;padding:10px 0;color:var(--muted);cursor:pointer}.member-handoff{padding:14px 0;margin-top:20px;border-radius:0;background:transparent}.member-handoff>summary{color:var(--ink)}
.plan-today-row p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.resource-grid:not(.list) .resource-card{position:relative;min-height:0;padding:18px 0}.resource-grid:not(.list) .resource-card p{flex-grow:0;margin:0 0 12px}.resource-grid:not(.list) .resource-card .tags{margin:0 0 10px;gap:10px}.resource-grid:not(.list) .resource-card footer{flex-direction:column;align-items:flex-start;border:0;padding:0;gap:4px}.resource-grid:not(.list) .resource-card footer>span{max-width:100%}.resource-grid:not(.list) .resource-card-head{position:absolute;top:16px;right:0;margin:0}.resource-grid:not(.list) .resource-card-head .save-button{position:static;width:34px;height:34px}.resource-grid:not(.list) .resource-card h3{padding-right:45px}
@media(max-width:700px){.resource-catalog .filter-bar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.resource-catalog .filter-button{flex-shrink:0;white-space:nowrap}.resource-grid:not(.list) .resource-card-head{top:18px}}
.learning-needs-sources{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.learning-needs-sources>summary{cursor:pointer;font-size:14px;padding:18px 0;line-height:1.8}.learning-needs-sources>summary span{font-size:12px;color:var(--muted);margin-left:12px}.learning-needs-sources>.text-link{display:inline-block;font-size:13px;padding:16px 0}

/* Page headers stay on one row; the task starts immediately below. */
#main[data-route="plan"] .desk-header{align-items:center}#main[data-route="plan"] .daily-budget{min-width:150px;padding-top:0;font-size:var(--type-caption)}.daily-budget select{font-size:var(--type-control)}
#main[data-route="library"] .page-title.row{display:flex;flex-direction:row;align-items:center;gap:16px}#main[data-route="library"] .page-title.row .actions{width:auto;flex-wrap:wrap;justify-content:flex-end;gap:12px}
@media(max-width:560px){:root{--type-title:26px}#main[data-route="plan"] .desk-header{display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:12px}#main[data-route="plan"] .desk-header h1{margin:0 0 6px}#main[data-route="plan"] .daily-budget{min-width:0;max-width:none;padding-top:0}#main[data-route="plan"] .daily-budget select{width:100%;font-size:16px}#main[data-route="library"] .page-title h1{font-size:var(--type-title);margin:0}#main[data-route="library"] .page-title .actions{gap:8px}#main[data-route="library"] .page-title .actions a{font-size:13px}#main[data-route="journal"] .page-title h1{font-size:var(--type-title)}}
