/* Stijl van het klantportaal (portal.casoerlemans.com): donker, Geist, goud als enige accent */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --bg-diep: #08080A;
  --txt: #EDEDEE;
  --t2: #A1A1A6;
  --t3: #85858B;
  --t4: #6E6E74;
  --t5: #5C5C62;
  --lijn: #1E1E21;
  --lijn-2: #18181B;
  --hover: #121214;
  --vlak: rgba(255,255,255,0.05);
  --vlak-2: rgba(255,255,255,0.09);
  --ring: rgba(255,255,255,0.07);
  --acc: #C49B66;
  --acc-licht: #E2C18F;
  --acc-vlak: rgba(196,155,102,0.16);
  --rood: #E8857F;
  --rood-vlak: rgba(232,133,127,0.14);
  --kaart: linear-gradient(180deg, rgba(24,24,27,0.92), rgba(18,18,20,0.92));
  --serie-1: #C49B66;
  --serie-2: #5C5C62;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --curve: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: "Geist", system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
button { transition: color .2s ease, background-color .2s ease, opacity .2s ease, border-color .2s ease; }
::placeholder { color: #7C7C82; }
.laden { padding: 80px 20px; text-align: center; color: var(--t3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes driftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,-6vh) scale(1.15); } }
@keyframes driftB { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-10vw,5vh) scale(.95); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- kopbalk ---------- */
.kopbalk { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 20px; padding-top: env(safe-area-inset-top); box-sizing: content-box; background: rgba(11,11,12,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--lijn); }
.kopbalk::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(196,155,102,0.5) 50%, transparent); pointer-events: none; }
.merk { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.merk img { height: 12px; width: auto; display: block; }
.merk span { font-size: 14px; font-weight: 500; color: var(--acc); }
.kopbalk .streep { flex: none; width: 1px; height: 20px; background: #26262A; }
.kopnav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.kopnav a { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; font-size: 14px; white-space: nowrap; text-decoration: none; color: var(--t2); }
.kopnav a:hover { color: var(--txt); }
.kopnav a.actief { background: var(--lijn); color: var(--txt); }
.bijgewerkt { flex: none; font-size: 13px; color: var(--t3); white-space: nowrap; }
.bijgewerkt.oud { color: var(--acc-licht); }
.bijgewerkt i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin-right: 7px; vertical-align: 1px; }

.onderbalk { display: none; }
@media (max-width: 699px) {
  .kopbalk { padding-left: 16px; padding-right: 16px; }
  .kopnav, .kopbalk .streep { display: none; }
  .merk { flex: 1; }
  .onderbalk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,12,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--lijn); }
  .onderbalk a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px; text-decoration: none; font-size: 12px; color: var(--t3); }
  .onderbalk a svg { width: 22px; height: 22px; stroke-width: 1.7; }
  .onderbalk a.actief { color: var(--txt); }
  .onderbalk a.actief svg { color: var(--acc); }
}

