.metric-label{font-size:calc(15px * var(--ui-font-scale,1));font-weight:650;color:var(--ui-text, #48647e);line-height:1.4}
.metric-foot{font-size:calc(12px * var(--ui-font-scale,1));line-height:1.6}
.dashboard-customize{margin:12px 0 16px}
.dashboard-customize-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ui-muted, #718499);font-size:calc(12px * var(--ui-font-scale,1))}
.dashboard-customize-head button{flex:none}
.dashboard-editor{margin-top:12px;padding:20px;border:1px solid var(--ui-border, #dae4ee);border-radius:14px;background:var(--ui-surface, #fff);display:grid;grid-template-columns:1fr 1fr;gap:16px 30px}
.dashboard-editor h3{font-size:calc(15px * var(--ui-font-scale,1));margin:0 0 8px}
.dashboard-editor-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--ui-border, #edf2f7)}
.dashboard-editor-row label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;font-size:calc(13px * var(--ui-font-scale,1))}
.dashboard-editor-row input{width:18px;height:18px;accent-color:#537ca3}
.dashboard-editor-row button{width:36px;min-height:36px;justify-content:center;padding:4px}
.dashboard-editor-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--ui-muted, #718499)}
.dashboard-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;max-width:1260px;margin:20px auto}
.dashboard-board>.panel{width:100%;max-width:100%;margin:0;min-width:0}
.dashboard-board>.recent-panel,.dashboard-board>.buyer-summary,.dashboard-board>.is-year-days{grid-column:1/-1;width:min(100%,1040px);justify-self:center}
.dashboard-board>.buyer-summary summary{font-size:calc(15px * var(--ui-font-scale,1));font-weight:650}
.trend-grain{margin:0 22px 8px;width:fit-content;max-width:calc(100% - 44px)}
.trend-controls{flex-wrap:wrap;gap:10px}
.trend-controls [hidden]{display:none!important}
.growth-delta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 0;color:var(--ui-muted, #657e96)}
.growth-delta strong{color:var(--ui-text, #294862);font-size:calc(23px * var(--ui-font-scale,1))}
.growth-empty-note{background:var(--ui-surface-soft, #f5f8fb);border-radius:10px;padding:14px;color:var(--ui-muted, #657e96);font-size:calc(12px * var(--ui-font-scale,1));line-height:1.6}
.overview-growth .growth-summary{margin-bottom:8px}
.overview-calendar .calendar-month-grid{grid-template-columns:repeat(3,minmax(0,154px));gap:12px;justify-content:space-between}
.overview-calendar .calendar-month-tile{background:var(--ui-surface, #fff);color:var(--ui-text, #29455f);border:1px solid var(--ui-border, #e0e7ef);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;aspect-ratio:1;gap:2px;padding:10px;justify-content:stretch}
.overview-calendar .calendar-month-tile.is-current{background:var(--ui-surface-soft, #f4f7fb);outline-color:var(--ui-focus, #9aafc4)}
.overview-calendar .calendar-month-tile>span{font-weight:600;font-size:calc(12px * var(--ui-font-scale,1))}
.overview-calendar .calendar-month-tile strong{font-size:clamp(14px,12cqi,calc(17px * var(--ui-font-scale,1)));text-align:center}
.overview-calendar .calendar-month-tile small{text-align:center;font-size:calc(10px * var(--ui-font-scale,1))}
.month-share-ring{height:100%;max-height:64px;min-height:0;width:100%;display:block;align-self:center;justify-self:center}
.month-share-ring text{font-family:var(--ui-font-family);font-size:11px;fill:var(--ui-text, #29455f);font-weight:600}
.x-calendar-legend[hidden],.overview-metrics[hidden]{display:none!important}
@media(max-width:1000px){.dashboard-board{grid-template-columns:1fr}.dashboard-board>.panel{max-width:760px;justify-self:center}.dashboard-board>.category-panel,.dashboard-board>.overview-growth{max-width:640px}.overview-calendar .calendar-month-grid{grid-template-columns:repeat(4,minmax(0,154px))}}
@media(max-width:600px){.dashboard-editor{grid-template-columns:1fr;padding:14px}.dashboard-editor-foot{flex-wrap:wrap}.dashboard-customize-head{align-items:flex-start}.dashboard-board{gap:16px}.overview-calendar .calendar-month-grid{grid-template-columns:repeat(2,minmax(0,154px));justify-content:center;gap:10px}.trend-grain{margin-left:16px;margin-right:16px}.dashboard-board>.panel{grid-column:auto}.metric-label{font-size:calc(14px * var(--ui-font-scale,1))}.growth-delta{flex-wrap:wrap}}
