:root {
    --of-primary: #013166;
    --of-secondary: #09619C;
    --of-accent: #04A7EC;
    --of-warn: #FB9406;
    --of-warn-dark: #E96E07;
    --of-bg: #F6F8F8;
    --of-card: #ffffff;
    --of-border: rgba(1,49,102,.12);
    --of-text: #0f172a;
    --of-muted: rgba(15,23,42,.65);
    --of-radius: 16px;
    --of-shadow: 0 10px 30px rgba(1,49,102,.10);
}

html, body {
    background: linear-gradient(180deg, var(--of-bg), #ffffff);
}

.of-app {
    min-height: 100vh;
    display: flex;
}

.of-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--of-primary), #022a55);
    color: rgba(255,255,255,.92);
    border-right: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

    .of-sidebar .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 14px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

        .of-sidebar .brand img {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            object-fit: contain;
            padding: 0;
            flex-shrink: 0;
        }

        .of-sidebar .brand .title {
            font-weight: 800;
            font-size: .95rem;
            letter-spacing: .2px;
            line-height: 1.1;
        }

        .of-sidebar .brand .subtitle {
            font-size: .74rem;
            color: rgba(255,255,255,.70);
            line-height: 1.2;
        }

.of-nav {
    padding: 12px 10px 18px 10px;
}

    .of-nav .section {
        margin: 12px 10px 6px;
        font-size: .72rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: rgba(255,255,255,.55);
    }

    .of-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 12px;
        color: rgba(255,255,255,.90);
        text-decoration: none;
        transition: .15s ease;
    }

        .of-nav a:hover {
            background: rgba(255,255,255,.08);
            color: #fff;
        }

        .of-nav a.active {
            background: rgba(4,167,236,.18);
            border: 1px solid rgba(4,167,236,.22);
        }

    .of-nav i {
        font-size: 1.05rem;
        color: rgba(255,255,255,.90);
    }

    .of-nav .pill {
        margin-left: auto;
        font-size: .72rem;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(251,148,6,.18);
        border: 1px solid rgba(251,148,6,.25);
        color: rgba(255,255,255,.95);
    }

.of-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.of-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid var(--of-border);
}

    .of-topbar .inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        gap: 12px;
    }

    .of-topbar .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

.of-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--of-border);
    background: #fff;
    box-shadow: 0 6px 18px rgba(1,49,102,.06);
}

    .of-btn-icon:hover {
        border-color: rgba(4,167,236,.35);
    }

.of-content {
    padding: 18px;
}

.of-card {
    background: var(--of-card);
    border: 1px solid var(--of-border);
    border-radius: var(--of-radius);
    box-shadow: var(--of-shadow);
}

.of-card-header {
    padding: 16px 16px 0 16px;
}

.of-card-body {
    padding: 16px;
}

.of-page-title {
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--of-text);
}

.of-page-subtitle {
    color: var(--of-muted);
    margin-top: -2px;
}

.table {
    margin-bottom: 0;
}

    .table thead th {
        font-size: .82rem;
        color: rgba(15,23,42,.75);
        border-bottom: 1px solid rgba(1,49,102,.12);
    }

    .table tbody tr {
        vertical-align: middle;
    }

.btn-primary {
    background: linear-gradient(180deg, var(--of-secondary), var(--of-primary));
    border: none;
}

    .btn-primary:hover {
        filter: brightness(.98);
    }

.btn-outline-primary {
    border-color: rgba(9,97,156,.35);
    color: var(--of-secondary);
}

    .btn-outline-primary:hover {
        background: rgba(9,97,156,.08);
        border-color: rgba(9,97,156,.50);
        color: var(--of-primary);
    }

.toast.of-toast {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    overflow: hidden;
    min-width: 320px;
    backdrop-filter: blur(10px);
}

    .toast.of-toast .toast-body {
        padding: 14px 16px;
    }

.offcanvas.of-mobile-offcanvas,
#ofMobileMenu {
    width: 320px;
    max-width: 88vw;
}

.of-mobile-menu-body {
    background: linear-gradient(180deg, var(--of-primary), #022a55);
    padding: 0;
}

    .of-mobile-menu-body .of-nav {
        padding: 12px 10px 18px 10px;
    }

        .of-mobile-menu-body .of-nav .section {
            margin: 12px 10px 6px;
            font-size: .72rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: rgba(255,255,255,.55);
        }

        .of-mobile-menu-body .of-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 12px;
            color: rgba(255,255,255,.90);
            text-decoration: none;
            transition: .15s ease;
        }

            .of-mobile-menu-body .of-nav a:hover {
                background: rgba(255,255,255,.08);
                color: #fff;
            }

            .of-mobile-menu-body .of-nav a.active {
                background: rgba(4,167,236,.18);
                border: 1px solid rgba(4,167,236,.22);
            }

        .of-mobile-menu-body .of-nav i {
            font-size: 1.05rem;
            color: rgba(255,255,255,.90);
        }

        .of-mobile-menu-body .of-nav .pill {
            margin-left: auto;
            font-size: .72rem;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(251,148,6,.18);
            border: 1px solid rgba(251,148,6,.25);
            color: rgba(255,255,255,.95);
        }

