:root {
  --ink: #17211a;
  --muted: #647061;
  --line: #dfe7dc;
  --paper: #fbfcf7;
  --moss: #536b48;
  --leaf: #8a9b55;
  --clay: #b86f46;
  --sky: #51768b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f7ef;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-kerning: normal;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-weight: 700;
}

h2,
h3 {
  font-weight: 600;
}

strong {
  font-weight: 600;
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(251, 252, 247, 0.98), #f4f7ef 44%, #fffaf4);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 28px 40px;
  align-items: center;
}

.hero > *,
.market-grid > *,
.content-grid > *,
.specimen-card > *,
.listing-card > * {
  min-width: 0;
}

.kicker {
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 0.94;
  letter-spacing: 0;
  margin-top: 12px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy p:not(.kicker) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 600;
}

.primary-action {
  background: var(--ink);
  color: #fffaf4;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-panel,
.workflow article,
.notes article,
.admin-panel,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-panel {
  box-shadow: 0 24px 70px rgba(40, 52, 34, 0.12);
  padding: 18px;
}

.specimen-card {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 18px;
  align-items: center;
}

.specimen-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.specimen-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.specimen-image,
.thumb,
.detail-image {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.specimen-image {
  height: 142px;
  border-radius: 8px;
}

.specimen-image span,
.thumb span,
.detail-image span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  height: 42%;
  transform: translate(-50%, -50%);
  border-radius: 52% 48% 45% 55%;
  background:
    radial-gradient(circle at 18% 58%, #111 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent 18% 82%, rgba(255, 255, 255, 0.45)),
    repeating-linear-gradient(90deg, transparent 0 15%, rgba(255, 255, 255, 0.72) 16% 18%, transparent 19% 24%),
    linear-gradient(135deg, #f2c76a, #685041 52%, #c78a43);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.specimen-image span::before,
.thumb span::before,
.detail-image span::before {
  content: "";
  position: absolute;
  left: -9%;
  top: 20%;
  width: 26%;
  height: 60%;
  border-radius: 50%;
  background: #e7ad50;
}

.amber { background: radial-gradient(circle at 20% 20%, #f8d68e, #876842 46%, #2f2c21); }
.slate { background: radial-gradient(circle at 25% 20%, #d1d6cf, #718071 48%, #27302a); }
.moss { background: radial-gradient(circle at 30% 22%, #d8dfac, #6d7f4d 46%, #263724); }
.rose { background: radial-gradient(circle at 28% 18%, #f0b8a2, #8d635f 46%, #33252a); }

.metrics,
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.metrics div,
.admin-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.metrics strong,
.admin-stats strong {
  display: block;
  font-size: 27px;
  font-weight: 700;
}

.metrics span,
.admin-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.workflow,
.market,
.content-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.workflow article {
  padding: 18px;
}

.workflow span {
  display: inline-flex;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.workflow h2,
.notes h3,
.chat-panel h3 {
  margin-top: 14px;
  font-size: 18px;
}

.workflow p,
.notes p,
.detail-lead,
.task-list {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.section-header h2,
.admin-panel h2 {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.1;
}

.filters {
  display: grid;
  grid-template-columns: repeat(9, minmax(max-content, auto));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.filters button {
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.filters button:last-child {
  border-right: 0;
}

.filters .active {
  background: var(--ink);
  color: #fff;
}

.market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.listings {
  display: grid;
  gap: 10px;
}

.listing-card {
  width: 100%;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px;
  cursor: pointer;
}

.listing-card.selected {
  border-color: rgba(83, 107, 72, 0.75);
  box-shadow: 0 0 0 3px rgba(83, 107, 72, 0.14);
}

.thumb {
  height: 82px;
  border-radius: 7px;
}

.thumb span {
  width: 70%;
  height: 44%;
}

.listing-body {
  min-width: 0;
  padding: 3px 0;
}

.row,
.meta-line {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.row strong {
  font-size: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  flex: 0 0 auto;
}

.status[data-status="Beperkt"] {
  color: #9b5736;
}

.status[data-status="Beperkt"]::before {
  background: var(--clay);
}

.status[data-status="Wachtlijst"] {
  color: #43697d;
}

.status[data-status="Wachtlijst"]::before {
  background: var(--sky);
}

.listing-body p {
  margin-top: 6px;
  color: var(--muted);
}

.meta-line {
  margin-top: 12px;
  color: #7a8378;
  font-size: 13px;
}

.detail-panel {
  padding: 16px;
  position: sticky;
  top: 16px;
}

.detail-image {
  height: 210px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.detail-image span {
  width: 58%;
  height: 40%;
}

.verification-stamp {
  display: inline-flex;
  border: 1px solid rgba(83, 107, 72, 0.34);
  border-radius: 4px;
  color: var(--moss);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.detail-panel h2 {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.1;
}

.spec-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.spec-list dt {
  min-width: 0;
  color: var(--muted);
  font-weight: 500;
}

.spec-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chat-panel {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.chat-panel h3 {
  margin-top: 0;
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 132px;
  overflow: auto;
  margin-top: 12px;
  color: var(--muted);
}

.chat-log p {
  border-top: 1px solid var(--line);
  padding: 9px 0 0;
  line-height: 1.45;
}

.chat-log strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.chat-form input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.chat-form button {
  border: 0;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--clay);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.husbandry-jump {
  display: inline-flex;
  margin-top: 16px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.husbandry-band {
  margin-top: 28px;
  border-top: 1px solid #d5dfd0;
  border-bottom: 1px solid #d5dfd0;
  background: #e9efe3;
}

.husbandry {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 28px 58px;
}

.husbandry > * {
  min-width: 0;
}

.husbandry-intro h2 {
  max-width: 470px;
  margin-top: 7px;
  font-size: 36px;
  line-height: 1.08;
}

.husbandry-intro > p:not(.kicker) {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.husbandry-profile {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  border-top: 1px solid rgba(83, 107, 72, 0.28);
  padding-top: 14px;
}

.husbandry-profile span,
.climate-values dt {
  color: var(--moss);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.husbandry-profile strong {
  font-size: 17px;
  line-height: 1.35;
}

.climate-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 0;
}

.climate-values div {
  display: grid;
  gap: 3px;
}

.climate-values dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.husbandry-steps {
  counter-reset: husbandry-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.husbandry-steps li {
  counter-increment: husbandry-step;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-content: start;
  border-top: 1px solid rgba(83, 107, 72, 0.28);
  padding: 18px 0 20px;
}

.husbandry-steps li::before {
  content: counter(husbandry-step, decimal-leading-zero);
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(83, 107, 72, 0.38);
  border-radius: 50%;
  color: var(--moss);
  font-size: 11px;
  font-weight: 600;
}

.husbandry-steps h3 {
  font-size: 17px;
  line-height: 1.25;
}

.husbandry-steps p {
  max-width: 48ch;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding-bottom: 72px;
}

.section-header.compact {
  margin-bottom: 20px;
}

.notes {
  display: grid;
  gap: 12px;
}

.notes article,
.admin-panel {
  padding: 18px;
}

.care-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.care-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.care-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 111, 70, 0.12);
  flex: 0 0 auto;
}

.task-list {
  list-style: none;
  padding: 0;
}

.task-list li {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.task-list span {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--clay);
  flex: 0 0 auto;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
}

@media (max-width: 980px) {
  .hero,
  .market-grid,
  .content-grid,
  .husbandry {
    grid-template-columns: 1fr;
  }

  .husbandry {
    gap: 34px;
  }

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

  .detail-panel {
    position: static;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .filters button:nth-child(4),
  .filters button:last-child {
    border-right: 0;
  }
}


@media (max-width: 680px) {
  .hero,
  .workflow,
  .market,
  .content-grid,
  .husbandry {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 24px;
  }

  .workflow,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metrics div {
    padding: 10px;
  }

  .metrics strong {
    font-size: 22px;
  }

  .metrics span {
    font-size: 10px;
    line-height: 1.25;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1;
  }

  .kicker {
    font-size: 12px;
  }

  .section-header {
    display: block;
  }

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

  .filters button:nth-child(even) {
    border-right: 0;
  }

  .filters {
    margin-top: 16px;
  }

  .specimen-card,
  .listing-card,
  .chat-form {
    grid-template-columns: 1fr;
  }

  .husbandry-steps {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 150px;
  }
}

@media (max-width: 420px) {
  .hero,
  .workflow,
  .market,
  .content-grid,
  .husbandry {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(31px, 10vw, 38px);
  }

  .hero-copy p:not(.kicker) {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.5;
  }

  .actions {
    margin-top: 22px;
  }

  .specimen-image {
    height: 118px;
  }

  .actions a {
    width: 100%;
  }

  .hero-panel,
  .workflow article,
  .notes article,
  .admin-panel,
  .detail-panel {
    padding: 14px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .husbandry {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .husbandry-intro h2 {
    font-size: 30px;
  }

  .climate-values {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
