.zdd { --zdd-ink: #172d29; --zdd-muted: #4d625d; --zdd-green: #145849; --zdd-light: #f1f6f3; --zdd-line: #cbd8d1; color: var(--zdd-ink); font-size: 16px; line-height: 1.6; width: 100%; max-width: 1120px; margin: 0 auto; overflow-wrap: anywhere; }
.zdd *, .zdd *::before, .zdd *::after { box-sizing: border-box; }
.zdd [hidden] { display: none !important; }
.zdd h2, .zdd h3, .zdd h4 { color: var(--zdd-ink); line-height: 1.25; letter-spacing: normal; text-transform: none; margin: 0 0 16px; font-weight: 700; }
.zdd h2 { font-size: clamp(28px, 4vw, 38px); }
.zdd h3 { font-size: clamp(23px, 3vw, 28px); }
.zdd h4 { font-size: 20px; }
.zdd p { margin: 0 0 16px; }
.zdd a { color: #115f4e; text-decoration: underline; text-underline-offset: 3px; }
.zdd a:hover { color: #073e32; }
.zdd :focus-visible { outline: 3px solid #996d00 !important; outline-offset: 3px; }
.zdd-intro { margin: 0 0 26px; }
.zdd-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.zdd-heading h3 { margin: 0; }
.zdd-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid var(--zdd-green); border-radius: 7px; min-height: 44px; font: inherit; font-weight: 600; line-height: 1.4; letter-spacing: normal; text-transform: none; cursor: pointer; background: #fff; color: var(--zdd-green) !important; text-decoration: none !important; white-space: normal; text-align: center; }
.zdd-button:hover { background: #eaf2ed; }
.zdd-button:disabled { cursor: default; opacity: .55; }
.zdd-primary { background: var(--zdd-green); color: #fff !important; }
.zdd-primary:hover { background: #0d4437; }
.zdd-period { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 15px 18px; background: var(--zdd-light); border-radius: 8px; margin-bottom: 24px; }
.zdd-badge { background: var(--zdd-green); color: #fff; padding: 3px 10px; font-size: 13px; font-weight: 700; border-radius: 4px; }
.zdd-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .85fr) auto; align-items: end; gap: 15px; margin-bottom: 24px; }
.zdd-filters > div { min-width: 0; }
.zdd label { display: block; font-weight: 600; margin-bottom: 7px; }
.zdd select, .zdd input:not([type=hidden]), .zdd textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px; border: 1px solid #829b8f; border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--zdd-ink); font: inherit; line-height: 1.5; margin: 0; box-shadow: none; }
.zdd select { padding-right: 28px; text-overflow: ellipsis; }
.zdd textarea { resize: vertical; }
.zdd-diet-name { font-size: 21px; font-weight: 700; margin-bottom: 16px !important; }
.zdd-day-controls { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0; }
.zdd-day { border: 1px solid var(--zdd-line); border-radius: 9px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.zdd-day > summary { padding: 17px 20px; font-size: 20px; font-weight: 700; cursor: pointer; background: var(--zdd-light); }
.zdd-day[open] > summary { border-bottom: 1px solid var(--zdd-line); }
.zdd-enhanced .zdd-day:not(.zdd-active) { display: none; }
.zdd-meal-table { width: 100%; border-collapse: collapse; margin: 0; color: var(--zdd-ink); font-size: 15px; table-layout: fixed; }
.zdd-meal-table th, .zdd-meal-table td { padding: 18px 20px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--zdd-line); background: #fff; font-weight: 400; }
.zdd-meal-table thead th { font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: .025em; background: #f8faf8; }
.zdd-meal-table th:first-child { width: 17%; }
.zdd-meal-table thead th:nth-child(2) { width: 48%; }
.zdd-meal-table thead th:nth-child(3) { width: 35%; }
.zdd-meal-table tbody th { font-weight: 700; font-size: 17px; color: var(--zdd-green); }
.zdd-ingredients { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.zdd-ingredients li { margin: 0 0 5px !important; padding: 0 !important; line-height: 1.6; }
.zdd-allergen-list { display: flex; flex-wrap: wrap; gap: 7px; }
.zdd-allergen { display: inline-block; border: 1px solid #dbc88b; background: #fbf8ec; color: #5b4709; font-size: 13px; line-height: 1.5; padding: 4px 8px; border-radius: 5px; }
.zdd-allergen strong { padding-right: 3px; }
.zdd-method { font-size: 14px; margin: 14px 0 0 !important; }
.zdd-time { display: block; color: var(--zdd-muted); font-size: 14px; font-weight: 400; margin-top: 5px; }
.zdd-mobile-label { display: none; }
.zdd-nutrition { padding: 24px 20px; background: var(--zdd-light); }
.zdd-nutrition h4 { margin-bottom: 6px; }
.zdd-nutrition > p { font-size: 14px; color: var(--zdd-muted); }
.zdd-nutrition dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.zdd-nutrition dl > div { border-left: 3px solid #b6cabc; padding-left: 12px; min-width: 0; }
.zdd-nutrition dt { font-size: 13px; color: var(--zdd-muted); }
.zdd-nutrition dd { margin: 3px 0 0; font-size: 19px; font-weight: 700; color: var(--zdd-ink); }
.zdd-legend, .zdd-source { border: 1px solid var(--zdd-line); padding: 16px 20px; border-radius: 8px; margin-top: 16px; }
.zdd summary { cursor: pointer; }
.zdd-legend summary, .zdd-source summary { font-weight: 600; }
.zdd-legend ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 26px; padding-left: 24px; margin: 18px 0; }
.zdd-legend p, .zdd-source p { font-size: 14px; color: var(--zdd-muted); margin: 16px 0 0; }
.zdd-note { padding: 20px; margin: 0 !important; color: var(--zdd-muted); font-size: 14px; }
.zdd-updated { margin-top: 20px !important; font-size: 13px; color: var(--zdd-muted); }
.zdd-empty { padding: 18px; border: 1px solid var(--zdd-line); border-radius: 7px; }
.zdd-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1000px) { .zdd-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .zdd-filters { grid-template-columns: minmax(0, 1fr); }
  .zdd-meal-table, .zdd-meal-table tbody, .zdd-meal-table tbody tr, .zdd-meal-table tbody th, .zdd-meal-table tbody td { display: block; width: 100%; }
  .zdd-meal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .zdd-meal-table tbody tr { border-bottom: 1px solid var(--zdd-line); }
  .zdd .zdd-meal-table tbody th:first-child { width: 100%; padding: 17px 18px 0; border-bottom: 0; font-size: 20px; }
  .zdd-meal-table tbody td { padding: 10px 18px 14px; border-bottom: 0; }
  .zdd-mobile-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--zdd-muted); }
  .zdd-nutrition dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zdd-legend ol { grid-template-columns: minmax(0, 1fr); }
  .zdd-day > summary { padding: 16px 18px; font-size: 18px; }
  .zdd-day-controls .zdd-button { padding: 9px 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .zdd *, .zdd *::before, .zdd *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  body.zdd-printing * { visibility: hidden !important; }
  body.zdd-printing .zdd-print-target, body.zdd-printing .zdd-print-target * { visibility: visible !important; }
  body.zdd-printing .zdd-print-target { position: absolute; top: 0; left: 0; width: 100%; max-width: none; font-size: 11pt; }
  .zdd-print-target .zdd-print, .zdd-print-target .zdd-filters, .zdd-print-target .zdd-day-controls, .zdd-print-target .zdd-live { display: none !important; }
  .zdd-print-target .zdd-day { display: block !important; break-before: page; border: 0; }
  .zdd-print-target .zdd-day-body { display: block !important; }
  .zdd-print-target .zdd-day > summary { background: #fff; }
  .zdd-print-target .zdd-meal-table th, .zdd-print-target .zdd-meal-table td { padding: 8px; }
  .zdd-print-target .zdd-meal-table tr { break-inside: avoid; }
  .zdd-print-target .zdd-nutrition { break-inside: avoid; padding: 12px; background: #fff; }
  .zdd-print-target .zdd-allergen { border: 0; background: #fff; padding: 1px 3px; }
}
