@font-face {
  font-family: 'Satoshi';
  src: url('/portal-assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/portal-assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/portal-assets/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #FDF5E4;
  --surface: #EEE4D1;
  --surface-2: #F6EAD2;
  --ink: #06181F;
  --ink-2: #0C2630;
  --text: #06181F;
  --muted: rgba(6,24,31,.68);
  --dim: rgba(6,24,31,.40);
  --line: rgba(6,24,31,.12);
  --line-strong: var(--line);
  --accent: #FF6B2B;
  --accent-hover: #FF854D;
  --accent-soft: #FFE4D4;
  --accent-deep: #E85A1D;
  /* Kleine oranje tekst vraagt meer contrast dan de grote merkkoppen. */
  --accent-readable: #A63A10;
  --accent-on-sand: #D34C16;
  --accent-ink: var(--accent-readable);
  --on-dark: #FDF5E4;
  --on-dark-soft: rgba(253,245,228,.72);
  --good: #1C6B45;
  --warn: #B4560A;
  --crit: #8A211F;
  --page-pad: clamp(20px, 4vw, 58px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font: 400 15px/1.6 'Satoshi', Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--ink);
  color: var(--page);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 var(--page-pad);
  background: var(--page);
}

.brand,
.account-area,
.nav-tabs,
.mobile-nav,
.button,
.team-list li,
.completed-list li,
.delivery-topline,
.meter-legend,
.eyebrow-row,
.section-heading,
.site-footer,
.welcome-line {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  width: max-content;
}

.logo-shell {
  display: block;
  width: 126px;
  height: 38px;
}

.logo-shell::after { display: none; }

.logo-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-shell > span { display: none; }

.brand-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.brand-name strong {
  color: var(--ink);
  font-weight: 700;
}

.nav-tabs {
  justify-content: center;
  align-self: stretch;
  gap: 8px;
}

.nav-tabs a {
  position: relative;
  display: grid;
  height: 100%;
  padding: 0 12px;
  place-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-tabs a:hover,
.nav-tabs a[aria-current='page'] {
  color: var(--accent-readable);
}

.nav-tabs a[aria-current='page']::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  border-radius: 4px;
  background: var(--accent);
  content: '';
}

.account-area {
  justify-self: end;
  gap: 13px;
}

.tier-chip,
.count-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tier-chip {
  padding: 7px 11px;
}

.tier-chip span {
  color: var(--muted);
}

.company-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.avatar,
.member-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  font-weight: 700;
}

.avatar {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
}

.mobile-menu,
.mobile-nav {
  display: none;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: clamp(24px, 3vw, 46px);
  width: min(1460px, 100%);
  margin: 0 auto;
  padding: 36px var(--page-pad) 72px;
}

.main-column {
  min-width: 0;
}

.welcome-line {
  justify-content: space-between;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 14px;
}

.welcome-line p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.panel {
  border: 0;
  border-radius: 5px;
  background: var(--surface);
}

.points-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 45px);
}

.points-card::before {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 350px;
  height: 250px;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  background: var(--surface);
  content: '';
  transform: rotate(-12deg);
}

.eyebrow-row,
.section-heading,
.welcome-line {
  justify-content: space-between;
}

.eyebrow,
.points-heading p,
.forecast p,
.attention-bar p,
.timezone-note p,
.error-state p {
  margin: 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.reset-label {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.points-heading {
  position: relative;
  z-index: 1;
  margin: 30px 0 36px;
}

.points-heading h1,
.section-heading h2,
.side-heading h2,
.attention-bar h2,
.error-state h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.points-heading h1 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 44px);
}

.points-heading h1 span {
  color: var(--accent);
}

.points-heading p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.meter {
  position: relative;
  z-index: 1;
  display: flex;
  height: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-2);
  box-shadow: none;
}

.meter span {
  min-width: 2px;
}

.meter span + span {
  border-left: 1.5px solid var(--surface);
}

.meter-used {
  background: var(--ink);
}

.meter-rollover {
  background: var(--accent-soft);
}

.meter-remaining {
  background: var(--accent);
}

.meter-legend {
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin-top: 15px;
}

.meter-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.meter-legend i {
  width: 7px;
  height: 7px;
  border-radius: 4px;
}

.meter-legend strong {
  color: var(--text);
  font-weight: 700;
}

.legend-used { background: var(--ink); }
.legend-rollover { background: var(--accent-soft); }
.legend-remaining { background: var(--accent); }

.forecast {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 31px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.forecast-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--good);
  font-size: 14px;
}

.forecast p {
  max-width: 690px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.werk-section {
  margin-top: 48px;
}

.section-heading {
  margin-bottom: 17px;
}

.section-heading h2,
.side-heading h2 {
  margin-top: 7px;
  font-size: 25px;
}

.count-chip {
  padding: 6px 10px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.werk-leeg {
  margin: 0;
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  font-size: 14px;
}

.werk-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
}

.delivery-row {
  padding: 24px 26px 22px;
}

.delivery-row + .delivery-row {
  border-top: 1px solid var(--line);
}

.delivery-topline {
  justify-content: space-between;
  gap: 18px;
}

.delivery-title h3,
.delivery-title span,
.delivery-meta dt,
.delivery-meta dd,
.member-details strong,
.member-details small,
.complete-main strong,
.complete-main small {
  display: block;
}

.delivery-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.delivery-title span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.delivery-points {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.delivery-points span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.delivery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 17px 0 23px;
}

.delivery-meta div {
  min-width: 82px;
}

.delivery-meta dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.delivery-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.delivery-meta .waiting-state dd {
  color: var(--warn);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stepper li {
  position: relative;
  padding-top: 19px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.stepper li::before {
  position: absolute;
  z-index: 0;
  top: 5px;
  right: 50%;
  left: -50%;
  height: 1px;
  background: var(--line);
  content: '';
}

.stepper li:first-child::before {
  display: none;
}

.step-dot {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid var(--surface);
  border-radius: 4px;
  background: var(--line);
  box-shadow: none;
}

.stepper .done::before,
.stepper .active::before {
  background: var(--good);
}

.stepper .done .step-dot {
  background: var(--good);
  box-shadow: none;
}

.stepper .active,
.stepper .done {
  color: var(--muted);
}

.stepper .active .step-dot {
  background: var(--good);
  box-shadow: none;
}

.stepper .active.waiting {
  color: var(--warn);
}

.stepper .active.waiting .step-dot {
  background: var(--warn);
  box-shadow: none;
}

.attention-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  margin-top: 19px;
  padding: 20px 22px;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  background: var(--surface);
}

.attention-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  background: var(--accent-soft);
}

.attention-mark span {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--warn);
  box-shadow: none;
}

