/* ========================================
   MEDI VISUALIZER — style.css
   Converted from React/Tailwind/CSS Modules
   ======================================== */

/* ---- CSS Variables & Base ---- */
:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --font-poppins: "Poppins", sans-serif;
  --font-space: "Space Grotesk", sans-serif;
  --med-bg: #F6F3F1;
  --med-surface: #FFFFFF;
  --med-surface-muted: #F0EDE9;
  --med-border: #ECE7E3;
  --med-text: #1F1F1F;
  --med-text-muted: #666666;
  --med-text-light: #9A9A9A;
  --med-accent: #EE7B12;
  --med-accent-secondary: #F5821F;
  --med-accent-soft: #FFF1E5;
  --med-success: #10B981;
  --med-success-soft: #D1FAE5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--med-bg);
  color: var(--med-text);
  overflow-y: auto;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--med-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #DCD6D1; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ---- Animations (shared) ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* ---- AuthLayout ---- */
.auth-layout {
  font-family: var(--font-poppins);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  font-weight: 300;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}
.auth-layout * { box-sizing: border-box; }

/* ---- Shared Auth Components ---- */
.auth-logo { margin-bottom: 32px; }
.auth-logo img { height: 48px; width: auto; max-width: none; object-fit: contain; display: block; }
.auth-logo-center { text-align: center; margin-bottom: 40px; }
.auth-logo-center img { height: 48px; width: auto; max-width: none; object-fit: contain; margin: 0 auto; display: block; }

.auth-icon-wrapper {
  width: 100px; height: 100px; margin: 0 auto 32px;
  animation: scaleIn 0.5s cubic-bezier(0.34,1.56,0.64,1), pulse 2s ease-in-out 0.5s infinite;
}
.auth-icon-wrapper img { width: 100%; height: 100%; display: block; }

