body.app-page,
body.landing-page,
body.account-page,
body.success-page {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.app-page *, body.app-page *::before, body.app-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.app-page {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      background: linear-gradient(to bottom, rgb(71,70,70) 0%, rgb(119,117,170) 55%, rgb(66,66,66) 100%);
      min-height: 100vh;
      color: rgb(252,252,252);
    }
body.app-page header {
      position: relative;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 20px 5%;
      background-color: var(--accent);
      background-image: linear-gradient(135deg, rgba(101,84,148,0.95) 0%, rgba(40,40,80,0.95) 100%);
      border-bottom: 2px solid rgba(255,255,255,0.1);
    }
body.app-page .logo-area {
      margin-right: auto;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      z-index: 2;
    }
body.app-page .header-center-title {
      position: absolute;
      left: 50%;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-width: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
body.app-page .logo-rx {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 8px;
      padding: 3px 9px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px;
      color: #fff;
    }
body.app-page .logo-text {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 18px;
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.app-page .logo-brand-stack {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
      line-height: 1;
    }
body.app-page .header-logo-banner {
      width: clamp(128px, 14vw, 190px);
      height: auto;
      display: block;
      border-radius: 4px;
    }
body.app-page .userbar-info {
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 2;
    }
body.app-page .user-email {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      text-shadow: none;
    }
body.app-page .usage-badge {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      border-radius: 50px;
      padding: 4px 12px;
      text-shadow: none;
    }
body.app-page .usage-badge.pro { color: rgb(40,40,40); background: rgb(187,187,187); }
body.app-page .usage-badge.free { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); }
body.app-page .role-badge {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      border-radius: 50px;
      padding: 4px 12px;
      text-shadow: none;
      color: rgba(255,255,255,0.85);
      background: rgba(30,30,50,0.35);
      border: 1px solid rgba(255,255,255,0.18);
    }
body.app-page .role-badge.pharmacist { color: rgb(40,40,40); background: rgb(220,210,255); }
body.app-page .header-btn {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 13px;
      background-color: rgb(187,187,187);
      color: rgb(40,40,40);
      border: none;
      border-radius: 50px;
      padding: 7px 18px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-shadow: none;
    }
body.app-page .header-btn:active,
body.app-page .header-btn:focus-visible { background-color: rgba(187,187,187,0.7); }
body.app-page .app-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      padding: 24px 5%;
      max-width: 1200px;
      margin: 0 auto;
    }
body.app-page .section-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      margin-bottom: 10px;
      text-shadow: none;
    }
body.app-page .card {
      background-color: rgba(51,51,51,0.55);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 20px;
      margin-bottom: 16px;
    }
body.app-page #rxCard .rx-line {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px;
      line-height: 1.7;
      color: rgba(252,252,252,0.9);
    }
body.app-page #rxCard .rx-line strong {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      color: rgba(180,170,220,1);
      display: inline-block;
      min-width: 100px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      text-shadow: none;
    }
body.app-page .loading-card {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px;
      color: rgba(255,255,255,0.4);
      font-style: italic;
    }
body.app-page .btn-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }
body.app-page button {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 14px;
      border: none;
      border-radius: 50px;
      padding: 9px 22px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-shadow: none;
      touch-action: manipulation;
    }
body.app-page #checkBtn, body.app-page #clearBtn {
      background-color: rgb(187,187,187);
      color: rgb(40,40,40);
    }
body.app-page #checkBtn:active,
body.app-page #checkBtn:focus-visible,
body.app-page #clearBtn:active,
body.app-page #clearBtn:focus-visible { background-color: rgba(187,187,187,0.7); }
body.app-page #giveUpBtn {
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.8);
      border: 1px solid rgba(255,255,255,0.2);
    }
body.app-page #giveUpBtn:active,
body.app-page #giveUpBtn:focus-visible { background: rgba(255,255,255,0.18); }
body.app-page #nextBtn {
      background-color: var(--accent);
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.app-page #nextBtn:active,
body.app-page #nextBtn:focus-visible { background-color: rgba(101,84,148,0.75); }
body.app-page #checkBtn.checking { opacity: 0.6; cursor: wait; }
body.app-page .attempts {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,220,100,0.9);
      min-height: 18px;
      margin-bottom: 8px;
      text-shadow: none;
    }
body.app-page .status {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 17px;
      min-height: 22px;
      font-weight: 500;
      margin-bottom: 8px;
      white-space: pre-wrap;
      line-height: 1.5;
    }
body.app-page .verdict-correct { color: rgb(100,220,130); }
body.app-page .verdict-acceptable { color: rgb(120,180,255); }
body.app-page .verdict-ambiguous { color: rgba(255,220,100,0.9); }
body.app-page .verdict-partial { color: rgb(255,170,72); }
body.app-page .verdict-incorrect { color: rgb(255,110,100); }
body.app-page .sample-sig {
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: rgba(180,170,220,1);
      margin-top: 6px;
      text-shadow: none;
    }
body.app-page .upgrade-banner {
      display: none;
      margin-top: 10px;
      padding: 12px 16px;
      border-radius: 12px;
      background: rgba(61,61,61,0.6);
      border: 1px solid rgba(255,255,255,0.12);
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px;
      color: rgba(255,255,255,0.8);
      line-height: 1.5;
    }
body.app-page .upgrade-banner a {
      color: rgba(180,170,220,1);
      font-weight: 600;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
    }
body.app-page .hint {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 15px;
      color: rgba(255,255,255,0.4);
      line-height: 1.5;
      margin-top: 10px;
    }
body.app-page textarea {
      width: 100%;
      height: 160px;
      resize: none;
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px;
      padding: 14px;
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.5;
      outline: none;
      background: rgba(30,30,50,0.5);
      color: rgb(252,252,252);
      letter-spacing: 0.04em;
    }
body.app-page textarea::placeholder { color: rgba(255,255,255,0.3); font-weight: 500; }
body.app-page textarea:focus {
      border-color: rgba(119,117,170,0.8);
      box-shadow: 0 0 0 3px rgba(119,117,170,0.2);
    }
body.app-page .translation-box {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 17px;
      line-height: 1.7;
      min-height: 160px;
      padding: 14px;
      white-space: pre-wrap;
      text-transform: uppercase;
      color: rgba(252,252,252,0.9);
      letter-spacing: 0.02em;
    }
body.app-page .muted { color: rgba(255,255,255,0.3) !important; font-style: italic; text-transform: none; }
body.app-page #lockScreen,
body.app-page #welcomeModal {
      position: fixed; inset: 0;
      background: rgba(20,20,40,0.92);
      display: flex; align-items: center; justify-content: center;
      z-index: 999;
      backdrop-filter: blur(6px);
    }
body.app-page .lock-box {
      background: linear-gradient(135deg, rgba(101,84,148,0.9) 0%, rgba(40,40,80,0.95) 100%);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 18px;
      padding: 36px 40px;
      width: min(420px, 90vw);
      box-shadow: 0 24px 60px rgba(0,0,0,0.5);
      display: flex; flex-direction: column; gap: 12px;
    }
body.app-page .lock-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 26px; font-weight: 600;
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.app-page .lock-sub {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px; color: rgba(255,255,255,0.6);
    }
body.app-page .welcome-box {
      gap: 18px;
    }
body.app-page .welcome-copy {
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px;
      line-height: 1.55;
      color: rgba(255,255,255,0.7);
    }
body.app-page #welcomeStartBtn {
      width: 100%; padding: 12px;
      font-size: 15px; border-radius: 50px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      font-family: 'Montserrat', sans-serif;
      font-weight: 700; text-shadow: none;
    }
body.app-page #welcomeStartBtn:hover { background: rgba(187,187,187,0.75); }
body.app-page #authForm {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
body.app-page .auth-tabs { display: flex; gap: 8px; }
body.app-page .auth-tabs button {
      flex: 1; padding: 10px;
      font-size: 14px; border-radius: 50px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700; text-shadow: none;
    }
body.app-page .tab-active { background: rgb(187,187,187) !important; color: rgb(40,40,40) !important; }
body.app-page .tab-inactive { background: rgba(255,255,255,0.1) !important; color: rgba(255,255,255,0.7) !important; border: 1px solid rgba(255,255,255,0.2) !important; }
body.app-page .lock-box input[type="text"], body.app-page .lock-box input[type="email"], body.app-page .lock-box input[type="password"] {
      width: 100%; padding: 11px 14px;
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 10px;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px; outline: none;
      background: rgba(30,30,50,0.6);
      color: rgb(252,252,252);
      box-sizing: border-box;
    }
body.app-page .lock-box input::placeholder { color: rgba(255,255,255,0.35); }
body.app-page .lock-box input:focus { border-color: rgba(187,187,187,0.6); box-shadow: 0 0 0 3px rgba(187,187,187,0.1); }
body.app-page .password-input-wrap,
body.account-page .password-input-wrap {
      position: relative;
      width: 100%;
    }
body.app-page .lock-box .password-input-wrap input[type="password"],
body.app-page .lock-box .password-input-wrap input[type="text"],
body.account-page .password-input-wrap .field-input {
      padding-right: 76px;
    }
body.app-page .password-toggle-btn,
body.account-page .password-toggle-btn {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
      min-height: 30px;
      padding: 5px 10px;
      border-radius: 50px;
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(20,20,32,0.86);
      color: rgba(255,255,255,0.95);
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      touch-action: manipulation;
      z-index: 1;
    }
body.app-page .password-toggle-btn:hover,
body.account-page .password-toggle-btn:hover,
body.app-page .password-toggle-btn:focus-visible,
body.account-page .password-toggle-btn:focus-visible {
      background: rgba(8,8,16,0.96);
      border-color: rgba(255,255,255,0.45);
      outline: none;
    }
body.app-page .remember-device-row {
      display: grid;
      grid-template-columns: 18px 1fr;
      align-items: center;
      gap: 9px;
      margin-top: -2px;
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.4;
      color: rgba(255,255,255,0.74);
      text-shadow: none;
    }
body.app-page .remember-device-row input {
      width: 16px;
      height: 16px;
      accent-color: rgb(187,187,187);
      cursor: pointer;
    }
body.app-page .terms-consent {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      line-height: 1.5;
      color: rgba(255,255,255,0.72);
      text-shadow: none;
    }
body.app-page .terms-check-row {
      display: grid;
      grid-template-columns: 18px 1fr;
      align-items: start;
      gap: 9px;
      padding: 2px 0;
    }
