@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --brand-900: #12314a;
    --brand-700: #1f4e73;
    --brand-500: #20628e;
    --brand-100: #dce8f2;
    --text-900: #152838;
    --text-700: #2d4559;
    --surface: #ffffff;
    --surface-muted: #f3f6f9;
    --border: #d9e2ec;
    --success: #1f7a4b;
    --warning: #9f6b00;
    --danger: #9e2f2f;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Barlow", "Segoe UI", sans-serif;
    color: var(--text-900);
    background: #eef2f8;
}

h1,
h2,
h3,
h4,
h5 {
    color: #113049;
    margin-top: 0;
}

a {
    color: var(--brand-500);
}

:focus-visible {
    outline: 3px solid rgba(32, 98, 142, 0.24);
    outline-offset: 2px;
}

.card-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(16, 38, 54, 0.06);
}

.page-header {
    position: relative;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(20, 35, 50, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
    box-shadow: 0 14px 42px rgba(16, 29, 41, 0.07);
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(32, 98, 142, 0.9), rgba(32, 98, 142, 0.18));
}

.page-header-copy {
    display: grid;
    gap: 0.28rem;
}

.page-header h1 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.page-header p {
    margin: 0;
    color: var(--text-700);
    max-width: 68ch;
    line-height: 1.5;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.metric-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.metric-title {
    color: var(--text-700);
    font-size: 0.9rem;
}

.metric-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: #163f5d;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.provider-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    column-gap: 0.5rem;
    row-gap: 0.75rem;
    min-width: 0;
    flex: 0 1 auto;
}

.provider-admin-search {
    width: auto;
    min-width: 220px;
    flex: 0 1 260px;
}

.provider-admin-toolbar .btn,
.provider-admin-toolbar .icon-action-button {
    white-space: nowrap;
    flex-shrink: 0;
}

.multi-select {
    position: relative;
}

.multi-select-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 19;
}

.multi-select-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    min-height: 42px;
    background-image: none;
}

.multi-select-toggle > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-select-chevron {
    color: #6b7785;
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.multi-select-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    padding: 0.75rem;
}

.multi-select-panel-sites {
    width: max(100%, 560px);
    max-width: min(760px, calc(100vw - 3rem));
}

.multi-select-search {
    margin-bottom: 0.65rem;
}

.multi-select-options {
    display: grid;
    gap: 0.35rem;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.multi-select-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.multi-select-option:hover {
    background: #f7fafc;
}

.multi-select-option input {
    margin-top: 0.15rem;
}

.multi-select-option span {
    white-space: nowrap;
}

.multi-select-empty {
    padding: 0.45rem 0.55rem;
    color: #6b7785;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .provider-admin-toolbar {
        width: 100%;
        justify-content: flex-start;
    }

    .provider-admin-search {
        width: 100%;
        min-width: 0;
    }

    .import-result-modal-toolbar {
        position: static;
        align-items: stretch;
        flex-direction: column;
    }

    .import-result-modal-search {
        max-width: none;
        width: 100%;
    }
}

.import-result-panel {
    display: grid;
    gap: 0.9rem;
    border-style: dashed;
}

.import-result-head {
    align-items: flex-start;
}

.import-result-copy {
    display: grid;
    gap: 0.18rem;
}

.import-result-meta {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(20, 35, 50, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

.import-result-kicker {
    color: var(--brand-500);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.import-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.import-result-metric {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0.75rem 0.85rem;
    background: linear-gradient(180deg, #ffffff, #f7fafc);
    display: grid;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
}

.import-result-metric span {
    color: var(--text-700);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.import-result-metric strong {
    color: var(--text-900);
    font-size: 1.25rem;
}

.import-result-metric-clickable {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.import-result-metric-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(16, 29, 41, 0.08);
    border-color: rgba(32, 98, 142, 0.16);
}

.import-result-metric:disabled {
    cursor: default;
    opacity: 1;
}

.import-result-metric-hint {
    color: var(--brand-500);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.import-result-entry {
    display: grid;
    gap: 0.15rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8eef4;
}

.import-result-entry strong {
    color: var(--text-900);
    font-size: 0.9rem;
}

.import-result-entry span,
.import-result-entry small {
    color: var(--text-700);
}

.image-modal.import-result-modal {
    width: min(1280px, 96vw);
    max-width: 96vw;
    display: grid;
    gap: 1rem;
    border-radius: 24px;
}

.image-modal.audit-detail-modal {
    width: min(1400px, 96vw);
    max-width: 96vw;
    display: grid;
    gap: 1rem;
    border-radius: 24px;
}

.audit-page .audit-table td,
.audit-page .audit-table th,
.audit-page .audit-detail-table td,
.audit-page .audit-detail-table th {
    vertical-align: top;
}

.audit-page .audit-detail-modal {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 239, 0.98));
}

.audit-page .audit-detail-meta {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(79, 61, 41, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.import-result-modal-header {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(20, 35, 50, 0.08);
}

.audit-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    color: var(--text-700);
    font-size: 0.92rem;
}

.audit-detail-meta-span {
    grid-column: 1 / -1;
}

.audit-detail-table td,
.audit-detail-table th,
.audit-table td,
.audit-table th {
    vertical-align: top;
}

.import-result-modal-list {
    display: grid;
    gap: 0;
    max-height: min(60vh, 520px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.import-result-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1;
    padding-bottom: 0.65rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.import-result-modal-search {
    max-width: 360px;
}

.import-detail-table td,
.import-detail-table th {
    vertical-align: top;
}

.import-detail-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 600;
}

.import-detail-sort:hover {
    color: var(--brand-500);
}

.import-detail-table th {
    white-space: nowrap;
}

.import-result-metric.has-warning {
    border-color: #f0d5a5;
    background: linear-gradient(180deg, #fffaf1, #fff5e1);
}

.import-result-metric.has-error {
    border-color: #edc5c5;
    background: linear-gradient(180deg, #fff8f8, #fdeeee);
}

.import-issues-table td,
.import-issues-table th {
    vertical-align: middle;
}

.status-pill.warning {
    color: #8a5c00;
    background: #fff3d6;
    border-color: #f0d49a;
}

.status-pill.success {
    color: #12683e;
    background: #ddf5e8;
    border-color: #b5dfc8;
}

.status-pill.danger {
    color: #8a2626;
    background: #fde7e7;
    border-color: #f0c4c4;
}

.toolbar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: end;
}

.table thead th {
    background: #edf3f8;
    border-bottom: 1px solid var(--border);
    color: #1d3d57;
    font-weight: 600;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.65rem;
    min-height: 28px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.status-pill-order,
.status-pill-payment,
.status-pill-po {
    text-transform: uppercase;
}

.status-pill.recibido,
.status-pill.confirmado,
.status-pill.pendiente_pago,
.status-pill.en_preparacion,
.status-pill.despachado {
    color: #0e4a77;
    background: #e4f0fa;
    border-color: #bdd8ee;
}

.status-pill.entregado {
    color: #12683e;
    background: #ddf5e8;
    border-color: #b5e4cb;
}

.status-pill.notrequired,
.status-pill.approved,
.status-pill.authorized {
    color: #12683e;
    background: #ddf5e8;
    border-color: #b5e4cb;
}

.status-pill.pending,
.status-pill.started,
.status-pill.pendingwebhook {
    color: #8a5c00;
    background: #fff3d6;
    border-color: #f0d49a;
}

.status-pill.rejected,
.status-pill.refunded {
    color: #8a2626;
    background: #fde7e7;
    border-color: #f0c4c4;
}

.status-pill.cancelado,
.status-pill.cancelled {
    color: #7f2424;
    background: #fde8e8;
    border-color: #f1c5c5;
}

.product-image-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
}

.user-photo-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
}

.user-photo-picker {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-photo-picker-preview {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    border: 1px solid rgba(79, 61, 41, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 238, 230, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.user-photo-picker-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-photo-picker-preview svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #8a6a3e;
    stroke-width: 1.5;
}

.user-photo-picker-meta {
    display: grid;
    gap: 0.25rem;
}

.product-upload-preview-grid {
    display: grid;
    grid-template-columns: minmax(200px, 280px);
    gap: 0.9rem;
}

.product-upload-preview-card,
.product-offer-preview {
    border: 1px solid rgba(79, 61, 41, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 239, 0.96));
    box-shadow: 0 14px 34px rgba(37, 27, 16, 0.06);
    overflow: hidden;
}

.product-upload-preview-frame {
    min-height: 140px;
    max-height: 140px;
    background: linear-gradient(135deg, #f8f3ec 0%, #efe6da 100%);
    border-bottom: 1px solid rgba(79, 61, 41, 0.08);
}

.product-upload-preview-card {
    max-width: 280px;
}

.product-upload-preview-frame img,
.product-offer-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-upload-preview-meta,
.product-offer-preview-copy {
    padding: 0.85rem 0.95rem 1rem;
}

.product-offer-preview {
    display: grid;
    grid-template-columns: 1fr;
}

.product-offer-preview-media {
    min-height: 220px;
    max-height: 220px;
    background: linear-gradient(135deg, #f8f3ec 0%, #efe6da 100%);
}

.product-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    background: #e9eff5;
    border: 1px solid var(--border);
}

.placeholder-image {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dce7f1 0%, #ecf2f7 100%);
    color: #567188;
    font-weight: 600;
}

.compact-note {
    font-size: 0.86rem;
    color: var(--text-700);
    line-height: 1.45;
}

.portal-shell .page-header h1 {
    color: #941a2f;
}

.portal-shell .content-wrap a:not(.btn):not(.nav-link-item) {
    color: #bd2038;
}

.portal-shell .card-panel {
    border-color: #f0d3d9;
    box-shadow: 0 10px 26px rgba(161, 28, 50, 0.08);
}

.portal-shell .btn-primary {
    background-color: #d7192d;
    border-color: #d7192d;
    color: #ffffff !important;
}

.portal-shell .btn-primary:hover,
.portal-shell .btn-primary:focus {
    background-color: #b81426;
    border-color: #b81426;
    color: #ffffff !important;
}

.portal-shell .btn-outline-secondary {
    border-color: #d9abb4;
    color: #a12036;
}

.portal-shell .btn-outline-secondary:hover {
    background: #a12036;
    border-color: #a12036;
    color: #ffffff;
}

.portal-shell .table thead th {
    background: #fff1f4;
    border-bottom-color: #efcdd4;
    color: #8e162a;
}

.portal-shell .placeholder-image {
    background: linear-gradient(135deg, #feecef 0%, #fff7f8 100%);
    color: #ab4b5c;
    border: 1px solid #f1d2d9;
}

.portal-shell .status-pill.recibido,
.portal-shell .status-pill.confirmado,
.portal-shell .status-pill.pendiente_pago,
.portal-shell .status-pill.en_preparacion,
.portal-shell .status-pill.despachado {
    color: #9a152b;
    background: #fde8ec;
    border-color: #f3c6cf;
}

.portal-shell.consumer-shell .sidebar a.nav-link-item.active,
.portal-shell.consumer-shell .sidebar a.nav-link-item.active:link,
.portal-shell.consumer-shell .sidebar a.nav-link-item.active:visited,
.portal-shell.consumer-shell .sidebar a.nav-link-item.active:hover,
.portal-shell.consumer-shell .sidebar a.nav-link-item.active:active {
    background: #ffffff !important;
    border: 2px solid #8d1229 !important;
    color: #8d1229 !important;
    text-shadow: none !important;
}

.portal-shell.consumer-shell .sidebar a.nav-link-item.active .nav-label,
.portal-shell.consumer-shell .sidebar a.nav-link-item.active .nav-icon {
    color: #8d1229 !important;
    stroke: currentColor !important;
    opacity: 1 !important;
}

.portal-shell .content-wrap {
    position: relative;
    z-index: 1;
    font-family: "Poppins", "Barlow", "Segoe UI", sans-serif;
}

.portal-shell .page-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.portal-shell .catalog-toolbar {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 238, 242, 0.82));
    border: 1px solid rgba(222, 71, 104, 0.2);
}

.portal-shell .catalog-toolbar .form-control,
.portal-shell .catalog-toolbar .form-select {
    border-color: #efc9d1;
    border-radius: 10px;
}

.portal-shell .catalog-toolbar .form-control:focus,
.portal-shell .catalog-toolbar .form-select:focus {
    border-color: #dd3050;
    box-shadow: 0 0 0 0.2rem rgba(221, 48, 80, 0.14);
}

.offer-roller {
    position: relative;
}

.offer-viewport {
    overflow: hidden;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(221, 48, 80, 0.2);
    position: relative;
}

.offer-track {
    display: flex;
    transition: transform 0.45s ease;
    width: 100%;
}

.offer-slide {
    position: relative;
    min-width: 100%;
    height: 270px;
    overflow: hidden;
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(55, 8, 24, 0.7) 0%, rgba(55, 8, 24, 0.12) 66%);
    pointer-events: none;
}

.offer-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 1.25rem 1.4rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
    pointer-events: none;
}

.offer-content h3 {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.6rem;
}

.offer-content p {
    margin-bottom: 0.8rem;
    color: #f8dce2;
}

.offer-kicker {
    margin: 0 0 0.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #ffd56e;
    font-weight: 700;
}

.offer-content .btn {
    align-self: flex-start;
    pointer-events: auto;
}

.offer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #a81934;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
    z-index: 5;
    cursor: pointer;
}

.offer-prev {
    left: 12px;
}

.offer-next {
    right: 12px;
}

.offer-dots {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.35rem;
    justify-content: center;
}

.offer-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: #edbdc8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-dot.active {
    width: 24px;
    background: #d7192d;
}

.catalog-product-card {
    border-radius: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 246, 248, 0.88) 100%);
}

.catalog-image-wrap {
    position: relative;
}

.image-zoom-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #a61c36;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.image-zoom-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.image-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(32, 10, 16, 0.6);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.image-modal {
    width: min(640px, 94vw);
    border-radius: 16px;
}

.business-note-modal {
    width: min(680px, 94vw);
}

.image-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.image-modal-photo {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f6f7fa;
    margin-top: 0.75rem;
}

.image-modal-details {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.32rem;
    color: var(--text-700);
}

.business-note-textarea {
    min-height: 180px;
    resize: vertical;
}

.catalog-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(149, 30, 54, 0.16);
}

.catalog-price-pill {
    display: inline-flex;
    border-radius: 999px;
    background: #fff1f4;
    border: 1px solid #efc4ce;
    color: #a61c36;
    padding: 0.25rem 0.72rem;
}

.offer-card {
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(145, 26, 47, 0.18);
}

.storefront-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 211, 80, 0.26), transparent 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 238, 243, 0.94));
    border: 1px solid rgba(214, 44, 78, 0.14);
}

.storefront-hero-copy h1,
.storefront-hero-copy h2 {
    margin-bottom: 0.45rem;
}

.storefront-hero-copy p {
    max-width: 58ch;
    color: #5a4f58;
    margin-bottom: 0;
}

.storefront-hero-kicker,
.business-hero-kicker,
.business-summary-kicker,
.business-group-kicker {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.72rem;
    font-weight: 700;
}

.storefront-hero-kicker {
    color: #c62947;
}

.storefront-hero-stats,
.business-hero-stats,
.business-summary-grid {
    display: grid;
    gap: 0.9rem;
}

.storefront-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-stat,
.business-hero-stat,
.business-summary-card {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(214, 44, 78, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.storefront-stat strong,
.business-hero-stat strong {
    display: block;
    font-size: 1.45rem;
    color: #8f1730;
}

.storefront-stat span,
.business-hero-stat span {
    color: #6b5a63;
    font-size: 0.82rem;
}

.storefront-shell {
    display: grid;
    gap: 1rem;
}

.business-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: 1rem;
    padding: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(104, 114, 255, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.96));
    border: 1px solid rgba(46, 66, 126, 0.12);
}

