:root {
    --ibp-primary: #c7a84a;
    --ibp-dark: #111827;
    --ibp-bg: #f4f6f9;
    --ibp-surface: #ffffff;
    --ibp-text: #111827;
    --ibp-muted: #6b7280;
    --ibp-border: #e5e7eb;
    --ibp-danger: #b42318;
    --ibp-radius: 18px;
    --ibp-shadow: 0 18px 45px rgba(17, 24, 39, .08);
    --ibp-sidebar: 252px;
    --ibp-topbar: 76px;
}

html {
    height: 100%;
    background: var(--ibp-bg);
}

body.ibp-login-body,
body.ibp-portal-body {
    min-height: 100%;
    margin: 0 !important;
    background: var(--ibp-bg) !important;
    color: var(--ibp-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.ibp-login-body *,
.ibp-portal-body * {
    box-sizing: border-box;
}

.ibp-login-body a,
.ibp-portal-body a {
    text-decoration: none;
}

.ibp-login-body button,
.ibp-login-body input,
.ibp-portal-body button,
.ibp-portal-body input {
    font: inherit;
}

.ibp-login-body svg,
.ibp-portal-body svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Login */
.ibp-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 1.12fr) minmax(420px, .88fr);
    background: #fff;
}

.ibp-login-brand-panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 16%, rgba(199, 168, 74, .3), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(199, 168, 74, .12), transparent 36%),
        linear-gradient(145deg, #161b25 0%, var(--ibp-dark) 50%, #080b11 100%);
}

.ibp-login-brand-panel::before,
.ibp-login-brand-panel::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.ibp-login-brand-panel::before {
    width: 560px;
    height: 560px;
    right: -260px;
    top: -170px;
}

.ibp-login-brand-panel::after {
    width: 380px;
    height: 380px;
    left: -220px;
    bottom: -160px;
}

.ibp-login-brand-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 54px clamp(42px, 6vw, 92px);
}

.ibp-brand-lockup,
.ibp-login-mobile-brand,
.ibp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ibp-brand-lockup > div,
.ibp-login-mobile-brand > div,
.ibp-brand > span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ibp-brand-lockup strong,
.ibp-login-mobile-brand strong,
.ibp-brand strong {
    font-size: 17px;
    letter-spacing: .01em;
}

.ibp-brand-lockup span,
.ibp-login-mobile-brand span,
.ibp-brand small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ibp-logo-mark {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    border-radius: 12px;
    background: var(--ibp-primary);
    color: #111;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: 0 10px 30px rgba(199, 168, 74, .22);
}

.ibp-login-logo,
.ibp-header-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.ibp-login-message {
    max-width: 570px;
    margin: 70px 0;
}

.ibp-login-kicker,
.ibp-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--ibp-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ibp-login-message h1 {
    margin: 0;
    max-width: 560px;
    color: #fff;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ibp-login-message p {
    max-width: 500px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 18px;
    line-height: 1.7;
}

.ibp-security-note {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.ibp-security-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    color: var(--ibp-primary);
}

.ibp-security-icon svg {
    width: 17px;
    height: 17px;
}

.ibp-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 52px clamp(28px, 6vw, 90px);
    background: #fff;
}

.ibp-login-card {
    width: min(430px, 100%);
}

.ibp-login-mobile-brand {
    display: none;
    margin-bottom: 48px;
    color: var(--ibp-text);
}

.ibp-login-mobile-brand span {
    color: var(--ibp-muted);
}

.ibp-login-heading > span {
    color: var(--ibp-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ibp-login-heading h2 {
    margin: 9px 0 10px;
    color: var(--ibp-text);
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.ibp-login-heading p {
    margin: 0 0 34px;
    color: var(--ibp-muted);
    font-size: 15px;
}

.ibp-login-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #fecdca;
    border-radius: 10px;
    background: #fef3f2;
    color: var(--ibp-danger);
    font-size: 14px;
}

.ibp-login-form > label {
    display: block;
    margin: 0 0 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.ibp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 22px;
}

.ibp-input-wrap > span {
    position: absolute;
    left: 15px;
    z-index: 1;
    color: #98a2b3;
    pointer-events: none;
}

.ibp-input-wrap > span svg {
    width: 18px;
    height: 18px;
}

.ibp-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 46px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: #101828;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ibp-input-wrap input:focus {
    border-color: var(--ibp-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ibp-primary) 18%, transparent);
}

.ibp-password-toggle {
    position: absolute;
    right: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}

