:root {
  color-scheme: dark;
  --bg: #0f1018;
  --panel: #181a27;
  --panel-soft: #202335;
  --text: #f8f4ed;
  --muted: #b8b1c7;
  --accent: #ff7a3d;
  --accent-2: #ffd166;
  --danger: #ff6b6b;
  --ok: #7ee787;
  --border: rgba(255, 255, 255, 0.12);
  --space-1: 0.45rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.4rem;
  --space-5: 2rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 122, 61, 0.20), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(255, 209, 102, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100vw - 1120px) / 2));
  background: rgba(15, 16, 24, 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 950;
  letter-spacing: -0.032em;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #17110c;
}

.brand-logo {
  width: clamp(3.1rem, 5.4vw, 4.15rem);
  height: clamp(3.1rem, 5.4vw, 4.15rem);
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #000;
  box-shadow: 0 0 0 4px rgba(255, 122, 61, 0.14), 0 12px 30px rgba(0, 0, 0, 0.32);
}

.profile-photo {
  width: min(260px, 100%);
  aspect-ratio: 1;
  border-radius: 1.2rem;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #000;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  position: relative;
  padding: 0.25rem 0;
  border-radius: 999px;
  transition: color 0.18s ease, opacity 0.18s ease;
}

nav a.active {
  color: var(--text);
  opacity: 1;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(255, 122, 61, 0.45);
}

.menu-toggle {
  display: none;
  place-items: center;
  gap: 0.22rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

nav a:hover,
.link-button:hover {
  color: var(--text);
}

.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  color: #1b1008;
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.nav-logout {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  opacity: 0.72;
}

.nav-logout:hover {
  background: transparent;
  color: var(--text);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

section > .eyebrow + h1,
section > .eyebrow + h2 {
  margin-top: 0.35rem;
}

section > p,
section > .actions,
section > .panel,
section > .grid {
  margin-top: var(--space-4);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: 62vh;
  perspective: 1100px;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.25rem, 4.1vw, 3.55rem);
}

h2 {
  max-width: 860px;
  font-size: clamp(2.25rem, 4.1vw, 3.55rem);
}

.hero-title {
  max-width: 720px;
  font-size: clamp(3rem, 5.2vw, 4.65rem);
  letter-spacing: -0.024em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.card-title {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 640px;
  font-size: 1.1rem;
}

.slogan {
  margin: 1rem 0 0.4rem;
  color: var(--accent-2);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.012em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: var(--space-4);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #181008;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary,
button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

button.small {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.panel,
.card {
  background: rgba(24, 26, 39, 0.88);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.panel {
  padding: clamp(1.15rem, 4vw, 2.2rem);
}

.card {
  padding: 1.35rem;
  min-width: 0;
}

.card > * + * {
  margin-top: 0.85rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--panel-soft);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
}

.hero-side {
  align-self: end;
  margin-bottom: calc(2.8rem + var(--space-4));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(24, 26, 39, 0.9);
}

.amp-card-mission {
  transform: rotateY(-2deg);
}

.amp-card-pricing {
  transform: rotateY(1.5deg);
}

.amp-card {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 209, 102, 0.24);
  padding: 4.2rem 1.05rem 1.05rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 209, 102, 0.11), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(18, 19, 29, 0.96);
  box-shadow:
    inset 0 0 0 5px rgba(0, 0, 0, 0.22),
    inset 0 0 0 6px rgba(255, 255, 255, 0.035),
    0 22px 65px rgba(0, 0, 0, 0.34);
}

.amp-card::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: 0;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.2px) 0 0 / 10px 10px,
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.amp-card::after {
  content: "";
  position: absolute;
  top: 1.12rem;
  right: 1.15rem;
  z-index: 1;
  width: 5rem;
  height: 0.85rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0.45rem 50%, var(--accent-2) 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 1.45rem 50%, var(--accent) 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 2.45rem 50%, rgba(255, 255, 255, 0.6) 0 0.18rem, transparent 0.2rem),
    rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0.85;
}

.amp-card > * {
  position: relative;
  z-index: 2;
}

.amp-input {
  position: absolute;
  z-index: 3;
  top: 1.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #09090d 0 35%, #2f3039 36% 52%, var(--accent-2) 53% 62%, #09090d 63%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.18),
    inset 0 -3px 4px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(255, 122, 61, 0.09),
    0 0 16px rgba(255, 209, 102, 0.18);
}