body.app-page .terms-check-row input {
      width: 16px;
      height: 16px;
      margin-top: 2px;
      accent-color: rgb(187,187,187);
      cursor: pointer;
    }
body.app-page .terms-check-row a {
      color: rgb(220,210,255);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
body.app-page .terms-consent.needs-read {
      background: rgba(190,45,45,0.28);
      border: 1px solid rgba(255,120,110,0.55);
      border-radius: 10px;
      padding: 10px;
    }
body.app-page .terms-warning {
      display: none;
      position: relative;
      padding: 8px 10px 8px 26px;
      border-radius: 8px;
      background: rgba(190,45,45,0.35);
      border: 1px solid rgba(255,120,110,0.45);
      color: rgb(255,205,200);
      font-weight: 700;
    }
body.app-page .terms-warning::before {
      content: '↑';
      position: absolute;
      left: 10px;
      top: 7px;
    }
body.app-page .terms-consent.needs-read .terms-warning { display: block; }
body.app-page #authSubmitBtn {
      width: 100%; padding: 12px;
      font-size: 15px; border-radius: 50px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      font-family: 'Montserrat', sans-serif;
      font-weight: 700; text-shadow: none;
    }
body.app-page #authSubmitBtn:hover { background: rgba(187,187,187,0.75); }
body.app-page .lock-error {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px; min-height: 18px;
      color: rgb(255,150,130);
      text-shadow: none;
    }
body.app-page @media (max-width: 800px) {
      .app-wrapper { grid-template-columns: 1fr; }
      header { padding: 16px 5%; }
    }

body.landing-page *, body.landing-page *::before, body.landing-page *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
body.landing-page {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      background: linear-gradient(to bottom, rgb(71,70,70) 0%, rgb(119,117,170) 50%, rgb(66,66,66) 100%);
      min-height: 100vh;
      color: rgb(252,252,252);
    }
body.landing-page header {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 30px 10%;
      background-color: var(--accent);
      background-image: linear-gradient(135deg, rgba(101,84,148,0.95) 0%, rgba(40,40,80,0.95) 100%);
      border-bottom: 2px solid rgba(255,255,255,0.1);
    }
body.landing-page .logo-area {
      margin-right: auto;
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
body.landing-page .nostercodes-header-logo {
      width: clamp(168px, 19vw, 252px);
      height: auto;
      display: block;
      border-radius: 6px;
    }
body.landing-page .logo-text {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 22px;
      color: rgb(252,252,252);
      text-shadow: none;
      letter-spacing: 0.02em;
    }
body.landing-page .brand-stack {
      display: flex;
      flex-direction: column;
      gap: 2px;
      line-height: 1;
    }
body.landing-page .logo-subtext {
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(252,252,252,0.58);
    }
body.landing-page .logo-rx {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 8px;
      padding: 4px 10px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px;
      color: #fff;
    }
body.landing-page nav ul {
      list-style: none;
      display: flex;
      gap: 0;
    }
body.landing-page nav ul li {
      display: inline-block;
      padding: 0 20px;
    }
body.landing-page nav ul li a {
      font-family: 'Montserrat', sans-serif;
      font-weight: 500;
      font-size: 16px;
      color: rgb(252,252,252);
      text-decoration: none;
      text-shadow: none;
      transition: all 0.3s ease;
    }
body.landing-page nav ul li a:hover { color: rgba(252,252,252,0.5); }
body.landing-page .cta-btn {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 15px;
      color: rgb(40,40,40);
      text-decoration: none;
      background-color: rgb(187,187,187);
      border: none;
      border-radius: 50px;
      padding: 10px 28px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-shadow: none;
      display: inline-block;
    }
body.landing-page .cta-btn:hover { background-color: rgba(187,187,187,0.7); }
body.landing-page .mobile-menu-btn {
      display: none;
      width: 42px;
      height: 42px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.22);
      background: rgba(255,255,255,0.1);
      padding: 9px;
      cursor: pointer;
      touch-action: manipulation;
    }
body.landing-page .mobile-menu-btn span {
      display: block;
      height: 2px;
      width: 100%;
      margin: 5px 0;
      border-radius: 2px;
      background: rgb(252,252,252);
    }
body.landing-page .hero {
      padding: 80px 10% 60px;
      text-align: center;
    }
body.landing-page .hero-tag {
      display: inline-block;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(252,252,252,0.7);
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 50px;
      padding: 6px 18px;
      margin-bottom: 28px;
      text-shadow: none;
    }
body.landing-page .hero h1 {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: clamp(42px, 7vw, 80px);
      font-weight: 600;
      line-height: 1.1;
      color: rgb(252,252,252);
      text-shadow: none;
      margin-bottom: 24px;
    }
body.landing-page .hero h1 span {
      color: rgb(180,170,220);
    }
body.landing-page .hero p {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 22px;
      font-weight: 400;
      color: rgba(252,252,252,0.8);
      max-width: 600px;
      margin: 0 auto 40px;
      line-height: 1.6;
    }
body.landing-page .hero-btns {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }
body.landing-page .btn-primary {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 16px;
      background-color: rgb(187,187,187);
      color: rgb(40,40,40);
      border: none;
      border-radius: 50px;
      padding: 14px 36px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-block;
    }
body.landing-page .btn-primary:hover { background-color: rgba(187,187,187,0.75); }
body.landing-page .btn-secondary {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 16px;
      background: rgba(255,255,255,0.1);
      color: rgb(252,252,252);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 50px;
      padding: 14px 36px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-block;
      text-shadow: none;
    }
body.landing-page .btn-secondary:hover { background: rgba(255,255,255,0.18); }
body.landing-page .demo-wrapper {
      padding: 0 10% 60px;
      display: flex;
      justify-content: center;
    }
body.landing-page .demo-card {
      background-color: rgba(51,51,51,0.6);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
      padding: 28px 32px;
      width: 100%;
      max-width: 720px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
    }
body.landing-page .demo-label {
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      margin-bottom: 14px;
      font-family: 'Montserrat', sans-serif;
    }
body.landing-page .demo-rx {
      background: rgba(61,61,61,0.5);
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 16px;
      font-size: 18px;
      line-height: 1.8;
    }
body.landing-page .demo-rx strong {
      color: rgba(180,170,220,1);
      display: inline-block;
      min-width: 110px;
    }
body.landing-page .demo-sig-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
body.landing-page .demo-sig-chip {
      background: rgba(119,117,170,0.4);
      border: 1px solid rgba(119,117,170,0.6);
      border-radius: 8px;
      padding: 8px 16px;
      font-size: 18px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
body.landing-page .demo-translation {
      margin-top: 12px;
      font-size: 16px;
      color: rgba(255,255,255,0.65);
      font-style: italic;
    }
body.landing-page .credibility-bar,
body.landing-page .stats-bar {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: center;
      padding: 18px 10%;
      background: rgba(25,25,32,0.52);
      border-top: 1px solid rgba(255,255,255,0.08);
      border-bottom: 1px solid rgba(255,255,255,0.08);
      text-align: center;
    }
body.landing-page .credibility-bar span {
      font-size: 13px;
      font-weight: 700;
      line-height: 1.45;
      color: rgba(252,252,252,0.72);
    }
body.landing-page .section-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-align: center;
      color: rgba(255,255,255,0.5);
      padding: 40px 10% 20px;
      font-weight: 400;
    }
body.landing-page .track-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      padding: 0 10% 60px;
    }
body.landing-page .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      padding: 0 10% 60px;
    }
body.landing-page .feature-card {
      background-color: rgba(61,61,61,0.45);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 28px 24px;
    }
body.landing-page .feature-icon {
      font-size: 28px;
      margin-bottom: 14px;
    }
body.landing-page .feature-status {
      display: inline-block;
      margin-bottom: 10px;
      border-radius: 50px;
      padding: 4px 10px;
      background: rgba(180,170,220,0.18);
      border: 1px solid rgba(180,170,220,0.28);
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(220,210,255,0.88);
      text-shadow: none;
    }
body.landing-page .feature-status.muted-status {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.14);
      color: rgba(255,255,255,0.58);
    }
body.landing-page .feature-card h3 {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 22px;
      font-weight: 500;
      margin-bottom: 10px;
      text-shadow: none;
    }
body.landing-page .feature-card p {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 17px;
      color: rgba(252,252,252,0.7);
      line-height: 1.6;
    }
body.landing-page .roadmap-features {
      padding-bottom: 64px;
    }
body.landing-page .roadmap-card {
      background-color: rgba(78,78,78,0.36);
      border-color: rgba(255,255,255,0.08);
      filter: grayscale(0.2);
    }
body.landing-page .stats-bar {
      margin-bottom: 20px;
    }
body.landing-page .stats-bar div {
      display: grid;
      gap: 6px;
    }
body.landing-page .stats-bar strong {
      font-size: clamp(34px, 5vw, 56px);
      line-height: 1;
      color: rgb(252,252,252);
    }
body.landing-page .stats-bar span {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(252,252,252,0.58);
    }
body.landing-page .pricing {
      padding: 0 10% 80px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
      max-width: 1240px;
      margin: 0 auto;
    }
body.landing-page .pricing-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 14px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-align: center;
      color: rgba(255,255,255,0.5);
      padding: 20px 10% 20px;
      font-weight: 400;
    }
body.landing-page .pricing-subtitle {
      max-width: 680px;
      margin: -8px auto 26px;
      padding: 0 5%;
      color: rgba(252,252,252,0.72);
      font-size: 17px;
      line-height: 1.55;
      text-align: center;
    }
body.landing-page .price-card {
      background-color: rgba(61,61,61,0.45);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      position: relative;
    }
body.landing-page .price-card.featured {
      background-color: rgba(101,84,148,0.5);
      border-color: rgba(119,117,170,0.6);
    }