.business-hero h1,
.business-summary-card h4 {
    color: #1f3551;
}

.business-hero-kicker,
.business-summary-kicker,
.business-group-kicker {
    color: #445fd9;
}

.business-hero-stats,
.business-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-filter-shell,
.business-preview-panel,
.business-grid-shell,
.business-ocs-panel {
    border-radius: 22px;
}

.business-filter-shell--compact {
    padding: 1rem;
}

.business-filter-header,
.business-preview-header,
.business-group-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.business-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: start;
}

.business-filter-field {
    flex: 1 1 220px;
    min-width: 220px;
}

.business-filter-field-search {
    flex: 1.4 1 320px;
    min-width: 320px;
}

.business-filter-field-site {
    min-width: 240px;
}

.business-filter-actions {
    min-width: 200px;
    display: grid;
    gap: 0.6rem;
    align-self: stretch;
}

.business-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 1rem;
    margin-top: 1rem;
}

.business-filter-groups {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.business-filter-card {
    border: 1px solid #dbe2ff;
    border-radius: 16px;
    padding: 0.8rem;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.business-filter-card--compact {
    flex: 1 1 220px;
    min-width: 220px;
    padding: 0.7rem;
}

.business-filter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.business-filter-card-header strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-filter-card-header .compact-note {
    flex-shrink: 0;
    white-space: nowrap;
}

.business-filter-card-header--compact {
    margin-bottom: 0.45rem;
}

.business-filter-list {
    display: grid;
    gap: 0.45rem;
    max-height: 180px;
    overflow: auto;
    padding-right: 0.2rem;
}

.business-filter-option {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #29425c;
}

.business-preview-table td,
.business-preview-table th {
    vertical-align: middle;
}

.business-group-meta {
    align-self: center;
    color: #52667c;
    font-size: 0.88rem;
    font-weight: 600;
}

.business-grid-table {
    min-width: 1220px;
}

.business-grid-table > :not(caption) > * > * {
    padding: 0.65rem;
}

.business-grid-product-col {
    min-width: 280px;
}

.business-grid-price-col {
    min-width: 150px;
}

.business-grid-date-col {
    min-width: 180px;
}

.business-product-card {
    display: grid;
    gap: 0.55rem;
}

.business-product-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.business-product-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.price-podium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-width: 38px;
    height: 24px;
    padding: 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.price-podium-gold {
    background: #fff4cf;
    color: #8c5d00;
}

.price-podium-silver {
    background: #edf2f7;
    color: #4d5a68;
}

.price-podium-bronze {
    background: #fbe6d8;
    color: #8c4d20;
}

.price-podium-standard {
    background: #eef3ff;
    color: #465ea9;
}

.business-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    color: #536678;
    font-size: 0.84rem;
}

.business-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.business-feature-list span {
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    background: #eef3ff;
    color: #4259c6;
    font-size: 0.74rem;
    font-weight: 600;
}

.business-grid-lens {
    position: static;
    box-shadow: none;
    border: 1px solid #d8def3;
    background: #fff;
}

.business-price-box {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
    border: 1px solid #dfe6f4;
}

.business-price-box strong {
    font-size: 1rem;
    color: #1f3551;
}

.business-price-box span,
.business-price-box small {
    color: #59708a;
}

.business-cell {
    position: relative;
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid #dbe3ee;
    min-height: 152px;
}

.business-cell--best {
    border-color: #d7e0ea;
}

.business-cell--violet {
    border-color: #7c5af5;
    box-shadow: 0 0 0 1px rgba(124, 90, 245, 0.08);
}

.business-cell--red {
    border-color: #dc3b45;
    box-shadow: 0 0 0 1px rgba(220, 59, 69, 0.08);
}

.business-cell--orange {
    border-color: #f28a1f;
    box-shadow: 0 0 0 1px rgba(242, 138, 31, 0.1);
    border-radius: 24px;
}

.business-cell--validation-issue {
    border-style: dashed;
    border-color: #8d2038 !important;
    box-shadow: 0 0 0 2px rgba(141, 32, 56, 0.08);
}

.business-cell--na {
    display: grid;
    place-items: center;
    min-height: 120px;
    background: #f8fafc;
    color: #9aa7b3;
}

.business-cell-price-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
    color: #20344d;
}

.business-cell-variant {
    color: #657b90;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.business-cell-qty,
.business-option-select {
    font-size: 0.88rem;
}

.business-cell-gap {
    font-size: 0.76rem;
    font-weight: 700;
    color: #bc5a00;
}

.business-option-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 8;
    display: none;
    background: #172638;
    color: #eef4fb;
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: 0 18px 38px rgba(10, 18, 28, 0.28);
}

.business-cell:hover .business-option-popover,
.business-cell:focus-within .business-option-popover {
    display: grid;
    gap: 0.55rem;
}

.business-option-popover-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a7b7ff;
    font-weight: 700;
}

.business-option-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.business-option-item.selected {
    background: rgba(124, 90, 245, 0.24);
}

.business-option-flags {
    display: grid;
    justify-items: end;
    gap: 0.2rem;
}

.business-option-flags span {
    color: #ffd95e;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .offer-slide {
        height: 238px;
    }

    .offer-content {
        max-width: 100%;
        padding: 1rem;
    }

    .offer-content h3 {
        font-size: 1.3rem;
    }

    .image-modal-photo {
        height: 240px;
    }

    .storefront-hero,
    .business-hero {
        grid-template-columns: 1fr;
    }

    .storefront-hero-stats,
    .business-hero-stats,
    .business-summary-grid,
    .business-filter-grid,
    .business-filter-groups {
        grid-template-columns: 1fr;
    }

    .business-filter-header,
    .business-preview-header,
    .business-group-header {
        flex-direction: column;
    }

    .business-filter-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .business-filter-field,
    .business-filter-field-search,
    .business-filter-field-site,
    .business-filter-card--compact,
    .business-filter-actions {
        min-width: 0;
    }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: #fff4ce;
    border-top: 1px solid #e3c77c;
    color: #664d03;
    box-shadow: 0 -4px 16px rgba(30, 22, 10, 0.18);
}

#blazor-error-ui .reload {
    margin-left: 0.4rem;
    color: #9f1730;
    font-weight: 600;
    text-decoration: none;
}

#blazor-error-ui .reload:hover {
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
    font-weight: 700;
    padding-left: 0.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: linear-gradient(180deg, #ffffff, #f4f8fb);
    border: 1px solid #dce5ef;
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(20, 37, 53, 0.06);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #14324a;
}

.stat-label {
    margin-top: 0.2rem;
    color: #607488;
    font-size: 0.88rem;
    font-weight: 600;
}

.operations-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.operations-hero-meta {
    display: grid;
    gap: 0.2rem;
    justify-items: end;
    color: #607488;
    font-size: 0.9rem;
}

.operations-queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1rem;
}

.operations-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1rem;
}

.table-actions-inline {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-pill.po-status.generated,
.status-pill.po-status.approved,
.status-pill.po-status.sent,
.status-pill.po-status.confirmed,
.status-pill.po-status.inpreparation {
    color: #0d4975;
    background: #e5f0fa;
    border-color: #bed7eb;
}

.status-pill.po-status.delivered {
    color: #146a40;
    background: #ddf5e7;
    border-color: #bde6ce;
}

.status-pill.po-status.cancelled {
    color: #7f2424;
    background: #fde8e8;
    border-color: #f1c5c5;
}

@media (max-width: 860px) {
    .operations-hero,
    .operations-queue-grid {
        grid-template-columns: 1fr;
    }

    .operations-hero-meta {
        justify-items: start;
    }
}

.catalog-hero-v2 {
    gap: 1.5rem;
}

.catalog-shell-v3 {
    display: grid;
    gap: 1.2rem;
}

.catalog-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    gap: 1rem;
    align-items: stretch;
}

.catalog-showcase-copy,
.catalog-overview-panel {
    border: 1px solid #efd5da;
    border-radius: 28px;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 246, 0.92));
    box-shadow: 0 18px 42px rgba(139, 24, 46, 0.08);
}

.catalog-showcase-copy {
    position: relative;
    overflow: hidden;
}

.catalog-showcase-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-showcase-copy::after {
    content: "";
    position: absolute;
    inset: auto -18% -42% auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(215, 25, 45, 0.12) 0%, rgba(215, 25, 45, 0) 72%);
    pointer-events: none;
}

.catalog-panel-kicker,
.catalog-overview-label {
    margin: 0 0 0.35rem;
    color: #a52f46;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.catalog-showcase-copy h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2.25rem, 3vw, 3.2rem);
    line-height: 1;
}

.catalog-showcase-copy > p {
    max-width: 620px;
    margin-bottom: 1.1rem;
    color: #52677a;
    font-size: 1.02rem;
}

.catalog-overview-panel {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    background: linear-gradient(180deg, #fffdfc, #fff4f2);
}

.catalog-help-shell {
    position: relative;
    flex: 0 0 auto;
}

.catalog-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ead0d7;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #9c2440;
    box-shadow: 0 10px 24px rgba(139, 24, 46, 0.12);
}

.catalog-help-button span {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.catalog-help-popover {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 220px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #ead0d7;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #fff5f6);
    box-shadow: 0 18px 32px rgba(16, 28, 46, 0.16);
    color: #274156;
    font-size: 0.9rem;
    z-index: 4;
}

.catalog-overview-lead strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #173452;
    font-size: 1.15rem;
    line-height: 1.25;
}

.catalog-overview-lead p {
    margin: 0;
    color: #617181;
}

.catalog-banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 34px rgba(32, 20, 29, 0.16);
    min-height: 280px;
}

.catalog-banner-carousel--compact {
    min-height: 244px;
}

.catalog-banner-track {
    display: flex;
    transition: transform 320ms ease;
}

.catalog-banner-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 280px;
    background-position: center;
    background-size: cover;
}

.catalog-banner-carousel--compact .catalog-banner-slide {
    min-height: 244px;
}

.catalog-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 25, 36, 0.04), rgba(16, 25, 36, 0.38));
}

.catalog-feature-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.4rem;
    align-content: end;
    min-height: 100%;
    padding: 1.35rem;
    color: #fff;
}

.catalog-feature-content p {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.catalog-feature-content h2,
.catalog-feature-content h3 {
    margin: 0;
    color: #fff;
}

.catalog-feature-content span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.catalog-banner-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #8f2038;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(18, 31, 45, 0.16);
}

.catalog-banner-prev {
    left: 1rem;
}

.catalog-banner-next {
    right: 1rem;
}

.catalog-banner-dots {
    position: absolute;
    left: 1.35rem;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.45rem;
}

.catalog-banner-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.catalog-banner-dot.active {
    width: 28px;
    background: #ffffff;
}

.catalog-strip-section {
    display: grid;
    gap: 0.8rem;
}

.catalog-strip-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-strip-header h2 {
    margin: 0;
}

.catalog-filter-panel {
    display: grid;
    gap: 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fff7f7);
}

.catalog-filter-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
}

.catalog-filter-header h2 {
    margin: 0 0 0.35rem;
}

.catalog-filter-header span {
    color: #617181;
}

.catalog-filter-summary {
    display: inline-flex;
    flex-direction: column;
    min-width: 165px;
    padding: 0.55rem 0.8rem !important;
    text-align: left;
}

.catalog-filter-summary strong {
    color: #8f1c34;
    font-size: 1rem;
    line-height: 1.1;
}

.catalog-filter-summary span {
    color: #617181;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-filter-row {
    align-items: start;
}

.catalog-filter-row .business-filter-field-search .form-control {
    min-height: 48px;
}

.catalog-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.2rem;
}

.catalog-filter-status {
    min-width: 205px;
}

.catalog-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.catalog-product-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1rem;
    align-items: start;
    align-content: start;
    min-height: 34rem;
    overflow-anchor: none;
}

.catalog-product-grid-v3 > .card-panel:first-child:last-child {
    max-width: 420px;
}

.catalog-product-card-v3 {
    display: grid;
    gap: 1rem;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #f0d8dc;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%);
}

.catalog-product-media-v3 {
    position: relative;
    padding: 1rem 1rem 0;
}

.catalog-product-media-v3 .product-card-image,
.catalog-product-media-v3 .placeholder-image {
    height: 220px;
    border-radius: 20px;
}

.catalog-product-badges {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    right: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.catalog-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(241, 213, 219, 0.94);
    color: #8f2038;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.catalog-product-badge.muted {
    color: #5f7284;
}

.catalog-product-body-v3,
.catalog-product-footer-v3 {
    padding: 0 1rem 1rem;
}

.catalog-product-body-v3 {
    display: grid;
    gap: 0.8rem;
}

.catalog-product-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.catalog-product-heading h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.2;
}

.catalog-detail-link {
    padding: 0;
    color: #9e2740;
    font-weight: 700;
    text-decoration: none;
}

.catalog-detail-link:hover,
.catalog-detail-link:focus {
    color: #7f1d31;
    text-decoration: underline;
}

.catalog-product-description {
    margin: 0;
    min-height: 3.2rem;
    color: #57697c;
}

.catalog-product-price-v3 {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff5f6, #fffdfd);
    border: 1px solid #f1d9de;
}

.catalog-product-price-v3 strong {
    display: block;
    color: #173452;
    font-size: 1.28rem;
}

.catalog-product-price-v3 span {
    color: #875b68;
    font-size: 0.82rem;
    font-weight: 600;
}

.catalog-product-note {
    max-width: 120px;
    color: #7d5d66;
    font-size: 0.78rem;
    text-align: right;
}

.catalog-product-footer-v3 {
    display: grid;
    gap: 0.9rem;
    padding-top: 0;
}

.catalog-product-form-row-v3 {
    grid-template-columns: minmax(105px, 0.58fr) minmax(0, 1fr);
}

.catalog-product-actions-v3 {
    justify-content: flex-end;
}

.catalog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.catalog-brief {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.catalog-brief-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8f4f4);
    border: 1px solid #ecd7db;
}

.catalog-brief-label {
    color: #8d5b64;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-brief-item strong {
    color: #7d1d33;
    font-size: 1rem;
}

.catalog-brief-note {
    background: linear-gradient(135deg, #fff9f7, #fff1ee);
}

.catalog-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.catalog-stage-carousel {
    overflow: hidden;
}

.catalog-stage-aside {
    display: grid;
    gap: 1rem;
    align-content: start;
    background: linear-gradient(180deg, #fffefc, #fff4f1);
}

.catalog-stage-aside h3 {
    margin: 0;
    color: #163351;
}

.catalog-stage-list {
    display: grid;
    gap: 0.85rem;
}

.catalog-stage-list > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
}

.catalog-stage-list strong {
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #8d2038;
    color: #fff;
    font-size: 0.8rem;
}

.catalog-stage-list span {
    color: #4d6275;
    font-size: 0.92rem;
}

.catalog-stage-dots {
    justify-self: start;
}

.catalog-command-bar {
    background: linear-gradient(180deg, #ffffff, #fbf4f5);
}

.catalog-command-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 0.8fr) auto;
    gap: 1rem;
    align-items: end;
}

.catalog-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.catalog-product-card-v2 {
    display: grid;
    gap: 1rem;
    border: 1px solid #ead4d8;
    background: linear-gradient(180deg, #ffffff, #fff8f8);
}

.catalog-card-media {
    position: relative;
}

.catalog-card-body {
    display: grid;
    gap: 0.65rem;
}

.catalog-card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.catalog-card-kicker {
    margin: 0 0 0.2rem;
    color: #c66828;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-card-head h4 {
    margin: 0;
    color: #173452;
}

.catalog-card-description {
    margin: 0;
    color: #536678;
    min-height: 2.8rem;
}

.catalog-price-pill-v2 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.catalog-price-pill-v2 span {
    color: #7c5260;
    font-size: 0.8rem;
    font-weight: 600;
}

.catalog-card-footer {
    display: grid;
    gap: 0.85rem;
}

.catalog-card-form-row {
    display: grid;
    grid-template-columns: minmax(110px, 0.65fr) minmax(0, 1fr);
    gap: 0.75rem;
}

.catalog-card-actions {
    display: flex;
    gap: 0.75rem;
}

.offer-showcase {
    display: grid;
    gap: 1rem;
}

.offer-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 1.2rem;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7f5, #fff2ef 48%, #ffe0d2);
}