.amp-card-pricing .amp-input,
.amp-card-mission .amp-input {
  left: 1.15rem;
}

.mission-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.mission-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.mission-list span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.22);
}

.mission-list p {
  margin: 0;
  font-size: 0.96rem;
}

.mission-list strong {
  color: var(--text);
}

.pricing-card {
  margin: 1.35rem 0;
  border: 2px solid rgba(255, 209, 102, 0.24);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.13), transparent 14rem),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 61, 0.08);
}

.pricing-card .card-title {
  margin-bottom: 0.8rem;
}

.pricing-card .eyebrow {
  margin: 0 0 0.35rem;
}

.pricing-card p:last-child {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.pricing-grid div {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: rgba(0, 0, 0, 0.18);
}

.pricing-grid strong {
  display: block;
  color: var(--accent-2);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  line-height: 1;
}

.pricing-grid span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-top: var(--space-4);
}

.annonces-list {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}

.annonces-list .photo-carousel {
  background:
    radial-gradient(circle at center, rgba(255, 168, 54, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.42);
}

.annonces-list .carousel-slide {
  display: grid;
  place-items: center;
  padding: 0.85rem;
}

.annonces-list .carousel-slide img {
  width: auto;
  max-width: 100%;
  height: min(420px, 58vw);
  max-height: 420px;
  object-fit: contain;
  border-radius: 0.85rem;
  background: transparent;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.form {
  display: grid;
  gap: 1.15rem;
  max-width: 720px;
  margin-top: var(--space-4);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.field-group {
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.field-group strong {
  color: var(--text);
}

.field-group p {
  margin: 0.2rem 0 0;
  line-height: 1.55;
}

.date-list {
  display: grid;
  gap: 0.65rem;
}

.date-row,
.equipment-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.equipment-lines {
  display: grid;
  gap: 0.65rem;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

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

.location-filter-grid {
  display: grid;
  gap: 0.85rem;
}

.location-map-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 122, 61, 0.1), rgba(255, 209, 102, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.location-map-launch strong {
  display: block;
  color: var(--text);
}

.location-map-launch span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.department-map-panel {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 209, 102, 0.1), transparent 14rem),
    rgba(255, 255, 255, 0.035);
}

.department-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.department-map-head span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.department-map {
  display: grid;
  gap: 0.75rem;
  min-height: 280px;
}

.department-map-large {
  min-height: min(66vh, 680px);
}

.department-map-svg {
  width: min(100%, 560px);
  max-height: 480px;
  justify-self: center;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28));
  overflow: visible;
}

.department-map-large .department-map-svg {
  width: min(100%, 760px);
  max-height: min(66vh, 680px);
}

.department-shape {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(248, 244, 237, 0.5);
  stroke-width: 0.7;
  cursor: pointer;
  outline: none;
  transition: fill 0.15s ease, stroke 0.15s ease, filter 0.15s ease;
}

.department-shape:hover,
.department-shape:focus-visible {
  fill: rgba(255, 209, 102, 0.42);
  stroke: rgba(255, 244, 222, 0.95);
  filter: drop-shadow(0 0 5px rgba(255, 209, 102, 0.55));
}

.department-shape.selected {
  fill: var(--accent);
  stroke: rgba(255, 244, 222, 0.95);
  filter: drop-shadow(0 0 8px rgba(255, 122, 61, 0.55));
}

.idf-hover-zone {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  cursor: zoom-in;
  pointer-events: all;
}

.department-map-svg.idf-zoom-active .idf-hover-zone {
  stroke: rgba(255, 209, 102, 0.28);
  stroke-dasharray: 3 4;
}

.department-map-svg:has(.idf-hover-zone:hover) .idf-hover-zone,
.department-map-svg:has(.idf-source:hover) .idf-hover-zone,
.department-map-svg:has(.idf-zoom:hover) .idf-hover-zone {
  stroke: rgba(255, 209, 102, 0.28);
  stroke-dasharray: 3 4;
}

.idf-zoom {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(6px) scale(0.98);
}

.department-map-svg.idf-zoom-active .idf-zoom {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.department-map-svg:has(.idf-hover-zone:hover) .idf-zoom,
.department-map-svg:has(.idf-source:hover) .idf-zoom,
.department-map-svg:has(.idf-zoom:hover) .idf-zoom {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.idf-zoom-connector {
  fill: none;
  stroke: rgba(255, 209, 102, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 5;
  pointer-events: none;
}

.idf-zoom-shadow {
  fill: rgba(0, 0, 0, 0.28);
  filter: blur(3px);
  pointer-events: none;
}

.idf-zoom-frame {
  fill:
    rgba(18, 18, 25, 0.96);
  stroke: rgba(255, 209, 102, 0.88);
  stroke-width: 3;
  filter:
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 16px rgba(255, 122, 61, 0.18));
}

.idf-zoom-bg {
  fill:
    rgba(255, 255, 255, 0.08);
}

.idf-zoom-glass {
  fill: transparent;
  stroke: rgba(255, 244, 222, 0.42);
  stroke-width: 1.4;
  pointer-events: none;
}

.idf-zoom-title {
  fill: #ffd166;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-anchor: middle;
  text-transform: uppercase;
  pointer-events: none;
}

.department-shape-zoom {
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.department-shape-zoom:hover,
.department-shape-zoom:focus-visible {
  fill: rgba(255, 209, 102, 0.58);
  stroke: #fff4de;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.62));
}

.department-map-overseas,
.department-map-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.department-map-fallback {
  max-height: 280px;
  overflow: auto;
  padding: 0.35rem;
}

.department-map-chip {
  min-height: 2rem;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(248, 244, 237, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.department-map-chip:hover,
.department-map-chip:focus-visible,
.department-map-chip.selected {
  border-color: rgba(255, 209, 102, 0.7);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #17110c;
}

.map-loading {
  align-self: center;
  justify-self: center;
  color: var(--muted);
  font-weight: 800;
}

.location-city-groups {
  display: grid;
  gap: 0.75rem;
}

.city-refine-card {
  display: grid;
  gap: 0.45rem;
}

.location-refine-note {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 209, 102, 0.055);
}

.location-dropdown summary {
  padding: 0.72rem 0.85rem;
}

.location-dropdown summary strong,
.location-dropdown summary small,
.location-dropdown summary em {
  white-space: nowrap;
}

.location-empty {
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.location-help {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-options {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.42rem;
}

.location-department-options {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.location-search-wrap {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
}

.location-search-input {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  min-height: 2.55rem;
  border-radius: 0.8rem;
  background: rgba(12, 12, 16, 0.96);
}

.location-scroll-list {
  grid-template-columns: 1fr;
  max-height: 13.75rem;
  overflow: auto;
  padding-right: 0.25rem;
  overscroll-behavior: contain;
}

.location-scroll-list .check-card {
  min-height: 2.25rem;
}

.location-select-all {
  border-color: rgba(255, 209, 102, 0.44);
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.13), rgba(255, 122, 61, 0.06)),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.12);
}

.location-select-all span {
  color: var(--accent-2);
}

.location-options .check-card {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  min-height: 2.15rem;
  gap: 0.38rem;
  padding: 0.48rem 0.58rem;
  border-radius: 0.72rem;
  font-size: 0.86rem;
  line-height: 1.12;
}

.location-options .check-card input {
  position: static;
  display: block;
  width: 1rem;
  height: 1rem;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  transform: scale(0.88);
}

.location-options .check-card span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 750;
  visibility: visible;
  opacity: 1;
}

.location-options .check-card.is-filtered-out {
  display: none;
}

.location-options .check-action-card {
  grid-template-columns: minmax(0, 1fr);
}

.location-department-options .check-card span {
  overflow: visible;
  text-overflow: clip;
}

.location-options .check-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.style-dropdown {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.style-dropdown + .style-dropdown {
  margin-top: 0.7rem;
}

.style-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
}

.style-dropdown summary::-webkit-details-marker {
  display: none;
}

.style-dropdown summary::after {
  content: "⌄";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
  font-weight: 900;
  transition: transform 0.18s ease;
}

.style-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.style-dropdown summary span {
  display: grid;
  gap: 0.1rem;
}

.style-dropdown summary small,
.style-dropdown summary em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.style-dropdown summary em {
  margin-left: auto;
  white-space: nowrap;
}

.style-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  padding: 0.95rem 1rem 1rem;
  overflow: hidden;
  perspective: 850px;
}

.style-options .check-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 3.05rem;
  transform-style: preserve-3d;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, padding 0.18s ease;
}

.style-options .check-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.style-options .check-card span {
  position: relative;
  z-index: 2;
}

.style-options .check-card::before,
.style-options .check-card::after {
  content: "";
  position: absolute;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.style-options .check-card::before {
  left: 0.42rem;
  z-index: 1;
  width: 2.05rem;
  height: 0.3rem;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 28% 30%, rgba(255, 255, 255, 0.48), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, transparent, #101118 0.28rem, #282a35 1rem, #101118 1.18rem, var(--accent-2) 1.24rem, var(--accent) 100%);
  transform: translate3d(-1.1rem, -50%, 0) rotateY(-48deg) rotateZ(-4deg);
  box-shadow:
    0 0 20px rgba(255, 122, 61, 0.52),
    0 8px 12px rgba(0, 0, 0, 0.42);
}

.style-options .check-card::after {
  left: 2.05rem;
  z-index: 1;
  width: 1.34rem;
  height: 0.76rem;
  border-radius: 0.14rem 0.5rem 0.5rem 0.14rem;
  background:
    radial-gradient(ellipse at 52% 18%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 42%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(90deg,
      #2b2b34 0 0.25rem,
      var(--accent-2) 0.25rem 0.38rem,
      #f8f4ed 0.38rem 0.68rem,
      #17110c 0.68rem 0.78rem,
      #f8f4ed 0.78rem 1.04rem,
      #17110c 1.04rem 1.14rem,
      #f8f4ed 1.14rem 100%);
  transform: translate3d(-1.05rem, -50%, 26px) rotateY(-58deg) rotateZ(-4deg);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.38),
    inset 0 -2px 2px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(255, 122, 61, 0.16),
    0 0 18px rgba(255, 209, 102, 0.42),
    0 10px 15px rgba(0, 0, 0, 0.42);
}

.style-options .check-card:has(input:checked) {
  padding-left: 3.95rem;
  border-color: rgba(255, 209, 102, 0.62);
  background:
    radial-gradient(circle at 3.38rem 50%, #05060a 0 0.28rem, rgba(255, 244, 222, 0.95) 0.3rem 0.41rem, rgba(255, 122, 61, 0.65) 0.43rem 0.5rem, transparent 0.52rem),
    radial-gradient(circle at 3.38rem 50%, rgba(255, 209, 102, 0.24), transparent 1.25rem),
    linear-gradient(90deg, rgba(255, 122, 61, 0.22), rgba(255, 255, 255, 0.055) 46%),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 122, 61, 0.16),
    inset 0 8px 16px rgba(255, 255, 255, 0.035),
    0 16px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px) rotateX(3deg);
}

.style-options .check-card:has(input:checked)::before,
.style-options .check-card:has(input:checked)::after {
  opacity: 1;
  transform: translate3d(0, -50%, 12px) rotateY(0deg) rotateZ(0deg);
}

.style-options .check-card.just-plugged::before,
.style-options .check-card.just-plugged::after {
  animation: jackPlugIn3d 0.62s cubic-bezier(0.16, 1.35, 0.34, 1);
}

.style-options .check-card:has(input:checked) span {
  color: var(--accent-2);
  font-weight: 850;
}

.style-options .check-card:has(input:checked)::marker {
  display: none;
}

.style-options .check-card:has(input:checked) input {
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.6));
}

@keyframes jackPlugIn3d {
  0% {
    opacity: 0;
    transform: translate3d(-2rem, -50%, -40px) rotateY(-70deg) rotateZ(-10deg);
  }
  38% {
    opacity: 1;
    transform: translate3d(-0.32rem, -62%, 34px) rotateY(-22deg) rotateZ(4deg);
  }
  62% {
    transform: translate3d(0.14rem, -48%, 18px) rotateY(5deg) rotateZ(1.5deg);
  }
  82% {
    transform: translate3d(-0.06rem, -50%, 14px) rotateY(-3deg) rotateZ(-0.8deg);
  }
  100% {
    transform: translate3d(0, -50%, 12px) rotateY(0deg) rotateZ(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .style-options .check-card.just-plugged::before,
  .style-options .check-card.just-plugged::after {
    animation: none;
  }
}

.range-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ticketing-fields {
  display: grid;
  gap: 0.8rem;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
}

.check-card input {
  width: auto;
  accent-color: var(--accent);
}

button.check-card,
.check-action-card {
  justify-content: flex-start;
  min-height: auto;
  width: 100%;
  border-color: rgba(255, 209, 102, 0.38);
  border-radius: 0.9rem;
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.12), rgba(255, 122, 61, 0.05)),
    rgba(255, 255, 255, 0.045);
  color: var(--accent-2);
  text-align: left;
}

.check-action-card span {
  color: var(--accent-2);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

select option {
  background: #181a27;
}

.message {
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: rgba(126, 231, 135, 0.12);
  border: 1px solid rgba(126, 231, 135, 0.35);
  color: var(--ok);
}

.error {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.35);
  color: var(--danger);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
}

.pill {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.86rem;
}

.urgent-pill {
  color: #23110a;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.45), 0 0 18px rgba(255, 122, 61, 0.28);
  font-weight: 900;
}

.sponsored-pill {
  color: #dfffe5;
  background: rgba(126, 231, 135, 0.16);
  border: 1px solid rgba(126, 231, 135, 0.32);
  font-weight: 850;
}

.media-list {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
}

.conditions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.equipment-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.ticket-box {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 1rem;
  background: rgba(255, 209, 102, 0.08);
}

.ticket-box strong {
  color: var(--accent-2);
}

.equipment-list strong {
  color: var(--accent-2);
}

.equipment-list ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.media-player {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.media-player strong {
  color: var(--accent-2);
}

.media-player iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 0.8rem;
  background: #000;
}

.media-player .spotify-player {
  height: 152px;
}

.media-player .soundcloud-player {
  height: 166px;
}

.media-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.15rem 0;
}

