/* Equitable Solutions LLC - role-specific training blueprints, live-tested dispatcher walkthrough blueprint, and in-place reader. */
:root {
    --eqbp-navy: #071d31;
    --eqbp-blue: #0b6fb8;
    --eqbp-cyan: #19bde7;
    --eqbp-ink: #0f172a;
    --eqbp-muted: #475569;
    --eqbp-line: #a9c9e8;
    --eqbp-paper: #ffffff;
    --eqbp-soft: #edf8ff;
}

.eqbp-library,
.eqbp-help-resources,
.eqbp-modal,
.eqbp-modal * {
    box-sizing: border-box;
}

.eqbp-library {
    width: min(100%, 1440px);
    margin: 0 auto 24px;
    padding: clamp(18px, 2.4vw, 30px);
    border: 2px solid var(--eqbp-cyan);
    border-radius: 22px;
    background: linear-gradient(145deg, #f8fdff 0%, #e8f7ff 100%);
    color: var(--eqbp-ink);
    box-shadow: 0 14px 34px rgba(2, 23, 43, .12);
}

.eqbp-library-head {
    max-width: 920px;
    margin-bottom: 18px;
}

.eqbp-kicker,
.eqbp-card-label {
    color: #075f87;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eqbp-library h2,
.eqbp-library h3,
.eqbp-help-resources h2,
.eqbp-dialog h2 {
    margin: 5px 0 8px;
    color: var(--eqbp-ink) !important;
    font-family: inherit;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: none !important;
}

.eqbp-library h2 { font-size: clamp(27px, 3vw, 42px); }
.eqbp-library h3 { font-size: clamp(21px, 2vw, 28px); }
.eqbp-library p,
.eqbp-help-resources p,
.eqbp-dialog p {
    margin: 0;
    color: var(--eqbp-muted) !important;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: none !important;
}

.eqbp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.eqbp-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--eqbp-line);
    border-radius: 17px;
    background: var(--eqbp-paper);
    color: var(--eqbp-ink);
}

.eqbp-card-primary {
    border: 2px solid var(--eqbp-blue);
    box-shadow: inset 7px 0 0 var(--eqbp-cyan);
}

.eqbp-card-meta,
.eqbp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.eqbp-card-meta { margin: 16px 0; }
.eqbp-card-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e5f6ff;
    color: #064c71;
    font-size: 13px;
    font-weight: 800;
}

.eqbp-button,
button.eqbp-button,
a.eqbp-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 2px solid #0c4e78;
    border-radius: 12px;
    background: #fff;
    color: #073557 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer;
}

.eqbp-button:hover,
.eqbp-button:focus-visible {
    background: #dff4ff;
    color: #062a45 !important;
    outline: 3px solid #facc15;
    outline-offset: 2px;
}

.eqbp-button-primary,
button.eqbp-button-primary {
    border-color: #07547d;
    background: var(--eqbp-cyan);
    color: #031a2b !important;
}

.eqbp-help-resources {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 22px;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    padding: 16px;
    border: 2px solid #62bce7;
    border-radius: 15px;
    background: #effaff;
    color: var(--eqbp-ink);
}

.eqbp-help-resources h2 { font-size: 20px; }
.eqbp-help-resources p { font-size: 15px; }
.eqbp-help-resources .eqbp-actions { justify-content: flex-end; }

/* v6.21.89: keep the current-page blueprint visible even while Help & AI is collapsed. */









@media (max-width: 760px) {
    
    
    
}

html.eqbp-viewer-open,
body.eqbp-viewer-open {
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
}

.eqbp-modal[hidden] { display: none !important; }
html body > #eqbp-viewer-modal.eqbp-modal {
    position: fixed !important;
    z-index: 2147483000 !important;
    inset: 0 !important;
    display: grid !important;
    place-items: center;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: clamp(10px, 2vw, 24px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    background: rgba(2, 13, 25, .86) !important;
    contain: none !important;
}

/* This selector must be at least as strong as the mounted modal selector above.
   Otherwise Close sets hidden but the fixed overlay still intercepts every click. */
html body > #eqbp-viewer-modal.eqbp-modal[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.eqbp-dialog {
    position: relative !important;
    display: flex;
    flex-direction: column;
    width: min(1200px, 100%);
    height: min(94vh, 900px);
    height: min(94dvh, 900px);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    min-height: 420px;
    overflow: hidden;
    border: 2px solid #79d7f2;
    border-radius: 18px;
    background: #fff !important;
    color: var(--eqbp-ink) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.eqbp-dialog-head,
.eqbp-dialog-tools {
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}

.eqbp-dialog-head {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #b8d9eb;
    background: #eaf8ff;
}
.eqbp-dialog-head > div { min-width: 0; }