.offer-spotlight-copy {
    display: grid;
    gap: 0.75rem;
}

.offer-spotlight-copy h3 {
    margin: 0;
    color: #173452;
    font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.offer-spotlight-copy p:last-of-type {
    margin-bottom: 0;
    color: #536678;
}

.offer-spotlight-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(140, 38, 56, 0.12);
    background: #fff;
}

.offer-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.offer-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.offer-card-v2 {
    display: grid;
    gap: 0.9rem;
    border: 1px solid #e8d7db;
    background: linear-gradient(180deg, #ffffff, #fff8f8);
}

.offer-card-v2-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #f0d7da;
    background: #fff;
}

.offer-card-v2-body {
    display: grid;
    gap: 0.5rem;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.order-detail-main,
.order-detail-aside {
    display: grid;
    gap: 1rem;
}

.order-line-grid {
    display: grid;
    gap: 0.9rem;
}

.order-line-card {
    border-radius: 20px;
    border: 1px solid #e7dadd;
    background: linear-gradient(180deg, #ffffff, #fff9f9);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.order-line-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.order-line-head h5 {
    margin: 0;
    color: #173452;
}

.order-line-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem 1rem;
    color: #55697c;
    font-size: 0.9rem;
}

.order-summary-card {
    background: linear-gradient(180deg, #fffefc, #fff4f1);
    border: 1px solid #ead6d3;
}

.order-summary-grid {
    display: grid;
    gap: 0.85rem;
}

.order-summary-grid div {
    display: grid;
    gap: 0.15rem;
}

.order-summary-grid span {
    color: #8a5f65;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-summary-grid strong {
    color: #173452;
}

.profile-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.profile-summary-card {
    background: linear-gradient(180deg, #ffffff, #fff8f8);
    border: 1px solid #ead6da;
}

.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem 1rem;
}

.profile-summary-grid div {
    display: grid;
    gap: 0.15rem;
}

.profile-summary-grid span {
    color: #8a5f65;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-summary-grid strong {
    color: #173452;
}

.profile-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.profile-site-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid #e3d8dc;
    background: linear-gradient(180deg, #ffffff, #fff9f9);
}

.profile-site-card.is-assigned {
    border-color: #c73f53;
    box-shadow: 0 0 0 1px rgba(199, 63, 83, 0.08);
}

.profile-site-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: start;
}

.profile-site-card-top h5 {
    margin: 0;
    color: #173452;
}

.profile-site-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #8d2038;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.profile-site-details {
    display: grid;
    gap: 0.45rem;
    color: #55697c;
    font-size: 0.9rem;
}

.business-hero-v2 {
    background: linear-gradient(135deg, #f7fbff, #eef6ff 52%, #dbe9ff);
}

.business-legend {
    display: grid;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
    border: 1px solid #dde5f4;
}

.business-legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.business-legend-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem 0.75rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f2;
}

.business-legend-item strong {
    color: #173452;
}

.business-legend-item small {
    display: block;
    color: #5d7186;
    font-size: 0.8rem;
}

.legend-chip {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 3px solid #dbe3ee;
    background: #fff;
}

.legend-chip-best {
    border-color: #d7e0ea;
}

.legend-chip-violet {
    border-color: #7c5af5;
}

.legend-chip-red {
    border-color: #dc3b45;
}

.legend-chip-orange {
    border-color: #f28a1f;
}

@media (max-width: 1100px) {
    .catalog-brief,
    .catalog-stage,
    .order-detail-layout,
    .offer-spotlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .catalog-command-grid,
    .catalog-card-form-row,
    .profile-site-grid,
    .profile-overview-grid,
    .offer-stack-grid,
    .business-legend-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card-actions,
    .catalog-command-actions,
    .catalog-hero-actions,
    .offer-spotlight-actions {
        flex-direction: column;
    }

    .catalog-brief {
        grid-template-columns: 1fr;
    }

    .catalog-stage-list > div {
        grid-template-columns: 1fr;
    }

    .order-line-head,
    .profile-site-card-top {
        flex-direction: column;
    }
}

.business-sticky-stack {
    position: sticky;
    top: 1rem;
    z-index: 25;
}

.business-pay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 56px;
    min-width: 180px;
}

.business-preview-confirm-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.business-pay-button svg,
.business-preview-confirm-button svg,
.icon-action-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-calendar-strip {
    overflow-x: auto;
    padding: 0.7rem 0.85rem;
    background: linear-gradient(180deg, #fffdfc, #fff4f1);
    border: 1px solid #ead8d2;
    border-radius: 18px;
}

.business-calendar-grid {
    display: grid;
    gap: 0.55rem;
    align-items: stretch;
    min-width: max-content;
}

.business-calendar-product-label,
.business-calendar-day {
    border-radius: 16px;
    border: 1px solid #dfe6f3;
    background: #fff;
    padding: 0.7rem 0.85rem;
}

.business-calendar-product-label {
    color: #173452;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.business-calendar-day {
    display: grid;
    gap: 0.2rem;
    text-align: center;
}

.business-calendar-day span {
    color: #7d8fa3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.business-calendar-day strong {
    color: #173452;
}

.business-preview-tools {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.business-preview-note-button {
    color: #7b8794;
    border-color: #d7deec;
}

.business-preview-note-button.has-note {
    color: #176087;
    border-color: #8dc4df;
    background: #eef8fd;
}

.business-preview-title {
    flex: 0 0 auto;
    white-space: nowrap;
}

.business-preview-header--collapsed {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 0.85rem;
}

.business-preview-collapsed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.business-preview-collapsed--inline {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 0;
}

.business-preview-collapsed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex: 1 1 260px;
    min-width: 260px;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ece4e0;
}

.business-preview-collapsed--inline .business-preview-collapsed-item {
    flex: 1 1 0;
    min-width: 190px;
    padding: 0.55rem 0.7rem;
}

.business-preview-collapsed-item span {
    color: #8a5f65;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-preview-collapsed-item strong {
    color: #173452;
    font-size: 1rem;
    flex-shrink: 0;
}

.business-preview-header--collapsed .business-preview-tools {
    flex-wrap: nowrap;
}

.business-preview-collapsed-item.has-issues {
    border-color: #efc47a;
    background: #fff8ec;
}

.icon-action-button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #d7deec;
    background: #fff;
    color: #173452;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.icon-action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(17, 35, 50, 0.08);
}

.business-grid-shell--compact {
    padding: 0.9rem 1rem;
}

.business-grid-table-shell {
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

.business-grid-table-body {
    display: grid;
    gap: 1rem;
}

.business-grid-group-block {
    display: grid;
    gap: 0.7rem;
    padding-top: 0.2rem;
}

.business-grid-group-bar {
    padding: 0 0.25rem;
}

.business-group-header--compact {
    margin-bottom: 0.75rem;
}

.business-grid-rows {
    display: grid;
    gap: 0.45rem;
    overflow-x: auto;
}

.business-grid-row {
    display: grid;
    gap: 0.55rem;
    align-items: stretch;
    min-width: max-content;
}

.business-grid-product-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
    border: 1px solid #dfe4ee;
    background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.business-grid-product-main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.business-grid-product-main strong {
    color: #173452;
    font-size: 0.94rem;
}

.business-grid-cell-slot {
    min-height: 114px;
    padding: 0.55rem;
    border-radius: 16px;
}

.business-grid-cell-slot.business-cell--na {
    min-height: 114px;
}

.business-grid-cell-slot .business-cell-price-row strong {
    font-size: 0.96rem;
}

.business-grid-cell-slot .business-option-popover {
    left: -1px;
    right: -1px;
}

@media (max-width: 860px) {
    .business-sticky-stack {
        position: static;
    }

    .business-pay-button {
        width: 100%;
    }

    .business-preview-tools {
        width: 100%;
        justify-content: space-between;
    }

    .business-preview-collapsed {
        display: flex;
        flex-wrap: wrap;
    }
}

.business-grid-table-shell {
    padding: 0.85rem;
    gap: 0.75rem;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid #e0e7f1;
}

.business-grid-scroll {
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.business-grid-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.65rem;
}

.business-grid-toolbar-actions,
.business-grid-date-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.business-grid-date-nav {
    margin-left: auto;
}

.business-grid-date-range {
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4f657a;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid #dde6f0;
}

.business-help-shell {
    position: relative;
}

.business-help-button {
    font-weight: 800;
    font-size: 1rem;
}

.business-help-popover {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 35;
    width: min(360px, calc(100vw - 3rem));
    padding: 0.9rem;
    border-radius: 18px;
    background: #172638;
    color: #eef4fb;
    box-shadow: 0 20px 40px rgba(10, 18, 28, 0.32);
}

.business-help-popover-title {
    margin-bottom: 0.7rem;
    color: #a7b7ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.business-help-list {
    display: grid;
    gap: 0.6rem;
}

.business-help-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
}

.business-help-item strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
}

.business-help-item small {
    color: #c7d4e2;
    font-size: 0.78rem;
}

.business-calendar-strip {
    overflow: visible;
    padding: 0.55rem 0.65rem;
    border-radius: 16px;
}

.business-grid-head {
    margin-bottom: 0.55rem;
}

.business-calendar-grid {
    gap: 0.4rem;
    width: 100%;
    min-width: max-content;
}

.business-calendar-product-label,
.business-calendar-day {
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
}

.business-calendar-product-label {
    font-size: 0.84rem;
}

.business-calendar-day span {
    font-size: 0.66rem;
}

.business-calendar-day strong {
    font-size: 0.84rem;
}

.business-grid-table-body {
    gap: 0.8rem;
}

.business-grid-group-block {
    gap: 0.45rem;
}

.business-grid-group-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    padding: 0.15rem 0.25rem;
}

.business-grid-group-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #314a62;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-grid-group-title span {
    color: #8ba0b5;
    padding: 0 0.2rem;
}

.business-group-meta {
    white-space: nowrap;
}

.business-grid-rows {
    gap: 0.35rem;
    overflow: visible;
}

.business-grid-row {
    gap: 0.4rem;
    width: 100%;
    min-width: max-content;
}

.business-grid-product-slot {
    padding: 0.55rem 0.7rem;
    min-height: 74px;
    border-radius: 14px;
}

.business-grid-product-main strong {
    font-size: 0.88rem;
    line-height: 1.2;
}

.business-grid-lens {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.business-grid-cell-slot {
    min-height: 98px;
    padding: 0.45rem;
    border-radius: 14px;
}

.business-grid-cell-slot.business-cell--na {
    min-height: 98px;
}

.business-cell {
    gap: 0.35rem;
}

.business-cell-price-row {
    gap: 0.35rem;
}

.business-cell-price-row strong {
    font-size: 0.88rem;
}

.business-cell-variant {
    font-size: 0.66rem;
}

.business-cell-gap {
    font-size: 0.7rem;
}

.business-cell-committed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.26rem 0.45rem;
    border-radius: 10px;
    background: #eef3f8;
    color: #36516c;
    font-size: 0.72rem;
    line-height: 1;
}

.business-cell-committed span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.business-cell-committed strong {
    font-size: 0.78rem;
}

.business-cell-committed small {
    color: #647d95;
    white-space: nowrap;
}

.business-cell-committed--na {
    width: 100%;
}

.business-option-select,
.business-cell-qty {
    min-height: 32px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.business-option-popover {
    top: auto;
    bottom: calc(100% + 8px);
    left: 0;
    right: auto;
    width: 280px;
    z-index: 60;
}

@media (max-width: 980px) {
    .business-grid-toolbar {
        flex-wrap: wrap;
    }

    .business-grid-date-nav {
        width: 100%;
        justify-content: space-between;
    }

    .business-grid-date-range {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .business-grid-group-line {
        flex-wrap: wrap;
    }

    .business-grid-group-title {
        white-space: normal;
    }

    .business-help-popover {
        left: 0;
        right: auto;
    }

    .business-option-popover {
        width: min(280px, calc(100vw - 3rem));
    }
}

.business-grid-head {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    margin-bottom: 0.45rem;
}

.business-grid-head .business-calendar-grid,
.business-grid-row {
    box-sizing: border-box;
}

.business-grid-table-body {
    min-width: max-content;
}

.business-calendar-product-label,
.business-grid-product-slot {
    min-width: 220px;
}

.business-calendar-day,
.business-grid-cell-slot {
    min-width: 124px;
}

.business-cell-price-row {
    justify-content: space-between;
    align-items: center;
}

.business-cell-price-value--disabled {
    color: #8f9baa;
}

.business-cell-qty {
    width: 76px;
    max-width: 76px;
    justify-self: start;
}

.business-cell-committed {
    justify-content: flex-start;
    gap: 0.45rem;
}

.business-cell-committed strong {
    min-width: 0;
}

.business-option-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.business-option-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    margin-bottom: 0.2rem;
}

.business-option-provider {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.business-option-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 217, 94, 0.18);
    color: #ffd95e;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.business-option-flags {
    justify-items: end;
}

.business-grid-scroll {
    --business-grid-gap: 0.22rem;
    --business-product-column: 204px;
    --business-day-column: 96px;
}

.business-sticky-stack {
    margin-bottom: 0;
}

.business-grid-head .business-calendar-grid,
.business-grid-row {
    gap: var(--business-grid-gap);
    width: max-content;
}

.business-grid-head .business-calendar-grid {
    min-width: 100%;
}

.business-grid-table-body,
.business-grid-group-block,
.business-grid-rows {
    width: max-content;
    min-width: 100%;
}

.business-calendar-strip {
    padding: 0 !important;
}

.business-calendar-product-label,
.business-grid-product-slot {
    width: var(--business-product-column);
    min-width: var(--business-product-column);
    max-width: var(--business-product-column);
}

.business-calendar-day,
.business-grid-cell-slot {
    width: var(--business-day-column);
    min-width: var(--business-day-column);
    max-width: var(--business-day-column);
}

.business-calendar-product-label,
.business-calendar-day {
    min-height: 50px;
    padding: 0.34rem 0.38rem;
}

.business-calendar-day {
    justify-content: center;
}

.business-calendar-day span {
    font-size: 0.62rem;
    line-height: 1;
}

.business-calendar-day strong {
    font-size: 0.74rem;
    line-height: 1.05;
}

.business-grid-product-slot {
    min-height: 64px;
    padding: 0.45rem 0.55rem;
    gap: 0.5rem;
}

.business-grid-product-main {
    min-width: 0;
}

.business-grid-product-main strong {
    font-size: 0.82rem;
    line-height: 1.15;
}

.business-grid-cell-slot,
.business-grid-cell-slot.business-cell--na {
    min-height: 80px;
    padding: 0.28rem;
}

.business-cell {
    gap: 0.28rem;
}

.business-grid-cell-slot:not(.business-cell--na) {
    border-color: transparent !important;
    box-shadow: none !important;
}

.business-cell-price-row {
    display: grid !important;
    grid-template-columns: 14px minmax(0, 1fr) 30px;
    align-items: center !important;
    justify-items: center;
    column-gap: 0.16rem;
    width: 100%;
    min-height: 18px;
    white-space: nowrap;
    overflow: hidden;
}

.business-cell-price-value {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    color: #20344d;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-cell-qty {
    width: 100%;
    max-width: 100%;
    min-height: 27px;
    padding: 0.12rem 0.26rem;
    font-size: 0.72rem;
    border-width: 1.5px;
    border-style: solid;
    border-color: #d8e2f2;
}

