/* Notebook refresh: hierarchy and spacing without changing the palette. */
body main{padding-top:28px}
body main>header,.dashboard-header{position:relative;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:24px}
body main>header::after,.dashboard-header::after{content:"";position:absolute;bottom:-2px;left:0;width:48px;height:3px;border-radius:4px;background:var(--amber)}
body h1,body header h1{font-size:clamp(1.8rem,3.5vw,2.65rem);letter-spacing:-.035em}
body header p{margin:8px 0;max-width:65ch}
body .planner-clock{margin-bottom:8px;font-size:.72rem}
body .dashboard-header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 20px}
.dashboard-header>.eyebrow,.dashboard-header>h1,.dashboard-header>p{grid-column:1}
.dashboard-header>.button{grid-column:2;grid-row:2/4;justify-self:end}
body .focus-card{padding:22px 26px;border-left:3px solid var(--blue)}
body .focus-card .task-overview{padding:16px 0;min-height:0}
body .focus-card .task-overview-heading h2{font-size:clamp(1.25rem,2.4vw,1.7rem);margin:6px 0 10px}
body .task-overview .task-deadline{margin:8px 0 14px}
body .streamlined-task{padding:18px 78px 18px 22px;margin-bottom:10px}
body .streamlined-task h3{margin:6px 0 8px;font-size:1.08rem;max-width:70ch}
body .streamlined-task p{margin:5px 0;font-size:.88rem}
body .streamlined-task .actions{margin-top:14px;gap:8px;display:flex;flex-wrap:wrap}
body .streamlined-task .actions form{margin:0}
body .task-tier{font-size:.7rem;letter-spacing:.035em}
body .streamlined-task h3 a,body .task-overview-heading h2 a{text-decoration:none}
body .streamlined-task h3 a:hover,body .task-overview-heading h2 a:hover{text-decoration:underline}
body .task-menu-panel{padding:12px 16px}
body .task-menu-panel>a{padding:9px 0}
body .task-menu-panel .eyebrow{display:none}
body .task-entry>summary{font-weight:650;padding:4px 0}
body .entry-intro{font-size:.9rem;color:var(--muted);margin:14px 0 20px}
body #task-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
body #task-form>label:first-of-type,body #task-form>.more-options,body #task-form>.schedule-options,body #task-form>.due-shortcuts,body #task-form>button{grid-column:1/-1}
body #task-form>label{margin:0}
body #task-form>button{justify-self:start}
body #task-form .more-options,body #task-form .schedule-options,body #task-form .custom-subject{align-self:start;padding:10px 0;border-top:1px solid var(--line)}
body #task-form details label{display:block;margin-top:12px}
body #task-form details summary{font-size:.9rem}
body .settings-form{display:block}
body .settings-group{margin:0 0 12px;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
body .settings-group>summary{padding:20px 24px;font-size:1.05rem;font-weight:650;color:var(--ink)}
body .settings-group[open]>summary{border-bottom:1px solid var(--line)}
body .settings-group-body{padding:20px 24px}
body .settings-group-body>p:first-child{margin-top:0;color:var(--muted)}
body .settings-toolbar{border-radius:10px;gap:16px}
body .insights-disclosure>summary{font-weight:650}
body .insights-disclosure[open]>summary{margin-bottom:20px}
body .course-card,body .term-card{padding:20px}
body .term-course{padding:18px 0}
body .term-course h3{margin:8px 0}
body .term-course p{margin:8px 0}
body .course-actions{gap:12px}
body .filter-panel{padding:20px;border-radius:12px}
body .filter-panel label{margin-bottom:14px}
body .college-context{padding:18px 22px}
body .college-context h2{font-size:1.1rem}
body .college-context p{font-size:.9rem;margin:6px 0}
body .account-grid article{box-shadow:none}
body .ai-planner .panel{padding:24px}
body .ai-steps>li{padding:12px 0}
body .ai-confirm{font-weight:400}
body .settings-group-body .fields{gap:18px}
@media(min-width:900px){body .explorer-layout{gap:24px;grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:680px){
 body main{padding:22px 16px 48px}
 body .dashboard-header{display:block}
 body .dashboard-header>.button{margin-top:12px}
 body .focus-card{padding:18px}
 body .streamlined-task{padding:16px 68px 16px 16px}
 body #task-form{grid-template-columns:1fr}
 body #task-form>*{grid-column:1!important}
 body .settings-group>summary,body .settings-group-body{padding:16px}
 body .settings-toolbar>span{display:none}
 body .ai-planner .panel{padding:16px}
}
@media(prefers-reduced-motion:no-preference){.settings-group>summary,.task-entry>summary{transition:color .15s}.settings-group>summary:hover,.task-entry>summary:hover{color:var(--blue)}}

body .queue-tools{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
body .queue-options{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:12px 0 20px}
body .queue-options form{margin:0;flex:0 1 300px}
body .queue-options label{display:flex;align-items:center;gap:12px;white-space:nowrap}
body .queue-options select{margin:0}
body .queue-help{font-size:.88rem}
body .focus-card .priority-item:not(:first-child) h2{font-size:1.05rem}
body .focus-card .priority-item:not(:first-child) .task-overview-meta{font-size:.82rem}
body .focus-card .priority-item:not(:first-child){padding:12px 0}
@media(max-width:680px){body .queue-tools{width:100%;justify-content:space-between}body .queue-tools .view-tabs{width:auto}body .queue-options form{flex:1 1 100%}}

/* Consistent paper surfaces. Color identifies actions and status, not decoration. */
:root{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--space-5:48px}
body :is(.focus-card,.course-card,.year-card,.term-card,.filter-panel,.account-sheet,.product-preview,.storage-choice,.onboarding-section,.course-group-heading){border:1px solid var(--line);background:var(--white);backdrop-filter:none}
body .grid>.card{border:1px solid var(--line)}
body :is(.course-card,.term-card,.filter-panel,.focus-card,.product-preview,.storage-choice){padding:var(--space-3)}
body .hero{padding:var(--space-5) 0;gap:var(--space-5);min-height:0}
body .hero h1{font-family:inherit;font-style:normal;font-weight:650;font-size:clamp(2.8rem,5.4vw,4.4rem);line-height:1.08;letter-spacing:-.045em;color:var(--ink);margin:0 0 var(--space-3)}
body .hero .lede{margin:0;max-width:48ch}
body .hero-actions{gap:var(--space-2);margin:var(--space-3) 0;flex-wrap:wrap}
body .product-preview .preview-top strong{font-family:inherit;font-weight:650;font-size:1.2rem;line-height:1.4}
body .planning-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:var(--space-5);padding:var(--space-5) 0;border-top:1px solid var(--line)}
body .planning-overview h2{font-size:1.6rem;line-height:1.3;max-width:25ch;margin:0}
.planning-overview dl{margin:0}.planning-overview dl>div{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}
.planning-overview dl>div:first-child{padding-top:0}.planning-overview dt{font-weight:650;font-size:1.05rem;color:var(--ink)}
.planning-overview dd{margin:var(--space-1) 0 0;color:var(--muted);max-width:62ch;line-height:1.6}
body .storage-choice{margin:0 0 var(--space-4)}
body .storage-choice h2{margin-top:0}
body :is(button,.button,.primary-action,.secondary-action):hover{opacity:1}
body #welcome-dialog{border:1px solid var(--line)}
body #welcome-dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:760px){body .hero{padding:var(--space-4) 0;gap:var(--space-4)}body .planning-overview{grid-template-columns:1fr;gap:var(--space-3);padding:var(--space-4) 0}body .planning-overview h2{max-width:none}body .product-preview{margin-right:var(--space-1)}}
@media(max-width:680px){body :is(.focus-card,.course-card,.term-card,.filter-panel,.storage-choice){padding:var(--space-2)}}

/* Reflow the space formerly reserved for badges and decorative artwork. */
body main>header{padding-bottom:16px;margin-bottom:20px;gap:16px}
body main>header::after,body .dashboard-header::after{content:none}
body main>header h1{margin-top:0;margin-bottom:8px}
body main>header p:last-child{margin-bottom:0}
body .dashboard-header{grid-template-columns:minmax(0,1fr) auto;gap:4px 20px}
body .dashboard-header>.button{grid-column:2;grid-row:1/3}
body .dashboard-header>h1,body .dashboard-header>p{grid-column:1}
body .focus-card .dashboard-views{margin:0 0 16px}
body .focus-section-title{font-size:.95rem;margin:0;padding-bottom:12px;border-bottom:1px solid var(--line)}
body .focus-card .priority-list{margin-top:0;margin-bottom:12px}
body .task-primary-actions,body .task-primary-actions form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}
body .task-primary-actions button{width:auto}
body.notebook-dashboard .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;margin-top:20px}
body.notebook-dashboard .grid>.card{grid-column:auto;grid-row:auto}
body .illustrated-title:empty,body .feature-art:empty{display:none}
@media(max-width:680px){body .dashboard-header{display:block}body.notebook-dashboard .grid{grid-template-columns:1fr}body main>header{gap:12px}}