.of-login-entry-btn {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, var(--of-secondary), var(--of-primary));
    box-shadow: 0 8px 20px rgba(1,49,102,.18);
    border: none;
    font-weight: 700;
    transition: .18s ease;
}

    .of-login-entry-btn:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(1,49,102,.22);
    }

    .of-login-entry-btn i {
        font-size: 1rem;
        line-height: 1;
    }

.of-user-menu-btn {
    min-height: 42px;
    padding: 6px 10px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--of-border);
    background: #fff;
    box-shadow: 0 6px 18px rgba(1,49,102,.06);
    color: var(--of-text);
}

    .of-user-menu-btn:hover {
        border-color: rgba(4,167,236,.35);
    }

    .of-user-menu-btn::after {
        margin-left: 2px;
    }

.of-user-menu-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--of-primary);
}

.of-user-menu-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
}

.of-user-menu-name {
    font-weight: 700;
    font-size: .93rem;
    color: var(--of-text);
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.of-user-menu-status {
    font-size: .78rem;
    color: var(--of-muted);
}

.of-user-dropdown {
    border: 1px solid var(--of-border);
    border-radius: 16px;
    overflow: hidden;
}

.of-user-dropdown-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(1,49,102,.08);
    color: var(--of-primary);
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 991.98px) {
    .of-sidebar {
        display: none;
    }

    .of-app {
        display: block;
    }

    .of-main {
        width: 100%;
        min-width: 0;
    }

    .of-topbar .inner {
        padding: 10px 14px;
    }

    .of-topbar .left {
        min-width: 0;
        flex: 1;
    }

    .of-page-title {
        font-size: 1.15rem;
        line-height: 1.1;
    }

    .of-page-subtitle {
        font-size: .92rem;
        line-height: 1.35;
    }

    .of-content {
        padding: 12px;
    }

    .of-card-body {
        padding: 14px;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 575.98px) {
    .of-topbar .inner {
        padding: 10px 12px;
        gap: 8px;
    }

    .of-page-title {
        font-size: 1rem;
    }

    .of-page-subtitle {
        font-size: .84rem;
    }

    .of-btn-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .of-login-entry-btn {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 12px;
    }

    .of-user-menu-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 12px;
    }

        .of-user-menu-btn::after {
            display: none;
        }

    .of-sidebar .brand img {
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    .of-sidebar .brand .title {
        font-size: .9rem;
    }

    .of-sidebar .brand .subtitle {
        font-size: .7rem;
    }

    .toast.of-toast {
        min-width: unset;
        width: calc(100vw - 24px);
    }
}

.of-mobile-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--of-border);
    background: #fff;
    padding: 14px 16px;
}

.of-mobile-menu-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--of-text);
    line-height: 1.1;
}

.of-mobile-logo,
.of-mobile-subtitle {
    display: none !important;
}

/* =========================
   GRID RESPONSIVA / MOBILE
   ========================= */

.of-grid-wrap {
    width: 100%;
}

.of-grid-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .of-grid-table thead th {
        white-space: nowrap;
        font-size: .82rem;
        font-weight: 700;
        color: rgba(15,23,42,.75);
        border-bottom: 1px solid rgba(1,49,102,.12);
        background: #fff;
    }

    .of-grid-table tbody tr {
        vertical-align: top;
    }

    .of-grid-table tbody td {
        vertical-align: middle;
    }

    .of-grid-table .of-col-actions {
        white-space: nowrap;
    }

.of-grid-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

    .of-grid-actions .btn,
    .of-grid-actions a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

.of-grid-title {
    font-weight: 700;
    color: var(--of-text);
    margin-bottom: 2px;
}

.of-grid-subtitle {
    font-size: .9rem;
    color: var(--of-muted);
}

.of-grid-badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.of-grid-card-total {
    font-weight: 800;
    color: var(--of-text);
}

@media (max-width: 767.98px) {
    .of-grid-wrap {
        overflow: visible;
    }

    .of-grid-table,
    .of-grid-table thead,
    .of-grid-table tbody,
    .of-grid-table th,
    .of-grid-table td,
    .of-grid-table tr {
        display: block;
        width: 100%;
    }

        .of-grid-table thead {
            display: none;
        }

        .of-grid-table tbody tr {
            background: #fff;
            border: 1px solid var(--of-border);
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(1,49,102,.08);
            margin-bottom: 14px;
            padding: 10px 12px;
        }

        .of-grid-table tbody td {
            border: 0 !important;
            padding: 8px 0 !important;
            text-align: left !important;
        }

            .of-grid-table tbody td::before {
                content: attr(data-label);
                display: block;
                font-size: .76rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .04em;
                color: var(--of-muted);
                margin-bottom: 4px;
            }

            .of-grid-table tbody td.of-no-label::before {
                display: none;
            }

            .of-grid-table tbody td + td {
                border-top: 1px dashed rgba(1,49,102,.08);
            }

        .of-grid-table .of-col-actions {
            padding-top: 10px !important;
        }

    .of-grid-actions {
        justify-content: flex-start;
    }

        .of-grid-actions .btn,
        .of-grid-actions a {
            flex: 1 1 calc(50% - 6px);
            min-width: 110px;
        }

    .of-grid-table .text-end,
    .of-grid-table .text-center {
        text-align: left !important;
    }
}
/* =========================
   LISTAGENS COMERCIAIS
   ========================= */