/* ---------- pagina ---------- */
.hoofd { min-height: calc(100vh - 56px); background: radial-gradient(900px 420px at 15% -8%, rgba(196,155,102,0.09), transparent 70%), radial-gradient(700px 360px at 95% 0%, rgba(255,255,255,0.035), transparent 70%); }
.binnen { max-width: 1120px; margin: 0 auto; padding: 44px 24px 96px; display: flex; flex-direction: column; gap: 28px; }
.binnen > * { animation: fadeUp .6s var(--curve) both; }
.binnen > *:nth-child(2) { animation-delay: .05s; } .binnen > *:nth-child(3) { animation-delay: .1s; } .binnen > *:nth-child(4) { animation-delay: .15s; } .binnen > *:nth-child(n+5) { animation-delay: .2s; }
@media (max-width: 699px) { .binnen { padding: 28px 16px calc(110px + env(safe-area-inset-bottom)); gap: 22px; } }
h1 { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; background: linear-gradient(180deg, #F7F7F8 30%, #9C9CA2); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 699px) { h1 { font-size: 30px; } }
.kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; }
.kop p { margin: 4px 0 0; color: var(--t2); font-size: 15px; }
h2 { margin: 0 0 14px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 500; color: var(--t3); }

/* ---------- periodekeuze ---------- */
.periode { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.periode select { height: 40px; padding: 0 36px 0 14px; border-radius: 999px; border: 0; background: var(--vlak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A1A1A6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; box-shadow: 0 0 0 1px var(--ring); font-size: 15px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.periode select option { background: #18181B; }
.knoppen { display: flex; gap: 6px; flex-wrap: wrap; }
.knoppen button { height: 40px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; box-shadow: 0 0 0 1px var(--ring); color: var(--t2); font-size: 15px; cursor: pointer; }
.knoppen button:hover { color: var(--txt); }
.knoppen button.aan { background: var(--acc-vlak); box-shadow: 0 0 0 1px rgba(196,155,102,0.35); color: var(--acc-licht); }
.knoppen button:disabled { opacity: .3; cursor: default; }
@media (max-width: 560px) {
  .periode { display: grid; grid-template-columns: 1fr; width: 100%; }
  .knoppen { display: grid; grid-template-columns: repeat(5, 1fr); }
  .knoppen button { min-width: 0; padding: 0 4px; height: 44px; }
  .knoppen .lang { display: none; }
}
@media (min-width: 561px) { .knoppen .kort { display: none; } }

/* ---------- kaarten ---------- */
.raster { display: grid; gap: 14px; grid-template-columns: 1fr; }
.raster > * { min-width: 0; }
@media (min-width: 760px) { .raster.twee { grid-template-columns: 1fr 1fr; } .raster.drie { grid-template-columns: repeat(3, 1fr); } .raster.vier { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 759px) { .raster.vier { grid-template-columns: 1fr 1fr; } }
.kaart { background: var(--kaart); border-radius: 16px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--ring); }
@media (max-width: 699px) { .kaart { padding: 18px 16px; border-radius: 14px; } }
.cijfer { display: flex; flex-direction: column; gap: 2px; }
.cijfer .titel { font-size: 13px; color: var(--t3); }
.cijfer .waarde { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cijfer .sub { font-size: 13px; color: var(--t3); }
.cijfer.donker { background: linear-gradient(135deg, rgba(196,155,102,0.16), rgba(196,155,102,0.03)); box-shadow: 0 0 0 1px rgba(196,155,102,0.3); }
.cijfer.donker .waarde { color: var(--acc-licht); }
.cijfer.donker .sub { color: #B9A88F; }
a.cijfer { text-decoration: none; transition: box-shadow .2s ease, background-color .2s ease; }
a.cijfer:hover { box-shadow: 0 0 0 1px rgba(255,255,255,0.16); }
@media (max-width: 699px) { .cijfer .waarde { font-size: 22px; } }

/* ---------- status ---------- */
.status { display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 18px 22px; font-size: 15px; background: rgba(255,255,255,0.025); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.status .ico { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.status b { display: block; font-size: 17px; font-weight: 500; }
.status .klein { color: var(--t2); font-size: 14px; margin-top: 2px; }
.status.goed .ico { color: var(--acc); }
.status.let { background: linear-gradient(135deg, rgba(196,155,102,0.14), rgba(196,155,102,0.03)); box-shadow: 0 0 0 1px rgba(196,155,102,0.3); }
.status.let .ico, .status.let b { color: var(--acc-licht); }
.status.info .ico { color: var(--t2); }
.punten { list-style: none; margin: 0; padding: 0; }
.punten li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--lijn-2); }
.punten li:first-child { border-top: 0; padding-top: 2px; }
.punten .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke-width: 1.7; }
.punten b { font-weight: 500; }
.punten .let .ico { color: var(--acc); } .punten .info .ico { color: var(--t3); } .punten .goed .ico { color: var(--acc); }
.punten small { display: block; color: var(--t3); font-size: 14px; margin-top: 2px; }

/* ---------- tabellen ---------- */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12px; color: var(--t4); font-weight: 400; padding: 0 8px 8px; border-bottom: 1px solid var(--lijn); }
td { padding: 11px 8px; border-bottom: 1px solid var(--lijn-2); vertical-align: top; }
.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.totaal td { font-weight: 500; border-top: 1px solid #2A2A2E; border-bottom: 0; color: var(--txt); }
tr.leeg td { color: var(--t5); }
.rub { table-layout: fixed; }
.rub th:nth-child(2), .rub th:nth-child(3) { width: 29%; }
.rub td:first-child b { display: inline-block; min-width: 30px; font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--acc-licht); }
.rub td:first-child small { font-size: 14px; color: var(--t2); }
.rub tr.leeg td:first-child b { color: var(--t5); }
@media (max-width: 560px) { .rub td:first-child b { display: block; } td, th { padding-left: 4px; padding-right: 4px; } }
.tabelwrap { overflow-x: auto; }
.bron { font-size: 13px; color: var(--t3); margin-top: 12px; }
a.tekstlink { color: var(--acc-licht); text-decoration: none; }

/* ---------- knoppen ---------- */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--vlak); color: var(--txt); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.knop:hover { background: var(--vlak-2); }
.knop.vol { background: var(--acc); color: var(--bg); }
.knop.vol:hover { background: #D0AA79; }
.knop.groot { width: 100%; height: 52px; font-size: 16px; border-radius: 12px; }
.knop svg { width: 18px; height: 18px; }
.knop:disabled { opacity: .5; cursor: default; }

/* ---------- lijsten ---------- */
.zoek { display: flex; gap: 8px; flex-wrap: wrap; }
.zoek input { flex: 1; min-width: 200px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); padding: 0 16px; font-size: 15px; background: rgba(0,0,0,0.3); outline: none; }
.zoek input:focus { border-color: var(--acc); }
.zoek .knop { height: 44px; }
.samenvatting { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 16px 22px; border-radius: 16px; background: rgba(255,255,255,0.025); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.samenvatting span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--t3); }
.samenvatting b { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--txt); }
.lijst { display: flex; flex-direction: column; }
.regel { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 130px 18px; gap: 6px 14px; align-items: center; padding: 13px 10px; border-bottom: 1px solid var(--lijn-2); text-decoration: none; transition: background .2s ease; }
.regel:hover { background: var(--hover); }
.regel .datum { font-family: var(--mono); font-size: 13px; color: var(--t2); white-space: nowrap; }
.regel .wie { display: flex; flex-direction: column; min-width: 0; }
.regel .naam { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regel .meta { font-size: 13px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regel .bedrag { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.regel .bedrag small { display: block; font-size: 12px; color: var(--t3); }
.regel .stat { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.regel .pijl { width: 16px; height: 16px; color: var(--t5); }
.lijstkop { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 130px 18px; gap: 14px; padding: 0 10px 8px; font-size: 12px; color: var(--t4); border-bottom: 1px solid var(--lijn); }
@media (max-width: 699px) {
  .lijstkop { display: none; }
  .regel { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "wie bedrag" "datum stat"; gap: 4px 10px; padding: 14px 4px; }
  .regel .datum { grid-area: datum; } .regel .wie { grid-area: wie; } .regel .bedrag { grid-area: bedrag; font-weight: 500; } .regel .stat { grid-area: stat; } .regel .pijl { display: none; }
  .regel .naam { white-space: normal; }
  .samenvatting { padding: 14px 16px; gap: 10px 22px; }
  .samenvatting b { font-size: 17px; }
}
.label { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; white-space: nowrap; background: rgba(255,255,255,0.06); color: var(--t2); vertical-align: 1px; font-weight: 400; }
.label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.label.let { background: var(--acc-vlak); color: var(--acc-licht); }
.label.fout { background: var(--rood-vlak); color: var(--rood); }
.label.goed { background: rgba(255,255,255,0.06); color: #D6D6D9; }
.leegtekst { padding: 18px 8px; font-size: 15px; color: var(--t3); }

/* ---------- detail ---------- */
.scherm { position: fixed; inset: 0; z-index: 50; background: rgba(6,6,8,0.55); backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15); display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: clamp(12px, 5vh, 56px) 16px 40px; animation: fadeIn .3s ease both; }
.paneel { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 14px; animation: fadeUp .55s cubic-bezier(.2,.8,.2,1) both; }
.paneel .bovenaan { display: flex; align-items: flex-start; gap: 12px; }
.paneel .bovenaan > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.paneel .soort { font-family: var(--mono); font-size: 13px; color: var(--t2); }
.paneel .titel { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.paneel .bedraggroot { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.paneel .noot { font-size: 13px; color: var(--t3); }
.sluit { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255,255,255,0.08); cursor: pointer; display: grid; place-items: center; }
.sluit:hover { background: rgba(255,255,255,0.14); }
.sluit svg { width: 18px; height: 18px; }
.gegevens { display: flex; flex-direction: column; border-radius: 12px; background: rgba(255,255,255,0.03); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.gegevens div { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 15px; }
.gegevens div:last-child { border-bottom: 0; }
.gegevens span { width: 120px; flex: none; font-size: 13px; color: var(--t3); }
.pdfknoppen { display: grid; gap: 8px; }
@media (max-width: 699px) { .scherm { padding: 0; } .paneel { max-width: none; min-height: 100%; padding: calc(14px + env(safe-area-inset-top)) 16px calc(30px + env(safe-area-inset-bottom)); background: var(--bg); } }

/* ---------- grafiek ---------- */
.grafiek { position: relative; }
.grafiek svg { width: 100%; height: auto; display: block; overflow: visible; }
.grafiek .as { font-size: 12px; fill: var(--t4); font-family: "Geist", system-ui, sans-serif; }
.grafiek .rasterlijn { stroke: var(--lijn); stroke-width: 1; }
.legenda { display: flex; gap: 18px; font-size: 13px; color: var(--t3); margin-bottom: 10px; flex-wrap: wrap; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tip { position: absolute; pointer-events: none; background: #18181B; color: #D6D6D9; padding: 8px 12px; border-radius: 8px; font-size: 13px; white-space: nowrap; transform: translate(-50%, -110%); display: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.45); }

/* ---------- inloggen ---------- */
.inlog { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 96px 16px 48px; background: var(--bg-diep); }
.inlog .glow { position: absolute; inset: 0; filter: blur(80px); opacity: .65; pointer-events: none; }
.inlog .glow div { position: absolute; border-radius: 50%; }
.inlog .g1 { left: -6%; top: 40%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(196,155,102,.5), transparent 65%); animation: driftA 28s ease-in-out infinite; }
.inlog .g2 { right: 0; top: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(120,84,52,.45), transparent 65%); animation: driftB 34s ease-in-out infinite; }
.inlog .merk { position: absolute; left: 28px; top: 24px; }
.inlog .kaart-inlog { position: relative; width: 100%; max-width: 400px; padding: 32px; border-radius: 24px; background: rgba(14,14,16,.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 18px; text-align: center; animation: fadeUp .6s var(--curve) both; }
.inlog h1 { font-size: 30px; }
.inlog p { margin: -8px 0 0; font-size: 15px; color: var(--t2); }
.pin { display: flex; gap: 10px; justify-content: center; }
.pin span { width: 54px; height: 62px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.pin span.vol { border-color: var(--acc); color: var(--acc-licht); }
.toetsen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.toetsen button { height: 60px; border-radius: 12px; border: 0; background: rgba(255,255,255,0.06); font-size: 24px; font-weight: 500; cursor: pointer; }
.toetsen button:hover { background: rgba(255,255,255,0.1); }
.toetsen button:active { background: rgba(196,155,102,0.2); }
.toetsen button.zacht { background: none; font-size: 14px; color: var(--t2); }
.fout { color: var(--rood); font-size: 14px; min-height: 21px; }
.inlog .note { font-size: 13px; color: var(--t3); }

/* ---------- overig ---------- */
.melding { position: fixed; left: 50%; bottom: 30px; z-index: 60; display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 10px; background: #1E1E21; box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 12px 32px rgba(0,0,0,0.45); font-size: 14px; white-space: nowrap; animation: toastIn .35s var(--curve) both; transform: translateX(-50%); }
@media (max-width: 699px) { .melding { bottom: calc(96px + env(safe-area-inset-bottom)); } }
.schakel { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--lijn-2); font-size: 15px; }
.schakel:first-of-type { border-top: 0; }
.schakel input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--acc); }
.schakel input[type=number] { width: 140px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,.3); padding: 0 12px; text-align: right; outline: none; }
.schakel input[type=number]:focus { border-color: var(--acc); }
.codeveld { font-family: var(--mono); background: rgba(0,0,0,.3); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); border-radius: 10px; padding: 12px 14px; word-break: break-all; font-size: 13px; color: #D6D6D9; }
.uitleg { color: var(--t2); font-size: 14px; margin: 0 0 14px; }
.kaart p:last-child { margin-bottom: 0; }
.binnen.stil > * { animation: none; }

/* ---------- factuur in het detailvenster ---------- */
.paneel.breed { max-width: 1180px; }
.detailraster { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.factuurkolom, .infokolom { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.infokolom { position: sticky; top: 0; }
.factuurweergave { display: flex; flex-direction: column; gap: 12px; min-height: 320px; border-radius: 14px; }
.factuurpagina { display: block; width: 100%; height: auto; border-radius: 10px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px rgba(0,0,0,0.5); }
.viewerladen { display: grid; place-items: center; min-height: 320px; padding: 24px; border-radius: 14px; background: rgba(255,255,255,0.03); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); color: var(--t3); font-size: 14px; text-align: center; }
.viewerknoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.bijlagekeuze button { height: 34px; font-size: 13px; }
@media (max-width: 899px) {
  .detailraster { grid-template-columns: 1fr; }
  .infokolom { position: static; }
}

/* ---------- inloggen op de computer: gewoon een wachtwoordveld ---------- */
.codeform { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.codeform label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--t2); }
.codeform input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,.3); font-size: 18px; letter-spacing: .3em; outline: none; }
.codeform input:focus { border-color: var(--acc); }
.codeform button { height: 50px; border-radius: 12px; border: 0; background: var(--txt); color: var(--bg); font-size: 15px; font-weight: 500; cursor: pointer; }
.codeform button:hover { background: #fff; }

/* ---------- balans ---------- */
.balans td.kind { padding-left: 22px; color: var(--t2); }
.aangiftekaart { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.aangiftekaart p { margin: 2px 0 0; color: var(--t2); font-size: 14px; }

.knop.klein { height: 34px; padding: 0 12px; font-size: 13px; font-weight: 400; }
.tabelvoet { display: flex; justify-content: flex-end; margin-top: 10px; }
a.rublink { text-decoration: none; display: block; }
a.rublink:hover small { color: var(--txt); text-decoration: underline; text-underline-offset: 3px; }
.zoek input { font-size: 16px; }
.status .knop.klein { margin-top: 6px; }
