:root {
    --app-shell-bg: #f4f7fb;
    --app-surface: rgba(255, 255, 255, 0.92);
    --app-surface-strong: #ffffff;
    --app-border: rgba(15, 23, 42, 0.08);
    --app-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --app-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
    --app-text: #0f172a;
    --app-text-soft: #64748b;
    --app-primary: #1d4ed8;
    --app-primary-soft: rgba(29, 78, 216, 0.1);
    --app-success: #16a34a;
    --app-warning: #f59e0b;
    --app-radius-lg: 22px;
    --app-radius-md: 16px;
    --app-radius-sm: 12px;
}

.title:not(.is-spaced)+.subtitle {
    margin-top: 0;
}
body:not(.auth-page) {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 24%),
        var(--app-shell-bg);
    color: var(--app-text);
}

body:not(.auth-page) .sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 16px 0 40px rgba(15, 23, 42, 0.18);
}

body:not(.auth-page) .sidebar-header {
    padding: 1.4rem 1.25rem 1.1rem;
}

body:not(.auth-page) .sidebar-logo img {
    filter: drop-shadow(0 8px 22px rgba(255, 255, 255, 0.15));
}

body:not(.auth-page) .sidebar-menu {
    padding: 1rem 0.85rem 1.25rem;
}

body:not(.auth-page) .menu-section + .menu-section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body:not(.auth-page) .menu-section-title {
    padding: 0 0.75rem 0.45rem;
    color: rgba(226, 232, 240, 0.62);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .menu-section .menu-item,
body:not(.auth-page) .menu-section .menu-group {
    margin-bottom: 0.22rem;
}

body:not(.auth-page) .menu-item {
    margin-bottom: 0.22rem;
    border-radius: 14px;
    border-left: 0;
    padding: 0.85rem 1rem;
}

body:not(.auth-page) .menu-item:hover,
body:not(.auth-page) .menu-item.active,
body:not(.auth-page) .menu-group.is-open > .menu-item {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-left: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body:not(.auth-page) .menu-item i {
    width: 1.1rem;
}

body:not(.auth-page) .submenu {
    padding-left: 0.65rem;
    margin: 0.2rem 0 0.55rem;
}

body:not(.auth-page) .submenu .menu-item {
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.95rem;
}

body:not(.auth-page) .sidebar.collapsed .menu-item {
    border-radius: 16px;
}

body:not(.auth-page) .sidebar.collapsed .menu-section-title {
    display: none;
}

body:not(.auth-page) .top-nav {
    left: auto;
    right: 1.25rem;
    top: 1.1rem;
    width: calc(100% - var(--sidebar-width) - 2.5rem);
    height: 76px;
    padding: 0 1.1rem 0 1.35rem;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    box-shadow: var(--app-shadow-soft);
}

body.ready:not(.auth-page) .sidebar.collapsed + .main-wrapper .top-nav {
    width: calc(100% - var(--sidebar-collapsed-width) - 2.5rem);
}

body:not(.auth-page) .top-nav-left {
    padding-left: 0;
    gap: 1rem;
}

body:not(.auth-page) .top-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

body:not(.auth-page) .app-topbar-search {
    position: relative;
    width: min(520px, 100%);
}

body:not(.auth-page) .app-topbar-search .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--app-text-soft);
    pointer-events: none;
}

body:not(.auth-page) .app-topbar-search input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    padding: 0 1rem 0 2.8rem;
    color: var(--app-text);
    font-size: 0.95rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

body:not(.auth-page) .app-topbar-search input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body:not(.auth-page) .app-topbar-search-results {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    width: min(560px, 100vw - 2rem);
    max-height: 64vh;
    overflow: auto;
    padding: 0.75rem;
    z-index: 10050;
}

body:not(.auth-page) .global-search-loading,
body:not(.auth-page) .global-search-empty,
body:not(.auth-page) .global-search-error {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: var(--app-text);
}

body:not(.auth-page) .global-search-error {
    background: rgba(254, 242, 242, 0.92);
    border-color: rgba(239, 68, 68, 0.18);
}

body:not(.auth-page) .global-search-group + .global-search-group {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

body:not(.auth-page) .global-search-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--app-text-soft);
    padding: 0 0.25rem 0.35rem;
}

body:not(.auth-page) .global-search-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    text-align: left;
    color: var(--app-text);
}