body.landing-page .price-ribbon {
      align-self: flex-start;
      margin-bottom: 12px;
      border-radius: 50px;
      padding: 5px 10px;
      background: rgba(252,252,252,0.92);
      color: rgb(60,50,100);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
body.landing-page .price-tier {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      margin-bottom: 10px;
    }
body.landing-page .price-card.featured .price-tier { color: rgba(200,190,240,0.9); }
body.landing-page .price-amount {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 42px;
      font-weight: 600;
      line-height: 1;
      margin-bottom: 6px;
      text-shadow: none;
    }
body.landing-page .price-amount span {
      font-size: 18px;
      font-weight: 700;
    }
body.landing-page .price-period {
      font-size: 14px;
      color: rgba(255,255,255,0.5);
      margin-bottom: 20px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
    }
body.landing-page .price-features {
      list-style: none;
      margin-bottom: 24px;
      flex: 1;
    }
body.landing-page .price-features li {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 14px;
      line-height: 1.45;
      color: rgba(252,252,252,0.8);
      padding: 7px 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      display: flex;
      align-items: flex-start;
      gap: 10px;
      text-shadow: none;
    }
body.landing-page .price-features li::before {
      content: '';
      flex: 0 0 7px;
      width: 7px;
      height: 7px;
      margin-top: 7px;
      border-radius: 50%;
      background: rgb(150,200,150);
    }
body.landing-page .price-features li.no::before { content: 'x'; color: rgba(255,255,255,0.3); }
body.landing-page .price-features li.no { color: rgba(252,252,252,0.3); }
body.landing-page .price-cta {
      display: block;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 15px;
      background-color: rgb(187,187,187);
      color: rgb(40,40,40);
      border: none;
      border-radius: 50px;
      padding: 12px 0;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      width: 100%;
    }
body.landing-page .price-cta:hover { background-color: rgba(187,187,187,0.7); }
body.landing-page .price-card.featured .price-cta {
      background: rgb(252,252,252);
      color: rgb(60,50,100);
    }
body.landing-page .price-card.featured .price-cta:hover { background: rgba(252,252,252,0.85); }
body.landing-page .pricing-note {
      display: grid;
      gap: 12px;
      max-width: 900px;
      margin: -52px auto 64px;
      padding: 0 5%;
      text-align: center;
      color: rgba(252,252,252,0.58);
      font-size: 14px;
      line-height: 1.55;
    }
body.landing-page .pricing-note p {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }
body.landing-page .note-icon {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(150,200,150,0.18);
      border: 1px solid rgba(150,200,150,0.32);
      color: rgb(170,225,170);
      font-size: 10px;
      font-weight: 700;
    }
body.landing-page .pay-icon {
      border-radius: 6px;
      padding: 5px 9px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.18);
      color: rgba(252,252,252,0.78);
      font-size: 11px;
      font-weight: 700;
    }
body.landing-page .pay-icon.cashapp {
      background: rgba(150,200,150,0.18);
      border-color: rgba(150,200,150,0.28);
      color: rgb(185,230,185);
    }
body.landing-page .pay-icon.paypal {
      background: rgba(60,130,210,0.18);
      border-color: rgba(60,130,210,0.32);
      color: rgb(175,215,255);
    }
body.landing-page .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      padding: 0 10% 70px;
    }
body.landing-page .faq-item {
      background-color: rgba(61,61,61,0.45);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
      padding: 24px;
    }
body.landing-page .faq-item h3 {
      font-size: 18px;
      line-height: 1.35;
      margin-bottom: 10px;
    }
body.landing-page .faq-item p {
      color: rgba(252,252,252,0.68);
      font-size: 15px;
      line-height: 1.6;
    }
@media (max-width: 1100px) {
body.landing-page .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
body.landing-page .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.landing-page footer {
      text-align: center;
      padding: 32px 10%;
      background: rgba(0,0,0,0.2);
      border-top: 1px solid rgba(255,255,255,0.08);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      text-shadow: none;
    }
body.landing-page footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
body.landing-page footer a:hover { color: rgba(255,255,255,0.8); }
@media (max-width: 700px) {
body.landing-page header {
      position: relative;
      display: grid;
      grid-template-columns: auto 42px;
      gap: 14px;
      align-items: center;
      padding: 16px 5%;
    }
body.landing-page .logo-area { min-width: 0; }
body.landing-page .mobile-menu-btn { display: block; justify-self: end; }
body.landing-page header nav,
body.landing-page header .cta-btn {
      display: none;
    }
body.landing-page header.menu-open nav,
body.landing-page header.menu-open .cta-btn {
      display: block;
      grid-column: 1 / -1;
      width: 100%;
    }
body.landing-page header.menu-open nav ul {
      display: grid;
      gap: 8px;
      padding-top: 8px;
    }
body.landing-page header.menu-open nav ul li {
      display: block;
      padding: 0;
    }
body.landing-page header.menu-open nav ul li a,
body.landing-page header.menu-open .cta-btn {
      display: block;
      width: 100%;
      padding: 12px 14px;
      border-radius: 8px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      text-align: left;
    }
body.landing-page header.menu-open .cta-btn {
      margin-top: 2px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      text-align: center;
    }
body.landing-page .hero { padding: 50px 5% 40px; }
body.landing-page .features, body.landing-page .demo-wrapper, body.landing-page .track-grid, body.landing-page .faq-grid { padding-left: 5%; padding-right: 5%; }
body.landing-page .pricing { grid-template-columns: 1fr; padding-left: 5%; padding-right: 5%; }
body.landing-page .credibility-bar, body.landing-page .stats-bar, body.landing-page .track-grid, body.landing-page .faq-grid { grid-template-columns: 1fr; }
body.landing-page .pricing-note { margin-top: -52px; }
}

body.account-page *, body.account-page *::before, body.account-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.account-page {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      background: linear-gradient(to bottom, rgb(71,70,70) 0%, rgb(119,117,170) 55%, rgb(66,66,66) 100%);
      min-height: 100vh;
      color: rgb(252,252,252);
    }
body.account-page header {
      position: relative;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 20px 5%;
      background-color: var(--accent);
      background-image: linear-gradient(135deg, rgba(101,84,148,0.95) 0%, rgba(40,40,80,0.95) 100%);
      border-bottom: 2px solid rgba(255,255,255,0.1);
    }
body.account-page .logo-area {
      margin-right: auto;
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
      z-index: 2;
    }
body.account-page .header-center-title {
      position: absolute;
      left: 50%;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-width: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
body.account-page .header-logo-banner {
      width: clamp(128px, 14vw, 190px);
      height: auto;
      display: block;
      border-radius: 4px;
    }
body.account-page header > div:not(.header-center-title) {
      z-index: 2;
    }
body.account-page .logo-rx {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 8px; padding: 3px 9px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif); font-size: 16px; color: #fff;
    }
body.account-page .logo-text {
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px;
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.account-page .header-btn {
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
      background-color: rgb(187,187,187); color: rgb(40,40,40);
      border: none; border-radius: 50px; padding: 7px 18px;
      cursor: pointer; transition: all 0.3s ease; text-decoration: none;
    }
body.account-page .header-btn:hover { background-color: rgba(187,187,187,0.7); }
body.account-page .page {
      max-width: 760px;
      margin: 0 auto;
      padding: 40px 5% 60px;
    }
body.account-page .page-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 36px; font-weight: 600;
      text-shadow: none;
      margin-bottom: 8px;
    }
body.account-page .page-sub {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 17px; color: rgba(255,255,255,0.5);
      margin-bottom: 32px;
    }
body.account-page .section {
      background: rgba(51,51,51,0.55);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 28px 28px;
      margin-bottom: 20px;
    }
body.account-page .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }
body.account-page .section-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: rgba(180,170,220,1);
    }
body.account-page .field-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
      gap: 16px;
    }
body.account-page .field-row:last-child { border-bottom: none; padding-bottom: 0; }
body.account-page .field-row:first-of-type { padding-top: 0; }
body.account-page .field-label {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px; font-weight: 700;
      color: rgba(255,255,255,0.45);
      text-transform: uppercase; letter-spacing: 0.08em;
      min-width: 120px;
    }
body.account-page .field-value {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px; color: rgba(252,252,252,0.9);
      flex: 1;
    }
body.account-page .field-value.muted { color: rgba(255,255,255,0.35); font-style: italic; font-size: 16px; }
body.account-page .field-input {
      flex: 1;
      background: rgba(30,30,50,0.5);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      padding: 9px 14px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px;
      color: rgb(252,252,252);
      outline: none;
      display: none;
    }
body.account-page .field-input:focus {
      border-color: rgba(119,117,170,0.8);
      box-shadow: 0 0 0 3px rgba(119,117,170,0.2);
    }
body.account-page .field-input::placeholder { color: rgba(255,255,255,0.3); }
body.account-page select.field-input { cursor: pointer; }
body.account-page .classroom-create-input,
body.account-page .classroom-create-textarea {
      display: block;
      width: 100%;
    }
body.account-page .classroom-create-textarea {
      min-height: 120px;
      resize: vertical;
    }
body.account-page .btn-small {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700; font-size: 12px;
      border: none; border-radius: 50px;
      padding: 7px 16px; cursor: pointer;
      transition: all 0.3s ease; text-shadow: none;
      white-space: nowrap;
    }
body.account-page .btn-edit {
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.2);
    }
body.account-page .btn-edit:hover { background: rgba(255,255,255,0.18); }
body.account-page .btn-small:disabled {
      cursor: default;
      opacity: 0.55;
    }
body.account-page .btn-save {
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      display: none;
    }
body.account-page .btn-save:hover { background: rgba(187,187,187,0.75); }
body.account-page .btn-cancel-edit {
      background: transparent;
      color: rgba(255,255,255,0.4);
      border: 1px solid rgba(255,255,255,0.1);
      display: none;
    }
body.account-page .btn-danger {
      background: rgba(180,50,50,0.3);
      color: rgb(255,150,130);
      border: 1px solid rgba(180,50,50,0.4);
    }
body.account-page .btn-danger:hover { background: rgba(180,50,50,0.5); }
body.account-page .btn-purple {
      background: rgba(101,84,148,0.5);
      color: rgb(220,210,255);
      border: 1px solid rgba(119,117,170,0.4);
    }
body.account-page .btn-purple:hover { background: rgba(101,84,148,0.75); }
body.account-page .account-upgrade-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }
body.account-page .tier-badge {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px; font-weight: 700;
      border-radius: 50px; padding: 4px 14px;
      text-shadow: none;
    }
body.account-page .tier-badge.pro { background: rgb(187,187,187); color: rgb(40,40,40); }
body.account-page .tier-badge.free { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
body.account-page .status-msg {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px; min-height: 18px;
      margin-top: 12px; text-shadow: none;
    }
body.account-page .status-msg.success { color: rgb(100,220,130); }
body.account-page .status-msg.error { color: rgb(255,130,110); }
body.account-page #lockScreen {
      position: fixed; inset: 0;
      background: rgba(20,20,40,0.92);
      display: flex; align-items: center; justify-content: center;
      z-index: 999; backdrop-filter: blur(6px);
    }
