.focus-view {
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}

.focus-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.focus-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.focus-stat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.focus-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--text-3);
}

.focus-stat.accent-focus::before { background: var(--brand); }
.focus-stat.accent-meeting::before { background: #f59e0b; }
.focus-stat.accent-neutral::before { background: var(--border-strong); }

.focus-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.focus-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1.1;
}

.focus-stat-sub {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 2px;
}

.focus-panel { margin: 0; }

.split-bar {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.split-seg { height: 100%; transition: width 0.35s ease; }
.seg-focus { background: var(--brand); }
.seg-meeting { background: #f59e0b; }

.split-legend {
  display: flex;
  gap: 28px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.legend-item { display: flex; align-items: center; gap: 9px; }

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex: none;
}

.legend-txt { display: flex; flex-direction: column; }
.legend-name { font-size: 13px; font-weight: 600; color: var(--text); }
.legend-meta { font-size: 12px; color: var(--text-2); }

.focus-lower {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: start;
}

.day-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  height: 190px;
  margin-top: 8px;
}

.day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 4px 2px;
  transition: background 0.15s ease;
}

.day-col:hover { background: var(--hover); }
.day-col.is-today .day-name { color: var(--brand-strong); font-weight: 700; }

.day-bars {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.day-stack {
  width: 60%;
  max-width: 30px;
  min-height: 3px;
  border-radius: 5px 5px 3px 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
}

.day-seg { width: 100%; }
.day-seg.seg-focus { background: var(--brand); }
.day-seg.seg-meeting { background: #f59e0b; }

.day-total {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 6px;
  min-height: 14px;
  font-weight: 600;
}

.day-name {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.run-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.run-row {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.run-row:hover { border-color: var(--border-strong); background: var(--hover); }

.run-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.run-day { font-size: 13px; font-weight: 600; color: var(--text); }
.run-len { font-size: 13px; font-weight: 700; color: var(--brand-strong); }

.run-meter {
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 8px 0 6px;
}

.run-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
}

.run-time { font-size: 12px; color: var(--text-2); }

.focus-guide {
  background: var(--brand-soft);
  border-color: transparent;
}

.guide-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.guide-head h3 { margin: 0; }

.guide-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand-strong);
  flex: none;
}

.guide-ic svg { width: 17px; height: 17px; }

.guide-line {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}

.guide-line:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .focus-stats { grid-template-columns: repeat(2, 1fr); }
  .focus-lower { grid-template-columns: 1fr; }
}