.business-option-select {
    min-height: 28px;
    padding: 0.15rem 0.3rem;
    font-size: 0.72rem;
}

.business-cell-committed {
    gap: 0.3rem;
    padding: 0.22rem 0.36rem;
    font-size: 0.64rem;
}

.business-cell-committed strong {
    font-size: 0.74rem;
}

.business-option-popover {
    width: 300px;
    bottom: calc(100% + 10px);
    overflow: visible;
}

.business-option-item {
    gap: 0.55rem;
}

.business-option-head {
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
}

.business-option-provider {
    flex: 1 1 auto;
}

.business-option-badge {
    margin-left: auto;
    flex-shrink: 0;
}

.business-option-flags {
    align-self: start;
}

@media (max-width: 1320px) {
    .business-grid-scroll {
        --business-product-column: 194px;
        --business-day-column: 92px;
    }
}

@media (max-width: 1180px) {
    .business-grid-scroll {
        --business-product-column: 188px;
        --business-day-column: 88px;
    }
}

.business-grid-group-line {
    justify-content: flex-start;
}

.business-cell-status-slot {
    min-height: 20px;
    display: flex;
    align-items: center;
}

.business-cell-status-spacer {
    height: 20px;
    width: 100%;
}

.business-cell-committed {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.15rem 0.34rem;
    border-radius: 999px;
    background: #eef3f8;
    color: #36516c;
    line-height: 1;
}

.business-cell-committed svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.business-cell-committed strong {
    font-size: 0.72rem;
}

.business-cell-committed--na {
    justify-content: center;
}

.business-option-item {
    display: block;
}

.business-option-body {
    display: grid;
    gap: 0.28rem;
}

