/* Nocturne start overview; shared palette and controls come from app.css. */
.workspace-home { padding: 22px; min-width: 0; }
.home-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.home-heading .workspace-title { margin: 0 0 8px; }
.home-summary { margin: 0 0 16px; }
.home-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.home-shortcut { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 11px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-decoration: none; font-size: 12px; }
.home-shortcut:hover { background: var(--selected); }
.workspace-home > .field { max-width: 620px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; min-width: 0; }
.home-stream { min-width: 0; }
.home-today { min-width: 0; border-left: 1px solid var(--border); padding-left: 18px; }
.home-group { margin-bottom: 22px; min-width: 0; }
.home-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.home-group-heading h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-neutral-500); font-weight: 500; margin: 0; }
.home-group-heading > a { font-size: 12px; white-space: nowrap; }
.home-entry { list-style: none; }
.home-entry-link { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(70px, 130px); gap: 11px; color: var(--text); text-decoration: none; align-items: center; }
.home-kind { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); }
.home-kind .icon { width: 15px; height: 15px; }
.home-entry-copy, .home-entry-end { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.home-entry-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Date/time profiles must remain readable even in the narrow mobile preview. */
.home-entry-copy > .workspace-meta { white-space: normal; overflow-wrap: anywhere; }
.home-entry-title { font-size: 14px; line-height: 1.35; }
.home-entry-end { text-align: right; font-size: 11px; color: var(--muted); }
.home-source { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-entry-clock, .home-timeline-clock { font-variant-numeric: tabular-nums; }
.home-list, .home-timeline { list-style: none; padding: 0; margin: 0; }
.home-timeline { margin-top: 16px; }
.home-timeline-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding: 12px 0; color: var(--text); text-decoration: none; min-width: 0; border-top: 1px solid var(--color-neutral-900); }
.home-timeline-row > span { min-width: 0; }
.home-timeline-row > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.home-timeline-row .home-entry-title { font-size: 13px; overflow-wrap: anywhere; }
.home-timeline-clock { font-size: 11px; color: var(--muted); }
.home-now { font-size: 12px; color: var(--primary); }
.home-issues:empty { display: none; }
.home-issues { padding: 12px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 8px; }
.home-issue { font-size: 12px; }
.home-issue + .home-issue { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.home-issue .alert { font-size: 12px; }
.home-empty { padding: 14px 8px; }
.workspace-home .is-cancelled .home-entry-title { text-decoration: line-through; }
@media (max-width: 1199px) { .home-grid { grid-template-columns: minmax(0, 1fr); } .home-today { border-left: 0; border-top: 1px solid var(--border); padding: 18px 0 0; } }
@media (max-width: 767px) {
  .workspace-home { padding: 16px; }
  .home-heading { gap: 8px; }
  .home-heading .workspace-title { font-size: 28px; }
  .home-summary { font-size: 12px; }
  .home-heading > button { width: 100%; }
  .home-shortcuts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .home-shortcut { flex: none; }
  .home-entry-link { grid-template-columns: 30px minmax(0, 1fr) 72px; padding: 10px 0; gap: 8px; min-height: 60px; }
  .home-entry-title { font-size: 14px; }
  .home-entry-copy .workspace-meta { font-size: 12px; }
  .home-group-heading { gap: 6px; }
  .home-group-heading > a { font-size: 11px; }
  .home-today { display: none; }
}
