/* Home (◇ Home · Web, Totalo · Web screens): no content card; it stands on the ground, the greeting and the ask box
   centred, three column cards under them. Agents are orbs (orbs.js). */

/* While Home is open the content panel gives up its card, so Home stands on bg/ground. */
.place.home-place .panel.content { border-color: transparent; background: none; box-shadow: none; }
.place.home-place .content .tabs-line { display: none; }
.place.home-place #empty { padding: 0 var(--space-24) var(--space-24); }

.home { display: flex; flex-direction: column; gap: var(--space-48); max-width: 1648px; margin: 0 auto; padding-top: clamp(var(--space-24), 12vh, 176px); }
.home-hero { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); }
.home-lead-lines { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.home-greeting { margin: 0; font: var(--type-hero); letter-spacing: var(--type-hero-tracking); color: var(--text-primary); }
.home-day { margin: 0; font: var(--type-body); color: var(--text-secondary); }

/* Ask, 760 wide: what you type over + at the start, the microphone and the black round send at the end. */
.home-ask {
  display: flex; flex-direction: column; gap: var(--space-8); width: min(760px, 100%); box-sizing: border-box;
  padding: var(--space-16) var(--space-12) var(--space-10); border: var(--panel-edge) solid var(--line-hair); border-radius: var(--radius-20);
  background: var(--bg-card); box-shadow: var(--effect-soft-card);
}
.home-ask-words { resize: none; border: 0; outline: none; background: none; padding: 0 var(--space-4); font: var(--type-body); color: var(--text-primary); }
.home-ask-words::placeholder { color: var(--text-faint); }
.home-ask-acts { display: flex; align-items: center; gap: var(--space-6); }
.home-spacer { flex: 1; }
.home-key, .home-send { display: grid; place-items: center; width: var(--size-32); height: var(--size-32); border-radius: var(--radius-full); color: var(--text-secondary); }
.home-key:hover { background: var(--bg-row-hover); color: var(--text-primary); }
.home-send { background: var(--button-primary); color: var(--button-on-primary); }
.home-send:hover { background: var(--button-primary-hover); }
.home-glyph { display: grid; place-items: center; width: var(--size-20); height: var(--size-20); }
.home-glyph svg { width: 100%; height: 100%; }

/* Three column cards, 16 apart, equal width; one under the other on a narrow panel. */
.home-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); align-items: start; }
@container (max-width: 900px) { .home-columns { grid-template-columns: minmax(0, 1fr); } }
.home-column {
  display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-20) var(--space-12) var(--space-12);
  border: var(--panel-edge) solid var(--line-hair); border-radius: var(--radius-24); background: var(--bg-card);
}
.home-column-head { display: flex; align-items: center; gap: var(--space-8); margin: 0; padding: 0 var(--space-10); }
.home-column-title { font: var(--type-label); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); }
.home-count { padding: 0 var(--space-6); border-radius: var(--radius-6); background: var(--bg-sunk); font: var(--type-label); color: var(--text-secondary); }
.home-count.waiting { background: var(--signal-waiting-tint); color: var(--signal-waiting); }
.home-items { display: flex; flex-direction: column; }
.home-item { display: flex; align-items: center; gap: var(--space-12); min-height: 56px; padding: var(--space-8) var(--space-10); border-radius: var(--radius-12); color: inherit; text-decoration: none; }
.home-item:hover { background: var(--bg-row-hover); }
.home-item .home-lead { width: var(--size-32); height: var(--size-32); font: var(--type-initials-m); color: var(--text-secondary); }
.home-lines { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-width: 0; }
.home-title, .home-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-title { font: var(--type-body); color: var(--text-primary); }
.home-detail { font: var(--type-value); color: var(--text-secondary); }
.home-trail { flex: none; font: var(--type-value); color: var(--text-secondary); }
.home-trail.waiting { color: var(--signal-waiting); }
.home-trail.negative { color: var(--signal-negative); }
.home-new { flex: none; width: var(--size-dot); height: var(--size-dot); border-radius: var(--radius-full); background: var(--text-primary); }
.home-all { height: var(--size-40); border-radius: var(--radius-16); background: var(--bg-sunk); font: var(--type-body); color: var(--text-primary); }
.home-all:hover { background: var(--bg-sunk-strong); }

/* An agent's orb: its dots in the agent's tone on no ground, in the box a face takes where it stands. */
.face.orb { background: none; border-radius: 0; overflow: visible; }
.face.orb svg { display: block; width: 100%; height: 100%; fill: var(--orb-ink, var(--text-primary)); }

/* An orb's state beyond its motion: stopped stands faint; asking (a question for you) carries amber's dot and failed
   coral's, at its upper end, ringed in the ground it stands on. */
.face.orb { position: relative; }
.face.orb.orb-stopped svg { opacity: 0.45; }
.face.orb.orb-asking::after, .face.orb.orb-failed::after {
  content: ""; position: absolute; top: 0; right: 0; width: max(6px, 28%); height: max(6px, 28%);
  border-radius: var(--radius-full); box-shadow: 0 0 0 var(--space-2) var(--place-ground);
}
.face.orb.orb-asking::after { background: var(--signal-waiting); }
.face.orb.orb-failed::after { background: var(--signal-negative); }
.home-column .face.orb::after { box-shadow: 0 0 0 var(--space-2) var(--bg-card); }