.auth-header { margin-bottom: 32px; }
.auth-header h1 {
  font-family: var(--font-space); font-weight: 700; font-size: 30px;
  color: #1A1A1A; letter-spacing: -0.342px; margin-bottom: 12px; line-height: normal;
}
.auth-header p {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: #666; line-height: 20px; max-width: 460px;
}
.auth-header p strong { font-weight: 600; color: #1A1A1A; }
.auth-header-center { text-align: center; }
.auth-header-center p { margin: 0 auto; }

.auth-input-label {
  display: block; font-family: var(--font-space); font-weight: 500;
  font-size: 12px; color: #1A1A1A; letter-spacing: -0.1368px; margin-bottom: 8px;
}
.auth-input-group { margin-bottom: 20px; }
.auth-input-wrapper { position: relative; }
.auth-input-field {
  width: 100%; max-width: 450px; height: 45px; padding: 0 16px;
  border: 1px solid #E8E5E3; border-radius: 6px;
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #1A1A1A;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); background: white;
}
.auth-input-field::placeholder { color: #999; font-weight: 300; }
.auth-input-field:focus { outline: none; border-color: #EF710A; box-shadow: 0 0 0 3px rgba(239,113,10,0.1); }
.auth-input-field:hover { border-color: #FFD4B3; }
.auth-input-field-full { max-width: 100%; }

.auth-password-toggle {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  cursor: pointer; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: #666; opacity: 0.5;
}
.auth-password-toggle:hover { color: #EF710A; opacity: 1; }
.auth-password-toggle svg { width: 20px; height: 20px; }

.auth-btn-primary {
  width: 100%; max-width: 450px; height: 45px;
  background: linear-gradient(-85.11deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border: none; border-radius: 6px;
  box-shadow: 0px 4px 16px rgba(239,113,10,0.25);
  font-family: var(--font-space); font-weight: 500; font-size: 14px;
  color: white; letter-spacing: -0.1596px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.auth-btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.auth-btn-primary:hover::before { left: 100%; }
.auth-btn-primary:hover { transform: translateY(-2px); box-shadow: 0px 8px 24px rgba(239,113,10,0.35); }
.auth-btn-primary:active { transform: translateY(0); }

.auth-divider {
  display: flex; align-items: center; margin-bottom: 16px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #E8E5E3;
}
.auth-divider span {
  padding: 0 16px; font-family: var(--font-poppins); font-weight: 300; font-size: 12px; color: #999;
}

.auth-social-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px; max-width: 450px;
}
.auth-social-button {
  height: 45px; border: 1px solid #E8E5E3; border-radius: 6px;
  background: white; display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  font-family: var(--font-space); font-weight: 500; font-size: 14px;
  color: #1A1A1A; letter-spacing: -0.1596px;
}
.auth-social-button:hover { border-color: #EF710A; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.auth-social-button img { width: 20px; height: 20px; }

.auth-link-text {
  text-align: center; font-family: var(--font-poppins); font-weight: 300;
  font-size: 14px; color: #999; margin-bottom: 20px; max-width: 450px;
}
.auth-link-text a { font-weight: 600; color: #EF710A; text-decoration: none; cursor: pointer; }
.auth-link-text a:hover { text-decoration: underline; }

.auth-copyright {
  text-align: center; font-family: var(--font-poppins); font-weight: 300;
  font-size: 10px; color: #999; max-width: 450px;
}
.auth-copyright a { font-weight: 600; color: #EF710A; text-decoration: none; }

.auth-back-link { text-align: center; }
.auth-back-link a {
  font-family: var(--font-poppins); font-weight: 600; font-size: 14px;
  color: #EF710A; text-decoration: none; transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.auth-back-link a svg { width: 16px; height: 16px; }
.auth-back-link a:hover { opacity: 0.8; text-decoration: underline; }

.auth-error-message {
  background: #fee2e2; color: #ef4444; padding: 10px; border-radius: 6px;
  margin-bottom: 16px; font-size: 14px; text-align: center;
}

/* ---- LoginPage ---- */
.login-container {
  width: 1142px; max-width: 100%; min-height: 700px;
  background: white; border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.08);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; position: relative; animation: fadeIn 0.6s ease;
}
.login-left {
  padding: 60px; background: white; position: relative; z-index: 2;
  animation: slideInLeft 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}
.login-welcome h1 { margin-bottom: 8px; }
.login-welcome p { max-width: 460px; }
.login-welcome { margin-bottom: 24px; }
.login-options-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; margin-bottom: 20px;
}
.login-remember-me { display: flex; align-items: center; gap: 6px; }
.login-remember-me input[type="checkbox"] {
  width: 14px; height: 15px; border: 1px solid #E8E5E3; border-radius: 4px;
  cursor: pointer; accent-color: #EF710A;
}
.login-remember-me label {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #999; cursor: pointer;
}
.login-forgot-password {
  font-family: var(--font-poppins); font-weight: 600; font-size: 14px;
  color: #EF710A; text-decoration: none; cursor: pointer;
}
.login-forgot-password:hover { text-decoration: underline; }

.login-right {
  background: linear-gradient(199.19deg, rgb(239,113,10) 9.95%, rgb(255,177,113) 119.79%);
  border-radius: 0 20px 20px 0; position: relative; padding: 35px 51px;
  display: flex; flex-direction: column; justify-content: space-between;
  animation: slideInRight 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}
.login-dashboard-preview {
  background: linear-gradient(109.6deg, rgb(243,238,234) 22.85%, rgb(242,223,208) 13.02%, rgb(255,248,245) 2.95%, rgb(250,252,254) 100%);
  border-radius: 20px; box-shadow: 0px 0px 60px rgba(0,0,0,0.25);
  padding: 15px; margin-bottom: 40px; margin-top: 20px;
  animation: fadeIn 0.8s cubic-bezier(0.4,0,0.2,1) 1s both, float 3s ease-in-out 1.8s infinite;
}
.login-dashboard-preview img { width: 100%; height: auto; }
.login-right-text { color: white; }
.login-right-text h2 {
  font-family: var(--font-space); font-weight: 700; font-size: 30px;
  letter-spacing: -0.342px; line-height: 1.2; margin-bottom: 12px;
}
.login-right-text p {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; line-height: 20px; margin-top: 0;
}

@media (max-width: 1200px) {
  .login-container { grid-template-columns: 1fr; width: 600px; }
  .login-right { display: none; }
}
@media (max-width: 640px) {
  .login-left { padding: 40px 24px; }
  .login-welcome h1 { font-size: 24px !important; }
}

/* ---- RegistrationPage ---- */
.register-container {
  width: 1142px; max-width: 100%; background: white; border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.08);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; position: relative; animation: fadeIn 0.6s ease;
}
.register-left { padding: 60px; background: white; position: relative; z-index: 2; }
.register-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.register-input-group { margin-bottom: 16px; }
.register-input-group .auth-input-field { max-width: 100%; }
select.auth-input-field {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.register-pw-requirements {
  background: #FAFAFA; border: 1px solid #E8E5E3; border-radius: 6px;
  padding: 12px; margin-top: 12px;
}
.register-requirement {
  font-family: var(--font-poppins); font-weight: 300; font-size: 11px;
  color: #666; margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}
.register-requirement:last-child { margin-bottom: 0; }
.register-requirement::before { content: '✓'; font-size: 10px; color: #E8E5E3; }
.register-requirement.met { color: #10B981; }
.register-requirement.met::before { color: #10B981; }

.register-terms { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; margin-top: 8px; }
.register-terms input[type="checkbox"] {
  width: 14px; height: 15px; min-width: 14px;
  border: 1px solid #E8E5E3; border-radius: 4px; cursor: pointer; accent-color: #EF710A; margin-top: 2px;
}
.register-terms label {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #999; line-height: 1.5; cursor: pointer;
}
.register-terms a { color: #EF710A; font-weight: 600; text-decoration: none; }
.register-terms a:hover { text-decoration: underline; }

.register-right {
  background: linear-gradient(206.4deg, rgb(239,113,10) 9.95%, rgb(255,177,113) 119.79%);
  border-radius: 0 20px 20px 0; position: relative; padding: 35px 51px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.register-right .login-dashboard-preview { animation: float 3s ease-in-out infinite; }
.register-right .login-right-text h2 { max-width: 452px; }
.register-right .login-right-text p { max-width: 460px; }

@media (max-width: 1200px) {
  .register-container { grid-template-columns: 1fr; width: 600px; }
  .register-right { display: none; }
}
@media (max-width: 640px) {
  .register-left { padding: 40px 24px; }
  .register-form-row { grid-template-columns: 1fr; }
}

/* ---- ForgotPassword / CheckEmail / ResetPassword / EmailVerification / EmailVerified ---- */
.auth-centered-container {
  width: 570px; max-width: 100%; background: white; border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.08);
  padding: 60px; text-align: center; animation: fadeIn 0.6s ease;
}
.auth-centered-container .auth-header p { max-width: 368px; margin: 0 auto; }

/* Reset Password Strength */
.reset-strength-section { margin-bottom: 16px; }
.reset-strength-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.reset-strength-label {
  font-family: var(--font-space); font-weight: 500; font-size: 12px;
  color: #1A1A1A; letter-spacing: -0.1368px;
}
.reset-strength-text {
  font-family: var(--font-space); font-weight: 500; font-size: 12px; letter-spacing: -0.1368px;
}
.reset-strength-text.weak { color: #EF4444; }
.reset-strength-text.medium { color: #EF710A; }
.reset-strength-text.strong { color: #10B981; }
.reset-progress-bg {
  width: 100%; height: 7px; background: rgba(232,229,227,0.3);
  border-radius: 6px; overflow: hidden; position: relative;
}
.reset-progress-fill {
  height: 100%; border-radius: 6px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1), background-color 0.3s;
}
.reset-progress-fill.weak { width: 33%; background: #EF4444; }
.reset-progress-fill.medium { width: 66%; background: #FEB579; }
.reset-progress-fill.strong { width: 100%; background: #10B981; }

/* Email Verification Code */
.verify-code-inputs { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; }
.verify-code-box {
  width: 59px; height: 59px; border: 2px solid #E8E5E3; border-radius: 8px;
  font-family: var(--font-space); font-weight: 700; font-size: 30px;
  color: #1A1A1A; text-align: center; letter-spacing: -0.342px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); caret-color: #EF710A;
}
.verify-code-box:focus { outline: none; border-color: #EF710A; box-shadow: 0 0 0 3px rgba(239,113,10,0.1); }
.verify-code-box:hover { border-color: #FFD4B3; }
.verify-resend-text {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: #666; line-height: 20px; margin-bottom: 12px;
}
.verify-resend-link { font-weight: 600; color: #EF710A; cursor: pointer; }
.verify-resend-link:hover { text-decoration: underline; }
.verify-change-email {
  font-family: var(--font-poppins); font-weight: 600; font-size: 14px;
  color: #EF710A; text-decoration: none; cursor: pointer;
}
.verify-change-email:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .auth-centered-container { padding: 40px 24px; }
  .auth-centered-container .auth-header h1 { font-size: 24px; }
  .verify-code-inputs { gap: 8px; }
  .verify-code-box { width: 48px; height: 48px; font-size: 24px; }
}

/* ---- WelcomeScreenPage ---- */
.welcome-container {
  width: 1178px; max-width: 100%; background: white; border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.08);
  padding: 60px; text-align: center; position: relative; animation: fadeIn 0.6s ease;
}
.welcome-logo-wrapper {
  width: 114px; height: 114px; margin: 0 auto 40px;
  background: linear-gradient(135deg, #FFB171 0%, #EF710A 100%);
  border-radius: 24px; box-shadow: 0 8px 24px rgba(239,113,10,0.25);
  display: flex; align-items: center; justify-content: center;
}
.welcome-logo-wrapper img { width: 64px; height: 64px; }
.welcome-header { margin-bottom: 60px; }
.welcome-header h1 {
  font-family: var(--font-space); font-weight: 700; font-size: 42px;
  color: #1A1A1A; letter-spacing: -0.4788px; margin-bottom: 16px; line-height: normal;
}
.welcome-header p {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: #666; line-height: 20px; max-width: 730px; margin: 0 auto;
}
.welcome-cards-section {
  background: linear-gradient(180deg, rgba(232,229,227,0.15) 0%, rgba(255,255,255,0.15) 100%);
  border-radius: 60px 60px 20px 20px; padding: 60px 60px 40px; margin: -40px -60px 0;
}
.welcome-feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-bottom: 32px; }
.welcome-feature-card {
  background: rgba(232,229,227,0.1); border: 1px solid #E8E5E3; border-radius: 18px;
  padding: 32px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); cursor: pointer;
  position: relative; height: 210px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.welcome-feature-card:hover {
  background: linear-gradient(-89.27deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border-color: transparent; box-shadow: 0px 4px 16px rgba(239,113,10,0.25);
  transform: translateY(-4px);
}
.welcome-feature-card:hover h3, .welcome-feature-card:hover p { color: white !important; }
.welcome-card-icon {
  width: 72px; height: 72px; margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.welcome-card-icon img { width: 100%; height: 100%; display: block; }
.welcome-feature-card h3 {
  font-family: var(--font-space); font-weight: 500; font-size: 20px;
  color: #1A1A1A; letter-spacing: -0.228px; margin-bottom: 8px;
  transition: color 0.4s cubic-bezier(0.4,0,0.2,1);
}
.welcome-feature-card p {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: #666; line-height: 20px; text-align: center; max-width: 244px;
  transition: color 0.4s cubic-bezier(0.4,0,0.2,1);
}
.welcome-buttons { display: flex; gap: 16px; justify-content: center; }
.welcome-btn-primary {
  width: 214px; height: 45px;
  background: linear-gradient(-87.67deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border: none; border-radius: 6px;
  box-shadow: 0px 4px 16px rgba(239,113,10,0.25);
  font-family: var(--font-space); font-weight: 500; font-size: 14px;
  color: white; letter-spacing: -0.1596px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.welcome-btn-primary:hover { transform: translateY(-2px); box-shadow: 0px 8px 24px rgba(239,113,10,0.35); }
.welcome-btn-secondary {
  width: 214px; height: 45px; background: white; border: 2px solid #E8E5E3; border-radius: 6px;
  font-family: var(--font-space); font-weight: 500; font-size: 14px;
  color: #1A1A1A; letter-spacing: -0.1596px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.welcome-btn-secondary:hover { border-color: #EF710A; color: #EF710A; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

@media (max-width: 1200px) {
  .welcome-feature-cards { grid-template-columns: 1fr; gap: 24px; }
  .welcome-cards-section { padding: 40px 24px; }
  .welcome-container { padding: 40px 24px; }
}
@media (max-width: 640px) {
  .welcome-header h1 { font-size: 32px; }
  .welcome-buttons { flex-direction: column; width: 100%; }
  .welcome-btn-primary, .welcome-btn-secondary { width: 100%; }
}

/* ---- OnboardingTutorialPage ---- */
.onboarding-container {
  width: 970px; max-width: 100%; background: white; border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0,0,0,0.08);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
  animation: fadeIn 0.6s ease;
}
.onboarding-skip {
  position: absolute; top: 60px; right: 60px;
  font-family: var(--font-space); font-weight: 700; font-size: 16px;
  color: #1A1A1A; letter-spacing: -0.1824px; text-decoration: none; cursor: pointer; z-index: 10;
}
.onboarding-skip:hover { color: #EF710A; }
.onboarding-slides-wrapper { position: relative; overflow: hidden; }
.onboarding-slides-container {
  display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.onboarding-slide { min-width: 100%; flex-shrink: 0; }
.onboarding-icon-wrapper {
  width: 314px; height: 314px; margin: 60px auto 60px;
  background: linear-gradient(-89.51deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border-radius: 60px; box-shadow: 0px 4px 16px rgba(239,113,10,0.25);
  display: flex; align-items: center; justify-content: center;
}
.onboarding-icon-wrapper img { width: 160px; height: 160px; display: block; }
.onboarding-slide h1 {
  font-family: var(--font-space); font-weight: 700; font-size: 42px;
  color: #1A1A1A; letter-spacing: -0.4788px; margin-bottom: 16px; line-height: normal;
}
.onboarding-slide p {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: #666; line-height: 20px; max-width: 552px; margin: 0 auto 60px;
}
.onboarding-navigation {
  display: flex; justify-content: space-between; align-items: center; position: relative;
}
.onboarding-progress-dots {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center;
}
.onboarding-progress-dots img { height: 8px; width: auto; display: block; }
.onboarding-btn-prev, .onboarding-btn-next {
  width: 150px; height: 45px; border-radius: 6px;
  font-family: var(--font-space); font-weight: 500; font-size: 14px;
  letter-spacing: -0.1596px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.onboarding-btn-prev {
  background: white; border: 2px solid #E8E5E3; color: #1A1A1A;
}
.onboarding-btn-prev.disabled {
  border-color: rgba(232,229,227,0.3); color: rgba(26,26,26,0.2); cursor: not-allowed;
}
.onboarding-btn-prev:not(.disabled):hover {
  border-color: #EF710A; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.onboarding-btn-next {
  background: linear-gradient(-88.36deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border: none; box-shadow: 0px 4px 16px rgba(239,113,10,0.25); color: white;
}
.onboarding-btn-next:hover { transform: translateY(-2px); box-shadow: 0px 8px 24px rgba(239,113,10,0.35); }
.onboarding-btn-prev img, .onboarding-btn-next img { width: 12.518px; height: 7.185px; }
.onboarding-btn-prev.disabled img { opacity: 0.2; }

@media (max-width: 1024px) {
  .onboarding-container { padding: 40px 24px; }
  .onboarding-skip { top: 40px; right: 24px; }
  .onboarding-slide h1 { font-size: 32px; }
  .onboarding-icon-wrapper { width: 240px; height: 240px; }
  .onboarding-icon-wrapper img { width: 120px; height: 120px; }
}

/* ---- AccountSetupPage ---- */
.setup-container {
  width: 800px; max-width: 100%;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0px 24px 80px rgba(0,0,0,0.1), 0px 0px 0px 1px rgba(255,255,255,0.5);
  padding: 50px; animation: fadeIn 0.6s ease;
}
.setup-header { margin-bottom: 36px; text-align: center; }
.setup-header h1 {
  font-family: var(--font-space); font-weight: 700; font-size: 32px;
  letter-spacing: -0.03em; margin-bottom: 12px;
  background: linear-gradient(135deg, #1A1A1A 0%, #4A4A4A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.setup-header p { font-family: var(--font-poppins); font-weight: 300; font-size: 15px; color: #666; line-height: 1.6; }

.setup-progress-steps {
  display: flex; justify-content: space-between; margin-bottom: 48px; position: relative;
}
.setup-progress-steps::before {
  content: ''; position: absolute; top: 16px; left: 0; right: 0;
  height: 2px; background: #E8E5E3; z-index: 0;
}
.setup-progress-steps::after {
  content: ''; position: absolute; top: 16px; left: 0; width: 66%;
  height: 2px; background: linear-gradient(-85.11deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  z-index: 1; transition: width 0.5s ease;
}
.setup-step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.setup-step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: white; border: 2px solid #E8E5E3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-space); font-weight: 600; font-size: 13px; color: #999;
  margin-bottom: 8px; transition: all 0.3s ease;
}
.setup-step.completed .setup-step-circle, .setup-step.active .setup-step-circle {
  background: linear-gradient(135deg, #EF710A 0%, #FFB171 100%);
  border-color: #EF710A; color: white;
}
.setup-step-circle svg { width: 16px; height: 16px; }
.setup-step-label {
  font-family: var(--font-poppins); font-weight: 300; font-size: 11px; color: #999; text-align: center;
}
.setup-step.completed .setup-step-label, .setup-step.active .setup-step-label {
  color: #EF710A; font-weight: 500;
}

.setup-profile-section {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; padding: 32px;
  background: linear-gradient(135deg, rgba(255,238,225,0.3) 0%, rgba(255,229,204,0.3) 100%);
  border-radius: 16px; border: 1px solid rgba(239,113,10,0.1);
}
.setup-profile-wrapper { position: relative; margin-bottom: 16px; }
.setup-profile-preview {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #FFEEE1 0%, #FFE5CC 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 4px solid white; box-shadow: 0 8px 24px rgba(239,113,10,0.15);
  transition: all 0.3s ease;
}
.setup-profile-preview:hover { transform: scale(1.05); box-shadow: 0 12px 32px rgba(239,113,10,0.25); }
.setup-profile-preview img { width: 100%; height: 100%; object-fit: cover; }
.setup-profile-preview svg { width: 48px; height: 48px; color: #EF710A; }
.setup-upload-btn {
  position: absolute; bottom: 0; right: 0; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #EF710A 0%, #FFB171 100%);
  border: 3px solid white; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 12px rgba(239,113,10,0.3); transition: all 0.3s ease;
}
.setup-upload-btn:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(239,113,10,0.4); }
.setup-upload-btn svg { width: 18px; height: 18px; color: white; }
.setup-upload-btn input[type="file"] {
  position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.setup-profile-hint {
  font-family: var(--font-poppins); font-weight: 300; font-size: 13px; color: #666; text-align: center;
}
.setup-section-title {
  font-family: var(--font-space); font-weight: 600; font-size: 16px;
  color: #1A1A1A; margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.setup-section-title svg { width: 20px; height: 20px; color: #EF710A; }
.setup-form-section { margin-bottom: 36px; }
.setup-form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 16px; }
.setup-input-group { margin-bottom: 16px; }
.setup-input-label {
  display: block; font-family: var(--font-space); font-weight: 500;
  font-size: 13px; color: #1A1A1A; letter-spacing: -0.01em; margin-bottom: 8px;
}
.setup-input-field {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1.5px solid #E8E5E3; border-radius: 10px;
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #1A1A1A;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); background: white;
}
.setup-input-field::placeholder { color: #AAA; font-weight: 300; }
.setup-input-field:focus {
  outline: none; border-color: #EF710A;
  box-shadow: 0 0 0 4px rgba(239,113,10,0.08); background: rgba(255,248,245,0.5);
}
.setup-input-field:hover { border-color: #FFD4B3; }
select.setup-input-field {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.setup-checkbox-group { display: grid; gap: 14px; }
.setup-checkbox-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(250,250,250,0.5); border: 1px solid #E8E5E3;
  border-radius: 10px; transition: all 0.2s ease; cursor: pointer;
}
.setup-checkbox-item:hover { background: white; border-color: #FFD4B3; }
.setup-checkbox-item input[type="checkbox"] {
  width: 20px; height: 20px; border: 2px solid #E8E5E3; border-radius: 6px;
  cursor: pointer; accent-color: #EF710A;
}
.setup-checkbox-item label {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #333; cursor: pointer; flex: 1;
}
.setup-team-invite {
  background: linear-gradient(135deg, rgba(250,250,250,0.8) 0%, rgba(255,255,255,0.8) 100%);
  border: 1.5px solid #E8E5E3; border-radius: 12px; padding: 20px;
}
.setup-team-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.setup-team-header h4 { font-family: var(--font-space); font-weight: 600; font-size: 14px; color: #1A1A1A; }
.setup-add-member-btn {
  background: transparent; border: none; color: #EF710A;
  font-family: var(--font-space); font-weight: 600; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: all 0.2s; padding: 6px 12px; border-radius: 6px;
}
.setup-add-member-btn:hover { background: rgba(239,113,10,0.08); }
.setup-add-member-btn svg { width: 16px; height: 16px; }
.setup-member-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 10px; }
.setup-member-row:last-child { margin-bottom: 0; }
.setup-remove-btn {
  width: 48px; height: 48px; background: white; border: 1.5px solid #E8E5E3;
  border-radius: 10px; color: #999; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.setup-remove-btn:hover { border-color: #EF4444; background: rgba(239,68,68,0.05); color: #EF4444; }
.setup-remove-btn svg { width: 18px; height: 18px; }
.setup-action-buttons { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 48px; }
.setup-btn-secondary {
  height: 54px; background: white; border: 2px solid #E8E5E3; border-radius: 12px;
  font-family: var(--font-space); font-weight: 600; font-size: 15px; color: #666;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.setup-btn-secondary:hover { border-color: #EF710A; color: #EF710A; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.setup-btn-primary {
  height: 54px;
  background: linear-gradient(-85.11deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border: none; border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(239,113,10,0.3);
  font-family: var(--font-space); font-weight: 600; font-size: 15px; color: white;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.setup-btn-primary:hover { transform: translateY(-3px); box-shadow: 0px 12px 32px rgba(239,113,10,0.4); }

@media (max-width: 768px) {
  .setup-container { padding: 32px 24px; }
  .setup-header h1 { font-size: 26px; }
  .setup-form-grid { grid-template-columns: 1fr; }
  .setup-action-buttons { grid-template-columns: 1fr; }
  .setup-progress-steps { display: none; }
}

/* ---- WelcomeAboardPage ---- */
.aboard-container {
  width: 1000px; max-width: 95%; background: white; border-radius: 24px;
  box-shadow: 0px 24px 80px rgba(0,0,0,0.1), 0px 0px 0px 1px rgba(255,255,255,0.5);
  display: flex; overflow: hidden; position: relative; z-index: 10;
  animation: fadeIn 0.6s ease;
}
.aboard-left {
  flex: 1.2; padding: 60px; display: flex; flex-direction: column; text-align: left;
}
.aboard-logo {
  width: 64px; height: 64px;
  background: linear-gradient(-89.51deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px; box-shadow: 0px 4px 16px rgba(239,113,10,0.25);
}
.aboard-logo img { height: 36px; width: auto; max-width: none; object-fit: contain; }
.aboard-left h1 {
  font-family: var(--font-space); font-weight: 700; font-size: 32px;
  color: #1A1A1A; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.2;
}
.aboard-subtitle {
  font-family: var(--font-poppins); font-weight: 300; font-size: 15px;
  color: #666; line-height: 1.6; max-width: 480px; margin-bottom: 40px;
}
.aboard-checklist {
  background: rgba(250,250,250,0.5); border: 1px solid #E8E5E3;
  border-radius: 16px; padding: 24px; margin-bottom: 40px;
}
.aboard-checklist-title {
  font-family: var(--font-space); font-weight: 600; font-size: 16px;
  color: #1A1A1A; margin-bottom: 20px;
}
.aboard-checklist-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.aboard-checklist-item:last-child { margin-bottom: 0; }
.aboard-checklist-item img { width: 24px; height: 24px; }
.aboard-checklist-item span {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #333;
}
.aboard-dashboard-btn {
  height: 56px; width: 100%;
  background: linear-gradient(-85.11deg, rgb(239,113,10) 0.42%, rgb(255,177,113) 100.11%);
  border: none; border-radius: 12px; color: white;
  font-family: var(--font-space); font-weight: 600; font-size: 16px;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0px 8px 24px rgba(239,113,10,0.3); margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.aboard-dashboard-btn:hover { transform: translateY(-3px); box-shadow: 0px 12px 32px rgba(239,113,10,0.4); }
.aboard-help-text { font-family: var(--font-poppins); font-weight: 300; font-size: 14px; color: #666; }
.aboard-help-text a { color: #EF710A; font-weight: 500; text-decoration: none; }
.aboard-help-text a:hover { text-decoration: underline; }

.aboard-right {
  flex: 1; background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
  padding: 60px; display: flex; flex-direction: column; justify-content: center; gap: 24px;
  position: relative; overflow: hidden;
}
.aboard-right::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.03;
  background-image: radial-gradient(white 1px, transparent 1px); background-size: 20px 20px;
}
.aboard-stat-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  padding: 32px; text-align: center; color: white;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; z-index: 1;
}
.aboard-stat-card:hover {
  transform: scale(1.02) translateY(-5px); background: rgba(255,255,255,0.08);
  border-color: rgba(239,113,10,0.3);
}
.aboard-stat-number {
  font-family: var(--font-space); font-weight: 700; font-size: 48px;
  margin-bottom: 8px; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFF 0%, #FFD4B3 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.aboard-stat-label {
  font-family: var(--font-poppins); font-weight: 300; font-size: 14px;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
  .aboard-container { flex-direction: column; }
  .aboard-right { padding: 40px 24px; }
}
@media (max-width: 768px) {
  .aboard-left { padding: 40px 24px; }
  .aboard-left h1 { font-size: 28px; }
}

/* =====================
   PLATFORM (Dashboard)
   ===================== */
.platform { height: 100vh; width: 100%; background: var(--med-bg); color: var(--med-text); font-family: var(--font-sans); display: flex; flex-direction: column; overflow: hidden; }

/* Header */
.platform-header {
  height: auto; background: #FFF; border-bottom: 1px solid var(--med-border);
  padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; flex-shrink: 0; z-index: 20;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03); gap: 12px;
}
.platform-header-left { display: flex; align-items: center; gap: 14px; }
.platform-header-left img { height: 28px; width: auto; max-width: none; object-fit: contain; flex-shrink: 0; }
.platform-header-left h1 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.platform-version {
  padding: 2px 8px; font-size: 10px; font-family: var(--font-mono); font-weight: 700;
  background: var(--med-accent-soft); color: var(--med-accent); border-radius: 8px;
  border: 1px solid rgba(238,123,18,0.2);
}
.platform-menu-btn {
  padding: 8px; margin-left: -8px; color: var(--med-text-light);
  background: none; border: none; border-radius: 8px;
  transition: all 0.2s;
}
.platform-menu-btn:hover { color: var(--med-text); background: var(--med-bg); }
.platform-menu-btn svg { width: 20px; height: 20px; }

.platform-header-center {
  display: flex; align-items: center; gap: 12px;
  background: var(--med-bg); padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--med-border); box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  white-space: nowrap; overflow-x: auto; flex-shrink: 1;
}
.platform-header-center .sep { color: var(--med-border); font-weight: 300; }

.platform-header-right { display: flex; align-items: center; gap: 16px; }
.platform-methodology-btn, .platform-logout-btn {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  background: none; border: none; transition: color 0.2s;
}
.platform-methodology-btn { color: var(--med-text-muted); }
.platform-methodology-btn:hover { color: var(--med-accent); }
.platform-logout-btn { color: var(--med-text-muted); }
.platform-logout-btn:hover { color: #ef4444; }
.platform-methodology-btn svg, .platform-logout-btn svg { width: 16px; height: 16px; }

.platform-privacy-badge {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  background: var(--med-bg); color: var(--med-success); padding: 6px 12px;
  border-radius: 999px; border: 1px solid rgba(16,185,129,0.2); box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.platform-privacy-badge svg { width: 14px; height: 14px; }

.platform-mode-toggle {
  display: flex; align-items: center; background: var(--med-bg); border-radius: 12px;
  padding: 3px; border: 1px solid var(--med-border); box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}
.platform-mode-btn {
  padding: 6px 12px; font-size: 12px; font-weight: 700; border-radius: 8px;
  border: none; transition: all 0.2s; background: transparent;
  color: var(--med-text-light);
}
.platform-mode-btn.active { background: var(--med-accent); color: white; box-shadow: 0 2px 6px rgba(238,123,18,0.3); }
.platform-mode-btn:not(.active):hover { color: var(--med-text); }

/* Error Bar */
.platform-error {
  position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
  background: rgba(127,29,29,0.8); backdrop-filter: blur(12px);
  border: 1px solid rgba(239,68,68,0.5); padding: 8px 16px; border-radius: 8px;
  z-index: 50; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: 8px;
}
.platform-error-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulse 1s infinite; }
.platform-error p { color: #fecaca; font-size: 14px; white-space: pre-line; }

/* Main Content */
.platform-content { flex: 1; display: flex; overflow: hidden; position: relative; }

/* Mobile overlay */
.platform-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.2); z-index: 20;
  backdrop-filter: blur(2px);
}

/* Sidebar */
.platform-sidebar {
  background: #FFF; border-right: 1px solid var(--med-bg); display: flex; flex-direction: column;
  transition: all 0.3s ease-in-out; z-index: 30; box-shadow: 4px 0 24px rgba(0,0,0,0.1);
  position: absolute; height: 100%; width: 288px;
}
.platform-sidebar.open { transform: translateX(0); opacity: 1; }
.platform-sidebar.closed { transform: translateX(-100%); opacity: 0; width: 0; overflow: hidden; }

@media (min-width: 768px) {
  .platform-sidebar { position: relative; }
  .platform-overlay { display: none; }
}

.platform-sidebar-top { padding: 16px; border-bottom: 1px solid var(--med-bg); }
.platform-upload-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 16px; cursor: pointer;
  background: linear-gradient(to bottom right, var(--med-accent), #D66D0E);
  color: white; border-radius: 16px; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(238,123,18,0.3);
}
.platform-upload-label:hover { filter: brightness(1.05); }
.platform-upload-icon { background: rgba(255,255,255,0.2); padding: 8px; border-radius: 50%; display: flex; }
.platform-upload-icon svg { width: 20px; height: 20px; }
.platform-upload-label .upload-title { font-weight: 600; font-size: 14px; }
.platform-upload-label .upload-sub { font-size: 10px; opacity: 0.8; margin-top: 2px; }
.platform-upload-label input { display: none; }
.platform-search-wrapper { margin-top: 16px; position: relative; }
.platform-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--med-text-light); width: 16px; height: 16px;
}
.platform-search-input {
  width: 100%; background: var(--med-bg); border: 1px solid rgba(238,123,18,0.2);
  border-radius: 10px; padding: 8px 12px 8px 36px; font-size: 14px; color: var(--med-text);
  transition: all 0.2s;
}
.platform-search-input::placeholder { color: var(--med-text-light); }
.platform-search-input:focus {
  outline: none; border-color: var(--med-accent);
  box-shadow: 0 0 0 2px rgba(238,123,18,0.15);
}
.platform-sessions-list { flex: 1; overflow-y: auto; padding: 12px; }
.platform-session-btn {
  width: 100%; text-align: left; padding: 20px; border-radius: 24px;
  transition: all 0.2s; border: 1px solid transparent;
  position: relative; overflow: hidden; margin-bottom: 12px; background: transparent;
}
.platform-session-btn:hover { background: var(--med-bg); border-color: var(--med-border); }
.platform-session-btn.active {
  background: var(--med-accent-soft); border-color: rgba(238,123,18,0.4); box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.platform-session-btn.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--med-accent);
}
.platform-session-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; padding-left: 8px; }
.platform-session-patient { display: flex; align-items: center; gap: 12px; }
.platform-session-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 1px 2px rgba(0,0,0,0.2); }
.platform-session-dot.improving { background: var(--med-success); }
.platform-session-dot.worsening { background: #ef4444; }
.platform-session-dot.stable { background: #f59e0b; }
.platform-session-id {
  font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
}
.platform-session-btn.active .platform-session-id { color: var(--med-accent); }
.platform-session-date { font-size: 11px; font-weight: 700; color: var(--med-text-light); letter-spacing: 0.02em; margin-top: 2px; }
.platform-session-desc {
  font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; padding-left: 8px; margin-bottom: 12px; color: var(--med-text-muted);
}
.platform-session-btn.active .platform-session-desc { color: var(--med-text); }
.platform-session-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 8px; }
.platform-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 10px; border-radius: 8px; border: 1px solid; box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  display: flex; align-items: center; gap: 4px;
}
.platform-tag svg { width: 12px; height: 12px; }
.platform-tag.default { background: rgba(255,255,255,0.8); color: var(--med-text-muted); border-color: var(--med-border); }
.platform-tag.severe { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.platform-tag.moderate { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.platform-tag.mild { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }

/* Main Stage */
.platform-main { flex: 1; display: flex; flex-direction: column; position: relative; background: var(--med-bg); }

/* Platform Body */
.platform-body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 768px) { .platform-body { flex-direction: row; } }
.platform-body.scrollable { overflow-y: auto; }

/* Viewer Stage */
.platform-viewer {
  width: 100%; flex: 1; position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 16px;
  background: var(--med-bg); min-height: 500px; flex-shrink: 0;
}
@media (min-width: 768px) { .platform-viewer { min-height: 0; flex-shrink: 1; } }

.platform-viewer-controls {
  position: absolute; top: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: flex-start; z-index: 10;
}
.platform-view-toggle {
  display: flex; background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 4px; border: 1px solid var(--med-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.platform-view-btn {
  padding: 6px 16px; font-size: 12px; font-weight: 500; border-radius: 8px;
  border: none; background: transparent; transition: all 0.2s;
  color: var(--med-text-muted);
}
.platform-view-btn.active {
  background: var(--med-surface-muted); color: var(--med-text); box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.platform-view-btn:hover { color: var(--med-text); }

.platform-bodymap-container {
  position: relative; width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(4px);
  border-radius: 32px; border: 1px solid var(--med-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03); padding: 32px; margin: 24px;
}
.platform-bodymap-wrapper {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 1/2;
}
.platform-bodymap-wrapper svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08)); }

/* Bodymap Tooltip */
.bodymap-tooltip {
  position: absolute; top: 16px; right: 16px; padding: 12px 16px;
  pointer-events: none; z-index: 10; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px); border: 1px solid var(--med-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-radius: 12px;
}
.bodymap-tooltip-region {
  font-size: 10px; font-weight: 600; color: var(--med-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.bodymap-tooltip-value {
  font-size: 18px; font-family: var(--font-mono); font-weight: 500; color: var(--med-text);
}

/* Right Panel */
.platform-panel {
  width: 100%; background: rgba(255,255,255,0.5); backdrop-filter: blur(16px);
  border-top: 1px solid var(--med-border); padding: 20px;
  display: flex; flex-direction: column; gap: 20px; flex-shrink: 0; z-index: 10;
}
@media (min-width: 768px) {
  .platform-panel {
    width: 320px; border-top: none; border-left: 1px solid var(--med-border);
    overflow-y: auto;
  }
}

/* Instrument Panel */
.instrument-panel {
  background: white; border: 1px solid var(--med-border); border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02); position: relative; overflow: hidden;
}
.instrument-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 6px 12px; border-radius: 12px; font-size: 14px; font-weight: 500;
  transition: all 0.2s; border: 1px solid transparent; color: var(--med-text-muted);
  background: transparent; width: 100%;
}
.instrument-button:hover { background: var(--med-bg); border-color: var(--med-border); color: var(--med-text); }
.instrument-button.active {
  background: var(--med-accent-soft); color: var(--med-accent);
  border-color: rgba(238,123,18,0.2); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.instrument-button svg { width: 16px; height: 16px; }

.panel-section-title {
  font-size: 10px; font-weight: 700; color: var(--med-text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.panel-section-title .dot { width: 4px; height: 12px; background: var(--med-accent); border-radius: 999px; }

.panel-legend-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-legend-swatch {
  width: 20px; height: 20px; border-radius: 4px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  border: 1px solid var(--med-border);
}
.panel-legend-val { font-size: 12px; font-family: var(--font-mono); font-weight: 700; color: var(--med-text-muted); width: 16px; text-align: right; }
.panel-legend-label { font-size: 10px; font-weight: 700; color: var(--med-text-light); text-transform: uppercase; margin-left: 8px; }

.panel-func-big { font-size: 48px; font-family: var(--font-mono); font-weight: 700; color: var(--med-text); line-height: 1; letter-spacing: -0.02em; }
.panel-func-unit { font-size: 14px; font-weight: 700; color: var(--med-text-light); margin-bottom: 4px; }
.panel-func-delta {
  font-size: 12px; font-family: var(--font-mono); padding: 6px 12px; border-radius: 8px;
  font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,0.04); margin-left: auto;
}
.panel-func-delta.improved { background: var(--med-success-soft); color: var(--med-success); border: 1px solid rgba(16,185,129,0.2); }
.panel-func-delta.worsened { background: #fef2f2; color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.panel-func-delta.neutral { background: var(--med-surface-muted); color: var(--med-text-muted); border: 1px solid var(--med-border); }
.panel-func-interp {
  font-size: 12px; color: var(--med-text-muted); font-weight: 500; line-height: 1.5;
  background: var(--med-bg); padding: 16px; border-radius: 12px; border: 1px solid var(--med-border);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.panel-chip {
  display: inline-flex; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: 8px; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin: 0 4px 8px 0;
}
.panel-chip.accent { background: var(--med-accent-soft); color: var(--med-accent); border: 1px solid rgba(238,123,18,0.2); }
.panel-chip.muted { background: var(--med-surface-muted); color: var(--med-text); border: 1px solid var(--med-border); }
.panel-chip.red { background: #fef2f2; color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.panel-chip.green { background: var(--med-success-soft); color: var(--med-success); border: 1px solid rgba(16,185,129,0.2); text-decoration: line-through; }

.panel-region-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; padding: 12px; border-radius: 12px; cursor: pointer;
  transition: all 0.2s; border: 1px solid transparent; margin-bottom: 10px;
}
.panel-region-item:hover { background: var(--med-surface-muted); }
.panel-region-item.selected { background: var(--med-accent-soft); border-color: rgba(238,123,18,0.3); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.panel-region-name { font-weight: 700; font-size: 12px; }
.panel-region-item.selected .panel-region-name { color: var(--med-accent); }
.panel-region-val { font-family: var(--font-mono); font-weight: 700; font-size: 14px; }

.panel-stat-box {
  flex: 1; background: var(--med-bg); padding: 12px; border-radius: 12px;
  border: 1px solid var(--med-border); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.panel-stat-val { font-size: 24px; font-family: var(--font-mono); font-weight: 700; color: var(--med-text); }
.panel-stat-label {
  font-size: 9px; font-weight: 700; color: var(--med-text-light);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; text-align: center;
}

.panel-trend-card {
  border-radius: 20px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  border: 1px solid;
}
.panel-trend-card.positive {
  background: linear-gradient(to bottom right, white, rgba(209,250,229,0.3));
  border-color: rgba(16,185,129,0.3);
}
.panel-trend-card.negative {
  background: linear-gradient(to bottom right, white, rgba(255,241,229,0.3));
  border-color: rgba(238,123,18,0.3);
}

.panel-quality-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.panel-quality-label {
  font-size: 10px; font-weight: 700; color: var(--med-text-light);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.panel-quality-val { font-size: 12px; font-weight: 700; }

/* Empty State */
.platform-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--med-text-muted);
}
.platform-empty svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: 0.2; }
.platform-empty p { font-size: 18px; font-weight: 500; }

/* Timeline Rail */
.platform-timeline {
  background: white; border-top: 1px solid var(--med-border);
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 24px; flex-shrink: 0; z-index: 20;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.03); overflow-x: auto;
}
@media (min-width: 768px) {
  .platform-timeline { flex-direction: row; height: 128px; padding: 0 40px; }
}
.platform-timeline-inner {
  width: 100%; max-width: 1400px; margin: 0 auto; display: flex;
  flex-direction: column; align-items: center; gap: 24px;
}
@media (min-width: 768px) {
  .platform-timeline-inner { flex-direction: row; gap: 48px; }
}

/* Playback Controls */
.platform-playback { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.platform-play-btn {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--med-accent); color: white; border: none; border-radius: 50%;
  box-shadow: 0 4px 16px rgba(238,123,18,0.4); transition: all 0.2s;
}
.platform-play-btn:hover { background: #D66D0E; transform: scale(1.05); }
.platform-play-btn:active { transform: scale(0.95); }
.platform-play-btn svg { width: 24px; height: 24px; }
.platform-nav-btns { display: flex; gap: 4px; }
.platform-nav-btn {
  padding: 8px; color: var(--med-text-muted); background: none; border: none;
  border-radius: 12px; transition: all 0.2s;
}
.platform-nav-btn:hover { color: var(--med-text); background: var(--med-surface-muted); }
.platform-nav-btn svg { width: 20px; height: 20px; }
.platform-speed-btn {
  padding: 6px 16px; background: var(--med-surface-muted); border: 1px solid var(--med-border);
  border-radius: 12px; font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--med-text-muted); transition: all 0.2s;
}
.platform-speed-btn:hover { color: var(--med-text); background: var(--med-border); }

/* Timeline Scrubber */
.platform-scrubber {
  width: 100%; flex: 1; position: relative; display: flex; align-items: center;
  height: 80px; min-width: 300px; overflow-x: auto; padding: 0 16px;
}
.platform-scrubber-rail {
  position: absolute; left: 0; right: 0; height: 12px; background: var(--med-surface-muted);
  border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(236,231,227,0.5);
}
.platform-scrubber-fill {
  height: 100%; background: linear-gradient(to right, var(--med-accent), var(--med-accent-secondary));
  transition: width 0.3s ease-out; box-shadow: 0 0 10px rgba(238,123,18,0.5);
}
.platform-scrubber-nodes {
  position: relative; width: 100%; display: flex; justify-content: space-between;
  align-items: center; z-index: 10;
}
.platform-scrubber-node { position: relative; display: flex; flex-direction: column; align-items: center; }
.platform-node-dot {
  width: 28px; height: 28px; border-radius: 50%; transition: all 0.3s;
  border-width: 6px; border-style: solid; position: relative; z-index: 10;
  background: none; cursor: pointer;
}
.platform-node-dot.active {
  background: var(--med-accent); border-color: white; transform: scale(1.25);
  box-shadow: 0 4px 12px rgba(238,123,18,0.4);
}
.platform-node-dot.past { background: var(--med-accent); border-color: var(--med-accent); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.platform-node-dot.future { background: white; border-color: var(--med-border); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.platform-node-dot.future:hover { border-color: rgba(238,123,18,0.5); }
.platform-node-treatment {
  position: absolute; top: -14px; right: -14px; width: 18px; height: 18px;
  background: var(--med-accent-secondary); border-radius: 50%;
  border: 2px solid white; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: white; font-weight: 700; line-height: 1;
}
.platform-node-label {
  position: absolute; top: 48px; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; transition: color 0.2s;
}
.platform-node-label.active { color: var(--med-accent); }
.platform-node-label:not(.active) { color: var(--med-text-muted); }
.platform-node-label .timepoint { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.platform-node-label .sublabel {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  opacity: 0.7; margin-top: 6px; font-weight: 700;
}

/* Compare Toggle */
.platform-compare-section {
  display: flex; align-items: center; gap: 16px;
  padding-left: 40px; border-left: 1px solid var(--med-border); flex-shrink: 0;
}
.platform-compare-btn {
  display: flex; align-items: center; gap: 12px; padding: 16px 32px;
  border-radius: 16px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid; position: relative; overflow: hidden; font-size: 14px;
}
.platform-compare-btn.active {
  background: var(--med-accent); color: white; border-color: var(--med-accent);
  box-shadow: 0 8px 24px rgba(238,123,18,0.4); transform: scale(1.02);
}
.platform-compare-btn:not(.active) {
  background: white; color: var(--med-text); border-color: var(--med-border);
}
.platform-compare-btn:not(.active):hover {
  border-color: rgba(238,123,18,0.5); background: var(--med-accent-soft); color: var(--med-accent);
  box-shadow: 0 4px 16px rgba(238,123,18,0.15);
}
.platform-compare-btn svg { width: 20px; height: 20px; transition: transform 0.3s; }
.platform-compare-btn.active svg { transform: rotate(90deg); }

/* Compare Mode */
.platform-compare-view {
  display: flex; flex-direction: column; width: 100%; height: 100%;
  align-items: center; gap: 32px; padding: 16px 32px; overflow-y: auto;
}
@media (min-width: 1280px) { .platform-compare-view { flex-direction: row; overflow: hidden; } }
.platform-compare-panel {
  width: 100%; flex: 1; display: flex; flex-direction: column;
  align-items: center; position: relative; min-height: 500px;
  justify-content: center; background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px); border-radius: 32px; border: 1px solid var(--med-border);
  padding: 32px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); flex-shrink: 0;
}
.platform-compare-label {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  padding: 8px 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
  backdrop-filter: blur(8px); box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 20; white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.platform-compare-label.baseline {
  background: var(--med-accent-soft); border: 1px solid rgba(238,123,18,0.3); color: var(--med-accent);
}
.platform-compare-label.current {
  background: var(--med-success-soft); border: 1px solid rgba(16,185,129,0.2); color: var(--med-success);
}
.platform-compare-label-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.platform-compare-label.baseline .platform-compare-label-dot {
  background: var(--med-accent); box-shadow: 0 0 8px rgba(238,123,18,0.5);
}
.platform-compare-label.current .platform-compare-label-dot {
  background: var(--med-success); box-shadow: 0 0 8px rgba(16,185,129,0.5);
}
.platform-compare-divider {
  width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--med-border), transparent);
  position: relative; flex-shrink: 0; margin: 32px 0;
}
@media (min-width: 1280px) {
  .platform-compare-divider { width: 1px; height: 66%; background: linear-gradient(to bottom, transparent, var(--med-border), transparent); margin: 0; }
}
.platform-compare-delta {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
  border-radius: 32px; padding: 32px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 224px; text-align: center; transition: all 0.2s; z-index: 30;
}
.platform-compare-delta:hover { transform: translate(-50%, -50%) scale(1.05); }
.platform-compare-delta-label {
  font-size: 11px; font-weight: 700; color: var(--med-accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.platform-compare-delta-val {
  font-size: 60px; font-family: var(--font-mono); font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.platform-compare-delta-val.positive { color: var(--med-success); }
.platform-compare-delta-val.negative { color: #ef4444; }
.platform-compare-delta-val.neutral { color: var(--med-text); }
.platform-compare-delta-sub {
  font-size: 10px; color: var(--med-text-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* Info panel at bottom of compare panels */
.platform-compare-info {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.95); backdrop-filter: blur(16px);
  border: 1px solid var(--med-border); padding: 20px; border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05); z-index: 20; width: 320px;
  transition: all 0.2s;
}
.platform-compare-info:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* Exit Compare Button */
.platform-exit-compare {
  display: flex; align-items: center; gap: 8px; color: var(--med-text-muted);
  background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--med-border); padding: 8px 16px; border-radius: 10px;
  transition: all 0.2s; font-size: 14px; font-weight: 500;
}
.platform-exit-compare:hover { background: var(--med-surface-muted); color: var(--med-text); }
.platform-exit-compare svg { width: 16px; height: 16px; }

/* Methodology Modal */
.platform-modal-overlay {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center;
  justify-content: center; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); padding: 16px;
}
.platform-modal {
  background: white; border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  width: 100%; max-width: 1200px; overflow: hidden;
  display: flex; flex-direction: column; max-height: 90vh; border: 1px solid var(--med-border);
}
.platform-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px; border-bottom: 1px solid var(--med-border); background: var(--med-bg);
}
.platform-modal-header-left { display: flex; align-items: center; gap: 20px; }
.platform-modal-header-icon {
  background: white; padding: 14px; border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid var(--med-border);
}
.platform-modal-header-icon svg { width: 28px; height: 28px; color: var(--med-accent); }
.platform-modal-header-left h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.platform-modal-header-left p { font-size: 14px; color: var(--med-text-muted); margin-top: 6px; font-weight: 500; }
.platform-modal-close {
  padding: 12px; color: var(--med-text-light); background: none; border: none;
  border-radius: 50%; transition: all 0.2s;
}
.platform-modal-close:hover { color: var(--med-text); background: var(--med-border); }
.platform-modal-close svg { width: 28px; height: 28px; }
.platform-modal-body {
  padding: 48px; overflow-y: auto; flex: 1; background: white;
}
.platform-modal-steps {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-bottom: 64px;
}
.platform-modal-step {
  position: relative; z-index: 10; display: flex; flex-direction: column;
  align-items: flex-start; background: var(--med-bg); padding: 32px;
  border-radius: 24px; border: 1px solid var(--med-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03); transition: box-shadow 0.2s;
}
.platform-modal-step:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.platform-modal-step-icon {
  width: 48px; height: 48px; border-radius: 16px; background: white;
  color: var(--med-accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; border: 1px solid var(--med-border); box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.platform-modal-step-icon svg { width: 24px; height: 24px; }
.platform-modal-step-num {
  font-size: 10px; font-weight: 700; color: var(--med-accent);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.platform-modal-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.platform-modal-step p { font-size: 14px; color: var(--med-text-muted); line-height: 1.6; font-weight: 500; }
.platform-modal-footer {
  padding: 32px; border-top: 1px solid var(--med-border); background: var(--med-bg);
  display: flex; justify-content: flex-end;
}
.platform-modal-ack-btn {
  padding: 16px 40px; background: var(--med-accent); color: white;
  font-size: 16px; font-weight: 700; border: none; border-radius: 16px;
  transition: all 0.2s; box-shadow: 0 4px 12px rgba(238,123,18,0.3);
}
.platform-modal-ack-btn:hover {
  background: #D66D0E; box-shadow: 0 8px 24px rgba(238,123,18,0.4);
  transform: translateY(-2px);
}
.platform-modal-ack-btn:active { transform: translateY(0); }

@media (max-width: 768px) {
  .platform-modal-steps { grid-template-columns: 1fr; }
  .platform-modal-body { padding: 24px; }
}

/* Utility classes used in platform */
.hidden { display: none !important; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 16px; }
.pt-4 { padding-top: 16px; }
.border-t { border-top: 1px solid var(--med-border); }
.font-mono { font-family: var(--font-mono); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.font-bold { font-weight: 700; }
