/* ===== Alufile V6: glass. Alles hieronder geldt alleen binnen Alufile (body[data-skin]). The Garden Gallery raakt dit nooit. ===== */
body[data-skin] {
  --gl-ink: #f4f2ee; --gl-mute: #b9b5ac; --gl-dim: #8f8b83;
  --gl-blue: #6b9bff; --gl-green: #4fd6a2; --gl-gold: #e2b970; --gl-violet: #a595ff; --gl-red: #ff7a72;
  --gl-fill: rgba(20, 22, 27, 0.42); --gl-fill-2: rgba(32, 35, 42, 0.52); --gl-edge: rgba(255, 255, 255, 0.15); --gl-edge-2: rgba(255, 255, 255, 0.07);
  --gl-blur: blur(26px) saturate(1.45);
  --gl-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --night: #0b0c0f; --glass: var(--gl-fill); --glass-solid: rgba(24, 26, 31, 0.9); --raise: var(--gl-fill-2);
  --line: var(--gl-edge-2); --line-strong: var(--gl-edge); --text: var(--gl-ink); --muted: var(--gl-mute);
  --green: var(--gl-ink); --teal: var(--gl-blue); --teal-dim: rgba(107, 155, 255, 0.18); --amber: var(--gl-gold); --amber-dim: rgba(226, 185, 112, 0.16); --rose: var(--gl-red); --good: var(--gl-green);
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px; --top: 92px;
  background: #0b0c0f; color: var(--gl-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}
/* de echte showroomfoto: volledig scherm, zonder vervorming, met donkere laag voor leesbaarheid */
body[data-skin]::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #0b0c0f url(../img-showroom.jpg) center 38% / cover no-repeat;
  background-image: image-set(url(../img-showroom.webp) type("image/webp"), url(../img-showroom.jpg) type("image/jpeg")); }
body[data-skin]::after { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(8, 9, 12, 0.08), rgba(8, 9, 12, 0.42) 100%), linear-gradient(180deg, rgba(8, 9, 12, 0.42), rgba(8, 9, 12, 0.18) 35%, rgba(8, 9, 12, 0.5)); }
body[data-skin]:not([data-brand="tgg"][data-view="dashboard"]) #map, body[data-skin]:not([data-brand="tgg"][data-view="dashboard"]) .veil { display: none !important; }

