:root{font-family:Segoe UI,Arial,sans-serif;color:#213c36;background:#f4f6f3;font-size:15px}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:244px;background:#163f36;color:white;padding:32px 24px;position:fixed;height:100vh}.brand{font-size:34px;font-weight:700;color:#ddc77d;display:flex;align-items:center;gap:14px}.brand span{font-size:12px;letter-spacing:3px;color:white}aside h2{font-size:20px;margin:38px 0 6px}aside p{font-size:13px;color:#b8cec5}nav{margin-top:36px;display:grid;gap:8px}nav button{text-align:left;background:transparent;color:#d3e2db;border:0;padding:13px 15px}nav button.selected{background:#31594d;color:white;border-left:3px solid #e2ca83}.aside-bottom{position:absolute;bottom:30px;font-size:11px;line-height:2;letter-spacing:1px}main{margin-left:244px;padding:36px 42px;width:calc(100% - 244px);max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}small{font-size:11px;letter-spacing:1.3px}h1{font-size:30px;margin:8px 0}h2{font-size:19px}h3{font-size:16px}p{line-height:1.6}.badge{background:#e5eee4;color:#426443;padding:8px 13px;border-radius:20px;font-size:12px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.card,.panel{background:white;border:1px solid #e0e7df;border-radius:12px;padding:24px}.card strong{display:block;font-size:34px;margin:12px 0 4px}.card span,.muted{color:#718178;font-size:13px}.hero{background:#e5eddf;border-radius:14px;padding:28px 32px;display:flex;justify-content:space-between;align-items:center}.hero h2{font-size:25px;margin:0}.eyebrow{color:#667b56;font-size:11px;letter-spacing:2px;margin-bottom:10px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.toolbar input{flex:1;min-width:170px}.toolbar h2{margin-right:auto}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d6e0d7;border-radius:7px;background:white;padding:9px 13px;color:#25473c}button:hover{background:#edf2e9}button:disabled{opacity:.35;cursor:default}button.primary{background:#245b47;color:white;border-color:#245b47}input,select{border:1px solid #ced9cf;border-radius:6px;padding:10px;background:white;color:#263e34}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#6d8073;background:#f6f8f3}th,td{padding:14px 12px;border-bottom:1px solid #e6ebe3}td small{letter-spacing:0;color:#7a877e}.table-wrap{overflow:auto}.status{font-size:12px;border-radius:12px;padding:4px 9px;background:#e8f1e5;color:#447344}.status.pause{background:#fff1d7;color:#8b6729}.route-item{display:flex;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #e8ede5}.number{width:32px;height:32px;border-radius:50%;background:#eef2e7;display:grid;place-items:center}.route-info{flex:1}.route-info span{display:block;font-size:13px;color:#758277;margin-top:5px}.route-item button{padding:6px 10px}.panel-head{display:flex;justify-content:space-between;align-items:center}.empty{padding:30px;color:#758277}.log{padding:14px 0;border-bottom:1px solid #e7ece4}.log small{display:block;color:#7b877e;margin-top:6px}dialog{border:0;border-radius:14px;padding:28px;width:540px;max-width:95vw;box-shadow:0 20px 90px #173e3640}dialog::backdrop{background:#102e3380}label{display:grid;gap:7px;margin:16px 0;font-size:13px}.dialog-head{display:flex;justify-content:space-between;align-items:center}footer{font-size:11px;color:#7c8b80;margin-top:28px}#notice:not(:empty){padding:14px;background:#fff0d1;border-radius:8px;margin-bottom:20px}.week-select{width:78px}.intro{color:#718178;margin-top:-10px}.print-head{display:none}@media(max-width:1000px){aside{width:190px;padding:24px 16px}main{margin-left:190px;width:calc(100% - 190px);padding:24px}.cards{grid-template-columns:1fr 1fr}.grid2{grid-template-columns:1fr}}@media(max-width:650px){body{display:block}aside{position:static;width:100%;height:auto}aside h2,aside p,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:15px}nav button{white-space:nowrap}main{margin:0;width:100%;padding:20px}header{align-items:start}.badge{white-space:nowrap}.hero{display:block}.hero button{margin-top:12px}}@media print{aside,header,footer,.toolbar,button,#notice{display:none!important}main{margin:0;width:100%;padding:0}.panel{border:0;padding:0}.print-head{display:block}body{background:white}th,td{padding:9px;font-size:12px}}

@media print{.no-print{display:none!important}}
textarea{font:inherit;border:1px solid #ced9cf;border-radius:6px;padding:10px;resize:vertical;width:100%}.weekly-sheet{margin-bottom:24px}.weekly-table th,.weekly-table td{padding:10px 7px;font-size:12px}.weekly-table .menu-cell{text-align:center;font-size:15px;font-weight:600}.remarks-cell{min-width:140px;overflow-wrap:anywhere}.weekly-table td:nth-child(2){min-width:180px;overflow-wrap:anywhere}@media print{@page{size:A4 landscape;margin:12mm}.weekly-sheet{break-before:page}.weekly-sheet:first-of-type{break-before:auto}.weekly-sheet .table-wrap{overflow:visible}.weekly-table{table-layout:fixed}.weekly-table th:first-child{width:4%}.weekly-table th:nth-child(2){width:27%}.weekly-table th:last-child{width:20%}.weekly-table th,.weekly-table td{font-size:10px;padding:7px 4px;min-width:0}.weekly-table thead{display:table-header-group}.weekly-table tr{break-inside:avoid}.weekly-table .menu-cell{font-size:12px}.weekly-sheet h2{margin-top:0}.intro{display:none}.weekly-sheet .muted{font-size:9px}}
.sheet-details{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.participant-sheet{max-width:900px}.participant-sheet h2{font-size:25px}.map-tools{background:#f2f5ed;padding:16px;border-radius:8px;margin:20px 0}.house-map{position:relative;width:100%;line-height:0;cursor:crosshair}.house-map img{width:100%;height:auto;display:block}.house-pin{position:absolute;transform:translate(-50%,-50%);color:#d40000;background:#fff9;border:2px solid #d40000;border-radius:50%;width:32px;height:32px;line-height:26px;text-align:center;font-size:30px;font-weight:bold;pointer-events:none}.map-caption{font-size:11px;overflow-wrap:anywhere}.sheet-remarks{white-space:normal}.map-tools a{color:#245b47}@media print{body:has(.participant-sheet) .no-print{display:none!important}@page participant{size:A4 portrait;margin:14mm}.participant-sheet{page:participant;max-width:none}.participant-sheet h2{font-size:22px}.participant-sheet p{font-size:11px;margin:7px 0}.participant-sheet .house-map{max-width:170mm;max-height:none;break-inside:avoid}.participant-sheet .house-map img{max-height:110mm;object-fit:fill}.house-pin{-webkit-print-color-adjust:exact;print-color-adjust:exact}.participant-sheet h3{margin:10px 0}.map-caption{break-before:avoid}}
.address-fields{border:1px solid #dce4d9;border-radius:8px;padding:12px}.address-fields .grid2{gap:0 16px}.doris-plan{position:relative;line-height:0;width:100%;aspect-ratio:5/3;background:#eef1eb}.doris-plan img{display:block;width:100%;height:auto}.doris-plan .house-pin{pointer-events:none}.doris-load-error{color:#9c362e;font-size:12px}dialog{max-height:92vh;overflow-y:auto}#doris-preview .doris-plan{max-width:440px}#doris-preview p{font-size:12px}#doris-preview a{font-size:12px}@media print{.doris-plan{max-width:170mm;break-inside:avoid}.doris-plan img{width:100%}.doris-load-error:empty{display:none}}
#doris-suggestions{width:100%;max-width:100%;padding:4px;min-height:90px}#doris-suggestions option{padding:9px 7px;white-space:normal}#doris-preview label{font-weight:600;margin:10px 0}
/* Wochenliste nach Excel-Muster: Name, Adresse, sieben Tage, Summe, Anmerkung. */
.weekly-sheet{padding:20px;color:#161b18;border-radius:4px;margin:0 0 26px}.weekly-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.weekly-heading h2{font-size:23px;margin:0}.weekly-heading p{text-align:right;margin:0;font-size:14px;line-height:1.35}.weekly-legend{display:flex;gap:20px;flex-wrap:wrap;margin:10px 0 4px;font-size:12px}.weekly-reference{font-size:11px;color:#5d665f;margin:5px 0 10px}.weekly-table{border-collapse:collapse;table-layout:fixed;width:100%}.weekly-table .col-order{width:3%}.weekly-table .col-name{width:16%}.weekly-table .col-address{width:18%}.weekly-table .col-day{width:4%}.weekly-table .col-sum{width:5%}.weekly-table .col-remarks{width:30%}.weekly-table th,.weekly-table td{border:1px solid #626a63;padding:6px 5px;vertical-align:middle;font-size:12px;line-height:1.18;overflow-wrap:anywhere;min-width:0!important}.weekly-table th{background:#e8ece8;color:#172d23;text-transform:none;letter-spacing:0;font-weight:700;text-align:center}.weekly-table th:nth-child(2),.weekly-table th:nth-child(3){text-align:left}.weekly-table .menu-cell{text-align:center;font-size:15px;font-weight:700}.weekly-table .weekly-sum{font-weight:700;text-align:center}.weekly-table .menu-one,.weekly-legend .menu-one{color:#b40000;background:#fff0f0}.weekly-table .menu-two,.weekly-legend .menu-two{color:#0054a5;background:#eaf4ff}.weekly-table .weekly-changed,.weekly-new td{background:#fff2a6!important;box-shadow:inset 0 0 0 1px #c68a16}.weekly-table .weekly-total th{font-weight:700;text-align:left}.weekly-table .weekly-total td{font-weight:700;text-align:center}.weekly-total:last-child td,.weekly-total:last-child th{border-top:2px solid #222}.weekly-table .weekly-inactive td:not(.weekly-changed){background:#eeeeec}.weekly-legend .change-key{background:#fff2a6;padding:1px 5px;border:1px solid #c68a16}.weekly-tag{font-size:9px;font-weight:bold}.weekly-removed{background:#fff2a6;padding:4px;font-size:11px}.weekly-footnote{font-size:10px;margin:6px 0 0;color:#555}.weekly-table sup{font-size:9px;padding-left:1px}.weekly-table td:nth-child(2){min-width:0}.weekly-table .remarks-cell{white-space:normal}.weekly-table .weekly-inactive .menu-none{color:#666}
@media print{@page{size:A4 landscape;margin:7mm}.weekly-sheet{padding:0!important;margin:0!important;border:0;border-radius:0;break-before:page;break-after:auto;box-shadow:none;color:#111}.weekly-sheet:first-of-type{break-before:auto}.weekly-heading h2{font:700 14pt Arial,sans-serif;margin:0}.weekly-heading p{font:10pt Arial,sans-serif;line-height:1.2}.weekly-legend{margin:3mm 0 1mm;gap:7mm;font:8pt Arial,sans-serif}.weekly-reference{font:7.5pt Arial,sans-serif;margin:1mm 0 2mm}.weekly-sheet .table-wrap{overflow:visible}.weekly-table{font-family:Arial,sans-serif;table-layout:fixed}.weekly-table th,.weekly-table td{font-size:9pt;line-height:1.12;padding:1.1mm .8mm;border-color:#555;min-width:0!important}.weekly-table th:first-child,.weekly-table th:nth-child(2),.weekly-table th:last-child{width:auto}.weekly-table .menu-cell{font-size:11pt;line-height:1.05}.weekly-table .weekly-total th,.weekly-table .weekly-total td{font-size:8.5pt;padding:.8mm}.weekly-table tr{break-inside:avoid}.weekly-table thead{display:table-header-group}.weekly-sheet *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.weekly-footnote{font:7pt Arial,sans-serif;margin:2mm 0 0}.weekly-removed{font:8pt Arial,sans-serif;padding:1mm;margin:1mm 0}.weekly-sheet .weekly-tag{font-size:7pt}.weekly-table sup{font-size:7pt}.weekly-sheet .weekly-reference{color:#333}.weekly-sheet .menu-one{color:#b40000!important}.weekly-sheet .menu-two{color:#0054a5!important}}
.weekly-sheet .weekly-table{min-width:1000px}.weekly-table thead th:nth-child(n+4):nth-child(-n+10){white-space:nowrap}.weekly-table .menu-cell sup{white-space:nowrap}@media print{.weekly-sheet .weekly-table{min-width:0}.weekly-table thead th:nth-child(n+4):nth-child(-n+10){white-space:nowrap;font-size:8pt}}
@media print{.weekly-table th,.weekly-table td{padding:.45mm .6mm}.weekly-table .menu-cell{font-size:10pt;line-height:1}.weekly-table .weekly-total th,.weekly-table .weekly-total td{padding:.5mm .6mm}}
.unit-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.unit-fields input{width:100%}@media(max-width:600px){.unit-fields{grid-template-columns:1fr}}
.interruption-fields{border:1px solid #d8d9bc;background:#fafbf2;border-radius:8px;padding:12px;margin:20px 0}.interruption-fields legend{font-weight:600;padding:0 5px}.interruption-fields .grid2{gap:12px}.interruption-fields p{font-size:12px}.form-error:not(:empty){color:#9d2620;background:#fff0e8;border:1px solid #e7b6a4;padding:12px;border-radius:6px;font-size:13px}
.weekly-table .col-delivery-note{width:16%}.weekly-table .col-interruption{width:14%}.weekly-table .interruption-cell{overflow-wrap:anywhere}.weekly-table tr.weekly-interruption>td{background:#fff2a6!important}.weekly-table tr.weekly-interruption>.menu-one{color:#b40000!important}.weekly-table tr.weekly-interruption>.menu-two{color:#0054a5!important}@media print{.weekly-table tr.weekly-interruption>td{background:#fff2a6!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}

.weekly-table tr.weekly-first-delivery>td{background:#fff2a6!important}
/* Inaktive Datensätze: Sperre und eindeutige Kennzeichnung, auch im Druck. */
.participant-fields{border:0;padding:0;margin:0;min-width:0}
.form-lock{background:#eee;padding:12px;border-radius:6px;color:#555}
.participant-fields:disabled input,.participant-fields:disabled select,.participant-fields:disabled textarea{background:#eee;color:#666}
.weekly-table tr.weekly-inactive>td{background:#e6e6e6!important;color:#777!important;box-shadow:none!important}
.weekly-table tr.weekly-inactive>td *{color:#777!important}
.weekly-legend .inactive-key{background:#e6e6e6;color:#777;padding:1px 5px}

.checkbox-field{display:flex;align-items:center;gap:10px;font-weight:600}.checkbox-field input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#163f36}

.break-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:18px 0}.break-day{display:flex;align-items:center;gap:10px;margin:0;padding:12px;border:1px solid #d5dfd7;border-radius:8px;background:#f5f8f4;cursor:pointer}.break-day input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:#163f36;flex-shrink:0}.break-day span{display:grid;gap:5px}.break-day small{color:#66746a}.break-day:has(input:not(:checked)){background:#fff2a6;border-color:#d7bb53}
.break-day:has(input:disabled){background:#eee;border-color:#ddd;color:#999;cursor:not-allowed}

.menu-checks{display:grid;gap:6px;min-width:82px}.menu-check{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;white-space:nowrap;cursor:pointer}.menu-check input[type=checkbox]{width:17px;height:17px;margin:0;flex-shrink:0}.menu-choice-1{color:#b40000}.menu-choice-1 input{accent-color:#b40000}.menu-choice-2{color:#0054a5}.menu-choice-2 input{accent-color:#0054a5}

.order-inactive>td,.order-interrupted>td:first-child,.order-day-disabled{background:#e7e7e7!important;color:#777!important}.order-day-disabled .menu-check,.order-inactive .menu-check{color:#888!important}.order-day-disabled input{opacity:.45}

.brand.mega-brand{font-size:26px;letter-spacing:-.5px;white-space:nowrap;line-height:1.3}@media(max-width:1000px){.brand.mega-brand{font-size:23px}}

.route-drop-zone{min-height:200px;transition:background .15s}.route-stop[draggable=true]{cursor:grab}.route-stop[draggable=true]:active{cursor:grabbing}.route-stop[draggable=false]{opacity:.65}.route-dragging{opacity:.45}.route-over{background:#eef5ed;outline:2px dashed #487558}.route-stop.drop-before{box-shadow:0 -3px #2c7656}.route-stop.drop-after{box-shadow:0 3px #2c7656}.tour-switch{font-size:11px;padding:7px;white-space:nowrap}.route-stop{flex-wrap:wrap}.route-stop .route-info{min-width:100px}.break-days{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px;margin:12px 0}.break-day{padding:9px;gap:8px;font-size:12px}.break-day span{gap:3px}.break-day small{font-size:11px}

.quick-weeks{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.quick-week{display:grid;gap:3px;padding:8px 10px;text-align:left;border:1px solid #cddbd2;background:white;color:#234d3e}.quick-week small{font-size:11px;color:inherit;font-weight:400}.quick-week.selected{background:#163f36;color:white;border-color:#163f36}.quick-week:hover{box-shadow:0 0 0 2px #b6cebe}.toolbar:has(.quick-weeks){flex-wrap:wrap}

.week-arrow{align-self:stretch;min-width:34px;padding:8px;font-size:20px;font-weight:700;background:#edf3ee;color:#234d3e;border:1px solid #cddbd2}.week-arrow:hover{background:#dbe9de}

.brand.mega-brand{font-size:24px;white-space:normal;display:block;line-height:1.2;overflow-wrap:normal}@media(max-width:1000px){.brand.mega-brand{font-size:21px}}
/* Seitenleiste: wächst mit den Menüpunkten statt zu überlappen */
aside{display:flex;flex-direction:column;overflow-y:auto}
.aside-bottom{position:static;margin-top:18px;padding-bottom:6px}
.session-box{margin-top:auto;padding-top:18px}
@media print{aside{display:none!important}}
#b-main [style*="text-align:right"]{white-space:nowrap}
/* Listen: Reiter */
.list-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 20px}
.list-tabs[hidden]{display:none}
.list-tabs button{margin:0;padding:10px 18px;border-radius:8px;background:white;border:1px solid #cddbd2;color:#234d3e;font-weight:600}
.list-tabs button.selected{background:#163f36;color:white;border-color:#163f36}
/* Einheitliche Listen (Tagesliste, Abrechnung, Statistik) im Stil der Wochenliste */
.list-table{border-collapse:collapse;width:100%}
.list-table th,.list-table td{border:1px solid #626a63;padding:6px 7px;font-size:12px;line-height:1.18;vertical-align:middle;overflow-wrap:anywhere;min-width:0}
.list-table th{background:#e8ece8;color:#172d23;text-transform:none;letter-spacing:0;font-weight:700;text-align:left}
.list-table .num{text-align:right;white-space:nowrap}
.list-table .ctr{text-align:center}
.list-table .total th,.list-table .total td,.list-table tfoot th,.list-table tfoot td{background:#e8ece8;font-weight:700}
.list-table .menu-one{color:#b40000;font-weight:700}
.list-table .menu-two{color:#0054a5;font-weight:700}
.list-table tr{break-inside:avoid}
.list-table thead{display:table-header-group}
.list-sub{font-size:13px;font-weight:700;margin:12px 0 4px}
.list-sheet .table-wrap{overflow:auto}
.list-sheet .person-box{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 24px;margin:8px 0 10px;font-size:13px}
.statement-days{display:flex;gap:14px;align-items:flex-start}
.statement-days>table{flex:1;min-width:0}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;margin-top:6px}
.stat-kpis td{text-align:center;font-size:20px;font-weight:700;padding:8px 6px}
.stat-kpis small{display:block;font-size:10px;font-weight:400;margin-top:2px}
.menu-split{display:flex;height:24px;border:1px solid #626a63;font-size:12px;color:white;font-weight:700}
.menu-split span{display:flex;align-items:center;padding:0 8px;white-space:nowrap;overflow:hidden}
.menu-split .s1{background:#b40000}.menu-split .s2{background:#0054a5}
.bar-cell{width:34%}
.bar-cell span{display:block;height:9px;background:#2f7a5f}
.spark{display:flex;align-items:flex-end;gap:2px;height:76px;border-bottom:1px solid #626a63;padding:0 2px}
.spark span{flex:1;background:#2f7a5f;min-width:2px}
.spark-labels{display:flex;gap:2px;font-size:9px;color:#444;padding:0 2px}
.spark-labels span{flex:1;text-align:center;overflow:hidden;white-space:nowrap}
@media print{
 .list-table th,.list-table td{font:8.5pt Arial,sans-serif;line-height:1.1;padding:.7mm 1.2mm;border-color:#555}
 .list-table th{font-weight:700}
 .list-table .stat-kpis td,.stat-kpis td{font-size:13pt}
 .stat-kpis small{font-size:7pt}
 .list-sub{font:700 9pt Arial,sans-serif;margin:3mm 0 1mm}
 .list-sheet,.list-sheet *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 .list-sheet .menu-one{color:#b40000!important}.list-sheet .menu-two{color:#0054a5!important}
 .stat-grid{gap:0 6mm;margin-top:1mm}
 .spark{height:17mm}.spark-labels{font-size:6.5pt}
 .menu-split{height:6mm;font:700 8pt Arial,sans-serif}
 .list-sheet .person-box{font:9pt Arial,sans-serif;margin:2mm 0 3mm}
 .statement-days{gap:4mm}
 .list-sheet .table-wrap{overflow:visible}
 .list-tabs{display:none!important}
}
#b-main [style*="text-align:right"]{white-space:nowrap}
.settings-panel{margin-bottom:24px}
.settings-panel h2{margin-top:0}
.msg.ok:not(:empty){color:#0a6b3d;background:#e8f5ec;border:1px solid #b9dcc4;padding:10px 12px;border-radius:6px;font-size:13px}
@media print{html,body{background:#fff!important}}
.notice-ok{background:#e6f4ea;border:1px solid #b7dfc3;color:#1e5b33;padding:10px 12px;border-radius:6px}
.linklike{background:none;border:0;padding:0 4px;color:#163f36;text-decoration:underline;cursor:pointer;font:inherit}
.mp-menu{white-space:pre-line;line-height:1.45}
.mp-table td{vertical-align:top}
.mp-table textarea{width:100%;min-width:220px;font:inherit}
.mp-warnings{background:#fff2a6;border:1px solid #d7bb53;padding:10px 14px;border-radius:6px}
/* Essenszettel (A4 quer, alle Maße in mm – siehe sheet-layout.js) */
.es-preview{overflow:auto;padding:10px 0}
.es-sheet{position:relative;width:297mm;height:210mm;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;box-shadow:0 1px 6px rgba(0,0,0,.25);margin:0 auto 18px;zoom:.8;overflow:hidden}
.es-sheet>div{position:absolute;box-sizing:border-box}
.es-marker{background:#000}
.es-code{display:flex;padding:.6mm;border:.3mm solid #000}
.es-code i{width:3mm;height:5mm;display:block}
.es-code i.on{background:#000}
.es-logo img{width:100%;height:100%;object-fit:contain}
.es-th,.es-td{border:.3mm solid #000;margin:0 -.15mm -.15mm 0}
.es-th{display:flex;align-items:center;justify-content:center;text-align:center;font-weight:bold;font-size:15pt}
.es-th-x{font-size:9.5pt;line-height:1.15}
.es-th-note{font-size:12pt}
.es-day{display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:10pt;line-height:1.25;font-weight:bold}
.es-menu{display:flex;align-items:center;justify-content:center;text-align:center;padding:.5mm 1mm}
.es-fit{font-size:9pt;line-height:1.2}
.es-box{border:.7mm solid #000;background:#fff}
.es-legend{font-size:8pt;line-height:1.3}
.es-legal{font-size:6.5pt;line-height:1.25}
@page essenszettel{size:A4 landscape;margin:0}
@media print{
  body.print-sheets>*:not(#sheet-print){display:none!important}
  body.print-sheets{background:#fff;margin:0;padding:0;display:block}
  #sheet-print .es-sheet{page:essenszettel;zoom:1;box-shadow:none;margin:0;break-after:page;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media screen{#sheet-print{display:none}}
.order-menuplan th,.order-menuplan td{vertical-align:top;font-weight:normal;font-size:11px;line-height:1.3;background:#fafbf9}
.order-menuplan td>div{margin:2px 0 6px}
.menu-one-plan{color:#b40000}
.menu-two-plan{color:#0054a5}
.sc-card{border:1px solid #d5dfd7;border-radius:8px;padding:10px 12px;margin:10px 0;background:#fff}
.sc-bad{background:#fdecec;border-color:#e3a5a5}
.sc-muted{opacity:.6}
.sc-thumb{max-width:260px;max-height:200px;margin-top:6px;border:1px solid #ccc}
.sc-table td{vertical-align:top;text-align:center;font-size:12px}
.sc-table select{width:100%;margin:4px 0 2px}
.sc-table small{display:block;color:#66746a}
.sc-boxes{display:flex;gap:4px;justify-content:center}
.sc-boxes figure{margin:0}
.sc-boxes img{width:44px;height:44px;border:1px solid #ccc;image-rendering:auto}
.sc-boxes figcaption{font-size:10px;color:#66746a}
.sc-unclear{background:#fff2a6}
.sc-changed{background:#e6f4ea}
.sc-blocked{background:#eee;color:#888}
.sc-notes{margin-top:8px;display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}
.sc-notes figure{margin:0}
.sc-notes img{width:150px;border:1px solid #ccc}
a.button{display:inline-block;text-decoration:none;border:1px solid #d6e0d7;border-radius:7px;background:white;padding:9px 13px;color:#25473c}
a.button.primary{background:#245b47;color:white;border-color:#245b47}
.statement-breaks{background:#fff2a6;padding:5px 8px;border-radius:4px;margin:6px 0;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.day-step{display:flex;align-items:flex-end;gap:6px}
.day-step .week-arrow{align-self:flex-end;height:40px;min-width:38px}
/* Persönliche Abrechnung: Hochformat, Liefertage untereinander */
.statement-days>table{max-width:120mm}
@page statement{size:A4 portrait;margin:10mm 12mm}
@media print{.statement{page:statement}.statement .list-table td,.statement .list-table th{padding:.6mm 1.5mm}}
.inline-check{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.inline-check input{width:18px;height:18px;margin:0}
#notice.notice-ok{background:#e6f4ea;border:1px solid #b7dfc3;color:#1e5b33}
#notice.notice-error{background:#fdecec;border:1px solid #e3a5a5;color:#8a1c1c}
.demo-only{display:none}
body.demo .demo-only{display:revert}
/* Übersicht */
.card-link{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.card-link:hover,.card-link:focus-visible{border-color:#8fb5a2;box-shadow:0 2px 10px rgba(22,63,54,.12);outline:none}
.dash-menu{margin:0 0 18px}
.dash-menu .grid2>div{line-height:1.5}
.dash-menu-1 b{color:#b40000}.dash-menu-2 b{color:#0054a5}
.menu-pill{font-size:12px;font-weight:700;border-radius:12px;padding:4px 10px;white-space:nowrap}
.menu-pill-1{color:#b40000;background:#fff0f0}.menu-pill-2{color:#0054a5;background:#eaf4ff}
.hero h2{font-style:italic}
.restart-hint{background:#fdecec;border:1px solid #e3a5a5;color:#8a1c1c;padding:12px 14px;border-radius:8px;margin-bottom:16px}
.list-table th.ctr,.list-table th.num{white-space:nowrap}
.imp-table td{vertical-align:top;font-size:12px}
.imp-unclear{background:#fff8d6}
.imp-exists,.imp-duplicate{color:#8a968e}
.imp-table td:nth-child(4),.imp-table td:nth-child(5){min-width:150px}
.imp-table td:nth-child(6),.imp-table td:nth-child(7){white-space:nowrap}
.danger-link{color:#a12020;border-color:#efc9c9}
.danger-link:hover{background:#fdecec}
.sample-hint{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff2a6;border:1px solid #d7bb53;border-radius:8px;padding:10px 14px;margin:0 0 16px}
.delete-zone{display:grid;gap:6px;margin-top:18px;padding-top:14px;border-top:1px solid #f0dada}
.delete-zone button{justify-self:start}
.delete-zone small{color:#8a6a6a;letter-spacing:0}
.delete-zone[hidden]{display:none}
/* Essenszettel Ausführung B (wie bisherige Vorlage) */
.es-idsmall{font-size:8pt;color:#333;display:flex;align-items:center}
.es-b-name{font-size:15pt;font-weight:bold;white-space:nowrap;overflow:hidden}
.es-b-title{font-size:15pt;font-weight:bold;white-space:nowrap}
.es-b-title small{font-size:8pt}
.es-th-sel{flex-direction:column;font-size:13pt;line-height:1.1}
.es-th-sel small{font-size:8pt;font-weight:normal;letter-spacing:0}
.sc-boxes img.sc-sel{width:120px;height:32px;object-fit:contain}
.sc-person select{margin-left:6px}
.dash-top{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:0 0 18px}.dash-top .dash-menu{margin:0}
.dash-birthdays .birthday{padding:8px 0;border-bottom:1px solid #e8ede5}.dash-birthdays .birthday span{display:block;font-size:13px;color:#758277}
.dash-birthdays .birthday-today{background:#fff4d6;border-radius:8px;padding:8px 10px;border-bottom:0}.dash-birthdays .birthday-today span{color:#8b6729}
a.brand{text-decoration:none}
@media(max-width:1000px){.dash-top{grid-template-columns:1fr}}
.sc-notes img.sc-row{width:600px;max-width:100%}
.sc-hint{display:block;color:#8b6729;font-weight:600}
.restart-hint button{margin-left:8px}
.es-hint-a{font-size:8.5pt;white-space:nowrap;color:#222}
#inactive-from[hidden],#inactive-note[hidden]{display:none}
.help-card{display:block;color:inherit;text-decoration:none}.help-card:hover{border-color:#9fb8a5}
label small.muted{letter-spacing:0}
/* Teilnehmerlisten: Geburtstag (A4 hoch), Gesamtliste (A4 quer) */
.full-table td,.full-table th{vertical-align:top;font-size:12px;padding:6px 7px}
.full-table td small{display:block;letter-spacing:0}
.full-table tr.full-inactive td{color:#777}
.birthday-sheet .list-table td,.birthday-sheet .list-table th{padding:7px 9px}
@media print{
 @page geburtstag{size:A4 portrait;margin:12mm}
 .birthday-sheet{page:geburtstag}
 .birthday-sheet .list-table th,.birthday-sheet .list-table td{font:9.5pt Arial,sans-serif;padding:1.2mm 1.6mm}
 .full-table th,.full-table td{font:7.5pt Arial,sans-serif;line-height:1.15;padding:.8mm 1mm;overflow-wrap:anywhere}
 .full-table td small{font-size:6.8pt}
 .full-table{table-layout:fixed}
 .full-table th:nth-child(1){width:4%}.full-table th:nth-child(2){width:11%}.full-table th:nth-child(3){width:7%}.full-table th:nth-child(4){width:14%}.full-table th:nth-child(5){width:13%}.full-table th:nth-child(6){width:8%}.full-table th:nth-child(7){width:4%}.full-table th:nth-child(8){width:14%}.full-table th:nth-child(9){width:13%}.full-table th:nth-child(10){width:12%}
 .list-sheet .weekly-heading h2{font:700 13pt Arial,sans-serif;margin:0}
 .list-sheet .weekly-heading p{font:9pt Arial,sans-serif;margin:0}
}
.scan-link{color:inherit;text-decoration:none;border-bottom:1px dotted #8aa497}.scan-link:hover{color:#245b47;border-bottom-color:#245b47}
