.dpos-font-switcher {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2147483000;
    font-family: Arial, sans-serif;
}

.dpos-font-switcher__toggle {
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.dpos-font-switcher__panel {
    margin-top: 10px;
    width: min(300px, calc(100vw - 32px));
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    padding: 14px;
}

.dpos-font-switcher__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.dpos-font-switcher__input {
    width: 100%;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background: #fff;
    color: #111;
    margin-bottom: 10px;
}

.dpos-font-switcher__select {
    width: 100%;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background: #fff;
    color: #111;
}

.dpos-font-switcher__status {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4b5563;
}

.dpos-font-switcher__actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.dpos-font-switcher__btn {
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    background: #fff;
    color: #111;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dpos-font-switcher__btn--primary {
    background: #111;
    border-color: #111;
    color: #fff;
}

html.dpos-live-font-active body,
html.dpos-live-font-active body p,
html.dpos-live-font-active body a,
html.dpos-live-font-active body li,
html.dpos-live-font-active body span,
html.dpos-live-font-active body button,
html.dpos-live-font-active body input,
html.dpos-live-font-active body textarea,
html.dpos-live-font-active body select,
html.dpos-live-font-active body h1,
html.dpos-live-font-active body h2,
html.dpos-live-font-active body h3,
html.dpos-live-font-active body h4,
html.dpos-live-font-active body h5,
html.dpos-live-font-active body h6 {
    font-family: var(--dpos-live-font-family) !important;
}
