/* Extracted from runtime <style> blocks (CSP: no unsafe-inline) */


/* MC_FONT_STYLE */
.bc-root { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; }
      .bc-display { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; }
      .bc-breathe { animation: bc-breathe 4s ease-in-out infinite; }
      @keyframes bc-breathe {
        0%, 100% { transform: scale(1); opacity: .55; }
        50% { transform: scale(1.4); opacity: .12; }
      }
      @media (prefers-reduced-motion: reduce) {
        .bc-breathe { animation: none; }
      }
      .bc-opt:focus-visible, .bc-btn:focus-visible {
        outline: 2px solid #4A7C6F;
        outline-offset: 2px;
      }

/* STYLES */
.gp-root {
      /* Matched to the main app's TK.light tokens (bg-slate-50/text-slate-900/
         accent teal-600) instead of this module's own invented palette. */
      --gp-ink: #0f172a;
      --gp-petrol: #0d9488;
      --gp-marigold: #d97706;
      --gp-mist: #f8fafc;
      --gp-line: #e2e8f0;
      --gp-alert: #dc2626;
      --gp-alert-tint: #fef2f2;
      --gp-card: #ffffff;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      font-size: 16px;
      background: var(--gp-mist);
      color: var(--gp-ink);
      min-height: 100vh;
    }
    .gp-root[data-theme="dark"] {
      /* Matched to TK.dark (bg-slate-950/text-slate-50/accent teal-500). */
      --gp-ink: #f8fafc;
      --gp-petrol: #14b8a6;
      --gp-marigold: #f59e0b;
      --gp-mist: #020617;
      --gp-line: #334155;
      --gp-alert: #f87171;
      --gp-alert-tint: rgba(220,38,38,0.15);
      --gp-card: #0f172a;
    }
    .gp-header {
      position: sticky; top: 0; z-index: 10;
      display: flex; align-items: center; gap: 12px;
      padding: 8px 16px;
      background: var(--gp-petrol); color: #fff;
    }
    .gp-back {
      background: none; border: none; color: #fff;
      font-size: 20px; line-height: 1; cursor: pointer;
      width: 40px; height: 40px; border-radius: 8px;
    }
    .gp-title { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: 0.2px; }
    .gp-header-spacer { width: 40px; }
    .gp-main { max-width: 480px; margin: 0 auto; padding: 16px; padding-bottom: 48px; }
    .gp-status { text-align: center; color: var(--gp-ink); opacity: 0.7; padding: 40px 0; }
    .gp-card {
      background: var(--gp-card); border: 1px solid var(--gp-line); border-radius: 14px;
      padding: 20px; margin-bottom: 16px;
    }
    .gp-card h2 { margin: 0 0 4px; font-size: 20px; }
    .gp-muted { color: var(--gp-ink); opacity: 0.65; font-size: 14px; margin: 0 0 12px; }
    .gp-progress { height: 6px; background: var(--gp-line); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
    .gp-progress-fill { height: 100%; background: var(--gp-petrol); transition: width 0.25s ease; }
    .gp-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--gp-line); }
    .gp-tab {
      flex: 1; background: none; border: none; min-height: 44px; padding: 10px 0;
      font-size: 14px; font-weight: 600; color: var(--gp-ink); opacity: 0.55;
      cursor: pointer; border-bottom: 2px solid transparent;
    }
    .gp-tab-active { opacity: 1; color: var(--gp-petrol); border-bottom-color: var(--gp-petrol); }
    .gp-step-label { font-size: 13px; opacity: 0.6; margin: 0 0 14px; }
    .gp-field { border: none; padding: 0; margin: 0 0 8px; }
    .gp-field legend { font-size: 16px; font-weight: 600; padding: 0; margin-bottom: 12px; }
    .gp-choice {
      display: flex; align-items: center; gap: 10px;
      min-height: 44px; padding: 10px 14px; margin-bottom: 8px;
      border: 1px solid var(--gp-line); border-radius: 10px;
      cursor: pointer; text-transform: capitalize;
    }
    .gp-choice-active { border-color: var(--gp-petrol); background: rgba(13, 148, 136, 0.08); }
    .gp-doctor-toggle { text-transform: none; }
    .gp-slider-label { display: block; font-size: 14px; margin: 14px 0 6px; }
    .gp-root input[type="range"] { width: 100%; accent-color: var(--gp-petrol); }
    .gp-root input[type="checkbox"], .gp-root input[type="radio"] { accent-color: var(--gp-petrol); width: 18px; height: 18px; flex-shrink: 0; }
    .gp-textarea {
      width: 100%; border: 1px solid var(--gp-line); border-radius: 10px;
      padding: 10px; font-family: inherit; font-size: 14px; resize: vertical;
      background: var(--gp-card); color: var(--gp-ink);
    }
    .gp-actions { display: flex; gap: 10px; margin-top: 16px; }
    .gp-btn {
      flex: 1; min-height: 44px; border-radius: 10px; font-size: 15px; font-weight: 600;
      cursor: pointer; border: 1px solid transparent;
    }
    .gp-btn-primary { background: var(--gp-petrol); color: #fff; }
    .gp-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
    .gp-btn-secondary { background: var(--gp-card); color: var(--gp-ink); border-color: var(--gp-line); }
    .gp-link { background: none; border: none; color: var(--gp-petrol); font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px; }
    .gp-error-text { color: var(--gp-alert); font-size: 14px; margin: 10px 0 0; }
    .gp-error { text-align: center; }
    .gp-safety {
      border-left: 4px solid var(--gp-alert); background: var(--gp-alert-tint);
      border-radius: 0 10px 10px 0; padding: 12px 14px; margin-bottom: 16px;
    }
    .gp-safety-title { font-weight: 700; font-size: 13px; margin: 0 0 6px; color: var(--gp-alert); }
    .gp-safety ul, .gp-rail-content ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; }
    .gp-progression-banner {
      background: rgba(217, 119, 6, 0.15); border-left: 4px solid var(--gp-marigold);
      border-radius: 0 10px 10px 0; padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
    }
    .gp-stats-grid { display: flex; gap: 10px; margin-bottom: 16px; }
    .gp-stat { flex: 1; text-align: center; background: var(--gp-mist); border-radius: 10px; padding: 12px 8px; }
    .gp-stat-value { display: block; font-size: 22px; font-weight: 700; color: var(--gp-petrol); }
    .gp-stat-label { display: block; font-size: 12px; opacity: 0.65; margin-top: 2px; }
    .gp-history-list { list-style: none; margin: 8px 0 0; padding: 0; }
    .gp-history-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--gp-line); font-size: 13px; }
    .gp-history-item:last-child { border-bottom: none; }
    .gp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .gp-rail { list-style: none; margin: 0 0 4px; padding: 0; }
    .gp-rail-item { position: relative; padding-left: 26px; padding-bottom: 18px; }
    .gp-rail-item:not(:last-child)::before {
      content: ""; position: absolute; left: 7px; top: 18px; bottom: -4px; width: 2px;
      background: var(--gp-line);
    }
    .gp-rail-node {
      position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
      background: var(--gp-card); border: 2px solid var(--gp-petrol); transition: background 0.2s ease;
    }
    .gp-rail-warmup .gp-rail-node, .gp-rail-cooldown .gp-rail-node { border-color: var(--gp-marigold); }
    .gp-rail-node-done { background: var(--gp-petrol); }
    .gp-rail-heading { font-weight: 600; margin: 0 0 4px; }
    .gp-exercise-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
    .gp-exercise-meta { color: var(--gp-petrol); font-size: 13px; margin: 4px 0; }
    .gp-exercise-muscles { font-size: 12px; opacity: 0.6; margin: 0 0 4px; text-transform: capitalize; }
    .gp-exercise-cue { font-size: 13px; font-style: italic; margin: 0 0 4px; }
    .gp-exercise-caution { font-size: 12px; color: var(--gp-alert); margin: 0; }
    .gp-root :focus-visible { outline: 3px solid var(--gp-marigold); outline-offset: 2px; }
    @media (prefers-reduced-motion: reduce) {
      .gp-root * { transition: none !important; }
    }