/* Compact page endings and align the screenshot-reported dashboard seams. */
body.fieldnotes-landing .planning-overview{display:block;padding:28px 0}
body.fieldnotes-landing .planning-overview h2{max-width:none;margin-bottom:20px}
body.fieldnotes-landing .planning-overview dl>div{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.5fr);gap:24px;padding:18px 0}
body.fieldnotes-landing .planning-overview dd{margin:0;max-width:none}
body.fieldnotes-landing main{padding-bottom:24px}
body.fieldnotes-landing .storage-choice{margin-bottom:0}
body.fieldnotes-landing .legal-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 24px;margin-top:0;padding:16px 24px}
body.fieldnotes-landing .legal-footer nav{padding:0;margin:0;gap:8px 20px;justify-content:flex-start}
body.fieldnotes-landing .legal-footer #welcome-reopen{margin:0;padding:8px 0;border:0;box-shadow:none;background:none;text-decoration:underline;min-height:44px}
body.notebook-dashboard .grid{align-items:stretch}
body.notebook-dashboard .grid>.card:last-child:nth-child(odd){grid-column:1/-1}
body .focus-section-title{max-width:none;width:100%}
body .focus-card .priority-item:not(:first-child){border-bottom:0}
body .focus-card .priority-list{border-bottom:1px solid var(--line);padding-bottom:12px}
body #orientation-reopen{margin-top:24px}
@media(max-width:680px){body.fieldnotes-landing .planning-overview dl>div{grid-template-columns:1fr;gap:6px}body.fieldnotes-landing .legal-footer{gap:8px 16px;padding:16px}}

