:root {
  --background: #f7f8f5;
  --primary: #8FD42E;
  --accent: #f87171;
  --text: #0b0c0d;
  --muted: #62666b;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --line: rgba(11, 12, 13, 0.1);
  --shadow: 0 24px 70px rgba(11, 12, 13, 0.13);
  --soft-shadow: 0 10px 28px rgba(11, 12, 13, 0.08);
  --button-size: 46px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(145deg, rgba(143, 212, 46, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(248, 113, 113, 0.14), transparent 36%),
    var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100%, 820px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 16px 108px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.app-header h1,
.panel-header h2,
.modal h2 {
  margin: 0;
  letter-spacing: 0;
}

.app-header h1 {
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  line-height: 0.96;
  font-weight: 820;
}

.app-header p,
.panel-header p,
.status-text {
  margin: 6px 0 0;
  color: var(--muted);
}

.local-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: #4f8f11;
  font-size: 0.92rem;
  font-weight: 650;
}

.icon-button {
  display: grid;
  place-items: center;
  width: var(--button-size);
  height: var(--button-size);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.header-action-button {
  display: grid;
  place-items: center;
  width: var(--button-size);
  height: var(--button-size);
  border-radius: 50%;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.header-action-button svg,
.call-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action-button.camera-button {
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(143, 212, 46, 0.28);
}

.header-action-button.location-button {
  background: rgba(255, 255, 255, 0.9);
}

.header-action-button.signal-button { background: rgba(11, 12, 13, 0.92); color: #fff; }

.provider-toggle {
  min-width: 76px;
  height: var(--button-size);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.provider-toggle.local {
  background: var(--text);
  color: #fff;
}

.camera-card,
.chat-card {
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), var(--shadow);
  backdrop-filter: blur(22px);
}

.radar-card { margin: 14px 14px 0; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(12, 14, 12, 0.97), rgba(34, 42, 29, 0.96)); color: #fff; box-shadow: 0 18px 45px rgba(11, 12, 13, 0.22); }
.radar-topline { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.radar-topline strong { color: var(--primary); }
.radar-topline span:last-child { margin-left: auto; }
.radar-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: radar-pulse 1.7s infinite; }
.radar-card h2 { margin: 12px 0 6px; font-size: 1.35rem; }
.radar-card p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.45; }
.radar-card details { margin-top: 12px; color: rgba(255,255,255,.68); font-size: .86rem; }
.radar-card ul { margin: 8px 0 0; padding-left: 20px; }
.radar-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.radar-actions button { min-height: 40px; border-radius: 999px; padding: 0 14px; background: rgba(255,255,255,.12); color: #fff; font-weight: 750; }
.radar-actions button:last-child { background: var(--primary); color: var(--text); }

.camera-card {
  display: none;
  padding: 14px;
  margin-bottom: 14px;
}

.camera-card.has-content {
  display: block;
}

.menu-preview {
  width: 100%;
  max-height: 220px;
  margin-top: 14px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.ocr-progress {
  width: 100%;
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 212, 46, 0.16);
}

.ocr-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 160ms ease;
}

.restaurant-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.restaurant-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
}

.restaurant-option strong,
.restaurant-option span {
  overflow-wrap: anywhere;
}

.restaurant-option span {
  color: var(--muted);
  font-size: 0.92rem;
}

.chat-card {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.conversation {
  flex: 1;
  min-height: 520px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  padding: 22px 18px 14px;
}

.message-row {
  display: flex;
  margin-bottom: 18px;
}

.message-row.user {
  justify-content: flex-end;
}

.message-row.agent {
  justify-content: flex-start;
}

.bubble {
  max-width: min(84%, 620px);
  padding: 11px 14px;
  border-radius: 20px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.message-row.user .bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 8px;
  box-shadow: 0 10px 20px rgba(248, 113, 113, 0.24);
}

.message-row.agent .bubble {
  max-width: 100%;
  padding: 2px 4px;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 0;
}

.chat-form {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 12, 13, 0.12);
  box-shadow: 0 12px 30px rgba(11, 12, 13, 0.08);
  backdrop-filter: blur(20px);
}

.chat-form input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

.modal input,
.modal select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.modal select { appearance: none; }

.chat-form input:focus {
  box-shadow: none;
}

.modal input:focus,
.modal select:focus,
.contact-setting input:focus {
  border-color: rgba(143, 212, 46, 0.74);
  box-shadow: 0 0 0 4px rgba(143, 212, 46, 0.16);
}

.modal-kicker { display: block; margin-bottom: 6px; color: #5b941a; font-size: .75rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.signal-modal { border-radius: 24px; }
.calendar-app{width:min(96vw,1120px);height:min(88vh,720px);overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(16,24,40,.3);color:#3c4043}.calendar-app button,.weather-app button{font:inherit}.calendar-app-header{display:flex;align-items:center;gap:10px;min-height:66px;padding:0 18px;border-bottom:1px solid #dadce0}.calendar-brand{display:flex;align-items:center;gap:10px;margin-right:14px;font-size:1.25rem}.calendar-brand span{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:linear-gradient(#4285f4 0 24%,#fff 24%);color:#4285f4;border:1px solid #dadce0;font-size:.85rem;font-weight:800}.calendar-brand strong{font-weight:520}.calendar-today,.calendar-nav,.calendar-close{min-height:38px;border:1px solid #dadce0;border-radius:8px;background:#fff;color:#3c4043}.calendar-today{padding:0 16px;font-weight:650}.calendar-nav{width:38px;border-color:transparent;font-size:1.5rem}.calendar-app-header h2{margin:0 0 0 4px;font-size:1.25rem;font-weight:520}.calendar-close{width:38px;margin-left:auto;border:0;font-size:1.5rem}.calendar-body{position:relative;display:grid;grid-template-columns:210px 1fr;height:calc(100% - 66px)}.calendar-sidebar{padding:18px 14px;border-right:1px solid #dadce0}.calendar-create{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:24px;background:#fff;color:#3c4043;box-shadow:0 1px 3px rgba(60,64,67,.3),0 4px 8px rgba(60,64,67,.15);font-weight:600}.calendar-create span{font-size:1.5rem;color:#4285f4}.mini-calendar{margin-top:26px}.mini-calendar>strong{display:block;margin:0 8px 12px;font-size:.85rem}.mini-weekdays,.mini-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:.68rem}.mini-weekdays{color:#70757a;font-weight:700}.mini-days span{display:grid;place-items:center;width:25px;height:25px;margin:2px auto;border-radius:50%}.mini-days .today{background:#1a73e8;color:#fff}.calendar-list{display:grid;gap:12px;margin:26px 8px 0;font-size:.82rem}.calendar-list label{display:flex;align-items:center;gap:9px}.calendar-list i{width:12px;height:12px;border-radius:3px;background:#1a73e8}.calendar-list label:last-child i{background:#0b8043}.calendar-week{min-width:0;overflow:hidden}.week-header{display:grid;grid-template-columns:repeat(7,1fr);height:64px;padding-left:48px;border-bottom:1px solid #dadce0}.week-header span{display:grid;place-items:center;border-left:1px solid #f1f3f4;color:#70757a;font-size:.7rem;text-transform:uppercase}.week-header span strong{display:block;color:#3c4043;font-size:1.3rem;font-weight:500}.week-header .active strong{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#1a73e8;color:#fff}.week-grid{position:relative;height:calc(100% - 64px)}.time-column{position:absolute;inset:0 auto 0 0;display:grid;grid-template-rows:repeat(5,1fr);width:48px;color:#70757a;font-size:.65rem}.time-column span{transform:translateY(-7px);text-align:center}.day-columns{position:absolute;inset:0 0 0 48px;display:grid;grid-template-columns:repeat(7,1fr);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(20% - 1px),#e8eaed calc(20% - 1px),#e8eaed 20%)}.day-columns div{border-left:1px solid #e8eaed}.calendar-event-preview{position:absolute;top:39%;left:calc(48px + 57.2%);width:13%;min-width:94px;padding:7px 8px;border-radius:5px;background:#039be5;color:#fff;font-size:.7rem;line-height:1.3;box-shadow:0 2px 5px rgba(0,0,0,.16)}.calendar-event-preview span{display:block;opacity:.9}.event-editor{position:absolute;z-index:4;top:72px;right:26px;display:grid;gap:13px;width:min(340px,42%);padding:22px;border-radius:14px;background:#fff;box-shadow:0 12px 42px rgba(60,64,67,.35)}.event-color{width:10px;height:10px;border-radius:50%;background:#039be5}.event-editor input{width:100%;border:0;border-bottom:1px solid #dadce0;border-radius:0;padding:9px 4px;outline:none}.event-editor .event-title{font-size:1.25rem}.event-editor label{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;margin:0;color:#5f6368}.calendar-observer-note,.weather-agent-status{display:flex;align-items:center;gap:8px;margin:2px 0 0;color:#5f6368;font-size:.76rem}.calendar-observer-note span,.weather-agent-status span{width:8px;height:8px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px rgba(143,212,46,.16)}.event-editor-actions{display:flex;justify-content:flex-end;gap:8px}.event-editor-actions button{min-height:38px;padding:0 16px;border-radius:6px;background:transparent;color:#1a73e8;font-weight:700}.event-editor-actions button[type=submit]{background:#1a73e8;color:#fff}
.weather-app{position:relative;width:min(94vw,450px);min-height:680px;overflow:hidden;padding:30px 18px 22px;border-radius:34px;background:linear-gradient(180deg,#31689c 0%,#638eb8 44%,#9eb7cc 100%);color:#fff;box-shadow:0 30px 90px rgba(10,31,55,.42)}.weather-app:before{content:"";position:absolute;inset:-100px -80px auto;height:380px;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 62%);pointer-events:none}.weather-close{position:absolute;z-index:2;top:18px;right:18px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(15,44,72,.32);color:#fff;font-size:1.25rem}.weather-location,.weather-current{position:relative;text-align:center}.weather-location span{font-size:.75rem;opacity:.76}.weather-location h2{margin:3px 0 0;font-size:2rem;font-weight:430}.weather-current{display:grid;justify-items:center;margin:4px 0 22px}.weather-current strong{font-size:5rem;font-weight:250;line-height:1;transform:translateX(8px)}.weather-current span{font-size:1.05rem;font-weight:600}.weather-current small{margin-top:4px;font-weight:600}.weather-card{position:relative;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(25,57,87,.28);box-shadow:inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(18px)}.hourly-card{padding:12px 10px 10px}.hourly-card>p{margin:0 5px 10px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.7);font-size:.68rem;font-weight:700;text-transform:uppercase}.hourly-forecast{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.hourly-forecast button{display:grid;gap:7px;justify-items:center;padding:8px 2px;border-radius:14px;background:transparent;color:#fff}.hourly-forecast button.selected{background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.hourly-forecast strong{font-size:.7rem}.hourly-forecast span{font-size:1.35rem}.hourly-forecast b{font-size:.9rem}.weather-editor{position:relative;margin:16px 2px}.weather-editor>p{margin:0 0 10px;font-size:.82rem}.weather-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.weather-options button{display:grid;gap:4px;justify-items:center;padding:10px 4px;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:rgba(18,48,76,.25);color:#fff;font-size:1.35rem}.weather-options button span{font-size:.66rem}.weather-options button.active{background:rgba(255,255,255,.25);box-shadow:0 0 0 2px rgba(255,255,255,.18)}.weather-agent-status{min-height:26px;margin:10px 4px 0;color:rgba(255,255,255,.78)}.weather-agent-status.noticed span{animation:radar-pulse 1.1s infinite}.weather-detail{display:grid;grid-template-columns:repeat(3,1fr);padding:13px;text-align:center}.weather-detail span{display:grid;gap:4px;color:rgba(255,255,255,.65);font-size:.62rem;text-transform:uppercase}.weather-detail strong{color:#fff;font-size:.9rem;text-transform:none}
@keyframes radar-pulse { 70% { box-shadow: 0 0 0 9px rgba(143,212,46,0); } 100% { box-shadow: 0 0 0 0 rgba(143,212,46,0); } }

.chat-form button,
.modal-actions button[type="submit"] {
  border-radius: 999px;
  background: var(--primary);
  color: var(--text);
  font-weight: 820;
}

.chat-form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  font-size: 0;
}

.chat-form button::before {
  content: "↑";
  font-size: 1.25rem;
  line-height: 1;
}

.suggest-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  min-height: 56px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text);
  padding: 0 20px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 8;
  min-height: 56px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 0 20px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.call-button svg {
  width: 18px;
  height: 18px;
}

.bottom-actions {
  display: contents;
}

.side-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 20;
  width: min(88vw, 360px);
  height: 100dvh;
  max-height: 100dvh;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 180ms ease;
  backdrop-filter: blur(24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.side-panel.open {
  transform: translateX(0);
}

.panel-header {
  position: sticky;
  top: -20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 0 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.profile-content {
  display: grid;
  gap: 14px;
  color: var(--text);
  margin-bottom: 18px;
}

.profile-group {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.profile-group h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.profile-group ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-setting {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-setting input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.secondary-button {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(31, 31, 31, 0.42);
  backdrop-filter: blur(10px);
}

.modal {
  width: min(100%, 420px);
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.modal label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 650;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.modal-actions .secondary-button {
  margin: 0;
}

.call-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background:
    linear-gradient(160deg, rgba(143, 212, 46, 0.18), transparent 34%),
    linear-gradient(20deg, rgba(248, 113, 113, 0.16), transparent 38%),
    linear-gradient(180deg, #1b1d20 0%, #0f1012 46%, #030303 100%);
  color: #f7f7f7;
}

.call-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.call-top {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.call-top p,
.call-top h2 {
  margin: 0;
}

.call-top p,
.call-top span {
  color: rgba(255, 255, 255, 0.66);
}

.call-top h2 {
  font-size: clamp(2.15rem, 11vw, 4.35rem);
  font-weight: 420;
  line-height: 1.04;
}

.call-top strong {
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.call-avatar {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 14px 0 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 2.35rem;
  font-weight: 520;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.ring-pulse {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 22px;
}

.ring-pulse span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  animation: pulse-dot 900ms ease-in-out infinite;
}

.ring-pulse span:nth-child(2) {
  animation-delay: 140ms;
}

.ring-pulse span:nth-child(3) {
  animation-delay: 280ms;
}

.call-screen.connected .ring-pulse {
  visibility: hidden;
}

.call-spacer {
  min-height: 8vh;
}

.incoming-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  width: min(280px, 100%);
  justify-self: center;
}

.call-mini-control {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 650;
}

.call-controls,
.incoming-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  justify-content: center;
  gap: 20px 16px;
}

.incoming-controls {
  grid-template-columns: 1fr 1fr;
  max-width: 292px;
  width: 100%;
  justify-self: center;
  gap: 74px;
  padding-bottom: 10px;
}

.call-controls {
  width: min(330px, 100%);
  justify-self: center;
}

.call-control {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  width: 100%;
  aspect-ratio: 1;
  max-width: 80px;
  justify-self: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.call-control span {
  display: grid;
  place-items: center;
  min-height: 1em;
  font-size: 0.96rem;
  font-weight: 750;
}

.call-control small {
  position: absolute;
  transform: translateY(56px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 520;
  text-transform: none;
}

.call-control.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.call-control.secondary.active {
  background: #fff;
  color: #111;
}

.call-control.disabled {
  opacity: 0.42;
}

.call-control.accept {
  background: var(--primary);
  color: var(--text);
}

.call-control.decline,
.call-control.end {
  background: var(--accent);
}

.call-control.accept,
.call-control.decline {
  max-width: 74px;
}

.call-control.end {
  grid-column: 2;
  margin-top: 26px;
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(11, 12, 13, 0.14);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.loader span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(143, 212, 46, 0.22);
  border-top-color: var(--primary);
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 719px) {
  .modal-backdrop{padding:0;align-items:stretch}.calendar-app{width:100%;height:100dvh;border-radius:0}.calendar-app-header{padding:0 10px}.calendar-brand strong,.calendar-today,.calendar-sidebar{display:none}.calendar-app-header h2{font-size:1rem}.calendar-body{grid-template-columns:1fr}.week-header{padding-left:36px}.week-header span:nth-child(-n+2),.week-header span:nth-last-child(-n+2),.day-columns div:nth-child(-n+2),.day-columns div:nth-last-child(-n+2){display:none}.week-header,.day-columns{grid-template-columns:repeat(3,1fr)}.time-column{width:36px}.day-columns{left:36px}.calendar-event-preview{left:39%;width:26%}.event-editor{inset:auto 12px 16px;width:auto}.weather-app{width:100%;min-height:100dvh;border-radius:0;padding-top:max(28px,env(safe-area-inset-top))}
  .app-shell {
    padding-bottom: 28px;
  }

  .app-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .app-header h1 {
    font-size: 2rem;
  }

  .app-header p {
    font-size: 0.95rem;
  }

  .header-actions {
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .icon-button,
  .header-action-button {
    width: 40px;
    height: 40px;
  }

  .header-action-button svg {
    width: 18px;
    height: 18px;
  }

  .provider-toggle {
    min-width: 64px;
    height: 40px;
    font-size: 0.9rem;
  }

  .bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .call-button,
  .suggest-button {
    position: static;
    width: 100%;
    margin: 0;
  }

  .call-button {
    left: auto;
  }

  .suggest-button {
    right: auto;
  }
}

@media (min-width: 720px) {
  .app-shell {
    padding-top: 30px;
  }

  .conversation {
    min-height: 460px;
  }
}