.search-panel > label,
.search-panel > .field-group {
  width: 100%;
  max-width: 100%;
}

.search-panel select,
.search-panel input {
  width: 100%;
}

.annonces-page {
  display: grid;
  gap: 1.15rem;
}

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

.section-intro {
  max-width: 720px;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.annonces-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}

.annonces-sidebar {
  position: sticky;
  top: 6.25rem;
  align-self: start;
  max-height: calc(100dvh - 7.25rem);
  overflow: auto;
  padding-right: 0.25rem;
}

.annonces-sidebar::-webkit-scrollbar {
  width: 0.45rem;
}

.annonces-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.search-panel-compact {
  margin: 0;
  padding: 1rem;
  gap: 0.78rem;
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.filter-panel-head strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.filter-panel-head span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.filter-drawer {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.filter-drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.82rem 0.9rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
  list-style: none;
}

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

.filter-drawer summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  font-weight: 900;
  flex: 0 0 auto;
}

.filter-drawer[open] summary {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(255, 122, 61, 0.12), rgba(255, 209, 102, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.filter-drawer[open] summary::after {
  content: "−";
}

.filter-drawer summary em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.filter-summary-action {
  min-height: 1.85rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.08);
  color: var(--accent-2);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-summary-action:hover {
  border-color: rgba(255, 209, 102, 0.58);
  background: rgba(255, 122, 61, 0.14);
}

.filter-drawer-body {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
}

.filter-drawer-body.field-group {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.filter-results-button {
  width: 100%;
  justify-content: center;
}

.annonces-results {
  min-width: 0;
}

.results-summary {
  position: sticky;
  top: 5rem;
  z-index: 5;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 6% 0%, rgba(255, 209, 102, 0.1), transparent 14rem),
    rgba(24, 26, 39, 0.94);
  backdrop-filter: blur(16px);
}

.results-summary h2 {
  margin: 0.1rem 0 0;
}

.active-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.4rem 0.62rem;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.83rem;
  font-weight: 800;
}

.filter-tag-empty {
  border-color: var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  padding: 1.2rem;
  background: rgba(22, 22, 28, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.free-contact-box {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(126, 231, 135, 0.35);
  border-radius: 1rem;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(126, 231, 135, 0.16), rgba(255, 209, 102, 0.07)),
    rgba(255, 255, 255, 0.035);
}

.free-contact-box p {
  margin-bottom: 0;
}

.toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  gap: 0.6rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  transform: translateY(12px);
  opacity: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(126, 231, 135, 0.38);
  border-radius: 1rem;
  color: var(--text);
  background: rgba(22, 22, 28, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-error {
  border-color: rgba(255, 107, 107, 0.45);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  float: right;
}

.map-modal-overlay {
  z-index: 30;
}

.map-modal-card {
  width: min(1040px, calc(100vw - 2rem));
}

.map-modal-card h2 {
  margin: 0.35rem 0 0;
}

.map-modal-intro {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
}

.department-map-panel-large {
  padding: 1rem;
}

.map-modal-actions {
  justify-content: flex-end;
  margin-top: 1rem;
}

.contact-card {
  margin: 1rem 0 0;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
}

.rating-modal-card {
  border-color: rgba(255, 209, 102, 0.34);
}

.rating-task-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 1rem;
  background: rgba(255, 209, 102, 0.06);
}

.rating-stars {
  display: grid;
  gap: 0.55rem;
}

.jack-rating-amp {
  margin-top: 0.2rem;
}

.amp-face {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 209, 102, 0.22), transparent 30%),
    radial-gradient(circle at 95% 12%, rgba(255, 122, 61, 0.15), transparent 26%),
    linear-gradient(145deg, #27232a 0%, #17151c 47%, #0a090d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 34px rgba(0, 0, 0, 0.38),
    0 18px 44px rgba(0, 0, 0, 0.34);
  transform: perspective(920px) rotateX(2deg);
}

.amp-face::before {
  content: "";
  position: absolute;
  inset: 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.95rem;
  pointer-events: none;
}

.amp-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 70%, rgba(255, 209, 102, 0.08));
  opacity: 0.75;
  pointer-events: none;
}

