.dec00 {
  --petrol: #143f46;
  --cream: #f7f1e8;
  --ink: #24282a;
  --line: #9a8175;
  background: var(--cream);
  color: var(--ink);
  font: 1.0625rem/1.6 Arial, sans-serif;
}
.dec00 :focus-visible { outline: 3px solid #94533f; outline-offset: 3px; }
.dec00 a { text-underline-offset: .18em; }
.dec00 h1, .dec00 h2, .dec00 h3 { color: var(--petrol); font-family: Georgia, serif; }
.dec00 h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
.dec00 h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.025em; }
.dec00 h3 { font-size: 1.35rem; line-height: 1.25; }
.dec-header, .dec-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem max(5vw, calc((100% - 1120px) / 2));
  background: var(--petrol);
  color: white;
}
.dec-header img, .sheet-header img { width: 3.1rem; height: 3.1rem; object-fit: cover; }
.dec-header nav a { font-size: 1rem; }
.dec-hero, .dec-index, .dec-sheet { width: min(calc(100% - 2rem), 67rem); margin-inline: auto; }
.dec-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .74fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding-block: clamp(2rem, 6vw, 5rem) 2rem;
}
.dec-hero img { display: block; width: 100%; max-height: 31rem; object-fit: cover; border-radius: .35rem; }
.dec-kicker { color: var(--petrol); font-size: .875rem; font-weight: bold; letter-spacing: .09em; text-transform: uppercase; }
.dec-index, .dec-downloads, .dec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
}
.dec-index { padding-block: .85rem; border-block: 1px solid var(--line); }
.dec-index a, .dec-downloads a, .dec00 summary { font-weight: bold; color: var(--petrol); }
.dec-sheet {
  margin-block: 1.5rem;
  padding: clamp(1rem, 4vw, 2.75rem);
  background: white;
  border: 1px solid #c1afa1;
  border-radius: .35rem;
  scroll-margin-top: .75rem;
}
.sheet-header { display: flex; align-items: center; gap: .85rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; margin-bottom: 1.15rem; }
.sheet-header p { margin: 0; }
.dec-lead { max-width: 67ch; font-size: 1.12em; }
.dec-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; list-style: none; counter-reset: flow; }
.dec-flow li { display: grid; align-content: start; gap: .35rem; border-top: 3px solid var(--petrol); background: var(--cream); padding: 1rem; counter-increment: flow; }
.dec-flow li::before { content: counter(flow); color: var(--petrol); font: bold 1.65rem Georgia, serif; }
.dec-flow strong { color: var(--petrol); }
.dec-note { margin: 1rem 0; padding: .75rem 1rem; border-left: 4px solid #a85845; background: var(--cream); }
.dec-steps { padding-left: 1.5rem; }
.dec-steps li { padding-left: .3rem; margin: 1rem 0; }
.dec-steps li::marker { color: var(--petrol); font-weight: bold; }
.dec-steps p { margin: .25rem 0 .45rem; }
.dec00 label { display: block; font-weight: bold; }
.dec00 textarea { display: block; width: 100%; border: 1px solid #8a796e; border-radius: .2rem; background: white; color: var(--ink); font: inherit; padding: .45rem .65rem; resize: vertical; }
.dec-fields { display: grid; gap: .8rem; }
.dec-source { font-size: .9rem; }
.dec-downloads { border-top: 1px solid var(--line); padding-top: .65rem; }
.dec-downloads a { display: inline-flex; align-items: center; min-height: 44px; }
.dec-actions { margin-top: .75rem; }
.dec-actions[hidden], .quiz-options { display: none; }
.quiz-ready .quiz-options { display: grid; gap: .6rem; margin-block: .75rem; }
.quiz-ready .static-answer { display: none; }
.dec-button, .dec00 button {
  display: inline-block;
  border: 1px solid var(--petrol);
  border-radius: .25rem;
  padding: .65rem .95rem;
  min-height: 44px;
  font: bold 1rem/1.35 Arial, sans-serif;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  background: white;
  color: var(--petrol);
}
.dec00 .dec-button { background: var(--petrol); color: white; }
.dec00 button:hover { text-decoration: underline; }
.dec00 details { margin-top: 1rem; }
.dec00 summary { cursor: pointer; min-height: 44px; padding-block: .5rem; }
.dec00 audio { width: min(100%, 30rem); }
.dec-end li { margin-bottom: .5rem; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .dec-hero, .dec-flow { grid-template-columns: minmax(0, 1fr); }
  .dec-hero img { max-height: 16rem; }
  .dec-flow li { grid-template-columns: 1.6rem minmax(0,1fr); align-items: baseline; gap: 0 .6rem; }
  .dec-flow li span { grid-column: 2; }
}
@page { size: A4; margin: 14mm 15mm; }
@media print {
  .dec00 { background: white; font-size: 11pt; line-height: 1.42; }
  .dec00.pdf-screen { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .dec00 .dec-sheet { width: auto; margin: 0; padding: 8mm; border-radius: 0; }
  .dec00 .dec-sheet + .dec-sheet { break-before: page; }
  .dec00 .sheet-header { margin-bottom: 4mm; }
  .dec00 .sheet-header img { width: 12mm; height: 12mm; }
  .dec00 h2 { font-size: 29pt; }
  .dec00 h3 { font-size: 15pt; }
  .dec00 .dec-kicker, .dec00 .dec-source { font-size: 10pt; }
  .dec00 .dec-hero, .dec-header, .dec-footer, .dec-index, .dec-actions, .dec-downloads, .dec-extra, .dec-end, #quiz, .dec00 .skip-link { display: none !important; }
  .dec00 .dec-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dec00 .dec-flow li { display: grid; grid-template-columns: auto; gap: .35rem; break-inside: avoid; }
  .dec00 .dec-flow li span { grid-column: auto; }
  .dec00 .dec-steps { margin-block: 3mm; }
  .dec00 .dec-steps li { margin-block: 3mm; break-inside: avoid; }
  .dec00 .dec-fields { gap: 3mm; }
  .dec00 textarea { height: 11mm; resize: none; border: 0; border-radius: 0; border-bottom: 1px solid #79655d; padding: 1mm 0; }
  .dec00 textarea::placeholder { color: transparent; }
  .dec00.pdf-print .dec-flow li, .dec00.pdf-print .dec-note { background: white; }
  .dec00.pdf-print h2, .dec00.pdf-print h3, .dec00.pdf-print .dec-kicker,
  .dec00.pdf-print .dec-flow strong, .dec00.pdf-print .dec-flow li::before,
  .dec00.pdf-print .dec-steps li::marker { color: #24282a; }
  .dec00.pdf-print .dec-flow li, .dec00.pdf-print .dec-note { border-color: #555; }
}