.of-listing-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.of-listing-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(4,167,236,.10);
    color: var(--of-primary);
    border: 1px solid rgba(4,167,236,.18);
    font-weight: 700;
}

.of-filter-card,
.of-list-card,
.of-summary-card {
    border: 1px solid var(--of-border);
    border-radius: 22px;
    overflow: hidden;
}

.of-filter-card {
    background:
        radial-gradient(circle at top right, rgba(4,167,236,.08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,248,.96));
}

.of-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--of-text);
    letter-spacing: -.02em;
}

.of-section-subtitle {
    color: var(--of-muted);
    font-size: .92rem;
    margin-top: 2px;
}

.of-filter-toggle {
    min-height: 42px;
    border-radius: 14px;
}

.of-filter-form .form-label {
    color: rgba(15,23,42,.72);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.of-filter-form .form-control,
.of-filter-form .form-select {
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(1,49,102,.12);
}

.of-filter-actions .btn {
    min-height: 46px;
    border-radius: 14px;
}

.of-filter-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.of-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(1,49,102,.06);
    border: 1px solid rgba(1,49,102,.08);
    color: var(--of-text);
    font-size: .86rem;
    font-weight: 600;
}

.of-summary-card {
    background: linear-gradient(180deg, #fff, rgba(246,248,248,.9));
}

.of-summary-card .card-body {
    padding: 18px;
}

.of-summary-card-warn {
    background: linear-gradient(180deg, rgba(251,148,6,.12), rgba(255,255,255,.96));
}

.of-summary-label {
    color: var(--of-muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
}

.of-summary-value {
    margin-top: 8px;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1;
    font-weight: 800;
    color: var(--of-text);
}

.of-summary-note {
    margin-top: 8px;
    color: var(--of-muted);
    font-size: .88rem;
    line-height: 1.4;
}

.of-pagination-compact,
.of-pagination-footer {
    gap: 10px;
}

.of-page-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(1,49,102,.06);
    border: 1px solid rgba(1,49,102,.08);
    color: var(--of-text);
    font-size: .86rem;
    font-weight: 700;
}

.of-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.of-listing-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(1,49,102,.05);
    color: var(--of-muted);
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .of-filter-card,
    .of-list-card,
    .of-summary-card {
        border-radius: 18px;
    }
}

@media (max-width: 767.98px) {
    .of-listing-pill {
        min-height: 38px;
        padding: 0 12px;
        font-size: .88rem;
    }

    .of-section-subtitle {
        font-size: .88rem;
    }

    .of-summary-card .card-body {
        padding: 16px;
    }

    .of-summary-value {
        font-size: 1.35rem;
    }

    .of-pagination-compact,
    .of-pagination-footer {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    .of-filter-form .form-control-lg {
        font-size: 1rem;
    }

    .of-filter-actions {
        width: 100%;
    }

    .of-filter-actions .btn {
        flex: 1 1 100%;
    }

    .of-page-counter {
        min-height: 34px;
        padding: 0 10px;
        font-size: .8rem;
    }
}

.of-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.of-quick-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(1,49,102,.10);
    color: var(--of-text);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    transition: .18s ease;
}

.of-quick-filter:hover {
    color: var(--of-primary);
    border-color: rgba(4,167,236,.28);
    background: rgba(4,167,236,.08);
}

.of-quick-filter.is-active {
    color: #fff;
    background: linear-gradient(180deg, var(--of-secondary), var(--of-primary));
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(1,49,102,.16);
}

@media (max-width: 575.98px) {
    .of-quick-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .of-quick-filter {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
        font-size: .84rem;
    }
}

.of-form-section {
    border-radius: 20px;
}

.of-switch-check {
    min-height: 52px;
    padding: 14px 16px 14px 2rem;
    border-radius: 16px;
    border: 1px solid rgba(1,49,102,.10);
    background: rgba(255,255,255,.72);
}

.of-switch-check .form-check-input {
    margin-top: .2rem;
}

.of-switch-check .form-check-label {
    font-weight: 700;
    color: var(--of-text);
}

.of-inline-summary {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(1,49,102,.05);
    border: 1px dashed rgba(1,49,102,.12);
    color: var(--of-text);
    font-weight: 600;
}

