/* Stage 1: mobile shell and an action-first overview. Desktop retains its sidebar. */
.mobile-account-header,.mobile-account-nav,.mobile-selection-tabs{display:none}
.intake-section-picker{display:none}
.mobile-more-page{max-width:680px}
.mobile-page-intro{font-size:14px;margin:0 0 20px;color:var(--muted)}
.mobile-more-list{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.mobile-more-list>a{display:flex;align-items:center;gap:14px;min-height:80px;padding:16px;text-decoration:none;color:var(--ink)}
.mobile-more-list>a+a{border-top:1px solid var(--line)}
.mobile-more-list>a:hover{background:#f0f4e9}
.mobile-more-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#edf2e5;color:var(--green)}
.mobile-more-icon svg{width:22px;height:22px}
.mobile-more-list strong{display:block;font-size:15px;font-weight:550}
.mobile-more-list small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--muted)}
.mobile-home-link{display:inline-flex;align-items:center;gap:12px;min-height:48px;margin-top:16px;font-size:14px;color:var(--green)}
.overview-details .next-action .next-action-heading{margin:0 0 12px}
.overview-details .next-action-heading .eyebrow{font-size:10px;letter-spacing:.08em;color:#63765b;line-height:1.5}
.overview-details .next-action .next-action-title{margin:0 0 12px;font-size:24px;line-height:1.25;letter-spacing:-.03em}
.overview-details .next-action .actions{justify-content:center;align-items:center;gap:8px 18px}
.overview-dates .section-head{justify-content:flex-start;align-items:center;gap:10px}
.overview-dates-icon{display:grid;place-items:center;flex:none;color:#718566}
.overview-dates-icon svg{display:block;width:21px;height:21px}
.overview-dates .section-head h2{margin:0}
.overview-dates .add-date{text-align:center;margin-top:14px}
.overview-dates .overview-date-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #bdcbbb;border-radius:7px;color:var(--green);font-size:13px;line-height:1.4;cursor:pointer}
.overview-date-toggle::before{content:'+';font-size:18px;line-height:1}
.add-date[open]>.overview-date-toggle::before{content:'−'}
.overview-date-toggle:focus-visible{outline:2px solid #6c8967;outline-offset:2px}
.overview-dates #deadline-form{text-align:left;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
body .overview-dates #deadline-form>.btn{align-self:center!important;margin-left:auto;margin-right:auto}
@media(max-width:680px){
 :root{--mobile-nav-height:calc(68px + env(safe-area-inset-bottom,0px));--mobile-header-height:calc(60px + env(safe-area-inset-top,0px))}
 body.has-account-sidebar.in-account .account-layout{margin:0;padding:calc(var(--mobile-header-height) + 18px) 18px calc(var(--mobile-nav-height) + 24px)}
 body.has-account-sidebar .account-sidebar,body.has-account-sidebar .account-drawer-trigger{display:none}
 .mobile-account-header{position:fixed;inset:0 0 auto;z-index:42;display:flex;align-items:center;justify-content:space-between;gap:12px;height:var(--mobile-header-height);padding:env(safe-area-inset-top,0px) 12px 0;background:var(--paper);border-bottom:1px solid var(--line)}
 .mobile-account-header>div{display:flex;align-items:center;gap:8px;min-width:0}
 .mobile-account-title{font-size:17px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mobile-account-header a,.mobile-chat-history{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--green);text-decoration:none}
 .mobile-account-back{font-size:24px}
 .mobile-account-brand{font-size:29px;letter-spacing:-.07em;font-weight:750}
 .mobile-account-brand>span{font-size:18px;margin-left:1px}
 .mobile-account-profile svg{width:22px;height:22px}
 .mobile-chat-history{padding:8px;font:inherit;font-size:13px;background:transparent;border:0;border-radius:8px}
 .mobile-account-nav{position:fixed;inset:auto 0 0;z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--mobile-nav-height);padding:6px max(6px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(6px,env(safe-area-inset-left,0px));background:var(--paper);border-top:1px solid var(--line)}
 .mobile-account-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:48px;color:#63735e;text-decoration:none;font-size:11px;line-height:1.3;border-radius:10px}
 .mobile-tab-icon{display:grid;place-items:center;width:46px;height:29px;border-radius:16px}
 .mobile-tab-icon svg{display:block;width:21px;height:21px}
 .mobile-account-nav>a[aria-current]{color:var(--green);font-weight:600}
 .mobile-account-nav>a[aria-current] .mobile-tab-icon{background:#dfe9d2}
 .mobile-account-nav a:focus-visible,.mobile-account-header a:focus-visible,.mobile-chat-history:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
 .mobile-keyboard-open .mobile-account-nav{display:none}
 body.mobile-keyboard-open.has-account-sidebar.in-account .account-layout{padding-bottom:24px}
 .account-content>.account-breadcrumb{display:none}
 .mobile-selection-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:18px;border-radius:12px;background:#e9eee2}
 .mobile-selection-tabs>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px;font-size:14px;text-decoration:none;color:var(--muted);border-radius:9px}
 .mobile-selection-tabs>a[aria-current]{background:#fff;color:var(--green);font-weight:550;box-shadow:0 1px 4px #123f3508}
 .account-layout[data-mobile-page=overview]>.account-content{display:flex;flex-direction:column;gap:16px}
 [data-mobile-page=overview] .dashboard-goal{order:0;display:block;margin:0;padding:0;background:transparent;color:var(--ink);border:0;border-radius:0;min-height:0}
 [data-mobile-page=overview] .dashboard-goal .eyebrow,[data-mobile-page=overview] .dashboard-goal .btn,[data-mobile-page=overview] .goal-art,[data-mobile-page=overview] .stat-grid{display:none}
 [data-mobile-page=overview] .dashboard-goal[data-has-answers=false]{display:none}
 [data-mobile-page=overview] .dashboard-goal h2{font-size:16px;line-height:1.4;margin:0 0 4px;letter-spacing:-.02em}
 [data-mobile-page=overview] .dashboard-goal p{font-size:12px;line-height:1.6;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 [data-mobile-page=overview] .mobile-today-details,[data-mobile-page=overview] .mobile-today-details>.dashboard-stack{display:contents}
 [data-mobile-page=overview] .mobile-today-next{order:1;padding:20px!important;border-color:#d3deca;background:#f0f4e9;border-radius:14px}
 [data-mobile-page=overview] .next-action .section-head{flex-direction:row;align-items:center;gap:10px;margin-bottom:16px}
 [data-mobile-page=overview] .next-action .section-head h2{font-size:13px;font-weight:500;letter-spacing:0}
 [data-mobile-page=overview] .next-action h3{font-size:25px;line-height:1.2;letter-spacing:-.035em}
 [data-mobile-page=overview] .next-action>p{font-size:14px;line-height:1.65}
 [data-mobile-page=overview] .next-action .actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;margin-top:18px}
 body [data-mobile-page=overview] .next-action .actions>.btn{align-self:center!important}
 [data-mobile-page=overview] .next-action .btn{justify-content:center;width:100%;min-height:48px;font-size:14px;background:transparent;color:var(--green);border-color:var(--green)}
 [data-mobile-page=overview] .next-action .text-link{display:flex;justify-content:center;align-items:center;min-height:44px;border:0;font-size:13px}
 [data-mobile-page=overview] .next-action>p.micro{font-size:12px;line-height:1.6;margin-top:12px}
 [data-mobile-page=overview] .mobile-today-dates{order:2}
 [data-mobile-page=overview] .overview-questionnaire{order:3}
 [data-mobile-page=overview] .overview-saved{order:4}
 [data-mobile-page=overview] .overview-materials{order:5}
 [data-mobile-page=overview] .overview-saved[data-empty=true],[data-mobile-page=overview] .overview-questionnaire[data-has-answers=false]{display:none}
 [data-mobile-page=overview] .overview-details .panel:not(.next-action){padding:18px}
 [data-mobile-page=overview] .overview-details .section-head h2{font-size:18px}
 [data-mobile-page=overview] .overview-details .overview-empty-copy,[data-mobile-page=overview] .overview-questionnaire .micro{font-size:13px}
 [data-mobile-page=overview] .overview-questionnaire .text-link,[data-mobile-page=overview] .add-date>summary{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 [data-mobile-page=overview] .overview-details .section-head{flex-direction:row;align-items:center;gap:12px}
 [data-mobile-page=overview] .overview-details .next-action .next-action-heading{margin-bottom:10px}
 [data-mobile-page=overview] .overview-details .next-action .next-action-title{font-size:23px;margin-bottom:10px}
 [data-mobile-page=overview] .overview-dates .section-head{margin-bottom:10px;gap:9px}
 [data-mobile-page=overview] .overview-dates .overview-empty-copy{font-size:13px;line-height:1.6}
 /* The history drawer is limited to conversations; primary sections live in the bottom bar. */
 body.has-account-sidebar .account-layout[data-mobile-page=assistant] .account-sidebar.is-expanded{display:flex}
 [data-mobile-page=assistant] .account-sidebar nav,[data-mobile-page=assistant] .sidebar-account{display:none!important}
 body.has-account-sidebar.in-account .account-layout:has(.chat-screen){display:flex;flex-direction:column;height:100dvh;padding:var(--mobile-header-height) 0 var(--mobile-nav-height)}
 .account-content:has(>.chat-screen){flex:1;height:auto;min-height:0}
 .chat-header{padding-left:18px;min-height:48px}
 .chat-header h1{font-size:15px}
 body.mobile-keyboard-open.has-account-sidebar.in-account .account-layout:has(.chat-screen){height:var(--mobile-viewport-height,100dvh);padding-bottom:0}
 /* Mobile account actions use outlines, including hover/pressed states. */
 body.in-account :is(.account-layout button,.account-layout .btn,dialog button,dialog .btn){background:transparent!important;box-shadow:none!important}
 body.in-account :is(.account-layout .btn,dialog .btn):not(:disabled){color:var(--green)!important;border-color:var(--green)}
 .mobile-account-nav>a[aria-current] .mobile-tab-icon{background:transparent}
 .mobile-account-nav>a{box-shadow:none}
 .mobile-account-nav>a>span{transform:translateY(0);transition:transform .18s ease}
 .mobile-account-nav>a[aria-current]{box-shadow:none}
 .mobile-account-nav>a[aria-current]>span{transform:translateY(-4px)}
 .mobile-selection-tabs{background:transparent;padding:0;border-bottom:1px solid var(--line);border-radius:0}
 .mobile-selection-tabs>a[aria-current]{background:transparent;box-shadow:inset 0 -2px var(--green);border-radius:0}
 /* A vertical section picker replaces the horizontally scrolling questionnaire rail. */
 .intake-top{margin-bottom:16px}
 .intake-top>.text-link,.intake-top>h2{display:none}
 .intake-top>p{margin:0;font-size:14px;line-height:1.65}
 .intake-progress{margin:16px 0 20px}
 .intake-progress>span{font-size:12px;margin-bottom:8px}
 .intake-progress .progress{margin:0}
 .intake-layout{gap:16px;min-width:0}
 .intake-steps.intake-desktop-steps{display:none}
 .intake-section-picker{display:block;min-width:0;margin:0;border:1px solid var(--line);border-radius:12px}
 .intake-section-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:14px 16px;list-style:none;cursor:pointer;color:var(--green)}
 .intake-section-picker>summary::-webkit-details-marker{display:none}
 .intake-section-picker>summary>span{min-width:0}
 .intake-section-picker>summary small{display:block;font-size:12px;line-height:1.5;color:var(--muted)}
 .intake-section-picker>summary strong{display:block;margin-top:4px;font-size:15px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}
 .intake-section-picker>summary svg{flex:none;transition:transform .15s}
 .intake-section-picker[open]>summary svg{transform:rotate(180deg)}
 .intake-section-picker[open]>summary{border-bottom:1px solid var(--line)}
 .intake-section-picker>summary:focus-visible,.intake-section-list button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
 .intake-section-list{display:grid;gap:4px;padding:8px;counter-reset:intake-section;min-width:0}
 .intake-section-list button{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:10px;row-gap:3px;align-items:center;min-width:0;width:100%;min-height:64px;padding:10px 8px;text-align:left;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;cursor:pointer}
 .intake-section-list button[data-intake-step]::before{counter-increment:intake-section;content:counter(intake-section);grid-row:1/3;display:grid;place-items:center;align-self:center;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;font-size:12px;color:var(--muted)}
 .intake-section-list button>span{font-size:14px;line-height:1.45;font-weight:500;overflow-wrap:anywhere}
 .intake-section-list button>small{grid-column:2;font-size:12px;line-height:1.5;color:var(--muted)}
 .intake-section-list button[aria-current=step]{border-color:var(--green)}
 .intake-section-list button[aria-current=step]::before{border-color:var(--green);color:var(--green)}
 .intake-section-list button:disabled{opacity:.5;cursor:default}
 .intake-section-list .intake-all{display:block;min-height:48px;margin-top:4px;border-top:1px solid var(--line);border-radius:0;color:var(--green);font-size:13px;text-align:center}
 .intake-editor,.intake-editor>h3{scroll-margin-top:calc(var(--mobile-header-height) + 16px)}
}
@media(prefers-reduced-motion:reduce){.intake-section-picker>summary svg,.mobile-account-nav>a>span{transition:none}}

/* Account search and a focused plan; shared by desktop and mobile. */
.account-search-intro h1{font-size:26px;line-height:1.25;margin:0 0 12px}.account-search-intro>p{font-size:14px;color:var(--muted)}
.account-search-type{display:grid;gap:8px;margin:20px 0;font-size:14px}.account-search-type select{min-height:46px;width:100%;max-width:480px}
.account-search-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:24px}.account-search-form label{display:grid;gap:8px;font-size:13px}.account-search-form input{width:100%;min-width:0;min-height:46px}.account-search-form>.btn{min-height:var(--control-height)!important;margin:0}
.account-offers{display:grid;gap:16px}.account-offer{min-width:0}.account-offer>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.account-offer h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}.account-offer p{overflow-wrap:anywhere}.account-offer-meta{font-size:13px;color:var(--muted)}.account-offer-save{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;background:transparent;color:var(--green);border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px;cursor:pointer}.account-offer-save[aria-pressed=true]{background:#edf2e5;border-color:var(--green)}
.account-search-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.account-saved-offers{margin-bottom:24px}.account-saved-offers>.section-head{flex-wrap:wrap}
.account-plan-tasks .task-detail>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:12px 0;font-weight:550;cursor:pointer}.account-plan-tasks .task-detail>summary small{flex:none;font-size:11px;font-weight:400;color:var(--muted)}.account-plan-tasks .task{min-height:48px;margin:12px 0;cursor:pointer}.account-plan-tasks .task-detail .actions{margin:12px 0}.account-plan-tasks .task-detail>p{font-size:14px}.account-plan-tasks .task-detail+.task-detail{border-top:1px solid var(--line)}
.plan-summary h1{font-size:28px;line-height:1.25;margin:12px 0}.plan-summary progress{width:100%;height:7px;accent-color:var(--green)}.account-content>.plan-summary{margin-bottom:20px}.account-analysis>summary{cursor:pointer;min-height:48px;display:grid;gap:6px}.account-analysis>summary small{font-size:13px;color:var(--muted)}.account-analysis .personal-analysis{border:0;padding:20px 0 0;margin:0;box-shadow:none}.account-analysis{margin-top:20px}.account-content>.intake-plan-card{margin-top:20px}.account-help-start .actions{flex-wrap:wrap}.account-help-start h1{font-size:26px;line-height:1.25}
@media(max-width:680px){
 .account-search-form{grid-template-columns:minmax(0,1fr)}.account-search-form>.btn{justify-self:stretch;width:100%}.account-search-intro h1{font-size:23px}.account-search-type select{max-width:none}.account-offer{padding:18px}.account-offer h2{font-size:19px}.account-offer .btn{min-height:44px!important}
 body .account-content .actions>.btn:not(.secondary),body .account-content .intake-actions>button[type=submit],body .account-content #document-upload>button[type=submit]{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important;min-height:var(--control-height)!important}
 .account-content .faq summary,.account-content .task-detail summary,.account-content>.intake-plan-card .btn,.account-content .text-link,.account-content .text-button{min-height:44px;display:inline-flex;align-items:center}
 .account-content .faq summary,.account-content .task-detail summary{display:flex}.account-plan-tasks .task-detail>summary{align-items:flex-start}.account-plan-tasks .task-detail>summary small{max-width:70px;text-align:right}.plan-summary h1{font-size:24px}.plan-summary .plan-edit{float:none;margin:0;min-height:44px}
 [data-mobile-page=plan]>.account-content>.content-context{display:none}
 [data-mobile-page=plan] .intake-plan-card{padding:18px}.account-content .panel.account-analysis{padding:18px}
 [data-mobile-page=plan] .account-plan-tasks{padding:18px}.account-help-start{padding:20px}.account-help-start .actions{display:grid}.account-help-start .actions>a{justify-content:center}
 [data-mobile-page=plan]>.account-content>.account-plan-tasks{margin-top:18px}
 [data-mobile-page=plan] .task-detail{padding:0}
 .intake-top{margin-bottom:12px}.intake-top>a,.intake-top>h2{display:none}.intake-top>p{font-size:13px;line-height:1.5;margin:0}.intake-progress{margin-bottom:12px}.intake-section-picker{margin-bottom:12px}.intake-section-picker>summary{padding:12px 14px!important;min-height:64px}.intake-editor{padding:18px!important}.intake-editor>.micro,.intake-editor>h3{display:none}.intake-editor>.intake-hint{font-size:13px;line-height:1.5;margin:0 0 16px}.intake-field-group>h3{font-size:15px;margin:0 0 14px}.intake-actions{gap:8px}.intake-actions>button[type=submit]{order:0}.intake-actions>[data-intake-back]{order:1}.intake-actions>[data-intake-summary]{order:2}
}
@media(max-width:680px){body .account-content .btn{font-size:var(--text-control)!important}.account-content input:not([type=checkbox]):not([type=radio]),.account-content select,.account-content textarea{font-size:16px}.account-quick-start{order:2}.account-quick-start h2{font-size:18px}.account-offer-sources{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px}}
.account-search-type select,.account-search-form input{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:11px 12px;font:inherit;line-height:1.4}.account-search-type select:focus-visible,.account-search-form input:focus-visible{outline:2px solid var(--green);outline-offset:2px}.account-search-form>.btn{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}.account-search-intro{margin-bottom:20px}.plan-summary progress::-webkit-progress-bar{background:#d9e2d0;border-radius:8px}.plan-summary progress::-webkit-progress-value{background:var(--green);border-radius:8px}
@media(max-width:680px){.account-content .intake-top>a,.account-content .intake-top>h2{display:none}.account-search-type select,.account-search-form input{font-size:16px}}
@media(max-width:680px){body .account-content .account-search-form>.btn:not(.secondary){background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}[data-mobile-page=overview] .overview-dates[data-empty=true]{order:6;background:transparent;border:0;box-shadow:none;padding:0!important}[data-mobile-page=overview] .overview-dates[data-empty=true]>.section-head,[data-mobile-page=overview] .overview-dates[data-empty=true]>.overview-empty-copy{display:none}[data-mobile-page=overview] .overview-dates[data-empty=true]>.add-date{margin:0}.overview-dates[data-empty=true] .add-date[open]{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}}

/* The chosen goal remains editable from the mobile home, without a large CTA. */
.dashboard-goal .goal-edit{display:inline-flex;align-items:center;min-height:36px;margin-top:12px;font-size:var(--text-control,13px);color:inherit;text-underline-offset:4px}
@media(max-width:680px){
 [data-mobile-page=overview] .dashboard-goal>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
 [data-mobile-page=overview] .dashboard-goal h2{grid-column:1;grid-row:1;margin:0}
 [data-mobile-page=overview] .dashboard-goal .goal-edit{grid-column:2;grid-row:1;display:inline-flex;min-height:44px;margin:0;color:var(--green);white-space:nowrap;font-size:var(--text-control,13px)}
 [data-mobile-page=overview] .dashboard-goal p{grid-column:1/-1;margin-top:4px}
}

/* Home summarizes the account; detailed preparation stays in the plan. */
.overview-welcome{margin:0 0 20px}
.overview-welcome h1{margin:0 0 6px}
.overview-welcome p{margin:0;color:var(--muted)}
.overview-plan{margin:0 0 20px;border-color:#d3deca;background:#f0f4e9}
.overview-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.overview-plan-heading h2{margin:0}
.overview-plan .goal-edit{display:inline-flex;align-items:center;min-height:36px;margin:0;color:var(--green);font-size:var(--text-control,13px)}
.overview-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.overview-home-grid .section-head{margin-bottom:12px}
.overview-home-grid .add-date{margin-top:16px}
.overview-other-dates{margin-top:12px}
.overview-other-dates>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--green);font-size:var(--text-control,13px)}
.overview-home-grid .deadline{gap:12px}
.overview-home-grid .deadline>div:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
.overview-home-grid .deadline .icon-button{flex-shrink:0;min-width:44px;min-height:44px}
.overview-home-grid .overview-date-toggle{min-height:var(--control-height,36px);display:inline-flex;align-items:center;cursor:pointer;font-size:var(--text-control,13px);color:var(--green)}
.overview-preview-list{list-style:none;margin:0;padding:0}
.overview-preview-list>li{padding:12px 0;overflow-wrap:anywhere}
.overview-preview-list>li+li{border-top:1px solid var(--line)}
.overview-preview-list a{display:block;min-height:24px;font-size:var(--text-body,14px);line-height:1.5;color:var(--green)}
.overview-preview-list a:hover{text-decoration:underline;text-underline-offset:3px}
.overview-preview-list small{display:block;margin-top:4px;color:var(--muted)}
@media(max-width:680px){
 [data-mobile-page=overview] .overview-welcome,[data-mobile-page=overview] .overview-plan{margin:0}
 .overview-home-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .overview-plan .goal-edit{min-height:44px}
 .overview-plan .actions{justify-content:flex-start}
 .overview-home-grid .overview-date-toggle{min-height:44px}
}
@media(max-width:680px){
 .overview-plan-heading{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .overview-plan-heading>.goal-edit{white-space:nowrap}
 .overview-home-grid>.overview-reminder{order:0}
 .overview-home-grid>.overview-saved-preview{order:1}
 .overview-home-grid .overview-date-toggle{gap:8px}
}

/* Chat actions remain right-aligned without the visible brand heading. */
.chat-header>[data-assistant-new]{margin-inline-start:auto}

.goal-editor{width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);overflow-y:auto}
.goal-editor::backdrop{background:#192e2966}
.goal-editor .dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.goal-editor .dialog-top h2{margin:0}
.goal-editor .close{flex-shrink:0;min-width:44px;min-height:44px}
.goal-editor>p{font-size:var(--text-body,14px);margin-bottom:16px}
.goal-editor fieldset{display:grid;gap:8px;border:0;padding:0;margin:0}
.goal-editor-option{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:var(--text-body,14px);cursor:pointer}
.goal-editor-option:has(input:checked){border-color:var(--green);background:#edf2e5}
.goal-editor-option input{accent-color:var(--green);margin:0;width:16px;height:16px;flex:none}
.goal-editor-feedback{font-size:var(--text-control,13px);margin:12px 0;color:var(--green)}
.goal-editor .actions{justify-content:space-between;margin-top:16px;gap:8px}
@media(max-width:680px){.goal-editor{padding:18px}.goal-editor .actions{flex-wrap:wrap}.goal-editor .actions .btn{min-height:44px!important}}

/* Course facts and one official action, without repeating the school/source. */
.account-content .account-course{display:flex;flex-direction:column;gap:14px}
.account-course .account-course-top{flex-wrap:nowrap}
.account-course .account-offer-save{flex-shrink:0}
.account-content .account-course h2,.account-content .account-course p{margin:0}
.account-course .account-course-school{color:var(--muted)}
.account-course-facts{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.account-content .account-course-facts li{background:#f4f6f0;border:1px solid var(--line);border-radius:6px;padding:5px 9px;font-size:var(--text-caption);line-height:1.45}
.account-course .account-course-note{color:var(--muted)}
.account-course .account-course-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;width:100%;border-top:1px solid var(--line);padding:14px 0 0;margin:auto 0 0;text-align:left}
.account-course-details{display:grid;gap:6px;min-width:0}
.account-course .account-course-checked{font-size:11px!important;color:var(--muted);line-height:1.5}
.account-course-footer .micro{color:var(--muted)}
.account-course-footer .btn{flex-shrink:0}
@media(max-width:680px){.account-content .account-course{gap:12px}.account-course .account-course-footer{grid-template-columns:minmax(0,1fr);gap:14px}body .account-content .account-course-footer .btn{width:100%!important;align-self:stretch!important;justify-content:center}}

@media(min-width:1000px){.account-offers:has(>.account-course){grid-template-columns:repeat(2,minmax(0,1fr))}}
