:root{--navy:#0f2240;--blue:#1a4480;--green:#2e9e6b;--red:#c0392b;--amber:#d4a017;
  --light:#f4f7fb;--border:#d0dae8;--text:#1c2b3a;--muted:#6b7f96;
  --shadow:0 2px 16px rgba(15,34,64,.10);--radius:12px;}
*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;background:var(--light);color:var(--text);min-height:100vh;}

/* TONNEN-ICONS als Inline-SVG (nachgebaut nach hochgeladenen PNGs) */
.ticon{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:contain;vertical-align:middle;flex-shrink:0;}

/* Kleintonnen 60L-240L — Design exakt aus Referenzbildern: gewölbter Deckel, abgerundete Kanten, Recycling-Symbol mit 3 Pfeilen */
/* Recycling-Pfeile-Symbol (3 Pfeile im Kreis) als wiederverwendbares Zentrum */
.ticon.bio{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'><path d='M10 8 Q10 4 14 4 L86 4 Q90 4 90 8 L92 14 Q92 18 88 18 L12 18 Q8 18 8 14 Z' fill='%238B5A2B'/><path d='M14 18 L86 18 L82 130 Q82 134 78 134 L22 134 Q18 134 18 130 Z' fill='%23A0673A'/><path d='M16 22 L84 22 L80 128 Q80 130 78 130 L22 130 Q20 130 20 128 Z' fill='%238B5A2B' opacity='.4'/><g transform='translate(50 70)' fill='white'><path d='M-2,-22 L-12,-6 L-6,-6 L-6,4 L2,4 L2,-6 L8,-6 Z M-22,-2 L-6,-12 L-6,-6 L4,-6 L4,2 L-6,2 L-6,8 Z M22,-2 L6,-12 L6,-6 L-4,-6 L-4,2 L6,2 L6,8 Z' transform='rotate(0)'/></g><g transform='translate(50 70)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g></svg>");}

.ticon.rest{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'><path d='M10 8 Q10 4 14 4 L86 4 Q90 4 90 8 L92 14 Q92 18 88 18 L12 18 Q8 18 8 14 Z' fill='%23404856'/><path d='M14 18 L86 18 L82 130 Q82 134 78 134 L22 134 Q18 134 18 130 Z' fill='%234d5562'/><path d='M16 22 L84 22 L80 128 Q80 130 78 130 L22 130 Q20 130 20 128 Z' fill='%23363d48' opacity='.5'/><g transform='translate(50 70)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g></svg>");}

.ticon.werk{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'><path d='M10 8 Q10 4 14 4 L86 4 Q90 4 90 8 L92 14 Q92 18 88 18 L12 18 Q8 18 8 14 Z' fill='%23E0B020'/><path d='M14 18 L86 18 L82 130 Q82 134 78 134 L22 134 Q18 134 18 130 Z' fill='%23F2C935'/><path d='M16 22 L84 22 L80 128 Q80 130 78 130 L22 130 Q20 130 20 128 Z' fill='%23D4A017' opacity='.35'/><g transform='translate(50 70)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g></svg>");}

.ticon.paper{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'><path d='M10 8 Q10 4 14 4 L86 4 Q90 4 90 8 L92 14 Q92 18 88 18 L12 18 Q8 18 8 14 Z' fill='%231F5C8E'/><path d='M14 18 L86 18 L82 130 Q82 134 78 134 L22 134 Q18 134 18 130 Z' fill='%232E80B8'/><path d='M16 22 L84 22 L80 128 Q80 130 78 130 L22 130 Q20 130 20 128 Z' fill='%23164A73' opacity='.45'/><g transform='translate(50 70)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g></svg>");}

/* Container 700L-1100L — Design exakt aus Referenzbildern: anthrazit-grauer Korpus, gerippter Deckel mit Sicken, große Rollen */
.ticon.rest.container{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'><path d='M8 18 L122 18 Q126 18 126 22 L122 30 L8 30 L4 22 Q4 18 8 18 Z' fill='%23404856'/><g stroke='%23262d38' stroke-width='1' fill='none'><line x1='15' y1='20' x2='13' y2='28'/><line x1='25' y1='20' x2='23' y2='28'/><line x1='35' y1='20' x2='33' y2='28'/><line x1='45' y1='20' x2='43' y2='28'/><line x1='55' y1='20' x2='53' y2='28'/><line x1='65' y1='20' x2='63' y2='28'/><line x1='75' y1='20' x2='73' y2='28'/><line x1='85' y1='20' x2='83' y2='28'/><line x1='95' y1='20' x2='93' y2='28'/><line x1='105' y1='20' x2='103' y2='28'/><line x1='115' y1='20' x2='113' y2='28'/></g><path d='M12 30 L118 30 L114 102 Q114 106 110 106 L20 106 Q16 106 16 102 Z' fill='%234d5562'/><g transform='translate(65 65)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g><circle cx='28' cy='110' r='8' fill='%23222'/><circle cx='28' cy='110' r='4' fill='%23444'/><circle cx='102' cy='110' r='8' fill='%23222'/><circle cx='102' cy='110' r='4' fill='%23444'/></svg>");}

.ticon.werk.container{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'><path d='M8 18 L122 18 Q126 18 126 22 L122 30 L8 30 L4 22 Q4 18 8 18 Z' fill='%23E0B020'/><g stroke='%23B8890F' stroke-width='1' fill='none'><line x1='15' y1='20' x2='13' y2='28'/><line x1='25' y1='20' x2='23' y2='28'/><line x1='35' y1='20' x2='33' y2='28'/><line x1='45' y1='20' x2='43' y2='28'/><line x1='55' y1='20' x2='53' y2='28'/><line x1='65' y1='20' x2='63' y2='28'/><line x1='75' y1='20' x2='73' y2='28'/><line x1='85' y1='20' x2='83' y2='28'/><line x1='95' y1='20' x2='93' y2='28'/><line x1='105' y1='20' x2='103' y2='28'/><line x1='115' y1='20' x2='113' y2='28'/></g><path d='M12 30 L118 30 L114 102 Q114 106 110 106 L20 106 Q16 106 16 102 Z' fill='%234d5562'/><g transform='translate(65 65)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g><circle cx='28' cy='110' r='8' fill='%23222'/><circle cx='28' cy='110' r='4' fill='%23444'/><circle cx='102' cy='110' r='8' fill='%23222'/><circle cx='102' cy='110' r='4' fill='%23444'/></svg>");}

.ticon.paper.container{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 120'><path d='M8 18 L122 18 Q126 18 126 22 L122 30 L8 30 L4 22 Q4 18 8 18 Z' fill='%232E80B8'/><g stroke='%23164A73' stroke-width='1' fill='none'><line x1='15' y1='20' x2='13' y2='28'/><line x1='25' y1='20' x2='23' y2='28'/><line x1='35' y1='20' x2='33' y2='28'/><line x1='45' y1='20' x2='43' y2='28'/><line x1='55' y1='20' x2='53' y2='28'/><line x1='65' y1='20' x2='63' y2='28'/><line x1='75' y1='20' x2='73' y2='28'/><line x1='85' y1='20' x2='83' y2='28'/><line x1='95' y1='20' x2='93' y2='28'/><line x1='105' y1='20' x2='103' y2='28'/><line x1='115' y1='20' x2='113' y2='28'/></g><path d='M12 30 L118 30 L114 102 Q114 106 110 106 L20 106 Q16 106 16 102 Z' fill='%234d5562'/><g transform='translate(65 65)'><g fill='white'><path d='M -16,-12 L -8,-22 L 0,-12 L -4,-12 L -4,-4 L -12,-4 L -12,-12 Z'/><path d='M 14,-2 L 22,8 L 12,16 L 12,12 L 4,12 L 4,4 L 12,4 L 12,-2 Z'/><path d='M -2,16 L -14,16 L -10,22 L -18,22 L -22,12 L -14,4 L -10,10 L -2,10 Z'/></g></g><circle cx='28' cy='110' r='8' fill='%23222'/><circle cx='28' cy='110' r='4' fill='%23444'/><circle cx='102' cy='110' r='8' fill='%23222'/><circle cx='102' cy='110' r='4' fill='%23444'/></svg>");}

/* Container ohne farbigen Deckel (anthrazit komplett, wie Bild 5) – Standard-Restmüll-Container */
/* (Bei Bedarf separates Stylings für ".ticon.rest.container.dark" definierbar) */

.ticon-s{width:14px;height:20px;}
.ticon-m{width:28px;height:39px;}
.ticon-l{width:48px;height:67px;}
.ticon-xl{width:72px;height:100px;}
/* Container-Icons haben breitere Proportionen (Verhältnis 130:120) */
.ticon.container.ticon-s{width:20px;height:18px;}
.ticon.container.ticon-m{width:40px;height:37px;}
.ticon.container.ticon-l{width:68px;height:63px;}
.ticon.container.ticon-xl{width:100px;height:92px;}

/* HEADER */
.header{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;padding:0 24px;
  display:flex;align-items:center;gap:14px;height:66px;
  box-shadow:0 4px 24px rgba(15,34,64,.25);position:sticky;top:0;z-index:100;}
.hlogo{display:flex;align-items:center;background:#fff;border-radius:8px;padding:5px 12px 5px 8px;height:52px;gap:8px;box-shadow:0 2px 6px rgba(0,0,0,.12);}
.hlogo-svg{width:42px;height:42px;flex-shrink:0;}
.hlogo-text{display:flex;align-items:center;line-height:1;}
.hlogo-firma{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#000;font-weight:400;white-space:nowrap;}
.header-sub{font-size:12px;color:rgba(255,255,255,.65);}
.hsp{flex:1;}
.hbadge{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);
  border-radius:20px;padding:5px 13px;font-size:12px;font-weight:500;}

/* LAYOUT */
html,body{height:100%;overflow:hidden;}
.layout{display:grid;grid-template-columns:340px 1fr;height:calc(100vh - 66px);overflow:hidden;}

/* SIDEBAR */
.sidebar{background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden;height:100%;}
.sidebar-top{padding:15px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#f8fafd,#fff);}
.sidebar-title{font-size:17px;color:var(--navy);margin-bottom:10px;font-weight:700;}
.sw{position:relative;}
.sw input{width:100%;padding:9px 13px 9px 37px;border:1.5px solid var(--border);border-radius:8px;font-size:13px;color:var(--text);}
.sw input:focus{outline:none;border-color:var(--blue);}
.sw-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:14px;}
.filter-row{display:flex;gap:5px;margin-top:8px;flex-wrap:wrap;}
.fbtn{flex:1;min-width:36px;padding:5px 4px;border:1.5px solid var(--border);border-radius:6px;
  background:#fff;font-size:11px;cursor:pointer;transition:all .2s;color:var(--muted);font-weight:500;}
.fbtn.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.ccount{font-size:11px;color:var(--muted);margin-top:6px;}
.clist{flex:1;overflow-y:auto;padding:6px 10px;}
.clist::-webkit-scrollbar{width:4px;}
.clist::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px;}
.citem{padding:9px 11px;border-radius:9px;cursor:pointer;margin-bottom:3px;
  border:1.5px solid transparent;transition:all .15s;display:flex;align-items:center;gap:9px;position:relative;}
.citem:hover{background:var(--light);border-color:var(--border);}
.citem.active{background:linear-gradient(135deg,#e8f0fb,#d8eaf8);border-color:var(--blue);}
.citem.inactive{opacity:.55;background:#fafafa;}
.citem.inactive .cname{text-decoration:line-through;color:var(--muted);}
.citem.inactive::after{content:'INAKTIV';position:absolute;top:5px;right:42px;background:#b71c1c;color:#fff;font-size:8px;font-weight:800;padding:1px 5px;border-radius:3px;letter-spacing:.5px;}
.cavatar{width:35px;height:35px;border-radius:8px;display:flex;align-items:center;
  justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;color:#fff;}
.cinfo{flex:1;min-width:0;}
.cname{font-size:13px;font-weight:600;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.caddr{font-size:11px;color:var(--muted);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ctag{font-size:10px;flex-shrink:0;text-align:right;color:var(--muted);}
.citem-del{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:32px;height:32px;border-radius:7px;border:1.5px solid #e8c5c5;background:#fff;color:#c0392b;font-size:15px;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center;opacity:.6;z-index:2;}
.citem:hover .citem-del{opacity:1;border-color:var(--red);box-shadow:0 2px 6px rgba(192,57,43,.2);}
.citem-del:hover{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important;transform:translateY(-50%) scale(1.12);}
.sfooter{padding:11px 13px;border-top:1px solid var(--border);}
.btn-add{width:100%;padding:9px;background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:7px;}
.btn-add:hover{opacity:.87;}

/* MAIN */
.main{overflow-y:auto;display:flex;flex-direction:column;height:100%;}
.welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;text-align:center;}
.welcome h2{font-size:28px;color:var(--navy);margin-bottom:10px;}
.welcome p{color:var(--muted);font-size:14px;max-width:380px;line-height:1.6;}
.welcome-tonnen{display:flex;gap:14px;margin-bottom:22px;}
.stats-bar{display:flex;background:#fff;border:1.5px solid var(--border);border-radius:10px;
  overflow:hidden;margin-top:22px;max-width:480px;width:100%;box-shadow:var(--shadow);}
.si{flex:1;padding:13px;text-align:center;border-right:1px solid var(--border);}
.si:last-child{border-right:none;}
.sv{font-size:21px;font-weight:700;color:var(--navy);}
.sl{font-size:10px;color:var(--muted);margin-top:2px;}

/* DETAIL */
.detail{padding:22px 26px;flex:1;display:none;}
.detail.visible{display:block;}
.dheader{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px;padding-bottom:15px;border-bottom:2px solid var(--border);}
.dnamerow{display:flex;align-items:center;gap:13px;}
.davatar{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:700;color:#fff;}
.dname{font-size:23px;color:var(--navy);font-weight:700;}
.daddr{font-size:12px;color:var(--muted);margin-top:3px;line-height:1.8;}
.dactions{display:flex;gap:7px;flex-wrap:wrap;}
.btn{padding:8px 14px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;border:none;transition:all .2s;display:flex;align-items:center;gap:5px;}
.btn-primary{background:var(--navy);color:#fff;}.btn-primary:hover{background:var(--blue);}
.btn-success{background:var(--green);color:#fff;}.btn-success:hover{opacity:.88;}
.btn-outline{background:#fff;color:var(--navy);border:1.5px solid var(--border);}.btn-outline:hover{border-color:var(--navy);}
.btn-danger{background:var(--red);color:#fff;}.btn-danger:hover{opacity:.88;}

/* WEG CARD */
.weg-card{background:#f0fbf5;border:1.5px solid #a8dfc0;border-radius:10px;padding:12px 14px;margin-bottom:14px;display:flex;align-items:center;gap:12px;}
.weg-icon{font-size:26px;}
.weg-body{flex:1;}
.weg-label{font-size:10px;font-weight:700;color:var(--green);text-transform:uppercase;letter-spacing:.5px;}
.weg-name{font-size:11px;color:var(--muted);margin-top:1px;}
.weg-addr{font-size:13px;color:var(--navy);font-weight:600;margin-top:2px;}

/* PAKET CARDS */
.paket-card{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:14px;margin-bottom:12px;box-shadow:var(--shadow);display:flex;gap:16px;align-items:flex-start;}
.pc-img{width:82px;height:82px;border-radius:8px;background:#f8fafd;border:1px solid var(--border);flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.pc-info{flex:1;}
.pc-title{font-weight:700;font-size:14px;color:var(--navy);margin-bottom:2px;}
.pc-paket{font-size:12px;color:var(--blue);font-weight:600;margin-bottom:4px;}
.pc-desc{font-size:11px;color:var(--muted);line-height:1.5;}
.pc-price{font-size:20px;font-weight:700;color:var(--green);flex-shrink:0;text-align:right;min-width:80px;}
.pc-price span{display:block;font-size:10px;color:var(--muted);font-weight:400;}
.pc-price em{display:block;font-size:12px;color:var(--navy);font-style:normal;margin-top:5px;}

/* INFO GRID */
.igrid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:18px;}
.icard{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:13px 15px;box-shadow:var(--shadow);}
.ilabel{font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;}
.ival{font-size:16px;font-weight:700;color:var(--navy);margin-top:3px;}
.isub{font-size:10px;color:var(--muted);margin-top:2px;}

/* AWRM */
.abanner{background:linear-gradient(135deg,#e8f0fb,#d8eaf8);border:1.5px solid #b8cfe8;border-radius:10px;padding:11px 15px;margin-bottom:15px;display:flex;align-items:center;gap:11px;}
.abicon{font-size:24px;}.abtxt{flex:1;}
.abtitle{font-weight:700;color:var(--navy);font-size:13px;}
.absub{font-size:11px;color:var(--muted);margin-top:1px;}
.ablink{padding:6px 13px;background:var(--blue);color:#fff;text-decoration:none;border-radius:7px;font-size:12px;font-weight:600;}

/* CALENDAR */
.legend{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:9px 13px;background:#fff;border:1.5px solid var(--border);border-radius:8px;}
.li{display:flex;align-items:center;gap:5px;font-size:11px;}
.ld{width:12px;height:12px;border-radius:3px;flex-shrink:0;}
.ctitle{font-size:18px;color:var(--navy);margin-bottom:13px;display:flex;align-items:center;gap:7px;font-weight:700;}
.cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;}
.mcard{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.mheader{padding:8px 11px;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:space-between;}
.mcnt{font-size:10px;font-weight:600;padding:1px 6px;border-radius:99px;background:rgba(255,255,255,.25);}
.mdays{display:grid;grid-template-columns:repeat(7,1fr);padding:5px;gap:1px;}
.dn{text-align:center;font-size:8px;font-weight:700;color:var(--muted);padding:2px 0;text-transform:uppercase;}
.dc{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:10px;border-radius:4px;position:relative;}
.dc.empty{color:transparent;}
.dc.today{border:1.5px solid var(--blue);font-weight:700;}
.dc.cleaning{color:#fff;font-weight:700;cursor:grab;user-select:none;-webkit-user-select:none;position:relative;transition:all .15s;overflow:visible;}
.dc.cleaning:hover{transform:scale(1.25);z-index:3;box-shadow:0 4px 12px rgba(0,0,0,.3);}
.dc.cleaning:active{cursor:grabbing;transform:scale(1.1);}
.dc.cleaning.dragging{opacity:.4;transform:scale(.85);cursor:grabbing;}
/* Tonnen-Mini-Icons in Kalenderzellen */
.dc.cleaning .day-num{position:absolute;top:1px;left:2px;font-size:8px;font-weight:800;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.4);}
.dc.cleaning .mini-icons{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px;padding:8px 1px 1px;}
.dc.cleaning .mini-icon{width:9px;height:11px;background-repeat:no-repeat;background-position:center;background-size:contain;flex-shrink:0;filter:drop-shadow(0 0 1px rgba(0,0,0,.5));}
.dc.cleaning .mini-icon.container{width:13px;height:11px;}
.dc.cleaning:hover .mini-icon{width:11px;height:13px;}
.dc.cleaning:hover .mini-icon.container{width:16px;height:13px;}
.dc.drop-target{outline:3px dashed #2e9e6b;outline-offset:-2px;background:#d4f4e0!important;color:#1e7e47!important;animation:pulse 1s infinite;}
.dc.drop-invalid{outline:3px dashed #c0392b;outline-offset:-2px;background:#fdecea!important;color:#b71c1c!important;cursor:not-allowed;}
@keyframes pulse{0%,100%{outline-color:#2e9e6b}50%{outline-color:#1e7e47}}
.dc.c-bio{background:#8B5A2B;}
.dc.c-rest{background:#2c3e50;}
.dc.c-paper{background:#2980b9;}
.dc.c-werk{background:#F4C430;color:#000;}
.dc.c-multi{background:#2e9e6b;}
.dc.sunday{background:#fdecea;color:#b71c1c;font-weight:700;}
.dc.c-hol{background:#fdecea;color:#b71c1c;font-weight:700;font-size:10px;}
.dc.cleaning.sunday-cleaning,.dc.cleaning.holiday-cleaning{background:#e67e22;color:#fff;}
.dc.moved::after{content:'✎';position:absolute;top:-2px;right:-2px;font-size:9px;background:#fff;color:#876a12;border-radius:50%;width:14px;height:14px;display:flex;align-items:center;justify-content:center;font-weight:900;border:1.5px solid #d4a017;line-height:1;}

/* DRAG-INFO BANNER */
.drag-info{background:linear-gradient(135deg,#fef8e7,#fffbf0);border:1.5px solid #d4a017;border-radius:10px;padding:10px 14px;margin-bottom:14px;display:flex;align-items:center;gap:11px;font-size:12px;color:#876a12;}
.drag-info-icon{font-size:22px;}
.drag-info-text{flex:1;line-height:1.5;}
.drag-info b{color:#5a4308;}

/* DRAG-PREVIEW (folgt der Maus) */
.drag-preview{position:fixed;pointer-events:none;z-index:9999;background:rgba(0,0,0,.85);color:#fff;padding:6px 10px;border-radius:6px;font-size:11px;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,.3);transform:translate(15px,15px);white-space:nowrap;display:none;}

/* RESET-BUTTON */
.btn-reset-moves{padding:6px 12px;background:#fff;border:1.5px solid #d4a017;color:#876a12;border-radius:7px;font-size:11px;font-weight:600;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:5px;transition:all .15s;}
.btn-reset-moves:hover{background:#fef8e7;border-color:#876a12;}

/* TABS */
.tab-bar{display:flex;gap:3px;border-bottom:2px solid var(--border);margin-bottom:14px;overflow-x:auto;}
.tab-btn{padding:9px 16px;border:none;background:transparent;font-family:inherit;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;white-space:nowrap;display:flex;align-items:center;gap:6px;transition:all .15s;}
.tab-btn.active{color:var(--navy);border-bottom-color:var(--navy);}
.tab-btn .tab-cnt{background:var(--border);color:var(--navy);border-radius:10px;padding:1px 7px;font-size:10px;font-weight:700;}
.tab-btn.active .tab-cnt{background:var(--navy);color:#fff;}

/* HISTORY */
.hist-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px;flex-wrap:wrap;}
.hist-filters{display:flex;gap:4px;flex-wrap:wrap;}
.hfbtn{padding:5px 11px;font-size:11px;font-weight:600;border:1.5px solid var(--border);background:#fff;border-radius:20px;cursor:pointer;color:var(--muted);display:flex;align-items:center;gap:4px;}
.hfbtn.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.btn-event{padding:8px 15px;background:linear-gradient(135deg,var(--green),#25835a);color:#fff;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;}
.timeline{position:relative;padding-left:26px;margin-left:8px;}
.timeline::before{content:'';position:absolute;left:8px;top:10px;bottom:0;width:2px;background:var(--border);}
.evt{position:relative;margin-bottom:14px;}
.evt::before{content:'';position:absolute;left:-25px;top:10px;width:16px;height:16px;border-radius:50%;border:3px solid #fff;background:var(--navy);box-shadow:0 0 0 2px var(--border);}
.evt-card{background:#fff;border:1.5px solid var(--border);border-left:4px solid var(--navy);border-radius:10px;padding:12px 14px;box-shadow:var(--shadow);}
.evt-head{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap;}
.evt-icon{font-size:17px;}
.evt-title{font-size:13px;font-weight:700;color:var(--navy);flex:1;min-width:0;}
.evt-date{font-size:11px;color:var(--muted);background:#f4f7fb;padding:2px 8px;border-radius:5px;white-space:nowrap;}
.evt-body{font-size:12px;color:var(--text);line-height:1.6;}
.evt-actions{display:flex;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed var(--border);}
.evt-btn{padding:4px 9px;font-size:10px;border:1px solid var(--border);background:#fff;border-radius:5px;cursor:pointer;color:var(--muted);font-weight:600;}
.evt-btn:hover{color:var(--navy);border-color:var(--navy);}
.evt-btn.danger:hover{color:var(--red);border-color:var(--red);}
.evt-status{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;}
.evt-status.open{background:#fdecea;color:#b71c1c;}
.evt-status.done{background:#d4f4e0;color:#1e7e47;}
.evt-status.progress{background:#fef3d0;color:#876a12;}
.evt-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin-top:6px;font-size:11px;}
.evt-kv b{color:var(--muted);font-weight:600;}
.evt-empty{text-align:center;padding:40px 20px;color:var(--muted);}
.evt-empty-icon{font-size:42px;margin-bottom:10px;opacity:.4;}

/* EVENT TYPE PICKER */
.etype-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:14px;}
.etype{padding:11px 13px;border:1.5px solid var(--border);border-radius:10px;cursor:pointer;display:flex;align-items:center;gap:10px;background:#fff;transition:all .15s;}
.etype:hover{border-color:var(--blue);background:#f8fafd;}
.etype.sel{border-color:var(--blue);background:#e8f0fb;box-shadow:0 0 0 3px rgba(26,68,128,.12);}
.etype-ico{font-size:22px;flex-shrink:0;}
.etype-info{flex:1;min-width:0;}
.etype-name{font-size:12px;font-weight:700;color:var(--navy);}
.etype-desc{font-size:10px;color:var(--muted);margin-top:1px;}

/* MODAL */
.overlay{position:fixed;inset:0;background:rgba(15,34,64,.52);backdrop-filter:blur(4px);z-index:200;display:none;align-items:center;justify-content:center;}
.overlay.open{display:flex;}
.modal{background:#fff;border-radius:16px;padding:26px;width:660px;max-width:96vw;max-height:92vh;overflow-y:auto;box-shadow:0 24px 80px rgba(15,34,64,.2);animation:su .22s ease;}
@keyframes su{from{transform:translateY(18px);opacity:0;}to{transform:translateY(0);opacity:1;}}
.mtitle{font-size:20px;color:var(--navy);margin-bottom:18px;font-weight:700;}
.sec-div{display:flex;align-items:center;gap:8px;margin:10px 0 6px;}
.sec-bar{width:3px;height:18px;border-radius:2px;}
.sec-txt{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.fg{display:flex;flex-direction:column;gap:4px;}
.fg.full{grid-column:1/-1;}
.fl{font-size:11px;font-weight:600;color:var(--muted);}
.fi,.fs{padding:8px 11px;border:1.5px solid var(--border);border-radius:8px;font-family:inherit;font-size:13px;color:var(--text);}
.fi:focus,.fs:focus{outline:none;border-color:var(--blue);}
.same-row{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;color:var(--muted);cursor:pointer;}
.same-row input{width:15px;height:15px;cursor:pointer;}
.tsec{margin-bottom:8px;}
.tsectitle{font-size:11px;font-weight:700;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px;}
.tlist{display:flex;flex-direction:column;gap:5px;}
.trow{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1.5px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s;background:#fff;}
.trow:hover{border-color:var(--blue);background:#f8fafd;}
.trow.sel{border-color:var(--blue);background:#e8f0fb;}
.timg{width:46px;height:46px;border-radius:6px;background:#f4f7fb;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.tinfo{flex:1;}
.tname{font-size:12px;font-weight:700;color:var(--navy);}
.tpsel{margin-top:5px;display:none;}
.tprice{font-size:13px;font-weight:700;color:var(--green);flex-shrink:0;}
.tchk{width:19px;height:19px;border-radius:4px;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s;font-size:11px;}
.trow.sel .tchk{background:var(--blue);border-color:var(--blue);color:#fff;}
.pay-row{display:flex;gap:10px;}
.pay-opt{flex:1;display:flex;align-items:center;gap:9px;padding:10px 14px;border:1.5px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s;background:#fff;}
.pay-opt.active{border-color:var(--blue);background:#e8f0fb;}
.pay-icon{font-size:20px;flex-shrink:0;}
.pay-label{font-size:13px;font-weight:700;color:var(--navy);}
.pay-sub{font-size:10px;color:var(--muted);}
.pay-chk{margin-left:auto;width:20px;height:20px;border-radius:5px;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:12px;transition:all .15s;flex-shrink:0;}
.pay-opt.active .pay-chk{background:var(--blue);border-color:var(--blue);color:#fff;}
.frow{display:flex;gap:9px;margin-top:16px;}
.toast{position:fixed;bottom:20px;right:20px;background:var(--navy);color:#fff;padding:11px 18px;border-radius:10px;font-size:13px;font-weight:500;box-shadow:0 8px 32px rgba(15,34,64,.25);z-index:300;transform:translateY(80px);transition:transform .3s ease;}
.toast.show{transform:translateY(0);}