body:not(.auth-page) .global-search-item:hover,
body:not(.auth-page) .global-search-item.is-active {
    background: rgba(239, 246, 255, 0.92);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body:not(.auth-page) .global-search-more {
    background: rgba(248, 250, 252, 0.92);
    border-style: dashed;
}

body:not(.auth-page) .global-search-more:hover,
body:not(.auth-page) .global-search-more.is-active {
    background: rgba(239, 246, 255, 0.92);
    border-style: solid;
}

body:not(.auth-page) .global-search-item .icon {
    color: var(--app-text-soft);
}

body:not(.auth-page) .global-search-item.is-active .icon,
body:not(.auth-page) .global-search-item:hover .icon {
    color: var(--app-primary);
}

body:not(.auth-page) .global-search-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

body:not(.auth-page) .global-search-title {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body:not(.auth-page) .global-search-subtitle {
    font-size: 0.85rem;
    color: var(--app-text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body:not(.auth-page) .app-topbar-search-results mark {
    padding: 0 0.12rem;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.14);
    color: inherit;
}

body:not(.auth-page) .global-search-arrow {
    opacity: 0.65;
}

body:not(.auth-page) .global-search-item:hover .global-search-arrow,
body:not(.auth-page) .global-search-item.is-active .global-search-arrow {
    opacity: 1;
}

body:not(.auth-page) .global-search-modal-card {
    width: min(720px, calc(100vw - 2rem));
}

body:not(.auth-page) .app-topbar-search--modal {
    width: 100%;
}

body:not(.auth-page) .search-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .search-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(14, 116, 144, 0.88)),
        #2563eb;
}

body:not(.auth-page) .search-hero .title,
body:not(.auth-page) .search-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .search-hero-actions {
    width: min(560px, 100%);
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .search-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .search-hero-actions {
        width: 100%;
    }
}

body:not(.auth-page) .top-nav-right {
    gap: 0.9rem;
}

body:not(.auth-page) #lang-trigger,
body:not(.auth-page) #profile-trigger {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: none;
}

body:not(.auth-page) #notif-trigger {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(248, 250, 252, 0.9);
    box-shadow: none;
}

body:not(.auth-page) #header-user-link {
    color: var(--app-text) !important;
    font-weight: 600;
}

body:not(.auth-page) #profile-trigger {
    padding: 0.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

body:not(.auth-page) #header-user-image {
    border: 2px solid rgba(59, 130, 246, 0.15) !important;
}

body:not(.auth-page) .dropdown-panel, .dropdown-search {
    border: 1px solid var(--app-border);
    border-radius: 18px;
    box-shadow: var(--app-shadow);
    background: rgba(255, 255, 255, 0.98);
}

body:not(.auth-page) .main-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

body:not(.auth-page) .content-area {
    padding: 7.4rem 1.4rem 2rem;
}

body:not(.auth-page) .content-area > .container.is-fluid {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    box-shadow: var(--app-shadow-soft);
    padding: 1.5rem;
}

