.monisa-guide-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1035;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #ed1651;
    box-shadow: 0 5px 16px rgba(33, 37, 41, 0.22);
    font-size: 19px;
    line-height: 44px;
    text-align: center;
}

.monisa-guide-launcher:hover,
.monisa-guide-launcher:focus {
    color: #fff;
    background: #c91043;
    outline: 3px solid rgba(237, 22, 81, 0.22);
}

.monisa-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 28, 37, 0.62);
}

.monisa-guide-dialog {
    position: relative;
    width: min(460px, 100%);
    padding: 30px;
    border-top: 5px solid #3558c9;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.monisa-guide-dialog h2,
.monisa-guide-panel h3,
.monisa-guide-popover h3 {
    margin: 0 0 10px;
    color: #252a34;
    letter-spacing: 0;
}

.monisa-guide-dialog h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.monisa-guide-dialog p,
.monisa-guide-popover p {
    margin: 0;
    color: #5e6673;
    font-size: 15px;
    line-height: 1.55;
}

.monisa-guide-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #4d5562;
    background: transparent;
    font-size: 24px;
    line-height: 32px;
}

.monisa-guide-close:hover,
.monisa-guide-close:focus {
    color: #1f2530;
    background: #eef1f5;
    outline: 2px solid #ccd3dd;
}

.monisa-guide-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.monisa-guide-btn {
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #ccd3dd;
    border-radius: 5px;
    color: #303744;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
}

.monisa-guide-btn:hover,
.monisa-guide-btn:focus {
    background: #f2f4f7;
    outline: 2px solid rgba(53, 88, 201, 0.2);
}

.monisa-guide-btn-primary {
    border-color: #3558c9;
    color: #fff;
    background: #3558c9;
}

.monisa-guide-btn-primary:hover,
.monisa-guide-btn-primary:focus {
    color: #fff;
    background: #2947aa;
}

.monisa-guide-panel {
    position: fixed;
    right: 20px;
    bottom: 76px;
    z-index: 11000;
    width: min(360px, calc(100vw - 40px));
    padding: 20px;
    border: 1px solid #d8dde5;
    border-top: 4px solid #ed1651;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(26, 31, 40, 0.2);
}

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

.monisa-guide-panel h3 {
    padding-right: 34px;
    font-size: 18px;
}

.monisa-guide-progress-label {
    display: flex;
    justify-content: space-between;
    margin: 12px 0 6px;
    color: #616977;
    font-size: 13px;
}

.monisa-guide-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 4px;
    background: #e7eaf0;
}

.monisa-guide-progress span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: #1e9b62;
    transition: width 180ms ease;
}

.monisa-guide-checklist {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.monisa-guide-checklist li + li {
    border-top: 1px solid #edf0f4;
}

.monisa-guide-checklist a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: #303744;
    font-size: 14px;
    text-decoration: none;
}

.monisa-guide-checklist a:hover,
.monisa-guide-checklist a:focus {
    color: #3558c9;
}

.monisa-guide-check-icon {
    flex: 0 0 20px;
    color: #9098a5;
    font-size: 17px;
}

.monisa-guide-checklist .is-complete .monisa-guide-check-icon {
    color: #1e9b62;
}

.monisa-guide-screen {
    position: fixed;
    z-index: 11990;
    background: rgba(20, 24, 32, 0.68);
}

.monisa-guide-focus {
    position: relative !important;
    z-index: 12001 !important;
    border-radius: 4px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px #ed1651 !important;
}

.monisa-guide-popover {
    position: fixed;
    z-index: 12002;
    width: min(340px, calc(100vw - 24px));
    padding: 20px;
    border-top: 4px solid #3558c9;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.monisa-guide-popover h3 {
    padding-right: 26px;
    font-size: 18px;
}

.monisa-guide-step-count {
    display: block;
    margin-bottom: 7px;
    color: #ed1651;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.monisa-guide-hotspot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ed1651;
    box-shadow: 0 0 0 0 rgba(237, 22, 81, 0.55);
    animation: monisa-guide-pulse 1.8s infinite;
}

#sidebar .nav-link[data-guide-tip] {
    position: relative;
}

@keyframes monisa-guide-pulse {
    0% { box-shadow: 0 0 0 0 rgba(237, 22, 81, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(237, 22, 81, 0); }
    100% { box-shadow: 0 0 0 0 rgba(237, 22, 81, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .monisa-guide-hotspot,
    .monisa-guide-progress span {
        animation: none;
        transition: none;
    }
}

@media (max-width: 600px) {
    .monisa-guide-launcher {
        right: 12px;
        bottom: 12px;
    }

    .monisa-guide-panel {
        right: 12px;
        bottom: 64px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .monisa-guide-dialog {
        padding: 26px 20px 20px;
    }

    .monisa-guide-dialog h2 {
        font-size: 21px;
    }

    .monisa-guide-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .monisa-guide-btn {
        width: 100%;
    }
}
