.wpaw-root,
.wpaw-root *,
.wpaw-root *::before,
.wpaw-root *::after {
    box-sizing: border-box;
}

.wpaw-toggle {
    position: fixed;
    z-index: 999998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--wpaw-accent, #1769aa);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    cursor: pointer;
}

.wpaw-toggle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.wpaw-toggle:focus-visible,
.wpaw-panel button:focus-visible {
    outline: 3px solid #f4c542;
    outline-offset: 3px;
}

.wpaw-position-right .wpaw-toggle {
    right: var(--wpaw-offset-x, 18px);
    left: auto;
}

.wpaw-position-left .wpaw-toggle {
    right: auto;
    left: var(--wpaw-offset-x, 18px);
}

.wpaw-valign-top .wpaw-toggle {
    top: var(--wpaw-offset-y, 0px);
    bottom: auto;
    transform: none;
}

.wpaw-valign-middle .wpaw-toggle {
    top: calc(50% + var(--wpaw-offset-y, 0px));
    bottom: auto;
    transform: translateY(-50%);
}

.wpaw-valign-bottom .wpaw-toggle {
    top: auto;
    bottom: var(--wpaw-offset-y, 0px);
    transform: none;
}

.wpaw-panel {
    position: fixed;
    z-index: 999999;
    width: min(415px, calc(100vw - 18px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 0 0 14px;
    border: 1px solid #0b55ff;
    border-radius: 12px 12px 0 0;
    color: #05070b;
    background: #eef0f5;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.wpaw-panel[hidden] {
    display: none;
}

.wpaw-position-right .wpaw-panel {
    right: var(--wpaw-offset-x, 18px);
    left: auto;
}

.wpaw-position-left .wpaw-panel {
    right: auto;
    left: var(--wpaw-offset-x, 18px);
}

.wpaw-valign-top .wpaw-panel {
    top: var(--wpaw-offset-y, 0px);
    bottom: auto;
    transform: none;
}

.wpaw-valign-middle .wpaw-panel {
    top: calc(50% + var(--wpaw-offset-y, 0px));
    bottom: auto;
    transform: translateY(-50%);
}

.wpaw-valign-bottom .wpaw-panel {
    top: auto;
    bottom: var(--wpaw-offset-y, 0px);
    transform: none;
}

.wpaw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 103px;
    padding: 24px 12px 24px 26px;
    color: #fff;
    background: #0751ff;
    border-radius: 10px 10px 0 0;
}

.wpaw-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.wpaw-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #073baf;
    cursor: pointer;
    box-shadow: none;
}

.wpaw-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.wpaw-language,
.wpaw-profile {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 47px;
    padding: 0 15px;
    border: 0;
    border-bottom: 1px solid #afbacb;
    border-radius: 0;
    color: #05070b;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.wpaw-language {
    gap: 9px;
}

.wpaw-language-badge,
.wpaw-profile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #0751ff;
    font-size: 10px;
    font-weight: 800;
}

.wpaw-profile {
    gap: 10px;
    margin: 0 0 12px;
    cursor: pointer;
}

.wpaw-profile-icon {
    background: #000;
}

.wpaw-profile-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.wpaw-profile-arrow {
    margin-left: 4px;
    font-size: 18px;
    line-height: 1;
}

.wpaw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px 7px;
    padding: 0 5px;
}

.wpaw-text-control {
    display: grid;
    grid-column: span 2;
    grid-template-columns: 45px 1fr 45px;
    align-items: stretch;
    min-height: 105px;
    border: 1px solid #d0d3d9;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .24);
}

.wpaw-panel .wpaw-text-step {
    min-height: 100%;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: #0751ff;
    box-shadow: none;
    font-size: 28px;
    font-weight: 800;
}

.wpaw-panel .wpaw-text-step:hover {
    background: #0542d1;
    color: #fff;
}

.wpaw-text-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 6px;
}

