/* Personal overview: one desktop screen, with real pagination instead of clipped rows. */
html body #desktopOverview {min-width:0;}
html body #desktopOverview .wo-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;flex:none;}
html body #desktopOverview .wo-heading h1 {margin:0;}
html body #desktopOverview .wo-heading-actions {display:flex;align-items:center;gap:12px;}
html body #desktopOverview .wo-heading span {color:var(--bc-muted);font-size:12px;}
html body #desktopOverview .wo-tabs {display:flex;gap:4px;margin-bottom:10px;overflow-x:auto;flex:none;}
html body #desktopOverview .wo-tabs button {white-space:nowrap;background:transparent;color:var(--bc-muted);border:1px solid transparent;}
html body #desktopOverview .wo-tabs button[aria-selected=true] {background:var(--bc-surface);color:var(--bc-text);border-color:var(--bc-border);}
html body #desktopOverview .wo-tabs button:focus-visible {outline:2px solid var(--bc-text);outline-offset:-2px;}
html body #desktopOverview .wo-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:6px;flex:none;}
html body #desktopOverview .wo-toolbar label {display:flex;align-items:center;gap:6px;color:var(--bc-muted);font-size:12px;}
html body #desktopOverview .wo-toolbar input[type=date] {width:134px;}
html body #desktopOverview .wo-toolbar input[type=search] {width:210px;flex:1;min-width:160px;max-width:280px;}
html body #desktopOverview .wo-toolbar select {width:auto;max-width:160px;}
html body #desktopOverview .wo-status {min-height:0;max-width:600px;font-size:12px;line-height:1.4;color:var(--bc-muted);margin:0;}
html body #desktopOverview .wo-status[data-error=true] {color:var(--bc-danger,#dc2626);}
html body #desktopOverview .wo-box {border:1px solid var(--bc-border);border-radius:8px;background:var(--bc-surface);min-width:0;}
html body #desktopOverview .wo-cards {display:grid;grid-template-columns:repeat(var(--wo-columns,6),minmax(0,1fr));gap:8px;}
html body #desktopOverview .wo-card {padding:6px 10px;min-width:0;border:1px solid var(--bc-border);border-radius:7px;background:var(--bc-surface);transition:background-color 140ms,border-color 140ms,box-shadow 140ms,transform 140ms;}
html body #desktopOverview .wo-card:is(:hover,:focus-visible) {background:var(--bc-hover);border-color:var(--bc-muted);box-shadow:0 2px 6px rgb(0 0 0 / .06);transform:translateY(-1px);}
html body #desktopOverview .wo-card:focus-visible {outline:2px solid var(--bc-text);outline-offset:2px;}
html body #desktopOverview .wo-card>span {display:block;font-size:12px;line-height:16px;color:var(--bc-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body #desktopOverview .wo-card strong {display:block;font-size:22px;line-height:1.15;letter-spacing:-.4px;margin:2px 0;font-variant-numeric:tabular-nums;color:var(--bc-text);}
html body #desktopOverview .wo-card small {display:block;font-size:11px;color:var(--bc-muted);line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body #desktopOverview .wo-box {padding:10px 12px;}
html body #desktopOverview .wo-box-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:8px;flex:none;}
html body #desktopOverview .wo-box h2 {font-size:14px;margin:0;font-weight:600;}
html body #desktopOverview .wo-box-head>div {display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
html body #desktopOverview .wo-note {font-size:12px;color:var(--bc-muted);line-height:1.6;margin:6px 0 0;flex:none;}
html body #desktopOverview .wo-detail-box>.wo-note:first-of-type {margin:0 0 6px;}
html body #desktopOverview .wo-legend {display:flex;gap:6px 14px;flex-wrap:wrap;font-size:12px;color:var(--bc-muted);flex:none;margin:0;}
html body #desktopOverview .wo-chart-tools {margin-left:auto;}
html body #desktopOverview .wo-legend i {display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:var(--series-color);}
html body #desktopOverview .wo-chart-plot {position:relative;flex:1;min-height:0;}
html body #desktopOverview .wo-chart {width:100%;height:100%;display:block;outline:none;}
html body #desktopOverview .wo-chart:focus-visible {outline:2px solid var(--bc-muted);outline-offset:2px;}
html body #desktopOverview .wo-chart text {fill:var(--bc-muted);font-size:11px;}
html body #desktopOverview .wo-chart .wo-grid {stroke:var(--bc-border);stroke-dasharray:3 4;}
html body #desktopOverview .wo-chart .is-active {r:4.5px;stroke:var(--bc-surface);stroke-width:2;}
html body #desktopOverview .wo-hover-guide {stroke:var(--bc-muted);stroke-width:1;stroke-dasharray:4 4;pointer-events:none;}
html body #desktopOverview .wo-chart-tooltip {position:absolute;z-index:50;pointer-events:none;min-width:210px;max-width:320px;padding:10px 12px;border:1px solid var(--bc-border);border-radius:7px;background:var(--bc-surface);color:var(--bc-text);box-shadow:0 4px 16px rgb(0 0 0 / .12);font-size:12px;}
html body #desktopOverview .wo-chart-tooltip>strong {display:block;margin-bottom:7px;}
html body #desktopOverview .wo-chart-tooltip>div {display:flex;align-items:center;justify-content:space-between;gap:20px;line-height:1.9;}
html body #desktopOverview .wo-chart-tooltip span {color:var(--bc-muted);white-space:nowrap;}
html body #desktopOverview .wo-chart-tooltip b {font-variant-numeric:tabular-nums;white-space:nowrap;}
html body #desktopOverview .wo-chart-tooltip i {display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:var(--series-color);}
html body #desktopOverview .wo-table-wrap {overflow-x:auto;min-width:0;}
html body #desktopOverview .wo-table {width:100%;table-layout:fixed;min-width:1000px;border-collapse:collapse;}
html body #desktopOverview .wo-table th,html body #desktopOverview .wo-table td {padding:6px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;border-bottom:1px solid var(--bc-border);height:32px;box-sizing:border-box;font-size:12px;line-height:18px;}
html body #desktopOverview .wo-table th {height:32px;}
html body #desktopOverview .wo-table :is(th,td).wo-num {text-align:right;font-variant-numeric:tabular-nums;}
html body #desktopOverview .wo-table .wo-sort {border:0;background:transparent;padding:0;display:inline-flex;align-items:center;gap:5px;color:inherit;min-height:0;height:auto;font-size:inherit;font-weight:inherit;}
html body #desktopOverview .wo-sort span {min-width:12px;display:inline-block;}
html body #desktopOverview .wo-task-link {border:0;background:transparent;padding:0;min-height:0;height:auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--bc-text);text-decoration:underline;text-underline-offset:3px;}
html body #desktopOverview .wo-table tfoot td {font-weight:600;background:var(--bc-hover);}
html body #desktopOverview .wo-pagination {display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:12px;flex:none;}
html body #desktopOverview .wo-pagination label {display:flex;align-items:center;gap:4px;}
html body #desktopOverview .wo-pagination input {width:52px;}
html body #desktopOverview .wo-pagination select {width:142px;}
html body #desktopOverview .wo-pagination button {padding-left:8px;padding-right:8px;}
html body .wo-rules-dialog {width:min(680px,calc(100vw - 40px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--bc-border);border-radius:8px;padding:20px;background:var(--bc-surface);color:var(--bc-text);}
html body .wo-rules-dialog::backdrop {background:rgb(0 0 0 / .35);}
html body .wo-rules-dialog form {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;}
html body .wo-rules-dialog h2 {font-size:16px;margin:0;}
html body .wo-rules-dialog p {font-size:13px;line-height:1.8;color:var(--bc-muted);margin:10px 0;}
html body #desktopOverview [hidden] {display:none!important;}
@media(min-width:769px){
  html body #desktopOverview:not(.hidden) {height:calc(100dvh - 28px);min-height:0;display:flex;flex-direction:column;}
  html body #desktopOverview #woAnalytics {display:flex;flex-direction:column;flex:1;min-height:0;}
  html body #desktopOverview #woContent {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto clamp(110px,16dvh,180px) minmax(0,1fr);gap:8px;flex:1;min-height:0;}
  html body #desktopOverview .wo-summary {grid-column:1/-1;}
  html body #desktopOverview .wo-chart-box {grid-column:1;grid-row:2;display:flex;flex-direction:column;min-height:0;}
  html body #desktopOverview .wo-chart-box .wo-box-head {margin-bottom:4px;}
  html body #desktopOverview .wo-detail-box {grid-column:1;grid-row:3;display:flex;flex-direction:column;min-height:0;}
  html body #desktopOverview #woContent[data-tab=daily] {grid-template-rows:minmax(0,1fr);}
  html body #desktopOverview #woContent[data-tab=daily]>.wo-detail-box {grid-column:1/-1;grid-row:1;}
  html body #desktopOverview [data-wo-table] {flex:1;min-height:0;display:flex;flex-direction:column;}
  html body #desktopOverview .wo-table-wrap {flex:1;min-height:0;}
  html body #desktopOverview #overviewTaskPanel {flex:1;min-height:0;display:flex;flex-direction:column;}
  html body #desktopOverview .overview-table-wrap {flex:1;min-height:0;}
  html body #desktopOverview :is(.overview-toolbar,.overview-pagination,#overviewError) {flex:none;}
}
@media(max-width:768px){
  html body #desktopOverview .wo-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  html body #desktopOverview .wo-box {margin-top:10px;}
  html body #desktopOverview .wo-chart-plot {height:140px;}
  html body #desktopOverview .wo-heading span {display:none;}
}

@media(prefers-reduced-motion:reduce){html body #desktopOverview .wo-card {transition:none;}html body #desktopOverview .wo-card:is(:hover,:focus-visible) {transform:none;}}