.business-option-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.business-option-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.business-option-price {
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.business-option-cutoff {
    color: #c7d4e2;
    white-space: nowrap;
}

.business-grid-table-shell,
.business-grid-scroll,
.business-grid-table-body,
.business-grid-group-block,
.business-grid-rows {
    width: 100%;
}

.business-grid-head .business-calendar-grid,
.business-grid-row {
    width: 100%;
    min-width: 100%;
}

.business-calendar-product-label,
.business-grid-product-slot,
.business-calendar-day,
.business-grid-cell-slot {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

.business-cell-qty,
.business-option-select {
    width: 100% !important;
    max-width: none !important;
}

.business-sticky-stack {
    top: 0.65rem;
}

.business-grid-toolbar {
    margin-bottom: 0;
    min-height: 34px;
    padding: 0.05rem 0;
}

.business-grid-toolbar-actions,
.business-grid-date-nav {
    gap: 0.4rem;
}

.business-grid-date-range {
    padding: 0.3rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1;
}

.business-help-button,
.business-grid-date-nav .icon-action-button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.business-calendar-day {
    min-height: 42px;
    padding: 0.25rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-calendar-day strong {
    display: block;
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.business-cell > .business-option-popover {
    display: none !important;
}

.business-floating-popover {
    position: fixed;
    z-index: 4000;
    width: min(300px, calc(100vw - 24px));
    display: none;
    pointer-events: none;
    background: #172638;
    color: #eef4fb;
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: 0 18px 38px rgba(10, 18, 28, 0.28);
}

.business-floating-popover.is-visible {
    display: grid;
    gap: 0.55rem;
}

.business-calendar-grid {
    align-items: center;
}

.business-grid-head {
    margin-bottom: 0.3rem;
}

.business-grid-table-shell {
    gap: 0.55rem;
}

.business-grid-date-nav {
    margin-left: 0 !important;
}

.business-grid-toolbar-actions {
    margin-left: auto;
    justify-content: flex-end;
}

.business-help-popover {
    right: 0;
    left: auto;
}

@media (max-width: 860px) {
    .business-help-popover {
        right: 0;
        left: auto;
    }
}

.business-option-select--native {
    display: none !important;
}

.business-floating-popover {
    pointer-events: auto;
}

.business-cell--best {
    border-color: #dbe4f2 !important;
    box-shadow: none;
}

.legend-chip-best {
    border-color: #1fb26b !important;
    background: rgba(31, 178, 107, 0.2) !important;
}

.business-option-item {
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
    border-radius: 12px;
}

.business-option-item.selected {
    background: rgba(255, 255, 255, 0.08) !important;
}

.business-option-item--best.selected {
    background: rgba(31, 178, 107, 0.2) !important;
}

.business-option-item--manual.selected {
    background: rgba(237, 137, 54, 0.2) !important;
}

.business-option-item--unavailable,
.business-option-item--unavailable:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px dashed rgba(239, 68, 68, 0.45);
    cursor: not-allowed;
    opacity: 0.72;
}

.business-option-item--unavailable .business-option-provider,
.business-option-item--unavailable .business-option-price,
.business-option-item--unavailable .business-option-cutoff {
    color: #d7dee7 !important;
}

.business-option-badge {
    background: rgba(31, 178, 107, 0.18) !important;
    color: #8ff0be !important;
}

.business-option-badge--unavailable {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #ffb6b6 !important;
}

.business-option-badge--unavailable::before {
    content: "✕";
    margin-right: 0.28rem;
}

.business-filter-shell,
.business-filter-row,
.business-filter-field,
.business-filter-card {
    overflow: visible !important;
}

.business-filter-row {
    align-items: start;
}

.business-filter-card {
    position: relative;
    padding: 0.6rem 0.7rem;
}

.business-filter-card summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.business-filter-card summary::-webkit-details-marker {
    display: none;
}

.business-filter-card-header {
    margin: 0;
    min-height: 32px;
}

.business-filter-card-header--compact {
    margin-bottom: 0;
}

.business-filter-popover {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    width: 100%;
    min-width: 240px;
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
    border: 1px solid #dbe2ff;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
    box-shadow: 0 16px 32px rgba(16, 28, 46, 0.14);
    z-index: 70;
}

.business-filter-card:not([open]) .business-filter-popover {
    display: none;
}

.business-filter-list {
    max-height: 208px;
    padding-right: 0.1rem;
}

.business-option-item,
.business-option-body,
.business-option-provider,
.business-option-head,
.business-option-meta {
    color: #eff6ff !important;
}

.business-option-provider {
    font-weight: 700;
}

.business-option-item {
    background: rgba(255, 255, 255, 0.04);
}

.business-option-item--best.selected .business-option-provider,
.business-option-item--best.selected .business-option-price,
.business-option-item--best.selected .business-option-cutoff,
.business-option-item--manual.selected .business-option-provider,
.business-option-item--manual.selected .business-option-price,
.business-option-item--manual.selected .business-option-cutoff {
    color: #ffffff !important;
}

.business-filter-shell {
    font-size: 0.92rem;
}

.business-cell--best .business-cell-qty {
    border-color: #1fb26b;
    box-shadow: inset 0 0 0 1px rgba(31, 178, 107, 0.08);
}

.business-cell--red .business-cell-qty {
    border-color: #ef4444;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.08);
}

.business-cell--orange .business-cell-qty {
    border-color: #ed8936;
    box-shadow: inset 0 0 0 1px rgba(237, 137, 54, 0.08);
}

.business-cell-gap {
    font-size: 0.64rem;
}

.business-grid-group-title {
    font-size: 0.89rem;
}

.business-calendar-product-label,
.business-calendar-day,
.business-grid-product-slot {
    border-color: transparent !important;
    box-shadow: none !important;
}

.business-calendar-product-label {
    justify-content: center !important;
    text-align: center !important;
}

.business-calendar-day {
    position: relative;
    display: grid !important;
    grid-template-rows: auto 14px;
    align-content: center;
    justify-items: center;
    row-gap: 0.1rem;
}

.business-calendar-warning,
.business-cell-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    appearance: none;
    color: #f59e0b;
    background: transparent;
    cursor: help;
    flex: 0 0 auto;
}

.business-calendar-warning svg,
.business-cell-warning svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-cell-price-actions {
    display: none;
}

.business-cell-committed--inline {
    justify-self: end;
    height: 16px;
    min-width: 28px;
    padding: 0 0.04rem;
    border-radius: 0;
    background: transparent;
    color: #5d7287;
    border: 0;
}

.business-cell-committed--inline svg {
    width: 10px;
    height: 10px;
}

.business-cell-status-slot,
.business-cell-status-spacer {
    display: none !important;
}

.business-cell-committed-count {
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1;
}

.business-calendar-missing-line {
    min-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    white-space: nowrap;
    max-width: 100%;
}

.business-calendar-missing-values {
    font-size: 0.6rem;
    line-height: 1;
    color: #f59e0b;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 18px);
}

.business-warning-popover {
    display: grid;
    gap: 0.4rem;
}

.business-warning-detail-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.business-warning-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.business-warning-detail-head strong {
    font-size: 0.82rem;
    color: #f8fbff;
    font-weight: 700;
}

.business-warning-detail-head span {
    font-size: 0.73rem;
    color: #ffd18f;
    white-space: nowrap;
}

.business-cell-warning {
    justify-self: start;
}

.business-cell-warning-spacer {
    width: 14px;
    height: 14px;
    justify-self: start;
}

.business-cell-committed-spacer {
    width: 28px;
    height: 16px;
    justify-self: end;
}

.business-filter-field-search .form-control,
.business-filter-card,
.business-filter-card .form-control,
.business-filter-option,
.business-filter-card-header strong,
.business-filter-card-header .compact-note {
    font-size: 0.84rem;
}

.business-filter-field-search .form-control {
    min-height: 40px;
}

.business-filter-card-header strong {
    font-weight: 700;
}

.business-filter-card-header .compact-note {
    color: #5d7186;
}

.business-filter-option span {
    line-height: 1.2;
}

.business-preview-action-cell {
    width: 54px;
    text-align: center;
}

.business-preview-focus-button {
    width: 34px;
    height: 34px;
}

.business-preview-focus-button.is-active {
    border-color: #8d2038;
    color: #8d2038;
    background: rgba(141, 32, 56, 0.08);
}

.business-provider-focus-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e6d6db;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdfd, #fff6f8);
    color: #173452;
    font-size: 0.82rem;
}

.business-provider-focus-bar--validation {
    border-style: dashed;
    border-color: #d8c7f1;
    background: linear-gradient(180deg, #fff9eb, #fffef8);
}

.business-provider-focus-clear {
    padding: 0;
    font-size: 0.8rem;
    text-decoration: none;
}

.business-validation-alert {
    border-width: 1px;
}

.business-validation-alert-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.business-validation-alert-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.business-validation-issue-list {
    display: grid;
    gap: 0.75rem;
    padding-left: 1rem;
}

.business-validation-issue-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.business-validation-issue-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.business-validation-issue-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.business-validation-issue-actions .btn {
    min-width: 132px;
}

.business-option-badge--unavailable::before {
    content: "\2715";
}

.business-inline-message {
    border-radius: 16px;
    border: 1px solid rgba(31, 69, 120, 0.14);
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.business-inline-message--success {
    background: rgba(230, 246, 236, 0.95);
    border-color: rgba(81, 153, 102, 0.28);
    color: #1f5f3a;
}

.business-cell--stale {
    align-content: start;
    gap: 0.35rem;
    padding: 0.8rem 0.7rem;
    text-align: left;
    background: linear-gradient(180deg, #f7f7f8, #ededf0);
    color: #5b6672;
}

.business-cell-stale-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8d2038;
}

.business-cell-stale-copy,
.business-cell-stale-hint,
.business-cell-stale-qty {
    font-size: 0.76rem;
    line-height: 1.2;
}

.business-cell-stale-remove {
    align-self: flex-start;
    padding: 0;
    text-decoration: none;
}

.business-cell-stale-inline {
    margin-top: 0.4rem;
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.45rem;
    border-radius: 12px;
    background: rgba(93, 102, 114, 0.08);
    color: #55606d;
}

.business-cell-stale-inline-label {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8d2038;
}

.business-grid-empty-state {
    padding: 1rem;
    color: #5d7186;
    font-size: 0.92rem;
}

.business-grid-product-slot {
    position: relative;
    min-height: 82px;
    display: block;
    padding: 0.9rem 0.85rem 0.7rem;
}

.business-grid-row--validation .business-grid-product-slot {
    background: linear-gradient(180deg, #fff9eb, #ffffff);
    border-radius: 22px;
}

.business-grid-validation-chip {
    margin-left: 0.5rem;
}

.business-grid-product-name {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 1.35rem 0 1.25rem;
    line-height: 1.14;
    font-size: 0.97rem;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.business-grid-lens-corner,
.business-rank-icon {
    position: absolute;
    top: 0.45rem;
}

.business-grid-lens-corner {
    right: 0.45rem;
    bottom: auto;
    width: 28px;
    height: 28px;
    box-shadow: none;
}

.business-grid-lens-corner svg {
    width: 15px;
    height: 15px;
}

.business-rank-icon {
    left: 0.45rem;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.business-rank-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-rank-icon-gold {
    color: #b88512;
    background: rgba(255, 214, 92, 0.2);
}

.business-rank-icon-silver {
    color: #708195;
    background: rgba(192, 203, 214, 0.22);
}

.business-rank-icon-bronze {
    color: #9b5a2d;
    background: rgba(218, 168, 129, 0.24);
}

.business-cell-price-row strong {
    font-size: 0.9rem !important;
}

.business-help-note {
    margin-top: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(215, 226, 240, 0.16);
    color: #c8d5e3;
    font-size: 0.77rem;
    line-height: 1.35;
}

.business-grid-product-slot {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    min-height: 78px;
    padding: 0.72rem 0.55rem 0.52rem !important;
}

.business-grid-product-name {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 1.55rem 0 1.35rem !important;
    line-height: 1.08;
    font-size: 0.89rem !important;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.business-grid-lens-corner,
.business-rank-icon {
    top: 0.38rem !important;
}

.business-grid-lens-corner {
    right: 0.38rem !important;
    width: 26px;
    height: 26px;
}

.business-rank-icon {
    left: 0.38rem !important;
    width: 22px;
    height: 22px;
}

.business-rank-icon svg,
.business-grid-lens-corner svg {
    width: 13px;
    height: 13px;
}

.business-cell-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}

.business-cell-price-row strong {
    font-size: 0.84rem !important;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.business-help-item-trophy {
    align-items: center;
}

.business-help-trophy {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    flex: 0 0 auto;
}

.business-help-trophy svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-calendar-product-label,
.business-calendar-day {
    min-height: 46px;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
}

.business-calendar-product-label {
    align-items: center !important;
}

.business-calendar-day {
    align-items: center !important;
    justify-content: center !important;
}

.business-filter-row {
    align-items: stretch;
}

.business-filter-field.business-filter-field-search {
    display: flex;
    align-items: stretch;
}

.business-filter-field-search .form-control {
    min-height: 54px !important;
    height: 100%;
    align-self: stretch;
    margin: 0;
}

.business-preview-action-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.business-cell-committed {
    border: 0;
    cursor: pointer;
}

.business-cell-committed:focus-visible {
    outline: 2px solid rgba(31, 178, 107, 0.35);
    outline-offset: 2px;
}

.business-cell > .business-committed-popover {
    display: none !important;
}

.business-option-popover[hidden],
.business-committed-popover[hidden] {
    display: none !important;
}

.business-committed-detail-item {
    display: grid;
    gap: 0.28rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.business-committed-detail-head,
.business-committed-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.business-committed-detail-head strong {
    font-size: 0.82rem;
    color: #f8fbff;
    font-weight: 700;
}

.business-committed-detail-head span,
.business-committed-detail-meta span {
    font-size: 0.73rem;
    color: #c5d3e2;
    white-space: nowrap;
}

/* Final overrides for business grid header/product trigger/confirm button */
.business-preview-confirm-button {
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #c41230, #a20d28) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(164, 13, 40, 0.22);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.business-preview-confirm-button:hover,
.business-preview-confirm-button:focus-visible {
    background: linear-gradient(135deg, #d31535, #af102b) !important;
    color: #fff !important;
    box-shadow: 0 18px 34px rgba(164, 13, 40, 0.28);
}

.business-preview-confirm-button:disabled {
    background: linear-gradient(135deg, #d8a9b2, #c58d98) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none;
    opacity: 0.9;
}

.business-preview-confirm-button span {
    white-space: nowrap;
}

.business-calendar-product-label,
.business-calendar-day {
    position: relative;
    display: grid !important;
    grid-template-rows: auto 14px;
    align-content: center;
    justify-items: center;
    row-gap: 0.1rem;
    min-height: 46px;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
}

.business-calendar-product-label {
    text-align: center !important;
}

.business-calendar-product-label::after {
    content: "";
    display: block;
    width: 100%;
    height: 14px;
}

.business-calendar-product-label > span {
    display: block;
    line-height: 1;
}

.business-calendar-missing-values {
    color: #f59e0b !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600;
}

.business-grid-product-slot {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    min-height: 78px;
    padding: 0.72rem 0.55rem 0.52rem !important;
}

.business-grid-product-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    cursor: zoom-in;
}

.business-grid-product-trigger:focus-visible {
    outline: 2px solid rgba(196, 18, 48, 0.18);
    outline-offset: 4px;
    border-radius: 12px;
}

.business-grid-product-name {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 0.85rem !important;
    line-height: 1.08;
    font-size: 0.86rem !important;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

.business-rank-icon {
    top: 0.38rem !important;
    left: 0.38rem !important;
    width: 22px;
    height: 22px;
}

.business-rank-icon svg {
    width: 13px;
    height: 13px;
}

/* Business portal compact filters + blue visual identity */
.business-shell .business-filter-shell,
.business-shell .business-preview-panel,
.business-shell .business-grid-table-shell,
.business-shell .business-provider-focus-bar {
    background: linear-gradient(180deg, #ffffff, #f4f8fd);
    border-color: #d7e3f0;
}

.business-shell .business-filter-shell--compact {
    padding: 0.75rem;
}

.business-shell .business-filter-row {
    gap: 0.55rem;
    align-items: stretch;
}

.business-shell .business-filter-field {
    flex: 1 1 180px;
    min-width: 180px;
}

.business-shell .business-filter-field-search {
    flex: 1.45 1 260px;
    min-width: 260px;
}

.business-shell .business-filter-card--compact {
    flex: 1 1 172px;
    min-width: 172px;
    padding: 0.58rem;
    border-color: #d6e4f2;
    background: linear-gradient(180deg, #ffffff, #f6faff);
}

.business-shell .business-filter-card-header {
    gap: 0.35rem;
}

.business-shell .business-filter-card-header strong,
.business-shell .business-filter-card-header .compact-note,
.business-shell .business-filter-option,
.business-shell .business-filter-field-search .form-control,
.business-shell .business-filter-card .form-control {
    font-size: 0.8rem;
}

.business-shell .business-filter-card-header strong {
    color: #1b4f82;
}

.business-shell .business-filter-card-header .compact-note,
.business-shell .business-filter-option {
    color: #5f7690;
}

.business-shell .business-filter-field-search .form-control {
    min-height: 36px !important;
    border-color: #d1deeb;
    background: #fdfefe;
}

.business-shell .business-filter-card .form-control {
    min-height: 32px;
    border-color: #d1deeb;
}

.business-shell .business-preview-title,
.business-shell .business-grid-group-title,
.business-shell .business-help-popover-title,
.business-shell .business-option-popover-title,
.business-shell .business-warning-detail-head strong,
.business-shell .page-header h1 {
    color: #1b4f82;
}

.business-shell .business-grid-date-range,
.business-shell .business-calendar-product-label,
.business-shell .business-calendar-day strong,
.business-shell .business-grid-product-name,
.business-shell .business-cell-price-value {
    color: #173a60;
}

.business-shell .business-calendar-strip {
    background: linear-gradient(180deg, #fdfefe, #f4f8fd);
    border-color: #d7e3f0;
}

.business-shell .business-calendar-day span,
.business-shell .business-help-item small,
.business-shell .business-help-note,
.business-shell .business-grid-empty-state,
.business-shell .business-provider-focus-bar,
.business-shell .business-preview-collapsed-item span {
    color: #69829b;
}

.business-shell .business-help-popover,
.business-shell .business-option-popover,
.business-shell .business-warning-popover,
.business-shell .business-committed-popover {
    background: linear-gradient(180deg, #183554, #10253b);
    border-color: rgba(189, 215, 241, 0.18);
    box-shadow: 0 20px 48px rgba(14, 30, 48, 0.3);
}

.business-shell .business-option-item {
    background: rgba(255, 255, 255, 0.05);
}

.business-shell .business-help-button,
.business-shell .icon-action-button,
.business-shell .business-preview-note-button,
.business-shell .business-preview-focus-button {
    border-color: #ccdced;
    color: #1b4f82;
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.business-shell .business-help-button:hover,
.business-shell .icon-action-button:hover,
.business-shell .business-preview-note-button:hover,
.business-shell .business-preview-focus-button:hover {
    border-color: #b3cbe4;
    background: #edf5ff;
    color: #143a61;
}

.business-shell .business-preview-note-button.has-note {
    color: #1f70b6;
    border-color: #8ec0ec;
    background: #edf6ff;
}

.business-shell .business-preview-focus-button.is-active {
    border-color: #2f6ca7;
    color: #1d4f82;
    background: rgba(47, 108, 167, 0.1);
}

.business-shell .business-preview-confirm-button {
    background: linear-gradient(135deg, #2f6ca7, #1f4f7d) !important;
    box-shadow: 0 14px 30px rgba(30, 79, 125, 0.24);
}

.business-shell .business-preview-confirm-button:hover,
.business-shell .business-preview-confirm-button:focus-visible {
    background: linear-gradient(135deg, #3678b8, #215886) !important;
    box-shadow: 0 18px 34px rgba(30, 79, 125, 0.3);
}

.business-shell .business-preview-confirm-button:disabled {
    background: linear-gradient(135deg, #b4c6d8, #9fb7cd) !important;
}

@media (max-width: 980px) {
    .catalog-showcase {
        grid-template-columns: 1fr;
    }

    .catalog-filter-header,
    .catalog-filter-toolbar {
        display: grid;
        align-items: stretch;
    }

    .catalog-filter-summary,
    .catalog-filter-status {
        text-align: left;
        min-width: 0;
    }

    .catalog-filter-actions {
        justify-content: flex-start;
    }

    .catalog-banner-carousel,
    .catalog-banner-slide {
        min-height: 240px;
    }

    .catalog-banner-carousel--compact,
    .catalog-banner-carousel--compact .catalog-banner-slide {
        min-height: 220px;
    }
}

@media (max-width: 860px) {
    .catalog-showcase-heading {
        align-items: center;
    }

    .catalog-showcase-copy,
    .catalog-overview-panel,
    .catalog-banner-carousel,
    .catalog-banner-slide,
    .catalog-filter-panel,
    .catalog-product-card-v3 {
        border-radius: 22px;
    }

    .catalog-product-form-row-v3 {
        grid-template-columns: 1fr;
    }

    .catalog-filter-header,
    .catalog-product-heading,
    .catalog-product-price-v3,
    .catalog-filter-actions,
    .catalog-product-actions-v3 {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-product-note,
    .catalog-filter-summary {
        text-align: left;
        max-width: none;
    }

    .catalog-product-badges {
        right: 1.6rem;
    }
}

@media (max-width: 640px) {
    .catalog-showcase-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-help-popover {
        left: 0;
        right: auto;
        min-width: min(240px, calc(100vw - 4rem));
    }
}

/* Rebranding V1: shared page surfaces and representative screens */
.workspace-page {
    display: grid;
    gap: 1rem;
}

.workspace-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 28px;
    border: 1px solid rgba(20, 35, 50, 0.08);
    box-shadow: 0 22px 64px rgba(16, 29, 41, 0.09);
    overflow: hidden;
    position: relative;
}

.workspace-page-hero::before {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 72%);
    pointer-events: none;
}

.workspace-page-hero > div {
    position: relative;
    z-index: 1;
}

.workspace-page-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.workspace-page-hero h1 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.workspace-page-hero p {
    margin-bottom: 0;
    max-width: 62ch;
    line-height: 1.55;
}

.workspace-page-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.workspace-page-stat {
    display: grid;
    gap: 0.24rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.workspace-page-stat span,
.workspace-page-stat small {
    line-height: 1.25;
}

.workspace-page-stat span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workspace-page-stat strong {
    font-size: 1.5rem;
    line-height: 1;
}

.workspace-page-stat small {
    font-size: 0.8rem;
}

.workspace-section-card {
    border-radius: 26px;
    border: 1px solid rgba(20, 35, 50, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 18px 54px rgba(16, 29, 41, 0.08);
}

.workspace-page .alert {
    border-radius: 22px;
    border-width: 1px;
    box-shadow: 0 12px 32px rgba(16, 29, 41, 0.05);
    padding: 0.95rem 1rem;
}

.workspace-page .btn-primary {
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(24, 40, 56, 0.12);
}

.workspace-page .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.72);
}

.workspace-page .form-control,
.workspace-page .form-select {
    border-radius: 14px;
}

.workspace-page-consumer .workspace-page-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 80, 0.26), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 243, 0.96));
}

.workspace-page-consumer .workspace-page-kicker,
.workspace-page-consumer .catalog-panel-kicker,
.workspace-page-consumer .catalog-card-kicker {
    color: #b11d35;
}

.workspace-page-consumer .workspace-page-hero h1,
.workspace-page-consumer .workspace-page-stat strong,
.workspace-page-consumer .catalog-filter-header h2,
.workspace-page-consumer .catalog-product-heading h3 {
    color: #7f1428;
}

.workspace-page-consumer .workspace-page-hero p,
.workspace-page-consumer .workspace-page-stat small,
.workspace-page-consumer .catalog-filter-header span,
.workspace-page-consumer .catalog-product-description {
    color: #64545b;
}

.workspace-page-consumer .catalog-strip-section,
.workspace-page-consumer .catalog-filter-panel,
.workspace-page-consumer .catalog-product-card-v3,
.workspace-page-consumer .image-modal {
    border-color: rgba(185, 29, 53, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 249, 0.98));
}

.workspace-page-consumer .catalog-banner-carousel {
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.workspace-page-consumer .catalog-product-card-v3 {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.workspace-page-consumer .catalog-product-card-v3:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(145, 26, 47, 0.16);
    border-color: rgba(185, 29, 53, 0.2);
}

.workspace-page-consumer .catalog-product-badge {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(185, 29, 53, 0.14);
    color: #8e1a2f;
}

.workspace-page-consumer .catalog-product-badge.muted,
.workspace-page-consumer .catalog-product-note,
.workspace-page-consumer .catalog-detail-link {
    color: #9c4758;
}

.workspace-page-business .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(95, 141, 210, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.96));
}

.workspace-page-business .workspace-page-kicker,
.workspace-page-business .business-grid-date-range,
.workspace-page-business .business-preview-title {
    color: #1c5185;
}

.workspace-page-business .workspace-page-hero h1,
.workspace-page-business .workspace-page-stat strong {
    color: #163d66;
}

.workspace-page-business .workspace-page-hero p,
.workspace-page-business .workspace-page-stat small {
    color: #5f7690;
}

.workspace-page-business .business-preview-panel,
.workspace-page-business .business-filter-shell,
.workspace-page-business .business-grid-table-shell,
.workspace-page-business .image-modal,
.workspace-page-business .business-note-modal {
    border-color: rgba(28, 81, 133, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 253, 0.98));
    box-shadow: 0 22px 60px rgba(20, 56, 91, 0.08);
}

.workspace-page-business .business-validation-alert {
    border-color: rgba(210, 166, 79, 0.26);
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 249, 236, 0.98));
}

.workspace-page-business .business-preview-confirm-button {
    box-shadow: 0 16px 32px rgba(30, 79, 125, 0.22);
}

.workspace-page-business .business-grid-toolbar,
.workspace-page-business .business-filter-row {
    gap: 0.7rem;
}

.workspace-page-admin .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(214, 181, 112, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.96));
}

.workspace-page-admin .workspace-page-kicker,
.workspace-page-admin .metric-title {
    color: #7b5e37;
}

.workspace-page-admin .workspace-page-hero h1,
.workspace-page-admin .workspace-page-stat strong,
.workspace-page-admin .metric-value {
    color: #4f3d29;
}

.workspace-page-admin .workspace-page-hero p,
.workspace-page-admin .workspace-page-stat small {
    color: #6d6254;
}

.workspace-page-admin .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.workspace-page-admin .metric-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(79, 61, 41, 0.08);
    padding: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 239, 0.98));
    box-shadow: 0 20px 54px rgba(37, 27, 16, 0.08);
}

.workspace-page-admin .metric-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #b7905b 0%, #d7bd8f 100%);
}

.workspace-page-admin .metric-title {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workspace-page-admin .metric-value {
    margin-top: 0.28rem;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.workspace-page-admin .operations-queue-grid > .card-panel {
    border-color: rgba(79, 61, 41, 0.08);
}

.admin-dashboard-page .stats-grid {
    margin-bottom: 1rem;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-dashboard-panel {
    display: grid;
    gap: 1rem;
}

.admin-dashboard-panel-wide {
    grid-column: 1 / -1;
}

.admin-dashboard-command {
    gap: 1.15rem;
    color: #e6edf5;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 26%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.1), transparent 28%),
        linear-gradient(155deg, #162332 0%, #0f1b2a 100%);
    border-color: rgba(125, 159, 204, 0.18);
    box-shadow: 0 28px 60px rgba(11, 23, 38, 0.22);
}

.admin-dashboard-command .admin-section-kicker,
.admin-dashboard-command .compact-note,
.admin-dashboard-command p,
.admin-dashboard-command small,
.admin-dashboard-command span {
    color: rgba(222, 231, 243, 0.78);
}

.admin-dashboard-command h4,
.admin-dashboard-command strong {
    color: #f5f8fc;
}

.admin-dashboard-command-top {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: flex-start;
}

.admin-dashboard-command-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.admin-dashboard-command-actions label {
    min-width: 138px;
    display: grid;
    gap: 0.35rem;
}

.admin-dashboard-command-actions label span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-dashboard-command-actions .form-select {
    border-color: rgba(130, 156, 196, 0.28);
    background: rgba(14, 25, 38, 0.72);
    color: #f5f8fc;
}

.admin-dashboard-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(260px, 0.95fr);
    gap: 1rem;
    align-items: stretch;
}

.admin-dashboard-command-chart-shell,
.admin-dashboard-command-summary {
    border-radius: 24px;
    border: 1px solid rgba(130, 156, 196, 0.16);
    background: rgba(9, 18, 29, 0.38);
    padding: 1rem;
}

.admin-dashboard-command-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
}

.admin-dashboard-command-empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(222, 231, 243, 0.68);
}

.admin-dashboard-line-chart-wrap {
    display: grid;
    gap: 0.65rem;
}

.admin-dashboard-line-chart {
    width: 100%;
    height: 280px;
    overflow: visible;
}

.admin-dashboard-grid-line {
    stroke: rgba(171, 191, 219, 0.16);
    stroke-width: 0.5;
}

.admin-dashboard-line {
    fill: none;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-dashboard-line-business {
    stroke: #f6b14f;
}

.admin-dashboard-line-consumer {
    stroke: #5fb6ff;
}

.admin-dashboard-point {
    stroke: rgba(9, 18, 29, 0.95);
    stroke-width: 0.45;
}

.admin-dashboard-point-consumer {
    fill: #5fb6ff;
}

.admin-dashboard-point-business {
    fill: #f6b14f;
}

.admin-dashboard-line-axis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
    gap: 0.45rem;
    font-size: 0.74rem;
    color: rgba(222, 231, 243, 0.62);
    text-align: center;
}

.admin-dashboard-command-summary {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

.admin-dashboard-command-stat {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(130, 156, 196, 0.14);
    background: linear-gradient(180deg, rgba(18, 31, 47, 0.92), rgba(10, 19, 30, 0.88));
}

.admin-dashboard-command-stat span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-dashboard-command-stat strong {
    font-size: 1.32rem;
    line-height: 1.05;
}

.admin-dashboard-command-stat small {
    font-size: 0.8rem;
}

.admin-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-dashboard-head h4 {
    margin-bottom: 0.2rem;
}

.admin-dashboard-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #6f6456;
}

.admin-dashboard-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    margin-right: 0.35rem;
}

.admin-dashboard-dot-business {
    background: linear-gradient(180deg, #7c5430 0%, #b98a54 100%);
}

.admin-dashboard-dot-consumer {
    background: linear-gradient(180deg, #d2b27b 0%, #efd6a9 100%);
}

.admin-dashboard-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    gap: 0.7rem;
    min-height: 260px;
    align-items: end;
}

.admin-dashboard-chart-compact {
    min-height: 0;
}

.admin-dashboard-chart-column {
    display: grid;
    gap: 0.45rem;
    justify-items: center;
}

.admin-dashboard-chart-stack {
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    gap: 0.22rem;
    padding: 0.35rem 0.35rem 0.45rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250, 247, 242, 0.96), rgba(243, 237, 227, 0.96));
    border: 1px solid rgba(79, 61, 41, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-dashboard-chart-bar {
    display: block;
    width: 100%;
    border-radius: 999px;
    min-height: 10px;
}

.admin-dashboard-chart-bar-business {
    background: linear-gradient(180deg, #7b5532 0%, #b99163 100%);
}

.admin-dashboard-chart-bar-consumer {
    background: linear-gradient(180deg, #d7bc89 0%, #f0ddba 100%);
}

.admin-dashboard-chart-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #6b5e4d;
}

.admin-dashboard-chart-value {
    font-size: 0.75rem;
    color: #8a7965;
}

.admin-dashboard-channel-grid,
.admin-dashboard-bars {
    display: grid;
    gap: 0.85rem;
}

.admin-dashboard-channel-card {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(79, 61, 41, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 239, 0.98));
}

.admin-dashboard-channel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-dashboard-channel-top h5,
.admin-dashboard-bar-labels strong {
    margin: 0;
    color: #4f3d29;
}

.admin-dashboard-channel-top span,
.admin-dashboard-channel-meta,
.admin-dashboard-bar-labels span {
    color: #7a6b58;
    font-size: 0.84rem;
}

.admin-dashboard-channel-top strong {
    color: #4f3d29;
    font-size: 1.05rem;
}

.admin-dashboard-share-track,
.admin-dashboard-bar-track {
    position: relative;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(96, 78, 53, 0.09);
    overflow: hidden;
}

.admin-dashboard-share-track span,
.admin-dashboard-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.admin-dashboard-share-fill-business {
    background: linear-gradient(90deg, #825632 0%, #bc9468 100%);
}

.admin-dashboard-share-fill-consumer {
    background: linear-gradient(90deg, #d0b17d 0%, #f0dbb5 100%);
}

.admin-dashboard-channel-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.admin-dashboard-bar-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 2fr) auto;
    gap: 0.8rem;
    align-items: center;
}

.admin-dashboard-bar-row-rich {
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 2fr) auto;
}

.admin-dashboard-bar-labels {
    display: grid;
    gap: 0.18rem;
}

.admin-dashboard-bar-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #5a4937;
    white-space: nowrap;
}

.admin-dashboard-bar-fill {
    background: linear-gradient(90deg, #bd976c 0%, #e1c79d 100%);
}

.admin-dashboard-bar-fill-accent {
    background: linear-gradient(90deg, #b0814d 0%, #d7bb8a 100%);
}

.admin-dashboard-bar-fill-neutral {
    background: linear-gradient(90deg, #7a8ca0 0%, #c2d0dc 100%);
}

.admin-dashboard-bar-fill-warm {
    background: linear-gradient(90deg, #7a5530 0%, #c49a68 100%);
}

.admin-dashboard-page .metric-card,
.admin-dashboard-surface {
    color: #e6edf5;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(155deg, #162332 0%, #0f1b2a 100%);
    border-color: rgba(125, 159, 204, 0.18);
    box-shadow: 0 28px 60px rgba(11, 23, 38, 0.22);
}

.admin-dashboard-page .metric-card::before {
    background: linear-gradient(90deg, #5fb6ff 0%, #f6b14f 100%);
}

.admin-dashboard-page .metric-title,
.admin-dashboard-page .metric-card .compact-note,
.admin-dashboard-surface .admin-section-kicker,
.admin-dashboard-surface .compact-note,
.admin-dashboard-surface p,
.admin-dashboard-surface small,
.admin-dashboard-surface span {
    color: rgba(222, 231, 243, 0.78);
}

.admin-dashboard-page .metric-value,
.admin-dashboard-surface h4,
.admin-dashboard-surface h5,
.admin-dashboard-surface strong {
    color: #f5f8fc;
}

.admin-dashboard-surface {
    gap: 1rem;
}

.admin-dashboard-surface .form-select {
    border-color: rgba(130, 156, 196, 0.28);
    background: rgba(14, 25, 38, 0.72);
    color: #f5f8fc;
}

@media (max-width: 980px) {
    .workspace-page-hero {
        grid-template-columns: 1fr;
    }

    .workspace-page-summary {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-command-top,
    .admin-dashboard-head,
    .admin-dashboard-channel-top,
    .admin-dashboard-channel-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-dashboard-command-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-command-actions {
        justify-content: flex-start;
    }

    .admin-dashboard-bar-row {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-bar-value {
        justify-self: start;
    }

    .admin-dashboard-filter-group {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .workspace-page-hero,
    .workspace-section-card,
    .workspace-page-admin .metric-card {
        border-radius: 22px;
    }

    .workspace-page-hero {
        padding: 1.1rem;
    }

    .workspace-page-stat {
        padding: 0.9rem;
    }
}

.admin-dashboard-control,
.admin-dashboard-filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-dashboard-control {
    min-width: 138px;
    flex-direction: column;
}

.admin-dashboard-control span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-dashboard-surface .admin-dashboard-command-chart-shell,
.admin-dashboard-surface .admin-dashboard-command-summary,
.admin-dashboard-surface .admin-dashboard-channel-card,
.admin-dashboard-surface .admin-dashboard-donut-shell {
    border-radius: 24px;
    border: 1px solid rgba(130, 156, 196, 0.16);
    background: rgba(9, 18, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-dashboard-surface .admin-dashboard-chart-stack {
    background: linear-gradient(180deg, rgba(18, 31, 47, 0.92), rgba(10, 19, 30, 0.88));
    border-color: rgba(130, 156, 196, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-dashboard-surface .admin-dashboard-chart-label,
.admin-dashboard-surface .admin-dashboard-chart-value,
.admin-dashboard-surface .admin-dashboard-channel-top span,
.admin-dashboard-surface .admin-dashboard-channel-meta,
.admin-dashboard-surface .admin-dashboard-bar-labels span {
    color: rgba(222, 231, 243, 0.66);
}

.admin-dashboard-surface .admin-dashboard-channel-top h5,
.admin-dashboard-surface .admin-dashboard-bar-labels strong,
.admin-dashboard-surface .admin-dashboard-bar-value,
.admin-dashboard-surface .admin-dashboard-channel-top strong {
    color: #f5f8fc;
}

.admin-dashboard-surface .admin-dashboard-share-track,
.admin-dashboard-surface .admin-dashboard-bar-track {
    background: rgba(171, 191, 219, 0.14);
}

.admin-dashboard-donut-wrap {
    display: grid;
    grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: center;
}

.admin-dashboard-donut-shell {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 1rem;
}

.admin-dashboard-donut {
    width: min(100%, 260px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 1.1rem;
    box-shadow: 0 24px 50px rgba(7, 16, 27, 0.25);
}

.admin-dashboard-donut-hole {
    width: 64%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    gap: 0.22rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(9, 18, 29, 0.96), rgba(15, 27, 42, 0.94));
    border: 1px solid rgba(130, 156, 196, 0.16);
}

.admin-dashboard-donut-hole span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-dashboard-donut-hole strong {
    font-size: 1.15rem;
    line-height: 1.1;
}

.admin-dashboard-donut-legend {
    display: grid;
    gap: 0.8rem;
}

.admin-dashboard-donut-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(130, 156, 196, 0.14);
    background: rgba(9, 18, 29, 0.32);
}

.admin-dashboard-donut-item-head,
.admin-dashboard-donut-item-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: center;
}

.admin-dashboard-donut-swatch {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    display: inline-block;
    margin-right: 0.5rem;
    flex: none;
}

.admin-dashboard-donut-item-head strong {
    display: flex;
    align-items: center;
    margin: 0;
}

.admin-dashboard-donut-item-meta span {
    color: rgba(222, 231, 243, 0.72);
    font-size: 0.84rem;
}

@media (max-width: 980px) {
    .admin-dashboard-donut-wrap {
        grid-template-columns: 1fr;
    }
}

/* Rebranding V2: operations and dense CRUD screens */
.workspace-page-operations .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(44, 177, 168, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 251, 248, 0.97));
}

.workspace-page-operations .workspace-page-kicker,
.workspace-page-operations .stat-label,
.workspace-page-operations .page-header p {
    color: #2a6c6a;
}

.workspace-page-operations .workspace-page-hero h1,
.workspace-page-operations .workspace-page-stat strong,
.workspace-page-operations .stat-value,
.workspace-page-operations .page-header h1 {
    color: #154f53;
}

.workspace-page-operations .workspace-page-hero p,
.workspace-page-operations .workspace-page-stat small,
.workspace-page-operations .compact-note {
    color: #597679;
}

.workspace-page-operations .page-header,
.workspace-page-operations .card-panel,
.workspace-page-operations .operations-status-panel {
    border-color: rgba(21, 79, 83, 0.09);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 251, 250, 0.98));
    box-shadow: 0 20px 56px rgba(16, 54, 58, 0.08);
}

.workspace-page-operations .stat-card {
    border-radius: 22px;
    border-color: rgba(21, 79, 83, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 248, 0.98));
    box-shadow: 0 18px 46px rgba(16, 54, 58, 0.08);
}

.workspace-page-operations .operations-status-panel {
    background: linear-gradient(180deg, #f2fbfa, #ebf7f6);
}

.workspace-page-operations .toolbar {
    gap: 0.75rem;
}

.workspace-page-operations .toolbar > div {
    min-width: 170px;
}

.workspace-page-operations .table thead th {
    background: #edf8f7;
    color: #21585b;
    border-bottom-color: #d2e8e6;
}

.workspace-page-operations .btn-primary {
    background: linear-gradient(135deg, #17706d, #115755);
    border-color: transparent;
}

.workspace-page-operations .btn-primary:hover,
.workspace-page-operations .btn-primary:focus {
    background: linear-gradient(135deg, #19807c, #13605e);
}

.workspace-page-operations .btn-success {
    background: linear-gradient(135deg, #1d8a5a, #166a44);
    border-color: transparent;
}

.workspace-page-operations .btn-outline-secondary,
.workspace-page-operations .btn-outline-primary {
    background: rgba(255, 255, 255, 0.75);
}

.admin-products-page .page-header,
.admin-products-page .workspace-section-card {
    border-color: rgba(79, 61, 41, 0.09);
}

.admin-shell .page-header {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.admin-products-page .page-header {
    background:
        radial-gradient(circle at top right, rgba(214, 181, 112, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 239, 0.98));
}

.admin-products-page .page-header h1,
.admin-products-page .admin-section-head h4,
.admin-products-page .admin-section-head h5 {
    color: #4f3d29;
}

.admin-products-page .page-header p,
.admin-products-page .admin-section-note,
.admin-products-page .compact-note {
    color: #6d6254;
}

.admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-section-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a7b4c;
}

.admin-section-head h4,
.admin-section-head h5 {
    margin-bottom: 0;
}

.admin-section-note {
    font-size: 0.84rem;
    line-height: 1.4;
    max-width: 32ch;
    text-align: right;
}

.admin-products-page .admin-products-form-panel,
.admin-products-page .admin-products-gallery-panel,
.admin-products-page .admin-products-list-panel,
.admin-products-page .import-result-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 239, 0.98));
    box-shadow: 0 20px 56px rgba(37, 27, 16, 0.08);
}

.admin-products-page .form-grid {
    gap: 1rem;
}

.admin-product-feature-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.admin-product-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 0.95rem;
    border: 1px solid #d9cfbf;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #5b4630;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.admin-product-feature-chip:hover {
    border-color: #b7905b;
    box-shadow: 0 10px 24px rgba(79, 61, 41, 0.1);
    transform: translateY(-1px);
}

.admin-product-feature-chip input {
    margin: 0;
    accent-color: #b7905b;
}

.admin-product-feature-chip.is-selected {
    border-color: rgba(183, 144, 91, 0.68);
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.98), rgba(244, 233, 214, 0.96));
    box-shadow: 0 12px 28px rgba(183, 144, 91, 0.16);
}

.admin-products-page .form-control,
.admin-products-page .form-select {
    border-radius: 14px;
    border-color: #d8d1c7;
    background: rgba(255, 255, 255, 0.96);
}

.admin-products-page .form-control:focus,
.admin-products-page .form-select:focus {
    border-color: #b7905b;
    box-shadow: 0 0 0 0.2rem rgba(183, 144, 91, 0.12);
}

.admin-products-page .provider-admin-toolbar .btn,
.admin-products-page .provider-admin-toolbar .icon-action-button {
    min-height: 36px;
}

.admin-products-upload-input {
    display: none;
}

.admin-products-upload-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 0.78rem 1.1rem;
    border: 1px dashed rgba(183, 144, 91, 0.58);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(246, 237, 223, 0.96));
    color: #5b4630;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-products-upload-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(79, 61, 41, 0.12);
    border-color: rgba(167, 34, 41, 0.48);
}

.admin-products-upload-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-products-upload-title::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: rgba(167, 34, 41, 0.1);
    color: #a72229;
    font-size: 0.9rem;
    line-height: 1;
}

.admin-products-upload-trigger-sm {
    min-height: 36px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
}

.admin-products-page .table thead th {
    background: #f4eee6;
    color: #5b4630;
    border-bottom-color: #e2d6c7;
}

.admin-products-page .table tbody td {
    vertical-align: middle;
}

.admin-products-page .table td:last-child {
    min-width: 160px;
}

.admin-products-page .badge.text-bg-primary {
    background: linear-gradient(135deg, #b7905b, #947247) !important;
}

.admin-products-gallery-item {
    display: grid;
    gap: 0.45rem;
    justify-items: start;
}

.list-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.list-pagination-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.list-pagination-status {
    font-size: 0.92rem;
    color: #6d6254;
    font-weight: 600;
}

@media (max-width: 980px) {
    .admin-section-head {
        flex-direction: column;
    }

    .admin-section-note {
        max-width: none;
        text-align: left;
    }

    .user-photo-picker {
        align-items: flex-start;
    }

    .product-offer-preview {
        grid-template-columns: 1fr;
    }

    .product-upload-preview-grid {
        grid-template-columns: 1fr;
    }

    .product-upload-preview-card {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .workspace-page-operations .toolbar > div {
        min-width: 0;
        width: 100%;
    }
}

/* Rebranding V3: admin CRUDs, consumer journey and business tracking */
.workspace-empty-state {
    display: grid;
    place-items: center;
    min-height: 140px;
    text-align: center;
    color: #617383;
}

.admin-crud-page .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(214, 181, 112, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.97));
}

.admin-crud-page .workspace-page-kicker,
.admin-crud-page .admin-section-kicker,
.admin-crud-page .metric-title {
    color: #8a6a3e;
}

.admin-crud-page .workspace-page-hero h1,
.admin-crud-page .workspace-page-stat strong,
.admin-crud-page .admin-section-head h4 {
    color: #4f3d29;
}

.admin-crud-page .workspace-page-hero p,
.admin-crud-page .workspace-page-stat small,
.admin-crud-page .admin-section-note,
.admin-crud-page .compact-note {
    color: #6f6456;
}

.admin-crud-page .card-panel,
.admin-crud-page .import-result-panel {
    border-color: rgba(79, 61, 41, 0.09);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 239, 0.98));
    box-shadow: 0 20px 56px rgba(37, 27, 16, 0.08);
}

