/* Compact workspace density; touch controls retain accessible targets on mobile. */
html[data-theme] body{font-size:14px;line-height:1.4}
.header-inner,main{max-width:1440px}.header-inner{padding:12px 24px 0}.brand-row{gap:12px}.portal-header .brand{font-size:21px}.portal-header .spark{font-size:15px!important;width:32px!important;height:32px!important;border-radius:8px!important}.header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.header-actions .badge,.header-actions .textbtn,.header-actions .secondary{font-size:12px;padding:5px 9px}.theme-switch{padding:2px!important}.theme-switch button{font-size:12px!important;padding:5px 9px!important}.portal-header .nav{gap:23px;margin-top:5px}.portal-header .nav button{font-size:13px;padding:10px 0 8px}main{padding:14px 24px 24px}.topline{font-size:12px}.greeting{margin:12px 0 14px}.greeting h1{font-size:25px;letter-spacing:-.5px}.greeting p{font-size:13px;margin-top:3px}.card{padding:16px!important;border-radius:10px!important}.card h2{font-size:17px;margin-bottom:10px}.card h3{font-size:15px}.productivity-card{margin-block:12px}.productivity-row{padding:8px 0;gap:8px}.card .record-form{gap:8px}.record-field{font-size:12px}.card input:not([type=checkbox]):not([type=radio]),.card select,.card textarea{padding:7px 9px;border-radius:7px}.card button{padding:7px 11px;font-size:13px}.save-strip{display:flex!important;align-items:center!important;gap:8px;margin:8px 0!important;font-size:11px!important}.save-strip>span:nth-child(2){display:none}.save-strip>#save-status{margin-right:auto}.save-tools{position:relative;flex:none}.save-tools>summary{font-size:12px;padding:6px 8px;cursor:pointer}.save-tools-body{padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);display:flex;gap:8px;flex-wrap:wrap}.save-tools[open]{flex-basis:100%}.save-tools-body>*{max-width:100%}.save-tools-body>p{flex-basis:100%;font-size:12px}.save-tools-body button{font-size:12px;padding:7px 10px}.save-tools-body .daily-recovery{width:100%;margin:4px 0}.sync-note:empty{display:none}
.today-quadrants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.today-quadrants .today-panel{margin:0!important;min-width:0;min-height:210px;padding:14px!important;border:1px solid var(--line)!important;display:flex;flex-direction:column}.today-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.today-panel-head h2{margin:0}.today-panel-head button{font-size:12px!important;padding:4px 0!important}.today-list{max-height:190px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:64px}.compact-task{display:flex;align-items:center;gap:9px;min-height:34px;padding:6px 2px;border-bottom:1px solid var(--line);cursor:pointer}.compact-task input{width:17px;height:17px;margin:0;flex:none}.compact-task-copy{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;font-size:13px}.compact-task small,.compact-friend small{font-size:11px;color:var(--muted)}.compact-task.is-done .compact-task-copy>span{text-decoration:line-through;color:var(--muted)}.today-count{font-size:12px;color:var(--muted);margin:0 0 9px}.today-count[style]{padding-bottom:8px;border-bottom:3px solid var(--line);background:linear-gradient(var(--accent),var(--accent)) left bottom/var(--completion) 3px no-repeat}.today-add{display:flex;gap:6px;margin-top:10px}.today-add input{width:100%;min-width:0}.today-add button{flex:none}.compact-friend{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.compact-friend>div{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.compact-friend strong{font-size:13px}.compact-friend button{font-size:12px!important}.compact-empty{font-size:13px;margin:8px 0}
#today-outcomes>h2{margin:0 0 6px}#today-outcomes>p.muted{display:none}#today-outcomes>.people-actions{display:none}#today-outcomes>.sync-note{order:-1;margin:0 0 9px;font-size:13px;padding-bottom:9px;border-bottom:1px solid var(--line)}#today-outcomes>h2{order:-2}#today-outcomes .productivity-row{flex-wrap:nowrap;font-size:13px;padding:7px 0}#today-outcomes .productivity-row strong{min-width:0}#today-outcomes .productivity-row button{font-size:11px;flex:none}#today-outcomes details{margin-top:auto}#today-outcomes summary{font-size:12px;padding:8px 0;cursor:pointer}#today-outcomes .record-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#today-outcomes .record-form button,#today-outcomes .record-form .sync-note{grid-column:1/-1}#today-outcomes .record-form input{width:100%;min-width:0}#today-outcomes details[open]{margin-top:8px}.quick-capture-toggle{margin:12px 0}.quick-capture-toggle>summary{font-size:13px;cursor:pointer;padding:8px 0}.quick-capture-toggle .productivity-card{margin:0}.today-supplementary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.today-supplementary>[data-open=tasks],.today-supplementary>[data-open=calendar],.today-supplementary>.people-summary{display:none}.today-supplementary .dashboard-card{padding:12px;min-height:135px;gap:6px;border-radius:10px}.today-supplementary .dash-value{font-size:18px;margin-top:0}.today-supplementary .dash-card-top h2{font-size:14px}.today-supplementary .dash-detail{font-size:12px;margin:0}.today-supplementary .dash-foot{font-size:11px;padding-top:4px}.today-supplementary .dash-icon{display:none}.today-supplementary .badge{display:none}.dashboard-footer{margin-top:14px}.task{padding-block:9px!important}.life-form,.record-form{gap:10px!important}
@media(max-width:1024px){.header-inner{padding:10px 16px 0}main{padding:12px 16px 24px}.header-actions .badge{display:none}.today-supplementary{grid-template-columns:repeat(2,minmax(0,1fr))}#portal-app .save-tools summary{min-height:32px;padding:7px 0}.save-strip>span,.save-strip>p{grid-column:auto}.today-list{max-height:220px}}
@media(max-width:600px){.brand-row{align-items:flex-start}.portal-header .brand{font-size:19px}.header-actions{gap:4px}.header-actions .theme-switch{display:none}.header-actions button,.header-actions a{font-size:11px!important}.header-actions .textbtn{padding:6px 4px}.today-quadrants{grid-template-columns:minmax(0,1fr);gap:10px}.today-quadrants .today-panel{min-height:0;padding:12px!important}.today-list{max-height:220px}.greeting{margin:10px 0}.greeting h1{font-size:23px}.greeting p{font-size:12px}.save-strip{flex-wrap:wrap}.save-strip>span:first-child{font-size:10px}.save-strip>#save-status{font-size:11px}#portal-app .compact-task{min-height:44px}#portal-app .compact-friend button{min-height:44px}#today-outcomes .record-form{grid-template-columns:minmax(0,1fr)}#today-outcomes .productivity-row{flex-wrap:wrap}.today-supplementary{grid-template-columns:repeat(2,minmax(0,1fr))}.today-supplementary .dashboard-card{min-height:130px;padding:10px}.today-supplementary .dash-source{display:none}.quick-capture-toggle summary{min-height:44px}.portal-header .nav{gap:19px}.save-tools-body button{min-height:44px}.save-tools-body>label{font-size:12px}}
/* Reference-led light editorial dashboard: navy serif headings and teal details. */
:root[data-theme=light]{--bg:#f2f4f6;--panel:#fcfdfd;--ink:#19252f;--muted:#657783;--line:#dce3e8;--accent:#1d7e78;--nav:#163e56}
html[data-theme=light] body{background:var(--bg)}
.header-inner,main{max-width:1680px}.portal-header .nav{display:flex;width:max-content;max-width:100%;margin:8px auto 10px;padding:4px;background:var(--panel);border:1px solid var(--line);border-radius:40px;gap:3px;overflow:auto}.portal-header .nav button{padding:8px 16px;border-radius:28px;border:0;font-weight:650;white-space:nowrap}.portal-header .nav button.active{background:#163e56;color:#fff;border:0}.portal-header .nav button:hover{background:#e8eff1;color:#163e56}.portal-header .brand{font-family:Georgia,'Times New Roman',serif;font-size:23px}.portal-header{border-bottom:1px solid var(--line)}
.dashboard-eyebrow{font-size:11px!important;letter-spacing:1.5px;font-weight:750;text-transform:uppercase;color:var(--accent);margin:0 0 8px!important}.dashboard-intention{display:none}.dashboard-hero{align-items:center;margin:14px 0 20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.dashboard-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(36px,4.1vw,68px);font-weight:600;letter-spacing:-2.5px;margin:0 0 14px;line-height:1.08}.dashboard-hero .dashboard-intention{display:block;flex-basis:34%;border-left:2px solid #acc5cc;padding:4px 0 4px 24px}.dashboard-intention p{font-family:Georgia,'Times New Roman',serif;font-size:23px;line-height:1.35;margin:6px 0 10px}.dashboard-intention small{color:var(--muted);font-size:12px}.intention-mark{color:var(--accent);font-size:25px}.greeting:not(.dashboard-hero) .dashboard-eyebrow{display:none}.today-quadrants .today-panel,.focus-panel{border-radius:18px!important;background:var(--panel);box-shadow:0 3px 16px #173c5304}.today-panel-head{align-items:baseline;margin-bottom:14px}.today-panel-head h2,#today-outcomes>h2,.focus-panel>h2{font-family:Georgia,'Times New Roman',serif;font-size:26px;letter-spacing:-.8px;font-weight:600}.today-quadrants .today-panel{padding:20px!important;min-height:290px}.today-list{max-height:230px}.compact-task{padding:9px 0;min-height:40px}.compact-task input{accent-color:var(--accent)}.compact-task-copy,.compact-friend strong{font-size:13px}.today-count{font-size:12px}.today-add{margin-top:16px}.today-add input{font-size:12px}.today-quadrants button{border-radius:20px!important}.today-panel-head button{font-size:10px!important}#today-outcomes>.sync-note{order:0;line-height:1.7}#today-outcomes>h2{order:0}#today-outcomes>.dashboard-eyebrow{order:0}#today-outcomes .productivity-row{padding:12px 0;flex-wrap:wrap}#today-outcomes .record-form{grid-template-columns:1fr}.today-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.focus-panel{padding:20px!important;min-width:0}.focus-panel>h2{margin-bottom:14px}.dashboard-goal{padding:10px 0;border-bottom:1px solid var(--line)}.dashboard-goal h3{font-family:Georgia,'Times New Roman',serif;font-size:20px;font-weight:600}.dashboard-goal p,.dashboard-meal{font-size:13px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.dashboard-goal progress{width:100%;height:7px;accent-color:var(--accent);margin-top:10px}.dashboard-goal small{font-size:11px;color:var(--muted)}.focus-panel>.textbtn{margin-top:10px;font-size:12px}.today-supplementary{grid-template-columns:repeat(4,minmax(0,1fr))}.today-supplementary .dashboard-card{border-radius:16px}
@media(min-width:1200px){.today-quadrants{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.today-quadrants .today-panel{min-height:340px}.today-panel-head{flex-wrap:wrap;gap:2px}.today-panel-head button{margin-left:auto}.today-quadrants #today-outcomes{order:-1}.today-quadrants #today-friends{order:3}.today-quadrants #today-todos{order:1}.today-quadrants #today-checklist{order:2}}
@media(max-width:900px){.dashboard-hero .dashboard-intention{display:none}.dashboard-hero h1{font-size:46px;letter-spacing:-1.5px}.portal-header .nav{margin-left:0}.today-quadrants .today-panel{padding:16px!important;min-height:250px}.today-panel-head h2,#today-outcomes>h2,.focus-panel>h2{font-size:24px}}
@media(max-width:600px){.dashboard-hero{padding-bottom:14px;margin:12px 0 16px}.dashboard-hero h1{font-size:36px;letter-spacing:-1.4px}.dashboard-eyebrow{font-size:10px!important}.portal-header .nav button{padding:8px 13px}.today-quadrants .today-panel{min-height:0;padding:16px!important}.today-focus-grid{grid-template-columns:1fr;gap:10px;margin-top:10px}.today-panel-head button{font-size:12px!important}.today-supplementary{grid-template-columns:repeat(2,minmax(0,1fr))}.today-add input{font-size:16px}#today-outcomes .productivity-row{padding:10px 0}}

html[data-theme] .portal-header .nav button.active{color:#fff;background:#163e56}html[data-theme] .dashboard-eyebrow,html[data-theme] .intention-mark{color:var(--accent)}html[data-theme=light] .today-panel input:not([type=checkbox]){border:1px solid #ccd9df;box-shadow:none}html[data-theme=light] .today-quadrants .secondary{background:#f7fafb;border-color:#c9d7dd;color:#163e56}

/* Match the supplied reference with a single calm toolbar and aligned columns. */
.portal-header .header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px 32px;max-width:none}.portal-header .brand-row{display:contents}.portal-header .brand{grid-column:1;gap:16px}.portal-header .brand>div{display:none}.portal-header .brand .spark{width:36px!important;height:36px!important;border-radius:50%!important;background:transparent!important;border:1px solid #163e56;font:italic 25px Georgia,serif!important;color:#163e56!important}.dashboard-header-date{font:700 12px system-ui,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);white-space:nowrap}.portal-header .nav{grid-column:2;grid-row:1;margin:0 auto;padding:4px;overflow:visible}.portal-header .nav button{font-size:13px;padding:8px 16px}.dashboard-account-menu{grid-column:3;grid-row:1;position:relative;z-index:8}.dashboard-account-menu>summary{list-style:none;cursor:pointer;font-size:12px;color:var(--muted);padding:10px 6px;white-space:nowrap}.dashboard-account-menu[open]>.header-actions{display:flex;position:absolute;right:0;top:100%;padding:16px;width:280px;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px #163e561a;justify-content:flex-start;gap:12px}.dashboard-account-menu .header-actions .badge{display:inline-flex}.dashboard-refresh{grid-column:4;grid-row:1;border-radius:28px;font-size:14px;padding:9px 16px;white-space:nowrap}.dashboard-more-nav{position:relative}.dashboard-more-nav>summary{list-style:none;font-size:13px;font-weight:650;cursor:pointer;padding:8px 16px;color:var(--muted)}.dashboard-more-nav[open]>.dashboard-more-items{position:absolute;right:0;top:calc(100% + 8px);background:var(--panel);border:1px solid var(--line);padding:8px;border-radius:14px;z-index:9;box-shadow:0 12px 32px #163e561a;min-width:150px}.dashboard-more-items{display:grid}.dashboard-more-items button{text-align:left}.dashboard-account-menu>summary::-webkit-details-marker,.dashboard-more-nav>summary::-webkit-details-marker{display:none}
main{max-width:none;padding:18px 32px 32px}.topline{display:none}.dashboard-hero{margin:14px 0 24px;padding-bottom:26px;gap:28px}.dashboard-hero>div:first-child{min-width:0;flex:1}.dashboard-hero h1{font-size:clamp(38px,5.2vw,82px);letter-spacing:-3px;font-weight:500}.dashboard-hero p.muted{font-size:14px;margin-top:22px}.dashboard-hero .dashboard-intention{flex-basis:38%;max-width:560px;padding-left:26px}.dashboard-intention p{font-size:24px}.dashboard-eyebrow{font-size:12px!important}.today-quadrants{gap:16px}.today-quadrants .today-panel{padding:22px!important;border-radius:20px!important;min-height:380px}.today-panel-head h2,#today-outcomes>h2{font-size:28px;line-height:1.15}.today-panel-head{position:relative;gap:6px}.dashboard-count-badge{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;background:#e6eff2;color:#163e56;border-radius:50%;font-size:14px;font-weight:700}.today-panel-head:has(.dashboard-count-badge)>button{display:none}.compact-task-copy,.compact-friend strong{font-size:14px}.compact-task{min-height:42px;padding:9px 0}.compact-task input{width:19px;height:19px}.today-list{max-height:280px}.today-count[style]{margin-bottom:12px;border-bottom-width:5px;background-size:var(--completion) 5px}.today-focus-grid{margin-top:16px}.save-strip{min-height:24px}.save-tools[open]{width:100%}.save-strip:has(.save-tools[open]){flex-wrap:wrap}
@media(min-width:1200px){.today-quadrants #today-checklist{order:0}.today-quadrants #today-todos{order:1}}
@media(max-width:1200px){.portal-header .header-inner{grid-template-columns:auto 1fr auto;gap:8px;padding:12px 20px}.portal-header .nav{grid-column:1/-1;grid-row:2;margin:0 auto}.dashboard-account-menu{grid-column:2}.dashboard-refresh{grid-column:3}.dashboard-hero h1{font-size:60px}.today-quadrants .today-panel{min-height:330px}}
@media(max-width:600px){.portal-header .header-inner{padding:10px 16px;gap:4px}.dashboard-header-date{font-size:10px;letter-spacing:.7px}.portal-header .brand{gap:8px}.portal-header .brand .spark{width:28px!important;height:28px!important;font-size:20px!important}.dashboard-account-menu>summary{font-size:0;min-width:38px;min-height:44px;padding:12px}.dashboard-account-menu>summary:after{content:'⚙';font-size:20px}.dashboard-refresh{font-size:12px;padding:9px 12px;min-height:44px}.portal-header .nav{max-width:100%;gap:0}.portal-header .nav button,.dashboard-more-nav>summary{font-size:11px;padding:10px 9px;min-height:44px}.dashboard-account-menu[open]>.header-actions{right:-60px;width:270px}.dashboard-header-date{max-width:145px;white-space:normal}.dashboard-hero h1{font-size:40px;letter-spacing:-1.8px}.dashboard-hero p.muted{margin-top:12px;font-size:13px}.dashboard-hero{margin:12px 0 18px;padding-bottom:20px}main{padding:12px 16px 24px}.today-quadrants .today-panel{min-height:0;padding:20px!important}.today-panel-head h2,#today-outcomes>h2{font-size:27px}.today-list{max-height:300px}.dashboard-account-menu .theme-switch{display:flex}.dashboard-account-menu .header-actions button,.dashboard-account-menu .header-actions a{min-height:44px}.today-quadrants .today-panel-head button{min-height:44px}}
@media(max-width:600px){.portal-header .header-inner{grid-template-columns:minmax(0,1fr) 44px auto}.portal-header .brand{min-width:0}.dashboard-header-date{max-width:130px}.portal-header .nav{min-width:0;width:max-content;max-width:100%;gap:0}.portal-header .nav button,.dashboard-more-nav>summary{padding-inline:7px;font-size:10px}.dashboard-refresh{padding-inline:10px}.dashboard-more-items button{min-width:0;width:100%}}
@media(max-width:360px){.portal-header .nav button,.dashboard-more-nav>summary{padding-inline:5px;font-size:9px}.dashboard-header-date{font-size:9px;max-width:110px}}

/* Keep today's greeting and quote compact without changing dashboard controls. */
#portal-app .greeting.dashboard-hero{margin:8px 0 14px;padding-bottom:12px;gap:20px}
#portal-app .dashboard-hero h1{font-size:clamp(28px,3.2vw,44px);line-height:1.12;letter-spacing:-1.4px;margin:0 0 6px}
#portal-app .dashboard-hero .dashboard-eyebrow{font-size:10px!important;letter-spacing:1.2px;margin:0 0 4px!important}
#portal-app .dashboard-hero p.muted{font-size:13px;line-height:1.4;margin:6px 0 0}
#portal-app .dashboard-hero .dashboard-intention{flex-basis:36%;padding:0 0 0 18px}
#portal-app .dashboard-hero .dashboard-intention p{font-size:18px;line-height:1.3;margin:2px 0 6px}
#portal-app .dashboard-hero .intention-mark{font-size:18px;line-height:1}
#portal-app .dashboard-hero .dashboard-intention small{font-size:11px}
@media(max-width:600px){#portal-app .greeting.dashboard-hero{margin:8px 0 12px;padding-bottom:10px;gap:12px}#portal-app .dashboard-hero h1{font-size:28px;letter-spacing:-.9px}#portal-app .dashboard-hero p.muted{font-size:12px}}

/* Reference-inspired warm editorial palette. Paint only: existing layout and content stay unchanged. */
html[data-theme=light]:has(#portal-app){
  --bg:#f1f3f4;--panel:#fbfcfc;--ink:#2f353b;--muted:#606a73;
  --line:#d7dde1;--accent:#4d5a65;--nav:#4d5a65;--mint:#4d5a65;--soft:#e7ebee;
  --field:#ffffff;--control-line:#919da7;--on-accent:#ffffff;--focus:#4d5a65;
  --calm-soft:var(--soft);--calm-selected:#dce2e6;--calm-input:var(--field);--calm-on-accent:var(--on-accent)
}
html[data-theme=light] body:has(#portal-app){
  color:var(--ink);background:var(--bg)
}
html[data-theme=light]:has(#portal-app) .portal-header{
  background:var(--panel);border-color:var(--line);box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none
}
html[data-theme=light] #portal-app :is(.card,.dashboard-card,.metric,.today-panel,.focus-panel){
  background:var(--panel)!important;border-color:var(--line)!important;border-radius:12px!important;
  box-shadow:0 2px 6px rgba(53,55,46,.025);-webkit-backdrop-filter:none;backdrop-filter:none
}
html[data-theme=light] #portal-app .dashboard-card:hover{
  background:var(--soft)!important;border-color:#b9bdab!important;box-shadow:0 2px 8px rgba(53,55,46,.04)
}
html[data-theme=light]:has(#portal-app) .portal-header .nav{
  background:var(--soft);border-color:var(--line);border-radius:10px;box-shadow:none
}
html[data-theme=light]:has(#portal-app) .portal-header .nav button{
  border-radius:7px
}
html[data-theme=light]:has(#portal-app) .portal-header .nav button.active{
  background:var(--accent)!important;color:var(--on-accent)!important;box-shadow:none
}
html[data-theme=light]:has(#portal-app) .portal-header .nav button:hover:not(.active){
  background:var(--soft);color:var(--ink)
}
html[data-theme=light] #portal-app :is(.primary,.cta){
  background:var(--accent);border-color:var(--accent);color:var(--on-accent);box-shadow:none;border-radius:8px!important
}
html[data-theme=light] #portal-app :is(.secondary,.badge,.dashboard-count-badge){
  background:var(--soft);color:var(--ink);border-color:var(--line);box-shadow:none
}
html[data-theme=light] #portal-app .secondary{border-radius:8px!important}
html[data-theme=light] #portal-app .secondary:hover{
  background:var(--soft);border-color:var(--accent)
}
html[data-theme=light] #portal-app :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
  background:var(--field);color:var(--ink);box-shadow:none
}
html[data-theme=light] #portal-app :is(input:not([type=checkbox]):not([type=radio]),textarea,select):not([aria-invalid=true]){
  border-color:var(--control-line)
}
html[data-theme=light] #portal-app :is(input,textarea)::placeholder{color:var(--muted)}
html[data-theme=light] #portal-app :is(input[type=checkbox],progress){accent-color:var(--accent)}
html[data-theme=light] #portal-app .dashboard-hero{border-color:#d1d3c5}
html[data-theme=light] #portal-app .dashboard-hero .dashboard-intention{border-left-color:#b9bdab}
html[data-theme=light] #portal-app :is(.dashboard-eyebrow,.intention-mark,.textbtn,.source-link,.dash-foot){color:var(--accent)}
html[data-theme=light] #portal-app :is(.today-list,.compact-task,.compact-friend,.productivity-row,.dashboard-goal){border-color:var(--line)}
html[data-theme=light] #portal-app :is(.save-tools-body,.dashboard-more-items){
  background:#fbfaf6;border-color:var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(53,55,46,.1)
}
html[data-theme=light]:has(#portal-app) .dashboard-account-menu[open]>.header-actions{
  background:#fbfaf6;border-color:var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(53,55,46,.1)
}
html[data-theme=light] #portal-app :is(button,a,input,textarea,select,summary):focus-visible{outline-color:var(--focus)}

/* Shared LifeWZRD seal: the header, sign-in screen and browser icon use one asset. */
:is(.portal-header,.portal-gate) .brand .spark{
  position:relative;
  display:inline-block!important;
  width:32px!important;
  height:32px!important;
  flex:0 0 32px;
  overflow:hidden;
  border:0!important;
  border-radius:50%!important;
  background:transparent url('/favicon.svg') center/contain no-repeat!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:none!important;
}
:is(.portal-header,.portal-gate) .brand .spark::before{content:none!important}
.portal-gate .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;margin-bottom:16px}

/* Keep the dashboard's useful titles and alerts; remove repetitive decorative copy. */
#portal-app .dashboard-eyebrow,
#portal-app .save-strip > span:first-child,
body[data-view="today"] #portal-app .dashboard-hero #subtitle,
#portal-app .save-strip #save-status[data-lw-quiet-saved]{
  display:none!important;
}