body:not(.auth-page) .content-area .box {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

body:not(.auth-page) .content-area .title {
    color: var(--app-text);
    letter-spacing: -0.02em;
}

body:not(.auth-page) .content-area .subtitle,
body:not(.auth-page) .content-area .has-text-grey,
body:not(.auth-page) .content-area .has-text-grey-light {
    color: var(--app-text-soft) !important;
}

body:not(.auth-page) .content-area .card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

body:not(.auth-page) .content-area .card-header,
body:not(.auth-page) .content-area .modal-card-head {
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

body:not(.auth-page) .content-area .card-header-title,
body:not(.auth-page) .content-area .modal-card-title {
    color: var(--app-text);
    font-weight: 700;
}

body:not(.auth-page) .input,
body:not(.auth-page) .textarea,
body:not(.auth-page) .select select {
    border-color: rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    color: var(--app-text);
}

body:not(.auth-page) .input:focus,
body:not(.auth-page) .textarea:focus,
body:not(.auth-page) .select select:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body:not(.auth-page) .label {
    color: var(--app-text);
    font-weight: 600;
}

body:not(.auth-page) .help {
    color: var(--app-text-soft);
}

body:not(.auth-page) .notification {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
}

body:not(.auth-page) .file.has-name .file-cta,
body:not(.auth-page) .file.has-name .file-name {
    border-color: rgba(148, 163, 184, 0.22);
}

body:not(.auth-page) .file.has-name .file-cta {
    background: rgba(248, 250, 252, 0.95);
}

body:not(.auth-page) .table {
    background: transparent;
}

body:not(.auth-page) .table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .table tbody td {
    border-color: rgba(148, 163, 184, 0.12);
    vertical-align: middle;
}

body:not(.auth-page) .table.is-hoverable tbody tr:not(.is-selected):hover {
    background: rgba(239, 246, 255, 0.72);
}

body:not(.auth-page) .modal-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

body:not(.auth-page) .modal-card-body,
body:not(.auth-page) .modal-card-foot {
    background: rgba(255, 255, 255, 0.98);
}

body:not(.auth-page) .pagination-link,
body:not(.auth-page) .pagination-previous,
body:not(.auth-page) .pagination-next {
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.2);
}

body:not(.auth-page) .pagination-link.is-current {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

body:not(.auth-page) .tabs a {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body:not(.auth-page) .breadcrumb a {
    color: var(--app-text-soft);
}

body:not(.auth-page) .breadcrumb li.is-active a {
    color: var(--app-text);
}

body:not(.auth-page) [id$="-list"] .has-text-centered.py-6,
body:not(.auth-page) .has-text-centered.py-6 {
    border-radius: 18px;
}

body:not(.auth-page) .button.is-light,
body:not(.auth-page) .button.is-white {
    border-radius: 999px;
}

body:not(.auth-page) .button.is-link,
body:not(.auth-page) .button.is-primary,
body:not(.auth-page) .button.is-success {
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

body:not(.auth-page) .tag {
    border-radius: 999px;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

body:not(.auth-page) .footer {
    background: transparent;
    padding-top: 1.5rem;
}

body:not(.auth-page) .dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(29, 78, 216, 0.95), rgba(14, 165, 233, 0.82)),
        #1d4ed8;
    color: #fff;
    overflow: hidden;
}

body:not(.auth-page) .dashboard-hero .title,
body:not(.auth-page) .dashboard-hero .subtitle,
body:not(.auth-page) .dashboard-hero .has-text-grey,
body:not(.auth-page) .dashboard-hero .has-text-grey-light {
    color: #fff !important;
}

body:not(.auth-page) .dashboard-hero-copy {
    max-width: 620px;
}

body:not(.auth-page) .dashboard-eyebrow,
body:not(.auth-page) .dashboard-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

body:not(.auth-page) .dashboard-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .dashboard-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body:not(.auth-page) .dashboard-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .dashboard-hero-actions .button.is-link {
    background: #fff;
    color: var(--app-primary);
    border: 0;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

body:not(.auth-page) .dashboard-kpis {
    margin-bottom: 0 !important;
}

body:not(.auth-page) .dashboard-kpi-card,
body:not(.auth-page) .dashboard-stat-card {
    position: relative;
    height: 100%;
    padding: 1.25rem;
    overflow: hidden;
}

body:not(.auth-page) .dashboard-kpi-card .heading,
body:not(.auth-page) .dashboard-stat-card .heading {
    color: var(--app-text-soft);
    margin-bottom: 0.7rem;
}

body:not(.auth-page) .dashboard-kpi-card .title,
body:not(.auth-page) .dashboard-stat-card .title {
    margin-bottom: 0.5rem;
}

body:not(.auth-page) .dashboard-kpi-card .is-size-7 {
    margin-bottom: 0;
    min-height: 1.3rem;
    font-weight: 600;
}

body:not(.auth-page) .dashboard-kpi-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

body:not(.auth-page) .dashboard-kpi-card-contracts {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .dashboard-kpi-card-quotations {
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .dashboard-kpi-card-suppliers {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .dashboard-kpi-card-measurements {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .dashboard-kpi-card-volume {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(29, 78, 216, 0.95));
    color: #fff;
}

body:not(.auth-page) .dashboard-kpi-card-volume .heading,
body:not(.auth-page) .dashboard-kpi-card-volume .title,
body:not(.auth-page) .dashboard-kpi-card-volume .is-size-7 {
    color: #fff !important;
}

body:not(.auth-page) .dashboard-kpi-card-volume .dashboard-kpi-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

body:not(.auth-page) .dashboard-stat-card-users {
    background: rgba(59, 130, 246, 0.1);
}

body:not(.auth-page) .dashboard-stat-card-quotations {
    background: rgba(14, 165, 233, 0.1);
}

body:not(.auth-page) .dashboard-stat-card-companies {
    background: rgba(245, 158, 11, 0.12);
}

body:not(.auth-page) .dashboard-stat-card-proposals {
    background: rgba(34, 197, 94, 0.1);
}

body:not(.auth-page) .dashboard-actions-grid {
    margin-top: -0.25rem;
}

body:not(.auth-page) .dashboard-actions-grid .box {
    background: rgba(255, 255, 255, 0.88);
}

body:not(.auth-page) .dashboard-panel {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .dashboard-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

body:not(.auth-page) .dashboard-panel-header-stack {
    align-items: center;
}

body:not(.auth-page) .dashboard-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .dashboard-chart-wrap {
    min-height: 240px;
}

body:not(.auth-page) .dashboard-recent-list .media {
    margin-bottom: 0 !important;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .dashboard-recent-list .media:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

body:not(.auth-page) .dashboard-recent-list .media:first-child {
    padding-top: 0.2rem;
}

body:not(.auth-page) .dashboard-pending-list > * + *,
body:not(.auth-page) .dashboard-activity-table > * + * {
    margin-top: 0.75rem;
}

body:not(.auth-page) .dashboard-activity-table .table,
body:not(.auth-page) .dashboard-panel .table {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

body:not(.auth-page) .dashboard-activity-table .table thead th,
body:not(.auth-page) .dashboard-panel .table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.18);
}

body:not(.auth-page) .dashboard-toolbar {
    margin-bottom: 0 !important;
    justify-content: flex-end;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .dashboard-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    body:not(.auth-page) .top-nav {
        right: 0.85rem;
        left: 0.85rem;
        width: auto;
        padding: 0 0.85rem;
        height: 68px;
    }

    body:not(.auth-page) .top-nav-center {
        display: none;
    }

    body:not(.auth-page) .content-area {
        padding: 6rem 0.85rem 1rem;
    }

    body:not(.auth-page) .content-area > .container.is-fluid {
        border-radius: 22px;
        padding: 1rem;
    }

    body:not(.auth-page) .dashboard-toolbar {
        justify-content: flex-start;
    }

    body:not(.auth-page) .dashboard-panel-header,
    body:not(.auth-page) .dashboard-panel-header-stack {
        flex-direction: column;
        align-items: flex-start;
    }
}

body:not(.auth-page) .homologation-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .homologation-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.9)),
        #0f172a;
    color: #fff;
}

body:not(.auth-page) .homologation-hero .title,
body:not(.auth-page) .homologation-hero .subtitle,
body:not(.auth-page) .homologation-hero .has-text-grey,
body:not(.auth-page) .homologation-hero .has-text-grey-light {
    color: #fff !important;
}

body:not(.auth-page) .homologation-eyebrow,
body:not(.auth-page) .homologation-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .homologation-eyebrow {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .homologation-hero-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

body:not(.auth-page) .homologation-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

body:not(.auth-page) .homologation-hero-actions .button.is-link {
    background: #fff;
    color: var(--app-primary);
    border: 0;
}

body:not(.auth-page) .homologation-kpis {
    margin-bottom: 0 !important;
}

body:not(.auth-page) .homologation-kpi-card {
    height: 100%;
    padding: 1.2rem;
}

body:not(.auth-page) .homologation-kpi-card .heading {
    color: var(--app-text-soft);
    margin-bottom: 0.7rem;
}

body:not(.auth-page) .homologation-kpi-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.76);
}

body:not(.auth-page) .homologation-kpi-approved {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .homologation-kpi-analysis {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .homologation-kpi-rejected {
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .homologation-kpi-pending {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(255, 255, 255, 0.96));
}

body:not(.auth-page) .homologation-kpi-responses {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(29, 78, 216, 0.95));
    color: #fff;
}

body:not(.auth-page) .homologation-kpi-responses .heading,
body:not(.auth-page) .homologation-kpi-responses .title {
    color: #fff !important;
}

body:not(.auth-page) .homologation-kpi-responses .homologation-kpi-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body:not(.auth-page) .homologation-panel {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .homologation-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

body:not(.auth-page) .homologation-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .homologation-table-wrap {
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.14);
    overflow: hidden;
}

body:not(.auth-page) .homologation-table {
    background: transparent;
}

body:not(.auth-page) .homologation-table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .homologation-upload-card,
body:not(.auth-page) .homologation-library-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body:not(.auth-page) .homologation-library-list {
    min-height: 140px;
}

body:not(.auth-page) .homologation-library-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

body:not(.auth-page) .homologation-divider {
    margin: 0;
    background: rgba(148, 163, 184, 0.16) !important;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .homologation-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .homologation-hero-actions {
        justify-content: flex-start;
    }
}

body:not(.auth-page) .homologation-detail-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .homologation-detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(37, 99, 235, 0.9)),
        #0f172a;
    color: #fff;
}

body:not(.auth-page) .homologation-detail-hero .title,
body:not(.auth-page) .homologation-detail-hero .subtitle,
body:not(.auth-page) .homologation-detail-hero .breadcrumb a,
body:not(.auth-page) .homologation-detail-hero .breadcrumb li.is-active a {
    color: #fff !important;
}

body:not(.auth-page) .homologation-detail-eyebrow,
body:not(.auth-page) .visit-calendar-eyebrow,
body:not(.auth-page) .visit-calendar-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .homologation-detail-eyebrow,
body:not(.auth-page) .visit-calendar-eyebrow {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .homologation-detail-hero-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

body:not(.auth-page) .homologation-detail-hero-aside .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .homologation-detail-hero-aside .button.is-link {
    background: #fff;
    color: var(--app-primary);
    border: 0;
}

body:not(.auth-page) .homologation-detail-panel {
    padding: 1.35rem;
}

body:not(.auth-page) .homologation-detail-tabs {
    margin-bottom: 1.5rem;
}

body:not(.auth-page) .homologation-detail-tabs ul {
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

body:not(.auth-page) .homologation-detail-tabs li a {
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    color: var(--app-text-soft);
}

body:not(.auth-page) .homologation-detail-tabs li.is-active a {
    background: rgba(37, 99, 235, 0.08);
    color: var(--app-primary);
    border-color: rgba(37, 99, 235, 0.16);
}

body:not(.auth-page) .homologation-detail-tab-panel {
    min-height: 180px;
}

body:not(.auth-page) .homologation-detail-stat,
body:not(.auth-page) .homologation-detail-library,
body:not(.auth-page) .homologation-detail-note-card,
body:not(.auth-page) .homologation-detail-visit-card,
body:not(.auth-page) .homologation-detail-visit-files,
body:not(.auth-page) .homologation-detail-report-card {
    height: 100%;
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body:not(.auth-page) .homologation-detail-stat .input {
    background: #fff;
    border-color: rgba(148, 163, 184, 0.2);
}

body:not(.auth-page) .homologation-detail-visit-status {
    min-height: 72px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

body:not(.auth-page) .homologation-detail-list {
    min-height: 120px;
}

body:not(.auth-page) .homologation-detail-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

body:not(.auth-page) .visit-calendar-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .visit-calendar-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(2, 132, 199, 0.95), rgba(29, 78, 216, 0.88)),
        #0284c7;
    color: #fff;
}

body:not(.auth-page) .visit-calendar-hero .title,
body:not(.auth-page) .visit-calendar-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .visit-calendar-hero-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

body:not(.auth-page) .visit-calendar-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .visit-calendar-hero-actions .button.is-link {
    background: #fff;
    color: var(--app-primary);
    border: 0;
}

body:not(.auth-page) .visit-calendar-panel,
body:not(.auth-page) .visit-calendar-side-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .visit-calendar-panel-header {
    margin-bottom: 1rem;
}

body:not(.auth-page) .visit-calendar-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .visit-calendar-panel #calendar {
    min-height: 720px;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .homologation-detail-hero,
    body:not(.auth-page) .visit-calendar-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .homologation-detail-hero-aside,
    body:not(.auth-page) .visit-calendar-hero-actions {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    body:not(.auth-page) .homologation-detail-tabs li a {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.86rem;
    }

    body:not(.auth-page) .visit-calendar-panel #calendar {
        min-height: 560px;
    }
}

body:not(.auth-page) .hom-form-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .hom-form-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.96), rgba(37, 99, 235, 0.88)),
        #4f46e5;
    color: #fff;
}

body:not(.auth-page) .hom-form-hero .title,
body:not(.auth-page) .hom-form-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .hom-form-eyebrow,
body:not(.auth-page) .hom-form-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .hom-form-eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .hom-form-hero-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

body:not(.auth-page) .hom-form-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .hom-form-hero-actions .button.is-link,
body:not(.auth-page) .hom-form-hero-actions .button.is-primary {
    background: #fff;
    color: var(--app-primary);
    border: 0;
    box-shadow: none;
}

body:not(.auth-page) .hom-form-meta-card,
body:not(.auth-page) .hom-form-palette-card,
body:not(.auth-page) .hom-form-builder-card,
body:not(.auth-page) .hom-form-view-card,
body:not(.auth-page) .hom-form-responses-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .hom-form-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body:not(.auth-page) .hom-form-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .hom-form-palette-buttons .button {
    justify-content: flex-start;
    width: 100%;
    border-radius: 14px;
}

body:not(.auth-page) .hom-form-builder-list .builder-item {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 0.9rem;
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body:not(.auth-page) .hom-form-builder-list .builder-item.drag-over {
    outline: 2px dashed rgba(37, 99, 235, 0.6);
    background: rgba(239, 246, 255, 0.96);
}

body:not(.auth-page) .hom-form-builder-list .dnd-handle {
    cursor: grab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    color: var(--app-text-soft);
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .hom-form-builder-list .dnd-handle:active {
    cursor: grabbing;
}

body:not(.auth-page) .hom-form-preview-field {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body:not(.auth-page) .hom-form-table-wrap {
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.14);
    overflow: hidden;
}

body:not(.auth-page) .hom-form-table {
    background: transparent;
}

body:not(.auth-page) .hom-form-table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .hom-form-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .hom-form-hero-actions {
        justify-content: flex-start;
    }
}

body:not(.auth-page) .quotes-shell,
body:not(.auth-page) .quote-detail-shell,
body:not(.auth-page) .quote-create-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .quotes-hero,
body:not(.auth-page) .quote-detail-hero,
body:not(.auth-page) .quote-create-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    color: #fff;
}

body:not(.auth-page) .quotes-hero {
    background:
        linear-gradient(135deg, rgba(3, 105, 161, 0.96), rgba(37, 99, 235, 0.88)),
        #0369a1;
}

body:not(.auth-page) .quote-detail-hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.9)),
        #0f172a;
}

