/* LigniQ-platform: visualizer en Mijn project. Alles onder .lq, zodat Horizon
   er niets van merkt en andersom. Kleuren en letters uit de Brand Bible. */
.lq {
  --lq-bone: #F4F0E8;
  --lq-paper: #FBF9F4;
  --lq-ink: #201D18;
  --lq-graphite: #6E6A62;
  --lq-hairline: #D8D2C6;
  --lq-oak: #B98A5E;
  --lq-verdigris: #3F5346;
  --lq-signal: #8C3B2A;
  --lq-display: "LQ Fraunces", Georgia, "Times New Roman", serif;
  --lq-interface: "LQ Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --lq-mono: "LQ Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  background: var(--lq-bone);
  color: var(--lq-ink);
  font-family: var(--lq-interface);
  font-size: 15px;
  line-height: 1.55;
  padding: 32px 20px 96px;
}
.lq *, .lq *::before, .lq *::after { box-sizing: border-box; }
.lq :is(h1, h2, h3, p) { margin: 0; font-style: normal; letter-spacing: normal; text-transform: none; }
.lq :focus-visible { outline: 2px solid var(--lq-verdigris); outline-offset: 2px; }
.lq-binnen { max-width: 1280px; margin: 0 auto; }

.lq-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lq-graphite); }
.lq-titel { font-family: var(--lq-display); font-weight: 400; font-size: 32px; line-height: 1.15; margin-top: 6px; text-wrap: balance; }
.lq-sub { color: var(--lq-graphite); margin-top: 6px; }
.lq-mono { font-family: var(--lq-mono); font-size: 13px; }

/* Knoppen */
.lq-knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  font: 500 15px/1 var(--lq-interface); border-radius: 2px; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.lq-knop--hoofd { background: var(--lq-verdigris); color: var(--lq-bone); }
.lq-knop--hoofd:hover { background: var(--lq-ink); }
.lq-knop--rand { background: transparent; color: var(--lq-ink); border-color: var(--lq-ink); }
.lq-knop--rand:hover { background: var(--lq-ink); color: var(--lq-bone); }
.lq-knop[disabled] { opacity: .45; cursor: default; }
.lq-link { color: var(--lq-ink); text-decoration: none; border-bottom: 1px solid var(--lq-verdigris); }
.lq-link:hover { border-bottom-color: var(--lq-ink); }

/* Visualizer */
.lq-vis { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 960px) { .lq-vis { grid-template-columns: minmax(0, 1fr) 360px; } }
.lq-doek { position: relative; aspect-ratio: 4 / 3; background: var(--lq-hairline); overflow: hidden; }
.lq-doek canvas { display: block; width: 100%; height: 100%; }
.lq-schaal { position: absolute; left: 12px; bottom: 12px; background: rgba(244, 240, 232, .88); padding: 4px 8px; }
.lq-zoom { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lq-zoom button { min-height: 36px; padding: 0 12px; background: transparent; border: 1px solid var(--lq-hairline);
  font: 13px/1 var(--lq-mono); color: var(--lq-ink); cursor: pointer; }
.lq-zoom button[aria-pressed="true"] { border-color: var(--lq-ink); }

.lq-paneel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lq-veld { display: flex; flex-direction: column; gap: 8px; }
.lq-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lq-graphite); }
.lq-stalen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.lq-staal { aspect-ratio: 1; border: 1px solid var(--lq-hairline); padding: 2px; background: var(--lq-paper); cursor: pointer; }
.lq-staal span { display: block; width: 100%; height: 100%; }
.lq-staal[aria-pressed="true"] { border: 2px solid var(--lq-ink); padding: 1px; }
.lq-invoer { display: flex; align-items: center; gap: 8px; }
.lq-invoer input { width: 120px; min-height: 44px; padding: 0 12px; border: 1px solid var(--lq-hairline); background: var(--lq-paper);
  font: 15px var(--lq-mono); color: var(--lq-ink); }
