.vva-page .vva-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 0.75rem; }
.vva-page .vva-summary { flex: 1 1 320px; margin: 0; }
.vva-page .vva-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 1.5rem; margin-bottom: 1rem; }
.vva-page .vva-meta > div { display: flex; flex-direction: column; min-width: 0; }
.vva-page .vva-meta > div > span:last-child { overflow-wrap: anywhere; }
.vva-page .vva-box { border: 1px solid var(--dm-border, #e3e6f0); border-radius: 0.35rem; background: var(--dm-paper2, #f8f9fc); padding: 10px 12px; margin-bottom: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.vva-page .vva-convo { max-height: 220px; overflow-y: auto; }
.vva-page #vvaQuestionModal .modal-dialog-scrollable { max-height: calc(100vh - 3.5rem); }
.vva-page #vvaQuestionModal .modal-dialog-scrollable .modal-content { max-height: calc(100vh - 3.5rem); }
.vva-page .vva-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.vva-page .vva-chat { border: 1px solid var(--dm-border, #e3e6f0); border-radius: 0.5rem; background: var(--dm-paper2, #f8f9fc); padding: 14px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 1rem; }
.vva-page .vva-chat-row { display: flex; align-items: flex-end; gap: 10px; max-width: 88%; }
.vva-page .vva-chat-row.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.vva-page .vva-chat-avatar { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; object-fit: cover; }
.vva-page .vva-chat-avatar-icon { display: inline-flex; align-items: center; justify-content: center; background: var(--dm-surface, #fff); border: 1px solid var(--dm-border, #e3e6f0); font-weight: 600; }
.vva-page .vva-chat-msg { display: flex; flex-direction: column; min-width: 0; }
.vva-page .vva-chat-row.is-mine .vva-chat-msg { align-items: flex-end; }
.vva-page .vva-chat-who { opacity: 0.75; margin: 0 4px 3px; }
.vva-page .vva-chat-bubble { background: var(--dm-surface, #fff); border: 1px solid var(--dm-border, #e3e6f0); border-radius: 14px 14px 14px 4px; padding: 9px 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.vva-page .vva-chat-row.is-mine .vva-chat-bubble { background: rgba(0, 163, 211, 0.1); border-color: rgba(0, 163, 211, 0.3); border-radius: 14px 14px 4px 14px; }
.vva-page .vva-chat-status { opacity: 0.7; margin: 3px 4px 0; }
.vva-page .vva-chat-waiting { align-self: center; opacity: 0.7; }
.vva-page .vva-reply-label { margin-top: 0.25rem; }
.vva-page .vva-waiting { opacity: 0.75; margin-bottom: 1rem; }
@media (max-width: 767px) {
  .vva-page .vva-meta { grid-template-columns: 1fr; }
}

.vs1AskVickyRow { width: 100%; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--dm-border, #e9edf3); text-align: center; }
.vs1AskVickyRow .vs1AskVickyBtn { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px; font-size: 16px; font-weight: 600; line-height: 30px; text-decoration: none; }
.vs1AskVickyRow .vs1AskVickyBtn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.vva-page .vva-train-chat { max-height: 460px; min-height: 160px; overflow-y: auto; }
.vva-page .vva-train-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.vva-cost-search { max-width: 320px; font-size: 16px; }
.vva-cost-group { margin-top: 24px; }
.vva-cost-group:first-of-type { margin-top: 8px; }
.vva-cost-title { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.vva-cost-table { margin-bottom: 0; }
.vva-cost-table th { font-weight: 700; border-top: 0; white-space: nowrap; }
.vva-cost-table td { vertical-align: middle; }
.vva-cost-num { text-align: right; white-space: nowrap; }
.vva-cost-label { display: block; margin: 0; font-weight: 600; }
.vva-cost-help { display: block; font-size: 16px; }
.vva-cost-input { display: inline-flex; align-items: center; gap: 8px; }
.vva-cost-input input { width: 130px; text-align: right; font-size: 16px; }
.vva-cost-input span { min-width: 92px; text-align: left; opacity: .8; }
.vva-cost-changed td { background: rgba(0, 163, 211, .06); }
.vva-cost-save { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 14px 0; background: var(--dm-surface, #fff); border-top: 1px solid var(--dm-border, #e3e6f0); }
.vva-cost-table { table-layout: fixed; width: 100%; min-width: 640px; }
.vva-cost-table th:nth-child(1) { width: 46%; }
.vva-cost-table th:nth-child(2) { width: 16%; }
.vva-cost-table th:nth-child(3) { width: 26%; }
.vva-cost-table th:nth-child(4) { width: 12%; }
.vva-cost-advanced summary { cursor: pointer; }
.vva-cost-advanced summary span { font-size: 16px; font-weight: 400; }
