.try-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.try-header .identity { text-align: right; font-size: 14px; }
.try-title { margin-bottom: 4px; font-size: 1.6rem; }

.quota { margin: 20px 0; }
.quota-text { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.quota-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--accent-light); }
.quota-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-2);
  transition: width .3s ease;
}
.quota.low .quota-bar span { background: #f0a020; }
.quota.empty .quota-bar span { background: #d64545; }
.quota.unlimited .quota-bar { display: none; }

.upsell,
.verify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.upsell {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--accent-light);
}
.upsell p,
.verify p { margin: 0; }
.verify { background: var(--accent-light); }

.recorder { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.record-btn.recording { background: #d64545; }
.file-option { margin: 0 0 14px; }
.file-option .file-picker { margin-top: 10px; }
#preview { margin: 0 0 14px; }
#progress { margin-top: 12px; }
.consent { margin-top: 18px; }

.auth-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-dialog::backdrop { background: rgba(26, 30, 46, .4); }
.dialog-close { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tabs button {
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
#auth-form { display: grid; gap: 14px; }
#auth-form .btn { width: 100%; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.divider::before,
.divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  .try-header .identity { text-align: left; }
  .record-btn,
  #transcribe { width: 100%; }
}