.lq-prijs { font-family: var(--lq-mono); font-size: 14px; }
.lq-prijs strong { font-family: var(--lq-display); font-weight: 400; font-size: 24px; display: block; }
.lq-acties { display: flex; flex-direction: column; gap: 10px; }
.lq-noot { font-size: 13px; color: var(--lq-graphite); }
.lq-melding { font-size: 14px; padding: 10px 12px; background: var(--lq-paper); border-left: 2px solid var(--lq-verdigris); }
.lq-melding--fout { border-left-color: var(--lq-signal); }

/* Mijn project */
.lq-kop { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.lq-banier { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; background: var(--lq-paper); border: 1px solid var(--lq-hairline); }
.lq-vloeren { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lq-kaart { background: var(--lq-paper); border: 1px solid var(--lq-hairline); display: flex; flex-direction: column; min-width: 0; }
.lq-kaart .lq-doek { aspect-ratio: 3 / 2; }
.lq-kaart-tekst { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.lq-kaart-titel { font-family: var(--lq-display); font-size: 20px; line-height: 1.25; }
.lq-kaart-acties { padding: 0 16px 16px; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.lq-kaart-acties .lq-knop { min-height: 38px; font-size: 14px; padding: 0 14px; }
.lq-leeg { margin-top: 24px; padding: 48px 24px; text-align: center; border: 1px dashed var(--lq-hairline); }
.lq-leeg p + p { margin-top: 8px; color: var(--lq-graphite); }
.lq-acties .lq-link { align-self: flex-start; }
@media (max-width: 599px) { .lq-titel { font-size: 26px; } .lq { padding: 24px 16px 72px; } }

/* Blok op de productpagina */
.lq--blok { padding: 0; background: transparent; display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.lq-doek--blok { aspect-ratio: 16 / 9; }
.lq-blok-acties { display: flex; flex-wrap: wrap; gap: 8px; }
.lq-blok-acties .lq-knop { flex: 1 1 180px; }
.lq-besteld { color: var(--lq-verdigris); }

/* Meetstaat */
.lq-ms { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--lq-hairline); display: flex; flex-direction: column; gap: 16px; }
.lq-titel--h2 { font-size: 26px; margin-top: 0; }
.lq-veld--rij { flex-direction: row; align-items: center; gap: 10px; }
.lq-select { min-height: 40px; padding: 0 10px; border: 1px solid var(--lq-hairline); background: var(--lq-paper); font: 14px var(--lq-interface); color: var(--lq-ink); max-width: 100%; }
.lq-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.lq-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; min-width: 132px; background: transparent;
  border: 1px solid var(--lq-hairline); font: 500 14px var(--lq-interface); color: var(--lq-ink); cursor: pointer; text-align: left; }
.lq-tab[aria-selected="true"] { border-color: var(--lq-ink); background: var(--lq-paper); }
.lq-tab-sub { font-size: 12px; color: var(--lq-graphite); font-weight: 400; }
.lq-tab--plus { justify-content: center; align-items: center; min-width: 110px; color: var(--lq-verdigris); }
.lq-ms-tabel { display: flex; flex-direction: column; overflow-x: auto; }
.lq-ms-vertrek { border-bottom: 1px solid var(--lq-hairline); padding: 6px 0; }
.lq-ms-rij { display: grid; grid-template-columns: 76px minmax(140px, 1.4fr) 92px 92px 64px minmax(180px, 1.6fr) auto; gap: 8px; align-items: center; min-width: 860px; }
.lq-ms-kop { padding-bottom: 6px; border-bottom: 1px solid var(--lq-ink); }
.lq-ms-rij input { min-height: 40px; padding: 0 10px; border: 1px solid var(--lq-hairline); background: var(--lq-paper); font: 14px var(--lq-interface); color: var(--lq-ink); width: 100%; }
.lq-ms-rij .lq-num, .lq-ms-deel .lq-num { font-family: var(--lq-mono); }
.lq-ms-rij--fout .lq-num:placeholder-shown { border-color: var(--lq-signal); }
.lq-ms-rij--open { padding: 8px 0; min-width: 860px; }
.lq-dim { color: var(--lq-graphite); }
.lq-m2 { text-align: right; }
.lq-ms-knoppen { display: flex; gap: 4px; }
.lq-mini { min-height: 32px; padding: 0 8px; background: transparent; border: 1px solid var(--lq-hairline); font: 12px var(--lq-interface); color: var(--lq-ink); cursor: pointer; white-space: nowrap; }
.lq-mini:hover { border-color: var(--lq-ink); }
.lq-ms-deel { display: grid; grid-template-columns: 76px 120px 92px 92px auto; gap: 8px; align-items: center; margin: 6px 0 0 84px; min-width: 560px; }
.lq-ms-deel input { min-height: 36px; padding: 0 8px; border: 1px solid var(--lq-hairline); background: var(--lq-paper); width: 100%; }
.lq-ms-melding { font-size: 13px; color: var(--lq-signal); margin-left: 84px; }
.lq-ms-melding:empty { display: none; }
.lq-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lq-chip { min-height: 32px; padding: 0 12px; background: var(--lq-paper); border: 1px dashed var(--lq-graphite); font: 13px var(--lq-interface); color: var(--lq-ink); cursor: pointer; }
.lq-tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
.lq-tabel th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lq-graphite); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--lq-ink); }
.lq-tabel td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--lq-hairline); vertical-align: top; }
.lq-ms-totaal { overflow-x: auto; }
.lq-ms-bevestig { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; background: var(--lq-paper); border: 1px solid var(--lq-hairline); }
.lq-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lq-check input { width: 18px; height: 18px; accent-color: var(--lq-verdigris); }