.admin-crud-page .form-grid {
    gap: 1rem;
}

.commercial-condition-group {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.98));
    border-color: rgba(79, 61, 41, 0.1) !important;
}

.commercial-condition-group-row + .commercial-condition-group-row {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(79, 61, 41, 0.14);
}

.admin-crud-page .form-control,
.admin-crud-page .form-select {
    border-radius: 14px;
    border-color: #d9d1c5;
    background: rgba(255, 255, 255, 0.96);
}

.admin-crud-page .form-control:focus,
.admin-crud-page .form-select:focus {
    border-color: #b7905b;
    box-shadow: 0 0 0 0.2rem rgba(183, 144, 91, 0.12);
}

.admin-crud-page .provider-admin-toolbar .btn,
.admin-crud-page .provider-admin-toolbar .icon-action-button {
    min-height: 36px;
}

.admin-crud-page .table-responsive,
.consumer-journey-page .table-responsive,
.business-ocs-page .table-responsive {
    border-radius: 20px;
    border: 1px solid rgba(27, 43, 58, 0.08);
    background: rgba(255, 255, 255, 0.92);
    overflow: auto;
}

.admin-crud-page .table,
.consumer-journey-page .table,
.business-ocs-page .table {
    margin-bottom: 0;
}

.admin-crud-page .table thead th {
    background: #f4eee6;
    color: #5b4630;
    border-bottom-color: #e2d6c7;
}

