/* QUAMARO Mein Garten – mobile Kompaktansicht v5
   Wird über consent.js geladen, damit sie auch bei alter mein-garten.html sicher ankommt. */
@media (max-width:820px){
  body.q-dashboard-page .qmg-live-source{display:none!important}
  body.q-dashboard-page .qmg-live-body{display:block!important;padding:10px 12px 13px!important}
  body.q-dashboard-page .qmg-mobile-collapse:not(.is-open)>.qmg-live-body{display:none!important}

  body.q-dashboard-page .qmg-live-part-list{display:grid;gap:7px}
  body.q-dashboard-page .qmg-live-part-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;min-height:62px;padding:9px 10px;border:1px solid rgba(28,79,58,.11);border-radius:12px;background:#fff;color:inherit;text-decoration:none!important;box-shadow:none!important}
  body.q-dashboard-page .qmg-live-part-main{min-width:0;display:grid;gap:5px}
  body.q-dashboard-page .qmg-live-part-head{display:flex;align-items:center;gap:7px;min-width:0}
  body.q-dashboard-page .qmg-live-part-icon{flex:0 0 auto;font-size:17px;line-height:1}
  body.q-dashboard-page .qmg-live-part-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.15;font-weight:850;color:#173f45}
  body.q-dashboard-page .qmg-live-part-meta{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:10px;line-height:1.2;color:#748288}
  body.q-dashboard-page .qmg-live-part-meta b{font-size:11px;color:#214b50}
  body.q-dashboard-page .qmg-live-part-side{display:grid;justify-items:end;gap:5px}
  body.q-dashboard-page .qmg-live-status{padding:4px 7px;border-radius:999px;background:#fff7dc;color:#73591f;font-size:9px;line-height:1;font-weight:850;white-space:nowrap}
  body.q-dashboard-page .qmg-live-status.is-done{background:#eaf6ec;color:#2e7146}
  body.q-dashboard-page .qmg-live-action{font-size:10px;line-height:1;font-weight:850;color:#2d7754;white-space:nowrap}
  body.q-dashboard-page .qmg-live-divider{padding:7px 2px 1px;margin-top:2px;border-top:1px solid rgba(28,79,58,.10);font-size:11px;font-weight:850;color:#28543d}

  body.q-dashboard-page .qmg-live-budget-list{display:grid;gap:7px}
  body.q-dashboard-page .qmg-live-budget-row{padding:8px 9px;border:1px solid rgba(28,79,58,.10);border-radius:12px;background:#fff;box-shadow:none!important}
  body.q-dashboard-page .qmg-live-budget-row.is-total{background:#eef7f0}
  body.q-dashboard-page .qmg-live-budget-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid rgba(28,79,58,.07)}
  body.q-dashboard-page .qmg-live-budget-top strong{font-size:13px;line-height:1.15;color:#173f45}
  body.q-dashboard-page .qmg-live-budget-top span{font-size:10px;color:#718087;white-space:nowrap}
  body.q-dashboard-page .qmg-live-budget-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
  body.q-dashboard-page .qmg-live-budget-kv{display:flex;justify-content:space-between;gap:7px;font-size:9px;line-height:1.25;color:#7b888d}
  body.q-dashboard-page .qmg-live-budget-kv b{font-size:10px;color:#214b50;text-align:right}

  body.q-dashboard-page .qmg-live-timeline{display:grid;gap:0;border:1px solid rgba(28,79,58,.10);border-radius:12px;overflow:hidden;background:#fff}
  body.q-dashboard-page .qmg-live-timeline-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;min-height:49px;padding:7px 9px;border-bottom:1px solid rgba(28,79,58,.08)}
  body.q-dashboard-page .qmg-live-timeline-row:last-child{border-bottom:0}
  body.q-dashboard-page .qmg-live-timeline-nr{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eef7f0;color:#347b4e;font-size:10px;font-weight:900}
  body.q-dashboard-page .qmg-live-timeline-copy{min-width:0}
  body.q-dashboard-page .qmg-live-timeline-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.15;color:#173f45}
  body.q-dashboard-page .qmg-live-timeline-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9px;line-height:1.15;color:#78858a}
}
