/* ==========================================================================
   Van Huizen Werkbon – styles
   Mobiel-first, crème/donkerbruin/taupe volgens de Van Huizen-huisstijl.
   ========================================================================== */

:root {
  --green-950: #2c1f14;
  --green-900: #2c1f14;
  --green-800: #4a382a;
  --green-700: #6b543e;
  --green-100: #efe8de;
  --green-050: #f6f3ec;
  --yellow: #6b543e;
  --yellow-strong: #5a4634;
  --yellow-soft: #efe8de;
  --paper: #f6f3ec;
  --surface: #ffffff;
  --ink: #0e0e0e;
  --muted: #6e655c;
  --muted-light: #a39a90;
  --line: #e4ded3;
  --line-strong: #a39a90;
  --danger: #a3282d;
  --danger-dark: #7e1c20;
  --danger-soft: #f7e6e6;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(44, 31, 20, 0.06), 0 2px 8px rgba(44, 31, 20, 0.04);
  --shadow-md: 0 8px 28px rgba(44, 31, 20, 0.10);
  --shadow-lg: 0 20px 55px rgba(44, 31, 20, 0.22);
  --font: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --action-bar-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, p, dl, dd, dt, figure {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--green-800);
}

svg {
  display: block;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--green-800);
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--green-900);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 2px;
}

/* Op donkere vlakken is crème beter zichtbaar. */
.editor-header :focus-visible,
.toast :focus-visible {
  outline-color: #f6f3ec;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #ffffff;
  box-shadow: 0 2px 0 rgba(44, 31, 20, 0.14);
}

.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--green-900);
}

.btn-secondary:hover {
  background: var(--green-050);
  border-color: var(--green-700);
}

.btn-dark {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: var(--danger-dark);
  border-color: var(--danger-dark);
}

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

.btn-ghost:hover {
  background: rgba(44, 31, 20, 0.07);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-small {
  min-height: 40px;
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  border-radius: 9px;
}

.btn-icon {
  width: 44px;
  min-height: 44px;
  padding: 0;
  flex: none;
}

/* --------------------------------------------------------------------------
   Offline-indicator en toast
   -------------------------------------------------------------------------- */

.offline-banner {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.25rem;
  padding-top: max(0.55rem, env(safe-area-inset-top));
  background: var(--green-900);
  color: #f6f3ec;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  justify-content: center;
}

.offline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f6f3ec;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--action-bar-height) + env(safe-area-inset-bottom) + 1rem);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(560px, calc(100% - 2rem));
  transform: translateX(-50%);
  padding: 0.7rem 0.7rem 0.7rem 1rem;
  border-radius: 12px;
  background: var(--green-950);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: toast-in 0.18s ease-out;
}

.toast.is-home {
  bottom: calc(1rem + env(safe-area-inset-bottom));
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

#toast-message {
  flex: 1;
}

