/* —— Design tokens: azul oscuro como marca —— */
:root {
    --pc-navy: #0c3b5e;
    --pc-navy-deep: #082a44;
    --pc-navy-mid: #144a73;
    --pc-blue: #0c3b5e;          /* primario = azul oscuro */
    --pc-blue-accent: #2b7bbf;   /* acento / hover / botón buscar */
    --pc-blue-deep: #0c3b5e;
    --pc-blue-soft: #e6eef5;
    --pc-bg: #eef2f6;
    --pc-surface: #ffffff;
    --pc-line: #d5dee8;
    --pc-muted: #5b6b7c;
    --pc-ok: #1b7f4a;
    --pc-warn: #b86e00;
    --pc-danger: #c62828;
    --pc-appbar-h: 56px;
    --pc-radius: 12px;
    --pc-shadow: 0 8px 24px rgba(12, 59, 94, 0.1);
    --pc-font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: var(--pc-font);
    background: var(--pc-bg);
    color: var(--pc-navy);
}

h1:focus { outline: none; }

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* —— Layout / AppBar —— */
.pc-layout {
    background: var(--pc-bg);
}

.pc-appbar.mud-appbar {
    background: var(--pc-navy) !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(8, 42, 68, 0.22);
    min-height: var(--pc-appbar-h) !important;
    height: var(--pc-appbar-h) !important;
    padding-inline: 0.85rem 1rem;
    gap: 0.5rem;
    z-index: 1200;
    overflow: visible !important;
}

/* Centrado vertical de brand / menús / usuario */
.pc-appbar .mud-toolbar-appbar,
.pc-appbar .mud-toolbar {
    min-height: var(--pc-appbar-h) !important;
    height: var(--pc-appbar-h) !important;
    align-items: center !important;
    overflow: visible !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pc-brand {
    font-weight: 700 !important;
    white-space: nowrap;
    letter-spacing: -0.01em;
    margin-right: 0.75rem !important;
    line-height: 1.2 !important;
    display: flex;
    align-items: center;
}

.pc-topnav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
    min-width: 0;
    height: 100%;
}

.pc-nav-link {
    text-decoration: none !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-radius: 8px !important;
    min-height: 40px;
    height: 40px;
    padding-inline: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

.pc-nav-link:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

.pc-nav-link--active,
.pc-nav-link.active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

/* Dropdown nativo (reemplaza MudMenu: OnClick/Href no navegaban en MudBlazor 9) */
.pc-nav-drop {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.pc-nav-drop__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-height: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pc-nav-drop:hover .pc-nav-drop__btn,
.pc-nav-drop:focus-within .pc-nav-drop__btn,
.pc-nav-drop.pc-nav-link--active .pc-nav-drop__btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.pc-nav-drop__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin-top: 2px;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(8, 42, 68, 0.18);
    z-index: 1400;
}

.pc-nav-drop:hover .pc-nav-drop__menu,
.pc-nav-drop:focus-within .pc-nav-drop__menu {
    display: block;
}

.pc-nav-drop__item {
    display: block;
    padding: 0.55rem 1rem;
    color: var(--pc-navy) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.pc-nav-drop__item:hover,
.pc-nav-drop__item.active {
    background: var(--pc-blue-soft);
}

.pc-user {
    opacity: 0.92;
    white-space: nowrap;
    margin-right: 0.65rem !important;
}

.pc-user-perfil {
    opacity: 0.78;
    font-weight: 600;
}

.pc-logout {
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    text-transform: none !important;
}

/* Evita solape títulos ↔ AppBar fija */
.mud-main-content.pc-main {
    background: var(--pc-bg);
    padding: 0 !important;
    /* AppBar densificada (~52px) + aire */
    padding-top: calc(var(--pc-appbar-h) + 0.85rem) !important;
    min-height: 100vh;
}

.mud-main-content.pc-main.home-flush {
    padding-top: var(--pc-appbar-h) !important;
}

.pc-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem 1.5rem;
    box-sizing: border-box;
}

.pc-page--home {
    max-width: none;
    padding: 0;
}

/* —— PageShell —— */
.page-shell-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
}

.page-shell-header__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1 1 12rem;
    min-width: 0;
}

.page-shell-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.page-shell-section {
    color: var(--pc-blue) !important;
    font-weight: 650 !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
    margin: 0 !important;
}

