.ex-body { margin: 0; font-family: Poppins, "Segoe UI", system-ui, sans-serif; color: #252930; background: #f5f5f5; }
.ex-top { background: #0c3c73; color: #fff; padding: 0.8rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.ex-top a { color: #fff; }
.ex-main { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.ex-lead { color: #5d6778; }
.ex-card, .ex-listwrap, fo-rm, form { background: #fff; border: 1px solid #efefef; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.ex-card h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
select { width: 100%; box-sizing: border-box; padding: 0.55rem 0.7rem; border: 1px solid #efefef; border-radius: 8px; font: inherit; margin-bottom: 0.5rem; background: #fff; }
.ex-bridge-actions { display: grid; gap: 0.55rem; margin-top: 0.8rem; }
.ex-bridge-actions p { margin: 0.4rem 0 0; color: #5d6778; font-size: 0.9rem; }
.ex-bridge-actions .ex-btn { text-align: center; }
.output { margin-top: 0.8rem; padding: 0.8rem; border-radius: 8px; min-height: 3rem; background: #fff; border: 1px solid #efefef; }
.output.loading { background: #e3effc; color: #0c3c73; border-color: #1879e7; }
.output.success { background: #e6ffed; color: #1b6b32; border-color: #28a745; }
.output.error { background: #fde8e8; color: #8a2a2a; border-color: #dc3545; }
.ex-btn, .ex-btn-sm { background: #0c3c73; color: #fff; border: 0; border-radius: 8px; padding: 0.55rem 0.9rem; cursor: pointer; font: inherit; }
.ex-btn-sm { padding: 0.3rem 0.55rem; font-size: 0.85rem; margin-right: 0.25rem; }
.ex-btn-ghost { background: #fff; color: #0c3c73; border: 1px solid #0c3c73; }
label { display: block; margin: 0.6rem 0 0.25rem; font-weight: 600; }
input, textarea { width: 100%; box-sizing: border-box; padding: 0.55rem 0.7rem; border: 1px solid #efefef; border-radius: 8px; font: inherit; margin-bottom: 0.5rem; }
[hide="any"],
[hide="hide"],
[hide="true"],
[hide="1"] {
  display: none !important;
}
.ex-error, .ex-status { padding: 0.6rem 0.8rem; border-radius: 8px; margin-bottom: 0.8rem; }
.ex-error { background: #fde8e8; color: #8a2a2a; }
.ex-status { background: #e3effc; color: #0c3c73; }
.ex-error:empty, .ex-status:empty { display: none; }
.ex-empty { color: #5d6778; }
.ex-table { width: 100%; border-collapse: collapse; }
.ex-table th, .ex-table td { border-bottom: 1px solid #efefef; text-align: left; padding: 0.5rem; }
.ex-pager { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-top: 0.8rem; }
.ex-pager button { border: 1px solid #efefef; background: #fff; border-radius: 6px; padding: 0.3rem 0.55rem; cursor: pointer; }
.ex-pager button.is-active { background: #0c3c73; color: #fff; }
.ex-listwrap { position: relative; margin-top: 1rem; }
.ex-listwrap.ex_busy::after, #noteWrap.ex_busy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  z-index: 2;
}
#noteWrap { position: relative; }
.ex-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ex-modal { position: fixed; inset: 0; background: rgba(12,60,115,0.4); display: flex; align-items: center; justify-content: center; }
.ex-modal[hidden] { display: none !important; }
.ex-modal-card { background: #fff; padding: 1.2rem; border-radius: 10px; max-width: 360px; }
.ex-result { margin-top: 1rem; }
.ex-main-wide { max-width: 1080px; }
.ex-muted, .ex-quote-text { color: #5d6778; }
.ex-snippet { background: #0c3c73; color: #fff; padding: 0.8rem 1rem; border-radius: 8px; overflow: auto; }
.ex-stepper { display: flex; align-items: center; gap: 0.5rem; }
.ex-step-val { min-width: 2rem; text-align: center; font-weight: 700; }
.ex-toast-stack { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 40; }
.ex-toast { background: #0c3c73; color: #fff; padding: 0.7rem 0.9rem; border-radius: 10px; min-width: 220px; box-shadow: 0 8px 24px rgba(12,60,115,0.25); }
.ex-toast p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.ex-toast.is-warn { background: #8a2a2a; }
.ex-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.ex-stat { background: #f7fbff; border: 1px solid #e3effc; border-radius: 10px; padding: 0.7rem; }
.ex-stat-kicker { display: block; font-size: 0.75rem; color: #5d6778; text-transform: uppercase; letter-spacing: 0.04em; }
.ex-stat-value { font-size: 1.4rem; }
.ex-pulse { animation: exPulse 1.2s ease-in-out infinite; }
@keyframes exPulse { 50% { opacity: 0.55; } }
.ex-bind-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.8rem; font-size: 0.95rem; }
.ex-quote { min-height: 4.2rem; }
.ex-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 1rem; align-items: start; }
.ex-live.ex_busy::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.55); z-index: 2; }
.ex-live { position: relative; }
.ex-live-picks { display: grid; gap: 0.5rem; margin: 0.4rem 0 0.8rem; }
.ex-live-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 0.55rem; align-items: center; border: 1px solid #efefef; border-radius: 10px; padding: 0.65rem 0.8rem; cursor: pointer; }
.ex-live-pick:has(:checked) { border-color: #1879e7; background: #f7fbff; }
.ex-live-pick input { width: auto; margin: 0; }
.ex-live-pick-name { font-weight: 600; }
.ex-live-pick-blurb { display: block; color: #5d6778; font-size: 0.85rem; font-weight: 400; }
.ex-quote-card.is-warn { border-color: #ec575b; }
.ex-quote-line { margin: 0 0 0.8rem; color: #5d6778; }
.ex-quote-rows { list-style: none; margin: 0; padding: 0; }
.ex-quote-rows li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.4rem 0; border-bottom: 1px solid #efefef; }
.ex-quote-rows .is-total { font-weight: 700; border-bottom: 0; font-size: 1.1rem; padding-top: 0.7rem; }
.ex-quote-meta { margin: 0.8rem 0 0; color: #5d6778; font-size: 0.9rem; }
.ex-cart-pill { margin-left: auto; background: #1879e7; border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.85rem; }
.ex-store { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; }
.ex-store.ex_busy::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.6); z-index: 2; }
.ex-store { position: relative; }
.ex-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.ex-product { background: #fff; border: 1px solid #efefef; border-radius: 12px; padding: 0.9rem; }
.ex-product h3 { margin: 0.4rem 0 0.3rem; font-size: 1.05rem; }
.ex-product p { margin: 0 0 0.7rem; color: #5d6778; font-size: 0.9rem; min-height: 3.2em; }
.ex-product-mark { width: 2.2rem; height: 2.2rem; border-radius: 8px; background: #0c3c73; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ex-product-row { display: flex; justify-content: space-between; align-items: center; }
.ex-price { font-weight: 700; color: #0c3c73; }
.ex-cart-panel { background: #fff; border: 1px solid #efefef; border-radius: 12px; padding: 1rem; }
.ex-cart-lines { list-style: none; margin: 0; padding: 0; }
.ex-cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.4rem; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid #efefef; font-size: 0.9rem; }
.ex-cart-total { font-weight: 700; }
@media (max-width: 640px) {
  .ex-table { font-size: 0.9rem; }
  .ex-store { grid-template-columns: 1fr; }
  .ex-stats { grid-template-columns: 1fr; }
  .ex-live { grid-template-columns: 1fr; }
}
