.mm-ads-guide { min-width: 0; }
.mm-ads-guide *, .mm-ads-guide *::before, .mm-ads-guide *::after { box-sizing: border-box; }
.mm-ads-guide [hidden] { display: none !important; }
.mm-ads-guide [id] { scroll-margin-top: 8rem; }
.mm-ads-guide .mm-ag-nav { padding-block: 1rem; border-block: 1px solid var(--mm-ink-200); margin-block: 1.75rem 2rem; }
.mm-ads-guide .mm-ag-nav p { margin: 0; font-size: .9rem; line-height: 2; }
.mm-ads-guide .mm-ag-panel { padding: clamp(1rem, 3vw, 1.75rem); margin-block: 1.5rem 2rem; border: 1px solid var(--mm-brand-100); border-radius: 1rem; background: var(--mm-brand-50); }
.mm-ads-guide .mm-ag-panel > :first-child { margin-top: 0; }
.mm-ads-guide .mm-ag-panel > :last-child { margin-bottom: 0; }
.mm-ads-guide .mm-ag-kicker { margin: 0 0 .65rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mm-brand-600); }
.mm-ads-guide .mm-ag-note { color: var(--mm-ink-600); font-size: .88rem; }
.mm-ads-guide .mm-ag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mm-ads-guide .mm-ag-grid > label { display: flex; flex-direction: column; }
.mm-ads-guide .mm-ag-grid > label > :is(input, select) { margin-top: auto; }
.mm-ads-guide label { display: block; min-width: 0; }
.mm-ads-guide .mm-ag-question { padding: 1rem; border-radius: .65rem; background: #fff; border: 1px solid var(--mm-brand-100); }
.mm-ads-guide .mm-ag-question > span { display: block; margin-bottom: .6rem; font-weight: 600; }
.mm-ads-guide :is(select, textarea, input:not([type="checkbox"])) { max-width: 100%; }
.mm-ads-guide .mm-ag-question select,
.mm-ads-guide [data-ag-worksheet] :is(input, textarea) { width: 100%; min-width: 0; border: 1px solid #8a929d; border-radius: .4rem; padding: .7rem; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--mm-ink-800); background: #fff; }
.mm-ads-guide [data-ag-worksheet] textarea { resize: vertical; min-height: 7rem; }
.mm-ads-guide :is(input, select, textarea, summary, button, a):focus-visible { outline: 3px solid var(--mm-brand-500); outline-offset: 3px; }
.mm-ads-guide button { cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; padding: .8rem 1.15rem; border: 1px solid var(--mm-brand-600); border-radius: 999px; background: var(--mm-brand-600); color: #fff; line-height: 1.5; }
.mm-ads-guide button:hover { background: var(--mm-brand-800); }
.mm-ads-guide .mm-ag-secondary { background: #fff; color: var(--mm-brand-600); }
.mm-ads-guide .mm-ag-secondary:hover { background: var(--mm-brand-100); }
.mm-ads-guide .mm-ag-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.2rem .6rem; }
.mm-ads-guide [data-ag-feedback]:empty, .mm-ads-guide [data-ag-worksheet-status]:empty { display: none; }
.mm-ads-guide [data-ag-feedback] { margin-top: 1rem; font-size: .9rem; font-weight: 600; }
.mm-ads-guide [data-ag-result] { background: #fff; border: 1px solid var(--mm-brand-200); border-left: 4px solid var(--mm-brand-600); border-radius: .5rem; padding: 1rem; margin-top: .75rem; }
.mm-ads-guide [data-ag-result] summary { color: var(--mm-brand-800); font-weight: 700; cursor: pointer; }
.mm-ads-guide [data-ag-result] p { margin: .8rem 0 0; }
.mm-ads-guide .mm-ag-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem; }
.mm-ads-guide .mm-ag-compare > .mm-ag-card { margin-block: 0; }
.mm-ads-guide .mm-ag-card { padding: 1.25rem; border: 1px solid var(--mm-ink-200); border-radius: .75rem; background: #fff; min-width: 0; }
.mm-ads-guide .mm-ag-card:last-child { border-top: 4px solid var(--mm-brand-600); }
.mm-ads-guide .mm-ag-card > :first-child { margin-top: 0; }
.mm-ads-guide .mm-ag-card > :last-child { margin-bottom: 0; }
.mm-ads-guide .mm-ag-ad { border-left: 3px solid var(--mm-brand-200); padding-left: 1rem; color: var(--mm-brand-800); }
.mm-ads-guide .wp-block-table { overflow-x: auto; margin-inline: 0; }
.mm-ads-guide .wp-block-table table { display: table; width: 100%; min-width: 34rem; margin-bottom: 0; }
.mm-ads-guide .wp-block-table th { font-size: .88rem; }
.mm-ads-guide .wp-block-table td { font-size: .92rem; }
.mm-ads-guide .mm-ag-checklist { list-style: none; margin: 1rem 0; padding: 0; }
.mm-ads-guide .mm-ag-checklist li { margin: .6rem 0; }
.mm-ads-guide .mm-ag-checklist label { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; border: 1px solid var(--mm-brand-100); border-radius: .5rem; cursor: pointer; }
.mm-ads-guide .mm-ag-checklist input { appearance: auto; accent-color: var(--mm-brand-600); flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.mm-ads-guide .mm-ag-checklist label:has(input:checked) { background: #e4f0e8; }
.mm-ads-guide [data-ag-worksheet] fieldset { min-width: 0; padding: 0; margin: 1.5rem 0; border: 0; }
.mm-ads-guide [data-ag-worksheet] legend { color: var(--mm-brand-800); font-weight: 700; padding: 0; margin-bottom: .8rem; }
.mm-ads-guide [data-ag-label] { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.mm-ads-guide [data-ag-worksheet] .mm-ag-wide { grid-column: 1 / -1; }
.mm-ads-guide .mm-ag-metrics { margin-block: 1rem; }
.mm-ads-guide .mm-ag-metrics fieldset { padding: 1rem; background: #fff; border-radius: .6rem; border: 1px solid var(--mm-brand-100); margin: 0; }
.mm-ads-guide .mm-ag-metrics label + label { margin-top: .8rem; }
.mm-ads-guide .mm-ag-print-value { display: none; }
.mm-ads-guide .mm-ads-panel-heading h3 { margin: .25rem 0 .6rem; font-size: 1.45rem; }
.mm-ads-guide .mm-ads-calculator { margin-block: 1.5rem; }
.mm-ads-guide .mm-ads-privacy { padding: 1rem; }
.mm-ads-guide .mm-ag-sources { border-top: 1px solid var(--mm-ink-200); padding-top: 1rem; font-size: .85rem; }
@media (max-width: 600px) {
  .mm-ads-guide :is(.mm-ag-grid, .mm-ag-compare) { grid-template-columns: minmax(0, 1fr); }
  .mm-ads-guide .mm-ag-question { padding: .85rem; }
  .mm-ads-guide .mm-ag-panel { padding: 1rem; }
  .mm-ads-guide .mm-ag-actions button { width: 100%; }
}
@media print {
  .mm-ads-guide :is(button, [data-ag-diagnosis], [data-ag-feedback], .mm-ag-nav, .mm-ads-calculator) { display: none !important; }
  .mm-ads-guide [data-ag-worksheet][data-print-ready="true"] :is(input, textarea) { display: none !important; }
  .mm-ads-guide .mm-ag-print-value { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400; min-height: 1.3em; padding-block: .25rem; }
  .mm-ads-guide .mm-ag-panel { background: #fff; border-color: #777; padding: 1rem; }
  .mm-ads-guide [data-ag-worksheet] :is(label, fieldset) { break-inside: avoid; }
  .mm-ads-guide .mm-ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mm-ag-printing #wpadminbar,
  body.mm-ag-printing :is(header, footer, .mm-related, .mm-editorial-notice, [aria-label="Cookie-Zustimmung ändern"]),
  body.mm-ag-printing #primary > :not(.mm-article),
  body.mm-ag-printing .mm-article > :not(.mm-ads-guide),
  body.mm-ag-printing .mm-ads-guide > :not([data-ag-worksheet]) { display: none !important; }
  body.mm-ag-printing .mm-article { padding: 0; max-width: none; width: 100%; }
  body.mm-ag-printing { padding: 0 !important; margin: 0 !important; }
  body.mm-ag-printing [data-ag-worksheet] { border: 0; padding: 0; margin: 0; }
}