.toast-action {
  flex: none;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  background: transparent;
  color: #f6f3ec;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.toast-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.toast-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   Startscherm
   ========================================================================== */

.home-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.hero-accent {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 46%;
  height: 150%;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(44, 31, 20, 0.035) 0 2px,
      transparent 2px 18px
    );
  border-left: 1px solid rgba(44, 31, 20, 0.06);
  transform: skewX(-10deg);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: max(1.15rem, env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.brand-tagline {
  padding-left: 0.15rem;
  color: var(--green-700);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 0.82rem;
  line-height: 1.2;
}

.hero-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-tools .btn-outline-light {
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero-tools .btn-outline-light:hover {
  border-color: var(--green-700);
  background: var(--green-100);
}

.connection-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.connection-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 3px rgba(107, 84, 62, 0.14);
}

.connection-chip.is-offline .connection-dot {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 40, 45, 0.14);
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: clamp(2.2rem, 7vw, 5rem);
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-body h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero-lead {
  max-width: 560px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
}

.btn-hero {
  margin-top: 1.6rem;
  min-height: 54px;
  padding-inline: 1.4rem;
  font-size: 1rem;
  border-radius: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.hero-stats > div {
  min-width: 110px;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--line);
}

.hero-stats > div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.home-content {
  padding-top: 2.2rem;
  padding-bottom: 3.5rem;
}

.list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.list-toolbar h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

#bon-count {
  margin-top: 0.15rem;
  font-size: 0.88rem;
}

.search-field {
  position: relative;
  flex: 0 1 300px;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.9rem 0.6rem 2.5rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.95rem;
}

.search-field input:focus {
  border-color: var(--green-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 84, 62, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.bon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bon-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green-700);
}

.bon-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.bon-link {
  flex: 1;
  display: block;
  padding: 1.05rem 1.15rem 0.9rem 1.35rem;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.bon-link:focus-visible {
  outline-offset: -3px;
}

.bon-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding-right: 2.35rem;
}

.week-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bon-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.bon-date .icon {
  width: 14px;
  height: 14px;
}

.bon-customer {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bon-subject {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.bon-subject.is-empty {
  color: var(--muted-light);
  font-style: italic;
}

.bon-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  padding-left: 0;
}

.bon-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.bon-summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.bon-summary .icon {
  width: 14px;
  height: 14px;
}

.bon-delete {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.bon-delete:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.bon-delete .icon {
  width: 18px;
  height: 18px;
}

.bon-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.6rem 0.6rem 1.35rem;
}

.bon-card-actions .bon-summary {
  font-size: 0.78rem;
}

.empty-state {
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.empty-illustration {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--yellow-soft);
}

.empty-state h3 {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.empty-state p {
  max-width: 420px;
  margin: 0 auto 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.storage-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.storage-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  color: var(--green-700);
}

.no-results {
  padding: 2.5rem 1rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

/* ==========================================================================
   Editor
   ========================================================================== */

.editor-header {
  position: sticky;
  top: 0;
  z-index: 140;
  background: var(--green-900);
  color: #f6f3ec;
  box-shadow: 0 2px 10px rgba(44, 31, 20, 0.18);
}

.offline-banner:not([hidden]) + main .editor-header {
  top: 0;
}

.editor-header-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 70px;
  padding-top: max(0.65rem, env(safe-area-inset-top));
  padding-bottom: 0.65rem;
}

.editor-heading {
  flex: 1;
  min-width: 0;
}

.editor-kicker {
  color: #efe8de;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.editor-header .btn-primary {
  background: #5a4634;
  border-color: #5a4634;
  color: #ffffff;
}

.editor-heading h1 {
  overflow: hidden;
  color: #f6f3ec;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

.save-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  color: #d8cfc4;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.save-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9bfb2;
}

.save-state.is-saving .save-dot {
  background: #f6f3ec;
  animation: pulse 1s ease-in-out infinite;
}

.save-state.is-error {
  color: #e8b4b4;
}

.save-state.is-error .save-dot {
  background: #e8b4b4;
}

.editor-layout {
  padding-top: 1.35rem;
  padding-bottom: calc(var(--action-bar-height) + env(safe-area-inset-bottom) + 2rem);
}

.form-card {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.card-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.kopblok-toggle {
  flex: none;
  margin-left: auto;
  color: var(--green-700);
}

.kopblok-toggle .icon {
  transition: transform 0.18s ease;
}

.kopblok-toggle[aria-expanded="true"] .icon {
  transform: rotate(90deg);
}

.kopblok-toggle[aria-expanded="false"] .icon {
  transform: rotate(0deg);
}

.card-content[hidden] {
  display: none !important;
}

.artikel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: var(--green-050);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.artikel-status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green-700);
}

.artikel-status.is-loading .artikel-status-dot {
  background: var(--yellow-strong);
  animation: pulse 1.2s ease-in-out infinite;
}

.artikel-status.is-error {
  background: var(--danger-soft);
  color: var(--danger-dark);
}

.artikel-status.is-error .artikel-status-dot {
  background: var(--danger);
}

.artikel-error {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin: -0.25rem 0 0.8rem;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--danger);
  border-radius: 6px;
  background: var(--danger-soft);
  color: var(--danger-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.btn-link {
  min-height: 32px;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: var(--danger-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.step-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-700);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.card-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.field-week { grid-column: span 2; }
.field-datum { grid-column: span 3; min-width: 0; }
.field-klant { grid-column: span 7; }
.field-adres { grid-column: span 6; }
.field-betreft { grid-column: span 6; }
.field-werknemers { grid-column: span 12; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.field label {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.required {
  color: var(--danger);
}

.field input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 0.62rem 0.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* WebKit/iOS gebruikt voor date-inputs soms een intrinsieke breedte. */
@supports (-webkit-touch-callout: none) {
  .field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
  }

  .field input[type="date"]::-webkit-date-and-time-value {
    min-width: 0;
    text-align: left;
  }
}

.field input::placeholder {
  color: #75837a;
  opacity: 1;
}

.field input:focus {
  border-color: var(--green-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 84, 62, 0.16);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(163, 40, 45, 0.16);
}

.field-hint {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.field-hint.is-error {
  color: var(--danger);
  font-weight: 650;
}

/* Regeltabellen ----------------------------------------------------------- */

.lines-table {
  margin-inline: -1.15rem;
}

.line-head {
  display: grid;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-050);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.material-table .line-head,
.material-table .line-row {
  grid-template-columns: minmax(150px, 2.2fr) 100px 72px 80px 90px 44px;
}

.hours-table .line-head,
.hours-table .line-row {
  grid-template-columns: minmax(150px, 2fr) 82px 92px 100px 44px;
}

.line-row {
  display: grid;
  align-items: start;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.line-row:last-child {
  border-bottom: 0;
}

.line-row:hover {
  background: #fcfdfb;
}

.line-cell {
  min-width: 0;
}

.line-cell input {
  width: 100%;
  min-height: 44px;
  padding: 0.48rem 0.55rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
}

.line-cell input:focus {
  border-color: var(--green-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 84, 62, 0.14);
}

.line-cell input[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.line-cell-description {
  position: relative;
}

.line-cell-description.autocomplete-open {
  z-index: 115;
}

.line-cell-description.autocomplete-up .autocomplete {
  top: auto;
  bottom: calc(100% + 4px);
}

.line-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 0;
  margin-top: 0.25rem;
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.1rem 0.4rem;
  overflow: hidden;
  border-radius: 4px;
  background: var(--green-900);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Suggestielijst onder het omschrijvingsveld */
.autocomplete {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: min(330px, 55vh);
  overflow-y: auto;
  padding: 0.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.ac-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.16rem;
  width: 100%;
  min-height: 48px;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.ac-option + .ac-option {
  margin-top: 1px;
  border-top: 1px solid var(--line);
}

.ac-option:hover,
.ac-option.is-active {
  background: var(--green-050);
}

.ac-main {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ac-main mark {
  padding: 0 0.05em;
  border-radius: 2px;
  background: var(--yellow-soft);
  color: inherit;
  font-weight: 800;
}

.ac-extra {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  width: 100%;
  color: var(--muted);
  font-size: 0.67rem;
}

.ac-rubriek {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.25rem;
  border-radius: 4px;
  background: var(--green-900);
  color: #fff;
  font-weight: 800;
}

.ac-eenheid {
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
}

.ac-empty {
  margin: 0;
  padding: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.line-cell-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: var(--green-050);
  color: var(--green-900);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.line-total-value {
  white-space: nowrap;
}

.line-cell .hint {
  display: block;
  min-height: 0;
  margin-top: 0.15rem;
  color: var(--green-700);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.3;
}

.line-cell .hint.is-error {
  color: var(--danger);
}

.line-amount {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  padding: 0.4rem 0.35rem;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.delete-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.delete-line:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.delete-line .icon {
  width: 19px;
  height: 19px;
}

.delete-line .delete-text {
  display: none;
}

.line-row.has-errors {
  background: #fffafa;
}

.section-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.section-total strong {
  color: var(--green-900);
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
}

.empty-lines {
  margin: 0.5rem 0;
  padding: 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Totalen ---------------------------------------------------------------- */

.totals-card {
  background: linear-gradient(180deg, #fff 0%, #fcfbf5 100%);
}

.totals-list {
  margin-top: 0.35rem;
}

.totals-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.totals-list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.totals-list dd {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.totals-list .grand-total {
  margin-top: 0.2rem;
  padding-top: 0.8rem;
  border-bottom: 0;
}

.totals-list .grand-total dt {
  color: var(--green-900);
  font-size: 1rem;
  font-weight: 800;
}

.totals-list .grand-total dd {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--green-900);
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.totals-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.autosave-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.3rem 0.15rem 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.autosave-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.1rem;
  color: var(--green-700);
}

/* Foutoverzicht ---------------------------------------------------------- */

.error-summary {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #e4a3a5;
  border-left: 5px solid var(--danger);
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: #5f1518;
}

.error-summary h2 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.error-summary p {
  font-size: 0.82rem;
}

.error-summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.82rem;
}

.error-summary li + li {
  margin-top: 0.15rem;
}

/* Sticky actiebalk ------------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -8px 30px rgba(44, 31, 20, 0.10);
  backdrop-filter: blur(10px);
}

.action-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: var(--action-bar-height);
  padding-block: 0.7rem;
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bar-actions .btn {
  min-height: 48px;
}

/* ==========================================================================
   Dialogen
   ========================================================================== */

dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

dialog::backdrop {
  background: rgba(44, 31, 20, 0.55);
  backdrop-filter: blur(2px);
}

.dialog {
  width: min(540px, calc(100% - 2rem));
  max-height: min(90vh, 760px);
  overflow: auto;
}

.dialog[open] {
  animation: dialog-in 0.18s ease-out;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.dialog-kicker {
  margin-bottom: 0.15rem;
  color: var(--green-700);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dialog-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.dialog-text {
  padding: 0.5rem 1.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 1.1rem 1.25rem 1.25rem;
}

.dialog-small {
  width: min(440px, calc(100% - 2rem));
}

.install-steps {
  display: grid;
  gap: 0.7rem;
  margin: 0.9rem 1.25rem 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.install-step-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green-050);
  color: var(--green-800);
}

.export-options {
  padding: 0.75rem 0 0.25rem;
}

.export-option {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 78px;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.export-option:last-child {
  border-bottom: 1px solid var(--line);
}

.export-option:hover {
  background: var(--green-050);
}

.export-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yellow-soft);
  color: var(--green-900);
}

.export-icon .icon {
  width: 22px;
  height: 22px;
}

.export-option strong {
  display: block;
  font-size: 0.94rem;
}

.export-option small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.export-option .chevron {
  width: 18px;
  height: 18px;
  color: var(--muted-light);
}

/* ==========================================================================
   Printweergave (scherm: verborgen)
   ========================================================================== */

.print-sheet {
  display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .field-week { grid-column: span 3; }
  .field-datum { grid-column: span 4; }
  .field-klant { grid-column: span 5; }
  .field-adres,
  .field-betreft { grid-column: span 12; }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .hero-top {
    gap: 0.5rem;
    align-items: flex-start;
  }

  .hero-tools {
    margin-left: auto;
    align-items: flex-start;
    padding-top: 0.3rem;
  }

  .brand-logo {
    width: 128px;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .hero-tools .connection-chip {
    display: none;
  }

  .hero-body {
    padding-top: 2.2rem;
  }

  .hero-stats > div {
    min-width: 0;
    padding-right: 0.9rem;
    margin-right: 0.9rem;
  }

  .hero-stats dd {
    font-size: 1.1rem;
  }

  .home-content {
    padding-top: 1.5rem;
  }

  .list-toolbar {
    display: block;
  }

  .search-field {
    margin-top: 0.75rem;
    flex-basis: auto;
  }

  .editor-header-inner {
    min-height: 64px;
    gap: 0.55rem;
  }

  .editor-kicker {
    display: none;
  }

  .editor-heading h1 {
    font-size: 0.98rem;
  }

  .save-state {
    font-size: 0.68rem;
  }

  .editor-save-top {
    display: none;
  }

  .editor-layout {
    padding-top: 0.9rem;
  }

  .form-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .form-grid {
    gap: 0.75rem;
  }

  .field-week { grid-column: span 4; }
  .field-datum { grid-column: span 8; }
  .field-klant,
  .field-adres,
  .field-betreft,
  .field-werknemers { grid-column: span 12; }

  .field-week .field-hint {
    font-size: 0.64rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .card-head {
    align-items: center;
    flex-wrap: wrap;
  }

  .card-subtitle {
    font-size: 0.72rem;
  }

  .card-head-actions {
    width: 100%;
    justify-content: flex-start;
    padding-left: 2.75rem;
  }

  .card-head .btn {
    flex: none;
  }

  .lines-table {
    margin-inline: 0;
  }

  .line-head {
    display: none;
  }

  .material-table .line-row,
  .hours-table .line-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.75rem;
    margin-bottom: 0.8rem;
    padding: 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    background: #fcfdfb;
  }

  .material-table .line-row:last-child,
  .hours-table .line-row:last-child {
    margin-bottom: 0;
  }

  .line-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .line-cell-action::before {
    display: none;
  }

  .material-table .line-cell:nth-child(1),
  .hours-table .line-cell:nth-child(1) {
    grid-column: span 2;
  }

  .material-table .line-cell:nth-child(6),
  .hours-table .line-cell:nth-child(5) {
    align-self: end;
  }

  .material-table .line-cell:nth-child(6) {
    grid-column: span 2;
  }

  .line-cell-total {
    justify-content: flex-start;
  }

  .delete-line {
    width: 100%;
    justify-content: center;
    border: 1px solid #ecc9ca;
    background: #fff;
    color: var(--danger);
  }

  .delete-line .delete-text {
    display: inline;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .section-total {
    margin-top: 0.8rem;
  }

  .totals-list .grand-total dd {
    font-size: 1.2rem;
  }

  .action-bar-inner {
    gap: 0.6rem;
  }

  .bar-actions {
    gap: 0.4rem;
  }

  .bar-actions .btn {
    min-height: 46px;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }

  .toast {
    bottom: calc(var(--action-bar-height) + env(safe-area-inset-bottom) + 0.6rem);
  }

  .dialog {
    width: calc(100% - 1rem);
    max-height: 92vh;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-lead {
    font-size: 0.95rem;
  }

  .btn-hero {
    width: 100%;
  }

  .hero-stats > div {
    padding-right: 0.7rem;
    margin-right: 0.7rem;
  }

  .hero-stats dt {
    font-size: 0.6rem;
  }

  .hero-stats dd {
    font-size: 1rem;
  }

  .card-head {
    flex-wrap: wrap;
  }

  .card-head-actions {
    gap: 0.5rem;
  }

  .bar-actions {
    flex: 1;
  }

  .bar-actions .btn {
    flex: 1;
  }

  .bar-actions .btn span {
    display: none;
  }

  .bar-actions .btn .icon {
    width: 22px;
    height: 22px;
  }

  .bar-actions #save-btn span {
    display: inline;
  }

  .export-option {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    padding-inline: 1rem;
  }

  .dialog-head,
  .dialog-text {
    padding-inline: 1rem;
  }

  .dialog-actions {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Afdrukken / PDF
   ========================================================================== */

@media print {
  @page {
    size: A4;
    margin: 13mm 13mm 15mm;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 10pt;
    line-height: 1.35;
  }

  body > *:not(.print-sheet) {
    display: none !important;
  }

  .print-sheet {
    display: block !important;
    color: #000;
    font-family: var(--font);
  }

  .print-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10mm;
    padding-bottom: 4mm;
    border-bottom: 1.5pt solid #000;
  }

  .print-brand {
    display: flex;
    flex-direction: column;
    gap: 3mm;
  }

  .print-logo {
    display: block;
    width: 170px;
    height: auto;
  }

  .print-company-details {
    display: flex;
    flex-direction: column;
    gap: 0.6mm;
    color: #000;
    font-size: 8pt;
    line-height: 1.35;
  }

  .print-company-details strong {
    font-size: 9pt;
    font-weight: 600;
  }

  .print-doc-title {
    text-align: right;
  }

  .print-doc-title strong {
    display: block;
    font-size: 22pt;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .print-doc-title span {
    display: block;
    margin-top: 1.5mm;
    color: #333;
    font-size: 8.5pt;
  }

  .print-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3mm;
    margin-top: 5mm;
  }

  .print-meta div,
  .print-info div {
    border-left: 1pt solid #000;
    padding-left: 2.5mm;
  }

  .print-meta dt,
  .print-info dt {
    color: #333;
    font-size: 7pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .print-meta dd,
  .print-info dd {
    margin-top: 0.7mm;
    font-size: 9.5pt;
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .print-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6mm;
    margin-top: 5mm;
    padding: 3.5mm 0;
    border-top: 0.5pt solid #999;
    border-bottom: 0.5pt solid #999;
  }

  .print-info-block > div + div {
    margin-top: 2.5mm;
  }

  .print-section {
    margin-top: 6mm;
  }

  .print-section h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4mm;
    margin: 0 0 1.8mm;
    padding-bottom: 1.2mm;
    border-bottom: 0.8pt solid #000;
    color: #000;
    font-size: 10.5pt;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .print-section h2 span {
    color: #333;
    font-size: 7.5pt;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8.8pt;
  }

  .print-table thead {
    display: table-header-group;
  }

  .print-table th {
    padding: 1.6mm 1.6mm;
    border-bottom: 0.8pt solid #000;
    color: #000;
    font-size: 6.8pt;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .print-table td {
    padding: 1.6mm;
    border-bottom: 0.4pt solid #999;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  .print-table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  .print-table tr {
    break-inside: avoid;
  }

  .print-empty {
    padding: 3mm;
    border: 0.5pt dashed #999;
    color: #333;
    font-size: 8.5pt;
    text-align: center;
  }

  .print-signatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14mm;
    margin-top: 14mm;
    break-inside: avoid;
  }

  .print-signature {
    padding-top: 16mm;
    border-bottom: 0.8pt solid #000;
    color: #333;
    font-size: 7.5pt;
  }

  .print-footer {
    display: flex;
    justify-content: space-between;
    gap: 6mm;
    margin-top: 9mm;
    padding-top: 2mm;
    border-top: 0.5pt solid #999;
    color: #333;
    font-size: 7pt;
  }
}
