/* Only preview sizing lives here. The actual controls, cards and colors come from redesign.css. */
html { height: 100%; background: #f4f7fa; }
body.workspace.product-demo { height: 100%; min-height: 0; overflow: hidden; display: flex; flex-direction: column; font-size: 13px; }
.product-demo button { font: inherit; }
.demo-browser { display: flex; flex: 0 0 34px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); color: #778295; }
.demo-traffic { display: flex; gap: 5px; width: 40px; }
.demo-traffic i { width: 7px; height: 7px; border-radius: 50%; background: #e0e5eb; }
.demo-traffic i:first-child { background: #f7b4b5; }
.demo-traffic i:nth-child(2) { background: #f4d57e; }
.demo-traffic i:nth-child(3) { background: #a9d9b3; }
.demo-address { font-size: 10px; letter-spacing: .02em; display: flex; gap: 6px; align-items: center; }
.demo-address i { font-size: 8px; color: #8d99aa; }
.demo-browser-end { width: 40px; }
.demo-workspace { position: relative; flex: 1; display: flex; min-height: 0; overflow: hidden; }
.product-demo .app-sidebar { position: static; inset: auto; width: 116px; flex: 0 0 116px; justify-content: flex-start; align-items: stretch; gap: 0; border-inline-end: 1px solid var(--line); border-right: 0; padding: 22px 8px 14px; z-index: 1; }
.product-demo .app-brand { padding: 0 6px 23px; width: 100%; max-width: none; flex: 0 0 auto; }
.product-demo .app-brand img { width: 94px; max-width: 100%; }
body.product-demo .app-sidebar > .app-brand { flex: 0 0 auto; max-width: 100%; }
body.product-demo .app-sidebar > .app-brand img { width: 94px; max-width: 100%; }
.product-demo .app-navigation { position: static; inset: auto; display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; backdrop-filter: none; background: transparent; }
.product-demo .app-navigation button, .product-demo .demo-account { display: flex; align-items: center; flex-direction: row; justify-content: flex-start; gap: 8px; width: 100%; min-height: 38px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #536176; font-size: 10px; font-weight: 650; text-align: start; line-height: 1.4; }
.product-demo .app-navigation button:hover { background: #f4f6f8; }
.product-demo .app-navigation button.active { background: var(--pink); color: var(--ink); }
.product-demo .app-navigation i { width: 13px; text-align: center; font-size: 12px; flex: 0 0 13px; }
.product-demo .demo-account { color: #7a8596; }
.product-demo .sidebar-bottom { display: block; padding: 12px 0 0; }
.product-demo .sidebar-credits { gap: 7px; padding: 9px 7px; border-radius: 8px; font-size: 10px; }
.product-demo .sidebar-credits > i:first-child { font-size: 13px; }
.product-demo .sidebar-credits small { font-size: 8px; }
.product-demo .app-main { margin: 0; padding: 0 18px 12px; flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; max-width: none; overflow: hidden; }
.product-demo .workspace-topline { display: flex; flex-shrink: 0; height: 28px; margin: 0 0 4px; font-size: 8px; letter-spacing: .08em; }
.demo-scene { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d7dfe9 transparent; }
.demo-scene[data-view="request"] { display: flex; flex-direction: column; overflow: hidden; }
.demo-scene[data-view="request"] .request-fields { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d7dfe9 transparent; }
.demo-scene[data-view="request"] .call-types, .demo-scene[data-view="request"] .page-heading, .demo-submit { flex-shrink: 0; }
.demo-online { width: 5px; height: 5px; border-radius: 50%; background: #74b38c; }
.product-demo .call-types { width: 100%; margin: 0 0 12px; padding: 3px; gap: 3px; border-radius: 8px; }
.product-demo .call-types > span { display: flex; align-items: center; justify-content: center; flex: 1; gap: 7px; padding: 5px; border-radius: 6px; color: #627087; font-size: 11px; font-weight: 650; line-height: 1.4; }
.product-demo .call-types > span.active { background: #fff0c3; color: var(--ink); }
.product-demo .call-types i { font-size: 11px; }
.product-demo .page-heading { margin: 0 0 13px; }
.product-demo .page-heading h1 { font-size: clamp(21px, 4.2vw, 27px); line-height: 1.13; letter-spacing: -.8px; margin: 0 0 6px; font-weight: 800; }
.product-demo .page-heading h1:focus { outline: none; }
.product-demo .page-heading p { font-size: 11px; line-height: 1.6; }
.product-demo .form-section { padding: 10px; border-radius: 10px; margin: 0 0 8px; }
.product-demo .section-title { margin-bottom: 6px; gap: 6px; }
.product-demo .form-section h2, .product-demo .section-title h2 { font-size: 13px; margin: 0; max-width: none; line-height: 1.4; letter-spacing: -.2px; }
.product-demo .section-title > i { color: #8d99aa; font-size: 11px; }
.product-demo .quiet-badge { font-size: 9px; padding: 3px 6px; }
.product-demo .stay-fields { grid-template-columns: minmax(0, 1.5fr) minmax(75px, 1fr); gap: 12px; }
.demo-label { display: block; color: #627087; font-size: 10px; font-weight: 550; margin-bottom: 5px; }
.demo-choice { display: flex; gap: 4px; }
.demo-choice button { flex: 1; padding: 7px 4px; min-height: 32px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; font-weight: 600; background: #fff; color: #627087; }
.demo-choice button[aria-pressed="true"] { background: #fff0d3; border-color: #e7c578; color: #694b08; }
.demo-input { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 32px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #465165; font-size: 10px; line-height: 1.4; }
.demo-input > i { font-size: 10px; color: #8d99aa; flex-shrink: 0; }
.demo-search { background: #f8fafc; }
.demo-search-found { margin-inline-start: auto; color: #627087; font-size: 9px; text-align: end; }
.demo-contacts { margin-top: 8px; }
.product-demo .phone-row.demo-contact { gap: 8px; border: 1px solid #e5ebf2; padding: 5px 8px; margin-bottom: 5px; border-radius: 6px; animation: demo-contact-in 320ms cubic-bezier(.2,0,0,1) both; animation-delay: calc(var(--order) * 90ms); }
.product-demo .phone-row.demo-contact:last-child { margin-bottom: 0; }
.product-demo .demo-contact .phone-fields { display: block; }
.demo-contact strong { display: block; font-size: 11px; font-weight: 650; line-height: 1.4; }
.demo-contact small { display: none; }
.demo-contact-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 5px; background: #f1f4f8; color: #7c8ba0; font-size: 11px; }
.demo-selected { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: #e3f3e5; color: #37764a; font-size: 8px; }
.demo-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0 0; }
.demo-submit > div { min-width: 0; flex: 1; }
.demo-submit strong { display: block; font-size: 11px; }
.demo-submit small { display: block; font-size: 9px; color: #7b8797; margin-top: 2px; }
.product-demo .demo-submit .primary-action { flex: 0 1 auto; width: auto; min-height: 36px; padding: 9px 12px; font-size: 10px; gap: 6px; border-radius: 7px; }
.demo-call-progress { display: flex; align-items: center; gap: 14px; padding: 17px 13px; background: #fff9df; border: 1px solid #f1e6b2; border-radius: 10px; margin-bottom: 14px; }
.demo-call-progress strong { display: block; font-size: 13px; }
.demo-call-progress small { display: block; margin-top: 3px; font-size: 10px; color: #8b7c48; }
.demo-wave { height: 35px; display: flex; align-items: center; gap: 3px; flex-shrink: 0; padding: 0 4px; }
.demo-wave i { display: block; width: 3px; height: 25px; border-radius: 3px; background: #b59b20; transform: scaleY(.3); animation: demo-wave 900ms ease-in-out infinite alternate; animation-delay: calc(var(--bar) * -110ms); }
.demo-status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: demo-dot 1.2s ease-in-out infinite; }
.product-demo .result-card { padding: 13px; border-radius: 10px; margin: 0 0 10px; animation: demo-contact-in 320ms cubic-bezier(.2,0,0,1) both; animation-delay: calc(var(--order) * 70ms); }
.product-demo .result-card-header { gap: 9px; margin: 0 0 10px; flex-wrap: nowrap; }
.product-demo .result-icon { width: 30px; height: 32px; font-size: 13px; border-radius: 7px; }
.product-demo .result-identity h2 { font-size: 12px; line-height: 1.4; letter-spacing: -.15px; margin: 0 0 3px; }
.product-demo .result-meta { font-size: 9px; }
.product-demo .status-badge, .product-demo .result-card-header .status-badge { flex: 0 0 auto; margin: 0; max-width: 45%; white-space: normal; font-size: 8px; padding: 3px 5px; border-radius: 4px; line-height: 1.4; }
.product-demo .result-summary { font-size: 10px; line-height: 1.65; margin: 7px 0 0; display: block; }
.demo-call-list .result-summary { margin-inline-start: 39px; }
.demo-results-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; font-size: 9px; color: #7b8797; margin: 0 0 12px; }
.demo-results-summary > span:first-child { display: flex; align-items: center; gap: 5px; color: #39744b; font-weight: 600; }
.demo-scene[data-view="results"] .demo-results-list { max-height: 335px; overflow-y: auto; padding-inline-end: 3px; scrollbar-width: thin; scrollbar-color: #d7dfe9 transparent; }
.demo-quote { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 10px; color: #627087; border-bottom: 1px solid #edf1f5; }
.demo-quote strong { font-size: 23px; font-weight: 750; line-height: 1.2; letter-spacing: -.6px; color: var(--ink); }
.product-demo .result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 7px; padding-top: 8px; margin-top: 8px; border-top: 1px solid #edf1f5; }
.product-demo .result-actions label, .product-demo .comparison-select { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 500; color: #627087; }
.product-demo input[type="checkbox"] { accent-color: #1557d2; width: 12px; height: 12px; margin: 0; }
.product-demo .text-action { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; min-height: 26px; font-size: 10px; }
.product-demo .text-action:disabled { cursor: default; opacity: .45; }
.demo-compare-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; font-size: 9px; color: #7b8797; padding-top: 2px; }
.product-demo .demo-transcript { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 9px; }
.demo-transcript h3 { font-size: 12px; margin: 0 0 10px; }
.demo-transcript p, .demo-transcript blockquote { font-size: 11px; line-height: 1.65; margin: 0 0 9px; }
.demo-transcript .demo-speaker { font-size: 9px; font-weight: 700; color: #627087; margin-bottom: 3px; }
.demo-transcript blockquote { padding: 10px; border-inline-start: 2px solid #b4d9bc; background: #f2f9f3; border-radius: 0 6px 6px 0; }
.demo-table-scroll { overflow-x: auto; }
.demo-comparison table { border-collapse: collapse; width: 100%; font-size: 11px; text-align: start; }
.demo-comparison th, .demo-comparison td { text-align: start; padding: 14px 8px; border-bottom: 1px solid #edf1f5; }
.demo-comparison thead th { color: #627087; font-size: 9px; font-weight: 600; }
.demo-comparison tbody th { font-weight: 600; }
.demo-comparison .field-hint { font-size: 10px; line-height: 1.65; margin-top: 13px; }
.demo-controls { background: white; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; padding: 10px 13px 8px; gap: 6px; flex-shrink: 0; }
.demo-steps { display: flex; flex: 1; gap: 4px; min-width: 0; }
.demo-steps button { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-width: 0; min-height: 32px; padding: 6px; border-radius: 6px; border: 0; color: #7b8797; background: transparent; font-size: 10px; font-weight: 650; }
.demo-steps button[aria-pressed="true"] { color: #141923; background: #fff5c4; }
.demo-step-number { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #dfe6ed; border-radius: 50%; font-size: 8px; flex: 0 0 17px; }
.demo-steps button[aria-pressed="true"] .demo-step-number { border-color: #d9bb31; background: #ffda18; }
.demo-play { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #536176; font-size: 10px !important; }
.demo-disclaimer { flex-basis: 100%; font-size: 9px; color: #7b8797; text-align: center; margin: 0; line-height: 1.4; }
.demo-caption { margin-inline: auto; display: flex; align-items: center; gap: 7px; min-height: 22px; font-size: 10px; color: #627087; }
.demo-caption--recording { font-size: 9px; line-height: 1.5; max-width: 100%; }
.demo-caption--recording > i { flex-shrink: 0; }
.product-demo[data-scenario="colombia"] .app-main, .product-demo[data-scenario="lithuania"] .app-main { padding: 0 24px 16px; }
.product-demo[data-scenario="colombia"] .workspace-topline, .product-demo[data-scenario="lithuania"] .workspace-topline { margin-bottom: 20px; }
.product-demo .demo-recorded-result { padding: 20px; }
.demo-rate-comparison { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0 22px; padding: 20px 0; border-block: 1px solid #e8edf2; gap: 12px; }
.demo-rate-comparison dt { font-size: 10px; color: #7b8797; margin-bottom: 6px; }
.demo-rate-comparison dd { margin: 0; font-size: clamp(19px, 5vw, 29px); font-weight: 750; letter-spacing: -.8px; }
.demo-rate-comparison > div:last-child dd { color: #28643a; }
.demo-recording h3 { display: flex; align-items: center; gap: 7px; font-size: 12px; margin: 0 0 6px; }
.demo-recording p { font-size: 10px; line-height: 1.6; color: #7b8797; margin: 0 0 12px; }
.demo-recording audio { display: block; width: 100%; height: 38px; }
.demo-no-script { padding: 30px; }
body[data-running="false"] .demo-wave i, body[data-running="false"] .demo-status-dot { animation-play-state: paused; }
@keyframes demo-contact-in { from { transform: translateY(7px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes demo-wave { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes demo-dot { 50% { opacity: .35; } }
@media (max-width: 440px) {
  .product-demo .app-sidebar { flex-basis: 60px; width: 60px; padding: 20px 5px 10px; }
  .product-demo .app-brand { padding: 0 0 17px; }
  body.product-demo .app-sidebar > .app-brand img { width: 100%; max-width: 100%; height: auto; }
  .product-demo .app-navigation button, .product-demo .demo-account { flex-direction: column; gap: 5px; padding: 9px 3px; text-align: center; font-size: 8px; }
  .product-demo .app-navigation i { font-size: 14px; }
  .product-demo .sidebar-bottom { display: none; }
  .product-demo .app-main { padding-inline: 12px; }
  .product-demo .page-heading h1 { font-size: 23px; }
  .product-demo .page-heading p { font-size: 10px; }
  .demo-submit { align-items: stretch; }
  .product-demo .demo-submit .primary-action { width: 100%; }
  .demo-steps button { gap: 4px; font-size: 9px; padding-inline: 3px; }
  .demo-controls { padding-inline: 8px; }
  .demo-compare-bar > span { display: none; }
  .product-demo .demo-recorded-result { padding: 14px; }
  .product-demo[data-scenario="colombia"] .app-main, .product-demo[data-scenario="lithuania"] .app-main { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-demo *, .product-demo *::before, .product-demo *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .demo-play { display: none; }
}
