.dova-launcher,
.dova-dialog,
.dova-form-intro,
.dova-form-consent,
.dova-form-error {
    --dova-ink: #181c24;
    --dova-secondary: #535d6c;
    --dova-link: #087498;
    --dova-brand: #20c2e9;
    --dova-tint: #e7f7fc;
    --dova-soft: #f4f6f8;
    --dova-border: #e0e5ea;
    color: var(--dova-ink);
    font-family: Circe, Arial, sans-serif;
    font-weight: 400;
}
.dova-dialog,
.dova-dialog *,
.dova-launcher {
    box-sizing: border-box;
}
.dova-launcher,
.dova-dialog {
    --dova-bottom: max(var(--dova-widget-bottom, 0px), 24px, env(safe-area-inset-bottom));
    position: fixed;
    z-index: 1080;
    inset: auto max(24px, env(safe-area-inset-right)) var(--dova-bottom) auto;
}
body.dova-site-open { overflow: hidden; }
body.dova-site-open > :not(.dova-site-frame, .dova-dialog, .dova-launcher) {
    display: none !important;
}
.dova-site-frame {
    position: fixed;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
.dova-site-frame[hidden] { visibility: hidden; pointer-events: none; }
.dova-launcher,
.dova-dialog button,
.dova-dialog a.dova-primary {
    cursor: pointer;
    font: inherit;
}
.dova-launcher {
    width: max-content;
    max-width: calc(100vw - 48px);
    min-height: 50px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #00c1eb;
    border-radius: 0;
    background: #00c1eb;
    color: var(--dova-ink);
    font: 400 18px/22px "CirceRegular", Circe, Arial, sans-serif;
}
#js-drag.dova-invite-host.popup-closed {
    bottom: var(--dova-nav-height, 0px) !important;
}
.fader:has(+ #js-drag.dova-invite-host:not(.popup-closed)) {
    z-index: 1060;
}
#js-drag.dova-invite-host:not(.popup-closed) {
    z-index: 1061;
}
.dova-launcher[hidden],
.dova-invite-open > .dova-launcher { display: none; }
.dova-launcher:not(.dova-launcher-header):hover { background: #fff; }
.dova-launcher-header {
    position: relative;
    inset: auto;
    z-index: auto;
    align-self: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #a4e8f1;
    border-radius: 10px;
    background: linear-gradient(115deg, #b7f3fc 0%, #79e2f2 24%, #ecfdff 39%, #a7e8f9 53%, #c5d6ff 73%, #b7f3fc 100%);
    background-size: 260% 100%;
    color: #124456;
    animation: dova-shimmer 6s ease-in-out infinite alternate;
}
.dova-launcher-header:disabled { cursor: default; }
.dova-launcher-header:not(:disabled):hover { border-color: #0697b5; }
.dova-launcher-header .dova-launcher-label { display: none; }
.new__header :is(.number__icon, .mobile_icon):has(> .dova-launcher-header) {
    align-items: center;
}
.new__header :is(.number__icon, .mobile_icon):has(> .dova-launcher-header) > a {
    display: inline-flex;
    align-items: center;
}
.new__header :is(.number__icon, .mobile_icon):has(> .dova-launcher-header) > :is(a, .dova-launcher-header) svg {
    display: block;
    margin: 0;
}
.new__header .dova-launcher-header + :is(.number__icon-telegram, .mobile_icon-telegram) > svg {
    transform: none;
}
.new__header .mobile_icon:has(> .dova-launcher-header) { gap: clamp(8px, 2.2vw, 16px); }
@media (1000px < width <= 1200px) {
    .new__header:not(.fixed_head) .head__block .mobile_icon:has(> .dova-launcher-header) { display: flex !important; }
    .new__header:not(.fixed_head) .mobile_icon:has(> .dova-launcher-header) > :not(.mobile_icon-telegram, .dova-launcher-header) { display: none; }
}
@keyframes dova-shimmer {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}
.dova-activity { display: none; }
.dova-launcher[data-active="true"][aria-expanded="false"] .dova-activity {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    height: 14px;
    margin-left: 2px;
}
.dova-activity > span {
    width: 2px;
    height: 100%;
    border-radius: 2px;
    background: currentColor;
    animation: dova-pulse .75s ease-in-out infinite alternate;
}
.dova-activity > span:first-child { height: 55%; animation-delay: -.18s; }
.dova-activity > span:last-child { height: 75%; animation-delay: -.36s; }
.dova-launcher-header[data-active="true"] .dova-activity {
    position: absolute;
    right: 2px;
    bottom: 3px;
    height: 9px;
    margin: 0;
}
.dova-dialog {
    margin: 0;
    width: min(424px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100dvh - var(--dova-bottom) - 16px);
    padding: 0;
    border: 1px solid var(--dova-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(24 28 36 / 19%);
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
}
.dova-dialog[open] { display: flex; flex-direction: column; }
.dova-dialog::backdrop { background: rgb(24 28 36 / 28%); }
.dova-dialog :is(button, a):focus-visible,
.dova-launcher:focus-visible,
.dova-form-intro a:focus-visible,
.dova-form-consent input:focus-visible {
    outline: 2px solid #087498;
    outline-offset: 2px;
}
.dova-dialog :is(h2, h3, p, ul) { margin: 0; padding: 0; }
.dova-dialog h3 { font-size: 26px; line-height: 1.15; font-weight: 700; }
.dova-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin: 0 18px;
    padding: 15px 0 12px;
    border-bottom: 1px solid var(--dova-border);
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.dova-dialog[data-dragging] .dova-header { cursor: grabbing; }
.dova-title { flex: 1; min-width: 0; }
.dova-heading { font-size: 20px; font-weight: 700; line-height: 1.25; }
.dova-heading:focus { outline: 0; }
.dova-status { color: var(--dova-secondary); font-size: 14px; }
.dova-dialog[data-phase="active"] .dova-status { color: var(--dova-link); }
.dova-dialog[data-phase="active"] .dova-status::before {
    display: inline-block;
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--dova-brand);
    vertical-align: 1px;
}
.dova-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.dova-icon svg { display: block; width: 100%; height: 100%; }
.dova-badge,
.dova-icon-button {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--dova-tint);
    color: var(--dova-link);
}
.dova-header .dova-icon-button {
    width: 40px;
    height: 40px;
    background: var(--dova-soft);
    color: var(--dova-ink);
}
.dova-icon-button:hover { filter: brightness(.95); }
.dova-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    min-height: 0;
    padding: 14px 18px 8px;
    overflow: auto;
    overscroll-behavior: contain;
}
.dova-controls {
    flex: 0 0 auto;
    display: grid;
    gap: 8px;
    padding: 8px 18px 16px;
}
.dova-detail { color: var(--dova-secondary); }
.dova-intro-wave {
    display: grid;
    height: 56px;
    place-items: center;
    border-radius: 8px;
    background: var(--dova-tint);
}
.dova-wave {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--dova-link);
}
.dova-wave > span {
    width: 3px;
    border-radius: 9px;
    background: currentColor;
    transform-origin: center;
}
.dova-dialog[data-phase="active"][data-muted="false"] .dova-audio .dova-wave { color: #16a3c9; }
.dova-dialog[data-mode="speaking"] .dova-wave > span { animation: dova-pulse .72s ease-in-out infinite alternate; }
.dova-wave > span:nth-child(3n) { animation-delay: .24s; }
.dova-wave > span:nth-child(3n + 1) { animation-delay: .48s; }
@keyframes dova-pulse { from { transform: scaleY(.48); } to { transform: scaleY(1); } }
.dova-hints { display: grid; gap: 4px; list-style: none; }
.dova-hints li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--dova-soft);
    font-size: 14px;
}
.dova-hints .dova-icon { width: 16px; height: 16px; }
.dova-primary,
.dova-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 7px 12px;
    border-radius: 4px;
    color: var(--dova-ink);
    text-decoration: none;
}
.dova-primary { border: 1px solid transparent; background: var(--dova-brand); }
.dova-primary:hover { background: #38caee; color: var(--dova-ink); }
.dova-primary:disabled { opacity: .55; cursor: wait; }
.dova-outline { border: 1px solid var(--dova-border); background: #fff; }
.dova-outline:hover { background: var(--dova-soft); }
.dova-utterance {
    align-self: flex-end;
    max-width: 94%;
    padding: 9px 11px !important;
    border-radius: 8px;
    background: var(--dova-soft);
    overflow-wrap: anywhere;
}
.dova-reply { overflow-wrap: anywhere; }
.dova-results { display: grid; gap: 7px; }
.dova-card {
    display: flex;
    align-items: center;
    min-height: 67px;
    gap: 10px;
    padding: 7px;
    border: 1px solid var(--dova-border);
    border-radius: 6px;
    color: var(--dova-ink);
    text-decoration: none;
}
.dova-card:hover, .dova-card[data-selected="true"] {
    border-color: #91dbee;
    background: var(--dova-tint);
    color: var(--dova-ink);
}
.dova-card-photo {
    display: grid;
    place-items: center;
    width: 68px;
    height: 50px;
    flex: 0 0 68px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--dova-soft);
}
.dova-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.dova-card-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dova-card-copy strong, .dova-card-copy small { display: block; }
.dova-card-copy small { color: var(--dova-secondary); font-size: 14px; }
.dova-card > .dova-icon { margin-inline-end: 3px; width: 17px; height: 17px; }
.dova-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 4px;
    background: var(--dova-tint);
    color: var(--dova-link);
    text-decoration: none;
}
.dova-link { color: var(--dova-link); text-decoration: underline; }
.dova-audio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
    background: var(--dova-soft);
}
.dova-audio .dova-wave { flex: 1; }
.dova-measurement .dova-form-intro {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    font: 400 16px/1.4 "CirceRegular", Circe, Arial, sans-serif;
}
.dova-measurement .dova-form-intro p { margin: 0; color: var(--dova-secondary); }
.dova-measurement .dova-form-project {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 8px 12px;
    border-radius: 4px;
    background: var(--dova-tint);
    color: var(--dova-link);
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}
.dova-measurement .dova-form-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin: 12px 0;
    font: 400 15px/1.35 "CirceRegular", Circe, Arial, sans-serif;
}
.dova-measurement .dova-form-consent input {
    accent-color: var(--dova-link);
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}
.dova-measurement .dova-form-consent a { color: var(--dova-link); text-decoration: underline; }
.dova-measurement .dova-form-enhanced .upload-description { display: none; }
.dova-measurement button.fancybox-close { border: 0; padding: 0; }
.dova-form-error { margin: 0 0 10px; color: #ad362d; font-size: 15px; }
.dova-form-error:empty { display: none; }
@media (max-width: 600px) {
    .dova-launcher {
        right: max(14px, env(safe-area-inset-right));
        max-width: calc(100vw - 28px);
    }
    .dova-launcher-header { right: auto; }
    .dova-dialog {
        right: 0;
        width: 100%;
        border: 0;
        border-radius: 16px 16px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .dova-dialog:modal {
        bottom: 0;
        max-height: min(88dvh, 670px);
    }
    .dova-dialog::before {
        align-self: center;
        width: 34px;
        height: 4px;
        margin-top: 8px;
        border-radius: 8px;
        background: var(--dova-border);
        content: "";
    }
    .dova-header { margin: 0 16px; padding-top: 10px; }
    .dova-body, .dova-controls { padding-inline: 16px; }
    .dova-dialog:not([data-phase="active"]) .dova-desktop { display: none; }
}
.dova-dialog[data-moved] {
    inset: var(--dova-panel-y) auto auto var(--dova-panel-x);
    max-height: calc(100dvh - 16px);
}
@media (prefers-reduced-motion: reduce) {
    .dova-launcher-header,
    .dova-activity > span,
    .dova-dialog .dova-wave > span { animation: none; }
}