/* inline block 1 */
.ad-scroll::-webkit-scrollbar{display:none}

/* inline block 2 */
@keyframes yogaBreathe {
            0%, 100% { transform: scale(0.82); opacity: 0.55; }
            50% { transform: scale(1); opacity: 1; }
          }
          .yoga-breathe { animation: yogaBreathe 8s ease-in-out infinite; }
          @media (prefers-reduced-motion: reduce) {
            .yoga-breathe { animation: none; }
          }
          .yoga-chip-row::-webkit-scrollbar { display: none; }

/* blood-donor-widgets.js */
.bd-screen { padding: 16px; }
    .bd-screen label { display:block; margin: 12px 0 4px; font-size: 14px; color:#444; }
    .bd-screen input, .bd-screen select { width:100%; padding:10px; border:1px solid #ddd; border-radius:8px; font-size:15px; }
    .bd-screen button { margin-top:16px; padding:12px 20px; border-radius:8px; border:none; background:#d32f2f; color:#fff; font-weight:600; }
    .bd-secondary { background:#eee !important; color:#333 !important; }
    .bd-error { color:#d32f2f; margin-top:8px; }
    .bd-card { background:#fff; border-radius:12px; padding:16px; margin:12px 0; box-shadow:0 1px 4px rgba(0,0,0,.08); }
    .bd-contact { margin-top:8px; font-size:14px; color:#333; }
    .bd-countdown { font-size:13px; color:#d32f2f; margin:4px 0; }
    .bd-hint { font-size:13px; color:#888; margin-top:6px; }
    .bd-menu-wrap { position:relative; display:inline-block; }
    .bd-menu-btn { background:none; border:none; font-size:24px; padding:4px 10px; cursor:pointer; }
    .bd-menu-dropdown { display:none; position:absolute; right:0; top:100%; background:#fff; border-radius:8px;
      box-shadow:0 2px 10px rgba(0,0,0,.18); min-width:190px; z-index:20; overflow:hidden; }
    .bd-menu-item { display:block; width:100%; text-align:left; padding:12px 16px; background:none; border:none;
      font-size:15px; cursor:pointer; margin:0 !important; }
    .bd-menu-item:hover { background:#f5f5f5; }
    .bd-records-card h3 { margin:0 0 16px; font-size:17px; }
    .bd-icon-row { display:flex; gap:28px; }
    .bd-icon-btn { display:flex; flex-direction:column; align-items:center; gap:6px; background:none; border:none;
      font-size:13px; color:#333; cursor:pointer; margin:0 !important; padding:0 !important; }
    .bd-icon-circle { width:48px; height:48px; border-radius:50%; background:#fdeceb; display:flex; align-items:center;
      justify-content:center; font-size:22px; }
    .bd-thankyou { margin-top:10px; display:flex; gap:8px; }
    .bd-thankyou-input { flex:1; }
    .bd-thankyou-sent { margin-top:8px; color:#2e7d32; font-size:14px; }

/* feedback-widget.js */
.bc-fb-icon-lg{font-size:20px}
.bc-hidden{display:none}

/* blood-donation-styles */
.bd-page { background:#f8fafc; min-height:100vh; padding:12px 14px 96px; color:#1e293b; font-family:inherit; }
.bd-header { display:flex; align-items:center; justify-content:space-between; padding:6px 2px 14px; }
.bd-back { background:none; border:none; color:#0d9488; font-size:15px; font-weight:600; cursor:pointer; padding:4px 0; }
.bd-title { font-size:18px; font-weight:700; color:#1e293b; }
.bd-header-spacer { width:52px; }
.bd-loading { text-align:center; color:#64748b; padding:40px 0; }
.bd-muted { color:#64748b; font-size:13px; }
.bd-big { font-size:20px; font-weight:800; color:#1e293b; }
.bd-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:16px; margin-bottom:12px; }
.bd-sec-title { font-size:14px; font-weight:700; color:#1e293b; margin:14px 2px 8px; }
.bd-field { margin-bottom:14px; }
.bd-field label { display:block; font-size:13px; font-weight:600; color:#334155; margin-bottom:6px; }
.bd-field small { display:block; color:#64748b; margin-top:4px; font-size:12px; }
.bd-field input, .bd-field select, .bd-thankbox textarea { width:100%; box-sizing:border-box; border:1px solid #e2e8f0; border-radius:8px; padding:10px 12px; font-size:15px; background:#f8fafc; color:#1e293b; }
.bd-field input:focus, .bd-field select:focus, .bd-thankbox textarea:focus { outline:2px solid #0d9488; border-color:#0d9488; background:#fff; }
.bd-pinrow { display:flex; gap:8px; }
.bd-pinrow input { flex:1; }
.bd-btn { display:block; width:100%; border:none; border-radius:8px; padding:12px; font-size:15px; font-weight:700; cursor:pointer; margin-top:10px; }
.bd-btn:disabled { opacity:.45; cursor:not-allowed; }
.bd-btn-primary { background:#0d9488; color:#fff; }
.bd-btn-red { background:#dc2626; color:#fff; }
.bd-btn-ghost { background:#f1f5f9; color:#334155; }
.bd-btn-mini { width:auto; display:inline-block; padding:10px 14px; margin-top:0; background:#0d9488; color:#fff; }
.bd-btnrow { display:flex; gap:8px; }
.bd-btnrow .bd-btn { flex:1; }
.bd-danger { color:#dc2626 !important; }
.bd-danger-text { color:#dc2626 !important; }
.bd-error { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; border-radius:8px; padding:10px 12px; font-size:13px; margin:8px 0; }
.bd-dotmenu-wrap { position:relative; }
.bd-dotbtn { background:none; border:none; font-size:22px; line-height:1; color:#334155; cursor:pointer; padding:4px 10px; border-radius:8px; }
.bd-dotbtn:hover { background:#f1f5f9; }
.bd-dotmenu { position:absolute; right:0; top:34px; background:#fff; border:1px solid #e5e7eb; border-radius:12px; min-width:230px; z-index:60; overflow:hidden; box-shadow:0 8px 24px rgba(15,23,42,.12); }
.bd-dotmenu button { display:block; width:100%; text-align:left; background:none; border:none; padding:12px 14px; font-size:14px; color:#1e293b; cursor:pointer; }
.bd-dotmenu button:hover { background:#f8fafc; }
.bd-terms-scroll { max-height:260px; overflow-y:auto; border:1px solid #e2e8f0; border-radius:8px; padding:12px; background:#f8fafc; font-size:13px; line-height:1.55; }
.bd-terms-scroll p { margin:0 0 8px; }
.bd-checklist { margin:12px 0; }
.bd-checkrow { display:flex; gap:8px; align-items:flex-start; font-size:13px; color:#334155; padding:6px 0; }
.bd-checkrow input { margin-top:3px; accent-color:#0d9488; }
.bd-status-card .bd-status-line { display:flex; align-items:center; gap:12px; }
.bd-pill { display:inline-block; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; background:#f1f5f9; color:#475569; text-transform:capitalize; }
.bd-pill-green { background:#dcfce7; color:#15803d; }
.bd-pill-red { background:#fee2e2; color:#b91c1c; }
.bd-pill-amber { background:#fef3c7; color:#b45309; }
.bd-pill-grey { background:#e2e8f0; color:#475569; }
.bd-offer-top { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.bd-offer-accepted { border-color:#0d9488; }
.bd-countdown { font-size:13px; font-weight:700; color:#b45309; margin-left:auto; }
.bd-contact { background:#f0fdfa; border:1px solid #ccfbf1; border-radius:8px; padding:10px 12px; margin:8px 0; font-size:14px; }
.bd-contact p { margin:4px 0; }
.bd-contact a { color:#0d9488; font-weight:700; text-decoration:none; }
.bd-levelrow { display:flex; gap:8px; flex-wrap:wrap; }
.bd-levelbtn { flex:1; min-width:100px; border:2px solid #e2e8f0; background:#fff; border-radius:10px; padding:12px 6px; font-size:13px; font-weight:700; cursor:pointer; color:#334155; }
.bd-level-emg.bd-level-active { border-color:#dc2626; background:#fef2f2; color:#b91c1c; }
.bd-level-mod.bd-level-active { border-color:#f59e0b; background:#fffbeb; color:#b45309; }
.bd-level-mild.bd-level-active { border-color:#0d9488; background:#f0fdfa; color:#0f766e; }
.bd-grouprow { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.bd-groupbtn { border:2px solid #e2e8f0; background:#fff; border-radius:10px; padding:12px 0; font-size:16px; font-weight:800; cursor:pointer; color:#334155; }
.bd-group-active { border-color:#dc2626; background:#fef2f2; color:#b91c1c; }
.bd-unitsrow { display:flex; align-items:center; gap:16px; }
.bd-unitrow { border-top:1px solid #f1f5f9; padding:10px 0; }
.bd-unit-head { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; }
.bd-thankbox textarea { min-height:70px; margin-top:8px; }
.bd-thanks { background:#fff1f2; border-radius:8px; padding:10px 12px; font-size:14px; color:#9f1239; margin-bottom:8px; }
.bd-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #f1f5f9; font-size:14px; }