body:not(.auth-page) .quote-create-hero {
    background:
        linear-gradient(135deg, rgba(14, 116, 144, 0.96), rgba(6, 95, 70, 0.88)),
        #0e7490;
}

body:not(.auth-page) .quotes-hero .title,
body:not(.auth-page) .quotes-hero .subtitle,
body:not(.auth-page) .quote-detail-hero .title,
body:not(.auth-page) .quote-detail-hero .subtitle,
body:not(.auth-page) .quote-detail-hero .breadcrumb a,
body:not(.auth-page) .quote-detail-hero .breadcrumb li.is-active a,
body:not(.auth-page) .quote-create-hero .title,
body:not(.auth-page) .quote-create-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .quotes-eyebrow,
body:not(.auth-page) .quotes-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .quotes-eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .quotes-hero-actions,
body:not(.auth-page) .quote-detail-hero-actions,
body:not(.auth-page) .quote-create-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

body:not(.auth-page) .quotes-hero-actions .button.is-light,
body:not(.auth-page) .quote-detail-hero-actions .button.is-light,
body:not(.auth-page) .quote-create-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .quotes-hero-actions .button.is-primary,
body:not(.auth-page) .quotes-hero-actions .button.is-link,
body:not(.auth-page) .quote-detail-hero-actions .button.is-link,
body:not(.auth-page) .quote-create-hero-actions .button.is-link {
    background: #fff;
    color: var(--app-primary);
    border: 0;
    box-shadow: none;
}

