/* ── VetoProPac Combined Chat Widget ── */
/* vcc- prefix = Claude AI Bot (left)   */
/* vco- prefix = OpenAI Bot (right)     */

/* ═══════════════════════════════════════════════════════
   BUBBLES
══════════════════════════════════════════════════════════ */

/* Bubble wrapper — positions both icon + name label */
.vcc-bubble-wrap,
.vco-bubble-wrap {
  position: fixed;
  bottom: 20px;
  z-index: 999998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#veto-claude-bubble,
#veto-openai-bubble {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform .2s, box-shadow .2s;
  border: none;
  padding: 0;
  background: #f36f21;
}

#veto-claude-bubble:hover,
#veto-openai-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
#veto-claude-bubble svg,
#veto-openai-bubble svg { display: block; }

/* Bot name label under the bubble */
.vcc-bubble-name,
.vco-bubble-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #f36f21;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   PANELS
══════════════════════════════════════════════════════════ */

#veto-claude-panel,
#veto-openai-panel {
  position: fixed;
  bottom: 20px;
  z-index: 999999;
  width: 45%;
  height: min(800px, 92vh);
  background: #fff;
  border: 1px solid rgb(218, 225, 231);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease, width .25s ease, height .25s ease;
}
#veto-claude-panel { right: 20px; }
#veto-openai-panel  { right: 20px; }

#veto-claude-panel.vcc-open,
#veto-openai-panel.vco-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#veto-claude-panel.vcc-expanded,
#veto-openai-panel.vco-expanded {
  width: calc(100vw - 32px) !important;
  height: 92vh;
}

/* ═══════════════════════════════════════════════════════
   HEADERS
══════════════════════════════════════════════════════════ */

#veto-claude-header,
#veto-openai-header {
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
#veto-claude-header { background: #f36f21; }
#veto-openai-header  { background: #f36f21; }

#veto-claude-header-title,
#veto-openai-header-title {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

/* shared header right / buttons */
.vcc-header-right,
.vco-header-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.vcc-header-btn,
.vco-header-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcc-header-btn:hover,
.vco-header-btn:hover { opacity: 0.8; }

#veto-claude-btn-new-chat,
#veto-openai-btn-new-chat {
  background: none;
  border: 1px solid white;
  border-radius: 10px;
  padding: 8px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
}
#veto-claude-btn-new-chat:hover,
#veto-openai-btn-new-chat:hover { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════════════════
   MESSAGES AREA
══════════════════════════════════════════════════════════ */

#veto-claude-messages,
#veto-openai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  margin-top: 16px;
}
#veto-claude-messages::-webkit-scrollbar,
#veto-openai-messages::-webkit-scrollbar { width: 6px; }
#veto-claude-messages::-webkit-scrollbar-track,
#veto-openai-messages::-webkit-scrollbar-track { background: transparent; }
#veto-claude-messages::-webkit-scrollbar-thumb,
#veto-openai-messages::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   MESSAGE LABELS & WRAPS
══════════════════════════════════════════════════════════ */

.vcc-msg-label,
.vco-msg-label {
  font-size: 13px;
  color: #777;
  font-weight: normal;
  margin-bottom: 2px;
}
.vcc-msg-label.user, .vco-msg-label.user { align-self: flex-end; }
.vcc-msg-label.ai,   .vco-msg-label.ai   { align-self: flex-start; }

.vcc-msg-wrap,
.vco-msg-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   BUBBLE OUTER / INNER
══════════════════════════════════════════════════════════ */

.vcc-bubble-outer,
.vco-bubble-outer {
  background: #dae1e7;
  border-radius: 14px;
  max-width: 100%;
  font-size: 14px;
  flex-shrink: 0;
}
.vcc-bubble-outer.has-carousel,
.vco-bubble-outer.has-carousel { width: 100%; }
.vcc-bubble-outer.user, .vco-bubble-outer.user {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
}
.vcc-bubble-outer.ai, .vco-bubble-outer.ai {
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
}

