.home-page { padding-top: 24px; padding-bottom: 96px; }
.home-page .page-header { margin-bottom: 20px; align-items: center; }
.home-page .page-sub { max-width: 680px; margin-bottom: 0; line-height: 1.6; }
.home-line-status { flex-wrap: wrap; margin-bottom: 12px; }
.home-setup { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); overflow: hidden; margin-bottom: 28px; }
.home-next-step { padding: 24px; background: var(--mk-ink); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.home-eyebrow { display: flex; align-items: center; gap: 7px; color: #ffb780; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.home-next-step h2 { margin: 12px 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.home-next-step p { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.76); max-width: 440px; }
.home-next-step .btn { margin-top: auto; }
.home-checklist { padding: 18px 24px; }
.home-checklist-heading, .home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-checklist-heading h2, .home-section-heading h2, .home-card-heading { font-size: 14px; font-weight: 600; margin: 0; }
.home-checklist-heading > span, .home-section-heading > span { color: var(--fg-muted); font-size: 12px; }
.home-progress { display: block; width: 100%; height: 5px; margin: 12px 0; border: none; border-radius: 99px; overflow: hidden; background: var(--bg-sunken); accent-color: var(--mk-orange); }
.home-progress::-webkit-progress-bar { background: var(--bg-sunken); }
.home-progress::-webkit-progress-value { background: var(--mk-orange); border-radius: 99px; }
.home-progress::-moz-progress-bar { background: var(--mk-orange); border-radius: 99px; }
.home-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-step { display: flex; gap: 10px; width: 100%; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--fg); padding: 10px; text-align: left; cursor: pointer; align-items: flex-start; }
.home-step:hover { background: var(--bg-sunken); border-color: var(--fg-faint); }
.home-step > .icon { color: var(--fg-faint); flex-shrink: 0; margin-top: 6px; }
.home-step-icon { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: var(--fg-muted); background: var(--bg-sunken); }
.home-step.is-complete .home-step-icon { color: var(--mk-success); background: color-mix(in srgb, var(--mk-success) 10%, var(--bg-elev)); }
.home-step-copy { flex: 1; min-width: 0; }
.home-step-copy strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; }
.home-step-copy > span { display: block; font-size: 11px; color: var(--fg-muted); line-height: 1.45; margin-top: 4px; }
.home-step-copy .home-step-state { font-size: 10px; color: var(--fg-muted); margin-top: 2px; line-height: 1.1; }
.home-step.is-complete .home-step-state { color: var(--mk-success); }
.home-overview { margin-bottom: 24px; }
.home-section-heading { margin-bottom: 12px; }
.home-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-metric { padding: 18px 20px; }
.home-metric-label { display: flex; justify-content: space-between; gap: 8px; color: var(--fg-muted); font-size: 12px; }
.home-metric-label .icon { color: var(--fg-faint); flex-shrink: 0; }
.home-metric-value { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin: 12px 0 8px; overflow-wrap: anywhere; }
.home-metric-caption { color: var(--fg-muted); font-size: 11.5px; line-height: 1.45; }
.home-metric-attention .home-metric-value { color: var(--mk-danger); }
.home-activity-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr); gap: 20px; align-items: start; }
.home-activity-grid > * { min-width: 0; }
.home-activity-grid > .card > .row { gap: 12px; flex-wrap: wrap; }
.home-table-scroll { overflow-x: auto; }
.home-table-scroll .tbl { min-width: 540px; display: table; white-space: normal; }
.home-table-scroll .tbl td:nth-child(2) { max-width: 230px; white-space: normal; overflow-wrap: anywhere; }
.home-table-scroll .tbl:has(td[colspan]) { min-width: 0; table-layout: fixed; }
.home-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-sunken); color: var(--fg-muted); }
.home-shortcut { padding: 10px 12px; border: 0; border-radius: 8px; font-size: 13px; cursor: pointer; color: var(--fg); text-align: left; width: 100%; gap: 8px; }
.home-page button:focus-visible, .home-table-scroll:focus-visible { outline: 2px solid var(--mk-orange); outline-offset: 3px; }
@media (max-width: 1200px) { .home-setup { grid-template-columns: 1fr 1fr; } .home-steps { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .home-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-activity-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .home-page { padding: 20px 16px 96px; }
  .home-page .page-title { font-size: 26px; line-height: 1.2; }
  .home-setup { grid-template-columns: 1fr; }
  .home-next-step, .home-checklist { padding: 20px; }
  .home-next-step h2 { font-size: 22px; }
  .home-metric { padding: 16px; }
  .home-metric-value { font-size: 26px; }
}
