/* Nova additions on top of the shared Command Center styles. */
.view { max-width: 760px; }
.hello p { margin: 4px 0 0; color: var(--muted); }

/* quick add bar */
.quick { display: flex; gap: 8px; align-items: center; }
.quick input { flex: 1; min-width: 0; }
.quick .btn { flex: none; }

/* check rows (to-dos + shopping) */
.check-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); border: 1px solid transparent; transition: background .2s, opacity .3s, transform .35s var(--ease); min-width: 0; }
.check-row:hover { background: var(--surface-2); border-color: var(--line); }
.check-row.gone { opacity: 0; transform: translateX(24px); }
.check-row .row-main { cursor: pointer; }
.check-row .row-title { white-space: normal; font-weight: 500; }
.check-row.done .row-title { text-decoration: line-through; color: var(--faint); }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); background: transparent; display: grid; place-items: center; padding: 0; transition: border-color .2s, background .2s, transform .25s var(--spring); }
.tick svg { width: 14px; height: 14px; opacity: 0; color: #120d17; stroke-width: 3; }
.tick:hover { border-color: var(--cyan); }
.tick:active { transform: scale(.85); }
.tick.on { background: var(--grad); border-color: transparent; }
.tick.on svg { opacity: 1; }
.shop .tick { border-radius: 8px; }
.due { font-size: 12px; color: var(--muted); }
.due.late { color: var(--red); }
.due.today { color: var(--amber); }
.star { color: var(--amber); }

/* agenda */
.agenda { display: grid; gap: 6px; }
.ev { display: flex; gap: 12px; align-items: stretch; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); text-decoration: none; color: inherit; }
.ev:hover { background: var(--surface-2); }
.ev-bar { width: 3px; border-radius: 3px; background: var(--violet); flex: none; }
.ev-time { font-family: var(--mono); font-size: 12.5px; color: var(--muted); min-width: 88px; padding-top: 2px; }
.ev-title { font-weight: 600; }
.ev-sub { font-size: 12.5px; color: var(--faint); }
.ev.past { opacity: .45; }
.ev.now .ev-time { color: var(--cyan); }
.day-h { margin: 14px 2px 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.day-h:first-child { margin-top: 0; }

/* action tiles on Today */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-weight: 600; text-align: left; transition: transform .25s var(--spring), background .2s; min-width: 0; }
.tile:hover { background: var(--surface-2); }
.tile:active { transform: scale(.97); }
.tile .ch { width: 36px; height: 36px; }
.tile small { display: block; font-weight: 500; color: var(--faint); font-size: 12px; }
.ch.slack { color: #e8a6ff; background: rgba(232,166,255,.1); }
.ch.cal { color: #ff9f8a; background: rgba(255,159,138,.1); }
.ch.shop { color: #9ee6a8; background: rgba(158,230,168,.1); }
.ch.todo { color: #ffd479; background: rgba(255,212,121,.1); }

/* outbox */
.ob-status { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ob-status.sent, .ob-status.drafted { color: var(--green); }
.ob-status.pending, .ob-status.needs_target { color: var(--amber); }
.ob-status.failed { color: var(--red); }

.banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(181,123,255,.16), rgba(255,159,138,.1)); border: 1px solid rgba(181,123,255,.3); }
.banner p { margin: 0; flex: 1; font-size: 14px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 13px; }
.seg button.on { background: var(--surface-2); color: var(--text); }
details.help summary { cursor: pointer; color: var(--muted); font-size: 13.5px; }
details.help { font-size: 13.5px; color: var(--muted); }
.set-section { display: grid; gap: 12px; }
.acct { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.03); }
.acct .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.acct .dot.err { background: var(--red); }
code { font-family: var(--mono); font-size: 12px; word-break: break-all; background: rgba(255,255,255,.05); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 330px) { .tiles { grid-template-columns: 1fr; } .ev-time { min-width: 74px; } }
