/* ============================================================
   The3dogs — views
   ============================================================ */

.mt-18 { margin-top: 18px; }
.mb-18 { margin-bottom: 18px; }
.back-link {
  display: inline-flex; align-items: center; gap: 5px; color: var(--faint);
  font-size: 10.5px; margin-bottom: 16px; transition: color 150ms ease;
}
.back-link:hover { color: var(--green); }

/* ---------------------------------------------------------------- today */
.hero-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 224px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 7% 10%, rgba(189,189,189, 0.055), transparent 65%),
    linear-gradient(180deg, #151515, #111111);
}
.hero-col { padding: 24px 24px 22px; min-width: 0; position: relative; }
.hero-col + .hero-col { border-left: 1px solid var(--line); }
.hero-load { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-load .card-kicker { align-self: flex-start; }
.hero-ring-wrap { margin: 4px 0 10px; }
.hero-ring-wrap .ring-center strong { font-size: 27px; }
.hero-load-caption { font-size: 10px; color: var(--faint); line-height: 1.5; }
.hero-load-caption strong { color: var(--text-2); font-weight: 500; }
.hero-load-split { display: flex; gap: 14px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); width: 100%; justify-content: center; }
.hero-split { text-align: center; }
.hero-split strong { display: block; font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; white-space: nowrap; }
.hero-split span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-top: 2px; }
.hero-next { padding-bottom: 10px; }
.hero-next .card-kicker { display: flex; align-items: center; justify-content: space-between; }
.hero-next .card-kicker span { color: #5d5d5d; letter-spacing: 0.03em; text-transform: none; font-size: 9px; }
.suggest-list { margin: 0 -10px; }
.suggest-item {
  width: 100%; display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px;
  gap: 9px; align-items: center; padding: 11px 10px; border-radius: 9px;
  text-align: left; transition: background 150ms ease;
}
.suggest-item + .suggest-item { margin-top: 1px; }
.suggest-item:hover { background: rgba(255,255,255, 0.035); }
.suggest-index { font-size: 9px; color: #4d4d4d; font-variant-numeric: tabular-nums; }
.suggest-body { min-width: 0; }
.suggest-reason { display: block; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); opacity: 0.85; margin-bottom: 3px; }
.suggest-title { display: block; font-size: 12.5px; color: var(--text-2); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item:hover .suggest-title { color: var(--text); }
.suggest-meta { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--faint); margin-top: 3px; }
.suggest-arrow { color: #525252; transition: color 150ms ease, transform 150ms ease; }
.suggest-item:hover .suggest-arrow { color: var(--green); transform: translateX(2px); }
.hero-momentum { display: flex; flex-direction: column; }
.hero-momentum-value { font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 3px 0 2px; color: #f2f2f2; }
.hero-momentum-value small { font-size: 10px; color: var(--faint); letter-spacing: 0; font-weight: 400; margin-left: 5px; }
.hero-momentum .spark { margin: 14px 0 8px; color: var(--green); width: 100%; }
.hero-momentum-note { font-size: 9.5px; color: var(--faint); line-height: 1.5; margin-top: auto; }
.hero-momentum-note strong { color: var(--green); font-weight: 500; }
.hero-task-peek { display: flex; align-items: center; gap: 6px; margin-top: 11px; font-size: 9.5px; color: var(--faint); }
.hero-task-peek .ic { color: var(--green); }

.day-tl { position: relative; }
.day-tl-row { display: grid; grid-template-columns: 44px 14px minmax(0, 1fr); gap: 8px; position: relative; padding-bottom: 16px; }
.day-tl-row:last-child { padding-bottom: 0; }
.day-tl-time { font-size: 9.5px; color: var(--faint); padding-top: 1px; font-variant-numeric: tabular-nums; }
.day-tl-rail { position: relative; display: flex; justify-content: center; }
.day-tl-rail::before { content: ""; position: absolute; top: 6px; bottom: -18px; width: 1px; background: var(--line); }
.day-tl-row:last-child .day-tl-rail::before { display: none; }
.day-tl-rail i { width: 7px; height: 7px; border-radius: 50%; margin-top: 4px; background: #545454; border: 2px solid var(--bg); box-shadow: 0 0 0 1px #303030; position: relative; z-index: 1; }
.day-tl-body { min-width: 0; }
.day-tl-title { font-size: 11.5px; color: var(--text-2); line-height: 1.4; }
.day-tl-meta { font-size: 9px; color: var(--faint); margin-top: 2px; }
.day-tl-row.tl-meeting .day-tl-rail i { background: var(--amber); box-shadow: 0 0 8px rgba(193,193,193, 0.4); }
.day-tl-row.tl-deep .day-tl-rail i { background: var(--green); box-shadow: 0 0 8px rgba(189,189,189, 0.4); }
.day-tl-row.tl-limit .day-tl-rail i { background: #525252; }
.day-tl-row.tl-limit .day-tl-title { color: var(--faint); }
.day-tl-row.tl-shallow .day-tl-rail i { background: var(--blue); }
.day-tl-row.is-now .day-tl-title { color: var(--green); }
.tl-now {
  font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green);
  background: rgba(189,189,189, 0.08); border: 1px solid rgba(189,189,189, 0.15);
  border-radius: 4px; padding: 1px 4px; margin-left: 5px; vertical-align: 1px;
}
.task-tabs { display: flex; align-items: center; gap: 2px; }
.task-tabs button { height: 24px; padding: 0 8px; border-radius: 6px; color: var(--faint); font-size: 9.5px; }
.task-tabs button.is-active { background: rgba(255,255,255, 0.05); color: var(--text-2); }
.task-tabs button:hover { color: var(--text-2); }

.pulse-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pulse-row:first-child { border-top: 0; padding-top: 0; }
.pulse-main { flex: 1; min-width: 0; }
.pulse-name { font-size: 11px; color: var(--text-2); }
.pulse-now { font-size: 9.5px; color: var(--faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pulse-load { width: 56px; flex: 0 0 auto; text-align: right; }
.pulse-load span { font-size: 8.5px; color: var(--faint); display: block; margin-bottom: 4px; }
.flag-list { display: flex; flex-direction: column; gap: 2px; margin: 0 -7px; }
.flag-item { display: flex; align-items: center; gap: 9px; padding: 8px 7px; border-radius: 8px; transition: background 150ms ease; }
.flag-item:hover { background: rgba(255,255,255, 0.03); }
.flag-ic { width: 23px; height: 23px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: rgba(255,255,255, 0.035); color: var(--muted); }
.flag-ic.red { color: var(--red); background: rgba(164,164,164, 0.07); }
.flag-ic.amber { color: var(--amber); background: rgba(193,193,193, 0.07); }
.flag-ic.blue { color: var(--blue); background: rgba(178,178,178, 0.07); }
.flag-copy { flex: 1; min-width: 0; font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.flag-copy strong { color: var(--text-2); font-weight: 500; }
.flag-count { font-size: 10px; color: var(--faint); }
.brief-mini { display: flex; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.brief-mini:first-child { border-top: 0; padding-top: 0; }
.brief-mini-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-top: 5px; flex: 0 0 auto; }
.brief-mini-dot.read { background: #444444; }
.brief-mini-title { font-size: 10.5px; color: var(--text-2); line-height: 1.45; }
.brief-mini-meta { font-size: 9px; color: var(--faint); margin-top: 2px; }

/* ----------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.person-card { padding: 19px; }
.person-head { display: flex; align-items: flex-start; gap: 10px; }
.person-head-copy { flex: 1; min-width: 0; }
.person-name { font-size: 13px; color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-role { font-size: 9.5px; color: var(--faint); margin-top: 2px; }
.person-now {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 8px 9px; border-radius: 8px;
  background: rgba(255,255,255, 0.018); border: 1px solid var(--line);
  font-size: 9.5px; color: var(--faint); min-width: 0;
}
.person-now .now-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(189,189,189, 0.5); flex: 0 0 auto; }
.person-now span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.person-load { margin-top: 14px; }
.person-load-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; color: var(--faint); margin-bottom: 6px; }
.person-load-top strong { color: var(--text-2); font-weight: 500; }
.person-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.person-stat strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.person-stat span { display: block; font-size: 8px; color: var(--faint); margin-top: 1px; white-space: nowrap; }
.person-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.person-flags { display: flex; align-items: center; gap: 5px; }
.person-flag { font-size: 8.5px; color: var(--faint); display: inline-flex; align-items: center; gap: 3px; }
.person-flag.red { color: var(--red); }
.person-flag.amber { color: var(--amber); }
.person-flag.green { color: var(--green); }
.person-flag .ic { width: 10px; height: 10px; }
.person-card .btn-link { font-size: 9.5px; }

.portfolio { display: flex; flex-direction: column; }
.portfolio-row {
  display: grid; grid-template-columns: 34px minmax(0, 1.3fr) minmax(120px, 0.75fr) auto auto;
  align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line);
  transition: background 150ms ease;
}
.portfolio-row:first-child { border-top: 0; }
.portfolio-row:hover .pf-title { color: var(--green); }
.pf-main { min-width: 0; }
.pf-title { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 7px; transition: color 150ms ease; }
.pf-summary { font-size: 9.5px; color: var(--faint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
.pf-progress { min-width: 0; }
.pf-progress-top { display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; color: var(--faint); margin-bottom: 4px; }
.pf-progress-top strong { color: var(--text-2); font-weight: 500; }
.pf-health { min-width: 66px; text-align: right; }
.pf-people { display: flex; justify-content: flex-end; }
.risk-list { display: flex; flex-direction: column; }
.risk-item { display: flex; align-items: flex-start; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.risk-item:first-child { border-top: 0; padding-top: 0; }
.risk-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 6px; flex: 0 0 auto; background: var(--green); }
.risk-dot.red { background: var(--red); box-shadow: 0 0 7px rgba(164,164,164, 0.4); }
.risk-dot.amber { background: var(--amber); box-shadow: 0 0 7px rgba(193,193,193, 0.35); }
.risk-dot.blue { background: var(--blue); }
.risk-copy { flex: 1; min-width: 0; }
.risk-title { font-size: 10.5px; color: var(--text-2); line-height: 1.4; }
.risk-detail { font-size: 9px; color: var(--faint); margin-top: 2px; line-height: 1.45; }
.risk-item:hover .risk-title { color: var(--green); }
.review-mini { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); }
.review-mini:first-child { border-top: 0; }
.review-mini-title { flex: 1; min-width: 0; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-mini .avatar { width: 22px !important; height: 22px !important; font-size: 8px !important; }

.chart-bars { display: flex; align-items: flex-end; gap: 13px; height: 138px; padding-top: 6px; }
.chart-week { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; height: 100%; min-width: 0; }
.chart-stack { display: flex; flex-direction: column-reverse; justify-content: flex-start; height: 100%; gap: 2px; }
.chart-seg { width: 100%; border-radius: 3px; min-height: 2px; transition: opacity 150ms ease; }
.chart-week:hover .chart-seg { opacity: 0.82; }
.chart-label { text-align: center; font-size: 8px; color: var(--faint); white-space: nowrap; }
.chart-legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.chart-legend-item { display: flex; align-items: center; gap: 5px; font-size: 8.5px; color: var(--faint); }
.chart-legend-item i { width: 6px; height: 6px; border-radius: 2px; }
.chart-total { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.chart-total small { font-size: 9px; color: var(--faint); font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.forecast-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.forecast-row:first-child { border-top: 0; }
.forecast-name { width: 74px; font-size: 10px; color: var(--text-2); flex: 0 0 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.forecast-bar { flex: 1; }
.forecast-num { width: 58px; text-align: right; font-size: 8.5px; color: var(--faint); flex: 0 0 auto; }
.forecast-num strong { color: var(--text-2); font-weight: 500; }

/* ------------------------------------------------------------- projects */
.projects-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card {
  display: flex; flex-direction: column; min-height: 218px;
  padding: 19px; position: relative; overflow: hidden;
}
.project-card.is-focus::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(189,189,189, 0.65), transparent);
  border-radius: 2px;
}
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.pc-type { display: flex; align-items: center; gap: 6px; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); }
.pc-type i { width: 5px; height: 5px; border-radius: 50%; }
.pc-right { display: flex; align-items: center; gap: 5px; }
.focus-star { color: var(--green); display: inline-flex; }
.pc-title { font-size: 16px; color: var(--text); font-weight: 520; letter-spacing: -0.02em; }
.pc-summary { font-size: 10.5px; color: var(--muted); line-height: 1.55; margin-top: 5px; min-height: 32px; }
.pc-progress { margin-top: auto; padding-top: 16px; }
.pc-progress-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: 8.5px; color: var(--faint); }
.pc-progress-top strong { color: var(--text-2); font-size: 10px; font-weight: 500; }
.pc-stats { display: flex; align-items: center; gap: 12px; margin-top: 11px; font-size: 8.5px; color: var(--faint); }
.pc-stats span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.pc-stats .ic { width: 10px; height: 10px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.pc-date { font-size: 8.5px; color: var(--faint); display: flex; align-items: center; gap: 4px; }
.pc-date.soon { color: var(--amber); }
.project-empty { grid-column: 1 / -1; }

/* --------------------------------------------------------- project detail */
.detail-head { display: flex; align-items: flex-start; gap: 15px; }
.detail-head-main { flex: 1; min-width: 0; }
.detail-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.detail-title-row h1 { font-size: clamp(27px, 2.5vw, 36px); font-weight: 520; letter-spacing: -0.04em; line-height: 1.1; }
.detail-head .page-sub { max-width: 720px; }
.detail-meta-row {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin: 20px 0 18px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.detail-meta { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--faint); }
.detail-meta strong { color: var(--text-2); font-weight: 500; }
.detail-meta .avatar { width: 20px !important; height: 20px !important; font-size: 7.5px !important; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.objective-text { font-size: 13px; line-height: 1.65; color: var(--text-2); }
.success-note { margin-top: 14px; padding: 11px 12px; border-radius: 9px; background: rgba(255,255,255, 0.02); border: 1px solid var(--line); font-size: 10.5px; color: var(--muted); line-height: 1.55; }
.success-note strong { color: var(--text-2); font-weight: 500; display: block; margin-bottom: 3px; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.1em; }
.milestone-list { display: flex; flex-direction: column; }
.milestone {
  display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line);
}
.milestone:first-child { border-top: 0; }
.milestone-mark { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); margin-top: 1px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: transparent; }
.milestone.done .milestone-mark { background: rgba(189,189,189, 0.14); border-color: rgba(189,189,189, 0.3); color: var(--green); }
.milestone-mark .ic { width: 8px; height: 8px; }
.milestone-title { font-size: 11px; color: var(--text-2); }
.milestone.done .milestone-title { color: var(--muted); }
.milestone-date { font-size: 9px; color: var(--faint); margin-top: 2px; }
.progress-hero { display: flex; align-items: center; gap: 20px; }
.progress-hero-copy { flex: 1; min-width: 0; }
.progress-hero-copy h3 { font-size: 12px; color: var(--text-2); font-weight: 500; }
.progress-hero-copy .big-number { margin: 6px 0 2px; }
.progress-hero-copy p { font-size: 9.5px; color: var(--faint); line-height: 1.5; }
.hours-split { display: flex; gap: 18px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.hours-split .metric-cell { border-top: 0; padding-top: 0; }
.knowledge-list { display: flex; flex-direction: column; gap: 7px; }
.knowledge-row {
  display: flex; align-items: center; gap: 9px; padding: 8px 9px;
  border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255, 0.014);
  transition: border-color 150ms ease;
}
.knowledge-row:hover { border-color: var(--line-2); }
.knowledge-kind { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: rgba(178,178,178, 0.07); color: var(--blue); flex: 0 0 auto; }
.knowledge-kind .ic { width: 12px; height: 12px; }
.knowledge-title { flex: 1; min-width: 0; font-size: 10.5px; color: var(--text-2); }
.knowledge-rel { font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.activity-list .event-text { font-size: 10.5px; }

.version-list { position: relative; }
.version-item { display: flex; gap: 12px; padding-bottom: 20px; position: relative; }
.version-item:last-child { padding-bottom: 0; }
.version-item::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.version-item:last-child::before { display: none; }
.version-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(189,189,189, 0.4); background: #111111; margin-top: 4px; flex: 0 0 auto; position: relative; z-index: 1; }
.version-item:first-child .version-dot { background: var(--green); box-shadow: 0 0 10px rgba(189,189,189, 0.35); border-color: var(--green); }
.version-body { flex: 1; min-width: 0; }
.version-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.version-tag { font-size: 8.5px; color: var(--green); border: 1px solid rgba(189,189,189, 0.2); background: rgba(189,189,189, 0.05); border-radius: 4px; padding: 1px 5px; }
.version-summary { font-size: 12px; color: var(--text-2); margin-top: 5px; line-height: 1.45; }
.version-reason { font-size: 10.5px; color: var(--muted); line-height: 1.55; margin-top: 5px; }
.version-reason span { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 7.5px; margin-right: 4px; }
.version-meta { display: flex; align-items: center; gap: 6px; font-size: 8.5px; color: var(--faint); margin-top: 7px; }
.version-meta .avatar { width: 17px !important; height: 17px !important; font-size: 6.5px !important; }
.decision-compact { padding: 12px 0; border-top: 1px solid var(--line); }
.decision-compact:first-child { border-top: 0; padding-top: 0; }
.decision-compact-title { font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.decision-compact-reason { font-size: 9.5px; color: var(--faint); margin-top: 4px; line-height: 1.5; }
.decision-compact-meta { font-size: 8.5px; color: #606060; margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.learning-log-row { padding: 11px 0; border-top: 1px solid var(--line); }
.learning-log-row:first-child { border-top: 0; padding-top: 0; }
.learning-log-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.learning-log-title { font-size: 11px; color: var(--text-2); }
.learning-log-insight { font-size: 9.5px; color: var(--muted); line-height: 1.55; margin-top: 4px; padding-left: 9px; border-left: 1px solid rgba(189,189,189, 0.22); }
.learning-log-meta { font-size: 8.5px; color: var(--faint); margin-top: 4px; }

.access-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.access-row:first-child { border-top: 0; }
.access-copy { flex: 1; min-width: 0; }
.access-name { font-size: 11.5px; color: var(--text-2); }
.access-email { font-size: 9px; color: var(--faint); margin-top: 1px; }
.access-scope { font-size: 8.5px; color: var(--faint); margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.access-note { font-size: 9.5px; color: var(--faint); line-height: 1.55; }

/* ------------------------------------------------------------- capacity */
.person-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: rgba(255,255,255,.014); }
.person-switch button { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 5px; border-radius: 7px; color: var(--faint); font-size: 10px; }
.person-switch button.is-active { background: rgba(255,255,255, 0.055); color: var(--text); }
.person-switch .avatar { width: 20px !important; height: 20px !important; font-size: 7.5px !important; }
.week-nav { display: flex; align-items: center; gap: 3px; }
.week-nav .week-label { min-width: 118px; text-align: center; font-size: 10.5px; color: var(--text-2); }
.capacity-card { overflow: hidden; }
.cal-scroll { overflow-x: auto; margin: 0 -6px; padding: 0 6px 2px; }
.cal { min-width: 720px; }
.cal-head { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cal-day { padding: 0 6px 10px; text-align: center; }
.cal-day span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.cal-day strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--text-2); margin-top: 2px; }
.cal-day em { display: block; font-style: normal; font-size: 7.5px; color: #565656; margin-top: 1px; }
.cal-day.is-today strong { color: var(--green); }
.cal-day.is-today span { color: var(--green); opacity: 0.7; }
.cal-day.is-weekend { opacity: 0.55; }
.cal-body { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); height: var(--cal-h, 500px); position: relative; }
.cal-times { position: relative; border-right: 1px solid var(--line); }
.cal-time { position: absolute; right: 7px; transform: translateY(-50%); font-size: 7.5px; color: #565656; white-space: nowrap; }
.cal-col {
  position: relative; border-right: 1px solid rgba(255,255,255, 0.025);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour-h, 40px) - 1px), rgba(255,255,255, 0.035) calc(var(--hour-h, 40px) - 1px), rgba(255,255,255, 0.035) var(--hour-h, 40px));
}
.cal-col:last-child { border-right: 0; }
.cal-col.is-off { background-color: rgba(255,255,255, 0.012); background-image: repeating-linear-gradient(135deg, transparent 0, transparent 7px, rgba(255,255,255, 0.018) 7px, rgba(255,255,255, 0.018) 8px); }
.cal-col.is-today { background-color: rgba(189,189,189, 0.018); }
.cal-block {
  position: absolute; left: 4px; right: 4px; border-radius: 5px;
  padding: 3px 5px; overflow: hidden; font-size: 7.5px; line-height: 1.35;
  border: 1px solid transparent; color: var(--text-2);
  z-index: 2;
}
.cal-block b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-block small { display: block; font-size: 6.5px; color: inherit; opacity: 0.65; margin-top: 1px; white-space: nowrap; }
.cal-block.deep { background: rgba(189,189,189, 0.1); border-color: rgba(189,189,189, 0.18); color: #cbcbcb; }
.cal-block.shallow { background: rgba(178,178,178, 0.09); border-color: rgba(178,178,178, 0.16); color: #bdbdbd; }
.cal-block.admin { background: rgba(255,255,255, 0.035); border-color: rgba(255,255,255, 0.06); color: #989898; }
.cal-block.meeting { background: rgba(193,193,193, 0.12); border-color: rgba(193,193,193, 0.22); color: #c8c8c8; z-index: 3; }
.cal-block.limit {
  background: repeating-linear-gradient(135deg, rgba(255,255,255, 0.025) 0, rgba(255,255,255, 0.025) 5px, transparent 5px, transparent 10px);
  border-color: rgba(255,255,255, 0.055); color: #6f6f6f; z-index: 1;
}
.cal-block.limit b { font-weight: 400; }
.cal-now { position: absolute; left: 0; right: 0; height: 1px; background: var(--green); z-index: 4; opacity: 0.55; }
.cal-now::before { content: ""; position: absolute; left: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.cap-legend { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.cap-legend span { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; color: var(--faint); }
.cap-legend i { width: 6px; height: 6px; border-radius: 2px; }
.cap-agenda { display: none; }
.agenda-day { padding: 12px 0; border-top: 1px solid var(--line); }
.agenda-day:first-child { border-top: 0; padding-top: 0; }
.agenda-day-head { display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px; }
.agenda-day-head strong { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.agenda-day-head span { font-size: 9px; color: var(--faint); }
.agenda-day-head .today-mark { color: var(--green); font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; margin-left: auto; }
.agenda-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 9.5px; }
.agenda-time { width: 70px; color: var(--faint); font-size: 8.5px; flex: 0 0 auto; }
.agenda-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.agenda-dot.deep { background: var(--green); }
.agenda-dot.shallow { background: var(--blue); }
.agenda-dot.meeting { background: var(--amber); }
.agenda-dot.limit { background: #555555; }
.agenda-row span:last-child { color: var(--muted); }
.limit-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.limit-row:first-child { border-top: 0; }
.limit-icon { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255, 0.03); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.limit-icon .ic { width: 12px; height: 12px; }
.limit-copy { flex: 1; min-width: 0; }
.limit-name { font-size: 10px; color: var(--text-2); }
.limit-time { font-size: 8.5px; color: var(--faint); margin-top: 1px; }
.limit-value { font-size: 9px; color: var(--muted); white-space: nowrap; }
.realism { display: flex; align-items: center; gap: 13px; }
.realism-copy { flex: 1; }
.realism-title { font-size: 11.5px; color: var(--text-2); }
.realism-note { font-size: 9.5px; color: var(--faint); line-height: 1.5; margin-top: 3px; }
.capacity-tasks .task-row { padding: 9px 0; }
.focus-pattern { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.focus-pattern .metric-cell { border-top: 0; padding-top: 0; flex: 1; }

/* --------------------------------------------------------------- weekly */
.plan-list { display: flex; flex-direction: column; }
.plan-person { padding: 14px 0; border-top: 1px solid var(--line); }
.plan-person:first-child { border-top: 0; padding-top: 0; }
.plan-head { display: flex; align-items: center; gap: 9px; }
.plan-head-copy { flex: 1; min-width: 0; }
.plan-name { font-size: 11.5px; color: var(--text-2); }
.plan-role { font-size: 8.5px; color: var(--faint); margin-top: 1px; }
.plan-load-label { font-size: 8.5px; color: var(--faint); }
.plan-load-label strong { color: var(--text-2); font-weight: 500; }
.goals { list-style: none; margin: 9px 0 0 33px; display: flex; flex-direction: column; gap: 4px; }
.goals li { position: relative; padding-left: 12px; font-size: 10px; color: var(--muted); line-height: 1.45; }
.goals li::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: rgba(189,189,189, 0.55); }
.plan-bar { margin: 9px 0 0 33px; }
.plan-carry { margin: 7px 0 0 33px; font-size: 8.5px; color: var(--faint); }
.plan-carry strong { color: var(--amber); font-weight: 500; }
.report-card { position: relative; }
.report-summary { font-size: 11.5px; line-height: 1.65; color: var(--text-2); }
.report-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.report-section-label { font-size: 8px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--faint); margin-bottom: 6px; }
.report-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.report-list li { position: relative; padding-left: 11px; font-size: 9.5px; color: var(--muted); line-height: 1.5; }
.report-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 3px; height: 3px; border-radius: 50%; background: #5e5e5e; }
.report-list.is-risk li::before { background: var(--amber); }
.report-foot { display: flex; align-items: center; gap: 7px; margin-top: 15px; }
.horizon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.horizon-cell { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: rgba(255,255,255, 0.012); }
.horizon-week { font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.horizon-date { font-size: 10px; color: var(--text-2); margin-top: 3px; }
.horizon-count { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.04em; margin-top: 8px; }
.horizon-count small { font-size: 8px; color: var(--faint); letter-spacing: 0; font-weight: 400; }
.horizon-list { margin-top: 5px; font-size: 8px; color: var(--faint); line-height: 1.45; }
.velocity-person { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.velocity-person:first-child { border-top: 0; }
.velocity-name { width: 60px; font-size: 9px; color: var(--muted); flex: 0 0 auto; }
.velocity-bars { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.velocity-bar { flex: 1; background: rgba(255,255,255, 0.07); border-radius: 2px; min-height: 2px; }
.velocity-bar.is-current { background: var(--green); opacity: 0.85; }

/* ------------------------------------------------------------- learning */
.learning-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.brief-feed { display: flex; flex-direction: column; }
.brief-item { padding: 15px 0; border-top: 1px solid var(--line); }
.brief-item:first-child { border-top: 0; padding-top: 0; }
.brief-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.brief-importance { width: 5px; height: 5px; border-radius: 50%; background: #515151; }
.brief-importance.high { background: var(--green); box-shadow: 0 0 7px rgba(189,189,189, 0.4); }
.brief-item h3 { font-size: 13px; font-weight: 500; color: var(--text-2); line-height: 1.4; letter-spacing: -0.01em; }
.brief-item.is-read h3 { color: var(--muted); }
.brief-summary { font-size: 10.5px; line-height: 1.65; color: var(--muted); margin-top: 5px; }
.brief-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.brief-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.brief-action { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 6px; border-radius: 5px; font-size: 8.5px; color: var(--faint); border: 1px solid transparent; }
.brief-action:hover { color: var(--text-2); background: rgba(255,255,255, 0.035); border-color: var(--line); }
.brief-action.is-on { color: var(--green); }
.brief-action .ic { width: 11px; height: 11px; }
.learning-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lstat { border: 1px solid var(--line); border-radius: 9px; padding: 9px; background: rgba(255,255,255, 0.012); }
.lstat strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.lstat span { display: block; font-size: 7.5px; color: var(--faint); margin-top: 2px; }
.streak-row { display: flex; align-items: center; gap: 4px; margin-top: 11px; }
.streak-day { flex: 1; height: 4px; border-radius: 3px; background: rgba(255,255,255, 0.06); }
.streak-day.on { background: var(--green); opacity: 0.7; }
.streak-day.today { opacity: 1; box-shadow: 0 0 7px rgba(189,189,189, 0.35); }
.streak-meta { display: flex; justify-content: space-between; font-size: 7.5px; color: var(--faint); margin-top: 5px; }
.log-list { display: flex; flex-direction: column; }
.log-item { padding: 11px 0; border-top: 1px solid var(--line); }
.log-item:first-child { border-top: 0; padding-top: 0; }
.log-head { display: flex; align-items: flex-start; gap: 8px; }
.log-title { flex: 1; min-width: 0; font-size: 10.5px; color: var(--text-2); line-height: 1.4; }
.log-minutes { font-size: 8.5px; color: var(--faint); white-space: nowrap; }
.log-insight { margin-top: 6px; font-size: 9px; color: var(--muted); line-height: 1.55; border-left: 1px solid rgba(189,189,189, 0.25); padding-left: 8px; }
.log-meta { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 8px; color: var(--faint); flex-wrap: wrap; }
.team-learning-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.team-learning-row:first-child { border-top: 0; }
.team-learning-name { width: 58px; font-size: 9px; color: var(--muted); flex: 0 0 auto; }
.team-learning-bar { flex: 1; }
.team-learning-value { width: 38px; text-align: right; font-size: 8px; color: var(--faint); }

/* ------------------------------------------------------------- meetings */
.meetings-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 16px; align-items: start; }
.meeting-list { display: flex; flex-direction: column; padding: 7px; }
.meeting-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 10px;
  border-radius: 9px; transition: background 150ms ease; text-align: left; width: 100%;
}
.meeting-item:hover { background: rgba(255,255,255, 0.03); }
.meeting-item.is-active { background: rgba(189,189,189, 0.055); }
.meeting-date-box {
  width: 36px; height: 38px; border-radius: 7px; background: rgba(255,255,255, 0.025);
  border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex: 0 0 auto;
}
.meeting-date-box span { font-size: 7px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.meeting-date-box strong { font-family: var(--font-display); font-size: 14px; font-weight: 500; line-height: 1.1; }
.meeting-item.is-active .meeting-date-box { border-color: rgba(189,189,189, 0.18); }
.meeting-item-copy { flex: 1; min-width: 0; }
.meeting-item-title { font-size: 10.5px; color: var(--text-2); line-height: 1.4; }
.meeting-item-meta { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 8px; color: var(--faint); flex-wrap: wrap; }
.meeting-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.meeting-detail-title { font-size: 18px; font-weight: 520; letter-spacing: -0.025em; }
.meeting-detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 9.5px; color: var(--faint); }
.meeting-notes { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.meeting-notes li { position: relative; padding-left: 13px; font-size: 11px; line-height: 1.6; color: var(--text-2); }
.meeting-notes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: rgba(189,189,189, 0.55); }
.agenda-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.attendees-row { display: flex; align-items: center; gap: 7px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.attendees-label { font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.decision-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: rgba(255,255,255, 0.014); }
.decision-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.decision-title { font-size: 11.5px; color: var(--text-2); font-weight: 500; }
.decision-context { font-size: 9.5px; color: var(--muted); line-height: 1.55; margin-top: 7px; }
.decision-reason { margin-top: 8px; padding: 8px 9px; border-radius: 7px; background: rgba(189,189,189, 0.035); border-left: 2px solid rgba(189,189,189, 0.4); font-size: 9.5px; line-height: 1.5; color: var(--text-2); }
.decision-reason span { display: block; font-size: 7px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); margin-bottom: 3px; }
.decision-impact { font-size: 9px; color: var(--faint); line-height: 1.5; margin-top: 7px; }
.decision-foot { display: flex; align-items: center; gap: 6px; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 8px; color: var(--faint); flex-wrap: wrap; }
.decision-foot .avatar { width: 17px !important; height: 17px !important; font-size: 6.5px !important; }

/* --------------------------------------------------------------- access */
.demo-banner {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(178,178,178, 0.14); background: rgba(178,178,178, 0.035);
  border-radius: 12px; padding: 10px 13px; font-size: 10px; color: var(--muted);
  line-height: 1.5; margin-bottom: 16px;
}
.demo-banner .ic { color: var(--blue); flex: 0 0 auto; }
.demo-banner strong { color: var(--text-2); font-weight: 500; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.invite-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.invite-row:first-child { border-top: 0; }
.invite-email { flex: 1; min-width: 0; font-size: 10.5px; color: var(--text-2); }
.invite-meta { font-size: 8.5px; color: var(--faint); margin-top: 2px; }
.invite-actions { display: flex; align-items: center; gap: 5px; }
.permission-note { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border-radius: 8px; background: rgba(255,255,255, 0.016); border: 1px solid var(--line); font-size: 9.5px; color: var(--faint); line-height: 1.55; margin-top: 12px; }
.permission-note .ic { color: var(--muted); flex: 0 0 auto; margin-top: 1px; }
.role-chip { font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.role-owner { color: var(--green); border-color: rgba(189,189,189, 0.2); }
.role-editor { color: var(--blue); border-color: rgba(178,178,178, 0.2); }
.role-viewer { color: var(--faint); }

/* ------------------------------------------------------------- settings */
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.settings-card .card-title { font-size: 13px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.settings-row:first-of-type { border-top: 0; }
.settings-label { font-size: 10.5px; color: var(--text-2); }
.settings-hint { font-size: 8.5px; color: var(--faint); margin-top: 2px; max-width: 260px; line-height: 1.45; }
.settings-value { font-size: 10px; color: var(--muted); }
.day-hours { display: flex; flex-direction: column; }
.day-hour-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); font-size: 9.5px; }
.day-hour-row:first-child { border-top: 0; }
.day-hour-row span:first-child { color: var(--muted); width: 40px; }
.day-hour-row span:last-child { color: var(--faint); font-size: 9px; }
.day-hour-row.is-off { opacity: 0.4; }
.limits-edit { display: flex; flex-direction: column; gap: 9px; }
.limit-edit-row { display: flex; align-items: center; gap: 10px; }
.limit-edit-row .limit-icon { flex: 0 0 auto; }
.limit-edit-copy { flex: 1; min-width: 0; }
.limit-edit-copy .limit-name { font-size: 10px; }
.limit-edit-input { width: 74px; }
.limit-edit-input .input { height: 30px; font-size: 10px; padding: 0 8px; }
.shortcut-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--muted); }
.shortcut-row:first-child { border-top: 0; }
.shortcut-keys { display: flex; align-items: center; gap: 3px; }
.danger-zone { border-color: rgba(164,164,164, 0.14); }

/* ------------------------------------------------------- daily briefing */
/* No page-level rise here: it would replay on every re-render. */
.page.briefing { max-width: 1100px; animation: none; }
.briefing-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.briefing-dots { display: flex; gap: 2px; }
.brief-dot { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.brief-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); }
.brief-dot.is-reviewed::before { background: var(--muted); }
.brief-dot[aria-current]::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 3px rgba(189,189,189, 0.16); }
.brief-dot:disabled { cursor: default; opacity: 0.4; }
.briefing-all { margin-left: auto; }
.briefing-title { font-size: 21px; font-weight: 520; letter-spacing: -0.02em; margin-bottom: 16px; }
.briefing-title:focus:not(:focus-visible) { outline: none; }
.briefing-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
/* Switched off by the global reduce-motion rules in base.css. */
.briefing-enter { animation: pageRise 260ms ease both; }
@media (max-width: 700px) {
  .briefing-foot .btn { width: 100%; height: 42px; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { grid-template-columns: 190px minmax(0, 1fr) 205px; }
  .hero-col { padding: 21px 19px; }
  .team-grid { gap: 10px; }
  .person-card { padding: 16px; }
  .horizon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .hero-card { grid-template-columns: 180px minmax(0, 1fr); }
  .hero-momentum { display: none; }
  .meetings-grid { grid-template-columns: 310px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hero-card { grid-template-columns: 180px minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .person-card { padding: 14px; }
  .person-stats { grid-template-columns: 1fr 1fr; }
  .person-stat:nth-child(3) { display: none; }
  .overview-grid, .learning-grid, .access-grid, .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .meetings-grid { grid-template-columns: minmax(0, 1fr); }
  .meeting-list { max-height: 280px; overflow-y: auto; }
  .decision-grid { grid-template-columns: minmax(0, 1fr); }
  .cal-scroll { display: none; }
  .cap-agenda { display: block; }
  .portfolio-row { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
  .pf-progress { display: none; }
  .detail-meta-row { gap: 14px; }
}
@media (max-width: 780px) {
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-col + .hero-col { border-left: 0; border-top: 1px solid var(--line); }
  .hero-load { flex-direction: row; align-items: center; gap: 18px; text-align: left; }
  .hero-load .card-kicker { display: none; }
  .hero-ring-wrap { margin: 0; flex: 0 0 auto; }
  .hero-ring-wrap .ring { width: 100px !important; height: 100px !important; }
  .hero-ring-wrap .ring-center strong { font-size: 22px; }
  .hero-load-caption { flex: 1; }
  .hero-load-split { display: none; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .person-stats { grid-template-columns: repeat(3, 1fr); }
  .person-stat:nth-child(3) { display: block; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-card { min-height: 0; }
  .pc-summary { min-height: 0; }
  .horizon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-head { flex-wrap: wrap; }
  .detail-head .page-actions { width: 100%; }
  .detail-meta-row { gap: 10px 16px; }
  .decision-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hero-col { padding: 17px; }
  .hero-load { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-load-caption { text-align: left; }
  .suggest-list { margin: 0 -6px; }
  .suggest-item { grid-template-columns: 19px minmax(0, 1fr); padding: 9px 6px; }
  .suggest-arrow { display: none; }
  .suggest-title { font-size: 11.5px; }
  .team-grid { gap: 10px; }
  .portfolio-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; }
  .pf-health { display: none; }
  .pf-summary { max-width: 100%; }
  .projects-toolbar { gap: 10px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .project-grid { gap: 11px; }
  .detail-head { gap: 11px; }
  .detail-head .project-mark { width: 44px !important; height: 44px !important; }
  .detail-meta-row { margin: 15px 0; }
  .detail-meta { font-size: 9px; }
  .overview-grid { gap: 12px; }
  .hours-split { gap: 12px; }
  .version-item { gap: 9px; }
  .cal { min-width: 0; }
  .cap-legend { gap: 7px; }
  .cap-legend span { font-size: 7.5px; }
  .horizon-grid { gap: 7px; }
  .person-switch { width: 100%; overflow-x: auto; }
  .person-switch button { flex: 0 0 auto; }
  .meetings-grid { gap: 12px; }
  .decision-grid { gap: 9px; }
  .access-grid, .settings-grid { gap: 12px; }
  .learning-stats { gap: 6px; }
  .weekly-toolbar { width: 100%; justify-content: space-between; }
}
@media (max-width: 430px) {
  .hero-load { flex-direction: row; }
  .hero-ring-wrap .ring { width: 88px !important; height: 88px !important; }
  .hero-ring-wrap .ring-center strong { font-size: 19px; }
  .hero-ring-wrap .ring-center span { font-size: 7px; }
  .suggest-item { grid-template-columns: minmax(0, 1fr); }
  .suggest-index { display: none; }
  .team-learning-name { width: 50px; }
  .person-switch button span:not(.avatar) { display: none; }
  .person-switch button { padding: 0 5px; }
  .person-switch .avatar { width: 23px !important; height: 23px !important; font-size: 8px !important; }
}
