/* Client experience: Home command center, tabbed My requests, Activity. See client-home.js. */
.home-ask-screen { justify-content: flex-start; padding-top: 32px; }
.home-ask-greeting { text-wrap: balance; }
/* Otto is a small companion under the heading, not the hero: the composer is the dominant action. */
.home-ask-inner .otto-hero { max-width: 440px; margin: -4px auto 0; gap: 10px; }
.home-ask-inner .otto-hero-art { width: 52px; height: 52px; }
.home-ask-inner .otto-hero-bubble { padding: 8px 12px; border-radius: 14px; }
.home-ask-inner .otto-hero-bubble b { display: none; }
.home-ask-inner .otto-hero-bubble p { font-size: 13.5px; }

.cx-home { width: 100%; display: flex; flex-direction: column; gap: 22px; margin-top: 12px; text-align: left; }
.cx-card, .cx-section, .cx-progress { width: 100%; box-sizing: border-box; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cx-section { padding: 16px 18px 6px; }
.cx-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.cx-section-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.cx-card strong { color: var(--ink); font-size: 14.5px; }
.cx-card p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.cx-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.cx-list { list-style: none; margin: 0; padding: 0; }
.cx-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.cx-item:first-child { border-top: 0; }
.cx-item-main { min-width: 0; flex: 1; }
.cx-item-main strong { display: block; color: var(--ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-item-main span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.cx-btn:hover { background: var(--soft); border-color: var(--purple-soft); }
.cx-btn-primary { background: var(--purple); border-color: var(--purple); color: var(--white); }
.cx-btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.cx-btn:focus-visible, .cx-link:focus-visible, .cx-tab:focus-visible, .cx-chip:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.cx-link { border: 0; background: transparent; padding: 4px 2px; color: var(--purple-deep); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.cx-idea { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-chip { border: 1px solid var(--line); border-radius: 999px; background: var(--soft); padding: 6px 12px; font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; }
.cx-textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14px; resize: vertical; }
.cx-textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.cx-actions { display: flex; align-items: center; gap: 12px; }

.cx-progress { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-color: #e3e0ff; background: linear-gradient(135deg, #f7f5ff, #fff); }
.cx-progress-main { min-width: 0; flex: 1; }
.cx-progress-main strong { display: block; color: var(--ink); font-size: 14.5px; }
.cx-progress-main p { margin: 2px 0 8px; color: var(--muted); font-size: 12.5px; }
.cx-eyebrow { display: block; margin-bottom: 2px; color: var(--purple-deep); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* My requests */
.cx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.cx-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.cx-tab-on { border-color: var(--purple); background: var(--purple); color: var(--white); }
.cx-tab-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; }
.cx-tab-on .cx-tab-count { background: rgba(255,255,255,.25); color: var(--white); }
.cx-tab-attention { background: #f5a623; color: #2b1c00; }
.cx-request-list { display: flex; flex-direction: column; }
.cx-request { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.cx-request:first-child { border-top: 0; }
.cx-request-main { min-width: 0; flex: 1; }
.cx-request-main > strong { display: inline; margin-right: 10px; color: var(--ink); font-size: 15px; }
.cx-request-main .status-pill { vertical-align: middle; }
.cx-next { margin: 6px 0 0; color: var(--ink); font-size: 13px; }
.cx-request-main small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.cx-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 6px; color: var(--muted); }
.cx-empty p { margin: 0; font-size: 14px; }
.cx-activity { display: flex; flex-direction: column; gap: 18px; }
.cx-usage { margin: 6px 0 12px; font-size: 13.5px; color: var(--ink); }

@media (max-width: 640px) {
  .cx-item, .cx-request, .cx-progress, .cx-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cx-item-main strong { white-space: normal; }
  .cx-btn { width: 100%; }
  .cx-tab { flex: 1 1 auto; justify-content: center; }
  .cx-section, .cx-card, .cx-progress { padding: 14px; }
}

/* More ways DELYV can help: quiet, last on Home, never competing with the request field or the progress card. */
.cx-more { width: 100%; box-sizing: border-box; padding: 4px 2px 0; display: flex; flex-direction: column; gap: 10px; }
.cx-more h2 { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cx-more .cc-strip { justify-content: flex-start; }
.cx-empty strong { color: var(--ink); font-size: 15px; }
.cx-empty p { max-width: 46ch; line-height: 1.5; }
