/* PublicMusic Jazz Screenshot Addon 8.0.0 */
.pm-jazz-shot-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px 13px;
    margin: 18px auto 8px;
    text-align: center;
}

.pm-jazz-shot-btn {
    display: inline-flex !important;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 1px solid #68788c !important;
    border-radius: 11px !important;
    background: #202e3f !important;
    color: #f7f9fc !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .18) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.pm-jazz-shot-btn:hover,
.pm-jazz-shot-btn:focus-visible {
    border-color: #ffffff !important;
    background: #2b3d53 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.pm-jazz-shot-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.pm-jazz-shot-btn:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.pm-jazz-shot-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 6px;
    font-size: 16px;
    line-height: 1;
}

.pm-jazz-shot-caption {
    color: #687589;
    font-size: 11px;
    line-height: 1.4;
}

/* Off-screen export stage. Its cloned Chord UI keeps the original app CSS. */
.pm-jazz-shot-capture {
    position: fixed;
    z-index: -10000;
    top: 0;
    left: -20000px;
    width: 1360px;
    padding: 38px;
    overflow: visible;
    border: 1px solid #354457;
    border-radius: 28px;
    background: linear-gradient(145deg, #0b1118 0%, #172333 100%);
    color: #f5f7fb;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.pm-jazz-shot-export-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 0 26px;
    padding: 0 2px 22px;
    border-bottom: 1px solid rgba(207, 218, 232, .2);
}

.pm-jazz-shot-export-logo {
    display: block;
    width: 360px;
    max-width: 48%;
    height: auto;
    object-fit: contain;
}

.pm-jazz-shot-export-title {
    min-width: 0;
    text-align: right;
}

.pm-jazz-shot-export-kicker {
    margin-bottom: 7px;
    color: #aab6c6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pm-jazz-shot-export-chord {
    color: #ffffff;
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1;
}

.pm-jazz-shot-export-progress {
    margin-top: 9px;
    color: #c5d0de;
    font-size: 17px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

/* Two IDs keep these export-only rules stronger than the original responsive rules. */
.pm-jazz-shot-capture #pm-jazz-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-app-header,
.pm-jazz-shot-capture #pm-jazz-wrapper .pm-control-surface,
.pm-jazz-shot-capture #pm-jazz-wrapper .pm-results-disclosure,
.pm-jazz-shot-capture #pm-jazz-wrapper .pm-settings-disclosure {
    display: none !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-board-section {
    margin: 0 !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-neck-scroll {
    max-width: none !important;
    overflow: visible !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-neck-wrap {
    width: 100% !important;
    min-width: 0 !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-loop-disclosure {
    margin-top: 20px !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-loop-disclosure > summary {
    display: none !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-loop-disclosure .pm-disclosure-content {
    display: block !important;
    padding: 16px !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-loop-actions {
    margin-bottom: 12px !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper #pm-clear-selection {
    display: none !important;
}

.pm-jazz-shot-capture #pm-jazz-wrapper .pm-selected-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

