/* ============================================================
   PlexRaft — Mobile (Figma "iPhone 17" çerçeveleri, 402×874)
   Tüm ölçüler viewport'a oranlanır → 320–540 px arası uyumlu.
   ============================================================ */

html,
body {
  height: 100%;
  overflow: hidden;
}

.phone {
  position: relative;
  width: 100%;
  height: 100dvh;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
}

/* ---- Görünüm yönetimi ---- */
.view {
  position: absolute;
  inset: 0;
  display: none;
  padding: calc(16px + env(safe-area-inset-top)) 16px 0;
}

.view.is-active {
  display: block;
}

.view--chat.is-active {
  display: flex;
  flex-direction: column;
}

/* ---- Üst şerit ---- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pill--location {
  min-width: 98px;
}

.pill--status {
  min-width: 140px;
}

/* ---- Aqua AI cam kartı (371×186) ---- */
.view--dashboard .ai-card {
  margin: 56px auto 0;
  max-width: 371px;
  min-height: 186px;
  padding: 12px 19px 18px;
  display: flex;
  flex-direction: column;
}

.ai-head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.ai-head .ai-title {
  font-size: 22px;
  line-height: 1.3;
}

.ai-intro {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ai-text);
  margin-top: 8px;
  flex: 1;
}

.ai-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.ai-actions .ai-btn {
  flex: 1;
}