.admin-crud-page .table tbody td {
    vertical-align: middle;
}

.consumer-journey-page .workspace-page-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 80, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 245, 0.97));
}

.consumer-journey-page .workspace-page-kicker,
.consumer-journey-page .business-summary-kicker {
    color: #b01b34;
}

.consumer-journey-page .workspace-page-hero h1,
.consumer-journey-page .workspace-page-hero h2,
.consumer-journey-page .workspace-page-stat strong,
.consumer-journey-page .order-summary-card h4 {
    color: #7f1428;
}

.consumer-journey-page .workspace-page-hero p,
.consumer-journey-page .workspace-page-stat small,
.consumer-journey-page .compact-note,
.consumer-journey-page .checkout-summary-list span {
    color: #67565d;
}

.consumer-journey-page .card-panel,
.consumer-journey-page .workspace-section-card {
    border-color: rgba(185, 29, 53, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 249, 0.98));
    box-shadow: 0 22px 60px rgba(145, 26, 47, 0.08);
}

.consumer-journey-page .table thead th {
    background: #fff2f5;
    color: #8c1a30;
    border-bottom-color: #f1d6dd;
}

.consumer-journey-page .checkout-side-panel {
    position: sticky;
    top: 5.75rem;
}

.consumer-journey-page .checkout-summary-list strong,
.consumer-journey-page .payment-mock-card strong {
    color: #7f1428;
}

.consumer-journey-page .payment-mock-card {
    border: 1px solid rgba(185, 29, 53, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 247, 0.96));
}

.business-ocs-page .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(95, 141, 210, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.97));
}

.business-ocs-page .workspace-page-kicker,
.business-ocs-page .workspace-page-stat span {
    color: #1c5185;
}

.business-ocs-page .workspace-page-hero h1,
.business-ocs-page .workspace-page-stat strong {
    color: #163d66;
}

.business-ocs-page .workspace-page-hero p,
.business-ocs-page .workspace-page-stat small,
.business-ocs-page .compact-note {
    color: #61788f;
}

.business-ocs-page .card-panel,
.business-ocs-page .workspace-section-card {
    border-color: rgba(28, 81, 133, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 253, 0.98));
    box-shadow: 0 22px 60px rgba(20, 56, 91, 0.08);
}

.business-ocs-page .table thead th {
    background: #eef4fb;
    color: #1d4f7c;
    border-bottom-color: #d7e4f4;
}

.business-ocs-page .toolbar > div {
    min-width: 150px;
}

@media (max-width: 980px) {
    .consumer-journey-page .checkout-side-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .catalog-product-grid-v3 {
        min-height: 22rem;
    }

    .admin-crud-page .admin-section-head,
    .business-ocs-page .toolbar,
    .consumer-journey-page .checkout-layout {
        display: grid;
    }

    .business-ocs-page .toolbar > div {
        min-width: 0;
        width: 100%;
    }

    .table-actions-inline {
        width: 100%;
    }
}

.business-rule-page .workspace-page-hero,
.consumer-profile-page .workspace-page-hero,
.consumer-offers-page .workspace-page-hero {
    border-radius: 28px;
}

.business-rule-page .workspace-page-hero {
    background:
        radial-gradient(circle at top right, rgba(95, 141, 210, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.97));
}

.business-rule-page .workspace-page-kicker,
.business-rule-page .admin-section-kicker,
.business-rule-page .workspace-page-stat span {
    color: #1c5185;
}

.business-rule-page .workspace-page-hero h1,
.business-rule-page .workspace-page-stat strong,
.business-rule-page .admin-section-head h4 {
    color: #163d66;
}

.business-rule-page .workspace-page-hero p,
.business-rule-page .workspace-page-stat small,
.business-rule-page .admin-section-note,
.business-rule-page .compact-note {
    color: #5f7690;
}

.business-rule-page .card-panel,
.business-rule-page .workspace-section-card {
    border-color: rgba(28, 81, 133, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 253, 0.98));
    box-shadow: 0 22px 60px rgba(20, 56, 91, 0.08);
}

.business-rule-page .table thead th {
    background: #eef4fb;
    color: #1d4f7c;
    border-bottom-color: #d7e4f4;
}

.business-rule-page .form-control,
.business-rule-page .form-select {
    border-radius: 14px;
    border-color: #d4dfea;
}

.business-rule-page .border.rounded {
    border-color: rgba(28, 81, 133, 0.12) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.72);
}

.consumer-profile-page .workspace-page-hero,
.consumer-offers-page .workspace-page-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 211, 80, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 245, 0.97));
}

.consumer-profile-page .workspace-page-kicker,
.consumer-offers-page .workspace-page-kicker,
.consumer-profile-page .business-summary-kicker,
.consumer-offers-page .offer-kicker {
    color: #b01b34;
}

.consumer-profile-page .workspace-page-hero h1,
.consumer-profile-page .workspace-page-stat strong,
.consumer-offers-page .workspace-page-hero h1,
.consumer-offers-page .workspace-page-stat strong,
.consumer-profile-page .profile-summary-card h4,
.consumer-offers-page .offer-spotlight h3,
.consumer-offers-page .offer-card-v2 h4 {
    color: #7f1428;
}

.consumer-profile-page .workspace-page-hero p,
.consumer-profile-page .workspace-page-stat small,
.consumer-profile-page .compact-note,
.consumer-offers-page .workspace-page-hero p,
.consumer-offers-page .workspace-page-stat small,
.consumer-offers-page .compact-note {
    color: #66565c;
}

.menu-planning-page .workspace-section-card,
.menu-planning-page .workspace-page-hero {
    border-color: rgba(79, 61, 41, 0.08);
}

.menu-planning-page .menu-planning-editor-block,
.menu-planning-page .menu-planning-preview,
.menu-planning-page .menu-planning-list {
    display: grid;
    gap: 1rem;
}

.menu-planning-page .menu-planning-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.menu-planning-page .menu-planning-editor-head h5,
.menu-planning-page .menu-planning-editor-head h6,
.menu-planning-page .menu-planning-ingredient-title strong {
    margin: 0;
    color: #4f3d29;
}

.menu-planning-page .menu-planning-ingredient-card,
.menu-planning-page .menu-planning-option-card,
.menu-planning-page .menu-planning-preview-summary > article {
    border: 1px solid rgba(79, 61, 41, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 242, 0.98));
    box-shadow: 0 18px 38px rgba(39, 32, 24, 0.06);
}

.menu-planning-page .menu-planning-ingredient-card,
.menu-planning-page .menu-planning-option-card {
    padding: 1rem;
}

.menu-planning-page .menu-planning-ingredient-top,
.menu-planning-page .menu-planning-option-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.menu-planning-page .menu-planning-ingredient-title {
    display: grid;
    gap: 0.18rem;
}

.menu-planning-page .menu-planning-ingredient-title span,
.menu-planning-page .menu-planning-option-head strong,
.menu-planning-page .menu-planning-preview-summary small {
    color: #6f6456;
}

.menu-planning-page .menu-planning-options {
    display: grid;
    gap: 0.85rem;
}

.menu-planning-page .menu-planning-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.menu-planning-page .menu-planning-week-card,
.menu-planning-page .menu-planning-day-card,
.menu-planning-page .menu-planning-slot-card {
    border: 1px solid rgba(79, 61, 41, 0.09);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 248, 243, 0.98));
    box-shadow: 0 14px 32px rgba(40, 31, 22, 0.05);
}

.menu-planning-page .menu-planning-week-card {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.menu-planning-page .menu-planning-day-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.menu-planning-page .menu-planning-day-card {
    padding: 0.95rem;
    display: grid;
    gap: 0.7rem;
}

.menu-planning-page .menu-planning-slot-grid {
    display: grid;
    gap: 0.8rem;
}

.menu-planning-page .menu-planning-slot-card {
    padding: 0.9rem;
    display: grid;
    gap: 0.8rem;
}

.menu-planning-page .menu-planning-slot-recipes {
    display: grid;
    gap: 0.75rem;
}

.menu-planning-page .menu-planning-check-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(79, 61, 41, 0.12);
    color: #4f3d29;
}

.menu-planning-page .menu-planning-check-row:last-child {
    border-bottom: none;
}

.menu-planning-page .menu-planning-slot-recipe-row {
    grid-template-columns: minmax(0, 1.8fr) 110px minmax(0, 1fr) auto;
}

.menu-planning-page .menu-planning-inline-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.8fr) auto;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.menu-planning-page .menu-planning-preview-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.menu-planning-page .menu-planning-preview-summary > article {
    padding: 0.9rem 1rem;
    display: grid;
    gap: 0.2rem;
}

.menu-planning-page .menu-planning-preview-summary strong {
    color: #4f3d29;
    font-size: 1.35rem;
    line-height: 1.1;
}

.menu-planning-page .menu-planning-recipe-image-preview,
.menu-planning-page .menu-planning-recipe-meta-card,
.menu-planning-page .menu-planning-related-recipe {
    border: 1px solid rgba(79, 61, 41, 0.1);
    border-radius: 20px;
    background: rgba(250, 246, 239, 0.86);
}

.menu-planning-page .menu-planning-upload-panel {
    display: grid;
    gap: 0.4rem;
}

.menu-planning-page .menu-planning-missing-note {
    color: #b42318;
    font-size: 0.88rem;
    font-weight: 600;
}

.menu-planning-page .menu-planning-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.menu-planning-page .menu-planning-visual-head-actions {
    margin-left: auto;
}

.menu-planning-page .menu-planning-upload-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(167, 34, 41, 0.35);
    background: linear-gradient(135deg, rgba(255, 244, 240, 0.96), rgba(255, 250, 245, 0.92));
    box-shadow: 0 14px 28px rgba(79, 61, 41, 0.08);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.menu-planning-page .menu-planning-upload-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(79, 61, 41, 0.12);
    border-color: rgba(167, 34, 41, 0.55);
}

.menu-planning-page .menu-planning-upload-title {
    color: #8f242d;
    font-weight: 700;
}

.menu-planning-page .menu-planning-recipe-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
    gap: 1rem;
    justify-content: start;
}

.menu-planning-page .menu-planning-recipe-media-card {
    display: grid;
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid rgba(79, 61, 41, 0.12);
    border-radius: 20px;
    background: rgba(250, 246, 239, 0.86);
}

.menu-planning-page .menu-planning-recipe-media-card.is-primary {
    border-color: rgba(18, 122, 85, 0.32);
    box-shadow: 0 0 0 1px rgba(18, 122, 85, 0.12);
}

.menu-planning-page .menu-planning-recipe-media-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(18, 122, 85, 0.12);
    color: #127a55;
    font-size: 0.78rem;
    font-weight: 700;
}

.menu-planning-page .menu-planning-recipe-media-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.menu-planning-page .menu-planning-recipe-media-body {
    display: grid;
    gap: 0.65rem;
}

.menu-planning-page .menu-planning-recipe-media-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.menu-planning-page .menu-planning-recipe-media-meta span {
    color: #6f6456;
    font-size: 0.82rem;
}

.menu-planning-page .menu-planning-recipe-media-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 0.75rem;
    align-items: start;
}

.menu-planning-page .menu-planning-recipe-media-order-field {
    justify-self: end;
    width: 88px;
}

.menu-planning-page .menu-planning-recipe-media-order-field .form-label,
.menu-planning-page .menu-planning-recipe-media-caption-field .form-label {
    margin-bottom: 0.25rem;
}

.menu-planning-page .menu-planning-recipe-media-order-field .form-control {
    min-height: 32px;
    padding: 0.25rem 0.5rem;
}

.menu-planning-page .menu-planning-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(15, 35, 52, 0.48);
    backdrop-filter: blur(4px);
}

.menu-planning-page .menu-planning-modal-card {
    width: min(980px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    padding: 1.25rem;
    border-radius: 26px;
    background: #fffdf9;
    box-shadow: 0 28px 60px rgba(15, 35, 52, 0.22);
}

.menu-planning-page .menu-planning-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.menu-planning-page .menu-planning-modal-gallery-item {
    display: grid;
    gap: 0.6rem;
    padding: 0.85rem;
    border: 1px solid rgba(79, 61, 41, 0.12);
    border-radius: 18px;
    background: rgba(250, 246, 239, 0.82);
}

.menu-planning-page .menu-planning-modal-gallery-item.is-primary {
    border-color: rgba(18, 122, 85, 0.32);
    box-shadow: 0 0 0 1px rgba(18, 122, 85, 0.12);
}

.menu-planning-page .menu-planning-modal-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.menu-planning-page .menu-planning-recipe-meta-card {
    min-height: 100%;
    padding: 1rem;
    display: grid;
    gap: 0.35rem;
}

.menu-planning-page .menu-planning-recipe-meta-card strong,
.menu-planning-page .menu-planning-recipe-listing strong,
.menu-planning-page .menu-planning-recipe-relation strong {
    color: #4f3d29;
}

.menu-planning-page .menu-planning-recipe-meta-card span,
.menu-planning-page .menu-planning-recipe-listing .compact-note,
.menu-planning-page .menu-planning-recipe-relation span {
    color: #6f6456;
}

.menu-planning-page .menu-planning-related-recipes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.menu-planning-page .menu-planning-related-recipe {
    min-width: 220px;
    padding: 0.85rem 1rem;
    display: grid;
    gap: 0.18rem;
    text-align: left;
    color: inherit;
}

.menu-planning-page .menu-planning-related-recipe span {
    color: #6f6456;
    font-size: 0.85rem;
}

.menu-planning-page .menu-planning-recipe-listing {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.menu-planning-page .menu-planning-recipe-listing img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(79, 61, 41, 0.1);
}

.menu-planning-page .menu-planning-recipe-relation {
    display: grid;
    gap: 0.18rem;
}

.menu-planning-page .menu-planning-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.menu-planning-page .menu-planning-tag-groups {
    display: grid;
    gap: 1rem;
}

.menu-planning-page .menu-planning-tag-group {
    display: grid;
    gap: 0.5rem;
}

.menu-planning-page .menu-planning-selection-card {
    border: 1px solid rgba(79, 61, 41, 0.1);
    border-radius: 16px;
    background: rgba(250, 246, 239, 0.86);
    padding: 0.8rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #4f3d29;
}

.menu-planning-page .menu-planning-selection-card input {
    margin: 0;
}

.menu-planning-page .menu-planning-taxonomy-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.menu-planning-page .menu-planning-tag-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.menu-planning-page .menu-planning-token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.menu-planning-page .menu-planning-token-list .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.menu-planning-page .menu-planning-token-list .status-pill input {
    margin: 0;
}

.menu-planning-page .status-pill-muted {
    opacity: 0.72;
}

.menu-planning-page .menu-planning-brand-rule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem;
    gap: 0.65rem;
    align-items: center;
    padding: 0.38rem 0.25rem;
    border-bottom: 1px solid rgba(79, 61, 41, 0.08);
    background: transparent;
}