body.account-page .lock-box {
      background: linear-gradient(135deg, rgba(101,84,148,0.9) 0%, rgba(40,40,80,0.95) 100%);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 18px; padding: 36px 40px;
      width: min(420px, 90vw);
      box-shadow: 0 24px 60px rgba(0,0,0,0.5);
      display: flex; flex-direction: column; gap: 14px;
      text-align: center;
    }
body.account-page .lock-box p {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 20px; color: rgba(255,255,255,0.8);
    }
body.account-page .lock-box a {
      font-family: 'Montserrat', sans-serif;
      font-size: 14px; font-weight: 700;
      color: rgb(187,187,187); text-decoration: none;
    }
@media (max-width: 600px) {
body.account-page .field-row { flex-direction: column; align-items: flex-start; }
body.account-page .field-label { min-width: unset; }
body.account-page .account-upgrade-actions { justify-content: flex-start; width: 100%; }
}

body.instructor-page .instructor-shell {
      max-width: 960px;
    }
body.instructor-page .instructor-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
body.instructor-page .instructor-metric {
      margin-top: 12px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 46px;
      font-weight: 600;
      line-height: 1;
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.instructor-page .instructor-code {
      display: inline-flex;
      margin-top: 12px;
      min-height: 46px;
      align-items: center;
      border-radius: 8px;
      padding: 10px 14px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.14);
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: rgba(252,252,252,0.9);
      letter-spacing: 0.08em;
    }
body.instructor-page .instructor-name {
      margin-top: 12px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 28px;
      color: rgba(252,252,252,0.92);
    }
body.instructor-page .instructor-actions {
      margin-top: 12px;
    }
body.instructor-page .instructor-link-button {
      display: inline-block;
      text-decoration: none;
    }
body.instructor-page .classroom-code-result {
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
body.instructor-page .instructor-muted,
body.instructor-page .student-id {
      margin-top: 6px;
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      color: rgba(255,255,255,0.42);
      text-shadow: none;
    }
body.instructor-page .instructor-list,
body.instructor-page .heatmap-list,
body.instructor-page .classroom-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
body.instructor-page .classroom-list-item {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 14px 16px;
      background: rgba(255,255,255,0.04);
      color: rgba(252,252,252,0.9);
      cursor: pointer;
      text-align: left;
    }
body.instructor-page .classroom-list-item.active {
      border-color: rgba(187,187,187,0.45);
      background: rgba(255,255,255,0.09);
    }
body.instructor-page .classroom-list-item span {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 20px;
    }
body.instructor-page .classroom-list-item strong {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      letter-spacing: 0.08em;
    }
body.instructor-page .student-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 14px 16px;
      background: rgba(255,255,255,0.04);
    }
body.instructor-page .student-row.selected {
      border-color: rgba(187,187,187,0.45);
      background: rgba(255,255,255,0.09);
    }
body.instructor-page .student-name {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 20px;
      color: rgba(252,252,252,0.92);
    }
body.instructor-page .student-pill {
      border-radius: 50px;
      padding: 5px 12px;
      background: rgba(100,220,130,0.14);
      border: 1px solid rgba(100,220,130,0.22);
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: 700;
      color: rgb(130,230,155);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-shadow: none;
    }
body.instructor-page .student-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
body.instructor-page .instructor-empty {
      border: 1px dashed rgba(255,255,255,0.14);
      border-radius: 8px;
      padding: 18px;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      color: rgba(255,255,255,0.52);
      text-shadow: none;
    }
body.instructor-page .instructor-empty.error {
      color: rgb(255,150,130);
      border-color: rgba(255,130,110,0.28);
    }
body.instructor-page .student-heatmap-select {
      min-width: 220px;
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 8px;
      padding: 10px 12px;
      background: rgba(255,255,255,0.08);
      color: rgba(252,252,252,0.92);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
    }
body.instructor-page .student-heatmap-select option {
      color: rgb(35,35,35);
    }
body.instructor-page .heatmap-compare-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
body.instructor-page .heatmap-panel {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-width: 0;
    }
body.instructor-page .heatmap-panel-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 20px;
      color: rgba(252,252,252,0.92);
    }
body.instructor-page .selected-student-summary {
      min-height: 0;
      margin-bottom: 16px;
    }
body.instructor-page .selected-student-metrics {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 8px;
    }
body.instructor-page .selected-student-metrics div {
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 10px;
      background: rgba(255,255,255,0.04);
      min-width: 0;
    }
body.instructor-page .selected-student-metrics span {
      display: block;
      margin-bottom: 5px;
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 700;
      color: rgba(255,255,255,0.42);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
body.instructor-page .selected-student-metrics strong {
      display: block;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 19px;
      color: rgba(252,252,252,0.92);
      overflow-wrap: anywhere;
    }
body.instructor-page .heatmap-row {
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 14px 16px;
      background: rgba(255,255,255,0.04);
    }
body.instructor-page .heatmap-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: rgba(252,252,252,0.82);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-shadow: none;
    }
body.instructor-page .heatmap-track {
      height: 12px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
    }
body.instructor-page .heatmap-fill {
      height: 100%;
      min-width: 4px;
      border-radius: inherit;
      background: rgb(187,187,187);
    }
body.instructor-page .heatmap-fill.incorrect_sig { background: rgb(220,190,120); }
body.instructor-page .heatmap-fill.spelling { background: rgb(120,180,220); }
body.instructor-page .heatmap-fill.med { background: rgb(180,170,220); }
body.instructor-page .heatmap-fill.workflow { background: rgb(130,210,165); }
body.instructor-page .heatmap-fill.dose { background: rgb(220,190,120); }
body.instructor-page .heatmap-fill.route { background: rgb(120,180,220); }
body.instructor-page .heatmap-fill.frequency { background: rgb(180,170,220); }
@media (max-width: 700px) {
body.instructor-page .instructor-summary { grid-template-columns: 1fr; }
body.instructor-page .heatmap-compare-grid { grid-template-columns: 1fr; }
body.instructor-page .student-heatmap-select { width: 100%; }
body.instructor-page .selected-student-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-width: 980px) {
body.instructor-page .selected-student-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.success-page *, body.success-page *::before, body.success-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.success-page {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      background: linear-gradient(to bottom, rgb(71,70,70) 0%, rgb(119,117,170) 55%, rgb(66,66,66) 100%);
      min-height: 100vh;
      color: rgb(252,252,252);
    }
body.success-page header {
      position: relative;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 20px 5%;
      background-color: var(--accent);
      background-image: linear-gradient(135deg, rgba(101,84,148,0.95) 0%, rgba(40,40,80,0.95) 100%);
      border-bottom: 2px solid rgba(255,255,255,0.1);
    }
body.success-page .logo-area {
      margin-right: auto;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      z-index: 2;
    }
body.success-page .header-center-title {
      position: absolute;
      left: 50%;
      top: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-width: 0;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
body.success-page .header-logo-banner {
      width: clamp(128px, 14vw, 190px);
      height: auto;
      display: block;
      border-radius: 4px;
    }
body.success-page .logo-rx {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 8px;
      padding: 3px 9px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 16px;
      color: #fff;
    }
body.success-page .logo-text {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 18px;
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.success-page .page {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 5%;
      min-height: calc(100vh - 80px);
    }
body.success-page .success-card {
      background-color: rgba(51,51,51,0.6);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 18px;
      padding: 48px 44px;
      max-width: 620px;
      width: 100%;
      text-align: center;
    }
body.success-page .checkmark {
      width: 80px;
      height: 80px;
      background: rgba(101,84,148,0.4);
      border: 2px solid rgba(180,170,220,0.6);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 28px;
      font-size: 36px;
    }
body.success-page .success-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 42px;
      font-weight: 600;
      color: rgb(252,252,252);
      text-shadow: none;
      margin-bottom: 12px;
    }
body.success-page .success-sub {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 19px;
      color: rgba(255,255,255,0.65);
      margin-bottom: 36px;
      line-height: 1.6;
    }
body.success-page .email-notice {
      background: rgba(61,61,61,0.5);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      padding: 14px 20px;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 36px;
      text-align: left;
      display: flex;
      align-items: center;
      gap: 12px;
    }
body.success-page .email-notice span { font-size: 20px; }
body.success-page .divider {
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 20px;
      text-align: left;
    }
body.success-page .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 36px;
      text-align: left;
    }
body.success-page .feature-item {
      background: rgba(101,84,148,0.25);
      border: 1px solid rgba(119,117,170,0.3);
      border-radius: 10px;
      padding: 14px 16px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
body.success-page .feature-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
body.success-page .feature-text h4 {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: rgba(180,170,220,1);
      margin-bottom: 3px;
      text-shadow: none;
    }
body.success-page .feature-text p {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 14px;
      color: rgba(255,255,255,0.6);
      line-height: 1.4;
    }
body.success-page .btn-primary {
      display: inline-block;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 16px;
      background-color: rgb(187,187,187);
      color: rgb(40,40,40);
      border: none;
      border-radius: 50px;
      padding: 14px 40px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      text-shadow: none;
      margin-bottom: 16px;
      width: 100%;
    }
body.success-page .btn-primary:hover { background-color: rgba(187,187,187,0.75); }
body.success-page .manage-link {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      text-decoration: none;
      transition: color 0.2s;
    }
body.success-page .manage-link:hover { color: rgba(255,255,255,0.7); }
body.success-page .pro-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      border-radius: 50px;
      padding: 4px 14px;
      margin-bottom: 20px;
      text-shadow: none;
    }
@media (max-width: 600px) {
body.success-page .features-grid { grid-template-columns: 1fr; }
body.success-page .success-card { padding: 32px 24px; }
body.success-page .success-title { font-size: 32px; }
}

body.dashboard-page .dashboard-account-link {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 13px;
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px;
      padding: 7px 18px;
      text-decoration: none;
      white-space: nowrap;
      text-shadow: none;
    }
body.dashboard-page .dashboard-shell {
      width: min(1180px, 92vw);
      margin: 0 auto;
      padding: 42px 0 56px;
    }
body.dashboard-page .early-pro-banner {
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 28px;
      padding: 18px 20px;
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(116,178,154,0.28), rgba(220,190,120,0.22));
      box-shadow: 0 18px 46px rgba(0,0,0,0.2);
      color: rgb(252,252,252);
    }