body:not(.auth-page) .quotes-filter-card,
body:not(.auth-page) .quotes-feed-card,
body:not(.auth-page) .quote-detail-content-card,
body:not(.auth-page) .quote-create-form-card,
body:not(.auth-page) .quote-create-block-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .quotes-feed-card.p-0 {
    padding: 0 !important;
}

body:not(.auth-page) .quotes-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body:not(.auth-page) .quotes-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .quotes-table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) #quotations-list .column > .card,
body:not(.auth-page) #quotations-list .column > .box {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body:not(.auth-page) .quote-detail-content-card #quotation-details-content > .box,
body:not(.auth-page) .quote-detail-content-card #quotation-details-content .box {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body:not(.auth-page) .quote-detail-content-card #quotation-details-content .table {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

body:not(.auth-page) .quote-detail-content-card #quotation-details-content .table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .quotes-hero,
    body:not(.auth-page) .quote-detail-hero,
    body:not(.auth-page) .quote-create-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .quotes-hero-actions,
    body:not(.auth-page) .quote-detail-hero-actions,
    body:not(.auth-page) .quote-create-hero-actions {
        justify-content: flex-start;
    }
}

body:not(.auth-page) .proposals-shell,
body:not(.auth-page) .proposal-submit-shell,
body:not(.auth-page) .proposal-detail-shell,
body:not(.auth-page) .contracts-shell,
body:not(.auth-page) .contract-editor-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .proposals-hero,
body:not(.auth-page) .proposal-submit-hero,
body:not(.auth-page) .proposal-detail-hero,
body:not(.auth-page) .contracts-hero,
body:not(.auth-page) .contract-editor-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    color: #fff;
}