.page-shell-title {
    color: var(--pc-navy) !important;
    font-weight: 750 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}

.page-shell-subtitle {
    color: var(--pc-muted) !important;
    margin: 0.1rem 0 0 !important;
}

.page-shell-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* —— Hero filtros —— */
.pc-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: stretch;
    background: linear-gradient(135deg, var(--pc-navy-deep), var(--pc-navy) 45%, var(--pc-navy-mid));
    color: #fff;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    box-shadow: var(--pc-shadow);
}

.pc-hero--integrated {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.2rem 1.05rem;
    border-radius: 16px;
    box-shadow: 0 12px 40px -18px rgba(12, 59, 94, 0.45);
}

.pc-hero--integrated .pc-hero__head {
    width: 100%;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pc-hero--integrated .pc-hero__body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.pc-hero__section {
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.pc-hero__title {
    margin: 0.1rem 0 0;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pc-hero__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    opacity: 0.88;
    line-height: 1.35;
}

.pc-hero__label {
    opacity: 0.88;
    margin-bottom: 0.4rem !important;
    display: block;
    font-weight: 600;
}

.pc-hero__filters {
    align-items: flex-end;
    flex-wrap: wrap;
}

.pc-hero-select {
    min-width: 160px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
}

.pc-hero-select--cliente {
    min-width: min(22rem, 100%);
    max-width: min(36rem, 100%);
    flex: 1 1 22rem;
}

.pc-hero-select--categoria,
.pc-hero-select--proveedor {
    min-width: min(14rem, 100%);
    max-width: min(22rem, 100%);
    flex: 1 1 14rem;
}

.pc-hero-select-popover-cliente {
    min-width: min(36rem, 95vw) !important;
}

.pc-hero-select-popover-cliente .mud-list-item-text {
    white-space: normal;
    line-height: 1.3;
}

.pc-hero-ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.pc-hero__kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.pc-hero-kpi {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    min-width: 118px;
    backdrop-filter: blur(6px);
}

.pc-hero-kpi b {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pc-hero-kpi small {
    opacity: 0.88;
    font-size: 0.72rem;
}

.pc-hero-kpi--user {
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

/* —— Grilla / panel —— */
.pc-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    align-items: start;
}

.pc-split--open {
    grid-template-columns: 1fr minmax(280px, 340px);
}

.pc-split__grid { min-width: 0; }

/* —— DataTables.net (listados / mantenimientos) —— */
.pc-data-table-wrap {
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
    padding: 0.75rem 1rem 1rem;
}

.pc-data-table-wrap table.pc-data-table {
    border-collapse: collapse;
}

.pc-data-table-wrap table.pc-data-table thead th {
    background: #f7fafc;
    color: var(--pc-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--pc-line);
    padding: 0.55rem 0.65rem;
}

.pc-data-table-wrap table.pc-data-table tbody td {
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid var(--pc-line);
    font-size: 0.875rem;
    color: var(--pc-navy);
}

.pc-data-table-wrap table.pc-data-table tbody tr:hover td,
.pc-data-table-wrap .pc-data-table-mud .mud-table-body tr:hover td {
    background: #f5f9fc;
}

.pc-data-table-wrap .pc-data-table-mud {
    box-shadow: none;
    background: transparent;
}

.pc-data-table-wrap .pc-data-table-mud .mud-table-head th {
    background: #f7fafc !important;
    color: var(--pc-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--pc-line) !important;
}

.pc-data-table-wrap .pc-data-table-mud .mud-table-body td {
    font-size: 0.875rem;
    border-bottom: 1px solid var(--pc-line);
}

.pc-data-table-wrap .dt-container .dt-search input,
.pc-data-table-wrap .dt-container .dt-length select {
    border: 1px solid var(--pc-line);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
}

.pc-data-table-wrap .dt-container .dt-info,
.pc-data-table-wrap .dt-container .dt-length,
.pc-data-table-wrap .dt-container .dt-search {
    font-size: 0.8125rem;
    color: var(--pc-muted);
}

.pc-data-table-wrap .dt-container .dt-paging .dt-paging-button {
    border-radius: 6px !important;
}

.pc-dt-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    color: var(--pc-muted);
    vertical-align: middle;
}

.pc-dt-action:hover {
    color: var(--pc-navy);
    background: rgba(0, 0, 0, 0.04);
}

.pc-dt-action .material-icons {
    font-size: 1.25rem;
}

.pc-marca-acciones {
    white-space: nowrap;
}

.pc-badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
}

.pc-badge--ok {
    background: #e6f4ea;
    color: #1e7e34;
}

.pc-badge--off {
    background: #f1f3f5;
    color: var(--pc-muted);
}

.pc-plan-scroll-hint {
    font-size: 0.75rem;
}

.pc-plan-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
    color: var(--pc-muted);
}

