:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #151820;
  color: #f7f7f8;
  --panel: #1c2029;
  --panel-2: #242933;
  --line: #383e49;
  --muted: #a8adb8;
  --orange: #fa8a38;
  --orange-dark: #3e2b24;
  --red: #ef3737;
  --green: #38d996;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 26%, rgba(250,138,56,.10), transparent 34%),
    #151820;
}
button { font: inherit; }
.hidden { display: none !important; }
.phone-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 22px max(30px, env(safe-area-inset-bottom));
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.sync-badge {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--orange);
  background: var(--orange-dark);
  font-weight: 700;
}
.meeting-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.meeting-icon { width: 48px; height: 48px; object-fit: contain; }
.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.eyebrow.orange { color: var(--orange); }
h1 { margin: 5px 0 0; font-size: 27px; line-height: 1.15; letter-spacing: 0; }
h2 { margin: 26px 0 4px; text-align: center; font-size: 31px; letter-spacing: 0; }
.session-timer { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.listening-help { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: 17px; }
.mic-button {
  display: block;
  width: 230px;
  height: 230px;
  margin: 12px auto 0;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #171a21;
  background: #2b303a;
  box-shadow: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.mic-button:active { transform: scale(.98); }
.mic-button.listening {
  background: var(--orange);
  box-shadow: 0 0 0 22px rgba(250,138,56,.09), 0 0 48px rgba(250,138,56,.25);
  animation: breathe 2.4s ease-in-out infinite;
}
.mic-symbol { font-size: 0; }
.mic-symbol::before {
  content: "\1F3A4";
  font-size: 55px;
}
@keyframes breathe { 50% { box-shadow: 0 0 0 30px rgba(250,138,56,.05), 0 0 60px rgba(250,138,56,.32); } }
.action-button {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
}
.primary { border: 1px solid #ef9a59; color: #171a21; background: var(--orange); }
.secondary { border: 1px solid var(--line); color: #f7f7f8; background: var(--panel); }
.snooze-active { border-color: var(--orange); color: var(--orange); }
.snooze-timer { margin: 14px 0 0; text-align: center; color: var(--orange); font-weight: 700; }
.info-card {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(35,39,49,.82);
}
.info-card ul { margin: 17px 0 0; padding-left: 22px; color: #d1d4dc; font-size: 17px; line-height: 1.55; }
.info-card li { margin: 6px 0; overflow-wrap: anywhere; }
.latest-card { border-color: #78472d; background: rgba(60,39,31,.52); }
.latest-card p { margin: 16px 0 0; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
.alert-overlay {
  position: fixed;
  z-index: 20;
  left: 50%;
  top: 42%;
  width: min(calc(100% - 32px), 488px);
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 22px;
  text-align: center;
  background: var(--red);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}
.alert-overlay strong { display: block; margin-bottom: 8px; font-size: 23px; }
.alert-overlay span { display: block; font-size: 17px; line-height: 1.35; }
.pair-panel { padding: 60px 22px; text-align: center; }
.pair-panel p { color: var(--muted); line-height: 1.55; }
.pair-panel .primary { min-height: 52px; margin-top: 18px; padding: 0 28px; border-radius: 15px; font-weight: 800; }
.pair-image { width: 110px; height: 110px; object-fit: contain; }
@media (max-width: 380px) {
  .phone-shell { padding-left: 16px; padding-right: 16px; }
  .mic-button { width: 190px; height: 190px; }
  h1 { font-size: 23px; }
}
