@import url("./fonts/local-fonts.css");

* {
    scrollbar-width: thin;
    scrollbar-color: var(--tbp-data-grid-scrollbar-thumb, #cfd4dc) var(--tbp-data-grid-scrollbar-track, transparent);
}

*::-webkit-scrollbar {
    width: var(--tbp-data-grid-scrollbar-size, 7px);
    height: var(--tbp-data-grid-scrollbar-size, 7px);
}

*::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
    background: var(--tbp-data-grid-scrollbar-track, transparent);
}

*::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--tbp-data-grid-scrollbar-thumb, #cfd4dc);
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--tbp-data-grid-scrollbar-thumb-hover, #b8c0cc);
    background-clip: content-box;
}

.splash-screen {
    position: relative;
    display: grid;
    box-sizing: border-box;
    min-height: 100vh;
    overflow: hidden;
    place-items: center;
    background: var(--tbp-splash-background, #ffffff);
}

.splash-bg {
    position: absolute;
    z-index: 0;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.splash-bg-left {
    top: 0;
    left: 0;
    width: var(--tbp-splash-bg-left-width, min(58vw, 720px));
}

.splash-bg-right {
    right: 0;
    bottom: 0;
    width: var(--tbp-splash-bg-right-width, min(68vw, 1132px));
}

.splash-content {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(var(--tbp-splash-content-width, 260px), calc(100vw - 48px));
    justify-items: center;
    gap: 18px;
}

.splash-logo {
    width: var(--tbp-splash-logo-size, 118px);
    height: var(--tbp-splash-logo-size, 118px);
    object-fit: contain;
}

.splash-progress {
    width: 100%;
}

.splash-content p {
    min-height: 22px;
    margin: 0;
    color: var(--tbp-splash-text-muted, #4d5b73);
    font-size: .92rem;
    text-align: center;
}

.login-screen {
    position: relative;
    display: grid;
    box-sizing: border-box;
    min-height: 100vh;
    overflow: hidden;
    place-items: center;
    padding: 24px;
    font-family: var(--tbp-login-font-family, "Segoe UI", Arial, sans-serif);
    background: var(--tbp-login-background, #ffffff);
}

.login-bg {
    position: absolute;
    z-index: 0;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.login-bg-left {
    top: 0;
    left: 0;
    width: var(--tbp-login-bg-left-width, min(58vw, 720px));
}

.login-bg-right {
    right: 0;
    bottom: 0;
    width: var(--tbp-login-bg-right-width, min(68vw, 1132px));
}

.login-card {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(var(--tbp-login-panel-width, 360px), calc(100vw - 48px));
    justify-items: stretch;
    padding: var(--tbp-login-panel-padding, 22px 24px);
    border: 1px solid var(--tbp-login-panel-border, #dbe5f2);
    border-radius: var(--tbp-login-radius-panel, 8px);
    background: var(--tbp-login-panel-background, rgba(255, 255, 255, .92));
    box-shadow: var(--tbp-login-panel-shadow, 0 18px 46px rgba(24, 34, 52, .12));
}

.login-logo {
    width: var(--tbp-login-logo-size, 92px);
    height: var(--tbp-login-logo-size, 92px);
    justify-self: center;
    margin-bottom: var(--tbp-login-logo-margin-bottom, 16px);
    object-fit: contain;
}

.login-header {
    display: grid;
    gap: var(--tbp-login-header-gap, 7px);
    margin-bottom: 22px;
    text-align: center;
}

.login-header h1 {
    margin: 0;
    color: var(--tbp-login-text-primary, #111827);
    font-size: var(--tbp-login-title-font-size, 1.28rem);
    font-weight: var(--tbp-login-title-font-weight, 600);
    line-height: 1.2;
}

.login-header p {
    margin: 0;
    color: var(--tbp-login-text-muted, #536178);
    font-size: var(--tbp-login-summary-font-size, .84rem);
    line-height: 1.45;
}

.login-form {
    display: grid;
    gap: var(--tbp-login-form-gap, 12px);
}

.login-form label {
    display: grid;
    gap: var(--tbp-login-label-gap, 6px);
    color: var(--tbp-login-label, #344055);
    font-size: var(--tbp-login-label-font-size, .82rem);
    font-weight: 700;
}

.login-form input {
    width: 100%;
    box-sizing: border-box;
    height: var(--tbp-login-control-height, 32px);
    padding: 0 var(--tbp-login-control-padding-x, 12px);
    border: 1px solid var(--tbp-login-control-border, #cfd8e6);
    border-radius: var(--tbp-login-radius-control, 6px);
    color: var(--tbp-login-text-primary, #111827);
    background: var(--tbp-login-control-background, #ffffff);
    outline: none;
}

.login-form input:focus {
    border-color: var(--tbp-login-control-focus, #2f6fed);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}

.login-form button {
    height: var(--tbp-login-button-height, 36px);
    margin-top: var(--tbp-login-submit-margin-top, 10px);
    border: 1px solid var(--tbp-login-button-border, #1f5ed0);
    border-radius: var(--tbp-login-radius-control, 6px);
    color: var(--tbp-login-button-text, #ffffff);
    background: var(--tbp-login-button-background, #2f6fed);
    font-size: var(--tbp-login-button-font-size, .9rem);
    font-weight: 700;
    cursor: pointer;
}

.login-message {
    min-height: 20px;
    margin: 16px 0 0;
    color: var(--tbp-login-text-muted, #536178);
    font-size: .86rem;
    line-height: 1.4;
    text-align: center;
}

.login-message--error {
    color: var(--tbp-login-message-error, #b42318);
}

.tbp-message-box-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 24px;
    place-items: center;
    background: var(--tbp-message-box-backdrop-background, rgba(17, 24, 39, .16));
    backdrop-filter: blur(var(--tbp-message-box-backdrop-blur, 3px));
}

.tbp-message-box {
    display: grid;
    width: min(var(--tbp-message-box-width, 390px), calc(100vw - 48px));
    overflow: hidden;
    border: 1px solid var(--tbp-message-box-border, rgba(209, 216, 228, .95));
    border-radius: var(--tbp-message-box-radius, 8px);
    background: var(--tbp-message-box-background, rgba(255, 255, 255, .96));
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-message-box-message-font-size, 12px);
    box-shadow: var(--tbp-message-box-shadow, 0 20px 54px rgba(24, 34, 52, .18));
}

.tbp-message-box__content {
    padding: var(--tbp-message-box-padding, 18px);
}

.tbp-message-box__content h2 {
    margin: 0 0 8px;
    color: var(--tbp-message-box-title-color, #111827);
    font-size: var(--tbp-message-box-title-font-size, 14px);
    font-weight: var(--tbp-message-box-title-font-weight, 600);
    line-height: 1.25;
}

.tbp-message-box__content p {
    margin: 0;
    color: var(--tbp-message-box-message-color, #6b7280);
    font-size: var(--tbp-message-box-message-font-size, 12px);
    line-height: 1.55;
}

.tbp-message-box__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: var(--tbp-message-box-actions-padding, 12px 16px);
    border-top: 1px solid var(--tbp-message-box-actions-border, #e4e4e7);
    background: var(--tbp-message-box-actions-background, rgba(248, 250, 252, .92));
}

.tbp-message-box__button {
    min-width: 0;
    height: var(--tbp-message-box-button-height, 28px);
    padding: 0 var(--tbp-message-box-button-padding-x, 10px);
    border-style: solid;
    border-width: 1px;
    border-radius: var(--tbp-message-box-button-radius, 6px);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-message-box-button-font-size, 12px);
    font-weight: var(--tbp-message-box-button-font-weight, 600);
    line-height: 1;
    cursor: pointer;
}

.tbp-message-box__button--primary {
    border-color: var(--tbp-message-box-primary-border, #111827);
    color: var(--tbp-message-box-primary-text, #ffffff);
    background: var(--tbp-message-box-primary-background, #111827);
}

.tbp-message-box__button--secondary {
    border-color: var(--tbp-message-box-secondary-border, #c9d2df);
    color: var(--tbp-message-box-secondary-text, #111827);
    background: var(--tbp-message-box-secondary-background, #ffffff);
}

.tbp-progress-bar {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: var(--tbp-splash-progress-height, 6px);
    border-radius: 999px;
    background: var(--tbp-splash-progress-track-background, #dfe7f3);
}

.tbp-progress-bar__indicator {
    position: absolute;
    inset: 0 auto 0 0;
    width: 38%;
    border-radius: inherit;
    background: var(--tbp-splash-progress-indicator-background, #2f6fed);
    animation: tbp-progress-indeterminate var(--tbp-splash-progress-animation-duration, 1.15s) ease-in-out infinite;
}

.tbp-dashboard {
    display: grid;
    grid-template-columns: var(--tbp-dashboard-sidebar-width, 236px) minmax(0, 1fr);
    min-height: 100vh;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    background: var(--tbp-dashboard-background, #f6f7f9);
}

.tbp-dashboard__sidebar {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    min-height: 100vh;
    padding: 16px 12px;
    border-right: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    background: var(--tbp-dashboard-sidebar-background, #ffffff);
}

.tbp-dashboard__brand {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 2px 6px 12px;
    border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
}

.tbp-dashboard__brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.tbp-dashboard__brand strong,
.tbp-dashboard__brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-dashboard__brand strong {
    font-size: 13px;
    font-weight: 700;
}

.tbp-dashboard__brand span {
    margin-top: 1px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10.5px;
}

.tbp-dashboard__nav {
    display: grid;
    align-content: start;
    gap: 4px;
}

.tbp-dashboard__nav-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--tbp-dashboard-nav-text, #3f3f46);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.tbp-dashboard__nav-item span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 6px;
    color: var(--tbp-dashboard-nav-icon-text, #52525b);
    background: var(--tbp-dashboard-nav-icon-background, #f4f4f5);
    font-size: 10px;
    font-weight: 800;
}

.tbp-dashboard__nav-item.is-active {
    border-color: var(--tbp-dashboard-nav-active-border, #dbeafe);
    color: var(--tbp-dashboard-nav-active-text, #1d4ed8);
    background: var(--tbp-dashboard-nav-active-background, #eff6ff);
}

.tbp-dashboard__workspace {
    display: grid;
    align-content: start;
    gap: 16px;
    min-width: 0;
    padding: 18px;
}

.tbp-dashboard__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
}

.tbp-dashboard__topbar p,
.tbp-dashboard__topbar h1 {
    margin: 0;
}

.tbp-dashboard__topbar p {
    color: var(--tbp-dashboard-accent, #2563eb);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tbp-dashboard__topbar h1 {
    margin-top: 3px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.tbp-dashboard__session {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tbp-dashboard__session span {
    max-width: 180px;
    overflow: hidden;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11.25px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-dashboard__session button {
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: 6px;
    color: var(--tbp-dashboard-button-text, #18181b);
    background: var(--tbp-dashboard-button-background, #ffffff);
    font-size: 11.25px;
    font-weight: 700;
    cursor: pointer;
}

.tbp-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tbp-dashboard__metric,
.tbp-dashboard__panel {
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: 8px;
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
}

.tbp-dashboard__metric {
    display: grid;
    gap: 5px;
    min-height: 94px;
    padding: 14px;
}

.tbp-dashboard__metric span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tbp-dashboard__metric strong {
    font-size: 20px;
    font-weight: 700;
}

.tbp-dashboard__metric p {
    margin: 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-dashboard__content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 12px;
}

.tbp-dashboard__panel {
    min-width: 0;
    padding: 14px;
}

.tbp-dashboard__panel header {
    margin-bottom: 14px;
}

.tbp-dashboard__panel h2,
.tbp-dashboard__panel p {
    margin: 0;
}

.tbp-dashboard__panel h2 {
    font-size: 13px;
    font-weight: 700;
}

.tbp-dashboard__panel header p {
    margin-top: 4px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-dashboard__steps {
    display: grid;
    gap: 8px;
}

.tbp-dashboard__step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-radius: 7px;
    background: var(--tbp-dashboard-soft-background, #fafafa);
}

.tbp-dashboard__step > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 6px;
    color: var(--tbp-dashboard-accent, #2563eb);
    background: var(--tbp-dashboard-nav-active-background, #eff6ff);
    font-size: 11px;
    font-weight: 800;
}

.tbp-dashboard__step strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.tbp-dashboard__step p {
    margin-top: 3px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-dashboard__details {
    display: grid;
    gap: 8px;
    margin: 0;
}

.tbp-dashboard__details div {
    display: grid;
    gap: 3px;
    padding: 9px 0;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-dashboard__details div:last-child {
    border-bottom: 0;
}

.tbp-dashboard__details dt {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tbp-dashboard__details dd {
    overflow-wrap: anywhere;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

@keyframes tbp-progress-indeterminate {
    0% {
        transform: translateX(-110%);
    }

    50% {
        transform: translateX(95%);
    }

    100% {
        transform: translateX(265%);
    }
}

@media (max-width: 860px) {
    .splash-bg-left {
        width: var(--tbp-splash-bg-left-width-mobile, 92vw);
    }

    .splash-bg-right {
        width: var(--tbp-splash-bg-right-width-mobile, 110vw);
    }

    .splash-logo {
        width: var(--tbp-splash-logo-size-mobile, 96px);
        height: var(--tbp-splash-logo-size-mobile, 96px);
    }

    .login-bg-left {
        width: var(--tbp-login-bg-left-width-mobile, 92vw);
    }

    .login-bg-right {
        width: var(--tbp-login-bg-right-width-mobile, 110vw);
    }

    .tbp-dashboard {
        grid-template-columns: 1fr;
    }

    .tbp-dashboard__sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    }

    .tbp-dashboard__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbp-dashboard__topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbp-dashboard__grid,
    .tbp-dashboard__content {
        grid-template-columns: 1fr;
    }
}

.tbp-app,
.tbp-app *,
.tbp-app *::before,
.tbp-app *::after {
    box-sizing: border-box;
}

.tbp-app {
    display: grid;
    height: 100dvh;
    min-height: 100vh;
    grid-template-columns: var(--tbp-dashboard-sidebar-width, 236px) minmax(0, 1fr);
    overflow: hidden;
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-dashboard-background, #f6f7f9);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
}

.tbp-app.is-sidebar-collapsed {
    grid-template-columns: var(--tbp-dashboard-sidebar-collapsed-width, 46px) minmax(0, 1fr);
}

.tbp-app button,
.tbp-app input {
    font: inherit;
}

.tbp-app a {
    text-decoration: none;
}

.tbp-icon {
    font-family: "Material Symbols Outlined";
    position: relative;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.tbp-icon__glyph {
    visibility: hidden;
}

.tbp-icon > .tbp-icon__placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

html.tbp-icon-font-ready .tbp-icon__glyph {
    visibility: visible;
}

html.tbp-icon-font-ready .tbp-icon > .tbp-icon__placeholder {
    display: none;
}

.tbp-app__sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    width: var(--tbp-dashboard-sidebar-width, 236px);
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    gap: 11px;
    border-right: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    background: var(--tbp-dashboard-sidebar-background, #ffffff);
    padding: 9px 0 9px 13px;
}

.tbp-app__brand {
    display: flex;
    min-height: 30px;
    align-items: center;
    gap: 8px;
    padding: 0;
    padding-right: 13px;
}

.tbp-app__brand img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tbp-app__brand strong,
.tbp-app__brand span {
    display: block;
}

.tbp-app__brand strong {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.tbp-app__brand span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10px;
    line-height: 1.2;
}

.tbp-app__search {
    display: grid;
    box-sizing: border-box;
    width: calc(100% - 13px);
    cursor: pointer;
    text-align: left;
    height: 27px;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--tbp-dashboard-search-border, color-mix(in srgb, var(--tbp-dashboard-border, #e4e4e7) 65%, var(--tbp-dashboard-text-muted, #71717a)));
    border-radius: 0;
    background: #ffffff;
    padding: 0 7px;
    margin-right: 13px;
}

.tbp-app__search .tbp-icon {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 14px;
}

.tbp-app__search-text {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
}

.tbp-app__search kbd {
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: 4px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: #fafafa;
    padding: 1px 4px;
    font-size: 9px;
    font-weight: 500;
}

.tbp-app__sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 7px;
    scrollbar-gutter: stable;
}

.tbp-app__nav-section {
    display: grid;
    gap: 3px;
}

.tbp-app__nav-section h2 {
    margin: 8px 0 6px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-sidebar-font-size, .75rem);
    font-weight: var(--tbp-dashboard-sidebar-active-font-weight, 500);
    line-height: var(--tbp-dashboard-sidebar-line-height, 1rem);
}

.tbp-app__nav-section nav {
    display: grid;
    gap: 1px;
}

.tbp-app__nav-group {
    display: grid;
    gap: 1px;
    position: relative;
}

.tbp-app__nav-item {
    display: grid;
    width: 100%;
    min-height: 23px;
    grid-template-columns: 15px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-nav-text, #3f3f46);
    background: transparent;
    padding: 0 7px;
    text-align: left;
    font-size: var(--tbp-dashboard-sidebar-font-size, .75rem);
    font-weight: var(--tbp-dashboard-sidebar-font-weight, 400);
    line-height: var(--tbp-dashboard-sidebar-line-height, 1rem);
    cursor: pointer;
}

.tbp-app__nav-item:hover,
.tbp-app__nav-item:focus-visible {
    color: var(--tbp-dashboard-nav-active-text, #18181b);
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
}

.tbp-app__nav-chevron {
    color: var(--tbp-dashboard-nav-active-text, #18181b);
    font-size: 14px;
    transition: transform .15s ease;
}

.tbp-app__nav-item > .tbp-icon:first-child {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    color: var(--tbp-dashboard-nav-icon-text, #52525b);
    background: var(--tbp-dashboard-nav-icon-background, #f4f4f5);
    font-size: 13px;
}

.tbp-app__nav-item > span:not(.tbp-icon) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--tbp-dashboard-sidebar-font-size, .625rem);
    font-weight: inherit;
    line-height: var(--tbp-dashboard-sidebar-line-height, .875rem);
}

.tbp-app__nav-item.is-active {
    width: 100%;
    margin-inline: 0;
    border-radius: var(--tbp-dashboard-radius, 4px);
    border-color: var(--tbp-dashboard-nav-active-border, #dbeafe);
    color: var(--tbp-dashboard-nav-active-text, #1d4ed8);
    background: var(--tbp-dashboard-nav-active-background, #eff6ff);
    box-shadow: none;
    padding-inline: 6px;
    font-weight: var(--tbp-dashboard-sidebar-active-font-weight, 500);
}

.tbp-app__nav-item.is-active > .tbp-icon:first-child {
    color: var(--tbp-dashboard-nav-active-text, #18181b);
    background: transparent;
}

.tbp-app__nav-item.is-expanded .tbp-app__nav-chevron {
    transform: rotate(90deg);
}

.tbp-app__nav-children {
    position: relative;
    display: grid;
    gap: 1px;
    margin: 2px 0 3px 0;
    padding-left: 25px;
}

.tbp-app__nav-children::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 14px;
    width: 1px;
    background: var(--tbp-dashboard-sidebar-submenu-line, #c9c9cf);
    content: "";
}

.tbp-app__nav-child {
    display: flex;
    align-items: center;
    min-height: 23px;
    border: 1px solid transparent;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-nav-text, #71717a);
    background: transparent;
    padding: 0 7px;
    text-align: left;
    font-size: var(--tbp-dashboard-sidebar-font-size, .75rem);
    font-weight: var(--tbp-dashboard-sidebar-font-weight, 400);
    line-height: var(--tbp-dashboard-sidebar-line-height, 1rem);
}

.tbp-app__nav-child:hover,
.tbp-app__nav-child:focus-visible {
    color: var(--tbp-dashboard-nav-active-text, #18181b);
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
}

.tbp-app__nav-child,
.tbp-app__nav-child.is-active {
    font-size: var(--tbp-dashboard-sidebar-font-size, .625rem);
    line-height: var(--tbp-dashboard-sidebar-line-height, .875rem);
}

.tbp-app__nav-child.is-active {
    border-color: transparent;
    color: var(--tbp-dashboard-nav-active-text, #18181b);
    background: var(--tbp-dashboard-nav-active-background, #eff6ff);
    font-weight: var(--tbp-dashboard-sidebar-active-font-weight, 500);
}

.tbp-app__sidebar.is-collapsed {
    width: var(--tbp-dashboard-sidebar-collapsed-width, 46px);
    align-items: center;
    padding: 7px 0;
}

.tbp-app__sidebar.is-collapsed .tbp-app__brand {
    justify-content: center;
    width: 100%;
    padding-right: 0;
}

.tbp-app__sidebar.is-collapsed .tbp-app__brand img {
    width: 27px;
    height: 27px;
}

.tbp-app__sidebar.is-collapsed .tbp-app__brand div,
.tbp-app__sidebar.is-collapsed .tbp-app__search-text,
.tbp-app__sidebar.is-collapsed .tbp-app__search kbd,
.tbp-app__sidebar.is-collapsed .tbp-app__nav-section h2,
.tbp-app__sidebar.is-collapsed .tbp-app__nav-item > span:not(.tbp-icon),
.tbp-app__sidebar.is-collapsed .tbp-app__nav-item .tbp-badge,
.tbp-app__sidebar.is-collapsed .tbp-app__nav-chevron,
.tbp-app__sidebar.is-collapsed .tbp-app__nav-children {
    display: none;
}

.tbp-app__sidebar.is-collapsed .tbp-app__search {
    width: 100%;
    height: 32px;
    grid-template-columns: 1fr;
    justify-items: center;
    border-color: transparent;
    background: transparent;
    margin-right: 0;
    padding: 0;
}

.tbp-app__sidebar.is-collapsed .tbp-app__search .tbp-icon {
    color: var(--tbp-dashboard-nav-icon-text, #71717a);
    font-size: 17px;
}

.tbp-app__sidebar.is-collapsed .tbp-app__sidebar-scroll {
    width: 100%;
    overflow-x: hidden;
    padding-right: 0;
    scrollbar-gutter: auto;
}

.tbp-app__sidebar.is-collapsed .tbp-app__nav-section {
    gap: 0;
}

.tbp-app__sidebar.is-collapsed .tbp-app__nav-section nav,
.tbp-app__sidebar.is-collapsed .tbp-app__nav-group {
    width: 100%;
    justify-items: center;
}

.tbp-app__sidebar.is-collapsed .tbp-app__nav-item {
    width: 100%;
    min-height: 28px;
    grid-template-columns: 1fr;
    place-items: center;
    justify-items: center;
    border-radius: 0;
    padding: 0;
}

.tbp-app__sidebar.is-collapsed .tbp-app__nav-item > .tbp-icon:first-child {
    width: 17px;
    height: 17px;
    margin: 0 auto;
    font-size: 17px;
}

.tbp-app__sidebar.is-collapsed .tbp-app__nav-item.is-active {
    border-color: var(--tbp-dashboard-nav-active-border, #dbeafe);
    padding-inline: 0;
}

.tbp-app__sidebar-floating-tooltip {
    position: fixed;
    z-index: 50;
    left: calc(var(--tbp-dashboard-sidebar-collapsed-width, 46px) - 8px);
    display: block;
    max-width: 190px;
    transform: translateY(-50%);
    border-radius: 3px;
    color: #ffffff;
    background: #09090b;
    padding: 5px 8px;
    font-size: var(--tbp-tooltip-font-size, 10px);
    font-weight: var(--tbp-tooltip-font-weight, 500);
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .16);
    pointer-events: none;
}

.tbp-app__sidebar-floating-tooltip::before {
    position: absolute;
    top: 50%;
    left: -5px;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-right: 5px solid #09090b;
    border-bottom: 5px solid transparent;
    content: "";
}

.tbp-app__sidebar-flyout-dismiss {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--tbp-dashboard-sidebar-collapsed-width, 46px);
}

.tbp-app__sidebar-flyout {
    position: fixed;
    z-index: 55;
    left: calc(var(--tbp-dashboard-sidebar-collapsed-width, 46px) - 8px);
    display: grid;
    min-width: 172px;
    max-width: 220px;
    gap: 5px;
    transform: translateY(-18px);
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    padding: 7px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
}

.tbp-app__sidebar-flyout::before {
    position: absolute;
    top: 15px;
    left: -5px;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-left: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    content: "";
}

.tbp-app__sidebar-flyout strong {
    padding: 2px 6px 5px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dashboard-sidebar-font-size, .75rem);
    font-weight: var(--tbp-dashboard-sidebar-active-font-weight, 500);
    line-height: var(--tbp-dashboard-sidebar-line-height, 1rem);
}

.tbp-app__sidebar-flyout > div {
    display: grid;
    gap: 1px;
}

.tbp-app__sidebar-flyout .tbp-app__nav-child {
    min-height: 24px;
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 0 7px;
}

.tbp-app__shell {
    display: grid;
    grid-column: 2;
    height: 100dvh;
    min-height: 0;
    min-width: 0;
    grid-template-rows: var(--tbp-dashboard-topbar-height, 48px) minmax(0, 1fr);
    align-content: start;
    overflow: hidden;
}

.tbp-app__shell--operational-status {
    grid-template-rows: var(--tbp-dashboard-topbar-height, 48px) auto minmax(0, 1fr);
}

.tbp-app__operational-status {
    min-width: 0;
}

.tbp-app__sidebar-backdrop {
    display: none;
}

.tbp-app__topbar {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    width: 100%;
    min-height: var(--tbp-dashboard-topbar-height, 48px);
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--tbp-dashboard-topbar-border, rgba(212, 212, 216, .72));
    background: var(--tbp-dashboard-topbar-background, rgba(255, 255, 255, .72));
    box-shadow: var(--tbp-dashboard-topbar-shadow, 0 1px 0 rgba(255, 255, 255, .45) inset);
    -webkit-backdrop-filter: saturate(180%) blur(var(--tbp-dashboard-topbar-blur, 14px));
    backdrop-filter: saturate(180%) blur(var(--tbp-dashboard-topbar-blur, 14px));
    padding: 0 18px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .tbp-app__topbar {
        background: rgba(255, 255, 255, .94);
    }
}

.tbp-app__workspace,
.tbp-app__actions,
.tbp-app__tenant {
    display: flex;
    min-width: 0;
    align-items: center;
}

.tbp-app__workspace,
.tbp-app__actions {
    gap: 8px;
}

.tbp-app__actions {
    position: relative;
    flex-shrink: 0;
}

.tbp-app__workspace {
    flex: 1 1 auto;
}

.tbp-app__workspace > .tbp-button {
    flex-shrink: 0;
}

.tbp-app__tenant {
    gap: 7px;
}

.tbp-app__tenant span {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--tbp-dashboard-amber, #f59e0b);
}

.tbp-app__tenant strong {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
}

.tbp-app__tenant small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-app__actions form {
    margin: 0;
}

.tbp-app .tbp-button {
    display: inline-grid;
    min-height: var(--tbp-button-height-compact, 28px);
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: var(--tbp-button-gap, 6px);
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: var(--tbp-dashboard-radius, 6px);
    color: var(--tbp-dashboard-button-text, #18181b);
    background: var(--tbp-dashboard-button-background, #ffffff);
    padding: 0 var(--tbp-button-padding-x-compact, 10px);
    font-family: inherit;
    font-size: var(--tbp-button-compact-font-size, 12px);
    font-weight: var(--tbp-button-font-weight, 500);
    line-height: var(--tbp-button-line-height, 1rem);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.tbp-app .tbp-button:hover,
.tbp-app .tbp-button:focus-visible {
    border-color: var(--tbp-dashboard-nav-active-border, #d7e1fb);
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
}

.tbp-app .tbp-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.tbp-app .tbp-button--primary {
    border-color: var(--tbp-dashboard-blue, #2563eb);
    color: #ffffff;
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-app .tbp-button--primary:hover,
.tbp-app .tbp-button--primary:focus-visible {
    border-color: #1d4ed8;
    background: #1d4ed8;
}

.tbp-app .tbp-button--neutral {
    border-color: var(--tbp-dashboard-text-primary, #09090b);
    color: #ffffff;
    background: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-app .tbp-button--neutral:hover,
.tbp-app .tbp-button--neutral:focus-visible {
    border-color: #27272a;
    background: #27272a;
}

.tbp-app .tbp-button--ghost {
    border-color: transparent;
    background: transparent;
}

.tbp-app .tbp-button--danger {
    border-color: var(--tbp-button-danger-background, #dc2626);
    color: var(--tbp-button-danger-text, #ffffff);
    background: var(--tbp-button-danger-background, #dc2626);
}

.tbp-app .tbp-button--danger:hover,
.tbp-app .tbp-button--danger:focus-visible {
    border-color: var(--tbp-button-danger-hover-background, #b91c1c);
    color: var(--tbp-button-danger-text, #ffffff);
    background: var(--tbp-button-danger-hover-background, #b91c1c);
}

.tbp-app .tbp-button--small {
    min-height: var(--tbp-button-height-small, 30px);
    padding-inline: var(--tbp-button-padding-x-small, 12px);
    font-size: var(--tbp-button-small-font-size, 12px);
}

.tbp-app .tbp-button--regular {
    min-height: var(--tbp-button-height-regular, 34px);
    padding-inline: var(--tbp-button-padding-x-regular, 14px);
    font-size: var(--tbp-button-regular-font-size, 12px);
}

.tbp-app .tbp-button--compact-density {
    min-height: var(--tbp-button-compact-density-height, 24px);
    padding-inline: var(--tbp-button-compact-density-padding-x, 8px);
    font-size: var(--tbp-button-compact-density-font-size, 11px);
}

.tbp-app .tbp-button--icon,
.tbp-app .tbp-button--icon-only {
    width: var(--tbp-button-icon-size, 28px);
    min-height: var(--tbp-button-icon-size, 28px);
    padding: 0;
}

.tbp-app .tbp-button .tbp-icon {
    font-size: 16px;
}

.tbp-app .tbp-button__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbp-badge {
    display: inline-flex;
    min-width: 0;
    height: 18px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.tbp-badge .tbp-icon {
    width: 12px;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
}

.tbp-badge--success {
    border-color: var(--tbp-badge-success-border, #bbf7d0);
    color: var(--tbp-badge-success-text, #15803d);
    background: var(--tbp-badge-success-background, #dcfce7);
}

.tbp-badge--danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fee2e2;
}

.tbp-badge--warning {
    border-color: #fde68a;
    color: #92400e;
    background: #fef3c7;
}

.tbp-badge--information {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #dbeafe;
}

.tbp-badge--neutral {
    border-color: var(--tbp-dashboard-border, #e4e4e7);
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: #f4f4f5;
}

.tbp-badge--counter {
    min-width: 14px;
    height: 14px;
    border-color: var(--tbp-badge-counter-border, #ffffff);
    color: var(--tbp-badge-counter-text, #ffffff);
    background: var(--tbp-badge-counter-background, #18181b);
    padding: 0 3px;
    font-size: 8px;
    font-weight: 700;
}

.tbp-tooltip {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
}

.tbp-tooltip__content {
    position: absolute;
    z-index: var(--tbp-tooltip-z-index, 10000);
    display: block;
    max-width: 190px;
    border-radius: 3px;
    color: var(--tbp-tooltip-text, #ffffff);
    background: var(--tbp-tooltip-background, #09090b);
    padding: 5px 8px;
    font-size: var(--tbp-tooltip-font-size, 10px);
    font-weight: var(--tbp-tooltip-font-weight, 500);
    line-height: 1;
    white-space: nowrap;
    box-shadow: var(--tbp-tooltip-shadow, 0 8px 20px rgba(15, 23, 42, .16));
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}

.tbp-tooltip .tbp-tooltip__content[popover] {
    position: fixed;
    inset: auto;
    margin: 0;
    border: 0;
    max-width: min(320px, calc(100vw - 16px));
    white-space: normal;
    line-height: 1.35;
    transform: none;
}

.tbp-tooltip .tbp-tooltip__content[popover]:not(:popover-open) {
    display: none;
}

.tbp-tooltip .tbp-tooltip__content[popover]:popover-open {
    display: block;
    opacity: 1;
    transform: none;
}

.tbp-tooltip .tbp-tooltip__content[popover]::before {
    display: none;
}

.tbp-tooltip__content::before {
    position: absolute;
    width: 0;
    height: 0;
    content: "";
}

.tbp-tooltip:hover .tbp-tooltip__content,
.tbp-tooltip:focus-within .tbp-tooltip__content {
    opacity: 1;
}

.tbp-tooltip--top .tbp-tooltip__content {
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translate(-50%, 2px);
}

.tbp-tooltip--top:hover .tbp-tooltip__content,
.tbp-tooltip--top:focus-within .tbp-tooltip__content {
    transform: translate(-50%, 0);
}

.tbp-tooltip--top .tbp-tooltip__content::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 5px solid var(--tbp-tooltip-background, #09090b);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.tbp-tooltip--right .tbp-tooltip__content {
    top: 50%;
    left: calc(100% + 7px);
    transform: translate(-2px, -50%);
}

.tbp-tooltip--right:hover .tbp-tooltip__content,
.tbp-tooltip--right:focus-within .tbp-tooltip__content {
    transform: translate(0, -50%);
}

.tbp-tooltip--right .tbp-tooltip__content::before {
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-right: 5px solid var(--tbp-tooltip-background, #09090b);
    border-bottom: 5px solid transparent;
}

.tbp-tooltip--bottom .tbp-tooltip__content {
    top: calc(100% + 7px);
    left: 50%;
    transform: translate(-50%, -2px);
}

.tbp-tooltip--bottom:hover .tbp-tooltip__content,
.tbp-tooltip--bottom:focus-within .tbp-tooltip__content {
    transform: translate(-50%, 0);
}

.tbp-tooltip--bottom .tbp-tooltip__content::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--tbp-tooltip-background, #09090b);
    border-left: 5px solid transparent;
}

.tbp-tooltip--left .tbp-tooltip__content {
    top: 50%;
    right: calc(100% + 7px);
    transform: translate(2px, -50%);
}

.tbp-tooltip--left:hover .tbp-tooltip__content,
.tbp-tooltip--left:focus-within .tbp-tooltip__content {
    transform: translate(0, -50%);
}

.tbp-tooltip--left .tbp-tooltip__content::before {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--tbp-tooltip-background, #09090b);
}

.tbp-hover-card {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.tbp-hover-card__trigger {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.tbp-hover-card__content {
    position: absolute;
    z-index: var(--tbp-hover-card-z-index, 90);
    display: block;
    min-width: var(--tbp-hover-card-min-width, 220px);
    max-width: var(--tbp-hover-card-max-width, 340px);
    border: 1px solid var(--tbp-hover-card-border, #d4d4d8);
    border-radius: var(--tbp-hover-card-radius, 8px);
    color: var(--tbp-hover-card-text, #18181b);
    background: var(--tbp-hover-card-background, #ffffff);
    padding: var(--tbp-hover-card-padding, 12px);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    box-shadow: var(--tbp-hover-card-shadow, 0 14px 30px rgba(15, 23, 42, .14));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.tbp-hover-card:hover .tbp-hover-card__content,
.tbp-hover-card:focus-within .tbp-hover-card__content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tbp-hover-card__content strong {
    display: block;
    color: var(--tbp-hover-card-text, #18181b);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 700;
    line-height: 1.25;
}

.tbp-hover-card__content p {
    margin: 5px 0 0;
    color: var(--tbp-hover-card-text, #18181b);
}

.tbp-hover-card__content small {
    display: block;
    margin-top: 6px;
    color: var(--tbp-hover-card-muted-text, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: 1.25;
}

.tbp-hover-card--top .tbp-hover-card__content {
    bottom: calc(100% + var(--tbp-hover-card-gap, 8px));
    left: 50%;
    transform: translate(-50%, 4px);
}

.tbp-hover-card--top:hover .tbp-hover-card__content,
.tbp-hover-card--top:focus-within .tbp-hover-card__content {
    transform: translate(-50%, 0);
}

.tbp-hover-card--right .tbp-hover-card__content {
    top: 50%;
    left: calc(100% + var(--tbp-hover-card-gap, 8px));
    transform: translate(-4px, -50%);
}

.tbp-hover-card--right:hover .tbp-hover-card__content,
.tbp-hover-card--right:focus-within .tbp-hover-card__content {
    transform: translate(0, -50%);
}

.tbp-hover-card--bottom .tbp-hover-card__content {
    top: calc(100% + var(--tbp-hover-card-gap, 8px));
    left: 50%;
    transform: translate(-50%, -4px);
}

.tbp-hover-card--bottom:hover .tbp-hover-card__content,
.tbp-hover-card--bottom:focus-within .tbp-hover-card__content {
    transform: translate(-50%, 0);
}

.tbp-hover-card--left .tbp-hover-card__content {
    top: 50%;
    right: calc(100% + var(--tbp-hover-card-gap, 8px));
    transform: translate(4px, -50%);
}

.tbp-hover-card--left:hover .tbp-hover-card__content,
.tbp-hover-card--left:focus-within .tbp-hover-card__content {
    transform: translate(0, -50%);
}

.tbp-app__icon-button {
    place-items: center;
}

.tbp-app__icon-button .tbp-icon {
    font-size: 16px;
}

.tbp-app__notification-button {
    position: relative;
    width: 28px;
    height: 28px;
    min-height: 28px;
    border-color: transparent;
    background: transparent;
    overflow: visible;
}

.tbp-app__notification-button > .tbp-icon {
    font-size: 21px;
}

.tbp-app .tbp-button.tbp-app__notification-button:hover,
.tbp-app .tbp-button.tbp-app__notification-button:focus-visible {
    border-color: transparent;
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
}

.tbp-app__notification-button .tbp-button__label {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.tbp-app__notification-badge {
    position: absolute;
    top: -1px;
    right: -4px;
    box-shadow: 0 0 0 1px var(--tbp-dashboard-topbar-background, #ffffff);
}

.tbp-platform-error {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 12px;
    min-height: 240px;
    padding: 32px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-dashboard-background, #f6f7f9);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
}

.tbp-platform-error h2,
.tbp-platform-error p {
    margin: 0;
}

.tbp-platform-error h2 {
    font-size: 18px;
}

.tbp-platform-error code {
    font-family: ui-monospace, Consolas, monospace;
    font-weight: 650;
}

.tbp-platform-error .tbp-button {
    min-height: 30px;
    border: 1px solid var(--tbp-dashboard-blue, #2563eb);
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: #fff;
    background: var(--tbp-dashboard-blue, #2563eb);
    padding: 0 12px;
    font: inherit;
    cursor: pointer;
}

.tbp-notification-panel {
    width: min(360px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-panel-background, #fff);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.tbp-notification-panel__header {
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 11px 13px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 650;
}

.tbp-notification-panel__list {
    max-height: min(520px, calc(100dvh - 150px));
    overflow-y: auto;
}

.tbp-app .tbp-dropdown-menu__item.tbp-notification-panel__item {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 9px 13px;
}

.tbp-app .tbp-dropdown-menu__item.tbp-notification-panel__item > span:not(.tbp-icon) {
    display: grid;
    min-width: 0;
    gap: 3px;
    white-space: normal;
}

.tbp-notification-panel__meta {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    gap: 8px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 500;
}

.tbp-notification-panel__meta time {
    flex: none;
}

.tbp-notification-panel__subject,
.tbp-notification-panel__sender,
.tbp-notification-panel__preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-notification-panel__subject {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
}

.tbp-notification-panel__sender {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 500;
}

.tbp-notification-panel__preview {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-weight: 400;
}

.tbp-notification-panel__expiry {
    width: max-content;
    max-width: 100%;
    margin-top: 2px;
}

.tbp-notification-panel__item.is-unread {
    background: var(--tbp-dashboard-nav-active-background, #eff6ff);
}

.tbp-notification-panel__empty {
    margin: 0;
    padding: 20px 13px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    text-align: center;
}

.tbp-app .tbp-dropdown-menu__item.tbp-notification-panel__all {
    display: block;
    min-height: auto;
    padding: 10px 13px;
    color: var(--tbp-dashboard-nav-active-text, #1d4ed8);
    text-align: center;
}

.tbp-app__user-menu {
    position: relative;
}

.tbp-dropdown {
    position: relative;
}

.tbp-app__topbar:has(.tbp-dropdown.is-open) {
    z-index: 60;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.tbp-dropdown.is-open {
    z-index: 1;
}

.tbp-dropdown__dismiss-layer {
    position: fixed;
    z-index: 0;
    inset: 0;
}

.tbp-dropdown__trigger {
    position: relative;
    z-index: 1;
}

.tbp-dropdown__panel {
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    min-width: 190px;
}

.tbp-dropdown--start .tbp-dropdown__panel {
    left: 0;
}

.tbp-dropdown--end .tbp-dropdown__panel {
    right: 0;
}

.tbp-app__user-button {
    display: grid;
    min-height: 28px;
    grid-template-columns: 22px minmax(0, auto) 14px;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-button-text, #18181b);
    background: transparent;
    padding: 2px 6px 2px 2px;
    font-size: 12px;
    font-weight: 500;
}

.tbp-app__user-button:hover,
.tbp-app__user-button:focus-visible {
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
}

.tbp-app__user-button > .tbp-app__user-avatar {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--tbp-dashboard-blue, #2563eb);
    font-size: 9px;
    font-weight: 700;
}

.tbp-app__user-button strong {
    max-width: 112px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-app__user-button .tbp-icon {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 15px;
}

.tbp-dropdown-menu {
    display: grid;
    width: 190px;
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.tbp-dropdown-menu__header {
    display: grid;
    gap: 2px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 9px 10px;
}

.tbp-app .tbp-dropdown-menu__header strong {
    overflow: hidden;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dropdown-header-font-size, var(--tbp-dashboard-form-font-size, 12px));
    font-weight: 650;
    line-height: var(--tbp-dropdown-header-line-height, var(--tbp-dashboard-sidebar-line-height, 1rem));
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-app .tbp-dropdown-menu__header small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dropdown-caption-font-size, var(--tbp-dashboard-combobox-font-size, 11px));
    line-height: var(--tbp-dropdown-caption-line-height, .875rem);
}

.tbp-dropdown-menu__items {
    display: grid;
}

.tbp-app .tbp-dropdown-menu__item {
    display: grid;
    width: 100%;
    min-height: 31px;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 0;
    color: var(--tbp-dashboard-nav-text, #71717a);
    background: transparent;
    padding: 0 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    font-size: var(--tbp-dropdown-item-font-size, var(--tbp-dashboard-form-font-size, 12px));
    font-weight: 500;
    line-height: var(--tbp-dropdown-item-line-height, var(--tbp-dashboard-sidebar-line-height, 1rem));
}

.tbp-app .tbp-dropdown-menu__item:hover,
.tbp-app .tbp-dropdown-menu__item:focus-visible {
    color: var(--tbp-dropdown-item-hover-text, var(--tbp-dashboard-nav-active-text, #18181b));
    background: var(--tbp-dropdown-item-hover-background, var(--tbp-dashboard-nav-active-background, #eff6ff));
}

.tbp-app .tbp-dropdown-menu__item[aria-disabled="true"],
.tbp-app .tbp-dropdown-menu__item:disabled {
    opacity: .55;
    pointer-events: none;
}

.tbp-app .tbp-dropdown-menu__item.is-danger {
    color: var(--tbp-status-danger-text, #b91c1c);
}

.tbp-app .tbp-dropdown-menu__item > span:not(.tbp-icon) {
    overflow: hidden;
    font-size: inherit;
    line-height: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-app .tbp-dropdown-menu__item .tbp-icon {
    color: var(--tbp-dashboard-nav-icon-text, #52525b);
    font-size: var(--tbp-dropdown-icon-font-size, 14px);
}

.tbp-dropdown-menu__form {
    margin: 0;
}

.tbp-dropdown-menu__form .tbp-dropdown-menu__item {
    width: 100%;
}

.tbp-app__actions > form button {
    color: #ffffff;
    border-color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-toast {
    position: fixed;
    box-sizing: border-box;
    z-index: 95;
    right: var(--tbp-toast-offset-right, 16px);
    bottom: var(--tbp-toast-offset-bottom, 16px);
    display: grid;
    width: min(var(--tbp-toast-width, 420px), calc(100vw - 24px));
    grid-template-columns: 16px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--tbp-toast-border, #d4d4d8);
    border-radius: 4px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-toast-background, #ffffff);
    box-shadow: var(--tbp-toast-shadow, 0 2px 8px rgba(15, 23, 42, .08));
    padding: 7px 8px;
    font-size: var(--tbp-toast-font-size, 12px);
    line-height: 1.25;
}

.tbp-toast-host {
    position: fixed;
    z-index: 96;
    display: flex;
    width: min(var(--tbp-toast-width, 420px), calc(100vw - 24px));
    flex-direction: column;
    gap: var(--tbp-toast-stack-gap, 8px);
}

.tbp-toast-host--bottom-end {
    right: var(--tbp-toast-offset-right, 16px);
    bottom: var(--tbp-toast-offset-bottom, 16px);
}

.tbp-toast-host--top-center {
    top: var(--tbp-toast-offset-top, 16px);
    left: 50%;
    transform: translateX(-50%);
}

.tbp-toast-host .tbp-toast {
    position: static;
    width: 100%;
}

.tbp-toast__icon {
    font-size: 15px;
}

.tbp-toast strong,
.tbp-toast p {
    margin: 0;
}

.tbp-toast strong {
    display: block;
    font-size: var(--tbp-toast-title-font-size, 12px);
    font-weight: 600;
    line-height: 1.25;
}

.tbp-toast p {
    margin-top: 1px;
    color: inherit;
    white-space: pre-line;
}

.tbp-toast__body {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tbp-toast p.tbp-toast__message--compact {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--tbp-toast-message-lines, 2);
    line-clamp: var(--tbp-toast-message-lines, 2);
    overflow: hidden;
}

.tbp-toast__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tbp-toast__actions .tbp-button {
    min-height: 26px;
    padding-inline: 10px;
}

.tbp-toast__close {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: currentColor;
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: .72;
}

.tbp-toast__close:hover,
.tbp-toast__close:focus-visible {
    color: currentColor;
    background: rgba(0, 0, 0, .04);
    opacity: 1;
}

.tbp-toast__close .tbp-icon {
    font-size: 15px;
}

.tbp-toast--information,
.tbp-toast--custom {
    border-color: #93c5fd;
    color: #1d4ed8;
    background: #eff6ff;
}

.tbp-toast--information .tbp-toast__icon,
.tbp-toast--custom .tbp-toast__icon {
    color: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-toast--success,
.tbp-toast--confirmation {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}

.tbp-toast--success .tbp-toast__icon,
.tbp-toast--confirmation .tbp-toast__icon {
    color: #16a34a;
}

.tbp-toast--warning {
    border-color: #fcd34d;
    color: #92400e;
    background: #fffbeb;
}

.tbp-toast--warning .tbp-toast__icon {
    color: #d97706;
}

.tbp-toast--danger {
    border-color: #fca5a5;
    color: #b91c1c;
    background: #fef2f2;
}

.tbp-toast--danger .tbp-toast__icon {
    color: #dc2626;
}

.tbp-skeleton {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--tbp-dashboard-radius, 6px);
    background: linear-gradient(
        90deg,
        var(--tbp-skeleton-background, #eef1f5) 0%,
        var(--tbp-skeleton-highlight, #f7f8fa) 46%,
        var(--tbp-skeleton-background, #eef1f5) 92%);
    background-size: 220% 100%;
    animation: tbp-skeleton-loading 1.18s ease-in-out infinite;
}

.tbp-skeleton--line {
    height: 12px;
}

.tbp-skeleton--block {
    min-height: 32px;
}

.tbp-skeleton--circle {
    border-radius: 999px;
    aspect-ratio: 1;
}

.tbp-page-skeleton {
    display: grid;
    align-content: start;
    gap: 14px;
}

.tbp-page-skeleton__header {
    display: grid;
    gap: 8px;
}

.tbp-page-skeleton__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 14px;
}

.tbp-page-skeleton__card {
    display: grid;
    gap: 14px;
    min-width: 0;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 6px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    padding: 14px;
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
}

.tbp-page-skeleton__card-header,
.tbp-page-skeleton__filters,
.tbp-page-skeleton__row,
.tbp-page-skeleton__summary-row {
    display: grid;
    gap: 8px;
}

.tbp-page-skeleton__filters {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.tbp-page-skeleton__table {
    display: grid;
    gap: 8px;
}

.tbp-page-skeleton__row {
    grid-template-columns: 58px repeat(4, minmax(0, 1fr)) 90px;
}

.tbp-page-skeleton__summary {
    display: grid;
    gap: 12px;
}

.tbp-page-skeleton--form .tbp-page-skeleton__layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
}

.tbp-page-skeleton--form .tbp-page-skeleton__section {
    display: grid;
    gap: 12px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 6px);
    padding: 14px;
}

.tbp-page-skeleton--form .tbp-page-skeleton__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tbp-page-skeleton__wide {
    grid-column: 1 / -1;
}

@keyframes tbp-skeleton-loading {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

.tbp-app__content {
    display: grid;
    align-content: start;
    align-self: start;
    width: min(100%, var(--tbp-dashboard-content-max-width, none));
    height: 100%;
    min-width: 0;
    min-height: 0;
    gap: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: var(--tbp-dashboard-content-padding, 18px);
    scrollbar-gutter: stable;
}

.tbp-app__page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.tbp-breadcrumb { flex: 0 0 100%; min-width: 0; color: var(--tbp-color-text-muted, #71717a); font-size: 12px; }
.tbp-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tbp-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.tbp-breadcrumb a { display: inline-flex; color: inherit; text-decoration: none; }
.tbp-breadcrumb a:hover, .tbp-breadcrumb a:focus-visible { color: var(--tbp-color-primary, #2563eb); }
.tbp-breadcrumb .tbp-icon { font-size: 16px; }
.tbp-breadcrumb__separator { display: inline-flex; opacity: .65; }

.tbp-user-profile-page {
    grid-template-rows: auto auto;
}

.tbp-user-profile-layout {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 14px;
    align-items: start;
}

.tbp-user-profile-column {
    display: grid;
    min-width: 0;
    gap: 14px;
}

.tbp-user-profile-layout > .tbp-card {
    min-width: 0;
}

.tbp-user-profile-form {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
}

.tbp-user-profile-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 10px 14px;
}

.tbp-user-profile-feedback {
    margin: 0;
    padding: 0 14px 10px;
    font-size: var(--tbp-dashboard-form-font-size, 12px);
}

.tbp-user-profile-feedback.is-success {
    color: var(--tbp-color-success-text, #15803d);
}

.tbp-user-profile-feedback.is-error {
    color: var(--tbp-color-danger-text, #b91c1c);
}

.tbp-user-profile-message {
    margin: 0;
    padding: 14px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
}

@media (max-width: 900px) {
    .tbp-user-profile-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.tbp-app__page-header p,
.tbp-app__page-header h1 {
    margin: 0;
}

.tbp-app__page-header p {
    color: var(--tbp-dashboard-accent, #2563eb);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tbp-app__page-header h1 {
    margin-top: 6px;
    font-family: var(--tbp-dashboard-display-font-family, "Poppins", "Inter", "Segoe UI", Arial, sans-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.tbp-app__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.tbp-app__filters .tbp-button {
    border-radius: 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: #f4f4f5;
}

.tbp-app__filters .tbp-button:first-child {
    border-radius: 6px 0 0 6px;
}

.tbp-app__filters .tbp-button:last-child {
    border-radius: 0 6px 6px 0;
}

.tbp-app__filters .tbp-button.is-active {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: #ffffff;
}

.tbp-app__page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tbp-app__page-actions .tbp-button {
    min-height: var(--tbp-button-page-action-height, 28px);
    padding-inline: var(--tbp-button-page-action-padding-x, 11px);
    font-size: var(--tbp-button-page-action-font-size, 11px);
}

.tbp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tbp-kpi-card,
.tbp-panel {
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 6px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
}

.tbp-kpi-card {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
}

.tbp-kpi-card header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tbp-kpi-card span,
.tbp-panel h2 {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: 12px;
    font-weight: 650;
}

.tbp-kpi-card p,
.tbp-panel header p {
    margin: 4px 0 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-kpi-card strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.tbp-kpi-card__ticks {
    display: grid;
    grid-template-columns: repeat(18, minmax(0, 1fr));
    gap: 4px;
}

.tbp-kpi-card__ticks span {
    height: 17px;
    border-radius: 999px;
    background: #e5e7eb;
}

.tbp-kpi-card__ticks.is-blue span.is-filled {
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-kpi-card__ticks.is-green span.is-filled {
    background: var(--tbp-dashboard-green, #22c55e);
}

.tbp-kpi-card__ticks.is-amber span.is-filled {
    background: var(--tbp-dashboard-amber, #f59e0b);
}

.tbp-kpi-card__ticks.is-violet span.is-filled {
    background: var(--tbp-dashboard-violet, #8b5cf6);
}

.tbp-panel header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 12px 14px;
}

.tbp-panel h2 {
    margin: 0;
}

.tbp-panel--chart {
    min-height: 330px;
}

.tbp-chart__legend {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
}

.tbp-chart__legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tbp-chart__legend i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
}

.tbp-chart__legend i.is-primary {
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-chart__legend i.is-secondary {
    background: var(--tbp-dashboard-blue-soft, #60a5fa);
}

.tbp-chart {
    display: grid;
    min-height: 248px;
    grid-template-columns: repeat(30, minmax(12px, 1fr));
    align-items: end;
    gap: 10px;
    padding: 18px 18px 12px;
}

.tbp-chart__point {
    display: grid;
    min-width: 0;
    gap: 8px;
    justify-items: center;
}

.tbp-chart__bars {
    display: flex;
    height: 210px;
    align-items: end;
    gap: 4px;
}

.tbp-chart__bars span {
    width: 6px;
    min-height: 8px;
    border-radius: 999px;
}

.tbp-chart__bars .is-primary {
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-chart__bars .is-secondary {
    background: var(--tbp-dashboard-blue-soft, #60a5fa);
}

.tbp-chart__point small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
}

.tbp-app__lower-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 14px;
}

.tbp-service-list,
.tbp-activity-list,
.tbp-session-details {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 14px 12px;
}

.tbp-service-list__item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-service-list__item:last-child,
.tbp-activity-list div:last-child,
.tbp-session-details div:last-child {
    border-bottom: 0;
}

.tbp-service-list__item > span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.tbp-service-list__item > span.is-green {
    background: var(--tbp-dashboard-green, #22c55e);
}

.tbp-service-list__item > span.is-amber {
    background: var(--tbp-dashboard-amber, #f59e0b);
}

.tbp-service-list__item strong,
.tbp-activity-list strong,
.tbp-session-details dd.tbp-session-details__multiline {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tbp-session-details dd {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: 12px;
    font-weight: 650;
}

.tbp-service-list__item p,
.tbp-activity-list p {
    margin: 3px 0 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.35;
}

.tbp-service-list__item small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
}

.tbp-activity-list div,
.tbp-session-details div {
    display: grid;
    gap: 3px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 9px 0;
}

.tbp-activity-list span,
.tbp-session-details dt {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    font-weight: 600;
}

.tbp-session-details dd {
    overflow-wrap: anywhere;
    margin: 0;
}

.tbp-dashboard-grid-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.tbp-dashboard-canvas {
    display: grid;
    gap: 12px;
}

.tbp-dashboard-canvas__viewport {
    max-width: 100%;
    overflow: auto;
}

.tbp-dashboard-canvas__stage {
    position: relative;
    min-width: 100%;
}

.tbp-dashboard-canvas.is-editing .tbp-dashboard-canvas__stage {
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-widget-grid-background, #f0f1f3);
}

.tbp-dashboard-drop-cell {
    position: absolute;
    z-index: 0;
    display: block;
    padding: 0;
    border: 1px solid var(--tbp-dashboard-widget-grid-cell-border, #e1e5eb);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-widget-grid-cell-background, #f8fafc);
    box-shadow: var(--tbp-dashboard-widget-grid-cell-shadow, inset 0 0 0 1px rgba(255, 255, 255, .42));
    cursor: pointer;
}

.tbp-dashboard-drop-cell.is-occupied {
    opacity: .42;
}

.tbp-dashboard-drop-cell.is-drag-over {
    border-color: var(--tbp-dashboard-accent, #2563eb);
    background: var(--tbp-dashboard-accent-soft, #eff6ff);
}

.tbp-dashboard-widget {
    position: absolute;
    z-index: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.tbp-dashboard-widget:hover,
.tbp-dashboard-widget:focus-within {
    z-index: 20;
}

.tbp-dashboard-widget:has(.tbp-active-sessions-widget .tbp-hover-card:hover),
.tbp-dashboard-widget:has(.tbp-active-sessions-widget .tbp-hover-card:focus-within) {
    overflow: visible;
}

.tbp-dashboard-widget.is-editing {
    cursor: grab;
}

.tbp-dashboard-widget.is-editing * {
    user-select: none;
}

.tbp-dashboard-widget.is-editing:active {
    cursor: grabbing;
}

.tbp-dashboard-widget.is-dragging {
    opacity: .46;
    pointer-events: none;
    z-index: 30;
}

.tbp-dashboard-widget__card {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.tbp-dashboard-widget__header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.tbp-dashboard-widget.is-editing .tbp-card > header h2,
.tbp-dashboard-widget.is-editing .tbp-card > header p {
    user-select: none;
}

.tbp-dashboard-widget__drag-surface {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    pointer-events: none;
    border: 1px dashed transparent;
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: transparent;
    transition:
        border-color .16s ease,
        background-color .16s ease;
}

.tbp-dashboard-widget__drag-surface-handle {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: 999px;
    color: var(--tbp-dashboard-accent, #2563eb);
    background: color-mix(in srgb, var(--tbp-dashboard-panel-background, #ffffff) 88%, transparent);
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
    opacity: .74;
    pointer-events: auto;
    cursor: grab;
}

.tbp-dashboard-widget__drag-surface-handle:active {
    cursor: grabbing;
}

.tbp-dashboard-widget__resize-controls {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, 24px);
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: color-mix(in srgb, var(--tbp-dashboard-panel-background, #ffffff) 92%, transparent);
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
}

.tbp-dashboard-widget__resize-button.tbp-button {
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
}

.tbp-dashboard-widget__resize-button .tbp-icon {
    font-size: 18px;
}

.tbp-dashboard-widget.is-editing:hover .tbp-dashboard-widget__drag-surface,
.tbp-dashboard-widget.is-editing:focus-within .tbp-dashboard-widget__drag-surface {
    border-color: var(--tbp-dashboard-accent, #2563eb);
    background: color-mix(in srgb, var(--tbp-dashboard-accent-soft, #eff6ff) 68%, transparent);
}

.tbp-dashboard-widget.is-editing:hover .tbp-dashboard-widget__resize-controls,
.tbp-dashboard-widget.is-editing:focus-within .tbp-dashboard-widget__resize-controls {
    opacity: 1;
    pointer-events: auto;
}

.tbp-dashboard-widget.is-dragging .tbp-dashboard-widget__drag-surface {
    border-color: var(--tbp-dashboard-accent, #2563eb);
    background: color-mix(in srgb, var(--tbp-dashboard-accent-soft, #eff6ff) 76%, transparent);
}

.tbp-dashboard-hidden-widgets {
    position: fixed;
    top: calc(var(--tbp-dashboard-topbar-height, 48px) + 76px);
    right: 18px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(320px, calc(100vw - 36px));
    max-height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - 104px);
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: 0 18px 42px rgba(24, 34, 52, .16);
}

.tbp-dashboard-hidden-widgets > header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-dashboard-hidden-widgets h2,
.tbp-dashboard-hidden-widgets p {
    margin: 0;
}

.tbp-dashboard-hidden-widgets h2 {
    font-size: 12px;
    font-weight: 650;
}

.tbp-dashboard-hidden-widgets p {
    margin-top: 3px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
}

.tbp-dashboard-hidden-widgets__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: auto;
    padding: 8px 10px 10px;
}

.tbp-dashboard-hidden-widgets__empty {
    width: 100%;
    margin: 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    line-height: 1.45;
}

.tbp-dashboard-hidden-widget {
    display: grid;
    gap: 1px;
    width: 100%;
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 7px 9px;
    background: var(--tbp-dashboard-button-background, #ffffff);
    color: var(--tbp-dashboard-text-primary, #09090b);
    text-align: left;
    cursor: pointer;
}

.tbp-dashboard-hidden-widget strong {
    overflow: hidden;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-dashboard-hidden-widget span {
    overflow: hidden;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-dashboard-widget__status {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 8px;
    border: 1px solid var(--tbp-dashboard-green, #22c55e);
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-green-text, #15803d);
    background: var(--tbp-dashboard-green-soft, #dcfce7);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 600;
    line-height: 1;
}

.tbp-dashboard-widget__metrics,
.tbp-dashboard-widget__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.tbp-dashboard-widget__metric,
.tbp-dashboard-widget__summary > div {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-soft-background, #fafafa);
}

.tbp-dashboard-widget__metric span,
.tbp-dashboard-widget__summary span,
.tbp-dashboard-widget__details dt {
    display: block;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: 1.2;
}

.tbp-dashboard-widget__metric strong,
.tbp-dashboard-widget__summary strong,
.tbp-dashboard-widget__details dd {
    display: block;
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 700;
    line-height: 1.2;
}

.tbp-dashboard-widget__metric p {
    margin: 6px 0 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: 1.25;
}

.tbp-dashboard-widget__metric.is-success strong {
    color: var(--tbp-dashboard-green-text, #15803d);
}

.tbp-dashboard-widget__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 14px;
    margin: 0;
    padding: 0;
}

.tbp-dashboard-widget__details div {
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-dashboard-widget__empty {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: 16px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    text-align: center;
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    line-height: 1.4;
}

.tbp-dashboard-widget--realtime .tbp-dashboard-widget__status {
    border-color: var(--tbp-dashboard-accent-border, #c7d2fe);
    color: var(--tbp-dashboard-accent, #2563eb);
    background: var(--tbp-dashboard-accent-soft, #eff6ff);
}

.tbp-active-sessions-widget {
    min-height: 0;
    box-sizing: border-box;
    container-type: inline-size;
    padding: var(--tbp-dashboard-widget-content-padding, 12px 14px);
}

.tbp-active-sessions-widget__grid {
    min-height: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.tbp-active-sessions-widget__grid.tbp-data-grid {
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-radius: var(--tbp-dashboard-radius, 4px);
}

.tbp-active-sessions-widget__grid .tbp-data-grid__viewport {
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__viewport:has(.tbp-hover-card:hover),
.tbp-active-sessions-widget__grid .tbp-data-grid__viewport:has(.tbp-hover-card:focus-within) {
    overflow: visible;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__viewport::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__table {
    table-layout: fixed;
    width: 100%;
    min-width: 100%;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(1),
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(1) {
    width: auto;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(2),
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(2) {
    width: 96px;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(3),
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(3) {
    width: 46px;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__row:hover {
    position: relative;
    z-index: 3;
}

.tbp-active-sessions-widget__grid .tbp-hover-card--right .tbp-hover-card__content {
    width: min(260px, calc(100cqw - 28px));
    min-width: 0;
    max-width: none;
    left: max(0px, calc(100cqw - min(260px, calc(100cqw - 28px)) - 28px));
    transform: translateY(-50%);
}

.tbp-active-sessions-widget__grid .tbp-data-grid__cell {
    position: relative;
    overflow: visible;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell,
.tbp-active-sessions-widget__grid .tbp-data-grid__cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__cell:first-child {
    overflow: visible;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-last-child(2),
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-last-child(2) {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:first-child,
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:first-child {
    border-left: 0;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-last-child(2),
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-last-child(2) {
    border-right: 0;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__row:last-child .tbp-data-grid__cell {
    border-bottom: 0;
}

.tbp-active-sessions-widget__grid .tbp-data-grid__cell:first-child .tbp-hover-card,
.tbp-active-sessions-widget__grid .tbp-data-grid__cell:first-child .tbp-hover-card__trigger {
    width: 100%;
    justify-content: flex-start;
}

.tbp-active-sessions-widget__user {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 2px;
}

.tbp-active-sessions-widget__user strong {
    overflow: hidden;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-active-sessions-widget__user small {
    overflow: hidden;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-active-sessions-widget__hover {
    display: grid;
    gap: 5px;
    font-size: 11px;
    line-height: 1.25;
}

.tbp-active-sessions-widget__hover-card {
    padding: 9px 10px;
    font-size: 11px;
}

.tbp-active-sessions-widget__hover dl {
    display: grid;
    gap: 4px;
    margin: 0;
}

.tbp-active-sessions-widget__hover dl > div {
    display: grid;
    gap: 2px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-active-sessions-widget__hover dl > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tbp-active-sessions-widget__hover dt {
    color: var(--tbp-hover-card-muted-text, #71717a);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.tbp-active-sessions-widget__hover dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--tbp-hover-card-text, #18181b);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.tbp-active-sessions-widget__disconnect:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.tbp-active-sessions-widget__empty {
    display: grid;
    height: 100%;
    min-height: 120px;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    text-align: center;
    font-size: var(--tbp-dashboard-form-font-size, 12px);
}

.tbp-active-sessions-widget__empty .tbp-icon {
    color: var(--tbp-dashboard-accent, #2563eb);
}

@container (max-width: 520px) {
    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(1),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(1) {
        width: auto;
    }

    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(2),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(2) {
        width: 96px;
    }

    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(3),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(3) {
        width: 46px;
    }
}

.tbp-log-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
}

.tbp-log-main,
.tbp-log-reference {
    min-width: 0;
}

.tbp-log-main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
}

.tbp-log-files {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-log-files > .tbp-card__content {
    display: grid;
    overflow: hidden;
}

.tbp-log-files .tbp-data-grid {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.tbp-log-files .tbp-data-grid__viewport {
    min-height: 0;
    overflow: auto;
}

.tbp-log-files .tbp-data-grid__table {
    min-width: 0;
}

.tbp-log-reference .tbp-form-sections {
    padding: 14px;
}

.tbp-log-descriptions {
    display: grid;
    gap: 12px;
    margin: 0;
    font-size: var(--tbp-input-label-font-size, 12px);
    line-height: 1.5;
}

.tbp-log-descriptions dt {
    font-weight: 600;
    color: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-log-descriptions dd {
    margin: 3px 0 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    overflow-wrap: anywhere;
}

.tbp-log-levels > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 8px;
}

.tbp-log-levels dd {
    margin: 0;
}

@media (max-width: 1000px) {
    .tbp-log-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .tbp-log-main {
        grid-template-rows: auto auto;
    }
}

.tbp-session-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 14px;
}

.tbp-session-profile-layout > form {
    min-width: 0;
}

.tbp-form-summary-layout > form {
    margin: 0;
}

/* The form determines the row height; the summary scrolls within that height. */
@media (min-width: 1181px) {
    .tbp-form-summary-layout > .tbp-session-profile-card {
        contain: size;
        align-self: stretch;
        display: grid;
        min-width: 0;
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .tbp-form-summary-layout > .tbp-session-profile-card > .tbp-card__content {
        min-height: 0;
        overflow-y: auto;
    }
}

.tbp-platform-variables-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 14px;
}

.tbp-audit-logs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 14px;
}

.tbp-session-history-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 14px;
}

.tbp-roles-list-layout > .tbp-session-profile-list-card > .tbp-card__content,
.tbp-session-profiles-list-layout > .tbp-session-profile-list-card > .tbp-card__content,
.tbp-users-list-layout > .tbp-session-profile-list-card > .tbp-card__content {
    min-width: 0;
}

.tbp-role-detail-card,
.tbp-session-profile-detail-card,
.tbp-user-detail-card {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-role-detail-card > .tbp-card__content,
.tbp-session-profile-detail-card > .tbp-card__content,
.tbp-user-detail-card > .tbp-card__content {
    overflow-y: auto;
}

.tbp-role-detail-permissions {
    border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 12px 0;
}

.tbp-role-detail-permissions h3,
.tbp-role-detail-permissions > p {
    margin: 0 14px 8px;
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-role-detail-permissions > p {
    color: var(--tbp-dashboard-text-muted, #71717a);
}

.tbp-role-detail-permissions ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tbp-role-detail-permissions li {
    display: flex;
    min-height: 28px;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 5px 12px 5px calc(12px + var(--tbp-role-permission-depth) * 14px);
    font-size: var(--tbp-font-size-sm, .75rem);
    overflow-wrap: anywhere;
}

.tbp-role-detail-permissions li.is-context {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-weight: 600;
}

.tbp-role-detail-permissions .tbp-icon {
    flex: 0 0 16px;
    font-size: 15px;
}

.tbp-active-sessions-page {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 14px;
}

.tbp-platform-variable-list-card,
.tbp-platform-variable-detail-card,
.tbp-audit-log-list-card,
.tbp-audit-log-detail-card,
.tbp-session-history-list-card,
.tbp-notification-inbox-list-card,
.tbp-session-history-detail-card,
.tbp-active-sessions-card,
.tbp-active-sessions-detail-card {
    min-width: 0;
}

.tbp-session-profile-list-card,
.tbp-platform-variable-list-card,
.tbp-audit-log-list-card,
.tbp-session-history-list-card,
.tbp-notification-inbox-list-card,
.tbp-active-sessions-card {
    display: grid;
    height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - (var(--tbp-dashboard-content-padding, 18px) * 2) - 74px);
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-session-profile-list-card > .tbp-card__content,
.tbp-platform-variable-list-card > .tbp-card__content,
.tbp-audit-log-list-card > .tbp-card__content,
.tbp-session-history-list-card > .tbp-card__content,
.tbp-notification-inbox-list-card > .tbp-card__content,
.tbp-active-sessions-card > .tbp-card__content {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: auto;
}

.tbp-session-profile-list-card .tbp-data-grid,
.tbp-platform-variable-list-card .tbp-data-grid,
.tbp-audit-log-list-card .tbp-data-grid,
.tbp-session-history-list-card .tbp-data-grid,
.tbp-notification-inbox-list-card .tbp-data-grid,
.tbp-active-sessions-card .tbp-data-grid {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.tbp-session-profile-list-card .tbp-data-grid__viewport,
.tbp-platform-variable-list-card .tbp-data-grid__viewport,
.tbp-audit-log-list-card .tbp-data-grid__viewport,
.tbp-session-history-list-card .tbp-data-grid__viewport,
.tbp-notification-inbox-list-card .tbp-data-grid__viewport,
.tbp-active-sessions-card .tbp-data-grid__viewport {
    max-height: max(220px, calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - (var(--tbp-dashboard-content-padding, 18px) * 2) - 218px));
    overflow: auto;
}

.tbp-notification-inbox-list-card > .tbp-card__content {
    grid-template-rows: auto auto minmax(0, 1fr);
}

.tbp-app__content--inspection {
    box-sizing: border-box;
    grid-template-rows: auto minmax(0, 1fr);
    overflow-y: hidden;
}

.tbp-app__content--inspection > .tbp-platform-variables-layout,
.tbp-app__content--inspection > .tbp-audit-logs-layout,
.tbp-app__content--inspection > .tbp-session-history-layout,
.tbp-app__content--inspection > .tbp-active-sessions-page,
.tbp-app__content--inspection > .tbp-communications-layout {
    min-height: 0;
    align-items: stretch;
}

.tbp-app__content--inspection > section > .tbp-card {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-app__content--inspection > section > .tbp-card > .tbp-card__content {
    min-height: 0;
    overflow-y: auto;
}

.tbp-app__content--inspection > section > .tbp-session-profile-list-card > .tbp-card__content,
.tbp-app__content--inspection > section > .tbp-platform-variable-list-card > .tbp-card__content,
.tbp-app__content--inspection > section > .tbp-audit-log-list-card > .tbp-card__content,
.tbp-app__content--inspection > section > .tbp-session-history-list-card > .tbp-card__content,
.tbp-app__content--inspection > section > .tbp-notification-inbox-list-card > .tbp-card__content,
.tbp-app__content--inspection > section > .tbp-active-sessions-card > .tbp-card__content {
    overflow: visible;
}

.tbp-app__content--inspection .tbp-data-grid__viewport {
    min-height: 0;
    max-height: none;
}

.tbp-sent-notices-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, .6fr) auto;
    align-items: end;
    gap: 10px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 12px 14px;
}

.tbp-sent-notices-filters > * {
    min-width: 0;
}

.tbp-sent-notices-preview,
.tbp-sent-notices-recipients {
    display: block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-sent-notices-message {
    padding: 12px 14px 18px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-sent-notices-recipients-title {
    margin: 0;
    border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 12px 14px;
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-sent-notices-detail-card .tbp-data-grid__table {
    min-width: 0;
    table-layout: fixed;
}

.tbp-sent-notices-error {
    margin: 0;
    padding: 10px 14px;
    color: var(--tbp-color-danger-text, #b91c1c);
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-platform-variable-filters,
.tbp-audit-log-filters,
.tbp-session-history-filters,
.tbp-active-sessions-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-audit-log-filters {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, .8fr) auto;
}

.tbp-session-history-filters {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, .6fr) minmax(0, .5fr) minmax(0, .9fr) auto;
}

.tbp-active-sessions-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px) auto;
}

.tbp-platform-variable-filters > *,
.tbp-audit-log-filters > *,
.tbp-session-history-filters > *,
.tbp-active-sessions-filters > * {
    min-width: 0;
}

.tbp-platform-variable-filter-actions,
.tbp-audit-log-filter-actions,
.tbp-session-history-filter-actions,
.tbp-active-sessions-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: var(--tbp-input-height, 32px);
}

.tbp-platform-variable-filter-actions .tbp-button,
.tbp-audit-log-filter-actions .tbp-button,
.tbp-active-sessions-filter-actions .tbp-button {
    width: var(--tbp-data-grid-action-size, 22px);
    min-height: var(--tbp-data-grid-action-size, 22px);
}

.tbp-data-grid-filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 360px);
    align-items: end;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-data-grid-filter-bar--with-actions {
    grid-template-columns: minmax(0, 360px) auto;
    justify-content: start;
}

.tbp-data-grid-filter-bar--with-select {
    grid-template-columns: minmax(0, 360px) minmax(0, 240px) auto;
}

.tbp-data-grid-filter-bar--with-actions > * {
    min-width: 0;
}

@media (max-width: 860px) {
    .tbp-data-grid-filter-bar--with-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

.tbp-platform-variable-grid-value {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-audit-log-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: var(--tbp-data-grid-action-size, 22px);
}

.tbp-audit-log-pending-badge {
    white-space: nowrap;
}

.tbp-active-sessions-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: var(--tbp-data-grid-action-size, 22px);
}

.tbp-active-sessions-pending-badge {
    white-space: nowrap;
}

.tbp-active-sessions-grid .tbp-data-grid__table {
    width: 100%;
    min-width: max-content;
    table-layout: auto;
}

.tbp-active-sessions-id,
.tbp-active-sessions-user {
    display: inline-flex;
    min-width: 0;
    gap: 2px;
}

.tbp-active-sessions-id {
    align-items: center;
    white-space: nowrap;
}

.tbp-active-sessions-user {
    flex-direction: column;
}

.tbp-active-sessions-user strong {
    white-space: nowrap;
    font-size: 12px;
}

.tbp-active-sessions-user small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    white-space: nowrap;
}

.tbp-platform-variable-detail-empty,
.tbp-audit-log-detail-empty,
.tbp-active-sessions-detail-empty {
    margin: 0;
    padding: 14px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
}

.tbp-platform-variable-detail,
.tbp-audit-log-detail,
.tbp-active-sessions-detail {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px 14px 0;
}

.tbp-platform-variable-detail div,
.tbp-audit-log-detail div,
.tbp-active-sessions-detail div {
    display: grid;
    gap: 3px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 9px 0;
}

.tbp-platform-variable-detail dt,
.tbp-audit-log-detail dt,
.tbp-active-sessions-detail dt {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    font-weight: 650;
}

.tbp-platform-variable-detail dd,
.tbp-audit-log-detail dd,
.tbp-active-sessions-detail dd {
    overflow-wrap: anywhere;
    margin: 0;
    font-size: 12px;
}

.tbp-active-session-activity-backdrop {
    position: fixed;
    inset: var(--tbp-dashboard-topbar-height, 48px) 0 0 var(--tbp-dashboard-sidebar-width, 236px);
    z-index: 81;
    border: 0;
    background: transparent;
    cursor: default;
}

.tbp-app.is-sidebar-collapsed .tbp-active-session-activity-backdrop {
    left: var(--tbp-dashboard-sidebar-collapsed-width, 52px);
}

.tbp-active-session-activity {
    position: fixed;
    top: calc(var(--tbp-dashboard-topbar-height, 48px) + 76px);
    right: 18px;
    z-index: 82;
    display: flex;
    flex-direction: column;
    width: min(430px, calc(100vw - 36px));
    max-height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - 104px);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--tbp-dashboard-accent, #2563eb) 52%, var(--tbp-dashboard-border, #e4e4e7));
    border-left: 4px solid var(--tbp-dashboard-accent, #2563eb);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: 0 20px 48px rgba(24, 34, 52, .22);
}

.tbp-active-session-activity > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-active-session-activity h2,
.tbp-active-session-activity p {
    margin: 0;
}

.tbp-active-session-activity h2 {
    font-size: 12px;
    line-height: 1.25;
}

.tbp-active-session-activity p {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10.5px;
    line-height: 1.25;
}

.tbp-active-session-activity__list {
    display: grid;
    gap: 0;
    overflow: auto;
}

.tbp-active-session-activity__list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 7px 12px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-active-session-activity__list time,
.tbp-active-session-activity__list span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10.5px;
    line-height: 1.25;
}

.tbp-active-session-activity__list strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11.5px;
    line-height: 1.25;
}

.tbp-active-session-activity__list .tbp-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.tbp-active-session-activity__empty,
.tbp-session-history-placeholder {
    margin: 0;
    padding: 14px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
}

.tbp-audit-log-detail-section {
    display: grid;
    gap: 8px;
    margin: 14px;
}

.tbp-audit-log-detail-section h3 {
    margin: 0;
    color: var(--tbp-dashboard-text, #18181b);
    font-size: 12px;
    font-weight: 700;
}

.tbp-platform-variable-value,
.tbp-audit-log-detail-section pre {
    max-height: 340px;
    overflow: auto;
    margin: 0;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-surface-muted, #fafafa);
    color: var(--tbp-dashboard-text, #18181b);
    padding: 12px;
    font-family: "Cascadia Mono", "Consolas", monospace;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tbp-platform-variable-value {
    margin: 14px;
}

.tbp-platform-variable-editor {
    display: grid;
    gap: 12px;
    margin: 14px;
}

.tbp-platform-variable-editor > p {
    margin: 0;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-platform-variable-editor .tbp-input--textarea .tbp-input__control {
    min-height: 220px;
    font-family: "Cascadia Mono", "Consolas", monospace;
    font-size: 11px;
    line-height: 1.45;
}

.tbp-platform-variable-active-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tbp-dashboard-text, #18181b);
    font-size: 12px;
    font-weight: 650;
}

.tbp-platform-variable-active-toggle input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--tbp-dashboard-primary, #2563eb);
}

.tbp-platform-variable-edit-error {
    border: 1px solid var(--tbp-dashboard-danger-border, #fecaca);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-danger-soft, #fef2f2);
    color: var(--tbp-dashboard-danger-text, #b91c1c);
    padding: 9px 10px;
    font-size: 12px;
    line-height: 1.45;
}

.tbp-session-profile-card {
    position: relative;
    min-height: 0;
    overflow: visible;
}

.tbp-card.tbp-form-card--mode-create,
.tbp-card.tbp-form-card--mode-edit,
.tbp-card.tbp-form-card--mode-view {
    border-width: 2px;
}

.tbp-card.tbp-form-card--mode-create {
    border-color: var(--tbp-form-mode-create-border, #86efac);
    box-shadow: var(--tbp-form-mode-create-shadow, 0 0 0 2px rgba(34, 197, 94, .08));
}

.tbp-card.tbp-form-card--mode-edit {
    border-color: var(--tbp-form-mode-edit-border, #bfdbfe);
    box-shadow: var(--tbp-form-mode-edit-shadow, 0 0 0 2px rgba(37, 99, 235, .08));
}

.tbp-card.tbp-form-card--mode-view {
    border-color: var(--tbp-form-mode-view-border, #fde68a);
    box-shadow: var(--tbp-form-mode-view-shadow, 0 0 0 2px rgba(245, 158, 11, .08));
}

.tbp-form-status {
    margin: 12px 14px 0;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 7px 9px;
    font-size: 11px;
    line-height: 1.25;
}

.tbp-form-status--success {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}

.tbp-form-status--error {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.tbp-form-fieldset {
    min-width: 0;
    border: 0;
    margin: 0;
    padding: 0;
}

.tbp-form-fieldset:disabled {
    opacity: .72;
}

.tbp-form-fieldset:disabled input,
.tbp-form-fieldset:disabled textarea {
    cursor: text;
    user-select: text;
}

.tbp-form-fieldset:disabled button {
    cursor: text;
}

.tbp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tbp-field,
.tbp-field-shell,
.tbp-toggle-list label,
.tbp-weekday-list label,
.tbp-checkbox-group {
    display: grid;
    gap: 6px;
}

.tbp-field--wide {
    grid-column: 1 / -1;
}

.tbp-field span,
.tbp-field-shell > span,
.tbp-toggle-list span,
.tbp-weekday-list span,
.tbp-checkbox span,
.tbp-checkbox-group > span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-form-label-font-size, 12px);
    font-weight: 500;
}

.tbp-input > span,
.tbp-input__label > span,
.tbp-field-shell > span,
.tbp-checkbox-group > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.tbp-input > span small,
.tbp-input__label > span small,
.tbp-field-shell > span small,
.tbp-checkbox span small,
.tbp-checkbox-group > span small {
    color: var(--tbp-dashboard-form-error, #dc2626);
    font-size: 11px;
    line-height: 1;
}

.tbp-field input,
.tbp-field select,
.tbp-field textarea,
.tbp-input__control {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: #ffffff;
    padding: 0 9px;
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
}

.tbp-field input,
.tbp-field select,
.tbp-input__control:not(textarea) {
    height: var(--tbp-input-height, 30px);
}

.tbp-field textarea,
textarea.tbp-input__control {
    resize: vertical;
    padding-block: 8px;
}

.tbp-input__frame {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.tbp-input__frame--clearable .tbp-input__control {
    padding-right: 30px;
}

.tbp-input__frame--password-toggle .tbp-input__control {
    padding-right: 30px;
}

.tbp-input__frame--clearable.tbp-input__frame--password-toggle .tbp-input__control {
    padding-right: 56px;
}

.tbp-input__clear-button,
.tbp-input__password-button {
    position: absolute;
    top: 50%;
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.tbp-input__clear-button {
    right: 4px;
}

.tbp-input__password-button {
    right: 4px;
}

.tbp-input__frame--clearable.tbp-input__frame--password-toggle .tbp-input__clear-button {
    right: 28px;
}

.tbp-input__clear-button:hover,
.tbp-input__password-button:hover {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: rgba(37, 99, 235, .10);
}

.tbp-input__clear-button .tbp-icon,
.tbp-input__password-button .tbp-icon {
    font-size: 16px;
    line-height: 1;
}

.tbp-input__control:hover,
.tbp-combobox__trigger:hover,
.tbp-timepicker__trigger:hover,
.tbp-date__trigger:hover {
    border-color: #a1a1aa;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .10);
}

.tbp-input__control:focus,
.tbp-combobox:focus-within .tbp-combobox__trigger,
.tbp-combobox__trigger[aria-expanded="true"],
.tbp-timepicker:focus-within .tbp-timepicker__trigger,
.tbp-timepicker__trigger[aria-expanded="true"],
.tbp-date__picker:focus-within .tbp-date__trigger,
.tbp-date__trigger[aria-expanded="true"] {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, .10);
}

.tbp-validation-scope { display: contents; }
.tbp-field .tbp-validation-message {
    color: var(--tbp-dashboard-form-error, #dc2626);
    font-size: var(--tbp-form-error-font-size, 11px);
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tbp-input.is-invalid .tbp-input__control,
.tbp-shortcut-input.is-invalid [data-shortcut-change],
.tbp-field-shell.is-invalid .tbp-combobox__trigger,
.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger,
.tbp-date.is-invalid .tbp-date__trigger {
    border-color: var(--tbp-dashboard-form-error-border, #ef4444);
    background: var(--tbp-dashboard-form-error-background, #fef2f2);
}

.tbp-input.is-invalid .tbp-input__control:focus,
.tbp-field-shell.is-invalid .tbp-combobox__trigger:focus,
.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger:focus,
.tbp-date.is-invalid .tbp-date__trigger:focus,
.tbp-date.is-invalid .tbp-date__trigger[aria-expanded="true"] {
    border-color: var(--tbp-dashboard-form-error-border, #ef4444);
    box-shadow: 0 0 0 2px var(--tbp-dashboard-form-error-ring, rgba(239, 68, 68, .10));
}

.tbp-input.is-invalid .tbp-input__control:hover,
.tbp-field-shell.is-invalid .tbp-combobox__trigger:hover,
.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger:hover,
.tbp-date.is-invalid .tbp-date__trigger:hover {
    border-color: var(--tbp-dashboard-form-error-border, #ef4444);
    box-shadow: 0 0 0 2px var(--tbp-dashboard-form-error-ring, rgba(239, 68, 68, .10));
}

.tbp-input em,
.tbp-input strong,
.tbp-field-shell em,
.tbp-field-shell strong,
.tbp-checkbox-group em,
.tbp-checkbox-group strong {
    font-size: 11px;
    font-style: normal;
    line-height: 1.25;
}

.tbp-input em,
.tbp-field-shell em,
.tbp-checkbox-group em {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-weight: 400;
}

.tbp-input strong,
.tbp-field-shell strong,
.tbp-checkbox-group strong {
    color: var(--tbp-dashboard-form-error, #dc2626);
    font-weight: 500;
}

.tbp-date__picker {
    position: relative;
    width: 100%;
    min-width: 0;
}

.tbp-date__trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 0 7px 0 9px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-align: left;
    background: #ffffff;
    cursor: pointer;
}

.tbp-date__trigger.is-empty {
    color: var(--tbp-dashboard-text-muted, #71717a);
}

.tbp-date__trigger:disabled {
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: var(--tbp-dashboard-disabled-background, #f4f4f5);
    cursor: not-allowed;
}

.tbp-date__trigger > span:not(.tbp-icon) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-date__trigger .tbp-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 16px;
    line-height: 16px;
}

.tbp-date__clear-button {
    position: absolute;
    z-index: 1002;
    top: 50%;
    right: 26px;
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.tbp-date__clear-button:hover {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: rgba(37, 99, 235, .10);
}

.tbp-date__clear-button .tbp-icon {
    font-size: 16px;
    line-height: 1;
}

.tbp-date__dismiss {
    position: fixed;
    z-index: 1000;
    inset: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: default;
}

.tbp-date__panel {
    position: absolute;
    z-index: 1001;
    top: calc(100% + 4px);
    left: 0;
    width: min(252px, calc(100vw - 36px));
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: 12px;
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: 0 18px 42px rgba(24, 34, 52, .18);
    font-size: var(--tbp-data-grid-font-size, 11px);
    line-height: 1.25;
}

.tbp-date__panel.is-above {
    top: auto;
    bottom: calc(100% + 4px);
}

.tbp-date__panel button {
    font: inherit;
}

.tbp-date__panel-header,
.tbp-date__panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 7px 10px;
}

.tbp-date__panel-header {
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-date__panel-header strong {
    flex: 1 1 auto;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-data-grid-font-size, 11px);
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

.tbp-date__panel-header button,
.tbp-date__panel-footer button {
    display: inline-flex;
    min-width: 0;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: transparent;
    cursor: pointer;
}

.tbp-date__panel-header button {
    width: 24px;
}

.tbp-date__panel-header button:hover,
.tbp-date__panel-footer button:hover {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: rgba(37, 99, 235, .10);
}

.tbp-date__panel-footer {
    border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-date__panel-footer button {
    padding: 0 8px;
    color: var(--tbp-dashboard-accent, #2563eb);
    font-size: var(--tbp-data-grid-header-font-size, 10px);
    font-weight: 600;
}

.tbp-date__panel-footer button:disabled {
    color: var(--tbp-dashboard-text-subtle, #a1a1aa);
    cursor: not-allowed;
}

.tbp-date__range-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 7px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    background: var(--tbp-dashboard-muted-background, #f8fafc);
}

.tbp-date__range-summary span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-data-grid-header-font-size, 10px);
    font-weight: 600;
}

.tbp-date__range-summary strong {
    overflow: hidden;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-data-grid-header-font-size, 10px);
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-date__weekdays,
.tbp-date__calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tbp-date__weekdays {
    gap: 2px;
    padding: 7px 10px 2px;
}

.tbp-date__weekdays span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-data-grid-header-font-size, 10px);
    font-weight: 700;
    text-align: center;
}

.tbp-date__calendar {
    gap: 2px 0;
    padding: 0 10px 7px;
}

.tbp-date__calendar .tbp-date__day {
    position: relative;
    display: inline-flex;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: transparent;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-data-grid-font-size, 11px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.tbp-date__day:hover,
.tbp-date__day:focus-visible {
    z-index: 1;
    background: rgba(37, 99, 235, .10);
}

.tbp-date__day.is-muted {
    color: var(--tbp-dashboard-text-subtle, #a1a1aa);
}

.tbp-date__day.is-in-range {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: rgba(37, 99, 235, .12);
}

.tbp-date__day.is-selected {
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    background: var(--tbp-dashboard-accent, #2563eb);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}

.tbp-date__day.is-today:not(.is-selected) {
    box-shadow: inset 0 0 0 1px var(--tbp-dashboard-accent, #2563eb);
}

.tbp-date__day:disabled {
    color: var(--tbp-dashboard-text-subtle, #a1a1aa);
    background: transparent;
    cursor: not-allowed;
    opacity: .45;
}

.tbp-user-password-field {
    position: relative;
}

.tbp-user-password-field em {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 10px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-combobox {
    position: relative;
    width: 100%;
    min-width: 0;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
}

.tbp-combobox.is-open {
    z-index: 2200;
}

.tbp-combobox__trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 0 7px 0 9px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-align: left;
    background: #ffffff;
    cursor: pointer;
}

.tbp-field .tbp-combobox .tbp-combobox__trigger > span:not(.tbp-icon),
.tbp-combobox .tbp-combobox__trigger > span:not(.tbp-icon) {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-combobox__trigger .tbp-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 16px;
    line-height: 16px;
}

.tbp-combobox__panel {
    position: fixed;
    z-index: 2201;
    inset: auto;
    margin: 0;
    padding: 0;
    overflow: auto;
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--tbp-dashboard-combobox-panel-shadow, 0 1px 4px rgba(15, 23, 42, .06));
}

.tbp-combobox__dismiss {
    position: fixed;
    z-index: 2200;
    inset: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: default;
}

.tbp-combobox__search {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 6px 8px;
}

.tbp-combobox__search .tbp-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 15px;
    line-height: 15px;
}

.tbp-combobox__search input {
    height: 24px;
    border: 0;
    padding: 0;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    box-shadow: none;
}

.tbp-combobox__list {
    display: grid;
    max-height: 190px;
    overflow-y: auto;
    padding: 4px;
}

.tbp-combobox__option {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 26px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    padding: 0 7px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-align: left;
    background: transparent;
    cursor: pointer;
}

.tbp-combobox__option:hover,
.tbp-combobox__option:focus-visible,
.tbp-combobox__option.is-selected {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: #f4f4f5;
}

.tbp-field .tbp-combobox .tbp-combobox__option > span:not(.tbp-icon),
.tbp-combobox .tbp-combobox__option > span:not(.tbp-icon) {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-combobox__option .tbp-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: #2563eb;
    font-size: 15px;
    line-height: 15px;
}

.tbp-combobox__empty {
    margin: 0;
    padding: 8px 7px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
}

.tbp-timepicker-field > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.tbp-timepicker-field > span small {
    color: var(--tbp-dashboard-form-error, #dc2626);
    font-size: 11px;
    line-height: 1;
}

.tbp-timepicker {
    position: relative;
    width: 100%;
    min-width: 0;
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
}

.tbp-timepicker__trigger {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 0 7px 0 9px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    text-align: left;
    background: #ffffff;
    cursor: pointer;
}

.tbp-timepicker__trigger.is-disabled {
    color: var(--tbp-dashboard-input-disabled-text, #71717a);
    background: var(--tbp-dashboard-input-disabled-background, #f8fafc);
    cursor: text;
    user-select: text;
}

.tbp-timepicker__trigger.is-disabled span {
    user-select: text;
}

.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger {
    border-color: var(--tbp-dashboard-form-error-border, #ef4444);
    background: var(--tbp-dashboard-form-error-background, #fef2f2);
}

.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger:hover,
.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger:focus-visible,
.tbp-timepicker-field.is-invalid .tbp-timepicker__trigger[aria-expanded="true"] {
    border-color: var(--tbp-dashboard-form-error-border, #ef4444);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, .10);
}

.tbp-timepicker__trigger .tbp-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: 16px;
    line-height: 16px;
}

.tbp-timepicker__dismiss {
    position: fixed;
    z-index: 41;
    inset: 0;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: default;
}

.tbp-timepicker__panel {
    position: absolute;
    z-index: 42;
    top: calc(100% + 4px);
    left: 0;
    display: grid;
    width: min(260px, calc(100vw - 24px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-button-border, #d4d4d8);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--tbp-dashboard-combobox-panel-shadow, 0 1px 4px rgba(15, 23, 42, .06));
}

.tbp-timepicker__panel.is-above {
    top: auto;
    right: 0;
    bottom: calc(100% + 4px);
    left: auto;
}

.tbp-timepicker__column {
    display: grid;
    min-width: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-timepicker__column + .tbp-timepicker__column {
    border-left: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-timepicker__column > span {
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    color: var(--tbp-dashboard-text-muted, #71717a);
    padding: 7px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.tbp-timepicker__list {
    display: grid;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
}

.tbp-timepicker__option {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 26px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-dashboard-combobox-font-size, 11px);
    font-weight: 400;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    background: transparent;
    cursor: pointer;
}

.tbp-timepicker__option:hover,
.tbp-timepicker__option:focus-visible,
.tbp-timepicker__option.is-selected {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: #f4f4f5;
}

.tbp-form-sections {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.tbp-form-section {
    position: relative;
    display: grid;
    gap: 12px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 12px;
    background: #ffffff;
}

.tbp-form-section__header {
    display: grid;
    gap: 3px;
}

.tbp-form-section__title-row {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.tbp-form-section__header h3,
.tbp-form-section__header p {
    margin: 0;
}

.tbp-form-section__header h3 {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

.tbp-form-section__header p {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 11px;
    line-height: 1.35;
}

.tbp-form-section__content {
    display: grid;
    gap: 12px;
}

.tbp-weekday-group,
.tbp-checkbox-group {
    display: grid;
    gap: 7px;
}

.tbp-weekday-group > span,
.tbp-checkbox-group > span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-dashboard-form-label-font-size, 12px);
    font-weight: 500;
}

.tbp-weekday-list,
.tbp-checkbox-list,
.tbp-checkbox-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.tbp-weekday-list label,
.tbp-toggle-list label,
.tbp-checkbox {
    display: flex;
    min-width: 0;
    align-items: center;
}

.tbp-weekday-list label,
.tbp-checkbox {
    gap: 5px;
    min-height: 20px;
}

.tbp-weekday-list input,
.tbp-toggle-list input,
.tbp-checkbox input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-toggle-list,
.tbp-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.tbp-toggle-list label,
.tbp-checkbox-list .tbp-checkbox {
    gap: 7px;
}

.tbp-toggle-list--inline {
    align-self: end;
}

.tbp-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    background: var(--tbp-dashboard-surface-muted, #fafafa);
    padding: 12px 14px;
}

.tbp-tree-view {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 2px;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-tree-view-font-size, 12px);
}

.tbp-tree-view__empty {
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-surface-muted, #fafafa);
    color: var(--tbp-dashboard-text-muted, #71717a);
    padding: 10px 12px;
    font-size: var(--tbp-tree-view-empty-font-size, 11px);
}

.tbp-tree-view__branch {
    display: grid;
    min-width: 0;
}

.tbp-tree-view__node {
    display: grid;
    grid-template-columns: 22px auto minmax(0, 1fr);
    min-width: 0;
    min-height: var(--tbp-tree-view-node-height, 32px);
    align-items: center;
    gap: 4px;
    border-radius: var(--tbp-dashboard-radius, 4px);
    padding: 2px 4px;
}

.tbp-tree-view__node:has(.tbp-tree-view__content:hover),
.tbp-tree-view__node:has(.tbp-tree-view__expander:hover),
.tbp-tree-view__node:has(.tbp-tree-view__check:hover) {
    background: var(--tbp-tree-view-hover-background, #f3f7ff);
}

.tbp-tree-view__node.is-selected {
    background: var(--tbp-tree-view-selected-background, #eef4ff);
}

.tbp-tree-view__node.is-disabled {
    opacity: .62;
}

.tbp-tree-view__expander,
.tbp-tree-view__check,
.tbp-tree-view__content {
    border: 0;
    background: transparent;
    font: inherit;
}

.tbp-tree-view__expander,
.tbp-tree-view__check {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-muted, #71717a);
    cursor: pointer;
}

.tbp-tree-view__expander:disabled,
.tbp-tree-view__check:disabled,
.tbp-tree-view__content:disabled {
    cursor: default;
}

.tbp-tree-view__expander:not(:disabled):hover,
.tbp-tree-view__check:not(:disabled):hover {
    color: var(--tbp-dashboard-blue, #2563eb);
    background: rgba(37, 99, 235, .10);
}

.tbp-tree-view__expander .tbp-icon {
    font-size: 18px;
}

.tbp-tree-view__check {
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    background: #ffffff;
}

.tbp-tree-view__check.is-checked,
.tbp-tree-view__check.is-indeterminate {
    border-color: var(--tbp-dashboard-blue, #2563eb);
    color: #ffffff;
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-tree-view__check span::before {
    display: block;
    font-family: "Material Symbols Outlined";
    font-size: 16px;
    line-height: 1;
}

.tbp-tree-view__check.is-checked span::before {
    content: "check";
}

.tbp-tree-view__check.is-indeterminate span::before {
    content: "remove";
}

.tbp-tree-view__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
    min-height: 28px;
    align-items: center;
    gap: 8px;
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: inherit;
    padding: 0 6px;
    text-align: left;
    cursor: pointer;
}

.tbp-tree-view__content .tbp-icon {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 17px;
}

.tbp-tree-view__label {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.tbp-tree-view__label strong,
.tbp-tree-view__label small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tbp-tree-view__label strong {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-tree-view-label-font-size, 12px);
    font-weight: 500;
}

.tbp-tree-view__label small {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-tree-view-description-font-size, 11px);
}

.tbp-tree-view__badge {
    border-radius: 999px;
    background: var(--tbp-dashboard-green-soft, #dcfce7);
    color: var(--tbp-dashboard-green-text, #15803d);
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.tbp-tree-view__children {
    display: grid;
    min-width: 0;
    margin-left: 33px;
    padding-left: 9px;
    border-left: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-data-grid {
    width: 100%;
    min-width: 0;
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-data-grid-background, #ffffff);
    font-family: var(--tbp-dashboard-font-family, "Inter", "Segoe UI", Arial, sans-serif);
    font-size: var(--tbp-data-grid-font-size, 11px);
}

.tbp-data-grid__viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    background: var(--tbp-data-grid-background, #ffffff);
    padding-bottom: var(--tbp-data-grid-scrollbar-gap, 6px);
}

.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > thead > tr > th {
    position: sticky;
    z-index: 1;
    top: 0;
    background: var(--tbp-data-grid-header-background, #fafafa);
}

.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > thead > tr > th:not(.tbp-data-grid__expander-header):not(.tbp-data-grid-sticky__filler) {
    padding-right: 8px;
}

.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > thead > tr > th.tbp-data-grid-sticky__filler,
.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > tbody > tr > td.tbp-data-grid-sticky__filler {
    width: auto;
    min-width: 0;
    border-right: 0;
    padding: 0;
}

.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > tbody > tr:not(.tbp-data-grid__expanded-row) > td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbp-active-sessions-widget__grid.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > tbody > tr > td:first-child,
.tbp-active-sessions-widget__grid.tbp-data-grid-sticky > .tbp-data-grid__viewport > .tbp-data-grid__table > tbody > tr > td:nth-last-child(2) {
    overflow: visible;
}

.tbp-data-grid-sticky__resize-handle {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    border: 0;
    border-right: 2px solid transparent;
    background: transparent;
    padding: 0;
    cursor: col-resize;
    touch-action: none;
}

.tbp-data-grid-sticky__resize-handle:hover,
.tbp-data-grid-sticky__resize-handle:focus-visible {
    border-right-color: var(--tbp-dashboard-accent, #2563eb);
}

.tbp-datagrid-sticky-lab {
    box-sizing: border-box;
    display: grid;
    min-width: 0;
    min-height: 360px;
    height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - (var(--tbp-dashboard-content-padding, 18px) * 2));
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
}

.tbp-datagrid-sticky-lab__card {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-datagrid-sticky-lab__card > .tbp-card__content {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
}

.tbp-datagrid-sticky-lab__card > .tbp-card__content > .tbp-data-grid-sticky {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.tbp-datagrid-sticky-lab__card > .tbp-card__content > .tbp-data-grid-sticky > .tbp-data-grid__viewport {
    min-height: 0;
    overflow: auto;
}

.tbp-datagrid-sticky-lab .tbp-data-grid__relation > .tbp-data-grid-sticky > .tbp-data-grid__viewport {
    max-height: 180px;
    overflow: auto;
}

.tbp-data-grid__table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.tbp-data-grid__header-cell,
.tbp-data-grid__cell,
.tbp-data-grid__expander-cell {
    height: var(--tbp-data-grid-row-height, 30px);
    box-sizing: border-box;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-right: 1px solid var(--tbp-data-grid-column-border, #f1f1f3);
    padding: var(--tbp-data-grid-cell-padding-y, 4px) var(--tbp-data-grid-cell-padding-x, 12px);
    vertical-align: middle;
}

.tbp-data-grid__cell,
.tbp-data-grid__expander-cell {
    background: var(--tbp-data-grid-background, #ffffff);
}

.tbp-data-grid__header-cell:last-child,
.tbp-data-grid__cell:last-child {
    border-right: 1px solid var(--tbp-data-grid-column-border, #f1f1f3);
}

.tbp-data-grid__header-cell,
.tbp-data-grid__expander-header {
    color: var(--tbp-dashboard-text-muted, #71717a);
    background: var(--tbp-data-grid-header-background, #fafafa);
    font-size: var(--tbp-data-grid-header-font-size, 10px);
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
}

.tbp-data-grid__header-cell.is-sortable {
    padding: 0;
}

.tbp-data-grid__sort-button {
    display: flex;
    width: 100%;
    min-height: var(--tbp-data-grid-header-height, 30px);
    align-items: center;
    justify-content: inherit;
    gap: 5px;
    border: 0;
    color: inherit;
    background: transparent;
    padding: 0 var(--tbp-data-grid-cell-padding-x, 12px);
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.tbp-data-grid__sort-button:hover,
.tbp-data-grid__sort-button:focus-visible {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-data-grid-row-hover-background, #f8fafc);
}

.tbp-data-grid__header-cell.is-sorted {
    color: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-data-grid__sort-icon {
    width: 14px;
    height: 14px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 14px;
    opacity: .55;
}

.tbp-data-grid__sort-icon.is-active {
    color: var(--tbp-dashboard-accent, #2563eb);
    opacity: 1;
}

.tbp-data-grid__cell {
    color: var(--tbp-dashboard-text-soft, #52525b);
    font-size: var(--tbp-data-grid-font-size, 11px);
    line-height: 1.25;
    white-space: nowrap;
}

.tbp-data-grid__row.is-interactive {
    cursor: pointer;
}

.tbp-data-grid__row:hover > .tbp-data-grid__cell,
.tbp-data-grid__row:hover > .tbp-data-grid__expander-cell {
    background: var(--tbp-data-grid-row-hover-background, #f8fafc);
}

.tbp-data-grid__row.is-selected > .tbp-data-grid__cell,
.tbp-data-grid__row.is-selected > .tbp-data-grid__expander-cell {
    background: var(--tbp-data-grid-selected-background, #eef4ff);
}

.tbp-data-grid__row.is-expanded > .tbp-data-grid__cell,
.tbp-data-grid__row.is-expanded > .tbp-data-grid__expander-cell {
    background: var(--tbp-data-grid-expanded-background, #fbfbfc);
}

.tbp-data-grid__cell.is-editing {
    background: var(--tbp-data-grid-editing-background, #f0fdf4);
}

.tbp-data-grid__cell--center {
    text-align: center;
}

.tbp-data-grid__cell--end {
    text-align: right;
}

.tbp-data-grid__expander-header,
.tbp-data-grid__expander-cell {
    width: 38px;
    padding-inline: 8px;
}

.tbp-data-grid__expander-cell .tbp-button {
    width: 24px;
    min-height: 24px;
    padding: 0;
}

.tbp-data-grid__expanded-row > td {
    border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    padding: 0;
    background: var(--tbp-data-grid-expanded-background, #fbfbfc);
}

.tbp-data-grid__expanded-content {
    display: grid;
    gap: 10px;
    padding: 12px 12px 12px 46px;
}

.tbp-data-grid__relation {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-data-grid-relation-background, #ffffff);
    padding: 10px;
}

.tbp-data-grid__relation h3 {
    margin: 0;
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-size: var(--tbp-data-grid-relation-title-font-size, 11px);
    font-weight: 650;
    line-height: 1.25;
}

.tbp-data-grid__state {
    display: grid;
    min-height: 96px;
    place-items: center;
    padding: 16px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: var(--tbp-data-grid-state-font-size, 11px);
}

.tbp-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--tbp-pagination-border, #f1f1f3);
    background: var(--tbp-pagination-background, #ffffff);
    padding: 6px 10px;
    color: var(--tbp-pagination-text, #71717a);
    font-size: var(--tbp-data-grid-font-size, 11px);
    line-height: 1.2;
}

.tbp-pagination__summary {
    min-width: 0;
    white-space: nowrap;
}

.tbp-pagination__controls,
.tbp-pagination__field,
.tbp-pagination__nav {
    display: inline-flex;
    align-items: center;
}

.tbp-pagination__controls {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.tbp-pagination__field {
    gap: 5px;
    white-space: nowrap;
}

.tbp-pagination__field > span {
    color: var(--tbp-pagination-text, #71717a);
}

.tbp-pagination__field .tbp-combobox--pagination {
    width: auto;
    min-width: 70px;
}

.tbp-pagination__field .tbp-combobox__trigger {
    height: 24px;
    min-height: 24px;
    border-color: var(--tbp-pagination-control-border, #e4e4e7);
    border-radius: 4px;
    background: var(--tbp-pagination-control-background, #ffffff);
    color: var(--tbp-pagination-control-text, #52525b);
    padding: 2px 5px 2px 7px;
}

.tbp-pagination__field .tbp-combobox__panel {
    top: auto;
    bottom: calc(100% + 4px);
}

.tbp-pagination__nav {
    gap: 2px;
}

.tbp-pagination__button.tbp-button {
    width: 24px;
    min-height: 24px;
}

.tbp-pagination__button .tbp-icon {
    font-size: 18px;
}

.tbp-data-grid__header-action.tbp-button {
    width: 42px;
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    color: #334155;
    background: transparent;
    box-shadow: none;
}

.tbp-data-grid__header-action.tbp-button:hover,
.tbp-data-grid__header-action.tbp-button:focus-visible {
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: #eceff3;
}

.tbp-data-grid__header-action .tbp-icon {
    font-size: var(--tbp-data-grid-header-action-icon-size, 22px);
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 32;
}

.tbp-data-grid__actions {
    display: inline-flex;
    min-height: var(--tbp-data-grid-action-size, 22px);
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    vertical-align: middle;
}

.tbp-data-grid__action-button.tbp-button {
    width: var(--tbp-data-grid-action-size, 22px);
    height: var(--tbp-data-grid-action-size, 22px);
    min-height: var(--tbp-data-grid-action-size, 22px);
    padding: 0;
    border: 0;
    box-shadow: none;
    line-height: 1;
}

.tbp-data-grid__action-button .tbp-icon {
    font-size: var(--tbp-data-grid-action-icon-size, 17px);
}

.tbp-data-grid__action-button--edit.tbp-button {
    color: var(--tbp-dashboard-accent, #2563eb);
    background: var(--tbp-dashboard-accent-soft, #eff6ff);
}

.tbp-data-grid__action-button--edit.tbp-button:hover,
.tbp-data-grid__action-button--edit.tbp-button:focus-visible {
    color: #1d4ed8;
    background: #dbeafe;
}

.tbp-data-grid__action-button--delete.tbp-button {
    color: #dc2626;
    background: #fef2f2;
}

.tbp-data-grid__action-button--delete.tbp-button:hover,
.tbp-data-grid__action-button--delete.tbp-button:focus-visible {
    color: #b91c1c;
    background: #fee2e2;
}

.tbp-data-grid--dense {
    font-size: 11px;
}

.tbp-data-grid--dense .tbp-data-grid__table {
    min-width: 520px;
}

.tbp-data-grid--dense .tbp-data-grid__header-cell,
.tbp-data-grid--dense .tbp-data-grid__cell,
.tbp-data-grid--dense .tbp-data-grid__expander-cell {
    padding: 3px 9px;
}

.tbp-data-grid--bordered .tbp-data-grid__table {
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
}

.tbp-session-profile-list-card {
    min-width: 0;
}

.tbp-finance-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-areas:
        "balance metrics metrics"
        "income expenses summary"
        "transactions transactions saving"
        "transactions transactions wallet"
        "session session session";
    gap: 14px;
}

.tbp-card,
.tbp-finance-card {
    overflow: hidden;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    color: var(--tbp-dashboard-text-primary, #09090b);
    background: var(--tbp-dashboard-panel-background, #ffffff);
    box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24, 34, 52, .04));
}

.tbp-card {
    color: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-card__content {
    min-width: 0;
    min-height: 0;
    overflow: auto;
}

.tbp-card:has(.tbp-date__trigger[aria-expanded="true"]),
.tbp-card:has(.tbp-timepicker__trigger[aria-expanded="true"]) {
    position: relative;
    z-index: 70;
    overflow: visible;
}

.tbp-card:has(.tbp-date__trigger[aria-expanded="true"]) > .tbp-card__content,
.tbp-card:has(.tbp-timepicker__trigger[aria-expanded="true"]) > .tbp-card__content {
    overflow: visible;
}

.tbp-card.tbp-session-profile-card {
    overflow: visible;
}

.tbp-card.tbp-dashboard-widget__card {
    overflow: hidden;
}

.tbp-card.tbp-dashboard-widget__card:has(.tbp-active-sessions-widget .tbp-hover-card:hover),
.tbp-card.tbp-dashboard-widget__card:has(.tbp-active-sessions-widget .tbp-hover-card:focus-within),
.tbp-dashboard-widget__card:has(.tbp-active-sessions-widget .tbp-hover-card:hover) > .tbp-card__content,
.tbp-dashboard-widget__card:has(.tbp-active-sessions-widget .tbp-hover-card:focus-within) > .tbp-card__content {
    overflow: visible;
}

.tbp-card > header,
.tbp-finance-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 12px 14px;
}

.tbp-card h2,
.tbp-card p,
.tbp-finance-card h2,
.tbp-finance-card p {
    margin: 0;
}

.tbp-card h2,
.tbp-finance-card h2 {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.tbp-card header p,
.tbp-finance-card header p,
.tbp-finance-card--metric p {
    margin-top: 4px;
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    line-height: 1.45;
}

.tbp-card header .tbp-card__note {
    margin-top: var(--tbp-card-note-margin-top, 16px);
    color: var(--tbp-card-note-text, #8b8f99);
    font-size: var(--tbp-card-note-font-size, 10px);
    line-height: 1.3;
}

.tbp-finance-card--balance {
    grid-area: balance;
    display: grid;
    min-height: 190px;
}

.tbp-finance-card--balance > header {
    border-bottom: 0;
}

.tbp-finance-card--balance header span {
    border: 1px solid #bbf7d0;
    color: #15803d;
    background: #f0fdf4;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1;
}

.tbp-finance-card--balance > strong {
    align-self: center;
    padding: 0 14px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.tbp-finance-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px 14px;
}

.tbp-finance-metrics {
    display: grid;
    grid-area: metrics;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tbp-finance-card--metric {
    display: grid;
    align-content: center;
    min-height: 190px;
    gap: 8px;
    padding: 16px;
}

.tbp-finance-card--metric span {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
    font-weight: 500;
}

.tbp-finance-card--metric strong {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.tbp-finance-card--income {
    grid-area: income;
}

.tbp-income-list {
    display: grid;
    gap: 13px;
    padding: 14px;
}

.tbp-income-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    align-items: center;
}

.tbp-income-list span,
.tbp-income-list strong {
    font-size: 12px;
}

.tbp-income-list span {
    color: var(--tbp-dashboard-text-soft, #52525b);
}

.tbp-income-list strong {
    font-weight: 650;
}

.tbp-income-list i {
    grid-column: 1 / -1;
    display: block;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--tbp-dashboard-blue, #2563eb) 0 var(--tbp-income-width),
        #e5e7eb var(--tbp-income-width) 100%
    );
}

.tbp-finance-card--chart {
    grid-area: expenses;
}

.tbp-finance-chart {
    display: grid;
    height: 214px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    padding: 16px 18px 12px;
}

.tbp-finance-chart div {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.tbp-finance-chart span {
    display: block;
    width: 24px;
    min-height: 12px;
    border-radius: 4px 4px 0 0;
    background: var(--tbp-dashboard-blue, #2563eb);
}

.tbp-finance-chart small,
.tbp-summary-list span,
.tbp-saving-ring span,
.tbp-wallet-list span,
.tbp-wallet-list p {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-size: 12px;
}

.tbp-finance-card--summary {
    grid-area: summary;
}

.tbp-summary-list {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.tbp-summary-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.tbp-summary-list strong {
    font-size: 12px;
    font-weight: 650;
}

.tbp-finance-card--transactions {
    grid-area: transactions;
}

.tbp-transaction-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.tbp-transaction-table th,
.tbp-transaction-table td {
    border-bottom: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    padding: 10px 14px;
    text-align: left;
}

.tbp-transaction-table th {
    color: var(--tbp-dashboard-text-muted, #71717a);
    font-weight: 600;
}

.tbp-transaction-table td {
    color: var(--tbp-dashboard-text-soft, #52525b);
}

.tbp-transaction-table td:first-child {
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-weight: 550;
}

.tbp-transaction-table td.is-income {
    color: #15803d;
}

.tbp-transaction-table td.is-expense {
    color: #b91c1c;
}

.tbp-finance-card--saving {
    grid-area: saving;
}

.tbp-saving-ring {
    display: grid;
    min-height: 150px;
    place-items: center;
    align-content: center;
    gap: 6px;
    margin: 18px auto;
    width: 142px;
    height: 142px;
    border: 16px solid #dbeafe;
    border-top-color: var(--tbp-dashboard-blue, #2563eb);
    border-radius: 999px;
}

.tbp-saving-ring strong {
    font-size: 17px;
    font-weight: 700;
}

.tbp-finance-card--wallet {
    grid-area: wallet;
}

.tbp-wallet-list {
    display: grid;
    gap: 9px;
    padding: 12px 14px 14px;
}

.tbp-wallet-list div {
    display: grid;
    gap: 3px;
    border: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-soft-background, #fafafa);
    padding: 10px 12px;
}

.tbp-wallet-list strong {
    font-size: 12px;
    font-weight: 650;
}

.tbp-finance-card--session {
    grid-area: session;
}

@media (max-width: 1120px) {
    .tbp-kpi-grid,
    .tbp-app__lower-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbp-app__lower-grid .tbp-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1180px) {
    .tbp-finance-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "balance metrics"
            "income expenses"
            "summary saving"
            "transactions transactions"
            "wallet session";
    }

    .tbp-finance-metrics {
        grid-template-columns: 1fr;
    }

    .tbp-session-profile-layout,
    .tbp-platform-variables-layout,
    .tbp-audit-logs-layout,
    .tbp-session-history-layout,
    .tbp-active-sessions-page,
    .tbp-page-skeleton__layout,
    .tbp-page-skeleton--form .tbp-page-skeleton__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .tbp-app__page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tbp-app__shell {
        grid-template-rows: auto minmax(0, 1fr);
    }

    .tbp-app__shell--operational-status {
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .tbp-app__topbar {
        padding: 10px 14px;
    }

    .tbp-kpi-grid,
    .tbp-app__lower-grid {
        grid-template-columns: 1fr;
    }

    .tbp-app__lower-grid .tbp-panel:last-child {
        grid-column: auto;
    }

    .tbp-chart {
        overflow-x: auto;
        grid-template-columns: repeat(30, 18px);
    }

    .tbp-finance-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "balance"
            "metrics"
            "income"
            "expenses"
            "summary"
            "transactions"
            "saving"
            "wallet"
            "session";
    }

    .tbp-finance-metrics {
        grid-template-columns: 1fr;
    }

    .tbp-transaction-table {
        min-width: 620px;
    }

    .tbp-finance-card--transactions {
        overflow-x: auto;
    }

    .tbp-form-grid {
        grid-template-columns: 1fr;
    }

    .tbp-platform-variable-filters,
    .tbp-audit-log-filters,
    .tbp-session-history-filters,
    .tbp-active-sessions-filters {
        grid-template-columns: 1fr;
    }

    .tbp-page-skeleton__filters,
    .tbp-page-skeleton--form .tbp-page-skeleton__fields {
        grid-template-columns: 1fr;
    }

    .tbp-platform-variable-filter-actions,
    .tbp-audit-log-filter-actions,
    .tbp-session-history-filter-actions,
    .tbp-active-sessions-filter-actions {
        justify-content: flex-start;
    }

    .tbp-dashboard-hidden-widgets {
        position: static;
        width: auto;
        max-height: none;
    }

    .tbp-active-session-activity {
        position: static;
        width: auto;
        max-height: none;
    }

    .tbp-active-session-activity-backdrop {
        display: none;
    }

    .tbp-form-actions {
        justify-content: stretch;
    }

    .tbp-form-actions .tbp-button {
        flex: 1 1 0;
    }
}

@media (max-width: 720px) {
    .tbp-app,
    .tbp-app.is-sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .tbp-app.is-sidebar-preference-pending .tbp-app__sidebar {
        pointer-events: none;
        transform: translateX(calc(-100% - 24px));
    }

    .tbp-app.is-sidebar-preference-pending .tbp-app__sidebar-backdrop {
        display: none;
    }

    .tbp-app__sidebar {
        position: fixed;
        z-index: 70;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(var(--tbp-dashboard-sidebar-width, 236px), calc(100vw - 58px));
        height: 100dvh;
        min-height: 100dvh;
        transform: translateX(0);
        transition: transform .18s ease;
        box-shadow: 18px 0 36px rgba(15, 23, 42, .14);
    }

    .tbp-app__sidebar.is-collapsed {
        pointer-events: none;
        box-shadow: none;
        transform: translateX(calc(-100% - 24px));
    }

    .tbp-app__sidebar.is-collapsed .tbp-app__brand div,
    .tbp-app__sidebar.is-collapsed .tbp-app__search-text,
    .tbp-app__sidebar.is-collapsed .tbp-app__search kbd,
    .tbp-app__sidebar.is-collapsed .tbp-app__nav-section h2,
    .tbp-app__sidebar.is-collapsed .tbp-app__nav-item > span:not(.tbp-icon),
    .tbp-app__sidebar.is-collapsed .tbp-app__nav-item .tbp-badge,
    .tbp-app__sidebar.is-collapsed .tbp-app__nav-chevron {
        display: initial;
    }

    .tbp-app__sidebar.is-collapsed .tbp-app__nav-item .tbp-badge {
        display: inline-flex;
    }

    .tbp-app__sidebar.is-collapsed .tbp-app__nav-children {
        display: grid;
    }

    .tbp-app__sidebar-backdrop {
        position: fixed;
        z-index: 65;
        inset: 0;
        display: block;
        border: 0;
        background: rgba(9, 9, 11, .12);
        padding: 0;
    }

    .tbp-app.is-sidebar-collapsed .tbp-app__sidebar-backdrop {
        display: none;
    }

    .tbp-app__shell {
        grid-column: 1;
    }

    .tbp-app__topbar {
        width: 100%;
        padding: 8px 10px;
    }

    .tbp-app__workspace {
        flex: 1 1 auto;
    }

    .tbp-app__tenant strong {
        max-width: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tbp-app__actions > button:not(.tbp-app__icon-button),
    .tbp-app__user-button strong,
    .tbp-app__user-button .tbp-icon {
        display: none;
    }

    .tbp-app__tenant {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .tbp-app__tenant small {
        flex-basis: 100%;
    }

    .tbp-app__user-button {
        min-width: 28px;
        grid-template-columns: 22px;
        padding: 2px;
    }

    .tbp-app__content {
        padding: var(--tbp-dashboard-content-padding-mobile, 14px);
    }

    .tbp-app__filters {
        width: 100%;
    }

    .tbp-app__filters button {
        flex: 1 1 0;
        padding-inline: 6px;
    }
}

.tbp-app__sidebar .tbp-app__nav-item,
.tbp-app__sidebar .tbp-app__nav-item > span:not(.tbp-icon),
.tbp-app__sidebar .tbp-app__nav-child {
    font-size: var(--tbp-dashboard-sidebar-font-size, .625rem);
    line-height: var(--tbp-dashboard-sidebar-line-height, .875rem);
}

@media (max-width: 900px) {
    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(1),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(1) {
        width: auto;
    }

    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(2),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(2) {
        width: 96px;
    }

    .tbp-active-sessions-widget__grid .tbp-data-grid__header-cell:nth-child(3),
    .tbp-active-sessions-widget__grid .tbp-data-grid__cell:nth-child(3) {
        width: 46px;
    }
}

.tbp-communications-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 14px;
    align-items: start;
}

.tbp-communications-list-card {
    display: grid;
    height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - (var(--tbp-dashboard-content-padding, 18px) * 2) - 74px);
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-communications-list-card > .tbp-card__content {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: visible;
}

.tbp-communications-list-card .tbp-data-grid {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.tbp-communications-list-card .tbp-data-grid__viewport {
    min-height: 0;
    max-height: none;
    overflow: auto;
}

.tbp-communications-compose-card--editor {
    display: grid;
    min-height: calc(100dvh - var(--tbp-dashboard-topbar-height, 48px) - (var(--tbp-dashboard-content-padding, 18px) * 2) - 74px);
    grid-template-rows: auto minmax(0, 1fr);
}

.tbp-communications-compose-card--editor > .tbp-card__content {
    display: flex;
    overflow: visible;
}

.tbp-communications-compose-card--editor .tbp-communications-form {
    display: flex;
    min-height: 100%;
    flex: 1;
    flex-direction: column;
}

.tbp-communications-compose-card--editor .tbp-communications-message-field {
    display: flex;
    min-height: 150px;
    flex: 1 1 150px;
    flex-direction: column;
}

.tbp-communications-compose-card--editor .tbp-communications-message-field textarea {
    min-height: 150px;
    flex: 1;
}

.tbp-inbox-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 4px;
    padding: 9px 14px 0;
    border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    background: var(--tbp-dashboard-soft-background, #fafafa);
}

.tbp-inbox-tabs button {
    position: relative;
    bottom: -1px;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px) var(--tbp-dashboard-radius, 4px) 0 0;
    background: transparent;
    color: var(--tbp-dashboard-text-muted, #71717a);
    padding: 8px 12px;
    font-family: var(--tbp-dashboard-font-family, "Inter", sans-serif);
    font-size: var(--tbp-dashboard-form-font-size, 12px);
    font-weight: 500;
    line-height: var(--tbp-dashboard-form-line-height, 1.25);
    cursor: pointer;
}

.tbp-inbox-tabs button:hover:not(.is-active) {
    background: var(--tbp-dashboard-nav-hover-background, #eceef2);
    color: var(--tbp-dashboard-text-primary, #09090b);
}

.tbp-inbox-tabs button.is-active {
    border-color: var(--tbp-dashboard-border, #e4e4e7);
    border-bottom-color: var(--tbp-dashboard-panel-background, #fff);
    background: var(--tbp-dashboard-panel-background, #fff);
    color: var(--tbp-dashboard-text-primary, #09090b);
    font-weight: 600;
}

.tbp-inbox-filters {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(190px, 1fr) minmax(120px, .65fr) minmax(120px, .65fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px 14px;
    border-bottom: 1px solid var(--tbp-border-subtle, #eceff4);
}

.tbp-inbox-filters > * { min-width: 0; }

.tbp-inbox-filters--system {
    grid-template-columns: minmax(170px, 1fr) minmax(190px, 1fr) auto;
}

.tbp-inbox-preview {
    display: block;
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tbp-inbox-badges {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    min-width: max-content;
    white-space: nowrap;
}

.tbp-inbox-detail-message {
    padding: 12px 14px 18px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: var(--tbp-font-size-sm, .75rem);
}

@media (max-width: 1120px) {
    .tbp-inbox-filters,
    .tbp-inbox-filters--system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .tbp-inbox-filters,
    .tbp-inbox-filters--system { grid-template-columns: minmax(0, 1fr); }
}

.tbp-communications-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) minmax(140px, .8fr) minmax(140px, .8fr) minmax(130px, .7fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px 14px;
    border-bottom: 1px solid var(--tbp-border-subtle, #eceff4);
}

.tbp-communications-filter-actions {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 32px;
}

.tbp-communications-selection-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--tbp-border-subtle, #eceff4);
    color: var(--tbp-text-muted, #6b7280);
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-communications-check {
    width: 16px;
    height: 16px;
    accent-color: var(--tbp-color-primary, #2563eb);
}

.tbp-communications-check--header {
    display: block;
    margin: 0 auto;
}

.tbp-communications-form {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.tbp-communications-expiration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 10px;
    align-items: end;
}

.tbp-communications-message-field textarea {
    min-height: 150px;
    resize: vertical;
}

.tbp-communications-status {
    margin: 0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: var(--tbp-font-size-sm, .75rem);
}

.tbp-communications-status--error {
    border: 1px solid var(--tbp-color-danger-border, #fecaca);
    background: var(--tbp-color-danger-surface, #fff1f2);
    color: var(--tbp-color-danger-text, #b91c1c);
}

.tbp-communications-status--success {
    border: 1px solid var(--tbp-color-success-border, #bbf7d0);
    background: var(--tbp-color-success-surface, #f0fdf4);
    color: var(--tbp-color-success-text, #15803d);
}

.tbp-communications-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--tbp-border-subtle, #eceff4);
    padding-top: 12px;
}

.tbp-communications-submit > span {
    color: var(--tbp-text-muted, #6b7280);
    font-size: var(--tbp-font-size-sm, .75rem);
}

@media (max-width: 1120px) {
    .tbp-communications-layout {
        grid-template-columns: 1fr;
    }

    .tbp-communications-list-card {
        height: min(55dvh, 520px);
        min-height: 280px;
    }

    .tbp-communications-compose-card--editor {
        min-height: 0;
    }

    .tbp-communications-compose-card--editor .tbp-communications-form {
        min-height: 0;
    }

    .tbp-communications-compose-card--editor .tbp-communications-message-field {
        flex: 0 0 auto;
    }

    .tbp-communications-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbp-communications-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .tbp-communications-filters {
        grid-template-columns: 1fr;
    }

    .tbp-communications-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .tbp-communications-submit .tbp-button {
        width: 100%;
    }

    .tbp-communications-expiration {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .tbp-app__content--inspection {
        grid-template-rows: auto auto;
        overflow-y: auto;
    }

    .tbp-app__content--inspection > .tbp-session-profiles-list-layout {
        align-self: start;
    }

    .tbp-app__content--inspection > .tbp-session-profiles-list-layout > .tbp-session-profile-list-card > .tbp-card__content {
        grid-template-rows: auto auto;
    }

    .tbp-app__content--inspection > .tbp-communications-layout {
        grid-template-columns: 1fr;
    }

    .tbp-app__content--inspection > section > .tbp-card {
        height: auto;
    }

    .tbp-app__content--inspection > section > .tbp-card > .tbp-card__content {
        overflow-y: visible;
    }

    .tbp-app__content--inspection .tbp-data-grid__viewport {
        max-height: min(55dvh, 520px);
    }

    .tbp-app__content--inspection .tbp-sent-notices-detail-card .tbp-data-grid__viewport {
        max-height: none;
    }

    .tbp-sent-notices-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    }
}

@media (max-width: 620px) {
    .tbp-sent-notices-filters {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.tbp-document-editor {
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}

.tbp-document-editor__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.tbp-document-editor__name {
    flex: 1 1 160px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.tbp-document-preview {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 420px;
    border: 1px solid var(--tbp-dashboard-border, #e4e4e7);
    border-radius: var(--tbp-dashboard-radius, 4px);
    background: var(--tbp-dashboard-card-background, #ffffff);
}

.tbp-document-preview--image {
    object-fit: contain;
}

.tbp-file input[type="file"] {
    min-width: 0;
    max-width: 100%;
}

.tbp-file__input { display: none; }
.tbp-file .tbp-button { justify-self: start; }
.tbp-document-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.tbp-document-item { min-width: 0; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); background: var(--tbp-dashboard-card-background, #fff); }
.tbp-document-item__preview { display: grid; justify-items: center; align-content: start; gap: 6px; width: 100%; min-height: 112px; padding: 12px; color: inherit; background: transparent; border: 0; font: inherit; cursor: pointer; }
.tbp-document-item__preview .tbp-icon { font-size: 32px; width: 32px; height: 32px; }
.tbp-document-item__extension { font-size: 11px; font-weight: 700; }
.tbp-document-item__name { font-size: 12px; line-height: 1.4; max-width: 100%; overflow-wrap: anywhere; }
.tbp-document-item__actions { display: flex; justify-content: flex-end; padding: 4px 8px; border-top: 1px solid var(--tbp-dashboard-border, #e4e4e7); }
.tbp-document-editor--compact .tbp-document-list { grid-template-columns: minmax(0, 1fr); }
.tbp-document-editor--compact .tbp-document-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.tbp-document-editor--compact .tbp-document-item__preview { min-width: 0; min-height: 0; grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; align-content: center; column-gap: 8px; row-gap: 2px; padding: 8px; text-align: start; }
.tbp-document-editor--compact .tbp-document-item__preview .tbp-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 24px; height: 24px; font-size: 24px; }
.tbp-document-editor--compact .tbp-document-item__extension,
.tbp-document-editor--compact .tbp-document-item__name { grid-column: 2; }
.tbp-document-editor--compact .tbp-document-item__actions { align-items: center; border-top: 0; border-left: 1px solid var(--tbp-dashboard-border, #e4e4e7); padding: 4px; }

.tbp-document-dialog { box-sizing: border-box; width: min(1100px, calc(100vw - 32px)); height: min(850px, calc(100dvh - 32px)); padding: 0; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); background: var(--tbp-dashboard-card-background, #fff); color: inherit; overflow: hidden; }
.tbp-document-dialog::backdrop { background: rgb(0 0 0 / 48%); }
.tbp-document-dialog__surface { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; min-width: 0; }
.tbp-document-dialog__hint { margin: 0; padding: 8px 12px; border-top: 1px solid var(--tbp-dashboard-border, #e4e4e7); font-size: 12px; color: var(--tbp-dashboard-text-secondary, #71717a); }
.tbp-document-dialog__toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7); }
.tbp-document-dialog__title { flex: 1 1 200px; font-size: 13px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.tbp-document-dialog__zoom { width: 48px; text-align: center; font-size: 12px; }
.tbp-document-dialog__viewport { position: relative; min-width: 0; min-height: 0; overflow: auto; background: var(--tbp-dashboard-background, #f4f4f5); }
.tbp-document-dialog__canvas { width: calc(var(--tbp-document-fit-width, 100%) * var(--tbp-document-zoom, 1)); min-height: 100%; margin-inline: auto; }
.tbp-document-dialog__canvas [data-document-pdf] { display: grid; gap: 12px; }
.tbp-document-dialog__pdf-page { width: 100%; background: #fff; }
.tbp-document-dialog__pdf-page canvas { display: block; width: 100%; height: auto; }
.tbp-document-dialog__canvas img { display: block; width: 100%; height: auto; margin-inline: auto; object-fit: contain; }
.tbp-document-dialog__viewport.is-pannable [data-document-image] { cursor: grab; user-select: none; }
.tbp-document-dialog__viewport.is-panning, .tbp-document-dialog__viewport.is-panning [data-document-image] { cursor: grabbing; }
.tbp-document-dialog__canvas [hidden] { display: none; }
.tbp-document-dialog__progress { flex: 0 0 100%; }
@media (max-width: 620px) { .tbp-document-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); } .tbp-document-dialog__title { flex-basis: 100%; } }

@media (max-width: 620px) {
    .tbp-document-preview {
        height: 320px;
    }
}

/* Shared modal forms and read-only wizard summaries. Theme tokens apply to every host. */
.tbp-dialog { box-sizing: border-box; width: min(var(--tbp-dialog-width, 760px), calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); background: var(--tbp-dashboard-card-background, #fff); color: var(--tbp-dashboard-text, #18181b); }
.tbp-dialog::backdrop { background: var(--tbp-dialog-backdrop, #0006); }
.tbp-dialog { font-family: var(--tbp-dashboard-font-family, "Segoe UI", sans-serif); font-size: var(--tbp-dialog-font-size, 14px); }
.tbp-dialog .tbp-session-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.tbp-dialog__surface { display: flex; flex-direction: column; max-height: calc(100dvh - 28px); }
.tbp-dialog__header, .tbp-dialog__actions { display: flex; align-items: center; gap: 8px; padding: 12px 16px; flex-shrink: 0; }
.tbp-dialog__header { justify-content: space-between; border-bottom: 1px solid var(--tbp-dashboard-border, #e4e4e7); }
.tbp-dialog__header h2 { margin: 0; font-size: 1rem; }
.tbp-dialog__body { overflow: auto; min-height: 0; padding: 16px; }
.tbp-dialog__actions { justify-content: flex-end; border-top: 1px solid var(--tbp-dashboard-border, #e4e4e7); }
.tbp-dialog__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; padding: 12px; min-width: 0; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); }
.tbp-dialog__fields legend { padding: 0 6px; font-weight: 600; }
.tbp-dialog .tbp-session-details dd { overflow-wrap: anywhere; }
.tbp-input__frame--suffix { display: flex; align-items: center; }
.tbp-input__frame--suffix .tbp-input__control { flex: 1; min-width: 0; }
.tbp-input__suffix { padding: 0 8px; color: var(--tbp-dashboard-text-secondary, #71717a); overflow-wrap: anywhere; max-width: 50%; }
@media (max-width: 600px) { .tbp-dialog__fields, .tbp-dialog .tbp-session-details { grid-template-columns: minmax(0, 1fr); } }

/* Shared report filters, metrics and bar charts. */
.tbp-app__content--report { grid-auto-rows: max-content; }
.tbp-report-detail-layout > .tbp-session-profile-list-card,
.tbp-report-detail-layout > .tbp-session-profile-detail-card {
    height: var(--tbp-report-detail-height, 440px);
    min-height: 0;
}
.tbp-report-detail-layout > .tbp-session-profile-list-card > .tbp-card__content {
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
}
.tbp-report-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 1.2fr) minmax(130px, .6fr) auto; align-items: end; gap: 12px; padding: 14px; }
.tbp-report-filters > * { min-width: 0; }
.tbp-report-filter-actions { display: flex; align-items: center; gap: 8px; min-height: var(--tbp-input-height, 32px); }
.tbp-report-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tbp-report-metric-value { display: block; padding: 14px; font-size: 24px; overflow-wrap: anywhere; color: var(--tbp-dashboard-text-primary, #09090b); }
.tbp-report-scope, .tbp-report-note { margin: 0; color: var(--tbp-dashboard-text-muted, #71717a); font-size: var(--tbp-dashboard-form-font-size, 12px); }
.tbp-report-note { padding: 0 14px 14px; }
.tbp-report-detail-layout { align-items: start; }
.tbp-report-detail-layout > .tbp-session-profile-detail-card > .tbp-card__content { overflow-y: auto; }
.tbp-bar-chart { position: relative; width: 100%; min-width: 0; overflow-x: auto; padding: 10px; }
.tbp-bar-chart svg { display: block; min-width: 100%; }
.tbp-bar-chart text { fill: var(--tbp-dashboard-text-muted, #71717a); font: 11px var(--tbp-dashboard-font-family, "Inter", sans-serif); }
.tbp-bar-chart__axis line { stroke: var(--tbp-dashboard-border, #e4e4e7); stroke-width: 1; }
.tbp-bar-chart__bar rect { fill: var(--tbp-dashboard-accent, #2563eb); }
.tbp-bar-chart__bar:hover rect, .tbp-bar-chart__bar:focus rect { fill: var(--tbp-dashboard-blue, #1d4ed8); }
@media (max-width: 1180px) { .tbp-report-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tbp-report-filters, .tbp-report-metrics { grid-template-columns: minmax(0, 1fr); } }

/* Dashboard content stretches within its editor-assigned cell dimensions. */
.tbp-dashboard-widget__card:has(.tbp-revenue-widget) { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.tbp-dashboard-widget__card:has(.tbp-revenue-widget) > .tbp-card__content { min-height: 0; overflow: auto; }
.tbp-revenue-widget { position: relative; box-sizing: border-box; height: 100%; min-height: 140px; min-width: 0; display: grid; grid-template-rows: minmax(120px, 1fr); padding: 4px 8px; }
.tbp-dashboard-widget__link { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--tbp-dashboard-radius, 4px); color: var(--tbp-dashboard-text-muted, #71717a); }
.tbp-dashboard-widget__link:hover, .tbp-dashboard-widget__link:focus-visible { color: var(--tbp-dashboard-accent, #2563eb); background: var(--tbp-dashboard-accent-soft, #eff6ff); }
.tbp-revenue-widget .tbp-bar-chart--fit { min-height: 120px; padding: 0; }
.tbp-bar-chart__tooltip { position: absolute; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); z-index: 2; max-width: calc(100% - 12px); padding: 6px 8px; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); background: var(--tbp-dashboard-panel-background, #ffffff); color: var(--tbp-dashboard-text-primary, #09090b); box-shadow: var(--tbp-dashboard-panel-shadow, 0 1px 2px rgba(24,34,52,.04)); font-size: 11px; pointer-events: none; }
.tbp-bar-chart__tooltip-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--tbp-dashboard-accent, #2563eb); }
.tbp-bar-chart__tooltip strong { white-space: nowrap; }
.tbp-bar-chart--fit { height: 100%; min-height: 180px; overflow: auto; }
.tbp-bar-chart--fit svg { min-width: 0; }
.tbp-bar-chart--fit.is-measuring svg { display: none; visibility: hidden; }
.tbp-bar-chart__loading { position: absolute; inset: 0; pointer-events: none; }
.tbp-revenue-widget > .tbp-bar-chart__loading { inset: 4px 8px; }
.tbp-dialog:has(.tbp-menu-search-panel) { --tbp-dialog-width: 560px; pointer-events: auto; }
.tbp-dialog:has(.tbp-menu-search-panel) .tbp-dialog__actions:empty { display: none; }
.tbp-menu-search-panel { min-width: 0; }
.tbp-menu-search__hint { margin: 8px 0 12px; color: var(--tbp-dashboard-text-muted, #71717a); font-size: 11px; }
.tbp-menu-search__results { display: grid; gap: 3px; max-height: min(360px, 48dvh); overflow: auto; }
.tbp-menu-search__result { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--tbp-dashboard-radius, 4px); color: var(--tbp-dashboard-text, #18181b); text-decoration: none; }
.tbp-menu-search__result:hover, .tbp-menu-search__result[aria-selected="true"] { background: var(--tbp-dashboard-sidebar-active-background, #edf2ff); }
.tbp-menu-search__result strong, .tbp-menu-search__result small { display: block; overflow-wrap: anywhere; }
.tbp-menu-search__result strong { font-size: 13px; font-weight: 500; }
.tbp-menu-search__result small { margin-top: 3px; font-size: 11px; color: var(--tbp-dashboard-text-muted, #71717a); }
.tbp-menu-search__result[hidden] { display: none; }

.tbp-app__nav-child-group { display: grid; gap: 1px; min-width: 0; }
.tbp-app__nav-child--group { width: 100%; justify-content: space-between; gap: 6px; cursor: pointer; }
.tbp-app__nav-child--group > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbp-app__nav-child--group .tbp-app__nav-chevron { display: inline-flex; flex: 0 0 auto; }
.tbp-app__nav-child--group.is-expanded > .tbp-app__nav-chevron { transform: rotate(90deg); }
.tbp-app__nav-grandchildren { display: grid; gap: 1px; margin-left: 10px; padding-left: 9px; border-left: 1px solid var(--tbp-dashboard-sidebar-submenu-line, #c9c9cf); }

.tbp-app__sidebar.is-collapsed .tbp-app__sidebar-flyout .tbp-app__nav-child--group > .tbp-app__nav-chevron { display: inline-flex; }
.tbp-app__nav-child--group .tbp-app__nav-chevron { width: 14px; height: 14px; overflow: hidden; }

/* Breadcrumb and optional context for the connected user. */
.tbp-page-breadcrumb-row { display: flex; flex: 0 0 100%; min-width: 0; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.tbp-page-breadcrumb-row > .tbp-breadcrumb { flex: 1 1 auto; }
.tbp-page-breadcrumb-row > .tbp-breadcrumb ol,
.tbp-page-breadcrumb-row > .tbp-breadcrumb li { align-items: baseline; }
.tbp-page-breadcrumb-row .tbp-breadcrumb__separator,
.tbp-page-breadcrumb-row > .tbp-breadcrumb li:has(> a) { align-self: center; }
.tbp-session-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; max-width: 100%; margin-left: auto; }
.tbp-session-badges .tbp-badge { min-height: 18px; height: auto; padding-block: 2px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.tbp-session-badges__label { font-weight: 400; }
@media (max-width: 860px) { .tbp-page-breadcrumb-row { width: 100%; flex-basis: auto; } }

/* One keyboard-focus policy for native elements, shared controls and future links.
   Keep headings and programmatic-only containers out of the interactive target set. */
:root :is(a[href], button, input, select, textarea, summary,
          [tabindex]:not([tabindex="-1"]), [contenteditable="true"]):focus-visible {
    outline: var(--tbp-focus-width, var(--tbp-navigation-focus-width, 1px)) solid var(--tbp-focus-color, var(--tbp-navigation-focus-color, #16845b));
    outline-offset: var(--tbp-focus-offset, var(--tbp-navigation-focus-offset, -1px));
}

/* Shortcut configuration UI: presentation only; capture controls stay on the right. */
.tbp-shortcut-preview-note { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--tbp-dashboard-border, #e4e4e7); border-radius: var(--tbp-dashboard-radius, 4px); background: var(--tbp-dashboard-panel-background, #fff); color: var(--tbp-dashboard-text-muted, #71717a); font-size: 12px; }
.tbp-shortcut-preview-note strong { color: var(--tbp-dashboard-text-primary, #09090b); }
.tbp-shortcut-settings { align-items: start; }
.tbp-shortcut-settings__row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(280px, 1fr); align-items: start; gap: 16px; padding: 14px 0; }
.tbp-shortcut-settings__row + .tbp-shortcut-settings__row { border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3); }
.tbp-shortcut-settings__description { min-width: 0; }
.tbp-shortcut-settings__description > strong { font-size: 12px; color: var(--tbp-dashboard-text-primary, #09090b); }
.tbp-shortcut-settings__description > p { margin: 4px 0 8px; font-size: 12px; color: var(--tbp-dashboard-text-muted, #71717a); line-height: 1.5; }
.tbp-shortcut-settings__controls { min-width: 0; }
.tbp-shortcut-settings__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tbp-shortcut-settings__summary { display: grid; gap: 14px; min-width: 0; }
.tbp-shortcut-input__editor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.tbp-shortcut-input__editor > input { flex: 1 1 180px; min-width: 0; }
.tbp-shortcut-input__hint { display: block; margin-top: 6px; color: var(--tbp-dashboard-text-muted, #71717a); font-size: 11px; }
.tbp-shortcut-keys { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
.tbp-shortcut-keys kbd { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tbp-shortcut-key-min-width, 30px); min-height: var(--tbp-shortcut-key-height, 30px); padding: 3px 7px; border: 1px solid var(--tbp-shortcut-key-border, #d4d4d8); border-bottom-width: 3px; border-radius: var(--tbp-shortcut-key-radius, 5px); background: var(--tbp-shortcut-key-background, #fafafa); color: var(--tbp-shortcut-key-text, #27272a); font: 600 var(--tbp-shortcut-key-font-size, 12px) var(--tbp-dashboard-font-family, "Inter", sans-serif); }
.tbp-shortcut-keys__separator, .tbp-shortcut-keys__empty { color: var(--tbp-dashboard-text-muted, #71717a); font-size: 11px; }
@media (max-width: 860px) { .tbp-shortcut-settings__row { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.tbp-shortcut-reference { margin: 0; gap: 8px; border-top: 1px solid var(--tbp-dashboard-soft-border, #f1f1f3); }
.tbp-shortcut-reference > h2 { margin: 0; font-size: 12px; color: var(--tbp-dashboard-text-primary, #09090b); }
.tbp-shortcut-reference > p { margin: 0; }
.tbp-shortcut-reference > .tbp-button { justify-self: start; }
.tbp-shortcut-reference > p, .tbp-copy-text-status { color: var(--tbp-dashboard-text-muted, #71717a); font-size: 11px; line-height: 1.5; }
.tbp-copy-text-status { display: block; margin-top: 6px; }
.tbp-copy-text-status:empty { display: none; }
.tbp-shortcut-reference__text { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; font: inherit; font-size: 12px; line-height: 1.7; color: var(--tbp-dashboard-text-primary, #09090b); }