.ibp-password-toggle:hover {
    background: #f2f4f7;
    color: #101828;
}

.ibp-password-toggle svg {
    width: 18px;
    height: 18px;
}

.ibp-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -4px 0 28px;
    font-size: 13px;
}

.ibp-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475467;
    cursor: pointer;
}

.ibp-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--ibp-primary);
}

.ibp-login-options a {
    color: #344054;
    font-weight: 700;
}

.ibp-login-options a:hover {
    color: var(--ibp-primary);
}

.ibp-login-submit,
.ibp-primary-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    background: var(--ibp-dark);
    color: #fff !important;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(17, 24, 39, .16);
    transition: transform .18s ease, background .18s ease;
}

.ibp-login-submit {
    width: 100%;
}

.ibp-login-submit:hover,
.ibp-primary-button:hover {
    transform: translateY(-1px);
    background: #000;
}

.ibp-login-submit span {
    font-size: 19px;
    line-height: 1;
}

.ibp-login-help {
    margin: 28px 0 0;
    color: #98a2b3;
    font-size: 12px;
    text-align: center;
}

/* Portal shell */
.ibp-app {
    min-height: 100vh;
    background: var(--ibp-bg);
}

.ibp-topbar {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto 0;
    height: var(--ibp-topbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: var(--ibp-dark);
    color: #fff;
    box-shadow: 0 6px 24px rgba(17, 24, 39, .12);
}

.ibp-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ibp-brand {
    color: #fff !important;
}

.ibp-brand .ibp-logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 11px;
}

.ibp-brand strong {
    font-size: 15px;
}

.ibp-brand small {
    font-size: 9px;
}

.ibp-menu-toggle,
.ibp-logout-mobile {
    display: none;
}

.ibp-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ibp-user-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
}

.ibp-user-copy strong {
    font-size: 13px;
    font-weight: 750;
}

.ibp-user-copy span {
    margin-top: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
}

.ibp-user-avatar {
    width: 42px !important;
    height: 42px !important;
    border: 2px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    object-fit: cover;
}

.ibp-layout {
    min-height: 100vh;
    padding-top: var(--ibp-topbar);
}

.ibp-sidebar {
    position: fixed;
    z-index: 900;
    top: var(--ibp-topbar);
    bottom: 0;
    left: 0;
    width: var(--ibp-sidebar);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 16px 18px;
    border-right: 1px solid var(--ibp-border);
    background: #fff;
}

.ibp-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ibp-nav a,
.ibp-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 11px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease;
}

.ibp-nav a svg,
.ibp-logout svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.ibp-nav a:hover,
.ibp-nav a.is-active {
    background: color-mix(in srgb, var(--ibp-primary) 14%, #fff);
    color: #161616;
}

.ibp-nav a.is-active {
    box-shadow: inset 3px 0 0 var(--ibp-primary);
}

.ibp-sidebar-footer {
    border-top: 1px solid var(--ibp-border);
    padding-top: 16px;
}

.ibp-sidebar-security {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 8px 12px;
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.35;
}

.ibp-sidebar-security svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: var(--ibp-primary);
}

.ibp-logout:hover {
    background: #fef3f2;
    color: #b42318;
}

.ibp-main {
    min-height: calc(100vh - var(--ibp-topbar));
    margin-left: var(--ibp-sidebar);
    padding: 38px clamp(24px, 3.5vw, 58px) 54px;
}

.ibp-sidebar-backdrop {
    display: none;
}

/* Dashboard */
.ibp-dashboard-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.ibp-dashboard-head h1,
.ibp-report-view-head h1 {
    margin: 0;
    color: var(--ibp-text);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.ibp-dashboard-head p {
    margin: 11px 0 0;
    color: var(--ibp-muted);
    font-size: 15px;
}

.ibp-report-count {
    display: flex;
    align-items: baseline;
    gap: 9px;
    white-space: nowrap;
    color: var(--ibp-muted);
    font-size: 12px;
}

.ibp-report-count strong {
    color: var(--ibp-primary);
    font-size: 29px;
    line-height: 1;
}

.ibp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.ibp-search-box {
    position: relative;
    width: min(360px, 100%);
}

.ibp-search-box svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 18px;
    height: 18px;
    color: #98a2b3;
    transform: translateY(-50%);
}

.ibp-search-box input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--ibp-border);
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: var(--ibp-text);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.ibp-search-box input:focus {
    border-color: var(--ibp-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ibp-primary) 14%, transparent);
}