.pc-plan-context strong {
    color: var(--pc-navy);
}

.pc-plan-pill {
    display: inline-flex;
    align-items: center;
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    color: var(--pc-navy);
}

.pc-plan-totals {
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    box-shadow: var(--pc-shadow);
}

.pc-plan-totals__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}

.pc-plan-totals__title {
    margin: 0 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--pc-navy) !important;
}

.pc-plan-totals__hint {
    font-size: 0.72rem;
    color: var(--pc-muted);
}

.pc-plan-totals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.55rem;
}

.pc-plan-metric {
    background: #f7fafc;
    border: 1px solid #e3ebf3;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    min-width: 0;
}

.pc-plan-metric small {
    display: block;
    font-size: 0.68rem;
    color: var(--pc-muted);
    margin-bottom: 0.2rem;
}

.pc-plan-metric--estado {
    background: #f4f8fc;
    border-color: #d4e4f4;
}

.pc-plan-metric b {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--pc-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-plan-workspace {
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--pc-shadow);
    display: flex;
    flex-direction: column;
}

.pc-plan-workspace .pc-plan-table-shell {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: 0;
}

.pc-plan-workspace .pc-plan-grid {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.pc-plan-workspace .mud-table-toolbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.85rem !important;
    border-bottom: 1px solid var(--pc-line);
    background: #fbfcfd;
}

.pc-plan-grid-search {
    flex: 1 1 220px;
    max-width: 320px;
}

.pc-plan-grid-search .mud-input-outlined-border {
    border-radius: 999px !important;
}

.pc-plan-grid-pending {
    flex: 0 0 auto;
}

.pc-plan-workspace-legend {
    padding: 0.55rem 0.85rem;
    border-top: 1px solid var(--pc-line);
    font-size: 0.75rem;
    color: var(--pc-muted);
    line-height: 1.45;
    background: #fbfcfd;
}

.pc-plan-legend-edit {
    background: #fffbeb;
    border: 1px solid #e6c86a;
    border-radius: 4px;
    padding: 0 0.25rem;
    color: var(--pc-navy);
}

.pc-plan-legend-read {
    color: var(--pc-muted);
    font-style: italic;
}

.pc-plan-table-shell {
    padding-bottom: 0;
    border-radius: var(--pc-radius) var(--pc-radius) 0 0;
    overflow: hidden;
}

