/* Portaal-layout: mobiel-eerst, één kolom, onderbalk-navigatie. */
main { max-width: 640px; margin: 0 auto; padding: 1rem 1rem 5.5rem; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
       justify-content: space-between; gap: .5rem; padding: .6rem 1rem;
       background: var(--blauw-900); color: var(--wit); }
.top .merk { display: flex; align-items: center; gap: .5rem; color: var(--wit);
             font-weight: 700; text-decoration: none; }
.top .logo { width: 22px; height: 22px; }
.top .tenant { font-size: .8rem; opacity: .95; text-align: right; }

.onderbalk { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; background: var(--wit); border-top: 1px solid var(--grijs-300);
  padding-bottom: env(safe-area-inset-bottom); }
.onderbalk a { flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: .45rem 0 .5rem; min-height: var(--tap-min);
  font-size: .68rem; font-weight: 600; color: var(--grijs-600); text-decoration: none; }
.onderbalk a.actief { color: var(--blauw-900); }
.onderbalk .ikoon { font-size: 1.15rem; line-height: 1; }
.onderbalk .plusknop { color: var(--oranje-500); }
.onderbalk .plus { display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-top: -14px; border-radius: 50%;
  background: var(--oranje-500); color: var(--wit); font-size: 1.4rem; font-weight: 700;
  box-shadow: var(--schaduw); }

.kaart { background: var(--wit); border-radius: var(--radius); box-shadow: var(--schaduw);
         padding: 1rem; margin-bottom: .9rem; }
.kaart h2 { margin-top: 0; }
.kaart .sub { color: var(--grijs-600); font-size: .85rem; }

.cijfers { display: grid; grid-template-columns: 1fr; gap: .9rem; }
@media (min-width: 560px) { .cijfers { grid-template-columns: repeat(3, 1fr); } }
.cijfers .kaart { margin-bottom: 0; }

.flash { padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: .9rem;
         font-weight: 600; }
.flash-ok { background: #E4F4EC; color: var(--groen-ok); }
.flash-fout { background: #FAE7E4; color: var(--rood-alarm); }

.lijst { list-style: none; margin: 0; padding: 0; }
.lijst li { display: flex; justify-content: space-between; align-items: center;
  gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--grijs-100);
  min-height: var(--tap-min); }
.lijst li:last-child { border-bottom: 0; }
.lijst a.regel { flex: 1; color: inherit; text-decoration: none; }
.r { text-align: right; }

label { display: block; font-weight: 600; font-size: .85rem; margin: .8rem 0 .25rem;
        color: var(--blauw-900); }
input[type=text], input[type=email], input[type=password], input[type=date],
input[type=number], input[type=tel], select, textarea {
  width: 100%; min-height: var(--tap-min); padding: .55rem .7rem;
  border: 1.5px solid var(--grijs-300); border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; background: var(--wit); }
textarea { min-height: 90px; }
.rij { display: flex; gap: .6rem; }
.rij > * { flex: 1; min-width: 0; }
.fouten { background: #FAE7E4; border-radius: var(--radius); padding: .8rem 1rem
          .8rem 1.6rem; color: var(--rood-alarm); margin-bottom: .9rem; }
.fouten li { margin: .2rem 0; }

.factuurregel { border: 1.5px dashed var(--grijs-300); border-radius: var(--radius);
                padding: .7rem; margin-bottom: .7rem; }
.acties { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
table.simpel { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.simpel td, table.simpel th { padding: .45rem .3rem; text-align: left;
  border-bottom: 1px solid var(--grijs-100); }
table.simpel .r { text-align: right; }
.upload-vak { border: 2px dashed var(--grijs-300); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center; background: var(--wit); }