.ibp-filter-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ibp-filter-list::-webkit-scrollbar {
    display: none;
}

.ibp-filter-list button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ibp-border);
    border-radius: 999px;
    background: #fff;
    color: #667085;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.ibp-filter-list button:hover,
.ibp-filter-list button.is-active {
    border-color: var(--ibp-dark);
    background: var(--ibp-dark);
    color: #fff;
}

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

.ibp-report-card {
    min-width: 0;
    border: 1px solid var(--ibp-border);
    border-radius: var(--ibp-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ibp-report-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--ibp-primary) 60%, var(--ibp-border));
    box-shadow: var(--ibp-shadow);
}

.ibp-report-card[hidden] {
    display: none;
}

.ibp-report-card > a {
    display: block;
    height: 100%;
    color: inherit;
}

.ibp-card-visual {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(145deg, #1f2937, var(--ibp-dark));
    background-size: 24px 24px, 24px 24px, auto;
}

.ibp-card-visual::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -45px;
    top: -60px;
    border-radius: 50%;
    background: var(--ibp-primary);
    opacity: .12;
}

.ibp-card-visual.has-image::after {
    background: linear-gradient(to top, rgba(17, 24, 39, .25), transparent);
    opacity: 1;
    width: 100%;
    height: 100%;
    inset: 0;
    border-radius: 0;
}

.ibp-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ibp-report-card:hover .ibp-card-visual img {
    transform: scale(1.035);
}