.eqbp-dialog-head h2 { font-size: clamp(21px, 2vw, 30px); }
.eqbp-dialog-head p { font-size: 13px; }
.eqbp-dialog-tools {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: stretch;
    border-bottom: 1px solid #cbd5e1;
    background: #fff;
    overflow-x: hidden;
}

.eqbp-page-nav,
.eqbp-file-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.eqbp-page-status {
    min-width: 112px;
    color: var(--eqbp-ink) !important;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.eqbp-page-nav .eqbp-button {
    min-width: 106px;
}

.eqbp-file-actions { justify-content: flex-end; }

.eqbp-button:disabled,
button.eqbp-button:disabled {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #475569 !important;
    cursor: not-allowed;
    opacity: 1;
}

.eqbp-close {
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 46px;
    padding: 10px 16px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--eqbp-navy);
    color: #fff !important;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.eqbp-close:hover,
.eqbp-close:focus-visible {
    background: #0b5888;
    outline: 3px solid #facc15;
    outline-offset: 2px;
}

#eqbp-viewer-frame {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 260px;
    border: 0;
    background: #e2e8f0;
    overflow: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.eqbp-fallback {
    flex: 0 0 auto;
    padding: 8px 18px;
    border-top: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 13px !important;
}

@media (max-width: 900px) {
    .eqbp-grid { grid-template-columns: 1fr; }
    .eqbp-help-resources { grid-template-columns: 1fr; }
    .eqbp-help-resources .eqbp-actions { justify-content: flex-start; }
    .eqbp-dialog-tools { grid-template-columns: 1fr; }
    .eqbp-file-actions { justify-content: flex-start; }
}

@media (max-width: 782px) {
    .eqbp-library { padding: 16px; border-radius: 16px; }
    .eqbp-card { padding: 16px; }
    .eqbp-actions { align-items: stretch; }
    .eqbp-actions .eqbp-button { flex: 1 1 150px; }
    html body > #eqbp-viewer-modal.eqbp-modal { padding: 0 !important; }
    .eqbp-dialog {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        max-height: 100vh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
    }
    .eqbp-dialog-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 84px;
        align-items: start;
        padding: 10px 12px;
    }
    .eqbp-dialog-head h2 { font-size: 19px; overflow-wrap: anywhere; }
    .eqbp-dialog-head p { margin-top: 3px; font-size: 11px !important; line-height: 1.3; }
    .eqbp-close { width: 84px; min-width: 0; min-height: 42px; padding: 8px 10px; }
    .eqbp-dialog-tools { display: block !important; padding: 8px 10px; }
    .eqbp-page-nav,
    .eqbp-file-actions { width: 100%; }
    .eqbp-page-nav { display: block !important; position: static; float: none; clear: both; }
    .eqbp-page-nav .eqbp-button { display: flex; width: 100%; min-width: 0; margin: 0; }
    .eqbp-page-nav .eqbp-button + .eqbp-page-status,
    .eqbp-page-nav .eqbp-page-status + .eqbp-button { margin-top: 7px; }
    .eqbp-file-actions { display: block !important; position: static; float: none; clear: both; margin-top: 8px; }
    .eqbp-file-actions .eqbp-button { display: flex; width: 100%; margin: 7px 0 0; }
    .eqbp-dialog-tools .eqbp-button { min-height: 40px; padding: 8px; }
    .eqbp-page-status { display: block; width: 100%; min-width: 0; font-size: 12px; }
    .eqbp-fallback { padding: 6px 10px; font-size: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .eqbp-modal, .eqbp-dialog { scroll-behavior: auto !important; }
}


/* Complete Website & Operations Blueprint inside the Load Documents / Document Center workspace. */
.eqbp-document-library { margin-top: 24px; }
.eqbp-document-library .eqbp-grid { grid-template-columns: minmax(0, 1fr); max-width: 920px; }

/* Blueprint cover images used by the current Training Center cards. */
.eqbp-card-image{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;border-radius:14px;border:1px solid #d7e5ee;margin:0 0 14px;background:#02060c}
@media(max-width:700px){.eqbp-card-image{max-height:none}}

/* v6.21.84: page-aware access to every role-appropriate Equitable blueprint. */
.eqbp-more-guides{margin-top:14px;border:1px solid #d7e2ea;border-radius:12px;background:#f7fbfd;padding:10px 12px}.eqbp-more-guides summary{cursor:pointer;font-weight:850;color:#17384d}.eqbp-more-guides[open] summary{margin-bottom:10px}.eqbp-more-guides .eqbp-actions{margin-top:8px}

/* v6.21.149 — toolbar launchers stay compact; the reader itself remains full-featured. */
.eqbp-compact-page-control{display:flex;align-items:center;justify-content:flex-end;margin:8px 0}
.eqbp-compact-page-control .eqbp-toolbar-button{display:inline-flex;width:auto;min-height:38px;margin:0;padding:7px 13px;border-radius:999px;font-size:12px;box-shadow:none}