@media (max-width: 699px) {
  .lq-ms-kop { display: none; }
  .lq-ms-rij { min-width: 0; grid-template-columns: 72px 1fr 1fr 64px;
    grid-template-areas: "code naam naam naam" "l b m2 m2" "vloer vloer vloer vloer" "knop knop knop knop"; }
  .lq-ms-rij > :nth-child(1) { grid-area: code; } .lq-ms-rij > :nth-child(2) { grid-area: naam; }
  .lq-ms-rij > :nth-child(3) { grid-area: l; } .lq-ms-rij > :nth-child(4) { grid-area: b; }
  .lq-ms-rij > :nth-child(5) { grid-area: m2; } .lq-ms-rij > :nth-child(6) { grid-area: vloer; }
  .lq-ms-rij > :nth-child(7) { grid-area: knop; }
  .lq-ms-rij--open { grid-template-columns: 72px 1fr; grid-template-areas: "code naam"; min-width: 0; }
  .lq-ms-vertrek { padding: 12px 0; }
  .lq-ms-deel { margin-left: 0; min-width: 0; grid-template-columns: 96px 1fr 1fr auto; }
  .lq-ms-melding { margin-left: 0; }
  .lq-tabel { min-width: 600px; }
}

/* Room Visualizer */
.lq-verborgen { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lq-upload { margin-top: 24px; max-width: 640px; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--lq-paper); border: 1px solid var(--lq-hairline); }
.lq-upload label.lq-knop { cursor: pointer; }
.lq-acties--rij { flex-direction: row; flex-wrap: wrap; }
.lq .lq-voorbeelden-kop { margin-top: 48px; }
.lq-kaart--link { color: inherit; text-decoration: none; }
.lq-kaart--link:hover .lq-kaart-titel { text-decoration: underline; text-decoration-color: var(--lq-verdigris); }
.lq-kaart .lq-doek img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lq-doek--kamer { aspect-ratio: auto; background: var(--lq-ink); }
.lq-doek--kamer canvas { height: auto; }
.lq-vergelijk { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.lq-vergelijk-lijn { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--lq-bone); box-shadow: 0 0 0 1px rgba(32, 29, 24, .35); pointer-events: none; }
.lq .lq-disclaimer { margin-top: 8px; }
.lq-schuif { width: 140px; accent-color: var(--lq-verdigris); }
.lq-zoom .lq-veld--rij { font-size: 12px; color: var(--lq-graphite); }
.lq-zoom .lq-mini { min-height: 36px; padding: 0 12px; }
.lq-mini--link { display: inline-flex; align-items: center; text-decoration: none; }
.lq-naam-invoer { min-height: 44px; padding: 0 12px; border: 1px solid var(--lq-hairline); background: var(--lq-paper); font: 15px var(--lq-interface); color: var(--lq-ink); }
.lq-ruimtes { margin-top: 24px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