.menu-planning-page .menu-planning-brand-rule .form-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.menu-planning-page .menu-planning-brand-rule .form-check-input {
    margin-top: 0;
}

.menu-planning-page .menu-planning-brand-rule-muted {
    color: #8a7c68;
    font-size: 0.82rem;
    font-weight: 600;
    justify-self: end;
}

.menu-planning-page .menu-planning-search-picker {
    position: relative;
}

.menu-planning-page .menu-planning-search-input-shell {
    position: relative;
}

.menu-planning-page .menu-planning-search-input {
    width: 100%;
    padding-right: 2.5rem;
    border: 1px solid rgba(79, 61, 41, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #2c261e;
}

.menu-planning-page .menu-planning-search-input:focus {
    border-color: rgba(115, 70, 210, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(115, 70, 210, 0.14);
}

.menu-planning-page .menu-planning-search-input-clear {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #473b2e;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0;
}

.menu-planning-page .menu-planning-search-input-badge {
    position: absolute;
    top: 50%;
    right: 2.2rem;
    transform: translateY(-50%);
    max-width: calc(100% - 5.2rem);
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(220, 232, 242, 0.9);
    color: #224d72;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-planning-page .menu-planning-search-picker-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 20;
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(79, 61, 41, 0.16);
    border-radius: 1rem;
    background: #fffdfb;
    box-shadow: 0 18px 42px rgba(34, 28, 22, 0.12);
}

.menu-planning-page .menu-planning-search-picker-list {
    display: grid;
    gap: 0.15rem;
    max-height: 15rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.menu-planning-page .menu-planning-search-picker-option {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 0;
    border-bottom: 1px solid rgba(79, 61, 41, 0.08);
    border-radius: 0;
    background: transparent;
    color: #2c261e;
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-planning-page .menu-planning-search-picker-option.is-selected {
    background: rgba(220, 232, 242, 0.75);
    border-bottom-color: rgba(26, 92, 148, 0.12);
}

.menu-planning-page .menu-planning-search-picker-option:hover {
    background: rgba(246, 238, 225, 0.55);
}

.menu-planning-page .menu-planning-search-picker-list-brands {
    gap: 0.35rem;
    max-height: 18rem;
}

.menu-planning-page .menu-planning-brand-picker {
    border: 1px solid rgba(79, 61, 41, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.menu-planning-page .menu-planning-brand-picker summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    font-weight: 600;
    color: #2c261e;
}

.menu-planning-page .menu-planning-brand-picker summary::-webkit-details-marker {
    display: none;
}

.menu-planning-page .menu-planning-brand-picker summary small {
    color: #7a6b58;
    font-size: 0.78rem;
    font-weight: 600;
}

.menu-planning-page .menu-planning-brand-picker[open] summary {
    border-bottom: 1px solid rgba(79, 61, 41, 0.1);
    background: rgba(246, 238, 225, 0.55);
}

.menu-planning-page .menu-planning-brand-picker-body {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem 0.95rem;
    max-height: 18rem;
    overflow-y: auto;
}

.menu-planning-page .menu-planning-shared-ingredient-panel {
    padding: 0.95rem 1rem;
    border: 1px dashed rgba(79, 61, 41, 0.2);
    border-radius: 1rem;
    background: rgba(255, 250, 245, 0.88);
}

.quotation-preview-page .quotation-preview-recipe-card {
    display: grid;
    grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.quotation-preview-page .quotation-preview-recipe-card img {
    width: 100%;
    height: 110px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(79, 61, 41, 0.1);
}

.quotation-preview-page .quotation-preview-recipe-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 132px;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
}

.quotation-preview-page .quotation-preview-recipe-carousel figure {
    margin: 0;
    display: grid;
    gap: 0.3rem;
    scroll-snap-align: start;
}

.quotation-preview-page .quotation-preview-recipe-carousel img {
    width: 132px;
    height: 110px;
}

.quotation-preview-page .quotation-preview-recipe-carousel figcaption {
    color: #6f6456;
    font-size: 0.75rem;
}

.quotation-preview-page .quotation-preview-recipe-copy {
    display: grid;
    gap: 0.22rem;
}

.quotation-preview-page .quotation-preview-recipe-copy strong {
    color: #4f3d29;
}

.quotation-preview-page .quotation-preview-recipe-copy span,
.quotation-preview-page .quotation-preview-recipe-copy small {
    color: #6f6456;
}

.quotation-preview-page .quotation-preview-recipe-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.menu-planning-page .table-responsive {
    border-radius: 20px;
    border: 1px solid rgba(27, 43, 58, 0.08);
    overflow: hidden;
}

.menu-planning-page .table > :not(caption) > * > * {
    vertical-align: middle;
}

.quotation-page .workspace-section-card,
.quotation-page .workspace-page-hero,
.quotation-preview-page .card-panel {
    border-color: rgba(79, 61, 41, 0.08);
}

.quotation-page .quotation-editor-block,
.quotation-page .quotation-site-grid,
.quotation-page .quotation-existing-media,
.quotation-preview-page .quotation-preview-weeks {
    display: grid;
    gap: 1rem;
}

.quotation-page .quotation-editor-head,
.quotation-preview-page .quotation-preview-day-head,
.quotation-preview-page .quotation-preview-slot-head,
.quotation-preview-page .quotation-preview-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.quotation-page .quotation-site-grid,
.quotation-preview-page .quotation-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quotation-page .quotation-site-card,
.quotation-page .quotation-existing-media-card,
.quotation-page .quotation-cost-summary article,
.quotation-preview-page .quotation-preview-week,
.quotation-preview-page .quotation-preview-story,
.quotation-preview-page .quotation-preview-assumptions article {
    border: 1px solid rgba(79, 61, 41, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 242, 0.98));
    box-shadow: 0 16px 36px rgba(39, 32, 24, 0.06);
}

.quotation-page .quotation-site-card,
.quotation-page .quotation-existing-media-card,
.quotation-preview-page .quotation-preview-story,
.quotation-preview-page .quotation-preview-week {
    padding: 1rem;
}

.quotation-page .quotation-assumption-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.quotation-page .quotation-image-preview,
.quotation-page .quotation-gallery-preview,
.quotation-page .quotation-existing-media {
    display: grid;
    gap: 0.85rem;
}

.quotation-page .quotation-gallery-preview,
.quotation-page .quotation-existing-media,
.quotation-preview-page .quotation-preview-gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.quotation-page .quotation-image-preview img,
.quotation-page .quotation-gallery-preview img,
.quotation-page .quotation-existing-media-card img,
.quotation-preview-page .quotation-preview-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(79, 61, 41, 0.1);
    background: #f5efe6;
}

.quotation-page .quotation-existing-media-card {
    display: grid;
    gap: 0.75rem;
}

.quotation-page .quotation-existing-media-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.quotation-page .quotation-cost-summary,
.quotation-preview-page .quotation-cost-summary,
.quotation-preview-page .quotation-preview-assumptions,
.quotation-preview-page .quotation-preview-days,
.quotation-preview-page .quotation-preview-slots {
    display: grid;
    gap: 0.85rem;
}

.quotation-page .quotation-cost-summary,
.quotation-preview-page .quotation-cost-summary,
.quotation-preview-page .quotation-preview-assumptions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quotation-page .quotation-cost-summary article,
.quotation-preview-page .quotation-cost-summary article,
.quotation-preview-page .quotation-preview-assumptions article {
    padding: 0.95rem 1rem;
    display: grid;
    gap: 0.25rem;
}

.quotation-page .quotation-cost-summary strong,
.quotation-preview-page .quotation-cost-summary strong {
    color: #4f3d29;
    font-size: 1.25rem;
}

.quotation-preview-page .quotation-preview-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 35, 52, 0.94), rgba(35, 66, 89, 0.85));
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 62px rgba(20, 35, 50, 0.16);
}

.quotation-preview-page .quotation-preview-hero h1,
.quotation-preview-page .quotation-preview-hero p,
.quotation-preview-page .quotation-preview-meta span {
    color: #fff;
}

.quotation-preview-page .quotation-preview-hero-copy {
    display: grid;
    gap: 0.65rem;
}

.quotation-preview-page .quotation-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.quotation-preview-page .quotation-preview-meta span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem;
}

.quotation-preview-page .quotation-preview-copy {
    color: #6f6456;
    line-height: 1.6;
    margin: 0;
}

.quotation-preview-page .quotation-preview-week header {
    margin-bottom: 0.85rem;
    color: #4f3d29;
}

.quotation-preview-page .quotation-preview-day {
    border: 1px solid rgba(79, 61, 41, 0.08);
    border-radius: 18px;
    padding: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
}

.quotation-preview-page .quotation-preview-slot {
    border: 1px dashed rgba(79, 61, 41, 0.16);
    border-radius: 16px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.92);
}

.quotation-preview-page .quotation-preview-slot ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.45rem;
}

.quotation-preview-page .quotation-preview-slot li {
    display: grid;
    gap: 0.12rem;
}

.quotation-preview-page .quotation-preview-slot li span,
.quotation-preview-page .quotation-preview-slot li small,
.quotation-preview-page .quotation-preview-day-head span,
.quotation-preview-page .quotation-preview-slot-head small {
    color: #766955;
}

.quotation-preview-page .quotation-preview-gallery figure {
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.quotation-preview-page .quotation-preview-gallery figcaption {
    color: #6f6456;
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    .menu-planning-page .menu-planning-option-grid,
    .menu-planning-page .menu-planning-day-grid,
    .menu-planning-page .menu-planning-preview-summary,
    .quotation-page .quotation-site-grid,
    .quotation-preview-page .quotation-preview-grid,
    .quotation-page .quotation-cost-summary,
    .quotation-preview-page .quotation-cost-summary,
    .quotation-preview-page .quotation-preview-assumptions {
        grid-template-columns: 1fr;
    }

    .menu-planning-page .menu-planning-inline-row,
    .menu-planning-page .menu-planning-slot-recipe-row,
    .quotation-page .quotation-assumption-row {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .quotation-preview-page .quotation-preview-hero {
        grid-template-columns: 1fr;
    }
}

.consumer-profile-page .card-panel,
.consumer-profile-page .workspace-section-card,
.consumer-offers-page .card-panel,
.consumer-offers-page .workspace-section-card {
    border-color: rgba(185, 29, 53, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 249, 0.98));
    box-shadow: 0 22px 60px rgba(145, 26, 47, 0.08);
}

.consumer-profile-page .profile-site-card,
.consumer-profile-page .profile-summary-card,
.consumer-offers-page .offer-card-v2,
.consumer-offers-page .offer-spotlight {
    border-color: rgba(185, 29, 53, 0.12);
}

.consumer-offers-page .offer-card-v2,
.consumer-offers-page .offer-spotlight {
    box-shadow: 0 22px 56px rgba(145, 26, 47, 0.1);
}

.admin-dashboard-page .metric-card,
.admin-dashboard-surface,
.admin-dashboard-command,
.admin-dashboard-surface .admin-dashboard-command-chart-shell,
.admin-dashboard-surface .admin-dashboard-command-summary,
.admin-dashboard-surface .admin-dashboard-channel-card,
.admin-dashboard-surface .admin-dashboard-donut-shell {
    color: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 239, 0.98));
    border-color: rgba(79, 61, 41, 0.08);
    box-shadow: 0 20px 54px rgba(37, 27, 16, 0.08);
}

.admin-dashboard-page .metric-card::before {
    background: linear-gradient(90deg, #b7905b 0%, #d7bd8f 100%);
}

.admin-dashboard-page .metric-title,
.admin-dashboard-surface .admin-section-kicker,
.admin-dashboard-surface .compact-note,
.admin-dashboard-surface p,
.admin-dashboard-surface small,
.admin-dashboard-surface span,
.admin-dashboard-surface .admin-dashboard-chart-label,
.admin-dashboard-surface .admin-dashboard-chart-value,
.admin-dashboard-surface .admin-dashboard-channel-top span,
.admin-dashboard-surface .admin-dashboard-channel-meta,
.admin-dashboard-surface .admin-dashboard-bar-labels span,
.admin-dashboard-surface .admin-dashboard-donut-item-meta span,
.admin-dashboard-line-axis {
    color: #7a6b58;
}

.admin-dashboard-page .metric-value,
.admin-dashboard-surface h4,
.admin-dashboard-surface h5,
.admin-dashboard-surface strong,
.admin-dashboard-surface .admin-dashboard-channel-top strong,
.admin-dashboard-surface .admin-dashboard-bar-labels strong,
.admin-dashboard-surface .admin-dashboard-bar-value,
.admin-dashboard-surface .admin-dashboard-donut-item-head strong,
.admin-dashboard-surface .admin-dashboard-donut-hole strong {
    color: #4f3d29;
}

.admin-dashboard-surface .form-select {
    border-color: #d7d2c9;
    background: rgba(255, 255, 255, 0.98);
    color: #4f3d29;
}

.admin-dashboard-command-empty {
    color: #7a6b58;
}

.admin-dashboard-grid-line {
    stroke: rgba(122, 107, 88, 0.18);
}

.admin-dashboard-line-consumer {
    stroke: #b98a54;
}

.admin-dashboard-line-business {
    stroke: #6d8fb0;
}

.admin-dashboard-point {
    stroke: rgba(255, 255, 255, 0.95);
}

.admin-dashboard-point-consumer {
    fill: #b98a54;
}

.admin-dashboard-point-business {
    fill: #6d8fb0;
}

.admin-dashboard-surface .admin-dashboard-share-track,
.admin-dashboard-surface .admin-dashboard-bar-track {
    background: rgba(122, 107, 88, 0.1);
}

.admin-dashboard-surface .admin-dashboard-chart-stack,
.admin-dashboard-donut-item,
.admin-dashboard-donut-hole {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 241, 233, 0.96));
    border-color: rgba(79, 61, 41, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-dashboard-donut {
    box-shadow: 0 16px 38px rgba(37, 27, 16, 0.1);
}

.admin-validation-summary {
    margin-bottom: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(174, 46, 46, 0.14);
    background: linear-gradient(180deg, rgba(255, 241, 241, 0.98), rgba(255, 232, 232, 0.98));
    color: #7f1d1d;
    box-shadow: 0 16px 34px rgba(127, 29, 29, 0.08);
}

.admin-validation-summary strong {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #991b1b;
}

.admin-validation-summary ul {
    padding-left: 1.1rem;
}

.admin-validation-summary li + li {
    margin-top: 0.3rem;
}