/* ---- schil: zwevende zijbalk en topbalk ---- */
body[data-skin] .top { z-index: 30; height: var(--top); grid-template-columns: auto 1fr auto; padding: 16px 20px 0 118px; pointer-events: none; }
body[data-skin] .top > * { pointer-events: auto; }
body[data-skin] .top::before { content: ""; position: fixed; left: 108px; right: 16px; top: 16px; height: 60px; border-radius: 22px; background: var(--gl-fill); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); pointer-events: none; z-index: -1; }
body[data-skin] .brandsw { padding-left: 8px; } body[data-skin] .top-r { grid-column: 3; gap: 10px; padding-right: 10px; align-self: center; margin-top: -4px; }
body[data-skin][data-brand="alu"] .top-r a[href="#/agents"] { display: none; }
body[data-skin] .dock { position: fixed; left: 16px; top: 16px; bottom: 16px; width: 76px; z-index: 31; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0; border-radius: 28px; border: 1px solid var(--gl-edge); background: var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); pointer-events: auto; }
body[data-skin][data-brand="tgg"] .dock::before { background-image: url(../brand-tgg.png); }
body[data-skin] .dock::before { content: ""; flex: none; width: 34px; height: 34px; margin-bottom: 10px; background: url(../brand-alufile.png) center / contain no-repeat; opacity: 0.95; }
body[data-skin] .dock a { position: relative; width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 16px; color: var(--gl-mute); transition: background 0.25s, color 0.25s, transform 0.25s; }
body[data-skin] .dock a span { display: none !important; }
body[data-skin] .dock a:hover { color: var(--gl-ink); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
body[data-skin] .dock a.on { color: #fff; background: linear-gradient(160deg, rgba(107, 155, 255, 0.42), rgba(107, 155, 255, 0.16)); box-shadow: inset 0 0 0 1px rgba(160, 195, 255, 0.45), 0 8px 22px rgba(60, 110, 255, 0.28); }
body[data-skin] .dock a.on::before { content: ""; position: absolute; left: -14px; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: var(--gl-blue); box-shadow: 0 0 12px var(--gl-blue); }
body[data-skin] .dock a[data-tip]:hover::after, body[data-skin] .dock a[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 7px 12px; border-radius: 10px; font-size: 12.5px; color: var(--gl-ink); background: rgba(14, 15, 19, 0.88); border: 1px solid var(--gl-edge); backdrop-filter: blur(12px); pointer-events: none; z-index: 5; }
body[data-skin] .dock-n { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gl-red); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(20, 22, 27, 0.9); animation: gl-pop 0.4s cubic-bezier(.3, 1.6, .5, 1); }
body[data-skin]:not([data-view="dashboard"]) main#view { pointer-events: auto !important; }
body[data-skin] main#view { z-index: 25; inset: var(--top) 0 0 108px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
body[data-skin] .bsw { height: 42px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--gl-edge-2); }
body[data-skin] .bsw::before { border-radius: 11px; background: linear-gradient(160deg, #f4efe6, #cdb98f); }
body[data-skin] .tb-ico, body[data-skin] .seg { border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--gl-edge-2); backdrop-filter: none; box-shadow: none; }
body[data-skin] .tb-ico.on, body[data-skin] .seg button.on, body[data-skin] .seg.vat button.on { background: rgba(107, 155, 255, 0.28); box-shadow: inset 0 0 0 1px rgba(160, 195, 255, 0.4); color: #fff; }
body[data-skin] .seg button { border-radius: 11px; }
body[data-skin] .tb-ico .badge-n { background: var(--gl-red); color: #fff; }

/* ---- bouwstenen ---- */
body[data-skin] .gl-card, body[data-skin] .panel, body[data-skin] .table-wrap, body[data-skin] .stats > *, body[data-skin] .modal-card, body[data-skin] .drawer { position: relative; border-radius: 24px; background: var(--gl-fill); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
body[data-skin] .gl-card::before, body[data-skin] .panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 38%); }
body[data-skin] .gl-card { padding: 20px 22px; }
body[data-skin] .gl-ch { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } body[data-skin] .gl-ch h2 { flex: 1; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0.005em; color: var(--gl-ink); }
body[data-skin] .gl-link, body[data-skin] .link { background: none; border: 0; color: var(--gl-blue); cursor: pointer; font-size: 13px; padding: 4px 6px; border-radius: 8px; } body[data-skin] .gl-link:hover, body[data-skin] .link:hover { background: rgba(107, 155, 255, 0.14); }
body[data-skin] .gl-btn, body[data-skin] .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--gl-edge); background: rgba(255, 255, 255, 0.08); color: var(--gl-ink); font-weight: 500; cursor: pointer; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
body[data-skin] .gl-btn:hover, body[data-skin] .btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); }
body[data-skin] .gl-btn.pri, body[data-skin] .btn.primary { background: linear-gradient(160deg, #7ea7ff, #4a7af0); border-color: rgba(190, 212, 255, 0.5); color: #fff; box-shadow: 0 8px 24px rgba(74, 122, 240, 0.38); }
body[data-skin] .gl-btn.pri:hover, body[data-skin] .btn.primary:hover { background: linear-gradient(160deg, #94b6ff, #5a87f4); }
body[data-skin] .gl-btn:disabled, body[data-skin] .btn:disabled { opacity: 0.45; transform: none; cursor: not-allowed; }
body[data-skin] .gl-ico { width: 40px; height: 40px; border-radius: 13px; display: inline-grid; place-items: center; border: 1px solid var(--gl-edge-2); background: rgba(255, 255, 255, 0.07); color: var(--gl-mute); cursor: pointer; transition: all 0.2s; } body[data-skin] .gl-ico:hover, body[data-skin] .gl-ico[aria-pressed="true"] { color: #fff; background: rgba(107, 155, 255, 0.24); }
body[data-skin] .gl-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); } body[data-skin] .gl-tabs button { border: 0; background: none; color: var(--gl-mute); padding: 5px 11px; border-radius: 9px; cursor: pointer; font-size: 12.5px; } body[data-skin] .gl-tabs button.on { background: rgba(255, 255, 255, 0.14); color: #fff; }
body[data-skin] .gl-empty { color: var(--gl-dim); font-size: 13.5px; padding: 8px 0; }
body[data-skin] input, body[data-skin] select, body[data-skin] textarea { border-radius: 12px; border: 1px solid var(--gl-edge); background: rgba(0, 0, 0, 0.28); color: var(--gl-ink); transition: border-color 0.2s, box-shadow 0.2s; }
body[data-skin] input:focus, body[data-skin] select:focus, body[data-skin] textarea:focus { outline: none; border-color: rgba(140, 180, 255, 0.7); box-shadow: 0 0 0 3px rgba(107, 155, 255, 0.22); }
body[data-skin] option { background: #1b1d22; }
body[data-skin] :focus-visible { outline: 2px solid rgba(160, 195, 255, 0.85); outline-offset: 2px; }
body[data-skin] .scrim { background: rgba(6, 7, 9, 0.5); backdrop-filter: blur(6px); }
body[data-skin] .modal-card, body[data-skin] .drawer { background: rgba(24, 26, 32, 0.78); }
body[data-skin] .toast { background: rgba(24, 26, 32, 0.85); border: 1px solid var(--gl-edge); backdrop-filter: var(--gl-blur); border-radius: 14px; animation: gl-pop 0.35s cubic-bezier(.3, 1.4, .5, 1); }

/* ---- dashboard ---- */
.gl-home { max-width: 1520px; margin: 0 auto; padding: 4px 20px 40px 8px; display: flex; flex-direction: column; gap: 16px; }
.gl-home > *, .gl-row > * { animation: gl-in 0.55s cubic-bezier(.2, .7, .2, 1) backwards; }
.gl-home > :nth-child(2) { animation-delay: 60ms; } .gl-home > :nth-child(3) { animation-delay: 120ms; } .gl-home > :nth-child(4) { animation-delay: 180ms; } .gl-home > :nth-child(5) { animation-delay: 240ms; }
.gl-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 26px !important; }
.gl-hello h1 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.02em; color: #fff; }
.gl-hello p { margin: 6px 0 0; color: var(--gl-mute); font-size: 14.5px; max-width: 60ch; }
.gl-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-q { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--gl-edge); background: rgba(255, 255, 255, 0.08); color: var(--gl-ink); cursor: pointer; font-size: 13.5px; transition: all 0.2s; } .gl-q:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.gl-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gl-metric { --ac: var(--gl-blue); align-content: start; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 18px 18px 16px; border-radius: 24px; border: 1px solid var(--gl-edge); color: var(--gl-ink); font: inherit;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 14%, transparent), transparent 55%), var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); transition: transform 0.3s cubic-bezier(.2, .7, .2, 1), border-color 0.3s; }
button.gl-metric { cursor: pointer; } .gl-metric:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ac) 55%, rgba(255, 255, 255, 0.2)); }
.tone-blue { --ac: var(--gl-blue); } .tone-green { --ac: var(--gl-green); } .tone-gold { --ac: var(--gl-gold); } .tone-violet { --ac: var(--gl-violet); } .tone-red { --ac: var(--gl-red); }
.gl-mi { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: var(--ac); background: color-mix(in srgb, var(--ac) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 35%, transparent); }
.gl-ml { color: var(--gl-mute); font-size: 12.5px; line-height: 1.3; }
.gl-mv { grid-column: 1 / -1; margin-top: 14px; font-size: clamp(26px, 2.3vw, 36px); font-weight: 300; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.1; color: #fff; white-space: nowrap; }
.gl-ms { grid-column: 1 / -1; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; color: var(--gl-dim); font-size: 12px; }
.gl-trend { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px 2px 5px; border-radius: 999px; font-weight: 600; font-size: 11.5px; background: rgba(255, 255, 255, 0.1); color: var(--gl-mute); } .gl-trend small { font-weight: 400; margin-left: 4px; opacity: 0.8; }
.gl-trend.good { color: var(--gl-green); background: rgba(79, 214, 162, 0.14); } .gl-trend.bad { color: var(--gl-red); background: rgba(255, 122, 114, 0.14); }
.gl-spark { grid-column: 1 / -1; width: 100%; height: 34px; margin-top: 10px; } .gl-spark .fill { fill: var(--ac); opacity: 0.14; } .gl-spark .line { fill: none; stroke: var(--ac); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: gl-draw 1.2s 0.3s ease forwards; }
.gl-row { display: grid; gap: 16px; } .r-a { grid-template-columns: 1.45fr 1fr; } .r-b { grid-template-columns: repeat(3, minmax(0, 1fr)); } .r-c { grid-template-columns: 1.1fr 1fr; }
.gl-legend { display: inline-flex; align-items: center; gap: 6px; color: var(--gl-mute); font-size: 12px; } .gl-legend i { width: 9px; height: 9px; border-radius: 3px; margin-left: 8px; } .l-a { background: var(--gl-blue); } .l-b { background: var(--gl-gold); } .l-v { background: var(--gl-violet); }
.gl-chart { width: 100%; height: auto; display: block; overflow: visible; } .gl-chart .grid { stroke: rgba(255, 255, 255, 0.09); } .gl-chart .ax { fill: var(--gl-dim); font-size: 11px; }
.gl-chart .bar .a { fill: var(--gl-blue); } .gl-chart .bar .b { fill: var(--gl-gold); opacity: 0.9; } .gl-chart .bar .hit { fill: transparent; } .gl-chart .bar:hover .hit { fill: rgba(255, 255, 255, 0.06); }
.gl-chart .bar rect:not(.hit) { transform-box: fill-box; transform-origin: bottom; animation: gl-grow 0.8s var(--d, 0ms) cubic-bezier(.2, .7, .2, 1) both; }
.gl-chart .ln { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: gl-draw 1.4s 0.2s ease forwards; } .gl-chart .ln.c-a { stroke: var(--gl-blue); } .gl-chart .ln.c-v { stroke: var(--gl-violet); }
.gl-chart .area.c-a { fill: var(--gl-blue); opacity: 0.12; } .gl-chart .area.c-v { fill: var(--gl-violet); opacity: 0.12; } .gl-chart .dot.c-a { fill: var(--gl-blue); } .gl-chart .dot.c-v { fill: var(--gl-violet); }
.gl-seg { display: flex; flex-direction: column; gap: 16px; } .gl-segbar { display: flex; gap: 3px; height: 14px; } .gl-segbar i { border-radius: 6px; transition: flex 0.6s; } .gl-segbar i.empty { background: rgba(255, 255, 255, 0.1); }
.s0 { background: var(--gl-violet); } .s1 { background: var(--gl-blue); } .s2 { background: var(--gl-gold); } .s3 { background: var(--gl-green); } .s4 { background: rgba(255, 255, 255, 0.35); }
.gl-seg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .gl-seg li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--gl-edge-2); color: var(--gl-mute); font-size: 13.5px; } .gl-seg li:first-child { border-top: 0; } .gl-seg li span { flex: 1; } .gl-seg li span::first-letter { text-transform: uppercase; } .gl-seg li b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; } .gl-seg .dot { width: 9px; height: 9px; border-radius: 50%; }
.gl-led { list-style: none; margin: 0; padding: 0; } .gl-led li { padding: 9px 0; border-top: 1px solid var(--gl-edge-2); } .gl-led li:first-child { border-top: 0; padding-top: 0; } .gl-led li > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; } .gl-led b { font-weight: 500; } .gl-led span { font-variant-numeric: tabular-nums; color: var(--gl-mute); } .gl-led .neg { color: var(--gl-red); } .gl-led small { display: block; margin-top: 5px; color: var(--gl-red); font-size: 12px; }
.gl-rule { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); } .gl-rule u { display: block; height: 100%; border-radius: 4px; background: var(--gl-blue); text-decoration: none; transition: width 0.8s; } .gl-rule u.late { background: linear-gradient(90deg, var(--gl-blue), var(--gl-red)); }
.gl-alerts, .gl-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gl-alerts button, .gl-feed button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--gl-edge-2); background: rgba(255, 255, 255, 0.05); color: var(--gl-ink); cursor: pointer; font: inherit; transition: background 0.2s, transform 0.2s; } .gl-alerts button:hover, .gl-feed button:hover { background: rgba(255, 255, 255, 0.11); transform: translateX(2px); }
.gl-alerts b, .gl-feed b { display: block; font-weight: 500; font-size: 13.5px; } .gl-alerts small, .gl-feed small { display: block; color: var(--gl-dim); font-size: 12px; margin-top: 1px; } .gl-feed button > span:nth-child(2) { flex: 1; min-width: 0; } .gl-feed time { color: var(--gl-dim); font-size: 12px; white-space: nowrap; }
.gl-ai, .gl-fi { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.09); color: var(--gl-mute); }
.gl-alerts .tone-red .gl-ai { color: var(--gl-red); background: rgba(255, 122, 114, 0.16); } .gl-alerts .tone-gold .gl-ai { color: var(--gl-gold); background: rgba(226, 185, 112, 0.16); }
body[data-skin] .al-addr { color: var(--gl-mute); font-size: 12.5px; margin: 0 0 10px; line-height: 1.45; } body[data-skin] .al-map > :last-child { border-radius: 16px; overflow: hidden; }