.attention-bar .eyebrow {
  color: var(--warn);
}

.attention-bar h2 {
  margin-top: 6px;
  font-size: 16px;
  letter-spacing: 0;
}

.attention-bar p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.sidebar {
  min-width: 0;
}

.side-actions {
  display: grid;
  gap: 9px;
  margin: 28px 0 18px;
}

/* WorkTask-tab: knoppenrij boven de voortgangslijst. Op smal onder elkaar. */
.worktask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.worktask-actions .button {
  flex: 1 1 auto;
}

.worktask-page .attention-bar {
  margin-bottom: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 24px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s ease;
}

.button:hover {
  transform: scale(1.01);
}

.button:focus-visible,
.nav-tabs a:focus-visible,
.brand:focus-visible,
.mobile-menu:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.button-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}

.button-accent:active {
  background: var(--accent-hover);
  transform: none;
}

.button-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.button-ghost:active {
  background: var(--line);
}

.button-light {
  background: var(--accent);
  color: var(--ink);
}

.plus {
  font-size: 18px;
  font-weight: 500;
  line-height: .7;
}

.side-card {
  padding: 24px;
}

.side-card + .side-card {
  margin-top: 17px;
}

.side-heading {
  margin-bottom: 20px;
}

.side-heading h2 {
  font-size: 22px;
}

.team-list,
.completed-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  position: relative;
  gap: 11px;
  padding: 10px 0;
}

.team-list li + li,
.completed-list li + li {
  border-top: 1px solid var(--line);
}

.member-avatar {
  width: 34px;
  height: 34px;
  background: var(--line);
  color: var(--muted);
  font-size: 14px;
}

.member-1 { background: var(--surface); }
.member-2 { background: var(--surface); }
.member-3 { background: var(--surface); }

.member-details {
  min-width: 0;
}

.member-details strong,
.complete-main strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-details small,
.complete-main small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.contact-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 4px;
  background: var(--good);
  box-shadow: none;
}

.timezone-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.time-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.timezone-note p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.completed-list li {
  gap: 10px;
  padding: 12px 0;
}

.complete-check {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--good);
  font-size: 14px;
}

.complete-main {
  min-width: 0;
  flex: 1;
}

.complete-main strong {
  font-size: 14px;
}

.complete-points {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 32px;
  margin-top: auto;
  padding: 48px var(--page-pad) 24px;
  border-radius: 55px 0 0 0;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 15px;
}

.site-footer span:first-child {
  color: var(--on-dark);
  font-weight: 400;
}

.boot-state,
.error-state {
  display: grid;
  min-height: 100vh;
  place-content: center;
  place-items: center;
  gap: 15px;
  text-align: center;
}

.boot-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

.boot-state p {
  color: var(--muted);
  font-size: 14px;
}

.error-state {
  padding: 30px;
}

.error-state h1 {
  font-size: 34px;
}

.error-state p {
  color: var(--muted);
}

.request-page {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 34px var(--page-pad) 88px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 150ms ease;
}

.back-link:hover {
  color: var(--text);
}

.request-intro {
  max-width: 760px;
  margin: 45px 0 37px;
}

.request-intro h1 {
  margin: 9px 0 13px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.request-intro > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.request-form {
  overflow: hidden;
  background: var(--page);
}

.form-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  margin: 0;
  padding: 31px 34px;
  border: 0;
}

.form-section + .form-section {
  border-top: 1px solid var(--line);
}

.section-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.form-section-content {
  min-width: 0;
}