.amp-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.amp-brand {
  color: #fff6e6;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(255, 209, 102, 0.18);
}

.amp-led {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffd166;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amp-led::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #ff7a3d;
  box-shadow: 0 0 13px rgba(255, 122, 61, 0.92);
}

.amp-grille {
  position: relative;
  z-index: 1;
  height: 3.45rem;
  margin: 0.75rem 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.38) 0 2px, rgba(255, 255, 255, 0.04) 2px 4px),
    linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 13px 22px rgba(0, 0, 0, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.amp-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(4.6rem, 1fr));
  gap: 0.65rem;
}

.rating-star {
  cursor: pointer;
}

.rating-star input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jack-rating-input {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 5.3rem;
  padding: 2.85rem 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -12px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.jack-rating-input:hover,
.jack-rating-input.selected {
  transform: translateY(-2px);
  border-color: rgba(255, 209, 102, 0.76);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 209, 102, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(255, 209, 102, 0.16), rgba(255, 122, 61, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -13px 20px rgba(0, 0, 0, 0.24),
    0 12px 26px rgba(255, 122, 61, 0.12);
}

.jack-socket {
  position: absolute;
  z-index: 2;
  top: 1.05rem;
  left: 50%;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 46% 49%, #030305 0 0.33rem, #2d2830 0.35rem 0.46rem, #f7e9c8 0.48rem 0.56rem, #9a6536 0.6rem 0.69rem, #161219 0.73rem);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -5px 10px rgba(0, 0, 0, 0.62),
    0 6px 16px rgba(0, 0, 0, 0.42);
}

.jack-cable,
.jack-plug {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.2s ease;
}

.jack-cable {
  z-index: 3;
  top: 1.5rem;
  left: -2.05rem;
  width: 3.15rem;
  height: 0.46rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), transparent 42%),
    linear-gradient(90deg, #050508, #17131a 52%, #050508);
  box-shadow:
    0 3px 7px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateX(-0.7rem) rotate(-7deg);
}

.jack-cable::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: -1.05rem;
  width: 2.25rem;
  height: 2.45rem;
  border-bottom: 0.42rem solid #09080c;
  border-left: 0.42rem solid #09080c;
  border-radius: 0 0 0 1.7rem;
  box-shadow: inset 1px -1px 0 rgba(255, 255, 255, 0.08);
}

