:root {
  /* neilnwabua.dev Light Palette */
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #f0f4f1;
  --ink: #0f1713;
  --ink-soft: #5f6e66;
  --body: #3e4c44;
  --line: rgba(15, 23, 19, 0.10);
  --line-strong: rgba(15, 23, 19, 0.18);

  --nav-bg: rgba(255, 255, 255, 0.80);
  --nav-border: rgba(15, 23, 19, 0.09);

  --stage-bg: #f6f9f7;
  --stage-dot: rgba(15, 23, 19, 0.10);

  --accent: #18c964;
  --accent-dark: #0e6b38;
  --accent-soft: rgba(24, 201, 100, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Apple-Native Light Chat Palette */
  --border: rgba(60, 60, 67, 0.14);
  --mac-menubar: rgba(246, 246, 248, 0.90);
  --mac-sidebar: rgba(245, 245, 247, 0.82);
  --mac-header: rgba(255, 255, 255, 0.82);
  --chat-canvas: #ffffff;
  --chat-input-bg: rgba(249, 249, 251, 0.92);
  --bubble-in: #f2f2f7;
  --bubble-in-text: #1c1c1e;
  --bubble-out: #007aff;
  --bubble-out-text: #ffffff;
  --apple-blue: #007aff;
  --chat-muted: #8e8e93;
  --online: #28c840;
}

[data-theme="dark"] {
  /* neilnwabua.dev Dark Palette */
  --bg: #080d0b;
  --bg-soft: #0e1612;
  --surface: #111b16;
  --surface-2: #16221c;
  --ink: #f4faf6;
  --ink-soft: #8fa197;
  --body: #b7c6be;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  --nav-bg: rgba(14, 22, 18, 0.80);
  --nav-border: rgba(255, 255, 255, 0.11);

  --stage-bg: #0f1914;
  --stage-dot: rgba(255, 255, 255, 0.10);

  /* Apple-Native Dark Chat Palette */
  --border: rgba(255, 255, 255, 0.12);
  --mac-menubar: rgba(28, 28, 30, 0.92);
  --mac-sidebar: rgba(28, 28, 30, 0.84);
  --mac-header: rgba(28, 28, 30, 0.82);
  --chat-canvas: #1c1c1e;
  --chat-input-bg: rgba(28, 28, 30, 0.94);
  --bubble-in: #2c2c2e;
  --bubble-in-text: #f2f2f7;
  --bubble-out: #007aff;
  --bubble-out-text: #ffffff;
  --chat-muted: #98989d;
}

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

html,
body {
  height: 100%;
  font-family: 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--stage-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

[dir="rtl"] html,
[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', 'SF Pro Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   TOP BAR (Solid Architectural Rounded-Rectangle)
   ========================================= */
.topbar-wrap {
  width: calc(100% - 20px);
  max-width: 1120px;
  margin: 10px auto 8px;
  flex-shrink: 0;
  z-index: 40;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.10);
}

[data-theme="dark"] .topbar-wrap {
  background: #14161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}

.topbar {
  width: 100%;
  padding: 6px 8px 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: opacity 0.18s var(--ease);
}

.back-arrow {
  flex-shrink: 0;
}

.back-link:hover {
  opacity: 0.72;
}

[dir="rtl"] .back-arrow {
  transform: scaleX(-1);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Architectural Language Segmented Control */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.lang-btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Dark / Light Mode Toggle Button */
.theme-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

/* High-Contrast CTA Button inside Top Navbar */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  background: #111318;
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

[data-theme="dark"] .nav-cta {
  background: #ffffff;
  color: #0b0d10;
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.theme-btn:hover {
  transform: scale(1.05);
}

.theme-btn .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-btn .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-btn .icon-moon {
  display: none;
}

/* =========================================
   MAIN STAGE — MOBILE EDGE-TO-EDGE (< 768px)
   ========================================= */
.stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.macbook-mockup,
.macbook-lid,
.macbook-screen,
.macbook-workspace {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.macbook-notch,
.macbook-base,
.macos-menubar,
.desktop-sidebar {
  display: none;
}

.chat-pane {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--chat-canvas);
  overflow: hidden;
}

/* Simulated Push Notification Banner */
.push-banner {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--mac-menubar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--ease), opacity 0.24s ease;
}

.push-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.push-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--apple-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.push-text {
  min-width: 0;
}

.push-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.push-sub {
  font-size: 0.7rem;
  color: var(--chat-muted);
  margin-top: 2px;
}

/* Frosted Apple-Native Chat Header */
.chat-header {
  background: var(--mac-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  z-index: 25;
  border-bottom: 1px solid var(--border);
}

.clinic-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.clinic-avatar,
.thread-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2c2c2e, #0f1713);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .clinic-avatar,
[data-theme="dark"] .thread-avatar {
  background: linear-gradient(145deg, #3a3a3c, #2c2c2e);
}

.avatar-online {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--online);
  border: 2px solid var(--chat-canvas);
}

.clinic-meta {
  min-width: 0;
}

.clinic-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clinic-status {
  margin-top: 2px;
  font-size: 0.69rem;
  color: var(--chat-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-pill-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--bubble-in);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 500;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s var(--ease), transform 0.12s var(--ease);
}

.sim-pill-btn:hover {
  opacity: 0.85;
}

.sim-pill-btn:active {
  transform: scale(0.97);
}

/* In-Chat Simulate Website Form Drawer */
.sim-drawer {
  position: absolute;
  top: 57px;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--mac-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  padding: 14px 14px 16px;
  transform: translateY(-112%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
}

.sim-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sim-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sim-drawer-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.sim-close-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bubble-in);
  color: var(--chat-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.sim-close-btn:hover {
  color: var(--ink);
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-field label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--chat-muted);
}

/* 16px minimum on all inputs and selects to prevent iOS Safari auto-zoom */
.sim-field input,
.sim-field select,
.chat-input-bar input {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bubble-in);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sim-field input:focus,
.sim-field select:focus,
.chat-input-bar input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.18);
}

.sim-submit-btn {
  appearance: none;
  border: none;
  background: var(--apple-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 2px;
  transition: opacity 0.15s ease;
}

.sim-submit-btn:hover {
  opacity: 0.92;
}

.sim-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Chat Feed */
.chat-feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background: var(--chat-canvas);
}

.msg-row {
  display: flex;
  width: 100%;
}

.msg-in {
  justify-content: flex-start;
}

.msg-out {
  justify-content: flex-end;
}

.msg-system {
  justify-content: center;
}

.system-pill {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--chat-muted);
  background: var(--bubble-in);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
}

.msg-bubble {
  max-width: 84%;
  padding: 10px 14px 8px;
  border-radius: 18px;
  word-wrap: break-word;
}

.msg-in .msg-bubble {
  background: var(--bubble-in);
  color: var(--bubble-in-text);
  border-end-start-radius: 5px;
}

.msg-out .msg-bubble {
  background: var(--bubble-out);
  color: var(--bubble-out-text);
  border-end-end-radius: 5px;
}

.msg-text {
  font-size: 0.9rem;
  line-height: 1.44;
  white-space: pre-line;
}

.msg-time {
  display: block;
  text-align: end;
  font-size: 0.64rem;
  margin-top: 4px;
  opacity: 0.68;
}

/* Typing Indicator */
.typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chat-muted);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Quick-Reply Chips */
.quick-replies {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
  background: var(--chat-canvas);
  border-top: 1px solid var(--border);
  scrollbar-width: none;
}

.quick-replies::after {
  content: "";
  width: 6px;
  flex-shrink: 0;
}

.quick-replies::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bubble-in);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.chip-btn:hover {
  border-color: var(--apple-blue);
}