.wpaw-text-label {
    color: #05070b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.wpaw-text-value {
    color: #05070b;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.wpaw-panel button {
    border: 1px solid #d0d3d9;
    border-radius: 12px;
    color: #1d2530;
    background: #fff;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .24);
}

.wpaw-panel button:hover {
    border-color: var(--wpaw-accent, #1769aa);
    background: #eef6ff;
}

.wpaw-panel button[aria-pressed="true"] {
    border-color: var(--wpaw-accent, #1769aa);
    color: #fff;
    background: var(--wpaw-accent, #1769aa);
}

.wpaw-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 105px;
    padding: 13px 7px 12px;
    text-align: center;
}

.wpaw-card svg {
    display: block;
    width: 43px;
    height: 43px;
    fill: currentColor;
}

.wpaw-card-label {
    display: block;
    min-height: 24px;
    color: #05070b;
    font-size: 11px;
    font-weight: 800;
}

.wpaw-card[aria-pressed="true"] .wpaw-card-label {
    color: #fff;
}

.wpaw-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 19px;
    padding: 0 15px;
}

.wpaw-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 43px;
    padding: 8px 13px;
    border: 0 !important;
    border-radius: 22px !important;
    color: #fff !important;
    background: #0751ff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .28) !important;
}

.wpaw-reset span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1;
}

.wpaw-note {
    margin: 10px 0 0;
    color: #536170;
    font-size: 12px;
    line-height: 1.45;
}

html.wpaw-readable-font body,
html.wpaw-readable-font button,
html.wpaw-readable-font input,
html.wpaw-readable-font textarea,
html.wpaw-readable-font select {
    font-family: Arial, Helvetica, sans-serif !important;
}

html.wpaw-text-align body {
    text-align: left !important;
}

html.wpaw-text-align p,
html.wpaw-text-align li,
html.wpaw-text-align dd,
html.wpaw-text-align blockquote {
    text-align: left !important;
}

html.wpaw-line-height body {
    line-height: 1.85 !important;
}

html.wpaw-text-spacing body {
    letter-spacing: .08em !important;
    word-spacing: .16em !important;
}

html.wpaw-tooltips [title]:hover::after,
html.wpaw-tooltips a:hover::after,
html.wpaw-tooltips button:hover::after {
    content: attr(title);
    position: fixed;
    z-index: 2147483647;
    right: 18px;
    bottom: 18px;
    max-width: 260px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    background: #111;
    font: 700 12px/1.35 Arial, Helvetica, sans-serif;
}

html.wpaw-high-contrast {
    filter: contrast(140%);
}

html.wpaw-invert {
    filter: invert(1) hue-rotate(180deg);
}

html.wpaw-grayscale {
    filter: grayscale(1);
}

html.wpaw-link-underline a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

html.wpaw-highlight-links a {
    outline: 2px solid #f4c542 !important;
    outline-offset: 2px !important;
    background-color: rgba(244, 197, 66, .28) !important;
}

html.wpaw-hide-images img,
html.wpaw-hide-images picture,
html.wpaw-hide-images video {
    visibility: hidden !important;
}

html.wpaw-pause-animations *,
html.wpaw-pause-animations *::before,
html.wpaw-pause-animations *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001s !important;
}

html.wpaw-big-cursor,
html.wpaw-big-cursor * {
    cursor: default !important;
}

html.wpaw-big-cursor body::after {
    content: "";
    position: fixed;
    z-index: 2147483647;
    left: var(--wpaw-cursor-x, -100px);
    top: var(--wpaw-cursor-y, -100px);
    width: 34px;
    height: 34px;
    border: 3px solid #111;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: rgba(244, 197, 66, .22);
}

@media (max-width: 520px) {
    .wpaw-panel {
        width: min(415px, calc(100vw - 18px));
    }

    .wpaw-grid {
        gap: 8px 6px;
    }

    .wpaw-card {
        min-height: 105px;
    }

    .wpaw-text-control {
        grid-column: span 2;
    }
}

@media (max-width: 380px) {
    .wpaw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .wpaw-text-control {
        grid-column: span 2;
    }
}