/* Keep the familiar paper grid, but let today's recommended work lead. */
body.notebook-dashboard{background-image:linear-gradient(rgba(24,35,33,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(24,35,33,.018) 1px,transparent 1px)}
[data-theme="dark"] body.notebook-dashboard{background-image:linear-gradient(rgba(196,208,202,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(196,208,202,.018) 1px,transparent 1px)}
[data-theme="high-contrast"] body.notebook-dashboard{background-image:none}
body.notebook-dashboard .dashboard-up-next{margin:22px 0 20px}
body.notebook-dashboard .dashboard-up-next-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:1px solid var(--line)}
body.notebook-dashboard .dashboard-up-next-heading h2{margin:0;font-family:inherit;font-size:1.15rem;font-weight:650;line-height:1.35;letter-spacing:-.02em}
body.notebook-dashboard .dashboard-up-next-heading a{color:var(--blue);font-size:.85rem;text-underline-offset:4px}
body.notebook-dashboard .dashboard-up-next-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid var(--line)}
body.notebook-dashboard .dashboard-up-next-item:hover .dashboard-up-next-copy strong{text-decoration:underline;text-underline-offset:3px}
body.notebook-dashboard .dashboard-up-next-mark{width:9px;height:9px;border-radius:50%;background:var(--blue)}
body.notebook-dashboard .dashboard-up-next-copy{display:grid;gap:3px;min-width:0}
body.notebook-dashboard .dashboard-up-next-copy strong{overflow-wrap:anywhere}
body.notebook-dashboard .dashboard-up-next-copy small{color:var(--muted);line-height:1.45}
body.notebook-dashboard .dashboard-up-next-arrow{color:var(--muted);font-size:1.2rem}
body.notebook-dashboard .dashboard-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:18px 0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.notebook-dashboard .dashboard-summary>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 16px;border:0;border-right:1px solid var(--line)}
body.notebook-dashboard .dashboard-summary>div:last-child{border-right:0}
body.notebook-dashboard .dashboard-summary dt{font-size:.78rem}
body.notebook-dashboard .dashboard-summary dd{color:var(--ink);font-size:1.25rem;font-variant-numeric:tabular-nums;text-align:left}
body.notebook-dashboard .dashboard-summary dd small{display:block;margin-top:2px;color:var(--muted);font-size:.72rem;font-weight:400}
@media(max-width:680px){body.notebook-dashboard .dashboard-up-next{margin-top:18px}body.notebook-dashboard .dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body.notebook-dashboard .dashboard-summary>div:nth-child(2){border-right:0}body.notebook-dashboard .dashboard-summary>div:nth-child(n+3){border-top:1px solid var(--line)}}

/* Keep dashboard navigation outside the recommendation surface. */
body.notebook-dashboard .dashboard-views{display:flex;justify-content:flex-end;gap:8px;margin:0 0 10px}
body.notebook-dashboard .focus-card .dashboard-views{margin:0}
body.notebook-dashboard .focus-card-today{padding-bottom:18px}

/* Make routine task entries scan like a list while retaining their controls. */
body main.task-workspace .streamlined-task{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 20px;margin:0;padding:14px 68px 14px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
body main.task-workspace .streamlined-task>div:first-child{min-width:0}
body main.task-workspace .streamlined-task .task-tier{margin-bottom:4px}
body main.task-workspace .streamlined-task h3{margin:0 0 4px;font-size:1rem;line-height:1.4}
body main.task-workspace .streamlined-task p{margin:3px 0;font-size:.82rem}
body main.task-workspace .streamlined-task .task-deadline{font-size:.84rem}
body main.task-workspace .streamlined-task .actions{grid-column:2;grid-row:1/5;display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0}
body main.task-workspace .streamlined-task .actions button{width:auto;min-height:38px;padding:8px 12px}
body main.task-workspace .streamlined-task>.task-menu{top:50%;right:4px;transform:translateY(-50%)}
body .planned-course-detail>summary{padding:4px 0;font-weight:650;color:var(--ink)}
body .planned-course-detail small{display:block;margin:3px 0 5px;color:var(--muted);line-height:1.4}
body .planned-course-detail .course-task-link{font-size:.76rem}
@media(max-width:680px){body main.task-workspace .streamlined-task{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 48px 12px 0}body main.task-workspace .streamlined-task .actions{grid-column:1;grid-row:auto;justify-content:flex-start}body main.task-workspace .streamlined-task>.task-menu{right:0}}