body.dashboard-page .early-pro-banner p {
      margin: 0;
      max-width: 940px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 17px;
      font-weight: 600;
      line-height: 1.5;
      color: rgb(252,252,252);
    }
body.dashboard-page .early-pro-dismiss {
      width: 34px;
      height: 34px;
      flex: 0 0 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(0,0,0,0.22);
      color: rgb(252,252,252);
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      text-shadow: none;
    }
body.dashboard-page .early-pro-dismiss:hover,
body.dashboard-page .early-pro-dismiss:focus-visible {
      background: rgba(0,0,0,0.36);
    }
body.dashboard-page .trial-ended-prompt {
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 28px;
      padding: 18px 20px;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 8px;
      background: rgba(51,51,51,0.74);
      box-shadow: 0 18px 46px rgba(0,0,0,0.2);
      color: rgb(252,252,252);
    }
body.dashboard-page .trial-ended-copy p {
      margin: 0;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px;
      font-weight: 600;
      line-height: 1.4;
      color: rgb(252,252,252);
    }
body.dashboard-page .trial-ended-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
body.dashboard-page .trial-upgrade-btn {
      min-height: 48px;
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 3px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.18);
      padding: 8px 14px;
      background: rgba(255,255,255,0.1);
      color: rgb(252,252,252);
      text-align: left;
      text-shadow: none;
    }
body.dashboard-page .trial-upgrade-btn.standard {
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      border-color: rgba(187,187,187,0.75);
    }
body.dashboard-page .trial-upgrade-btn span,
body.dashboard-page .trial-upgrade-btn small {
      font-family: 'Montserrat', sans-serif;
      line-height: 1.2;
      text-shadow: none;
    }
body.dashboard-page .trial-upgrade-btn span {
      font-size: 13px;
      font-weight: 700;
    }
body.dashboard-page .trial-upgrade-btn small {
      font-size: 11px;
      color: rgba(255,255,255,0.62);
    }
body.dashboard-page .trial-upgrade-btn.standard small {
      color: rgba(40,40,40,0.66);
    }
body.dashboard-page .dashboard-welcome {
      min-width: 0;
      margin-bottom: 24px;
    }
body.dashboard-page .dashboard-welcome h1 {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 46px;
      font-weight: 600;
      line-height: 1.05;
      color: rgb(252,252,252);
      text-shadow: none;
      max-width: 100%;
      overflow-wrap: anywhere;
    }
body.dashboard-page #dashboardUsername {
      overflow-wrap: anywhere;
      word-break: break-word;
    }
body.dashboard-page .page-title-banner,
body.wing-page .page-title-banner {
      display: block;
      width: clamp(150px, 18vw, 230px);
      height: auto;
      margin-top: 10px;
      border-radius: 6px;
    }
body.dashboard-page .dashboard-welcome p {
      margin-top: 8px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 20px;
      color: rgba(255,255,255,0.66);
      line-height: 1.4;
    }
body.dashboard-page .dashboard-app-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }
body.dashboard-page .dashboard-tile {
      position: relative;
      min-height: 240px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      overflow: hidden;
      border-radius: 8px;
      padding: 22px;
      text-align: left;
      background: rgba(51,51,51,0.55);
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 20px 48px rgba(0,0,0,0.22);
      color: rgb(252,252,252);
    }
body.dashboard-page .dashboard-tile:disabled {
      cursor: default;
    }
body.dashboard-page .dashboard-tile::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(180,170,220,0.16), rgba(255,255,255,0.04));
      opacity: 0.85;
      transition: opacity 0.2s ease;
    }
body.dashboard-page .dashboard-tile:hover::before { opacity: 1; }
body.dashboard-page .dashboard-tile > span {
      position: relative;
      z-index: 1;
    }
body.dashboard-page .tile-kicker {
      font-family: 'Montserrat', sans-serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(180,170,220,1);
      margin-bottom: 8px;
    }
body.dashboard-page .tile-title {
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 32px;
      font-weight: 600;
      line-height: 1.05;
      margin-bottom: 8px;
    }
body.dashboard-page .tile-copy {
      max-width: 420px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 18px;
      line-height: 1.42;
      color: rgba(255,255,255,0.68);
    }
body.dashboard-page .tile-hover-action {
      position: absolute;
      top: 16px;
      right: 16px;
      min-width: 86px;
      border-radius: 8px;
      padding: 9px 14px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
      opacity: 0;
      transform: translateY(-4px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }
body.dashboard-page .dashboard-tile:hover .tile-hover-action,
body.dashboard-page .dashboard-tile:focus-visible .tile-hover-action {
      opacity: 1;
      transform: translateY(0);
    }
body.dashboard-page .paid-tile .tile-hover-action {
      background: var(--accent);
      color: rgb(252,252,252);
      text-shadow: none;
    }
body.dashboard-page .coming-soon-tile {
      cursor: default;
      background: rgba(78,78,78,0.42);
      border-color: rgba(255,255,255,0.08);
      box-shadow: 0 16px 38px rgba(0,0,0,0.16);
      filter: grayscale(0.35);
    }
body.dashboard-page .coming-soon-tile::before {
      background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(120,120,120,0.08));
      opacity: 0.7;
    }
body.dashboard-page .coming-soon-tile:hover::before { opacity: 0.7; }
body.dashboard-page .coming-soon-tile .tile-kicker { color: rgba(220,220,220,0.82); }
body.dashboard-page .coming-soon-tile .tile-title { color: rgba(252,252,252,0.72); }
body.dashboard-page .coming-soon-tile .tile-copy { color: rgba(255,255,255,0.54); }
body.dashboard-page .coming-soon-tile.active-instructor-tile {
      cursor: pointer;
      filter: none;
    }
body.dashboard-page .coming-soon-tile.active-instructor-tile:hover::before { opacity: 1; }
body.dashboard-page .wing-tile {
      min-height: 300px;
    }
body.dashboard-page .pharmacy-wing-tile::before {
      background: linear-gradient(135deg, rgba(116,178,154,0.2), rgba(255,255,255,0.04));
    }
body.dashboard-page .clinical-wing-tile::before {
      background: linear-gradient(135deg, rgba(220,190,120,0.22), rgba(255,255,255,0.04));
    }
@media (max-width: 760px) {
body.dashboard-page .early-pro-banner { padding: 16px; gap: 14px; }
body.dashboard-page .early-pro-banner p { font-size: 15px; }
body.dashboard-page .trial-ended-prompt { align-items: stretch; flex-direction: column; padding: 16px; }
body.dashboard-page .trial-ended-actions { justify-content: flex-start; }
body.dashboard-page .trial-upgrade-btn { width: 100%; }
body.dashboard-page .dashboard-app-grid { grid-template-columns: 1fr; }
body.dashboard-page .dashboard-welcome h1 { font-size: 36px; }
}

body.wing-page .dashboard-account-link {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 13px;
      background: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px;
      padding: 7px 18px;
      text-decoration: none;
      white-space: nowrap;
      text-shadow: none;
    }
body.wing-page .wing-shell {
      width: min(1180px, 92vw);
      margin: 0 auto;
      padding: 42px 0 58px;
    }
body.wing-page .wing-intro {
      margin-bottom: 24px;
    }
body.wing-page .wing-intro h1 {
      font-size: 46px;
      line-height: 1.05;
      color: rgb(252,252,252);
    }
body.wing-page .wing-intro p {
      margin-top: 8px;
      max-width: 760px;
      font-size: 20px;
      line-height: 1.45;
      color: rgba(255,255,255,0.66);
    }
body.wing-page .wing-sim-prompt {
      margin-top: 22px;
      max-width: 520px;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
      padding: 14px 16px;
      background: rgba(51,51,51,0.38);
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 14px;
      line-height: 1.45;
      color: rgba(255,255,255,0.62);
    }
body.wing-page .wing-sim-debug {
      margin-top: 10px;
      max-width: 760px;
      border-radius: 8px;
      padding: 10px 12px;
      background: rgba(0,0,0,0.24);
      border: 1px solid rgba(255,255,255,0.1);
      font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
      font-size: 12px;
      line-height: 1.45;
      color: rgba(255,255,255,0.66);
      overflow-wrap: anywhere;
    }
body.wing-page .wing-sim-stats {
      margin-top: 22px;
      max-width: 760px;
      padding: 16px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(51,51,51,0.55);
      box-shadow: 0 16px 36px rgba(0,0,0,0.18);
    }
body.wing-page .wing-sim-stats-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }
body.wing-page .wing-sim-stats-header strong {
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      color: rgba(255,255,255,0.7);
      white-space: nowrap;
    }
body.wing-page .wing-sim-stats-note {
      margin: -4px 0 12px;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 12px;
      line-height: 1.4;
      color: rgba(255,255,255,0.52);
    }
body.wing-page .wing-sim-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
body.wing-page .wing-sim-stats-grid div {
      min-width: 0;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 10px;
      background: rgba(255,255,255,0.04);
    }
body.wing-page .wing-sim-stats-grid span {
      display: block;
      margin-bottom: 5px;
      font-family: 'Montserrat', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.44);
    }
body.wing-page .wing-sim-stats-grid strong {
      display: block;
      font-family: var(--rx-sans, "Montserrat", "Segoe UI", Arial, sans-serif);
      font-size: 19px;
      color: rgba(252,252,252,0.92);
      line-height: 1.1;
      overflow-wrap: anywhere;
    }
body.wing-page .compact-readiness-bar {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 16px;
      border-radius: 999px;
      padding: 6px 8px 6px 10px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.16);
      width: fit-content;
    }
body.wing-page .compact-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
      color: rgba(255,255,255,0.82);
      cursor: pointer;
    }
body.wing-page .compact-toggle input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
body.wing-page .compact-switch {
      width: 34px;
      height: 20px;
      border-radius: 999px;
      padding: 2px;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.2);
    }
body.wing-page .compact-switch span {
      display: block;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgb(240,240,240);
      transition: transform 0.18s ease;
    }
body.wing-page .compact-toggle input:checked + .compact-switch {
      background: rgba(116,178,154,0.5);
    }
body.wing-page .compact-toggle input:checked + .compact-switch span {
      transform: translateX(14px);
    }