body:not(.auth-page) .proposals-hero,
body:not(.auth-page) .proposal-submit-hero {
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.96), rgba(37, 99, 235, 0.9)),
        #7c3aed;
}

body:not(.auth-page) .proposal-detail-hero {
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(79, 70, 229, 0.9)),
        #1e293b;
}

body:not(.auth-page) .contracts-hero,
body:not(.auth-page) .contract-editor-hero {
    background:
        linear-gradient(135deg, rgba(22, 101, 52, 0.96), rgba(14, 116, 144, 0.88)),
        #166534;
}

body:not(.auth-page) .proposals-hero .title,
body:not(.auth-page) .proposals-hero .subtitle,
body:not(.auth-page) .proposal-submit-hero .title,
body:not(.auth-page) .proposal-submit-hero .subtitle,
body:not(.auth-page) .proposal-submit-hero .breadcrumb a,
body:not(.auth-page) .proposal-submit-hero .breadcrumb li.is-active a,
body:not(.auth-page) .proposal-detail-hero .title,
body:not(.auth-page) .proposal-detail-hero .subtitle,
body:not(.auth-page) .proposal-detail-hero .breadcrumb a,
body:not(.auth-page) .proposal-detail-hero .breadcrumb li.is-active a,
body:not(.auth-page) .contracts-hero .title,
body:not(.auth-page) .contracts-hero .subtitle,
body:not(.auth-page) .contract-editor-hero .title,
body:not(.auth-page) .contract-editor-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .proposals-eyebrow,
body:not(.auth-page) .proposals-panel-eyebrow,
body:not(.auth-page) .contracts-eyebrow,
body:not(.auth-page) .contracts-panel-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .proposals-eyebrow,
body:not(.auth-page) .contracts-eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .proposals-hero-actions,
body:not(.auth-page) .proposal-submit-hero-actions,
body:not(.auth-page) .proposal-detail-hero-actions,
body:not(.auth-page) .contracts-hero-actions,
body:not(.auth-page) .contract-editor-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

body:not(.auth-page) .proposals-hero-actions .button.is-light,
body:not(.auth-page) .proposal-submit-hero-actions .button.is-light,
body:not(.auth-page) .proposal-detail-hero-actions .button.is-light,
body:not(.auth-page) .contracts-hero-actions .button.is-light,
body:not(.auth-page) .contract-editor-hero-actions .button.is-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .proposals-hero-actions .button.is-primary,
body:not(.auth-page) .proposal-submit-hero-actions .button.is-primary,
body:not(.auth-page) .proposal-detail-hero-actions .button.is-link,
body:not(.auth-page) .contracts-hero-actions .button.is-link,
body:not(.auth-page) .contract-editor-hero-actions .button.is-link {
    box-shadow: none;
}