.field-label {
  display: block;
  margin: 5px 0 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.field-label span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field-hint {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.field-hint.above {
  margin: -5px 0 14px;
}

.request-form select,
.request-form textarea,
.request-form input[type='text'] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
  background: var(--page);
  color: var(--text);
  font-size: 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.request-form select,
.request-form input[type='text'] {
  height: 47px;
  padding: 0 15px;
}

.request-form textarea {
  min-height: 112px;
  padding: 14px 15px;
  line-height: 1.55;
  resize: vertical;
}

.request-form select:focus,
.request-form textarea:focus,
.request-form input[type='text']:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.request-form [aria-invalid='true'] {
  border-color: var(--crit);
}

.request-form ::placeholder {
  color: var(--muted);
  opacity: .72;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  content: '';
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.request-form select {
  padding-right: 38px;
  appearance: none;
}

.ratio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.choice-chip,
.radio-card {
  position: relative;
  cursor: pointer;
}

.choice-chip input,
.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-chip > span {
  display: grid;
  min-height: 57px;
  place-content: center;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.choice-chip:hover > span,
.radio-card:hover > span {
  transform: translateY(-1px);
  border-color: var(--line);
}

.choice-chip strong {
  font-size: 14px;
  font-weight: 700;
}

.choice-chip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.choice-chip input:checked + span {
  border-color: var(--surface-2);
  background: var(--surface-2);
  box-shadow: none;
}

.choice-chip input:checked + span strong,
.choice-chip input:checked + span small {
  color: var(--good);
}

.choice-chip input:focus-visible + span,
.radio-card input:focus-visible + span {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.urgency-grid {
  display: grid;
  gap: 8px;
}

.radio-card > span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 56px;
  padding: 11px 15px 11px 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.radio-card > span::before {
  position: absolute;
  left: 17px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--dim);
  border-radius: 4px;
  content: '';
}

.radio-card > span::after {
  position: absolute;
  left: 21px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--good);
  content: '';
  opacity: 0;
  transform: scale(.35);
  transition: opacity 140ms ease, transform 140ms ease;
}

.radio-card strong {
  font-size: 14px;
  font-weight: 700;
}

.radio-card small {
  color: var(--muted);
  font-size: 14px;
}

.radio-card input:checked + span {
  border-color: var(--surface-2);
  background: var(--surface-2);
}

.radio-card input:checked + span::before {
  border-color: var(--good);
}

.radio-card input:checked + span::after {
  opacity: 1;
  transform: scale(1);
}

.field-error {
  margin: 8px 0 0;
  color: var(--crit);
  font-size: 14px;
  font-weight: 700;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 34px;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.form-submit-row p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.submit-button {
  flex: 0 0 auto;
  min-width: 185px;
}

.button:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.calculator-column {
  position: sticky;
  top: 112px;
}

.calculator-card {
  padding: 27px;
  background: var(--surface);
}

.calculator-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.calculator-heading h2 {
  margin: 7px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.balance-pill {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--good);
  font-size: 14px;
  font-weight: 700;
}

.calculation-lines {
  display: grid;
  gap: 14px;
  margin: 23px 0 0;
}

.calculation-lines div,
.calculation-total,
.remaining-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.calculation-lines dt,
.calculation-lines dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.calculation-lines dt span {
  color: var(--muted);
  font-size: 14px;
}

.calculation-lines dd {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 700;
}

.calculation-lines .free-label {
  color: var(--good);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.calculation-total {
  margin-top: 24px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calculation-total span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.calculation-total strong {
  color: var(--accent);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
}

.remaining-box {
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin-top: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--page);
}

.remaining-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.remaining-box strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.remaining-box.is-short {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
}

.remaining-box.is-short strong {
  color: var(--warn);
}

.shortage-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 13px;
  padding: 13px;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  background: var(--accent-soft);
}

.shortage-warning[hidden] {
  display: none;
}

.warning-icon {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  color: var(--warn);
  font-size: 14px;
  font-weight: 700;
}

.shortage-warning strong {
  display: block;
  color: var(--warn);
  font-size: 14px;
}

.shortage-warning p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.policy-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.success-dialog {
  position: fixed;
  z-index: 50;
  right: 25px;
  bottom: 25px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  width: min(560px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: none;
}

.success-dialog[hidden] {
  display: none;
}

.success-dialog.is-error {
  border-color: var(--accent-soft);
}

.success-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 4px;
  background: var(--good);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.success-dialog.is-error .success-icon {
  background: var(--crit);
}

.success-dialog strong,
.success-dialog p {
  display: block;
  margin: 0;
}

.success-dialog strong {
  font-size: 14px;
  font-weight: 700;
}

.success-dialog p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.success-dialog .button {
  min-height: 36px;
  font-size: 14px;
}

.stub-shell {
  display: grid;
  grid-template-rows: auto 1fr;
}

.stub-state {
  display: grid;
  min-height: calc(100vh - 80px);
  padding: 40px var(--page-pad);
  place-items: center;
  text-align: center;
}

.stub-state p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-tabs {
    order: 3;
    grid-column: 1 / -1;
    height: 42px;
    justify-content: center;
  }

  .topbar {
    height: 116px;
    padding-top: 12px;
  }

  .company-name {
    display: none;
  }
}

@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }

  .side-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    margin: 0;
  }

  .side-card + .side-card {
    margin-top: 0;
  }

  .request-layout {
    grid-template-columns: 1fr;
  }

  .calculator-column {
    position: static;
    order: -1;
  }

  .calculator-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .calculator-heading,
  .policy-note,
  .shortage-warning {
    grid-column: 1 / -1;
  }

  .calculation-total {
    align-self: end;
  }
}

@media (max-width: 650px) {
  :root {
    --page-pad: clamp(20px, 4vw, 58px);
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
    height: 68px;
    padding-top: 0;
  }

  .brand-name,
  .tier-chip,
  .account-area .avatar,
  .nav-tabs {
    display: none;
  }

  .account-area {
    justify-self: end;
  }

  .company-name {
    display: block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu {
    display: grid;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
  }

  .mobile-menu span {
    width: 15px;
    height: 1px;
    background: var(--text);
  }

  .mobile-nav {
    position: sticky;
    z-index: 19;
    top: 68px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 13px 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-nav a[aria-current='page'] {
    color: var(--accent);
  }

  .dashboard {
    padding-top: 20px;
  }

  .points-card {
    border-radius: 4px;
  }

  .points-heading {
    margin: 24px 0 28px;
  }

  .meter-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .delivery-row {
    padding: 21px 17px;
  }

  .delivery-meta {
    gap: 10px 20px;
  }

  .step-label {
    display: block;
  }

  .stepper li {
    padding-top: 10px;
  }

  .attention-bar {
    grid-template-columns: auto 1fr;
  }

  .attention-bar .button {
    grid-column: 1 / -1;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .side-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .request-page {
    padding-top: 23px;
  }

  .request-intro {
    margin: 34px 0 27px;
  }

  .request-intro h1 {
    font-size: 42px;
  }

  .form-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 25px 18px;
  }

  .section-number {
    width: 27px;
    height: 27px;
  }

  .ratio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 18px;
  }

  .form-submit-row p {
    max-width: none;
  }

  .calculator-card {
    display: block;
    padding: 22px;
  }

  .calculator-heading {
    gap: 9px;
  }

  .balance-pill {
    display: block;
  }

  .success-dialog {
    right: 18px;
    bottom: 18px;
    grid-template-columns: auto 1fr;
  }

  .success-dialog .button {
    grid-column: 1 / -1;
  }

  .stub-state {
    min-height: calc(100vh - 68px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---------- Opleveringen en Facturen ---------- */
.page-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px var(--page-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-heading {
  margin-bottom: 6px;
}

.page-heading h1 {
  margin: 4px 0 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0;
}

.page-intro {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.maand-blok {
  padding: 20px 22px;
}

.maand-kop {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.maand-kop h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0;
}

.maand-kop .count-chip {
  margin-left: auto;
}

.oplevering-lijst {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oplevering-lijst li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.oplevering-lijst li:last-child {
  border-bottom: 0;
}

.opl-titel {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.opl-titel strong {
  font-size: 14px;
  font-weight: 700;
}

.opl-titel small {
  color: var(--muted);
  font-size: 14px;
}

.opl-punten {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.opl-punten span {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.betwist-chip {
  padding: 4px 9px;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--warn);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tabel-blok {
  padding: 6px 0 0;
}

.tabel-scroll {
  overflow-x: auto;
}

.factuur-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.factuur-tabel th,
.factuur-tabel td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.factuur-tabel thead th {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.factuur-tabel tbody th {
  font-weight: 700;
}

.factuur-tabel .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.factuur-tabel tbody tr:last-child th,
.factuur-tabel tbody tr:last-child td {
  border-bottom: 0;
}

.tabel-noot {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.kaart-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
}

.kaart-link:hover {
  text-decoration: underline;
}

/* ---------- Inloggen en geen toegang ---------- */
.poort {
  max-width: 420px;
  margin: 0 auto;
  padding: 18vh 24px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.poort-merk {
  width: 92px;
  height: auto;
  margin-bottom: 10px;
}

.poort h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.poort p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.poort .button {
  margin-top: 10px;
  min-width: 190px;
}

.uitlog-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.uitlog-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.betwist-knop {
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease;
}

.betwist-knop:hover {
  border-color: var(--warn);
  color: var(--warn);
}

.betwist-knop:disabled {
  opacity: .6;
}

/* ---------- Punten en abonnement zelf regelen ---------- */
.beheer-blok {
  padding: 22px 24px 24px;
}

.beheer-rij {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.beheer-rij.kolom {
  flex-direction: column;
  gap: 14px;
}

.beheer-rij h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.beheer-rij p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.bijkoop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Stepper in huisstijl: input[type=number] kreeg elders geen stijl mee en
   viel daardoor terug op de kale browserweergave. */
.bijkoop-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}

.bijkoop-stepper .stap {
  width: 38px;
  border: none;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.bijkoop-stepper .stap:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.bijkoop-stepper .stap:active {
  background: var(--accent-soft);
}

.bijkoop-veld {
  width: 58px;
  height: 43px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  outline: none;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.bijkoop-veld::-webkit-outer-spin-button,
.bijkoop-veld::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bijkoop-veld:focus {
  box-shadow: none;
}

.bijkoop-prijs {
  min-width: 62px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bijkoop-knop {
  min-height: 43px;
}

.tier-lijst {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-optie {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.tier-optie.is-huidig {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tier-naam {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.tier-detail {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.tier-huidig {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
}

.btn-klein {
  margin-top: auto;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 120ms ease, background 120ms ease;
}

.btn-klein:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-klein:disabled {
  opacity: .6;
}

.visueel-verborgen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .beheer-rij { flex-direction: column; }
  .bijkoop { margin-left: 0; flex-wrap: wrap; }
}

/* ---------- Modaal venster + toast (huisstijl) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6,24,31,.44);
  opacity: 0;
  transition: opacity .2s ease;
}

.modal-overlay.is-open {
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}

.modal-kaart {
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: none;
  transform: translateY(10px) scale(.98);
  transition: transform 200ms cubic-bezier(.22, 1, .36, 1);
}

.modal-overlay.is-open .modal-kaart {
  transform: translateY(0) scale(1);
}

.modal-kop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-kop h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.modal-sluit {
  flex: none;
  width: 32px;
  height: 32px;
  margin: -4px -6px 0 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.modal-sluit:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.modal-uitleg {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.modal-uitleg strong {
  color: var(--ink);
  font-weight: 700;
}

.modal-label {
  display: block;
  margin: 16px 0 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.modal-textarea {
  width: 100%;
  min-height: 108px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.modal-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.modal-input:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.modal-input::placeholder {
  color: var(--muted);
  opacity: .72;
}

.modal-textarea:focus {
  border-color: var(--ink);
  box-shadow: none;
}

.modal-textarea::placeholder {
  color: var(--muted);
  opacity: .72;
}

.modal-fout {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--crit);
  font-size: 14px;
  font-weight: 700;
}

.modal-fout[hidden] {
  display: none;
}

.modal-acties {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.modal-acties .button {
  min-width: 118px;
}

.portal-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  max-width: min(440px, calc(100vw - 32px));
  padding: 13px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: none;
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1), opacity 240ms ease;
}

.portal-toast.is-op {
  transform: translate(-50%, 0);
  opacity: 1;
}

.portal-toast.is-fout {
  background: var(--crit);
}

@media (max-width: 560px) {
  .modal-acties {
    flex-direction: column-reverse;
  }
  .modal-acties .button {
    width: 100%;
  }
}

/* ---- AI-puntenschatting in de aanvraag ---- */
.estimate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.estimate-actions .field-hint { margin: 0; }
.estimate-card {
  margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--surface-2); transition: border-color 140ms ease, box-shadow 140ms ease;
}
.estimate-card.is-active { border-color: var(--accent); box-shadow: none; }
.estimate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.estimate-head strong { display: block; font-size: 15px; line-height: 1.4; }
.estimate-total { flex: 0 0 auto; font-size: 22px; font-weight: 700; letter-spacing: 0; color: var(--accent); }
.estimate-lines { list-style: none; margin: 12px 0 6px; padding: 0; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.estimate-lines li:first-child { border-top: 0; }
.estimate-lines small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.estimate-lines strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.estimate-questions { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--text); }
.estimate-questions li { margin-bottom: 4px; }
.estimate-empty { margin: 0; font-size: 14px; color: var(--text); }
.manual-worktype { margin-top: 14px; }
.manual-worktype summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.manual-worktype summary:hover { color: var(--text); }

/* [hidden] moet altijd winnen van display:flex/grid op dezelfde node */
[hidden] { display: none !important; }

/* ---- WorkReview / WorkFiles in het portaal ---- */
.tool-shell { min-height: 100vh; display: flex; flex-direction: column; }
.tool-page { display: flex; flex-direction: column; flex: 1; gap: 14px; }
.tool-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tool-kop h1 { margin: 2px 0 6px; }
.tool-kop .page-intro { margin: 0; max-width: 60ch; }
.tool-frame { flex: 1; min-height: 70vh; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; background: var(--surface); }
.tool-frame iframe { display: block; width: 100%; height: 100%; min-height: 70vh; border: 0; }
.tool-leeg { padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (max-width: 720px) { .tool-frame, .tool-frame iframe { min-height: 60vh; } }

/* Bestanden bij een aanvraag */
.dropzone {
  display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center;
  padding: 22px 18px; border: 1.5px dashed var(--line-strong); border-radius: 4px; cursor: pointer;
  background: var(--surface-2); transition: border-color 140ms ease, background 140ms ease;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.dropzone strong { font-size: 14px; }
.dropzone small { font-size: 14px; color: var(--muted); }
.upload-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.upload-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.upload-naam { min-width: 0; display: flex; flex-direction: column; }
.upload-naam strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-naam small { font-size: 14px; color: var(--muted); }
.upload-item.is-fout .upload-naam small { color: var(--accent-ink); }
.upload-balk { grid-column: 1 / -1; height: 3px; border-radius: 4px; background: var(--line); overflow: hidden; }
.upload-balk i { display: block; height: 100%; background: var(--accent); transition: width 120ms linear; }
.upload-item.is-klaar .upload-balk i { background: var(--good); }
.upload-weg { grid-column: 2; grid-row: 1; border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.upload-weg:hover { background: var(--surface-2); color: var(--text); }
#success-bestanden { margin: 6px 0 0; font-size: 14px; }
#success-bestanden a { color: inherit; font-weight: 700; }

/* ---------------------------------------------------------------------------
   Menu van vier + profielmenu (11 sep 2026)
   Het hoofdmenu houdt vier items: nieuwe aanvraag, aanvragen, review,
   bestanden. Alles wat bij je account hoort (instellingen, punten, facturen,
   abonnement, privacy, taal, uitloggen) zit onder je eigen naam rechtsboven.
--------------------------------------------------------------------------- */

.nav-tabs a.nav-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-tabs a.nav-accent:hover {
  color: var(--accent-readable);
}

.nav-tabs a.nav-accent .plus {
  font-size: 15px;
  line-height: 1;
}

.nav-tabs a.nav-accent[aria-current='page'] {
  color: var(--accent-readable);
}

.nav-tabs a.nav-accent[aria-current='page']::after {
  display: block;
}

.profiel {
  position: relative;
}

.profiel-knop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}

.profiel-knop:hover,
.profiel-knop[aria-expanded='true'] {
  border-color: var(--line);
  background: var(--surface);
}

.profiel-knop .caret {
  color: var(--muted);
  font-size: 14px;
}

.profiel-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: flex;
  min-width: 248px;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: none;
}

.profiel-kop {
  display: grid;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--line);
  gap: 2px;
  margin-bottom: 6px;
}

.profiel-kop strong {
  font-size: 14px;
}

.profiel-kop small {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
}

.profiel-menu a[role='menuitem'] {
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.profiel-menu a[role='menuitem']:hover,
.profiel-menu a[role='menuitem']:focus-visible {
  background: var(--surface-2);
}

.profiel-menu a[aria-current='page'] {
  color: var(--accent-ink);
  font-weight: 700;
}

.profiel-uitlog {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 12px !important;
  border-radius: 4px;
  color: var(--muted) !important;
  font-size: 14px !important;
}

.profiel-taal {
  display: grid;
  padding: 10px 10px 6px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  gap: 7px;
}

.profiel-taal > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.taal-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.taal-knop {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.taal-knop:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.taal-knop[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* Tabbladen op het overzicht: loopt nu / opgeleverd. */
.tab-balk {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 18px;
}

.tab-knop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.tab-knop:hover {
  color: var(--text);
}

.tab-knop[aria-selected='true'] {
  border-bottom-color: var(--accent);
  color: var(--text);
}

.tab-aantal {
  display: inline-grid;
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  place-items: center;
}

/* Puntenregel op het overzicht; het hele verhaal staat op /punten. */
.punten-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 22px;
}

.punten-strip strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  letter-spacing: 0;
}

.punten-strip-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.punten-strip-meter {
  display: grid;
  min-width: 180px;
  gap: 8px;
  justify-items: end;
}

.punten-strip-meter .meter {
  width: 180px;
}

/* Instellingen, abonnement en privacy: blokken met kop en tekst. */
.instel-blok {
  padding: 22px 24px;
  margin-bottom: 18px;
}

.instel-blok h2 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: 0;
}

.instel-blok p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.instel-blok + .instel-blok {
  margin-top: 0;
}

.taal-keuze {
  display: grid;
  margin-top: 16px;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.taal-kaart {
  display: grid;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  gap: 2px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}

.taal-kaart strong {
  font-size: 14px;
}

.taal-kaart small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.taal-kaart:hover {
  border-color: var(--line-strong);
}

.taal-kaart.is-actief {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.gegevens-lijst {
  display: grid;
  margin: 14px 0 0;
  gap: 10px;
}

.gegevens-lijst > div {
  display: grid;
  align-items: baseline;
  gap: 4px 18px;
  grid-template-columns: 160px minmax(0, 1fr);
}

.gegevens-lijst dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.gegevens-lijst dd {
  margin: 0;
  font-size: 14px;
}

.gegevens-lijst.breed > div {
  grid-template-columns: 190px minmax(0, 1fr);
}

.gegevens-lijst.breed dd {
  color: var(--muted);
  line-height: 1.6;
}

.privacy-lijst,
.inbegrepen-lijst {
  display: grid;
  padding: 0;
  margin: 14px 0 0;
  gap: 10px;
  list-style: none;
}

.privacy-lijst li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.privacy-lijst li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: var(--accent);
  content: '';
}

.inbegrepen-lijst li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.privacy-page .page-heading {
  max-width: 720px;
}

.privacy-page .instel-blok {
  max-width: 900px;
}

.side-actions.rij {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mobile-scheiding {
  display: block;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .punten-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .punten-strip-meter {
    width: 100%;
    justify-items: start;
  }

  .punten-strip-meter .meter {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .profiel {
    display: none;
  }

  .mobile-nav .taal-rij {
    padding: 12px 0 4px;
  }

  .gegevens-lijst > div,
  .gegevens-lijst.breed > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .tab-balk {
    overflow-x: auto;
  }
}

.instel-blok .gegevens-lijst + .field-hint {
  margin-top: 16px;
}

/* Gedeelde maatvoering en toegankelijkheid. */
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: 0; }
h1 { font-size: 44px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
:is(.points-heading, .section-heading, .side-heading, .attention-bar, .error-state, .page-heading, .request-intro, .calculator-heading, .modal-kop) :is(h1, h2) { font-weight: 500; line-height: 1.1; letter-spacing: 0; }
:is(.section-heading, .side-heading, .modal-kop) h2 { font-size: 28px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
:where(a):hover { text-decoration: underline; text-underline-offset: 4px; }
:is(.button, .nav-tabs a, .mobile-nav a, .brand):hover { text-decoration: none; }
.button-accent:hover, .button-light:hover { background: var(--accent-hover); }
.site-shell { display: flex; flex-direction: column; }
.dashboard, .request-page, .page-main { width: min(100%, calc(1280px + 2 * var(--page-pad))); max-width: none; padding: 64px var(--page-pad); }
.dashboard, .request-layout { gap: 24px; }
.page-main { gap: 40px; }
.page-heading { margin-bottom: 0; }
.page-intro, .request-intro > p:last-child { font-size: 18px; }
.site-footer img { width: 156px; height: 48px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(253,245,228,.2); color: var(--on-dark-soft); font-size: 14px; }
.site-footer :focus-visible { outline-color: var(--on-dark); }
.portal-toast { color: var(--on-dark); font-weight: 500; }
.portal-toast.is-fout { background: var(--accent-soft); color: var(--crit); }
:where(input, select, textarea)::placeholder { color: var(--muted); opacity: 1; }
:where(input, select, textarea) { accent-color: var(--ink); }
:is(.request-form, .modal-body) :is(input[type='text'], input[type='email'], select, textarea) { padding: 12px 14px; background: var(--page); border: 1px solid var(--line); border-radius: 4px; font-size: 15px; height: auto; }
:is(.request-form, .modal-body) :is(input, select, textarea):focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
:is(.request-form, .modal-body) :is(input, select, textarea)[aria-invalid='true'] { border-color: var(--crit); }
:is(.complete-check, .success-icon, .forecast-icon, .time-icon, .attention-mark) { display: none; }
.forecast, .timezone-note { grid-template-columns: 1fr; }
.btn-klein { padding: 10px 14px; border: 1.5px solid var(--ink); font-size: 14px; }
.btn-klein:hover { background: var(--surface-2); border-color: var(--ink); }
.mobile-nav { background: var(--page); }
.profiel-menu[hidden], .mobile-nav[hidden] { display: none; }
@media (min-width: 901px) and (max-width: 1120px) {
  .topbar { grid-template-columns: auto 1fr auto; height: 72px; padding-top: 0; gap: 16px; }
  .nav-tabs { order: 0; grid-column: auto; height: 100%; gap: 0; }
  .nav-tabs a { padding: 0 8px; }
  .brand-name, .tier-chip { display: none; }
}
@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; height: 72px; padding-top: 0; }
  .account-area, .nav-tabs { display: none; }
  .mobile-menu { display: grid; width: 44px; height: 44px; padding: 12px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 4px; background: transparent; }
  .mobile-menu span { width: 18px; height: 1px; background: var(--ink); }
  .mobile-nav { position: sticky; z-index: 19; top: 72px; display: grid; padding: 12px var(--page-pad) 24px; max-height: calc(100dvh - 72px); overflow-y: auto; grid-template-columns: 1fr 1fr; gap: 4px 24px; border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 10px 0; color: var(--ink); font-size: 15px; font-weight: 500; }
  .mobile-nav a[aria-current='page'] { color: var(--accent-readable); }
  .mobile-scheiding, .mobile-nav .taal-rij { grid-column: 1 / -1; }
  .dashboard, .request-page, .page-main { padding-top: 40px; padding-bottom: 40px; }
  .site-footer { grid-template-columns: 1fr; padding-top: 40px; border-radius: 32px 0 0 0; gap: 24px; }
  h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Aanvragen: kop, aandacht en een rustige lijst met vijf fases. */
.overview-heading, .dashboard > .attention-bar { grid-column: 1 / -1; }
.overview-heading h1 { margin: 8px 0 20px; }
.welcome-line { margin: 0; font-size: 14px; gap: 16px; flex-wrap: wrap; }
.welcome-line p { font-weight: 400; }
.attention-bar { grid-template-columns: 1fr auto; margin: 16px 0; padding: 32px; gap: 24px; border: 0; border-radius: 55px 0 0 0; background: var(--ink); color: var(--on-dark); }
.attention-bar h2 { font-size: 28px; margin: 8px 0 12px; }
.attention-bar .eyebrow, .attention-bar p:last-child { color: var(--on-dark-soft); font-size: 14px; }
.attention-bar :focus-visible { outline-color: var(--on-dark); }
.punten-strip { padding: 28px 32px; border-radius: 5px 32px 5px 5px; }
.punten-strip strong { font-weight: 500; font-size: 28px; }
.punten-strip-meter .kaart-link { margin-top: 0; }
.sidebar .side-actions { margin: 0 0 24px; gap: 12px; }
.werk-section { margin-top: 32px; }
.werk-list { background: transparent; border: 0; border-radius: 0; }
.delivery-row { padding: 28px 0; border-top: 1px solid var(--line); }
.delivery-title h3 { font-size: 20px; font-weight: 500; }
.delivery-meta dt { font-size: 14px; font-weight: 400; }
.delivery-meta dd { font-size: 14px; font-weight: 500; }
.delivery-meta .waiting-state { padding: 6px 12px; background: var(--surface); border-radius: 4px; }
.delivery-meta .waiting-state dd { color: var(--accent-readable); }
.stepper li { font-size: 14px; font-weight: 400; line-height: 1.35; padding: 20px 4px 0; }
.stepper .done::before, .stepper .active::before, .stepper .done .step-dot { background: var(--ink); }
.stepper .active .step-dot, .stepper .active.waiting .step-dot { background: var(--accent); }
.stepper .active { color: var(--ink); font-weight: 500; }
.stepper .active.waiting { color: var(--accent-readable); }
.step-dot { border: 0; width: 10px; height: 10px; }
.tab-balk { margin: 32px 0 0; gap: 24px; }
.tab-knop { padding: 12px 0; font-size: 15px; font-weight: 500; }
.tab-aantal { background: transparent; font-size: 14px; padding: 0; }
.werk-leeg { padding: 32px; border: 0; background: var(--surface); }
.werk-leeg p { margin: 0 0 24px; }
.oplevering-lijst li { min-height: 56px; padding: 18px 0; flex-wrap: wrap; }
.maand-blok { padding: 28px 32px; }
.maand-kop h2 { font-size: 28px; }
.complete-check { display: none; }
.meter { background: var(--surface-2); border: 0; height: 10px; }
.meter-used { background: var(--ink); }
.meter-used.is-high { background: var(--accent); }
@media (max-width: 900px) {
  .attention-bar { border-radius: 32px 0 0 0; padding: 28px 24px; }
  .sidebar { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 650px) {
  .attention-bar { grid-template-columns: 1fr; }
  .attention-bar .button { justify-self: start; }
  .stepper li { font-size: 14px; overflow-wrap: anywhere; }
  .punten-strip { padding: 24px; }
  .maand-blok { padding: 24px; }
  .sidebar .side-actions { grid-template-columns: 1fr; }
}

/* Nieuwe aanvraag: briefing en uploads naast de puntenschatting. */
.request-intro { margin: 32px 0 40px; }
.request-form { background: var(--surface); }
.form-section { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 32px; }
.section-number { width: auto; height: auto; align-self: start; padding-top: 5px; border: 0; background: transparent; font-weight: 400; }
.field-label { font-size: 16px; font-weight: 500; margin-top: 0; }
.form-submit-row { padding: 32px; background: transparent; flex-wrap: wrap; gap: 24px; }
.form-submit-row p { font-size: 14px; }
.calculator-column { top: 96px; }
.calculator-card { padding: 32px; background: var(--surface); border-radius: 5px 32px 5px 5px; }
.calculator-heading { flex-direction: column; gap: 16px; }
.calculator-heading h2 { font-size: 28px; }
.balance-pill { padding: 0; border: 0; background: transparent; color: var(--muted); font-weight: 400; }
.calculation-total strong { font-size: 44px; color: var(--accent-on-sand); font-weight: 500; white-space: nowrap; }
.calculation-total { flex-wrap: wrap; }
.calculation-lines dt, .calculation-lines dd { font-size: 14px; }
.remaining-box { border: 0; background: var(--surface-2); }
.remaining-box.is-short, .shortage-warning { background: var(--accent-soft); border: 0; }
.shortage-warning { grid-template-columns: 1fr; }
.warning-icon { display: none; }
.dropzone { padding: 28px 20px; border: 1px dashed var(--line); background: var(--page); }
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-over { background: var(--surface-2); border-color: var(--ink); }
.dropzone:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.request-form ::placeholder { opacity: 1; color: var(--muted); }
.choice-chip > span, .radio-card > span { background: var(--page); }
.choice-chip input:checked + span, .radio-card input:checked + span { background: var(--surface-2); border-color: var(--ink); }
.choice-chip input:checked + span strong, .choice-chip input:checked + span small { color: var(--ink); }
.radio-card > span { grid-template-columns: 1fr; gap: 4px; }
.radio-card > span::before { border-radius: 50%; border-color: var(--ink); }
.radio-card > span::after { border-radius: 50%; background: var(--ink); }
.radio-card input:checked + span::before { border-color: var(--ink); }
.estimate-card { background: var(--surface-2); }
.estimate-total { color: var(--accent-readable); font-weight: 500; }
.success-dialog { background: var(--surface); border-color: var(--line); color: var(--ink); }
@media (max-width: 900px) {
  .calculator-column { order: 0; }
  .calculator-card { display: block; }
}
@media (max-width: 650px) {
  .form-section { grid-template-columns: 1fr; padding: 24px; gap: 8px; }
  .section-number { justify-self: start; }
  .form-submit-row, .calculator-card { padding: 24px; }
  .ratio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-intro { margin-bottom: 32px; }
}

/* Punten, abonnement en facturen. */
.points-card { padding: 32px; border-radius: 5px 32px 5px 5px; }
.points-card::before { display: none; }
.points-heading h1 { font-size: 44px; }
.points-heading h1 span { color: var(--ink); font-size: 64px; }
.points-card.is-high .points-heading h1 span { color: var(--accent-on-sand); }
.meter-rollover, .legend-rollover { background: var(--muted); }
.meter-remaining, .legend-remaining { background: var(--surface-2); }
.legend-used { background: var(--ink); }
.points-card.is-high .meter-used, .points-card.is-high .legend-used { background: var(--accent); }
.meter-legend i { border: 1px solid var(--line); }
.meter span { min-width: 0; }
.meter-legend { gap: 16px 24px; }
.beheer-blok, .inbegrepen-blok { padding: 32px; }
.beheer-rij { gap: 24px; }
.bijkoop { gap: 16px; flex-wrap: wrap; }
.bijkoop-veld { background: var(--page); }
.bijkoop-veld:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.tier-lijst { display: block; margin-top: 24px; }
.tier-optie { display: grid; grid-template-columns: minmax(100px, .65fr) minmax(0, 1.4fr) minmax(160px, 1fr); align-items: center; gap: 24px; padding: 24px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.tier-optie.is-huidig { border-color: var(--accent-readable); background: transparent; }
.tier-naam { font-size: 20px; font-weight: 500; }
.tier-optie.is-huidig .tier-naam, .tier-huidig { color: var(--accent-readable); }
.tier-optie .btn-klein { margin: 0; justify-self: end; }
.tier-huidig { padding: 0; margin: 0; justify-self: end; font-size: 14px; }
.tier-contact { justify-self: end; font-size: 14px; }
.inbegrepen-lijst { gap: 0; }
.inbegrepen-lijst li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tabel-blok { padding: 8px 0 0; }
.tabel-blok > .side-heading { padding: 24px 32px 0; }
.factuur-tabel th, .factuur-tabel td { height: 56px; padding: 16px 24px; }
.factuur-tabel thead th { font-weight: 500; }
.tabel-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 650px) {
  .points-card, .beheer-blok, .inbegrepen-blok { padding: 24px; }
  .points-heading h1 { font-size: 32px; }
  .points-heading h1 span { font-size: 48px; }
  .eyebrow-row { gap: 16px; flex-wrap: wrap; }
  .tier-optie { grid-template-columns: 1fr; gap: 10px; }
  .tier-optie .btn-klein, .tier-huidig, .tier-contact { justify-self: start; }
  .factuur-tabel th, .factuur-tabel td { padding: 16px; }
}

/* Accountpagina's en publieke toegang. */
.instel-blok { padding: 32px 0; margin: 0; background: transparent; border-radius: 0; border-top: 1px solid var(--line); }
.instel-blok h2 { font-size: 28px; font-weight: 500; }
.taal-keuze { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.taal-kaart { display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; }
.taal-kaart.is-actief { background: transparent; }
.taal-kaart strong { font-weight: 400; }
.taal-kaart input { margin: 0; width: 18px; height: 18px; }
.taal-kaart small { display: none; }
.gegevens-lijst { gap: 16px; }
.gegevens-lijst dt { font-weight: 400; }
.privacy-page .page-heading, .privacy-page .instel-blok { width: 100%; max-width: 68ch; }
.privacy-page { align-items: center; }
.privacy-lijst li::before { background: var(--ink); }
.poort { width: 100%; max-width: 640px; min-height: 100vh; justify-content: center; padding: 64px var(--page-pad); gap: 24px; }
.poort-merk { width: 160px; margin-bottom: 24px; }
.poort h1 { font-size: 44px; font-weight: 500; }
.poort p { font-size: 18px; }
@media (max-width: 650px) {
  .poort h1 { font-size: 32px; }
  .taal-keuze { flex-direction: column; align-items: flex-start; gap: 4px; }
  .instel-blok { padding-top: 24px; padding-bottom: 24px; }
}

/* De review- en bestandsomgeving behouden hun eigen inhoud. */
.tool-page { gap: 40px; }
.tool-kop { gap: 24px; }
.tool-frame { border: 0; border-radius: 4px 50px 4px 4px; background: var(--surface); }
.tool-leeg { padding: 32px; gap: 24px; }
.tool-leeg p { margin: 0; max-width: 62ch; }
.tool-kop h1 { font-weight: 500; }
@media (max-width: 650px) { .tool-leeg { padding: 24px; } }

.instel-blok .side-actions { justify-items: start; }
@media (max-width: 650px) { .instel-blok .side-actions { grid-template-columns: 1fr; } }

.mobile-new-request { display: none; }
#submit-estimate { font-size: 1rem; }
@media (max-width: 760px) {
  .mobile-new-request { display: inline-flex; margin-top: 16px; }
  .form-submit-row { flex-wrap: wrap; }
  #submit-estimate { flex-basis: 100%; }
}
