/* Vloerplanner. Eigen wereld (19 nov 2026): ochtendlicht op een pas gelegde eikenvloer in een lege kamer.
   Planken met verspringende kopse naden als ondergrond, een schuine baan raamlicht erover, de titel ingebrand
   in een lichte plank, de stappen als planken van één rij, het scherm als een vlak met een randvoeg en
   petrolblauwe afstandswiggen in de hoeken. Geen themeer() en geen app-thema.css. */
.vf-kamer {
  --vf-eik: #c9955a; --vf-eik-licht: #e7c58f; --vf-honing: #d9ab6c; --vf-naad: #6e4a2a; --vf-brand: #3a2414; --vf-licht: #fff4dc;
  --vf-wig: #1f6470; --vf-wig-licht: #d6ecea; --vf-rood: #b8432a; --vf-grijs: #6b5b4b; --vf-papier: #fbf5e8;
  --vf-letter: "Rockwell", "Roboto Slab", "Georgia", serif;
  position: relative; color: var(--vf-brand); padding: 26px 0 80px; overflow-x: clip; isolation: isolate;
  background-color: var(--vf-eik);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='132' viewBox='0 0 420 132'%3E%3Crect width='420' height='132' fill='%23c9955a'/%3E%3Crect y='0' width='420' height='33' fill='%23cf9c60'/%3E%3Crect y='66' width='420' height='33' fill='%23c48f55'/%3E%3Cg fill='none' stroke='%23a8743f' stroke-width='1' opacity='.55'%3E%3Cpath d='M0 9c70-4 140 5 210 0s140-5 210 1M0 22c90 3 170-5 250-1s110 4 170-2M0 44c60-3 130 4 200 1s150-4 220 1M0 57c80 4 160-4 240 0s120 3 180-1M0 76c70-3 140 5 210 0s140-4 210 1M0 90c90 3 170-5 250-1s110 4 170-2M0 110c60-3 130 4 200 1s150-4 220 1M0 123c80 4 160-4 240 0s120 3 180-1'/%3E%3C/g%3E%3Cg fill='%236e4a2a' opacity='.75'%3E%3Crect y='32' width='420' height='1.5'/%3E%3Crect y='65' width='420' height='1.5'/%3E%3Crect y='98' width='420' height='1.5'/%3E%3Crect y='131' width='420' height='1.5'/%3E%3Crect x='300' y='0' width='1.5' height='33'/%3E%3Crect x='120' y='33' width='1.5' height='33'/%3E%3Crect x='390' y='66' width='1.5' height='33'/%3E%3Crect x='210' y='99' width='1.5' height='33'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 132px;
}
/* raamlicht: twee lichtbanen met de schaduw van de raamstijl, schuin over de vloer */
.vf-kamer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(118deg, transparent 8%, rgba(255, 244, 220, .5) 14%, rgba(255, 244, 220, .5) 27%, rgba(110, 74, 42, .14) 27.6%, rgba(110, 74, 42, .14) 29%, rgba(255, 244, 220, .5) 29.6%, rgba(255, 244, 220, .42) 43%, transparent 50%),
              linear-gradient(180deg, rgba(58, 36, 20, .08), transparent 30%, rgba(58, 36, 20, .18)); }
.vf-kamer .wrap { position: relative; }
.vf-kamer .terug { display: inline-block; background: var(--vf-papier); color: var(--vf-brand); font-weight: 700; padding: 5px 12px; border-radius: 3px; box-shadow: 0 2px 0 var(--vf-naad); }
.vf-kamer .k-noot { background: var(--vf-papier); padding: 9px 13px; margin: 12px 0 0; border-left: 6px solid var(--vf-wig); }

/* titel: ingebrand in een lichte plank */
.vf-plank { margin: 16px 0 18px; padding: 22px clamp(18px, 4vw, 40px); border-radius: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  background: var(--vf-eik-licht) repeating-linear-gradient(178deg, transparent 0 9px, rgba(168, 116, 63, .22) 9px 10px, transparent 10px 23px);
  box-shadow: inset 0 -3px 0 rgba(110, 74, 42, .35), 0 3px 0 var(--vf-naad), 0 12px 26px rgba(58, 36, 20, .25); }
.vf-plank::before { content: ""; width: 34px; height: 22px; background: var(--vf-wig); clip-path: polygon(0 100%, 100% 100%, 100% 0); flex: none; }
.vf-titel { margin: 0; font: 700 clamp(1.9rem, 6.6vw, 3.4rem)/1.02 var(--vf-letter); letter-spacing: .02em; color: var(--vf-brand);
  text-shadow: 0 0 1px rgba(58, 36, 20, .7), 0 1px 0 rgba(255, 244, 220, .6), 0 0 6px rgba(110, 50, 20, .35); }
.vf-betalabel { font-size: .8rem; }