body:not(.auth-page) .proposal-submit-hero-actions #quotation-status-badge .tag {
    background: #fff;
    color: var(--app-primary);
}

body:not(.auth-page) .proposals-filter-card,
body:not(.auth-page) .proposals-table-card,
body:not(.auth-page) .proposals-list-card,
body:not(.auth-page) .proposal-submit-main-card,
body:not(.auth-page) .proposal-detail-main-card,
body:not(.auth-page) .proposal-detail-side-card,
body:not(.auth-page) .contracts-filter-card,
body:not(.auth-page) .contracts-table-card,
body:not(.auth-page) .contract-editor-card {
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .proposals-filter-card,
body:not(.auth-page) .proposal-submit-main-card,
body:not(.auth-page) .proposal-detail-main-card,
body:not(.auth-page) .proposal-detail-side-card,
body:not(.auth-page) .contracts-filter-card,
body:not(.auth-page) .contract-editor-card {
    padding: 1.35rem;
}

body:not(.auth-page) .proposals-section-head,
body:not(.auth-page) .contracts-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body:not(.auth-page) .proposals-panel-eyebrow,
body:not(.auth-page) .contracts-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .proposals-table thead th,
body:not(.auth-page) .contracts-table thead th,
body:not(.auth-page) .proposal-submit-main-card .table thead th,
body:not(.auth-page) .proposal-detail-main-card .table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .proposal-submit-section-card,
body:not(.auth-page) .proposal-detail-side-card,
body:not(.auth-page) .proposal-detail-main-card,
body:not(.auth-page) .contract-editor-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body:not(.auth-page) .proposal-submit-section-card .card-header,
body:not(.auth-page) .proposal-detail-side-card .card-header {
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body:not(.auth-page) .proposal-submit-summary-card {
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
}

body:not(.auth-page) .proposals-list-hero {
    padding: 1.5rem;
    background:
        linear-gradient(135deg, rgba(49, 46, 129, 0.96), rgba(37, 99, 235, 0.9)),
        #312e81;
    color: #fff;
}

body:not(.auth-page) .proposals-list-hero .title,
body:not(.auth-page) .proposals-list-hero .subtitle,
body:not(.auth-page) .proposals-list-hero .tag {
    color: #fff;
}

body:not(.auth-page) .proposals-list-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .proposals-list-card .proposal-card {
    transition: transform 0.2s;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body:not(.auth-page) .proposals-list-card .proposal-card:hover {
    transform: translateY(-2px);
}

body:not(.auth-page) .proposals-list-card .ranking-position {
    text-align: center;
}

body:not(.auth-page) .proposals-list-card .ranking-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

body:not(.auth-page) .proposals-list-card .ranking-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--app-text-soft);
}

body:not(.auth-page) .proposals-list-card .proposal-actions .button {
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

body:not(.auth-page) .proposals-list-card .border-left-rank {
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

body:not(.auth-page) .contract-editor-notice {
    border-radius: 16px;
}

body:not(.auth-page) .contract-editor-actions-wrap {
    gap: 1rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .proposals-hero,
    body:not(.auth-page) .proposal-submit-hero,
    body:not(.auth-page) .proposal-detail-hero,
    body:not(.auth-page) .contracts-hero,
    body:not(.auth-page) .contract-editor-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .proposals-hero-actions,
    body:not(.auth-page) .proposal-submit-hero-actions,
    body:not(.auth-page) .proposal-detail-hero-actions,
    body:not(.auth-page) .contracts-hero-actions,
    body:not(.auth-page) .contract-editor-hero-actions {
        justify-content: flex-start;
    }
}

body:not(.auth-page) .profile-shell,
body:not(.auth-page) .companies-shell,
body:not(.auth-page) .tickets-shell,
body:not(.auth-page) .ticket-detail-shell,
body:not(.auth-page) .chats-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

body:not(.auth-page) .profile-hero,
body:not(.auth-page) .companies-hero,
body:not(.auth-page) .tickets-hero,
body:not(.auth-page) .ticket-detail-hero,
body:not(.auth-page) .chats-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    color: #fff;
}

body:not(.auth-page) .profile-hero {
    background:
        linear-gradient(135deg, rgba(14, 116, 144, 0.96), rgba(37, 99, 235, 0.88)),
        #0e7490;
}

body:not(.auth-page) .companies-hero {
    background:
        linear-gradient(135deg, rgba(3, 105, 161, 0.96), rgba(8, 145, 178, 0.88)),
        #0369a1;
}

body:not(.auth-page) .tickets-hero,
body:not(.auth-page) .ticket-detail-hero {
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.96), rgba(194, 65, 12, 0.88)),
        #7f1d1d;
}

body:not(.auth-page) .chats-hero {
    background:
        linear-gradient(135deg, rgba(67, 56, 202, 0.96), rgba(147, 51, 234, 0.88)),
        #4338ca;
}

