/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/try/try.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Public demo (/try) — a phone call on a page. Tokens come from app/vera.css.
   Layout follows the Figma "Demo calls" page: the landing is one 528px card;
   the call page is two panels (the call, and the checklist it fills in) side
   by side at 1068px on wide screens and stacked at 528px below that, with a
   16px gutter on phones. The call page comes in English and Arabic; Arabic is
   the same page under dir="rtl", so layout rules use logical directions. */

.try-shell {
  min-height: 100dvh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 20px 16px 28px;
}
@media (min-width: 768px) { .try-shell { padding: 40px; } }
.try-top {
  width: 100%;
  max-width: 528px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px 18px;
}
.try-wordmark { font-family: var(--font); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.try-top .try-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.try-top .try-link:hover { color: var(--ink); }
.try-top .try-link[lang="en"] { font-family: var(--font); }
.try-top .try-link[lang="ar"] { font-family: var(--arabic); }
.try-foot { width: 100%; max-width: 528px; padding: 18px 4px 0; font-size: 11.5px; line-height: 1.45; color: var(--ink-3); text-align: center; }

/* A page's own wrapper carries lang/dir without adding a box to the shell grid. */
.try-page { display: contents; }
/* The call page keeps the footnote right under the panels, as in Figma. */
.try-shell:has(.try-page.is-call) { grid-template-rows: auto auto 1fr; }
.try-page.is-call .try-foot { padding-top: 24px; }
.try-page[lang="ar"] { font-family: var(--arabic); }

.try-card {
  width: 100%;
  max-width: 528px;
  background: var(--canvas-2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: 0 1px 2px rgba(38,56,48,.05), 0 12px 32px -20px rgba(38,56,48,.25);
}
@media (min-width: 480px) { .try-card { padding: 30px 28px 26px; } }

.try-card h1 { font-size: 26px; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 10px; text-wrap: balance; }
.try-sub { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 40ch; }

/* --- landing: how it works, three short beats ------------------------- */
.try-beats { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 12px; }
.try-beats li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.try-beats .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 1px;
}
.try-beats b { font-weight: 700; }

/* --- forms -------------------------------------------------------------- */
.try-field { display: grid; gap: 6px; margin-bottom: 12px; }
.try-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.try-input { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 12px; padding: 0 13px; font: inherit; font-size: 15px; background: var(--canvas); color: var(--ink); }
.try-input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-color: var(--accent); }
.try-btn {
  width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--canvas); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
}
.try-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.try-btn:disabled { opacity: .5; cursor: default; }
.try-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.try-btn.primary:not(:disabled):hover { filter: brightness(.96); }
.try-divider { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; margin: 16px 0; }
.try-divider .line { flex: 1; height: 1px; background: var(--border); }
.try-error { color: var(--st-declined); font-size: 13px; line-height: 1.4; margin: 10px 0 0; }
.try-switch { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 18px; }
.try-switch button { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }

/* --- the call page: two panels ------------------------------------------ */
.try-call { width: 100%; max-width: 528px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 1148px) {
  .try-call { max-width: 1068px; grid-template-columns: 664px 380px; }
  .try-page.is-call .try-top, .try-page.is-call .try-foot { max-width: 1068px; }
}
.try-panel { min-width: 0; background: var(--surface-2); border-radius: var(--r-2xl); padding: 26px 22px 22px; display: grid; gap: 16px; align-content: start; }
@media (min-width: 480px) { .try-panel { padding: 28px; gap: 20px; } }

.try-main h1 { font-size: 23px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; margin: 0 0 8px; text-wrap: balance; }
.try-page[lang="ar"] .try-main h1 { letter-spacing: 0; }
.try-main .try-sub { font-size: 13.5px; line-height: 1.45; max-width: none; }

/* The stage: status line, the two voice lanes, one button and its hint. */
.try-stage {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 16px;
  display: grid;
  gap: 16px;
}
@media (min-width: 480px) { .try-stage { padding: 20px; } }

.try-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.try-status-text { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--ink-3); }
.try-status-text .dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.try-stage.is-live .try-status-text { color: var(--accent); }
.try-stage.is-live .try-status-text .dot { display: block; animation: try-pulse 1.4s ease-in-out infinite; }
.try-stage.is-closed .try-status-text { color: var(--ink-2); }
.try-timer { font-family: var(--mono); font-feature-settings: "tnum" 1; font-size: 11px; color: var(--ink-3); }
.try-stage.is-live .try-timer { color: var(--ink-2); }
@keyframes try-pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.75);} }

/* Two mirrored lanes: Yasmine's avatar on the start side, yours on the end
   side, so each party sits on the outside and the bars meet in the middle. */
.try-lanes { display: grid; gap: 12px; }
.try-lane { display: flex; align-items: center; gap: 12px; min-width: 0; }
.try-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.try-lane.yasmine .try-who { flex: none; width: 170px; }
.try-lane.you .try-who { flex: none; width: 170px; justify-content: flex-end; }
.try-names { min-width: 0; line-height: 1.45; }
.try-names .name { font-size: 13.5px; font-weight: 600; }
.try-names .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.try-lane.you .try-names { text-align: end; }
.try-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 600; font-size: 18px; line-height: 1;
}
.try-avatar.agent { background: var(--accent); color: var(--accent-ink); }
.try-avatar.patient { background: var(--surface-3); color: var(--ink-2); border: 1px solid var(--border-strong); }