.pc-plan-table-shell .mud-table-container {
    max-height: 560px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.pc-plan-grid .mud-table-root table {
    border-collapse: separate;
    border-spacing: 0;
}

.pc-plan-grid .mud-table-head .mud-table-cell {
    position: sticky;
    z-index: 4;
    background: #f7fafc !important;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__zone-row .mud-table-cell {
    top: 0;
    z-index: 5;
    background: #eef3f8 !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4a6075 !important;
    border-bottom: 1px solid #dde6ef !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.pc-plan-grid:not(.pc-plan-grid--compact) .mud-table-head .pc-plan-grid__col-row .mud-table-cell {
    top: 1.65rem;
}

.pc-plan-grid--compact .mud-table-head .pc-plan-grid__col-row .mud-table-cell {
    top: 0;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__zone-row .pc-plan-grid__col-sticky {
    background: #eef3f8 !important;
    z-index: 6;
}

.pc-plan-table-shell .pc-plan-grid {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.pc-plan-grid {
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius) var(--pc-radius) 0 0;
    overflow: visible;
    box-shadow: var(--pc-shadow);
}

.pc-plan-grid .mud-table-head th,
.pc-data-table.pc-plan-grid .mud-table-head th {
    background: #f7fafc !important;
    color: var(--pc-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: none;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--pc-line) !important;
}

.pc-plan-grid .mud-table-root .mud-table-body tr:hover td {
    background: #f5f9fc !important;
}

.pc-plan-grid .pc-row-selected td {
    background: var(--pc-blue-soft) !important;
}

.pc-plan-grid--clickable .mud-table-body tr {
    cursor: pointer;
}

.pc-plan-grid .pc-plan-grid__col-detalle {
    width: 2.75rem;
    max-width: 2.75rem;
    padding-left: 0.35rem !important;
    padding-right: 0.15rem !important;
}

.pc-plan-grid .mud-table-head .mud-table-cell,
.pc-plan-grid .mud-table-body .mud-table-cell {
    padding: 0.35rem 0.5rem !important;
    vertical-align: middle;
}

.pc-plan-grid .mud-table-root {
    min-width: 900px;
    width: max-content;
}

.pc-plan-grid .mud-table-root table {
    width: max-content;
    table-layout: fixed;
}

.pc-plan-table-shell--sin-cliente .pc-plan-grid .mud-table-root {
    min-width: 760px;
}

/* —— Vista compacta (6 columnas: Ident., Ventas, Ref., Inv., Estado, Acción) —— */
.pc-plan-grid.pc-plan-grid--compact .mud-table-root {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.pc-plan-grid.pc-plan-grid--compact .mud-table-root table {
    width: 100%;
    table-layout: auto;
}

.pc-plan-grid--compact .mud-table-head .mud-table-cell {
    vertical-align: bottom !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

.pc-plan-grid--compact .mud-table-body .mud-table-cell {
    vertical-align: top !important;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

.pc-plan-grid__col-sticky-ident {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--pc-surface) !important;
    box-shadow: 4px 0 8px -4px rgba(15, 35, 52, 0.1);
    width: 22%;
    min-width: 12rem;
    max-width: none;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-sticky-ident {
    z-index: 5;
    background: #f7fafc !important;
}

.pc-plan-grid .mud-table-body tr:hover .pc-plan-grid__col-sticky-ident {
    background: #f5f9fc !important;
}

.pc-plan-ident-compact {
    display: flex;
    gap: 0.35rem;
    align-items: flex-start;
    min-width: 0;
}

.pc-plan-ident-compact__icon {
    flex-shrink: 0;
    margin-top: 0.05rem !important;
}

.pc-plan-ident-compact__text {
    min-width: 0;
    flex: 1;
    cursor: pointer;
}

.pc-plan-ident-compact__line {
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-plan-ident-compact__line--title {
    font-weight: 700;
    font-size: 0.78rem;
    color: #0f172a;
    white-space: nowrap;
}

.pc-plan-ident-compact__line--sub {
    font-size: 0.72rem;
    color: #0f172a;
    white-space: nowrap;
}

.pc-plan-ident-compact__line--muted {
    font-size: 0.65rem;
    color: var(--pc-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.pc-plan-grid__col-ventas-compact {
    width: 14%;
    min-width: 9.5rem;
    max-width: none;
}

.pc-plan-grid__col-ref-compact {
    width: 12%;
    min-width: 8.5rem;
    max-width: none;
}

.pc-plan-stack-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.pc-plan-kv {
    display: grid;
    grid-template-columns: minmax(4.25rem, auto) 1fr;
    gap: 0.2rem 0.5rem;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
}

.pc-plan-kv__k {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--pc-muted, #64748b);
    white-space: nowrap;
}

.pc-plan-kv__v {
    text-align: right;
    font-size: 0.76rem;
    color: #0f172a;
}

.pc-plan-grid__col-inv-block-compact {
    width: 28%;
    min-width: 14rem;
    max-width: none;
}

.pc-plan-inv-stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pc-plan-inv-row-compact {
    display: grid;
    grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr);
    gap: 0.35rem 0.5rem;
    align-items: center;
}

.pc-plan-inv-row-compact__amount-block {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.pc-plan-inv-row-compact__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--pc-muted, #64748b);
    white-space: nowrap;
}

.pc-plan-inv-row-compact__pct {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.85rem;
    padding: 0.22rem 0.5rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    color: #0c4a6e;
    background: linear-gradient(180deg, #e8f4fc 0%, #d8ebf8 100%);
    border: 1px solid rgba(43, 123, 191, 0.35);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    white-space: nowrap;
}

.pc-plan-inv-row-compact__field {
    flex: 1;
    min-width: 0;
}

.pc-plan-inv-row-compact__field .pc-plan-inv-native,
.pc-plan-inv-row-compact__field .pc-plan-inv-com-btn {
    width: 100%;
}

.pc-plan-grid__col-estado-only-compact {
    width: 10%;
    min-width: 6.5rem;
    max-width: none;
    vertical-align: middle !important;
}

.pc-plan-grid__col-accion-compact {
    width: 14%;
    min-width: 7rem;
    max-width: none;
    vertical-align: top !important;
}

.pc-plan-grid__col-num {
    text-align: right !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem !important;
}

.pc-plan-grid__col-num--compact {
    width: 5.75rem;
    max-width: 6.25rem;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-num--compact {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-num .mud-table-sort-label,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-inv .mud-table-sort-label,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-pct .mud-table-sort-label,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-estado .mud-table-sort-label {
    font-size: 0.65rem !important;
    letter-spacing: 0;
    text-transform: none;
}

.pc-plan-th-tip {
    display: inline-block;
    cursor: default;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-proveedor .mud-table-sort-label,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-categoria .mud-table-sort-label {
    font-size: 0.65rem !important;
    text-transform: none;
}

.pc-plan-grid__col-pct {
    text-align: right !important;
    white-space: nowrap;
    width: 3.25rem;
    max-width: 3.75rem;
    font-size: 0.8125rem !important;
}

.pc-plan-grid__col-pct--compact {
    width: 2.85rem;
    max-width: 3.1rem;
}

.pc-plan-grid__col-inv--compact {
    min-width: 7.1rem;
    width: 7.1rem;
    max-width: 7.5rem;
}

.pc-plan-grid__col-estado--compact {
    width: 8.75rem;
    min-width: 8.75rem;
    max-width: 8.75rem;
    box-sizing: border-box;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-inv--compact,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-pct--compact,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-estado--compact {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-inv,
.pc-plan-grid .mud-table-head .pc-plan-grid__col-pct {
    text-align: right !important;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-estado,
.pc-plan-grid .mud-table-body .pc-plan-grid__col-estado {
    text-align: left !important;
}

.pc-plan-grid__col-sticky {
    position: sticky;
    z-index: 2;
    background: var(--pc-surface);
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-sticky {
    z-index: 6;
    background: #f7fafc !important;
}

.pc-plan-grid .mud-table-body tr:hover .pc-plan-grid__col-sticky {
    background: #f5f9fc !important;
}

.pc-plan-grid__col-sticky-detalle {
    left: 0;
    width: 2.75rem;
    min-width: 2.75rem;
    max-width: 2.75rem;
}

.pc-plan-table-shell:not(.pc-plan-table-shell--sin-cliente) .pc-plan-grid__col-sticky-cliente {
    left: 2.75rem;
    width: 13rem;
    min-width: 13rem;
    max-width: 13rem;
    box-shadow: 4px 0 8px -4px rgba(15, 35, 52, 0.1);
}

.pc-plan-table-shell:not(.pc-plan-table-shell--sin-cliente) .pc-plan-grid__col-sticky-proveedor {
    left: 15.75rem;
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
}

.pc-plan-table-shell:not(.pc-plan-table-shell--sin-cliente) .pc-plan-grid__col-sticky-categoria {
    left: 22.25rem;
    width: 8.5rem;
    min-width: 8.5rem;
    max-width: 8.5rem;
    box-shadow: 6px 0 10px -6px rgba(15, 35, 52, 0.12);
}

/* Mercadeo: cliente en grilla, proveedor solo en modal */
.pc-plan-table-shell--sin-proveedor:not(.pc-plan-table-shell--sin-cliente) .pc-plan-grid__col-sticky-categoria {
    left: 15.75rem;
    width: 8.5rem;
    min-width: 8.5rem;
    max-width: 8.5rem;
    box-shadow: 6px 0 10px -6px rgba(15, 35, 52, 0.12);
}

.pc-plan-table-shell--sin-proveedor:not(.pc-plan-table-shell--sin-cliente) .pc-plan-grid .mud-table-root {
    min-width: 820px;
}

.pc-plan-table-shell--sin-cliente .pc-plan-grid__col-sticky-proveedor {
    left: 2.75rem;
    width: 7.5rem;
    min-width: 7.5rem;
    max-width: 7.5rem;
    box-shadow: 4px 0 8px -4px rgba(15, 35, 52, 0.1);
}

.pc-plan-table-shell--sin-cliente .pc-plan-grid__col-sticky-categoria {
    left: 10.25rem;
    width: 10rem;
    min-width: 10rem;
    max-width: 10rem;
    box-shadow: 6px 0 10px -6px rgba(15, 35, 52, 0.12);
}

.pc-plan-grid__col-cliente {
    min-width: 10rem;
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem !important;
}

.pc-plan-grid__col-proveedor {
    max-width: 6.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem !important;
}

.pc-plan-grid__col-categoria {
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem !important;
}

.pc-plan-grid__col-inv:not(.pc-plan-grid__col-inv--compact) {
    min-width: 8.75rem;
    width: 8.75rem;
    max-width: 10rem;
}

.pc-moneda-field-wrap {
    width: 100%;
    min-width: 0;
}

.pc-plan-grid .pc-plan-inv-field {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.pc-plan-grid .pc-moneda-field-wrap input {
    pointer-events: auto;
}

.pc-plan-inv-native {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0.35rem 0.45rem;
    border: 1px solid #e6c86a;
    border-radius: 8px;
    background: #fffbeb;
    color: #0f172a;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    line-height: 1.25;
}

.pc-plan-inv-native:focus {
    outline: 2px solid rgba(43, 123, 191, 0.25);
    border-color: var(--pc-blue-accent, #2b7bbf);
    background: #fff;
}

.pc-plan-inv-native.pc-plan-inv-field--edit {
    border-color: #e6c86a;
}

.pc-plan-inv-com-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
    text-transform: none;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    padding: 0.35rem 0.5rem;
    border-color: #e6c86a !important;
    background: #fffbeb !important;
    color: #0f172a !important;
}

.pc-plan-inv-com-btn:hover {
    background: #fff !important;
    border-color: var(--pc-blue-accent, #2b7bbf) !important;
}

.pc-plan-inv-com-btn--empty {
    color: #64748b !important;
    font-style: normal;
}

/* Fila seleccionada (Control de planes — barra de acciones) */
.mud-table-row.pc-plan-grid__row--selected {
    background: rgba(43, 123, 191, 0.08) !important;
}

.pc-plan-acciones-rail {
    border-radius: 10px;
    background: #f8fafc;
}

.pc-plan-grid .pc-plan-inv-field .mud-input-root {
    font-variant-numeric: tabular-nums;
}

.pc-plan-grid .pc-plan-inv-field input,
.pc-plan-grid .pc-moneda-field input {
    text-align: right;
    min-width: 0;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a;
}

.pc-plan-grid .pc-plan-inv-field--edit .mud-input-outlined-border {
    border-color: #e6c86a !important;
    background: #fffbeb;
    border-radius: 8px !important;
}

.pc-plan-grid .pc-plan-inv-field--edit.mud-input-root:focus-within .mud-input-outlined-border {
    border-color: var(--pc-blue-accent, #2b7bbf) !important;
    background: #fff;
    outline: 2px solid rgba(43, 123, 191, 0.25);
}

.pc-plan-cell-readonly {
    display: block;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--pc-muted);
    font-size: 0.8125rem;
}

.pc-plan-grid__col-zone-start {
    border-left: 1px solid #e8edf2;
}

.pc-plan-grid .mud-table-head .pc-plan-grid__col-zone-start {
    border-left-color: #d5dee8;
}

.pc-plan-detail-btn {
    background: #e8f2fb !important;
    border-radius: 8px !important;
}

.pc-hero-kpi b {
    font-variant-numeric: tabular-nums;
}

.pc-plan-grid__col-estado:not(.pc-plan-grid__col-estado--compact) {
    min-width: 7.5rem;
    white-space: nowrap;
}

.pc-plan-grid__col-estado--compact {
    vertical-align: middle;
}

.pc-plan-estado-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
}

.pc-plan-estado-btn {
    white-space: nowrap;
    line-height: 1.25;
    text-transform: none;
    font-size: 0.6875rem;
    padding: 3px 8px;
    min-width: 0;
    max-width: 100%;
}

.pc-plan-estado-chip {
    max-width: 100% !important;
    white-space: nowrap;
}

.pc-plan-estado-link {
    text-transform: none;
    font-size: 0.6875rem;
    line-height: 1.2;
    padding: 2px 6px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    justify-content: flex-start;
}

.pc-plan-page-progress {
    border-radius: 4px;
}

.pc-plan-grid__col-estado--action {
    cursor: pointer;
}

.pc-plan-estado-chip--action {
    cursor: pointer;
}

.pc-plan-estado-chip--action:hover {
    filter: brightness(1.06);
}

.pc-plan-grid__col-accion {
    min-width: 7.5rem;
    max-width: 10.5rem;
    vertical-align: middle;
    text-align: left !important;
    white-space: normal;
}

.pc-plan-accion-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
}

.pc-plan-accion-btn {
    text-transform: none !important;
    font-size: 0.6875rem !important;
    line-height: 1.2 !important;
    min-width: 0;
    padding: 0.25rem 0.45rem !important;
}

.pc-plan-accion-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    align-items: center;
    justify-content: flex-start;
}

.pc-neg-panel {
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    padding: 1rem;
    position: sticky;
    top: calc(var(--pc-appbar-h) + 0.75rem);
    box-shadow: var(--pc-shadow);
}

.pc-neg-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pc-neg-panel__rows {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.pc-neg-panel__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.pc-neg-panel__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.pc-neg-panel__rows span:first-child {
    color: var(--pc-muted);
    flex: 0 0 auto;
    padding-top: 0.1rem;
}

.pc-neg-panel__value {
    text-align: right;
    max-width: 68%;
    word-break: break-word;
    line-height: 1.35;
}

.pc-neg-panel__row--destacada {
    margin: 0 -0.35rem;
    padding: 0.35rem 0.35rem;
    border-radius: 6px;
    background: color-mix(in srgb, var(--pc-navy) 8%, var(--pc-surface));
    border: 1px solid color-mix(in srgb, var(--pc-navy) 18%, var(--pc-line));
}

.pc-neg-panel__row--destacada span:first-child {
    color: var(--pc-text);
    font-weight: 600;
}

.pc-neg-panel__row--destacada .pc-neg-panel__value {
    color: var(--pc-navy);
    font-weight: 700;
}

.pc-neg-panel__row--estado {
    align-items: center;
}

.pc-neg-panel__estado {
    display: flex;
    justify-content: flex-end;
    max-width: 68%;
}

.pc-registro-estado-chip.mud-chip {
    height: auto;
    min-height: 1.5rem;
    max-width: 100%;
}

.pc-registro-estado-chip .mud-chip-content {
    white-space: normal;
    text-align: right;
    line-height: 1.25;
    font-weight: 600;
    font-size: 0.75rem;
}

.pc-registro-estado-chip--pm.mud-chip-filled.mud-chip-color-warning,
.pc-registro-estado-chip--pm.mud-chip-filled.mud-chip-color-warning .mud-chip-content {
    color: #1a1208 !important;
    background-color: #f5b84c !important;
}

.pc-registro-estado-chip--pendiente.mud-chip-filled.mud-chip-color-default,
.pc-registro-estado-chip--pendiente.mud-chip-filled.mud-chip-color-default .mud-chip-content {
    color: #fff !important;
    background-color: #5c6573 !important;
}

.pc-registro-estado-chip--aprobado.mud-chip-filled.mud-chip-color-success .mud-chip-content,
.pc-registro-estado-chip--reabierto.mud-chip-filled.mud-chip-color-info .mud-chip-content {
    color: #fff !important;
}

.pc-neg-historial-wrap {
    max-height: min(28rem, 52vh);
    overflow: auto;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
}

.pc-neg-historial-table .mud-table-cell {
    font-size: 0.78rem !important;
    vertical-align: top;
}

.pc-neg-historial-table .pc-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pc-neg-hist-coment {
    max-width: 9rem;
    word-break: break-word;
}

.pc-registro-form .pc-registro-form__cell {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pc-registro-form .pc-registro-form__cell > * {
    width: 100%;
}

.pc-registro-moneda,
.pc-registro-moneda .mud-input-root,
.pc-registro-moneda-readonly .mud-input-root {
    width: 100%;
}

.pc-registro-form__cell--pct {
    align-self: flex-end;
}

.pc-registro-pct-readonly input {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pc-registro-moneda input,
.pc-registro-moneda-readonly input {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pc-neg-panel__rows b {
    font-variant-numeric: tabular-nums;
}

.pc-kpi {
    background: var(--pc-surface) !important;
    border-radius: var(--pc-radius) !important;
    border-color: var(--pc-line) !important;
}

/* —— Home —— */
.home-hero {
    position: relative;
    min-height: calc(100vh - var(--pc-appbar-h));
    background-image: url('images/edificio-disal.jpg');
    background-size: cover;
    background-position: center;
    color: var(--pc-navy);
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(238, 242, 246, 0.94), rgba(232, 243, 251, 0.88));
}

.home-hero__content {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: calc(100vh - var(--pc-appbar-h));
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

.home-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: var(--pc-surface);
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    box-shadow: var(--pc-shadow);
}

.home-top__title-block {
    flex: 1 1 240px;
    min-width: 0;
}

.home-eyebrow {
    color: var(--pc-blue) !important;
    font-weight: 650 !important;
    letter-spacing: 0.04em;
    text-transform: none !important;
    margin-bottom: 0.2rem !important;
}

.home-title {
    color: var(--pc-navy) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem 0 !important;
    line-height: 1.2 !important;
}

.home-subtitle {
    color: var(--pc-muted) !important;
    max-width: 36rem;
}

.home-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
    flex-shrink: 0;
}

.home-main-grid { flex: 1; }

.home-panel,
.home-submenu {
    background: var(--pc-surface) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 14px !important;
    box-shadow: var(--pc-shadow);
}

.home-panel-item {
    background: #fafcfe !important;
    border-left: 4px solid var(--pc-blue) !important;
}

.home-panel-item--clickable {
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.home-panel-item--clickable:hover {
    background: var(--pc-blue-soft) !important;
    box-shadow: var(--pc-shadow);
}

.home-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

/* —— Login (dos paneles, alineado con SDC) —— */
.pc-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #f3f6f8;
}

.pc-login-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(155deg, #081c2c 0%, #0c3048 48%, #176b82 115%);
    display: flex;
    align-items: center;
    padding: 56px;
}

.pc-login-hero-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    right: -190px;
    bottom: -240px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(64, 170, 205, .38), transparent 65%);
}

.pc-login-hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.pc-login-hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
}

.pc-login-hero-brand small {
    display: block;
    color: #9fc3d4;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    margin-top: 3px;
}

.pc-login-hero-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 13px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(4px);
}

.pc-login-hero h1 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 38px 0 14px;
    font-weight: 800;
}

.pc-login-hero-content > p {
    color: #c3d8e2;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.pc-login-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 14px;
}

.pc-login-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 12px 14px;
    width: fit-content;
}

.pc-login-form-side {
    display: grid;
    place-items: center;
    padding: 32px 24px;
}

.pc-login-card {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.pc-login-logo {
    height: 72px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    margin-bottom: 28px;
}

.pc-login-card h2 {
    font-size: 26px;
    letter-spacing: -.02em;
    margin: 0;
    font-weight: 800;
    color: #17232d;
}

.pc-login-subtitle {
    color: #74838c;
    font-size: 13.5px;
    margin: 6px 0 26px;
}

.pc-field {
    margin-bottom: 18px;
}

.pc-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #526773;
    margin-bottom: 6px;
}

.pc-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d5e0e5;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

.pc-input:focus {
    outline: 2px solid #2b779c;
    outline-offset: 0;
    border-color: #2b779c;
}

.pc-btn-primary {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: #0c3048;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.pc-btn-primary:hover {
    background: #164d6d;
}

.pc-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 11px;
    font-size: 15px;
    margin-top: 6px;
    transition: background .15s ease, transform .15s ease;
}

.pc-btn-login:hover {
    transform: translateY(-1px);
}

.pc-login-foot {
    text-align: center;
    color: #9fb0ba;
    font-size: 11.5px;
    margin-top: 22px;
}

@media (max-width: 860px) {
    .pc-login {
        grid-template-columns: 1fr;
    }

    .pc-login-hero {
        padding: 34px 28px;
    }

    .pc-login-hero h1 {
        font-size: 29px;
        margin-top: 24px;
    }

    .pc-login-features {
        display: none;
    }
}

@media (max-width: 1100px) {
    .pc-split--open { grid-template-columns: 1fr; }
    .pc-neg-panel { position: static; }
}

@media (max-width: 720px) {
    .pc-page { padding-inline: 0.85rem; }
    .pc-topnav .mud-button-label { font-size: 0.8rem; }
    .home-hero__content { padding: 1rem; }
    .home-logo { height: 48px; }
    .home-title { font-size: 1.35rem !important; }
}
