.cme-hub {
  --cme-ink: #10243f;
  --cme-muted: #60728a;
  --cme-surface: #ffffff;
  --cme-canvas: #f2f6fb;
  --cme-teal: #007f7b;
  --cme-teal-dark: #006761;
  --cme-line: #dce6f1;
  --cme-hub-gutter: clamp(12px, 2vw, 32px);
  background: var(--cme-canvas);
  box-sizing: border-box;
  color: var(--cme-ink);
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 720px;
  border: 1px solid var(--cme-line);
  border-radius: 18px;
  margin-inline: calc(50% - 50vw + var(--cme-hub-gutter)) !important;
  max-width: none !important;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: calc(100vw - var(--cme-hub-gutter) - var(--cme-hub-gutter));
}
.cme-hub__sidebar { background: #0c3154; display: flex; flex-direction: column; gap: 6px; padding: 26px 16px; }
.cme-hub__brand { align-items: center; color: #fff; display: flex; font-size: 20px; font-weight: 800; gap: 10px; letter-spacing: -.03em; margin: 0 10px 28px; }
.cme-brand-mark { align-items: center; background: rgba(104, 215, 202, .16); border-radius: 11px; color: #68d7ca; display: inline-flex; flex: 0 0 42px; height: 42px; justify-content: center; }
.cme-brand-mark svg { fill: none; height: 31px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; width: 31px; }
.cme-hub__sidebar button { background: transparent; border: 0; border-radius: 9px; color: #c3d5e6; cursor: pointer; font: inherit; padding: 11px 12px; text-align: left; }
.cme-hub__sidebar button:hover, .cme-hub__sidebar button.is-active { background: rgba(104, 215, 202, .15); color: #fff; }
.cme-hub__main { min-width: 0; padding: 32px; }
.cme-hub__topbar { align-items: center; display: flex; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.cme-hub h1, .cme-hub h2, .cme-hub h3 { color: var(--cme-ink); margin: 0; }
.cme-hub h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.cme-eyebrow { color: var(--cme-teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; margin: 0 0 7px; }
.cme-hub__notice { min-height: 0; }
.cme-hub__notice.is-error { background: #fff0ee; border: 1px solid #ffc7bd; border-radius: 10px; color: #8a2518; margin-bottom: 18px; padding: 12px 14px; }
.cme-hub__notice.is-success { background: #e7f7f3; border: 1px solid #a8dfd6; border-radius: 10px; color: #006761; margin-bottom: 18px; padding: 12px 14px; }
.cme-hub__content { min-height: 400px; }
.cme-loading, .cme-empty { color: var(--cme-muted); padding: 32px 0; }
.cme-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cme-card { background: var(--cme-surface); border: 1px solid var(--cme-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(16, 36, 63, .04); padding: 18px; }
.cme-card p { color: var(--cme-muted); margin: 8px 0 0; }
.cme-stat { color: var(--cme-teal); display: block; font-size: 31px; font-weight: 800; letter-spacing: -.05em; margin-top: 8px; }
.cme-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cme-button, .cme-action { background: var(--cme-teal); border: 1px solid var(--cme-teal); border-radius: 8px; color: #fff; cursor: pointer; display: inline-block; font: inherit; font-weight: 700; padding: 10px 14px; text-decoration: none; }
.cme-button:hover, .cme-action:hover { background: var(--cme-teal-dark); border-color: var(--cme-teal-dark); color: #fff; }
.cme-action--secondary { background: #fff; color: var(--cme-ink); border-color: var(--cme-line); }
.cme-action--secondary:hover { background: #f2f6fb; color: var(--cme-ink); border-color: #c6d5e4; }
.cme-section-title { align-items: end; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cme-list { display: grid; gap: 10px; }
.cme-list__row { align-items: center; background: #fff; border: 1px solid var(--cme-line); border-radius: 10px; display: flex; gap: 14px; justify-content: space-between; padding: 14px; }
.cme-list__row.is-selected { border-color: var(--cme-teal); box-shadow: 0 0 0 3px rgba(0, 127, 123, .10); }
.cme-list__row p { color: var(--cme-muted); margin: 4px 0 0; }
.cme-question { max-width: 850px; }
.cme-question__meta { color: var(--cme-muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 10px; margin-bottom: 14px; }
.cme-question__text { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 0 0 20px; }
.cme-options { display: grid; gap: 10px; }
.cme-options button { align-items: start; background: #fff; border: 1px solid var(--cme-line); border-radius: 10px; color: var(--cme-ink); cursor: pointer; display: grid; font: inherit; gap: 8px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; text-align: left; }
.cme-options button:hover, .cme-options button.is-selected { border-color: var(--cme-teal); box-shadow: 0 0 0 3px rgba(0, 127, 123, .12); }
.cme-options button.is-incorrect, .cme-options button.is-incorrect:hover { background: #fff0ee; border-color: #c9362b; box-shadow: 0 0 0 3px rgba(201, 54, 43, .14); color: #7d1f17; }
.cme-option__label { min-width: 0; }
.cme-option-result { align-self: center; background: #c9362b; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; text-transform: uppercase; }
.cme-question__controls { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 20px; }
.cme-question__controls > .cme-actions { margin-top: 0; }
.cme-confidence { border: 0; margin: 0; min-width: min(100%, 500px); padding: 0; }
.cme-confidence legend { color: var(--cme-ink); font-size: 13px; font-weight: 800; margin-bottom: 8px; padding: 0; }
.cme-confidence__levels { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cme-confidence__option { align-items: center; background: #fff; border: 1px solid var(--cme-line); border-radius: 10px; color: var(--cme-muted); cursor: pointer; display: grid; font: inherit; gap: 4px; justify-items: center; min-width: 0; padding: 9px 10px 8px; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease; }
.cme-confidence__option strong { align-items: center; background: #e7f7f3; border-radius: 999px; color: var(--cme-teal-dark); display: inline-flex; font-size: 13px; height: 24px; justify-content: center; width: 24px; }
.cme-confidence__option span { font-size: 11px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.cme-confidence__option:hover { border-color: var(--cme-teal); color: var(--cme-ink); transform: translateY(-1px); }
.cme-confidence__option:focus-visible { box-shadow: 0 0 0 3px rgba(0, 127, 123, .24); outline: 0; }
.cme-confidence__option.is-selected { background: var(--cme-teal); border-color: var(--cme-teal); box-shadow: 0 5px 12px rgba(0, 127, 123, .18); color: #fff; }
.cme-confidence__option.is-selected strong { background: #fff; color: var(--cme-teal-dark); }
.cme-confidence:disabled .cme-confidence__option { cursor: default; opacity: .68; transform: none; }
.cme-feedback { background: #e7f7f3; border-left: 4px solid var(--cme-teal); border-radius: 8px; margin-top: 18px; padding: 14px; }
.cme-feedback.is-incorrect { background: #fff0ee; border-left-color: #c9362b; color: #7d1f17; }
.cme-source { color: var(--cme-muted); font-size: 13px; margin-top: 20px; }
.cme-source a, .cme-link { color: var(--cme-teal); font-weight: 700; }
.cme-account-trigger { background: transparent; border: 0; cursor: pointer; font: inherit; }
.cme-account-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cme-account-card { background: #fff; border: 1px solid var(--cme-line); border-radius: 14px; padding: 20px; }
.cme-account-card--profile { grid-row: span 2; }
.cme-account-card h3 { margin-bottom: 16px; }
.cme-account-row { align-items: center; border-top: 1px solid var(--cme-line); display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; }
.cme-account-row:first-of-type { border-top: 0; padding-top: 0; }
.cme-account-row p { color: var(--cme-muted); font-size: 13px; margin: 3px 0 0; }
.cme-account-row > span { color: var(--cme-muted); font-size: 13px; text-align: end; }
.cme-account-order { border-top: 1px solid var(--cme-line); padding: 12px 0; }
.cme-account-order:first-of-type { border-top: 0; padding-top: 0; }
.cme-account-order summary { align-items: center; cursor: pointer; display: flex; gap: 12px; justify-content: space-between; list-style: none; }
.cme-account-order summary::-webkit-details-marker { display: none; }
.cme-account-order summary > span { display: grid; gap: 3px; }
.cme-account-order summary small { color: var(--cme-muted); font-size: 12px; font-weight: 400; }
.cme-account-order ul { color: var(--cme-muted); font-size: 13px; margin: 12px 0 0; padding-inline-start: 20px; }
.cme-account-form { display: grid; gap: 13px; }
.cme-account-form label { color: var(--cme-muted); display: grid; font-size: 13px; font-weight: 700; gap: 6px; }
.cme-account-form input, .cme-account-form select { background: #fff; border: 1px solid var(--cme-line); border-radius: 8px; box-sizing: border-box; color: var(--cme-ink); font: inherit; min-height: 44px; padding: 9px 11px; width: 100%; }
.cme-account-form input:focus, .cme-account-form select:focus { border-color: var(--cme-teal); box-shadow: 0 0 0 3px rgba(0, 127, 123, .12); outline: 0; }
.cme-account-form details { border: 1px solid var(--cme-line); border-radius: 9px; padding: 11px; }
.cme-account-form details[open] { display: grid; gap: 12px; }
.cme-account-form summary { color: var(--cme-ink); cursor: pointer; font-weight: 700; }
.cme-account-notice { background: #e7f7f3; border: 1px solid #a8dfd6; border-radius: 10px; color: #006761; margin: 0 0 16px; padding: 12px 14px; }
.cme-hub-login { background: #f2f6fb; border: 1px solid #dce6f1; border-radius: 14px; color: #10243f; max-width: 580px; padding: 34px; }
.cme-hub-login p { color: #60728a; margin: 10px 0 22px; }
.cme-hub-account-login { box-sizing: border-box; margin-inline: auto; max-width: 980px; width: 100%; }
.cme-hub-account-login .woocommerce { margin-top: 24px; }
[dir="rtl"] .cme-hub__sidebar button { text-align: right; }
@media (max-width: 780px) {
  .cme-hub { grid-template-columns: 1fr; }
  .cme-hub__sidebar { flex-direction: row; overflow-x: auto; padding: 12px; }
  .cme-hub__brand { margin: 6px 14px 0 4px; white-space: nowrap; }
  .cme-hub__sidebar button { white-space: nowrap; }
  .cme-hub__main { padding: 20px; }
  .cme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cme-account-grid { grid-template-columns: 1fr; }
  .cme-account-card--profile { grid-row: auto; }
}
@media (max-width: 480px) { .cme-grid { grid-template-columns: 1fr; } .cme-hub__topbar { align-items: flex-start; flex-direction: column; } .cme-confidence { min-width: 100%; width: 100%; } .cme-confidence__levels { gap: 5px; } .cme-confidence__option { padding-inline: 4px; } .cme-confidence__option span { font-size: 9px; } }