.vcc-bubble-inner,
.vco-bubble-inner {
  color: #000;
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  white-space: normal !important;
  word-break: break-word;
  font-weight: 500;
  font-size: 14px;
  font-family: Arial, sans-serif;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vcc-bubble-inner p,  .vco-bubble-inner p  { margin: 0 0 5px; }
.vcc-bubble-inner p:last-child, .vco-bubble-inner p:last-child { margin-bottom: 0; }
.vcc-bubble-inner ul, .vco-bubble-inner ul { margin: 3px 0 5px 14px; padding: 0; }
.vcc-bubble-inner li, .vco-bubble-inner li { margin-bottom: 2px; }
.vcc-bubble-inner strong, .vco-bubble-inner strong { color: #000; }
.vcc-bubble-inner table:not(.vcp-main-table), .vco-bubble-inner table:not(.vcp-main-table) { font-size: 12px !important; }

/* Product comparison table (buildComparisonTable() in server.js) - sticky header/left-column
   product-vs-feature grid for compare_products responses. */
th.vcp-left-label-header, .vcp-left-header-data{
    border-bottom: 0px !important;
}
.vcp-comparison-shell {
    display: inline-block;
    max-width: 100%;
}

.vcp-comparison-table-wrap {
    margin-top: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    max-width: 100%;
}

.vcp-scrollable-container {
    overflow: auto;
    max-width: 100%;
    max-height: 600px; /* Adjust as needed */
}

.vcp-main-table {
    width: auto;
    min-width: 530px;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px !important;
}

/* ---------- Sticky Header ---------- */

.vcp-main-table thead tr:first-child th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 30;
}

.vcp-main-table thead tr:nth-child(2) th {
    position: sticky;
    top: 120px; /* Height of first header row */
    background: #fff;
    z-index: 29;
}

/* ---------- Left Sticky Column ---------- */

.vcp-left-label-header,
.vcp-sticky-cell,
.vcp-left-label,
.vcp-key-feature {
    position: sticky;
    left: 0;
    background: #f5f5f5;
    z-index: 28;
}

/* Top-left corner */

.vcp-left-label-header {
    z-index: 40 !important;
}

/* First column styles */

.vcp-left-label-header {
    min-width: 90px;
    max-width: 90px;
    width: 90px;
}

.vcp-left-header-data {
    padding: 12px 8px;
    background: #fff;
}

.vcp-sticky-cell {
    min-width: 90px;
    max-width: 90px;
    width: 90px;
    font-size: 13px !important;
    padding: 8px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
}

.vcp-thead-data {
    background: #fff;
    padding: 8px 6px;
    min-width: 150px;
}

.vcp-col-width {
    min-width: 150px;
}

.vcp-left-label,
.vcp-key-feature {
    font-weight: bold;
    padding: 8px;
    border: 1px solid #eee;
    min-width: 90px;
    max-width: 90px;
    width: 90px;
    font-size: 13px !important;
    text-align: left;
    white-space: normal;
    word-break: normal;
}

.vcp-label-data {
    padding: 8px;
    border: 1px solid #eee;
    word-break: break-word;
    max-width: 400px;
    font-size: 14px !important;
    vertical-align: top;
    text-align: left;
    background: #fff;
}

.vcp-key-feature-column {
    border: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    min-width: 150px;
    background: #fff;
}

.vcp-cart-view-button {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.vco-bubble-outer:has(.vcp-comparison-table-wrap){
width: max-content !important;
}
th.vcp-sticky-cell, .vcp-left-label-header {
    background-color: #f5f5f5 !important;
}

.vco-bubble-inner a strong {
color:#f36f21 !important;
}

.vcp-main-table thead tr:nth-child(2) th:not(:has(span)) .vcp-cart-view-button {
    margin-top: 33px !important;
}
@media(max-width:823px)
{
 .vcp-main-table thead tr:nth-child(2) th:not(:has(span)) .vcp-cart-view-button {
    margin-top: unset !important;
}
    .vcp-main-table thead tr:nth-child(2) th span{
        margin-top:20px;
    }
}

/* link colors per provider */
.vcc-bubble-inner a { color: #f36f21; text-decoration: underline; }
.vco-bubble-inner a { color: #f36f21; text-decoration: underline; }
/* Without this, any product link the browser's own history already marked "visited" (e.g. one
   already clicked earlier in the same session) renders in the browser's default visited-link
   color instead of our orange - not a real bug, just an unset :visited state, but it reads as an
   inconsistent, unexplained color difference between links in the same reply. */
.vcc-bubble-inner a:visited { color: #f36f21; }
.vco-bubble-inner a:visited { color: #f36f21; }

/* ═══════════════════════════════════════════════════════
   LOADING SHIMMER
══════════════════════════════════════════════════════════ */

.vcc-loading-message,
.vco-loading-message {
  position: relative;
  color: #000;
  display: inline-block;
  font-style: italic;
  opacity: 0.8;
}
.vcc-loading-message::after,
.vco-loading-message::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 25%,
    rgba(255,255,255,0.7) 50%,
    transparent 75%
  );
  background-size: 200% 100%;
  animation: vc-shimmer 2s linear infinite;
  pointer-events: none;
}
@keyframes vc-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════
   CAROUSEL / SLICK
══════════════════════════════════════════════════════════ */

.vcc-carousel-container,
.vco-carousel-container {
  margin-top: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 4px;
  background: #fff;
  position: relative;
  overflow: visible;
  max-width: 100%;
  flex-shrink: 0;
}

.vcc-slick-track, .vco-slick-track { width: 100%; }
.vcc-slide,       .vco-slide       { padding: 0 6px; box-sizing: border-box; }

.vcc-slick-track .slick-track, .vco-slick-track .slick-track {
  display: flex !important;
  align-items: stretch;
}
.vcc-slick-track .slick-slide, .vco-slick-track .slick-slide {
  height: auto !important;
  display: flex !important;
}
.vcc-slick-track .slick-slide > div,
.vco-slick-track .slick-slide > div { display: flex; flex: 1; width: 100%; }
.vcc-slide, .vco-slide { display: flex !important; }
.vcc-productCard, .vco-productCard { height: 100%; }

/* feedback row (thumbs up/down) - hidden per tech lead directive (2026-08-05): client needs to
   approve base chatbot responses first before this UI goes live. KB/cache routing itself (steps
   1-3) is untouched and stays fully active - only this row is hidden, via CSS only, so it's a
   one-line revert (display: flex) once approved. */
.vcc-feedback-row,
.vco-feedback-row {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.vcc-feedback-label,
.vco-feedback-label {
  font-size: 12px;
  color: #888;
  margin-right: 2px;
}
.vcc-feedback-btn,
.vco-feedback-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  transition: background 0.15s, opacity 0.15s;
}
.vcc-feedback-btn:hover,
.vco-feedback-btn:hover {
  background: rgba(243, 111, 33, 0.1);
}
.vcc-feedback-btn:disabled,
.vco-feedback-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* arrows */
.vcc-arrow-btn,
.vco-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}
.vcc-arrow-btn { background: #f36f21; }
.vco-arrow-btn { background: #f36f21; }
.vcc-arrow-btn.left,  .vco-arrow-btn.left  { left:  -4px; }
.vcc-arrow-btn.right, .vco-arrow-btn.right { right: -4px; }
.vcc-arrow-btn:before, .vco-arrow-btn:before { display: none; }
.slick-disabled.vcc-arrow-btn,
.slick-disabled.vco-arrow-btn { opacity: 0.3; cursor: default; }

/* ═══════════════════════════════════════════════════════
   COMPARE ROW
══════════════════════════════════════════════════════════ */

.vcc-compare-row,
.vco-compare-row {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vcc-compare-trigger { background: #f36f21; }
.vco-compare-trigger { background: #f36f21; }
.vcc-compare-trigger,
.vco-compare-trigger {
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  font-size: 12px;
  cursor: pointer;
  color: white;
  font-family: inherit;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════════ */

.vcc-productCard,
.vco-productCard {
  width: 100% !important;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

/* reviews badge */
.vcc-card-reviews-badge,
.vco-card-reviews-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}
.vcc-card-reviews-star,
.vco-card-reviews-star {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: vc-pulseRotate 2.5s infinite;
}
.vcc-card-reviews-text,
.vco-card-reviews-text {
  font-size: 9px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
@keyframes vc-pulseRotate {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.1) rotate(-6deg) translateY(-2px); }
  60%  { transform: scale(1.1) rotate(6deg) translateY(-2px); }
  100% { transform: scale(1) rotate(0deg); }
}

/* image */
.vcc-card-img-wrap, .vco-card-img-wrap {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}
.vcc-card-img, .vco-card-img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 26px;
}
.vcc-card-oos-badge, .vco-card-oos-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}
.vcc-card-img-ph, .vco-card-img-ph {
  width: 100%;
  height: 110px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
  margin-top: 26px;
  border-radius: 6px;
}
.vcc-card-name, .vco-card-name {
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  color: black;
  word-break: break-word;
  flex-shrink: 0;
}
.vcc-card-price { color: #f36f21; font-weight: bold; font-size: 11px; min-height: 10px; flex-shrink: 0; }
.vco-card-price { color: #f36f21; font-weight: bold; font-size: 11px; min-height: 10px; flex-shrink: 0; }

.vcc-card-actions, .vco-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* view button */
.vcc-card-btn-view { background: #f36f21; }
.vco-card-btn-view { background: #f36f21; }
.vcc-card-btn-view,
.vco-card-btn-view {
  color: #fff;
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  font-size: 11px;
  font-family: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
}
.vcc-card-btn-view:hover { background: #e65a0f; color: #fff; text-decoration: none; }
.vco-card-btn-view:hover { background: #e65a0f; color: #fff; text-decoration: none; }

/* cart button */
.vcc-card-btn-cart { background: #f36f21; }
.vco-card-btn-cart { background: #f36f21; }
.vcc-card-btn-cart,
.vco-card-btn-cart {
  display: block;
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  width: 100%;
  text-align: center;
}
.vcc-card-btn-cart:hover { background: #e65a0f; color: #fff; text-decoration: none; }
.vco-card-btn-cart:hover { background: #e65a0f; color: #fff; text-decoration: none; }
.vcc-productCard:has(.vcc-card-oos-badge) .vcc-card-btn-cart,
.vco-productCard:has(.vco-card-oos-badge) .vco-card-btn-cart { display: none; }

/* panel (needs panel first) button */
.vcc-card-btn-panel,
.vco-card-btn-panel {
  display: block;
  background: #6c757d;
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  font-size: 11px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

/* view compatible panels */
.vcc-card-btn-panel-view { color: #f36f21; border-color: #f36f21; }
.vco-card-btn-panel-view { color: #f36f21; border-color: #f36f21; }
.vcc-card-btn-panel-view,
.vco-card-btn-panel-view {
  display: block;
  background: #fff;
  border: 1px solid;
  padding: 7px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 11px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.vcc-card-btn-panel-view:hover,
.vco-card-btn-panel-view:hover { background: #fff5ef; color: #f36f21; }

/* variant button */
.vcc-card-btn-variant,
.vco-card-btn-variant {
  display: block;
  background: #fff;
  color: #555;
  border: 1px solid #ccc;
  padding: 7px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 11px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}
.vcc-card-btn-variant:hover,
.vco-card-btn-variant:hover { background: #f5f5f5; color: #555; }

/* compare button */
.vcc-card-btn-compare,
.vco-card-btn-compare {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s;
}
.vcc-card-btn-compare.selected { background: #f36f21; color: #fff; border-color: #f36f21; }
.vco-card-btn-compare.selected { background: #f36f21; color: #fff; border-color: #f36f21; }

/* ═══════════════════════════════════════════════════════
   REVIEW CARDS
══════════════════════════════════════════════════════════ */

.vcc-review-card,
.vco-review-card {
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  max-width: 320px;
  align-self: flex-start;
}
.vcc-review-product-label { color: #f36f21; }
.vco-review-product-label { color: #f36f21; }
.vcc-review-product-label,
.vco-review-product-label {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.vcc-review-avatar-row,
.vco-review-avatar-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.vcc-review-avatar { background: #f36f21; }
.vco-review-avatar { background: #f36f21; }
.vcc-review-avatar,
.vco-review-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  margin-right: 8px;
  flex-shrink: 0;
}
.vcc-review-author-name,
.vco-review-author-name { font-weight: 700; font-size: 13px; }
.vcc-review-greeting,
.vco-review-greeting {
  font-size: 11px;
  color: #555;
  background: #f7f7f7;
  padding: 5px 8px;
  border-radius: 14px;
  display: inline-block;
  margin-bottom: 8px;
}
.vcc-review-body,
.vco-review-body {
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  padding: 8px 10px;
  background: #fff;
  margin-bottom: 8px;
}
.vcc-review-rating-row,
.vco-review-rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-size: 11px;
}
.vcc-review-star { color: #f36f21; margin-right: 5px; }
.vco-review-star { color: #f36f21; margin-right: 5px; }
.vcc-review-summary,
.vco-review-summary { font-size: 11px; color: #444; margin-bottom: 6px; }
.vcc-review-link { background: #f36f21; }
.vco-review-link { background: #f36f21; }
.vcc-review-link,
.vco-review-link {
  flex: 1;
  color: #fff;
  padding: 7px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  text-align: center;
  display: block;
}
.vcc-review-link:hover { background: #e65a0f; }
.vco-review-link:hover { background: #e65a0f; }

/* ═══════════════════════════════════════════════════════
   WELCOME
══════════════════════════════════════════════════════════ */

#veto-claude-welcome,
#veto-openai-welcome {
  color: #555;
  font-size: 13px;
  padding: 16px 0;
}

/* ═══════════════════════════════════════════════════════
   INPUT AREA
══════════════════════════════════════════════════════════ */

#veto-claude-input-area,
#veto-openai-input-area {
  padding: 12px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#veto-claude-input,
#veto-openai-input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 16px; /* 16px minimum prevents iOS Safari auto-zoom on focus */
  margin-right: 8px;
  font-family: inherit;
  color: black;
  outline: none;
  line-height: 1.4;
  max-height: 80px;
  overflow-y: hidden;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}
#veto-claude-input:focus { border-color: #f36f21; }
#veto-openai-input:focus  { border-color: #f36f21; }

#veto-claude-send,
#veto-openai-send {
  padding: 8px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  border: none;
  cursor: not-allowed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: background 0.15s;
}
#veto-claude-send:not(:disabled) { background: #f36f21; cursor: pointer; }
#veto-openai-send:not(:disabled)  { background: #f36f21; cursor: pointer; }
#veto-claude-send:not(:disabled):hover { background: #e65a0f; }
#veto-openai-send:not(:disabled):hover  { background: #e65a0f; }

/* ═══════════════════════════════════════════════════════
   CHARACTER COUNT
══════════════════════════════════════════════════════════ */

#veto-claude-word-count,
#veto-openai-word-count {
  text-align: right;
  font-size: 11px;
  color: #aaa;
  padding: 0 14px 4px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */

#veto-claude-footer,
#veto-openai-footer {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  padding: 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  #veto-claude-panel,
  #veto-claude-panel.vcc-expanded {
    width: calc(100vw - 16px);
    right: 8px;
    left: auto;
    bottom: 8px;
    height: min(90dvh, calc(100dvh - 16px));
    max-height: calc(100dvh - 16px);
  }
  #veto-openai-panel,
  #veto-openai-panel.vco-expanded {
    width: calc(100vw - 16px);
    right: 8px;
    left: auto;
    bottom: 8px;
    height: min(90dvh, calc(100dvh - 16px));
    max-height: calc(100dvh - 16px);
  }
  #veto-claude-bubble { right: 12px; bottom: 12px; }
  #veto-openai-bubble  { right: 12px; bottom: 12px; }

  #veto-claude-input-area,
  #veto-openai-input-area {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}
