/* CorceLink : panel par univers. Branché sur les variables du thème Shufy pour en suivre les réglages. */

.clp {
  --clp-text: var(--color-texts, #161C2D);
  --clp-muted: #6F767E;
  --clp-line: var(--border-color-light, #ECEFF9);
  --clp-line-2: var(--border-color, #E7E9ED);
  --clp-soft: var(--background-2, #F5FAFF);
  --clp-dark: var(--background-9, #13274B);
  --clp-primary: var(--btn-primary-bg, #0CBED5);
  --clp-primary-hover: var(--btn-primary-bg-hover, #09AABF);
  --clp-primary-text: var(--btn-primary-color, #FFFFFF);
  --clp-link: var(--a-link-color, #0CBED5);
  --clp-shadow: 0 0 1px rgba(0, 0, 0, .07), 0 2px 24px rgba(0, 0, 0, .06);

  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  color: var(--clp-text);
  font-size: 14px;
  line-height: 1.6;
}
.clp *, .clp *::before, .clp *::after { box-sizing: border-box; }
.clp p, .clp dl, .clp dt, .clp dd, .clp h2, .clp table { margin: 0; }
.clp p, .clp td, .clp th, .clp dt, .clp dd { font-size: 14px; letter-spacing: normal; }
.clp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clp-muted { color: var(--clp-muted); font-weight: 500; }
.clp-strong { font-weight: 600; color: var(--clp-text); }
.clp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; }
.clp-icon { flex: none; }

/* Boutons et liens */
.clp a.clp-btn, .clp button.clp-btn, .clp summary.clp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--clp-line-2); border-radius: 8px;
  background: #FFFFFF; color: var(--clp-text);
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.clp a.clp-btn:hover, .clp summary.clp-btn:hover, .clp button.clp-btn:hover:not(:disabled) { border-color: var(--clp-text); color: var(--clp-text); }
.clp a.clp-btn-primary { background: var(--clp-primary); border-color: var(--clp-primary); color: var(--clp-primary-text); }
.clp a.clp-btn-primary:hover { background: var(--clp-primary-hover); border-color: var(--clp-primary-hover); color: var(--clp-primary-text); }
.clp a.clp-btn-soft { min-height: 38px; padding: 0 14px; background: var(--clp-soft); border-color: var(--clp-line); color: var(--clp-dark); }
.clp a.clp-link { font-weight: 600; color: var(--clp-link); }
.clp a.clp-link-muted { font-size: 13px; font-weight: 500; color: var(--clp-muted); }
.clp a:focus-visible, .clp button:focus-visible, .clp input:focus-visible { outline: 3px solid var(--clp-primary); outline-offset: 2px; }

/* En-tête de liste et univers */
.clp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-universes { display: flex; flex-wrap: wrap; gap: 8px; }
.clp a.clp-universe {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px; border-radius: 8px;
  background: var(--clp-soft); border: 1px solid var(--clp-line);
  color: var(--clp-text); font-weight: 500; text-decoration: none;
}
.clp a.clp-universe:hover { border-color: var(--clp-line-2); color: var(--clp-text); }
.clp a.clp-universe.is-active { background: var(--clp-dark); border-color: var(--clp-dark); color: #FFFFFF; font-weight: 600; }
.clp-count { padding: 0 8px; border-radius: 20px; background: var(--clp-line-2); font-size: 12px; line-height: 20px; }
.clp-universe.is-active .clp-count { background: rgba(255, 255, 255, .18); }

/* Cartes et tableaux */
.clp-card { background: #FFFFFF; border: 1px solid var(--clp-line); border-radius: 8px; box-shadow: var(--clp-shadow); }
.clp-card-head, .clp-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--clp-line);
}
.clp-card-head h2, .clp-tile-title { font-size: 16px; font-weight: 600; color: var(--clp-text); }
.clp-input {
  flex: 1 1 280px; max-width: 460px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--clp-line-2); border-radius: 8px; background: #FCFDFE;
  font: inherit; font-weight: 500; color: var(--clp-text);
}
.clp-table-wrap { overflow-x: auto; }
.clp-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.clp-table th { padding: 11px 12px; background: var(--clp-soft); color: var(--clp-muted); font-size: 13px; font-weight: 500; text-align: left; white-space: nowrap; }
.clp-table td { padding: 13px 12px; border-top: 1px solid var(--clp-line); font-weight: 500; vertical-align: middle; }
.clp-table th:first-child, .clp-table td:first-child { padding-left: 20px; }
.clp-table th:last-child, .clp-table td:last-child { padding-right: 20px; }
.clp-table tr[hidden] { display: none; }
.clp a.clp-svc { display: flex; flex-direction: column; text-decoration: none; }
.clp a.clp-svc:hover .clp-strong { color: var(--clp-link); }
.clp-svc .clp-muted { font-size: 13px; }
.clp-cell-actions { text-align: right; white-space: nowrap; }
.clp-cell-actions > * + * { margin-left: 6px; }
.clp-empty { padding: 28px 20px; color: var(--clp-muted); font-weight: 500; }
.clp-empty-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.clp-foot { font-size: 13px; }
.clp-foot a { color: var(--clp-muted); font-weight: 500; }

/* États */
.clp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.clp-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.clp-badge.is-ok { background: #DFF6F1; color: #0A6B57; }
.clp-badge.is-info { background: #E5F1FF; color: #1D4F91; }
.clp-badge.is-warn { background: #FFF1E3; color: #8F4407; }
.clp-badge.is-muted { background: #EEF0F3; color: #5B6270; }

/* Usage */
.clp-usage { display: inline-flex; flex-direction: column; gap: 6px; min-width: 160px; font-size: 13px; }
.clp-bar { display: block; height: 6px; border-radius: 6px; background: var(--clp-line); overflow: hidden; }
.clp-bar > span { display: block; height: 100%; background: var(--clp-primary); }

/* Fiche de service */
.clp-svc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.clp-svc-id { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.clp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--clp-line-2); overflow-x: auto; }
.clp-tab, .clp a.clp-tab {
  flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 14px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--clp-muted); font-weight: 500; text-decoration: none;
}
.clp a.clp-tab:hover { color: var(--clp-text); }
.clp-tab.is-active, .clp a.clp-tab.is-active { border-bottom-color: var(--clp-primary); color: var(--clp-text); font-weight: 600; }
.clp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; align-items: start; }
.clp-tile-title { padding: 15px 20px; border-bottom: 1px solid var(--clp-line); }
.clp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 20px; border-top: 1px solid #F1F3F9; }
.clp-rows .clp-row:first-child { border-top: 0; }
.clp-row dt { color: var(--clp-muted); font-weight: 500; }
.clp-row dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.clp-tile-block { display: flex; flex-direction: column; gap: 6px; padding: 14px 20px; border-bottom: 1px solid #F1F3F9; }
.clp-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 5px 5px 12px; border: 1px solid var(--clp-line-2); border-radius: 8px; background: var(--clp-soft); }
.clp-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--clp-text); background: none; padding: 0; overflow-wrap: anywhere; }
.clp-icon-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 6px; background: #FFFFFF; color: var(--clp-dark); cursor: pointer; }
.clp-icon-btn.is-done { color: #0A6B57; }
.clp-tile-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid #F1F3F9; }

@media (max-width: 640px) {
  .clp-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .clp-row dd { text-align: left; }
}

/* Alimentation et état en direct */
.clp button.clp-btn:disabled { opacity: .55; cursor: not-allowed; }
.clp-flash { padding: 10px 14px; border-radius: 8px; background: #E5F1FF; color: #1D4F91; font-weight: 500; }
.clp-flash.is-error { background: #FDE8E7; color: #8A1F17; }
.clp-flash[hidden] { display: none; }
.clp-menu { position: relative; }
.clp-menu > summary { list-style: none; }
.clp-menu > summary::-webkit-details-marker { display: none; }
.clp-menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px;
  display: flex; flex-direction: column; padding: 6px;
  background: #FFFFFF; border: 1px solid var(--clp-line-2); border-radius: 8px; box-shadow: var(--clp-shadow);
}
.clp .clp-menu-item {
  display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 6px;
  background: transparent; color: var(--clp-text); font: inherit; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.clp .clp-menu-item:hover { background: var(--clp-soft); color: var(--clp-text); }
.clp .clp-menu-item.is-danger { color: #A1251B; }
.clp .clp-menu-item:disabled { opacity: .5; cursor: not-allowed; }

/* Installation, réinstallation, incident */
.clp-spin { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: clp-spin .9s linear infinite; }
@keyframes clp-spin { to { transform: rotate(360deg); } }
.clp-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 8px; font-weight: 500; }
.clp-banner.is-info { background: #E5F1FF; color: #1D4F91; }
.clp-banner.is-warn { background: #FFF1E3; color: #7A3A06; }
.clp-banner-text { flex: 1 1 320px; }
.clp-banner .clp-link { color: inherit; text-decoration: underline; }

/* Monitoring */
.clp-mon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-section-title { font-size: 18px; font-weight: 600; color: var(--clp-text); }
.clp-periods { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); }
.clp a.clp-period { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 6px; color: var(--clp-muted); font-weight: 600; text-decoration: none; }
.clp a.clp-period.is-active { background: #FFFFFF; color: var(--clp-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.clp-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 20px; }
.clp-chart-card { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.clp-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.clp-chart-head h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--clp-text); }
.clp-chart-values { display: inline-flex; gap: 14px; font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-chart-values b { color: var(--clp-text); font-weight: 600; }
.clp-legend { display: flex; gap: 16px; font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.clp-swatch { width: 14px; height: 3px; border-radius: 2px; }
.clp-swatch.clp-line-a { background: var(--clp-primary); }
.clp-swatch.clp-line-b { background: #C2620A; }
.clp-chart-body { display: flex; gap: 8px; }
.clp-axis-y { display: flex; flex-direction: column; justify-content: space-between; min-width: 64px; font-size: 11px; color: var(--clp-muted); text-align: right; padding: 0 0 2px; }
.clp-chart { flex: 1; width: 100%; height: 160px; }
.clp-grid { stroke: #EEF1F6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.clp-series { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.clp-series.clp-line-a { stroke: var(--clp-primary); }
.clp-series.clp-line-b { stroke: #C2620A; stroke-dasharray: 6 4; }
.clp-axis-x { display: flex; justify-content: space-between; padding-left: 72px; font-size: 11px; color: var(--clp-muted); }
.clp-note { font-size: 13px; color: var(--clp-muted); font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .clp-spin { animation: none; } }

/* Réseau, snapshots, journal */
.clp-card-foot { padding: 12px 20px; border-top: 1px solid var(--clp-line); font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-card-foot.is-error { color: #8A1F17; }
.clp-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 20px; background: var(--clp-soft); border: 1px solid var(--clp-line); font-family: inherit; font-size: 11px; font-weight: 600; color: var(--clp-muted); }
.clp-ptr-form { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.clp-ptr-form[hidden], [data-clp-ptr-value][hidden], [data-clp-ptr-edit][hidden] { display: none !important; }
.clp .clp-input-sm { flex: 0 1 240px; width: 240px; min-height: 36px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.clp button.clp-btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.clp button.clp-btn-dark, .clp a.clp-btn-dark { background: var(--clp-dark); border-color: var(--clp-dark); color: #FFFFFF; }
.clp a.clp-btn-dark:hover { color: #FFFFFF; opacity: .9; }
/* Survol du bouton foncé : texte toujours blanc (la règle générale des boutons le rendait foncé sur fond marine) */
.clp button.clp-btn-dark:hover:not(:disabled) { background: #0B1A35; border-color: #0B1A35; color: #FFFFFF; }
.clp button.clp-btn-dark:focus-visible, .clp a.clp-btn-dark:focus-visible { outline: 2px solid #0CBED5; outline-offset: 2px; }
.clp-table tr.is-off td { opacity: .6; }
.clp-nowrap { white-space: nowrap; }
.clp-mon-head + .clp-card, .clp-card + .clp-tiles, .clp-tiles + .clp-card { margin-top: 0; }

/* Pare-feu modifiable */
.clp .clp-select { min-height: 38px; padding: 0 10px; border: 1px solid var(--clp-line-2); border-radius: 8px; background: #FFFFFF; font: inherit; font-weight: 500; color: var(--clp-text); }
.clp-switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.clp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.clp-switch > span[aria-hidden] { width: 42px; height: 24px; border-radius: 12px; background: #CDD3DC; transition: background-color .15s ease; position: relative; }
.clp-switch > span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.clp-switch input:checked + span[aria-hidden] { background: var(--clp-dark); }
.clp-switch input:checked + span[aria-hidden]::after { transform: translateX(18px); }
.clp-switch input:focus-visible + span[aria-hidden] { outline: 3px solid var(--clp-primary); outline-offset: 2px; }
.clp-switch input:disabled + span[aria-hidden] { opacity: .5; }
.clp-switch-sm > span[aria-hidden] { width: 34px; height: 20px; }
.clp-switch-sm > span[aria-hidden]::after { width: 14px; height: 14px; }
.clp-switch-sm input:checked + span[aria-hidden]::after { transform: translateX(14px); }
.clp-cell-actions .clp-switch { vertical-align: middle; margin-right: 4px; }
.clp-icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.clp-icon-btn.is-danger { color: #A1251B; }
.clp-lock { display: inline-flex; color: var(--clp-muted); }
.clp-fw-form { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--clp-line); background: #FCFDFE; }
.clp-fw-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.clp .clp-chip-btn { min-height: 34px; padding: 0 12px; border: 1px dashed #A9B4C4; border-radius: 20px; background: #FFFFFF; color: var(--clp-dark); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.clp-fw-fields { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.clp-fw-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--clp-muted); }
.clp-fw-fields .clp-input-sm { width: 170px; flex: none; }

/* Vue d'ensemble VPS : cartes de la maquette */
.clp-tile-head { padding: 15px 20px; }
.clp-tile-head h2 { font-size: 16px; font-weight: 600; color: var(--clp-text); }
.clp-tile-head .clp-link { font-size: 13px; }
.clp-inline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.clp-inline .clp-link { font-size: 13px; font-weight: 600; }
.clp-meter { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px; border-top: 1px solid #F1F3F9; }
.clp-tile-head + .clp-meter { border-top: 0; }
.clp-meter-top { display: flex; justify-content: space-between; gap: 12px; }
.clp-meter-top > span:first-child { color: var(--clp-muted); font-weight: 500; }
.clp-meter-top .clp-mono { font-weight: 500; }
.clp-ops { list-style: none; margin: 0; padding: 0; }
.clp-ops li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 20px; border-top: 1px solid #F1F3F9; }
.clp-ops li:first-child { border-top: 0; }
.clp-ops .clp-muted { white-space: nowrap; }

/* Réinstallation */
.clp-rs-form, .clp-rs-done { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; }
.clp-rs-intro { color: var(--clp-muted); font-weight: 500; max-width: 820px; }
.clp-os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; border: 0; margin: 0; padding: 0; }
.clp-os { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--clp-line-2); border-radius: 8px; background: #FFFFFF; cursor: pointer; }
.clp-os input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.clp-os:has(input:checked) { border-color: var(--clp-dark); box-shadow: 0 0 0 1px var(--clp-dark); background: var(--clp-soft); }
.clp-os:has(input:focus-visible) { outline: 3px solid var(--clp-primary); outline-offset: 2px; }
.clp-os-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--clp-dark); color: #FFFFFF; font-weight: 600; }
.clp-os-name { flex: 1; font-weight: 600; }
.clp-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.clp-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #A1251B; }
.clp button.clp-btn-danger { background: #A1251B; border-color: #A1251B; color: #FFFFFF; }
.clp button.clp-btn-danger:hover:not(:disabled) { background: #861E16; border-color: #861E16; color: #FFFFFF; }
.clp-rs-msg { color: #8A1F17; font-weight: 500; }
.clp-rs-msg[hidden], .clp-rs-done[hidden], .clp-rs-form[hidden] { display: none; }
.clp-rs-actions { display: flex; gap: 8px; }
.clp-secret { display: inline-block; padding: 10px 14px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; user-select: all; }

.clp-rs-done p { margin: 0; color: var(--clp-text); }
.clp-rs-done > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* Accès, clés SSH, logos des systèmes */
.clp-tiles-2 { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.clp-ac-form { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; }
.clp-ac-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-ac-msg { font-size: 13px; font-weight: 500; color: #0A6B57; }
.clp-ac-msg.is-error { color: #8A1F17; }
.clp-ac-result { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.clp-ac-result[hidden], .clp-rs-msg[hidden] { display: none; }
.clp-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--clp-text); }
.clp-field small { font-weight: 500; color: var(--clp-muted); }
.clp .clp-textarea { width: 100%; min-height: 96px; padding: 10px 12px; border: 1px solid var(--clp-line-2); border-radius: 8px; background: #FCFDFE;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; color: var(--clp-text); resize: vertical; }
.clp-os-logo { flex: none; width: 36px; height: 36px; object-fit: contain; }

/* Console */
.clp-console { overflow: hidden; }
.clp-console-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--clp-line); }
.clp-console-state { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--clp-muted); }
.clp-console-state.is-error { color: #8A1F17; }
.clp-console-paste { display: flex; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--clp-line); background: #FCFDFE; }
.clp-console-paste[hidden] { display: none; }
.clp-console-paste .clp-input { max-width: none; }
.clp-console-screen { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 360px; background: #0B1220; }
.clp-console-screen:fullscreen { aspect-ratio: auto; }
.clp-console-screen > div { width: 100% !important; height: 100% !important; }
.clp-rs-msg.is-ok { color: #0A6B57; }

/* ---------- Configurateur de commande ---------- */
.clp-or-steps { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.clp-or-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); color: var(--clp-muted); font-weight: 500; }
.clp-or-steps li > span { width: 22px; height: 22px; border-radius: 50%; background: var(--clp-line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.clp-or-steps li.is-current { background: var(--clp-dark); border-color: var(--clp-dark); color: #FFFFFF; font-weight: 600; }
.clp-or-steps li.is-current > span { background: rgba(255, 255, 255, .18); }
.clp-or-layout { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.clp-or-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.clp-or-head h2 { font-size: 17px; font-weight: 600; color: var(--clp-text); }
.clp-or-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.clp-or-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 22px; }
.clp-or-span { grid-column: 1 / -1; }
.clp-or-span[data-clp-fields-for] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 22px; }
.clp-or-span[hidden], .clp-or-field[hidden], .clp-or-osblock[hidden], .clp-or-versions[hidden], .clp-or-errors[hidden], .clp-or-save[hidden] { display: none !important; }

/* Cycle */
.clp-or-cycles { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); }
.clp .clp-or-cycle { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--clp-muted); font: inherit; font-weight: 600; cursor: pointer; }
.clp .clp-or-cycle[aria-pressed="true"] { background: #FFFFFF; color: var(--clp-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.clp .clp-or-cycle:disabled { opacity: .4; cursor: not-allowed; }
.clp-or-save { padding: 1px 8px; border-radius: 20px; background: #DFF6F1; color: #0A6B57; font-size: 12px; }

/* Offres */
.clp-or-tiers { padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.clp .clp-or-tier { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--clp-line-2); text-align: left; font: inherit; color: var(--clp-text); cursor: pointer; }
.clp .clp-or-tier:hover { border-color: #B9C2D3; }
.clp .clp-or-tier[aria-pressed="true"] { background: var(--clp-soft); border: 2px solid var(--clp-dark); padding: 17px; box-shadow: 0 0 0 3px rgba(12, 190, 213, .18); }
.clp .clp-or-tier:disabled { opacity: .5; cursor: not-allowed; }
.clp-or-tier-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.clp-or-tier-name { font-size: 17px; font-weight: 600; }
.clp-or-check { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #CDD3DC; color: transparent; }
.clp-or-tier[aria-pressed="true"] .clp-or-check { background: var(--clp-dark); border-color: var(--clp-dark); color: #FFFFFF; }
.clp-or-tagline { font-size: 13px; color: var(--clp-muted); font-weight: 500; min-height: 42px; }
.clp-or-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 0; border-top: 1px solid #F1F3F9; border-bottom: 1px solid #F1F3F9; }
.clp-or-specs > span { display: flex; flex-direction: column; }
.clp-or-specs b { font-weight: 600; }
.clp-or-specs small, .clp-or-price small, .clp-or-hint { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-or-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.clp-or-price b { font-size: 24px; font-weight: 600; line-height: 1; }
.clp-or-hint { min-height: 18px; }

/* Systèmes */
.clp-or-distros { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.clp .clp-or-distro { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border-radius: 8px; background: #FFFFFF; border: 1px solid var(--clp-line-2); font: inherit; font-weight: 600; color: var(--clp-text); text-align: left; cursor: pointer; }
.clp .clp-or-distro[aria-pressed="true"] { background: var(--clp-soft); border: 2px solid var(--clp-dark); padding: 9px 11px; box-shadow: 0 0 0 3px rgba(12, 190, 213, .18); }
.clp-or-distro .clp-os-logo, .clp-or-distro .clp-os-mark { width: 34px; height: 34px; }
.clp-or-versions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.clp-or-label { font-size: 13px; font-weight: 600; }
.clp-or-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.clp .clp-or-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--clp-line-2); color: var(--clp-text); font: inherit; font-weight: 600; cursor: pointer; }
.clp .clp-or-pill[aria-pressed="true"] { background: var(--clp-dark); border-color: var(--clp-dark); color: #FFFFFF; }
.clp-or-lts { padding: 0 6px; border-radius: 10px; background: #EEF0F3; font-size: 11px; color: var(--clp-muted); }
.clp-or-pill[aria-pressed="true"] .clp-or-lts { background: rgba(255, 255, 255, .2); color: #FFFFFF; }

/* Serveur */
.clp-or-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--clp-text); }
.clp-or-field small { font-weight: 500; color: var(--clp-muted); font-size: 13px; }
.clp .clp-or-field .clp-input { flex: none; max-width: none; width: 100%; min-height: 44px; box-sizing: border-box; }
.clp-or-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.clp-or-static { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--clp-line); border-radius: 8px; background: var(--clp-soft); font-weight: 600; font-size: 14px; }
.clp-or-static svg { color: #077D8F; }
.clp-or-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); font-weight: 500; }
.clp-or-note svg { flex: none; margin-top: 2px; color: var(--clp-dark); }

/* Récapitulatif */
.clp-or-summary { flex: 1 1 340px; max-width: 420px; min-width: 0; position: sticky; top: 24px; }
.clp-or-summary .clp-row dd { text-align: right; }
.clp-or-promo { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px; border-top: 1px solid #F1F3F9; border-bottom: 1px solid #F1F3F9; }
.clp-or-promo label { font-size: 13px; font-weight: 600; }
.clp-or-promo > div { display: flex; gap: 8px; }
.clp .clp-or-promo .clp-input { flex: 1; min-width: 0; max-width: none; min-height: 40px; }
.clp-or-promo small { font-size: 12px; font-weight: 500; color: #0A6B57; }
.clp-or-promo small.is-error { color: #8A1F17; }
.clp-or-totals { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.clp-or-totals small { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-or-line { display: flex; justify-content: space-between; gap: 12px; }
.clp-or-line span { color: var(--clp-muted); font-weight: 500; }
.clp-or-line.is-discount, .clp-or-line.is-discount span { color: #0A6B57; }
.clp-or-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 1px solid var(--clp-line); font-weight: 600; }
.clp-or-total b { font-size: 24px; }
.clp button.clp-or-go { margin-top: 6px; justify-content: center; min-height: 48px; font-size: 15px; }
.clp button.clp-or-go:disabled { opacity: .7; cursor: progress; }
.clp-or-errors { padding: 10px 14px; border-radius: 8px; background: #FDE8E7; color: #8A1F17; font-weight: 500; font-size: 13px; }
.clp-or-errors ul { margin: 0; padding-left: 18px; }
.clp-or-auto { display: flex; align-items: center; gap: 8px; }
/* Case d'exécution immédiate, juste au-dessus du bouton */
.clp-or-waiver { margin-top: 6px; padding: 12px 14px; border: 1px solid var(--clp-line); border-radius: 8px; background: var(--clp-soft); font-size: 13px; line-height: 1.5; }
.clp-or-waiver[hidden] { display: none; }
.clp-or-waiver .clp-check { align-items: flex-start; }
.clp-or-waiver input { margin-top: 3px; flex: none; }
.clp-or-mobilebar { display: none; }
@media (max-width: 900px) {
  .clp-or-summary { position: static; }
  .clp-or-mobilebar { display: flex; position: sticky; bottom: 0; z-index: 6; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin: 12px -16px 0; background: #FFFFFF; border-top: 1px solid var(--clp-line); box-shadow: 0 -6px 18px rgba(19, 39, 75, .08); }
  .clp-or-mobilebar b { font-size: 18px; white-space: nowrap; }
  .clp-or-mobilebar .clp-btn { flex: 1; justify-content: center; max-width: 260px; }
  .clp-or-mobilebar.is-off { visibility: hidden; }
  /* Champ à corriger mis à l'écran au-dessus de la barre du bas (validation du navigateur) */
  .clp-order [data-clp-field], .clp-order [data-clp-domain], .clp-order [data-clp-errors] { scroll-margin: 90px 0 130px; }
}

/* Commande : toutes familles, page « Commander » */
.clp-or-main { counter-reset: clp-section; }
.clp-or-section:not([hidden]) .clp-or-head h2::before { counter-increment: clp-section; content: counter(clp-section) ". "; }
.clp-or-section[hidden], .clp-or-optblock[hidden], [data-clp-domain-for][hidden], [data-clp-server-for][hidden] { display: none !important; }
.clp-or-back { margin: 0; font-size: 14px; }
.clp-or-back a { color: var(--clp-muted); font-weight: 500; text-decoration: none; }
.clp-or-back a::before { content: "\2190\00a0"; }
.clp-or-back a:hover { color: var(--clp-text); }
.clp-or-feats { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid #F1F3F9; border-bottom: 1px solid #F1F3F9; font-size: 13px; font-weight: 500; }
.clp-or-feats > span { display: flex; align-items: flex-start; gap: 8px; }
.clp-or-feats svg { flex: none; margin-top: 3px; color: #0A6B57; }
.clp-or-opt { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.clp-or-optblock { display: flex; flex-direction: column; gap: 18px; }
.clp-or-optprice { font-size: 12px; font-weight: 500; color: inherit; opacity: .8; }
.clp-or-optprice:empty { display: none; }
.clp-or-qty { display: flex; align-items: center; gap: 10px; }
.clp .clp-or-qty .clp-input { width: 110px; flex: none; }
.clp-or-hubnav { margin-bottom: 4px; }
.clp-or-hubsec { display: flex; flex-direction: column; gap: 12px; }
.clp-or-hubtitle { margin: 0; font-size: 19px; font-weight: 600; color: var(--clp-text); }
.clp-or-hubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.clp a.clp-or-hubcard { display: flex; flex-direction: column; gap: 10px; padding: 20px; text-decoration: none; color: var(--clp-text); transition: border-color .15s, box-shadow .15s; }
.clp a.clp-or-hubcard:hover { border-color: #B9C2D3; box-shadow: 0 0 1px rgba(0, 0, 0, .07), 0 6px 28px rgba(0, 0, 0, .08); }
.clp-or-hubname { font-size: 18px; font-weight: 600; }
.clp-or-hubhead { font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-or-hubfoot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px solid #F1F3F9; }
.clp-or-from b { font-size: 20px; font-weight: 600; }
.clp-or-from small, .clp-or-hubcount { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-or-hubgo { align-self: flex-start; }
.clp-or-quote { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px; }
.clp-or-quote p { margin: 4px 0 0; }
.clp-or-tiers { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.clp-or-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #077D8F; }
.clp-or-hubgo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; min-height: 42px; margin-top: 4px; border-radius: 8px; background: var(--clp-dark); color: #FFFFFF; font-weight: 600; font-size: 14px; }
.clp a.clp-or-hubcard:hover .clp-or-hubgo { background: #1F325B; }

/* ---------- Accueil de l'espace client ---------- */
.clp-badge.is-danger { background: #FDE8E7; color: #8A1F17; }
.clp-home-sub { margin: -6px 0 0; color: var(--clp-muted); font-weight: 500; }
.clp-home-h2 { margin: 0; font-size: 19px; font-weight: 600; color: var(--clp-text); }
.clp-count { min-width: 24px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--clp-dark); color: #FFFFFF; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.clp-home-ok { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.clp-home-ok .clp-icon { width: 28px; height: 28px; color: #0A6B57; flex: none; }
.clp-home-ok div { display: flex; flex-direction: column; }
.clp-home-ok span { color: var(--clp-muted); font-weight: 500; font-size: 13px; }
.clp-home-alerts { margin: 0; padding: 0; list-style: none; }
.clp-home-alert { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid #F1F3F9; }
.clp-home-alert:first-child { border-top: 0; }
.clp-home-ico { flex: none; width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #E5F1FF; color: #1D4F91; }
.clp-home-alert.is-warn .clp-home-ico { background: #FFF1E3; color: #8F4407; }
.clp-home-alert.is-danger .clp-home-ico { background: #FDE8E7; color: #8A1F17; }
.clp-home-txt { flex: 1; min-width: 0; font-weight: 500; }
.clp-home-unis { display: flex; flex-direction: column; gap: 12px; }
.clp-home-unigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.clp a.clp-home-uni { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; text-decoration: none; color: var(--clp-text); transition: border-color .15s, box-shadow .15s; }
.clp a.clp-home-uni:hover { border-color: #B9C2D3; box-shadow: 0 0 1px rgba(0, 0, 0, .07), 0 6px 28px rgba(0, 0, 0, .08); }
.clp a.clp-home-uni.is-order { border: 1px dashed #B9C2D3; border-radius: 8px; background: transparent; }
.clp-home-uniico { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--clp-soft); color: var(--clp-dark); margin-bottom: 4px; }
.clp-home-uni.is-order .clp-home-uniico { background: var(--clp-dark); color: #FFFFFF; }
.clp-home-uniname { font-size: 16px; font-weight: 600; }
.clp-home-unicount { font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-home-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 22px; align-items: start; }
.clp-home-tickets { margin: 0; padding: 0; list-style: none; }
.clp-home-tickets li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid #F1F3F9; }
.clp-home-tickets li:first-child { border-top: 0; }
.clp-home-tickets a { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--clp-text); }
.clp-home-tktitle { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clp-home-tickets .clp-muted { font-size: 12px; }
.clp-home-newsbody { padding: 14px 20px 18px; }
.clp-home-newsbody h3 { margin: 2px 0 6px; font-size: 16px; font-weight: 600; }
.clp-home-newsbody p { margin: 0; color: var(--clp-muted); font-weight: 500; }
.clp-home .clp-banner.is-warn { background: #FFF1E3; color: #8F4407; }
.clp-home-cols .clp-table { min-width: 0; width: 100%; }
.clp-home-cols .clp-table th, .clp-home-cols .clp-table td { padding-left: 20px; padding-right: 12px; white-space: nowrap; }
.clp-home .clp-num { text-align: right; }

/* ---------- Accueil 1.8 (maquette « vue d'ensemble du compte ») ---------- */
.clp-home-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: -10px; }
.clp-home-top .clp-home-sub { margin: 0; }
.clp-home-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.clp-home-actions .clp-btn { min-height: 44px; }
.clp-nowrap { white-space: nowrap; }
.clp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.clp-home-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.clp-home-kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.clp-home-kl { font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-home-kv { font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--clp-text); }
.clp-home-kv.is-danger { color: #8A1F17; }
.clp-home-ks { font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-home-kpi .clp-link { margin-top: 4px; font-size: 13px; }
.clp-home-split { display: flex; gap: 3px; margin-top: 8px; }
.clp-home-split span { height: 6px; border-radius: 3px; }
.clp-home-spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 6px; }
.clp-home-spark span { flex: 1; border-radius: 2px; background: #C9D2E3; min-height: 2px; }
.clp-home-row { display: flex; gap: 22px; align-items: stretch; flex-wrap: wrap; }
.clp-home-main { flex: 999 1 560px; min-width: 0; }
.clp-home-side { flex: 1 1 340px; min-width: 0; max-width: 460px; }
.clp-home-acc dd { text-align: right; }
.clp-home-acc dd small { display: block; font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-home-acc .is-ok { color: #0A6B57; }
.clp-home-srvtable { min-width: 900px; }
.clp a.clp-home-srv { display: flex; flex-direction: column; text-decoration: none; color: var(--clp-text); }
.clp-home-srv small { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-home-meter { display: flex; align-items: center; gap: 8px; }
.clp-home-meter b { font-size: 12px; min-width: 34px; }
.clp-home-track { width: 90px; height: 6px; border-radius: 3px; background: #EEF0F3; overflow: hidden; display: inline-block; }
.clp-home-track > span { display: block; height: 100%; width: 0; background: var(--clp-dark); border-radius: 3px; transition: width .4s; }
.clp-home-track > span.is-mid { background: #D97706; }
.clp-home-track > span.is-high { background: #C2410C; }
.clp-home-track.is-lg { width: 100%; height: 8px; border-radius: 4px; }
.clp-home-period { display: inline-flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); }
.clp .clp-home-period button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--clp-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.clp .clp-home-period button[aria-pressed="true"] { background: #FFFFFF; color: var(--clp-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.clp-home-chart { padding: 16px 20px 14px; display: flex; flex-direction: column; gap: 10px; }
.clp-home-totals { display: flex; gap: 28px; flex-wrap: wrap; }
.clp-home-totals span { display: flex; flex-direction: column; }
.clp-home-totals small { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-home-totals b { font-size: 20px; font-weight: 600; }
.clp-home-bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 10px; border-bottom: 1px solid var(--clp-line); }
.clp-home-bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.clp-home-bar[hidden], .clp-home-blabels span[hidden] { display: none; }
.clp-home-bar small { font-size: 11px; font-weight: 600; color: #4A5160; white-space: nowrap; }
.clp-home-bar > span { width: 100%; max-width: 36px; border-radius: 4px 4px 0 0; background: var(--clp-dark); transition: height .3s; }
.clp-home-bar.is-last > span { background: #0CBED5; }
.clp-home-blabels { display: flex; gap: 8px; }
.clp-home-blabels span { flex: 1; text-align: center; font-size: 11px; color: var(--clp-muted); font-weight: 500; }
.clp-home-ren { min-width: 0; }
.clp-home-ren td { padding: 11px 12px; }
.clp-home-ren td:first-child { padding-left: 20px; }
.clp-home-ren td:last-child { padding-right: 20px; }
.clp-home-ren tr:first-child td { border-top: 0; }
.clp-home-ren td b { display: block; font-weight: 600; }
.clp-home-ren td small { display: block; font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-home-hosting { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.clp-home-gauge { display: flex; flex-direction: column; gap: 6px; }
.clp-home-gauge > span:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.clp-home-state { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #F1F3F9; }
.clp-home-pulse { width: 12px; height: 12px; border-radius: 50%; background: #10A37F; box-shadow: 0 0 0 4px #DFF6F1; flex: none; }
.clp-home-state.is-warn .clp-home-pulse { background: #D97706; box-shadow: 0 0 0 4px #FFF1E3; }
.clp-home-incidents { margin: 0; padding: 6px 0 10px; list-style: none; }
.clp-home-incidents li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 20px; font-weight: 500; }
.clp-home-incidents small { font-size: 12px; color: var(--clp-muted); white-space: nowrap; }
.clp-home-cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; align-items: start; }
.clp-home-list { margin: 0; padding: 0; list-style: none; }
.clp-home-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 20px; border-top: 1px solid #F1F3F9; }
.clp-home-list li:first-child { border-top: 0; }
.clp-home-list li.is-stack { flex-direction: column; align-items: stretch; gap: 4px; }
.clp-home-list li > span:first-child { display: flex; flex-direction: column; }
.clp-home-list small { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-home-amt { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.clp a.clp-home-tk { font-weight: 600; color: var(--clp-text); text-decoration: none; }
.clp-home-timeline { margin: 0; padding: 12px 20px 16px; list-style: none; }
.clp-home-timeline li { display: flex; gap: 12px; position: relative; padding-bottom: 10px; }
.clp-home-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 2px; background: var(--clp-line); }
.clp-home-timeline li > span:last-child { display: flex; flex-direction: column; font-weight: 500; }
.clp-home-timeline small { font-size: 12px; color: var(--clp-muted); }
.clp-home-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--clp-dark); }
.clp-home-dot.is-ok { background: #10A37F; }
.clp-home-news { display: flex; align-items: center; gap: 18px; padding: 16px 20px; flex-wrap: wrap; }
.clp-home-tag { padding: 4px 10px; border-radius: 6px; background: #CFECF4; color: #13274B; font-size: 12px; font-weight: 600; }
.clp-home-news .clp-home-newsbody { flex: 1; min-width: 240px; display: flex; flex-direction: column; padding: 0; }
.clp-home-news .clp-home-newsbody span { font-size: 13px; }
.clp-home-bar, .clp-home-blabels span { min-width: 0; }
@media (max-width: 720px) {
  .clp-home-bar small { display: none; }
  .clp-home-bars, .clp-home-blabels { gap: 4px; }
  .clp-home-blabels span { font-size: 10px; overflow: hidden; }
  .clp-home-side { max-width: none; }
}
@media (max-width: 720px) { .clp-home-ren td:nth-child(4) { display: none; } }

/* ---------- Factures (maquette « Facturation : liste, facture et PDF ») ---------- */
.clp-inv-kv-sm { font-size: 20px; line-height: 1.7; }
.clp-home-ks.is-ok { color: #0A6B57; font-weight: 600; }
.clp-home-dot.is-warn { background: #D97706; }
.clp-inv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--clp-line); }
.clp-inv-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.clp a.clp-inv-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 8px; color: #4A5160; font-size: 13px; font-weight: 600; text-decoration: none; }
.clp a.clp-inv-tab:hover { background: var(--clp-soft); color: var(--clp-text); }
.clp a.clp-inv-tab.is-on { background: var(--clp-dark); color: #FFFFFF; }
.clp-inv-tab span { padding: 0 7px; border-radius: 10px; background: #EEF0F3; font-size: 11px; }
.clp-inv-tab.is-on span { background: rgba(255, 255, 255, .18); }
.clp-inv-year { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px; border: 1px solid var(--clp-line); border-radius: 8px; color: var(--clp-muted); font-size: 13px; margin: 0; }
.clp-inv-year label { margin: 0; font-weight: 500; }
.clp-inv-year select { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--clp-text); }
.clp-inv-table { min-width: 880px; }
.clp-inv-table td { vertical-align: middle; }
.clp-inv-table td.is-late { color: #8A1F17; font-weight: 600; }
.clp-inv-what { display: block; font-weight: 500; }
.clp-inv-table small { display: block; font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-inv-table .clp-btn-sm .clp-icon { margin-right: 4px; }
.clp-inv-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; border-top: 1px solid var(--clp-line); font-size: 13px; color: var(--clp-muted); font-weight: 500; }
.clp-inv-pager { display: flex; gap: 4px; }
.clp-inv-pager a, .clp-inv-pager span { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 600; text-decoration: none; color: var(--clp-text); }
.clp-inv-pager span[aria-current] { background: var(--clp-dark); color: #FFFFFF; }
.clp-inv-note { display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.clp-inv-noteico { width: 40px; height: 40px; border-radius: 10px; background: var(--clp-soft); color: var(--clp-dark); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.clp-inv-noteico .clp-icon { width: 20px; height: 20px; }
.clp-inv-note > span:nth-child(2) { flex: 1; min-width: 240px; display: flex; flex-direction: column; }
.clp-inv-note > span:nth-child(2) span { font-size: 13px; color: var(--clp-muted); font-weight: 500; }

.clp-inv-top .clp-home-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--clp-muted); }
.clp-inv-top .clp-btn .clp-icon { margin-right: 6px; }
.clp-inv-layout { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.clp-inv-doc { flex: 999 1 640px; min-width: 0; padding: 32px 36px; display: flex; flex-direction: column; gap: 22px; }
.clp-inv-side { flex: 1 1 340px; max-width: 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.clp-inv-doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.clp-inv-seller { display: flex; flex-direction: column; gap: 8px; }
.clp-inv-brand { font-size: 20px; font-weight: 600; color: var(--clp-dark); }
.clp-inv-seller span { font-size: 12px; line-height: 1.6; color: #4A5160; font-weight: 500; }
.clp-inv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-inv-word { font-size: 26px; font-weight: 600; color: var(--clp-dark); line-height: 1.1; letter-spacing: -0.02em; }
.clp-inv-meta b { font-size: 14px; color: var(--clp-text); }
.clp-inv-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.clp-inv-buyer, .clp-inv-info { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--clp-line); display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #4A5160; font-weight: 500; }
.clp-inv-buyer { background: var(--clp-soft); }
.clp-inv-buyer b { font-size: 13px; color: var(--clp-text); }
.clp-inv-label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #077D8F; margin-bottom: 2px; }
.clp-inv-info > span:not(.clp-inv-label) { display: flex; justify-content: space-between; gap: 10px; }
.clp-inv-info b { color: var(--clp-text); text-align: right; }
.clp-inv-lines { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 560px; }
.clp-inv-lines th { padding: 9px 12px; background: var(--clp-dark); color: #FFFFFF; font-weight: 600; text-align: left; white-space: nowrap; }
.clp-inv-lines th:first-child { border-radius: 6px 0 0 6px; }
.clp-inv-lines th:last-child { border-radius: 0 6px 6px 0; }
.clp-inv-lines td { padding: 11px 12px; border-bottom: 1px solid var(--clp-line); vertical-align: top; }
.clp-inv-lines td b { font-weight: 600; }
.clp-inv-lines td small { display: block; color: var(--clp-muted); font-weight: 500; font-size: 12px; }
.clp-inv-lines .clp-num, .clp-inv-lines th.clp-num { text-align: right; }
.clp-inv-sum { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.clp-inv-vat { margin: 0; font-size: 12px; color: var(--clp-muted); font-weight: 500; max-width: 360px; }
.clp-inv-totals { min-width: 260px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.clp-inv-totals > span { display: flex; justify-content: space-between; gap: 16px; }
.clp-inv-totals > span > span { color: var(--clp-muted); font-weight: 500; }
.clp-inv-totals .is-total { padding: 10px 12px; border-radius: 8px; background: var(--clp-dark); color: #FFFFFF; }
.clp-inv-ways { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--clp-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; font-size: 12px; }
.clp-inv-ways > span { display: flex; flex-direction: column; gap: 2px; color: #4A5160; font-weight: 500; }
.clp-inv-ways b { color: var(--clp-text); }
.clp-inv-legal { margin: 0; font-size: 11px; line-height: 1.55; color: var(--clp-muted); font-weight: 500; }

.clp-inv-paybody { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.clp-inv-due { display: flex; justify-content: space-between; align-items: baseline; }
.clp-inv-due span { color: var(--clp-muted); font-weight: 500; }
.clp-inv-due b { font-size: 26px; font-weight: 600; }
.clp-inv-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 8px; background: var(--clp-soft); border: 1px solid var(--clp-line); }
.clp .clp-inv-switch button { min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--clp-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.clp .clp-inv-switch button[aria-selected="true"] { background: #FFFFFF; color: var(--clp-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.clp-inv-pane { display: flex; flex-direction: column; gap: 10px; }
.clp-inv-pane[hidden] { display: none; }
.clp-inv-pane form { margin: 0; }
.clp-inv-card { margin: 0; padding: 12px 14px; border-radius: 8px; border: 2px solid var(--clp-dark); background: var(--clp-soft); display: flex; flex-direction: column; }
.clp-inv-card span { font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp a.clp-btn-block, .clp button.clp-btn-block { width: 100%; min-height: 48px; justify-content: center; font-size: 15px; }
.clp-inv-hint { margin: 0; font-size: 12px; color: var(--clp-muted); font-weight: 500; text-align: center; }
.clp-inv-bank { font-size: 13px; line-height: 1.6; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 10px 12px; border-radius: 8px; background: var(--clp-soft); }
.clp-inv-ref { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.clp-inv-ref span { color: var(--clp-muted); font-weight: 500; }
.clp-inv-credit { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--clp-line); margin: 0; font-size: 13px; font-weight: 500; }
.clp-inv-ask { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.clp-inv-ask span { font-size: 13px; color: var(--clp-muted); font-weight: 500; }
@media (max-width: 640px) { .clp-inv-doc { padding: 20px 16px; } .clp-inv-meta { align-items: flex-start; text-align: left; } }
@media print {
  body * { visibility: hidden; }
  .clp-inv-doc, .clp-inv-doc * { visibility: visible; }
  .clp-inv-doc { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; }
  .clp-inv-lines th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .clp-inv-totals .is-total { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Factures : lignes particulières, règlements, notes */
.clp-inv-lines tr.is-fee td b { color: #8F4407; }
.clp-inv-lines tr.is-discount td, .clp-inv-lines tr.is-discount td b { color: #0A6B57; }
.clp-inv-lines.is-light th { background: var(--clp-soft); color: var(--clp-muted); }
.clp-inv-lines.is-light td small { display: block; }
.clp-inv-lines tr.is-refund td b { color: #8A1F17; }
.clp-inv-pays, .clp-inv-notes { display: flex; flex-direction: column; gap: 8px; }
.clp-inv-net { margin: 0; display: flex; justify-content: flex-end; gap: 16px; font-size: 13px; }
.clp-inv-net span { color: var(--clp-muted); font-weight: 500; }
.clp-inv-notes p { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--clp-soft); font-size: 13px; line-height: 1.55; color: #4A5160; font-weight: 500; }
/* Totaux : numéro de la note sous son motif */
.clp-inv-totals > span > span small { display: block; font-size: 12px; font-weight: 500; line-height: 1.4; }

/* Devis : acceptation en ligne */
.clp-quote-accept { padding: 20px 22px; border-top: 4px solid #0CBED5; display: flex; flex-direction: column; gap: 12px; }
.clp-quote-accept h2 { margin: 0; font-size: 16px; }
.clp-quote-accept.is-done { border-top-color: #0A6B57; }
.clp-quote-accept.is-closed { border-top-color: #C9CED6; }
.clp-quote-accept p { margin: 0; }
.clp-quote-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clp-quote-amount span { color: var(--clp-muted); font-size: 13px; }
.clp-quote-amount b { font-size: 20px; color: var(--clp-dark); white-space: nowrap; }
.clp-quote-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; margin: 0 0 12px; cursor: pointer; }
.clp-quote-terms input { margin-top: 3px; flex: none; }
.clp-quote-note { font-size: 12px; color: var(--clp-muted); line-height: 1.5; }
.clp-quote-links { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--clp-line); font-size: 13px; }
.clp-quote-links details summary { cursor: pointer; color: var(--clp-muted); list-style: revert; }
.clp-quote-links details form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; min-width: 220px; }
.clp-quote-links textarea { width: 100%; border: 1px solid var(--clp-line); border-radius: 8px; padding: 8px; font: inherit; font-size: 13px; }
.clp-quote-disc { color: #0A6B57; }

/* Formulaires (compte, support) */
.clp-account-form { padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.clp-account-form fieldset { border: 0; padding: 0 0 18px; margin: 0 0 6px; border-bottom: 1px solid var(--clp-line); min-width: 0; }
.clp-account-form fieldset:last-of-type { border-bottom: 0; }
.clp-account-form legend { font-size: 15px; font-weight: 600; color: var(--clp-dark); margin: 0 0 12px; padding: 0; }
.clp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.clp-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.clp-field.is-wide { grid-column: 1 / -1; }
.clp-field label { font-size: 13px; font-weight: 500; color: var(--clp-text); }
.clp-field input, .clp-field select, .clp-field textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--clp-line); border-radius: 8px; font: inherit; font-size: 14px; background: #FFFFFF; color: var(--clp-text); }
.clp-field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.clp-field input:focus, .clp-field select:focus, .clp-field textarea:focus { outline: 2px solid var(--clp-primary); outline-offset: 1px; border-color: transparent; }
.clp-field.has-error input, .clp-field.has-error select { border-color: #C0362C; }
.clp-field-err { color: #8A1F17; font-size: 12px; }
.clp-account-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.clp-account-links { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.clp-account-links h2 { margin: 0 0 4px; font-size: 16px; }
.clp-account-links p { margin: 0; font-size: 14px; }
.clp-account-frame { display: block; width: calc(100% - 40px); margin: 14px 20px 20px; height: 70vh; min-height: 420px; border: 1px solid var(--clp-line); border-radius: 8px; background: #FFFFFF; }
.clp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Tickets */
.clp-ticket-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.clp-ticket-thread { list-style: none; margin: 0; padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.clp-ticket-thread li { border: 1px solid var(--clp-line); border-radius: 10px; padding: 14px 16px; background: #FFFFFF; }
.clp-ticket-thread li.is-staff { background: var(--clp-soft); border-color: #D9E7F5; border-left: 3px solid #0CBED5; }
.clp-ticket-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.clp-ticket-meta small { color: var(--clp-muted); white-space: nowrap; }
.clp-ticket-body { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.clp-ticket-body p { margin: 0 0 10px; }
.clp-ticket-body p:last-child { margin-bottom: 0; }
.clp-ticket-body pre { background: #13274B; color: #E5F1FF; padding: 10px 12px; border-radius: 8px; overflow-x: auto; font-size: 13px; }
.clp-ticket-body code { background: #EEF2F7; padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.clp-ticket-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--clp-line); font-size: 13px; }
.clp-table tr.is-unread td { background: #F2FBF8; }
.clp-ticket-subject { color: var(--clp-text); font-weight: 600; text-decoration: none; }
.clp-ticket-subject:hover { text-decoration: underline; }
/* Colonne principale des pages compte et support, à côté de la colonne latérale */
.clp-inv-layout > .clp-account-form, .clp-inv-layout > .clp-ticket-main { flex: 3 1 560px; min-width: 0; }

/* Mon compte (maquette « Compte : nouvelle page complète ») */
.clp-acc { display: flex; flex-direction: column; gap: 22px; }
.clp-acc [hidden] { display: none !important; }
.clp-acc-head { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.clp-acc-id { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.clp-acc-avatar { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #13274B, #1F4A86); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; flex: none; }
.clp-acc-id h1 { margin: 0; font-size: 22px; color: var(--clp-dark); }
.clp-acc-id p { margin: 2px 0 8px; color: #4A5160; overflow-wrap: anywhere; }
.clp-acc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.clp-acc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #EEF1F5; color: #4A5160; font-size: 12px; font-weight: 600; white-space: nowrap; }
.clp-acc-chip.is-teal { background: #E1F6F9; color: #077D8F; }
.clp-acc-chip.is-ok { background: #DFF6F1; color: #0A6B57; }
.clp-acc-chip.is-warn { background: #FFF1E3; color: #8F4407; }
.clp-acc-chip b { font-weight: 600; }
.clp-acc-stats { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.clp-acc-stats > div { padding: 10px 14px; border: 1px solid var(--clp-line); border-radius: 10px; min-width: 104px; }
.clp-acc-stats span { display: block; font-size: 12px; color: var(--clp-muted); }
.clp-acc-stats b { font-size: 18px; color: var(--clp-dark); }
.clp-acc-stats b.is-small { font-size: 15px; }
.clp-acc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.clp-acc-nav { position: sticky; top: 20px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.clp-acc-nav a { padding: 9px 12px; border-radius: 8px; border-left: 3px solid transparent; color: #4A5160; font-size: 14px; font-weight: 500; text-decoration: none; }
.clp-acc-nav a:hover { background: var(--clp-soft); color: var(--clp-dark); }
.clp-acc-nav a.is-on { background: var(--clp-soft); color: var(--clp-dark); font-weight: 600; border-left-color: #0CBED5; }
.clp-acc-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.clp-acc-main > form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.clp-acc form { margin: 0; }
.clp-acc-sec { overflow: hidden; scroll-margin-top: 20px; }
.clp-acc-sec-head { padding: 20px 24px 4px; }
.clp-acc-sec-head h2 { margin: 0; font-size: 17px; color: var(--clp-dark); }
.clp-acc-sec-head p { margin: 4px 0 0; color: var(--clp-muted); font-size: 13px; }
.clp-acc-sec-body { padding: 16px 24px 22px; }
.clp-acc-sec-foot { padding: 14px 24px; border-top: 1px solid #F1F3F9; background: #FAFBFD; display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-acc .clp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clp-acc-input { position: relative; }
.clp-acc-check.is-ok { color: #0A6B57; font-weight: 600; }
.clp-acc-check.is-bad { color: #8A1F17; }
.clp-acc-seg { display: flex; gap: 4px; padding: 4px; border: 0; border-radius: 10px; background: #EEF1F5; margin: 0 0 16px; flex-wrap: wrap; }
.clp-acc-seg label { flex: 1 1 120px; margin: 0; cursor: pointer; }
.clp-acc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.clp-acc-seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--clp-muted); }
.clp-acc-seg input:checked + span { background: #FFFFFF; color: var(--clp-dark); box-shadow: 0 1px 3px rgba(19, 39, 75, .12); }
.clp-acc-seg input:focus-visible + span { outline: 2px solid var(--clp-primary); outline-offset: 1px; }
.clp-acc-note { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--clp-soft); color: #4A5160; font-size: 13px; }
.clp-acc-savebar { padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-color: #C9D6EA; box-shadow: 0 8px 24px rgba(19, 39, 75, .12); position: sticky; bottom: 16px; z-index: 5; font-size: 13px; color: #4A5160; }
.clp-acc-savebar b { color: var(--clp-text); }
.clp-acc-savebar-act { display: flex; gap: 8px; }
.clp-acc.has-js .clp-acc-savebar:not(.is-on) { display: none; }
.clp-acc.has-js .clp-acc-nojs { display: none; }
.clp-acc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #F1F3F9; }
.clp-acc-row:last-child { border-bottom: 0; }
.clp-acc-row > div:first-child { min-width: 0; }
.clp-acc-row b { font-weight: 600; display: block; }
.clp-acc-row > div:first-child > span { color: var(--clp-muted); font-size: 13px; }
.clp-acc-row-act { display: flex; align-items: center; gap: 10px; flex: none; }
.clp-acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.clp-acc-table td { padding: 12px 8px; border-top: 1px solid #F1F3F9; vertical-align: middle; }
.clp-acc-table tr:first-child td { border-top: 0; }
.clp-acc-table td:first-child { padding-left: 0; }
.clp-acc-table td:last-child { padding-right: 0; }
.clp-acc-table td b { display: block; font-weight: 600; }
.clp-acc-table td span { color: var(--clp-muted); font-size: 13px; }
.clp-acc-table a { color: var(--clp-text); text-decoration: none; }
.clp-acc-table a:hover { text-decoration: underline; }
.clp-acc-table td.clp-num { text-align: right; white-space: nowrap; }
.clp-acc-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 0 6px; }
.clp-acc-inline select, .clp-acc-invite select, .clp-acc-invite input { padding: 7px 10px; border: 1px solid var(--clp-line); border-radius: 8px; font: inherit; font-size: 13px; background: #FFFFFF; }
.clp-acc-invite { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; width: 100%; }
.clp-acc-invite input { flex: 1 1 220px; max-width: 320px; }
.clp-acc-danger { color: #8A1F17 !important; border-color: #F3C9C5 !important; }
.clp-acc-paycards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.clp-acc-paycard { padding: 16px; border: 1px solid var(--clp-line); border-radius: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--clp-text); text-decoration: none; }
.clp-acc-paycard:hover { border-color: #9FB0C7; }
.clp-acc-paycard.is-default { border: 1.5px solid #13274B; }
.clp-acc-paycard b { font-size: 15px; display: block; }
.clp-acc-paycard small { color: var(--clp-muted); font-size: 13px; }
.clp-acc-paycard.is-add { border-style: dashed; border-color: #B8C0CC; justify-content: center; align-items: center; color: #077D8F; font-weight: 600; }
.clp-acc-credit { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--clp-soft); font-size: 13px; }
.clp-acc-switch { position: relative; display: inline-flex; width: 40px; height: 22px; flex: none; cursor: pointer; margin: 0; }
.clp-acc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.clp-acc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #CBD2DC; transition: background .15s; }
.clp-acc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.clp-acc-switch input:checked + span { background: #13274B; }
.clp-acc-switch input:checked + span::after { transform: translateX(18px); }
.clp-acc-switch input:disabled + span { opacity: .55; }
.clp-acc-switch input:disabled { cursor: not-allowed; }
.clp-acc-switch input:focus-visible + span { outline: 2px solid var(--clp-primary); outline-offset: 2px; }
.clp-acc-close { margin-top: 14px; border: 1px solid #F3C9C5; border-radius: 10px; background: #FFF8F7; }
.clp-acc-close summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; cursor: pointer; }
.clp-acc-close summary::-webkit-details-marker { display: none; }
.clp-acc-close summary b { color: #8A1F17; display: block; }
.clp-acc-close summary > span:first-child > span { color: #4A5160; font-size: 13px; }
.clp-acc-close form { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; }
.clp-acc-close textarea { border: 1px solid var(--clp-line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; }
.clp-acc-close label { font-size: 13px; }
.clp-acc-close form .clp-btn { align-self: flex-start; }
@media (max-width: 900px) {
  .clp-acc-layout { grid-template-columns: minmax(0, 1fr); }
  .clp-acc-nav { position: static; flex-direction: row; overflow-x: auto; }
  .clp-acc-nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .clp-acc-nav a.is-on { border-bottom-color: #0CBED5; }
  .clp-acc .clp-fields { grid-template-columns: minmax(0, 1fr); }
  .clp-acc-row { flex-direction: column; align-items: flex-start; }
  .clp-acc-head { padding: 18px; }
  .clp-acc-stats { flex: 1 1 100%; }
  .clp-acc-stats > div { flex: 1 1 0; min-width: 0; padding: 10px; }
  .clp-acc-stats b { font-size: 16px; }
  .clp-acc-stats b.is-small { font-size: 13px; overflow-wrap: anywhere; }
  .clp-acc-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-top: 1px solid #F1F3F9; }
  .clp-acc-table tr:first-child { border-top: 0; }
  .clp-acc-table td { display: block; border: 0; padding: 0; }
  .clp-acc-table td.clp-num { width: 100%; text-align: left; display: flex; flex-wrap: wrap; gap: 6px; }
  .clp-acc-inline { margin: 4px 8px 0 0; }
  .clp-acc-invite input { max-width: none; }
  .clp-acc-sec-head, .clp-acc-sec-body, .clp-acc-sec-foot { padding-left: 16px; padding-right: 16px; }
}

/* Panier et paiement (maquette « Panier et paiement ») */
.clp-co { display: flex; flex-direction: column; gap: 18px; }
.clp-co-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.clp-co-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-co-step { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--clp-muted); }
.clp-co-dot { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #E6EAF0; color: var(--clp-muted); }
.clp-co-step.is-on { color: var(--clp-text); font-weight: 600; }
.clp-co-step.is-on .clp-co-dot { background: #13274B; color: #FFFFFF; }
.clp-co-step.is-done { color: #0A6B57; font-weight: 600; }
.clp-co-step.is-done .clp-co-dot { background: #0A6B57; color: #FFFFFF; }
.clp-co-sep { flex: 1; height: 2px; background: var(--clp-line); min-width: 24px; max-width: 90px; }
.clp-co-secure { display: inline-flex; align-items: center; gap: 6px; color: #0A6B57; font-weight: 600; font-size: 13px; }
.clp-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.clp-co-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.clp-co-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clp-co-title h1 { margin: 0; font-size: 26px; color: var(--clp-dark); }
.clp-co-title span { color: var(--clp-muted); font-size: 13px; }
.clp-co-lead { margin: -6px 0 4px; color: #4A5160; }
.clp-co-items { overflow: hidden; }
.clp-co-item { padding: 20px 22px; display: flex; gap: 16px; border-bottom: 1px solid var(--clp-line); }
.clp-co-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--clp-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2313274B' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='1.5'/%3E%3Crect x='3' y='13' width='18' height='7' rx='1.5'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E") center no-repeat; border: 1px solid #E3ECF8; flex: none; }
.clp-co-ico.is-domain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2313274B' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/svg%3E"); }
.clp-co-item-body { flex: 1; min-width: 0; }
.clp-co-item-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.clp-co-name { font-size: 16px; color: var(--clp-dark); }
.clp-co-item-head small { display: block; color: var(--clp-muted); font-size: 13px; margin-top: 2px; }
.clp-co-item-head small.clp-co-group { display: inline; }
.clp-co-item-head code { display: block; font-size: 12px; color: #077D8F; background: none; padding: 0; margin-top: 2px; overflow-wrap: anywhere; }
.clp-co-price { font-size: 18px; white-space: nowrap; }
.clp-co-price small { display: inline !important; font-size: 12px; color: var(--clp-muted); font-weight: 500; }
.clp-co-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.clp-co-spec { padding: 3px 9px; border-radius: 6px; background: var(--clp-soft); border: 1px solid #E3ECF8; font-size: 12px; color: #4A5160; }
.clp-co-item-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.clp-co-cycles { display: inline-flex; padding: 3px; border-radius: 9px; background: #EEF1F5; gap: 2px; flex-wrap: wrap; margin: 0; }
.clp-co-cycles button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--clp-muted); cursor: pointer; }
.clp-co-cycles button.is-on { background: #FFFFFF; color: var(--clp-dark); box-shadow: 0 1px 3px rgba(19, 39, 75, .12); }
.clp-co-cycles em { font-style: normal; color: #0A6B57; }
.clp-co-acts { display: inline-flex; gap: 14px; align-items: center; }
.clp-co-inline { display: inline; margin: 0; }
.clp-co-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: #077D8F; text-decoration: none; cursor: pointer; }
.clp-co-link.is-muted { color: var(--clp-muted); }
.clp-co-upsell { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #FAFBFD; }
.clp-co-upsell span { color: var(--clp-muted); font-size: 13px; }
.clp-co-under { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--clp-muted); font-size: 13px; }
.clp-co-summary { padding: 20px 22px; position: sticky; top: 20px; display: flex; flex-direction: column; }
.clp-co-summary h2 { margin: 0 0 6px; font-size: 17px; color: var(--clp-dark); }
.clp-co-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F1F3F9; }
.clp-co-line small { display: block; color: var(--clp-muted); font-size: 12px; }
.clp-co-line b { font-weight: 600; white-space: nowrap; }
.clp-co-line.is-discount { color: #0A6B57; }
.clp-co-promo { display: flex; gap: 8px; margin: 14px 0 4px; align-items: center; }
.clp-co-promo input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--clp-line); border-radius: 8px; font: inherit; font-size: 13px; }
.clp-co-chip { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #DFF6F1; color: #0A6B57; }
.clp-co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-weight: 600; }
.clp-co-total b { font-size: 26px; color: var(--clp-dark); letter-spacing: -.01em; }
.clp-co-then { margin: 4px 0 14px; color: var(--clp-muted); font-size: 12px; line-height: 1.5; }
.clp-co-cta { display: flex !important; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 14px 18px !important; font-size: 15px !important; border-radius: 10px !important; }
.clp-co-cta.is-disabled { background: #9FB0C7 !important; border-color: #9FB0C7 !important; color: #FFFFFF !important; cursor: not-allowed; }
.clp-co-fine { margin: 10px 0 0; color: var(--clp-muted); font-size: 12px; text-align: center; line-height: 1.5; }
.clp-co-reassure { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #F1F3F9; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #4A5160; }
.clp-co-reassure li::before { content: "✓"; color: #0A6B57; font-weight: 700; margin-right: 8px; }
.clp-co-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clp-co-choice { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.clp-co-choice h2 { margin: 0; font-size: 17px; color: var(--clp-dark); }
.clp-co-choice p { margin: 0 0 6px; color: #4A5160; font-size: 13px; flex: 1; }
.clp-co-note { padding: 16px 20px; margin: 0; color: #4A5160; font-size: 13px; }
.clp-co-sec { overflow: hidden; }
.clp-co-sec-head { padding: 18px 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clp-co-sec-head h2 { margin: 0; font-size: 17px; color: var(--clp-dark); display: flex; align-items: center; gap: 10px; }
.clp-co-sec-head h2 span { width: 24px; height: 24px; border-radius: 50%; background: var(--clp-soft); border: 1px solid #D9E7F5; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.clp-co-sec-body { padding: 12px 22px 22px; }
.clp-co-billed { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 13px; color: #4A5160; }
.clp-co-billed b { color: var(--clp-text); }
.clp-co-opts { display: flex; flex-direction: column; gap: 10px; }
.clp-co-opt { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--clp-line); border-radius: 10px; cursor: pointer; margin: 0; font-weight: 400; }
.clp-co-opt:has(input:checked) { border: 1.5px solid #13274B; background: #FBFCFF; }
.clp-co-opt input { margin-top: 3px; accent-color: #13274B; flex: none; }
.clp-co-opt small { display: block; color: var(--clp-muted); font-size: 12px; }
.clp-co-check { display: flex; gap: 10px; font-size: 13px; color: #4A5160; margin: 0 0 12px; font-weight: 400; cursor: pointer; }
.clp-co-check input { margin-top: 3px; accent-color: #13274B; flex: none; width: 16px; height: 16px; }
.clp-co-check a { font-weight: 600; color: #077D8F; }
.clp-co-notes summary { cursor: pointer; color: #077D8F; font-weight: 600; font-size: 13px; }
.clp-co-notes textarea { width: 100%; margin-top: 8px; border: 1px solid var(--clp-line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 13px; }
.clp-co-form { margin: 0; }
.clp-co-mobilebar { display: none; }
.clp-co-done { padding: 28px 30px; display: flex; gap: 20px; align-items: flex-start; }
.clp-co-done h1 { margin: 0; font-size: 26px; color: var(--clp-dark); }
.clp-co-done p { margin: 6px 0 0; color: #4A5160; }
.clp-co-ok { width: 52px; height: 52px; border-radius: 50%; background: #DFF6F1; color: #0A6B57; display: flex; align-items: center; justify-content: center; flex: none; font-size: 24px; font-weight: 700; }
.clp-co-ok.is-wait { background: #FFF1E3; color: #8F4407; }
.clp-co-timeline { list-style: none; margin: 0 0 6px; padding: 0; }
.clp-co-timeline li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; }
.clp-co-timeline li > span { width: 28px; height: 28px; border-radius: 50%; background: #C3CAD5; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.clp-co-timeline li.is-done > span { background: #0A6B57; }
.clp-co-timeline li.is-done > span::before { content: "✓"; }
.clp-co-timeline li.is-now > span { background: #0CBED5; }
.clp-co-timeline li.is-error > span { background: #C0362C; }
.clp-co-timeline li.is-error > span::before { content: "!"; }
.clp-co-timeline li.is-next b { color: var(--clp-muted); }
.clp-co-timeline small { display: block; color: var(--clp-muted); font-size: 13px; }
.clp-co-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.clp-co-empty { padding: 32px; text-align: center; }
.clp-co-empty h1 { margin: 0 0 8px; color: var(--clp-dark); }
@media (max-width: 900px) {
  .clp-co-grid { grid-template-columns: minmax(0, 1fr); }
  .clp-co-summary { position: static; order: -1; }
  .clp-co-two, .clp-co-billed { grid-template-columns: minmax(0, 1fr); }
  .clp-co-sep { display: none; }
  .clp-co-step { font-size: 12px; }
  .clp-co-item { padding: 16px; }
  .clp-co-item-head { flex-direction: column; gap: 4px; }
  .clp-co-form .clp-co-summary [data-clp-pay], .clp-co-form .clp-co-summary .clp-co-fine { display: none !important; }
  .clp-co-mobilebar { display: flex; position: sticky; bottom: 0; z-index: 6; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; margin: 12px -16px 0; background: #FFFFFF; border-top: 1px solid var(--clp-line); box-shadow: 0 -6px 18px rgba(19, 39, 75, .08); }
  .clp-co-mobilebar .clp-btn { flex: 1; justify-content: center; }
}
.clp-co-opt-more { display: none; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--clp-soft); color: #4A5160; font-size: 12px; line-height: 1.5; }
.clp-co-opt-more .clp-co-lock { vertical-align: -2px; color: #0A6B57; }
.clp-co-opt:has(input:checked) .clp-co-opt-more, .clp-co-opt.is-on .clp-co-opt-more { display: block; }
.clp-co-opt.is-on { border: 1.5px solid #13274B; background: #FBFCFF; }
.clp-co-credit { margin-bottom: 10px; border-color: #BFE8DE; background: #F2FBF8; }
.clp-co-credit input { accent-color: #0A6B57; }
.clp-co-covered { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: #DFF6F1; color: #0A6B57; font-size: 13px; font-weight: 600; }
.clp-co-opts[data-covered] { opacity: .45; }
.clp-co-total.is-due { margin-top: 6px; }
.clp-co-total.is-due b { font-size: 20px; }
.clp-co [hidden] { display: none !important; }

/* Réseaux privés (maquettes « Réseau privé (VPC) ») */
.clp-vpc { display: flex; flex-direction: column; gap: 20px; }
.clp-vpc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clp-vpc-top p { margin: 0; }
.clp-vpc-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.clp-vpc-chip { display: inline-flex; padding: 2px 9px; border-radius: 6px; background: #F3F5F9; border: 1px solid #ECEFF9; font-size: 12px; font-weight: 500; color: #4A5160; }
.clp-vpc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.clp-vpc-layout.is-wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.clp-vpc-main, .clp-vpc-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.clp-vpc-cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.clp .clp-vpc-cols2 > .clp-card { margin: 0; }
.clp-vpc-pad { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.clp-vpc-note { margin: 0; padding: 14px 20px; color: var(--clp-muted); font-size: 13px; }
.clp-vpc-foot { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid #F1F3F9; background: #FAFBFD; }
.clp-vpc-mrow { display: grid; grid-template-columns: minmax(0, 1.3fr) 130px minmax(0, 1.2fr) 170px; gap: 12px; align-items: center; justify-items: start; padding: 14px 20px; border-bottom: 1px solid #F1F3F9; }
.clp-vpc-mrow small { display: block; font-size: 12px; }
.clp-vpc-steps { list-style: none; margin: 0; padding: 6px 20px 12px; }
.clp-vpc-steps li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F3F9; font-size: 14px; }
.clp-vpc-steps li:last-child { border-bottom: 0; }
.clp-vpc-num { width: 24px; height: 24px; border-radius: 50%; background: #EEF3FA; color: var(--clp-dark); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.clp-vpc-pickhead, .clp-vpc-pick { display: grid; grid-template-columns: minmax(0, 1fr) 140px 220px; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #F1F3F9; }
.clp-vpc-pickhead { padding-top: 10px; padding-bottom: 10px; font-size: 12px; color: var(--clp-muted); grid-template-columns: 0 minmax(0, 1fr) 140px 220px; }
.clp-vpc-pickhead > span:first-child { display: none; }
.clp-vpc-pickhead { grid-template-columns: minmax(0, 1fr) 140px 220px; }
.clp-vpc-pick.is-off { opacity: .55; }
.clp-vpc-pick .clp-field-err { grid-column: 1 / -1; }
.clp-vpc-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 400; cursor: pointer; }
.clp-vpc-check input { margin-top: 4px; accent-color: #13274B; width: 16px; height: 16px; flex: none; }
.clp-vpc-warn { color: #8F4407; font-size: 12px; display: block; }
.clp-vpc-select { min-height: 36px; padding: 0 8px; font-size: 13px; width: auto; max-width: 150px; }
.clp-vpc-pick .clp-vpc-select { max-width: 100%; width: 100%; }
.clp-vpc-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clp-vpc-mode { display: flex; gap: 10px; padding: 14px; border: 1px solid var(--clp-line); border-radius: 8px; margin: 0; font-weight: 400; cursor: pointer; }
.clp-vpc-mode:has(input:checked) { border: 1.5px solid #13274B; background: #FBFCFF; }
.clp-vpc-mode.is-off { opacity: .55; cursor: not-allowed; }
.clp-vpc-mode input, .clp-vpc-radio input { accent-color: #13274B; margin-top: 4px; flex: none; }
.clp-vpc-mode small { display: block; color: var(--clp-muted); font-size: 12px; margin-top: 4px; }
.clp-vpc-summary { position: sticky; top: 20px; }
.clp-vpc-line { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #F1F3F9; }
.clp-vpc-total { display: flex; justify-content: space-between; align-items: baseline; }
.clp-vpc-total b:last-child { font-size: 24px; color: var(--clp-dark); }
.clp-vpc-small { font-size: 12px; margin: 0; }
.clp-vpc-center { text-align: center; }
.clp-vpc-nodes { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.clp-vpc-node { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 110px; text-align: center; }
.clp-vpc-nodeico { width: 56px; height: 56px; border-radius: 12px; background: #EEF3FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%2313274B' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='1.5'/%3E%3Crect x='3' y='13' width='18' height='7' rx='1.5'/%3E%3C/svg%3E") center no-repeat; }
.clp-vpc-bus { height: 6px; margin: 4px 12%; border-radius: 3px; background: linear-gradient(90deg, #0CBED5, #13274B); }
.clp-vpc-os { border: 1px solid var(--clp-line); border-radius: 8px; padding: 8px 12px; }
.clp-vpc-os summary { cursor: pointer; font-weight: 600; font-size: 13px; }
.clp-vpc-os pre { margin: 10px 0 6px; white-space: pre; overflow-x: auto; }
.clp-vpc-rename { align-items: flex-start; }
.clp-vpc-rename .clp-field { width: 100%; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.clp-vpc-rename .clp-input, .clp-vpc .clp-field .clp-input { height: auto; min-height: 40px; }
.clp-vpc-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 12px; box-shadow: 0 24px 64px rgba(19, 39, 75, .28); font: inherit; color: var(--clp-text); }
.clp-vpc-dialog::backdrop { background: rgba(19, 39, 75, .42); }
.clp-vpc-dialog form { margin: 0; }
.clp-vpc-dhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #ECEFF9; }
.clp-vpc-dhead h2 { margin: 0; font-size: 18px; }
.clp-vpc-label { font-size: 13px; font-weight: 500; }
.clp-vpc-opts, .clp-vpc-radios { display: flex; flex-direction: column; gap: 8px; }
.clp-vpc-radio { display: flex; gap: 10px; font-size: 13px; color: #4A5160; margin: 0; font-weight: 400; cursor: pointer; }
.clp-vpc-hint { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--clp-soft); font-size: 13px; color: #4A5160; }
.clp-badge.is-danger { background: #FDECEA; color: #8A1F17; }
.clp-vpc .clp-input { flex: none; max-width: none; width: 100%; box-sizing: border-box; min-height: 40px; }
.clp-vpc .clp-table { min-width: 0; }
.clp-vpc .clp-table th, .clp-vpc .clp-table td { padding-left: 8px; padding-right: 8px; vertical-align: middle; }
.clp-vpc .clp-table td:first-child, .clp-vpc .clp-table th:first-child { padding-left: 20px; }
.clp-vpc .clp-table td.clp-cell-actions { padding-right: 16px; }
.clp-vpc .clp-cell-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.clp-vpc .clp-cell-actions form { margin: 0; }
.clp-vpc .clp-table td.clp-mono, .clp-vpc .clp-table td.clp-muted { white-space: nowrap; }
@media (max-width: 1000px) {
  .clp-vpc-layout, .clp-vpc-layout.is-wide, .clp-vpc-cols2, .clp-vpc-modes { grid-template-columns: minmax(0, 1fr); }
  .clp-vpc-summary { position: static; }
  .clp-vpc-mrow, .clp-vpc-pick, .clp-vpc-pickhead { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .clp-vpc-pickhead { display: none; }
}
.clp-vpc-routeform { flex-direction: row; flex-wrap: wrap; align-items: flex-end; border-top: 1px solid #F1F3F9; }
.clp-vpc-routeform .clp-field { flex: 1 1 200px; margin: 0; }
.clp-vpc-routeform .clp-vpc-select { max-width: none; width: 100%; min-height: 40px; }
.clp-vpc-cmds { margin: 0 20px 16px; }
.clp-vpc-dialog textarea.clp-input { min-height: 80px; padding: 8px 12px; }
.clp-vpc [hidden] { display: none !important; }
.clp-or-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.clp-or-region { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--clp-line); border-radius: 8px; background: #FFFFFF; cursor: pointer; font-weight: 600; margin: 0; }
.clp-or-region:has(input:checked) { border: 1.5px solid #13274B; background: #FBFCFF; }
.clp-or-region input { accent-color: #13274B; margin: 0; }

/* Accès API (Mon compte) */
.clp-acc-apinew{align-items:flex-start}
.clp-acc-apinew b{display:block;margin-bottom:2px}
.clp-acc-secret{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.clp-acc-secret code{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;background:#fff;border:1px solid #CDEFF4;border-radius:8px;padding:8px 12px;word-break:break-all;user-select:all}
.clp-acc-table tr.is-off td{opacity:.6}
.clp-acc-apiform{display:flex;flex-direction:column;gap:10px;width:100%}
.clp-acc-apigrid{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;align-items:center;max-width:620px}
.clp-acc-apigrid label,.clp-acc-apilabel{font-weight:600;font-size:13.5px;color:#13274B;margin:6px 0 0}
.clp-acc-apifams{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.clp-acc-apifam{border:1px solid #E7E9ED;border-radius:10px;padding:10px 12px;margin:0}
.clp-acc-apifam legend{font-weight:600;font-size:12.5px;color:#6F767E;text-transform:uppercase;letter-spacing:.04em;padding:0 4px}
.clp-acc-apifam .clp-check{display:flex;gap:8px;align-items:flex-start;margin:6px 0;font-size:13px;line-height:1.45}
.clp-acc-apifam .clp-check b{font-weight:600;color:#13274B;margin-right:4px}
.clp-acc-apiform textarea{width:100%;max-width:620px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px}
.clp-acc-apiact{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:4px}
@media (max-width:640px){.clp-acc-apigrid{grid-template-columns:1fr}}
.clp-acc-apinew{background:#E8F7F1;border:1px solid #C2E8D8;border-radius:12px;padding:14px 16px;color:#0A4F40;margin-bottom:14px}
.clp-acc-apinew b{color:#0A4F40}
.clp-acc-apiform input[type=text],.clp-acc-apiform input:not([type]),.clp-acc-apiform select,.clp-acc-apiform textarea{font:inherit;font-size:14px;color:#161C2D;background:#fff;border:1px solid #E7E9ED;border-radius:8px;padding:9px 12px;min-height:40px;box-sizing:border-box;width:100%}
.clp-acc-apiform input:focus,.clp-acc-apiform select:focus,.clp-acc-apiform textarea:focus{outline:none;border-color:#0CBED5;box-shadow:0 0 0 3px rgba(12,190,213,.15)}
.clp-acc-apiform textarea{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px}

/* Annonces */
.clp-news .clp-card { margin-bottom: 16px; padding: 22px 26px; }
.clp-news h2 { font-size: 19px; margin: 4px 0 8px; }
.clp-news h2 a { color: inherit; text-decoration: none; }
.clp-news h2 a:hover { text-decoration: underline; }
.clp-news-body { line-height: 1.65; }
.clp-news-body img { max-width: 100%; height: auto; border-radius: 8px; }
.clp-news-body pre { overflow-x: auto; }
.clp-news-foot { margin-top: 18px; }

/* Sécurité du compte */
.clp-sec-intro { margin: 0 0 16px; }
.clp-sec .clp-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.clp-sec .clp-alert-ok { background: #E8F8F1; color: #0B6B45; }
.clp-sec .clp-alert-warn { background: #FFF4E5; color: #8A4B00; }
.clp-sec-card { margin-bottom: 16px; padding: 6px 24px; }
.clp-sec-head { padding: 16px 0 6px; }
.clp-sec-head h2 { margin: 0 0 4px; font-size: 17px; }
.clp-sec-head p { margin: 0; }
.clp-sec-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #EEF1F5; }
.clp-sec-row:last-child, .clp-sec-row:last-of-type { border-bottom: 0; }
.clp-sec-row > div:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.clp-sec-row > div:first-child span { color: #6F767E; overflow-wrap: anywhere; }
.clp-sec-act { flex-shrink: 0; }
.clp-sec-chip { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.clp-sec-chip.is-ok { background: #E8F8F1; color: #0B6B45; }
.clp-sec-chip.is-warn { background: #FFF4E5; color: #8A4B00; }
.clp-sec-list { margin: 0 0 12px; padding: 0; list-style: none; }
.clp-sec-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF1F5; }
.clp-sec-list li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clp-sec-list li > span b { overflow-wrap: anywhere; }
.clp-sec-list small { color: #6F767E; }
.clp-sec-list form { margin: 0; flex-shrink: 0; }
.clp-sec-foot { padding: 4px 0 16px; }
@media (max-width: 640px) { .clp-sec-row { flex-direction: column; align-items: flex-start; } .clp-sec-card { padding: 4px 16px; } }
.clp-sec-list li > span > .clp-sec-chip { align-self: flex-start; margin: 2px 0; }

.clp-sec-form form { display: grid; gap: 14px; max-width: 460px; padding: 4px 0 20px; }
.clp-sec-form label:not(.clp-cancel-check) { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
.clp-sec-form input:not([type="checkbox"]):not([type="radio"]) { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #DDE2EA; border-radius: 10px; font: inherit; }
.clp-sec-form input:not([type="checkbox"]):not([type="radio"]):focus { outline: 2px solid #0CBED5; outline-offset: 1px; border-color: #0CBED5; }
.clp-sec-form .clp-cancel-check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; cursor: pointer; }
.clp-sec-form .clp-cancel-check input { width: 18px; height: 18px; margin: 0; accent-color: #13274B; }
.clp-sec-form label > span small { font-weight: 400; }
.clp-sec-form-act { display: flex; gap: 10px; flex-wrap: wrap; }

/* Demande de résiliation */
.clp-cancel .clp-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.clp-cancel .clp-alert-ok { background: #E8F8F1; color: #0B6B45; }
.clp-cancel .clp-alert-warn { background: #FFF4E5; color: #8A4B00; }
.clp-cancel-card { max-width: 760px; padding: 24px 26px; }
.clp-cancel-card h2 { margin: 0 0 8px; font-size: 18px; }
.clp-cancel-intro { margin: 0 0 18px; font-weight: 600; }
.clp-cancel-card form { display: grid; gap: 18px; }
.clp-cancel-when { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.clp-cancel-when legend { margin-bottom: 8px; padding: 0; font-weight: 600; }
.clp-cancel-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #DDE2EA; border-radius: 12px; cursor: pointer; }
.clp-cancel-opt:has(input:checked) { border-color: #13274B; background: #F5FAFF; }
.clp-cancel-opt input { margin-top: 4px; }
.clp-cancel-opt span { display: grid; gap: 3px; }
.clp-cancel-opt small, .clp-cancel-reason small { color: #6F767E; font-weight: 400; }
.clp-cancel-reason { display: grid; gap: 6px; font-weight: 600; }
.clp-cancel-reason textarea { width: 100%; padding: 12px 14px; border: 1px solid #DDE2EA; border-radius: 10px; font: inherit; resize: vertical; }
.clp-cancel-check { display: flex; gap: 10px; align-items: flex-start; }
.clp-cancel-check input { margin-top: 4px; }
.clp-cancel-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* Contacts et ajout de crédit */
.clp-contacts .clp-alert, .clp-credit .clp-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.clp-contacts .clp-alert-ok { background: #E8F8F1; color: #0B6B45; }
.clp-contacts .clp-alert-warn, .clp-credit .clp-alert-warn { background: #FFF4E5; color: #8A4B00; }
.clp-contacts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.clp-contacts .clp-sec-form form { max-width: 720px; }
.clp-contacts-mails { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.clp-contacts-mails legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.clp-contacts-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.clp-contacts-act { display: flex; gap: 8px; flex-shrink: 0; }
.clp-contacts-act form { margin: 0; }
.clp-credit-balance { font-size: 22px; font-weight: 700; color: #13274B; }
.clp-credit .clp-sec-form label small { font-weight: 400; }
@media (max-width: 640px) { .clp-contacts-grid { grid-template-columns: 1fr; } }
.clp-btn-cancel { color: #B42318 !important; }
.clp-btn-cancel:hover { border-color: #B42318 !important; }
.clp-contacts-mails .clp-cancel-check { padding: 10px 12px; border: 1px solid #E7E9ED; border-radius: 10px; }

/* Onglets des pages du compte */
.clp-acc-tabs { display: flex; gap: 4px; margin: 0 0 20px; padding: 4px; overflow-x: auto; border: 1px solid #E7E9ED; border-radius: 12px; background: #FFFFFF; scrollbar-width: thin; }
.clp-acc-tabs a { flex-shrink: 0; padding: 9px 14px; border-radius: 9px; color: #4A5260; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.clp-acc-tabs a:hover { background: #F5FAFF; color: #13274B; }
.clp-acc-tabs a[aria-current="page"] { background: #13274B; color: #FFFFFF; }
/* Invitation */
.clp-invite .clp-cancel-card h2 { font-size: 20px; line-height: 1.35; }
.clp-invite-facts { display: grid; gap: 0; margin: 14px 0 18px; }
.clp-invite-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #EEF0F3; }
.clp-invite-facts div:last-child { border-bottom: 0; }
.clp-invite .clp-cancel-act { align-items: center; }

/* Paiements par carte */
.clp-pay .clp-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.clp-pay .clp-alert-ok { background: #E8F8F1; color: #0B6B45; }
.clp-pay .clp-alert-warn { background: #FFF4E5; color: #8A4B00; }
.clp-pay-card { display: flex; align-items: center; gap: 14px; }
.clp-pay-logo { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 32px; border: 1px solid #DDE2EA; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #13274B; background: #F7F9FC; }
.clp-pay-card .clp-badge { margin-left: 6px; }
.clp-pay-new form { display: grid; gap: 12px; max-width: 520px; }
.clp-pay-label { font-weight: 500; font-size: 14px; }
.clp-pay-field { padding: 13px 14px; border: 1px solid #DDE2EA; border-radius: 10px; background: #FFFFFF; }
.clp-pay-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEA; color: #912018; font-size: 14px; }
.clp-pay-secure { margin: 4px 0 0; color: #6F767E; font-size: 12.5px; }
.clp-pay-inv { display: grid; gap: 12px; }
.clp-pay-choice { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.clp-pay-choice legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.clp-pay-opt { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid #DDE2EA; border-radius: 10px; cursor: pointer; }
.clp-pay-opt:has(input:checked) { border-color: #13274B; background: #F5FAFF; }
.clp-pay-opt span { display: grid; gap: 2px; }
.clp-pay-opt small { color: #6F767E; }
.clp-pay-newcard { display: grid; gap: 10px; }
.clp-pay-newcard .clp-cancel-check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.clp-sec-list li > .clp-pay-card { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.clp-sec-list li > .clp-pay-card > span:last-child { display: grid; gap: 3px; }
.clp-sec-list li > .clp-pay-card > span:last-child b { display: inline; }
.clp-sec-list li > .clp-pay-card .clp-badge { display: inline-flex; width: auto; margin-left: 6px; vertical-align: middle; }

/* Accueil d'un utilisateur invité aux droits limités */
.clp-limited-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.clp-limited-card { display: grid; gap: 6px; padding: 20px 22px; text-decoration: none; color: inherit; transition: border-color .15s; }
.clp-limited-card:hover { border-color: #13274B; }
.clp-limited-card b { font-size: 16px; color: #13274B; }

/* Changement d'offre */
.clp-upg .clp-alert { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.clp-upg .clp-alert-ok { background: #E8F8F1; color: #0B6B45; }
.clp-upg .clp-alert-warn { background: #FFF4E5; color: #8A4B00; }
.clp-upg-current { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 18px; }
.clp-upg-eyebrow { display: block; margin-bottom: 4px; color: #6F767E; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.clp-upg-current h2 { margin: 0 0 10px; font-size: 20px; }
.clp-upg-current h2 small { margin-left: 6px; color: #6F767E; font-size: 13px; font-weight: 500; }
.clp-upg-current-side { min-width: 230px; display: grid; gap: 10px; align-content: start; }
.clp-upg-price b { font-size: 24px; color: #13274B; }
.clp-upg-price span, .clp-upg-offer-price span { color: #6F767E; font-size: 13px; }
.clp-upg-next { display: grid; gap: 6px; font-size: 13.5px; }
.clp-upg-next small { color: #6F767E; }
.clp-upg-bar { height: 6px; border-radius: 6px; background: #EEF1F5; overflow: hidden; }
.clp-upg-bar i { display: block; height: 100%; background: #0CBED5; border-radius: 6px; }
.clp-upg-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: #4A5260; }
.clp-upg-specs li::before { content: "•"; margin-right: 6px; color: #0CBED5; }
.clp-upg-delta { font-weight: 700; font-size: 12px; }
.clp-upg-delta.is-up { color: #0B6B45; }
.clp-upg-delta.is-down { color: #B42318; }
.clp-upg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.clp-upg-main { display: grid; gap: 18px; min-width: 0; }
.clp-upg-aside { position: sticky; top: 90px; }
.clp-upg-tabs { margin: 0; }
.clp-upg-pane, .clp-upg-how, .clp-upg-summary, .clp-upg-empty { padding: 22px 24px; }
.clp-upg-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.clp-upg-head h2, .clp-upg-how h2, .clp-upg-summary h2, .clp-upg-empty h2 { margin: 0; font-size: 17px; }
.clp-upg-cycles { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid #E7E9ED; border-radius: 10px; }
.clp-upg-cycles label { cursor: pointer; }
.clp-upg-cycles input { position: absolute; opacity: 0; pointer-events: none; }
.clp-upg-cycles span { display: block; padding: 7px 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: #4A5260; }
.clp-upg-cycles input:checked + span { background: #13274B; color: #FFFFFF; }
.clp-upg-cycles input:focus-visible + span { outline: 2px solid #0CBED5; }
.clp-upg-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.clp-upg-offer { display: grid; gap: 10px; align-content: start; padding: 16px; border: 1px solid #DDE2EA; border-radius: 12px; cursor: pointer; background: #FFFFFF; }
.clp-upg-offer:has(input:checked) { border-color: #13274B; box-shadow: 0 0 0 1px #13274B; background: #F5FAFF; }
.clp-upg-offer.is-current { cursor: default; background: #F7F9FC; border-style: dashed; }
.clp-upg-offer.is-blocked, .clp-upg-offer.is-unavailable { cursor: not-allowed; opacity: .6; }
.clp-upg-offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.clp-upg-radio { display: flex; align-items: center; gap: 8px; }
.clp-upg-radio input { width: 17px; height: 17px; accent-color: #13274B; }
.clp-upg-tagline { margin: 0; font-size: 13px; }
.clp-upg-offer .clp-upg-specs { display: grid; gap: 4px; }
.clp-upg-offer-price b { font-size: 18px; color: #13274B; }
.clp-upg-block { margin: 0; font-size: 12.5px; color: #8A4B00; }
.clp-upg-table-wrap { overflow-x: auto; }
.clp-upg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.clp-upg-table th, .clp-upg-table td { padding: 11px 10px; border-top: 1px solid #EEF1F5; text-align: left; vertical-align: middle; }
.clp-upg-table thead th { border-top: 0; color: #6F767E; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.clp-upg-table select, .clp-upg-table input[type="number"] { min-width: 150px; height: 38px; padding: 0 10px; border: 1px solid #DDE2EA; border-radius: 8px; font: inherit; }
.clp-upg-how ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.clp-upg-how li { position: relative; padding-left: 22px; font-size: 14px; color: #4A5260; }
.clp-upg-how li::before { content: "✓"; position: absolute; left: 0; color: #0CBED5; font-weight: 700; }
.clp-upg-summary { display: grid; gap: 12px; }
.clp-upg-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.clp-upg-due { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid #EEF1F5; border-bottom: 1px solid #EEF1F5; }
.clp-upg-due b { font-size: 26px; color: #13274B; }
.clp-upg-detail { margin: 0; font-size: 13px; }
.clp-upg-then { margin: 0; font-size: 14px; font-weight: 500; }
@media (max-width: 980px) { .clp-upg-grid { grid-template-columns: 1fr; } .clp-upg-aside { position: static; } }
.clp-upg-offer-top { flex-wrap: wrap; row-gap: 6px; }
.clp-upg-offer-top b, .clp-upg-radio b { white-space: nowrap; }

/* Page d'incident du panel (aussi sans le gabarit CorceLink) */
.clp-error { max-width: 620px; margin: 6vh auto 4vh; padding: 0 12px; text-align: center; }
.clp-error-icon { color: #077D8F; }
.clp-error-code { margin: 10px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #6F767E; }
.clp-error h1 { margin: 4px 0 10px; font-size: 30px; color: #13274B; }
.clp-error-text { margin: 0 0 26px; color: #6F767E; }
.clp-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clp-error-ref { margin: 26px 0 0; font-size: 13px; color: #6F767E; }
.clp-error-ref b { display: inline-block; padding: 2px 10px; border-radius: 20px; background: #F5FAFF; color: #13274B; font-weight: 600; letter-spacing: .04em; }

/* Changement de compte */
.clp-switch-list { margin: 0; padding: 0; list-style: none; }
.clp-switch-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #EEF1F5; }
.clp-switch-item.is-current { margin: 0 -12px; padding: 14px 12px; border-radius: 12px; background: #F5FAFF; border-top-color: transparent; }
.clp-switch-item.is-closed { opacity: .6; }
.clp-switch-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #13274B; color: #FFFFFF; font-weight: 600; font-size: 14px; }
.clp-switch-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.clp-switch-main b { color: #13274B; overflow-wrap: anywhere; }
.clp-switch-main .clp-badge { margin-right: 4px; }
.clp-switch-main small { color: #6F767E; font-size: 13px; overflow-wrap: anywhere; }
.clp-switch-facts { color: #4A5260 !important; }
.clp-switch-act { flex-shrink: 0; }
.clp-switch-act form { margin: 0; }
.clp-switch-help { margin: 14px 2px 0; font-size: 13px; }
@media (max-width: 560px) { .clp-switch-item { flex-wrap: wrap; } .clp-switch-act { width: 100%; padding-left: 56px; } }

.clp.clp-switch { display: block; max-width: 920px; }
.clp-switch-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.clp-switch-main .clp-badge { margin-right: 0; }