body.wing-page .info-dot {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.84);
      font-size: 11px;
      font-weight: 700;
      cursor: help;
    }
body.wing-page .info-dot::after {
      content: attr(aria-label);
      position: absolute;
      left: 50%;
      bottom: calc(100% + 9px);
      width: min(280px, 72vw);
      transform: translateX(-50%);
      border-radius: 8px;
      padding: 9px 10px;
      background: rgb(35,35,38);
      color: white;
      box-shadow: 0 10px 24px rgba(0,0,0,0.22);
      font-size: 11px;
      line-height: 1.35;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.16s ease;
      z-index: 4;
    }
body.wing-page .info-dot:active::after,
body.wing-page .info-dot:focus::after {
      opacity: 1;
    }
body.wing-page .wing-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      align-items: stretch;
    }
body.wing-page .wing-module {
      min-height: 280px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 10px;
      border-radius: 8px;
      padding: 22px;
      background: rgba(51,51,51,0.56);
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 18px 40px rgba(0,0,0,0.22);
      color: rgb(252,252,252);
      text-decoration: none;
      touch-action: manipulation;
      transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    }
body.wing-page .speed-sig-module {
      grid-column: 1;
    }
body.pharmacy-wing-page .wing-module {
      align-items: flex-start;
      justify-content: flex-start;
      text-align: left;
    }
body.pharmacy-wing-page .wing-module .module-action {
      margin-top: auto;
    }
body.wing-page .wing-module:active,
body.wing-page .wing-module:focus-visible {
      transform: scale(0.985);
      border-color: rgba(180,170,220,0.5);
      background: rgba(51,51,51,0.68);
      outline: none;
    }
body.wing-page .module-kicker {
      font-size: 11px;
      font-weight: 700;
      color: rgba(180,170,220,1);
      text-transform: uppercase;
    }
body.wing-page .module-title {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.08;
    }
body.wing-page .module-copy {
      font-size: 17px;
      line-height: 1.45;
      color: rgba(255,255,255,0.66);
    }
body.wing-page .module-action {
      width: fit-content;
      margin-top: 10px;
      border-radius: 50px;
      padding: 9px 16px;
      background: rgb(187,187,187);
      color: rgb(40,40,40);
      font-size: 13px;
      font-weight: 700;
    }
body.wing-page .workforce-toggle {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 12px;
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,255,255,0.78);
    }
body.wing-page .workforce-toggle input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
body.wing-page .toggle-track {
      width: 52px;
      height: 30px;
      border-radius: 999px;
      padding: 3px;
      background: rgba(255,255,255,0.16);
      border: 1px solid rgba(255,255,255,0.18);
    }
body.wing-page .toggle-thumb {
      display: block;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgb(187,187,187);
      transition: transform 0.2s ease;
    }
body.wing-page .workforce-toggle input:checked + .toggle-track {
      background: rgba(116,178,154,0.42);
    }
body.wing-page .workforce-toggle input:checked + .toggle-track .toggle-thumb {
      transform: translateX(22px);
    }
body.clinical-wing-page {
      background: rgb(245,242,235) !important;
      color: rgb(27,42,39);
    }
body.clinical-wing-page:not(.clinical-ma-page) {
      background: linear-gradient(to bottom, rgb(71,70,70) 0%, rgb(119,117,170) 55%, rgb(66,66,66) 100%) !important;
      color: rgb(252,252,252);
    }
body.clinical-wing-page .wing-intro h1,
body.clinical-wing-page .wing-intro p {
      color: rgb(27,42,39);
    }
body.clinical-wing-page:not(.clinical-ma-page) .wing-intro h1,
body.clinical-wing-page:not(.clinical-ma-page) .wing-intro p {
      color: rgb(252,252,252);
    }
body.clinical-wing-page .compact-readiness-bar {
      background: rgba(27,42,39,0.06);
      border-color: rgba(27,42,39,0.12);
    }
body.clinical-wing-page:not(.clinical-ma-page) .compact-readiness-bar {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.16);
    }
body.clinical-wing-page .compact-toggle {
      color: rgba(27,42,39,0.78);
    }
body.clinical-wing-page:not(.clinical-ma-page) .compact-toggle {
      color: rgba(255,255,255,0.82);
    }
body.clinical-wing-page .compact-switch {
      background: rgba(27,42,39,0.1);
      border-color: rgba(27,42,39,0.14);
    }
body.clinical-wing-page:not(.clinical-ma-page) .compact-switch {
      background: rgba(255,255,255,0.18);
      border-color: rgba(255,255,255,0.2);
    }
body.clinical-wing-page .compact-switch span {
      background: rgb(27,42,39);
    }
body.clinical-wing-page:not(.clinical-ma-page) .compact-switch span {
      background: rgb(240,240,240);
    }
body.clinical-wing-page .info-dot {
      background: rgba(27,42,39,0.08);
      border-color: rgba(27,42,39,0.14);
      color: rgba(27,42,39,0.76);
    }
body.clinical-wing-page:not(.clinical-ma-page) .info-dot {
      background: rgba(255,255,255,0.18);
      border-color: rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.84);
    }
body.clinical-wing-page .clinical-menu-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
body.clinical-wing-page .clinical-layout {
      display: grid;
      grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
      gap: 22px;
      align-items: start;
    }
body.clinical-wing-page .triage-note,
body.clinical-wing-page .delegated-entry {
      border-radius: 8px;
      padding: 24px;
      box-shadow: 0 14px 34px rgba(27,42,39,0.12);
    }
body.clinical-wing-page .triage-note {
      background:
        linear-gradient(rgba(80,72,40,0.08) 1px, transparent 1px) 0 0 / 100% 30px,
        rgb(255,239,159);
      border: 1px solid rgb(219,196,101);
      color: rgb(63,53,24);
    }
body.clinical-wing-page .triage-note h2,
body.clinical-wing-page .delegated-entry h2 {
      font-size: 30px;
      line-height: 1.1;
      margin-bottom: 12px;
    }
body.clinical-wing-page .triage-note p {
      font-size: 20px;
      line-height: 1.55;
      margin-bottom: 18px;
    }
body.clinical-wing-page .triage-note dl {
      display: grid;
      gap: 10px;
    }
body.clinical-wing-page .triage-note div {
      border-top: 1px solid rgba(80,72,40,0.16);
      padding-top: 10px;
    }
body.clinical-wing-page .triage-note dt {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      color: rgba(63,53,24,0.62);
    }
body.clinical-wing-page .triage-note dd {
      margin-top: 4px;
      font-size: 16px;
      line-height: 1.4;
    }
body.clinical-wing-page .next-patient-btn {
      margin-top: 18px;
      border-radius: 50px;
      padding: 9px 14px;
      background: rgba(63,53,24,0.12);
      border: 1px solid rgba(63,53,24,0.18);
      color: rgb(63,53,24);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      touch-action: manipulation;
      transition: transform 0.16s ease, background 0.16s ease;
    }
body.clinical-wing-page .next-patient-btn:active,
body.clinical-wing-page .next-patient-btn:focus-visible {
      background: rgba(63,53,24,0.18);
      transform: scale(0.98);
    }
body.clinical-wing-page .next-patient-btn:disabled {
      cursor: not-allowed;
      opacity: 0.62;
      background: rgba(63,53,24,0.08);
    }
body.clinical-wing-page .delegated-entry {
      background: rgba(255,255,255,0.82);
      border: 1px solid rgb(216,210,198);
      color: rgb(27,42,39);
    }
body.clinical-wing-page .ma-triage-form {
      display: grid;
      gap: 16px;
    }
body.clinical-wing-page .emr-order-entry {
      display: grid;
      gap: 14px;
      border: 1px solid rgba(27,42,39,0.12);
      border-radius: 8px;
      padding: 16px;
      background: rgba(255,255,255,0.54);
    }
body.clinical-wing-page .emr-order-entry legend {
      padding: 0 6px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      color: rgba(27,42,39,0.66);
    }
body.clinical-wing-page .emr-order-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
    }
body.clinical-wing-page .ma-drug-lookup-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: stretch;
    }
body.clinical-wing-page .ma-drug-search-btn {
      display: inline-flex;
      align-items: center;
      min-height: 48px;
      cursor: pointer;
    }
body.clinical-wing-page .ma-triage-form label {
      display: grid;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      color: rgba(27,42,39,0.66);
    }
body.clinical-wing-page .ma-triage-form textarea {
      min-height: 120px;
      border: 1px solid rgba(27,42,39,0.16);
      background: white;
      color: rgb(27,42,39);
      letter-spacing: 0;
      padding: 12px;
      font-size: 16px;
    }
body.clinical-ma-page button,
body.clinical-ma-page input,
body.clinical-ma-page select,
body.clinical-ma-page textarea,
body.pharmacy-wing-page button,
body.pharmacy-wing-page input,
body.pharmacy-wing-page select,
body.pharmacy-wing-page textarea {
      min-height: 48px;
      padding: 12px;
      font-size: 16px;
    }
body.clinical-ma-page button,
body.pharmacy-wing-page button {
      touch-action: manipulation;
    }
body.clinical-ma-page button:active,
body.clinical-ma-page button:focus-visible,
body.pharmacy-wing-page button:active,
body.pharmacy-wing-page button:focus-visible {
      transform: scale(0.98);
    }
body.speed-sig-page .speed-sig-shell {
      width: min(1180px, 92vw);
      min-height: calc(100vh - 96px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin: 0 auto;
      padding: 42px 0 58px;
    }
body.speed-sig-page [hidden] {
      display: none !important;
    }
body.speed-sig-page .speed-sig-intro {
      margin-bottom: 24px;
    }
body.speed-sig-page .speed-sig-intro h1,
body.speed-sig-page .speed-sig-results-card h1 {
      font-size: 46px;
      line-height: 1.05;
      color: rgb(252,252,252);
    }
body.speed-sig-page .speed-sig-intro p {
      margin-top: 8px;
      max-width: 760px;
      font-size: 20px;
      line-height: 1.45;
      color: rgba(255,255,255,0.66);
    }
body.speed-sig-page .speed-sig-mode-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
body.speed-sig-page .speed-sig-mode-card {
      min-height: 260px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-start;
      gap: 10px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      padding: 22px;
      background: rgba(51,51,51,0.56);
      box-shadow: 0 18px 40px rgba(0,0,0,0.22);
      color: rgb(252,252,252);
      text-align: left;
    }
body.speed-sig-page .speed-sig-mode-card strong {
      font-size: 30px;
      line-height: 1.05;
    }
body.speed-sig-page .speed-sig-mode-card span:last-child {
      color: rgba(255,255,255,0.66);
      line-height: 1.4;
    }
body.speed-sig-page .speed-sig-game-screen {
      min-height: calc(100vh - 190px);
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 22px;
    }
body.speed-sig-page .speed-sig-topline {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 14px;
      align-items: center;
    }
body.speed-sig-page .speed-sig-progress,
body.speed-sig-page .speed-sig-timer {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      color: rgba(252,252,252,0.8);
    }
body.speed-sig-page .speed-sig-progress {
      text-align: center;
    }
body.speed-sig-page .speed-sig-timer {
      justify-self: end;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.14);
      padding: 10px 14px;
      background: rgba(0,0,0,0.18);
      font-size: 20px;
    }