/* ---- chat ---- */
.gl-chat { height: 100%; display: grid; grid-template-columns: 330px minmax(0, 1fr) 300px; gap: 16px; padding: 4px 20px 20px 8px; min-height: 0; }
.gl-chat.no-info { grid-template-columns: 330px minmax(0, 1fr) 0; } .gl-chat.no-info .cv-info { display: none; }
.gl-chat > .gl-card { padding: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.cv-lh { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 8px; } .cv-lh h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.cv-search { display: flex; align-items: center; gap: 8px; margin: 8px 16px 10px; padding: 0 12px; height: 42px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--gl-edge-2); color: var(--gl-dim); } .cv-search input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; height: 40px; color: var(--gl-ink); outline: none; }
.cv-scroll { flex: 1; overflow: auto; padding: 0 10px 14px; scrollbar-width: thin; }
.cv-sec { margin: 14px 8px 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--gl-dim); }
.cv-item { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px; border-radius: 18px; border: 1px solid transparent; background: none; color: var(--gl-ink); cursor: pointer; font: inherit; transition: background 0.2s; } .cv-item:hover { background: rgba(255, 255, 255, 0.07); }
.cv-item.on { background: linear-gradient(160deg, rgba(107, 155, 255, 0.28), rgba(107, 155, 255, 0.1)); border-color: rgba(160, 195, 255, 0.32); }
.cv-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .cv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .cv-row b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cv-row time { color: var(--gl-dim); font-size: 11.5px; flex: none; }
.cv-prev { color: var(--gl-mute); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cv-badge { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gl-blue); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 14px rgba(107, 155, 255, 0.6); }
.cv-av { flex: none; width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: calc(var(--s, 40px) * 0.34); color: #fff; background: linear-gradient(150deg, hsl(var(--h) 48% 52%), hsl(calc(var(--h) + 35) 45% 34%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3); }
.cv-av.grp { background: linear-gradient(150deg, #4a6fd0, #2b3f78); }
.cv-skel { height: 62px; margin: 6px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)); background-size: 200% 100%; animation: gl-shim 1.4s infinite; }
.cv-none { color: var(--gl-dim); font-size: 13px; padding: 14px 10px; line-height: 1.5; } .cv-none.c { text-align: center; margin: auto; }
.cv-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--gl-edge-2); } .cv-ht { flex: 1; min-width: 0; } .cv-ht h2 { margin: 0; font-size: 16.5px; font-weight: 600; } .cv-ht small { color: var(--gl-mute); font-size: 12.5px; }
.gl-chat .cv-back { display: none; }
.cv-msgs { flex: 1; overflow: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 3px; scrollbar-width: thin; }
.cv-day { text-align: center; margin: 14px 0 8px; } .cv-day span { padding: 4px 14px; border-radius: 999px; font-size: 11.5px; color: var(--gl-mute); background: rgba(255, 255, 255, 0.08); text-transform: capitalize; }
.cv-msg { display: flex; flex-direction: column; max-width: min(74%, 560px); position: relative; animation: gl-msg 0.3s cubic-bezier(.2, .8, .3, 1); } .cv-msg.first { margin-top: 8px; }
.cv-msg.mine { align-self: flex-end; align-items: flex-end; } .cv-msg.theirs { align-self: flex-start; }
.cv-who { margin: 0 0 3px 12px; color: var(--gl-mute); font-size: 11.5px; }
.cv-bub { padding: 9px 14px 6px; border-radius: 20px; line-height: 1.45; font-size: 14.5px; word-break: break-word; }
.cv-bub p { margin: 0; white-space: pre-wrap; }
.theirs .cv-bub { background: rgba(255, 255, 255, 0.12); border: 1px solid var(--gl-edge-2); border-bottom-left-radius: 7px; backdrop-filter: blur(10px); }
.mine .cv-bub { background: linear-gradient(160deg, rgba(120, 165, 255, 0.78), rgba(66, 110, 225, 0.72)); border: 1px solid rgba(190, 212, 255, 0.35); border-bottom-right-radius: 7px; box-shadow: 0 8px 22px rgba(60, 100, 220, 0.25); }
.cv-meta { display: block; text-align: right; margin-top: 2px; font-size: 10.5px; opacity: 0.7; }
.cv-msg.pending .cv-bub { opacity: 0.6; } .cv-msg.failed .cv-bub { background: rgba(255, 122, 114, 0.25); border-color: rgba(255, 122, 114, 0.5); } .cv-fail { font-size: 12px; color: var(--gl-red); margin-top: 3px; }
.cv-acts { position: absolute; top: -10px; right: 6px; display: none; gap: 2px; padding: 2px; border-radius: 10px; background: rgba(20, 22, 27, 0.9); border: 1px solid var(--gl-edge); } .cv-msg:hover .cv-acts, .cv-msg:focus-within .cv-acts { display: flex; }
.cv-act { width: 26px; height: 26px; border-radius: 8px; border: 0; background: none; color: var(--gl-mute); display: grid; place-items: center; cursor: pointer; } .cv-act:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cv-comp { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--gl-edge-2); }
.cv-comp textarea { flex: 1; resize: none; min-height: 46px; max-height: 140px; padding: 12px 16px; border-radius: 18px; font: inherit; font-size: 14.5px; line-height: 1.4; }
.gl-send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; cursor: pointer; background: linear-gradient(160deg, #7ea7ff, #4a7af0); box-shadow: 0 8px 22px rgba(74, 122, 240, 0.45); transition: transform 0.2s; } .gl-send:hover { transform: scale(1.07); }
.cv-editing { display: flex; justify-content: space-between; padding: 8px 20px 0; color: var(--gl-gold); font-size: 12.5px; }
.cv-err { margin: 10px 18px 0; padding: 9px 14px; border-radius: 12px; font-size: 12.5px; background: rgba(255, 122, 114, 0.16); color: #ffb3ad; border: 1px solid rgba(255, 122, 114, 0.3); }
.cv-empty { margin: auto; text-align: center; padding: 30px; color: var(--gl-mute); display: flex; flex-direction: column; gap: 10px; align-items: center; } .cv-empty h2 { margin: 0; color: #fff; font-weight: 500; } .cv-empty p { margin: 0 0 6px; max-width: 38ch; } .cv-empty.big { max-width: 520px; margin: 60px auto; }
.cv-info { padding: 20px 18px !important; overflow: auto; } .cv-ih { display: flex; align-items: center; gap: 8px; } .cv-ih h3 { margin: 0; font-size: 13px; font-weight: 500; color: var(--gl-dim); }
.cv-prof { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 18px 0 14px; } .cv-prof h2 { margin: 8px 0 0; font-size: 18px; font-weight: 600; } .cv-prof small { color: var(--gl-mute); word-break: break-all; }
.cv-dl { margin: 6px 0 14px; display: grid; gap: 1px; border-radius: 16px; overflow: hidden; background: var(--gl-edge-2); } .cv-dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; background: rgba(20, 22, 27, 0.5); font-size: 13px; } .cv-dl dt { color: var(--gl-mute); } .cv-dl dd { margin: 0; }
.cv-info h4 { margin: 8px 4px 8px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--gl-dim); } .cv-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .cv-people li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 13.5px; }
.cv-picks { max-height: 300px; overflow: auto; margin: 10px 0; display: grid; gap: 4px; } .cv-pick { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; cursor: pointer; } .cv-pick:hover { background: rgba(255, 255, 255, 0.07); } .cv-pick input { width: 18px; height: 18px; accent-color: #6b9bff; }

/* ---- AI Agent (Kantoor) ---- */
body[data-skin] .page { max-width: none; padding: 4px 20px 40px 8px; }
body[data-skin] .office { grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 16px; }
body[data-skin] .floor { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 24px; border: 1px solid var(--gl-edge); background: var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
body[data-skin] .floor .meeting, body[data-skin] .floor .hall { display: none; }
body[data-skin] .room { height: auto; min-height: 66px; padding: 12px 14px 12px 16px; border-radius: 18px; border: 1px solid var(--gl-edge-2); border-bottom-width: 1px; background: rgba(255, 255, 255, 0.05); flex-direction: row; align-items: center; gap: 12px; transform: none; box-shadow: none; }
body[data-skin] .room:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); } body[data-skin] .room.on { background: linear-gradient(160deg, rgba(165, 149, 255, 0.28), rgba(107, 155, 255, 0.12)); border-color: rgba(185, 170, 255, 0.55); box-shadow: 0 8px 26px rgba(125, 105, 255, 0.2); }
body[data-skin] .r-lamp, body[data-skin] .r-desk { display: none; } body[data-skin] .r-name { max-width: none; flex: 1; font-size: 14.5px; } body[data-skin] .r-name small { color: var(--gl-mute); }
body[data-skin] .r-agent { position: static; transform: none; order: -1; width: 38px; height: 38px; background: rgba(165, 149, 255, 0.16); border: 1px solid rgba(185, 170, 255, 0.35); color: var(--gl-violet); box-shadow: none; animation: none !important; }
body[data-skin] .r-st { position: static; font-size: 11.5px; } body[data-skin] .r-st::before { background: var(--gl-green); box-shadow: 0 0 8px var(--gl-green); animation: gl-pulse 2.4s infinite; } body[data-skin] .room.busy .r-st { color: var(--gl-gold); } body[data-skin] .room.busy .r-st::before { background: var(--gl-gold); box-shadow: 0 0 8px var(--gl-gold); }
body[data-skin] .r-badge { position: static; background: var(--gl-gold); color: #1a1205; }
body[data-skin] .room.locked { min-height: 60px; background: rgba(0, 0, 0, 0.2); }
body[data-skin] .chat { position: static; border-radius: 24px; border: 1px solid var(--gl-edge); background: var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); min-height: 560px; max-height: calc(100vh - var(--top) - 70px); overflow: hidden; }
body[data-skin] .chat > header { border-bottom-color: var(--gl-edge-2); } body[data-skin] .c-av { border-color: rgba(185, 170, 255, 0.6); color: var(--gl-violet); box-shadow: 0 0 20px rgba(165, 149, 255, 0.35); }
body[data-skin] .msg { border-radius: 18px; } body[data-skin] .msg.jij { background: linear-gradient(160deg, rgba(120, 165, 255, 0.7), rgba(66, 110, 225, 0.65)); border-color: rgba(190, 212, 255, 0.35); } body[data-skin] .msg.agent { background: rgba(165, 149, 255, 0.14); border: 1px solid rgba(185, 170, 255, 0.28); }
body[data-skin] .typing i { background: var(--gl-violet); } body[data-skin] .chip { border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--gl-edge); color: var(--gl-ink); } body[data-skin] .chip:hover { background: rgba(165, 149, 255, 0.22); }
body[data-skin] .say input { border-radius: 16px; }
.ag-info { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px; border-radius: 24px; border: 1px solid var(--gl-edge); background: var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
.ag-info h3 { margin: 0; font-size: 15px; font-weight: 600; } .ag-info h4 { margin: 4px 0 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--gl-dim); } .ag-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .ag-info li { font-size: 13px; color: var(--gl-mute); line-height: 1.45; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.ag-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gl-ink); } .ag-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--gl-green); box-shadow: 0 0 10px var(--gl-green); animation: gl-pulse 2.4s infinite; } .ag-state.off i { background: var(--gl-gold); box-shadow: 0 0 10px var(--gl-gold); }
body[data-skin] .props { gap: 14px; } body[data-skin] .prop-card { border-radius: 22px; background: var(--gl-fill); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); }