.ibp-card-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 17px;
    background: rgba(255, 255, 255, .08);
    color: var(--ibp-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.ibp-card-icon svg {
    width: 30px;
    height: 30px;
}

.ibp-chart-decoration {
    position: absolute;
    right: 25px;
    bottom: 20px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
    opacity: .22;
}

.ibp-chart-decoration i {
    width: 5px;
    border-radius: 4px 4px 0 0;
    background: #fff;
}

.ibp-chart-decoration i:nth-child(1) { height: 18px; }
.ibp-chart-decoration i:nth-child(2) { height: 31px; }
.ibp-chart-decoration i:nth-child(3) { height: 24px; }
.ibp-chart-decoration i:nth-child(4) { height: 44px; background: var(--ibp-primary); }
.ibp-chart-decoration i:nth-child(5) { height: 36px; }

.ibp-card-body {
    display: flex;
    flex-direction: column;
    min-height: 206px;
    padding: 21px 22px 20px;
}

.ibp-card-category {
    min-height: 18px;
    margin-bottom: 8px;
    color: var(--ibp-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ibp-card-body h2 {
    margin: 0;
    color: var(--ibp-text);
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.ibp-card-body p {
    margin: 10px 0 18px;
    color: var(--ibp-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ibp-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.ibp-card-link b {
    color: var(--ibp-primary);
    font-size: 18px;
    transition: transform .18s ease;
}

.ibp-report-card:hover .ibp-card-link b {
    transform: translateX(4px);
}

.ibp-no-results[hidden] {
    display: none !important;
}

.ibp-no-results,
.ibp-empty-state,
.ibp-embed-missing {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px;
    border: 1px dashed #d0d5dd;
    border-radius: var(--ibp-radius);
    background: #fff;
    color: var(--ibp-muted);
    text-align: center;
}

.ibp-no-results strong,
.ibp-empty-state h2,
.ibp-empty-state h1,
.ibp-embed-missing h2 {
    margin: 14px 0 7px;
    color: var(--ibp-text);
    font-size: 23px;
}

.ibp-no-results span,
.ibp-empty-state p,
.ibp-embed-missing p {
    max-width: 520px;
    margin: 0;
}

.ibp-empty-icon,
.ibp-embed-missing > div {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--ibp-primary) 15%, #fff);
    color: var(--ibp-primary);
}

.ibp-empty-icon svg,
.ibp-embed-missing > div svg {
    width: 32px;
    height: 32px;
}

.ibp-empty-state .ibp-primary-button,
.ibp-embed-missing .ibp-primary-button {
    margin-top: 24px;
}

/* Report view */
.ibp-report-view {
    min-height: calc(100vh - var(--ibp-topbar) - 76px);
    display: flex;
    flex-direction: column;
}

.ibp-report-view-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.ibp-report-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ibp-report-title-wrap > div {
    min-width: 0;
}

.ibp-report-title-wrap .ibp-eyebrow {
    margin-bottom: 5px;
}

.ibp-report-view-head h1 {
    overflow: hidden;
    font-size: clamp(23px, 2.4vw, 34px);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ibp-back-button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 1px solid var(--ibp-border);
    border-radius: 11px;
    background: #fff;
    color: #475467;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.ibp-back-button:hover {
    border-color: var(--ibp-primary);
    color: #111;
}

.ibp-back-button svg {
    width: 22px;
    height: 22px;
}

.ibp-report-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ibp-report-actions button {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid var(--ibp-border);
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}

.ibp-report-actions button:hover {
    border-color: var(--ibp-primary);
    color: #111;
}

.ibp-report-actions svg {
    width: 17px;
    height: 17px;
}

.ibp-embed-shell {
    position: relative;
    flex: 1;
    min-height: 650px;
    overflow: hidden;
    border: 1px solid var(--ibp-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.ibp-embed-shell iframe {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.ibp-embed-loader {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--ibp-muted);
    font-size: 13px;
}

.ibp-embed-loader span {
    width: 38px;
    height: 38px;
    border: 3px solid #eaecf0;
    border-top-color: var(--ibp-primary);
    border-radius: 50%;
    animation: ibp-spin .8s linear infinite;
}

.ibp-embed-loader p {
    margin: 0;
}

.ibp-embed-shell.is-loaded .ibp-embed-loader {
    display: none;
}

.ibp-embed-shell:fullscreen {
    border: 0;
    border-radius: 0;
    background: #fff;
}

@keyframes ibp-spin {
    to { transform: rotate(360deg); }
}

.ibp-embed-missing {
    flex: 1;
}

.ibp-access-denied {
    min-height: calc(100vh - var(--ibp-topbar) - 110px);
}

/* Responsive */
@media (max-width: 1180px) {
    .ibp-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ibp-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .ibp-filter-list {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    :root {
        --ibp-topbar: 68px;
    }

    .ibp-login-page {
        grid-template-columns: 1fr;
    }

    .ibp-login-brand-panel {
        display: none;
    }

    .ibp-login-form-panel {
        min-height: 100vh;
        padding: 42px 24px;
        background:
            radial-gradient(circle at 100% 0, color-mix(in srgb, var(--ibp-primary) 14%, transparent), transparent 30%),
            #fff;
    }

    .ibp-login-mobile-brand {
        display: flex;
    }

    .ibp-login-mobile-brand .ibp-logo-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .ibp-topbar {
        padding: 0 15px;
    }

    .ibp-menu-toggle {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 9px;
        background: rgba(255, 255, 255, .06);
        color: #fff;
    }

    .ibp-menu-toggle svg {
        width: 20px;
        height: 20px;
    }

    .ibp-brand > span {
        display: none;
    }

    .ibp-sidebar {
        z-index: 1100;
        top: 0;
        width: min(290px, 86vw);
        padding-top: 86px;
        transform: translateX(-102%);
        transition: transform .25s ease;
        box-shadow: 18px 0 40px rgba(17, 24, 39, .18);
    }

    .ibp-sidebar.is-open {
        transform: translateX(0);
    }

    .ibp-sidebar-backdrop {
        position: fixed;
        z-index: 1050;
        inset: 0;
        display: block;
        background: rgba(15, 23, 42, .52);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

    .ibp-sidebar.is-open + .ibp-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .ibp-main {
        margin-left: 0;
        padding: 28px 18px 42px;
    }

    .ibp-report-view {
        min-height: calc(100vh - var(--ibp-topbar) - 56px);
    }

    .ibp-embed-shell {
        min-height: 620px;
    }
}

@media (max-width: 640px) {
    .ibp-login-heading h2 {
        font-size: 29px;
    }

    .ibp-login-mobile-brand {
        margin-bottom: 38px;
    }

    .ibp-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ibp-user-copy {
        display: none;
    }

    .ibp-user-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .ibp-logout-mobile {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: rgba(255, 255, 255, .7);
    }

    .ibp-logout-mobile svg {
        width: 19px;
        height: 19px;
    }

    .ibp-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .ibp-dashboard-head h1 {
        font-size: 30px;
    }

    .ibp-report-count {
        display: none;
    }

    .ibp-report-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ibp-card-visual {
        height: 132px;
    }

    .ibp-card-body {
        min-height: 190px;
    }

    .ibp-report-view-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ibp-report-title-wrap {
        width: 100%;
    }

    .ibp-report-actions {
        width: 100%;
    }

    .ibp-report-actions button {
        flex: 1;
        justify-content: center;
    }

    .ibp-embed-shell {
        min-height: 70vh;
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ibp-login-body *,
    .ibp-portal-body * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