.of-orc-item {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.of-orc-item-rail {
    width: 4px;
    border-radius: 999px;
    background: rgba(1,49,102,.12);
    flex-shrink: 0;
}

.of-orc-item-body {
    min-width: 0;
    flex: 1;
}

.of-orc-item.is-etapa .of-orc-item-rail {
    background: linear-gradient(180deg, var(--of-secondary), var(--of-primary));
}

.of-orc-item.is-parent .of-orc-item-rail {
    background: linear-gradient(180deg, rgba(4,167,236,.85), rgba(9,97,156,.8));
}

.of-orc-item.is-leaf .of-orc-item-rail {
    background: rgba(1,49,102,.18);
}

.of-orc-item-type,
.of-orc-item-code {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.of-orc-item-type {
    background: rgba(1,49,102,.08);
    color: var(--of-primary);
}

.of-orc-item-type.is-leaf {
    background: rgba(15,23,42,.07);
    color: var(--of-text);
}

.of-orc-item-code {
    background: rgba(251,148,6,.12);
    color: #8a4a00;
}

.of-orc-item-level-1 {
    padding-left: 14px;
}

.of-orc-item-level-2 {
    padding-left: 28px;
}

.of-orc-item-level-3 {
    padding-left: 42px;
}

.of-orc-item-level-4 {
    padding-left: 56px;
}

.of-orc-item-level-5 {
    padding-left: 70px;
}

@media (max-width: 767.98px) {
    .of-orc-item-level-1 {
        padding-left: 10px;
    }

    .of-orc-item-level-2 {
        padding-left: 18px;
    }

    .of-orc-item-level-3 {
        padding-left: 26px;
    }

    .of-orc-item-level-4 {
        padding-left: 34px;
    }

    .of-orc-item-level-5 {
        padding-left: 42px;
    }

    .of-orc-item-type,
    .of-orc-item-code {
        min-height: 24px;
        padding: 3px 8px;
        font-size: .72rem;
    }
}

.of-orc-toggle {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(1,49,102,.14);
    background: #fff;
    color: var(--of-primary);
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(1,49,102,.08);
    flex-shrink: 0;
}

.of-orc-toggle:hover {
    background: rgba(4,167,236,.08);
    border-color: rgba(4,167,236,.28);
}

.of-orc-toggle-icon {
    line-height: 1;
    font-size: .98rem;
}

@media (max-width: 767.98px) {
    .of-orc-toggle {
        width: 30px;
        height: 30px;
    }
}

.of-comparativo-card {
    border: 1px solid rgba(1,49,102,.10);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,248,.96));
}
.of-cotacao-board {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,252,.96));
}

.of-cotacao-item-board {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(1,49,102,.08);
    background: rgba(255,255,255,.72);
}

.of-cotacao-board-scroll {
    overflow-x: auto;
    padding-bottom: 6px;
}

.of-cotacao-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    min-width: min(100%, 720px);
}

.of-cotacao-vendor-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(1,49,102,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,250,.96));
    box-shadow: 0 10px 26px rgba(1,49,102,.06);
}

.of-cotacao-vendor-card.is-best {
    border-color: rgba(16,185,129,.35);
    background: linear-gradient(180deg, rgba(236,253,245,.98), rgba(240,253,250,.95));
}

.of-cotacao-vendor-card.is-selected {
    box-shadow: 0 12px 28px rgba(4,167,236,.12);
}

.of-cotacao-price {
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--of-primary);
}

@media (max-width: 767.98px) {
    .of-cotacao-item-board {
        padding: 14px;
        border-radius: 18px;
    }

    .of-cotacao-board-grid {
        display: flex;
        gap: 12px;
        min-width: max-content;
    }

    .of-cotacao-vendor-card {
        width: 240px;
        flex: 0 0 auto;
        padding: 14px;
    }
}

.of-searchable-select {
    display: grid;
    gap: .4rem;
}

.of-searchable-select-input {
    border-radius: .85rem;
}

.of-searchable-select .form-select.is-disabled,
.of-searchable-select .form-select:disabled {
    background: #f4f6f8;
    opacity: 1;
}

.of-switch-check-boxed {
    border: 1px solid rgba(18, 62, 102, 0.14);
    border-radius: 1rem;
    padding: 1rem 1rem 1rem 2.5rem;
    background: #fff;
}

.of-section-collapse {
    border: 0;
}

.of-section-collapse-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.of-section-collapse-summary::-webkit-details-marker {
    display: none;
}

.of-grid-wrap,
.of-listing-shell-compras {
    overflow-x: auto;
    overflow-y: hidden;
}

.of-list-card {
    overflow: hidden;
}

.of-grid-table {
    width: 100%;
}

.of-grid-table td,
.of-grid-table th {
    vertical-align: top;
}