.chip-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Chat Input Bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--chat-input-bg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input-bar input {
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--chat-canvas);
}

.send-btn {
  appearance: none;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--apple-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s var(--ease), opacity 0.15s ease;
}

.send-btn:hover {
  opacity: 0.9;
}

.send-btn:active {
  transform: scale(0.94);
}

.send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================================
   DESKTOP MACBOOK PRO MOCKUP (>= 768px)
   ========================================= */
@media (min-width: 768px) {
  body {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--stage-bg);
    background-image: radial-gradient(var(--stage-dot) 1px, transparent 1px);
    background-size: 20px 20px;
  }

  .topbar-wrap {
    position: sticky;
    top: 14px;
    width: 90vw;
    max-width: 1120px;
    margin: 14px auto 0;
  }

  .topbar {
    padding: 7px 8px 7px 20px;
    gap: 14px;
  }

  .back-link {
    font-size: 0.88rem;
    gap: 7px;
  }

  .topbar-controls {
    gap: 8px;
  }

  .lang-btn {
    font-size: 0.76rem;
    padding: 5px 10px;
  }

  .theme-btn {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    font-size: 0.84rem;
    padding: 8px 16px;
  }

  .stage {
    padding: 20px 20px 28px;
    align-items: center;
    justify-content: center;
  }

  /* Larger, Authoritative MacBook Pro Container */
  .macbook-mockup {
    flex: 0 0 auto;
    width: 90vw;
    max-width: 1120px;
    align-items: center;
  }

  .macbook-lid {
    position: relative;
    width: 93%;
    background: linear-gradient(180deg, #1d1e22 0%, #0d0e11 100%);
    border-radius: 22px 22px 6px 6px;
    padding: 13px 13px 11px;
    border: 1.5px solid #2e323b;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 32px 72px -18px rgba(0, 0, 0, 0.34);
  }

  .macbook-notch {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 22px;
    background: #0d0e11;
    border-radius: 0 0 9px 9px;
    z-index: 30;
  }

  .macbook-camera {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #0f172a 55%, #020617 100%);
    border: 1px solid #1e293b;
  }

  .macbook-screen {
    flex-direction: column;
    min-height: 640px;
    height: min(700px, calc(100dvh - 185px));
    border-radius: 10px 10px 4px 4px;
    overflow: hidden;
    background: var(--chat-canvas);
    border: 1px solid var(--border);
  }

  /* 28px macOS Top Status Strip (Notch Clearance) */
  .macos-menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    padding: 0 16px;
    background: var(--mac-menubar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
  }

  .macos-menubar-status {
    font-weight: 500;
    color: var(--chat-muted);
  }

  .macbook-workspace {
    flex-direction: row;
    flex: 1;
    min-height: 0;
  }

  /* Apple-Native Frosted Sidebar */
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 285px;
    flex-shrink: 0;
    background: var(--mac-sidebar);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-inline-end: 1px solid var(--border);
    padding: 14px 14px 16px;
  }

  .window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 2px 4px;
  }

  .window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
  }

  .dot-close { background: #ff5f57; }
  .dot-min { background: #febc2e; }
  .dot-max { background: #28c840; }

  .sidebar-eyebrow {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--chat-muted);
  }

  .sidebar-title {
    margin-top: 2px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
  }

  .sidebar-thread {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 12px;
    background: var(--bubble-in);
    border: 1px solid var(--border);
  }

  .thread-meta {
    min-width: 0;
  }

  .thread-name {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.25;
  }

  .thread-status {
    margin-top: 2px;
    font-size: 0.71rem;
    color: var(--chat-muted);
    font-weight: 500;
  }

  .sidebar-card {
    margin-top: auto;
    padding: 13px;
    border-radius: 12px;
    background: var(--bubble-in);
    border: 1px solid var(--border);
  }

  .sidebar-card-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
  }

  .sidebar-card-copy {
    font-size: 0.75rem;
    line-height: 1.48;
    color: var(--chat-muted);
  }

  /* Conversation Pane inside MacBook */
  .chat-pane {
    flex: 1;
    min-width: 0;
  }

  .chat-header {
    padding: 12px 18px;
  }

  .sim-drawer {
    top: 61px;
    padding: 16px 22px 18px;
  }

  .chat-feed {
    padding: 20px 24px 14px;
  }

  .msg-bubble {
    max-width: 68%;
  }

  .quick-replies {
    padding: 9px 24px;
  }

  .chat-input-bar {
    padding: 10px 18px;
  }

  /* MacBook Aluminum Base & Thumb Notch */
  .macbook-base {
    display: block;
    width: 100%;
    height: 16px;
    background: linear-gradient(180deg, #e5e7eb 0%, #d1d5db 48%, #9ca3af 100%);
    border-radius: 2px 2px 14px 14px;
    position: relative;
    box-shadow:
      0 18px 34px -10px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  [data-theme="dark"] .macbook-base {
    background: linear-gradient(180deg, #52525b 0%, #3f3f46 48%, #27272a 100%);
    box-shadow:
      0 20px 38px -10px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .macbook-thumb-notch {
    width: 112px;
    height: 5px;
    margin: 0 auto;
    background: linear-gradient(180deg, #9ca3af 0%, #cbd5e1 100%);
    border-radius: 0 0 6px 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
  }

  [data-theme="dark"] .macbook-thumb-notch {
    background: linear-gradient(180deg, #27272a 0%, #3f3f46 100%);
  }
}

/* Suppress edge-injected Powered by Netlify pill badge & HUD */
a[href*="netlify.com"],
a[href*="utm_campaign=poweredby"],
[class*="netlify" i],
[id*="netlify" i],
[data-netlify-site-id],
[data-nf-variant],
iframe[src*="netlify"],
html > :not(head):not(body),
body > main ~ * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
