/* Chesander · Portal de comerciales.
 * Todo bajo .cpc para no tocar estilos globales.
 * Valores tomados de las páginas publicadas (Fibra y Móvil 827, medidas el 05/11/2026):
 * Geist; secciones con 48 px laterales (22 px en móvil) y contenido a 1400 px; títulos 700 con -0.035em;
 * etiquetas 600, 0.12em, raya 40×3; botón BOTON_CHESANDER #328823, radio 10 px, 15/20 px.
 * Las reglas con .cpc delante neutralizan el reset de Hello Elementor y el peso de texto del kit. */

.cpc {
  --cpc-ink: #202a22;
  --cpc-text: #36443b;
  --cpc-muted: #5c6b61;
  --cpc-line: #dce5d8;
  --cpc-field: #c4cfc0;
  --cpc-soft: #eef5eb;
  --cpc-surface: #ffffff;
  --cpc-brand: #328823;
  --cpc-brand-hover: #2b7a1c;
  --cpc-brand-dark: #174b1a;
  --cpc-brand-tint: #e4f2de;
  --cpc-off-ink: #9b2c1f;
  --cpc-off-tint: #fbeeec;
  --cpc-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  /* Herramienta de trabajo: en pantallas anchas ocupa el 90 % (tope 1800 px); por debajo de 1496 px, todo el ancho como antes. */
  max-width: clamp(1496px, 90vw, 1800px);
  margin: 0 auto;
  /* 176 px arriba: la cabecera del sitio flota sobre el contenido con la plantilla de ancho completo
     (mismo valor que el hero de Fibra y Móvil en escritorio). */
  padding: 176px 48px 104px;
  color: var(--cpc-text);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.cpc *, .cpc *::before, .cpc *::after { box-sizing: border-box; }
.cpc :focus-visible { outline: 2px solid var(--cpc-brand); outline-offset: 2px; }
.cpc p { margin: 0; }
.cpc h2, .cpc h3 { margin: 0; font-family: inherit; color: var(--cpc-ink); }
.cpc .cpc-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cabecera de sección: etiqueta con raya + título, como las páginas del sitio */
.cpc .cpc-intro {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: 36px;
}
.cpc .cpc-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--cpc-brand-dark); font-size: 14.4px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.cpc .cpc-eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--cpc-brand); flex: none; }
.cpc .cpc-title {
  margin-top: 12px; font-size: clamp(32px, 3.2vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em;
}
.cpc .cpc-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cpc .cpc-who-text { text-align: right; line-height: 1.3; min-width: 0; }
.cpc .cpc-who-name { display: block; font-weight: 600; color: var(--cpc-ink); }
.cpc .cpc-who-role { display: block; color: var(--cpc-muted); font-size: 14px; }

/* Campos y botones */
.cpc label { display: block; line-height: 1.3; vertical-align: baseline; font-weight: 400; }
.cpc .cpc-field { display: grid; gap: 6px; }
.cpc .cpc-field > span { font-weight: 600; font-size: 14px; color: var(--cpc-ink); }
.cpc input[type="text"], .cpc input[type="email"], .cpc input[type="tel"], .cpc input[type="password"],
.cpc input[type="search"], .cpc input:not([type]), .cpc select {
  width: 100%; min-height: 46px; padding: 10px 14px; margin: 0;
  border: 1px solid var(--cpc-field); border-radius: var(--cpc-radius); background: #fff; color: var(--cpc-ink);
  font: inherit; font-size: 15px; font-weight: 400; line-height: 1.3; transition: none; box-shadow: none;
}
.cpc input::placeholder { color: var(--cpc-muted); font-weight: 400; opacity: 1; }
.cpc input:focus, .cpc select:focus { border-color: var(--cpc-brand); outline: none; box-shadow: 0 0 0 3px rgb(50 136 35 / 0.18); }
.cpc input[type="file"] { font: inherit; font-size: 14px; font-weight: 400; }
.cpc input[aria-invalid="true"], .cpc select[aria-invalid="true"] { border-color: var(--cpc-off-ink); box-shadow: 0 0 0 1px var(--cpc-off-ink); }
.cpc .cpc-field-error { color: var(--cpc-off-ink); font-size: 13px; font-weight: 500; }
.cpc .cpc-check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.cpc .cpc-check input { width: auto; min-height: 0; accent-color: var(--cpc-brand); }

.cpc .cpc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 12px 20px; margin: 0;
  border: 1px solid var(--cpc-field); border-radius: var(--cpc-radius);
  background: var(--cpc-surface); color: var(--cpc-ink);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap;
}
.cpc .cpc-btn:hover, .cpc .cpc-btn:focus { background: var(--cpc-soft); color: var(--cpc-ink); border-color: var(--cpc-brand); }
.cpc .cpc-btn-primary, .cpc .cpc-btn-primary:focus { background: var(--cpc-brand); border-color: var(--cpc-brand); color: #fff; }
.cpc .cpc-btn-primary:hover { background: var(--cpc-brand-hover); border-color: var(--cpc-brand-hover); color: #fff; }
.cpc .cpc-btn-ghost { min-height: 40px; padding: 8px 16px; }
.cpc .cpc-btn[disabled] { opacity: .55; cursor: not-allowed; }
.cpc .cpc-btn-small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.cpc .cpc-link {
  border: 0; padding: 0; margin: 0; min-height: 24px; background: none; color: var(--cpc-brand);
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cpc .cpc-link:hover, .cpc .cpc-link:focus { background: none; color: var(--cpc-brand-hover); }

.cpc .cpc-error { color: var(--cpc-off-ink); font-size: 14px; font-weight: 500; margin: 8px 0; }
.cpc .cpc-error:empty { display: none; }
.cpc .cpc-box { padding: 24px; background: var(--cpc-surface); border: 1px solid var(--cpc-line); border-radius: 16px; }
.cpc .cpc-box p + p { margin-top: 10px; }
.cpc .cpc-box a { color: var(--cpc-brand); font-weight: 600; }

/* Acceso */
.cpc.cpc-login { display: grid; place-items: center; background: none; }
.cpc .cpc-login-card {
  width: 100%; max-width: 440px; padding: 40px 36px;
  background: var(--cpc-surface); border: 1px solid var(--cpc-line); border-radius: 16px;
  box-shadow: 0 18px 40px -24px rgb(18 61 39 / 0.35);
}
.cpc .cpc-login-logo { display: block; width: 210px; max-width: 100%; height: auto; margin: 0 auto 28px; }
.cpc .cpc-login-title { margin: 0 0 24px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; text-align: center; color: var(--cpc-ink); }
.cpc .cpc-form { display: grid; gap: 16px; }
.cpc .cpc-form .cpc-btn-primary { width: 100%; min-height: 50px; margin-top: 4px; }
.cpc .cpc-help { margin-top: 16px; text-align: center; font-size: 14px; }
.cpc .cpc-help a { color: var(--cpc-brand); font-weight: 600; text-underline-offset: 3px; }

/* Estructura */
.cpc .cpc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.cpc .cpc-h { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
.cpc .cpc-counts, .cpc .cpc-meta { color: var(--cpc-muted); margin-top: 4px; }
.cpc .cpc-meta { font-size: 14px; }
.cpc .cpc-meta-role { color: var(--cpc-ink); font-weight: 500; }
.cpc .cpc-sums { margin-top: 4px; color: var(--cpc-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.cpc .cpc-neg { color: var(--cpc-off-ink); }
.cpc .cpc-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cpc .cpc-tools .cpc-search { width: 300px; }
.cpc .cpc-tools .cpc-status-filter { width: auto; min-width: 170px; }
.cpc .cpc-foot { margin-top: 12px; color: var(--cpc-muted); font-size: 14px; }
.cpc .cpc-loading { color: var(--cpc-muted); padding: 24px 0; }
.cpc .cpc-tag { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cpc .cpc-tag-on { background: var(--cpc-brand-tint); color: var(--cpc-brand-dark); }
.cpc .cpc-tag-off { background: var(--cpc-off-tint); color: var(--cpc-off-ink); }

/* Pestañas */
.cpc .cpc-tabs { display: flex; gap: 8px; margin-bottom: 28px; border-bottom: 1px solid var(--cpc-line); }
.cpc .cpc-tab, .cpc .cpc-tab:hover, .cpc .cpc-tab:focus {
  min-height: 46px; padding: 10px 16px; margin: 0 0 -1px; border: 0; border-bottom: 3px solid transparent; border-radius: 0;
  background: none; color: var(--cpc-muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.cpc .cpc-tab:hover { color: var(--cpc-ink); }
.cpc .cpc-tab[aria-selected="true"] { color: var(--cpc-ink); border-bottom-color: var(--cpc-brand); }

/* Panel de contratación */
.cpc .cpc-panel { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; }
.cpc .cpc-panel.cpc-single { grid-template-columns: minmax(0, 1fr); }
/* Lista lateral plegable: deja una barra estrecha con el botón para desplegarla */
.cpc .cpc-panel.cpc-rail-folded { grid-template-columns: 56px minmax(0, 1fr); }
.cpc .cpc-rail-toggle, .cpc .cpc-rail-toggle:hover, .cpc .cpc-rail-toggle:focus {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 36px; margin: 0 0 6px;
  padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--cpc-muted); font: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: none;
}
.cpc .cpc-rail-toggle:hover { background: rgb(255 255 255 / 0.7); color: var(--cpc-ink); }
.cpc .cpc-rail-toggle:focus-visible { outline: 2px solid var(--cpc-brand); outline-offset: 2px; }
.cpc .cpc-rail-folded .cpc-rail { padding: 6px; }
.cpc .cpc-rail-folded .cpc-rail > :not(.cpc-rail-toggle) { display: none; }
.cpc .cpc-rail-folded .cpc-rail-toggle {
  flex-direction: column; justify-content: flex-start; gap: 12px; min-height: 200px; padding: 14px 0;
  color: var(--cpc-brand-dark); font-size: 15px; letter-spacing: .12em;
}
.cpc .cpc-rail-folded .cpc-rail-toggle:hover { color: var(--cpc-brand); }
.cpc .cpc-rail-folded .cpc-rail-toggle-text { writing-mode: vertical-rl; transform: rotate(180deg); }
.cpc .cpc-rail-folded .cpc-rail-toggle > [aria-hidden] { order: -1; font-size: 20px; line-height: 1; }
.cpc .cpc-rail { background: var(--cpc-soft); border-radius: 16px; padding: 10px; }
.cpc .cpc-rail ul { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.cpc .cpc-rail-item, .cpc .cpc-rail-item:hover, .cpc .cpc-rail-item:focus {
  display: flex; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; margin: 0;
  padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--cpc-ink);
  font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; white-space: normal;
}
.cpc .cpc-rail-item:hover { background: rgb(255 255 255 / 0.7); }
.cpc .cpc-rail-item[aria-current="true"] { background: var(--cpc-surface); font-weight: 700; box-shadow: inset 3px 0 0 var(--cpc-brand); }
.cpc .cpc-rail-count { color: var(--cpc-muted); font-weight: 500; }
.cpc .cpc-rail-flag { display: block; color: var(--cpc-muted); font-size: 12px; font-weight: 500; }
.cpc .cpc-rail-flag.cpc-off { color: var(--cpc-off-ink); }
.cpc .cpc-rail .cpc-btn { width: 100%; margin-top: 10px; }
/* Red: distribuidor destacado, sus comerciales sangrados, directos bajo su rótulo */
.cpc .cpc-rail-item.cpc-rail-dist { font-weight: 600; margin-top: 6px; }
.cpc .cpc-rail-item.cpc-rail-child { padding-left: 26px; }
.cpc .cpc-rail-label { margin: 12px 12px 4px; color: var(--cpc-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cpc .cpc-rail-select { display: none; margin-bottom: 16px; gap: 8px; }

/* Tabla */
.cpc .cpc-table-wrap { overflow: auto; max-height: 70vh; background: var(--cpc-surface); border: 1px solid var(--cpc-line); border-radius: 16px; }
.cpc .cpc-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 15px; }
.cpc .cpc-table th, .cpc .cpc-table td {
  padding: 12px 12px; text-align: left; vertical-align: middle; line-height: 1.4; font-weight: 400;
  border: 0; border-bottom: 1px solid var(--cpc-line); background: transparent; color: var(--cpc-text);
}
.cpc .cpc-table tbody > tr:nth-child(odd) > td, .cpc .cpc-table tbody > tr:hover > td { background: transparent; }
.cpc .cpc-table thead th {
  position: sticky; top: 0; z-index: 1; background: var(--cpc-soft);
  font-size: 13px; font-weight: 600; color: var(--cpc-brand-dark); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.cpc .cpc-table tbody tr:last-child td { border-bottom: 0; }
.cpc .cpc-table td.cpc-name { font-weight: 600; color: var(--cpc-ink); }
.cpc .cpc-sub { display: block; color: var(--cpc-muted); font-size: 13px; font-weight: 400; }
.cpc .cpc-num { text-align: right; white-space: nowrap; }
.cpc .cpc-table th.cpc-num, .cpc .cpc-table td.cpc-num { text-align: right; }
.cpc .cpc-nowrap { white-space: nowrap; }
.cpc .cpc-break { white-space: nowrap; }
.cpc .cpc-table td.cpc-name { min-width: 160px; }
.cpc .cpc-table td.cpc-actions { white-space: nowrap; text-align: right; }
.cpc .cpc-table td select { width: auto; min-width: 88px; min-height: 38px; padding: 6px 8px; }
.cpc .cpc-table td.cpc-empty { padding: 40px 16px; color: var(--cpc-muted); text-align: center; }
.cpc .cpc-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cpc .cpc-chip-on { background: var(--cpc-brand-tint); color: var(--cpc-brand-dark); }
.cpc .cpc-chip-off { background: var(--cpc-off-tint); color: var(--cpc-off-ink); }
.cpc .cpc-chip-other { background: #eef0ee; color: var(--cpc-ink); }
.cpc .cpc-more { padding: 14px; text-align: center; }

/* Edición */
.cpc .cpc-table .cpc-editing > td { background: #f8fbf6; }
.cpc .cpc-table td.cpc-edit-cell { padding: 18px 20px; }
.cpc .cpc-edit-title { font-weight: 700; color: var(--cpc-ink); margin-bottom: 12px; }
.cpc .cpc-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cpc .cpc-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cpc .cpc-edit-sub { margin: 18px 0 10px; font-weight: 600; color: var(--cpc-ink); font-size: 14px; }
.cpc .cpc-off-field { opacity: .5; }
.cpc .cpc-calc { align-self: end; margin: 0 0 12px; color: var(--cpc-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.cpc .cpc-net-fields { display: grid; gap: 14px; }
.cpc .cpc-net-fields[hidden], .cpc [hidden] { display: none; }
.cpc .cpc-table td.cpc-num { font-variant-numeric: tabular-nums; }
.cpc .cpc-mail { display: block; max-width: 230px; overflow-wrap: break-word; }
.cpc .cpc-table abbr { text-decoration: none; cursor: help; }
/* Tarifa: descripción libre, resumida a dos líneas; al pulsar se despliega */
.cpc .cpc-tariff, .cpc .cpc-tariff:hover, .cpc .cpc-tariff:focus {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-width: 120px; max-width: 220px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit;
  font: inherit; text-align: left; white-space: pre-line; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none;
}
.cpc .cpc-tariff[aria-expanded="true"] { display: block; -webkit-line-clamp: unset; overflow: visible; }
.cpc .cpc-tariff:focus-visible { outline: 2px solid var(--cpc-brand); outline-offset: 2px; }
.cpc .cpc-field-wide { grid-column: 1 / -1; }
.cpc .cpc-field textarea { width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #c9d3c6; border-radius: 10px; font: inherit; color: var(--cpc-ink); background: #fff; resize: vertical; }
.cpc .cpc-tariff-pick { max-width: 280px; }
.cpc .cpc-chip-wait { background: #fdf3dc; color: #7a5300; }
.cpc .cpc-strong { font-weight: 600; color: var(--cpc-ink); }
.cpc .cpc-muted-dash { color: #a3ada5; }
/* Estado editable con el color de su chip */
/* Cabecera agrupada: «Comisiones» sobre las cuatro columnas de importes (dos filas fijas al desplazar) */
.cpc .cpc-table thead tr.cpc-head-top th { height: 38px; padding-top: 8px; padding-bottom: 8px; }
.cpc .cpc-table thead tr.cpc-head-sub th { top: 38px; }
.cpc .cpc-table thead th.cpc-group { text-align: center; border-bottom: 1px solid #cfe0c8; color: var(--cpc-brand-dark); }
.cpc .cpc-table thead th.cpc-money-h { letter-spacing: 0.02em; }
.cpc .cpc-table td.cpc-money, .cpc .cpc-table th.cpc-money-h { width: 1%; padding-left: 10px; padding-right: 10px; }
.cpc .cpc-table td.cpc-money-first, .cpc .cpc-table th.cpc-money-first { border-left: 1px solid var(--cpc-line); }
/* Tablas con muchas columnas (contratación y distribuidor): celdas algo más juntas */
.cpc .cpc-table.cpc-wide th, .cpc .cpc-table.cpc-wide td { padding-left: 8px; padding-right: 8px; }
.cpc .cpc-table.cpc-wide th:first-child, .cpc .cpc-table.cpc-wide td:first-child { padding-left: 14px; }
.cpc .cpc-table.cpc-wide .cpc-mail { max-width: 185px; }
.cpc .cpc-table.cpc-wide td.cpc-name { min-width: 120px; max-width: 150px; }
.cpc .cpc-table.cpc-wide .cpc-tariff { min-width: 100px; max-width: 200px; }
/* Red: comercial arriba, distribuidor debajo */
.cpc .cpc-red { min-width: 130px; max-width: 190px; }
/* Estado compacto */
.cpc .cpc-table select.cpc-status-select { width: auto; min-width: 0; min-height: 32px; padding: 3px 22px 3px 9px; font-size: 13px; border-radius: 999px; background-position: right 6px center; }
.cpc .cpc-status-select.cpc-st-alta { background-color: var(--cpc-soft); }
.cpc .cpc-status-select.cpc-st-tramitacion { background-color: #fdf3dc; }
.cpc .cpc-status-select.cpc-st-baja { background-color: var(--cpc-off-tint); }

/* Registro */
.cpc .cpc-log { margin-top: 16px; background: var(--cpc-surface); border: 1px solid var(--cpc-line); border-radius: 16px; padding: 14px 18px; }
.cpc .cpc-log summary { cursor: pointer; font-weight: 600; color: var(--cpc-ink); }
.cpc .cpc-log ul { margin: 12px 0 2px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.cpc .cpc-log p { margin-top: 8px; color: var(--cpc-muted); font-size: 14px; }
.cpc .cpc-log time { color: var(--cpc-muted); margin-right: 6px; }

/* Importación */
.cpc .cpc-import .cpc-h { margin-bottom: 12px; }
.cpc .cpc-steps { margin: 0 0 12px; padding-left: 20px; }
.cpc .cpc-steps li { margin-bottom: 6px; }
.cpc .cpc-import-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; max-width: 960px; }
.cpc .cpc-preview { margin-top: 22px; }
.cpc .cpc-preview-summary { margin-bottom: 8px; color: var(--cpc-ink); }
.cpc .cpc-preview .cpc-table-wrap { margin-top: 12px; max-height: 50vh; }
.cpc .cpc-table .cpc-pv-error > td { background: var(--cpc-off-tint); }
.cpc .cpc-table .cpc-pv-skip > td { color: var(--cpc-muted); }

/* Diálogo */
.cpc .cpc-dialog { width: min(440px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--cpc-line); border-radius: 16px; color: var(--cpc-text); font-family: inherit; }
.cpc .cpc-dialog::backdrop { background: rgb(18 61 39 / 0.45); }
.cpc .cpc-dialog .cpc-h { font-size: 22px; margin-bottom: 16px; }
.cpc .cpc-dialog form { display: grid; gap: 16px; }
.cpc .cpc-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }

.cpc-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99999;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px;
  background: #123d27; color: #fff; font-family: "Geist", system-ui, sans-serif; font-size: 15px; font-weight: 500;
}
.cpc-toast:empty { display: none; }

/* Tableta */
@media (max-width: 1024px) {
  .cpc { padding: 176px 32px 88px; }
  .cpc .cpc-panel { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
}

/* Móvil: filas apiladas, sin pantallas de detalle */
@media (max-width: 860px) {
  .cpc { padding: 176px 22px 64px; }
  .cpc .cpc-intro { margin-bottom: 28px; }
  .cpc .cpc-eyebrow { font-size: 11px; gap: 12px; }
  .cpc .cpc-title { font-size: 32px; }
  .cpc .cpc-who { width: 100%; justify-content: space-between; }
  .cpc .cpc-who-text { text-align: left; }
  .cpc .cpc-tools, .cpc .cpc-tools .cpc-search, .cpc .cpc-tools .cpc-status-filter { width: 100%; }
  .cpc .cpc-tools .cpc-btn { flex: 1 1 auto; }
  .cpc .cpc-panel, .cpc .cpc-panel.cpc-rail-folded { grid-template-columns: minmax(0, 1fr); }
  .cpc .cpc-rail { display: none; }
  .cpc .cpc-rail-select { display: grid; }
  .cpc .cpc-h { font-size: 22px; }
  .cpc .cpc-tabs { overflow-x: auto; }
  .cpc .cpc-table-wrap { max-height: none; overflow: visible; background: none; border: 0; border-radius: 0; }
  .cpc .cpc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cpc .cpc-table, .cpc .cpc-table tbody, .cpc .cpc-table tr, .cpc .cpc-table td { display: block; width: 100%; }
  .cpc .cpc-table tbody tr {
    margin-bottom: 12px; padding: 14px 16px; background: var(--cpc-surface);
    border: 1px solid var(--cpc-line); border-radius: 14px;
  }
  .cpc .cpc-table td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; padding: 4px 0; border: 0; text-align: left; }
  .cpc .cpc-table td::before { content: attr(data-label); color: var(--cpc-muted); font-size: 13px; }
  .cpc .cpc-table td.cpc-name { display: block; min-width: 0; font-size: 17px; padding-bottom: 6px; }
  .cpc .cpc-break { white-space: normal; overflow-wrap: anywhere; }
  .cpc .cpc-table td.cpc-name::before { content: none; }
  .cpc .cpc-table td.cpc-num, .cpc .cpc-table td.cpc-actions { text-align: left; white-space: normal; }
  .cpc .cpc-table td.cpc-actions { display: flex; padding-top: 10px; }
  .cpc .cpc-table td.cpc-actions::before { content: none; }
  .cpc .cpc-table td.cpc-actions .cpc-btn { flex: 1; min-height: 46px; }
  .cpc .cpc-table td .cpc-chip, .cpc .cpc-table td select { justify-self: start; }
  .cpc .cpc-table td select { min-height: 46px; }
  .cpc .cpc-table td.cpc-empty, .cpc .cpc-table td.cpc-edit-cell { display: block; padding: 0; }
  .cpc .cpc-table td.cpc-empty { padding: 28px 0; }
  .cpc .cpc-table td.cpc-empty::before, .cpc .cpc-table td.cpc-edit-cell::before { content: none; }
  .cpc .cpc-table .cpc-editing > td { background: none; }
  .cpc .cpc-edit-grid { grid-template-columns: minmax(0, 1fr); }
  .cpc .cpc-edit-actions .cpc-btn { flex: 1; }
  .cpc .cpc-login-card { padding: 28px 22px; }
}