@media (max-width: 991.98px) {
    .of-grid-table {
        min-width: 860px;
    }
}
.of-section-collapse-inner {
    border-top: 1px dashed rgba(18, 62, 102, 0.12);
    margin-top: .25rem;
    padding-top: .75rem;
}

.of-section-collapse-summary-compact {
    margin-bottom: 0;
    padding: .25rem 0;
}

.of-grid-wrap-purchase-items {
    overflow-x: auto;
    overflow-y: hidden;
}

.of-grid-wrap-purchase-items .table {
    min-width: 980px;
}

/* =========================
   LAYOUT PREMIUM 2026
   ========================= */

:root {
    --of-shell-bg:
        radial-gradient(circle at top left, rgba(4,167,236,.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(1,49,102,.10), transparent 32%),
        linear-gradient(180deg, #f3f8fb 0%, #eef4f8 55%, #f9fbfc 100%);
    --of-sidebar-glow: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
    --of-surface-soft: rgba(255,255,255,.82);
    --of-shadow-strong: 0 22px 60px rgba(12, 38, 66, .12);
}

html,
body {
    background: var(--of-shell-bg);
}

body {
    color: var(--of-text);
}

.of-app {
    gap: 20px;
    padding: 18px;
    align-items: flex-start;
}

.of-sidebar {
    width: 316px;
    background:
        radial-gradient(circle at top left, rgba(4,167,236,.22), transparent 32%),
        linear-gradient(180deg, #0b3a71 0%, #062c57 52%, #041f40 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(4, 24, 49, .34);
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    overflow: hidden;
}

.of-sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.of-sidebar-brand-shell {
    padding: 18px 18px 16px;
    background: var(--of-sidebar-glow);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.of-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

.of-sidebar-brand:hover {
    color: #fff;
}

.of-sidebar-brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.of-sidebar-brand-mark img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.of-sidebar-brand-kicker {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(214, 233, 255, .72);
    font-weight: 700;
    margin-bottom: 4px;
}

.of-sidebar-brand-title {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.of-sidebar-brand-subtitle {
    margin-top: 4px;
    font-size: .84rem;
    line-height: 1.45;
    color: rgba(214, 233, 255, .74);
    max-width: 210px;
}

.of-sidebar-spotlight {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.of-sidebar-spotlight-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9fd5ff;
    margin-bottom: 6px;
}

.of-sidebar-spotlight-text {
    color: rgba(255,255,255,.84);
    font-size: .88rem;
    line-height: 1.55;
}

.of-nav {
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.of-nav-home {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.of-nav-home:hover,
.of-nav-home.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(4,167,236,.28), rgba(4,167,236,.16));
    border-color: rgba(121, 214, 255, .26);
}

.of-nav-home-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.of-nav-home strong,
.of-nav-group-copy strong {
    display: block;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.2;
}

.of-nav-home small,
.of-nav-group-copy small {
    display: block;
    margin-top: 3px;
    color: rgba(220, 237, 255, .72);
    font-size: .76rem;
    line-height: 1.4;
}

.of-nav-group {
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
}

.of-nav-group summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    cursor: pointer;
}

.of-nav-group summary::-webkit-details-marker {
    display: none;
}

.of-nav-group-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.of-nav-group-copy {
    min-width: 0;
    flex: 1;
    color: #fff;
}

.of-nav-group-count {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    color: #dff2ff;
    font-size: .74rem;
    font-weight: 800;
}

.of-nav-group-items {
    padding: 0 10px 12px 10px;
    display: grid;
    gap: 6px;
}

.of-nav-group-items a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: .18s ease;
}

.of-nav-group-items a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    transform: translateX(2px);
}

.of-nav-group-items a.active {
    background: linear-gradient(180deg, rgba(4,167,236,.26), rgba(4,167,236,.16));
    border: 1px solid rgba(121, 214, 255, .22);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.of-nav-group-items a i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    color: #9edaff;
}

.of-main {
    min-width: 0;
}

.of-topbar {
    position: sticky;
    top: 18px;
    z-index: 20;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.of-topbar .inner {
    padding: 0;
    gap: 16px;
    align-items: stretch;
}

.of-topbar .left {
    flex: 1;
    min-width: 0;
    gap: 14px;
}

.of-page-heading {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    border-radius: 26px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(1,49,102,.10);
    box-shadow: var(--of-shadow-strong);
    backdrop-filter: blur(14px);
}

.of-page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(4,167,236,.10);
    color: var(--of-primary);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.of-page-title {
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -.03em;
    color: #183550;
}

.of-page-subtitle {
    margin-top: 6px;
    color: #61778a;
    line-height: 1.6;
    max-width: 780px;
}

.of-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.of-topbar-highlight {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(1,49,102,.10);
    box-shadow: var(--of-shadow-strong);
    color: #294b67;
    font-weight: 700;
    white-space: nowrap;
}

.of-topbar-highlight i {
    color: #0d6efd;
}

.of-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(1,49,102,.10);
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(1,49,102,.10);
    backdrop-filter: blur(14px);
}

.of-btn-icon:hover {
    border-color: rgba(4,167,236,.34);
    transform: translateY(-1px);
}

.of-btn-icon-accent {
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(240,247,252,.85));
}

.of-content {
    padding: 18px 0 0;
}

.of-card {
    border: 1px solid rgba(1,49,102,.09);
    border-radius: 28px;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 60px rgba(12, 38, 66, .10);
}

.of-card-body {
    padding: 22px;
}

.of-user-menu-btn {
    min-height: 48px;
    padding: 7px 12px;
    border-radius: 18px;
    border: 1px solid rgba(1,49,102,.10);
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 28px rgba(1,49,102,.10);
    backdrop-filter: blur(14px);
}

.of-user-menu-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(1,49,102,.08);
}

