@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("/assets/fonts/montserrat-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ct-dark: #041c4d;
  --ct-base: #083899;
  --ct-bright: #0b4fd8;
  --ct-highlight: #04c8fe;
  --ct-teal: #17ddd1;
  --ct-mono-4: #e3e8ef;
  --ct-mono-5: #f4f6fb;
  --ink: #041c4d;
  --muted: #56667e;
  --line: #e3e8ef;
  --canvas: #f4f6fb;
  --white: #fff;
  --success: #08674f;
  --danger: #980019;
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #bac5d8;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 11px 16px;
  min-height: 44px;
  font-weight: 600;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover:not(:disabled) {
  background: #edf2fd;
  border-color: var(--ct-bright);
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ct-bright);
  outline-offset: 4px;
}
.rail :focus-visible,
.login-story :focus-visible {
  outline-color: var(--ct-highlight);
}
::selection {
  background: #b2edff;
  color: var(--ink);
}
input {
  caret-color: var(--ct-bright);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #bac5d8 transparent;
}
a {
  text-underline-offset: 4px;
}
.primary {
  background: var(--ct-bright);
  border-color: var(--ct-bright);
  color: white;
  white-space: nowrap;
}
.primary:hover:not(:disabled) {
  background: var(--ct-base);
  border-color: var(--ct-base);
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font:
    700 clamp(24px, 2.1vw, 32px) / 1.25 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 15px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.65;
}
small {
  font-size: 12px;
}
.rail {
  background: var(--ct-dark);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: block;
}
.brand img {
  width: 180px;
  height: auto;
  display: block;
}
.rail-client {
  padding: 44px 14px 30px;
}
.rail-client strong {
  display: block;
  font:
    700 28px/1.2 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: -0.03em;
}
.rail-client span {
  display: block;
  font-size: 11px;
  color: #b9cae9;
  margin-top: 5px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  justify-content: flex-start;
  border: 0;
  color: #c0d0ef;
  background: transparent;
  padding: 13px 14px;
  font-size: 13px;
}
nav button:hover:not(:disabled) {
  background: #102d5f;
  color: white;
}
nav button.active {
  background: #173568;
  color: white;
}
nav button.active .icon {
  color: var(--ct-highlight);
}
.rail-foot {
  margin-top: auto;
  padding: 24px 14px 0;
  font-size: 11px;
}
.rail-foot p {
  color: #b9cae9;
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.8;
}
.demo-mark {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.demo-mark:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ct-teal);
}
.demo-mark.light {
  color: var(--muted);
  font-weight: 400;
}
.demo-mark.light:before {
  background: var(--ct-bright);
}
.rail-rule {
  display: block;
  height: 1px;
  background: #24406a;
  margin-top: 24px;
}
main {
  min-width: 0;
  width: 100%;
  padding: 0 36px 24px;
  max-width: 1800px;
  margin: 0 auto;
}
#workspace:focus {
  outline: none;
}
.workspace-header {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  font-weight: 600;
}
.breadcrumb span {
  color: #8a98af;
  margin: 0 12px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 26px;
}
.intro p {
  font-size: 13px;
  margin-top: 9px;
}
.intro .primary {
  padding: 13px 20px;
}
.call-start {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.call-start label { position: relative; display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.call-start label::after { content: "⌄"; position: absolute; right: 12px; bottom: 14px; pointer-events: none; }
.call-start select {
  appearance: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  min-width: 140px;
  padding: 10px 28px 10px 12px;
}
.call-start select:disabled { opacity: .65; }
.call-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  min-height: 82px;
}
.card-head span:not(.assistant-icon) {
  font-size: 11px;
  color: var(--muted);
}
.section-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.section-title > .icon {
  color: var(--ct-bright);
}
.assistant-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ct-dark);
  color: var(--ct-highlight);
}
#status {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: right;
}
#status:before {
  content: "";
  height: 6px;
  width: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #8c9aaf;
}
body[data-call="ready"] #status:before {
  background: #078465;
}
body[data-call="responding"] #status:before {
  background: var(--ct-bright);
}
#transcript {
  height: 410px;
  overflow: auto;
  padding: 24px;
  scroll-behavior: smooth;
}
.empty {
  text-align: center;
  max-width: 420px;
  margin: auto;
  padding: 12px 0;
}
.voice-emblem {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ct-bright);
  margin: 0 auto 20px;
}
.voice-emblem svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.empty h3 {
  font:
    700 22px/1.35 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: -0.03em;
}
.empty > p {
  font-size: 12px;
  margin: 12px 0 20px;
}
.try-prompt {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.try-prompt > span {
  font-size: 11px;
  color: var(--muted);
}
.try-prompt q {
  font-size: 13px;
  line-height: 1.7;
}
.try-prompt small {
  font-size: 11px;
  color: var(--muted);
}
.bubble {
  margin-bottom: 20px;
  max-width: 94%;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--ink);
  padding: 0 4px 0 0;
}
.bubble small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.bubble.user {
  background: #edf3ff;
  border-radius: 12px 12px 2px 12px;
  padding: 12px 16px;
  margin-left: auto;
  width: fit-content;
  max-width: 88%;
}
.bubble.user small {
  color: #345582;
}
.sound-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 0;
  font-size: 13px;
}
.sound-controls button {
  padding: 8px 12px;
  font-size: 13px;
}
.call-controls {
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.call-controls button {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 11px;
}
.call-controls #stop-response:not(:disabled) {
  color: var(--ct-bright);
  border-color: #85a9ef;
  background: #edf3ff;
}
.call-controls #end:not(:disabled) {
  color: var(--danger);
  border-color: #e6c6cd;
}
.call-controls .on {
  background: #e8f6f1;
  border-color: #7abda9;
  color: var(--success);
}
#mic-state {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
body[data-call="responding"] #mic-state {
  color: var(--ct-bright);
}
#text-form {
  display: flex;
  gap: 8px;
  margin: 0 20px;
  border: 1px solid #bac5d8;
  border-radius: 8px;
  padding: 5px;
  background: white;
}
input {
  min-width: 0;
  width: 100%;
  border: 1px solid #bac5d8;
  border-radius: 8px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
}
input::placeholder {
  color: #60718b;
}
#text-form input {
  border: 0;
  padding: 7px;
  font-size: 12px;
  background: transparent;
}
#text-form button {
  background: var(--ct-bright);
  color: white;
  border: 0;
  border-radius: 5px;
  width: 36px;
  min-height: 36px;
  padding: 8px;
}
.fine {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 20px 18px;
}
.basket #draft {
  padding: 24px;
}
.draft-empty {
  padding: 12px 0 24px;
}
.draft-empty > .icon {
  color: #71839d;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}
.draft-empty h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.draft-empty p {
  font-size: 12px;
  max-width: 30ch;
}
.order-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.order-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-steps span {
  display: block;
  border: 1px solid #bac5d8;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.basket-note {
  font-size: 11px;
  color: var(--muted);
  background: #fafbfe;
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  display: flex;
  gap: 9px;
  line-height: 1.6;
}
.basket-note .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
  margin-top: 2px;
}
.pharmacy {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pharmacy small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 6px;
}
.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.line small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.6;
}
.money {
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.shipping {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}
.total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  margin-top: 12px;
  align-items: baseline;
}
.total span:first-child {
  font-size: 12px;
}
.total span:last-child {
  font:
    700 25px Montserrat,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}
