/* ============================================================
   INTRISIO — VIP app: Ideas (js/admin-ideas.js)
   Uses the Docs tab's header (css/vip-docs.css) and vip.css tokens.
   ============================================================ */
[data-seg=ideas], body[data-view=ideas] { --acc:#FFD60A; --acc2:#FFE97A; }

.ix-compose { margin-top: 18px; padding: 14px; border-radius: var(--v-r, 22px); border: 1px solid var(--v-line); background: var(--v-surface); }
.ix-in, .ix-f input, .ix-f textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.45; color: var(--v-text);
  background: transparent; border: 1px solid var(--v-line-2); border-radius: 14px; padding: 12px 14px; resize: vertical; }
.ix-in { min-height: 112px; border-color: transparent; padding: 6px 4px; }
.ix-in:focus, .ix-f input:focus, .ix-f textarea:focus { outline: none; border-color: var(--acc); }
.ix-in::placeholder { color: var(--v-text-3); }
.ix-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ix-gap { flex: 1 1 auto; }
.ix-b { appearance: none; border: 1px solid var(--acc); background: var(--acc); color: #1a1500; font: inherit; font-weight: 700;
  font-size: .9rem; padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.ix-b:disabled { opacity: .55; cursor: default; }
.ix-ghost { background: transparent; color: var(--v-text); border-color: var(--v-line-2); }
.ix-del { background: transparent; color: #FF6961; border-color: transparent; font-weight: 600; }
.ix-mic { appearance: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .9rem;
  color: var(--v-text); background: var(--v-surface-2); border: 1px solid var(--v-line-2); border-radius: 999px; padding: 8px 16px 8px 10px; min-height: 40px; cursor: pointer; }
.ix-mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ix-mic.on { background: #FF453A; border-color: #FF453A; color: #fff; animation: ix-pulse 1.4s ease-in-out infinite; }
@keyframes ix-pulse { 50% { box-shadow: 0 0 0 8px rgba(255,69,58,.18); } }
@media (prefers-reduced-motion: reduce){ .ix-mic.on { animation: none; } }
.ix-hint, .ix-note { margin: 10px 4px 0; font-size: .85rem; color: var(--v-text-2); }
.ix-note { color: var(--acc); }
.ix-draft { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v-line); display: grid; gap: 10px; }
.ix-k { margin: 0; font-size: .85rem; font-weight: 700; color: var(--acc); }
.ix-f { display: grid; gap: 4px; }
.ix-f span { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v-text-3); }

.ix-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 0; }
.ix-chip { appearance: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--v-text-2); background: transparent;
  border: 1px solid var(--v-line-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.ix-chip b { font-weight: 800; color: var(--v-text-3); margin-left: 2px; }
.ix-chip.on { background: var(--v-text); color: var(--v-bg); border-color: var(--v-text); }
.ix-chip.on b { color: inherit; opacity: .6; }

.ix-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ix-card { border-radius: 16px; border: 1px solid var(--v-line); background: var(--v-surface); overflow: hidden; }
.ix-card.is-parked, .ix-card.is-done { opacity: .7; }
.ix-card.open { opacity: 1; }
.ix-head { appearance: none; width: 100%; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items: center; gap: 10px;
  padding: 12px 14px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ix-n { font-weight: 800; font-size: .9rem; color: var(--acc); font-variant-numeric: tabular-nums; }
.ix-t { display: grid; min-width: 0; line-height: 1.3; }
.ix-t b { color: var(--v-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-card.open .ix-t b { white-space: normal; }
.ix-t small { font-size: .78rem; color: var(--v-text-3); }
.ix-pill { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; border: 1px solid var(--v-line-2); color: var(--v-text-2); white-space: nowrap; }
.is-new .ix-pill { border-color: var(--acc); color: var(--acc); }
.is-shaping .ix-pill { background: rgba(10,132,255,.16); border-color: #0A84FF; color: #64B5FF; }
.is-ready .ix-pill { background: var(--acc); border-color: var(--acc); color: #1a1500; }
.is-trying .ix-pill { background: #FF9F0A; border-color: #FF9F0A; color: #241300; }
.is-done .ix-pill { background: #30D158; border-color: #30D158; color: #04210d; }
.ix-body { padding: 0 14px 14px; display: grid; gap: 4px; }
.ix-body h5 { margin: 10px 0 0; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--v-text-3); }
.ix-body p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--v-text); }
.ix-body .ix-raw { color: var(--v-text-2); font-style: italic; }
.ix-body .ix-f { margin-top: 8px; }
.ix-status { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ix-st { appearance: none; font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--v-text-2); border: 1px solid var(--v-line-2); min-height: 34px; }
.ix-st.on { background: var(--v-text); color: var(--v-bg); border-color: var(--v-text); }
.ix-foot { margin: 16px 4px 0; font-size: .8rem; color: var(--v-text-3); }

@media (max-width: 560px){
  .ix-compose { padding: 12px; }
  .ix-head { grid-template-columns: 44px minmax(0,1fr) auto; padding: 12px; }
  .ix-row .ix-b, .ix-row .ix-mic { flex: 1 1 auto; justify-content: center; }
  .ix-row .ix-gap { display: none; }
}

/* light mode: the yellow accent is too pale for text, so text uses a deeper gold */
[data-theme="light"] .ix-n, [data-theme="light"] .ix-note, [data-theme="light"] .ix-k { color: #8A6D00; }
[data-theme="light"] .is-new .ix-pill { color: #8A6D00; border-color: #C9A400; }
.ix-from { font-style: normal; font-weight: 700; color: var(--v-text-2); }
