:root {
  --vcarteor-ink: #001226;
  --vcarteor-gold: #c8b14c;
  --vcarteor-gold-soft: #f7f1d7;
  --vcarteor-gold-muted: rgba(200, 177, 76, 0.22);
  --vcarteor-paper: #ffffff;
  --vcarteor-line: rgba(200, 177, 76, 0.45);
  --vcarteor-shadow: 0 18px 36px rgba(0, 18, 38, 0.08);
  --vcarteor-shadow-soft: 0 10px 24px rgba(0, 18, 38, 0.06);
}

.vcarteor-shell,
.vcarteor-shell * {
  box-sizing: border-box;
}

.vcarteor-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  color: var(--vcarteor-ink);
}

.vcarteor-header {
  margin-bottom: 24px;
}

.vcarteor-kicker,
.vcarteor-panel-kicker,
.vcarteor-project-label,
.vcarteor-selection-kicker,
.vcarteor-meta-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vcarteor-gold);
}

.vcarteor-title,
.vcarteor-panel-head h3,
.vcarteor-selection-title {
  margin: 0;
  line-height: 1.06;
  color: var(--vcarteor-ink);
}

.vcarteor-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.vcarteor-intro,
.vcarteor-panel-note,
.vcarteor-selection-subtitle,
.vcarteor-empty,
.vcarteor-loading,
.vcarteor-error,
.vcarteor-project-description {
  margin: 10px 0 0;
  color: rgba(0, 18, 38, 0.74);
  line-height: 1.6;
}

.vcarteor-selection-subtitle {
	margin-bottom: 12px;
}

.vcarteor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.vcarteor-panel {
  background: var(--vcarteor-paper);
  border: 1px solid var(--vcarteor-line);
  border-radius: 28px;
  box-shadow: var(--vcarteor-shadow);
}

.vcarteor-panel--map,
.vcarteor-panel--details {
  padding: 26px;
}

.vcarteor-panel--details {
  position: sticky;
  top: 18px;
}

.vcarteor-panel-head,
.vcarteor-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vcarteor-section-head--compact {
  margin-bottom: 12px;
}

.vcarteor-panel-note {
  max-width: 42ch;
  text-align: left;
  font-size: 0.98rem;
}

.vcarteor-filters,
.vcarteor-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vcarteor-shell .vcarteor-filters {
  margin-top: 14px !important;
  gap: 8px 10px !important;
  align-items: center;
}

.vcarteor-shell .vcarteor-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(200, 177, 76, 0.62) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--vcarteor-ink) !important;
  font: inherit;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.vcarteor-shell .vcarteor-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px !important;
  padding: 6px 13px !important;
  border: 1px solid rgba(200, 177, 76, 0.6) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--vcarteor-ink) !important;
  font: inherit;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.vcarteor-shell .vcarteor-filter:hover,
.vcarteor-shell .vcarteor-filter:focus-visible,
.vcarteor-shell .vcarteor-chip:hover,
.vcarteor-shell .vcarteor-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(200, 177, 76, 0.9) !important;
  background: #fffaf0 !important;
  box-shadow: none !important;
  outline: none;
}

.vcarteor-shell .vcarteor-filter.is-active,
.vcarteor-shell .vcarteor-chip.is-active {
  background: var(--vcarteor-ink) !important;
  color: #fff !important;
  border-color: var(--vcarteor-ink) !important;
}

.vcarteor-map-stage {
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--vcarteor-line);
  background: #fff;
}

.vcarteor-map-root {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.vcarteor-france {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.vcarteor-france *:focus {
  outline: none !important;
}

.vcarteor-department {
  fill: #fff;
  stroke: var(--vcarteor-gold);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  transition:
    fill 160ms ease,
    opacity 160ms ease,
    filter 160ms ease,
    stroke-width 160ms ease;
}

.vcarteor-department[role="button"] {
  cursor: pointer;
}

.vcarteor-department[role="button"]:hover,
.vcarteor-department[role="button"]:focus-visible {
  fill: var(--vcarteor-gold-soft);
  outline: none;
  filter: none;
}

.vcarteor-department.is-active {
  fill: var(--vcarteor-ink);
  stroke: var(--vcarteor-ink);
  stroke-width: 2.15;
}

.vcarteor-department.is-empty {
  opacity: 0.45;
}

.vcarteor-department.is-filter-muted:not(.is-active) {
  opacity: 0.34;
}

.vcarteor-agency-marker {
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.vcarteor-agency-marker * {
  pointer-events: none;
}

.vcarteor-agency-marker:focus {
  outline: none;
}

.vcarteor-agency-marker__halo {
  fill: rgba(255, 255, 255, 0.96);
}

.vcarteor-agency-marker__stem {
  stroke: var(--vcarteor-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.vcarteor-agency-marker__head {
  fill: var(--vcarteor-gold);
  stroke: var(--vcarteor-ink);
  stroke-width: 1.4;
}

.vcarteor-agency-marker__core {
  fill: #fff;
}

.vcarteor-agency-marker:hover .vcarteor-agency-marker__head,
.vcarteor-agency-marker:focus-visible .vcarteor-agency-marker__head,
.vcarteor-agency-marker.is-active .vcarteor-agency-marker__head {
  fill: var(--vcarteor-ink);
}

.vcarteor-agency-marker:hover .vcarteor-agency-marker__core,
.vcarteor-agency-marker:focus-visible .vcarteor-agency-marker__core,
.vcarteor-agency-marker.is-active .vcarteor-agency-marker__core {
  fill: var(--vcarteor-gold);
}

.vcarteor-agency-marker.is-filter-muted {
  opacity: 0.38;
}

.vcarteor-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--vcarteor-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.vcarteor-shell .vcarteor-meta > div {
  min-width: 0;
}

.vcarteor-shell .vcarteor-meta-label {
  display: block;
  margin-bottom: 4px;
}

.vcarteor-shell .vcarteor-meta strong {
  display: block;
  min-width: 0;
  color: var(--vcarteor-ink);
  line-height: 1.28;
}

.vcarteor-shell [data-role="active-domain"] {
  display: block !important;
  max-width: 15ch;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.vcarteor-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--vcarteor-line);
}

.vcarteor-project-stack {
  display: grid;
  gap: 14px;
}

.vcarteor-project {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--vcarteor-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--vcarteor-shadow-soft);
}

.vcarteor-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vcarteor-project-detail {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--vcarteor-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
}

.vcarteor-project-detail--full {
  grid-column: 1 / -1;
}

.vcarteor-project-value {
  font-size: 1.04rem;
  line-height: 1.45;
}

.vcarteor-project-description {
  margin: 0;
}

.vcarteor-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--vcarteor-ink);
  background: var(--vcarteor-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.vcarteor-action:hover,
.vcarteor-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--vcarteor-shadow-soft);
  outline: none;
}

.vcarteor-action.is-disabled {
  opacity: 0.56;
  pointer-events: none;
}

.vcarteor-outside {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--vcarteor-line);
}

@media (max-width: 1120px) {
  .vcarteor-grid {
    grid-template-columns: 1fr;
  }

  .vcarteor-panel--details {
    position: static;
  }
}

@media (max-width: 760px) {
  .vcarteor-panel--map,
  .vcarteor-panel--details {
    padding: 20px;
  }

  .vcarteor-panel-head,
  .vcarteor-section-head {
    flex-direction: column;
  }

  .vcarteor-panel-note {
    max-width: none;
    text-align: left;
  }

  .vcarteor-meta,
  .vcarteor-project-grid {
    grid-template-columns: 1fr;
  }

  .vcarteor-map-root {
    min-height: 380px;
  }
}
