/* "Help me choose" (assist-ui.js): the AI option helper above the product options, same look in Simple and Expert modes. */
.assist { margin: 0 0 18px; }
.assist-open { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; width: 100%; min-height: 56px; padding: 10px 14px; text-align: left; border: 1.5px dashed var(--forest); border-radius: var(--radius); background: var(--forest-tint); color: var(--ink); font: inherit; cursor: pointer; }
.assist-open:hover { background: #d6e5db; }
.assist-open:focus-visible, .assist-x:focus-visible, .assist-input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.assist-spark { grid-row: span 2; color: var(--forest); font-size: 20px; line-height: 1; }
.assist-open-t { font-weight: 700; color: var(--forest-dark); }
.assist-open-s { font-size: 13.5px; color: #4a5650; }
.assist-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); padding: 12px 14px 10px; }
.assist-panel[hidden], .assist-open[hidden] { display: none; }
.assist-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.assist-h { margin: 0; font-size: 17px; font-family: var(--display); color: var(--forest-dark); }
.assist-x { width: 40px; height: 40px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: none; color: #4a5650; font: 400 22px/1 var(--font); cursor: pointer; }
.assist-x:hover { background: var(--ground); }
.assist-log { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; max-height: 420px; overflow-y: auto; }
.assist-log:empty { display: none; }
.assist-msg { max-width: 92%; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.assist-msg p { margin: 0; }
.assist-you { align-self: flex-end; background: var(--forest); color: var(--white); }
.assist-bot { align-self: flex-start; background: var(--ground); color: var(--ink); }
.assist-bot.is-wait { color: #4a5650; font-style: italic; }
.assist-bot.is-err { background: var(--info-bg); }
.assist-link { display: inline-block; margin-top: 6px; color: var(--forest); font-weight: 600; }
.assist-card { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.assist-card-h { margin: 0 0 6px; font-weight: 700; font-size: 13.5px; color: var(--forest-dark); }
.assist-list { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 3px 10px; margin: 0 0 8px; font-size: 13.5px; }
.assist-list dt { color: #4a5650; }
.assist-list dd { margin: 0; }
.assist-list dd.is-new { font-weight: 700; }
.assist-price { margin: 0 0 8px; font-size: 14px; }
.assist-total { font-size: 16px; color: var(--forest-dark); }
.assist-warn { margin: 6px 0; font-size: 13px; color: #6b4b00; }
.assist-done { margin: 6px 0 0; font-size: 13px; color: var(--forest); }
.assist-done:empty { display: none; }
.assist-label { display: block; margin: 4px 0; font-weight: 600; font-size: 14px; }
.assist-row { display: flex; gap: 8px; align-items: stretch; }
.assist-input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; resize: vertical; }
.assist-send { flex: none; min-height: 44px; }
.assist-left, .assist-note { margin: 6px 0 0; font-size: 12.5px; color: #4a5650; }
@media (max-width: 480px) {
  .assist-row { flex-direction: column; }
  .assist-msg { max-width: 100%; }
}