.basket .fine {
  margin: 14px 0 0;
  line-height: 1.7;
}
#confirm {
  margin: 0 24px 20px;
  width: calc(100% - 48px);
  white-space: normal;
}
#created {
  margin: 0 24px 16px;
  color: var(--success);
  background: #e8f6f1;
  border-radius: 8px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.7;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--ct-bright);
  padding: 0 24px 16px;
  font-size: 12px;
  justify-content: flex-start;
}
.tools {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.tools summary {
  padding: 5px 0;
  cursor: pointer;
}
.tools p {
  margin: 12px 0;
  font-size: 12px;
}
#tool-count {
  display: inline-block;
  background: #e3e8ef;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 8px;
  font-size: 11px;
}
#tool-log {
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.9;
}
#notice:not(:empty) {
  background: #fff1f3;
  color: var(--danger);
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 13px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.footer-cross {
  margin: 0 8px;
  color: var(--ct-bright);
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.data-notice {
  font-size: 12px;
  color: #31578d;
  background: #e9f0fd;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: #f8f9fc;
}
td,
th {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f7f9fd;
}
.data-card {
  margin-bottom: 24px;
}
.data-card h3 {
  padding: 22px 20px;
  font-size: 15px;
}
.rules {
  padding: 0 20px 22px;
  display: grid;
  gap: 12px;
}
.rules p {
  font-size: 12px;
  max-width: 90ch;
}
.order-card {
  margin-bottom: 18px;
  padding: 24px;
}
.order-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.order-title strong {
  font:
    700 18px Montserrat,
    Arial,
    sans-serif;
}
.order-title small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}
.badge {
  color: var(--success);
  background: #e8f6f1;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.order-card > p {
  font-size: 12px;
  margin-top: 16px;
}
.order-card details {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
}
.order-card pre {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 340px;
  overflow: auto;
  background: var(--canvas);
  padding: 16px;
}
.order-card .table-wrap {
  margin: 0 -24px;
}
.order-card .table-wrap td,
.order-card .table-wrap th {
  padding-left: 24px;
}
.order-empty {
  padding: 50px 24px;
  text-align: center;
}
.order-empty > .icon {
  width: 32px;
  height: 32px;
  color: var(--ct-bright);
  margin-bottom: 16px;
}
.order-empty h3 {
  font:
    700 22px Montserrat,
    Arial,
    sans-serif;
}
.order-empty p {
  max-width: 45ch;
  margin: 12px auto 24px;
}
/* Auth is a separate composition; navigation appears after authentication. */
body.signed-out {
  display: block;
  background: white;
}
.signed-out .rail,
.signed-out .skip-link {
  display: none;
}
.signed-out main {
  padding: 0;
  max-width: none;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  background: var(--ct-dark);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 60px;
  isolation: isolate;
}
.login-story:after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -180px;
  right: -230px;
  width: 700px;
  height: 340px;
  transform: rotate(-7deg);
  border-radius: 34px;
  background: linear-gradient(110deg, #083899, #0b4fd8 65%, #04c8fe);
}
.login-story > img {
  width: 205px;
  height: auto;
}
.login-client {
  font:
    700 32px Montserrat,
    Arial,
    sans-serif;
  margin-bottom: 32px;
}
.login-client span {
  display: block;
  font:
    400 12px Inter,
    Arial,
    sans-serif;
  color: #b9cae9;
  margin-top: 6px;
}
.login-story h1 {
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.login-story-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: #c2d3f1;
  margin-top: 24px;
}
.login-story-foot {
  font-size: 12px;
  color: #c2d3f1;
  padding-top: 70px;
}
.login-story-foot span {
  margin: 0 12px;
  color: var(--ct-highlight);
}
.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}
.login-form-content {
  width: 100%;
  max-width: 365px;
}
.login-form-content h2 {
  font:
    700 36px/1.2 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 24px 0 18px;
}
.login-form-content > p {
  font-size: 13px;
}
.login form {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}
.login label {
  font-size: 12px;
  font-weight: 600;
}
.login input {
  height: 50px;
}
.login form button {
  margin-top: 8px;
  justify-content: space-between;
  padding: 14px 18px;
}
.login-disclaimer {
  font-size: 11px;
  color: var(--ink);
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.login-disclaimer span {
  color: var(--muted);
}
#login-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  #transcript {
    height: 460px;
  }
  .empty {
    padding-top: 32px;
  }
  main {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 1200px) {
  body {
    grid-template-columns: 194px minmax(0, 1fr);
  }
  .rail {
    padding: 28px 14px;
  }
  .brand img {
    width: 166px;
  }
  .rail-client {
    padding-left: 12px;
  }
  main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .call-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(278px, 1fr);
    gap: 16px;
  }
  .card-head {
    padding: 17px 18px;
    flex-wrap: wrap;
  }
  #transcript {
    padding: 20px;
    height: 410px;
  }
  #mic-state {
    flex-basis: 100%;
    margin: 2px 0 0;
  }
  .intro h1 {
    font-size: 25px;
  }
  .intro {
    gap: 16px;
  }
  .login-story {
    padding: 40px;
  }
}
@media (max-width: 950px) {
  body {
    grid-template-columns: 174px minmax(0, 1fr);
  }
  .brand img {
    width: 146px;
  }
  nav button {
    font-size: 11px;
    padding: 12px 9px;
    gap: 8px;
  }
  .rail-client {
    padding-left: 9px;
  }
  .rail-foot {
    padding-left: 9px;
  }
  .call-grid {
    grid-template-columns: 1fr;
  }
  .basket #draft {
    padding: 22px;
  }
  .draft-empty {
    padding: 0 0 20px;
  }
  .order-steps {
    gap: 12px;
  }
  .intro {
    align-items: flex-start;
  }
  .intro .primary {
    padding: 12px;
    font-size: 12px;
  }
  .intro h1 {
    font-size: 23px;
  }
  .intro p {
    font-size: 12px;
  }
  #mic-state {
    flex-basis: auto;
    margin-left: auto;
  }
  .login {
    grid-template-columns: 1fr 1fr;
  }
  .login-story {
    padding: 34px;
  }
  .login-form-panel {
    padding: 40px 30px;
  }
  .login-story h1 {
    font-size: 34px;
  }
  .login-form-content h2 {
    font-size: 30px;
  }
}
@media (max-width: 640px) {
  body {
    display: block;
  }
  .rail {
    position: static;
    height: auto;
    padding: 20px 18px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }
  .brand {
    align-self: center;
  }
  .brand img {
    width: 160px;
  }
  .rail-client {
    padding: 0;
    text-align: right;
  }
  .rail-client strong {
    font-size: 18px;
  }
  .rail-client span {
    font-size: 11px;
    margin-top: 2px;
  }
  .rail-foot {
    display: none;
  }
  nav {
    display: flex;
    grid-column: 1/-1;
    gap: 4px;
  }
  nav button {
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 7px 7px 0 0;
    font-size: 11px;
  }
  nav .icon {
    width: 16px;
    height: 16px;
  }
  main {
    padding: 0 16px 20px;
  }
  .workspace-header {
    height: 54px;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb span {
    margin: 0 6px;
  }
  .demo-mark {
    font-size: 11px;
  }
  .intro {
    padding: 24px 0 20px;
    flex-direction: column;
    gap: 18px;
  }
  .intro h1 {
    font-size: 26px;
    max-width: 23ch;
  }
  .intro p {
    font-size: 12px;
    max-width: 40ch;
  }
  .intro .primary {
    width: 100%;
    font-size: 13px;
  }
  .card-head {
    padding: 17px 16px;
  }
  .section-title {
    gap: 9px;
  }
  .section-title h2 {
    font-size: 13px;
  }
  .card-head span:not(.assistant-icon) {
    font-size: 11px;
  }
  .assistant-icon {
    width: 32px;
    height: 32px;
  }
  #transcript {
    height: 370px;
    padding: 20px 16px;
  }
  .empty {
    padding-top: 5px;
  }
  .empty h3 {
    font-size: 20px;
  }
  .empty > p {
    font-size: 11px;
  }
  .try-prompt q {
    font-size: 12px;
  }
  .try-prompt small {
    font-size: 11px;
  }
  .voice-emblem {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
  }
  .call-controls {
    padding: 14px 14px 12px;
    gap: 7px;
  }
  .call-controls button {
    font-size: 11px;
    min-height: 40px;
  }
  #mic-state {
    font-size: 11px;
    margin-left: 0;
    flex-basis: 100%;
  }
  #text-form {
    margin: 0 14px;
  }
  #text-form input {
    font-size: 11px;
  }
  .fine {
    font-size: 11px;
    margin-left: 14px;
    margin-right: 14px;
  }
  .bubble {
    font-size: 13px;
  }
  .basket .card-head {
    min-height: 66px;
  }
  .call-grid {
    gap: 18px;
  }
  footer {
    font-size: 11px;
    flex-direction: column;
    gap: 7px;
    margin-top: 24px;
  }
  .order-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .order-card {
    padding: 20px;
  }
  .order-card .table-wrap {
    margin: 0 -20px;
  }
  .order-title strong {
    font-size: 16px;
  }
  .data-card h3 {
    font-size: 14px;
  }
  .data-notice {
    font-size: 11px;
  }
  td,
  th {
    padding: 13px 16px;
  }
  .login {
    min-height: 100vh;
    display: block;
  }
  .login-story {
    padding: 26px 26px 32px;
    min-height: 290px;
  }
  .login-story > img {
    width: 175px;
  }
  .login-story-copy {
    margin-top: 32px;
  }
  .login-client {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .login-client span {
    font-size: 11px;
  }
  .login-story h1 {
    font-size: 29px;
    max-width: 18ch;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story-copy > p,
  .login-story-foot {
    display: none;
  }
  .login-story:after {
    bottom: -250px;
    right: -440px;
  }
  .login-form-panel {
    padding: 32px 26px 40px;
    justify-content: flex-start;
  }
  .login-form-content {
    max-width: none;
  }
  .login-form-content h2 {
    font-size: 28px;
    margin: 16px 0 12px;
  }
  .login-form-content h2 br {
    display: none;
  }
  .login-form-content > p {
    font-size: 12px;
  }
  .login form {
    margin-top: 24px;
  }
  .login-disclaimer {
    margin-top: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Supporting copy remains readable at every viewport. */
.empty > p,
.basket-note,
.rules p,
.login-form-content > p,
.order-empty p {
  font-size: 12px;
}
/* Contextual demo reference: pharmacy first, then basket and available products. */
.guide-intro p,
.guide-example,
.basket-empty-hint {
  font-size: 12px;
  line-height: 1.7;
}
.pharmacy-options,
.product-options {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pharmacy-options li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pharmacy-option-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pharmacy-option-heading strong {
  font-size: 13px;
  font-weight: 600;
}
.pharmacy-code {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ct-bright);
  background: #edf3ff;
  border-radius: 5px;
  padding: 3px 7px;
}
.pharmacy-options p {
  margin-top: 7px;
  font-size: 11px;
}
.account-discount {
  display: block;
  font-size: 11px;
  color: var(--success);
  margin-top: 5px;
}
.guide-example {
  margin-top: 18px;
  color: var(--ink);
}
#demo-guide {
  border-top: 1px solid var(--line);
  padding: 22px 24px 16px;
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.catalog-heading h3 {
  font-size: 14px;
}
.catalog-heading > span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.catalog-hint {
  font-size: 12px;
  margin-top: 8px;
}
.catalog-pricing {
  font-size: 11px;
  margin: 10px 0 4px;
}
.product-option {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.product-option:last-child {
  border-bottom: 0;
}
.product-option strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.product-option div > span {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.product-option small {
  display: inline;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.product-price {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#more-products summary {
  color: var(--ct-bright);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;
}
@media (max-width: 640px) {
  #demo-guide {
    padding: 20px;
  }
}
.demo-terms {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.demo-terms h3 {
  font-size: 14px;
}
.demo-terms > p {
  font-size: 12px;
  margin-top: 8px;
}
.offer-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #e8f6f1;
}
.offer-note strong {
  color: var(--success);
  font-size: 12px;
}
.offer-note p {
  margin-top: 6px;
  font-size: 11px;
  color: #245849;
}
.product-option strong .offer-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 6px;
  font-size: 11px;
  border-radius: 4px;
  color: var(--success);
  background: #e8f6f1;
}
.line small.applied-offer {
  color: var(--success);
  font-size: 11px;
  line-height: 1.6;
}
.order-card td:nth-child(3) {
  white-space: normal;
  min-width: 170px;
  max-width: 340px;
}

#notice[data-tone="info"] {
  color: var(--ct-navy, #0b2051);
  background: #edf3ff;
}

/* One locale controls interface copy and the next call's recognition language. */
.header-options { display: flex; align-items: center; gap: 24px; }
.locale-picker { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.locale-picker::after { content: "⌄"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.locale-picker select { appearance: none; font: inherit; font-size: 14px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; min-height: 40px; padding: 8px 28px 8px 12px; }
.locale-picker select:disabled { opacity: .65; }
.login-form-content > .locale-picker { justify-content: flex-end; margin-bottom: 24px; }
@media (max-width: 700px) {
  .header-options { gap: 10px; }
  .header-options > .demo-mark { display: none; }
  .workspace-header { height: auto; min-height: 78px; gap: 10px; flex-wrap: wrap; padding: 12px 0; }
}

/* Neutral Order Assistant artwork; preserve the source aspect ratio and colours. */
.order-assistant-logo { display: block; width: 160px; height: auto; max-width: 100%; }
.login-client .order-assistant-logo { width: 200px; }
@media (max-width: 700px) {
  .rail-client .order-assistant-logo { width: 112px; margin-left: auto; }
}

/* Order Assistant is the service name; Customertimes appears only as a smaller maker credit. */
.rail .brand { padding: 4px 0 34px; }
.rail .brand .order-assistant-logo { width: 200px; max-width: 100%; height: auto; }
.login-story > .order-assistant-logo { width: 200px; height: auto; }
.partner-credit, .login-story-foot { display: inline-flex; align-items: center; gap: 12px; }
.partner-credit img { display: block; width: 120px; height: auto; }
.login-story-foot img { display: block; width: 140px; height: auto; }
.login-story-foot span { color: #b9cae9; padding: 0; }
.header-options { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.logout-button { min-height: 40px; white-space: nowrap; font-size: 12px; padding: 8px 12px; }
.logout-button .icon { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .rail .brand { padding: 0 0 6px; }
  .rail .brand .order-assistant-logo { width: 180px; }
  .header-options { flex-basis: 100%; justify-content: space-between; gap: 8px; }
  .logout-button { padding: 8px 10px; }
  .login-story-foot { display: none; }
}

@media (max-width: 400px) {
  .header-options .locale-picker > span { display: none; }
}

.product-packshot { object-fit: contain; flex: 0 0 48px; background: white; border-radius: 8px; }

/* Delivery destinations of one order */
.delivery-plan { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line, #e3e7ee); }
.delivery-plan h3 { margin: 0 0 8px; font-size: 13px; }
.delivery-stop { margin-bottom: 10px; overflow-wrap: anywhere; }
.delivery-stop small { display: block; }
.order-delivery { margin-top: 16px; }
.order-delivery h4 { margin: 0 0 4px; font-size: 14px; overflow-wrap: anywhere; }
.order-delivery-total { text-align: right; }
