body[data-workspace=true] .shell>.content:has(.workspace-home-overview) {
 width:100%;
 max-width:none;
 padding:0;
}
.content>.view:has(>.workspace-home-overview) {
 min-height:100%;
 padding:0;
 display:flex;
 flex-direction:column;
}
.workspace-home-overview {
 --home-gutter:clamp(16px,2.1vw,36px);
 display:flex;
 flex:1;
 flex-direction:column;
 min-width:0;
 gap:16px;
 padding:clamp(16px,2.8vh,30px) var(--home-gutter) var(--home-gutter);
}
.home-overview-head {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
}
.home-overview-head h2 {
 margin:0;
 color:var(--ink);
 font-size:17px;
 font-weight:600;
 letter-spacing:-.02em;
}
.home-greeting {
 margin:0 0 6px;
 color:var(--ink);
 font-size:clamp(22px,2.1vw,28px);
 font-weight:550;
 letter-spacing:-.04em;
 overflow-wrap:anywhere;
}
.home-period-select {
 min-height:32px;
 width:auto;
 max-width:100%;
 padding:0 28px 0 12px;
 border:1px solid var(--line);
 border-radius:8px;
 background-color:var(--surface);
 color:var(--ink);
 font-size:13px;
}
.home-tabs {
 border-bottom:1px solid var(--border-hover);
 min-width:0;
 overflow-x:auto;
 scrollbar-width:none;
}
.home-tabs-track {
 position:relative;
 display:flex;
 align-items:stretch;
 gap:clamp(3px,.9vw,14px);
 width:max-content;
 min-width:100%;
}
.home-tabs button {
 position:relative;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:none;
 min-height:42px;
 padding:0 12px;
 border:0;
 border-radius:6px 6px 0 0;
 background:transparent;
 color:var(--muted);
 font-size:13px;
 font-weight:500;
 white-space:nowrap;
 transition:color 150ms ease,background-color 150ms ease;
}
.home-tabs button[aria-selected=true] {color:var(--ink)}
.home-tabs button:not(:disabled):hover {background:var(--hover);color:var(--ink)}
.home-tabs button:disabled {opacity:.55;cursor:default}
.home-tabs button:focus-visible {outline-offset:-3px}
.home-tab-indicator {
 position:absolute;
 inset:auto auto 0 0;
 height:2px;
 border-radius:2px 2px 0 0;
 background:var(--ink);
 pointer-events:none;
 transition:transform 300ms cubic-bezier(.22,.8,.28,1),width 300ms cubic-bezier(.22,.8,.28,1);
}
.workspace-home-overview :is(button,a,select,[tabindex]):focus-visible {
 outline:2px solid var(--accent);
}
.home-tab-panel {
 display:flex;
 flex:1;
 flex-direction:column;
 min-height:310px;
 background:var(--surface);
 border:1px solid var(--line);
 border-radius:15px;
}
.home-report {
 display:grid;
 flex:1;
 grid-template-columns:minmax(0,1fr) clamp(220px,25%,300px);
}
.home-analysis {
 display:flex;
 flex-direction:column;
 min-width:0;
 padding:clamp(16px,2vw,28px);
}
.home-analysis-heading {position:relative}
.home-analysis-heading h3 {
 margin:0 0 6px;
 color:var(--muted);
 font-size:14px;
 font-weight:500;
 letter-spacing:0;
}
.home-value {
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:12px;
}
.home-value strong {
 color:var(--ink);
 font-size:clamp(27px,2.7vw,36px);
 line-height:1.12;
 letter-spacing:-.025em;
 font-weight:500;
 font-variant-numeric:tabular-nums;
 overflow-wrap:anywhere;
}
.home-value strong[data-kind=money] {font-size:clamp(24px,2.4vw,30px)}
.home-undated {
 display:flex;
 flex-wrap:wrap;
 align-items:baseline;
 gap:3px 8px;
 margin:8px 0 0;
 color:var(--muted);
 font-size:12px;
}
.home-undated[hidden] {display:none}
.home-undated strong {color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.home-delta {
 color:var(--ink);
 background:var(--soft);
 border-radius:6px;
 padding:5px 8px;
 font-size:12px;
 font-variant-numeric:tabular-nums;
}
.home-delta[data-direction=up] {color:var(--positive);background:var(--positive-soft)}
.home-delta[data-direction=down] {color:var(--error);background:var(--error-soft)}
.home-currency {position:absolute;inset:0 0 auto auto;min-height:28px}
.home-metrics {
 min-width:0;
 padding:clamp(16px,2vw,24px) 14px;
 border-left:1px solid var(--line);
 border-radius:0 15px 15px 0;
 background:color-mix(in srgb,var(--soft) 64%,var(--surface));
}
.home-metric {
 position:relative;
 display:grid;
 align-items:center;
 grid-template-columns:minmax(0,1fr) 32px;
 min-width:0;
 margin-bottom:5px;
 border:1px solid transparent;
 border-radius:10px;
}
.home-metric:hover {background:var(--hover)}
.home-metric[data-selected=true] {
 border-color:var(--border-hover);
 background:var(--surface);
}
.home-metric-select {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:8px;
 min-width:0;
 min-height:51px;
 padding:9px 4px 9px 11px;
 border:0;
 border-radius:8px;
 background:transparent;
 color:var(--ink);
 text-align:left;
 font-size:13px;
}
.home-metric-select strong {font-variant-numeric:tabular-nums;font-weight:600;text-align:right}
.home-info {
 display:grid;
 place-items:center;
 width:28px;
 height:30px;
 border:0;
 border-radius:6px;
 background:transparent;
 color:var(--muted);
}
.home-info .icon {width:15px;height:15px;margin:0}
.home-info:hover {background:var(--soft);color:var(--ink)}
.home-info-tip {
 position:absolute;
 z-index:3;
 display:none;
 right:2px;
 top:calc(100% + 4px);
 width:min(220px,95%);
 padding:10px 12px;
 border:1px solid var(--line);
 border-radius:9px;
 background:var(--popup);
 box-shadow:var(--shadow-menu);
 color:var(--ink);
 font-size:12px;
 line-height:1.45;
 pointer-events:none;
}
.home-info:not([data-dismissed]):is(:focus-visible,[data-open])+.home-info-tip {display:block}
@media (hover:hover) {.home-info:not([data-dismissed]):hover+.home-info-tip {display:block}}
.home-plot {
 position:relative;
 flex:1;
 min-height:152px;
 margin-top:clamp(16px,3.8vh,40px);
 border-radius:4px;
}
.home-plot canvas {
 position:absolute;
 inset:0;
 display:block;
 width:100%;
 height:100%;
 }
.home-plot[data-home-empty] {display:flex}
.home-plot[data-home-empty] :is(canvas,.report-chart-tip) {visibility:hidden}
.home-analysis-footer[hidden] {display:none}
.home-empty-card {
 display:grid;
 flex:1;
 align-content:center;
 justify-items:center;
 gap:14px;
 min-height:176px;
 padding:clamp(16px,3vw,30px);
 border:1px solid var(--line);
 border-radius:12px;
 background:var(--canvas);
 color:var(--ink);
 text-align:center;
}
.home-empty-card[hidden] {display:none}
.home-empty-standalone {margin:clamp(12px,2vw,28px)}
.home-empty-icon {
 display:grid;
 place-items:center;
 width:42px;
 height:42px;
 border:1px solid var(--line);
 border-radius:11px;
 background:var(--surface);
}
.home-empty-icon .icon {width:22px;height:22px;margin:0}
.home-empty-copy h3 {margin:0 0 5px;font-size:16px;font-weight:650;line-height:1.35}
.home-empty-copy p {margin:0;max-width:60ch;color:var(--muted);font-size:14px;line-height:1.45}
.home-empty-card .btn {min-height:40px}

.home-analysis-footer {
 display:flex;
 flex:none;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:8px 16px;
 margin-top:16px;
 padding-top:12px;
 border-top:1px solid var(--line);
 min-height:44px;
}
.home-legend {display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:var(--muted)}
.home-legend :is(span,button) {display:inline-flex;align-items:center;gap:6px;min-height:30px}
.home-legend button {
 padding:0 6px;
 border:1px solid transparent;
 border-radius:6px;
 background:transparent;
 color:inherit;
 font:inherit;
}
.home-legend button:hover {background:var(--hover)}
.home-legend button[aria-pressed=false] {text-decoration:line-through}
.home-legend button .report-chart-dot {--series-color:var(--report-previous)}
.home-legend button[aria-pressed=false] .report-chart-dot {opacity:.45}
.home-state {
 display:grid;
 flex:1;
 align-content:center;
 justify-items:center;
 gap:8px;
 padding:18px 12px;
 min-height:142px;
 text-align:center;
}
.home-state h3 {margin:3px 0 0;font-size:16px}
.home-state p {margin:0;color:var(--muted);font-size:13px;line-height:1.45;max-width:48ch}
.home-state .btn {margin-top:3px}
@media(max-width:900px),(max-height:650px) {
 .workspace-home-overview {gap:12px}
 .home-analysis,.home-metrics {padding:14px}
 .home-metric-select {min-height:42px}
 .home-analysis-footer {margin-top:8px;padding-top:8px}
}
@media(max-width:700px) {
 .workspace-home-overview {--home-gutter:12px}
 .home-tabs-track {gap:2px}
 .home-tabs button {padding:0 10px;min-height:44px}
 .home-greeting {font-size:21px;margin:0}
 .home-period-select {min-height:36px}
 .home-overview-head h2 {font-size:16px}
 .home-report {grid-template-columns:1fr;grid-template-rows:minmax(232px,1fr) auto}
 .home-analysis,.home-metrics {padding-block:12px}
 .home-metric {margin-bottom:3px}
 .home-metrics {border-left:0;border-top:1px solid var(--line);border-radius:0 0 15px 15px}
 .home-plot {margin-top:10px;min-height:112px}
 .home-empty-card {min-height:176px;gap:10px}
 .home-empty-card .btn {min-height:44px}
 .home-metric:last-child {margin:0}
 .home-info-tip {top:auto;bottom:calc(100% + 3px)}
}
@media(prefers-reduced-motion:reduce) {.home-tab-indicator,.home-tabs button {transition:none}}

.bots-overview {
 --bot-overview-link:#175fc9;
 gap:18px;
}
body[data-appearance=dark] .bots-overview {--bot-overview-link:#90c7ff}
.bots-overview .home-tab-panel {min-height:390px}
.bot-overview-channels {margin-bottom:10px}
.bot-overview-channels h2 {
 margin:0 0 12px;
 font-size:17px;
 font-weight:600;
 letter-spacing:-.02em;
}
.bot-overview-channel-grid {
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(min(100%,216px),244px));
 gap:12px;
}
.bot-overview-channel,.bot-overview-add {
 border:1px solid var(--line);
 border-radius:14px;
 min-width:0;
}
.bot-overview-channel {
 display:flex;
 flex-direction:column;
 gap:29px;
 padding:16px;
 background:var(--surface);
}
.bot-overview-platform {
 display:flex;
 align-items:center;
 gap:8px;
 color:var(--ink);
 font-size:16px;
 font-weight:500;
 line-height:24px;
}
.bot-overview-brand {display:grid;place-items:center;flex:none;width:24px;height:24px}
.bot-overview-brand img {display:block;width:24px;height:24px;object-fit:contain}
.bot-overview-channel-identity {display:flex;align-items:center;gap:8px;min-width:0}
.bot-overview-avatar {
 position:relative;
 display:grid;
 place-items:center;
 flex:none;
 width:40px;
 height:40px;
 border-radius:50%;
 background:var(--soft);
 color:var(--muted);
 overflow:hidden;
}
.bot-overview-avatar img {position:absolute;inset:0;object-fit:cover;opacity:0}
.bot-overview-avatar img.is-loaded {opacity:1}
.bot-overview-account {min-width:0}
.bot-overview-channel h3 {margin:0;font-size:13px;font-weight:450;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bot-overview-link {display:flex;align-items:center;gap:3px;color:var(--bot-overview-link);font-size:13px;line-height:18px}
.bot-overview-link a {color:inherit;text-underline-offset:3px}
.bot-overview-link a:hover {text-decoration:underline}
.bot-overview-link .icon-btn {width:26px;height:26px;color:inherit}
.bot-overview-link .icon-btn svg {width:15px;height:15px;transform:scaleX(-1)}
.bot-overview-channel-count {display:grid;justify-items:start;gap:4px;color:var(--muted);font-size:13px}
.bot-overview-channel-count strong {color:var(--ink);font-size:26px;font-weight:650;line-height:1.04;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.bot-overview-add {
 display:flex;
 align-items:center;
 justify-content:center;
 gap:5px;
 min-height:84px;
 border-color:var(--border-hover);
 border-style:dashed;
 background:transparent;
 color:var(--ink);
 font-size:14px;
 font-weight:450;
 cursor:pointer;
}
.bot-overview-add .icon {width:12px;height:12px}
.bot-overview-add:hover {background:var(--hover);border-color:var(--muted)}
.bot-overview-connect-option {
 display:grid;
 grid-template-columns:auto minmax(0,1fr);
 align-items:center;
 gap:10px 12px;
 padding:14px;
 border:1px solid var(--line);
 border-radius:12px;
}
.bot-overview-connect-option p {margin:4px 0 0;color:var(--muted);font-size:13px}
.bot-overview-connect-option .btn {grid-column:2;justify-self:start}
@media (max-width:700px) {
 .bots-overview .home-tab-panel {min-height:0}
 .bot-overview-channels {margin-bottom:0}
 .bot-overview-channel-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,216px),1fr))}
 .bot-overview-link .icon-btn {min-width:34px;min-height:36px}
}
