body {
  background: radial-gradient(ellipse at 70% 0%,#122635 0,transparent 36rem),var(--ff-night);
  min-height: 100vh;
}
a {
  color: var(--ff-ice);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: clamp(1.5rem,3.3vw,2.45rem);
  letter-spacing: -.045em;
  line-height: 1.1;
}
h3 {
  letter-spacing: -.026em;
  line-height: 1.18;
}
button {
  cursor: pointer;
}
.shell,
.ff-bar-inner {
  max-width: 86rem;
  margin: auto;
  padding-inline: clamp(1rem,4vw,4rem);
}
.mast,
.workspace,
.sectionhead,
.sectiontitle,
.cardhead,
.trend,
.panelhead,
.range,
.legend,
.actions,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mast {
  padding: 2rem 0 1.65rem;
}
.mast .ff-title {
  margin: .4rem 0 0;
  font-size: clamp(2.7rem,5vw,4.35rem);
}
.workspace {
  justify-content: flex-start;
  gap: .7rem;
}
.workspace strong,
.workspace small {
  display: block;
}
.workspace small,
.muted,
footer,
.intro,
.rows small {
  color: var(--ff-muted);
}
.seal {
  display: grid;
  place-content: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border: 1px solid #486054;
  background: #182b25;
  color: #c8d9ac;
  font: italic 1.95rem/1 var(--ff-serif);
  border-radius: 50%;
}
.tabs {
  display: flex;
  gap: .45rem;
  border-block: 1px solid var(--ff-line);
  padding: .5rem 0;
}
.tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .5rem 1.1rem;
  color: var(--ff-muted);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.tabs a[aria-current] {
  background: #1b3443;
  color: #c3f6ff;
}
.tabs a:hover,
.quiet:hover {
  color: white;
}
.tabs svg {
  display: none;
}
main {
  padding: 1.8rem 0;
  min-height: 45vh;
}
.sectionhead,
.panelhead {
  align-items: flex-end;
  margin-bottom: 1.15rem;
}
.sectionhead strong {
  color: var(--ff-text);
}
.kicker {
  color: #a6d3e2;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .69rem;
  font-weight: 700;
  margin: 0 0 .4rem;
}
.sectionhead p:not(.kicker),
.intro {
  color: var(--ff-muted);
  font-size: .93rem;
  margin-top: .45rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .8rem;
}
.metric,
.field,
.sheet {
  border: 1px solid var(--ff-line);
  background: var(--ff-panel-fill);
  border-radius: .55rem;
}
.metric {
  padding: 1rem 1.1rem;
  color: var(--ff-text);
  text-decoration: none;
  display: block;
  min-width: 0;
}
.metric:hover,
.field a:hover {
  border-color: #7aa7b9;
}
.metric[aria-current] {
  background: linear-gradient(145deg,#173445,#0c202c);
  border-color: #75bbc9;
}
.cardhead {
  font-size: .87rem;
  font-weight: 700;
  gap: .4rem;
}
.cardhead span:last-child {
  color: var(--ff-muted);
}
.metricvalue {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  flex-wrap: wrap;
  margin: .7rem 0 .1rem;
}
.metricvalue b {
  font-size: clamp(1.9rem,3.6vw,3rem);
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.metricvalue span {
  color: var(--ff-muted);
  font-size: .78rem;
}
.trend {
  gap: .2rem;
  margin-top: .75rem;
}
.trend strong,
.positive {
  color: #91e4c3;
}
.negative {
  color: #ffb9a9;
}
.trend strong {
  font-size: .86rem;
}
.spark {
  width: 36%;
  height: 23px;
  color: #77c7b1;
}
.metrictime {
  display: block;
  color: var(--ff-muted);
  font-size: .71rem;
  margin-top: .5rem;
}
.workgrid {
  display: grid;
  grid-template-columns: minmax(0,1.27fr) minmax(0,.85fr);
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}
.field,
.sheet {
  min-width: 0;
  padding: clamp(1rem,2vw,1.6rem);
}
.field h3,
.sheet h3 {
  font-size: 1.35rem;
}
.panelhead {
  align-items: center;
  margin: 0 0 1rem;
}
.tag,
.pill {
  border: 1px solid #416171;
  background: #112937;
  color: #cbdee7;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .74rem;
  white-space: nowrap;
}
.map {
  position: relative;
  height: clamp(15rem,23vw,20rem);
  overflow: hidden;
  border: 1px solid #335565;
  border-radius: 5px;
  background: #142d36;
}
.map canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.points {
  position: absolute;
  inset: 7% 20%;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-template-rows: repeat(5,1fr);
  place-items: center;
}
.point {
  border: 1px solid #97d4b1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 1.7rem;
  aspect-ratio: 1;
  line-height: 1;
  font-weight: 700;
  font-size: .8rem;
  box-shadow: 0 1px 5px #001b21;
}
.top3 {
  background: #a4e7be;
  color: #082f22;
}
.top10 {
  background: #e4ca8c;
  color: #3e2c12;
  border-color: #ffe2a6;
}
.rest {
  background: #d99990;
  color: #371c18;
  border-color: #f2b7a9;
}
.north {
  position: absolute;
  right: .7rem;
  top: .6rem;
  font-size: .75rem;
  color: white;
  background: #0b202c;
  padding: .15rem .35rem;
  border-radius: 2px;
}
.legend {
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin: .65rem 0;
  font-size: .76rem;
  color: var(--ff-muted);
}
.key {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  margin-right: .32rem;
}
.range {
  margin-top: .85rem;
  flex-wrap: wrap;
}
.range label {
  font-size: .84rem;
}
.range select {
  padding: .35rem .65rem;
  min-height: 44px;
}
.sub,
.note {
  font-size: .85rem;
  color: var(--ff-muted);
}
.note {
  margin-top: .75rem;
}
.rows {
  padding: 0;
  margin: 0;
  list-style: none;
}
.rows li,
.tableline,
.connection {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .72rem 0;
  border-top: 1px solid var(--ff-line);
}
.rows b {
  font-variant-numeric: tabular-nums;
}
.rows small {
  display: block;
}
.aside {
  display: grid;
  gap: 1rem;
}
.sheet h3 {
  margin-bottom: .75rem;
}
.textlink {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 600;
  text-underline-offset: 4px;
}
.step {
  padding: .8rem 0;
  border-top: 1px solid var(--ff-line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  align-content: center;
}
details p {
  color: var(--ff-muted);
  margin: .5rem 0;
}
.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.quiet {
  background: transparent;
  color: var(--ff-ice);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
}
.search {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin: 1rem 0;
}
.search label {
  display: grid;
  gap: .3rem;
  color: var(--ff-muted);
  font-size: .87rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: .7rem .4rem;
  border-bottom: 1px solid var(--ff-line);
}
th {
  font-size: .8rem;
  color: var(--ff-muted);
}
td {
  font-size: .94rem;
}
td:last-child,
th:last-child {
  text-align: right;
}
.stamp {
  display: inline-block;
  letter-spacing: .15em;
  font-size: .74rem;
  color: #a3e2c6;
  border: 1px solid #76ad95;
  transform: rotate(-3deg);
  border-radius: 3px;
  padding: .3rem .6rem;
}
.report {
  max-width: 54rem;
  margin: 0 auto;
}
.report h2 {
  margin: .55rem 0;
}
.report h3 {
  margin: 1.45rem 0 .55rem;
}
.report p {
  max-width: 65ch;
}
.status {
  min-height: 1.5em;
  color: var(--ff-ice);
  margin-top: .4rem;
}
.connection {
  align-items: center;
}
.connection p {
  font-size: .88rem;
  color: var(--ff-muted);
  margin-top: .3rem;
}
footer {
  border-top: 1px solid var(--ff-line);
  padding: 1rem 0 2rem;
  font-size: .84rem;
  flex-wrap: wrap;
}
footer a {
  padding: .55rem 0;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -7rem;
  z-index: 20;
  background: var(--ff-night);
  padding: .55rem;
}
.skip:focus {
  top: .4rem;
}
@media (max-width:800px) {
  .workgrid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2,1fr);
  }
  .trend .spark {
    width: 40%;
  }
  .sectionhead {
    align-items: flex-start;
  }
  .map {
    height: 18rem;
  }
}
@media (max-width:650px) {
  body {
    padding-bottom: 4.4rem;
  }
  .mast {
    align-items: flex-start;
    padding: 1.15rem 0;
    gap: .6rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ff-line);
  }
  .workspace {
    align-self: flex-end;
  }
  .workspace small {
    font-size: .72rem;
  }
  .workspace strong {
    font-size: .84rem;
  }
  .seal {
    width: 2rem;
    font-size: 1.45rem;
  }
  .mast .ff-eyebrow {
    font-size: .6rem;
  }
  .mast .ff-title {
    font-size: 2.6rem;
  }
  .tabs {
    position: fixed;
    z-index: 9;
    bottom: 0;
    left: 0;
    right: 0;
    background: #081721;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: .1rem;
    padding: .25rem .18rem max(.25rem,env(safe-area-inset-bottom));
  }
  .tabs a {
    flex-direction: column;
    gap: .18rem;
    padding: .3rem 0;
    font-size: clamp(.64rem,2.6vw,.78rem);
  }
  .tabs svg {
    display: block;
    width: 1.12rem;
    height: 1.12rem;
  }
  main {
    padding: 1.1rem 0;
  }
  .sectionhead {
    display: block;
    margin-bottom: .85rem;
  }
  .metrics {
    gap: .55rem;
  }
  .metric {
    padding: .72rem;
  }
  .metrictime {
    font-size: .64rem;
  }
  .workgrid {
    gap: .65rem;
    margin-top: .65rem;
  }
  .map {
    height: 15.5rem;
  }
  .points {
    inset: 6% 11%;
  }
  .legend {
    gap: .55rem;
  }
  .panelhead {
    gap: .5rem;
  }
  .search > * {
    min-width: 0;
  }
  .sheet th,
  .sheet td {
    padding: .55rem .19rem;
    font-size: .8rem;
  }
}
@media print {
  body {
    background: #fff;
    color: #172833;
    padding: 0;
  }
  header.ff-bar,
  .mast,
  .tabs,
  footer,
  .noprint,
  .skip {
    display: none;
  }
  .shell,
  main,
  .sheet {
    padding: 0;
  }
  .report {
    max-width: none;
    color: #172833;
    background: white;
    border: 0;
  }
  .report p,
  .report th,
  .report .kicker,
  .report .stamp {
    color: #294657;
  }
  .report td,
  .report th {
    border-color: #b4c4c9;
  }
  .report h2 {
    font-size: 2rem;
  }
  .report h3 {
    break-after: avoid;
  }
  .report tr {
    break-inside: avoid;
  }
  @page {
    size: A4;
    margin: 18mm;
  }
}
main,
#detail {
  scroll-margin-top: 5.3rem;
}
.point.blank {
  color: #d5e7ee;
  background: #243e4b;
  border-color: #7d97a1;
}

.zoekpagina {
  display: block;
  color: var(--ff-muted);
  font-size: .72rem;
  margin-top: .25rem;
}
.metricvalue {
  column-gap: .45rem;
}

.ff-brand::after {
  mask-image: url("./assets/logo-flowforce-compact.webp");
}

#herladen { margin-top: 1rem; }
#opnieuw { font-size: .875rem; }