/* Voice bars: a strip of 40 thin bars. At rest every bar is a 3px dot in the
   strong border tone; while that party talks the strip turns accent and the
   heights follow their level (written per frame by the component). */
.try-bars {
  flex: 1 1 auto; min-width: 0; height: 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.try-bars i {
  display: block; width: 3px; height: 3px; border-radius: 2px; flex: none;
  background: var(--border-strong);
  transition: height 60ms linear, background-color 160ms ease;
}
.try-bars.speaking i { background: var(--accent); }

.try-actions { display: grid; gap: 8px; }
.try-stage .try-btn { height: 42px; border-radius: var(--r-md); font-weight: 600; }
.try-btn.danger { background: var(--surface); border-color: color-mix(in srgb, var(--st-declined) 45%, var(--border)); color: var(--st-declined); }
.try-btn.danger:not(:disabled):hover { background: var(--st-declined-soft); }
.try-btn.connecting:disabled { opacity: .7; }
.try-hint { font-size: 11.5px; line-height: 1.45; color: var(--ink-3); text-align: center; }
.try-hint.alert { color: var(--st-declined); }

/* Phones: each lane stacks — who row on top, bars full width underneath.
   Your lane keeps its mirrored reading order (name then avatar, end-aligned). */
@media (max-width: 479px) {
  .try-lane { flex-direction: column; align-items: stretch; gap: 10px; }
  .try-lane.you { flex-direction: column-reverse; }
  .try-lane.yasmine .try-who, .try-lane.you .try-who { width: auto; }
  .try-bars { flex: none; width: 100%; }
}

/* --- the mock prescription ---------------------------------------------- */
.try-rx { background: var(--surface-2); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; }
.try-rx .rx-title { font-size: 11.5px; line-height: 1.45; color: var(--ink-3); }
.try-rx .rx-med { display: flex; align-items: center; gap: 12px; }
.try-rx .rx-icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
}
.try-rx .rx-text { display: grid; min-width: 0; flex: 1; }
.try-rx .rx-name { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.try-rx .rx-dose { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }

/* --- the checklist panel: before the call, and what she confirmed ------- */
.try-check .check-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.try-check .check-title h2 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.try-check .check-title .thin { font-size: 12px; color: var(--ink-3); }
.try-rows { display: grid; gap: 12px; }
.try-row { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.try-row .pip {
  width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
  border: 1.5px dashed color-mix(in srgb, var(--ink-3) 55%, transparent); color: transparent; box-sizing: border-box;
}
.try-row .pip.ok { background: var(--st-ready-soft); border-style: solid; border-color: var(--st-ready); color: var(--st-ready); }
.try-row .pip.no { background: var(--st-declined-soft); border-style: solid; border-color: var(--st-declined); color: var(--st-declined); }
.try-row .label { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.try-row .value { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); margin-top: 2px; }
.try-row.muted .value { color: var(--ink-3); }
.try-row .value .ar { font-family: var(--arabic); direction: rtl; unicode-bidi: plaintext; }

/* --- transcript disclosure (in the checklist panel) and footer ---------- */
.try-transcript { border-top: 1px solid var(--border); padding-top: 14px; }
.try-transcript summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.try-transcript summary::-webkit-details-marker { display: none; }
.try-transcript summary .chevron { color: var(--ink-3); flex: none; transition: transform 160ms ease; }
.try-page[dir="rtl"] .try-transcript summary .chevron { transform: scaleX(-1); }
.try-transcript[open] summary .chevron,
.try-page[dir="rtl"] .try-transcript[open] summary .chevron { transform: rotate(90deg); }
.try-turns { margin-top: 10px; display: grid; gap: 8px; }
.try-turn { display: grid; gap: 2px; direction: rtl; text-align: right; font-family: var(--arabic); font-size: 14px; line-height: 1.55; padding: 8px 12px; border-radius: 12px; background: var(--surface); }
.try-turn.patient { background: var(--accent-soft); }
.try-turn .who { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.try-page[dir="ltr"] .try-turn .who { font-family: var(--font); direction: ltr; text-align: left; }

.try-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.try-quota { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); min-height: 1em; }
.try-signout { background: none; border: 0; padding: 0; color: var(--ink-3); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.try-signout:hover { color: var(--ink); }

/* --- skeleton while the session loads ----------------------------------- */
.try-skeleton .sk {
  display: block; border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-3) 0%, var(--surface-2) 40%, var(--surface-3) 80%);
  background-size: 200% 100%;
  animation: try-shimmer 1.6s linear infinite;
}
.try-skeleton .try-stage .sk { background-image: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 40%, var(--surface-2) 80%); }
.try-skeleton .sk-title { height: 26px; width: 180px; margin: 0 0 12px; }
.try-skeleton .sk-line { height: 12px; margin: 5px 0; }
.try-skeleton .sk-line.sm { height: 10px; }
.try-skeleton .sk-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.try-skeleton .sk-tile { width: 40px; height: 40px; border-radius: var(--r-md); flex: none; }
.try-skeleton .sk-button { height: 42px; border-radius: var(--r-md); }
.try-skeleton .try-status .sk, .try-skeleton .try-footer .sk { margin: 0; }
.try-skeleton .try-row .sk { margin: 4px 0; }
.try-skeleton .try-row .sk:first-child { margin-top: 2px; }
@keyframes try-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .try-skeleton .sk { animation: none; }
  .try-stage.is-live .try-status-text .dot { animation: none; }
  .try-bars i, .try-transcript summary .chevron { transition: none; }
}