body.speed-sig-page .speed-sig-card {
      position: relative;
      min-height: 480px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 22px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      padding: 34px;
      background: rgba(51,51,51,0.42);
      box-shadow: 0 18px 44px rgba(0,0,0,0.22);
      text-align: center;
    }
body.speed-sig-page .speed-sig-feedback {
      position: absolute;
      top: 24px;
      left: 50%;
      min-height: 54px;
      transform: translateX(-50%);
      font-size: 46px;
      font-weight: 800;
      line-height: 1;
    }
body.speed-sig-page .speed-sig-feedback.correct {
      color: rgb(139,230,173);
    }
body.speed-sig-page .speed-sig-feedback.wrong {
      color: rgb(255,116,116);
    }
body.speed-sig-page .speed-sig-prompt {
      width: min(780px, 100%);
      font-size: clamp(38px, 7vw, 78px);
      font-weight: 700;
      line-height: 1.04;
      color: rgb(252,252,252);
      overflow-wrap: anywhere;
    }
body.speed-sig-page .speed-sig-input {
      width: min(420px, 100%);
      min-height: 64px !important;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(255,255,255,0.96);
      color: rgb(27,42,39);
      text-align: center;
      font-family: 'Montserrat', sans-serif;
      font-size: 32px !important;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: uppercase;
    }
body.speed-sig-page .speed-sig-input:focus {
      outline: none;
      box-shadow: 0 0 0 4px rgba(151,213,174,0.18);
    }
body.speed-sig-page .speed-sig-answer {
      min-height: 24px;
      color: rgb(255,204,204);
      font-weight: 700;
    }
body.speed-sig-page .speed-sig-answer.hint {
      color: rgb(255,229,144);
    }
body.speed-sig-page .speed-sig-results-card {
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      padding: 28px;
      background: rgba(51,51,51,0.52);
      box-shadow: 0 18px 44px rgba(0,0,0,0.22);
    }
body.speed-sig-page .speed-sig-results-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 12px;
      margin-top: 22px;
    }
body.speed-sig-page .speed-sig-results-grid div {
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      padding: 14px;
      background: rgba(255,255,255,0.06);
    }
body.speed-sig-page .speed-sig-results-grid span,
body.speed-sig-page .speed-sig-missed-row small {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0;
      text-transform: uppercase;
      color: rgba(180,170,220,1);
    }
body.speed-sig-page .speed-sig-results-grid strong {
      display: block;
      margin-top: 6px;
      font-size: 24px;
      color: rgb(252,252,252);
    }
body.speed-sig-page .speed-sig-missed-list {
      margin-top: 22px;
    }
body.speed-sig-page .speed-sig-missed-list h2 {
      font-size: 22px;
      color: rgb(252,252,252);
    }
body.speed-sig-page .speed-sig-missed-list p {
      color: rgba(255,255,255,0.66);
    }
body.speed-sig-page .speed-sig-missed-scroll {
      max-height: 280px;
      display: grid;
      gap: 8px;
      overflow: auto;
      margin-top: 10px;
      padding-right: 4px;
    }
body.speed-sig-page .speed-sig-missed-row {
      display: grid;
      gap: 4px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.08);
      padding: 12px;
      background: rgba(255,255,255,0.05);
      color: rgba(255,255,255,0.78);
    }
body.speed-sig-page .speed-sig-missed-row strong {
      color: rgb(252,252,252);
    }
body.speed-sig-page .speed-sig-results-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }
body.speed-sig-page .speed-sig-primary-btn,
body.speed-sig-page .speed-sig-ghost-btn {
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.14);
      font-weight: 700;
    }
body.speed-sig-page .speed-sig-primary-btn {
      background: rgb(187,187,187);
      color: rgb(40,40,40);
    }
body.speed-sig-page .speed-sig-ghost-btn {
      background: rgba(255,255,255,0.08);
      color: rgba(252,252,252,0.84);
    }
body.speed-sig-page .speed-sig-primary-btn:disabled,
body.speed-sig-page .speed-sig-ghost-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      transform: none;
    }
body.speed-sig-page .speed-sig-load-error {
      grid-column: 1 / -1;
      border-radius: 8px;
      border: 1px solid rgba(255,116,116,0.36);
      padding: 18px;
      background: rgba(255,116,116,0.12);
      color: rgb(255,220,220);
    }
@media (max-width: 860px) {
  body.app-page header,
  body.account-page header,
  body.success-page header {
        min-height: 92px;
        align-items: flex-start;
      }
  body.app-page .header-center-title,
  body.account-page .header-center-title,
  body.success-page .header-center-title {
        top: 20px;
        max-width: min(54vw, 360px);
        transform: translateX(-50%);
      }
  body.app-page .header-center-title .logo-text,
  body.account-page .header-center-title .logo-text,
  body.success-page .header-center-title .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
  body.app-page .header-logo-banner,
  body.account-page .header-logo-banner,
  body.success-page .header-logo-banner {
        width: clamp(108px, 28vw, 150px);
      }
  body.app-page .userbar-info {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 42vw;
      }
}
@media (max-width: 1023px) {
  body.wing-page .speed-sig-module {
        grid-column: auto;
      }
  body.speed-sig-page .speed-sig-shell {
        min-height: auto;
        padding: 28px 0 46px;
      }
  body.speed-sig-page .speed-sig-mode-grid,
  body.speed-sig-page .speed-sig-results-grid {
        grid-template-columns: 1fr;
      }
  body.speed-sig-page .speed-sig-mode-card {
        min-height: 190px;
      }
  body.speed-sig-page .speed-sig-topline {
        grid-template-columns: 1fr auto;
      }
  body.speed-sig-page .speed-sig-progress {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
      }
  body.speed-sig-page .speed-sig-card {
        min-height: 430px;
        padding: 24px 16px;
      }
  body.speed-sig-page .speed-sig-prompt {
        font-size: clamp(34px, 12vw, 58px);
      }
  body.speed-sig-page .speed-sig-input {
        font-size: 28px !important;
      }
}
body.clinical-ma-page #maTriageForm button[type="submit"] {
      transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
    }
body.clinical-ma-page #maTriageForm button[type="submit"]:active,
body.clinical-ma-page #maTriageForm button[type="submit"]:focus-visible {
      background: rgb(76,63,112);
      color: white;
      box-shadow: 0 0 0 4px rgba(101,84,148,0.18);
      transform: scale(0.97);
    }
body.clinical-wing-page .ma-triage-form input {
      width: 100%;
      min-height: 48px;
      border: 1px solid rgba(27,42,39,0.16);
      border-radius: 10px;
      padding: 12px;
      background: white;
      color: rgb(27,42,39);
      font-size: 16px;
      font-weight: 700;
      outline: none;
    }
body.clinical-wing-page .ma-triage-form input:focus,
body.clinical-wing-page .ma-triage-form textarea:focus {
      border-color: rgba(101,84,148,0.42);
      box-shadow: 0 0 0 4px rgba(101,84,148,0.12);
    }
body.clinical-wing-page .clinical-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }
body.clinical-wing-page .secondary-clinical-link {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50px;
      padding: 12px 18px;
      background: rgba(27,42,39,0.07);
      border: 1px solid rgba(27,42,39,0.12);
      color: rgb(27,42,39);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      touch-action: manipulation;
      transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
    }
body.clinical-wing-page .secondary-clinical-link:active,
body.clinical-wing-page .secondary-clinical-link:focus-visible {
      background: rgba(27,42,39,0.13);
      border-color: rgba(27,42,39,0.2);
      transform: scale(0.98);
    }
body.clinical-wing-page .clinical-feedback {
      margin-top: 16px;
      display: grid;
      gap: 10px;
    }
body.clinical-wing-page .feedback-line {
      display: grid;
      gap: 5px;
      border-radius: 8px;
      padding: 12px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.45;
    }
body.clinical-wing-page .feedback-line.pass {
      background: rgba(52,140,80,0.12);
      color: rgb(38,110,63);
    }
body.clinical-wing-page .feedback-line.fail {
      background: rgba(180,60,50,0.1);
      color: rgb(150,52,45);
    }
body.clinical-wing-page .feedback-line.note {
      background: rgba(101,84,148,0.1);
      color: rgb(73,64,92);
    }
body.clinical-wing-page .clinical-feedback ul {
      padding-left: 22px;
      line-height: 1.5;
      color: rgb(150,52,45);
    }
body.clinical-ma-page .ma-verification-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 30;
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px 24px;
      color: white;
      font-size: 18px;
      font-weight: 700;
      text-align: center;
      box-shadow: 0 -12px 28px rgba(0,0,0,0.22);
    }
body.clinical-ma-page .ma-verification-banner[hidden] {
      display: none;
    }
body.clinical-ma-page .ma-verification-banner.success {
      background: rgb(22,128,70);
    }
body.clinical-ma-page .ma-verification-banner.error {
      background: rgb(190,30,45);
    }
body.clinical-ma-page:has(.ma-verification-banner.visible) {
      padding-bottom: 64px;
    }
body.clinical-wing-page .score-strip {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
body.clinical-wing-page .score-strip span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border-radius: 999px;
      padding: 7px 10px;
      background: rgba(27,42,39,0.07);
      border: 1px solid rgba(27,42,39,0.1);
      color: rgba(27,42,39,0.72);
      font-size: 12px;
      font-weight: 700;
    }
body.clinical-wing-page .score-strip strong {
      color: rgb(27,42,39);
    }