/* ---- overige Alufile-pagina's: zelfde glasstaal, zelfde werking ---- */
body[data-skin] .page-h h1 { font-weight: 300; font-size: 32px; letter-spacing: -0.02em; color: #fff; } body[data-skin] .sub, body[data-skin] .hint { color: var(--gl-mute); }
body[data-skin] .tbl th { background: transparent; color: var(--gl-dim); font-family: inherit; font-size: 11.5px; font-weight: 500; letter-spacing: 0.03em; border-bottom: 1px solid var(--gl-edge); }
body[data-skin] .tbl td { border-color: var(--gl-edge-2); } body[data-skin] .tbl tbody tr { transition: background 0.2s; } body[data-skin] .tbl tbody tr:hover { background: rgba(255, 255, 255, 0.07); }
body[data-skin] .table-wrap { overflow: auto; } body[data-skin] .stats > * { padding: 16px 18px; }
body[data-skin] .st { border-radius: 999px; } body[data-skin] .al-type { border-radius: 999px; font-family: inherit; }
body[data-skin] .dock a, body[data-skin] .tb-ico, body[data-skin] .gl-q, body[data-skin] .gl-metric, body[data-skin] .cv-item { -webkit-tap-highlight-color: transparent; }

@keyframes gl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gl-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gl-msg { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes gl-draw { to { stroke-dashoffset: 0; } }
@keyframes gl-grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes gl-shim { to { background-position: -200% 0; } }
@keyframes gl-pulse { 50% { opacity: 0.45; } }

@media (max-width: 1400px) { .gl-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } body[data-skin] .office { grid-template-columns: 260px minmax(0, 1fr); } .ag-info { display: none; } }
@media (max-width: 1180px) {
  .gl-row.r-a, .gl-row.r-c { grid-template-columns: 1fr; } .gl-row.r-b { grid-template-columns: 1fr 1fr; }
  .gl-chat, .gl-chat.no-info { grid-template-columns: 300px minmax(0, 1fr); } .gl-chat .cv-info { display: none; } .gl-chat[data-view="info"] { grid-template-columns: 1fr; } .gl-chat[data-view="info"] > :not(.cv-info) { display: none; } .gl-chat[data-view="info"] .cv-info { display: flex; } .gl-chat[data-view="info"] .cv-info .cv-back { display: grid; }
  body[data-skin] .office { grid-template-columns: 1fr; } body[data-skin] .floor { flex-direction: row; flex-wrap: wrap; } body[data-skin] .room { flex: 1 1 220px; }
}
@media (max-width: 760px) {
  body[data-skin] { --top: 70px; }
  body[data-skin] .top { padding: 10px 10px 0; display: flex; } body[data-skin] .top::before { left: 8px; right: 8px; top: 8px; height: 52px; border-radius: 18px; }
  body[data-skin] .brandsw { padding-left: 6px; } body[data-skin] .top-r { padding-right: 4px; margin-top: 0; }
  body[data-skin] .dock { left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: auto; flex-direction: row; justify-content: space-around; padding: 6px; border-radius: 24px; border-width: 1px; overflow: visible; }
  body[data-skin] .dock::before { display: none; } body[data-skin] .dock a { width: 52px; height: 52px; } body[data-skin] .dock a.on::before { left: 14px; right: 14px; top: auto; bottom: 2px; width: auto; height: 3px; }
  body[data-skin] .dock a[data-tip]:hover::after { display: none; }
  body[data-skin] main#view { inset: var(--top) 0 calc(86px + env(safe-area-inset-bottom)) 0; }
  .gl-home { padding: 4px 12px 24px; } .gl-metrics { grid-template-columns: 1fr 1fr; gap: 10px; } .gl-metric { padding: 14px; } .gl-row.r-b { grid-template-columns: 1fr; } .gl-hero { padding: 18px !important; }
  .gl-quick { width: 100%; } .gl-q { flex: 1 1 44%; justify-content: center; }
  .gl-chat, .gl-chat.no-info { grid-template-columns: 1fr; padding: 4px 10px 10px; height: 100%; }
  .gl-chat[data-view="list"] > :not(.cv-list), .gl-chat[data-view="chat"] > :not(.cv-main) { display: none; }
  .gl-chat[data-view="chat"] .cv-back, .gl-chat[data-view="info"] .cv-back { display: grid; }
  .cv-msg { max-width: 86%; } .cv-comp textarea { font-size: 16px; }
  body[data-skin] .page { padding: 4px 12px 24px; } body[data-skin] .chat { max-height: none; } body[data-skin] .floor { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { body[data-skin] *, body[data-skin] *::before { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; } .gl-spark .line, .gl-chart .ln { stroke-dashoffset: 0 !important; } }

/* leesbaarheid van koppen en hulpteksten direct op de foto */
body[data-skin] .page-h h1, body[data-skin] .page-h .sub, body[data-skin] h2.sp, body[data-skin] .page > .sub, body[data-skin] .page > p.hint, body[data-skin] .page > .note { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.6); }
/* agentkamers: rustige kaart met icoon, naam en status onder elkaar */
body[data-skin] .room { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
body[data-skin] .r-agent { grid-column: 1; grid-row: 1 / span 2; order: 0; }
body[data-skin] .r-name { grid-column: 2; grid-row: 1; } body[data-skin] .r-st { grid-column: 2; grid-row: 2; white-space: nowrap; } body[data-skin] .r-badge { grid-column: 3; grid-row: 1 / span 2; }
body[data-skin] .room.locked { display: grid; }
body[data-skin] .kpis { border-radius: 24px; border: 1px solid var(--gl-edge); background: var(--gl-fill); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); overflow: hidden; }
body[data-skin] .kpis > * { border-color: var(--gl-edge-2); }

/* ===== Stijlkeuze-menu en basis voor chat/agenda in de klassieke stijl (geen skin actief) ===== */
.theme-menu { position: fixed; z-index: 300; width: 270px; padding: 10px; border-radius: 18px; background: rgba(18, 21, 26, 0.92); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(20px); color: #f1f1ee; display: grid; gap: 2px; animation: gl-pop 0.25s cubic-bezier(.3, 1.4, .5, 1); transform-origin: top right; }
.theme-menu > b { padding: 6px 10px 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: #a8a8a0; }
.theme-menu button { display: grid; gap: 1px; text-align: left; padding: 9px 12px; border-radius: 12px; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; }
.theme-menu button:hover { background: rgba(255, 255, 255, 0.09); } .theme-menu button.on { background: rgba(107, 155, 255, 0.24); box-shadow: inset 0 0 0 1px rgba(160, 195, 255, 0.45); }
.theme-menu small { color: #a8a8a0; font-size: 12px; }
body:not([data-skin]) .gl-card { border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
body:not([data-skin]) .gl-btn, body:not([data-skin]) .gl-ico { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--raise); color: var(--text); cursor: pointer; font: inherit; }
body:not([data-skin]) .gl-btn.pri { background: var(--text); color: #08100d; border-color: transparent; }
body:not([data-skin]) .gl-ico { width: 38px; padding: 0; } body:not([data-skin]) .gl-link { background: none; border: 0; color: var(--text); text-decoration: underline; cursor: pointer; }
body:not([data-skin]) .gl-send { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--text); color: #08100d; cursor: pointer; }
body:not([data-skin]) .gl-card.cv-list, body:not([data-skin]) .gl-card.cv-main, body:not([data-skin]) .gl-card.cv-info { padding: 0; }
body:not([data-skin]) .gl-chat { padding: 4px 22px 22px; }
body:not([data-skin]) .cv-item.on { background: var(--teal-dim); border-color: var(--line-strong); }
body:not([data-skin]) .mine .cv-bub { background: var(--teal-dim); border: 1px solid var(--line-strong); }
body:not([data-skin]) .theirs .cv-bub { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
body:not([data-skin]) .cv-search { background: rgba(0, 0, 0, 0.25); }

/* ===== LIQUID MORPH: zachte, vloeiende vormen en bewegende kleurvlekken ===== */
body[data-skin="liquid"] {
  --gl-blue: #6fd8ff; --gl-green: #6ff0c4; --gl-gold: #ffc58a; --gl-violet: #c3a1ff; --gl-red: #ff8aa0;
  --gl-fill: rgba(255, 255, 255, 0.075); --gl-fill-2: rgba(255, 255, 255, 0.11); --gl-edge: rgba(255, 255, 255, 0.24); --gl-edge-2: rgba(255, 255, 255, 0.1);
  --gl-blur: blur(42px) saturate(1.9);
  --gl-shadow: 0 30px 70px rgba(10, 6, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -22px 50px rgba(160, 130, 255, 0.07);
  --teal-dim: rgba(195, 161, 255, 0.22);
}
body[data-skin="liquid"]::before { filter: blur(30px) saturate(1.7) brightness(0.62); transform: scale(1.12); background-position: center 40%; }
body[data-skin="liquid"]::after { inset: -25%; background: radial-gradient(38% 42% at 22% 30%, rgba(111, 216, 255, 0.34), transparent 70%), radial-gradient(34% 40% at 78% 24%, rgba(195, 161, 255, 0.36), transparent 70%), radial-gradient(40% 44% at 62% 82%, rgba(255, 138, 160, 0.26), transparent 70%), radial-gradient(30% 34% at 14% 82%, rgba(111, 240, 196, 0.22), transparent 70%), linear-gradient(180deg, rgba(10, 8, 28, 0.35), rgba(10, 8, 28, 0.5)); animation: lq-drift 26s ease-in-out infinite alternate; will-change: transform; }
body[data-skin="liquid"] .gl-card, body[data-skin="liquid"] .gl-metric, body[data-skin="liquid"] .panel, body[data-skin="liquid"] .table-wrap, body[data-skin="liquid"] .kpis, body[data-skin="liquid"] .chat, body[data-skin="liquid"] .floor, body[data-skin="liquid"] .ag-info, body[data-skin="liquid"] .modal-card, body[data-skin="liquid"] .drawer, body[data-skin="liquid"] .prop-card { border-radius: 38px; border-color: rgba(255, 255, 255, 0.22); transition: border-radius 0.9s cubic-bezier(.3, 1.3, .4, 1), transform 0.5s, border-color 0.4s; }
body[data-skin="liquid"] .gl-card:hover, body[data-skin="liquid"] .gl-metric:hover, body[data-skin="liquid"] .panel:hover { border-radius: 52px 30px 46px 28px / 30px 50px 28px 48px; }
body[data-skin="liquid"] .gl-hero { animation: lq-morph 16s ease-in-out infinite; }
body[data-skin="liquid"] .gl-card::before, body[data-skin="liquid"] .panel::before { background: radial-gradient(70% 60% at 15% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%); }
body[data-skin="liquid"] .top::before { border-radius: 999px; } body[data-skin="liquid"] .dock { border-radius: 999px; }
body[data-skin="liquid"] .dock a, body[data-skin="liquid"] .dock a.on, body[data-skin="liquid"] .gl-q, body[data-skin="liquid"] .gl-btn, body[data-skin="liquid"] .btn, body[data-skin="liquid"] .tb-ico, body[data-skin="liquid"] .gl-ico, body[data-skin="liquid"] .bsw, body[data-skin="liquid"] .bsw::before, body[data-skin="liquid"] .seg, body[data-skin="liquid"] .seg button { border-radius: 999px; }
body[data-skin="liquid"] .dock a.on { background: linear-gradient(150deg, rgba(111, 216, 255, 0.5), rgba(195, 161, 255, 0.42)); box-shadow: 0 10px 28px rgba(150, 130, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5); animation: lq-blob 7s ease-in-out infinite; } body[data-skin="liquid"] .dock a.on::before { background: #fff; box-shadow: 0 0 14px #fff; }
body[data-skin="liquid"] .gl-btn.pri, body[data-skin="liquid"] .btn.primary, body[data-skin="liquid"] .gl-send { background: linear-gradient(135deg, #6fd8ff, #c3a1ff); border-color: rgba(255, 255, 255, 0.5); color: #14102a; box-shadow: 0 10px 30px rgba(150, 130, 255, 0.45); }
body[data-skin="liquid"] .gl-hello h1, body[data-skin="liquid"] .page-h h1 { font-weight: 200; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff 30%, #d9c8ff 70%, #9fe6ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
body[data-skin="liquid"] .gl-mi { border-radius: 50%; } body[data-skin="liquid"] .gl-metric { background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 22%, transparent), transparent 62%), var(--gl-fill); }
body[data-skin="liquid"] .cv-bub { border-radius: 26px; } body[data-skin="liquid"] .mine .cv-bub { background: linear-gradient(145deg, rgba(111, 216, 255, 0.7), rgba(195, 161, 255, 0.68)); border-color: rgba(255, 255, 255, 0.45); color: #130f28; box-shadow: 0 10px 30px rgba(150, 130, 255, 0.35); } body[data-skin="liquid"] .theirs .cv-bub { border-radius: 26px 26px 26px 8px; }
body[data-skin="liquid"] .mine .cv-bub { border-bottom-right-radius: 8px; } body[data-skin="liquid"] .cv-item, body[data-skin="liquid"] .cv-search, body[data-skin="liquid"] .cv-comp textarea, body[data-skin="liquid"] .room, body[data-skin="liquid"] .gl-alerts button, body[data-skin="liquid"] .gl-feed button, body[data-skin="liquid"] input, body[data-skin="liquid"] select { border-radius: 24px; }
body[data-skin="liquid"] .gl-chart .bar .a { fill: url(#lq-a); } body[data-skin="liquid"] .gl-chart .bar rect:not(.hit) { rx: 12px; }
@keyframes lq-drift { 0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(3%, 4%, 0) rotate(6deg) scale(1.08); } 100% { transform: translate3d(5%, -3%, 0) rotate(-5deg) scale(1.03); } }
@keyframes lq-morph { 0%, 100% { border-radius: 38px; } 33% { border-radius: 56px 32px 48px 30px / 34px 54px 30px 50px; } 66% { border-radius: 34px 52px 30px 56px / 52px 30px 54px 34px; } }
@keyframes lq-blob { 0%, 100% { border-radius: 999px; } 50% { border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%; } }

/* ===== BLUEPRINT: technische tekening op blauwdruk, lijnen in plaats van glas ===== */
body[data-skin="blueprint"] {
  --gl-ink: #e4f4ff; --gl-mute: #94bddb; --gl-dim: #6c97b8;
  --gl-blue: #6fd3ff; --gl-green: #7dffc8; --gl-gold: #ffd479; --gl-violet: #a9b8ff; --gl-red: #ff8a7a;
  --gl-fill: rgba(8, 32, 62, 0.74); --gl-fill-2: rgba(12, 42, 78, 0.8); --gl-edge: rgba(150, 215, 255, 0.55); --gl-edge-2: rgba(150, 215, 255, 0.2);
  --gl-blur: blur(2px); --gl-shadow: none; --teal-dim: rgba(111, 211, 255, 0.18);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #0a2648;
}
body[data-skin="blueprint"]::before { background: #0a2648 url(../img-blueprint.webp) center 38% / cover no-repeat; opacity: 0.55; }
body[data-skin="blueprint"]::after { background: repeating-linear-gradient(0deg, rgba(150, 215, 255, 0.07) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(150, 215, 255, 0.07) 0 1px, transparent 1px 32px), radial-gradient(120% 90% at 50% 40%, rgba(6, 26, 52, 0.1), rgba(6, 26, 52, 0.6)); }
body[data-skin="blueprint"] .gl-card, body[data-skin="blueprint"] .gl-metric, body[data-skin="blueprint"] .panel, body[data-skin="blueprint"] .table-wrap, body[data-skin="blueprint"] .kpis, body[data-skin="blueprint"] .chat, body[data-skin="blueprint"] .floor, body[data-skin="blueprint"] .ag-info, body[data-skin="blueprint"] .modal-card, body[data-skin="blueprint"] .drawer, body[data-skin="blueprint"] .prop-card, body[data-skin="blueprint"] .top::before, body[data-skin="blueprint"] .dock, body[data-skin="blueprint"] .stats > * { border-radius: 3px !important; }
body[data-skin="blueprint"] .gl-q, body[data-skin="blueprint"] .gl-btn, body[data-skin="blueprint"] .btn, body[data-skin="blueprint"] .tb-ico, body[data-skin="blueprint"] .gl-ico, body[data-skin="blueprint"] .bsw, body[data-skin="blueprint"] .bsw::before, body[data-skin="blueprint"] .seg, body[data-skin="blueprint"] .seg button, body[data-skin="blueprint"] input, body[data-skin="blueprint"] select, body[data-skin="blueprint"] textarea, body[data-skin="blueprint"] .dock a, body[data-skin="blueprint"] .room, body[data-skin="blueprint"] .cv-item, body[data-skin="blueprint"] .cv-search, body[data-skin="blueprint"] .gl-alerts button, body[data-skin="blueprint"] .gl-feed button, body[data-skin="blueprint"] .gl-mi, body[data-skin="blueprint"] .gl-tabs, body[data-skin="blueprint"] .gl-tabs button, body[data-skin="blueprint"] .chip, body[data-skin="blueprint"] .st, body[data-skin="blueprint"] .cv-bub, body[data-skin="blueprint"] .msg { border-radius: 2px !important; }
body[data-skin="blueprint"] .gl-card::before, body[data-skin="blueprint"] .panel::before, body[data-skin="blueprint"] .gl-metric::after { background: linear-gradient(var(--gl-edge), var(--gl-edge)) top left / 12px 1px no-repeat, linear-gradient(var(--gl-edge), var(--gl-edge)) top left / 1px 12px no-repeat, linear-gradient(#fff, #fff) top right / 12px 1px no-repeat, linear-gradient(#fff, #fff) top right / 1px 12px no-repeat, linear-gradient(#fff, #fff) bottom left / 12px 1px no-repeat, linear-gradient(#fff, #fff) bottom left / 1px 12px no-repeat, linear-gradient(var(--gl-edge), var(--gl-edge)) bottom right / 12px 1px no-repeat, linear-gradient(var(--gl-edge), var(--gl-edge)) bottom right / 1px 12px no-repeat; margin: 5px; inset: 0; opacity: 0.9; }
body[data-skin="blueprint"] .gl-metric::after { content: ""; position: absolute; pointer-events: none; }
body[data-skin="blueprint"] .gl-metric { background: var(--gl-fill); border-radius: 3px; }
body[data-skin="blueprint"] .gl-ml, body[data-skin="blueprint"] .gl-ch h2, body[data-skin="blueprint"] .tbl th, body[data-skin="blueprint"] .cv-sec, body[data-skin="blueprint"] .gl-legend, body[data-skin="blueprint"] .hint, body[data-skin="blueprint"] .sub, body[data-skin="blueprint"] small, body[data-skin="blueprint"] .gl-ms { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.01em; }
body[data-skin="blueprint"] .gl-mv, body[data-skin="blueprint"] .gl-hello h1, body[data-skin="blueprint"] .page-h h1 { font-weight: 300; letter-spacing: -0.04em; }
body[data-skin="blueprint"] .dock a.on { background: rgba(111, 211, 255, 0.14); box-shadow: inset 0 0 0 1px #6fd3ff; } body[data-skin="blueprint"] .dock a.on::before { background: #6fd3ff; box-shadow: none; border-radius: 0; }
body[data-skin="blueprint"] .gl-btn.pri, body[data-skin="blueprint"] .btn.primary, body[data-skin="blueprint"] .gl-send { background: #6fd3ff; border-color: #fff; color: #05233f; box-shadow: none; }
body[data-skin="blueprint"] .gl-send { border-radius: 2px; } body[data-skin="blueprint"] .bsw::before { background: #cfeeff; }
body[data-skin="blueprint"] .mine .cv-bub { background: rgba(111, 211, 255, 0.2); border: 1px solid #6fd3ff; box-shadow: none; } body[data-skin="blueprint"] .theirs .cv-bub { background: rgba(8, 32, 62, 0.8); border: 1px solid var(--gl-edge); backdrop-filter: none; }
body[data-skin="blueprint"] .gl-chart .bar .a { fill: none; stroke: #6fd3ff; stroke-width: 1.5; } body[data-skin="blueprint"] .gl-chart .bar .b { fill: none; stroke: #ffd479; stroke-width: 1.5; stroke-dasharray: 4 3; }
body[data-skin="blueprint"] .gl-chart .bar rect:not(.hit) { rx: 0; } body[data-skin="blueprint"] .gl-chart .grid { stroke: rgba(150, 215, 255, 0.2); stroke-dasharray: 2 4; }
body[data-skin="blueprint"] .gl-rule u, body[data-skin="blueprint"] .gl-segbar i { border-radius: 0; } body[data-skin="blueprint"] .gl-rule { border-radius: 0; }
body[data-skin="blueprint"] .gl-hello h1::after { content: ""; display: block; width: 120px; height: 1px; margin-top: 8px; background: #6fd3ff; box-shadow: 0 0 0 0 #6fd3ff; }
@media (prefers-reduced-motion: reduce) { body[data-skin="liquid"]::after, body[data-skin="liquid"] .gl-hero, body[data-skin="liquid"] .dock a.on { animation: none !important; } }

/* Garden Gallery-startpagina: de wereldbol met de drie locaties blijft op de achtergrond (geen showroomfoto erachter) */
body[data-skin][data-brand="tgg"][data-view="dashboard"]::before { opacity: 0; }
body[data-skin][data-brand="tgg"][data-view="dashboard"]::after { background: radial-gradient(110% 90% at 50% 45%, rgba(5, 8, 8, 0), rgba(5, 8, 8, 0.45) 100%); animation: none; }
body[data-skin][data-brand="tgg"][data-view="dashboard"] #map { opacity: 1 !important; z-index: 0; }
body[data-skin][data-brand="tgg"][data-view="dashboard"] { background: #050808; }

/* Instellingen en Prijslijst: leesbaar op de foto (zelfde glas als de andere kaarten) */
body[data-skin] .set, body[data-skin] .pl-nav, body[data-skin] .pl-main > .items, body[data-skin] .items { position: relative; border-radius: 24px; background: var(--gl-fill); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
body[data-skin] .set { padding: 8px 24px 24px; margin: 0 0 18px; }
body[data-skin] .pl-nav { padding: 14px 10px; align-self: start; }
body[data-skin] .items { padding: 8px 14px; }
body[data-skin="liquid"] .set, body[data-skin="liquid"] .pl-nav, body[data-skin="liquid"] .items { border-radius: 34px; }
body[data-skin="blueprint"] .set, body[data-skin="blueprint"] .pl-nav, body[data-skin="blueprint"] .items { border-radius: 3px; }
body[data-skin] .set-body .set { background: var(--gl-fill); border: 1px solid var(--gl-edge); border-radius: 24px; }
body[data-skin] .set-tab { border-radius: 18px; } body[data-skin] .set-tab.on { background: var(--gl-fill); border-color: var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
body[data-skin] .set-tab:not(.on):hover { background: rgba(255, 255, 255, 0.07); }
body[data-skin="liquid"] .set-tab, body[data-skin="liquid"] .set-body .set { border-radius: 30px; } body[data-skin="blueprint"] .set-tab, body[data-skin="blueprint"] .set-body .set { border-radius: 3px; }
body[data-skin] .set-nav { padding: 10px; border-radius: 26px; background: var(--gl-fill); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
body[data-skin] .set-tab.on { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
body[data-skin="liquid"] .set-nav { border-radius: 38px; } body[data-skin="blueprint"] .set-nav { border-radius: 3px; }
@media (max-width: 900px) { body[data-skin] .set-nav { border-radius: 20px; } }
body[data-skin] .req-box, body[data-skin] .bulk-bar { background: var(--gl-fill); border-color: var(--gl-edge); }
