:root {
  --bg: #f4f8f7;
  --bg-soft: #edf6f3;
  --surface: #ffffff;
  --surface-soft: #f8fbfa;
  --surface-strong: #0d302c;
  --soft: var(--surface-soft);
  --ink: #17332f;
  --ink-soft: #38534e;
  --text: var(--ink);
  --muted: #6b7f7b;
  --brand: #0b7e6d;
  --brand-dark: #075f54;
  --brand-soft: #dff3ed;
  --primary: var(--brand);
  --primary-dark: var(--brand-dark);
  --aqua: #29a8a0;
  --accent: #d9a441;
  --line: #dce9e5;
  --line-strong: #bfd3ce;
  --danger: #a93737;
  --danger-soft: #fde8e8;
  --success: #176b4d;
  --success-soft: #e2f6ec;
  --shadow-sm: 0 4px 14px rgba(17, 61, 55, .06);
  --shadow-md: 0 14px 40px rgba(17, 61, 55, .09);
  --shadow-lg: 0 24px 70px rgba(17, 61, 55, .14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-height: 76px;
}

/* Privacybewuste bezoekersstatistieken en marketingdashboard */
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: clamp(14px,3vw,38px);
  bottom: clamp(14px,3vw,38px);
  left: clamp(14px,3vw,38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(47,159,145,.28);
  border-radius: 18px;
  color: #173a36;
  background: rgba(255,255,255,.97);
  box-shadow: 0 24px 70px rgba(10,56,50,.24);
  backdrop-filter: blur(18px);
}
.analytics-consent strong { display:block; margin-bottom:5px; font-size:1.08rem; }
.analytics-consent p { max-width:760px; margin:0; color:#5f7773; line-height:1.5; }
.analytics-consent > div:last-child { display:flex; flex:0 0 auto; gap:10px; }
.analytics-page-head { align-items:flex-end; }
.analytics-filter { margin-bottom:22px; }
.analytics-filter form { display:grid; grid-template-columns:minmax(170px,1fr) repeat(2,minmax(150px,.7fr)) auto; align-items:end; gap:14px; }
.analytics-filter label { margin:0; }
.analytics-filter > small { display:block; margin-top:12px; color:var(--muted); }
.analytics-kpis { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.analytics-kpi { min-width:0; padding:20px; }
.analytics-kpi > span { display:block; color:var(--muted); font-size:.78rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.analytics-kpi strong { display:block; margin:8px 0 3px; color:var(--ink); font-size:clamp(1.65rem,2.4vw,2.5rem); line-height:1; }
.analytics-kpi small { color:var(--muted); }
.analytics-trend { margin-bottom:22px; }
.analytics-daily-chart { display:flex; align-items:stretch; gap:clamp(4px,.75vw,10px); height:280px; padding-top:26px; overflow-x:auto; }
.analytics-day { display:grid; grid-template-rows:20px 1fr 24px; flex:1 0 22px; min-width:22px; text-align:center; }
.analytics-day strong { overflow:hidden; color:var(--muted); font-size:.66rem; font-weight:700; opacity:0; transition:opacity .2s; }
.analytics-day:hover strong { opacity:1; }
.analytics-day i { position:relative; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; border-radius:7px 7px 3px 3px; background:linear-gradient(180deg,rgba(10,137,120,.035),rgba(10,137,120,.09)); }
.analytics-day b { display:block; width:min(24px,72%); min-height:3px; border-radius:6px 6px 2px 2px; background:linear-gradient(180deg,#23c8b0,#087c70); box-shadow:0 5px 14px rgba(8,124,112,.18); }
.analytics-day span { align-self:end; color:var(--muted); font-size:.67rem; white-space:nowrap; transform:rotate(-45deg); transform-origin:center; }
.analytics-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-bottom:22px; }
.analytics-grid-wide { grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr); }
.analytics-bars { display:grid; gap:14px; }
.analytics-bar-row > div { display:flex; justify-content:space-between; gap:12px; margin-bottom:5px; font-size:.88rem; }
.analytics-bar-row span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.analytics-bar-row strong { color:var(--ink); }
.analytics-bar-row i { display:block; height:8px; overflow:hidden; border-radius:999px; background:#e9f2f0; }
.analytics-bar-row b { display:block; height:100%; min-width:3px; border-radius:inherit; background:linear-gradient(90deg,#0a8b7b,#38d4bd); }
.analytics-empty { color:var(--muted); }
.analytics-admin code { overflow-wrap:anywhere; color:#08796e; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.84em; }
.analytics-privacy { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:22px; }
.analytics-privacy p { max-width:670px; margin-bottom:0; color:var(--muted); }
.analytics-privacy form { display:flex; align-items:end; gap:12px; flex:0 0 auto; }
.analytics-privacy form label { margin:0; }
.analytics-privacy input { width:110px; }
@media (max-width:1180px) {
  .analytics-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .analytics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .analytics-consent { align-items:stretch; flex-direction:column; }
  .analytics-consent > div:last-child { display:grid; grid-template-columns:1fr; }
  .analytics-filter form { grid-template-columns:1fr 1fr; }
  .analytics-filter form label:first-child,.analytics-filter form button { grid-column:1/-1; }
  .analytics-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .analytics-grid,.analytics-grid-wide { grid-template-columns:1fr; }
  .analytics-day { flex-basis:34px; }
  .analytics-privacy,.analytics-privacy form { align-items:stretch; flex-direction:column; }
}
@media (max-width:460px) {
  .analytics-kpis { grid-template-columns:1fr; }
  .analytics-filter form { grid-template-columns:1fr; }
  .analytics-filter form > * { grid-column:1!important; }
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 4%, rgba(47, 168, 158, .12), transparent 24rem),
    radial-gradient(circle at 94% 18%, rgba(11, 126, 109, .08), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
body.is-authenticated:not(.dashboard-promo) {
  position: relative;
  background: #eaf6f5;
}
body.is-authenticated:not(.dashboard-promo)::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background: url("aquawijs-dashboard-aquarium-v2.webp") center bottom / cover no-repeat;
  opacity: .82;
}
body.is-authenticated:not(.dashboard-promo)::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(239,249,248,.12) 0%, rgba(239,249,248,.28) 34%, rgba(239,249,248,.42) 66%, rgba(231,244,241,.18) 100%);
}
body.is-authenticated:not(.dashboard-promo) .site-shell { position: relative; z-index: 1; }
body.is-authenticated:not(.dashboard-promo) .site-header { background: rgba(255,255,255,.84); box-shadow: 0 1px 0 rgba(255,255,255,.88),0 12px 34px rgba(18,91,84,.045); }
button, input, select, textarea { font: inherit; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
svg { display: block; max-width: 100%; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #fff;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.icon { width: 1.15em; height: 1.15em; max-width: 1.15em; max-height: 1.15em; flex: 0 0 auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(191, 211, 206, .78);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  padding: 4px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(34,117,168,.18);
  box-shadow: 0 10px 22px rgba(24,94,151,.18);
}
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-mark.small { width: 34px; height: 34px; border-radius: 11px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.23rem; letter-spacing: -.025em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.menu-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  padding: 9px 12px;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}
.primary-nav {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-main, .nav-meta { display: flex; align-items: center; gap: 6px; }
.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-link:hover { background: var(--bg-soft); color: var(--brand-dark); }
.nav-link.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-link.active .icon { stroke-width: 2.2; }
.nav-dropdown { position: relative; }
.nav-dashboard-dropdown { display: flex; align-items: center; }
.nav-dashboard-dropdown > .nav-link { padding-right: 7px; }
.nav-dropdown-caret { display: grid; place-items: center; width: 28px; min-height: 36px; margin-left: -5px; padding: 0; border: 0; border-radius: 8px; color: var(--ink-soft); background: transparent; cursor: pointer; }
.nav-dropdown-caret:hover { color: var(--brand-dark); background: var(--bg-soft); }
.nav-dropdown-caret .icon { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-dropdown.is-open .nav-dropdown-caret .icon { transform: rotate(180deg); }
.nav-dropdown.active > .nav-link { background: var(--brand-soft); color: var(--brand-dark); }
.nav-dropdown-toggle { border: 0; background: transparent; cursor: pointer; }
.nav-dropdown-toggle .icon:last-child { width: 14px; height: 14px; margin-left: 1px; transition: transform .18s ease; }
.nav-dropdown.is-open .nav-dropdown-toggle .icon:last-child { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-dropdown-menu a { padding: 10px 12px; border-radius: 9px; color: var(--ink-soft); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-dashboard-dropdown .nav-dropdown-menu { max-height: min(70vh,420px); overflow-y: auto; }
.nav-records-menu > a { display:flex; align-items:center; gap:9px; }
.nav-records-menu > a > .icon { width:17px; height:17px; color:var(--primary); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nav-info-dropdown > .nav-link { color: #075f57; border: 1px solid #b8e1d8; background: linear-gradient(135deg,#f1fcf8,#e3f7f1); box-shadow: 0 8px 20px rgba(8,112,98,.09); }
.nav-info-dropdown > .nav-link:hover,.nav-info-dropdown.active > .nav-link { color: #064f49; border-color: #79cbbb; background: linear-gradient(135deg,#e5f9f3,#d6f2ea); }
.nav-info-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 19px; padding: 2px 6px; color: #fff; background: linear-gradient(135deg,#7c3aed,#a855f7); border-radius: 999px; font-size: .57rem; font-weight: 900; letter-spacing: .06em; }
.nav-info-menu { min-width: 275px; padding: 10px; }
.nav-info-menu > a { display: flex; align-items: center; gap: 10px; }
.nav-info-menu > a > .icon { width: 18px; height: 18px; color: var(--primary); }
.nav-info-menu .nav-info-pro-link { justify-content: flex-start; color: #5b21b6; background: #f7f0ff; }
.nav-info-menu .nav-info-pro-link:hover { color: #4c1d95; background: #efe4ff; }
.nav-info-menu .nav-info-pro-link .icon:last-child { width: 15px; height: 15px; margin-left: auto; color: currentColor; }
.nav-logout { color: var(--muted); }
.language-control {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}
.language-icon { color: var(--muted); padding-left: 3px; }
.language-switcher { display: inline-flex; gap: 2px; }
.language-switcher a {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.language-switcher a:hover { background: #fff; color: var(--ink); }
.language-switcher a.active { background: var(--surface); color: var(--brand-dark); box-shadow: 0 2px 8px rgba(17,61,55,.1); }
.language-dropdown { position: relative; min-height: 40px; padding: 3px; }
.language-dropdown-toggle { width: 48px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 6px; border-radius: 8px; color: var(--ink-soft); }
.language-dropdown-toggle:hover { color: var(--brand-dark); background: #fff; }
.language-dropdown-toggle .icon { width: 13px; height: 13px; }
.flag-icon { display: block; width: 25px; height: 18px; flex: 0 0 auto; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px rgba(20,55,50,.16),0 2px 5px rgba(20,55,50,.1); }
.language-dropdown-menu { right: 0; left: auto; min-width: 112px; grid-template-columns: repeat(2,44px); justify-content: center; }
.language-dropdown-menu a { min-height: 40px; display: grid; place-items: center; padding: 7px; }
.language-dropdown-menu a.active { box-shadow: inset 0 0 0 1px rgba(8,108,97,.2); }
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.user-pill:hover, .user-pill.active { border-color: var(--brand); background: #fff; color: var(--brand-dark); }
.user-menu { position: relative; }
.user-menu .user-pill { font: inherit; text-align: left; cursor: pointer; }
.user-menu .user-pill > .icon { width: 14px; height: 14px; margin-left: 1px; color: var(--ink-soft); }
.user-menu-dropdown { right: 0; left: auto; min-width: 205px; }
.user-menu-dropdown a { display: flex; align-items: center; gap: 9px; }
.user-menu-dropdown a .icon { width: 17px; height: 17px; }
.user-menu-dropdown .user-menu-logout { color: var(--muted); }
.user-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--aqua));
  font-weight: 800;
}
.user-copy { min-width: 0; display: grid; line-height: 1.05; }
.user-copy strong { max-width: 105px; overflow: hidden; text-overflow: ellipsis; font-size: .81rem; white-space: nowrap; }
.user-copy small { margin-top: 4px; color: var(--muted); font-size: .66rem; }

/* Main content */
.container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 42px 24px 78px;
  flex: 1;
}
.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); margin: 1.35em 0 .7em; }
h3 { font-size: 1.2rem; margin: .45em 0 .35em; }
p { margin: .6em 0 1em; }
.muted { color: var(--muted); font-size: .93rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.page-head > div:first-child { min-width: 0; }
.page-head > h1 { min-width: 0; margin-bottom: .1em; }
.page-head h1 { margin: .15em 0 .1em; }
.page-head p { margin: .3em 0 0; color: var(--muted); }
.page-head > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.button, button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 17px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(11,126,109,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 11px 25px rgba(11,126,109,.24); }
.button:active, button:active { transform: translateY(0); }
.button.secondary {
  background: var(--surface);
  color: var(--brand-dark);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover { background: var(--brand-soft); color: var(--brand-dark); }
.button.small { min-height: 36px; padding: 7px 11px; border-radius: 10px; font-size: .86rem; }
.button.danger {
  background: var(--danger);
  color: #fff;
  box-shadow: none;
}
.button.danger:hover { background: #862c2c; color: #fff; }
.button-nav { min-height: 40px; padding: 9px 13px; box-shadow: none; }

/* Landing hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: 42px 0;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
}
.hero::before { width: 280px; height: 280px; right: 12%; top: 8%; background: rgba(41,168,160,.08); }
.hero::after { width: 170px; height: 170px; left: -4%; bottom: 5%; border: 28px solid rgba(11,126,109,.06); }
.hero h1 {
  max-width: 790px;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.065em;
  margin: .18em 0 .3em;
  text-wrap: balance;
  font-weight: 600;
}
.is-guest .hero .eyebrow { font-weight: 700; }
.is-guest .hero .button { font-weight: 600; }
.hero > div:first-child > p:not(:last-child) {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero > div:first-child > p:last-child { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #123f39, #082925);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  top: -78px; right: -56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(123,226,213,.5), rgba(41,168,160,.07) 68%);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 22px auto;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: -80px -110px 0 -20px rgba(255,255,255,.05), -120px 12px 0 -28px rgba(255,255,255,.08);
}
.hero-card strong { position: relative; display: block; font-size: 1.4rem; margin-top: 19px; letter-spacing: -.02em; font-weight: 600; }
.hero-card strong:first-child { margin-top: 0; }
.hero-card p { position: relative; max-width: 310px; margin: .35em 0 1.15em; color: rgba(255,255,255,.72); }

/* Cards and dashboards */
.card, .campaign, .stat {
  border: 1px solid rgba(207,225,220,.9);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.card {
  padding: 25px;
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
article.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
section.card { margin-bottom: 22px; }
section.card > h1:first-child, section.card > h2:first-child { margin-top: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dashboard-aquariums { display: grid; gap: 24px; }
.dashboard-aquarium { padding: 24px; }
.dashboard-aquarium-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dashboard-aquarium-head h3 { margin: 5px 0; font-size: 1.55rem; }
.dashboard-aquarium-head p { margin: 0; color: var(--muted); }
.dashboard-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.dashboard-actions .inline-form { display: inline-flex; }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.admin-user-summary { display: flex; flex-direction: column; gap: 4px; margin: -4px 0 22px; padding: 16px 18px; border: 1px solid #cfe3df; border-radius: 15px; background: linear-gradient(135deg,#edf9f6,#f8fcfb); }
.admin-user-summary strong { color: var(--ink); font-size: 1.05rem; }
.admin-user-summary span { color: var(--ink-soft); }
.admin-user-summary small { color: var(--primary); font-weight: 750; }
.impersonation-banner,
.maintenance-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; }
.impersonation-banner { color: #fff; background: #6d28d9; box-shadow: 0 10px 28px rgba(109,40,217,.2); }
.impersonation-banner > div { display: grid; gap: 2px; }
.impersonation-banner .button { color: #4c1d95; background: #fff; border-color: #fff; }
.maintenance-notice { color: #6b4300; background: #fff5cc; border: 1px solid #e8c65c; }
.maintenance-notice strong { flex: 0 0 auto; }
.maintenance-settings { display: grid; gap: 20px; }
.maintenance-state { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; }
.maintenance-state.is-active { color: #8b1d1d; background: #fff1f1; border-color: #efb3b3; }
.maintenance-page { margin-top: min(12vh,100px); text-align: center; }
.maintenance-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 10px; color: #fff; background: var(--primary); border-radius: 18px; }
.maintenance-icon svg { width: 28px; height: 28px; }
.nav-pro-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: #5b21b6; font-size: .84rem; font-weight: 800; background: #f3e8ff; border: 1px solid #d8b4fe; border-radius: 11px; }
.nav-pro-link span,
.pro-badge,
.pro-mini-badge { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg,#7c3aed,#a855f7); border-radius: 999px; font-weight: 900; letter-spacing: .06em; }
.nav-pro-link span { padding: 3px 6px; font-size: .64rem; }
.pro-mini-badge { margin-left: 5px; padding: 2px 5px; font-size: .58rem; vertical-align: middle; }
/* Pro-gebruikers hebben geen verkooplabel nodig op functies waartoe ze al toegang hebben. */
.is-pro .pro-mini-badge,
.is-pro .button .pro-badge { display: none; }
.pro-locked-link { border-color: #c4b5fd !important; }
.pro-control { position: relative; }
.is-free .pro-control::after { content: "PRO"; display: inline-flex; margin-left: 7px; padding: 2px 6px; color: #fff; background: #7c3aed; border-radius: 999px; font-size: .62rem; font-weight: 900; letter-spacing: .05em; }
.pro-lock { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border-color: #d8b4fe; background: linear-gradient(135deg,#faf5ff,#fff); }
.pro-lock .pro-badge { width: 54px; height: 54px; font-size: .75rem; }
.pro-lock h2,.pro-lock p { margin: 0; }
.pro-lock p { margin-top: 5px; color: var(--muted); }
.pro-page-head { padding: 24px; color: #fff; background: linear-gradient(135deg,#4c1d95,#7c3aed 55%,#a855f7); border-radius: 20px; }
.pro-page-head .eyebrow,.pro-page-head p { color: #ede9fe; }
.pro-plan-status { align-self: flex-start; padding: 8px 12px; color: #5b21b6; background: #fff; border-radius: 999px; font-size: .78rem; font-weight: 900; }
.pro-plan-status.is-active { color: #166534; background: #dcfce7; }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.plan-card { position: relative; }
.plan-card.plan-pro { border: 2px solid #8b5cf6; box-shadow: 0 18px 40px rgba(124,58,237,.12); }
.plan-card > .pro-badge { position: absolute; top: 18px; right: 18px; padding: 5px 9px; font-size: .68rem; }
.feature-list { display: grid; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.pro-feature-notice { border-color: #c4b5fd; background: #faf5ff; }
.dashboard-columns { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; margin-top: 22px; }
.dashboard-columns section { min-width: 0; padding: 18px; background: var(--soft); border-radius: 14px; }
.dashboard-columns h4 { margin: 0 0 10px; font-size: .92rem; }
.dashboard-columns h4:not(:first-child) { margin-top: 20px; }
.analysis-status { display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 9px; border-radius: 999px; font-size: .76rem; font-weight: 850; }
.analysis-status.analysis-urgent { color: #991b1b; background: #fee2e2; }
.analysis-status.analysis-attention { color: #854d0e; background: #fef3c7; }
.analysis-status.analysis-ok { color: #166534; background: #dcfce7; }
.analysis-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-left: 5px solid var(--brand); }
.analysis-summary h2 { margin: 12px 0 5px; }
.analysis-summary p { margin: 0; }
.analysis-updated { color: var(--muted); text-align: right; }
.analysis-list { display: grid; gap: 12px; }
.analysis-list.compact { gap: 8px; }
.analysis-item { display: grid; grid-template-columns: 12px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.analysis-item h3, .analysis-item h5 { margin: 2px 0 5px; }
.analysis-item p { margin: 0; color: var(--muted); }
.analysis-list.compact .analysis-item { padding: 11px; }
.analysis-list.compact .analysis-item p { font-size: .82rem; }
.analysis-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: #64748b; }
.analysis-urgent .analysis-dot { background: #dc2626; box-shadow: 0 0 0 4px #fee2e2; }
.analysis-attention .analysis-dot { background: #d97706; box-shadow: 0 0 0 4px #fef3c7; }
.analysis-ok .analysis-dot { background: #16a34a; }
.analysis-info .analysis-dot { background: #0284c7; }
.analysis-category { color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.analysis-disclaimer { background: #f8fafc; }
.dashboard-date { margin: -5px 0 10px; color: var(--muted); font-size: .85rem; }
.value-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.value-chips span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; }
.warning-list { margin: 0; padding-left: 20px; color: #b42318; font-weight: 700; }
.status-ok { margin: 0; color: #16794b; font-weight: 700; }
.compact-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.compact-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.compact-list time { color: var(--muted); white-space: nowrap; }
.dashboard-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dashboard-costs span { display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: #fff; }
.grid article.card { position: relative; overflow: hidden; min-height: 175px; display: flex; flex-direction: column; align-items: flex-start; }
.grid article.card > * { max-width: 100%; overflow-wrap: anywhere; }
.grid article.card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border: 24px solid var(--brand-soft);
  border-radius: 50%;
  opacity: .72;
}
.grid article.card h2, .grid article.card h3 { position: relative; z-index: 1; }
.grid article.card p { color: var(--muted); }
.grid article.card > a:last-child { position: relative; z-index: 2; margin-top: auto; font-weight: 800; }
.card-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; font-weight: 800; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 30px;
}
.stat {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 23px 24px;
  border-radius: var(--radius);
}
.stat::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-soft), #eef9f6);
  box-shadow: inset 0 0 0 1px rgba(11,126,109,.06);
}
.stat::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 31px;
  right: 31px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brand);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.stat strong { display: block; padding-right: 55px; font-size: clamp(1.75rem, 4vw, 2.35rem); line-height: 1.1; letter-spacing: -.045em; }
.stat span { display: block; margin-top: 9px; color: var(--muted); font-weight: 650; }
.campaign {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
  gap: 28px;
  margin: 28px 0 34px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #e1f4ed 0%, #f9fcfb 52%, #fff7e7 100%);
  box-shadow: var(--shadow-md);
}
.campaign::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  right: 22%; bottom: -120px;
  border-radius: 50%;
  background: rgba(217,164,65,.12);
}
.campaign > div { position: relative; z-index: 1; }
.campaign h2 { max-width: 700px; margin: .25em 0 .35em; }
.campaign p { max-width: 680px; color: var(--ink-soft); }
.campaign img { width: 100%; height: 210px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-md); }

/* Forms */
form label { display: block; color: var(--ink-soft); font-size: .9rem; font-weight: 760; margin-bottom: 16px; }
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 13px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:hover, select:hover, textarea:hover { border-color: #9ebdb6; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11,126,109,.12);
}
textarea { min-height: 118px; resize: vertical; }
select { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.aquarium-volume-field { grid-column: 1 / -1; margin-top: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,108,97,.045); }
.aquarium-volume-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 7px; }
.aquarium-volume-input .button { margin: 0; white-space: nowrap; }
.aquarium-volume-summary { display: block; margin-top: 8px; color: var(--muted); font-weight: 500; }
.parameter-settings { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.parameter-settings legend { padding: 0 8px; font-weight: 800; }
.parameter-settings p { margin: 0; color: var(--muted); }
.parameter-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.parameter-settings-head .button { flex: 0 0 auto; }
.parameter-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 10px; }
.parameter-grid .check { margin: 0; }
.parameter-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 9px 10px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.parameter-row label { margin: 0; }
.parameter-row .check { grid-column: 1 / -1; min-height: 25px; align-items: center; }
.parameter-row .check input { flex: 0 0 auto; }
.parameter-row label:not(.check) { font-size: .78rem; }
.parameter-row input[type="number"] { min-height: 40px; margin-top: 4px; padding: 8px 10px; }
.inhabitant-water-settings .parameter-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.inhabitant-water-settings .parameter-row { align-items: start; }
.inhabitant-water-settings .parameter-row > strong { grid-column: 1 / -1; min-height: 1.4em; }
.inhabitant-water-settings .parameter-row label { min-width: 0; }
.inhabitant-water-settings .parameter-row input { width: 100%; }
@media (max-width: 980px) { .inhabitant-water-settings .parameter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .inhabitant-water-settings .parameter-grid { grid-template-columns: 1fr; } }
.parameter-row.parameter-inactive { opacity: .66; padding-block: 9px; background: var(--surface-soft); }
.parameter-row.parameter-inactive label:not(.check) { display: none; }
.parameter-reset { margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 9px; }
.check input { width: auto; margin: 0; accent-color: var(--brand); }
.current-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.current-upload img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.current-upload .check { margin: 0; }
.table-subline { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; white-space: nowrap; }
input[type="file"] { padding: 9px; }
.localized-file-control { position: relative; display: flex; align-items: center; gap: .7rem; min-width: 0; min-height: 44px; padding: 9px; border: 1px solid #bad2d0; border-radius: 12px; background: #fff; }
.localized-file-control > input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.localized-file-control:focus-within { outline: 2px solid #008b80; outline-offset: 2px; }
.localized-file-button { flex-shrink: 0; padding: .35rem .6rem; border: 1px solid #bad2d0; border-radius: 6px; background: #eef7f6; color: #244c48; }
.localized-file-status { min-width: 0; overflow-wrap: anywhere; }
.localized-file-control:has(input:disabled) { opacity: .6; }
.localized-file-control > input:disabled { cursor: not-allowed; }
form label > small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.stock-change-fields { margin-top: 18px; }
.co2-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 28px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(11,126,109,.12), transparent 34%),
    rgba(255,255,255,.96);
}
.co2-controls { display: grid; align-content: center; gap: 26px; }
.co2-control { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.co2-control-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.co2-control-head label { margin: 0; color: var(--ink); font-size: 1rem; }
.co2-control-head output { color: var(--brand-dark); font-size: 1.35rem; font-weight: 850; }
.co2-control input[type="range"] {
  appearance: none;
  width: calc(100% - 108px);
  height: 8px;
  display: inline-block;
  margin: 0 13px 0 0;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #c7d2fe, var(--brand));
  vertical-align: middle;
}
.co2-control input[type="range"]::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border: 4px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 8px rgba(4,77,68,.3); cursor: pointer; }
.co2-control input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 4px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 8px rgba(4,77,68,.3); cursor: pointer; }
.co2-control input[type="number"] { width: 90px; display: inline-block; margin: 0; vertical-align: middle; }
.co2-result { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 270px; padding: 26px; border-radius: 20px; color: #fff; background: linear-gradient(145deg,#0f766e,#115e59); box-shadow: 0 18px 40px rgba(9,93,82,.22); }
.co2-result[data-level="very-low"] { background: linear-gradient(145deg,#2563eb,#1d4ed8); }
.co2-result[data-level="low"] { background: linear-gradient(145deg,#0891b2,#0e7490); }
.co2-result[data-level="enough"] { background: linear-gradient(145deg,#16a34a,#15803d); }
.co2-result[data-level="high"] { background: linear-gradient(145deg,#ea580c,#c2410c); }
.co2-result[data-level="dangerous"] { background: linear-gradient(145deg,#dc2626,#991b1b); }
.co2-result .eyebrow { color: rgba(255,255,255,.75); }
.co2-result-value { display: flex; align-items: baseline; gap: 8px; margin: 13px 0 8px; }
.co2-result-value strong { font-size: clamp(3rem,7vw,5.2rem); line-height: .95; letter-spacing: -.06em; }
.co2-result-value span { font-size: 1.05rem; font-weight: 750; }
.co2-status { align-self: flex-start; padding: 6px 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; background: rgba(255,255,255,.14); font-weight: 800; }
.co2-meter { position: relative; display: grid; grid-template-columns: 5fr 15fr 20fr 20fr 20fr; height: 11px; margin-top: 28px; border: 2px solid rgba(255,255,255,.8); border-radius: 99px; box-shadow: 0 2px 7px rgba(0,0,0,.14); }
.co2-meter .co2-zone:first-child { border-radius: 99px 0 0 99px; }
.co2-meter .co2-zone:nth-last-child(2) { border-radius: 0 99px 99px 0; }
.co2-meter i { position: absolute; top: 50%; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #173a35; box-shadow: 0 2px 8px rgba(0,0,0,.35); transform: translate(-50%,-50%); transition: left .2s ease; }
.co2-zone.very-low,.co2-legend i.very-low { background: #2563eb; }
.co2-zone.low,.co2-legend i.low { background: #06b6d4; }
.co2-zone.enough,.co2-legend i.enough { background: #22c55e; }
.co2-zone.high,.co2-legend i.high { background: #f97316; }
.co2-zone.dangerous,.co2-legend i.dangerous { background: #dc2626; }
.co2-meter-labels { position: relative; height: 18px; color: rgba(255,255,255,.75); font-size: .72rem; margin-top: 5px; }
.co2-meter-labels span { position: absolute; transform: translateX(-50%); }
.co2-meter-labels span:nth-child(1) { left: 0; transform: none; }
.co2-meter-labels span:nth-child(2) { left: 6.25%; }
.co2-meter-labels span:nth-child(3) { left: 25%; }
.co2-meter-labels span:nth-child(4) { left: 50%; }
.co2-meter-labels span:nth-child(5) { left: 75%; }
.co2-meter-labels span:nth-child(6) { right: 0; transform: none; }
.co2-info-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.co2-info-grid .card { margin-bottom: 0; }
.co2-legend { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.co2-legend li { display: flex; align-items: center; gap: 12px; }
.co2-legend i { width: 13px; height: 36px; border-radius: 99px; }
.co2-legend span { display: grid; }
.co2-legend small { color: var(--muted); }
.co2-explanation .notice { margin-top: 20px; padding: 17px; border-left: 4px solid #d97706; border-radius: 10px; background: #fffbeb; }
.co2-explanation .notice p { margin-bottom: 0; }
.watermix-tabs { display: flex; gap: 7px; margin-bottom: 18px; padding: 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: var(--shadow-sm); }
.watermix-tabs button { min-height: 42px; flex: 1 0 auto; padding: 9px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-soft); font-weight: 800; cursor: pointer; }
.watermix-tabs button:hover { background: var(--bg-soft); color: var(--brand-dark); }
.watermix-tabs button.active { background: var(--brand); color: #fff; box-shadow: 0 7px 16px rgba(11,126,109,.18); }
.watermix-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
.watermix-grid .watermix-card { width: 100%; max-width: 920px; margin-inline: auto; }
.watermix-card { margin-bottom: 0; overflow: hidden; }
.watermix-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.watermix-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: #fff; background: linear-gradient(145deg,var(--aqua),var(--brand-dark)); box-shadow: 0 9px 22px rgba(11,126,109,.18); }
.watermix-icon .icon { width: 23px; height: 23px; }
.watermix-card-head h2 { margin: 0 0 3px; font-size: 1.35rem; }
.watermix-card-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.watermix-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.watermix-fields label { margin: 0; }
.input-unit { position: relative; display: block; margin-top: 7px; }
.input-unit input { margin: 0; padding-right: 58px; }
.input-unit span { position: absolute; right: 15px; top: 50%; color: var(--muted); font-size: .83rem; font-weight: 800; transform: translateY(-50%); pointer-events: none; }
.watermix-result { margin-top: 22px; padding: 20px; border-radius: 16px; color: #fff; background: linear-gradient(145deg,#0f766e,#115e59); box-shadow: 0 14px 30px rgba(9,93,82,.16); }
.watermix-result .eyebrow { color: rgba(255,255,255,.72); }
.watermix-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.watermix-amounts span { display: grid; gap: 2px; padding: 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.1); }
.watermix-amounts strong { font-size: 1.55rem; line-height: 1.1; }
.watermix-ratio { margin: 0; color: rgba(255,255,255,.88); }
.watermix-error { margin: 12px 0 0; color: #fee2e2; font-weight: 700; }
.substrate-calculator { --substrate-front: 35%; --substrate-back: 70%; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 28px; padding: 30px; overflow: hidden; background: radial-gradient(circle at 94% 10%,rgba(11,126,109,.12),transparent 34%),rgba(255,255,255,.96); }
.substrate-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.substrate-fields label { margin: 0; }
.substrate-density-field { grid-column: 1 / -1; }
.substrate-result-panel { display: flex; flex-direction: column; justify-content: center; min-height: 390px; padding: 25px; border-radius: 20px; color: #fff; background: linear-gradient(145deg,#0b7e6d,#075e55); box-shadow: 0 18px 40px rgba(9,93,82,.22); }
.substrate-result-panel .eyebrow { color: rgba(255,255,255,.76); }
.substrate-visual { position: relative; height: 130px; margin-bottom: 22px; overflow: hidden; border: 2px solid rgba(255,255,255,.44); border-top-width: 5px; border-radius: 9px 9px 20px 20px; background: linear-gradient(180deg,rgba(56,189,248,.22),rgba(153,246,228,.1)); }
.substrate-waterline { position: absolute; inset: 24px 0 auto; border-top: 1px dashed rgba(255,255,255,.48); }
.substrate-layer { position: absolute; inset: 0; background: linear-gradient(145deg,#d3a66e,#8a5a32); clip-path: polygon(0 calc(100% - var(--substrate-front)),100% calc(100% - var(--substrate-back)),100% 100%,0 100%); transition: clip-path .2s ease; }
.substrate-layer::after { content: ''; position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(circle,#5b371d 0 2px,transparent 2.6px); background-size: 13px 11px; }
.substrate-front-label,.substrate-back-label { position: absolute; z-index: 1; bottom: 7px; color: rgba(255,255,255,.82); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.substrate-front-label { left: 9px; }
.substrate-back-label { right: 9px; }
.substrate-main-result { display: flex; align-items: baseline; gap: 10px; margin: 9px 0 18px; }
.substrate-main-result strong { font-size: clamp(3.2rem,6vw,5rem); line-height: .94; letter-spacing: -.05em; }
.substrate-main-result span { max-width: 110px; color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 750; }
.substrate-result-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.substrate-result-grid div { display: grid; gap: 3px; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.09); }
.substrate-result-grid span { color: rgba(255,255,255,.72); font-size: .75rem; }
.substrate-result-grid strong { font-size: 1.05rem; }
.substrate-error { margin: 15px 0 0; color: #fee2e2; font-weight: 750; }
.substrate-result-panel.has-error { background: linear-gradient(145deg,#b45309,#92400e); }
.substrate-explanation .notice { margin-top: 18px; padding: 17px; border-left: 4px solid #d97706; border-radius: 10px; background: #fffbeb; }
.substrate-explanation .notice p { margin-bottom: 0; }
.cycling-settings { margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.cycling-settings legend { padding: 0 8px; color: var(--ink); font-size: 1.08rem; font-weight: 850; }
.cycling-settings > .check { margin-bottom: 16px; }
.breeding-settings { margin-top: 18px; padding: 18px; border: 1px solid #cfe4de; border-radius: 14px; background: #f2faf7; }
.breeding-settings h3 { margin: 0 0 14px; font-size: 1.02rem; }
.breeding-settings .species-name-field { position: relative; }
.breeding-species-summary { display: grid; gap: 2px; margin-top: 14px; padding: 13px 15px; border-radius: 11px; background: #fff; color: var(--ink); }
.breeding-species-summary span { color: var(--muted); font-size: .9rem; }
.cycling-species { margin: -6px 0 18px; padding: 12px 15px; border-radius: 11px; background: var(--surface-soft); }
.cycling-criteria { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.cycling-card { border-top: 4px solid #d97706; }
.cycling-card.cycling-probable { border-top-color: #16a34a; }
.cycling-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cycling-head h2 { margin: 3px 0; }
.cycling-head p { margin: 0; color: var(--muted); }
.cycling-guidance { padding: 17px 19px; border-radius: 14px; }
.cycling-guidance p { margin: 5px 0 0; }
.cycling-guidance.waiting { border: 1px solid #fed7aa; background: #fff7ed; color: #9a3412; }
.cycling-guidance.ready { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; }
.cycling-due { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; font-weight: 750; }
.cycling-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 24px; margin-top: 24px; }
.cycling-layout h3 { margin: 0 0 12px; font-size: 1.05rem; }
.cycling-milestones { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.cycling-milestones li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.cycling-milestones li > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--line-strong); border-radius: 50%; font-size: .75rem; font-weight: 900; }
.cycling-milestones li.done { color: var(--ink); font-weight: 700; }
.cycling-milestones li.done > span { border-color: #16a34a; background: #dcfce7; color: #166534; }
.cycling-table th, .cycling-table td { padding: 10px 12px; white-space: nowrap; }
.cycling-disclaimer { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.row-actions .button[aria-label="Aanpassen"],
.row-actions .button[aria-label="Edit"],
.row-actions .button[aria-label="Modifier"],
.row-actions .button[aria-label="Bearbeiten"],
.row-actions .button[aria-label="Verwijderen"],
.row-actions .button[aria-label="Delete"],
.row-actions .button[aria-label="Supprimer"],
.row-actions .button[aria-label="Löschen"],
.row-actions .button[aria-label="Taak afronden"],
.row-actions .button[aria-label="Complete task"],
.row-actions .button[aria-label="Terminer la tâche"],
.row-actions .button[aria-label="Aufgabe abschließen"] {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.row-actions .button[aria-label] .icon { width: 18px; height: 18px; margin: 0; }
.row-actions .button.danger[aria-label] { background: #fff; color: var(--danger); border: 1px solid rgba(185, 48, 53, .32); box-shadow: none; }
.row-actions .button.danger[aria-label]:hover { background: #fff1f2; border-color: var(--danger); transform: translateY(-1px); }
.row-actions .button.complete[aria-label] { background: var(--success-soft); color: var(--success); border: 1px solid #b8e5cf; box-shadow: none; }
.row-actions .button.complete[aria-label]:hover { background: #d5f2e4; color: #10583e; border-color: var(--success); transform: translateY(-1px); }
form > button:last-child { margin-top: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.inline-form { display: inline-flex; margin: 0; }
.row-actions { display: flex; align-items: center; gap: 8px; }
.plant-name-picker { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 7px; }
.plant-name-picker input { margin-top: 0; }
.plant-search-button { min-width: 172px; box-shadow: none; }
.species-name-field { position: relative; }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: .78rem; font-weight: 500; }
.species-suggestions { position: absolute; z-index: 20; top: calc(100% - 15px); left: 0; right: 0; max-height: 330px; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-md); }
.species-suggestion { display: grid; width: 100%; min-height: auto; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); text-align: left; box-shadow: none; }
.species-suggestion:last-child { border-bottom: 0; }
.species-suggestion:hover, .species-suggestion:focus-visible { background: var(--brand-soft); color: var(--ink); transform: none; }
.species-suggestion strong { font-size: .92rem; }
.species-suggestion em { margin-top: 2px; color: var(--ink-soft); font-size: .82rem; }
.species-suggestion span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.species-suggestion-message { margin: 0; padding: 14px; color: var(--muted); font-size: .86rem; }
.species-info { margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.species-info h2 { margin: 0 0 16px; font-size: 1.15rem; }
.species-info-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; }
.species-info-grid > div { min-width: 0; padding: 11px; border-radius: 10px; background: var(--surface); }
.species-info-grid dt { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.species-info-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); font-weight: 700; }

.product-picker {
  width: min(1040px, calc(100% - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.product-picker::backdrop { background: rgba(4,28,25,.58); backdrop-filter: blur(3px); }
.product-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.product-picker-head h2 { margin: .2em 0 .7em; }
.product-picker-close { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; font-size: 1.65rem; box-shadow: none; }
.product-search-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; margin-bottom: 16px; }
.product-search-form input { margin: 0; }
.product-picker-status { min-height: 24px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); }
.product-card > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-soft); }
.product-card-content { padding: 15px; }
.product-card h3 { margin: 0 0 8px; font-size: 1rem; overflow-wrap: anywhere; }
.product-price { margin: 0 0 13px; color: var(--brand-dark); font-weight: 800; }
.product-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.product-load-more { display: flex; margin: 18px auto 0; }
.product-load-more[hidden] { display: none; }
.danger-zone { border-color: #efbcbc; background: linear-gradient(180deg,#fff 0%,var(--danger-soft) 180%); }
.danger-zone h2 { color: var(--danger); }
.profile-summary { display: flex; align-items: center; gap: 20px; }
.profile-summary h2, .profile-summary p { margin: 0 0 6px; }
.profile-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; background: linear-gradient(145deg,var(--brand),var(--aqua)); font-size: 2rem; font-weight: 850; box-shadow: 0 10px 28px rgba(8,108,97,.2); }
.profile-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
.profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.profile-grid .card { margin: 0; }
.profile-contact-fields { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.profile-contact-fields legend { padding: 0 7px; color: var(--ink); font-weight: 850; }
.profile-contact-fields > .field-hint { display: block; margin: 0 0 14px; }
.profile-contact-fields .form-grid { gap: 0 12px; }
.plant-image-cell { width: 76px; text-align: center; }
.plant-photo-editor { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #f8fcfb; }
.plant-photo-editor legend { padding: 0 8px; color: var(--ink); font-weight: 850; }
.plant-photo-grid { display: grid; grid-template-columns: minmax(180px,280px) minmax(180px,280px) minmax(240px,1fr); gap: 16px; align-items: stretch; }
.plant-photo-grid article { display: grid; align-content: start; gap: 8px; min-height: 220px; padding: 12px; border: 1px solid #dbe9e6; border-radius: 14px; background: #fff; }
.plant-photo-grid article img { width: 100%; height: 170px; object-fit: contain; border-radius: 10px; background: #f2f7f5; }
.plant-photo-grid article small { color: var(--muted); font-size: .72rem; }
.plant-photo-controls { display: grid; align-content: center; gap: 14px; padding: 8px; }
.plant-photo-placeholder { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 170px; border-radius: 10px; color: var(--muted); background: #eef6f3; }
.plant-photo-placeholder .icon { width: 34px; height: 34px; color: var(--brand); }
@media (max-width: 850px) { .plant-photo-grid { grid-template-columns: 1fr 1fr; }.plant-photo-controls { grid-column: 1 / -1; } }
@media (max-width: 560px) { .plant-photo-grid { grid-template-columns: 1fr; }.plant-photo-controls { grid-column: auto; }.plant-photo-grid article { min-height: 0; } }
.plant-thumbnail-button { display: inline-flex; width: 58px; height: 58px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); box-shadow: none; cursor: zoom-in; }
.plant-thumbnail { width: 100%; height: 100%; object-fit: cover; }
.plant-thumbnail-empty { color: var(--muted); }
.plants-table-wrap { overflow-x: hidden; }
.plants-table { table-layout: fixed; }
.plants-table th { padding-inline: 12px; white-space: nowrap; }
.plants-table td { padding: 14px 12px; white-space: normal; }
.plants-table th:nth-child(1) { width: 11%; }
.plants-table th:nth-child(2) { width: 39%; }
.plants-table th:nth-child(3) { width: 7%; }
.plants-table th:nth-child(4) { width: 12%; }
.plants-table th:nth-child(5) { width: 12%; }
.plants-table th:nth-child(6) { width: 9%; }
.plants-table th:nth-child(7) { width: 92px; }
.plants-table .plant-quantity,
.plants-table .plant-status,
.plants-table .plant-actions { overflow-wrap: normal; }
.plants-table .row-actions { justify-content: flex-start; }
.plant-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.plant-identity .plant-thumbnail-button { flex: 0 0 58px; }
.plant-identity > div { min-width: 0; }
.plant-identity strong { display: block; color: var(--ink); font-size: .96rem; line-height: 1.35; font-weight: 720; }
.plant-identity em { display: block; margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.3; }
.plants-table .plant-position,
.plants-table .plant-difficulty { word-break: normal; overflow-wrap: normal; hyphens: none; }

@media (max-width: 1050px) {
  .plants-list-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .plants-table-wrap { overflow: visible; border: 0; background: transparent; }
  .plants-table, .plants-table tbody { display: block; width: 100%; }
  .plants-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .plants-table tbody { display: grid; gap: 14px; }
  .plants-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .45fr) auto; gap: 0 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
  .plants-table td { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding: 7px 0; border: 0; }
  .plants-table td::before { content: attr(data-label); flex: 0 0 128px; color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
  .plants-table .plant-identity-cell { grid-column: 1 / 4; grid-row: 1; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
  .plants-table .plant-identity-cell::before { display: none; }
  .plants-table .plant-identity .plant-thumbnail-button { width: 74px; height: 74px; flex-basis: 74px; }
  .plants-table .plant-identity strong { font-size: 1.06rem; }
  .plants-table .plant-aquarium { grid-column: 1 / 3; grid-row: 2; }
  .plants-table .plant-quantity { grid-column: 1 / 3; grid-row: 3; }
  .plants-table .plant-position { grid-column: 1 / 3; grid-row: 4; }
  .plants-table .plant-difficulty { grid-column: 1 / 3; grid-row: 5; }
  .plants-table .plant-status { grid-column: 3; grid-row: 2 / span 2; align-self: start; justify-content: flex-end; }
  .plants-table .plant-status::before { display: none; }
  .plants-table .plant-actions { grid-column: 1 / 4; grid-row: 6; margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--line); }
  .plants-table .plant-actions::before { display: none; }
  .plants-table .plants-empty { display: block; }
  .plants-table .plants-empty td { display: block; padding: 18px; }
}

@media (max-width: 560px) {
  .plants-table tr { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 14px; }
  .plants-table .plant-identity-cell { grid-column: 1 / 3; }
  .plants-table .plant-identity .plant-thumbnail-button { width: 64px; height: 64px; flex-basis: 64px; }
  .plants-table td::before { flex-basis: 106px; }
  .plants-table .plant-aquarium,
  .plants-table .plant-quantity { grid-column: 1 / 3; }
  .plants-table .plant-aquarium { grid-row: 3; }
  .plants-table .plant-quantity { grid-row: 4; }
  .plants-table .plant-position,
  .plants-table .plant-difficulty { grid-column: 1 / 3; }
  .plants-table .plant-position { grid-row: 5; }
  .plants-table .plant-difficulty { grid-row: 6; }
  .plants-table .plant-status { grid-column: 2; grid-row: 2; }
  .plants-table .plant-actions { grid-column: 1 / 3; grid-row: 7; }
}

/* Onderhoud en gebeurtenissen */
.events-table-wrap { overflow-x: hidden; }
.events-table { table-layout: fixed; }
.events-table th { padding-inline: 12px; white-space: nowrap; }
.events-table td { padding: 15px 12px; white-space: normal; vertical-align: middle; }
.events-table th:nth-child(1) { width: 11%; }
.events-table th:nth-child(2) { width: 13%; }
.events-table th:nth-child(3) { width: 22%; }
.events-table th:nth-child(4) { width: 31%; }
.events-table th:nth-child(5) { width: 15%; }
.events-table th:nth-child(6) { width: 136px; }
.event-date time { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.event-title { color: var(--ink-soft); font-weight: 500; line-height: 1.4; }
.event-kind { display: flex; align-items: center; gap: 11px; min-width: 0; }
.event-kind > span { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; color: var(--primary); background: var(--brand-soft); }
.event-kind > span .icon { width: 18px; height: 18px; }
.event-kind-gebeurtenis > span { color: #7c3aed; background: #f3e8ff; }
.event-kind > div { min-width: 0; }
.event-kind strong, .event-kind small { display: block; }
.event-kind strong { color: var(--ink-soft); line-height: 1.25; font-weight: 600; }
.event-kind small { margin-top: 4px; color: var(--muted); font-size: .76rem; }
.event-planning { display: grid; justify-items: start; gap: 7px; }
.event-planning small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.events-table .event-actions { overflow-wrap: normal; }
.events-table .row-actions { justify-content: flex-start; flex-wrap: nowrap; gap: 6px; }
.aquarium-events-table { table-layout: fixed; min-width: 940px; }
.aquarium-events-table th:nth-child(1) { width: 14%; }
.aquarium-events-table th:nth-child(2) { width: 10%; }
.aquarium-events-table th:nth-child(3) { width: 14%; }
.aquarium-events-table th:nth-child(4) { width: 30%; }
.aquarium-events-table th:nth-child(5) { width: 10%; }
.aquarium-events-table th:nth-child(6) { width: 12%; }
.aquarium-events-table th:nth-child(7) { width: 136px; }
.aquarium-events-table td { white-space: normal; }
.aquarium-events-table .row-actions { flex-wrap: nowrap; gap: 6px; }

@media (max-width: 980px) {
  .events-list-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .events-table-wrap { overflow: visible; border: 0; background: transparent; }
  .events-table, .events-table tbody { display: block; width: 100%; }
  .events-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .events-table tbody { display: grid; gap: 14px; }
  .events-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
  .events-table td { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding: 7px 0; border: 0; }
  .events-table td::before { content: attr(data-label); flex: 0 0 100px; color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
  .events-table .event-title { grid-column: 1 / 3; grid-row: 1; padding: 0 0 14px; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
  .events-table .event-title::before { display: none; }
  .events-table .event-kind-cell { grid-column: 1; grid-row: 2; padding-top: 14px; }
  .events-table .event-kind-cell::before { display: none; }
  .events-table .event-planning-cell { grid-column: 2; grid-row: 2 / span 2; align-items: flex-start; justify-content: flex-end; padding-top: 14px; }
  .events-table .event-planning-cell::before { display: none; }
  .events-table .event-date { grid-column: 1; grid-row: 3; }
  .events-table .event-aquarium { grid-column: 1; grid-row: 4; }
  .events-table .event-actions { grid-column: 1 / 3; grid-row: 5; margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--line); }
  .events-table .event-actions::before { display: none; }
  .events-table .events-empty { display: block; }
  .events-table .events-empty td { display: block; padding: 18px; }
}

@media (max-width: 560px) {
  .events-table tr { grid-template-columns: 1fr; gap: 0; padding: 15px; }
  .events-table .event-title,
  .events-table .event-kind-cell,
  .events-table .event-planning-cell,
  .events-table .event-date,
  .events-table .event-aquarium,
  .events-table .event-actions { grid-column: 1; }
  .events-table .event-title { grid-row: 1; }
  .events-table .event-kind-cell { grid-row: 2; }
  .events-table .event-planning-cell { grid-row: 3; justify-content: flex-start; padding-top: 9px; }
  .events-table .event-date { grid-row: 4; }
  .events-table .event-aquarium { grid-row: 5; }
  .events-table .event-actions { grid-row: 6; }
}
.image-lightbox { width: min(920px,calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 12px; overflow: visible; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(4,28,25,.35); }
.image-lightbox::backdrop { background: rgba(4,28,25,.76); backdrop-filter: blur(3px); }
.image-lightbox img { display: block; width: 100%; max-height: calc(100vh - 48px); object-fit: contain; border-radius: 12px; }
.image-lightbox-close { position: absolute; top: -12px; right: -12px; display: grid; place-items: center; width: 42px; min-height: 42px; padding: 0; border: 3px solid #fff; border-radius: 50%; font-size: 1.65rem; line-height: 1; box-shadow: 0 8px 24px rgba(4,28,25,.3); }

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}
.alert-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: .47em; border-radius: 50%; background: currentColor; }
.alert.success { background: var(--success-soft); border-color: #c4e9d7; color: var(--success); }
.alert.error { background: var(--danger-soft); border-color: #f5cccc; color: var(--danger); }

/* Charts */
.chart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.chart-head h2 { margin: 0; }
.chart-tools { display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.chart-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.chart-selector { width: min(100%, 280px); min-width: 220px; margin: 0; }
.chart-selector select { margin-top: 5px; }
canvas#chart {
  display: block;
  max-width: 100%;
}
.aquarium-chart-canvas { position: relative; width: 100%; height: clamp(320px,34vw,440px); }
.aquarium-chart-canvas canvas#chart { width: 100% !important; height: 100% !important; }
.chart-event-key { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 10px 0 4px; color: var(--muted); font-size: .84rem; font-weight: 750; }
.chart-event-key span { display: inline-flex; align-items: center; gap: 7px; }
.chart-category-swatch { display: block; flex: 0 0 24px; width: 24px; height: 24px; }
.chart-event-key[hidden] { display: none; }

/* Tables */


/* Product planning table: compact desktop layout without hidden action column */
.product-table-wrap { overflow-x: hidden; }
.product-table { table-layout: fixed; font-size: .84rem; }
.product-table .product-col-type { width: 8%; }
.product-table .product-col-name { width: 11%; }
.product-table .product-col-dose { width: 18%; }
.product-table .product-col-stock { width: 11%; }
.product-table .product-col-expiry { width: 9%; }
.product-table .product-col-last { width: 10%; }
.product-table .product-col-next { width: 10%; }
.product-table .product-col-actions { width: 23%; }
.product-table th,
.product-table td { padding: 11px 9px; vertical-align: middle; }
.product-table th { font-size: .66rem; letter-spacing: .055em; white-space: normal; line-height: 1.2; }
.product-table td:nth-child(1),
.product-table td:nth-child(2),
.product-table td:nth-child(3),
.product-table td:nth-child(4) { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
.product-table td:nth-child(5),
.product-table td:nth-child(6),
.product-table td:nth-child(7) { font-variant-numeric: tabular-nums; }
.product-table .product-row-actions { flex-wrap: nowrap; gap: 4px; }
.product-table .product-row-actions .button.small { min-height: 32px; padding: 5px 7px; border-radius: 9px; font-size: .76rem; }
.product-table .product-row-actions .button[aria-label] { width: 32px; height: 32px; min-height: 32px; padding: 0; border-radius: 9px; }
.product-table .product-row-actions .button[aria-label] .icon { width: 16px; height: 16px; }
.product-table .product-actions-cell { padding-right: 7px; }

@media (max-width: 980px) {
  .product-table-wrap { overflow-x: auto; }
  .product-table { min-width: 940px; }
}

/* Dosing history: keep edit/delete actions visible on desktop */
.dosage-history-table { table-layout: fixed; }
.dosage-history-table th,
.dosage-history-table td { white-space: normal; vertical-align: middle; }
.dosage-history-table th:nth-child(1) { width: 18%; }
.dosage-history-table th:nth-child(2) { width: 20%; }
.dosage-history-table th:nth-child(3) { width: 32%; }
.dosage-history-table th:nth-child(4) { width: 20%; }
.dosage-history-table th:nth-child(5) { width: 10%; min-width: 92px; }
.dosage-history-table .dosage-actions-cell { padding-right: 10px; }
.dosage-history-table .dosage-row-actions { flex-wrap: nowrap; gap: 6px; }
.dosage-history-table .dosage-row-actions .button[aria-label] { width: 34px; height: 34px; min-height: 34px; border-radius: 9px; }
.dosage-history-table .dosage-row-actions .button[aria-label] .icon { width: 16px; height: 16px; }
@media (max-width: 780px) {
  .dosage-history-wrap { overflow-x: auto; }
  .dosage-history-table { min-width: 760px; }
}

.table-wrap {
  width: 100%;
  overflow: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfdfc; }
td em { color: var(--muted); }
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 750;
}
.status-actief { background: var(--success-soft); color: var(--success); }
.status-verwijderd, .status-afgestorven { background: var(--danger-soft); color: var(--danger); }
.status-voltooid { background: var(--success-soft); color: var(--success); }
.status-gepland { background: #fff4d7; color: #8a5a00; }
.status-geannuleerd { background: var(--danger-soft); color: var(--danger); }
code { background: #eaf1ef; padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.66);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand > span:last-child { display: grid; line-height: 1.1; }
.footer-brand strong { font-size: .9rem; }
.footer-brand small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.footer-feedback { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.footer-feedback a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; color: var(--primary); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; }
.footer-feedback a:hover { background: #e4f4ef; border-color: #9fc9be; }
.footer-feedback .icon { width: 16px; height: 16px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 14px; }
.footer-legal a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-legal a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { margin: 0; color: var(--muted); font-size: .88rem; }
.site-footer a { font-weight: 750; }
.legal-page { max-width: 1040px; margin: 0 auto; }
.legal-page-head { align-items: flex-end; }
.legal-page-head p { max-width: 760px; }
.legal-updated { flex: 0 0 auto; padding: 8px 12px; color: var(--muted); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }
.legal-tabs { position: sticky; top: 76px; z-index: 8; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 9px; background: rgba(246,252,250,.92); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 28px rgba(10,78,69,.08); backdrop-filter: blur(12px); }
.legal-tabs a { padding: 9px 13px; color: var(--muted); border-radius: 10px; font-size: .86rem; font-weight: 800; text-decoration: none; }
.legal-tabs a:hover,.legal-tabs a.active { color: var(--primary); background: #e1f4ef; }
.legal-document { padding: clamp(22px,4vw,48px); }
.legal-document > section { padding: 0 0 25px; margin: 0 0 25px; border-bottom: 1px solid var(--line); }
.legal-document > section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-document h2 { margin: 0 0 11px; font-size: clamp(1.1rem,2vw,1.35rem); }
.legal-document p { max-width: 82ch; margin: 0 0 10px; color: #48635f; line-height: 1.75; }
.legal-source-list { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.legal-contact { padding: 22px !important; background: var(--surface-soft); border: 1px solid var(--line) !important; border-radius: 16px; }
.legal-contact dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 20px; margin: 0; }
.legal-contact dl div { min-width: 0; }
.legal-contact dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.legal-contact dd { margin: 3px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.legal-acceptance { align-items: flex-start; padding: 12px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; }
.legal-acceptance input { margin-top: 3px; }
.legal-acceptance span { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.feedback-form-card { max-width: 850px; }
.feedback-admin-list { display: grid; gap: 16px; }
.feedback-admin-item { margin: 0; }
.feedback-admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.feedback-admin-head h2,.feedback-admin-head p { margin: 0 0 5px; }
.feedback-message { margin: 18px 0; padding: 16px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; white-space: normal; }
.feedback-admin-item details { margin: 12px 0; }
.feedback-admin-item details code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.status-new { color: #075985; background: #e0f2fe; }
.status-review { color: #854d0e; background: #fef9c3; }
.status-planned { color: #5b21b6; background: #f3e8ff; }
.status-resolved { color: #166534; background: #dcfce7; }
.status-closed { color: #475569; background: #e2e8f0; }

/* Responsive */
@media (max-width: 1080px) {
  .user-copy { display: none; }
  .user-pill { padding-right: 4px; }
  .nav-link { padding-inline: 10px; }
  .nav-info-label { display: none; }
}

/* The longer maintenance label remains readable on compact laptop/tablet widths. */
@media (min-width: 921px) and (max-width: 1180px) {
  .header-inner { padding-inline: 16px; }
  .primary-nav { gap: 8px; }
  .nav-main, .nav-meta { gap: 3px; }
  .nav-link { gap: 6px; padding-inline: 7px; font-size: .82rem; }
  .nav-dropdown-caret { width: 24px; }
}

@media (max-width: 920px) {
  :root { --header-height: 68px; }
  .header-inner { min-height: var(--header-height); padding: 0 18px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 13px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    display: block;
    padding: 16px 18px 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 50px rgba(17,61,55,.15);
    transform: translateY(-115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .18s ease;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-main, .nav-meta { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .nav-dropdown, .nav-dropdown-toggle { width: 100%; }
  .nav-dropdown-menu { position: static; min-width: 0; display: none; margin: 4px 0 6px 34px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.is-open .nav-dropdown-menu, .nav-dropdown.active .nav-dropdown-menu { display: grid; }
  .nav-meta { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
  .nav-link, .button-nav { width: 100%; justify-content: flex-start; min-height: 46px; padding: 11px 13px; }
  .nav-dashboard-dropdown { display: grid; grid-template-columns: 1fr 42px; width: 100%; }
  .nav-dashboard-dropdown > .nav-link { width: auto; }
  .nav-dropdown-caret { width: 42px; min-height: 46px; margin: 0; }
  .nav-dashboard-dropdown .nav-dropdown-menu { grid-column: 1 / -1; }
  .nav-info-label { display: inline; }
  .language-control { justify-content: space-between; padding: 6px 8px; }
  .language-switcher { margin-left: auto; }
  .language-dropdown { display: grid; padding: 5px 7px; }
  .language-dropdown-toggle { width: 100%; justify-content: space-between; }
  .language-dropdown-menu { width: max-content; grid-template-columns: repeat(4,44px); justify-self: end; margin: 5px 0 0; }
  .user-pill { border-radius: 12px; padding: 7px; }
  .user-copy { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.5rem); }
  .hero-card { max-width: 680px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign { grid-template-columns: 1fr; }
  .campaign img { height: min(36vw, 260px); }
  .species-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .co2-calculator, .co2-info-grid, .substrate-calculator { grid-template-columns: 1fr; }
  .parameter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .aquarium-volume-input { grid-template-columns: 1fr; }
  .profile-stats, .profile-grid { grid-template-columns: 1fr; }
  .profile-summary { align-items: flex-start; }
  .container { padding: 28px 16px 58px; }
  .brand-copy small { display: none; }
  .menu-toggle span { display: none; }
  .menu-toggle { width: 42px; height: 42px; justify-content: center; padding: 0; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.45rem); }
  .hero > div:first-child > p:last-child { display: grid; grid-template-columns: 1fr; }
  .hero .button { width: 100%; }
  .hero-card { padding: 24px; }
  .page-head { align-items: stretch; flex-direction: column; gap: 16px; }
  .page-head > .button { width: 100%; }
  .page-head > div:last-child { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .page-head > div:last-child .button:only-child { grid-column: 1 / -1; }
  .stats, .grid { grid-template-columns: 1fr; }
  .dashboard-aquarium-head { flex-direction: column; }
  .dashboard-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .dashboard-actions .button { width: 100%; }
  .dashboard-actions .inline-form { display: block; }
  .dashboard-actions .inline-form .button { height: 100%; }
  .impersonation-banner,
  .maintenance-notice,
  .maintenance-state { align-items: stretch; flex-direction: column; }
  .impersonation-banner form,
  .impersonation-banner .button { width: 100%; }
  .pro-lock { grid-template-columns: 1fr; }
  .pro-lock .pro-badge { width: auto; height: auto; justify-self: start; padding: 5px 9px; }
  .plan-grid { grid-template-columns: 1fr; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .analysis-summary { align-items: flex-start; flex-direction: column; }
  .analysis-updated { text-align: left; }
  .stat { min-height: 116px; }
  .card, .campaign { padding: 20px; border-radius: 16px; }
  .campaign { margin-inline: -2px; }
  .campaign img { height: 210px; }
  .form-grid { grid-template-columns: 1fr; }
  .parameter-settings-head { align-items: stretch; flex-direction: column; }
  .parameter-settings-head .button { width: 100%; }
  .parameter-grid { grid-template-columns: 1fr; }
  .parameter-row { grid-template-columns: 1fr 1fr; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .chart-head { align-items: stretch; }
  .chart-tools { display: grid; grid-template-columns: 1fr; justify-items: stretch; }
  .chart-tools .button { width: 100%; }
  .chart-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .aquarium-page-head > div:first-child:last-child { display: block; width: auto; }
  .chart-selector { width: 100%; min-width: 0; }
  .species-info-grid { grid-template-columns: 1fr; }
  .co2-calculator { padding: 20px; gap: 20px; }
  .co2-control { padding: 17px; }
  .co2-control input[type="range"] { width: 100%; margin: 0 0 16px; }
  .co2-control input[type="number"] { width: 100%; }
  .co2-result { min-height: 235px; padding: 22px; }
  .watermix-grid, .watermix-fields { grid-template-columns: 1fr; }
  .watermix-amounts { grid-template-columns: 1fr; }
  .watermix-tabs button { flex-basis: auto; }
  .substrate-calculator { padding: 18px; gap: 18px; }
  .substrate-fields,.substrate-result-grid { grid-template-columns: 1fr; }
  .substrate-density-field { grid-column: auto; }
  .substrate-result-panel { min-height: 0; padding: 20px; }
  .substrate-visual { height: 105px; }
  .cycling-head { flex-direction: column; }
  .cycling-head .button { width: 100%; }
  .cycling-layout { grid-template-columns: 1fr; }
  th, td { padding: 12px 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-feedback { justify-content: flex-start; width: 100%; }
  .footer-legal { justify-content: flex-start; width: 100%; }
  .legal-page-head { align-items: flex-start; }
  .legal-tabs { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .legal-tabs a { text-align: center; }
  .legal-contact dl { grid-template-columns: 1fr; }
  .feedback-admin-head { flex-direction: column; }
  body.is-authenticated:not(.dashboard-promo)::before {
    background-position: 18% bottom;
    opacity: .76;
  }
  body.is-authenticated:not(.dashboard-promo)::after {
    background: linear-gradient(180deg, rgba(241,250,249,.20), rgba(241,250,249,.52) 52%, rgba(235,247,244,.28));
  }
}

@media (max-width: 420px) {
  .header-inner { padding-inline: 14px; }
  .brand-copy strong { font-size: 1.08rem; }
  .brand-mark { width: 36px; height: 36px; }
  .page-head > div:last-child { grid-template-columns: 1fr; }
  .page-head > div:last-child .button { width: 100%; }
  .language-switcher a { min-width: 36px; }
  .plant-name-picker, .product-search-form { grid-template-columns: 1fr; }
  .plant-search-button, .product-search-form button { width: 100%; }
  .product-picker { width: calc(100% - 16px); max-height: calc(100vh - 16px); padding: 16px; border-radius: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .parameter-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.input-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, .45fr); gap: .5rem; }
.dose-guideline-field { display: grid; align-content: start; gap: .45rem; }
.dose-guideline-field .field-label { color: var(--text); font-weight: 700; }
.dose-guideline-inputs { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(5.5rem, .45fr) minmax(13rem, 1.1fr); gap: .5rem; align-items: end; }
.dose-guideline-inputs label { margin: 0; }
.dose-basis-label { display: grid; gap: .35rem; }
.dose-basis-label > span:first-child { color: var(--muted); font-size: .78rem; font-weight: 700; }
.dose-basis-control { display: grid; grid-template-columns: minmax(5rem, .45fr) minmax(8rem, 1fr); align-items: center; min-height: 47px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dose-basis-control input { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.dose-basis-control > span { padding: 0 .75rem; color: var(--muted); font-size: .86rem; }
.dose-recommendation { display: block; color: var(--primary); font-weight: 700; }
.effect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .75rem; }
.compact-parameter-settings { margin-block: 1.25rem; }
.compact-parameter-settings p { color: var(--muted); margin-top: 0; }
.cell-warning { color: #a53a32; font-weight: 700; }
.timeline-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-chip { display: inline-flex; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 700; text-decoration: none; }
.filter-chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.photo-timeline { position: relative; display: grid; gap: 24px; }
.photo-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 145px; width: 2px; background: var(--line); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 126px 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.timeline-entry > time { padding-top: 18px; color: var(--muted); font-weight: 700; text-align: right; }
.timeline-dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 20px; border: 3px solid #fff; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.timeline-card { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(260px, 1.2fr); gap: 22px; padding: 18px; }
.timeline-image-button,.before-after button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.timeline-image-button img,.before-after img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: 14px; }
.timeline-copy { align-self: center; }
.timeline-copy h2 { margin-block: 6px 10px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.before-after figure { position: relative; margin: 0; }
.before-after img { height: 260px; }
.before-after figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; color: #fff; background: rgba(10,35,31,.78); font-size: .78rem; font-weight: 800; }
.aquarium-photo-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; }
.aquarium-photo-preview { position: relative; min-height: 180px; overflow: hidden; border-radius: 14px; color: #fff; text-decoration: none; background: var(--bg-soft); }
.aquarium-photo-preview img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform .2s ease; }
.aquarium-photo-preview:hover img { transform: scale(1.03); }
.aquarium-photo-preview span { position: absolute; inset: auto 0 0; display: grid; padding: 32px 12px 12px; background: linear-gradient(transparent,rgba(4,25,22,.86)); }
.aquarium-photo-preview time { font-size: .8rem; opacity: .85; }
.fish-check-search form { display: grid; gap: 18px; }
.fish-check-search .breeding-species-summary { margin: 0; }
.fish-fit-summary { align-items: center; }
.fish-fit-count { display: grid; place-items: center; min-width: 76px; min-height: 76px; padding: 12px; border-radius: 50%; color: var(--primary); background: var(--bg-soft); font-size: 1.5rem; }
@media (max-width: 600px) {
  .input-pair { grid-template-columns: 1fr; }
  .dose-guideline-inputs { grid-template-columns: minmax(0, 1fr) minmax(5.5rem, .55fr); }
  .dose-basis-label { grid-column: 1 / -1; }
  .effect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-timeline::before { left: 6px; }
  .timeline-entry { grid-template-columns: 14px minmax(0, 1fr); gap: 10px; }
  .timeline-entry > time { grid-column: 2; padding: 0; text-align: left; }
  .timeline-dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 4px; }
  .timeline-card { grid-column: 2; grid-template-columns: 1fr; padding: 12px; }
  .timeline-image-button img,.before-after img { height: 210px; }
  .aquarium-photo-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aquarium-photo-preview,.aquarium-photo-preview img { min-height: 145px; }
  .fish-fit-summary { align-items: flex-start; }
  .fish-fit-count { min-width: 58px; min-height: 58px; font-size: 1.1rem; }
}

/* Selecteerbare dashboardtemplates */
.template-picker { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.template-option { position: relative; display: grid; gap: 9px; padding: 16px; border: 2px solid var(--line); border-radius: 17px; cursor: pointer; }
.template-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.template-option input { position: absolute; top: 24px; right: 24px; width: 20px; height: 20px; }
.template-option strong,.template-option small { padding-inline: 2px 32px; }
.template-option small { color: var(--muted); }
.template-preview { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 28px 64px; gap: 7px; padding: 12px; border-radius: 13px; overflow: hidden; }
.template-preview i { grid-column: 1 / -1; border-radius: 7px; }
.template-preview b { border-radius: 8px; }
.preview-light { background: #edf6f3; }
.preview-light i,.preview-light b { background: #fff; border: 1px solid #cfe0dc; }
.preview-promo { background: #07192d; }
.preview-promo i { background: linear-gradient(90deg,#0b2946,#0d3858); }
.preview-promo b { background: #0d2945; border: 1px solid #19496c; }

.dashboard-health { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 7px 11px; border-radius: 999px; font-size: .78rem; font-weight: 850; }
.dashboard-health::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb,currentColor 18%,transparent); }
.dashboard-health.is-ok { color: #16794b; background: #e2f6ec; }
.dashboard-health.is-attention { color: #a25b00; background: #fff2d4; }
.dashboard-health.is-neutral { color: #526c78; background: #e8f0f3; }

body.dashboard-promo {
  --ink: #e9f7ff;
  --ink-soft: #bfd2e2;
  --muted: #8fa8bb;
  --line: #183d5b;
  --line-strong: #24597d;
  --brand: #15d8cb;
  --brand-dark: #53f0e4;
  --brand-soft: #0c3943;
  background: radial-gradient(circle at 85% 0,rgba(12,113,151,.26),transparent 32rem),linear-gradient(150deg,#061526,#08223a 58%,#061725);
  color: var(--ink);
}
.dashboard-promo .site-header { border-color: #143751; background: rgba(5,20,36,.92); box-shadow: 0 1px 0 rgba(31,88,122,.25); }
.dashboard-promo .brand,.dashboard-promo .brand:hover,.dashboard-promo .nav-link,.dashboard-promo .nav-dropdown-toggle { color: #dcebf5; }
.dashboard-promo .nav-link:hover,.dashboard-promo .nav-link.active,.dashboard-promo .nav-dropdown.active > .nav-link { color: #fff; background: #0d3d61; }
.dashboard-promo .language-control,.dashboard-promo .user-pill { color: #dcebf5; background: #0b2944; border-color: #194866; }
.dashboard-promo .container { width: min(1440px,100%); }
.dashboard-promo .page-head h1,.dashboard-promo .page-head .eyebrow,.dashboard-promo .dashboard-aquariums + *,
.dashboard-promo > * { color: inherit; }
.dashboard-promo .stats .stat { border-color: #17435f; background: linear-gradient(145deg,#0b2944,#0a223a); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.dashboard-promo .stat span { color: var(--muted); }
.dashboard-promo .campaign { border-color: #1b4a68; background: linear-gradient(135deg,#0c2a45,#0b3651); }
.dashboard-promo .dashboard-aquarium {
  position: relative;
  overflow: hidden;
  border-color: #1a4869;
  background: linear-gradient(145deg,rgba(13,43,70,.98),rgba(7,29,50,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.dashboard-promo .dashboard-aquarium::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,#15d8cb,#19a9ff 55%,#7869ff); }
.dashboard-promo article.dashboard-aquarium:hover { border-color: #28678c; box-shadow: 0 28px 80px rgba(0,0,0,.34); }
.dashboard-promo .dashboard-aquarium-head h3 a { color: #fff; }
.dashboard-promo .dashboard-aquarium-head p { color: #9bb2c3; }
.dashboard-promo .dashboard-health.is-ok { color: #5df3ad; background: rgba(28,180,111,.16); }
.dashboard-promo .dashboard-health.is-attention { color: #ffd36a; background: rgba(231,157,24,.17); }
.dashboard-promo .dashboard-health.is-neutral { color: #9bb8cc; background: rgba(118,156,181,.14); }
.dashboard-promo .dashboard-actions .button { color: #dceefa; border-color: #255977; background: #0d304c; }
.dashboard-promo .dashboard-actions .button:hover { color: #fff; border-color: #25bfc4; background: #114260; }
.dashboard-promo .dashboard-actions .button:not(.secondary) { color: #042a35; border-color: #19d7ca; background: linear-gradient(135deg,#19e0d2,#20b9e5); }
.dashboard-promo .dashboard-actions .danger { color: #ffc5c5; border-color: #83414b; background: #422432; }
.dashboard-promo .dashboard-columns { grid-template-columns: 1.2fr 1fr 1fr; }
.dashboard-promo .dashboard-columns section { border: 1px solid #173f5d; background: linear-gradient(160deg,#0c2944,#091f36); }
.dashboard-promo .dashboard-columns h4 { color: #f4fbff; letter-spacing: .01em; }
.dashboard-promo .dashboard-date,.dashboard-promo .compact-list time { color: #86a2b7; }
.dashboard-promo .value-chips span { color: #dff5ff; border-color: #22506e; background: #0a2037; }
.dashboard-promo .compact-list li { border-color: #183d58; }
.dashboard-promo .dashboard-costs span { color: #a9c0d1; background: #0a2037; }
.dashboard-promo .dashboard-costs strong { color: #fff; font-size: 1.08rem; }
.dashboard-promo .status-ok { color: #62e7a6; }
.dashboard-promo .warning-list { color: #ffad8f; }
.dashboard-promo .site-footer { color: #94adbf; border-color: #143751; background: #061522; }
.dashboard-promo .footer-feedback a { color: #bcd1e0; }

@media (max-width: 760px) {
  .template-picker { grid-template-columns: 1fr; }
  .dashboard-promo .container { padding-inline: 12px; }
  .dashboard-promo .dashboard-aquarium { padding: 17px; border-radius: 20px; }
  .dashboard-promo .dashboard-aquarium-head { gap: 16px; }
  .dashboard-promo .dashboard-actions { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .dashboard-promo .dashboard-actions .button { min-height: 49px; padding: 9px 7px; font-size: .72rem; line-height: 1.2; }
  .dashboard-promo .dashboard-columns { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .dashboard-promo .dashboard-columns section { padding: 15px; }
  .dashboard-promo .stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .dashboard-promo .stat { min-height: 88px; padding: 13px 9px; }
  .dashboard-promo .stat strong { font-size: 1.05rem; }
  .dashboard-promo .stat span { font-size: .72rem; }
}

/* Professioneel informatiedashboard */
.dashboard-professional .container { width: min(1420px,100%); }
.dashboard-welcome p { margin: 5px 0 0; color: var(--muted); }
.dashboard-section-head { display: flex; align-items: end; justify-content: space-between; margin: 34px 0 14px; }
.dashboard-section-head h2 { margin: 3px 0 0; }
.dashboard-pro { gap: 28px; }
.dashboard-pro-card { overflow: hidden; border: 1px solid #d8e5e2; border-radius: 24px; background: #fff; box-shadow: 0 18px 55px rgba(22,62,56,.10); }
.measurement-result-banner { scroll-margin-top: 110px; display: flex; align-items: center; gap: 12px; margin-bottom: -17px; padding: 13px 20px 30px; border: 1px solid #90d9c4; border-radius: 20px 20px 0 0; color: #075e53; background: linear-gradient(135deg,#dcf8ef,#effcf8); box-shadow: 0 12px 30px rgba(16,126,103,.12); }
.measurement-result-banner > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #18a975; font-weight: 900; }
.measurement-result-banner div { display: grid; gap: 2px; }
.measurement-result-banner strong { font-size: .88rem; }
.measurement-result-banner small { color: #38766c; font-size: .75rem; }
.dashboard-pro-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 19px; border-bottom: 1px solid #e4edeb; background: linear-gradient(135deg,#fbfefd,#f4faf8); }
.dashboard-pro-head h3 { margin: 4px 0 2px; font-size: 1.55rem; }
.dashboard-pro-head h3 a { color: var(--ink); }
.dashboard-pro-head p { margin: 0; color: var(--muted); }
.dashboard-manage { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.dashboard-manage a, .dashboard-manage .manage-delete { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px 8px 9px; border: 1px solid var(--line); border-radius: 12px; color: var(--brand-dark); font-size: .76rem; font-weight: 850; background: #fff; box-shadow: 0 5px 14px rgba(20,69,61,.06); transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease; }
.dashboard-manage a .icon, .dashboard-manage .manage-delete .icon { width: 28px; height: 28px; max-width: 28px; max-height: 28px; padding: 6px; border-radius: 8px; stroke-width: 2; }
.dashboard-manage a:hover, .dashboard-manage .manage-delete:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(20,69,61,.11); }
.dashboard-manage .manage-open { color: #087367; border-color: #b9ded7; }
.dashboard-manage .manage-open .icon { color: #087367; background: #ddf5ef; }
.dashboard-manage .manage-open:hover { border-color: #69bbae; background: #f3fcf9; }
.dashboard-manage .manage-edit { color: #176fa4; border-color: #bedced; }
.dashboard-manage .manage-edit .icon { color: #176fa4; background: #e2f3fc; }
.dashboard-manage .manage-edit:hover { border-color: #72b6db; background: #f4fbff; }
.dashboard-manage .manage-analysis { color: #6f3ac7; border-color: #d5c4f4; }
.dashboard-manage .manage-analysis .icon { color: #7543cd; background: #eee6ff; }
.dashboard-manage .manage-analysis:hover { border-color: #a985e6; background: #faf7ff; }
.dashboard-manage .manage-passport { color: #087f71; border-color: #b7ddd6; background: #f4fffc; }
.dashboard-manage .manage-passport .icon { color: #087f71; background: #dff5f0; }
.dashboard-manage .manage-passport:hover { border-color: #69bbae; background: #ecfaf7; }
.dashboard-manage .manage-fish-fit { color: #9a5a0b; border-color: #efd2a5; background: #fffaf1; }
.dashboard-manage .manage-fish-fit .icon { color: #9a5a0b; background: #ffedcc; }
.dashboard-manage .manage-fish-fit:hover { border-color: #d9a354; background: #fff5e3; }
.nav-dropdown-divider { display: block; height: 1px; margin: .35rem .55rem; background: #d7e7e3; }
.nav-dropdown-menu a .icon { width: 1rem; height: 1rem; flex: 0 0 auto; }
.dashboard-primary-grid { display: grid; grid-template-columns: .8fr 1.25fr 1.15fr; gap: 1px; background: #e4edeb; }
.dashboard-primary-grid > section { min-width: 0; padding: 22px; background: #fff; }
.dashboard-primary-grid h4,.dashboard-secondary-grid h4,.dashboard-chart-panel h4 { margin: 0; font-size: .88rem; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.panel-heading time,.panel-heading small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.dashboard-professional .score-ring { --ring-color: #28b96d; position: relative; display: grid; place-items: center; width: 150px; height: auto; aspect-ratio: 1; margin: 18px auto 0; border: 0; border-radius: 50%; background: conic-gradient(var(--ring-color) calc(var(--score) * 1%),#e5efec 0); transform: none; }
.dashboard-professional .score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: #fff; }
.dashboard-professional .score-ring > div { position: relative; z-index: 1; text-align: center; }
.dashboard-professional .score-ring strong { font-size: 2.2rem; line-height: 1; letter-spacing: -.05em; }
.dashboard-professional .score-ring span { color: var(--muted); font-weight: 700; }
.dashboard-professional .score-ring small { display: block; margin-top: 8px; color: var(--ring-color); font-size: .76rem; font-weight: 850; }
.dashboard-professional .score-ring.is-attention { --ring-color: #f5a623; }
.dashboard-professional .score-ring.is-urgent { --ring-color: #eb4d5c; }
.dashboard-professional .score-ring.is-neutral { --ring-color: #9aafaa; background: #e5efec; }
.dashboard-professional .score-ring.is-neutral strong { color: #78908a; letter-spacing: 0; }
.dashboard-metrics { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dashboard-metrics li { display: grid; grid-template-columns: 22px minmax(42px,1fr) auto auto; align-items: center; gap: 8px; min-height: 26px; }
.dashboard-metrics li > span:nth-of-type(2) { font-variant-numeric: tabular-nums; font-weight: 750; }
.dashboard-metrics small { min-width: 58px; color: var(--muted); font-size: .68rem; text-align: right; }
.metric-symbol { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #fff; font-size: .68rem; font-weight: 900; }
.metric-ok { background: #28b96d; }.metric-low { background: #f5a623; }.metric-high { background: #eb4d5c; }
.panel-link { display: inline-flex; margin-top: 13px; color: #167dbe; font-size: .73rem; font-weight: 800; }
.warning-count { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 7px; border-radius: 999px; color: #fff; background: #eb4d5c; font-size: .72rem; font-weight: 850; }
.dashboard-warning-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dashboard-warning-list li { position: relative; padding-left: 23px; color: #7b343b; font-size: .82rem; }
.dashboard-warning-list li::before { content: "!"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; background: #eb4d5c; font-size: .65rem; font-weight: 900; }
.dashboard-all-ok { display: flex; align-items: center; gap: 9px; color: #237a4c; font-size: .84rem; font-weight: 700; }
.dashboard-all-ok span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: #28b96d; }
.action-plan-trigger { display: flex; justify-content: center; width: fit-content; margin: 18px auto 0; background: #eb4d5c; box-shadow: 0 8px 20px rgba(235,77,92,.22); }
.action-plan-trigger:not(.is-ready) { display: none; }
.action-plan-trigger:hover { background: #d93d4d; }
.action-plan-trigger .icon { width: 18px; height: 18px; }
.dashboard-action-dialog { position: relative; width: min(900px,calc(100% - 28px)); max-height: min(86vh,820px); padding: 0; overflow: auto; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 28px 90px rgba(20,37,34,.34); }
.dashboard-action-dialog::backdrop { background: rgba(8,29,26,.67); backdrop-filter: blur(4px); }
.dashboard-action-dialog .dashboard-action-plan { border: 0; border-radius: 0; box-shadow: none; }
.action-dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; width: 39px; min-height: 39px; padding: 0; border: 1px solid rgba(130,58,66,.18); border-radius: 50%; color: #78353d; background: rgba(255,255,255,.94); font-size: 1.45rem; line-height: 1; box-shadow: 0 7px 18px rgba(76,34,39,.12); }
.action-dialog-footer { display: flex; justify-content: flex-end; margin-top: 16px; }
.dashboard-action-plan { border: 1px solid #f0c9cd; border-radius: 20px; padding: 22px 24px; color: #4d282c; background: linear-gradient(135deg,#fff8f8,#fff); box-shadow: 0 14px 34px rgba(156,47,59,.08); }
.dashboard-action-plan.is-attention { border-color: #f2d7a6; color: #59421d; background: linear-gradient(135deg,#fffaf0,#fff); }
.dashboard-action-plan > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding-right: 52px; }
.dashboard-action-plan h4 { margin: 4px 0 0; font-size: 1.25rem; }
.dashboard-action-plan .eyebrow { color: #d94757; }
.dashboard-action-plan.is-attention .eyebrow { color: #b57812; }
.action-plan-score { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: #fff; background: #eb4d5c; font-size: .8rem; font-weight: 850; }
.dashboard-action-plan.is-attention .action-plan-score { background: #e89b1e; }
.dashboard-action-plan ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dashboard-action-plan li { display: grid; grid-template-columns: 35px 1fr; gap: 11px; min-width: 0; padding: 14px; border: 1px solid rgba(220,91,102,.18); border-radius: 14px; background: rgba(255,255,255,.82); }
.action-step-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #d94757; background: #ffe7e9; }
.dashboard-action-plan.is-attention .action-step-icon { color: #aa6d0d; background: #fff0d2; }
.action-step-icon .icon { width: 18px; height: 18px; }
.dashboard-action-plan li strong { display: block; font-size: .84rem; }
.dashboard-action-plan li small { display: block; margin-top: 3px; color: var(--muted); font-size: .69rem; font-weight: 700; }
.dashboard-action-plan li p { margin: 8px 0 0; color: #5c6462; font-size: .77rem; line-height: 1.55; }
.action-plan-schedule { margin-top: 17px; padding: 16px; border: 1px solid rgba(8,125,111,.18); border-radius: 14px; background: rgba(241,251,248,.82); }
.action-plan-schedule h5 { margin: 0; color: var(--ink); font-size: .92rem; }
.action-plan-schedule > p { margin: 5px 0 12px; color: var(--muted); font-size: .76rem; }
.action-plan-task-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.action-plan-task-button { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid #cfe3de; border-radius: 11px; color: #075f55; background: #fff; box-shadow: 0 4px 12px rgba(8,89,79,.05); }
.action-plan-task-button:hover { color: #064e46; border-color: #84c6ba; background: #f7fffc; transform: translateY(-1px); }
.action-plan-task-button > .icon { width: 23px; height: 23px; padding: 6px; box-sizing: content-box; border-radius: 9px; color: #fff; background: #0c8b7b; }
.action-plan-task-button strong,.action-plan-task-button small { display: block; }
.action-plan-task-button strong { overflow: hidden; color: var(--ink); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.action-plan-task-button small { margin-top: 2px; color: #087568; font-size: .67rem; font-weight: 750; }
.action-plan-task-button.is-planned { cursor: default; border-color: #a7ddc5; background: #edf9f2; box-shadow: none; }
.action-plan-task-button.is-planned > .icon { background: #28a869; }
.action-plan-task-button.is-planned small { color: #21804f; }
.action-plan-note { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid rgba(220,91,102,.18); color: var(--muted); font-size: .75rem; }
.dashboard-chart-panel { padding: 20px 25px 23px; border-top: 1px solid #e4edeb; }
.mini-chart-help { max-width: 920px; margin: 7px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.dashboard-mini-chart { margin-top: 12px; padding: 13px 15px 7px; border: 1px solid #e2ece9; border-radius: 15px; background: linear-gradient(#fbfefd,#f6faf9); }
.dashboard-mini-chart svg { width: 100%; height: 125px; overflow: visible; }
.dashboard-mini-chart polyline { stroke-linecap: round; stroke-linejoin: round; }
.mini-grid { fill: none; stroke: #dfe9e7; stroke-width: .45; }
.mini-chart-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 7px; }
.mini-chart-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .7rem; font-weight: 750; }
.mini-chart-legend b { color: var(--ink); }
.mini-chart-legend small { padding: 2px 6px; border-radius: 999px; color: var(--ink-soft); background: #edf5f3; font-size: .65rem; font-variant-numeric: tabular-nums; }
.mini-chart-legend i { width: 18px; height: 3px; border-radius: 999px; background: var(--trend-color); }
.mini-chart-caption { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 1px; color: var(--muted); font-size: .65rem; font-variant-numeric: tabular-nums; }
.mini-chart-caption strong { text-align: center; font-size: .64rem; font-weight: 700; }
.dashboard-empty { color: var(--muted); font-size: .82rem; }
.dashboard-change-panel > .panel-heading { align-items: center; gap: 18px; }
.dashboard-change-panel > .panel-heading .panel-link { margin-left: auto; white-space: nowrap; }
.water-change-help { margin: 8px 0 15px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.water-change-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.water-change-card { position: relative; overflow: hidden; min-width: 0; padding: 14px; border: 1px solid #dfeae7; border-radius: 14px; background: #fff; }
.water-change-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #28ba79; }
.water-change-card.is-low::before,.water-change-card.is-high::before { background: #ef5261; }
.water-change-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.water-change-card header strong { color: var(--ink); font-size: .86rem; }
.water-change-card header span { padding: 3px 7px; border-radius: 999px; color: #18764f; background: #e5f7ee; font-size: .62rem; font-weight: 800; }
.water-change-card.is-low header span,.water-change-card.is-high header span { color: #b52e3c; background: #ffeaed; }
.water-change-current { margin: 11px 0 13px; color: var(--ink); font-size: 1.55rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.water-change-current small { margin-left: 5px; color: var(--muted); font-size: .66rem; font-weight: 700; }
.water-change-card dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 0; }
.water-change-card dl div { min-width: 0; padding-top: 8px; border-top: 1px solid #edf2f1; }
.water-change-card dt { overflow: hidden; color: var(--muted); font-size: .57rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.water-change-card dd { margin: 3px 0 0; overflow: hidden; color: var(--ink-soft); font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.water-change-card dd.change-better { color: #15925d; }
.water-change-card dd.change-worse { color: #d53b4b; }
.dashboard-secondary-grid { display: grid; grid-template-columns: 1fr .8fr 1.25fr; gap: 1px; border-top: 1px solid #e4edeb; background: #e4edeb; }
.dashboard-secondary-grid > section { min-width: 0; padding: 21px 24px; background: #fff; }
.dashboard-task-list,.dashboard-trend-list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.dashboard-task-list li { display: grid; grid-template-columns: 17px 1fr auto; gap: 8px; align-items: center; font-size: .79rem; }
.dashboard-task-list time { color: var(--muted); font-size: .7rem; }
.task-check { width: 14px; height: 14px; border: 2px solid #63b7a8; border-radius: 50%; }
.task-check.overdue { border-color: #eb4d5c; background: #eb4d5c; box-shadow: inset 0 0 0 3px #fff; }
.task-check.product-dose { position: relative; border-color: #0c8b78; background: #e5f7f2; }
.task-check.product-dose::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #0c8b78; }
.task-check.product-dose.overdue { border-color: #eb4d5c; background: #fff; box-shadow: none; }
.task-check.product-dose.overdue::after { background: #eb4d5c; }
.dashboard-task-title { min-width: 0; display: flex; align-items: baseline; gap: 6px; color: var(--ink); text-decoration: none; }
.dashboard-task-title:hover span { text-decoration: underline; text-underline-offset: 2px; }
.dashboard-task-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-task-kind { flex: 0 0 auto; padding: 2px 5px; border-radius: 999px; color: #087d6e; background: #e5f7f2; font-size: .56rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }
.dashboard-trend-list li { display: flex; align-items: center; gap: 8px; font-size: .79rem; }
.trend-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #12866a; background: #e5f7f1; font-weight: 900; }
.trend-icon.is-up { color: #d94757; background: #ffe8eb; }.trend-icon.is-down { color: #167dbe; background: #e7f4fc; }
.dashboard-quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.dashboard-quick-actions a { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; min-height: 54px; padding: 8px; border: 1px solid #e0e9e7; border-radius: 12px; color: var(--ink); font-size: .7rem; font-weight: 800; background: #fbfdfd; }
.dashboard-quick-actions a > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; font-size: 1rem; }
.dashboard-quick-actions .quick-measure > span { background: #17c9bf; }.dashboard-quick-actions .quick-maintenance > span { background: #f0a128; }.dashboard-quick-actions .quick-purchase > span { background: #9b5de5; }.dashboard-quick-actions .quick-fish > span { background: #368fe2; }.dashboard-quick-actions .quick-plant > span { background: #65b93e; }.dashboard-quick-actions .quick-photo > span { background: #e9578a; }
.dashboard-finance { display: flex; justify-content: flex-end; gap: 25px; padding: 13px 25px; border-top: 1px solid #e4edeb; color: var(--muted); font-size: .74rem; background: #f7faf9; }
.dashboard-finance strong { margin-left: 5px; color: var(--ink); font-size: .9rem; }

.expense-grand-total { display: grid; justify-items: end; gap: 2px; padding: 12px 16px; border: 1px solid #cfe3de; border-radius: 14px; background: #f3fbf8; }
.expense-grand-total span,.expense-group-head > div:last-child span { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.expense-grand-total strong { color: var(--brand-dark); font-size: 1.25rem; }
.expense-entry-card { position: relative; overflow: hidden; border: 1px solid #7bc8bd; border-left: 7px solid #078777; background: linear-gradient(135deg,rgba(220,248,243,.98),rgba(244,252,250,.98)); box-shadow: 0 18px 44px rgba(8,105,92,.14); }
.expense-entry-card::after { content: ""; position: absolute; right: -90px; top: -115px; width: 280px; height: 280px; border: 42px solid rgba(18,164,145,.07); border-radius: 50%; pointer-events: none; }
.expense-entry-head { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(8,128,113,.18); }
.expense-entry-head h2 { margin: 3px 0 5px; }
.expense-entry-head p { max-width: 700px; margin: 0; color: var(--muted); }
.expense-entry-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(145deg,#0a9c89,#087266); box-shadow: 0 10px 22px rgba(8,114,102,.22); }
.expense-entry-icon .icon { width: 24px; height: 24px; }
.expense-entry-form { position: relative; z-index: 1; padding: 18px; border: 1px solid rgba(8,128,113,.16); border-radius: 18px; background: rgba(255,255,255,.72); }
.expense-entry-form input,.expense-entry-form select { background: #fff; }
.expense-entry-form > button { margin-top: 4px; box-shadow: 0 9px 20px rgba(8,114,102,.18); }
.expense-groups { display: grid; gap: 18px; margin-top: 18px; }
.expense-group { scroll-margin-top: 95px; }
.expense-group-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.expense-group-head h2 { margin: 4px 0 0; }
.expense-group-head > div:last-child { display: grid; justify-items: end; gap: 2px; }
.expense-group-head > div:last-child strong { color: var(--brand-dark); font-size: 1.08rem; }

@media (max-width: 900px) {
  .dashboard-primary-grid { grid-template-columns: .8fr 1.2fr; }
  .dashboard-warning-panel { grid-column: 1 / -1; }
  .dashboard-secondary-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-quick-panel { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .dashboard-professional .container { padding-inline: 10px; }
  .dashboard-overview-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .dashboard-overview-stats .stat { min-height: 82px; padding: 12px 7px; }
  .dashboard-overview-stats .stat strong { font-size: 1rem; }
  .dashboard-overview-stats .stat span { font-size: .66rem; }
  .dashboard-pro-card { border-radius: 19px; }
  .dashboard-pro-head { display: grid; padding: 18px; }
  .dashboard-manage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; width: 100%; gap: 9px; }
  .dashboard-manage a, .dashboard-manage .manage-delete { width: 100%; min-width: 0; min-height: 48px; padding: 8px 10px; justify-content: flex-start; }
  .dashboard-manage a span, .dashboard-manage .manage-delete span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dashboard-manage .manage-fish-fit { grid-column: 1 / -1; }
  .dashboard-primary-grid,.dashboard-secondary-grid { grid-template-columns: 1fr; }
  .dashboard-warning-panel,.dashboard-quick-panel { grid-column: auto; }
  .dashboard-primary-grid > section,.dashboard-secondary-grid > section { padding: 18px; }
  .dashboard-score-panel { display: grid; grid-template-columns: 1fr 118px; align-items: center; }
  .dashboard-professional .score-ring { width: 112px; margin: 0; }
  .dashboard-professional .score-ring::before { inset: 9px; }
  .dashboard-professional .score-ring strong { font-size: 1.65rem; }
  .dashboard-chart-panel { padding: 18px; }
  .dashboard-mini-chart svg { height: 105px; }
  .dashboard-metrics li { grid-template-columns: 22px minmax(42px,1fr) auto; }
  .dashboard-metrics small { display: none; }
  .dashboard-quick-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dashboard-quick-actions a { display: grid; grid-template-columns: 1fr; justify-items: center; min-height: 78px; padding: 8px 4px; text-align: center; }
  .measurement-result-banner { margin-bottom: -13px; padding: 12px 15px 25px; border-radius: 16px 16px 0 0; }
  .dashboard-action-plan { padding: 18px; border-radius: 17px; }
  .dashboard-action-plan ol { grid-template-columns: 1fr; }
  .action-plan-trigger { grid-column: 1 / -1; width: 100%; margin-top: 12px; }
  .dashboard-action-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); border-radius: 17px; }
  .dashboard-action-dialog .dashboard-action-plan { padding: 20px 15px 15px; }
  .dashboard-action-dialog .dashboard-action-plan > header { padding-right: 52px; }
  .action-plan-task-buttons { grid-template-columns: 1fr; }
  .dashboard-finance { justify-content: space-between; gap: 10px; padding-inline: 17px; }
  .dashboard-finance span { display: grid; }
  .dashboard-finance strong { margin: 2px 0 0; }
  .expense-grand-total { justify-items: start; width: 100%; }
  .expense-group-head { align-items: flex-end; }
  .expense-entry-card { border-left-width: 1px; border-top: 6px solid #078777; }
  .expense-entry-head { gap: 12px; }
  .expense-entry-icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
  .expense-entry-form { padding: 13px; }
  .aquarium-water-card { padding: 17px 14px; }
  .aquarium-water-card .chart-head { gap: 14px; }
  .aquarium-water-card .chart-tools,.aquarium-water-card .chart-actions,.aquarium-water-card .chart-actions .button { width: 100%; }
  .aquarium-water-card .chart-actions { grid-template-columns: 1fr; }
  .aquarium-chart-canvas { height: 300px; margin-inline: -5px; width: calc(100% + 10px); }
  .chart-event-key { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 10px; margin: 12px 0 15px; font-size: .73rem; }
  .chart-event-key span { min-width: 0; gap: 5px; }
  .chart-category-swatch { flex-basis: 21px; width: 21px; height: 21px; }
  .measurement-table-wrap { overflow: visible; border: 0; background: transparent; }
  .measurement-table,.measurement-table tbody { display: block; width: 100%; }
  .measurement-table thead { display: none; }
  .measurement-table tbody { display: grid; gap: 11px; }
  .measurement-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(20,69,61,.05); }
  .measurement-table tbody td { display: grid; grid-template-columns: minmax(56px,.8fr) minmax(0,1fr); align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border: 0; border-bottom: 1px solid #edf2f1; white-space: normal; font-size: .83rem; font-variant-numeric: tabular-nums; }
  .measurement-table tbody td:not(.measurement-date):not(.measurement-actions):nth-child(odd) { border-left: 1px solid #edf2f1; }
  .measurement-table tbody td::before { content: attr(data-label); overflow: hidden; color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .measurement-table .measurement-date,.measurement-table .measurement-actions { grid-column: 1 / -1; }
  .measurement-table .measurement-date { grid-template-columns: auto 1fr; color: var(--ink); background: #f5faf8; font-weight: 750; }
  .measurement-table .measurement-actions { display: block; padding: 10px 12px; border-bottom: 0; }
  .measurement-table .measurement-actions::before { display: none; }
  .measurement-table .measurement-actions .row-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .measurement-table .measurement-actions .row-actions>a,.measurement-table .measurement-actions .row-actions form,.measurement-table .measurement-actions .row-actions button { width: 100%; }
  .measurement-table .measurement-empty { display: block; }
  .measurement-table .measurement-empty td { display: block; }
}

/* Public promotional landing page */
.promo-page { background: #041b2d; }
.promo-page .site-header { border-color: rgba(103,223,238,.14); background: rgba(3,24,42,.86); box-shadow: none; }
.promo-page .brand { color: #fff; }
.promo-page .brand:hover { color: #fff; }
.promo-page .brand-copy small { color: #a7c5cf; }
.promo-page .nav-link { color: #d7edf3; }
.promo-page .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.promo-page .language-control { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.promo-page .language-icon { color: #8ddfe8; }
.promo-page .language-switcher a { color: #bad7df; }
.promo-page .language-switcher a.active { color: #fff; background: #087f92; }
.promo-page .container { width: 100%; max-width: none; padding: 0; }
.promo-page .site-footer { color: #d7e8ec; border-color: rgba(103,223,238,.14); background: #031624; }
.promo-page .site-footer p, .promo-page .footer-brand small { color: #89a9b2; }
.promo-landing { overflow: hidden; color: #fff; background: #041b2d; }
.promo-hero { position: relative; isolation: isolate; min-height: 780px; background: url("aquawijs-hero-discus.webp") center / cover no-repeat; }
.promo-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(2,17,32,.82) 0%, rgba(2,20,36,.67) 34%, rgba(2,23,40,.30) 66%, rgba(2,20,34,.10)), linear-gradient(0deg, rgba(4,27,45,.64) 0%, transparent 24%); }
.promo-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #00d4ef, #18e6b0 55%, transparent); }
.promo-hero-grid { width: min(100%, 1480px); min-height: 780px; margin: 0 auto; padding: clamp(62px,7vw,106px) clamp(24px,5vw,76px); display: grid; grid-template-columns: minmax(420px,.82fr) minmax(570px,1.18fr); align-items: center; gap: clamp(24px,4vw,72px); }
.promo-copy { position: relative; z-index: 3; }
.promo-kicker { display: inline-flex; align-items: center; gap: 9px; color: #64e9db; font-size: .75rem; font-weight: 850; letter-spacing: .15em; }
.promo-kicker::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.promo-copy h1 { max-width: 650px; margin: 18px 0 18px; color: #fff; font-size: clamp(3.6rem,6vw,6.5rem); line-height: .91; letter-spacing: -.065em; text-shadow: 0 8px 34px rgba(0,0,0,.35); }
.promo-copy h1 span { display: block; color: #12d8ed; }
.promo-copy > p { max-width: 600px; margin: 0; color: #d0e2e8; font-size: clamp(1.05rem,1.45vw,1.32rem); }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.promo-primary { border: 0; color: #002437; background: linear-gradient(135deg,#64f1df,#16d0ec); box-shadow: 0 15px 34px rgba(18,215,225,.25); }
.promo-primary:hover { color: #001d2c; background: linear-gradient(135deg,#8af7e9,#42def1); }
.promo-secondary { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(6,35,56,.62); backdrop-filter: blur(10px); }
.promo-secondary:hover { color: #fff; border-color: #6cebe6; background: rgba(18,76,96,.72); }
.promo-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 22px; max-width: 620px; }
.promo-benefit { min-width: 0; display: flex; align-items: center; gap: 12px; }
.promo-benefit > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(116,235,239,.28); border-radius: 13px; color: #75f0e5; background: linear-gradient(145deg,rgba(26,190,220,.34),rgba(32,103,181,.25)); box-shadow: inset 0 1px rgba(255,255,255,.18); }
.promo-benefit > span .icon { width: 21px; height: 21px; }
.promo-benefit div { min-width: 0; display: grid; line-height: 1.25; }
.promo-benefit strong { color: #f6fbfc; font-size: .91rem; }
.promo-benefit small { margin-top: 3px; overflow: hidden; color: #a7c0c8; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.promo-devices { position: relative; z-index: 2; min-height: 600px; display: grid; align-items: center; perspective: 1400px; }
.promo-desktop { position: relative; width: min(100%,760px); margin-left: auto; overflow: hidden; border: 7px solid #172c3e; border-radius: 24px; color: #dcecf1; background: #061829; box-shadow: 0 36px 80px rgba(0,0,0,.48), 0 0 0 1px rgba(141,230,239,.22); transform: rotateY(-5deg) rotateX(1deg); transform-origin: right center; }
.mockup-bar { height: 50px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid #12364a; background: #071c2d; }
.mockup-logo { margin-right: auto; display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 850; }
.mockup-logo .icon { color: #18d8ed; }
.mockup-logo > span { color: #18d8ed; }
.mockup-bar > i { width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: #29465a; }
.mockup-layout { min-height: 485px; display: grid; grid-template-columns: 138px 1fr; }
.mockup-layout aside { display: grid; align-content: start; gap: 7px; padding: 20px 10px; border-right: 1px solid #12364a; background: #071b2d; }
.mockup-layout aside span, .mockup-layout aside b { display: flex; align-items: center; gap: 7px; padding: 8px; border-radius: 8px; color: #8eabb7; font-size: .66rem; white-space: nowrap; }
.mockup-layout aside b { color: #fff; background: linear-gradient(90deg,#066a91,#075273); }
.mockup-content { min-width: 0; padding: 20px; background: linear-gradient(145deg,#09243a,#071c31); }
.mockup-content > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.mockup-content header div { display: grid; }
.mockup-content header small { color: #52d6db; font-size: .55rem; font-weight: 850; letter-spacing: .12em; }
.mockup-content header strong { margin: 3px 0; color: #fff; font-size: 1.25rem; }
.mockup-content header span { color: #9bb7c0; font-size: .65rem; }
.mockup-content header em { padding: 10px 12px; border: 1px solid rgba(31,226,174,.22); border-radius: 11px; color: #76f4c9; background: rgba(19,142,113,.22); font-size: .68rem; font-style: normal; font-weight: 800; }
.mockup-cards { display: grid; grid-template-columns: 1.45fr .7fr; gap: 12px; }
.mockup-cards section { min-width: 0; padding: 14px; border: 1px solid #163b50; border-radius: 12px; background: rgba(7,28,46,.78); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.mockup-cards section > strong, .mockup-chart strong { color: #f4fbfd; font-size: .7rem; }
.mockup-chart > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.mockup-chart small { color: #7999a6; font-size: .52rem; }
.chart-grid { position: relative; height: 145px; margin: 12px 0 6px; overflow: hidden; border-block: 1px solid #17384d; background: repeating-linear-gradient(0deg,transparent 0 35px,rgba(104,151,169,.13) 36px), repeating-linear-gradient(90deg,transparent 0 55px,rgba(104,151,169,.08) 56px); }
.chart-path { position: absolute; left: 5%; right: 4%; height: 3px; border-radius: 999px; filter: drop-shadow(0 0 4px currentColor); transform-origin: left; }
.chart-path::before, .chart-path::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chart-path::before { left: 22%; top: -2px; }.chart-path::after { right: 16%; top: -2px; }
.path-a { top: 43%; color: #09d9ed; background: currentColor; transform: rotate(-3deg); clip-path: polygon(0 25%,22% 0,40% 70%,62% 12%,82% 55%,100% 8%,100% 100%,0 100%); }
.path-b { top: 68%; color: #83e537; background: currentColor; transform: rotate(2deg); }
.path-c { top: 30%; color: #c84df0; background: currentColor; transform: rotate(5deg); }
.mockup-chart footer { display: flex; gap: 13px; color: #90a8b3; font-size: .52rem; }
.mockup-chart footer span::before { content: ""; display: inline-block; width: 8px; height: 2px; margin-right: 4px; vertical-align: middle; background: #10d9e9; }
.mockup-chart footer span:nth-child(2)::before { background: #83e537; }.mockup-chart footer span:nth-child(3)::before { background: #c84df0; }
.mockup-measure dl { margin: 8px 0 0; }
.mockup-measure dl div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(91,132,149,.14); font-size: .61rem; }
.mockup-measure dt { color: #92abb5; }.mockup-measure dd { margin: 0; color: #67f0a7; font-weight: 800; }
.mockup-tasks p { display: flex; justify-content: space-between; gap: 6px; margin: 8px 0 0; color: #66edb2; font-size: .6rem; }
.mockup-tasks p small { color: #89a5b0; }
.mockup-cost > b { display: block; margin: 7px 0; color: #fff; font-size: 1.35rem; }
.cost-bars { height: 55px; display: flex; align-items: end; gap: 5px; }
.cost-bars i { width: 9px; height: 35%; border-radius: 3px 3px 0 0; background: #13cfe7; }.cost-bars i:nth-child(2){height:70%}.cost-bars i:nth-child(3){height:48%;background:#7855e7}.cost-bars i:nth-child(4){height:88%}.cost-bars i:nth-child(5){height:58%;background:#7855e7}.cost-bars i:nth-child(6){height:76%}
.promo-phone { position: absolute; z-index: 4; right: 54%; bottom: -18px; width: 205px; min-height: 385px; padding: 30px 17px 18px; overflow: hidden; border: 6px solid #24394a; border-radius: 30px; color: #e6f5f8; background: linear-gradient(160deg,#0a2a40,#06192a); box-shadow: 0 26px 56px rgba(0,0,0,.6); transform: rotate(-7deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 54px; height: 7px; border-radius: 20px; background: #010c15; transform: translateX(-50%); }
.promo-phone > small { display: block; color: #9ab5be; font-size: .6rem; }
.promo-phone > strong { position: relative; z-index: 2; display: block; margin-top: 36px; color: #fff; font-size: 2rem; text-align: center; }.promo-phone > strong span{color:#8aa7b2;font-size:.8rem}
.promo-phone > em { position: relative; z-index: 2; display: block; color: #52f3a5; font-size: .65rem; font-style: normal; text-align: center; }
.score-ring { width: 130px; height: 130px; margin: -75px auto 26px; border: 7px solid #123d49; border-top-color: #12d9e3; border-right-color: #30e988; border-radius: 50%; transform: rotate(35deg); }
.promo-phone > p { margin: 0 0 8px; color: #9ab3bc; font-size: .62rem; font-weight: 800; }
.phone-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.phone-actions > span { min-width: 0; display: grid; place-items: center; gap: 5px; padding: 9px 3px; border: 1px solid #1b4153; border-radius: 9px; color: #3be0dc; background: #0b2b3f; }
.phone-actions small { max-width: 100%; overflow: hidden; color: #d2e5e9; font-size: .48rem; text-overflow: ellipsis; }
.promo-bottom { width: min(100%,1480px); margin: 0 auto; padding: 44px clamp(24px,5vw,76px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; background: radial-gradient(circle at 65%,rgba(11,180,186,.12),transparent 24rem); }
.promo-bottom h2 { margin: 8px 0 0; color: #fff; font-size: clamp(1.8rem,3vw,3rem); }
.promo-platforms { display: flex; align-items: center; gap: 13px; }.promo-platforms > span { width: 58px; height: 58px; display:grid;place-items:center;border:1px solid #1f6779;border-radius:18px;color:#56e8e2;background:#092b41}.promo-platforms p{display:grid;margin:0}.promo-platforms strong{color:#fff}.promo-platforms small{color:#8fadb7}
@media (max-width: 1120px) {
  .promo-hero-grid { grid-template-columns: minmax(370px,.75fr) minmax(480px,1.25fr); padding-inline: 30px; }
  .promo-phone { right: 57%; }
  .promo-copy h1 { font-size: clamp(3.3rem,6vw,5.2rem); }
}
@media (max-width: 920px) {
  .promo-page .menu-toggle { color: #e8f7f9; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
  .promo-page .primary-nav { border-color: #174051; background: #061f32; }
  .promo-hero { min-height: auto; }
  .promo-hero-grid { min-height: 0; grid-template-columns: 1fr; padding: 70px 28px 105px; }
  .promo-copy { max-width: 720px; }
  .promo-copy h1 { max-width: 670px; font-size: clamp(3.5rem,10vw,6rem); }
  .promo-devices { width: min(100%,760px); min-height: 550px; margin: 0 auto; }
  .promo-bottom { grid-template-columns: 1fr auto; }.promo-bottom > a { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 680px) {
  .promo-hero-grid { padding: 54px 18px 88px; }
  .promo-copy h1 { font-size: clamp(3.1rem,15vw,4.8rem); }
  .promo-copy > p { font-size: 1rem; }
  .promo-actions { display: grid; grid-template-columns: 1fr; }
  .promo-actions .button { width: 100%; }
  .promo-benefits { grid-template-columns: 1fr; }
  .promo-benefit small { white-space: normal; }
  .promo-devices { min-height: 430px; margin-top: 22px; }
  .promo-desktop { width: 660px; max-width: none; transform: scale(.64) rotateY(-4deg); transform-origin: left top; }
  .promo-phone { right: auto; left: 49%; bottom: -10px; width: 190px; transform: translateX(-20%) rotate(-5deg) scale(.9); }
  .promo-bottom { grid-template-columns: 1fr; gap: 24px; padding: 36px 18px; }
  .promo-platforms { order: 2; }
}
@media (max-width: 420px) {
  .promo-copy h1 { font-size: 3.05rem; }
  .promo-devices { min-height: 390px; }
  .promo-desktop { transform: scale(.54) rotateY(-3deg); }
  .promo-phone { left: 44%; bottom: -20px; transform: translateX(-10%) rotate(-4deg) scale(.78); }
}

/* Light AquaWijs homepage */
.promo-page { overflow-x: hidden; color: var(--ink); background: #f3f8f6; }
.promo-page .site-header { border-color: var(--line); background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(16,61,54,.06); }
.promo-page .brand, .promo-page .brand:hover { color: var(--ink); }
.promo-page .brand-copy small { color: var(--muted); }
.promo-page .nav-link { color: var(--ink-soft); }
.promo-page .nav-link:hover { color: var(--primary); background: var(--brand-soft); }
.promo-page .language-control { border-color: var(--line); background: var(--surface-soft); }
.promo-page .language-icon { color: var(--primary); }
.promo-page .language-switcher a { color: var(--muted); }
.promo-page .language-switcher a.active { color: #fff; background: var(--primary); }
.promo-page .container { width: 100%; max-width: none; padding: 0; }
.promo-page .site-footer { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.82); }
.promo-page .site-footer p, .promo-page .footer-brand small { color: var(--muted); }
.home-landing { width: 100%; max-width: 100%; overflow: clip; background: linear-gradient(180deg,#f6fbf9 0,#f1f7f5 58%,#fff 100%); }
.home-hero { position: relative; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; z-index: -1; top: -160px; right: -160px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle,rgba(41,190,156,.14),rgba(41,190,156,0) 68%); }
.home-hero::after { content: ""; position: absolute; z-index: -1; left: -220px; bottom: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle,rgba(21,159,218,.09),rgba(21,159,218,0) 70%); }
.home-hero-inner { width: min(100%,1420px); margin: 0 auto; padding: clamp(62px,7vw,104px) clamp(24px,5vw,72px) clamp(74px,8vw,118px); display: grid; grid-template-columns: minmax(350px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(40px,5vw,82px); }
.home-copy { min-width: 0; }
.home-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.home-kicker::before { content: ""; width: 30px; height: 2px; border-radius: 99px; background: currentColor; }
.home-copy h1 { max-width: 650px; margin: 18px 0 20px; color: var(--ink); font-size: clamp(3.15rem,4.9vw,5.3rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.home-copy h1 span { display: block; color: var(--primary); }
.home-copy > p { max-width: 570px; margin: 0; color: var(--ink-soft); font-size: clamp(1.04rem,1.3vw,1.24rem); line-height: 1.6; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.promo-page a.button.home-primary,
.promo-page a.button.home-primary:visited { color: #fff; border-color: #0b7e6d; background: linear-gradient(145deg,#0b7e6d,#075f54); box-shadow: 0 13px 28px rgba(8,108,97,.22); }
.promo-page a.button.home-primary:hover,
.promo-page a.button.home-primary:focus-visible { color: #fff; border-color: #064e45; background: linear-gradient(145deg,#086f61,#064e45); }
.home-secondary { color: var(--primary); border-color: #a9cbc3; background: rgba(255,255,255,.84); box-shadow: none; }
.home-secondary:hover { color: var(--primary-dark); border-color: var(--primary); background: #fff; }
.home-platform-note { display: inline-flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.62); }
.home-platform-note > .icon { flex: 0 0 auto; color: var(--primary); }
.home-platform-note > span { display: grid; }
.home-platform-note strong { color: var(--ink); font-size: .82rem; }
.home-platform-note small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.home-preview { min-width: 0; width: 100%; }
.home-dashboard { width: 100%; overflow: hidden; border: 1px solid #cfe1dc; border-radius: 24px; color: var(--ink); background: rgba(255,255,255,.96); box-shadow: 0 28px 70px rgba(34,75,68,.15); }
.home-dashboard h2, .home-dashboard h3, .home-dashboard p { margin: 0; }
.home-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#fbfefd,#f0f8f5); }
.home-eyebrow { color: var(--primary); font-size: .6rem; font-weight: 850; letter-spacing: .13em; }
.home-dashboard-head h2 { margin-top: 4px; font-size: 1.34rem; }
.home-dashboard-head p { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.home-ok { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 11px; color: #137547; background: #e6f7ef; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.home-ok i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #2dbb78; font-size: .68rem; font-style: normal; }
.home-dashboard-grid { display: grid; grid-template-columns: .75fr 1.25fr 1.05fr; }
.home-dashboard-grid > section { min-width: 0; min-height: 260px; padding: 20px; border-right: 1px solid var(--line); }
.home-dashboard-grid > section:last-child { border-right: 0; }
.home-dashboard h3 { color: var(--ink); font-size: .78rem; font-weight: 760; }
.home-score-ring { --score: 90; width: 138px; aspect-ratio: 1; margin: 28px auto 0; padding: 10px; border-radius: 50%; background: conic-gradient(#2ab977 calc(var(--score) * 1%),#e5efec 0); }
.home-score-ring > div { width: 100%; height: 100%; display: grid; place-content: center; border-radius: 50%; background: #fff; text-align: center; }
.home-score-ring strong { color: var(--ink); font-size: 2rem; line-height: 1; }
.home-score-ring span { color: var(--muted); font-size: .72rem; }
.home-score-ring small { display: block; margin-top: 7px; color: #1ca765; font-size: .68rem; font-weight: 800; }
.home-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-card-head time { color: var(--muted); font-size: .62rem; white-space: nowrap; }
.home-metrics-card ul { display: grid; gap: 8px; margin: 17px 0 13px; padding: 0; list-style: none; }
.home-metrics-card li { display: grid; grid-template-columns: 20px 1fr auto auto; align-items: center; gap: 7px; min-width: 0; font-size: .72rem; }
.home-metrics-card li b { font-weight: 650; }
.home-metrics-card li strong { font-size: .75rem; }
.home-metrics-card li small { color: var(--muted); font-size: .55rem; }
.home-check { width: 19px; height: 19px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #2bbb78; font-size: .66rem; font-weight: 900; }
.home-preview-link { color: #087fc0; font-size: .64rem; font-weight: 750; }
.home-count { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #ef5262; font-size: .62rem; font-weight: 850; }
.home-warning-card > p { display: flex; align-items: center; gap: 9px; margin: 20px 0 23px; color: #20814f; font-size: .7rem; font-weight: 650; }
.home-dashboard-lower { display: grid; grid-template-columns: 1fr .9fr 1fr; border-top: 1px solid var(--line); }
.home-dashboard-lower > section { min-width: 0; min-height: 150px; padding: 18px 20px; border-right: 1px solid var(--line); }
.home-dashboard-lower > section:last-child { border-right: 0; }
.home-dashboard-lower section > p { display: flex; align-items: center; gap: 8px; margin-top: 11px; color: var(--ink-soft); font-size: .66rem; }
.home-dashboard-lower section > p > i { width: 12px; height: 12px; flex: 0 0 auto; border: 2px solid #68b8aa; border-radius: 50%; }
.home-dashboard-lower section > p time { margin-left: auto; color: var(--muted); font-size: .58rem; }
.home-dashboard-lower .home-preview-link { display: inline-block; margin-top: 13px; }
.home-dashboard-lower p > span { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; font-size: .7rem; }
.trend-flat { color: #16846e; background: #e6f7f2; }.trend-up { color: #dc5364; background: #fdecef; }.trend-down { color: #2a8ac4; background: #e9f5fc; }
.home-quick-card > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 18px; }
.home-quick-card > div > span { min-width: 0; display: grid; place-items: center; gap: 5px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 11px; color: var(--primary); background: var(--surface-soft); }
.home-quick-card .icon { width: 18px; height: 18px; }
.home-quick-card small { max-width: 100%; overflow: hidden; color: var(--ink-soft); font-size: .56rem; text-overflow: ellipsis; }
.home-features { width: min(100%,1240px); margin: 0 auto; padding: clamp(66px,8vw,105px) clamp(20px,4vw,54px); }
.home-section-head { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.home-section-head .home-kicker { justify-content: center; }
.home-section-head h2, .home-insight h2, .home-cta h2 { margin: 13px 0 10px; color: var(--ink); font-size: clamp(2rem,3.6vw,3.35rem); line-height: 1.05; letter-spacing: -.04em; }
.home-section-head p, .home-insight-copy > p, .home-cta p { margin: 0; color: var(--muted); line-height: 1.6; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-feature { min-width: 0; display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.86); box-shadow: 0 10px 28px rgba(25,70,62,.05); }
.home-feature > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--primary); background: var(--brand-soft); }
.home-feature h3 { margin: 1px 0 5px; color: var(--ink); font-size: .96rem; }
.home-feature p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.home-comparison { width: min(calc(100% - 40px),1240px); margin: 0 auto clamp(66px,8vw,100px); }
.home-comparison.is-compact { width: 100%; margin: 28px 0; }
.home-comparison-compact-title { margin: 0 0 17px; color: var(--ink); font-size: clamp(1.55rem,2.5vw,2.2rem); }
.home-plan-table { overflow: hidden; border: 1px solid #c9ded9; border-radius: 23px; background: rgba(255,255,255,.94); box-shadow: 0 20px 48px rgba(25,70,62,.09); }
.home-plan-row { display: grid; grid-template-columns: minmax(260px,1.5fr) minmax(175px,.75fr) minmax(215px,.9fr); border-bottom: 1px solid var(--line); }
.home-plan-row:last-child { border-bottom: 0; }
.home-plan-row > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 17px 20px; border-right: 1px solid var(--line); text-align: center; }
.home-plan-row > div:first-child { justify-content: flex-start; text-align: left; }
.home-plan-row > div:last-child { border-right: 0; background: rgba(235,247,244,.65); }
.home-plan-header { color: var(--ink); background: linear-gradient(135deg,#f8fcfb,#eef8f5); }
.home-plan-header > div { min-height: 118px; flex-direction: column; gap: 3px; }
.home-plan-header > div:first-child { align-items: flex-start; color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-plan-header span { color: var(--primary); font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-plan-header strong { font-size: 1.75rem; line-height: 1.1; }
.home-plan-header small { color: var(--muted); font-size: .7rem; font-weight: 600; }
.home-plan-feature { color: var(--ink); font-size: .88rem; font-weight: 720; }
.home-plan-check { width: 25px; height: 25px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #25b876; font-size: .8rem; font-weight: 900; box-shadow: 0 5px 13px rgba(37,184,118,.2); }
.home-plan-dash { color: #a0afab; font-size: 1.5rem; line-height: 1; }
.home-plan-value-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.home-plan-text { color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }
.home-plan-pro .home-plan-text { color: #086c61; font-weight: 720; }
.home-plan-actions > div { min-height: 82px; }
.home-plan-actions .button { width: min(100%,180px); justify-content: center; }
.home-plan-note { max-width: 900px; margin: 14px auto 0; color: var(--muted); font-size: .72rem; line-height: 1.5; text-align: center; }
.home-insight { width: min(calc(100% - 40px),1240px); margin: 0 auto clamp(66px,8vw,100px); padding: clamp(30px,5vw,58px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(28px,6vw,80px); border: 1px solid #cae0da; border-radius: 25px; background: linear-gradient(135deg,#edf8f4,#f8fcfb); }
.home-insight-copy > .button { margin-top: 24px; }
.home-insight-preview { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 45px rgba(25,70,62,.09); }
.home-insight-preview > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#fbfefd,#f1f8f6); }
.home-insight-preview h3 { margin: 4px 0 0; color: var(--ink); font-size: 1.2rem; line-height: 1.2; }
.home-eyebrow { color: var(--primary); font-size: .62rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.home-live-status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid #ccebdc; border-radius: 999px; color: #16784a; background: #ebf9f2; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.home-live-status i { width: 8px; height: 8px; border-radius: 50%; background: #28b775; box-shadow: 0 0 0 4px rgba(40,183,117,.12); }
.home-insight-overview { display: grid; grid-template-columns: 170px minmax(0,1fr); align-items: center; gap: 22px; padding: 20px 22px; }
.home-insight-score { text-align: center; }
.home-insight-ring { --score: 90; width: 124px; aspect-ratio: 1; margin: auto; padding: 9px; border-radius: 50%; background: conic-gradient(#2ab977 calc(var(--score) * 1%),#e5efec 0); }
.home-insight-ring > div { width: 100%; height: 100%; display: grid; grid-template-columns: auto auto; place-content: center; align-items: end; border-radius: 50%; background: #fff; }
.home-insight-ring strong { color: var(--ink); font-size: 2rem; line-height: 1; }
.home-insight-ring span { margin-bottom: 3px; color: var(--muted); font-size: .68rem; font-weight: 700; }
.home-insight-ring small { grid-column: 1 / -1; margin-top: 7px; color: #1ca765; font-size: .64rem; font-weight: 800; }
.home-insight-score > p { margin: 9px 0 0; color: var(--muted); font-size: .7rem; }
.home-insight-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.home-insight-values article { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.home-insight-values article > span { display: block; color: var(--muted); font-size: .62rem; }
.home-insight-values strong { display: block; margin-top: 5px; color: var(--ink); font-size: 1.08rem; line-height: 1.1; }
.home-insight-values strong em { color: var(--muted); font-size: .58rem; font-style: normal; font-weight: 700; }
.home-insight-values small { display: block; margin-top: 6px; overflow: hidden; color: #16814d; font-size: .58rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.home-stability { padding: 0 22px 18px; }
.home-stability > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-stability h4 { margin: 0; color: var(--ink); font-size: .78rem; }
.home-stability small { color: var(--muted); font-size: .62rem; }
.home-stability svg { display: block; width: 100%; height: 84px; margin-top: 10px; overflow: visible; }
.home-chart-grid { fill: none; stroke: #e5efec; stroke-width: 1; }
.home-chart-area { fill: rgba(42,185,119,.09); }
.home-chart-line { fill: none; stroke: #22a66a; stroke-linecap: round; stroke-width: 3; }
.home-insight-preview > footer { display: flex; flex-wrap: wrap; gap: 16px; padding: 13px 22px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.home-insight-preview > footer span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .66rem; }
.home-insight-preview > footer .icon { width: 17px; height: 17px; color: var(--primary); }
.home-insight-preview > footer .home-check { width: 17px; height: 17px; font-size: .58rem; }
.maintenance-task-link-field { display: grid; gap: 7px; margin-top: 18px; padding: 16px; border: 1px solid #cde3dd; border-radius: 14px; background: #f3faf8; }
.maintenance-task-link-field small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.45; }
.maintenance-task-link-field.has-no-tasks { display: none; }
.feedback-screenshot-field { display: grid; gap: 8px; margin-top: 18px; padding: 16px; border: 1px solid #cde3dd; border-radius: 14px; background: #f5faf9; }
.feedback-form-card label > small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.feedback-form-card :is(input,textarea).is-invalid { border-color: #cf3f49; box-shadow: 0 0 0 3px rgba(207,63,73,.12); }
.field-error { color: #b4232f; font-size: .78rem; font-weight: 700; }
.form-validation-summary { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #efb3b8; border-radius: 13px; background: #fff5f5; color: #8f1f29; }
.form-validation-summary[hidden] { display: none; }
.form-validation-summary strong { display: block; margin-bottom: 5px; }
.form-validation-summary ul { margin: 0; padding-left: 20px; }
.feedback-screenshot-field > label { display: grid; gap: 8px; }
.feedback-screenshot-field > small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.feedback-screenshot-preview { position: relative; width: min(100%,520px); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.feedback-screenshot-preview[hidden] { display: none; }
.feedback-screenshot-preview img { display: block; width: 100%; max-height: 310px; object-fit: contain; background: #edf5f3; }
.feedback-screenshot-preview .button { position: absolute; right: 10px; bottom: 10px; }
.feedback-attachment-link { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; }
.feedback-attachment-link .icon { width: 18px; height: 18px; }
.feedback-admin-screenshot { width: min(100%,720px); margin: 18px 0; }
.feedback-admin-screenshot button { display: block; width: 100%; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #edf5f3; cursor: zoom-in; }
.feedback-admin-screenshot img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.feedback-admin-screenshot figcaption { margin-top: 7px; color: var(--muted); font-size: .72rem; }
.admin-feedback-link,
.feedback-conversation-link,
.feedback-admin-conversation-button { display: inline-flex; align-items: center; gap: 9px; }
.admin-feedback-count,
.feedback-unread-count { display: inline-flex; min-width: 23px; height: 23px; align-items: center; justify-content: center; padding: 0 7px; border-radius: 999px; background: #e54855; color: #fff; box-shadow: 0 4px 12px rgba(229,72,85,.28); font-size: .72rem; font-weight: 900; line-height: 1; }
.feedback-conversation-link { color: var(--primary); font-weight: 800; white-space: nowrap; }
.feedback-admin-conversation-button { width: max-content; margin: 16px 0 4px; }
.feedback-captcha { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,260px); gap: 20px; align-items: end; margin-top: 18px; padding: 17px; border: 1px solid #cde3dd; border-radius: 14px; background: #f3faf8; }
.feedback-captcha > div { display: grid; gap: 5px; }
.feedback-captcha strong { color: var(--ink); font-size: 1.45rem; letter-spacing: .04em; }
.feedback-captcha small { color: var(--muted); font-weight: 500; }
.feedback-captcha label { display: grid; gap: 7px; }
.feedback-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.feedback-report-detail { display: grid; gap: 17px; }
.feedback-report-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); }
.feedback-conversation { display: grid; gap: 22px; }
.feedback-chat { display: flex; flex-direction: column; gap: 13px; }
.feedback-chat-empty { margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 13px; color: var(--muted); text-align: center; }
.feedback-chat-message { width: min(78%,720px); padding: 14px 16px; border: 1px solid var(--line); border-radius: 17px; background: #f3f8f7; }
.feedback-chat-message.is-mine { align-self: flex-end; border-bottom-right-radius: 5px; background: #e4f6f0; }
.feedback-chat-message.is-other { align-self: flex-start; border-bottom-left-radius: 5px; }
.feedback-chat-message.is-admin { border-color: #b9ddd4; }
.feedback-chat-message header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.feedback-chat-message header strong { color: var(--primary); font-size: .82rem; }
.feedback-chat-message time { color: var(--muted); font-size: .7rem; }
.feedback-chat-message p { margin: 0; line-height: 1.55; }
.feedback-reply-form { display: grid; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); }
.feedback-reply-form label { display: grid; gap: 7px; }
.feedback-reply-form small { color: var(--muted); font-weight: 500; }
.feedback-reply-form button { width: max-content; }
@media (max-width: 700px) {
  .feedback-captcha { grid-template-columns: 1fr; }
  .feedback-chat-message { width: 92%; }
  .feedback-report-meta { align-items: flex-start; flex-direction: column; }
}
.home-cta { width: min(calc(100% - 40px),1240px); margin: 0 auto 72px; padding: clamp(28px,4vw,46px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 18px 44px rgba(25,70,62,.08); }
.home-cta h2 { font-size: clamp(1.8rem,3vw,2.8rem); }
.home-cta > .button { flex: 0 0 auto; }

@media (max-width: 1120px) {
  .home-hero-inner { grid-template-columns: 1fr; max-width: 880px; }
  .home-copy { max-width: 700px; }
  .home-preview { width: 100%; }
  .home-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .promo-page .menu-toggle { color: var(--primary); border-color: var(--line); background: var(--surface-soft); }
  .promo-page .primary-nav { border-color: var(--line); background: #fff; }
  .home-dashboard-grid { grid-template-columns: .8fr 1.2fr; }
  .home-warning-card { grid-column: 1 / -1; min-height: 130px !important; border-top: 1px solid var(--line); }
  .home-dashboard-grid > section:nth-child(2) { border-right: 0; }
  .home-dashboard-lower { grid-template-columns: 1fr 1fr; }
  .home-quick-card { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .home-dashboard-lower > section:nth-child(2) { border-right: 0; }
  .home-insight { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .home-hero-inner { padding: 48px 16px 66px; gap: 42px; }
  .home-copy h1 { margin-top: 14px; font-size: clamp(2.55rem,11.5vw,3.65rem); font-weight: 600; line-height: 1; }
  .home-copy > p { font-size: 1rem; }
  .home-actions { display: grid; grid-template-columns: 1fr; }
  .home-actions .button { width: 100%; }
  .home-platform-note { width: 100%; }
  .home-dashboard { border-radius: 18px; }
  .home-dashboard-head { align-items: flex-start; padding: 17px; }
  .home-dashboard-grid, .home-dashboard-lower { display: grid; grid-template-columns: 1fr; }
  .home-dashboard-grid > section, .home-dashboard-lower > section { min-height: 0; padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-dashboard-grid > section:last-child, .home-dashboard-lower > section:last-child { border-bottom: 0; }
  .home-warning-card, .home-quick-card { grid-column: auto; }
  .home-score-ring { margin-block: 20px 8px; }
  .home-metrics-card li { grid-template-columns: 20px 1fr auto; }
  .home-metrics-card li small { display: none; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-features { padding-inline: 16px; }
  .home-comparison { width: calc(100% - 32px); }
  .home-comparison.is-compact { width: 100%; }
  .home-plan-table { border-radius: 17px; }
  .home-plan-row { grid-template-columns: 1fr 1fr; }
  .home-plan-row > div { min-height: 58px; padding: 13px 12px; }
  .home-plan-row > div:first-child { grid-column: 1 / -1; min-height: 0; padding-bottom: 9px; border-right: 0; background: #f7fbfa; }
  .home-plan-row > div:nth-child(2) { border-top: 1px solid var(--line); }
  .home-plan-row > div:nth-child(3) { border-top: 1px solid var(--line); }
  .home-plan-header > div { min-height: 82px; }
  .home-plan-header > div:first-child { display: none; }
  .home-plan-header > div:nth-child(2),.home-plan-header > div:nth-child(3) { border-top: 0; }
  .home-plan-header strong { font-size: 1.4rem; }
  .home-plan-feature { font-size: .82rem; }
  .home-plan-actions > div:first-child { display: none; }
  .home-plan-actions > div:nth-child(2),.home-plan-actions > div:nth-child(3) { border-top: 0; }
  .home-plan-actions .button { min-height: 42px; padding-inline: 10px; font-size: .74rem; }
  .home-section-head { text-align: left; }
  .home-section-head .home-kicker { justify-content: flex-start; }
  .home-insight, .home-cta { width: calc(100% - 32px); }
  .home-insight { padding: 24px 18px; }
  .home-insight-preview > header { padding: 17px; }
  .home-insight-overview { grid-template-columns: 1fr; padding: 18px; }
  .home-stability { padding-inline: 18px; }
  .home-insight-preview > footer { padding-inline: 18px; }
  .home-cta { align-items: stretch; flex-direction: column; padding: 25px 20px; }
  .home-cta .button { width: 100%; }
}
@media (max-width: 440px) {
  .home-copy h1 { font-size: clamp(2.35rem,11vw,3.2rem); }
  .home-ok { padding: 7px 9px; font-size: .64rem; }
  .home-dashboard-head h2 { font-size: 1.16rem; }
  .home-insight-values { grid-template-columns: 1fr; }
  .home-live-status { padding: 7px 9px; font-size: .62rem; }
  .home-quick-card > div { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Landing hero with aquarium photography and responsive device showcase */
.promo-page .home-hero {
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #031a2d url("aquawijs-hero-discus.webp") center / cover no-repeat;
}
.promo-page .home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(2,17,33,.82) 0%, rgba(2,20,37,.67) 34%, rgba(2,24,42,.30) 66%, rgba(2,18,31,.08) 100%),
    linear-gradient(0deg, rgba(3,27,43,.62) 0%, transparent 34%);
}
.promo-page .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  width: auto;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #18d5e7, #21deb0 58%, transparent 92%);
}
.promo-page .home-hero-inner {
  width: min(100%,1560px);
  min-height: 760px;
  padding-top: clamp(58px,6vw,90px);
  padding-bottom: clamp(64px,7vw,100px);
  grid-template-columns: minmax(460px,.86fr) minmax(610px,1.14fr);
  gap: clamp(30px,3.6vw,58px);
}
.promo-page .home-copy { position: relative; z-index: 4; }
.promo-page .home-copy .home-kicker { color: #6be9dc; }
.promo-page .home-copy .home-kicker::before { background: #35dbc9; }
.promo-page .home-copy h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(3.15rem,4.35vw,4.9rem);
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 3px 25px rgba(0,9,20,.22);
}
.promo-page .home-copy h1 span { color: #48ddcb; }
.promo-page .home-copy > p { color: rgba(235,250,249,.82); }
.promo-page .home-platform-note {
  border-color: rgba(137,218,214,.26);
  color: #fff;
  background: rgba(4,35,54,.62);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.promo-page .home-platform-note > .icon { color: #59e3d4; }
.promo-page .home-platform-note strong { color: #fff; }
.promo-page .home-platform-note small { color: rgba(226,246,244,.70); }
.promo-page a.button.home-primary,
.promo-page a.button.home-primary:visited {
  color: #032b31;
  border-color: #47e5d2;
  background: linear-gradient(145deg,#71f0df,#25cfbb);
  box-shadow: 0 15px 34px rgba(16,220,195,.22);
}
.promo-page a.button.home-primary:hover,
.promo-page a.button.home-primary:focus-visible {
  color: #021f25;
  border-color: #8bf6e9;
  background: linear-gradient(145deg,#91f6e9,#3edbc8);
}
.promo-page .home-hero .home-secondary {
  color: #fff;
  border-color: rgba(177,226,224,.48);
  background: rgba(5,31,49,.62);
  backdrop-filter: blur(9px);
}
.promo-page .home-hero .home-secondary:hover {
  color: #fff;
  border-color: #72eadc;
  background: rgba(7,52,69,.78);
}
.promo-page .home-preview {
  position: relative;
  min-width: 0;
  padding: 8px 34px 155px 0;
  perspective: 1800px;
}
.promo-page .home-preview .home-dashboard {
  position: relative;
  z-index: 1;
  max-height: 535px;
  overflow: hidden;
  border: 11px solid #0a2332;
  border-bottom-width: 17px;
  border-radius: 22px;
  background: #f7fbfa;
  box-shadow: 0 34px 75px rgba(0,10,23,.48), inset 0 0 0 1px rgba(255,255,255,.13);
  transform: rotateY(-2deg) rotateX(.6deg);
  transform-origin: center bottom;
}
.promo-page .home-preview .home-dashboard::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: -7px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #244454;
  box-shadow: 0 0 0 2px #061a27;
}
.promo-page .home-preview::before,
.promo-page .home-preview::after {
  content: "";
  position: absolute;
  z-index: 3;
  display: block;
  background-color: #f6fbfa;
  background-repeat: no-repeat;
  box-shadow: 0 26px 55px rgba(0,11,24,.50), inset 0 0 0 1px rgba(255,255,255,.16);
}
.promo-page .home-preview::before {
  left: -3%;
  bottom: 18px;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 10px solid #0b2938;
  border-radius: 23px;
  background-image: url("landing-co2-tablet.webp");
  background-position: center;
  background-size: contain;
  transform: rotate(-3deg);
}
.promo-page .home-preview::after {
  right: 3%;
  bottom: 0;
  width: 20%;
  aspect-ratio: 9 / 18.5;
  border: 8px solid #071e2c;
  border-radius: 25px;
  background-image: url("landing-phone-dashboard.svg");
  background-position: center;
  background-size: cover;
  transform: rotate(3deg);
}

@media (max-width: 1280px) {
  .promo-page .home-hero-inner {
    grid-template-columns: minmax(430px,.82fr) minmax(0,1.18fr);
    gap: clamp(26px,3vw,38px);
    padding-inline: 30px;
  }
  .promo-page .home-copy h1 { font-size: clamp(3.15rem,4.7vw,4.2rem); }
}
@media (max-width: 1120px) {
  .promo-page .home-hero-inner { min-height: 0; max-width: 900px; grid-template-columns: 1fr; padding-top: 72px; }
  .promo-page .home-copy { max-width: 650px; }
  .promo-page .home-preview { margin-top: 4px; }
}
@media (max-width: 680px) {
  .promo-page .home-hero { background-position: 52% center; }
  .promo-page .home-hero::before {
    background: linear-gradient(180deg,rgba(2,18,33,.82),rgba(2,22,39,.58) 53%,rgba(3,24,39,.82));
  }
  .promo-page .home-hero-inner { padding: 50px 16px 74px; gap: 34px; }
  .promo-page .home-copy h1 { font-size: clamp(2.55rem,12vw,3.75rem); }
  .promo-page .home-preview { padding: 3px 7px 105px; }
  .promo-page .home-preview .home-dashboard {
    max-height: 410px;
    border-width: 7px;
    border-bottom-width: 11px;
    border-radius: 16px;
    transform: none;
  }
  .promo-page .home-preview::before {
    left: 0;
    bottom: 11px;
    width: 57%;
    border-width: 6px;
    border-radius: 15px;
  }
  .promo-page .home-preview::after {
    right: 6%;
    width: 25%;
    border-width: 5px;
    border-radius: 18px;
  }
}
/* Aquarium passport */
@media(max-width:900px){.water-change-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dashboard-change-panel>.panel-heading{align-items:flex-start;flex-direction:column}.dashboard-change-panel>.panel-heading .panel-link{margin-left:0}.water-change-grid{grid-template-columns:1fr}.water-change-card{padding:13px 14px}}
/* Aquarium passport */
.passport-page-head{align-items:flex-end}.passport-actions{display:flex;gap:.65rem;flex-wrap:wrap}.passport-settings-card{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:2rem;align-items:start;margin-bottom:1.25rem}.passport-settings-card h2,.passport-pro-card h2{margin:.25rem 0 .45rem}.passport-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-bottom:1rem}.passport-setting{margin:0}.passport-setting>input{position:absolute;opacity:0;pointer-events:none}.passport-setting>span{display:flex;align-items:center;gap:.55rem;min-height:48px;padding:.75rem;border:1px solid var(--border);border-radius:14px;background:#f8fcfb;color:var(--muted);cursor:pointer;transition:.2s}.passport-setting svg{color:var(--primary)}.passport-setting>input:checked+span{border-color:#69bdb2;background:#eaf8f5;color:var(--text);box-shadow:0 0 0 2px rgba(8,128,113,.08)}.passport-setting>input:focus-visible+span{outline:3px solid rgba(17,145,128,.22);outline-offset:2px}.aquarium-passport{max-width:1180px;margin:0 auto 1.5rem;background:rgba(255,255,255,.98);border:1px solid var(--border);border-radius:26px;overflow:hidden;box-shadow:0 22px 60px rgba(19,62,56,.1)}.passport-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);min-height:330px;background:linear-gradient(135deg,#eaf8f5 0%,#f9fcfb 62%);border-bottom:1px solid var(--border)}.passport-identity{padding:clamp(1.5rem,4vw,3.5rem);display:flex;flex-direction:column;justify-content:center}.passport-identity h1{font-size:clamp(2.5rem,6vw,5rem);line-height:.96;margin:.55rem 0 1.6rem;letter-spacing:-.055em}.passport-version-title{color:var(--primary);font-weight:700;margin:-1rem 0 1.3rem}.passport-cover{margin:0;position:relative;min-height:310px;overflow:hidden;background:#dcece8}.passport-cover img{width:100%;height:100%;object-fit:cover;display:block}.passport-cover figcaption{position:absolute;left:1rem;bottom:1rem;padding:.45rem .7rem;border-radius:999px;background:rgba(8,45,41,.78);color:#fff;font-size:.78rem}.passport-cover-empty{display:flex;min-height:310px;align-items:center;justify-content:center;flex-direction:column;gap:.75rem;color:#5d7d78;background:radial-gradient(circle at 70% 25%,rgba(68,197,181,.2),transparent 30%),linear-gradient(145deg,#dcefeb,#f4faf8)}.passport-cover-empty svg{width:58px;height:58px}.passport-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.passport-facts span{display:flex;flex-direction:column;padding:.8rem 1rem;border:1px solid rgba(8,128,113,.16);border-radius:14px;background:rgba(255,255,255,.72)}.passport-facts small{color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.passport-facts strong{margin-top:.2rem}.passport-section{padding:clamp(1.25rem,3vw,2.25rem);border-bottom:1px solid var(--border)}.passport-section:last-of-type{border-bottom:0}.passport-section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.passport-section-head>div{display:flex;align-items:center;gap:.7rem}.passport-section-head h2{margin:0;font-size:1.35rem}.passport-section-head time,.passport-section-head>strong{font-size:.8rem;color:var(--muted)}.passport-section-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e1f5f0;color:var(--primary)}.passport-water-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.passport-water-value{display:grid;grid-template-columns:1fr auto;gap:.3rem .75rem;padding:1rem;border:1px solid var(--border);border-radius:16px;background:#fbfdfd}.passport-water-value span{display:flex;flex-direction:column}.passport-water-value span small{color:var(--muted);font-size:.72rem}.passport-water-value b{font-size:1.25rem}.passport-water-value em{grid-column:1/-1;font-size:.72rem;font-style:normal;color:#16805f}.passport-water-value.is-low,.passport-water-value.is-high{background:#fff7f5;border-color:#f2c0b8}.passport-water-value.is-low em,.passport-water-value.is-high em{color:#c4453b}.passport-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.passport-list-grid article{display:flex;flex-direction:column;min-height:100px;padding:1rem;border:1px solid var(--border);border-radius:16px;background:#fbfdfd}.passport-list-grid article em{font-size:.82rem;color:var(--muted);margin:.2rem 0 auto}.passport-list-grid article span{font-size:.76rem;color:#52706c;margin-top:.65rem}.passport-task-list{display:grid;gap:.55rem}.passport-task-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.8rem 1rem;border:1px solid var(--border);border-radius:14px}.passport-task-list article>span{width:11px;height:11px;border:2px solid #24a98c;border-radius:50%}.passport-task-list article div{display:flex;flex-direction:column}.passport-task-list small,.passport-task-list time{color:var(--muted);font-size:.76rem}.passport-empty{color:var(--muted);margin:.4rem 0}.passport-footer{display:flex;justify-content:space-between;gap:1rem;padding:1rem 2rem;background:#f4faf8;color:var(--muted);font-size:.75rem}.passport-footer strong{color:var(--primary)}.passport-pro-card{max-width:1180px;margin:1.25rem auto}.passport-pro-heading{display:flex;justify-content:space-between;gap:2rem;align-items:flex-start}.passport-inline-form{display:flex;align-items:flex-end;gap:.6rem;min-width:min(100%,480px)}.passport-inline-form label{flex:1}.passport-history-list,.passport-share-list{display:grid;gap:.55rem;margin-top:1rem}.passport-history-list article,.passport-share-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--border);border-radius:14px}.passport-history-list article>div,.passport-share-list article>div{display:flex;flex-direction:column}.passport-history-list article>div:last-child{flex-direction:row;gap:.45rem}.passport-history-list time,.passport-share-list small{font-size:.75rem;color:var(--muted)}.passport-share-form{display:grid;grid-template-columns:1fr .6fr auto;gap:.7rem;align-items:end;margin-top:1.25rem}.passport-new-share{padding:1rem;margin-top:1rem;border:1px solid #71c8b8;border-radius:16px;background:#ecfaf7}.passport-new-share>div{display:flex;gap:.55rem;margin:.5rem 0}.passport-new-share input{flex:1;background:#fff}.passport-new-share small{color:var(--muted)}.passport-public-notice{max-width:1180px;margin:0 auto 1rem;display:flex;align-items:center;gap:.8rem;padding:.8rem 1rem;border-radius:14px;background:#eaf8f5;border:1px solid #b9ddd7}.passport-public-notice>span{color:var(--primary)}.passport-public-notice div{display:flex;flex-direction:column}.passport-public-notice small{color:var(--muted)}.passport-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.passport-index-card{display:grid;grid-template-columns:190px 1fr;gap:1.25rem;overflow:hidden;padding:0}.passport-index-card>img,.passport-index-placeholder{width:100%;height:100%;min-height:210px;object-fit:cover;background:#dcefeb}.passport-index-placeholder{display:grid;place-items:center;color:var(--primary)}.passport-index-placeholder svg{width:55px;height:55px}.passport-index-card>div{padding:1.25rem 1.25rem 1.25rem 0}.passport-index-card h2{margin:.3rem 0}.passport-index-card p{color:var(--muted);min-height:3em}.manage-passport{color:#087f71}
@media(max-width:900px){.passport-settings-card{grid-template-columns:1fr}.passport-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.passport-hero{grid-template-columns:1fr}.passport-cover,.passport-cover-empty{min-height:260px}.passport-water-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.passport-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.passport-pro-heading{flex-direction:column}.passport-inline-form{width:100%}.passport-index-grid{grid-template-columns:1fr}}
@media(max-width:620px){.passport-page-head{align-items:stretch}.passport-actions{display:grid;grid-template-columns:1fr}.passport-actions .button{justify-content:center}.passport-settings-card{padding:1rem}.passport-settings-grid{grid-template-columns:1fr 1fr}.passport-setting>span{padding:.65rem;font-size:.78rem}.passport-identity h1{font-size:2.55rem}.passport-facts{grid-template-columns:1fr 1fr}.passport-water-grid,.passport-list-grid{grid-template-columns:1fr}.passport-section-head{align-items:flex-start}.passport-section-head>div{align-items:flex-start}.passport-section-head time{white-space:nowrap}.passport-inline-form{align-items:stretch;flex-direction:column}.passport-inline-form button{width:100%}.passport-share-form{grid-template-columns:1fr}.passport-new-share>div{flex-direction:column}.passport-history-list article,.passport-share-list article{align-items:flex-start;flex-direction:column}.passport-index-card{grid-template-columns:110px 1fr}.passport-index-card>img,.passport-index-placeholder{min-height:190px}.passport-index-card>div{padding:1rem 1rem 1rem 0}}
@media print{.site-header,.site-footer,.passport-page-head,.passport-settings-card,.passport-pro-card,.pro-lock,.alert,.passport-public-notice{display:none!important}.site-shell,.container{display:block!important;max-width:none!important;padding:0!important;margin:0!important}.aquarium-passport{box-shadow:none;border:0;margin:0;max-width:none}.passport-section{break-inside:avoid}.passport-hero{break-after:avoid}.passport-public .site-header{display:none!important}body{background:#fff!important}.aquarium-passport{font-size:10pt}.passport-identity h1{font-size:35pt}}

/* Mollie abonnementen */
.subscription-pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0 12px}
.subscription-plan{position:relative;padding:30px;overflow:hidden}
.subscription-plan.is-recommended{border:2px solid #16a085;background:linear-gradient(145deg,#fff 0%,#effcf8 100%);box-shadow:0 20px 45px rgba(8,108,97,.12)}
.subscription-recommended{position:absolute;right:18px;top:16px;padding:6px 10px;border-radius:999px;background:#dff8ed;color:#07685d;font-size:.68rem;font-weight:800;letter-spacing:.08em}
.subscription-plan h2{margin:12px 0 8px;font-size:2.3rem;color:var(--ink)}
.subscription-plan h2 small{font-size:.95rem;color:var(--muted);font-weight:600}
.subscription-plan>p{color:var(--muted)}
.subscription-plan>ul{display:grid;gap:8px;margin:20px 0;padding:0;list-style:none}
.subscription-plan>ul li:before{content:'✓';display:inline-grid;place-items:center;width:21px;height:21px;margin-right:9px;border-radius:50%;background:#dcf7e9;color:#07845e;font-weight:900}
.subscription-checkout{display:grid;gap:14px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.subscription-checkout .check{align-items:flex-start;font-size:.88rem;line-height:1.45;color:var(--muted)}
.subscription-checkout button{width:100%}
.subscription-legal{margin:0 0 28px;color:var(--muted);font-size:.88rem;text-align:center}
.subscription-summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(320px,2fr) auto;gap:28px;align-items:center;margin-bottom:24px;background:linear-gradient(125deg,#fff,#f0fbf8)}
.subscription-summary h2{margin:7px 0 9px}
.subscription-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.subscription-summary dl div{padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.78)}
.subscription-summary dt{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800}
.subscription-summary dd{margin:5px 0 0;font-weight:800}
.subscription-summary form{margin:0}
.subscription-pending-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.subscription-pending-actions form{display:block}
.button.is-disabled{cursor:not-allowed;opacity:.72;pointer-events:none}
.subscription-payments{margin-top:24px}
.mollie-test-notice{border-color:#f4cd78;background:#fff9e8;color:#76510a}
.payment-result{text-align:center;padding:44px 32px}
.payment-result-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:20px;background:#e4f8f2;color:#08786c}
.payment-result-icon .icon{width:32px;height:32px}
.profile-summary{display:flex;align-items:center;gap:18px}
.profile-subscription-action{display:flex;align-items:center;gap:10px;margin-left:auto}
.status-pending,.status-activation_pending{background:#fff2cf;color:#956000}
.status-past_due,.status-failed{background:#ffe4e7;color:#af2636}
.status-canceled{background:#eef2f2;color:#5d6e6b}
@media(max-width:850px){.subscription-pricing{grid-template-columns:1fr}.subscription-summary{grid-template-columns:1fr}.subscription-summary dl{grid-template-columns:1fr}.subscription-pending-actions{align-items:stretch;flex-direction:column}.subscription-pending-actions .button{width:100%;justify-content:center}.profile-summary{align-items:flex-start;flex-wrap:wrap}.profile-subscription-action{width:100%;margin-left:0}}
@media(max-width:520px){.subscription-plan{padding:24px 20px}.subscription-recommended{position:static;display:inline-flex;margin-bottom:14px}.subscription-plan h2{font-size:1.9rem}}

/* Public SEO guides */
.seo-public-page .container{max-width:none;padding:0}.seo-content-page{background:linear-gradient(180deg,#f4fbf9 0,#fff 32%);color:var(--text)}
.seo-content-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr);align-items:center;gap:clamp(1.5rem,3vw,3.25rem);max-width:1440px;margin:0 auto;padding:clamp(3rem,7vw,7rem) clamp(1.25rem,5vw,4rem)}
.seo-content-hero>div,.seo-content-hero>figure{min-width:0}.seo-content-hero h1{max-width:680px;margin:.65rem 0 1.2rem;font-size:clamp(2.7rem,4.4vw,4.35rem);font-weight:650;line-height:1;letter-spacing:-.05em;overflow-wrap:break-word;hyphens:auto}.seo-content-hero p{max-width:680px;margin:0 0 1.7rem;color:var(--muted);font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.75}
.seo-content-hero figure{position:relative;margin:0;border-radius:30px;overflow:hidden;box-shadow:0 28px 75px rgba(12,72,64,.2)}.seo-content-hero figure:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(1,30,49,.12),transparent 60%)}.seo-content-hero img{display:block;width:100%;aspect-ratio:1.75;object-fit:cover}
.seo-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;max-width:1440px;margin:0 auto;padding:1.2rem clamp(1.25rem,5vw,4rem) 0;color:var(--muted);font-size:.92rem}.seo-breadcrumbs a{color:var(--primary);text-decoration:none}.seo-breadcrumbs a:hover{text-decoration:underline}.seo-breadcrumbs [aria-current="page"]{color:var(--text);font-weight:700}
.seo-urgent{max-width:1180px;margin:0 auto 2rem;padding:1.4rem 1.6rem;border-color:#f1b9b5;background:#fff6f5}.seo-urgent h2{margin:0 0 .45rem;color:#a72e2a;font-size:1.25rem}.seo-urgent p{margin:0;color:#653b38;line-height:1.7}
.seo-content-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;max-width:1340px;margin:0 auto;border:1px solid var(--border);border-radius:24px;overflow:hidden;background:var(--border);box-shadow:0 20px 55px rgba(19,62,56,.08)}.seo-content-sections article{padding:clamp(1.5rem,3vw,2.6rem);background:rgba(255,255,255,.98)}.seo-content-sections h2{margin:0 0 .8rem;font-size:1.35rem}.seo-content-sections p{margin:0;color:var(--muted);line-height:1.75}
.seo-parameter-table,.seo-phase-table{max-width:1180px;margin:clamp(2rem,5vw,4rem) auto;padding:clamp(1.25rem,3vw,2rem)}.seo-parameter-table h2,.seo-phase-table h2{margin:0 0 1rem}.seo-parameter-table th[scope="row"],.seo-phase-table th[scope="row"]{color:var(--primary);white-space:nowrap}.seo-parameter-table td,.seo-phase-table td{line-height:1.5}.seo-content-sections-followup{margin-top:clamp(2rem,5vw,4rem)}.seo-content-sections p a{font-weight:700;text-underline-offset:.18em}
.seo-content-check{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:2.5rem;align-items:center;max-width:1180px;margin:clamp(3rem,7vw,6rem) auto;padding:clamp(1.5rem,4vw,3.2rem);background:linear-gradient(135deg,#e8f8f4,#fff)}.seo-content-check h2{margin:.55rem 0 0;font-size:clamp(1.8rem,3vw,2.7rem);font-weight:650}.seo-content-check ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0;padding:0;list-style:none}.seo-content-check li{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;border:1px solid rgba(8,128,113,.15);border-radius:14px;background:rgba(255,255,255,.8)}.seo-content-check li span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#d9f5e8;color:#07815f;font-weight:900}
.seo-content-faq{max-width:920px;margin:0 auto;padding:0 1.25rem clamp(3rem,7vw,6rem)}.seo-content-faq>h2{margin:.55rem 0 1.5rem;font-size:clamp(2rem,4vw,3.2rem);font-weight:650}.seo-content-faq details{border-top:1px solid var(--border)}.seo-content-faq details:last-child{border-bottom:1px solid var(--border)}.seo-content-faq summary{cursor:pointer;padding:1.25rem 2.4rem 1.25rem 0;font-weight:700;list-style:none;position:relative}.seo-content-faq summary::-webkit-details-marker{display:none}.seo-content-faq summary:after{content:"+";position:absolute;right:.2rem;top:1rem;color:var(--primary);font-size:1.6rem;font-weight:400}.seo-content-faq details[open] summary:after{content:"–"}.seo-content-faq details p{max-width:780px;margin:-.35rem 0 1.35rem;color:var(--muted);line-height:1.7}
.seo-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;max-width:1100px;margin:0 auto clamp(3rem,6vw,5rem);padding:0 1.25rem}.seo-related a{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);font-weight:700;text-decoration:none}.seo-related a:hover{border-color:#73c7ba;color:var(--primary);transform:translateY(-2px)}
.home-guide-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;max-width:1120px;margin:2rem auto 0}.home-guide-links a{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1rem;border:1px solid var(--border);border-radius:14px;background:#fff;color:var(--text);font-weight:750;text-decoration:none}.home-guide-links a:hover{border-color:#73c7ba;color:var(--primary)}
.seo-content-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;max-width:1340px;margin:0 auto;padding:clamp(2rem,5vw,4rem);border-radius:28px 28px 0 0;background:#073d38;color:#fff}.seo-content-cta h2{margin:0 0 .5rem;color:#fff;font-size:clamp(1.8rem,3vw,2.7rem);font-weight:650}.seo-content-cta p{margin:0;color:#c7e3dd}.seo-content-cta .button{background:#5be0c3;color:#073d38}
.footer-content{display:flex;flex-wrap:wrap;gap:.65rem 1rem}.footer-content a{color:inherit;font-size:.82rem}
@media(max-width:1100px){.seo-content-hero{grid-template-columns:1fr;padding-top:3rem}.seo-content-hero figure{order:-1}.seo-content-hero h1{max-width:820px}.seo-content-sections{grid-template-columns:1fr;margin-inline:1.25rem}.seo-content-check,.seo-urgent,.seo-parameter-table,.seo-phase-table{grid-template-columns:1fr;margin-inline:1.25rem}.seo-content-cta{margin-inline:1.25rem}.seo-related{grid-template-columns:1fr}.home-guide-links{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:1rem}}
@media(max-width:620px){.seo-breadcrumbs{padding-inline:1rem}.seo-content-hero{padding:1.25rem 1rem 3rem;gap:2rem}.seo-content-hero figure{border-radius:18px}.seo-content-hero h1{font-size:2.65rem}.seo-content-check ul{grid-template-columns:1fr}.seo-content-cta{align-items:flex-start;flex-direction:column;margin-inline:.75rem}.seo-content-cta .button{width:100%;justify-content:center}.seo-content-sections,.seo-content-check,.seo-urgent,.seo-parameter-table,.seo-phase-table{margin-inline:.75rem}.home-guide-links{grid-template-columns:1fr}.seo-parameter-table,.seo-phase-table{padding:1rem}.seo-parameter-table table,.seo-phase-table table{min-width:640px}}

/* Pro AI analysis */
.dashboard-manage .manage-ai-analysis{color:#176f69;border-color:#a9dcd5;background:linear-gradient(135deg,#f5fffd,#eef9ff)}
.dashboard-manage .manage-ai-analysis .icon{color:#087f73;background:#dff6f1}.dashboard-manage .manage-ai-analysis:hover{border-color:#56b7aa;background:#edfcf9}
.analysis-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;flex-wrap:wrap}.ai-analysis-button{background:linear-gradient(135deg,#087f73,#1769a5);box-shadow:0 12px 28px rgba(8,127,115,.18)}
.ai-analysis-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2rem;background:linear-gradient(135deg,#fff 20%,#effbf8 100%)}
.ai-analysis-intro h2,.ai-analysis-form-card h2,.ai-history h2{margin:.35rem 0 .65rem}.ai-analysis-intro p,.ai-analysis-form-head p{max-width:850px;color:var(--muted)}
.ai-context-chips{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:1.1rem}.ai-context-chips span{padding:.55rem .75rem;border:1px solid #cde5e0;border-radius:999px;background:rgba(255,255,255,.85);color:#315d58;font-size:.86rem;font-weight:700}
.ai-quota{display:flex;min-width:180px;padding:1.2rem;align-items:center;flex-direction:column;border:1px solid #bde4dc;border-radius:20px;background:#fff;text-align:center;box-shadow:0 12px 32px rgba(12,86,77,.08)}.ai-quota strong{font-size:2.8rem;line-height:1;color:#087f73}.ai-quota span{margin-top:.35rem;font-weight:800}.ai-quota small{margin-top:.35rem;color:var(--muted)}
.ai-analysis-form-card{border-top:4px solid #168f82}.ai-analysis-form-card textarea{min-height:120px;resize:vertical}.ai-analysis-form-card .optional{color:var(--muted);font-weight:500}.ai-analysis-submit{display:inline-flex;align-items:center;gap:.55rem;margin-top:1rem}.ai-analysis-submit .icon{width:1.25rem;height:1.25rem}.ai-analysis-submit:disabled{cursor:not-allowed;filter:grayscale(.5);opacity:.55}.ai-analysis-submit.is-loading{filter:none;opacity:.78}.ai-analysis-submit.is-loading .icon{animation:ai-analysis-pulse 1s ease-in-out infinite}.quota-reached{color:#a6343d!important;font-weight:700}
.ai-analysis-is-loading{overflow:hidden}.ai-analysis-loading[hidden]{display:none!important}.ai-analysis-loading{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:1.25rem;background:rgba(4,38,34,.58);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.ai-analysis-loading-card{width:min(92vw,440px);padding:1.5rem 1.4rem 1.35rem;border:1px solid rgba(255,255,255,.5);border-radius:24px;background:#fff;text-align:center;box-shadow:0 28px 80px rgba(0,35,31,.32)}.ai-analysis-loading-card>strong{display:block;margin-top:1rem;color:#123f3a;font-size:1.2rem}.ai-analysis-loading-card>p{margin:.5rem auto 0;max-width:340px;color:var(--muted);line-height:1.55}.ai-fish-scene{position:relative;height:94px;overflow:hidden;border:1px solid #c8e8e2;border-radius:18px;background:linear-gradient(180deg,#e7fbf8 0%,#d7f3ef 58%,#c7ebe4 100%)}.ai-fish-scene:after{content:"";position:absolute;left:0;right:0;bottom:0;height:18px;background:linear-gradient(180deg,rgba(8,127,115,0),rgba(8,127,115,.09))}.ai-fish{position:absolute;z-index:2;top:30px;left:-52px;color:#087f73;animation:ai-fish-swim 2.8s ease-in-out infinite}.ai-fish .icon{width:46px;height:46px;filter:drop-shadow(0 4px 7px rgba(8,127,115,.18))}.ai-bubble{position:absolute;display:block;width:10px;height:10px;border:2px solid rgba(8,127,115,.3);border-radius:50%;bottom:-16px;animation:ai-bubble-rise 2.4s linear infinite}.ai-bubble-one{left:28%;animation-delay:.15s}.ai-bubble-two{left:55%;width:7px;height:7px;animation-delay:.85s}.ai-bubble-three{left:76%;width:13px;height:13px;animation-delay:1.35s}.ai-loading-dots{display:flex;justify-content:center;gap:.38rem;margin-top:1rem}.ai-loading-dots span{width:8px;height:8px;border-radius:50%;background:#168f82;animation:ai-loading-dot 1.15s ease-in-out infinite}.ai-loading-dots span:nth-child(2){animation-delay:.16s}.ai-loading-dots span:nth-child(3){animation-delay:.32s}@keyframes ai-fish-swim{0%{left:-52px;transform:translateY(4px) scaleX(1)}45%{transform:translateY(-5px) scaleX(1)}50%{left:calc(100% - 6px);transform:translateY(-4px) scaleX(1)}51%{transform:translateY(-4px) scaleX(-1)}95%{transform:translateY(5px) scaleX(-1)}100%{left:-52px;transform:translateY(4px) scaleX(-1)}}@keyframes ai-bubble-rise{0%{transform:translateY(0) scale(.75);opacity:0}15%{opacity:.75}100%{transform:translateY(-110px) scale(1.15);opacity:0}}@keyframes ai-loading-dot{0%,70%,100%{transform:translateY(0);opacity:.4}35%{transform:translateY(-5px);opacity:1}}@keyframes ai-analysis-pulse{0%,100%{transform:scale(1);opacity:.72}50%{transform:scale(1.13);opacity:1}}@media(prefers-reduced-motion:reduce){.ai-fish,.ai-bubble,.ai-loading-dots span,.ai-analysis-submit.is-loading .icon{animation:none}.ai-fish{left:calc(50% - 23px)}}
.ai-history{margin-top:2rem}.ai-history>.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:0 0 1rem}.ai-history>.section-heading h2{font-size:clamp(1.65rem,3vw,2.25rem)}.ai-history>.section-heading>span{color:var(--muted)}
.ai-history-item{padding:0!important;overflow:hidden}.ai-history-item+ .ai-history-item{margin-top:.85rem}.ai-history-item summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.3rem;cursor:pointer;list-style:none}.ai-history-item summary::-webkit-details-marker{display:none}.ai-history-item summary>span:first-child{display:flex;min-width:0;flex-direction:column;gap:.25rem}.ai-history-item summary strong{font-size:1rem}.ai-history-item summary small{max-width:850px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-history-language{padding:.35rem .55rem;border-radius:8px;background:#e6f6f2;color:#087f73;font-size:.75rem;font-weight:900;letter-spacing:.08em}.ai-history-item[open] summary{border-bottom:1px solid var(--border);background:#f7fbfa}.ai-response{padding:1.4rem;line-height:1.75;white-space:normal}.ai-history-item footer{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1.4rem;border-top:1px solid var(--border);background:#fbfdfc;color:var(--muted);font-size:.78rem}
.ai-response h3{margin:1.1rem 0 .45rem;color:var(--ink);font-size:1.05rem}.ai-response h3:first-child{margin-top:0}.ai-response ul,.ai-response ol{margin:.35rem 0 1rem;padding-left:1.35rem}.ai-response li{margin:.25rem 0}
.ai-todo-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:.75rem;margin:.65rem 0;padding:.8rem .9rem;border:1px solid #cfe4df;border-radius:14px;background:#f8fcfb}.ai-todo-check{width:18px;height:18px;border:2px solid #7fb9af;border-radius:5px;background:#fff;box-shadow:inset 0 0 0 3px #fff}.ai-todo-copy{min-width:0;display:grid;gap:.08rem}.ai-todo-copy strong{color:var(--ink);font-size:.94rem;line-height:1.4}.ai-todo-copy small{color:var(--muted);font-size:.72rem;line-height:1.35}.ai-todo-plan{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}.ai-todo-plan .icon,.ai-todo-planned .icon{width:16px;height:16px}.ai-todo-planned{display:inline-flex;align-items:center;gap:.35rem;padding:.48rem .65rem;border:1px solid #a7ddc5;border-radius:10px;background:#edf9f2;color:#21804f;font-size:.78rem;font-weight:800;white-space:nowrap}.ai-todo-item:has(.ai-todo-planned) .ai-todo-check{border-color:#28a869;background:#dff5e8;box-shadow:inset 0 0 0 3px #dff5e8}
@media(max-width:900px){.ai-analysis-intro{grid-template-columns:1fr}.ai-quota{min-width:0}.analysis-page-actions{justify-content:flex-start}.dashboard-manage .manage-ai-analysis{grid-column:1/-1}}
@media(max-width:620px){.ai-analysis-head .button,.analysis-page-actions{width:100%}.analysis-page-actions .button{width:100%;justify-content:center}.ai-context-chips{display:grid;grid-template-columns:1fr 1fr}.ai-history>.section-heading{align-items:flex-start;flex-direction:column}.ai-history-item summary small{white-space:normal}.ai-history-item footer{flex-direction:column}.ai-response{padding:1.1rem}.ai-analysis-intro,.ai-analysis-form-card{padding:1.15rem}.ai-quota strong{font-size:2.25rem}.ai-todo-item{grid-template-columns:22px minmax(0,1fr)}.ai-todo-plan,.ai-todo-planned{grid-column:2;width:100%;justify-content:center}}
.dashboard-overview-photo{display:flex;position:relative;width:170px;height:92px;margin:16px 0 0 auto;overflow:hidden;border:1px solid #d4e5e1;border-radius:14px;background:#edf7f4;box-shadow:0 8px 20px rgba(22,62,56,.08)}
.dashboard-overview-photo img{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-overview-photo.is-empty{background:linear-gradient(135deg,#edf7f4,#d8eee8)}
.dashboard-overview-photo.is-empty:after{content:'Geen overzichtsfoto';margin:auto;color:#5c7772;font-size:.72rem;font-weight:700;text-align:center}
.dashboard-overview-photo.is-empty img{display:none}
.dashboard-quick-actions .quick-note{border-color:#e5b9d0;background:#fff7fb}.dashboard-quick-actions .quick-note>span{background:#e9578a}
.aquarium-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:8px;border:1px solid #d6e6e2;border-radius:16px;background:rgba(255,255,255,.84);position:sticky;top:74px;z-index:3;box-shadow:0 8px 22px rgba(22,62,56,.06)}
.aquarium-tab{border:1px solid transparent;border-radius:10px;background:transparent;color:#43635e;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer}
.aquarium-tab:hover,.aquarium-tab[aria-selected=true]{background:#dff3ee;color:#087d6e;border-color:#b9e3d9}
.aquarium-tab-panel[hidden]{display:none!important}
.aquarium-notes-panel{margin-top:18px}
.aquarium-dashboard-back{margin-left:auto}
@media(max-width:760px){.dashboard-overview-photo{flex-basis:130px;width:130px;height:76px}.dashboard-pro-head{flex-wrap:wrap}.aquarium-tabs{top:8px}.aquarium-tab{padding:8px 10px;font-size:.86rem}.aquarium-dashboard-back{width:100%;margin:4px 0 0}}

/* v0.37.13 · aquarium CO2/light cycle */
.aquarium-cycle-settings .cycle-block + .cycle-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.aquarium-cycle-settings .cycle-block > .check { margin-bottom: 14px; }
.aquarium-cycle-settings .field-hint { display: block; margin-top: 8px; }
.cycle-transition-grid { margin-top: 10px; align-items: end; }
.cycle-transition-check { align-self: center; min-height: 44px; }


/* v0.37.18 · 10-day Pro trial */
.registration-pro-trial{display:flex;align-items:flex-start;gap:.75rem;margin:0 0 1.2rem;padding:1rem 1.05rem;border:1px solid #a9ddd3;border-radius:15px;background:linear-gradient(135deg,#eefbf8,#f7fbff)}
.registration-pro-trial>div{display:grid;gap:.2rem}.registration-pro-trial strong{color:#0b6259}.registration-pro-trial small{color:var(--muted);line-height:1.5}
.dashboard-pro-trial{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.75rem 1.25rem;border-bottom:1px solid #cbe8e1;background:linear-gradient(90deg,#e9f9f4,#f5fbff);color:#174b46}
.dashboard-pro-trial>div{display:grid;gap:.1rem}.dashboard-pro-trial strong{font-size:.9rem}.dashboard-pro-trial small{color:#55716d;font-size:.76rem;line-height:1.35}.dashboard-pro-trial>a{color:#087f73;font-size:.8rem;font-weight:800;white-space:nowrap}
@media(max-width:700px){.dashboard-pro-trial{grid-template-columns:auto minmax(0,1fr)}.dashboard-pro-trial>a{grid-column:2}.registration-pro-trial{align-items:flex-start}}


/* v0.37.25 - Free downgrade aquarium selection and locked cards */
.free-aquarium-choice{margin:0 0 18px;border:1px solid rgba(9,128,113,.22);background:linear-gradient(135deg,rgba(239,252,249,.98),rgba(255,255,255,.98))}
.free-aquarium-choice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.free-aquarium-choice-head h2{margin:6px 0 5px}.free-aquarium-choice-head p{margin:0;max-width:760px;color:var(--muted,#617572)}
.free-aquarium-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.free-aquarium-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(20,94,85,.16);border-radius:13px;background:#fff}
.free-aquarium-option.is-selected{border-color:rgba(8,128,111,.4);box-shadow:inset 3px 0 0 #0b8b79}.free-aquarium-option strong,.free-aquarium-option small{display:block}.free-aquarium-option small{margin-top:2px;color:var(--muted,#657774)}
.aquarium-locked-card{position:relative;display:flex;align-items:flex-start;gap:16px;border-style:dashed;background:rgba(250,252,252,.94)}
.aquarium-lock-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#edf5f3;color:#55726d}.aquarium-lock-icon svg{width:20px;height:20px}
.aquarium-locked-card h3{margin:4px 0 6px}.aquarium-locked-card p{margin:0 0 12px;color:var(--muted,#617572)}.aquarium-lock-actions{display:flex;flex-wrap:wrap;gap:8px}
.dashboard-aquariums .aquarium-locked-card{min-height:170px}.passport-index-grid .aquarium-locked-card{min-height:180px}
@media(max-width:720px){.free-aquarium-choice-head{flex-direction:column}.free-aquarium-choice-head>.button{width:100%}.free-aquarium-option{align-items:flex-start;flex-direction:column}.free-aquarium-option form,.free-aquarium-option button{width:100%}}

/* v0.37.26 - saved water sources */
.water-source-form{margin-bottom:20px}.water-source-parameters{margin-top:20px}.water-source-parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.water-source-parameter-grid label{display:grid;gap:6px;font-size:.86rem;font-weight:700;color:#385955}.water-change-sources{margin:18px 0}.water-change-source-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:12px 0}.water-change-source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d7e8e4;border-radius:12px;background:#f8fcfb}.water-change-source-row strong,.water-change-source-row small{display:block}.water-change-source-row small{margin-top:2px;color:var(--muted,#617572);font-weight:500}.water-change-source-row .input-unit{width:124px;flex:0 0 124px}.water-change-source-row input{min-width:0;padding:.6rem 50px .6rem .6rem}.water-change-source-row .input-unit span{right:38px}.water-change-sources>.button{margin-top:4px}@media(max-width:760px){.water-source-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.water-source-parameter-grid{grid-template-columns:1fr}}

.water-source-list-legacy{display:none}

/* v0.37.27.4 - compact history on the maintenance/event entry form */
.event-create-history{margin-top:1.5rem}.event-create-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;margin-bottom:1rem}.event-create-history-head h2{margin:0 0 .25rem;font-size:1.3rem}.event-create-history-head p{margin:0;color:var(--muted);line-height:1.55}.event-history-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.event-history-group{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.event-history-group h3{margin:0;padding:.85rem 1rem;border-bottom:1px solid var(--line);font-size:.95rem}.event-history-group-open h3{color:#8a5d08;background:#fff8e8}.event-history-group-closed h3{color:#176d56;background:#f1fbf6}.event-history-list{display:grid}.event-history-item{display:flex;align-items:center;gap:.75rem;padding:.8rem 1rem;color:var(--text);text-decoration:none}.event-history-item+.event-history-item{border-top:1px solid #e8f0ee}.event-history-item:hover{background:#f6fbf9}.event-history-date{display:grid;place-items:center;flex:0 0 52px;min-height:38px;border-radius:10px;background:#edf7f4;color:#087f73;font-size:.75rem;font-weight:800;text-align:center}.event-history-copy{display:grid;min-width:0;gap:.12rem}.event-history-copy strong,.event-history-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-history-copy strong{font-size:.9rem}.event-history-copy span{color:var(--muted);font-size:.78rem}.event-history-state{margin-left:auto;padding:.28rem .48rem;border-radius:999px;background:#fff0cd;color:#986500;font-size:.68rem;font-weight:800;white-space:nowrap}.event-history-item.is-closed .event-history-state{background:#e2f6eb;color:#197853}.event-history-empty{padding:1rem;color:var(--muted);font-size:.9rem}@media(max-width:700px){.event-create-history-head{display:block}.event-create-history-head p{margin-top:.35rem}.event-history-columns{grid-template-columns:1fr}.event-history-copy strong{white-space:normal}}

/* v0.37.27 - unified financial register */
.finance-page-head{align-items:flex-end}.finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px}.finance-summary-card{position:relative;min-height:116px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-sm);overflow:hidden}.finance-summary-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#0b8878}.finance-summary-card span,.finance-group-totals span{display:block;color:var(--muted);font-size:.78rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.finance-summary-card strong{display:block;margin-top:9px;color:var(--ink);font-size:1.8rem}.finance-outgoing:before{background:#ef5764}.finance-income:before{background:#28b77b}.finance-net:before{background:#078a7a}.finance-entry-card{border-color:#a9ddd5;background:linear-gradient(135deg,rgba(232,252,247,.98),rgba(255,255,255,.96))}.finance-entry-head{display:flex;align-items:flex-start;gap:15px;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid rgba(8,113,98,.18)}.finance-entry-head h2{margin:4px 0 5px}.finance-entry-head p{margin:0;color:var(--muted);max-width:760px}.finance-entry-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;color:#fff;background:linear-gradient(145deg,#079281,#056b61);box-shadow:0 10px 24px rgba(5,110,98,.19)}.finance-entry-icon .icon{width:23px;height:23px}.finance-entry-form .maintenance-task-field{margin-top:14px}.finance-groups{display:grid;gap:20px}.finance-group-totals{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:14px}.finance-group-totals span{text-align:right}.finance-group-totals strong{display:block;margin-top:4px;color:var(--ink);font-size:1rem}.finance-table .finance-row-income td:nth-child(6){color:#087951}.finance-table .finance-row-expense td:nth-child(6){color:#be3848}.finance-type{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;font-size:.72rem;font-weight:800;white-space:nowrap}.finance-type-expense{color:#a93444;background:#ffe9ec}.finance-type-income{color:#087451;background:#def7e9}
@media(max-width:820px){.finance-summary{grid-template-columns:1fr}.finance-summary-card{min-height:auto}.finance-group-totals{justify-content:flex-start}.finance-group-totals span{text-align:left}.finance-entry-head{gap:12px}.finance-entry-icon{width:42px;height:42px;flex-basis:42px}}

/* v0.37.28 - species catalogue administration */
.species-filter-card{padding:1.15rem}.species-filter-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;align-items:end}.species-filter-form label{display:grid;gap:.35rem;color:var(--muted);font-size:.8rem;font-weight:800}.species-filter-form input,.species-filter-form select{width:100%;min-width:0}.species-filter-form button{min-height:44px;justify-content:center}.species-overview-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem}.species-overview-meta span{color:var(--muted);font-size:.88rem}.species-table-image,.species-placeholder{display:grid;place-items:center;width:54px;height:54px;overflow:hidden;border:1px solid #d7e8e4;border-radius:12px;background:#f1f8f6}.species-table-image{object-fit:cover}.species-placeholder{gap:2px;color:#5d7c77;text-align:center}.species-placeholder .icon{width:20px;height:20px}.species-placeholder small{max-width:45px;font-size:.61rem;line-height:1.05}.species-table td{vertical-align:middle}.species-pagination{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:1rem}.species-pagination a{display:grid;place-items:center;width:34px;height:34px;border:1px solid #cfe3de;border-radius:9px;color:#276158;text-decoration:none;font-weight:800}.species-pagination a.active,.species-pagination a:hover{border-color:#087f73;background:#087f73;color:#fff}
.species-detail-card{padding:1.4rem}.species-detail-top{display:flex;align-items:flex-start;gap:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--line)}.species-detail-image{width:180px;max-width:36%;margin:0}.species-detail-image img{display:block;width:100%;height:135px;object-fit:cover;border:1px solid #d7e8e4;border-radius:14px;background:#f2f9f7}.species-detail-image .species-attribution{display:block;margin-top:.55rem}.species-detail-summary{display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.2rem}.species-detail-summary span{padding:.45rem .65rem;border:1px solid #d7e8e4;border-radius:999px;background:#f7fbfa;color:#456863;font-size:.82rem;font-weight:700}.species-detail-section{margin-top:1.5rem}.species-detail-section h2{margin:0 0 .8rem;font-size:1.1rem}.species-definition-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #ddebe8;border-radius:14px;overflow:hidden}.species-definition-list dt,.species-definition-list dd{margin:0;padding:.7rem .85rem;border-bottom:1px solid #edf3f1}.species-definition-list dt{background:#f7fbfa;color:#5b7772;font-size:.78rem;font-weight:800}.species-definition-list dd{font-weight:650}.species-definition-list dt:nth-last-of-type(1),.species-definition-list dd:last-child{border-bottom:0}.species-form-group{margin:0 0 1rem;padding:1rem;border:1px solid #d8e8e4;border-radius:15px;background:#fbfdfc}.species-form-group legend{padding:0 .35rem;color:#087f73;font-size:.85rem;font-weight:900}.species-form-group small{display:block;margin-top:.28rem;color:var(--muted);font-size:.73rem;font-weight:500}.species-image-grid,.species-commons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}.species-image-card,.species-commons-card{overflow:hidden;border:1px solid #d7e8e4;border-radius:15px;background:#fff}.species-image-card>img,.species-commons-card>img{display:block;width:100%;height:180px;object-fit:cover;background:#eef7f5}.species-image-card-body,.species-commons-card>div{display:grid;gap:.7rem;padding:1rem}.species-image-badges{display:flex;flex-wrap:wrap;gap:.4rem}.species-attribution{color:#58736e;font-size:.77rem;line-height:1.45}.species-attribution a{color:#087f73}.species-commons-search{margin-top:1.25rem}.species-commons-search>form{display:flex;align-items:end;gap:.75rem;margin-bottom:1rem}.species-commons-search>form label{display:grid;flex:1;gap:.35rem;font-size:.82rem;font-weight:800;color:var(--muted)}.species-commons-card strong,.species-commons-card small{overflow-wrap:anywhere}.species-commons-card small{color:#58736e}.species-commons-card .status{width:max-content}.species-commons-card .button{justify-content:center}
@media(max-width:1050px){.species-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.species-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.species-filter-form label:first-child{grid-column:1/-1}.species-detail-card{padding:1rem}.species-detail-top{align-items:stretch;flex-direction:column}.species-detail-image{width:100%;max-width:none}.species-detail-image img{height:190px}.species-definition-list{grid-template-columns:1fr}.species-definition-list dt{border-bottom:0;padding-bottom:.2rem}.species-definition-list dd{padding-top:.2rem}.species-commons-search>form{align-items:stretch;flex-direction:column}.species-commons-search>form button{width:100%;justify-content:center}}
@media(max-width:430px){.species-filter-form{grid-template-columns:1fr}.species-filter-form label{grid-column:auto!important}.species-overview-meta{align-items:flex-start;flex-direction:column}.species-table .row-actions{flex-wrap:nowrap}.species-image-grid,.species-commons-grid{grid-template-columns:1fr}}

/* v0.37.32 - keep complete species photos visible */
.species-image-grid{grid-template-columns:repeat(auto-fill,minmax(260px,340px));justify-content:start}
.species-image-card>img{width:100%;height:240px;object-fit:contain;object-position:center;background:linear-gradient(145deg,#edf7f4,#f8fbfa)}
.species-detail-image img{height:180px;object-fit:contain;object-position:center}
.species-commons-card>img{object-fit:contain;object-position:center}
@media(max-width:600px){.species-image-grid{grid-template-columns:minmax(0,1fr)}.species-image-card>img{height:min(68vw,260px)}}

/* v0.38.3 - reachable species actions and faster photo navigation */
.species-batch-selection .table-wrap{max-height:min(68vh,760px);overflow:auto;scrollbar-gutter:stable}.species-table th,.species-table td{white-space:nowrap}.species-table th:last-child,.species-table td:last-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-10px 0 16px -16px rgba(17,55,49,.65)}.species-table thead th:last-child{z-index:4;background:#f7fbfa}.species-table td:last-child .row-actions{flex-wrap:nowrap}.species-images-actions{display:grid;justify-items:end;gap:.65rem}.species-record-navigation{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem}.species-record-navigation .button.disabled{opacity:.45;cursor:not-allowed;pointer-events:none}
@media(max-width:1400px){.species-table th:nth-child(5),.species-table td:nth-child(5),.species-table th:nth-child(6),.species-table td:nth-child(6),.species-table th:nth-child(10),.species-table td:nth-child(10),.species-table th:nth-child(11),.species-table td:nth-child(11){display:none}}
@media(max-width:900px){.species-table th:nth-child(8),.species-table td:nth-child(8),.species-table th:nth-child(9),.species-table td:nth-child(9){display:none}.species-images-head{align-items:stretch}.species-images-actions{justify-items:stretch}.species-record-navigation,.species-images-actions .page-actions{justify-content:stretch}.species-record-navigation>*{flex:1;text-align:center;justify-content:center}}
@media(max-width:620px){.species-table th:nth-child(4),.species-table td:nth-child(4),.species-table th:nth-child(7),.species-table td:nth-child(7){display:none}.species-table-image,.species-table .species-placeholder{width:46px;height:46px}.species-table td:last-child .row-actions .button:not(.icon-only){display:none}.species-record-navigation{display:grid;grid-template-columns:1fr 1fr}.species-images-actions .page-actions{display:grid;grid-template-columns:1fr}.species-images-actions .button{width:100%;justify-content:center}}

/* v0.38.0 - species knowledge base and data quality */
.species-quality-nav{display:flex;gap:.5rem;margin:0 0 1.25rem;padding:.45rem;overflow-x:auto;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.92);box-shadow:var(--shadow-sm);scrollbar-width:thin}.species-quality-nav a{flex:0 0 auto;padding:.65rem .8rem;border-radius:10px;color:#395e58;text-decoration:none;font-size:.82rem;font-weight:850}.species-quality-nav a:hover,.species-quality-nav a.active{color:#06796d;background:#def4ef}.species-quality-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin-bottom:1.25rem}.species-quality-kpis .card{display:grid;gap:.25rem;min-height:112px;padding:1rem;text-decoration:none}.species-quality-kpis strong{color:var(--ink);font-size:1.65rem}.species-quality-kpis span{color:var(--muted);font-size:.78rem;font-weight:800}.species-quality-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.species-quality-score-grid>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.55rem}.species-quality-score-grid progress,.species-quality-detail progress,.species-batch-head progress{grid-column:1/-1;width:100%;height:9px;accent-color:#0a8a79}.species-quality-actions{margin-top:1.25rem}.species-quality-actions>div,.species-batch-filters,.species-audit-progress{display:flex;flex-wrap:wrap;gap:.55rem}.species-missing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.7rem}.species-missing-grid a,.species-issue-list a{display:grid;gap:.2rem;padding:.85rem;border:1px solid #dbeae7;border-radius:12px;color:var(--ink);text-decoration:none;background:#f9fcfb}.species-missing-grid strong{font-size:1.35rem}.species-missing-grid small,.species-simple-list em,.species-simple-list span{color:var(--muted);font-size:.76rem}.species-issue-list,.species-simple-list,.species-duplicate-list,.species-provider-results{display:grid;gap:.65rem}.species-issue-list a{grid-template-columns:1fr auto;align-items:center}.species-issue-list a.active{border-color:#088878;background:#e9f8f4}.species-simple-list>a,.species-provider-results article,.species-duplicate-list article{display:flex;align-items:center;gap:.75rem;padding:.85rem;border:1px solid #dbeae7;border-radius:12px;color:var(--ink);text-decoration:none;background:#fbfdfc}.species-simple-list>a em{margin-right:auto}.species-duplicate-list article{display:block}.species-duplicate-list article>div{display:flex;justify-content:space-between;gap:1rem}.species-compare-records{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.species-audit-progress span{padding:.45rem .65rem;border-radius:999px;background:#eef7f5;font-size:.78rem;font-weight:800}.species-quality-detail{padding-top:1.2rem;border-top:1px solid var(--line)}.species-quality-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.species-quality-detail-head h2{margin-bottom:.2rem}.species-quality-detail-head p{margin:0;color:var(--muted)}.species-quality-detail h3{margin:1rem 0 .35rem;font-size:.9rem}.species-batch-selection{display:block}.species-batch-toolbar{display:flex;align-items:end;justify-content:flex-end;gap:.7rem;margin-bottom:.8rem}.species-batch-toolbar label{display:grid;gap:.3rem;color:var(--muted);font-size:.75rem;font-weight:800}.species-batch-toolbar select{min-width:85px}.species-batch-head>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}.species-batch-filters{margin-bottom:1rem}.species-batch-filters a{padding:.4rem .6rem;border:1px solid #d6e7e3;border-radius:999px;color:#21665c;text-decoration:none;font-size:.75rem;font-weight:800}.species-provider-info{display:grid;grid-template-columns:1fr minmax(300px,.7fr);gap:1.25rem}.species-provider-info form{display:flex;align-items:end;gap:.65rem}.species-provider-info label{display:grid;flex:1;gap:.35rem;font-size:.8rem;font-weight:800}.species-provider-results article>div{display:grid;flex:1}.species-external-comparison{display:grid;margin:1rem 0;border:1px solid #d8e8e4;border-radius:13px;overflow:hidden}.species-external-head,.species-external-row{display:grid;grid-template-columns:1.1fr 1fr 1fr .7fr .4fr;gap:.6rem;align-items:center;padding:.7rem .8rem}.species-external-head{background:#f0f7f5;color:#52706b;font-size:.74rem}.species-external-row+.species-external-row{border-top:1px solid #e5efed}.comparison-status{width:max-content;padding:.3rem .5rem;border-radius:999px;font-size:.67rem;font-weight:850}.comparison-same{color:#187452;background:#def5e9}.comparison-missing_local{color:#0a6e93;background:#e2f4fa}.comparison-different{color:#9a6510;background:#fff0ce}.comparison-missing_external{color:#6f7776;background:#edf1f0}.species-import-preview{display:grid;gap:.65rem}.species-import-preview>div{display:grid;gap:.25rem;padding:.8rem;border:1px solid #dceae7;border-radius:12px}.species-import-preview small{color:#a33b49}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.species-quality-score-grid{grid-template-columns:1fr}.species-provider-info{grid-template-columns:1fr}.species-external-head{display:none}.species-external-row{grid-template-columns:1fr 1fr}.species-external-row>strong{grid-column:1/-1}.species-external-row span[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:.65rem;font-weight:800}.species-external-row .check{justify-self:end}.species-batch-toolbar{align-items:stretch;flex-direction:column}.species-batch-toolbar label,.species-batch-toolbar button{width:100%}}
@media(max-width:520px){.species-quality-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.species-quality-kpis .card{min-height:94px}.species-compare-records{grid-template-columns:1fr}.species-provider-info form{align-items:stretch;flex-direction:column}.species-provider-info button{width:100%}.species-external-row{grid-template-columns:1fr}.species-external-row .check{justify-self:start}}
.species-quality-meta{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.species-quality-meta>div{padding:.55rem .7rem;border:1px solid #dceae7;border-radius:11px;background:#f8fcfb}.species-quality-meta dt,.species-quality-meta dd{margin:0}.species-quality-meta dt{color:var(--muted);font-size:.67rem;font-weight:800;text-transform:uppercase}.species-quality-meta dd{margin-top:.15rem;font-weight:800}

/* v0.38.2 - bewonersfoto: catalogus of eigen foto */
.inhabitant-photo-editor{margin:1.25rem 0;padding:1.1rem;border:1px solid #cfe3de;border-radius:16px;background:#f8fcfb}.inhabitant-photo-editor>legend{padding:0 .4rem;color:var(--ink);font-weight:850}.inhabitant-photo-editor>p{margin:.1rem 0 1rem;color:var(--muted)}.inhabitant-photo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.inhabitant-photo-option{display:grid;grid-template-columns:auto 1fr;gap:.7rem;padding:.8rem;border:2px solid transparent;border-radius:14px;background:#fff;cursor:pointer;box-shadow:0 5px 16px rgba(22,62,56,.05)}.inhabitant-photo-option.is-selected{border-color:#0b8979;background:#effbf8}.inhabitant-photo-option:has(input:disabled){opacity:.62;cursor:not-allowed}.inhabitant-photo-option>input{margin:.2rem 0 0}.inhabitant-photo-option>span{display:grid;gap:.15rem}.inhabitant-photo-option>span small{color:var(--muted);font-weight:500}.inhabitant-photo-option>img,.inhabitant-photo-placeholder{grid-column:1/-1;display:grid;place-items:center;width:100%;height:180px;object-fit:contain;border:1px solid #dbeae7;border-radius:11px;background:linear-gradient(145deg,#edf7f4,#fbfdfc)}.inhabitant-photo-placeholder{gap:.35rem;color:#65817c}.inhabitant-photo-placeholder .icon{width:32px;height:32px}.inhabitant-own-upload{display:grid;gap:.4rem;margin-top:1rem}.inhabitant-no-photo{display:grid;place-items:center;gap:1px}.inhabitant-no-photo .icon{width:19px;height:19px}.inhabitant-no-photo small{font-size:.58rem;line-height:1}.plant-thumbnail-empty.inhabitant-no-photo{width:62px;height:62px;border:1px solid #d7e8e4;border-radius:12px;background:#f1f8f6;color:#64807b}
@media(max-width:680px){.inhabitant-photo-options{grid-template-columns:1fr}.inhabitant-photo-option>img,.inhabitant-photo-placeholder{height:min(55vw,220px)}}

/* v0.38.6 - read-only soortenbibliotheek en beveiligde soortaanvragen */
.species-user-filter{padding:1rem}.species-user-filter form{display:grid;grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:.8rem}.species-user-filter label{display:grid;gap:.35rem;color:var(--muted);font-size:.78rem;font-weight:800}.species-user-filter input,.species-user-filter select{width:100%;min-width:0}.species-user-filter button{min-height:44px;justify-content:center}.species-library-meta,.species-user-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;color:var(--muted)}.species-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:1rem}.species-library-card{padding:0;overflow:hidden;color:var(--ink);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.species-library-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(16,62,54,.12)}.species-library-image,.species-library-card>.species-placeholder{width:100%;height:185px;border:0;border-radius:0;object-fit:contain;background:linear-gradient(145deg,#edf8f5,#fff)}.species-library-card-body{display:grid;gap:.55rem;padding:1rem}.species-library-card h2{margin:0;font-size:1.15rem}.species-library-card p{margin:0;color:var(--muted)}.species-library-facts,.species-detail-summary{display:flex;flex-wrap:wrap;gap:.4rem}.species-library-facts span,.species-detail-summary span{display:inline-flex;align-items:center;gap:.25rem;padding:.35rem .5rem;border-radius:999px;background:#edf7f4;color:#3d6962;font-size:.72rem;font-weight:800}.species-library-facts .icon{width:14px;height:14px}.species-library-open{margin-top:.3rem;color:#087f73;font-size:.78rem}.species-library-empty{grid-column:1/-1;text-align:center}.species-user-pagination{justify-content:center}.species-library-detail{display:grid;gap:1.25rem}.species-library-detail-hero{display:grid;grid-template-columns:minmax(250px,.8fr) 1fr;align-items:center;gap:1.4rem}.species-library-detail-hero figure{margin:0}.species-library-detail-image,.species-library-detail-hero .species-placeholder{width:100%;height:300px;border:1px solid #d7e8e4;border-radius:16px;object-fit:contain;background:#f2f9f7}.species-public-section{padding-top:1rem;border-top:1px solid var(--line)}.species-public-section h2{font-size:1.05rem}.species-public-section dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.species-public-section dl>div{padding:.75rem;border:1px solid #dceae7;border-radius:12px;background:#f9fcfb}.species-public-section dt{color:var(--muted);font-size:.68rem;font-weight:850;text-transform:uppercase}.species-public-section dd{margin:.28rem 0 0;font-weight:700}.species-library-disclaimer{margin-top:1rem}.species-request-card form{display:grid;gap:1rem}.species-request-card .notice{margin-bottom:.5rem}.feedback-captcha{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #cfe4df;border-radius:14px;background:#f4fbf9}.feedback-captcha>div{display:grid;gap:.25rem}.species-request-list,.species-admin-request-list{display:grid;gap:.8rem}.species-request-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1rem;padding:.8rem;border:1px solid #dceae7;border-radius:12px}.species-request-list article>div{display:grid}.species-request-list article span,.species-request-list time{color:var(--muted);font-size:.76rem}.species-admin-request-list article header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.species-admin-request-list article dl{display:flex;flex-wrap:wrap;gap:1rem}.species-admin-request-list article dl div{display:grid}.species-admin-request-list dt{color:var(--muted);font-size:.7rem;font-weight:800;text-transform:uppercase}.species-admin-request-list dd{margin:.2rem 0 0}.species-request-notes{padding:.8rem;border-radius:10px;background:#f5faf9}.status-new,.status-review{color:#8a5d08;background:#fff0ce}.status-approved{color:#187452;background:#def5e9}.status-rejected{color:#a33b49;background:#ffe8eb}
@media(max-width:900px){.species-user-filter form{grid-template-columns:1fr 1fr}.species-user-filter form label:first-child{grid-column:1/-1}.species-public-section dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.species-user-filter form,.species-library-detail-hero,.species-public-section dl{grid-template-columns:1fr}.species-user-filter form label:first-child{grid-column:auto}.species-user-filter button{width:100%}.species-library-grid{grid-template-columns:1fr}.species-library-image,.species-library-card>.species-placeholder{height:min(55vw,220px)}.species-library-detail-image,.species-library-detail-hero .species-placeholder{height:min(65vw,280px)}.feedback-captcha{align-items:stretch;flex-direction:column}.species-request-list article{grid-template-columns:1fr auto}.species-request-list time{grid-column:1/-1}.species-admin-request-list article header{flex-direction:column}}

/* v0.38.7 - volledig beheerbare AI-prompts */
.ai-settings-card{width:min(1120px,100%);margin-inline:auto}.ai-settings-card form{display:grid;gap:1.35rem}.ai-settings-card label{display:grid;gap:.5rem}.ai-settings-card textarea{min-height:250px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;font-size:.86rem;line-height:1.55}.ai-settings-card label:nth-of-type(2) textarea{min-height:170px}.ai-settings-card .notice{margin:0}
@media(max-width:650px){.ai-settings-card{padding:1rem}.ai-settings-card textarea{min-height:320px;font-size:.8rem}.ai-settings-card label:nth-of-type(2) textarea{min-height:220px}}

/* v0.38.8 - beveiligde visuele context bij AI-analyses */
.ai-analysis-image-field{margin:1.2rem 0;padding:1rem;border:1px solid var(--line);border-radius:18px;background:rgba(240,253,250,.58)}
.ai-analysis-image-field legend{padding:0 .4rem;font-weight:750;color:var(--ink)}
.ai-analysis-image-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:1rem;align-items:start}
.ai-analysis-image-preview{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;aspect-ratio:4/3}
.ai-analysis-image-preview img{display:block;width:100%;height:100%;object-fit:cover}
.ai-history-image{margin:1rem 0 0;display:grid;grid-template-columns:minmax(180px,320px) minmax(0,1fr);gap:1rem;align-items:start}
.ai-history-image img{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}
.ai-history-image figcaption{padding:.75rem 0;color:var(--muted);line-height:1.55}
@media(max-width:700px){.ai-analysis-image-grid,.ai-history-image{grid-template-columns:1fr}.ai-analysis-image-preview{max-width:100%;aspect-ratio:16/10}.ai-history-image img{max-height:320px}}

/* v0.38.23 - direct static production sitemap */
.user-menu-dropdown a[href*="species-library"]{display:none!important}
.nav-guide-dropdown>.nav-link{color:#075f57}.nav-guide-menu{min-width:220px}
.aquarium-guide-filter{padding:1rem}.aquarium-guide-filter form{display:grid;grid-template-columns:minmax(220px,2fr) repeat(5,minmax(115px,1fr)) auto auto;gap:.7rem;align-items:end}.aquarium-guide-filter label{display:grid;gap:.32rem;color:var(--muted);font-size:.74rem;font-weight:800}.aquarium-guide-filter button,.aquarium-guide-filter .button{min-height:42px;justify-content:center}.aquarium-guide .species-library-card h2{font-size:1.1rem}@media(max-width:1100px){.aquarium-guide-filter form{grid-template-columns:repeat(3,minmax(0,1fr))}.aquarium-guide-filter form label:first-child{grid-column:span 3}}@media(max-width:650px){.aquarium-guide-filter form{grid-template-columns:1fr 1fr}.aquarium-guide-filter form label:first-child{grid-column:1/-1}.aquarium-guide-filter button,.aquarium-guide-filter .button{grid-column:span 1}.nav-guide-menu{min-width:0}}

/* v0.38.32 Aquariumgids SEO expansion */
.aquarium-guide-filter form{grid-template-columns:repeat(4,minmax(0,1fr))}.aquarium-guide-filter .guide-search{grid-column:span 2}.aquarium-guide-filter button,.aquarium-guide-filter .button{align-self:end}.aquarium-guide .species-library-grid{align-items:stretch}.aquarium-guide .species-library-card{overflow:hidden}.aquarium-guide .species-library-card>img,.aquarium-guide .species-library-card>.species-placeholder{aspect-ratio:16/10;width:100%;object-fit:cover}.species-library-detail{padding:0;overflow:hidden}.species-library-detail-hero{display:grid;grid-template-columns:minmax(280px,42%) 1fr;gap:2rem;align-items:center;padding:1.5rem}.species-library-detail-hero figure{margin:0}.species-library-detail-image{display:block;width:100%;max-height:430px;object-fit:cover;border-radius:var(--radius)}.species-detail-summary{display:flex;flex-wrap:wrap;gap:.55rem}.species-detail-summary span{padding:.45rem .7rem;border-radius:999px;background:var(--soft);font-weight:700}.species-public-section{padding:1.35rem 1.5rem;border-top:1px solid var(--border)}.species-public-section h2{margin:0 0 1rem}.species-public-section dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0}.species-public-section dl>div{padding:.85rem;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.64)}.species-public-section dt{font-size:.75rem;color:var(--muted);font-weight:800;text-transform:uppercase}.species-public-section dd{margin:.25rem 0 0}.aquarium-guide-sources{display:grid;gap:.55rem;margin:0;padding-left:1.2rem}.aquarium-guide-related{display:flex;flex-wrap:wrap;gap:.65rem}.aquarium-guide-related a{padding:.65rem .8rem;border:1px solid var(--border);border-radius:10px;background:var(--soft)}.aquarium-guide-cta{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem}.species-library-disclaimer{margin-top:1rem}.species-library-meta{display:flex;justify-content:space-between;gap:1rem;margin:1rem 0}.species-user-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:1.25rem}
@media(max-width:1100px){.aquarium-guide-filter form{grid-template-columns:repeat(3,minmax(0,1fr))}.aquarium-guide-filter .guide-search{grid-column:span 3}.species-public-section dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.aquarium-guide-filter form{grid-template-columns:1fr 1fr}.aquarium-guide-filter .guide-search{grid-column:1/-1}.species-library-detail-hero{grid-template-columns:1fr;padding:1rem}.species-public-section{padding:1rem}.species-public-section dl{grid-template-columns:1fr}.aquarium-guide-cta{align-items:flex-start;flex-direction:column}.aquarium-guide-cta .page-actions{width:100%}.aquarium-guide-cta .button{width:100%;justify-content:center}}
@media(max-width:480px){.aquarium-guide-filter form{grid-template-columns:1fr}.aquarium-guide-filter .guide-search,.aquarium-guide-filter button,.aquarium-guide-filter .button{grid-column:1}.species-library-meta{align-items:flex-start;flex-direction:column}}
.nav-knowledge-dropdown>.nav-link{color:#075f57;border:1px solid #b8e1d8;background:linear-gradient(135deg,#f1fcf8,#e3f7f1);box-shadow:0 8px 20px rgba(8,112,98,.09)}.nav-knowledge-dropdown>.nav-link:hover,.nav-knowledge-dropdown.active>.nav-link{color:#064f49;border-color:#79cbbb;background:linear-gradient(135deg,#e5f9f3,#d6f2ea)}.nav-knowledge-menu{min-width:300px;padding:10px}.nav-knowledge-menu>a{display:flex;align-items:center;gap:10px}.nav-knowledge-menu>a>.icon{width:18px;height:18px;color:var(--primary)}.nav-knowledge-heading{display:block;margin:7px 8px 3px;color:#63817c;font-size:.66rem;font-weight:900;letter-spacing:.08em}.nav-knowledge-heading:not(:first-child){margin-top:12px;padding-top:10px;border-top:1px solid #e2eeeb}
.knowledge-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem auto;max-width:1180px}.knowledge-hub-group{padding:1.2rem;border:1px solid #d8e9e5;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(10,67,57,.07)}.knowledge-hub-group header h2{margin:.25rem 0 .4rem;font-size:1.28rem}.knowledge-hub-group header p{margin:0 0 1rem;color:var(--muted);line-height:1.55}.knowledge-hub-group>div{display:grid;gap:.6rem}.knowledge-hub-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.75rem;border:1px solid #dceae7;border-radius:12px;background:#f9fcfb;color:var(--ink);text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.knowledge-hub-card:hover{transform:translateY(-2px);border-color:#81cdbf;box-shadow:0 10px 22px rgba(13,105,91,.1)}.knowledge-hub-card-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#def4ef;color:#087d70;font-weight:900}.knowledge-hub-card strong,.knowledge-hub-card small{display:block}.knowledge-hub-card strong{font-size:.86rem}.knowledge-hub-card small{margin-top:.14rem;color:var(--muted);font-size:.74rem;line-height:1.35}.knowledge-hub-card>b{color:#078675}.seo-pillar-links{max-width:1180px;margin:1.5rem auto;padding:1.25rem}.seo-pillar-links h2{margin:.25rem 0 .9rem}.seo-pillar-links>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.seo-pillar-links a{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.85rem 1rem;border:1px solid #d8e9e5;border-radius:12px;background:#f8fcfb;color:var(--ink);text-decoration:none}.seo-pillar-links a:hover{border-color:#81cdbf;background:#effaf7}.seo-pillar-links a span{color:#087d70}
@media(max-width:1050px){.knowledge-hub-grid{grid-template-columns:1fr 1fr}.knowledge-hub-group:last-child{grid-column:1/-1}.seo-pillar-links>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.knowledge-hub-grid{grid-template-columns:1fr}.knowledge-hub-group:last-child{grid-column:auto}.seo-pillar-links>div{grid-template-columns:1fr}.nav-knowledge-menu{min-width:0}.nav-knowledge-heading{margin-left:0}.nav-knowledge-heading:not(:first-child){margin-top:8px}}

/* v0.38.29 - veilige CSV-massawijziging */
.csv-import-intro form{margin-top:1.25rem}
.csv-import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0 0 1.25rem}
.csv-import-summary .stat{background:rgba(255,255,255,.92);border:1px solid var(--border);border-radius:18px;padding:1rem 1.15rem;box-shadow:var(--shadow-soft)}
.csv-import-summary .stat strong{display:block;font-size:1.6rem;color:var(--ink)}
.csv-import-summary .stat span{display:block;margin-top:.2rem;color:var(--muted);font-size:.86rem}
.csv-mapping-table select{min-width:18rem}
.csv-change{display:grid;grid-template-columns:minmax(9rem,1fr) minmax(7rem,1fr) auto minmax(7rem,1fr);align-items:start;gap:.6rem;padding:.35rem 0;border-bottom:1px solid rgba(14,111,101,.12)}
.csv-change:last-child{border-bottom:0}
.csv-change span{overflow-wrap:anywhere}
.csv-change span:nth-of-type(1){color:var(--muted);text-decoration:line-through}
.csv-change span:last-child{color:var(--green);font-weight:700}
.csv-import-confirm{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}
@media (max-width:800px){.csv-import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.csv-change{grid-template-columns:1fr}.csv-change span:nth-of-type(2){display:none}.csv-mapping-table select{min-width:13rem}}
@media (max-width:480px){.csv-import-summary{grid-template-columns:1fr}}

/* v0.38.33 - meerdere veilige soortfotobronnen en beheerupload */
.species-provider-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.7rem;margin:0 0 1rem}.species-provider-stats a{display:flex;min-height:84px;flex-direction:column;justify-content:space-between;gap:.45rem;padding:.8rem;border:1px solid #d7e8e4;border-radius:14px;background:rgba(255,255,255,.9);color:#4f706a;text-decoration:none;font-size:.73rem;font-weight:800;box-shadow:0 7px 18px rgba(17,74,64,.05)}.species-provider-stats a:hover{border-color:#73c7b8;background:#f4fcfa}.species-provider-stats strong{color:#123d36;font-size:1.45rem}.species-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.species-section-head h2,.species-section-head p{margin:0}.species-section-head p{margin-top:.3rem;color:var(--muted)}.species-section-head form label{display:grid;gap:.3rem;color:var(--muted);font-size:.75rem;font-weight:800}.species-provider-search{margin-top:1.25rem}.species-provider-search-form{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,2fr) auto;align-items:end;gap:.75rem;margin:1rem 0}.species-provider-search-form label,.species-admin-upload label{display:grid;gap:.35rem;color:var(--muted);font-size:.78rem;font-weight:800}.species-provider-search-form button{min-height:44px;justify-content:center}.species-provider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:1rem}.species-provider-card{overflow:hidden;border:1px solid #d7e8e4;border-radius:15px;background:#fff}.species-provider-card>img{display:block;width:100%;height:205px;object-fit:contain;background:linear-gradient(145deg,#edf7f4,#fbfdfc)}.species-provider-card>div{display:grid;gap:.55rem;padding:1rem}.species-provider-card strong,.species-provider-card small{overflow-wrap:anywhere}.species-provider-card small{color:#58736e}.species-provider-card form,.species-provider-card .button{width:100%}.species-provider-card button,.species-provider-card .button{justify-content:center}.license-rejected{margin:0;padding:.55rem;border-radius:9px;background:#fff0f1;color:#a23c49}.species-admin-upload{margin-top:1.25rem;border-left:5px solid #0b8879;background:linear-gradient(135deg,rgba(237,251,247,.98),rgba(255,255,255,.98))}.species-admin-upload>p{color:var(--muted)}.species-admin-upload form{display:grid;gap:1rem}.species-admin-upload .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.species-admin-upload .check{display:flex;align-items:flex-start;gap:.55rem;color:var(--ink)}.species-admin-upload button{width:max-content}
@media(max-width:1050px){.species-provider-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.species-provider-search-form{grid-template-columns:1fr}.species-provider-search-form button{width:100%}.species-section-head{align-items:stretch;flex-direction:column}.species-admin-upload .form-grid{grid-template-columns:1fr}.species-admin-upload button{width:100%;justify-content:center}}
@media(max-width:480px){.species-provider-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.species-provider-grid{grid-template-columns:1fr}.species-provider-card>img{height:min(62vw,240px)}}

/* v0.38.38 - interactieve, automatisch uitbreidbare handleiding */
.user-guide-page-head{margin-bottom:1rem}.user-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:center;border-top:4px solid var(--primary);background:linear-gradient(135deg,rgba(232,250,246,.98),rgba(255,255,255,.96))}.user-guide-progress-copy{display:flex;align-items:baseline;gap:.65rem;margin:.4rem 0}.user-guide-progress-copy strong{font-size:clamp(2rem,5vw,3.6rem);line-height:1;color:var(--primary)}.user-guide-progress-copy span{color:var(--muted);font-weight:800}.user-guide-progress-track{height:12px;max-width:760px;overflow:hidden;border-radius:999px;background:#dfece9}.user-guide-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b8879,#28c895);transition:width .25s ease}.user-guide-hero p{max-width:760px;margin:.8rem 0 0;color:var(--muted)}.user-guide-reset{align-self:end}.user-guide-section{margin:2rem 0}.user-guide-section-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 .85rem}.user-guide-section-head>span:last-child{color:var(--muted);font-size:.78rem}.user-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.user-guide-card{position:relative;display:flex;min-height:330px;flex-direction:column;gap:1rem;overflow:hidden;border:1px solid var(--border);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.user-guide-card:hover{transform:translateY(-2px);border-color:#8ccfc3;box-shadow:0 15px 38px rgba(11,91,78,.1)}.user-guide-card.is-complete{border-color:#8bd5b8;background:linear-gradient(145deg,#f3fff9,#fff)}.user-guide-card.is-complete:after{content:'✓';position:absolute;right:-12px;top:-18px;display:grid;width:72px;height:72px;place-items:end start;padding:0 0 14px 17px;border-radius:50%;background:#25b878;color:#fff;font-size:1.25rem;font-weight:900}.user-guide-card-top{display:flex;align-items:flex-start;gap:.8rem}.user-guide-card-top>div{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:.5rem}.user-guide-card-top h2{margin:0;font-size:1.2rem}.user-guide-card-icon{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border-radius:13px;background:#def5ef;color:var(--primary)}.user-guide-card>p{margin:0;color:#49665f;line-height:1.65}.user-guide-tip{display:grid;gap:.25rem;padding:.8rem;border-radius:12px;background:#f1f7f5;color:#4e6b65;font-size:.84rem}.user-guide-tip strong{color:var(--ink)}.user-guide-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto}.user-guide-actions .button{min-height:42px}.user-guide-check-form{padding-top:.85rem;border-top:1px solid var(--border)}.user-guide-check-form label{display:flex;align-items:center;gap:.65rem;cursor:pointer;font-weight:800}.user-guide-check-form input{width:21px;height:21px;accent-color:var(--primary)}.guide-admin-list{display:grid;gap:1rem}.guide-admin-item{padding:0;overflow:hidden}.guide-admin-item>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem 1.2rem;cursor:pointer;list-style:none}.guide-admin-item>summary::-webkit-details-marker{display:none}.guide-admin-item>summary small{display:block;margin-top:.25rem;color:var(--muted)}.guide-admin-item>form{padding:0 1.2rem 1.2rem;border-top:1px solid var(--border)}.guide-admin-options{display:grid;grid-template-columns:1.1fr 1fr .55fr 2fr;gap:1rem;align-items:end;padding:1.2rem 0}.guide-admin-options label:not(.check){display:grid;gap:.35rem}.guide-admin-options .check{align-self:center}.guide-admin-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.guide-admin-languages fieldset{display:grid;gap:.8rem;margin:0;padding:1rem;border:1px solid var(--border);border-radius:14px}.guide-admin-languages label{display:grid;gap:.35rem}.guide-admin-languages textarea{min-height:85px}.guide-admin-reset{padding:0 1.2rem 1.2rem}.guide-admin-reset .button{width:max-content}
@media(max-width:900px){.user-guide-grid{grid-template-columns:1fr}.guide-admin-options{grid-template-columns:1fr 1fr}.guide-admin-languages{grid-template-columns:1fr}}
@media(max-width:640px){.user-guide-hero{grid-template-columns:1fr;gap:1rem}.user-guide-reset,.user-guide-reset .button{width:100%}.user-guide-card{min-height:0;padding:1rem}.user-guide-actions{display:grid;grid-template-columns:1fr}.user-guide-actions .button{justify-content:center;width:100%}.guide-admin-item>summary{grid-template-columns:auto minmax(0,1fr)}.guide-admin-item>summary>.status{grid-column:2}.guide-admin-options{grid-template-columns:1fr}.guide-admin-reset .button{width:100%}}

/* v0.38.40 - Clubpartners en Clubvoordeel */
.club-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1.2rem}.club-partner-filters{display:grid;grid-template-columns:minmax(240px,2fr) minmax(150px,.7fr) auto;align-items:end;gap:.8rem;margin-bottom:1rem}.club-partner-filters label,.club-partner-form label{display:grid;gap:.35rem}.club-partner-meta dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.club-partner-meta dl>div{padding:.8rem;border:1px solid var(--border);border-radius:12px;background:var(--soft)}.club-partner-meta dt{color:var(--muted);font-size:.7rem;font-weight:850;text-transform:uppercase}.club-partner-meta dd{margin:.25rem 0 0;overflow-wrap:anywhere}.field-with-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.dashboard-club-benefit,.profile-club-benefit{display:flex;align-items:center;gap:.8rem;margin:0 0 1rem;padding:.9rem 1rem;border:1px solid #8bd5b8;border-radius:15px;background:linear-gradient(135deg,#effdf7,#fff)}.dashboard-club-benefit div,.profile-club-benefit div{display:grid;gap:.15rem}.dashboard-club-benefit small,.profile-club-benefit small{color:var(--muted)}.profile-club-benefit{margin:1rem 0 0}.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;margin-top:1rem}.pagination a{display:grid;min-width:36px;height:36px;place-items:center;border:1px solid var(--border);border-radius:9px;text-decoration:none}.pagination a.active{color:#fff;background:var(--primary)}
@media(max-width:850px){.club-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.club-partner-meta dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.club-partner-filters,.club-partner-meta dl,.field-with-action{grid-template-columns:1fr}.club-partner-filters button,.field-with-action .button{width:100%;justify-content:center}.club-partners-admin .table-wrap{overflow-x:auto}.dashboard-club-benefit,.profile-club-benefit{align-items:flex-start}}
.club-redemption-filters{display:grid;grid-template-columns:minmax(200px,1.4fr) repeat(2,minmax(150px,1fr)) auto;align-items:end;gap:.8rem;margin-bottom:1rem}.club-redemption-filters label{display:grid;gap:.35rem}@media(max-width:720px){.club-redemption-filters{grid-template-columns:1fr 1fr}.club-redemption-filters label:first-child{grid-column:1/-1}}@media(max-width:500px){.club-redemption-filters{grid-template-columns:1fr}.club-redemption-filters label:first-child{grid-column:auto}.club-redemption-filters button{width:100%}}

/* v0.38.41 - Professional dashboard deletion and campaign navigation */
.dashboard-manage .dashboard-delete-form { display: flex; margin: 0; min-width: 0; }
.dashboard-manage .manage-delete { width: 100%; font-family: inherit; line-height: inherit; cursor: pointer; text-align: left; color: #a12626; border-color: #e6b8b8; background: #fff8f8; }
.dashboard-manage .manage-delete .icon { flex-shrink: 0; color: #a12626; background: #fbe3e3; }
.dashboard-manage .manage-delete:hover, .dashboard-manage .manage-delete:focus-visible { color: #861b1b; border-color: #b63838; background: #ffeded; }
.dashboard-manage .manage-delete:focus-visible { outline: 3px solid #b63838; outline-offset: 3px; }
#campaigns { scroll-margin-top: 24px; }

/* v0.38.42 - Return to the originating aquarium card */
.dashboard-pro-card[id] { scroll-margin-top: 24px; }
.navigation-return { margin-bottom: 18px; }

/* v0.38.44 - Fit the viewport, keep every table field and action reachable. */
#main-content, #main-content > *, #main-content .card,
#main-content .table-wrap { min-width: 0; max-width: 100%; }
#main-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#main-content :where(h1, h2, h3, h4) { overflow-wrap: anywhere; }
.mobile-cell-label { display: none; }
.mobile-table-hint { margin: 0 0 8px; color: var(--ink-soft); font-size: .85rem; }
.mobile-table-hint[hidden] { display: none; }
.mobile-table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@media screen and (max-width: 680px) {
  #main-content :where(div, section, article, form, fieldset, header, footer, nav, dl) { min-width: 0; }
  #main-content :where(h1, h2, h3, h4, p, dd, a, label, summary, small, code) { overflow-wrap: anywhere; }
  #main-content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) { min-width: 0; max-width: 100%; font-size: 16px; }
  #main-content :where(button, .button) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  #main-content :where(.row-actions, .section-actions, .form-actions, .page-actions, .analysis-page-actions) { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  #main-content :where(.chart-head, .section-head, .expense-group-head) { flex-wrap: wrap; gap: 12px; }
  #main-content pre { max-width: 100%; overflow-x: auto; }
  #main-content :where(img, video, iframe, canvas) { max-width: 100%; }
  #main-content fieldset { margin-inline: 0; }
  #main-content .table-wrap { width: 100%; max-width: 100%; }
  #main-content .mobile-record-wrap { overflow: visible; border: 0; background: transparent; }
  #main-content table.mobile-record-table { display: block; width: 100%; min-width: 0; table-layout: auto; border: 0; }
  #main-content .mobile-record-table colgroup { display: none; }
  #main-content .mobile-record-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #main-content .mobile-record-table tbody { display: block; width: 100%; }
  #main-content .mobile-record-table tbody tr { display: block; width: 100%; margin: 0 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  #main-content .mobile-record-table tbody :is(td, th) { display: block; position: static; width: 100%; min-width: 0; max-width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; text-align: left; }
  #main-content .mobile-record-table tbody :is(td, th):last-child { border-bottom: 0; }
  #main-content .mobile-record-table tbody :is(td, th)::before { content: none; }
  #main-content .mobile-record-table .mobile-cell-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  #main-content .mobile-record-table .row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  #main-content .mobile-record-table :where(.button, button) { min-height: 40px; }
  #main-content .mobile-record-table :where(.status, time, .table-subline) { white-space: normal; overflow-wrap: anywhere; }
  #main-content .mobile-record-table .mobile-full-cell { padding-block: 10px; }
}
@media print { .mobile-cell-label, .mobile-table-hint { display: none !important; } }

@media screen and (max-width: 680px) {
  #main-content table.mobile-scroll-table { display: table; width: max-content; min-width: 100%; max-width: none; table-layout: auto; }
  #main-content .mobile-scroll-table thead { display: table-header-group; position: static; width: auto; height: auto; clip: auto; clip-path: none; }
  #main-content .mobile-scroll-table tbody { display: table-row-group; }
  #main-content .mobile-scroll-table tr { display: table-row; }
  #main-content .mobile-scroll-table :is(td, th) { display: table-cell; width: auto; padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
  #main-content .mobile-scroll-table td::before { content: none; }
  #main-content .mobile-scroll-table .mobile-cell-label { display: none; }
}
.air-pump-mode-options{display:flex;flex-wrap:wrap;gap:12px 24px;margin-bottom:14px}.air-pump-mode-options .check{margin:0}

/* v0.38.51 - zichtbare SEO-werkvolgorde voor soorten */
.species-seo-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0 0 1rem}.species-seo-workflow a{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem 1rem;border:1px solid #d7e8e4;border-radius:14px;background:rgba(255,255,255,.92);color:#365f58;text-decoration:none;font-size:.78rem;font-weight:850}.species-seo-workflow a:hover{border-color:#73c7b8;background:#f4fcfa}.species-seo-workflow strong{color:#123d36;font-size:1.45rem}.species-seo-missing{display:block;max-width:230px;color:#8a4d15;font-size:.76rem;font-weight:750;line-height:1.45;white-space:normal}@media(max-width:900px){.species-seo-workflow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.species-seo-workflow{grid-template-columns:1fr}}
