/* Lecko Mio V2 – Zutatenkonfigurator, Bestellnummern und Admin-Auswertungen.
   Die bestehende gruene Marke und die Logo-Animation bleiben unveraendert. */
.custom-backdrop{position:fixed;inset:0;background:rgba(7,29,16,.7);z-index:41;backdrop-filter:blur(4px)}
.custom-backdrop[hidden],.custom-modal[hidden]{display:none!important}
.custom-modal{position:fixed;z-index:42;top:50%;left:50%;transform:translate(-50%,-50%);width:min(780px,calc(100vw - 28px));max-height:min(90vh,840px);display:flex;flex-direction:column;border-radius:24px;background:#fffdf6;border:1px solid #d8e8d2;box-shadow:0 40px 140px #071c14aa;overflow:hidden}
body.custom-open{overflow:hidden}
.custom-head{background:#edf7e8;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 29px;border-bottom:1px solid #d9e8d5}
.custom-head h2{margin:7px 0 0;font-size:clamp(1.6rem,3.8vw,2.35rem);color:#0d4c2a}
.custom-content{padding:19px 28px;overflow:auto;overscroll-behavior:contain}
.custom-content>#customHint{margin:0 0 15px}
.custom-columns{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.custom-group{border:1px solid #dce7d9;background:#fff;border-radius:15px;padding:17px 15px;margin:0;min-width:0}
.custom-group legend{font-weight:900;font-size:1.12rem;color:#155f35;padding:0 8px}
.custom-group>small{display:block;color:#6d7f70;margin:0 0 15px;font-size:.76rem;line-height:1.5}
.custom-group .muted{font-size:.83rem;line-height:1.6}
.custom-option{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 7px;border-bottom:1px solid #edf0e8;cursor:pointer;font-size:.9rem;font-weight:650}
.custom-option:last-child{border:0}
.custom-option:hover{background:#f7faf4}
.custom-option input{width:19px;height:19px;accent-color:#218c47;flex-shrink:0}
.custom-option span{flex:1;line-height:1.4}
.custom-option strong{color:#147b3a;font-size:.8rem;white-space:nowrap}
.custom-option small{display:block;font-size:.69rem;color:#788878;font-weight:500;margin-top:4px}
.custom-allergen{font-size:.73rem;color:#7b8579;line-height:1.55;padding-top:13px}
.custom-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:#f1f9eb;border-top:1px solid #d9e8d5}
.custom-footer>span{font-size:.8rem;color:#56715b}
.custom-footer>span strong{display:block;font-size:1.5rem;color:#0c5228;margin-top:2px}
.custom-footer .button{white-space:nowrap}
.cart-modifiers{font-size:.72rem;color:#366e47;margin:5px 0;line-height:1.5;overflow-wrap:anywhere}
.cart-edit{color:#1c873f;background:transparent;border:0;padding:2px 0;text-decoration:underline;font-weight:750;font-size:.7rem;cursor:pointer}
.order-public-number{display:inline-flex;align-items:center;gap:12px;color:#526d56;margin-bottom:15px;border-radius:10px;background:#ebf6e9;padding:10px 14px;font-size:.84rem}
.order-public-number strong{font-size:1.05rem;color:#10612c}
.order-modifiers{display:block;color:#237a41;font-size:.74rem;margin:5px 0;line-height:1.5}
.order-item-with-mods{display:inline-flex;flex-direction:column;gap:4px}
.order-item-with-mods small{display:block;font-size:.69rem;color:#2f7e42;line-height:1.4}
.report-panel{margin-bottom:25px;padding:22px 26px}
.report-filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.report-filters label{font-size:.8rem;font-weight:800;color:#285736;flex:1;min-width:175px}
.report-filters input{display:block;padding:12px 14px;width:100%;margin-top:7px;border:1px solid #cddccf;border-radius:9px;background:#fff;font-size:1rem;color:#1c3926}
.report-meta{color:#5d7560;font-size:.82rem;line-height:1.65;margin:15px 0 0}
.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.report-kpi{background:linear-gradient(142deg,#f7fff3,#fff);border:1px solid #d1e4ce;border-radius:17px;padding:24px 19px}
.report-kpi>span{display:block;color:#456f4d;font-size:.75rem;font-weight:800;letter-spacing:.04em}
.report-kpi>strong{display:block;color:#126331;font-size:clamp(1.3rem,2.3vw,2.05rem);margin:12px 0 6px;white-space:nowrap}
.report-kpi>small{display:block;color:#788d7c;font-size:.72rem;line-height:1.4}
.report-scroll{width:100%;overflow-x:auto;border:1px solid #dfe9dc;border-radius:13px;background:#fff}
.report-table{width:100%;border-collapse:collapse;min-width:620px;text-align:left;font-size:.83rem}
.report-table th{background:#eaf5e8;color:#1c6535;text-transform:uppercase;font-size:.69rem;letter-spacing:.075em;padding:15px 14px;white-space:nowrap}
.report-table td{padding:15px 14px;border-top:1px solid #e8eee4;vertical-align:top;color:#34493b}
.report-table tbody tr:hover{background:#fbfcf8}
.report-table td strong{display:block;color:#174b2b}
.report-table td small{display:block;color:#788d7c;margin-top:4px;font-size:.71rem;overflow-wrap:anywhere}
.report-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0;color:#67816c;font-size:.81rem}
.report-pagination>div{display:flex;gap:10px}
.report-disclaimer{padding:16px 20px;margin-top:25px;background:#f1f7ef;border:1px solid #d4e4d0;border-radius:12px;color:#5a765d;line-height:1.65;font-size:.78rem}
.form-stack label>small{display:block;color:#617663;font-weight:500;line-height:1.5;margin:3px 0 2px}
.form-stack label textarea{line-height:1.55}
@media(max-width:760px){
  .custom-modal{top:50%;max-height:95vh;width:calc(100vw - 14px);border-radius:16px}
  .custom-head{padding:17px 16px}
  .custom-content{padding:15px}
  .custom-columns{grid-template-columns:1fr;gap:13px}
  .custom-group{padding:11px 12px}
  .custom-option{min-height:40px}
  .custom-footer{padding:13px 14px}
  .custom-footer .button{padding:12px 13px;font-size:.78rem}
  .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .report-kpi{padding:17px 13px}
  .report-kpi>strong{white-space:normal}
  .report-panel{padding:17px}
  .report-filters label{min-width:100%}
}
