/* Minty pop-out — floating / docked assistant */

.minty-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 52px;
    height: 52px;
    padding: 0 8px;
    overflow: hidden;
    border: none;
    border-radius: 999px;
    background: var(--bm-color-navy, #262646);
    color: #fff;
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(38, 38, 70, 0.28);
    transition: width 0.18s ease, gap 0.18s ease;
}

.minty-launcher:hover,
.minty-launcher:focus-visible {
    width: 168px;
    gap: 8px;
    background: #33335a;
}

.minty-launcher-copy {
    display: block;
    line-height: 1.2;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.18s ease, opacity 0.18s ease;
}

.minty-launcher:hover .minty-launcher-copy,
.minty-launcher:focus-visible .minty-launcher-copy {
    max-width: 110px;
    opacity: 1;
}

.minty-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    overflow: hidden;
}

.minty-mark-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 999px;
}

.minty-launcher .minty-mark {
    width: 36px;
    height: 36px;
}

.minty-menu {
    position: relative;
    flex: none;
}

.minty-menu-pop {
    position: absolute;
    top: 40px;
    right: 0;
    width: 232px;
    background: #fff;
    color: var(--bm-color-navy, #262646);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(38, 38, 70, 0.18);
    padding: 6px;
    z-index: 8;
}

.minty-menu-pop button,
.minty-menu-pop a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--bm-color-navy, #262646);
    font: 500 14px/1.2 var(--bm-font-body, "DM Sans", sans-serif);
    text-decoration: none;
    cursor: pointer;
}

.minty-menu-pop button:hover,
.minty-menu-pop a:hover {
    background: #f3f4f8;
    color: var(--bm-color-navy, #262646);
}

.minty-menu-sep {
    height: 1px;
    background: #e4e6ee;
    margin: 4px 8px;
}

.minty-panel {
    position: fixed;
    z-index: 1062;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--bm-color-navy, #262646);
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
    font-size: 14px;
    line-height: 1.55;
    overflow: hidden;
}

.minty-panel[data-mode="float"] {
    right: 24px;
    bottom: 24px;
    width: min(400px, calc(100vw - 24px));
    height: min(640px, calc(100vh - 104px));
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(38, 38, 70, 0.22), 0 2px 6px rgba(38, 38, 70, 0.08);
}

.minty-panel[data-mode="dock"] {
    top: 88px;
    right: 0;
    bottom: 0;
    width: min(400px, 100vw);
    height: auto;
    border-radius: 0;
    border-left: 1px solid #e4e6ee;
    box-shadow: -8px 0 28px rgba(38, 38, 70, 0.08);
}

html.minty-docked .main-content > .container-fluid {
    padding-right: 416px;
}

.minty-head {
    height: 52px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px 0 14px;
    background: var(--bm-color-navy, #262646);
    color: #fff;
    position: relative;
    z-index: 6;
}

.minty-head-title {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.2;
    color: #fff;
}

.minty-head-title small {
    display: block;
    font-weight: 400;
    font-size: 11.5px;
    color: #c9cbe0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minty-hbtn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #dadceb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    flex: none;
}

.minty-hbtn:hover,
.minty-hbtn[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.minty-hsep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.18);
    margin: 0 2px;
    flex: none;
}

.minty-ctx {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-bottom: 1px solid #e4e6ee;
    background: #fbfbfd;
    font-size: 12.5px;
    color: #5a6075;
}

.minty-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 14px 8px;
    background: #fff;
}

