.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0 10px}
.dashboard-hero>div:first-child{min-width:0}
.dashboard-hero h1{margin:0}
.dashboard-layout-toolbar{display:flex;justify-content:flex-end;align-items:center;flex:none;margin:0}
.dashboard-layout-toolbar button{display:inline-flex;align-items:center;gap:7px;border:1px solid #55624e;border-radius:9px;background:#1d281e;color:#e5eee0;padding:7px 11px;margin:0;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.dashboard-layout-toolbar svg{width:15px;height:15px}
.dashboard-layout-toolbar button:hover{border-color:#b9de76}
.dashboard-layout-toolbar button[aria-pressed=true]{background:#b8dd77;border-color:#b8dd77;color:#172015}
#dashboard-layout-hint{display:block;color:#bac8b4;font-size:11px;text-align:right;margin:0 0 8px}
#dashboard-layout-hint[hidden]{display:none}
#dashboard-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.dashboard-widget{position:relative;min-width:0}
.dashboard-widget[data-widget=goal],.dashboard-widget[data-widget=day],.dashboard-widget[data-widget=week]{grid-column:1/-1}
.dashboard-widget[hidden]{display:none!important}
.dashboard-widget-body{height:100%;min-width:0}
.dashboard-widget-body>.goal-panel,.dashboard-widget-body>.daily-card,.dashboard-widget-body>.next-section{margin:0}
.dashboard-widget-body>.program-card{height:100%}
.dashboard-widget-controls{display:none}
#dashboard-widgets.is-editing .dashboard-widget{padding-top:40px;border:1px dashed #8da880;border-radius:18px;background:#b9de760e;box-sizing:border-box}
#dashboard-widgets.is-editing .dashboard-widget-body{height:calc(100% - 0px);pointer-events:none;user-select:none}
#dashboard-widgets.is-editing .dashboard-widget-controls{display:flex;position:absolute;top:4px;left:7px;right:7px;align-items:center;justify-content:space-between;height:30px;z-index:2}
.dashboard-widget-controls button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #718968;border-radius:8px;background:#2b3b2a;color:#f5f8f0;font:inherit;font-size:21px;line-height:1;cursor:pointer}
.dashboard-widget-controls .widget-drag{touch-action:none;cursor:grab}
.dashboard-widget-controls .widget-drag:active{cursor:grabbing}
.widget-grip-dots{width:16px;height:17px;background:radial-gradient(circle,currentColor 1.5px,transparent 1.7px) 0 0/7px 7px}
.widget-hidden-label{display:none;color:#c8d6c2;font-size:12px;font-weight:700}
#dashboard-widgets.is-editing .widget-is-hidden{min-height:88px}
#dashboard-widgets.is-editing .widget-is-hidden .dashboard-widget-body{display:none}
#dashboard-widgets.is-editing .widget-is-hidden .widget-hidden-label{display:block}
#dashboard-widgets.is-editing .widget-is-dragging{border-color:#b8dd77;box-shadow:0 0 0 2px #b8dd7744}
.goal-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:3px 9px}
.goal-heading>.eyebrow{grid-column:1;grid-row:1}
.goal-heading>strong{grid-column:1;grid-row:2;min-width:0}
.goal-edit-profile{grid-column:2;grid-row:1/3;margin:0!important;padding:6px 9px!important;font-size:11px!important;white-space:nowrap;align-self:center}
html[data-theme=light] .dashboard-layout-toolbar button{background:#3b3531;border-color:#3b3531;color:#fff}
html[data-theme=light] .dashboard-layout-toolbar button[aria-pressed=true]{background:#a84930;border-color:#a84930}
html[data-theme=light] #dashboard-layout-hint{color:#665f58}
html[data-theme=light] #dashboard-widgets.is-editing .dashboard-widget{border-color:#bb9c89;background:#a8493008}
html[data-theme=light] .dashboard-widget-controls button{background:#493832;border-color:#493832;color:#fff}
html[data-theme=light] .widget-hidden-label{color:#665f58}
@media(max-width:750px){#dashboard-widgets{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.dashboard-hero{display:flex;align-items:center;justify-content:space-between;padding:0 0 9px}.dashboard-hero h1{font-size:27px;line-height:1.1}.dashboard-layout-toolbar button{padding:7px 8px;font-size:10px}.goal-edit-profile{font-size:9px!important;padding:6px 7px!important}.goal-heading strong{max-width:100%}}
.goal-figures #goal-start{color:#e18d86}.goal-figures #goal-current{color:hsl(var(--goal-current-hue,7) 60% 67%)}.goal-figures #goal-target{color:#9ed6a3}html[data-theme="light"] .goal-figures #goal-start{color:#9f343c}html[data-theme="light"] .goal-figures #goal-current{color:hsl(var(--goal-current-hue,7) 62% 34%)}html[data-theme="light"] .goal-figures #goal-target{color:#287648}
.goal-figures .goal-start-tile,.goal-figures .goal-current-tile,.goal-figures .goal-target-tile{padding:10px 9px;border:1px solid;border-radius:11px;align-content:center}
.goal-figures .goal-start-tile{background:#4b2629;border-color:#975657}
.goal-figures .goal-current-tile{background:hsl(var(--goal-current-hue,7) 32% 23%);border-color:hsl(var(--goal-current-hue,7) 38% 46%)}
.goal-figures .goal-target-tile{background:#1e402d;border-color:#578e62}
html[data-theme="light"] .goal-figures .goal-start-tile{background:#f8e3e1;border-color:#d89892}
html[data-theme="light"] .goal-figures .goal-current-tile{background:hsl(var(--goal-current-hue,7) 60% 91%);border-color:hsl(var(--goal-current-hue,7) 43% 62%)}
html[data-theme="light"] .goal-figures .goal-target-tile{background:#dff0e0;border-color:#78b886}
@media(max-width:560px){.goal-figures .goal-start-tile,.goal-figures .goal-current-tile,.goal-figures .goal-target-tile{padding:7px 5px;border-radius:9px}.goal-figures .goal-start-tile small,.goal-figures .goal-current-tile small,.goal-figures .goal-target-tile small{font-size:7px;letter-spacing:.04em}}
