/* ============================================================
   CLINIQ support + email verification UI.
   Loads after theme.css and uses its tokens, so dark mode and brand colours come for free.
     .sw-*  the Help panel and its button        .vf-*  the email verification screen
     .sp-*  the public Support page              .spv-* the live preview in the platform dashboard
   ============================================================ */
:root {
  --sw-wa: #0b7a47;          /* WhatsApp-style green, dark enough for white text (5.4:1) */
  --sw-wa-dark: #08603a;
  --sw-wa-soft: #e7f6ee;
  --sw-online: #15803d;
  --sw-offline: #94a3b8;
  --sw-z: 1030;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sw-wa-soft: rgba(37, 211, 102, .14); --sw-online: #4ade80; } }
:root[data-theme="dark"] { --sw-wa-soft: rgba(37, 211, 102, .14); --sw-online: #4ade80; }

.visually-hidden-sw { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ Help button + panel */
.sw-launch {
  position: fixed; z-index: var(--sw-z);
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--color-primary); color: #fff;
  font: 700 .9375rem/1 var(--font-sans); cursor: pointer; box-shadow: var(--shadow-lg);
  transition: transform .15s ease, background .15s ease;
}
.sw-launch:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.sw-launch:focus-visible, .sw-close:focus-visible, .sw-item:focus-visible, .sw-social a:focus-visible, .sw-more:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary-light) 70%, #fff); outline-offset: 2px;
}
.sw-launch__dot { position: absolute; top: 7px; right: 9px; width: 11px; height: 11px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px var(--color-primary); }

.sw-backdrop { position: fixed; inset: 0; z-index: var(--sw-z); background: transparent; }
.sw-backdrop[hidden] { display: none; }
.sw-panel {
  position: fixed; z-index: calc(var(--sw-z) + 1);
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 64px);
  width: min(368px, calc(100vw - 32px)); max-height: min(600px, calc(100vh - 110px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 18px; background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-lg);
  animation: sw-in .16s ease-out;
}
.sw-panel[hidden] { display: none; }
.sw--shell .sw-panel { right: auto; left: calc(var(--sidebar-w, 248px) + 12px); bottom: 16px; }
@keyframes sw-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.sw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sw-title { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sw-status { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: var(--text-sm); color: var(--color-text-secondary); font-weight: 600; }
.sw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sw-offline); flex: none; }
.sw-status.is-online .sw-dot { background: var(--sw-online); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw-online) 25%, transparent); }
.sw-close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--color-muted); cursor: pointer; }
.sw-close:hover { background: var(--color-surface-2); color: var(--color-text); }
.sw-note { margin: 4px 0 12px; font-size: var(--text-md); color: var(--color-text-secondary); }
.sw-head + .sw-list { margin-top: 12px; }