.minty-thread {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.minty-user {
    align-self: flex-end;
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px 14px 4px 14px;
    background: var(--bm-color-navy, #262646);
    color: #fff;
    white-space: pre-wrap;
}

.minty-answer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.minty-thinking {
    color: #5a6075;
    font-size: 13.5px;
}

.minty-welcome {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
}

.minty-welcome h2 {
    margin: 0;
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--bm-color-navy, #262646);
}

.minty-welcome p {
    margin: 0;
    color: #5a6075;
    font-size: 13.5px;
}

.minty-sugg {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 11px 12px;
    border: 1px solid #e4e6ee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 13.5px;
    font-family: inherit;
    color: inherit;
}

.minty-sugg:hover {
    border-color: var(--bm-color-teal, #3fd6d4);
    background: #f7fdfd;
}

.minty-sugg svg {
    color: #0b7271;
    flex: none;
}

.minty-actions {
    display: flex;
    gap: 2px;
    margin-left: -6px;
}

.minty-note-confirm {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--bm-color-navy, #262646);
}

.minty-copy-status {
    align-self: center;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0b7271;
}

.minty-action {
    height: 28px;
    padding: 0 8px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #5a6075;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
}

.minty-action:hover,
.minty-action.on {
    background: #eceef5;
    color: var(--bm-color-navy, #262646);
}

.minty-ctx-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 180px;
    padding: 2px 4px 2px 8px;
    border-radius: 999px;
    background: #e9fafa;
    color: #0b5f5e;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minty-ctx-chip button,
.minty-ctx-add {
    border: none;
    background: transparent;
    color: #0b7271;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.minty-ctx-chip button {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.minty-ctx-add {
    margin-left: auto;
    font-weight: 600;
}

.minty-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.minty-chip {
    max-width: 100%;
    border: 1px solid #d5d8e3;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font: 500 12px inherit;
    padding: 4px 10px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minty-chip[aria-pressed="true"] {
    border-color: #9be7e6;
    background: #e9fafa;
}

.minty-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: #fff;
    border-top: 1px solid #e4e6ee;
    box-shadow: 0 -8px 24px rgba(38, 38, 70, 0.08);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.minty-sheet-head {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.minty-sheet-kind,
.minty-sheet-meta {
    font-size: 12px;
    color: #5a6075;
}

.minty-sheet-title {
    font-weight: 650;
}

.minty-sheet-note {
    margin: 0;
    font-size: 13px;
    color: #262646;
}

.minty-foot {
    flex: none;
    max-height: 62%;
    overflow-y: auto;
    padding: 10px 12px;
    border-top: 1px solid #e4e6ee;
    background: #fff;
    position: relative;
    z-index: 2;
}

.minty-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border: 1px solid #d5d8e3;
    border-radius: 14px;
    padding: 6px 6px 6px 12px;
}

.minty-composer:focus-within {
    border-color: var(--bm-color-teal, #3fd6d4);
    box-shadow: 0 0 0 3px rgba(63, 214, 212, 0.2);
}

.minty-composer textarea {
    flex: 1;
    min-width: 0;
    resize: none;
    border: none;
    outline: none;
    background: transparent;
    font: 400 14px/1.5 var(--bm-font-body, "DM Sans", sans-serif);
    color: var(--bm-color-navy, #262646);
    padding: 5px 0;
    max-height: 120px;
}

.minty-send {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #eceef5;
    color: #5a6075;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
}

.minty-send.ready {
    background: var(--bm-color-navy, #262646);
    color: var(--bm-color-teal, #3fd6d4);
}

.minty-send:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.minty-disclaimer {
    margin: 6px 0 0;
    font-size: 11.5px;
    color: #5a6075;
    text-align: center;
}

.minty-disclaimer a {
    color: #0b7271;
    font-weight: 600;
    text-decoration: none;
}

.minty-disclaimer a:hover {
    color: var(--bm-color-navy, #262646);
    text-decoration: underline;
}

.minty-overlay {
    position: absolute;
    inset: 52px 0 0 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.minty-ov-head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 8px;
}

.minty-ov-head h3 {
    margin: 0;
    flex: 1;
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: var(--bm-color-navy, #262646);
}

.minty-icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #5a6075;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.minty-icon-btn:hover,
.minty-icon-btn.on {
    background: #eceef5;
    color: var(--bm-color-navy, #262646);
}

.minty-tip {
    position: relative;
}

.minty-tip:hover::after,
.minty-tip:focus-visible::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bm-color-navy, #262646);
    color: #fff;
    font: 500 11.5px/1.3 var(--bm-font-body, "DM Sans", sans-serif);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
}

.minty-search {
    margin: 0 14px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e4e6ee;
    border-radius: 10px;
    background: #f7f8fb;
}

.minty-search:focus-within {
    border-color: var(--bm-color-teal, #3fd6d4);
    box-shadow: 0 0 0 3px rgba(63, 214, 212, 0.25);
}

.minty-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font: 400 13.5px var(--bm-font-body, "DM Sans", sans-serif);
    color: var(--bm-color-navy, #262646);
}

.minty-hist-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 8px 14px;
}

.minty-group {
    padding: 12px 8px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6075;
}

.minty-hist {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
    border: none;
    border-radius: 10px;
    padding: 9px 10px;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    color: inherit;
}

.minty-hist:hover {
    background: #eceef5;
}

.minty-hist[aria-current="page"] {
    background: #e9fafa;
    box-shadow: inset 0 0 0 1px #9be7e6;
}

.minty-hist-row {
    width: 100%;
    display: flex;
    gap: 8px;
}

.minty-hist-title {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minty-hist-time {
    font-size: 11px;
    color: #5a6075;
    flex: none;
}

.minty-hist-snip {
    width: 100%;
    font-size: 12px;
    color: #5a6075;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minty-empty {
    margin: 20px 8px;
    padding: 18px 14px;
    border: 1px dashed #d5d8e3;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    color: #5a6075;
}

.minty-full-link {
    flex: none;
    border-top: 1px solid #e4e6ee;
    padding: 12px 14px;
    display: flex;
    justify-content: center;
}

.minty-link {
    border: none;
    background: none;
    padding: 0;
    color: #0b7271;
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.minty-link:hover {
    color: var(--bm-color-navy, #262646);
}

.minty-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    background: var(--bm-color-navy, #262646);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    z-index: 1080;
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
}

.minty-panel .minty-md {
    overflow-x: auto;
    font-size: 14px;
}

.minty-panel .minty-md h1,
.minty-panel .minty-md h2,
.minty-panel .minty-md h3 {
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 0.45rem;
}

.minty-panel .minty-md h1,
.minty-panel .minty-md h2,
.minty-panel .minty-md h3,
.minty-panel .minty-md p,
.minty-panel .minty-md li,
.minty-panel .minty-md table {
    font-size: 14px;
}

.minty-panel .minty-md > :first-child {
    margin-top: 0;
}

.minty-panel .minty-md > :last-child {
    margin-bottom: 0;
}

.minty-panel .minty-md p {
    margin: 0 0 0.55rem;
}

.minty-panel .minty-md ul,
.minty-panel .minty-md ol {
    margin: 0 0 0.55rem;
    padding-left: 1.15rem;
}

.minty-panel .minty-md table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.35rem 0 0.55rem;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.minty-panel .minty-md th,
.minty-panel .minty-md td {
    border-bottom: 1px solid #eef0f5;
    padding: 6px 8px;
    text-align: left;
    white-space: nowrap;
}

.minty-panel .minty-md th {
    background: #f3f4f8;
    color: #5a6075;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .minty-panel[data-mode="float"],
    .minty-panel[data-mode="dock"] {
        inset: 0;
        width: auto;
        height: auto;
        border-radius: 0;
        z-index: 1065;
    }

    .minty-dock-only {
        display: none;
    }

    html.minty-docked .main-content > .container-fluid {
        padding-right: 0;
    }
}

.minty-rec-btn {
    height: 34px;
    min-width: 34px;
    padding: 0 8px;
    gap: 5px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #5a6075;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
}

.minty-rec-btn-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.minty-rec-btn:hover,
.minty-rec-btn.open {
    background: #eceef5;
    color: #262646;
}

.minty-rec,
.minty-rec-consent {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f6f7fb;
    color: #262646;
    font-size: 13px;
}

.minty-rec {
    display: flex;
    align-items: center;
    gap: 8px;
}

.minty-rec-consent p {
    margin: 0 0 8px;
}

.minty-rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e5484d;
    flex: none;
    box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55);
    animation: minty-rec-pulse 1.4s ease-out infinite;
}

.minty-rec-dot.paused {
    background: #e8b931;
    animation: none;
    box-shadow: none;
}

@keyframes minty-rec-pulse {
    70% { box-shadow: 0 0 0 6px rgba(229, 72, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}

.minty-rec-time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.minty-rec-who {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #5a6075;
}

.minty-rec-help {
    margin: -2px 2px 8px;
    color: #5a6075;
    font-size: 12px;
}

.minty-rec-consent .minty-rec-help {
    margin: 6px 0 8px;
}

.minty-rec-error {
    margin: 0 0 8px;
    color: #b42318;
    font-size: 12px;
}

.minty-rec-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 2px 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.minty-rec-check:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.minty-rec-box {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid #5a6075;
    border-radius: 4px;
    background: #fff;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.minty-rec-box.on {
    background: #262646;
    border-color: #262646;
}

.minty-rec-box.on::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.minty-rec-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.minty-rec-mic-picker {
    margin: 10px 0 8px;
    padding: 10px 12px;
    border: 1px solid rgba(38, 38, 70, 0.1);
    border-radius: 10px;
    background: #f7f8fb;
}

.minty-rec-mic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.minty-rec-mic-row label {
    margin: 0;
    font-size: 12px;
    font-weight: 650;
    color: #262646;
}

.minty-rec-mic-picker select {
    width: 100%;
    height: 34px;
    border: 1px solid rgba(38, 38, 70, 0.14);
    border-radius: 8px;
    padding: 0 8px;
    font-size: 12.5px;
    background: #fff;
    color: #262646;
}

.minty-rec-mic-picker select:disabled {
    opacity: 0.6;
}

.minty-rec-mic-picker .minty-rec-help {
    margin: 6px 0 0;
}

.minty-rec-mic {
    display: block;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: #5a6075;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.minty-rec-mic:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.minty-rec-action {
    border: none;
    background: #fff;
    color: #262646;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.minty-rec-action:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.minty-rec-stop {
    background: #262646;
    color: #fff;
}

.minty-rec-dock {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: min(420px, calc(100vw - 32px));
    height: 52px;
    padding: 0 8px 0 14px;
    border-radius: 999px;
    background: #262646;
    color: #fff;
    box-shadow: 0 10px 30px rgba(38, 38, 70, 0.28);
    font-family: var(--bm-font-body, "DM Sans", sans-serif);
}

.minty-rec-dock-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

div.minty-rec-dock-main {
    cursor: default;
}

.minty-rec-dock .minty-rec-who {
    color: rgba(255, 255, 255, 0.78);
}

.minty-rec-dock-btn {
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    flex: none;
}

.minty-rec-dock-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.minty-rec-dock-stop {
    background: #3fd6d4;
    color: #262646;
}

.minty-rec-dock-error {
    position: fixed;
    right: 24px;
    bottom: 84px;
    z-index: 1060;
    margin: 0;
    max-width: min(420px, calc(100vw - 32px));
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    color: #b42318;
    font-size: 12px;
    box-shadow: 0 8px 24px rgba(38, 38, 70, 0.16);
}

/* Persistent meeting recording bar (global — App.razor does not load scoped Blazor CSS) */
.meeting-live-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 12px 0 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bm-color-navy, #262646);
    color: #f5f7fb;
    font-size: 13px;
    position: relative;
    z-index: 1020;
    box-sizing: border-box;
}

body:has(#sidenav-main.bm-client-sidenav) .meeting-live-bar {
    margin-left: 260px;
    max-width: calc(100% - 260px);
}

.meeting-live-bar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55);
    animation: meeting-live-pulse 1.4s ease-out infinite;
    flex: 0 0 auto;
}

.meeting-live-bar-dot.paused {
    background: #f5a524;
    animation: none;
}

@keyframes meeting-live-pulse {
    70% { box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

.meeting-live-bar-label {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 11px;
    flex: 0 0 auto;
}

.meeting-live-bar-time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    flex: 0 0 auto;
}

.meeting-live-bar-client {
    font-weight: 650;
    flex: 0 0 auto;
}

.meeting-live-bar-help {
    opacity: 0.78;
    flex: 1 1 160px;
    min-width: 0;
}

.meeting-live-bar .meeting-live-bar-btn {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #f5f7fb;
    border-radius: 999px;
    min-width: 76px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    flex: 0 0 auto;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.meeting-live-bar .meeting-live-bar-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.meeting-live-bar .meeting-live-bar-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.meeting-live-bar .meeting-live-bar-stop {
    border-color: rgba(255, 130, 130, 0.65);
    background: rgba(220, 60, 60, 0.28);
    color: #ffd6d6;
}

.meeting-live-bar .meeting-live-bar-stop:hover:not(:disabled) {
    background: rgba(220, 60, 60, 0.42);
    border-color: rgba(255, 160, 160, 0.85);
    color: #fff;
}

.meeting-live-bar-error {
    margin: -4px 0 12px;
    color: #a15c00;
    font-size: 12px;
}

body:has(#sidenav-main.bm-client-sidenav) .meeting-live-bar-error {
    margin-left: 260px;
}

/* Scoped MeetingRecordingBar.razor.css is not loaded. Keep the toast off the fixed client menu. */
.meeting-live-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: auto;
    z-index: 1200;
    max-width: min(420px, calc(100vw - 36px));
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #1f2433;
    color: #f5f7fb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}

body:has(#sidenav-main.bm-client-sidenav) .meeting-live-toast {
    max-width: min(420px, calc(100vw - 296px));
}

@media (max-width: 991.98px) {
    body:has(#sidenav-main.bm-client-sidenav) .meeting-live-bar,
    body:has(#sidenav-main.bm-client-sidenav) .meeting-live-bar-error {
        margin-left: 0;
        max-width: 100%;
    }

    body:has(#sidenav-main.bm-client-sidenav) .meeting-live-toast {
        max-width: min(420px, calc(100vw - 36px));
    }
}