.of-user-dropdown {
    border: 1px solid rgba(1,49,102,.10);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(12,38,66,.16);
}

.of-mobile-offcanvas .offcanvas-header {
    padding: 18px 18px;
}

.of-mobile-menu-subtitle {
    margin-top: 4px;
    font-size: .84rem;
    color: #6c8294;
}

.of-mobile-menu-body {
    background:
        radial-gradient(circle at top left, rgba(4,167,236,.20), transparent 30%),
        linear-gradient(180deg, #0b3a71 0%, #062c57 52%, #041f40 100%);
}

.of-mobile-menu-body .of-nav {
    padding: 14px;
}

@media (max-width: 991.98px) {
    .of-app {
        display: block;
        padding: 12px;
    }

    .of-topbar {
        top: 12px;
    }

    .of-topbar .inner {
        flex-direction: column;
        align-items: stretch;
    }

    .of-topbar .left {
        align-items: flex-start;
    }

    .of-page-heading {
        width: 100%;
        padding: 16px 16px;
        border-radius: 22px;
    }

    .of-topbar-actions {
        justify-content: space-between;
    }

    .of-content {
        padding-top: 14px;
    }

    .of-card {
        border-radius: 22px;
    }
}

@media (max-width: 575.98px) {
    .of-app {
        padding: 10px;
    }

    .of-page-kicker {
        font-size: .68rem;
        min-height: 28px;
        padding: 0 10px;
    }

    .of-page-title {
        font-size: 1.2rem;
    }

    .of-page-subtitle {
        font-size: .9rem;
    }

    .of-topbar-actions {
        gap: 8px;
    }

    .of-btn-icon,
    .of-user-menu-btn {
        width: 44px;
        height: 44px;
        min-height: 44px;
        border-radius: 14px;
    }

    .of-card-body {
        padding: 16px;
    }

    .of-mobile-offcanvas,
    #ofMobileMenu {
        width: min(360px, 92vw);
    }
}

/* =========================
   LAYOUT PREMIUM 2026 - ROUND 2
   ========================= */