/* stappen: planken van één rij, met een kopse naad tussen elk */
.vf-tabs { display: grid; grid-template-columns: 1.15fr .9fr 1.1fr .95fr; gap: 2px; background: var(--vf-naad); padding: 2px; border-radius: 3px; }
.vf-tabs button { appearance: none; border: 0; cursor: pointer; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 6px;
  font: 700 .95rem/1.1 var(--vf-letter); color: var(--vf-brand);
  background: var(--vf-honing) repeating-linear-gradient(179deg, transparent 0 7px, rgba(110, 74, 42, .16) 7px 8px, transparent 8px 17px); }
.vf-tabs button span { width: 28px; height: 22px; display: grid; place-items: end end; padding: 0 4px 2px 0; clip-path: polygon(0 100%, 100% 100%, 100% 0); background: var(--vf-naad); color: var(--vf-eik-licht); font: 700 .74rem/1 system-ui, sans-serif; }
.vf-tabs button[aria-current] { background-color: var(--vf-licht); box-shadow: inset 0 0 0 2px var(--vf-wig); }
.vf-tabs button[aria-current] span { background: var(--vf-wig); color: #fff; }
.vf-tabs button:focus-visible, .vf-kamer input:focus-visible, .vf-kamer select:focus-visible, .vf-kamer summary:focus-visible, .vf-paneel button:focus-visible { outline: 3px solid var(--vf-wig); outline-offset: 2px; }

/* paneel: een vlak met de randvoeg en afstandswiggen in de hoeken */
.vf-paneel { position: relative; background: var(--vf-papier); margin-top: 12px; padding: 30px clamp(18px, 3vw, 36px) 30px; border-radius: 2px; outline: 10px solid rgba(58, 36, 20, .55); outline-offset: 0; }
.vf-paneel::before, .vf-paneel::after { content: ""; position: absolute; width: 26px; height: 14px; background: var(--vf-wig); }
.vf-paneel::before { top: -10px; left: 22px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.vf-paneel::after { bottom: -10px; right: 22px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.vf-uitleg { font-size: 1.06rem; margin: 0 0 18px; max-width: 62ch; }
.vf-klein { font-size: .88rem; color: var(--vf-grijs); margin: 10px 0; }
.vf-kaart { background: #fff; padding: 16px; margin: 0 0 18px; border: 1px solid #e3d3b8; border-top: 5px solid var(--vf-eik); }
.vf-kaartkop { font: 700 1.1rem var(--vf-letter); margin: 0 0 6px; }
.vf-kaartkop2 { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 12px; }
.vf-naam { flex: 1 1 200px; }
.vf-velden { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; align-items: end; }
.vf-kamer label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; font-weight: 600; }
.vf-kamer input:not([type=checkbox]), .vf-kamer select { font: inherit; font-weight: 400; font-size: 1rem; padding: 9px 10px; border: 1.5px solid #c9b392; border-radius: 3px; background: #fffdf8; color: var(--vf-brand); min-width: 0; width: 100%; box-sizing: border-box; }
.vf-kamer label.vf-vink { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.vf-vink input { width: 20px; height: 20px; accent-color: var(--vf-wig); }
.vf-wacht { margin: 12px 0 0; padding: 10px 14px; background: var(--vf-wig-licht); border-left: 5px solid var(--vf-wig); }
.vf-wacht.klaar { background: #e6f2dc; border-color: #4f7a35; }

.vf-knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.vf-knop, .vf-knop-licht, .vf-weg, .vf-wis { appearance: none; cursor: pointer; font: 700 1rem var(--vf-letter); border-radius: 3px; padding: 12px 18px; }
.vf-knop { background: var(--vf-wig); color: #fff; border: 0; box-shadow: 0 3px 0 #123e45; }
.vf-knop-licht { background: #fff; color: var(--vf-brand); border: 1.5px solid var(--vf-naad); }
.vf-weg { padding: 8px 12px; font-size: .9rem; background: none; color: var(--vf-rood); border: 1.5px solid currentColor; }
.vf-onder { text-align: right; margin: 14px 0 0; }
.vf-wis { background: var(--vf-papier); color: var(--vf-brand); border: 0; font-size: .9rem; padding: 8px 14px; }

/* het legplan */
.vf-planvak { margin-top: 14px; }
.vf-plan svg { width: 100%; height: auto; max-height: 520px; display: block; background: #fff; }
.vf-kamerrand { fill: #4a2f1a; }
.vf-stukken rect { stroke: #6e4a2a; stroke-width: .7; }
.vf-stukken .h { fill: #e2b77a; }
.vf-stukken .g { fill: #c9955a; }
.vf-stukken .r { fill: #9fc9c3; }
.vf-stukken .s { fill: #e46b4f; }
.vf-stukken .l { fill-opacity: .55; stroke: var(--vf-rood); stroke-dasharray: 3 2; }
.vf-legende { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 8px 0 0; font-size: .86rem; }
.vf-legende i { display: inline-block; width: 22px; height: 12px; vertical-align: -1px; margin-right: 6px; border: 1px solid #6e4a2a; }
.vf-legende .h { background: #e2b77a; } .vf-legende .g { background: #c9955a; } .vf-legende .r { background: #9fc9c3; }
.vf-randen { margin: 12px 0 0; padding-left: 20px; }
.vf-randen li { margin: 4px 0; }
.vf-let { background: #fbe6de; border-left: 5px solid var(--vf-rood); padding: 9px 13px; margin: 10px 0 0; }
.vf-planleeg { color: var(--vf-grijs); font-style: italic; }
.vf-netto { margin: 10px 0 0; }
.vf-zaag { margin-top: 10px; }
.vf-zaag summary, .vf-meer summary { cursor: pointer; font-weight: 700; }
.vf-zaag ol { columns: 2 260px; font-size: .9rem; margin: 8px 0 0; }

/* materiaal */
.vf-tabelvak { overflow-x: auto; }
.vf-lijst { width: 100%; border-collapse: collapse; background: #fff; }
.vf-lijst th { text-align: left; font: 700 .82rem var(--vf-letter); padding: 8px; border-bottom: 3px solid var(--vf-eik); }
.vf-lijst td { padding: 10px 8px; border-bottom: 1px solid #eadcc4; vertical-align: top; }
.vf-lijst td small { display: block; color: var(--vf-grijs); font-size: .82rem; margin-top: 2px; }
.vf-lijst td input[data-prijs] { width: 90px; }
.vf-lijst tr.gekocht td:nth-child(2) b { text-decoration: line-through; color: var(--vf-grijs); }
.vf-aantal { white-space: nowrap; }
.vf-aantal b { font: 700 1.3rem var(--vf-letter); }
.vf-totaal { text-align: right; font-size: 1.05rem; }
.vf-totaal span { color: var(--vf-grijs); font-size: .86rem; }
.vf-meer { margin-top: 18px; }
.vf-meer .vf-velden { margin-top: 12px; }
.vf-bronnen { font-size: .88rem; margin-top: 14px; }
.vf-bronnen a { color: var(--vf-wig); }

/* werkplan */
.vf-teller b { font: 700 1.5rem var(--vf-letter); }
.vf-werk { list-style: none; padding: 0; margin: 0; counter-reset: w; }
.vf-werk li { counter-increment: w; background: #fff; margin: 0 0 6px; border-radius: 3px; border-left: 6px solid var(--vf-eik); }
.vf-werk li.klaar { border-left-color: var(--vf-wig); opacity: .75; }
.vf-werk label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; cursor: pointer; flex-direction: row !important; font-weight: 400 !important; font-size: 1rem !important; }
.vf-werk input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--vf-wig); flex: none; }
.vf-werk b { display: block; font-family: var(--vf-letter); }
.vf-werk b::before { content: counter(w) ". "; }
.vf-werk li.klaar b { text-decoration: line-through; }

@media (max-width: 620px) {
  .vf-tabs { grid-template-columns: 1fr 1fr; }
  .vf-tabs button { min-height: 54px; font-size: .9rem; }
  .vf-paneel { padding: 24px 14px; outline-width: 6px; }
  .vf-velden { grid-template-columns: 1fr 1fr; }
  .vf-naam { flex-basis: 100%; }
  .vf-lijst thead { display: none; }
  .vf-lijst tr { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 8px; padding: 10px 0; border-bottom: 1px solid #eadcc4; }
  .vf-lijst td { border: 0; padding: 0; }
  .vf-lijst td:nth-child(3) { text-align: right; }
  .vf-lijst td:nth-child(4) { grid-column: 2; }
  .vf-lijst td:nth-child(5) { text-align: right; align-self: center; }
}

@media print {
  .vf-kamer { background: #fff !important; padding: 0; }
  .vf-kamer::before, .vf-plank::before, .vf-paneel::before, .vf-paneel::after { display: none; }
  .vf-tabs, .vf-onder, .vf-knoppen, .vf-kamer .terug, .vf-kamer .k-noot, .vf-meer, .vf-kamer label.vf-vink { display: none !important; }
  .vf-plank { background: none; box-shadow: none; padding: 0; margin: 0 0 8px; }
  .vf-titel { text-shadow: none; font-size: 20pt; }
  .vf-paneel { outline: 0; padding: 0; background: #fff; }
  .vf-kaart { break-inside: avoid; border: 1px solid #000; }
  .vf-kaart .vf-velden, .vf-kaart .vf-klein { display: none; }
  .vf-zaag ol { display: block; }
  .vf-plan svg, .vf-stukken rect, .vf-legende i { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