body:not(.auth-page) .profile-hero .title,
body:not(.auth-page) .profile-hero .subtitle,
body:not(.auth-page) .companies-hero .title,
body:not(.auth-page) .companies-hero .subtitle,
body:not(.auth-page) .tickets-hero .title,
body:not(.auth-page) .tickets-hero .subtitle,
body:not(.auth-page) .ticket-detail-hero .title,
body:not(.auth-page) .ticket-detail-hero .subtitle,
body:not(.auth-page) .chats-hero .title,
body:not(.auth-page) .chats-hero .subtitle {
    color: #fff !important;
}

body:not(.auth-page) .profile-eyebrow,
body:not(.auth-page) .companies-eyebrow,
body:not(.auth-page) .companies-panel-eyebrow,
body:not(.auth-page) .tickets-eyebrow,
body:not(.auth-page) .chats-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body:not(.auth-page) .profile-eyebrow,
body:not(.auth-page) .companies-eyebrow,
body:not(.auth-page) .tickets-eyebrow,
body:not(.auth-page) .chats-eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

body:not(.auth-page) .profile-hero-actions,
body:not(.auth-page) .companies-hero-actions,
body:not(.auth-page) .tickets-hero-actions,
body:not(.auth-page) .ticket-detail-hero-actions,
body:not(.auth-page) .chats-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

body:not(.auth-page) .profile-hero-actions .button.is-light,
body:not(.auth-page) .companies-hero-actions .button.is-light,
body:not(.auth-page) .tickets-hero-actions .button.is-light,
body:not(.auth-page) .ticket-detail-hero-actions .button.is-light,
body:not(.auth-page) .chats-hero-actions .button.is-light,
body:not(.auth-page) .chats-hero-actions .button {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.auth-page) .profile-hero-actions .button.is-link,
body:not(.auth-page) .companies-hero-actions .button.is-primary,
body:not(.auth-page) .tickets-hero-actions .button.is-primary,
body:not(.auth-page) .ticket-detail-hero-actions .button.is-warning,
body:not(.auth-page) .chats-hero-actions .select select {
    box-shadow: none;
}

body:not(.auth-page) .profile-side-card,
body:not(.auth-page) .profile-main-card,
body:not(.auth-page) .companies-filter-card,
body:not(.auth-page) .tickets-metrics-card,
body:not(.auth-page) .tickets-filter-card,
body:not(.auth-page) .tickets-table-card,
body:not(.auth-page) .ticket-detail-meta-card,
body:not(.auth-page) .ticket-detail-main-card,
body:not(.auth-page) .chats-list-card {
    background: rgba(255, 255, 255, 0.94);
}

body:not(.auth-page) .companies-filter-card,
body:not(.auth-page) .tickets-metrics-card,
body:not(.auth-page) .tickets-filter-card,
body:not(.auth-page) .ticket-detail-meta-card,
body:not(.auth-page) .ticket-detail-main-card,
body:not(.auth-page) .chats-list-card {
    padding: 1.35rem;
}

body:not(.auth-page) .profile-side-card,
body:not(.auth-page) .profile-main-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body:not(.auth-page) .profile-side-menu {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body:not(.auth-page) .profile-side-menu .menu-list a {
    border-radius: 12px;
}

body:not(.auth-page) .profile-side-menu .menu-list a.is-active {
    background: rgba(37, 99, 235, 0.12);
    color: var(--app-primary);
}

body:not(.auth-page) .companies-section-head,
body:not(.auth-page) .tickets-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

body:not(.auth-page) .companies-panel-eyebrow {
    color: var(--app-primary);
    margin-bottom: 0.35rem;
}

body:not(.auth-page) .companies-list-wrap .card,
body:not(.auth-page) .companies-list-wrap .box {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

body:not(.auth-page) .companies-table-wrap,
body:not(.auth-page) .tickets-table-card .table-container {
    border-radius: 18px;
    overflow: hidden;
}

body:not(.auth-page) .companies-table thead th,
body:not(.auth-page) .tickets-table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
    border-color: rgba(148, 163, 184, 0.16);
}

body:not(.auth-page) .ticket-detail-main-card .table thead th {
    color: var(--app-text-soft);
    font-size: 0.8rem;
}

body:not(.auth-page) .chats-list-card {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    min-height: 240px;
}

@media screen and (max-width: 1023px) {
    body:not(.auth-page) .profile-hero,
    body:not(.auth-page) .companies-hero,
    body:not(.auth-page) .tickets-hero,
    body:not(.auth-page) .ticket-detail-hero,
    body:not(.auth-page) .chats-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    body:not(.auth-page) .profile-hero-actions,
    body:not(.auth-page) .companies-hero-actions,
    body:not(.auth-page) .tickets-hero-actions,
    body:not(.auth-page) .ticket-detail-hero-actions,
    body:not(.auth-page) .chats-hero-actions {
        justify-content: flex-start;
    }
}