.of-sidebar-footer {
    margin-top: auto;
    padding: 14px 14px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.of-sidebar-footer-card {
    padding: 16px 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.of-sidebar-footer-label {
    color: #98d5ff;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
}

.of-sidebar-footer-title {
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
}

.of-sidebar-footer-text {
    margin-top: 8px;
    color: rgba(220,237,255,.72);
    font-size: .84rem;
    line-height: 1.6;
}

.of-nav-home {
    position: relative;
}

.of-nav-home-badge {
    margin-left: auto;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    color: #e0f5ff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.of-nav-group {
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.of-nav-group[open] {
    background: rgba(255,255,255,.08);
    border-color: rgba(121,214,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.of-nav-group summary {
    position: relative;
}

.of-nav-group summary:hover {
    background: rgba(255,255,255,.04);
}

.of-nav-group-chevron {
    width: 30px;
    height: 30px;
    margin-left: 2px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cfe8ff;
    background: rgba(255,255,255,.08);
    transition: transform .18s ease, background .18s ease;
}

.of-nav-group[open] .of-nav-group-chevron {
    transform: rotate(180deg);
    background: rgba(4,167,236,.18);
}

.of-nav-group-items a {
    position: relative;
    overflow: hidden;
}

.of-nav-group-items a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #6fe1ff 0%, #22c1ff 100%);
}

.of-topbar-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.of-topbar-quicklinks a {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(1,49,102,.05);
    border: 1px solid rgba(1,49,102,.07);
    color: #234867;
    font-size: .84rem;
    font-weight: 700;
    transition: .18s ease;
}

.of-topbar-quicklinks a:hover {
    color: var(--of-primary);
    border-color: rgba(4,167,236,.26);
    background: rgba(4,167,236,.08);
}

.of-topbar-shortcut {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(1,49,102,.10);
    box-shadow: 0 12px 28px rgba(1,49,102,.10);
    color: #1d425f;
    font-weight: 700;
}

.of-topbar-shortcut:hover {
    color: var(--of-primary);
    border-color: rgba(4,167,236,.28);
}

.of-topbar-shortcut i {
    color: #0d6efd;
}

.of-card {
    position: relative;
}

.of-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0));
}

.of-card-body {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .of-topbar-quicklinks {
        display: none;
    }

    .of-sidebar-footer {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .of-nav-home-badge,
    .of-nav-group-count,
    .of-nav-group-chevron {
        display: none;
    }

    .of-nav-group summary {
        padding: 12px 12px;
    }

    .of-nav-home {
        padding: 12px 12px;
    }
}

/* =========================
   FIXES DE USABILIDADE
   ========================= */

.of-sidebar {
    overflow: hidden;
}

.of-sidebar-inner {
    min-height: 100%;
}

.of-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.of-nav-group {
    overflow: visible;
}

.of-nav-group-items {
    padding-bottom: 14px;
}

.of-nav-group-items a {
    min-height: 44px;
}

.of-topbar {
    position: static;
    top: auto;
}

.of-topbar .inner {
    align-items: flex-start;
    flex-wrap: wrap;
}

.of-page-heading {
    width: 100%;
    max-width: 920px;
}

.of-topbar-actions {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.of-topbar-highlight {
    min-height: 48px;
}

.of-content {
    padding-top: 16px;
}

@media (max-width: 1399.98px) {
    .of-topbar .inner {
        flex-direction: column;
        align-items: stretch;
    }

    .of-topbar-actions {
        margin-left: 0;
        justify-content: flex-end;
    }

    .of-page-heading {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .of-topbar .inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .of-page-heading {
        padding: 16px;
        border-radius: 22px;
    }

    .of-topbar-actions {
        position: static;
        margin-left: 0;
        justify-content: flex-end;
        align-self: flex-start;
    }

    .of-topbar-highlight {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .of-topbar .inner {
        gap: 10px;
    }

    .of-page-heading {
        padding: 14px 14px;
    }

    .of-page-title {
        font-size: 1.12rem;
    }

    .of-page-subtitle {
        font-size: .92rem;
        line-height: 1.55;
    }

    .of-topbar-actions {
        width: auto;
    }
}
/* =========================
   REFINO VISUAL
   ========================= */

.of-sidebar {
    width: 296px;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
}

.of-sidebar-inner {
    gap: 10px;
}

.of-sidebar-brand-shell {
    padding: 16px 16px 14px;
}

.of-sidebar-brand {
    gap: 12px;
}

.of-sidebar-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
}

.of-sidebar-brand-mark img {
    width: 40px;
    height: 40px;
}

.of-sidebar-brand-title {
    font-size: 1.26rem;
}

.of-sidebar-brand-subtitle {
    font-size: .8rem;
    line-height: 1.38;
}

.of-sidebar-spotlight {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 22px;
}

.of-sidebar-spotlight-text {
    font-size: .8rem;
    line-height: 1.55;
}

.of-nav {
    padding: 10px 12px 14px 12px;
    gap: 10px;
}

.of-nav-home,
.of-nav-group {
    border-radius: 20px;
}

.of-nav-home,
.of-nav-group summary {
    padding: 12px 12px;
}

.of-nav-home-icon,
.of-nav-group-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.of-nav-home strong,
.of-nav-group-copy strong {
    font-size: .92rem;
}

.of-nav-home small,
.of-nav-group-copy small {
    font-size: .74rem;
    line-height: 1.32;
}

.of-nav-group-items {
    padding: 4px 10px 12px;
}

.of-nav-group-items a {
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 14px;
    font-size: .93rem;
}

.of-nav-group-count {
    min-width: 34px;
    height: 34px;
}

.of-sidebar-footer {
    padding: 10px 12px 14px;
}

.of-sidebar-footer-card {
    padding: 14px 14px;
    border-radius: 20px;
}

.of-sidebar-footer-title {
    font-size: .94rem;
}

.of-sidebar-footer-text {
    font-size: .8rem;
    line-height: 1.5;
}

.of-topbar {
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.82));
    border-bottom: 1px solid rgba(1,49,102,.08);
}

.of-topbar .inner {
    padding: 14px 18px 10px;
    gap: 14px;
}

.of-topbar .left {
    min-width: 0;
    flex: 1 1 auto;
}

.of-page-heading {
    padding: 14px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.64));
    border-color: rgba(1,49,102,.08);
    box-shadow: 0 12px 28px rgba(1,49,102,.08);
}

.of-page-kicker {
    margin-bottom: 10px;
    font-size: .78rem;
}

.of-page-title {
    font-size: clamp(1.8rem, 2.2vw, 2.35rem);
    line-height: 1.05;
}

.of-page-subtitle {
    margin-top: 10px;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.55;
}

.of-topbar-actions {
    gap: 10px;
    align-items: center;
}

.of-topbar-highlight {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: .95rem;
    box-shadow: 0 10px 22px rgba(1,49,102,.08);
}

.of-user-menu-btn {
    min-height: 44px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(1,49,102,.08);
}

