.profession-demo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #0d6efd;
    border-radius: 999px;
    background: #fff;
    color: #0d6efd;
    padding: 10px 18px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(13, 110, 253, .12);
}

.profession-demo-cta:hover,
.profession-demo-cta:focus-visible {
    border-color: #0b5ed7;
    background: #fff;
    color: #0b5ed7;
    box-shadow: 0 12px 28px rgba(13, 110, 253, .2);
}

.profession-demo-cta i {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
}

.profession-demo-image-trigger {
    position: absolute;
    z-index: 6;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: pointer;
}

.profession-demo-image-trigger:hover,
.profession-demo-image-trigger:focus-visible {
    color: #fff;
    background: transparent;
}

.profession-demo-image-trigger i {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 5px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-size: 2.35rem;
    line-height: 1;
    padding-left: 4px;
    box-shadow:
        0 18px 40px rgba(18, 37, 60, .3),
        0 0 0 10px rgba(255, 255, 255, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.profession-demo-image-trigger:hover i,
.profession-demo-image-trigger:focus-visible i {
    transform: scale(1.08);
    box-shadow:
        0 20px 44px rgba(18, 37, 60, .36),
        0 0 0 12px rgba(255, 255, 255, .23);
}

.demo-audio-modal[hidden],
.js-demo-audio-trigger[hidden],
.demo-audio-turn[hidden],
.demo-audio-transcript-placeholder[hidden] {
    display: none !important;
}

body.demo-audio-open {
    overflow: hidden;
}

body.demo-transcript-open {
    overflow: hidden;
}

.demo-audio-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.demo-transcript-callout {
    display: flex;
    justify-content: center;
    margin: 18px 0px;
}

.demo-transcript-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--profession-border, #dbe4ee);
    border-radius: 999px;
    background: #fff;
    color: var(--profession-text, #12253c);
    padding: 9px 15px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: 0 8px 22px rgba(18, 37, 60, .055);
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.demo-transcript-open i {
    color: var(--accent-color, #0d6efd);
}

.demo-transcript-open:hover,
.demo-transcript-open:focus-visible {
    border-color: color-mix(in srgb, var(--accent-color, #0d6efd), #fff 35%);
    color: var(--accent-color, #0d6efd);
    box-shadow: 0 10px 26px rgba(18, 37, 60, .09);
}

.demo-transcript-modal[hidden] {
    display: none !important;
}

.demo-transcript-modal {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.demo-transcript-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 37, 60, .54);
    backdrop-filter: blur(7px);
}

.demo-transcript-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(820px, 100%);
    max-height: 85vh;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    background: var(--profession-accent-soft, #f6f9fc);
    box-shadow: 0 28px 70px rgba(18, 37, 60, .28);
    overflow: hidden;
}

.demo-transcript-header {
    padding: 26px 30px 18px;
    border-bottom: 1px solid var(--profession-border, #dbe4ee);
}

.demo-transcript-header h2 {
    margin: 0;
    color: var(--profession-text, #12253c);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.16;
}

.demo-transcript-header p {
    margin: 8px 44px 0 0;
    color: var(--profession-muted, #64748b);
    font-size: .94rem;
    line-height: 1.55;
}

.demo-transcript-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--profession-border, #dbe4ee);
    border-radius: 50%;
    background: #fff;
    color: var(--profession-text, #12253c);
    box-shadow: 0 8px 18px rgba(18, 37, 60, .08);
}

.demo-transcript-close:hover,
.demo-transcript-close:focus-visible {
    color: var(--accent-color, #0d6efd);
    border-color: color-mix(in srgb, var(--accent-color, #0d6efd), #fff 35%);
}

.demo-transcript-body {
    display: grid;
    align-content: start;
    gap: 12px;
    overflow: auto;
    padding: 22px 30px;
    background: rgba(255, 255, 255, .72);
}

.demo-transcript-turn {
    max-width: 88%;
    border: 1px solid var(--profession-border, #dbe4ee);
    border-radius: 16px;
    background: #fff;
    padding: 13px 15px;
    color: var(--profession-text, #12253c);
    box-shadow: 0 8px 22px rgba(18, 37, 60, .045);
}

.demo-transcript-turn--everoo {
    border-color: color-mix(in srgb, var(--accent-color, #0d6efd), #fff 68%);
    background: color-mix(in srgb, var(--accent-color, #0d6efd), #fff 94%);
}

.demo-transcript-turn--customer {
    justify-self: end;
}

.demo-transcript-speaker {
    display: block;
    margin-bottom: 5px;
    color: var(--profession-text, #12253c);
    font-size: .78rem;
    line-height: 1.25;
}

.demo-transcript-turn p {
    margin: 0;
    color: inherit;
    font-size: .95rem;
    line-height: 1.58;
}

.demo-transcript-disclaimer {
    margin: 0;
    padding: 13px 30px 18px;
    border-top: 1px solid var(--profession-border, #dbe4ee);
    color: var(--profession-muted, #6c757d);
    font-size: .72rem;
    line-height: 1.55;
}

.demo-audio-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 37, 60, .54);
    backdrop-filter: blur(7px);
}

.demo-audio-dialog {
    --demo-blue: var(--accent-color);
    --demo-green: var(--profession-accent);
    --demo-purple: #7c3aed;
    --demo-border: var(--profession-border, #dbe4ee);
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    background:var(--profession-accent-soft);
    color: var(--profession-text);
    padding: 40px;
    box-shadow: 0 34px 90px rgba(11, 31, 57, .28);
    overscroll-behavior: contain;
}

.demo-audio-close {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--demo-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--demo-blue);
    font-size: 1.15rem;
}

.demo-audio-close:hover,
.demo-audio-close:focus-visible {
    border-color: var(--demo-blue);
    background: color-mix(in srgb, var(--demo-blue), white 94%);
}

.demo-audio-header {
    padding-right: 56px;
}

.demo-audio-header h2 {
max-width: 980px;
    margin: 0 0 10px;
    color: var(--profession-text);
    font-size: 2.2rem;
    line-height: 1.08;
}

.demo-audio-header > p {
    margin: 0;
    color: var(--profession-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.demo-audio-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.demo-audio-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid var(--demo-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    padding: 7px 13px;
    color: var(--profession-text);
    font-size: .78rem;
    font-weight: 750;
}

.demo-audio-badges i {
    color: var(--demo-blue);
    font-size: .95rem;
}

.demo-audio-badges span:nth-child(3) i {
    color: var(--demo-purple);
}

.demo-audio-badges span:nth-child(4) i {
    color: var(--demo-green);
}

.demo-audio-language-panel {
    display: grid;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--demo-blue), white 68%);
    border-radius: 14px;
    background: color-mix(in srgb, var(--demo-blue), white 96%);
    padding: 10px 12px;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .06);
}

.demo-audio-language-panel:has(.demo-audio-language-switcher[hidden]) {
    display: none;
}

.demo-audio-language-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.demo-audio-language-switcher[hidden] {
    display: none;
}

.demo-audio-language-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border: 1.5px solid color-mix(in srgb, var(--demo-blue), white 58%);
    border-radius: 999px;
    background: #fff;
    padding: 8px 16px;
    color: var(--profession-text);
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.demo-audio-language-tab:hover,
.demo-audio-language-tab:focus-visible {
    border-color: color-mix(in srgb, var(--demo-blue), white 22%);
    background: color-mix(in srgb, var(--demo-blue), white 94%);
    color: var(--demo-blue);
}

.demo-audio-language-tab.is-active {
    border-color: var(--demo-blue);
    background: var(--demo-blue);
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--demo-blue), transparent 76%);
}

.demo-audio-language-flag {
    font-size: 1.05rem;
    line-height: 1;
}

.demo-audio-language-info {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-basis: auto;
    margin-left: 2px;
    color: var(--profession-muted);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: default;
}

.demo-audio-language-info i {
    color: var(--demo-blue);
}

.demo-audio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.78fr) minmax(290px, .82fr);
    gap: 20px;
    margin-top: 22px;
}

.demo-audio-main,
.demo-audio-sidebar {
    display: grid;
    align-content: stretch;
    gap: 12px;
    min-width: 0;
}

.demo-audio-main {
    grid-template-rows: auto auto auto minmax(0, 1fr);
}

.demo-audio-sidebar {
    grid-template-rows: auto minmax(0, 1fr);
}

.demo-audio-disclaimer {
    margin: 16px 4px 0;
    padding-top: 12px;
    border-top: 1px solid rgba(18, 37, 60, .1);
    color: var(--profession-muted, #6c757d);
    font-size: .72rem;
    line-height: 1.55;
}

.demo-audio-player-card,
.demo-audio-scenario-card,
.demo-audio-transcript-card,
.demo-audio-features-card,
.demo-audio-lead-card {
    border: 1px solid var(--demo-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 32px rgba(18, 37, 60, .055);
}

.demo-audio-player-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
}

.demo-audio-card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 0;
    border-bottom: 0;
    white-space: nowrap;
}

.demo-audio-card-title i {
    color: var(--demo-blue);
}

.demo-audio-card-title strong {
    font-size: .76rem;
}

.demo-audio-player {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding-top: 0;
}

.demo-audio-play {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid color-mix(in srgb, var(--demo-blue), transparent 88%);
    border-radius: 50%;
    background: var(--demo-blue);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--demo-blue), transparent 78%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.demo-audio-play:hover,
.demo-audio-play:focus-visible {
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 9px 20px color-mix(in srgb, var(--demo-blue), transparent 66%);
}

.demo-audio-track-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.demo-audio-waveform {
    position: relative;
    display: block;
    width: 100%;
    height: 20px;
    overflow: hidden;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.demo-audio-waveform-bars,
.demo-audio-waveform-progress {
    position: absolute;
    inset: 0;
    background-repeat: repeat-x;
    background-position: left center;
    background-size: 240px 48px;
    -webkit-mask-image: linear-gradient(90deg, #000, #000);
    mask-image: linear-gradient(90deg, #000, #000);
}

.demo-audio-waveform-bars {
    opacity: .32;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cg fill='%230b7ff0'%3E%3Crect x='2' y='17' width='3' height='14' rx='1.5'/%3E%3Crect x='9' y='10' width='3' height='28' rx='1.5'/%3E%3Crect x='16' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='23' y='5' width='3' height='38' rx='1.5'/%3E%3Crect x='30' y='12' width='3' height='24' rx='1.5'/%3E%3Crect x='37' y='19' width='3' height='10' rx='1.5'/%3E%3Crect x='44' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='51' y='14' width='3' height='20' rx='1.5'/%3E%3Crect x='58' y='2' width='3' height='44' rx='1.5'/%3E%3Crect x='65' y='11' width='3' height='26' rx='1.5'/%3E%3Crect x='72' y='16' width='3' height='16' rx='1.5'/%3E%3Crect x='79' y='7' width='3' height='34' rx='1.5'/%3E%3Crect x='86' y='13' width='3' height='22' rx='1.5'/%3E%3Crect x='93' y='18' width='3' height='12' rx='1.5'/%3E%3Crect x='100' y='9' width='3' height='30' rx='1.5'/%3E%3Crect x='107' y='4' width='3' height='40' rx='1.5'/%3E%3Crect x='114' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='121' y='11' width='3' height='26' rx='1.5'/%3E%3Crect x='128' y='19' width='3' height='10' rx='1.5'/%3E%3Crect x='135' y='6' width='3' height='36' rx='1.5'/%3E%3Crect x='142' y='13' width='3' height='22' rx='1.5'/%3E%3Crect x='149' y='9' width='3' height='30' rx='1.5'/%3E%3Crect x='156' y='16' width='3' height='16' rx='1.5'/%3E%3Crect x='163' y='3' width='3' height='42' rx='1.5'/%3E%3Crect x='170' y='12' width='3' height='24' rx='1.5'/%3E%3Crect x='177' y='17' width='3' height='14' rx='1.5'/%3E%3Crect x='184' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='191' y='14' width='3' height='20' rx='1.5'/%3E%3Crect x='198' y='6' width='3' height='36' rx='1.5'/%3E%3Crect x='205' y='18' width='3' height='12' rx='1.5'/%3E%3Crect x='212' y='10' width='3' height='28' rx='1.5'/%3E%3Crect x='219' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='226' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='233' y='17' width='3' height='14' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.demo-audio-waveform-progress {
    width: 0;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cg fill='%2300a555'%3E%3Crect x='2' y='17' width='3' height='14' rx='1.5'/%3E%3Crect x='9' y='10' width='3' height='28' rx='1.5'/%3E%3Crect x='16' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='23' y='5' width='3' height='38' rx='1.5'/%3E%3Crect x='30' y='12' width='3' height='24' rx='1.5'/%3E%3Crect x='37' y='19' width='3' height='10' rx='1.5'/%3E%3Crect x='44' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='51' y='14' width='3' height='20' rx='1.5'/%3E%3Crect x='58' y='2' width='3' height='44' rx='1.5'/%3E%3Crect x='65' y='11' width='3' height='26' rx='1.5'/%3E%3Crect x='72' y='16' width='3' height='16' rx='1.5'/%3E%3Crect x='79' y='7' width='3' height='34' rx='1.5'/%3E%3Crect x='86' y='13' width='3' height='22' rx='1.5'/%3E%3Crect x='93' y='18' width='3' height='12' rx='1.5'/%3E%3Crect x='100' y='9' width='3' height='30' rx='1.5'/%3E%3Crect x='107' y='4' width='3' height='40' rx='1.5'/%3E%3Crect x='114' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='121' y='11' width='3' height='26' rx='1.5'/%3E%3Crect x='128' y='19' width='3' height='10' rx='1.5'/%3E%3Crect x='135' y='6' width='3' height='36' rx='1.5'/%3E%3Crect x='142' y='13' width='3' height='22' rx='1.5'/%3E%3Crect x='149' y='9' width='3' height='30' rx='1.5'/%3E%3Crect x='156' y='16' width='3' height='16' rx='1.5'/%3E%3Crect x='163' y='3' width='3' height='42' rx='1.5'/%3E%3Crect x='170' y='12' width='3' height='24' rx='1.5'/%3E%3Crect x='177' y='17' width='3' height='14' rx='1.5'/%3E%3Crect x='184' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='191' y='14' width='3' height='20' rx='1.5'/%3E%3Crect x='198' y='6' width='3' height='36' rx='1.5'/%3E%3Crect x='205' y='18' width='3' height='12' rx='1.5'/%3E%3Crect x='212' y='10' width='3' height='28' rx='1.5'/%3E%3Crect x='219' y='15' width='3' height='18' rx='1.5'/%3E%3Crect x='226' y='8' width='3' height='32' rx='1.5'/%3E%3Crect x='233' y='17' width='3' height='14' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.demo-audio-waveform-bars,
.demo-audio-waveform-progress {
    display: flex;
    align-items: center;
    gap: 3px;
    background-image: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.demo-audio-waveform-bars i,
.demo-audio-waveform-progress i {
    display: block;
    width: 3px;
    min-width: 2px;
    border-radius: 999px;
    background: currentColor;
}

.demo-audio-waveform-bars {
    color: var(--demo-blue);
}

.demo-audio-waveform-progress {
    color: var(--demo-green);
}

.demo-audio-times {
    display: flex;
    justify-content: end;
    gap: 10px;
    min-width: 150px;
    margin-top: 0;
    color: var(--profession-muted);
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.demo-audio-times span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

#demoAudioTotalTime::before {
    content: "Durata";
    color: color-mix(in srgb, var(--profession-muted), white 18%);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.demo-audio-volume {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    color: var(--profession-muted);
}

.demo-audio-volume input {
    width: min(180px, 45%);
    accent-color: var(--demo-blue);
}

.demo-audio-error {
    margin: 8px 0 0;
    border-radius: 10px;
    background: #fff4f4;
    padding: 9px 11px;
    color: #a52b2b;
    font-size: .78rem;
}

.demo-audio-transcript-card,
.demo-audio-features-card,
.demo-audio-lead-card {
    padding: 18px;
}

.demo-audio-transcript-card,
.demo-audio-lead-card {
    height: 100%;
}

.demo-audio-transcript-card {
    display: flex;
    flex-direction: column;
}

.demo-audio-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.demo-audio-section-heading span {
    display: block;
    margin-bottom: 2px;
    color: var(--demo-blue);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.demo-audio-section-heading h3,
.demo-audio-lead-card h3 {
    margin: 0;
    color: var(--profession-text);
    font-size: 1rem;
    font-weight: 800;
}

.demo-audio-section-heading small {
    color: var(--profession-muted);
    font-size: .7rem;
}

.demo-audio-transcript {
    display: grid;
    flex: 1;
    grid-auto-rows: max-content;
    align-content: start;
    gap: 8px;
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
    scroll-behavior: smooth;
}

.demo-audio-loading,
.demo-audio-empty {
    margin: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--profession-bg), white 52%);
    padding: 15px;
    color: var(--profession-muted);
    font-size: .8rem;
    text-align: center;
}

.demo-audio-scenario-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
}

.demo-audio-scenario-card[hidden] {
    display: none;
}

.demo-audio-scenario-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: color-mix(in srgb, var(--demo-blue), white 90%);
    color: var(--demo-blue);
    font-size: .95rem;
}

.demo-audio-scenario-card h3 {
    margin: 0 0 3px;
    color: var(--profession-text);
    font-size: .9rem;
    font-weight: 850;
}

.demo-audio-scenario-card p {
    margin: 0;
    color: var(--profession-muted);
    font-size: .82rem;
    line-height: 1.45;
    white-space: pre-line;
}

.demo-audio-turn {
    --demo-turn-color: var(--profession-accent);
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 13px;
    background: color-mix(in srgb, var(--demo-turn-color), white 95%);
    padding: 13px 11px;
    color: var(--profession-text);
    text-align: left;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.demo-audio-turn:hover,
.demo-audio-turn:focus-visible {
    border-color: color-mix(in srgb, var(--demo-turn-color), transparent 60%);
    color: var(--profession-text);
    transform: translateX(2px);
}

.demo-audio-turn.is-everoo {
    --demo-turn-color: var(--demo-blue);
}

.demo-audio-turn.is-active {
    border-color: var(--demo-turn-color);
    background: color-mix(in srgb, var(--demo-turn-color), white 90%);
    box-shadow: inset 3px 0 0 var(--demo-turn-color);
}

.demo-audio-turn-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    background: #fff;
    color: var(--demo-turn-color);
    font-size: .95rem;
    box-shadow: 0 4px 12px rgba(18, 37, 60, .06);
}

.demo-audio-turn-logo {
    display: block;
    width: 100%;
    max-width: 21px;
    height: auto;
}

.demo-audio-turn-copy {
    min-width: 0;
}

.demo-audio-turn-copy strong,
.demo-audio-turn-copy span,
.demo-audio-turn-copy small {
    display: block;
}

.demo-audio-turn-copy strong {
    margin-bottom: 2px;
    color: var(--demo-turn-color);
    font-size: .7rem;
}

.demo-audio-turn-copy span {
    font-size: .78rem;
    line-height: 1.42;
}

.demo-audio-turn-copy .demo-audio-turn-translation {
    margin-top: 5px;
    color: var(--profession-muted);
    font-size: .69rem;
    font-weight: 500;
    line-height: 1.4;
}

.demo-audio-turn time {
    color: var(--profession-muted);
    font-size: .68rem;
    font-variant-numeric: tabular-nums;
}

.demo-audio-features {
    display: grid;
    gap: 6px;
    max-height: 316px;
    overflow: auto;
}

.demo-audio-feature {
    display: grid;
    grid-template-columns: 27px 25px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    padding: 7px 8px;
    color: var(--profession-text);
    text-align: left;
}

.demo-audio-feature:hover,
.demo-audio-feature:focus-visible {
    background: color-mix(in srgb, var(--demo-blue), white 95%);
    color: var(--profession-text);
}

.demo-audio-feature.is-active {
    border-color: color-mix(in srgb, var(--demo-green), transparent 72%);
    background: color-mix(in srgb, var(--demo-green), white 90%);
    color: color-mix(in srgb, var(--demo-green), #0a3a25 46%);
    font-weight: 800;
}

.demo-audio-feature-number {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #f0f4f9;
    font-size: .72rem;
    font-weight: 800;
}

.demo-audio-feature.is-active .demo-audio-feature-number {
    background: var(--demo-green);
    color: #fff;
}

.demo-audio-feature > i {
    color: var(--demo-blue);
}

.demo-audio-feature.is-active > i {
    color: var(--demo-green);
}

.demo-audio-feature-label {
    min-width: 0;
    overflow: hidden;
    font-size: .74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-audio-feature time {
    color: var(--profession-muted);
    font-size: .65rem;
    font-variant-numeric: tabular-nums;
}

.demo-audio-lead-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.demo-audio-lead-card h3 i {
    color: var(--demo-blue);
    font-size: 1rem;
}

.demo-audio-lead-card > p {
    margin: 6px 0 13px;
    color: var(--profession-muted);
    font-size: .8rem;
    line-height: 1.45;
}

.demo-audio-phone {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1.5px solid var(--demo-blue);
    border-radius: 11px;
    background: #fff;
}

.demo-audio-phone:focus-within {
    border-color: var(--demo-blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--demo-blue), transparent 88%);
}

.demo-audio-phone span {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--demo-border);
    padding: 0 11px;
    color: var(--profession-text);
    font-size: .78rem;
    font-weight: 800;
}

.demo-audio-phone input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 11px;
    color: var(--profession-text);
    font-size: .8rem;
}

.demo-audio-lead-card form > button {
    width: 100%;
    margin-top: 9px;
    border: 0;
    border-radius: 11px;
    background: var(--demo-blue);
    color: #fff;
    padding: 11px 14px;
    font-size: .82rem;
    font-weight: 800;
}

.demo-audio-lead-card form > button:hover,
.demo-audio-lead-card form > button:focus-visible {
    background: color-mix(in srgb, var(--demo-blue), #003f91 28%);
}

.demo-audio-lead-card form > button:disabled {
    cursor: wait;
    opacity: .65;
}

.demo-audio-lead-feedback {
    margin: 9px 0 0;
    border-radius: 9px;
    padding: 8px 9px;
    font-size: .72rem;
}

.demo-audio-lead-feedback.is-success {
    background: color-mix(in srgb, var(--demo-green), white 88%);
    color: color-mix(in srgb, var(--demo-green), #063d24 48%);
}

.demo-audio-lead-feedback.is-error {
    background: #fff0f0;
    color: #a52b2b;
}

.demo-audio-lead-card > small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 11px;
    color: var(--profession-muted);
    font-size: .67rem;
}

.demo-audio-lead-card > small i {
    color: var(--demo-green);
}

@media (max-width: 991px) {
    .demo-audio-modal {
        padding: 14px;
    }

    .demo-audio-dialog {
        max-height: calc(100vh - 28px);
        padding: 27px 22px;
    }

    .demo-audio-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .demo-audio-sidebar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .profession-demo-image-trigger i {
        width: 64px;
        height: 64px;
        border-width: 4px;
        font-size: 1.9rem;
    }

    .demo-audio-modal {
        display: block;
        padding: 0;
    }

    .demo-audio-dialog {
        width: 100%;
        min-height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
        padding: 22px 14px 28px;
    }

    .demo-audio-close {
        position: sticky;
        float: right;
        top: 10px;
        width: 38px;
        height: 38px;
        margin-top: -2px;
    }

    .demo-audio-header {
        padding-right: 48px;
    }

    .demo-audio-header h2 {
        font-size: clamp(1.55rem, 7vw, 2.15rem);
    }

    .demo-audio-header > p {
        font-size: .88rem;
    }

    .demo-audio-badges {
        flex-wrap: nowrap;
        margin-right: -14px;
        padding: 0 14px 7px 0;
        overflow-x: auto;
    }

    .demo-audio-badges span {
        flex: 0 0 auto;
    }

    .demo-audio-grid {
        margin-top: 15px;
    }

    .demo-audio-disclaimer {
        margin: 14px 0 0;
        font-size: .7rem;
    }

    .demo-transcript-callout {
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .demo-transcript-open {
        width: 100%;
        padding: 10px 13px;
        font-size: .86rem;
    }

    .demo-transcript-modal {
        padding: 10px;
    }

    .demo-transcript-dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .demo-transcript-header {
        padding: 22px 52px 14px 18px;
    }

    .demo-transcript-header h2 {
        font-size: 1.22rem;
    }

    .demo-transcript-header p {
        margin-right: 0;
        font-size: .86rem;
    }

    .demo-transcript-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .demo-transcript-body {
        gap: 10px;
        padding: 16px 14px;
    }

    .demo-transcript-turn {
        max-width: 94%;
        border-radius: 14px;
        padding: 11px 12px;
    }

    .demo-transcript-turn p {
        font-size: .9rem;
    }

    .demo-transcript-disclaimer {
        padding: 12px 16px 15px;
        font-size: .7rem;
    }

    .demo-audio-language-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 10px;
        border-radius: 14px;
    }

    .demo-audio-language-switcher {
        gap: 8px;
    }

    .demo-audio-language-tab {
        flex: 1 1 132px;
        min-height: 38px;
        padding: 8px 12px;
        font-size: .82rem;
    }

    .demo-audio-language-info {
        font-size: .74rem;
    }

    .demo-audio-player-card,
    .demo-audio-scenario-card,
    .demo-audio-features-card,
    .demo-audio-transcript-card,
    .demo-audio-lead-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .demo-audio-player-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .demo-audio-player {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
    }

    .demo-audio-play {
        width: 34px;
        height: 34px;
        border-width: 3px;
        font-size: 1rem;
    }

    .demo-audio-volume {
        display: none;
    }

    .demo-audio-transcript {
        max-height: 390px;
    }

    .demo-audio-main,
    .demo-audio-sidebar {
        display: contents;
    }

    .demo-audio-transcript-card,
    .demo-audio-lead-card {
        height: auto;
    }

    .demo-audio-player-card {
        order: 1;
    }

    .demo-audio-scenario-card {
        order: 2;
    }

    .demo-audio-features-card {
        order: 3;
    }

    .demo-audio-transcript-card {
        order: 4;
    }

    .demo-audio-lead-card {
        order: 5;
    }

    .demo-audio-features {
        display: flex;
        gap: 8px;
        margin-right: -18px;
        padding: 0 18px 5px 0;
        overflow-x: auto;
    }

    .demo-audio-feature {
        grid-template-columns: 27px 22px minmax(130px, 1fr);
        flex: 0 0 auto;
        width: auto;
        min-width: 205px;
        border-color: var(--demo-border);
        background: #fff;
    }

    .demo-audio-feature time {
        display: none;
    }

    .demo-audio-feature-label {
        white-space: normal;
    }

    .demo-audio-section-heading {
        align-items: start;
    }

    .demo-audio-section-heading small {
        display: none;
    }

    .demo-audio-turn {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .demo-audio-turn time {
        grid-column: 2;
        justify-self: end;
        margin-top: -3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profession-demo-image-trigger,
    .demo-audio-play,
    .demo-audio-turn {
        transition: none;
    }

    .demo-audio-transcript {
        scroll-behavior: auto;
    }
}