body.clinical-wing-page .ma-drug-lookup-modal {
      position: fixed;
      inset: 0;
      z-index: 70;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(0,0,0,0.58);
    }
body.clinical-wing-page .ma-drug-lookup-dialog {
      width: min(920px, 96vw);
      max-height: min(760px, 92vh);
      overflow: auto;
      border-radius: 8px;
      padding: 24px;
      background: rgb(248,248,244);
      color: rgb(35,35,38);
      box-shadow: 0 26px 72px rgba(0,0,0,0.42);
    }
body.clinical-wing-page .ma-drug-lookup-header {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      padding-bottom: 16px;
      margin-bottom: 16px;
      border-bottom: 1px solid rgba(35,35,38,0.12);
    }
body.clinical-wing-page .ma-drug-lookup-header .section-label {
      color: rgba(35,35,38,0.48);
    }
body.clinical-wing-page .ma-drug-lookup-header h2 {
      font-size: 34px;
      line-height: 1.05;
    }
body.clinical-wing-page .ma-drug-lookup-close {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(35,35,38,0.12);
      background: rgba(35,35,38,0.06);
      color: rgb(35,35,38);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
    }
body.clinical-wing-page .ma-drug-lookup-search-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      margin-bottom: 16px;
    }
body.clinical-wing-page .ma-drug-lookup-search-row input {
      width: 100%;
      min-height: 48px;
      border: 1px solid rgba(35,35,38,0.14);
      border-radius: 8px;
      padding: 12px;
      background: white;
      color: rgb(35,35,38);
      font-size: 16px;
      font-weight: 700;
      outline: none;
    }
body.clinical-wing-page .ma-drug-lookup-search-row button {
      min-height: 48px;
      border-radius: 50px;
      padding: 12px 18px;
      background: var(--accent, rgb(101,84,148));
      color: white;
      font-size: 13px;
      font-weight: 700;
      touch-action: manipulation;
    }
body.clinical-wing-page .ma-drug-lookup-content {
      display: grid;
      grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
      gap: 14px;
      align-items: start;
    }
body.clinical-wing-page .ma-drug-lookup-results,
body.clinical-wing-page .ma-drug-lookup-variants,
body.clinical-wing-page .ma-drug-variant-list {
      display: grid;
      gap: 8px;
    }
body.clinical-wing-page .ma-drug-lookup-empty {
      border-radius: 8px;
      padding: 10px 12px;
      background: rgba(101,84,148,0.08);
      border: 1px solid rgba(101,84,148,0.14);
      font-size: 12px;
      font-weight: 700;
      color: rgba(35,35,38,0.58);
    }
body.clinical-wing-page .ma-drug-result,
body.clinical-wing-page .ma-drug-variant {
      display: grid;
      gap: 5px;
      width: 100%;
      border-radius: 8px;
      padding: 11px 12px;
      border: 1px solid rgba(101,84,148,0.16);
      background: white;
      color: rgb(35,35,38);
      text-align: left;
      cursor: pointer;
      touch-action: manipulation;
      transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
    }
body.clinical-wing-page .ma-drug-result {
      background: rgba(101,84,148,0.08);
    }
body.clinical-wing-page .ma-drug-result.selected,
body.clinical-wing-page .ma-drug-result:active,
body.clinical-wing-page .ma-drug-result:focus-visible,
body.clinical-wing-page .ma-drug-variant:active,
body.clinical-wing-page .ma-drug-variant:focus-visible {
      border-color: rgba(101,84,148,0.42);
      background: rgba(101,84,148,0.12);
      transform: scale(0.99);
    }
body.clinical-wing-page .ma-drug-variant-heading {
      display: grid;
      gap: 4px;
      border-radius: 8px;
      padding: 12px;
      background: rgba(35,35,38,0.05);
      border: 1px solid rgba(35,35,38,0.1);
    }
body.clinical-wing-page .ma-drug-result strong,
body.clinical-wing-page .ma-drug-variant strong,
body.clinical-wing-page .ma-drug-variant-heading strong {
      font-size: 13px;
      line-height: 1.35;
    }
body.clinical-wing-page .ma-drug-result span,
body.clinical-wing-page .ma-drug-variant span,
body.clinical-wing-page .ma-drug-variant-heading span {
      font-size: 15px;
      color: rgba(35,35,38,0.62);
    }
body.clinical-ma-page .ma-onboarding-modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(27,42,39,0.58);
      backdrop-filter: blur(5px);
    }
body.clinical-ma-page .ma-onboarding-card {
      width: min(720px, 94vw);
      border-radius: 8px;
      padding: 28px;
      background: rgb(255,252,238);
      border: 1px solid rgb(219,196,101);
      color: rgb(63,53,24);
      box-shadow: 0 24px 64px rgba(27,42,39,0.28);
    }
body.clinical-ma-page .ma-onboarding-card h1 {
      margin-top: 6px;
      font-size: 34px;
      line-height: 1.08;
      color: rgb(63,53,24);
    }
body.clinical-ma-page .ma-onboarding-card p {
      margin-top: 10px;
      font-size: 17px;
      line-height: 1.5;
    }
body.clinical-ma-page .ma-example-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 18px;
    }
body.clinical-ma-page .ma-example-grid section {
      border-radius: 8px;
      padding: 13px;
      background: rgba(255,255,255,0.58);
      border: 1px solid rgba(80,72,40,0.14);
    }
body.clinical-ma-page .example-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      color: rgba(63,53,24,0.62);
    }
body.clinical-ma-page .ma-modal-note {
      border-left: 3px solid rgb(101,84,148);
      padding-left: 12px;
    }
body.clinical-ma-page #maOnboardingStartBtn {
      margin-top: 18px;
      border-radius: 50px;
      padding: 11px 18px;
      background: rgb(101,84,148);
      color: white;
      font-size: 13px;
      font-weight: 700;
    }
@media (max-width: 900px) {
body.wing-page .wing-grid,
body.clinical-wing-page .clinical-layout { grid-template-columns: 1fr; }
body.wing-page .wing-intro h1 { font-size: 36px; }
body.wing-page .wing-sim-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
body.clinical-wing-page .clinical-layout { display: flex; flex-direction: column; }
body.clinical-wing-page .triage-note {
      order: -1;
      position: sticky;
      top: 0;
      z-index: 5;
    }
body.clinical-wing-page .delegated-entry { width: 100%; }
body.clinical-wing-page .emr-order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
body.clinical-ma-page .ma-example-grid { grid-template-columns: 1fr; }
body.clinical-wing-page .emr-order-grid { grid-template-columns: 1fr; }
body.clinical-wing-page .ma-drug-lookup-row,
body.clinical-wing-page .ma-drug-lookup-search-row,
body.clinical-wing-page .ma-drug-lookup-content { grid-template-columns: 1fr; }
body.wing-page .wing-sim-stats-grid { grid-template-columns: 1fr; }
}

/* v2 modern-minimalist refinement */
:root {
      --paper: #f5f2eb;
      --accent: rgb(101, 84, 148);
      --dark: #1b2a27;
      --rx-primary: var(--accent);
      --rx-action: var(--accent);
      --rx-sans: "Montserrat", "Segoe UI", Arial, sans-serif;
      --rx-surface-border: #d8d2c6;
      --rx-soft-shadow: 0 14px 34px rgba(27,42,39,0.12);
    }

body.app-page,
body.landing-page,
body.account-page,
body.success-page {
      font-family: var(--rx-sans) !important;
    }

body.app-page *,
body.landing-page *,
body.account-page *,
body.success-page * {
      font-family: var(--rx-sans) !important;
    }

body.app-page header,
body.account-page header,
body.success-page header {
      background-color: var(--accent) !important;
      background-image: none !important;
    }

body.app-page h1,
body.app-page h2,
body.app-page h3,
body.app-page h4,
body.app-page .logo-text,
body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page h4,
body.landing-page .logo-text,
body.account-page h1,
body.account-page h2,
body.account-page h3,
body.account-page h4,
body.account-page .logo-text,
body.success-page h1,
body.success-page h2,
body.success-page h3,
body.success-page h4,
body.success-page .logo-text,
body.dashboard-page h1,
body.dashboard-page h2,
body.dashboard-page h3,
body.dashboard-page h4,
body.dashboard-page .logo-text {
      font-family: var(--rx-sans) !important;
      font-weight: 700 !important;
      letter-spacing: 0 !important;
      text-shadow: none !important;
    }

body.app-page .section-label,
body.landing-page .section-label,
body.account-page .section-label,
body.success-page .section-label,
body.dashboard-page .section-label {
      font-family: var(--rx-sans) !important;
      font-weight: 500 !important;
      letter-spacing: 0 !important;
      text-shadow: none !important;
    }

body.app-page .logo-rx,
body.landing-page .logo-rx,
body.account-page .logo-rx,
body.success-page .logo-rx {
      font-family: var(--rx-sans) !important;
    }

body.app-page .tab-active,
body.account-page .tab-active,
body.landing-page .tab-active,
body.success-page .tab-active {
      background: var(--rx-primary) !important;
      color: #fff !important;
      border-color: var(--rx-primary) !important;
    }

body.app-page .header-btn#upgradeHeaderBtn,
body.account-page .header-btn#upgradeHeaderBtn,
body.success-page .header-btn#upgradeHeaderBtn {
      background: var(--rx-action) !important;
      color: #fff !important;
    }

body.app-page .card {
      border-radius: 12px !important;
      border: 1px solid rgba(255,255,255,0.08) !important;
      box-shadow: 0 16px 34px rgba(27,42,39,0.16) !important;
    }

body.app-page .lock-box,
body.account-page .lock-box {
      border-radius: 12px !important;
      border: 1px solid rgba(255,255,255,0.08) !important;
      box-shadow: 0 18px 42px rgba(27,42,39,0.2) !important;
    }

body.app-page .logo-text,
body.app-page .lock-title,
body.app-page button,
body.account-page .logo-text,
body.account-page .lock-title,
body.account-page button {
      font-weight: 700 !important;
      text-shadow: none !important;
    }

body.app-page #nextBtn,
body.app-page #checkBtn,
body.app-page #authSubmitBtn {
      font-weight: 700 !important;
      text-shadow: none !important;
    }

body.app-page textarea,
body.app-page input,
body.account-page input,
body.account-page textarea,
body.account-page select {
      font-family: var(--rx-sans) !important;
      border-radius: 10px;
    }