.of-content {
    padding: 14px 18px 18px;
}

.of-card {
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(1,49,102,.08);
}

.of-card-body {
    padding: 18px;
}

@media (max-width: 1599.98px) {
    .of-topbar-highlight {
        font-size: .9rem;
    }
}

@media (max-height: 900px) {
    .of-sidebar-footer {
        display: none;
    }
}

@media (max-width: 1399.98px) {
    .of-topbar .inner {
        padding-bottom: 8px;
    }

    .of-page-heading {
        padding: 14px 16px;
    }

    .of-page-subtitle {
        max-width: none;
        font-size: .96rem;
    }
}

@media (max-width: 1199.98px) {
    .of-sidebar {
        width: 286px;
    }

    .of-sidebar-brand-subtitle,
    .of-sidebar-spotlight-text,
    .of-sidebar-footer-text {
        font-size: .78rem;
    }
}

@media (max-width: 991.98px) {
    .of-topbar .inner {
        padding: 10px 14px;
    }

    .of-page-heading {
        padding: 14px 16px;
        border-radius: 20px;
        box-shadow: 0 10px 24px rgba(1,49,102,.08);
    }

    .of-page-title {
        font-size: 1.85rem;
    }

    .of-page-subtitle {
        margin-top: 8px;
        font-size: .95rem;
    }

    .of-content {
        padding: 12px;
    }
}

@media (max-width: 575.98px) {
    .of-topbar .inner {
        padding: 10px 12px;
    }

    .of-page-heading {
        padding: 12px 14px;
        border-radius: 18px;
    }

    .of-page-kicker {
        margin-bottom: 8px;
        font-size: .74rem;
    }

    .of-page-title {
        font-size: 1.08rem;
    }

    .of-page-subtitle {
        margin-top: 6px;
        font-size: .9rem;
        line-height: 1.5;
    }
}

.of-origin-badge,
.of-status-badge,
.of-origin-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.of-origin-chip {
    min-height: 30px;
    padding-inline: 12px;
}

.of-origin-badge-compra,
.of-origin-chip-compra {
    color: #0f4c5c;
    background: rgba(4, 167, 236, .12);
    border-color: rgba(4, 167, 236, .22);
}

.of-origin-badge-despesa,
.of-origin-chip-despesa {
    color: #0c4a6e;
    background: rgba(1, 49, 102, .10);
    border-color: rgba(1, 49, 102, .18);
}

.of-origin-badge-manual,
.of-origin-chip-manual {
    color: #475569;
    background: rgba(148, 163, 184, .16);
    border-color: rgba(100, 116, 139, .18);
}

.of-status-badge-aberta {
    color: #1d4ed8;
    background: rgba(59, 130, 246, .12);
    border-color: rgba(59, 130, 246, .20);
}

.of-status-badge-parcial {
    color: #9a3412;
    background: rgba(251, 146, 60, .15);
    border-color: rgba(251, 146, 60, .25);
}

.of-status-badge-paga {
    color: #166534;
    background: rgba(34, 197, 94, .14);
    border-color: rgba(34, 197, 94, .22);
}

.of-status-badge-vencida {
    color: #b91c1c;
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .20);
}

.of-status-badge-cancelada {
    color: #6b7280;
    background: rgba(107, 114, 128, .12);
    border-color: rgba(107, 114, 128, .20);
}

/* =========================
   LIMPEZA VISUAL DO LAYOUT
   ========================= */

.of-sidebar {
    overflow: hidden;
}

.of-sidebar::-webkit-scrollbar,
.of-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.of-sidebar,
.of-nav {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.of-sidebar-inner {
    gap: 0;
}

.of-sidebar-brand-shell {
    padding: 18px 16px 12px;
    background: transparent;
    border-bottom: 0;
}

.of-sidebar-brand-subtitle {
    max-width: none;
}

.of-sidebar-spotlight,
.of-sidebar-footer,
.of-topbar-highlight,
.of-page-kicker,
.of-page-subtitle {
    display: none !important;
}

.of-topbar {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.of-topbar .inner {
    padding: 14px 18px 4px;
    align-items: center;
}

.of-page-heading {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
}

.of-page-title {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    letter-spacing: -.04em;
}

.of-topbar-actions {
    margin-left: auto;
}

.of-content {
    padding-top: 4px;
}

.of-card {
    border-radius: 18px;
}

.of-card-body {
    padding-top: 14px;
}

@media (max-width: 991.98px) {
    .of-topbar .inner {
        padding: 10px 14px 2px;
        align-items: flex-start;
    }

    .of-page-title {
        font-size: 1.3rem;
    }

    .of-content {
        padding-top: 2px;
    }
}

@media (max-width: 575.98px) {
    .of-topbar .inner {
        padding: 10px 12px 2px;
    }

    .of-page-title {
        font-size: 1.12rem;
        line-height: 1.15;
    }

    .of-card-body {
        padding-top: 12px;
    }
}