.sw-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.sw-item { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 16px; color: inherit; text-decoration: none; background: var(--color-surface); transition: border-color .15s, background .15s; }
.sw-item:hover { border-color: var(--color-primary); background: var(--color-surface-2); color: inherit; }
.sw-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); }
.sw-item--whatsapp .sw-ico { background: var(--sw-wa); color: #fff; }
.sw-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.sw-txt b { font-weight: 700; font-size: var(--text-md); }
.sw-txt small { color: var(--color-muted); font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-go { color: var(--color-muted); flex: none; }
.sw-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.sw-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--color-border-strong); border-radius: 50%; color: var(--color-text-secondary); text-decoration: none; transition: border-color .15s, color .15s; }
.sw-social a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.sw-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: var(--text-sm); color: var(--color-primary); text-decoration: none; padding: 4px 0; }
.sw-more:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sw-more, :root:not([data-theme="light"]) .sw-social a:hover, :root:not([data-theme="light"]) .sw-ico:not(.x) { color: #2dd4bf; } :root:not([data-theme="light"]) .sw-item--whatsapp .sw-ico { color: #fff; } }
:root[data-theme="dark"] .sw-more, :root[data-theme="dark"] .sw-social a:hover { color: #2dd4bf; }
:root[data-theme="dark"] .sw-ico { color: #2dd4bf; } :root[data-theme="dark"] .sw-item--whatsapp .sw-ico { color: #fff; }

/* the staff sidebar entry (a button that must look like its sibling links) */
.app-shell-sidebar .shell-link.sw-nav { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.app-shell-sidebar .shell-link.sw-nav:hover { background: var(--color-surface-2); }

/* phones and the staff shell's mobile breakpoint: a bottom sheet is easier to reach than a corner popover */
@media (max-width: 900px) {
  .sw-backdrop { background: rgba(15, 23, 42, .45); }
  .sw-panel, .sw--shell .sw-panel { left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); animation-name: sw-up; }
  .sw--floating .sw-launch { padding: 0 16px; }
}
@keyframes sw-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sw-panel, .sw-launch { animation: none !important; transition: none !important; } }
@media print { .sw { display: none !important; } }

/* static copy used for the live preview in Platform -> Support and contact */
.sw-panel--static { position: static; width: 100%; max-width: 368px; max-height: none; animation: none; box-shadow: var(--shadow); margin: 0; }

/* ------------------------------------------------------------ email verification screen */
.vf-card { width: 100%; max-width: 440px; margin-inline: auto; padding: clamp(22px, 4vw, 34px); text-align: center; background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-sm); }
.vf-card--pf { max-width: 420px; box-shadow: var(--shadow); }
.vf-badge { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.vf-badge--ok { background: var(--color-success-soft); color: var(--color-success); }
.vf-badge--warn { background: var(--color-warning-soft); color: var(--color-warning); }
.vf-card--pf .vf-badge { background: rgba(99, 102, 241, .12); color: var(--pf-accent, #6366f1); }
.vf-title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.vf-sub { margin: 0 0 20px; color: var(--color-text-secondary); font-size: var(--text-md); }
.vf-email { color: var(--color-text); white-space: nowrap; }
.vf-alert { margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; font-size: var(--text-md); text-align: left; border: 1px solid; }
.vf-alert--error { color: var(--color-danger); background: var(--color-danger-soft); border-color: color-mix(in srgb, var(--color-danger) 30%, transparent); }
.vf-alert--ok { color: var(--color-success); background: var(--color-success-soft); border-color: color-mix(in srgb, var(--color-success) 30%, transparent); }
.vf-label { display: block; text-align: left; font-weight: 600; font-size: var(--text-md); margin-bottom: 6px; }
.vf-code {
  display: block; width: 100%; min-height: 68px; padding: 14px 0 14px .3em; text-align: center;
  font: 700 2rem/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .3em; color: var(--color-text);
  background: var(--color-surface-2); border: 2px solid var(--color-muted); border-radius: 14px;
}
.vf-code::placeholder { color: var(--color-muted); opacity: .75; letter-spacing: .2em; }
.vf-code:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 22%, transparent); }
.vf-card--pf .vf-code:focus { border-color: var(--pf-accent, #6366f1); box-shadow: 0 0 0 4px rgba(99, 102, 241, .22); }
.vf-code[aria-invalid="true"] { border-color: var(--color-danger); }
.vf-hint { margin: 8px 0 16px; text-align: left; font-size: var(--text-sm); color: var(--color-muted); }
.vf-check { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 0 0 16px; cursor: pointer; font-weight: 600; font-size: var(--text-md); }
.vf-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--color-primary); }
.vf-check small { display: block; font-weight: 400; color: var(--color-muted); font-size: var(--text-sm); }
.vf-resend { margin: 18px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.vf-link { background: none; border: 0; padding: 8px 4px; min-height: 40px; font: 700 var(--text-md) var(--font-sans); color: var(--s-accent-text, var(--color-primary)); cursor: pointer; border-radius: 8px; }
.vf-card--pf .vf-link { color: var(--pf-accent, #6366f1); }
.vf-link:hover:not(:disabled) { text-decoration: underline; }
.vf-link:disabled { color: var(--color-muted); cursor: not-allowed; }
.vf-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.vf-timer { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.vf-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-muted); line-height: 1.8; }
.vf-foot a { color: var(--s-accent-text, var(--color-primary)); font-weight: 600; }
.vf-card--pf .vf-foot a { color: var(--pf-accent, #6366f1); }
.vf-card .s-btn, .vf-card .pf-btn { text-decoration: none; }
@media (max-width: 420px) { .vf-code { font-size: 1.7rem; letter-spacing: .22em; } }

/* ------------------------------------------------------------ public Support page */
.sp-hero { padding-block: clamp(32px, 6vw, 68px) clamp(16px, 3vw, 28px); }
.sp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; font-size: var(--text-sm); font-weight: 700;
  background: var(--color-surface); border: 1px solid var(--color-border-strong); color: var(--color-text-secondary); }
.sp-chip .sw-dot { width: 9px; height: 9px; }
.sp-chip.is-online .sw-dot { background: var(--sw-online); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw-online) 25%, transparent); }
.sp-hero .s-h1 { max-width: 14em; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sp-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-sm); }
.sp-card--whatsapp { border-color: color-mix(in srgb, var(--sw-wa) 45%, var(--color-border)); background: linear-gradient(180deg, var(--sw-wa-soft), var(--color-surface) 60%); }
.sp-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 8px; }
.sp-card--whatsapp .sp-ico { background: var(--sw-wa); color: #fff; }
.sp-card h2 { margin: 0; font-size: var(--text-lg); font-weight: 800; letter-spacing: -.01em; }
.sp-card p { margin: 0; color: var(--color-muted); font-size: var(--text-md); }
.sp-detail { margin-top: 6px !important; color: var(--color-text) !important; font-weight: 700; font-size: 1.0625rem !important; overflow-wrap: anywhere; }
.sp-cta { margin-top: auto; padding-top: 14px; }
.sp-btn-wa { background: var(--sw-wa); color: #fff; border-color: transparent; }
.sp-btn-wa:hover { background: var(--sw-wa-dark); color: #fff; }
.sp-section { padding-block: clamp(20px, 4vw, 40px); }
.sp-section h2 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.sp-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sp-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface);
  color: var(--color-text); font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.sp-social a:hover { border-color: var(--color-primary); color: var(--s-accent-text, var(--color-primary)); }
.sp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.sp-panel { padding: 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 22px; }
.sp-hours { width: 100%; border-collapse: collapse; }
.sp-hours th, .sp-hours td { padding: 10px 0; text-align: left; font-size: var(--text-md); border-bottom: 1px solid var(--color-border); }
.sp-hours tr:last-child th, .sp-hours tr:last-child td { border-bottom: 0; }
.sp-hours th { font-weight: 600; }
.sp-hours td { text-align: right; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.sp-hours .is-today th, .sp-hours .is-today td { color: var(--color-text); font-weight: 800; }
.sp-hours .is-closed td { color: var(--color-muted); }
.sp-today { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: var(--text-xs); font-weight: 700; background: var(--color-primary-soft); color: var(--color-primary); }
.sp-tz { margin: 12px 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.sp-faq details { border-bottom: 1px solid var(--color-border); }
.sp-faq details:last-child { border-bottom: 0; }
.sp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--color-muted); border-bottom: 2px solid var(--color-muted); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.sp-faq details[open] summary::after { transform: rotate(-135deg); }
.sp-faq summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 6px; }
.sp-faq details p { margin: 0 0 14px; color: var(--color-text-secondary); }
.sp-empty { padding: 28px; text-align: center; border: 1px dashed var(--color-border-strong); border-radius: 22px; color: var(--color-text-secondary); background: var(--color-surface); }

/* footer support block (public site) */
.s-footer .sf-support { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.s-footer .sf-support a { color: var(--color-text-secondary); text-decoration: none; font-weight: 600; font-size: var(--text-md); }
.s-footer .sf-support a:hover { color: var(--s-accent-text, var(--color-primary)); }
.s-footer .sf-social { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.s-footer .sf-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--color-border-strong); border-radius: 50%; color: var(--color-text-secondary); }
.s-footer .sf-social a:hover { border-color: var(--color-primary); color: var(--s-accent-text, var(--color-primary)); }

/* ------------------------------------------------------------ platform editor (Support and contact) */
.pfs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .pfs-layout { grid-template-columns: minmax(0, 1fr); } .pfs-preview { order: -1; } .pfs-preview__sticky { position: static !important; } }
.pfs-preview__sticky { position: sticky; top: 20px; padding: 18px; border: 1px dashed var(--color-border-strong); border-radius: 18px; background: var(--color-surface-2); }
.pfs-preview__title { font-size: var(--text-lg); font-weight: 700; margin: 0 0 2px; }
.pfs-field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.pfs-field > label, .pfs-legend { display: block; font-weight: 600; margin: 0 0 6px; font-size: var(--text-md); padding: 0; float: none; width: auto; }
.pfs-field .form-control { min-height: 46px; border-radius: 12px; }
.pfs-field .form-control:focus { border-color: var(--pf-accent, #6366f1); box-shadow: 0 0 0 3px rgba(99, 102, 241, .22); }
.pfs-field .form-control.is-invalid { border-color: var(--color-danger); background-image: none; }
.pfs-hint { margin-top: 6px; font-size: var(--text-sm); color: var(--color-muted); }
.pfs-error { margin-top: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--color-danger); }
.pfs-opt { font-weight: 400; color: var(--color-muted); font-size: var(--text-sm); margin-left: 4px; }
.pfs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.pfs-inline { display: flex; gap: 10px; align-items: center; }
.pfs-inline .form-control { flex: 1; }
.pfs-test { white-space: nowrap; font-size: var(--text-sm); font-weight: 700; color: var(--pf-accent, #6366f1); text-decoration: none; }
.pfs-test:hover { text-decoration: underline; }
.pfs-times { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 0 16px; }
.pfs-days { display: flex; flex-wrap: wrap; gap: 8px; }
.pfs-day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pfs-day span { display: inline-grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px; border: 1px solid var(--color-border-strong); border-radius: 12px; font-weight: 700; cursor: pointer; user-select: none; color: var(--color-text-secondary); background: var(--color-surface); }
.pfs-day input:checked + span { background: var(--pf-accent, #6366f1); border-color: var(--pf-accent, #6366f1); color: #fff; }
.pfs-day input:focus-visible + span { outline: 3px solid rgba(99, 102, 241, .45); outline-offset: 2px; }
.pfs-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pfs-chip { border: 1px solid var(--color-border-strong); background: transparent; color: var(--color-text-secondary); border-radius: 999px; padding: 5px 12px; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.pfs-chip:hover { border-color: var(--pf-accent, #6366f1); color: var(--pf-accent, #6366f1); }
.pfs-switch { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.pfs-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pfs-switch__ui { flex: none; width: 44px; height: 26px; margin-top: 2px; border-radius: 999px; background: var(--color-border-strong); position: relative; transition: background .15s; }
.pfs-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.pfs-switch input:checked + .pfs-switch__ui { background: var(--pf-accent, #6366f1); }
.pfs-switch input:checked + .pfs-switch__ui::after { transform: translateX(18px); }
.pfs-switch input:focus-visible + .pfs-switch__ui { outline: 3px solid rgba(99, 102, 241, .45); outline-offset: 2px; }
.pfs-switch b { display: block; }
.pfs-switch small { display: block; color: var(--color-muted); font-size: var(--text-sm); margin-top: 2px; }
.pfs-savebar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-top: 4px; background: color-mix(in srgb, var(--color-surface) 92%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow); }
.pfs-dirty { font-size: var(--text-sm); font-weight: 600; color: var(--color-warning); }
.pf-readonly .pfs-switch, .pf-readonly .pfs-day span { cursor: not-allowed; opacity: .7; }
@media (max-width: 520px) { .pfs-times { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ platform editor (Email and verification) */
.pfe-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid; margin-bottom: 18px; }
.pfe-status svg { flex: none; margin-top: 2px; }
.pfe-status b { display: block; }
.pfe-status--ok { background: var(--color-success-soft); border-color: color-mix(in srgb, var(--color-success) 35%, transparent); color: var(--color-success); }
.pfe-status--warn { background: var(--color-warning-soft); border-color: color-mix(in srgb, var(--color-warning) 35%, transparent); color: var(--color-warning); }
.pfe-status--off { background: var(--color-surface-2); border-color: var(--color-border-strong); color: var(--color-text-secondary); }
.pfe-status span { color: var(--color-text-secondary); font-size: var(--text-md); }
.pfe-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pfe-choice { position: relative; display: block; cursor: pointer; }
.pfe-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pfe-choice > span { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--color-border-strong); border-radius: 14px; background: var(--color-surface); }
.pfe-choice b { display: block; font-size: var(--text-md); }
.pfe-choice small { display: block; color: var(--color-muted); font-size: var(--text-sm); margin-top: 2px; }
.pfe-choice input:checked + span { border-color: var(--pf-accent, #6366f1); box-shadow: 0 0 0 2px rgba(99, 102, 241, .35); background: rgba(99, 102, 241, .06); }
.pfe-choice input:focus-visible + span { outline: 3px solid rgba(99, 102, 241, .45); outline-offset: 2px; }
.pfe-choice input:disabled + span { opacity: .55; cursor: not-allowed; }
.pfe-locked { opacity: .6; pointer-events: none; }
.pfe-log td { font-size: var(--text-sm); vertical-align: top; }
.pfe-err { color: var(--color-danger); word-break: break-word; }

/* dark mode: brighter accent for the icon badges so they stay legible */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vf-badge:not(.vf-badge--ok):not(.vf-badge--warn):not(.vf-card--pf *), :root:not([data-theme="light"]) .sp-ico:not(.x) { color: #2dd4bf; } :root:not([data-theme="light"]) .sp-card--whatsapp .sp-ico { color: #fff; } }
:root[data-theme="dark"] .vf-badge:not(.vf-badge--ok):not(.vf-badge--warn) { color: #2dd4bf; }
:root[data-theme="dark"] .sp-ico { color: #2dd4bf; } :root[data-theme="dark"] .sp-card--whatsapp .sp-ico { color: #fff; }