.jack-plug {
  z-index: 4;
  top: 1.12rem;
  left: calc(50% - 2.05rem);
  width: 2.42rem;
  height: 1.02rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 45%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, #141016 0 0.34rem, #f4e5c5 0.35rem 0.76rem, #6b5c4d 0.78rem 0.92rem, #fdf2d6 0.95rem 1.75rem, #201820 1.78rem 100%);
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateX(-0.7rem) rotate(-7deg);
}

.jack-plug::before {
  content: "";
  position: absolute;
  right: -0.24rem;
  top: 0.28rem;
  width: 0.7rem;
  height: 0.45rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 48%),
    linear-gradient(90deg, #f8edcf, #7a6957);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
}

.jack-plug::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.06rem;
  width: 0.16rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0.45rem 0 rgba(0, 0, 0, 0.28);
}

.jack-rating-input.selected .jack-cable,
.jack-rating-input.selected .jack-plug {
  opacity: 1;
  transform: translateX(0) rotate(-7deg);
}

.jack-rating-input.selected .jack-socket {
  background:
    radial-gradient(circle at 62% 50%, #050407 0 0.22rem, #f7e9c8 0.25rem 0.43rem, #9a6536 0.48rem 0.62rem, #141016 0.68rem);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.24),
    inset 0 -5px 10px rgba(0, 0, 0, 0.62),
    0 0 18px rgba(255, 209, 102, 0.2),
    0 7px 16px rgba(0, 0, 0, 0.46);
}

.jack-number {
  position: relative;
  z-index: 3;
  justify-self: center;
  align-self: end;
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  color: #fff6e6;
  font-size: 0.95rem;
  font-weight: 950;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.jack-rating-input.selected .jack-number {
  color: #101014;
  background: linear-gradient(135deg, #ffd166, #ff8a3d);
  box-shadow: 0 0 18px rgba(255, 122, 61, 0.38);
}

.amp-rating-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-style-options {
  grid-template-columns: repeat(4, minmax(7.2rem, 1fr));
  gap: 0.7rem;
  padding: 0.55rem 0 0.1rem;
  overflow: visible;
}

.rating-style-options .rating-star {
  min-height: 3.8rem;
  align-items: center;
  padding: 0.72rem 0.82rem;
  border-radius: 1rem;
}

.rating-style-options .rating-note {
  display: grid;
  gap: 0.08rem;
  line-height: 1.05;
}

.rating-style-options .rating-note strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.rating-style-options .rating-note small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.rating-style-options .check-card.selected {
  padding-left: 3.95rem;
  border-color: rgba(255, 209, 102, 0.62);
  background:
    radial-gradient(circle at 3.38rem 50%, #05060a 0 0.28rem, rgba(255, 244, 222, 0.95) 0.3rem 0.41rem, rgba(255, 122, 61, 0.65) 0.43rem 0.5rem, transparent 0.52rem),
    radial-gradient(circle at 3.38rem 50%, rgba(255, 209, 102, 0.24), transparent 1.25rem),
    linear-gradient(90deg, rgba(255, 122, 61, 0.22), rgba(255, 255, 255, 0.055) 46%),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 122, 61, 0.16),
    inset 0 8px 16px rgba(255, 255, 255, 0.035),
    0 16px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px) rotateX(3deg);
}

.rating-style-options .check-card.selected::before,
.rating-style-options .check-card.selected::after {
  opacity: 1;
  transform: translate3d(0, -50%, 12px) rotateY(0deg) rotateZ(0deg);
}

.rating-style-options .check-card.selected .rating-note strong,
.rating-style-options .check-card.selected .rating-note small {
  color: var(--accent-2);
}

.rating-style-options .check-card.just-plugged::before,
.rating-style-options .check-card.just-plugged::after {
  animation: jackPlugIn3d 0.62s cubic-bezier(0.16, 1.35, 0.34, 1);
}

.rating-help {
  grid-column: 1 / -1;
  margin: -0.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-pill {
  border-color: rgba(255, 209, 102, 0.42);
  color: var(--accent-2);
  background: rgba(255, 209, 102, 0.08);
}

.validation-box {
  margin: 1rem 0 0;
  padding: 1.1rem;
  border: 1px solid rgba(255, 122, 61, 0.35);
  border-radius: 1rem;
  background: rgba(255, 122, 61, 0.08);
}

.messages-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.15rem;
  align-items: start;
}

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

.conversation-item {
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.conversation-item.active {
  border-color: var(--accent);
  background: rgba(255, 122, 61, 0.13);
}

.conversation-item span,
.chat-message span,
.muted {
  color: var(--muted);
}

.messages-box {
  display: grid;
  gap: 0.8rem;
  max-height: 420px;
  overflow: auto;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.chat-message {
  max-width: 78%;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
}

.chat-message.from-me {
  justify-self: end;
  background: rgba(255, 122, 61, 0.18);
}

.chat-message p {
  margin: 0 0 0.35rem;
}

.compact-form {
  margin-top: 1rem;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.photo-preview-card {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-carousel {
  margin: 1rem 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  scroll-snap-align: center;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #000;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem;
}

.carousel-dots span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
}

.empty {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none !important;
}

.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 820px) {
  .topbar {
    align-items: center;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .menu-toggle {
    display: grid;
  }

  nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
    width: 100%;
    overflow: visible;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 1.15rem;
    background: rgba(24, 26, 39, 0.97);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  }

  .topbar.menu-open nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  nav a,
  nav button {
    width: 100%;
    min-height: 2.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    text-align: center;
  }

  nav a.active {
    border-color: rgba(255, 209, 102, 0.46);
    background:
      linear-gradient(90deg, rgba(255, 122, 61, 0.16), rgba(255, 209, 102, 0.08)),
      rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.08);
  }

  nav a.active::after {
    left: 1rem;
    right: 1rem;
    bottom: 0.45rem;
  }

  nav .nav-logout {
    min-height: 2.35rem;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    font-size: 0.88rem;
    opacity: 0.78;
  }

  nav .nav-logout:hover {
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .annonces-head,
  .annonces-workspace {
    grid-template-columns: 1fr;
  }

  .annonces-head .actions {
    justify-content: stretch;
  }

  .annonces-head .button {
    width: 100%;
    justify-content: center;
  }

  .annonces-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .results-summary {
    position: static;
  }

  .location-map-launch {
    align-items: stretch;
    flex-direction: column;
  }

  .location-map-launch .secondary {
    width: 100%;
    justify-content: center;
  }

  .map-modal-card {
    width: 100%;
    max-height: 92vh;
  }

  .department-map-large {
    min-height: 58vh;
  }

  .hero-side {
    align-self: auto;
    margin-bottom: 0;
  }

  .amp-card-mission,
  .amp-card-pricing {
    transform: none;
  }

  .rating-style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amp-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jack-cable {
    left: -1.55rem;
    width: 2.65rem;
  }

  .two-columns,
  .date-row,
  .equipment-row,
  .search-panel,
  .messages-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(255, 122, 61, 0.16), transparent 20rem),
      var(--bg);
  }

  main {
    width: min(100% - 1rem, 1120px);
    padding: 1.25rem 0;
  }

  .brand {
    gap: 0.65rem;
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .hero-title {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
    letter-spacing: -0.018em;
  }

  h1,
  h2,
  h3 {
    letter-spacing: -0.012em;
  }

  .card-title {
    letter-spacing: -0.006em;
  }

  .panel,
  .card {
    border-radius: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .panel {
    padding: 1rem;
  }

  .amp-card {
    padding: 4.35rem 1rem 1rem;
  }

  .amp-card::before {
    inset: 0.55rem;
  }

  .amp-card::after {
    top: 1rem;
    right: 1rem;
    width: 4.4rem;
  }

  .amp-input {
    top: 1rem;
    left: 1rem;
  }

  p {
    line-height: 1.58;
  }

  .card > * + * {
    margin-top: 0.7rem;
  }

  .grid,
  .stats,
  .pricing-grid,
  .checkbox-grid,
  .photo-preview-grid {
    grid-template-columns: 1fr;
  }

  .style-options {
    padding-left: 0;
    padding-right: 0;
  }

  .style-options .check-card:has(input:checked) {
    padding-left: 3.8rem;
  }

  .style-options .check-card::before {
    left: 0.42rem;
    width: 2.25rem;
  }

  .style-options .check-card::after {
    left: 1.9rem;
    width: 1.78rem;
  }

  .rating-style-options {
    grid-template-columns: 1fr;
  }

  .rating-style-options .rating-star {
    min-height: 3.55rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .button,
  button {
    width: 100%;
    min-height: 3rem;
  }

  .link-button {
    width: auto;
    min-height: auto;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .date-row,
  .equipment-row {
    gap: 0.5rem;
  }

  .modal-overlay,
  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 1.2rem 1.2rem 0 0;
    padding: 1rem;
  }

  .rating-modal-card {
    overflow-x: hidden;
  }

  .amp-face {
    padding: 0.85rem;
    transform: none;
  }

  .amp-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .amp-grille {
    height: 2.7rem;
    margin: 0.65rem 0 0.7rem;
  }

  .amp-controls {
    gap: 0.5rem;
  }

  .jack-rating-input {
    min-height: 4.9rem;
    padding-top: 2.65rem;
  }

  .jack-cable {
    left: -1.15rem;
    width: 2.2rem;
  }

  .jack-cable::before {
    left: -0.75rem;
    width: 1.65rem;
  }

  .jack-plug {
    left: calc(50% - 2rem);
    width: 2.25rem;
  }

  .carousel-slide img {
    height: 210px;
  }

  .media-player iframe {
    height: 190px;
  }

  .chat-message {
    max-width: 92%;
  }

  .profile-photo {
    width: min(220px, 100%);
  }
}
