
  *{box-sizing:border-box;}
  body{margin:0;background:#0B0B0C;font-family:'Public Sans',sans-serif;color:#F2EFE8;}
  a{color:inherit;text-decoration:none;}
  .logo-mark{width:36px;height:36px;border-radius:9px;color:#0B0B0C;display:flex;align-items:center;justify-content:center;font-family:'Manrope',sans-serif;font-weight:800;font-size:17px;}
  .logo-name{font-family:'Manrope',sans-serif;font-weight:800;font-size:18px;color:#fff;line-height:1.2;letter-spacing:.01em;}
  .logo-sub{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#D4A437;}
  .nav a{display:flex;align-items:center;padding:0 16px;font-size:14px;font-weight:600;color:#A8A399;border-bottom:2px solid transparent;}
  .nav a.active{color:#fff;}
  .nav a:hover{color:#fff;}
  .avatar{width:38px;height:38px;border-radius:50%;background:#2A2416;color:#E8C56A;border:1px solid #4A3E1E;display:flex;align-items:center;justify-content:center;font-family:'Manrope',sans-serif;font-weight:700;font-size:13px;flex-shrink:0;}
  .icon-btn{width:44px;height:44px;border-radius:10px;border:1px solid #2E2E30;background:#111112;display:flex;align-items:center;justify-content:center;color:#D8D4C9;cursor:pointer;}
  .icon-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .search{position:relative;display:flex;align-items:center;gap:9px;background:#111112;border:1px solid #2E2E30;border-radius:10px;padding:0 14px;height:44px;width:420px;color:#8A867C;}
  .search svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;flex-shrink:0;}
  .search input{border:none;background:transparent;outline:none;font-family:'Public Sans',sans-serif;font-size:14px;color:#F2EFE8;width:100%;}
  .search input::placeholder{color:#8A867C;}
  .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:10px;font-family:'Public Sans',sans-serif;font-weight:700;font-size:14px;border:1px solid transparent;cursor:pointer;white-space:nowrap;}
  .btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;}
  .btn-primary{background:#D4A437;color:#0B0B0C;}
  .btn-secondary{background:transparent;color:#F2EFE8;border:1px solid #3A3A3D;}
  .card{background:#151516;border:1px solid #262628;border-radius:14px;}
  .pad{padding:24px;display:flex;flex-direction:column;gap:18px;}
  .h2{margin:0;font-family:'Manrope',sans-serif;font-weight:700;font-size:17px;color:#fff;}
  .h1{margin:0;font-family:'Manrope',sans-serif;font-weight:800;font-size:30px;letter-spacing:-0.01em;color:#fff;}
  .sub{margin:6px 0 0 0;font-size:14.5px;color:#9A968C;}
  .link{font-size:13.5px;font-weight:600;color:#D4A437;}
  .badge{white-space:nowrap;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:700;}
  .badge-green{background:#15281C;color:#6FD09A;}
  .badge-amber{background:#2E2410;color:#E8B54A;}
  .badge-red{background:#34161A;color:#F08A82;}
  .badge-gray{background:#232325;color:#B5B1A6;}
  .badge-gold{background:#2E2410;color:#E8C56A;}
  /* "Zu versenden" muss sofort ins Auge fallen (Wunsch des Inhabers 06.10.2026):
     kraeftiges Orange statt des blassen Gelbs der anderen Hinweise. */
  /* Ladezeit (07.10.2026): Warte-Saetze werden erst nach 1,5 s sichtbar. Kommt die Antwort vorher, sieht man sie nie (Wunsch des Inhabers). */
  .lr-warte{animation:lrWarte 0s linear 1.5s both;}
  @keyframes lrWarte{from{visibility:hidden;}to{visibility:visible;}}
  .badge-zuversenden{background:#FF7A1A;color:#140A02;font-weight:800;box-shadow:0 0 0 3px rgba(255,122,26,.20);}
  .pill[data-f="zu"]{border-color:#FF7A1A;color:#FFB27A;}
  .pill[data-f="zu"].active{background:#FF7A1A;color:#140A02;border-color:#FF7A1A;}
  .pill[data-f="zu"].active .pill-count{color:#140A02;}
  table{border-collapse:collapse;width:100%;}
  th{text-align:left;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding:0 20px 12px 20px;border-bottom:1px solid #262628;}
  td{padding:15px 20px;font-size:14px;color:#E6E2D8;border-bottom:1px solid #202022;vertical-align:middle;}
  tr:last-child td{border-bottom:none;}
  .kpi-label{font-size:13px;font-weight:600;color:#9A968C;}
  .kpi-value{font-family:'Manrope',sans-serif;font-weight:800;font-size:30px;color:#fff;line-height:1.1;}
  .kpi-note{font-size:12.5px;color:#9A968C;}
  .kpitile{position:relative;transition:border-color .15s,background .15s;}
  .kpitile:hover{border-color:#5A4A22;background:#171610;}
  .kpitile:focus-within{outline:2px solid #E8C56A;outline-offset:2px;}
  .kpitile .kpilink{color:inherit;text-decoration:none;outline:none;}
  .kpitile .kpilink::after{content:"";position:absolute;inset:0;border-radius:inherit;}
  .kpi-go{color:#E8C56A;margin-left:6px;font-weight:700;}
  .kpitile.sel{border-color:#D4A437;background:#1B170B;}
  .ovchartcard{scroll-margin-top:90px;}
  .kpitile.sel .kpilink{color:#E8C56A;}
  button.legrow,button.cbrow{background:none;border:0;font-family:inherit;text-align:left;width:100%;cursor:pointer;}
  .legrow.sel,.cbrow.sel{background:#1F1B0E;}
  .ovdetail{display:flex;flex-direction:column;gap:2px;border-top:1px solid #262628;padding-top:12px;}
  .ovdhead{display:flex;justify-content:space-between;align-items:baseline;gap:6px 14px;flex-wrap:wrap;padding-bottom:6px;}
  .ovdrow{display:flex;gap:4px 14px;flex-wrap:wrap;align-items:baseline;padding:8px 0;border-top:1px solid #202022;font-size:14px;}
  .ovdrow > b{flex:0 0 96px;} .ovdrow .ovdp{flex:1 1 180px;min-width:0;} .ovdrow .ovda{flex:0 0 auto;font-weight:700;}
  .nmwrap{display:flex;gap:24px;align-items:flex-start;}
  .nmlist{width:420px;flex-shrink:0;padding:6px 0;display:flex;flex-direction:column;}
  .nmscroll{max-height:calc(100vh - 380px);min-height:300px;overflow:auto;}
  .nmconv{flex-grow:1;min-width:0;gap:14px;}
  .nmback{display:none;}
  .nmtools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
  .nmq{padding:8px 14px 4px;}
  .nmrow{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:4px 14px 6px;}
  .mitem.done{opacity:.6;}
  @media (max-width:1100px){ .nmwrap{flex-direction:column;} .nmlist{width:100%;} .nmscroll{max-height:none;min-height:0;} .nmrow{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;} .nmrow::-webkit-scrollbar{display:none;} .nmrow .chip2,.nmrow .hint{flex:0 0 auto;white-space:nowrap;} .nmwrap.nm-open .nmlist{display:none;} .nmwrap:not(.nm-open) .nmconv{display:none;} .nmback{display:inline-flex;} }
  .kpibtn{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;}
  .kpitile{cursor:pointer;}
  .kpiflash{animation:kpiflash 1.6s ease-out;}
  @keyframes kpiflash{0%{box-shadow:0 0 0 2px #E8C56A;}100%{box-shadow:0 0 0 2px rgba(232,197,106,0);}}
  .spark{display:block;width:100%;height:30px;margin-top:2px;overflow:visible;}
  .ovcharts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:20px;}
  .ovdonut{display:flex;gap:22px;align-items:center;flex-wrap:wrap;}
  .donut{width:170px;height:170px;flex:0 0 auto;}
  .donut .dnum{font:800 22px 'Manrope',sans-serif;fill:#fff;}
  .donut .dlab{font:600 7.5px 'Public Sans',sans-serif;fill:#9A968C;}
  .ovleg,.ovcats{flex:1 1 220px;display:flex;flex-direction:column;min-width:0;}
  .legrow,.cbrow{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:8px;color:#E6E2D8;text-decoration:none;font-size:14px;}
  .legrow:hover,.cbrow:hover{background:#1B1A17;}
  .legrow:focus-visible,.cbrow:focus-visible{outline:2px solid #E8C56A;outline-offset:-2px;}
  .ldot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;}
  .lname{flex:1 1 auto;min-width:0;}
  .lpct{flex:0 0 52px;text-align:right;}
  .cbname{flex:0 0 150px;min-width:0;}
  .cbtrack{flex:1 1 auto;min-width:40px;height:10px;border-radius:5px;background:#26241C;overflow:hidden;display:block;}
  .cbfill{display:block;height:100%;border-radius:5px;background:#D4A437;}
  .cbval{flex:0 0 72px;text-align:right;}
  .cbpct{flex:0 0 40px;text-align:right;}
  @media (max-width:600px){ .barbtn > span{font-size:11px !important;} .barbtn[aria-pressed="false"] > span:first-child{visibility:hidden;} .barbtn:nth-child(even):not([aria-pressed="true"]) > span:last-child{visibility:hidden;} .barbtn[aria-pressed="true"] + .barbtn > span:last-child,.barbtn:has(+ .barbtn[aria-pressed="true"]) > span:last-child{visibility:hidden;} main .dprow > .pname{flex:1 1 100% !important;} main .dprow > *:not(.pname){flex:0 0 auto !important;} }
  @media (max-width:1100px){ .ovcharts{grid-template-columns:1fr;} .cbname{flex-basis:120px;} .donut{width:150px;height:150px;} }
  .pill{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border-radius:19px;font-size:13.5px;font-weight:600;color:#C9C5BA;background:#151516;border:1px solid #2E2E30;}
  .pill.active{background:#D4A437;color:#0B0B0C;border-color:#D4A437;}
  .pill-count{font-size:12px;font-weight:600;opacity:.75;}
  .row-check,.opt input{width:18px;height:18px;accent-color:#D4A437;margin:0;}
  .thumb{width:46px;height:46px;border-radius:9px;flex-shrink:0;border:1px solid #2E2E30;}
  .edit-btn{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:8px;border:1px solid #3A3A3D;background:transparent;font-family:'Public Sans',sans-serif;font-size:13px;font-weight:600;color:#F2EFE8;cursor:pointer;white-space:nowrap;}
  .edit-btn:hover{border-color:#D4A437;}
  .pcell{display:flex;align-items:center;gap:14px;color:inherit;}
  .pcell:hover .pname{color:#E8C56A;text-decoration:underline;}
  .task{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #202022;font-size:14px;}
  .task:last-child{border-bottom:none;padding-bottom:0;}
  .task b{font-family:'Manrope',sans-serif;font-size:18px;color:#D4A437;}
  .track{height:8px;border-radius:4px;background:#262628;overflow:hidden;}
  .fill{height:100%;border-radius:4px;background:#D4A437;}
  .field{display:flex;flex-direction:column;gap:7px;}
  .field-label{font-size:13.5px;font-weight:600;color:#E6E2D8;}
  .input,.textarea,.select,.cell{width:100%;height:44px;border:1px solid #3A3A3D;border-radius:9px;padding:0 13px;font-family:'Public Sans',sans-serif;font-size:14px;color:#F2EFE8;background:#0F0F10;}
  .cell{height:40px;padding:0 11px;border-radius:8px;}
  .input::placeholder,.textarea::placeholder{color:#8A867C;}
  .textarea{height:132px;padding:12px 13px;resize:none;line-height:1.5;}
  .hint{font-size:12.5px;color:#9A968C;}
  .dropzone{border:1.5px dashed #4A4A4D;border-radius:12px;background:#0F0F10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:168px;text-align:center;}
  .dropzone svg{width:28px;height:28px;stroke:#D4A437;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
  .slot{width:104px;height:104px;border-radius:10px;border:1.5px dashed #3A3A3D;background:#0F0F10;}
  .chip{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:8px;background:#232325;font-size:13px;font-weight:600;color:#E6E2D8;}
  .opt{display:flex;align-items:center;gap:10px;font-size:14px;color:#E6E2D8;}
  .crumb{font-size:13.5px;color:#9A968C;}
  .sep{height:1px;background:#262628;}
  .grow{display:grid;grid-template-columns:100px minmax(0,1.6fr) 100px 90px 110px 140px 140px;gap:10px;align-items:center;padding:12px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .grhead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .brow2{display:grid;grid-template-columns:48px 110px 70px 130px minmax(0,1.6fr) 110px 150px 90px 90px 110px;gap:12px;align-items:center;padding:13px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .bohead{border-top:none;border-bottom:1px solid #262628;padding-top:6px;padding-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .srow{display:grid;gap:12px;align-items:center;padding:13px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .st-az{grid-template-columns:96px 120px minmax(90px,1fr) 110px 90px 96px minmax(150px,170px);}
  .st-ad{grid-template-columns:minmax(0,1.4fr) 150px 84px 104px 90px 60px 88px 60px;}
  .shead{border-top:none;border-bottom:1px solid #262628;padding-top:6px;padding-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  ::highlight(lr-pos){color:#6FD09A;}
  ::highlight(lr-neg){color:#F08A82;}
  html.lr-light{filter:invert(.92) hue-rotate(180deg) saturate(1.2);background:#0B0B0C;}
  html.lr-light img{filter:invert(1) hue-rotate(180deg) saturate(.83);}
  .bellbadge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;border-radius:9px;background:#F08A82;color:#0B0B0C;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 4px;pointer-events:none;font-family:'Public Sans',sans-serif;}
  .bellbadge[hidden]{display:none;}
  .bellpanel{position:absolute;right:0;top:50px;width:420px;max-height:600px;overflow:auto;background:#151516;border:1px solid #3A3A3D;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.65);z-index:40;padding:6px 0;text-align:left;}
  .bellpanel[hidden]{display:none;}
  .bellhead{display:flex;align-items:center;justify-content:space-between;padding:10px 18px 12px 18px;font-weight:800;font-family:'Manrope',sans-serif;font-size:16px;color:#fff;}
  .bitem{display:flex;gap:12px;padding:13px 18px;text-decoration:none;color:#E6E2D8;border-top:1px solid #202022;}
  .bitem:hover{background:#1C1C1E;}
  .bitem.unread{background:#1B170B;}
  .mitem{display:flex;gap:12px;width:100%;box-sizing:border-box;text-align:left;padding:13px 18px;background:transparent;border:none;border-top:1px solid #202022;color:#E6E2D8;cursor:pointer;font-family:'Public Sans',sans-serif;}
  .mitem:hover{background:#1C1C1E;}
  .mitem.unread{background:#1B170B;}
  .mitem.unread .btitle{color:#E8C56A;}
  .sumbox{margin:0 14px 10px;padding:12px 14px;border:1px solid #5A4A22;background:#1B170B;border-radius:12px;font-size:13px;line-height:1.5;color:#E6E2D8;display:flex;flex-direction:column;gap:6px;}
  .urgtag{display:inline-flex;align-items:center;height:20px;padding:0 8px;border:1px solid;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap;}
  .attchip{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:4px 10px;border:1px solid #5A4A22;border-radius:14px;font-size:12.5px;color:#E8C56A;text-decoration:none;background:#1B170B;}
  .mbub{max-width:82%;padding:10px 13px;border-radius:12px;font-size:13.5px;line-height:1.45;}
  .mbub.theirs{background:#232325;align-self:flex-start;}
  .mbub.mine{background:#3A2F14;align-self:flex-end;}
  .bdot{width:10px;height:10px;border-radius:50%;margin-top:5px;flex-shrink:0;}
  .btitle{font-weight:700;font-size:14px;color:#fff;}
  .btime{font-size:12px;color:#8A867C;margin-top:3px;}
  .viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 40px;background:#2A2416;border-bottom:1px solid #5A4A22;color:#E8C56A;font-size:13.5px;}
  .viewbar[hidden]{display:none;}
  html.lr-hide-margin .m-hi,html.lr-hide-margin .m-mid,html.lr-hide-margin .m-lo{filter:blur(7px);user-select:none;pointer-events:none;}
  html.lr-hide-margin .brow2:not(.bohead) > :nth-child(9),html.lr-hide-margin .brow2:not(.bohead) > :nth-child(10),html.lr-hide-margin .prow2:not(.phead2) > :nth-child(4),html.lr-hide-margin .prow2:not(.phead2) > :nth-child(5),html.lr-hide-margin .rbrow:not(.rbhead) > :nth-child(4),html.lr-hide-margin .rbrow:not(.rbhead) > :nth-child(5),html.lr-hide-margin .rbrow:not(.rbhead) > :nth-child(6),html.lr-hide-margin .rbrow:not(.rbhead) > :nth-child(7),html.lr-hide-margin .prow:not(.phead) > :nth-child(6){filter:blur(7px);user-select:none;pointer-events:none;}
  html.lr-hide-kunden .brow2:not(.bohead) > :nth-child(4){filter:blur(7px);user-select:none;pointer-events:none;}
  .staffrow{display:flex;flex-direction:column;gap:10px;padding:14px 0;border-top:1px solid #202022;}
  .morewrap{position:relative;display:flex;align-items:stretch;}
  .moremenu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#151516;border:1px solid #3A3A3D;border-radius:12px;padding:6px;z-index:60;box-shadow:0 16px 40px rgba(0,0,0,.65);}
  .morewrap:hover .moremenu,.morewrap:focus-within .moremenu{display:block;}
  .moremenu a{display:block !important;padding:10px 14px !important;border-radius:8px;border-bottom:none !important;color:#E6E2D8 !important;}
  .moremenu a:hover{background:#232325;}
  .calhead{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-bottom:6px;}
  .calgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;}
  .calcell{min-height:104px;border:1px solid #262628;border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:4px;background:#0F0F10;}
  .calcell.blank{border:none;background:transparent;}
  .calcell.today{border-color:#D4A437;}
  .calday{font-size:13px;font-weight:700;color:#C9C5BA;}
  .calev{display:block;font-size:11.5px;line-height:1.3;padding:3px 6px;border-left:3px solid #D4A437;background:#1B1B1D;border-radius:4px;color:#E6E2D8;text-decoration:none;}
  .upitem{display:flex;gap:12px;padding:10px 0;border-top:1px solid #202022;text-decoration:none;color:#E6E2D8;}
  .strow{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #202022;}
  .mitem.sel{outline:1px solid #5A4A22;outline-offset:-1px;}
  .tkrow{display:grid;grid-template-columns:100px 200px minmax(0,1.4fr) 120px 80px 90px 150px;gap:12px;align-items:center;padding:12px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .tkhead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .shgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;}
  .shtile{background:#111112;border:1px solid #2A2A2C;border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;min-width:0;}
  .shtile:hover{border-color:#5A4A22;}
  .shtop{display:flex;align-items:center;justify-content:space-between;gap:10px;} .shcode{font-family:'Manrope',sans-serif;font-size:24px;font-weight:800;color:#E8C56A;letter-spacing:.02em;}
  .shcount{font-size:14px;color:#E6E2D8;} .shcount b{font-size:18px;color:#fff;} .shinh{line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;}
  .shrm{align-self:flex-start;background:transparent;border:none;padding:6px 0;cursor:pointer;color:#F08A82;font-size:13px;font-weight:600;margin-top:2px;}
  .ghrow{display:grid;grid-template-columns:130px minmax(0,1.2fr) 90px 110px 110px 170px minmax(0,1.6fr);gap:14px;align-items:center;padding:13px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .ghprow{display:grid;grid-template-columns:130px minmax(0,1.6fr) 150px 100px;gap:14px;align-items:center;padding:11px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .ghhead,.ghphead{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;border-top:none;padding-top:8px;padding-bottom:8px;}
  body:has(.gh-marker) header .hchip,body:has(.gh-marker) header a.btn-primary,body:has(.gh-marker) header .astbtn{display:none !important;}
  body:has(.gh-marker) .logo-sub{visibility:hidden;position:relative;} body:has(.gh-marker) .logo-sub::after{content:'GROSSHÄNDLER';visibility:visible;position:absolute;left:0;top:0;white-space:nowrap;}
  body:has(.gh-marker) nav.nav,body:has(.gh-marker) .subnav{display:none !important;} body:has(.gh-marker) main{padding-bottom:48px !important;}
  body:has(.lgtabsbar.lg-stock) [data-lgtab]:not([data-lgtab="stock"]),body:has(.lgtabsbar.lg-orders) [data-lgtab]:not([data-lgtab="orders"]),body:has(.lgtabsbar.lg-shelves) [data-lgtab]:not([data-lgtab="shelves"]),body:has(.lgtabsbar.lg-locs) [data-lgtab]:not([data-lgtab="locs"]),body:has(.lgtabsbar.lg-move) [data-lgtab]:not([data-lgtab="move"]){display:none !important;}
  .pill-count:empty{display:none;} .lcbox{max-height:300px;}
  .shrhead{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:8px;padding-bottom:8px;border-top:none;}
  .shrow .pill{height:34px;}
  .shrow{display:grid;grid-template-columns:72px minmax(120px,1fr) 100px 150px minmax(0,1.5fr) 90px;gap:16px;align-items:center;padding:13px 4px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .catrow{display:grid;grid-template-columns:34px minmax(0,1.2fr) minmax(0,1.4fr) 110px 70px 170px;gap:14px;align-items:center;width:100%;padding:12px 8px;background:transparent;border:none;border-top:1px solid #202022;color:#E6E2D8;cursor:pointer;font-family:'Public Sans',sans-serif;font-size:14px;}
  .catrow:hover{background:#151516;}
  .catrow.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .ctrack{height:12px;border-radius:6px;background:#232325;overflow:hidden;}
  .cfill{height:100%;border-radius:6px;}
  .tlb{display:flex;gap:10px;align-items:flex-start;color:#E6E2D8;}
  .fxrow{display:grid;grid-template-columns:minmax(0,1.6fr) 200px 120px 120px 90px;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .rtrow{display:grid;grid-template-columns:36px 130px 110px minmax(0,1.5fr) 190px 90px 100px 230px 190px;gap:12px;align-items:center;padding:13px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .rthead{border-top:none;border-bottom:1px solid #262628;padding-top:6px;padding-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .lrow2{display:grid;grid-template-columns:minmax(0,1.6fr) 70px 60px 90px 80px 110px 60px 170px 120px;gap:10px;align-items:center;padding:13px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .lhead2{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .orow2{display:grid;grid-template-columns:100px minmax(0,1.6fr) 100px 110px 110px 110px 140px 190px;gap:10px;align-items:center;padding:13px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .ohead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .scanmsg{font-size:13.5px;color:#8A867C;line-height:1.5;}
  .scanmsg.ok{color:#6FD09A;font-weight:600;}
  .scanmsg.bad{color:#F08A82;font-weight:600;}
  .hint.a{color:#E8B54A;}
  .datebtn{height:44px;width:100%;border:1px solid #3A3A3D;border-radius:9px;background:#0F0F10;color:#F2EFE8;display:flex;align-items:center;justify-content:space-between;padding:0 13px;font-family:'Public Sans',sans-serif;font-size:14px;cursor:pointer;}
  .datebtn:hover{border-color:#5A4A22;}
  .datebtn .ph{color:#8A867C;}
  .datebtn svg{width:18px;height:18px;stroke:#D4A437;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
  .dp{position:absolute;top:76px;left:0;z-index:31;width:310px;background:#151516;border:1px solid #5A4A22;border-radius:14px;padding:14px;box-shadow:0 16px 40px rgba(0,0,0,.65);}
  .dp[hidden]{display:none;}
  .dphead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#fff;font-family:'Manrope',sans-serif;font-size:15px;}
  .dpnav{width:34px;height:34px;border-radius:8px;border:1px solid #3A3A3D;background:transparent;color:#fff;font-size:18px;line-height:1;cursor:pointer;}
  .dpnav:hover{border-color:#D4A437;}
  .dpwk{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:11.5px;color:#8A867C;margin-bottom:4px;}
  .dpgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;}
  .dpday{height:36px;border:none;border-radius:8px;background:transparent;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:13.5px;cursor:pointer;}
  .dpday:hover{background:#232325;}
  .dpday.sel{background:#D4A437;color:#0B0B0C;font-weight:700;}
  .dpday.today{box-shadow:inset 0 0 0 1px #D4A437;}
  .dpday.off{color:#4A4A4D;cursor:not-allowed;}
  .dpday.off:hover{background:transparent;}
  .dpday.blank{visibility:hidden;}
  .dpchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid #262628;}
  .dpchip{height:30px;padding:0 12px;border:1px solid #3A3A3D;border-radius:15px;background:transparent;color:#E8C56A;font-family:'Public Sans',sans-serif;font-size:12.5px;font-weight:600;cursor:pointer;}
  .dpchip:hover{border-color:#D4A437;}
  .dpback{position:fixed;inset:0;background:transparent;border:none;z-index:30;cursor:default;}
  input[type=date]{color-scheme:dark;}
  .adtot{display:flex;gap:48px;padding:14px 0;border-top:1px solid #202022;border-bottom:1px solid #202022;}
  .adtot b{font-family:'Manrope',sans-serif;font-size:24px;color:#fff;}
  .axl{position:absolute;left:-64px;top:-9px;width:56px;text-align:right;font-size:11.5px;color:#8A867C;}
  .fxgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 12px 12px 12px;}
  .fxc{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #262628;border-radius:14px;background:#111112;}
  .fxc.on{border-color:#5A4A22;background:#1B170B;}
  .lcrow{display:grid;grid-template-columns:170px minmax(0,1fr) 110px 110px 90px;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #202022;font-size:14px;}
  .lcbox{display:flex;flex-direction:column;max-height:270px;overflow:auto;border:1px solid #262628;border-radius:12px;}
  .lcprod{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) 100px;gap:12px;align-items:center;text-align:left;padding:10px 14px;background:transparent;border:none;border-top:1px solid #202022;color:#E6E2D8;font-family:'Public Sans',sans-serif;font-size:14px;cursor:pointer;}
  .lcprod:first-child{border-top:none;}
  .lcprod:hover{background:#151516;}
  .lcprod.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .c128{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  .lcrow2{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:5px 0;font-size:14px;}
  .tprow{display:grid;grid-template-columns:230px minmax(0,1fr) 80px 70px 110px;gap:14px;align-items:center;padding:9px 4px;border-top:1px solid #202022;font-size:14px;}
  .tpp{display:grid;grid-template-columns:minmax(0,1.6fr) 100px 80px 80px 80px 80px 80px 100px;gap:12px;align-items:center;width:100%;padding:11px 20px;background:transparent;border:none;border-top:1px solid #202022;color:#E6E2D8;font-family:'Public Sans',sans-serif;font-size:14px;text-align:right;cursor:pointer;}
  .tpp:hover{background:#151516;} .tpp.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .tphead{cursor:default;border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .tphead:hover{background:transparent;} .tphead > span:first-child{text-align:left;}
  .tpt{display:grid;grid-template-columns:30px 90px 50px 120px 90px 190px minmax(0,1fr) 90px;gap:12px;align-items:center;font-size:14px;}
  .tphead2{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .rkrow{display:grid;grid-template-columns:230px minmax(0,1fr) 110px 190px minmax(0,1.5fr);gap:14px;align-items:center;padding:12px 0;border-top:1px solid #202022;font-size:14px;}
  .rerow{display:grid;grid-template-columns:130px 90px 100px minmax(0,1fr) 100px 90px 100px 100px 190px;gap:12px;align-items:center;padding:11px 20px;border-top:1px solid #202022;font-size:14px;}
  .rehead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .redoc{background:#fff;color:#111;max-width:820px;margin:20px auto;padding:36px 40px;font-family:'Public Sans',sans-serif;font-size:14px;}
  .redoc-t{display:grid;grid-template-columns:minmax(0,2.2fr) 60px 100px 60px 100px 100px;gap:10px;padding:8px 0;border-bottom:1px solid #ddd;}
  .redoc-h{font-weight:700;border-bottom:2px solid #111;font-size:12px;}
  .exset{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;padding:16px;background:#111112;border:1px solid #262628;border-radius:14px;color:#E6E2D8;font-family:'Public Sans',sans-serif;cursor:pointer;}
  .exset:hover{background:#151516;} .exset.on{border-color:#5A4A22;background:#1B170B;}
  .exrow{display:grid;gap:10px;align-items:center;padding:9px 20px;border-top:1px solid #202022;font-size:13.5px;}
  .exhead{border-top:none;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .exrow.exp{padding:6px 0;border-top:none;border-bottom:1px solid #ddd;color:#111;font-size:12px;} .exrow.exhead.exp{color:#111;border-bottom:2px solid #111;}
  .onbrow{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid #262628;border-radius:12px;background:#111112;}
  .onbchk{width:28px;height:28px;border-radius:8px;border:2px solid #4A4A4E;background:transparent;color:#0B0B0C;font-weight:800;cursor:pointer;flex-shrink:0;} .onbchk.done{background:#D4A437;border-color:#D4A437;}
  .mbadge{display:inline-flex;min-width:18px;height:18px;border-radius:9px;background:#F08A82;color:#0B0B0C;font-size:11px;font-weight:800;align-items:center;justify-content:center;padding:0 5px;margin-left:8px;font-family:'Public Sans',sans-serif;vertical-align:middle;line-height:1;text-transform:none;letter-spacing:0;}
  .mbadge[hidden]{display:none;}
  .kurow{display:grid;grid-template-columns:minmax(0,1.1fr) 100px 110px 110px 120px minmax(0,1.4fr) 120px 70px;gap:12px;align-items:center;width:100%;padding:11px 20px;background:transparent;border:none;border-top:1px solid #202022;color:#E6E2D8;font-family:'Public Sans',sans-serif;font-size:14px;text-align:right;cursor:pointer;}
  .kurow:hover{background:#151516;} .kurow.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .kuhead{cursor:default;border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;} .kuhead:hover{background:transparent;} .kuhead > span:first-child{text-align:left;}
  .kuh{display:grid;grid-template-columns:90px 110px minmax(0,1fr) 90px;gap:10px;padding:6px 0;font-size:13.5px;border-top:1px solid #202022;}
  .cprow{display:grid;grid-template-columns:160px 130px 130px 130px 120px 110px 130px minmax(0,1fr);gap:12px;align-items:center;padding:10px 20px;border-top:1px solid #202022;font-size:14px;}
  .cphead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  /* Versteigerungen (19.11.2026): Bild, Artikel, Start, Ende, Startgebot, Versand, Stand. */
  .vstrow{display:grid;grid-template-columns:56px minmax(0,2.2fr) 1fr 1fr 1fr 1fr 120px;gap:14px;align-items:center;padding:12px 20px;border-top:1px solid #202022;font-size:14px;}
  .vstrow.vsthead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-bottom:10px;}
  .vstthumb{width:56px;height:56px;border-radius:10px;object-fit:cover;background:#1A1A1C;flex:none;}
  .vstgrow{display:grid;grid-template-columns:140px minmax(0,1fr) 120px;gap:14px;align-items:center;padding:9px 0;border-top:1px solid #202022;font-size:14px;}
  .vstgrow.vstghead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .txrow{display:grid;grid-template-columns:200px minmax(0,1fr) 130px 110px 130px;gap:14px;align-items:center;padding:8px 0;border-top:1px solid #202022;font-size:14px;} .txhead{border-top:none;font-size:12px;font-weight:700;color:#8A867C;text-transform:uppercase;letter-spacing:.04em;}
  .ekrow{display:grid;grid-template-columns:minmax(0,1.3fr) 110px minmax(0,1fr) 190px 150px;gap:12px;align-items:center;padding:9px 0;border-top:1px solid #202022;font-size:14px;}
  .ekline{display:grid;grid-template-columns:minmax(0,1.4fr) 100px 130px 100px 90px;gap:12px;align-items:center;padding:6px 0;font-size:14px;}
  .porow{display:grid;grid-template-columns:120px 90px minmax(0,1fr) 90px 110px 100px 130px 250px;gap:12px;align-items:center;padding:10px 20px;border-top:1px solid #202022;font-size:14px;} .pohead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .mailprev{border:1px solid #2E2E30;border-radius:12px;padding:16px 18px;background:#111112;}
  .subnav{display:flex;align-items:center;gap:6px;padding:10px 32px;background:#0B0B0C;border-bottom:1px solid #1E1E20;flex-wrap:wrap;}
  .subnav .subt{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6F6B62;margin-right:10px;}
  .subnav a{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:#B5B1A6;text-decoration:none;border:1px solid transparent;}
  .subnav a:hover{background:#151516;color:#fff;} .subnav a.act{background:#1B170B;color:#E8C56A;border-color:#5A4A22;}
  html.lr-light .pv{filter:invert(.92) hue-rotate(180deg) saturate(.83);}
  html.lr-partial .toolok :not(:has(.emp-keep)):not(.emp-keep):not(.emp-keep *){display:none !important;}
  .srchpanel{position:absolute;top:50px;left:0;width:480px;max-height:440px;overflow:auto;background:#151516;border:1px solid #3A3A3D;border-radius:12px;padding:6px;z-index:75;box-shadow:0 16px 40px rgba(0,0,0,.65);color:#E6E2D8;}
  .srchpanel[hidden]{display:none;}
  .srchrow{display:flex;gap:12px;align-items:flex-start;padding:9px 12px;border-radius:8px;text-decoration:none;color:#E6E2D8;font-size:14px;} .srchrow:hover{background:#1F1F21;}
  .srchg{width:92px;flex-shrink:0;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#8A867C;padding-top:3px;}
  .srchback{position:fixed;inset:0;z-index:70;}
  html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;} ::selection{background:rgba(212,164,55,.35);}
  :focus-visible{outline:2px solid #D4A437 !important;outline-offset:2px;}
  button,.btn,.pill,.chip2,.pgbtn,a.link,.edit-btn,.ai-btn{transition:background-color .15s,border-color .15s,opacity .15s,transform .08s,filter .15s;}
  .btn:active,.pill:active,.chip2:active,.pgbtn:active{transform:scale(.98);}
  .btn:disabled,.btn[disabled],button:disabled{cursor:not-allowed;}
  @media (hover:hover){ .btn-primary:hover{filter:brightness(1.08);} .btn-secondary:hover,.pill:hover,.chip2:hover{border-color:#5A4A22;} .prow2:not([class*="head"]):hover,.rerow:not([class*="head"]):hover,.kurow:not([class*="head"]):hover,.brow2:not([class*="head"]):hover,.finrow:not([class*="head"]):hover,.lrow:not([class*="head"]):hover,.shrow:not([class*="head"]):hover,.cprow:not([class*="head"]):hover,.txrow:not([class*="head"]):hover,.ekrow:hover{background:rgba(212,164,55,.045);} }
  #lr-top{position:fixed;right:24px;bottom:24px;z-index:55;width:46px;height:46px;border-radius:50%;border:1px solid #5A4A22;background:#1B170B;color:#E8C56A;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.5);}
  #lr-top.show{display:flex;} #lr-top svg{width:20px;height:20px;}
  @media (max-width: 1100px){ #lr-top{right:12px;bottom:74px;width:44px;height:44px;} }
  @media (max-width: 1360px) and (min-width: 1101px){
    main .card[data-lrfit] [data-lrmh]{display:none !important;}
    main .card[data-lrfit] [data-lrm]{min-width:0 !important;display:flex !important;flex-wrap:wrap;gap:8px 18px;align-items:flex-start;grid-template-columns:none !important;padding:14px 20px !important;position:relative;}
    main .card[data-lrfit] [data-lrm] > *{min-width:0;max-width:100%;}
    main .card[data-lrfit] [data-lrm] > [data-label]{flex:1 1 18%;text-align:left !important;}
    main .card[data-lrfit] [data-lrm] > [data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;margin-bottom:2px;}
    main .card[data-lrfit] [data-lrm] > [data-main]{flex:1 1 100%;padding-right:36px;} main .card[data-lrfit] [data-lrm] > [data-main]::before{display:none;}
    main .card[data-lrfit] [data-lrm] > [data-cb]{position:absolute;right:18px;top:14px;flex:none;}
    main .card[data-lrfit] [data-lrm] > [data-act]{flex:1 1 100%;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start !important;}
    main .card[data-lrfit] [data-lrm] > label.switch{flex:0 0 auto !important;} main .card[data-lrfit] [data-lrm] > label.switch::before{display:none !important;}
  }
  @media (max-width: 1360px) and (min-width: 1101px){
    header{padding:0 24px !important;gap:12px !important;} header .hchip{display:none !important;} header .search{width:240px !important;min-width:140px;flex-shrink:1;}
    nav.nav{padding:0 16px !important;} main{padding-left:24px !important;padding-right:24px !important;}
  }
  @media (max-width: 1100px){
    body{min-width:0 !important;}
    header{flex-wrap:wrap !important;height:auto !important;padding:10px 14px !important;gap:10px !important;}
    header .search{order:9;width:100% !important;flex-basis:100%;}
    header .hchip{display:none !important;}
    nav.nav{position:fixed;left:0;right:0;bottom:0;z-index:60;height:auto !important;min-height:58px;padding:0 0 env(safe-area-inset-bottom) 0 !important;gap:0 !important;overflow:visible;border-top:1px solid #2A2A2C !important;border-bottom:none !important;background:#0B0B0C !important;}
    nav.nav a{flex:1 1 0;justify-content:center;text-align:center;font-size:11.5px !important;padding:0 2px !important;position:relative;border-bottom:none !important;min-height:58px;flex-direction:column;gap:2px;}
    nav.nav a.active{color:#fff;box-shadow:inset 0 3px 0 #D4A437;}
    nav.nav .mbadge{position:absolute;top:5px;left:calc(50% + 10px);margin:0;min-width:16px;height:16px;font-size:10px;padding:0 4px;}
    nav.nav a::before{content:'';display:block;width:22px;height:22px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;}
    nav.nav a[href^="index"],nav.nav a[href^="Main"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%2011l9-8%209%208M5%2010v10h5v-6h4v6h5V10'/%3E%3C/svg%3E");}
    nav.nav a[href^="Bestellungen"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%207h12l1%2013H5L6%207zM9%207a3%203%200%20016%200'/%3E%3C/svg%3E");}
    nav.nav a[href^="Produkte"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203l8%204.5v9L12%2021l-8-4.5v-9L12%203zM4%207.5l8%204.5%208-4.5M12%2012v9'/%3E%3C/svg%3E");}
    nav.nav a[href^="Marketing"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2010v4h3l7%204V6L7%2010H4zM17%209a4%204%200%20010%206'/%3E%3C/svg%3E");}
    nav.nav a[href^="Finanzen"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M3%207a2%202%200%20012-2h13v3M3%207v11a2%202%200%20002%202h14a1%201%200%20001-1v-9a1%201%200%2000-1-1H5a2%202%200%2001-2-2zM16%2014h2'/%3E%3C/svg%3E");}
    nav.nav a[href^="Mehr"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h.01M12%2012h.01M19%2012h.01'/%3E%3C/svg%3E");}
    main{padding-bottom:84px !important;}
    @media (max-width:380px){
      header{gap:6px !important;padding:8px 10px !important;} header .icon-btn,header a.btn-primary{width:36px !important;height:36px !important;} header .logo-mark{width:34px;height:34px;} header .astbtn{padding:0 8px !important;height:36px !important;}
      nav.nav a{font-size:10.5px !important;} nav.nav .mbadge{left:calc(50% + 4px);min-width:15px;height:15px;font-size:9.5px;}
      main{padding-left:10px !important;padding-right:10px !important;} .kpi-value{font-size:19px !important;} .card.pad{padding:14px !important;}
    }
    @media (max-width:430px){ header > div:first-child > div:not(.logo-mark){display:none;} }
    html{-webkit-text-size-adjust:100%;} button,a,.pill,.btn,label{touch-action:manipulation;-webkit-tap-highlight-color:rgba(212,164,55,.18);}
    header{padding-top:max(8px,env(safe-area-inset-top)) !important;}
    /* Als App auf dem Startbildschirm liegt die Statusleiste des Handys UEBER
       der Seite (viewport-fit=cover plus black-translucent). Dann muss oben
       Platz frei bleiben. Verlassen kann man sich dabei NICHT auf
       env(safe-area-inset-top): Android meldet dort oft 0, und dann blieben
       nur die 8 Pixel von oben - am 05.10.2026 lagen Uhr, Empfang und Akku
       genau auf den Knoepfen der Kopfleiste.
       Deshalb im App-Betrieb ein Mindestmass, im Browser aendert sich nichts
       (dort hat die Seite die Statusleiste ja nicht unter sich).
       Mindestmass 48px: beim iPhone liegt oben die Kamera-Insel im Bild,
       und darauf laesst sich nicht druecken. Apple meldet dafuer 47 bis 59
       Pixel - wo gemeldet wird, gilt der groessere Wert. Zweiter Weg ueber
       html[data-lr-app] (navigator.standalone), weil aeltere iOS-Fassungen
       display-mode nicht immer richtig beantworten. */
    @media (display-mode:standalone),(display-mode:fullscreen),(display-mode:minimal-ui){
      header{padding-top:max(48px,env(safe-area-inset-top)) !important;}
      nav.nav{padding-bottom:max(10px,env(safe-area-inset-bottom)) !important;}
    }
    html[data-lr-app] header{padding-top:max(48px,env(safe-area-inset-top)) !important;}
    html[data-lr-app] nav.nav{padding-bottom:max(10px,env(safe-area-inset-bottom)) !important;}
    @media (max-height:500px){ nav.nav,nav.nav a{min-height:44px;} main{padding-bottom:60px !important;} }
    .btn,.pill,.edit-btn,.ai-btn,.chip2,.pgbtn,.retbtn{min-height:42px;} .pgbtn{min-width:42px;} .ai-btn.sm{min-height:38px;padding-left:12px;padding-right:12px;}
    a.link,button.link{padding-top:10px;padding-bottom:10px;margin-top:-10px;margin-bottom:-10px;}
    input[type=checkbox].row-check,input.rc,input.orow-check,main input[type=checkbox]{width:22px;height:22px;} .calev{pointer-events:none;}
    main .search input{min-height:42px;} main .hint{font-size:13px !important;} .badge{font-size:12px !important;}
    .badge{white-space:normal !important;max-width:100%;line-height:1.3;} main .lcrow2{padding:10px 0 !important;border-bottom:1px solid #202022;}
    main .search{width:100% !important;flex-basis:100%;} main input.input,main select.select,main textarea.textarea{width:100%;max-width:100%;} nav.nav .mbadge{top:8px;}
    .overlay{padding:10px !important;align-items:flex-end !important;z-index:75 !important;} .kv{gap:12px;} .kv b{text-align:right;} .dialog{padding:18px !important;max-height:92vh !important;border-radius:16px 16px 12px 12px;}
    .pv{padding:0 12px 24px 12px !important;} .pvbar{flex-wrap:wrap;}
    .subnav{overflow-x:auto;flex-wrap:nowrap;padding:8px 12px;} .subnav a,.subnav .subt{white-space:nowrap;flex-shrink:0;}
    main{padding:16px 12px 48px 12px !important;gap:16px !important;}
    main [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr) !important;}
    main [style*="display: flex"]:not([style*="flex-direction: column"]){flex-wrap:wrap;}
    main > *{min-width:0;max-width:100%;} main [style*="flex-grow: 1"]{min-width:0;}
    main [style*="display:flex"]:not([style*="flex-direction:column"]){flex-wrap:wrap;}
    main [style*="flex-grow: 1"]:not(:empty),main [style*="flex-grow:1"]:not(:empty){min-width:min(100%,220px);}
    main [style*="width: 400px"],main [style*="width: 360px"],main [style*="width: 420px"],main [style*="width: 340px"],main [style*="width: 380px"],main [style*="width: 320px"],main [style*="width: 300px"]{width:100% !important;}
    .card{overflow-x:auto !important;max-width:100%;}
    .prow,.srow,.brow2,.kurow,.cprow,.porow,.rerow,.txrow,.ekrow,.exrow,.tpp,.tprow,.finrow,.lrow,.shrow,.orow2,.tkrow,.rkrow,.catrow,.tpt,.prow2,.lrow2,.upitem{min-width:860px;}
    /* Versteigerungen am Handy (19.11.2026): Die Kopfzeile brach in zwei
       Zeilen um und stand wirr da ("ARTIKEL START ENDE HOECHSTES GEBOT /
       VERSAND STAND"). Darum hier keine Tabelle, sondern je Versteigerung
       ein Block - jeder Wert mit seiner Beschriftung davor. */
    .vsthead{display:none !important;}
    .vstrow{grid-template-columns:56px minmax(0,1fr) !important;row-gap:6px !important;padding:14px 16px !important;}
    .vstrow > span[data-t]{grid-column:2;display:flex;justify-content:space-between;gap:12px;align-items:baseline;}
    .vstrow > span[data-t]::before{content:attr(data-t);color:#8A867C;font-size:12.5px;flex:none;}
    /* Betraege nicht zwischen Zahl und Euro-Zeichen trennen - "38,50" und
       "EUR" in zwei Zeilen liest sich wie zwei Werte. */
    .vstrow > span[data-t] b,.vstrow > span[data-t]{white-space:nowrap;}
    .vstrow > span[data-t] .hint{white-space:normal;text-align:right;}
    .vstgrow{grid-template-columns:minmax(0,1fr) auto !important;}
    .vstgrow > span:nth-child(2){text-align:right;}
    .lcrow2,.kuh{min-width:0;}
    .calgrid,.calhead{min-width:0;}
    .h1{font-size:26px !important;}
    .srchpanel{width:calc(100vw - 28px);}
    .pv .redoc{padding:18px 14px;margin:8px auto;} .redoc-t{grid-template-columns:minmax(0,1.6fr) 44px 70px 44px 70px 70px !important;font-size:12px;gap:6px;}
    .notice{flex-wrap:wrap;gap:12px;}
    .kpi-value{font-size:26px;}
    header > div[style*="flex-grow: 1"]{display:none !important;} header > div:first-child{flex:1 1 auto;min-width:0;}
    header{gap:8px !important;padding:8px 12px !important;} .logo-sub{display:none;}
    header .icon-btn{width:40px;height:40px;} @media (max-width:430px){.logo-name{display:none;}} header .avatar{display:none;} .astlong{display:none;}
    header a.btn-primary{font-size:0 !important;gap:0 !important;padding:0 !important;width:40px;height:40px;justify-content:center;} header a.btn-primary svg{margin:0;}
    .btn,.pill{min-height:40px;} input,select,textarea{font-size:16px !important;}
    .card{position:relative;}
    .dpanel{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;padding:14px !important;} .dpanel > :first-child,.dpanel > :last-child{grid-column:1 / -1;} .dpanel .btn{width:100%;justify-content:center;}
    .barbtn span[style*="11.5px"]{font-size:10px !important;} .barbtn:nth-child(even) span[style*="font-weight: 500"]{visibility:hidden;}
    .adet{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;padding:14px !important;} .adet > :first-child,.adet > :last-child{grid-column:1 / -1;} .adet .btn{width:100%;justify-content:center;}
    .axx{font-size:10px;} .axx:nth-child(even):not(.sel){color:transparent;} .abars{gap:2px;}
    main [style*="repeat(4, minmax"],main [style*="repeat(4,minmax"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
    main .btn[style*="margin-left"]{margin-left:0 !important;}
    main [style*="repeat(5, minmax"],main [style*="repeat(5,minmax"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;} main [style*="repeat(5, minmax"] > :nth-child(5):last-child,main [style*="repeat(5,minmax"] > :nth-child(5):last-child{grid-column:1 / -1;} .spark{height:24px;}
    .card.pad{padding:16px !important;} .kpi-value{font-size:22px !important;}
    main [data-lrw]{min-width:0 !important;display:flex !important;flex-wrap:wrap;gap:6px 14px;align-items:center;grid-template-columns:none !important;padding:12px 14px !important;} main [data-lrw] > *{min-width:0;flex:1 1 auto;}
    main table[data-lrt]{min-width:0 !important;width:100% !important;display:block;} main table[data-lrt] thead{display:none;} main table[data-lrt] tbody{display:block;}
    main table[data-lrt] tr{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px;border-top:1px solid #202022;} main table[data-lrt] td{display:block;flex:1 1 38%;min-width:0;border:none !important;padding:0 !important;width:auto !important;}
    main table[data-lrt] td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;margin-bottom:2px;} main table[data-lrt] td[data-main]{flex:1 1 100%;} main table[data-lrt] td[data-main]::before{display:none;}
    main [data-lrmh]{display:none !important;}
    main [data-lrm]{min-width:0 !important;display:flex !important;flex-wrap:wrap;gap:8px 16px;align-items:flex-start;grid-template-columns:none !important;padding:14px !important;}
    main [data-lrm] > *{min-width:0;max-width:100%;}
    main [data-lrm] > [data-label]{flex:1 1 38%;}
    main [data-lrm] > [data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;margin-bottom:2px;}
    main [data-lrm]{position:relative;} main [data-lrm] > [data-cb]{position:absolute;right:14px;top:14px;flex:none;} main [data-lrm] > [data-main]{flex:1 1 100%;padding-right:36px;} main [data-lrm] > [data-main]::before{display:none;}
    .calev{font-size:0 !important;height:6px !important;min-height:6px !important;padding:0 !important;border-left-width:16px !important;overflow:hidden;} .calcell{min-height:70px;}
    main [data-lrm] > [data-label]{text-align:left !important;}
    main [data-lrm] > label.switch{flex:0 0 auto !important;} main [data-lrm] > label.switch::before{display:none !important;}
    main [data-lrm] > button[data-label]::before,main [data-lrm] > a.pill[data-label]::before{display:none !important;} main [data-lrm] > button.pill[data-label]{flex:0 0 auto;align-self:flex-start;}
    main [data-lrm] > [data-label][style*="text-overflow"]{white-space:normal !important;flex:1 1 100%;overflow:visible !important;text-overflow:clip !important;}
    main [data-lrm] > [data-act]{flex:1 1 100%;display:flex;gap:8px;justify-content:flex-start !important;flex-wrap:wrap;}
  }
  .astpanel{position:fixed;right:16px;bottom:16px;width:420px;height:580px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#151516;border:1px solid #3A3A3D;border-radius:16px;z-index:90;box-shadow:0 20px 50px rgba(0,0,0,.7);color:#E6E2D8;font-family:'Public Sans',sans-serif;}
  .astpanel[hidden]{display:none;}
  .asthead{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #262628;}
  .astmsgs{flex-grow:1;overflow:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px;}
  .astmsg{max-width:88%;padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.5;display:flex;flex-direction:column;gap:8px;}
  .astmsg.bot{background:#1F1F21;align-self:flex-start;} .astmsg.me{background:#1B170B;border:1px solid #5A4A22;align-self:flex-end;}
  .astlinks{display:flex;gap:8px;flex-wrap:wrap;} .astlinks:empty{display:none;}
  .astchips{display:flex;gap:6px;flex-wrap:wrap;padding:0 16px 10px 16px;}
  .astin{display:flex;gap:8px;padding:0 14px 10px 14px;} .astin .input{height:44px;}
  @media (max-width: 1100px){ .astpanel{right:8px;left:8px;bottom:8px;width:auto;height:75vh;} .astbtn{padding:0 10px;} }
  .iprow.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .iprow{display:grid;grid-template-columns:34px minmax(0,1.3fr) minmax(0,1.4fr) 110px 90px 80px;gap:14px;align-items:center;padding:12px 8px;border-top:1px solid #202022;font-size:14px;}
  .agroup{flex:1 1 0;min-width:0;height:100%;display:flex;align-items:flex-end;justify-content:center;background:transparent;border:none;padding:0 2px;cursor:pointer;border-radius:6px;position:relative;}
  .agroup:hover{background:rgba(212,164,55,.08);}
  .agroup.sel{background:rgba(212,164,55,.14);}
  .agroup:focus-visible{outline:2px solid #fff;}
  .abars{display:flex;align-items:flex-end;gap:4px;width:100%;justify-content:center;}
  .abar{display:block;flex:1 1 0;max-width:26px;border-radius:4px 4px 0 0;}
  .axx{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11.5px;color:#8A867C;}
  .axx.sel{color:#fff;font-weight:700;}
  .adet{display:grid;grid-template-columns:1.1fr repeat(3,minmax(0,1fr)) 2fr;gap:20px;align-items:center;padding:16px 20px;border:1px solid #3A3A3D;border-radius:12px;background:#111112;}
  .connbox{border:1px solid #2E4A38;background:#101A14;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;color:#6FD09A;line-height:1.45;}
  .connbox[hidden]{display:none;}
  .titlebtn{background:transparent;border:none;padding:0;cursor:pointer;text-align:left;font-family:'Manrope',sans-serif;}
  .titlebtn:hover{color:#E8C56A;}
  .acct{display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;width:100%;padding:14px 16px;border:1px solid #3A3A3D;border-radius:12px;background:#111112;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:14px;cursor:pointer;}
  .acct:hover{border-color:#5A4A22;}
  .acct.sel{border-color:#D4A437;background:#171308;}
  .arow{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr) 150px 170px 130px 170px;gap:12px;align-items:center;padding:13px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .ahead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .rbrow{display:grid;grid-template-columns:40px minmax(0,1.25fr) 90px 80px 90px 80px 130px minmax(0,1.8fr) 160px 150px;gap:10px;align-items:start;padding:14px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .rbhead{align-items:center;border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .arrbox{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#232325;}
  .arrbox.dir-up{background:#2E2410;}
  .arrbox.dir-down{background:#15281C;}
  .arrbox.dir-done{background:#232325;}
  .arr{display:inline-block;width:0;height:0;flex-shrink:0;}
  .arr-up{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid #E8B54A;}
  .arr-down{border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid #6FD09A;}
  .arr-flat{width:12px;height:3px;border-radius:2px;background:#8A867C;}
  .arr-done{width:10px;height:6px;border-left:2px solid #6FD09A;border-bottom:2px solid #6FD09A;transform:rotate(-45deg);margin-top:-2px;}
  .arr-dot{width:6px;height:6px;border-radius:50%;background:#D4A437;margin-top:8px;flex-shrink:0;}
  .overlay{position:fixed;inset:0;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;z-index:50;padding:24px;}
  .overlay[hidden]{display:none;}
  .dialog{width:580px;max-width:100%;max-height:100%;overflow:auto;background:#151516;border:1px solid #5A4A22;border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px;}
  .lrow{display:grid;grid-template-columns:36px 100px 100px minmax(0,1fr) 120px 200px 80px 130px 190px;gap:12px;align-items:center;padding:13px 24px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .pv{position:fixed;inset:0;background:#fff;color:#111;z-index:80;overflow:auto;padding:0 24px 24px 24px;font-family:'Public Sans',sans-serif;}
  .pvbar{position:sticky;top:0;background:#fff;display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #ddd;margin-bottom:16px;z-index:2;}
  .lbl{display:inline-block;vertical-align:top;width:380px;border:3px solid #000;padding:18px;margin:0 16px 16px 0;font-family:monospace;color:#000;page-break-inside:avoid;}
  .lbl p{margin:6px 0;}
  .lbl-trk{letter-spacing:3px;font-size:22px;border-top:3px solid #000;border-bottom:3px solid #000;padding:8px 0;margin:10px 0;}
  @media print{body *{visibility:hidden !important;} .pv,.pv *{visibility:visible !important;} .pvbar{display:none !important;} .pv{position:absolute;inset:auto;left:0;top:0;width:100%;overflow:visible;padding:0;}}
  .lhead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .carrier.picked{border-color:#D4A437;}
  .carrier.off{pointer-events:none;}
  .finrow{display:grid;grid-template-columns:18px minmax(0,1.5fr) 110px 130px 130px 140px minmax(0,1fr);gap:12px;align-items:center;padding:13px 24px;border:none;border-top:1px solid #202022;background:transparent;color:#E6E2D8;font-family:'Public Sans',sans-serif;font-size:14px;text-align:right;width:100%;}
  button.finrow{cursor:pointer;}
  button.finrow:hover{background:#1A1A1B;}
  .finrow.sel{background:#1B170B;}
  .finhead > span:nth-child(n+3) > .th{display:block;width:100%;text-align:right;white-space:nowrap;padding-left:0;padding-right:0;}
  .finhead{font-size:11.5px;}
  .finrow > span:nth-child(n+3),.finrow > b{text-align:right;}
  .finhead > span:nth-child(2){text-align:left !important;}
  .finhead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;cursor:default;}
  .fdot{width:12px;height:12px;border-radius:50%;flex-shrink:0;display:inline-block;}
  .ftrack{height:8px;border-radius:4px;background:#262628;overflow:hidden;display:block;}
  .ffill{display:block;height:100%;border-radius:4px;}
  .subrow{display:grid;grid-template-columns:minmax(0,1.6fr) 110px 70px minmax(0,1fr);gap:12px;align-items:center;padding:11px 0;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .subrow > b,.subrow > span:nth-child(3){text-align:right;}
  .mapbox{border:1px solid #3A3A3D;border-radius:12px;background:#111112;padding:14px 16px;display:flex;flex-direction:column;gap:12px;max-height:360px;overflow:auto;}
  .maprow{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:start;font-size:13.5px;color:#E6E2D8;}
  .mapchips{display:flex;flex-wrap:wrap;gap:6px;}
  .chip2{height:28px;padding:0 10px;border:1px solid #3A3A3D;border-radius:14px;background:transparent;color:#C9C5BA;font-family:'Public Sans',sans-serif;font-size:12.5px;font-weight:600;cursor:pointer;}
  .chip2.active{background:#D4A437;border-color:#D4A437;color:#0B0B0C;}
  .chip2:hover{border-color:#D4A437;}
  .mapbox[hidden]{display:none;}
  .prow2{display:grid;grid-template-columns:44px minmax(0,2.2fr) 100px 110px 100px 80px 120px 100px 110px;gap:12px;padding:12px 20px;align-items:center;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .phead2{border-top:1px solid #262628;padding-top:10px;padding-bottom:10px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .plain{color:#E6E2D8;}
  .pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-top:1px solid #262628;background:#111112;}
  .pgbtn{height:36px;min-width:36px;padding:0 12px;border:1px solid #3A3A3D;border-radius:8px;background:transparent;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:13.5px;font-weight:600;cursor:pointer;}
  .pgbtn:hover:not(:disabled){border-color:#D4A437;}
  .pgbtn.active{background:#D4A437;color:#0B0B0C;border-color:#D4A437;}
  .pgbtn:disabled{opacity:.4;cursor:not-allowed;}
  .miniselect{height:36px;padding:0 10px;border:1px solid #3A3A3D;border-radius:8px;background:#0F0F10;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:13.5px;}
  .prevrow{display:grid;grid-template-columns:150px minmax(0,1.6fr) 150px 100px 100px 80px 110px;gap:12px;padding:9px 0;border-top:1px solid #202022;font-size:13.5px;color:#E6E2D8;align-items:center;}
  .prevhead{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .irow{display:grid;grid-template-columns:minmax(0,1.6fr) 150px 110px 110px 100px 90px 120px;gap:12px;padding:12px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;align-items:center;}
  .ihead{border-top:1px solid #262628;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:10px;padding-bottom:10px;}
  .errbox{border:1px solid #6A2A2A;background:#2A1414;color:#F08A82;border-radius:10px;padding:12px 16px;font-size:14px;line-height:1.5;}
  .errbox[hidden]{display:none;}
  .hchip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 13px;border:1px solid #3A3A3D;border-radius:18px;font-size:12.5px;font-weight:700;color:#E6E2D8;background:#111112;white-space:nowrap;}
  .hchip:hover{border-color:#5A4A22;}
  .hdot{width:8px;height:8px;border-radius:50%;background:#E8B54A;}
  .hdot.red{background:#F08A82;}
  .barbtn{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;background:transparent;border:none;padding:0;cursor:pointer;font-family:inherit;}
  .barbtn:hover .bar{filter:brightness(1.35);}
  .barbtn:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:6px;}
  .dpanel{display:grid;grid-template-columns:1.1fr repeat(4,minmax(0,1fr)) auto;gap:16px;align-items:center;padding:16px 20px;border:1px solid #3A3A3D;border-radius:12px;background:#111112;}
  .dstat{display:flex;flex-direction:column;gap:2px;}
  .dstat b{font-family:'Manrope',sans-serif;font-size:18px;color:#fff;}
  .dprods{border:1px solid #2E2E30;border-radius:12px;padding:14px 20px 8px 20px;background:#111112;}
  .dprow{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px 90px;gap:12px;padding:11px 0;border-top:1px solid #202022;color:#E6E2D8;font-size:14px;align-items:center;}
  .dprow:hover .pname{color:#E8C56A;text-decoration:underline;}
  .dtitle{font-family:'Manrope',sans-serif;font-weight:800;font-size:18px;color:#E8C56A;}
  button.pill{font-family:'Public Sans',sans-serif;cursor:pointer;}
  button.pill:hover{border-color:#5A4A22;}
  button.pill:focus-visible{outline:2px solid #fff;outline-offset:2px;}
  .periodrow{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:-8px;}
  .dateinput{height:38px;padding:0 12px;border:1px solid #3A3A3D;border-radius:9px;background:#0F0F10;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:13.5px;color-scheme:dark;}
  .btn:disabled{opacity:.45;cursor:not-allowed;}
  /* Versiegelte Werbewege (Google, Meta) sollen sichtbar gesperrt sein,
     nicht nur beim Zeigen (15.11.2026). */
  .chip2:disabled{opacity:.45;cursor:not-allowed;}
  [hidden]{display:none !important;}
  .notice{border:1px solid #5A4A22;background:#1B170B;border-radius:14px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
  .notice[hidden]{display:none;}
  .stepper{display:flex;align-items:center;width:104px;margin-top:8px;}
  .stepper .dot{width:10px;height:10px;border-radius:50%;background:#3A3A3D;flex-shrink:0;}
  .stepper .dot.on{background:#D4A437;}
  .stepper .dot.ok{background:#6FD09A;}
  .stepper .ln{height:2px;flex:1;background:#3A3A3D;}
  .stepper .ln.on{background:#D4A437;}
  .stepper .ln.ok{background:#6FD09A;}
  .tl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;}
  .tl .st{position:relative;padding-top:22px;font-size:13.5px;}
  .tl .st::before{content:'';position:absolute;top:5px;left:0;right:0;height:2px;background:#3A3A3D;}
  .tl .st.done::before{background:#D4A437;}
  .tl .st.ok::before{background:#6FD09A;}
  .tl .st::after{content:'';position:absolute;top:0;left:0;width:12px;height:12px;border-radius:50%;background:#3A3A3D;}
  .tl .st.done::after{background:#D4A437;}
  .tl .st.ok::after{background:#6FD09A;}
  .tl .st.now::after{box-shadow:0 0 0 4px rgba(212,164,55,.25);}
  details.menu{position:relative;}
  details.menu summary::-webkit-details-marker{display:none;}
  details.menu summary{cursor:pointer;}
  .menupanel{position:absolute;right:0;top:52px;z-index:10;width:300px;background:#151516;border:1px solid #3A3A3D;border-radius:12px;padding:8px;box-shadow:0 12px 32px rgba(0,0,0,.6);}
  .menuitem{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:10px 12px;border:none;border-radius:8px;background:transparent;color:#F2EFE8;font-family:'Public Sans',sans-serif;font-size:14px;cursor:pointer;}
  .menuitem:hover{background:#232325;}
  .bulkbar{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #5A4A22;background:#1B170B;border-radius:12px;}
  .bulkbar[hidden]{display:none;}
  .carrier{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #2E2E30;border-radius:12px;background:#111112;cursor:pointer;}
  .carrier.best{border-color:#5A4A22;background:#171308;}
  .carrier:has(input:checked){border-color:#D4A437;}
  .carrier input{width:18px;height:18px;margin:2px 0 0 0;accent-color:#D4A437;flex-shrink:0;}
  .carrier.off{opacity:.55;flex-direction:column;cursor:default;gap:6px;}
  .switch{position:relative;display:inline-block;width:44px;height:26px;flex-shrink:0;}
  .switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;}
  .sw{position:absolute;inset:0;border-radius:13px;background:#3A3A3D;pointer-events:none;}
  .sw::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#F2EFE8;}
  .switch input:checked + .sw{background:#D4A437;}
  .switch input:checked + .sw::after{left:21px;background:#0B0B0C;}
  .switch input:focus-visible + .sw{outline:2px solid #fff;outline-offset:2px;}
  .cls{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;font-family:'Manrope',sans-serif;font-weight:800;font-size:14px;}
  .cls-A{background:#D4A437;color:#0B0B0C;} .cls-B{background:#4A3E1E;color:#E8C56A;} .cls-C{background:#2A2A2C;color:#B5B1A6;}
  .rank{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#232325;color:#E6E2D8;font-family:'Manrope',sans-serif;font-weight:800;font-size:14px;}
  .rank.top{background:#D4A437;color:#0B0B0C;}
  .prow{display:grid;grid-template-columns:60px minmax(0,1.6fr) 60px 100px 70px 80px 80px 140px 80px 120px 150px 60px;gap:0 12px;align-items:center;padding:14px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .th{background:none;border:none;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;text-align:left;display:inline-flex;align-items:center;gap:5px;}
  .th:hover{color:#E8C56A;}
  .th.on{color:#E8C56A;}
  .th .sa{font-size:10px;opacity:.55;}
  .th.on .sa{opacity:1;}
  .phead{border-top:none;border-bottom:1px solid #262628;padding-top:0;padding-bottom:12px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .retbtn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid #3A3A3D;border-radius:8px;background:transparent;font-family:'Public Sans',sans-serif;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap;}
  .retbtn svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2;}
  .retbtn:hover,.retbtn[aria-expanded=true]{background:#232325;border-color:#5A4A22;}
  .cardbtn{font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer;}
  .cardbtn:hover{border-color:#5A4A22;}
  .card.cardbtn.sel{border-color:#D4A437;background:#1B170B;}
  .cardbtn:focus-visible,.retbtn:focus-visible,.chipbtn:focus-visible{outline:2px solid #fff;outline-offset:2px;}
  .chipbtn{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:15px;border:1px solid #5A4A22;background:#1B170B;color:#E8C56A;font-family:'Public Sans',sans-serif;font-size:12.5px;font-weight:700;cursor:pointer;}
  .chipbtn[hidden]{display:none;}
  .detail{margin:0 20px 16px 20px;border:1px solid #3A3A3D;border-radius:12px;background:#111112;padding:22px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;}
  .detail[hidden]{display:none;}
  .rrow{display:grid;grid-template-columns:200px minmax(0,1fr) 90px;gap:12px;align-items:center;font-size:13.5px;padding:6px 0;color:#E6E2D8;}
  .rtrack{height:8px;border-radius:4px;background:#262628;overflow:hidden;}
  .rfill{height:100%;border-radius:4px;}
  .ai-btn{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border-radius:9px;border:1px solid #5A4A22;background:#1B170B;color:#E8C56A;font-family:'Public Sans',sans-serif;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;}
  .ai-btn.sm{height:30px;padding:0 10px;font-size:12px;}
  .tight th,.tight td{padding-left:12px;padding-right:12px;}
  .tight td .badge{white-space:normal;max-width:100%;line-height:1.3;}
  .m-hi{color:#6FD09A;} .m-mid{color:#E8B54A;} .m-lo{color:#F08A82;}
  .kv{display:flex;justify-content:space-between;font-size:14px;color:#C9C5BA;padding:10px 0;border-bottom:1px solid #202022;}
  .kv:last-child{border-bottom:none;}
  body:has(.ad-marker) header .hchip,body:has(.ad-marker) header a.btn-primary,body:has(.ad-marker) header .astbtn{display:none !important;}
  body:has(.ad-marker) .logo-sub{visibility:hidden;position:relative;} body:has(.ad-marker) .logo-sub::after{content:'BETREIBER';visibility:visible;position:absolute;left:0;top:0;white-space:nowrap;}
  body:has(.ad-marker) nav.nav,body:has(.ad-marker) .subnav{display:none !important;} body:has(.ad-marker) main{padding-bottom:48px !important;}
  .adbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
  .adbar .btn{margin-left:auto;}
  .adnav{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #262628;padding-bottom:12px;}
  .adtab{display:inline-flex;align-items:center;height:38px;padding:0 15px;border-radius:19px;font-size:14px;font-weight:600;color:#A8A399;border:1px solid transparent;}
  .adtab:hover{color:#fff;background:#1A1A18;}
  .adtab.act{color:#0B0B0C;background:#D4A437;}
  @media (max-width:1100px){ .adnav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;} .adnav::-webkit-scrollbar{display:none;} .adtab{flex:0 0 auto;height:44px;} .adbar .btn{margin-left:0;} }
  body:has(.ad-marker) header .search,body:has(.ad-marker) header .icon-btn:not(#hd-theme),body:has(.ad-marker) header .morewrap,body:has(.ad-marker) header .bellbadge{display:none !important;}
  body:has(.ad-marker) header .avatar{font-size:0;} body:has(.ad-marker) header .avatar::after{content:'LT';font-size:14px;font-weight:700;}

  /* ===== Betreiber-Bereich, Seiten von Agent 1 (Übersicht, Händler, Freigaben) ===== */
  .adper{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
  .adper .hint{margin-right:4px;}
  .adtop{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;}
  .adtools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
  .adtools .search{width:340px;max-width:100%;}
  .adchips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
  .adchips .hint{margin-right:2px;}
  .adchips .chip2{height:34px;padding:0 13px;font-size:13px;}
  .adl{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;padding:10px 0;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;}
  .adl .n{flex:1 1 200px;min-width:0;font-weight:700;color:#fff;overflow-wrap:anywhere;}
  .adl .m{flex:2 1 240px;min-width:0;font-size:13px;color:#9A968C;line-height:1.45;}
  .adl .v{flex:0 0 auto;font-weight:700;}
  a.adn{color:#fff;} a.adn:hover{color:#E8C56A;text-decoration:underline;}
  .adnote{font-size:13.5px;line-height:1.55;color:#C9C5BA;}
  .adnote b{color:#fff;}
  .adlist{display:flex;flex-direction:column;}
  .adhead{display:flex;align-items:center;gap:12px;padding:10px 20px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;border-bottom:1px solid #262628;}
  .adrow{display:flex;align-items:center;gap:12px;width:100%;padding:13px 20px;background:transparent;border:0;border-top:1px solid #202022;color:#E6E2D8;font-family:inherit;font-size:14px;text-align:left;cursor:pointer;}
  .adhead + div > .adrow{border-top:0;}
  .adrow:hover{background:rgba(212,164,55,.045);}
  .adrow[aria-expanded="true"]{background:#1B170B;}
  .adrow:focus-visible{outline:2px solid #E8C56A;outline-offset:-2px;}
  .adc{min-width:0;flex:0 0 auto;display:block;}
  .adc .sub{display:block;font-size:12.5px;color:#9A968C;margin-top:2px;line-height:1.35;}
  .adc .ttl{display:block;font-weight:700;color:#fff;overflow-wrap:anywhere;}
  .adc .num{font-weight:700;color:#fff;}
  .adk{display:none;}
  .adchev{flex:0 0 18px;color:#8A867C;font-size:18px;text-align:center;transition:transform .15s;}
  .adrow[aria-expanded="true"] .adchev{transform:rotate(90deg);color:#E8C56A;}
  .adempty{padding:28px 20px;text-align:center;color:#9A968C;font-size:14px;line-height:1.55;display:flex;flex-direction:column;align-items:center;gap:12px;}
  .addet{display:flex;flex-direction:column;gap:16px;padding:20px;background:#111112;border-top:1px solid #3A3A3D;border-left:3px solid #D4A437;}
  .addet .adtitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
  .adboxes{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;}
  .adbox{flex:1 1 300px;min-width:0;border:1px solid #2E2E30;border-radius:12px;background:#151516;padding:16px;display:flex;flex-direction:column;gap:12px;}
  .adbox.wide{flex:1 1 100%;}
  .adbox h3{margin:0;font-family:'Manrope',sans-serif;font-weight:700;font-size:15px;color:#fff;}
  .adstats{display:flex;flex-wrap:wrap;gap:14px 26px;}
  .adstat{display:flex;flex-direction:column;gap:2px;min-width:96px;}
  .adstat b{font-family:'Manrope',sans-serif;font-size:18px;color:#fff;}
  .adkv{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:14px;color:#C9C5BA;padding:8px 0;border-top:1px solid #202022;}
  .adkv:first-of-type{border-top:0;padding-top:0;}
  .adkv b{color:#fff;text-align:right;}
  .adsteps{display:flex;flex-wrap:wrap;gap:10px 8px;}
  .adstep{flex:1 1 120px;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:#9A968C;}
  .adstep .bar5{height:6px;border-radius:3px;background:#2A2A2C;}
  .adstep.ok .bar5{background:#6FD09A;} .adstep.now .bar5{background:#D4A437;} .adstep.bad .bar5{background:#F08A82;}
  .adstep.ok b{color:#6FD09A;} .adstep.now b{color:#E8C56A;} .adstep.bad b{color:#F08A82;}
  .adstep b{font-size:13px;}
  .adacts{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
  .adacts .btn{height:42px;}
  .adpanel{border:1px solid #5A4A22;background:#1B170B;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;}
  .adpanel.red{border-color:#6A2A2A;background:#241214;}
  .adpanel h3{margin:0;font-family:'Manrope',sans-serif;font-size:15px;color:#fff;}
  .adpanel ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:5px;font-size:13.5px;line-height:1.5;color:#E6E2D8;}
  .adok{border:1px solid #2E5A3E;background:#102018;color:#6FD09A;border-radius:10px;padding:12px 16px;font-size:14px;line-height:1.5;}
  .aderr{border:1px solid #6A2A2A;background:#2A1414;color:#F08A82;border-radius:10px;padding:10px 14px;font-size:13.5px;line-height:1.5;}
  .adwarn{border:1px solid #5A4A22;background:#1B170B;color:#E8C56A;border-radius:10px;padding:10px 14px;font-size:13.5px;line-height:1.5;}
  .adform{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;}
  .adform .field{flex:1 1 200px;min-width:0;}
  .adform .textarea{height:96px;}
  .adcount{font-size:12px;color:#8A867C;text-align:right;}
  .adchk{display:flex;align-items:flex-start;gap:12px;padding:10px 4px;border-top:1px solid #202022;cursor:pointer;font-size:14px;line-height:1.45;color:#E6E2D8;}
  .adchk:first-of-type{border-top:0;}
  .adchk input{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#D4A437;cursor:pointer;}
  .adchk.auto{cursor:default;}
  .adchk .dot{flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;}
  .adchk .dot.ok{background:#15281C;color:#6FD09A;} .adchk .dot.warn{background:#2E2410;color:#E8B54A;}
  .adtrack{display:block;height:8px;border-radius:4px;background:#262628;overflow:hidden;min-width:60px;}
  .adtrack > i{display:block;height:100%;border-radius:4px;background:#D4A437;}
  .adtrack.red > i{background:#F08A82;} .adtrack.amber > i{background:#E8B54A;}
  .adtag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;font-size:11.5px;font-weight:700;background:#232325;color:#B5B1A6;white-space:nowrap;}
  .adtag.gold{background:#2E2410;color:#E8C56A;} .adtag.red{background:#34161A;color:#F08A82;} .adtag.green{background:#15281C;color:#6FD09A;} .adtag.amber{background:#2E2410;color:#E8B54A;}
  .adcol1{flex:1 1 200px;min-width:0;} .adcol-st{flex:0 0 132px;} .adcol-n{flex:0 0 124px;text-align:right;} .adcol-s{flex:0 0 96px;text-align:right;} .adcol-r{flex:0 0 70px;text-align:right;} .adcol-g{flex:0 0 96px;} .adcol-d{flex:0 0 92px;}
  .adcol-t{flex:0 0 150px;} .adcol-w{flex:0 0 110px;} .adcol-p{flex:0 0 92px;text-align:right;} .adcol-a{flex:0 0 130px;}
  .adhead .adcol-n,.adhead .adcol-s,.adhead .adcol-r,.adhead .adcol-p{text-align:right;}
  .adhead .adchev{visibility:hidden;}
  .adsummary{font-size:13.5px;color:#C9C5BA;padding:12px 20px;border-bottom:1px solid #262628;line-height:1.5;}
  .adsummary b{color:#fff;}
  @media (max-width:1280px) and (min-width:1101px){ .adcol-d,.adhead .adcol-d{display:none;} }
  @media (max-width:1100px){
    .adhead{display:none;}
    .adrow{flex-wrap:wrap;gap:8px 16px;padding:14px;align-items:flex-start;position:relative;}
    .adrow .adcol1,.adrow .adcol-t{flex:1 1 100%;padding-right:26px;}
    .adrow .adc[data-k]{flex:1 1 30%;text-align:left;min-width:88px;}
    .adrow .adc[data-k]::before{content:attr(data-k);display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;margin-bottom:2px;}
    .adrow .adchev{position:absolute;right:12px;top:14px;flex:none;}
    .adcol-d,.adhead .adcol-d{display:block;}
    .addet{padding:14px;} .adbox{flex:1 1 100%;padding:14px;}
    .adtools .search{width:100% !important;}
    .adacts .btn{flex:1 1 auto;}
    .adform .field{flex:1 1 100%;}
    .adsummary{padding:12px 14px;}
  }
  .adspark{position:relative;height:30px;margin-top:2px;}
  .adspark i{position:absolute;left:0;right:0;top:0;bottom:0;display:block;}
  .adspark .a{background:rgba(212,164,55,.16);} .adspark .l{background:#D4A437;}
  .adswipe{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
  .adrow,.adchk{scroll-margin-top:24px;}
  @media (max-width:1100px){ .adswipe{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px;} .adswipe::-webkit-scrollbar{display:none;} .adswipe > *{flex:0 0 auto;white-space:nowrap;} .adspark{height:26px;} }
  /* ===== Freigaben ===== */
  .adct{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto;}
  .adct b{color:#fff;font-weight:700;}
  .adchint{display:block;font-size:12.5px;color:#9A968C;line-height:1.4;}
  .adchint.warn{color:#E8B54A;}
  .adchk .dot.bad{background:#34161A;color:#F08A82;}
  .adchk.auto{padding:8px 4px;cursor:default;}
  .adchk.done{cursor:default;opacity:.85;}
  .adchk.done input{cursor:default;}
  body:has(.ad-marker) .sub.warntxt{color:#E8B54A;}
  .adflash{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;}
  .adflashacts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
  .adflashacts .chip2{height:36px;}
  body:has(.ad-marker) button.link{background:none;border:0;padding-left:0;padding-right:0;font-family:inherit;cursor:pointer;text-align:left;}
  .adnote button.link:hover,.adnote a.link:hover{text-decoration:underline;}
  @media (max-width:1100px){
    .adtools{flex:1 1 100%;width:100%;}
    .adrow .adc.adcol-t[data-k],.adrow .adc.adcol-w[data-k],.adrow .adc.adcol-p[data-k]{flex:0 0 auto;min-width:0;}
    .adnote a.link,.adnote button.link{padding-top:12px;padding-bottom:12px;margin-top:-12px;margin-bottom:-12px;display:inline-block;}
  }

  /* ===== Mobil: größere Tippflächen im Betreiber-Bereich (nur dort, wegen body:has) ===== */
  @media (max-width:1100px){
    body:has(.ad-marker) .cbrow,body:has(.ad-marker) .legrow{min-height:44px;}
    body:has(.ad-marker) a.link{padding-top:12px;padding-bottom:12px;margin-top:-12px;margin-bottom:-12px;}
    body:has(.ad-marker) a.adn{display:block;padding:12px 0;margin:-12px 0;}
    body:has(.ad-marker) .barbtn:nth-child(even) span[style*="font-weight: 500"]{visibility:visible;}
    body:has(.ad-marker) .barbtn span[style*="11.5px"]{font-size:11.5px !important;}
    body:has(.ad-marker) .barbtn:nth-child(even):not([aria-pressed="true"]) > span:last-child,body:has(.ad-marker) .barbtn[aria-pressed="true"] + .barbtn > span:last-child,body:has(.ad-marker) .barbtn:has(+ .barbtn[aria-pressed="true"]) > span:last-child{visibility:visible;}
  }

  /* ===== Betreiber-Bereich, Agent 2: Großhändler, Finanzen, Support, Einstellungen ===== */
  #ad2-root > *{min-width:0;max-width:100%;}
  .ad2tiles{display:grid;gap:20px;} .ad2t3{grid-template-columns:repeat(3,minmax(0,1fr));} .ad2t4{grid-template-columns:repeat(4,minmax(0,1fr));} .ad2t5{grid-template-columns:repeat(5,minmax(0,1fr));}
  .ad2tilehint{margin-top:-10px;line-height:1.5;}
  .ad2filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
  .ad2lab{margin-right:4px;}
  .ad2bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
  .ad2search{width:420px;max-width:100%;}
  .ad2dhead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;}
  .ad2grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
  .ad2grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .ad2box{border:1px solid #262628;border-radius:12px;background:#111112;padding:16px;display:flex;flex-direction:column;gap:8px;min-width:0;}
  .ad2box.on{border-color:#5A4A22;background:#1B170B;}
  .ad2bt{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;}
  .ad2chips{display:flex;flex-wrap:wrap;gap:6px;}
  .ad2drow{display:flex;gap:4px 14px;flex-wrap:wrap;align-items:baseline;padding:8px 0;border-top:1px solid #202022;font-size:14px;}
  .ad2drow > b{flex:1 1 200px;min-width:0;} .ad2drow > .hint{flex:1 1 160px;min-width:0;} .ad2drow > .ovda{flex:0 0 auto;font-weight:700;}
  .ad2actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
  .ad2form{border:1px solid #3A3A3D;border-radius:12px;background:#0F0F10;padding:16px;display:flex;flex-direction:column;gap:12px;}
  .ad2fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .ad2err{font-size:13px;color:#F08A82;line-height:1.4;}
  .ad2fb{font-size:14px;line-height:1.5;padding:10px 14px;border-radius:10px;border:1px solid #5A4A22;background:#1B170B;color:#E8C56A;}
  .ad2fb.ok{border-color:#2F5A41;background:#0F1A13;color:#7FD1A0;}
  .ad2fb.err{border-color:#6B3A36;background:#1B1110;color:#F08A82;}
  .ad2danger{color:#F08A82;border-color:#6B3A36;}
  .ad2dangerfill{background:#B0413A;color:#fff;}
  .ad2lnk{background:transparent;border:none;cursor:pointer;font-family:inherit;padding:0;text-align:left;}
  .ad2sm{height:36px;padding:0 12px;font-size:13px;}
  .ad2empty{padding:24px 20px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
  .ad2opt{align-items:flex-start;line-height:1.5;}
  .ad2opt input{margin-top:3px;flex:0 0 auto;}
  .ad2rule{align-items:flex-start;}
  .ad2sub{display:block;margin-top:2px;}
  .ad2row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:center;padding:12px 20px;border-top:1px solid #202022;font-size:14px;color:#E6E2D8;width:100%;text-align:left;}
  button.ad2row{background:transparent;border:0;border-top:1px solid #202022;font-family:'Public Sans',sans-serif;cursor:pointer;}
  button.ad2row:hover{background:#151516;}
  .ad2row.sel{background:#1B170B;outline:1px solid #5A4A22;outline-offset:-1px;}
  .ad2row.ad2head{border-top:none;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;padding-top:8px;padding-bottom:8px;cursor:default;}
  .ad2row > *{min-width:0;}
  .ad2ract{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
  .ad2ask{grid-column:1 / -1;display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:10px 14px;background:#1B1110;border:1px solid #6B3A36;border-radius:10px;font-size:13.5px;}
  .ad2ask > span{flex:1 1 240px;}
  .ad2g{grid-template-columns:minmax(0,1.5fr) minmax(0,1.3fr) 110px 90px 110px 100px 80px;}
  .ad2sp{grid-template-columns:minmax(0,1.2fr) minmax(0,1.4fr) 150px 80px 90px 70px 100px 200px;}
  .ad2run{grid-template-columns:minmax(0,1.5fr) 120px 130px 130px minmax(0,1.1fr) 150px;}
  .ad2fin{grid-template-columns:minmax(0,1.5fr) 110px 110px 110px minmax(0,1fr) minmax(0,1fr);}
  .ad2dac{grid-template-columns:minmax(0,1.4fr) 120px 120px 150px 110px;}
  .ad2sc{grid-template-columns:minmax(0,1.3fr) 130px 130px minmax(0,1.4fr);}
  .ad2calcrow > b{flex:1 1 260px;}
  .ad2calcrow.tot > b{font-family:'Manrope',sans-serif;font-weight:700;color:#fff;}
  .ad2calcrow.tot .ovda{font-size:17px;}
  .ad2calcrow .ovda{font-variant-numeric:tabular-nums;}
  .ad2tk{grid-template-columns:minmax(0,2fr) 84px 110px 96px 200px 112px;}
  .ad2ds{grid-template-columns:minmax(0,1.7fr) 84px 100px 96px 200px 130px;}
  .ad2tm{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 110px minmax(250px,auto);}
  .ad2fee{grid-template-columns:minmax(0,1.2fr) 110px minmax(0,1.3fr) minmax(0,1.5fr);}
  .ad2vr{grid-template-columns:100px 110px minmax(0,1fr) 150px 100px;}
  .ad2lg{grid-template-columns:180px 70px minmax(0,1fr);}
  .ad2cb{gap:0;}
  @media (min-width:1101px){ .ad2cb .cbname{flex:0 0 190px;} }
  .ad2flow{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;}
  .ad2node{flex:1 1 180px;min-width:0;border:1px solid #262628;border-radius:12px;background:#111112;padding:14px 16px;display:flex;flex-direction:column;gap:4px;}
  .ad2node.gold{border-color:#5A4A22;background:#1B170B;}
  .ad2node .big{font-family:'Manrope',sans-serif;font-weight:800;font-size:22px;color:#fff;}
  .ad2arrow{flex:0 0 auto;align-self:center;color:#D4A437;font-size:22px;font-weight:700;padding:0 2px;}
  .ad2split{display:flex;height:14px;border-radius:7px;overflow:hidden;background:#26241C;}
  .ad2split > span{display:block;height:100%;}
  .ad2leg{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#C9C5BA;}
  .ad2leg i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:middle;}
  .ad2steps{display:flex;flex-direction:column;gap:0;}
  .ad2step{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid #202022;font-size:14px;line-height:1.5;}
  .ad2step > b{flex:0 0 26px;height:26px;border-radius:13px;background:#2A2416;color:#E8C56A;display:flex;align-items:center;justify-content:center;font-size:13px;}
  .ad2checks{display:flex;flex-direction:column;}
  .ad2check{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid #202022;font-size:14px;line-height:1.5;}
  .ad2check .badge{flex:0 0 auto;margin-top:1px;}
  .ad2msgs{display:flex;flex-direction:column;gap:10px;}
  .ad2msgs .mbub{max-width:min(82%,640px);white-space:pre-wrap;overflow-wrap:anywhere;}
  .ad2msgs .who{font-size:12px;color:#8A867C;margin-bottom:3px;}
  .ad2tpl{display:flex;flex-wrap:wrap;gap:8px;}
  .ad2side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .ad2side .ad2box.buyer{border-color:#3B4A6B;}
  .ad2side .ad2box.seller{border-color:#5A4A22;}
  .ad2quote{font-size:15px;line-height:1.5;color:#F2EFE8;}
  .ad2seg{display:flex;gap:8px;flex-wrap:wrap;}
  .ad2num{font-family:'Manrope',sans-serif;font-weight:800;}
  .ad2r{text-align:right;}
  @media (max-width:1240px){
    .ad2row{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:flex-start;padding:14px;}
    .ad2row.ad2head{display:none;}
    .ad2row > *{min-width:0;max-width:100%;}
    .ad2row > [data-l]{flex:1 1 38%;}
    .ad2row > [data-l]::before{content:attr(data-l);display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;margin-bottom:2px;}
    .ad2row > .m1{flex:1 1 100%;}
    .ad2row > .ad2ract{flex:1 1 100%;justify-content:flex-start;}
    .ad2row > .ad2ask{flex:1 1 100%;}
    .ad2row > .ad2r{text-align:left;}
  }
  @media (max-width:1100px){
    .ad2t3,.ad2t4,.ad2t5{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .ad2t3 > :nth-child(odd):last-child,.ad2t5 > :nth-child(odd):last-child{grid-column:1 / -1;}
    .ad2grid3,.ad2grid2,.ad2side{grid-template-columns:minmax(0,1fr);}
    .ad2filters{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px;}
    .ad2filters::-webkit-scrollbar{display:none;}
    .ad2filters > *{flex:0 0 auto;}
    .ad2search{width:100%;}
    .ad2actions > .btn,.ad2ract > .btn{flex:1 1 auto;}
    .ad2sm{height:40px;}
    .ad2lnk{min-height:40px;}
    .ad2ask .btn{flex:1 1 auto;}
    .ad2flow{flex-direction:column;} .ad2arrow{transform:rotate(90deg);align-self:center;}
    .ad2msgs .mbub{max-width:92%;}
    .ad2opt input{width:22px;height:22px;}
  }
  @media (max-width:700px){ .ad2fields{grid-template-columns:minmax(0,1fr);} }
  @media (max-width:430px){ .ad2t3,.ad2t4,.ad2t5{gap:8px;} .ad2tiles .kpi-note{font-size:12px;} }

/* ===== Agent Finanzen: Nachbesserungen für Finanzen, Auszahlungen, Rechnungen, Steuern, Export, Berichte, Tools ===== */
/* Auszahlungen: Spaltenbreiten so, dass Überschrift "Bestellungen" und das Status-Etikett "Auf dem Weg · 1–3 Werktage" in ihre Spalte passen */
.st-az{grid-template-columns:84px 108px minmax(96px,1fr) 122px 92px 92px 196px;}
/* Finanzen: lange Bezeichnungen bei Fixkosten laufen nicht in die Nachbarspalte */
.fxrow > b:first-child,.fxrow > span{overflow-wrap:anywhere;min-width:0;}
/* Finanzen: Monatssummen über den Säulen nie umbrechen (mobil zu schmale Spalten) */
.fmonths > div > span:first-child{white-space:nowrap;}
@media (max-width:600px){ .fmonths{gap:6px !important;} .fmonths > div > span:first-child{letter-spacing:-.2px;} }
@media (max-width:359px){ .fmonths > div > span:first-child{font-size:11px !important;} }
/* Rechnungen: sehr lange Wörter (Bezeichnung, Kunde, Anschrift) sprengen weder Beleg noch Liste */
.redoc{overflow-wrap:anywhere;}
.rerow > span,.rerow > b{min-width:0;overflow-wrap:anywhere;}
/* Rechnungen, Belegansicht am Handy: Position bekommt eine eigene Zeile, Zahlen stehen darunter in 5 Spalten */
@media (max-width:520px){
  .pv{padding:0 12px 24px 12px;}
  .pv .redoc{padding:22px 16px;margin:12px auto;}
  .pv .redoc .redoc-t{grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:4px 6px;font-size:12.5px;}
  .pv .redoc .redoc-t > span:first-child{grid-column:1 / -1;font-weight:600;}
  .pv .redoc .redoc-h > span:first-child{display:none;}
  .redoc [style*="width: 320px"],.redoc [style*="width:320px"]{width:100% !important;}
}
/* Export, PDF-Ansicht mobil: Tabelle bleibt eine Tabelle (seitlich wischbar) statt eines langen, unbeschrifteten Stapels */
@media (max-width:1100px){
  .pv .redoc:has(.exrow){overflow-x:auto;}
  .pv .exrow{display:flex !important;gap:10px;min-width:1000px;}
  .pv .exrow > span{flex:1 1 0;min-width:0;overflow-wrap:break-word;}
  .pv .exrow:not(:has(> span:nth-child(4))){min-width:0;}
}
/* Kontrollkästchen mit Beschriftung (Berichte, Stripe-Zustimmung): am Handy mindestens 40 px hohe Tippfläche */
@media (max-width:1100px){ main label:has(> input.row-check){min-height:40px;} }
/* Finanzen, Kategorie-Details am Handy: Name, Betrag und Anteil in einer Zeile, der Balken darunter über die volle Breite */
@media (max-width:1100px){
  main .subrow[data-lrw]{padding:12px 0 !important;gap:6px 12px;}
  main .subrow[data-lrw] > span:first-child{flex:1 1 150px;min-width:0;}
  main .subrow[data-lrw] > .ftrack{flex:1 1 100%;order:5;}
}
/* Auszahlungen: die noch versteckte Zeile "Guthaben-Anforderung" bleibt auch am Handy versteckt (Handy-Regel setzte sie auf sichtbar) */
main [data-lrw][style*="display: none"],main [data-lrm][style*="display: none"]{display:none !important;}
/* Kennzahlen-Kacheln: der Pfeil bleibt hinter der Beschriftung, auch wenn diese in zwei Zeilen umbricht */
.kpitile .kpi-label:has(> .kpilink){display:flex;align-items:baseline;gap:6px;}
.kpitile .kpi-label > .kpilink{min-width:0;}
.kpitile .kpi-label > .kpi-go{margin-left:0;flex:none;}
/* Handy: Textknöpfe ("Entfernen", "Als CSV exportieren", "Weitere laden") und Schalter bekommen eine Tippfläche von mindestens 40 px, ohne das Layout zu verschieben */
@media (max-width:1100px){
  main a.link,main button.link{padding-top:12px;padding-bottom:12px;margin-top:-12px;margin-bottom:-12px;}
  main .switch input{inset:-9px 0;height:calc(100% + 18px);}
}
/* Handy: Beschriftungen in den Karten-Zeilen (DATUM, BETRAG, ...) mindestens 12 px */
@media (max-width:1100px){
  main .card[data-lrfit] [data-lrm] > [data-label]::before,main table[data-lrt] td[data-label]::before,main [data-lrm] > [data-label]::before{font-size:12px;}
}
/* ===== Nachprüfung ===== */
/* Finanzen am Handy: Farbpunkt steht neben dem Namen der Kategorie (nicht allein in einer Zeile), Fixkosten-Zeilen bündig, Kennzahl-Blöcke linksbündig */
@media (max-width:1100px){
  main .finrow[data-lrm] > .fdot{position:absolute;left:14px;top:17px;}
  main .finrow[data-lrm] > [data-main]{padding-left:22px;}
  main .kv[style*="flex-direction: column"] b{text-align:left;}
  main .fxrow[data-lrw]{padding:12px 0 !important;}
  main .fxrow[data-lrw] > *{flex:0 1 auto;}
  main .fxrow[data-lrw] > b:first-child{flex:1 1 100%;}
  main .fxrow[data-lrw] > button.link{flex:0 0 auto;margin-left:auto;}
}
/* Export: Kopfzeile der Vorschau mindestens 12 px; bei der 11-spaltigen Bestelliste (Vorschau und PDF-Ansicht) bekommt die erste Spalte mehr Platz, damit "Bestellnummer" nicht mitten im Wort bricht */
.exhead{font-size:12px;}
@media (min-width:1101px){ .exrow:has(> span:nth-child(11)){grid-template-columns:1.25fr 1fr 1fr 1.8fr 1.3fr .6fr .9fr .85fr .9fr .9fr .9fr !important;} }
@media (max-width:1100px){ .pv .exrow{min-width:1240px;} .pv .exrow > span:first-child{flex-grow:1.6;} }
/* Steuern (OSS-Liste) am Handy: der leere Balken schob die Zahlen um einen Spaltenabstand nach rechts; jetzt steht er als volle Breite unter den Werten */
@media (max-width:1100px){ main .txrow[data-lrm] > .ctrack{flex:1 1 100%;order:9;} main .txrow[data-lrm]{padding-left:0 !important;padding-right:0 !important;} }
/* Berichte am Handy: Empfängerzeilen bündig, "Entfernen" steht immer rechts (vorher je nach Länge der Adresse an anderer Stelle) */
@media (max-width:1100px){
  main .ekrow[style*="1fr) auto"][data-lrw]{padding:4px 0 !important;flex-wrap:nowrap;gap:12px;}
  main .ekrow[style*="1fr) auto"][data-lrw] > span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;}
  main .ekrow[style*="1fr) auto"][data-lrw] > button{flex:0 0 auto;margin-left:auto;}
}
/* Sehr große Beträge in Kennzahl-Kacheln sprengen am Handy die Kachel nicht mehr */
@media (max-width:1100px){ main .kpi-value{overflow-wrap:anywhere;} }
/* Auszahlungen am Handy: "Als CSV exportieren" klebt nicht an der Überschrift, wenn es darunter umbricht */
@media (max-width:1100px){ main .card > div:has(> h2.h2 + button.link){row-gap:14px;} }
/* Rechnung erstellen am Handy: Bezeichnung bekommt eine eigene Zeile, Menge und Preis stehen darunter nebeneinander */
@media (max-width:1100px){ main input[id^="mk-n"][id$="0"],main input[id^="mk-n"][id$="1"],main input[id^="mk-n"][id$="2"],main input[id^="mk-n"][id$="3"]{flex:1 1 100% !important;} }

/* ===== Agent "marketing": Marketing, Rabatte, Ads, Performance, Gutscheine ===== */

/* Ads: Knopf Pausieren/Fortsetzen/Starten in der Kampagnenliste */
.adact{display:block;margin-top:4px;padding:4px 0;background:transparent;border:none;color:#E8C56A;font:inherit;font-size:13px;font-weight:700;text-decoration:underline;cursor:pointer;text-align:left;}
.adact:hover{color:#fff;}
.adact:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:4px;}

/* Performance: Tabelle passt jetzt auch bei 1280 px ohne Kartenansicht (Spaltenüberschrift "Bewertung" hatte zu wenig Platz) */
.prow{grid-template-columns:52px minmax(0,1.6fr) 64px 72px 60px 60px 80px 108px 96px 92px 128px 48px;gap:0 10px;padding:14px 16px;}
.prow .track[style*="width: 60px"]{width:56px !important;}

/* Performance: Ranking-Karte, Statusfeld ("Schwächster Wert, Puffer aufbauen") war breiter als seine Spalte */
.rkrow{grid-template-columns:230px minmax(0,1fr) 110px 232px minmax(0,1.5fr);}
.rkrow .badge{white-space:normal;height:auto;min-height:24px;padding-top:3px;padding-bottom:3px;line-height:1.3;}

/* Pillen (Zeitraum, Ranking-Test) brechen ihren Text nicht mehr in zwei Zeilen um, die lange Beschreibung daneben rückt stattdessen zusammen */
main .pill{white-space:nowrap;}

/* Ads: Zahlen unter dem Diagramm nicht mitten im Wert umbrechen */
.adtot b{white-space:nowrap;}

/* Performance: Kartenansicht (Zeilen als Karten, ca. 1101 bis 1260 px): Rang klein, Produktname volle Breite */
main .card[data-lrfit] .prow[data-lrm] > [data-main]{flex:0 0 44px !important;padding-right:0 !important;}
main .card[data-lrfit] .prow[data-lrm] > :nth-child(2){flex:1 1 calc(100% - 70px) !important;}
main .card[data-lrfit] .prow[data-lrm] > :nth-child(2)::before{display:none !important;}

@media (max-width:1100px){
  /* Ads-Diagramm: keine Lücken zwischen den Balkengruppen, damit die Tippfläche größer wird */
  div:has(> .agroup),div:has(> .axx),#agroups,#axl{gap:0 !important;}
  .agroup{padding:0 3px;}
  .agroup .abars{gap:2px;}
  /* ROAS nur unter der gewählten Gruppe, sonst überlappen sich die Zahlen */
  .axx:not(.sel) > .hint{visibility:hidden;}
  .axx > .hint{font-size:11.5px !important;white-space:nowrap;}
  .axx:has(+ .axx.sel){color:transparent;}
  /* Summenzeile unter der Überschrift: drei gleiche Spalten */
  .adtot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .adtot b{font-size:19px;}
  .adtot .hint{font-size:12px !important;line-height:1.3;}
  /* Impressionen nach Kanal / je Produkt: übersichtliche Karte je Zeile */
  main .card .iprow:not([data-lrmh]){display:grid !important;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) !important;gap:6px 10px !important;align-items:center;padding:14px 4px !important;min-width:0 !important;}
  main .card .iprow > .rank{flex:none;width:30px;}
  main .card .iprow > :nth-child(2){grid-column:2 / 5;}
  main .card .iprow > .ctrack{grid-column:2 / 5;flex:none;width:100%;}
  main .card .iprow > b,main .card .iprow > span:nth-child(5),main .card .iprow > span:nth-child(6){grid-column:auto;text-align:left !important;font-size:14px;display:flex;flex-direction:column;gap:1px;}
  main .card .iprow > b{grid-column:2;}
  main .card .iprow > span:nth-child(5){grid-column:3;}
  main .card .iprow > span:nth-child(6){grid-column:4;}
  main .card .iprow > b::after,main .card .iprow > span:nth-child(5)::after,main .card .iprow > span:nth-child(6)::after{font-size:11px;font-weight:600;color:#8A867C;letter-spacing:.02em;}
  main .card .iprow > b::after{content:"Impressionen";}
  main .card .iprow > span:nth-child(5)::after{content:"Klicks";}
  main .card .iprow > span:nth-child(6)::after{content:"Klickrate";}
  /* Performance: gefragteste Kategorien */
  main .card .catrow{display:grid !important;grid-template-columns:34px minmax(0,1fr) auto !important;gap:6px 12px !important;align-items:center;padding:14px 8px !important;min-width:0 !important;}
  main .card .catrow > .rank{flex:none;width:30px;}
  main .card .catrow > .ctrack{grid-column:2 / -1;flex:none;width:100%;}
  main .card .catrow > b{grid-column:3;grid-row:1;text-align:right !important;}
  main .card .catrow > span:nth-child(5){grid-column:2;text-align:left !important;}
  main .card .catrow > span:nth-child(6){grid-column:3;justify-self:end;}
  /* Performance: Ranking-Karte (Kriterien) */
  main .card .rkrow{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;gap:8px 12px !important;align-items:center;padding:14px 0 !important;min-width:0 !important;}
  main .card .rkrow > :nth-child(1){grid-column:1;grid-row:1;}
  main .card .rkrow > b{grid-column:2;grid-row:1;text-align:right !important;}
  main .card .rkrow > .ctrack{grid-column:1 / -1;grid-row:2;flex:none;width:100%;}
  main .card .rkrow > .badge{grid-column:1 / -1;grid-row:3;justify-self:start;}
  main .card .rkrow > :nth-child(5){grid-column:1 / -1;grid-row:4;}
  /* Vorteile mit Haken: Haken bleibt neben dem Text */
  main:has(.rkrow) div:has(> span[style*="6FD09A"]){flex-wrap:nowrap !important;}
  main:has(.rkrow) div:has(> span[style*="6FD09A"]) > span:last-child{min-width:0;flex:1 1 0;}
  main:has(.rkrow) div:has(> span[style*="6FD09A"]) > span:first-child{flex:none;}
  .adact{min-height:36px;padding:0;display:flex;align-items:center;}
  /* Performance und Ads: Überschrift und Zeitraum-Pillen bekommen Abstand */
  main div:has(> div > h1.h1):has(> div > .pill){gap:14px;}
  /* Performance: Ads-Schalter je Produkt bekommt in der Kartenansicht eine sichtbare Beschriftung */
  main .prow[data-lrm] > label.switch{margin-top:18px;}
  main .prow[data-lrm] > label.switch::before{display:block !important;position:absolute;left:0;top:-17px;content:"Ads";font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;white-space:nowrap;}
}

/* Rabatte: Tabelle "Aktive und geplante Rabatte" passt bei 1101 bis 1180 px nicht neben das Formular, deshalb steht das Formular dann darunter */
@media (min-width:1101px) and (max-width:1180px){
  main:has(#rs) div:has(> .card > table.tight){flex-wrap:wrap;}
  main:has(#rs) div:has(> .card > table.tight) > .card{flex:1 1 100%;width:100% !important;max-width:none;}
}

/* Hell-Modus (Farbumkehr per Filter): graue Texte hatten auf diesen Seiten nur etwa 3:1 Kontrast, jetzt mindestens 4,5:1 */
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) :is(.hint,.sub,.kpi-note,.kpilink,.axl,.axx,th,.ph,.dtitle+.hint){color:#B5B1A6;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) :is(.th:not(.on)){color:#B5B1A6;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) :is([style*="#9A968C"],[style*="#8A867C"],[style*="#6B6860"]){color:#B5B1A6 !important;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) :is(.m-lo,.link[style*="F08A82"],[style*="color: #F08A82"]){color:#FFB3AC !important;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) :is(.phead,.cphead,.ahead,.shead,.iprow) > span{color:#B5B1A6;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) .badge-red{color:#FFB3AC;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) .badge-green{color:#8FE3B4;}
html.lr-light main:has(.agroup,.prow,#rs,.arow,.cprow) .badge-amber{color:#F5C566;}

/* Rabatte: Liste "Von dir angelegt" */
.st-rd{grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) 80px 150px 110px 110px 100px;}

/* Performance: Kartenansicht bei 1101 bis 1260 px, gleiche Beschriftung am Ads-Schalter */
main .card[data-lrfit] .prow[data-lrm] > label.switch{margin-top:18px;}
main .card[data-lrfit] .prow[data-lrm] > label.switch::before{display:block !important;position:absolute;left:0;top:-17px;content:"Ads";font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#8A867C;white-space:nowrap;}

/* ===== Runde 2 ===== */

/* Performance (Handy und Tablet): Sortierung als Pillen-Leiste, weil die Tabellenkopfzeile dort ausgeblendet ist */
@media (max-width:1100px){
  #perf-table .prow.phead[data-lrmh]{display:flex !important;flex-wrap:nowrap;overflow-x:auto;gap:8px;align-items:center;padding:0 16px 14px 16px !important;min-width:0 !important;grid-template-columns:none !important;border-bottom:none;}
  #perf-table .prow.phead[data-lrmh]::before{content:"Sortieren:";flex:none;font-size:13px;font-weight:600;color:#9A968C;}
  #perf-table .prow.phead > span{flex:none;min-width:0;}
  #perf-table .prow.phead > span:not(:has(.th)){display:none;}
  #perf-table .prow.phead .th{min-height:40px;padding:0 14px;border:1px solid #3A3A3D;border-radius:999px;white-space:nowrap;font-size:13px;color:#E6E2D8;text-transform:none;letter-spacing:0;}
  #perf-table .prow.phead .th.on{background:#D4A437;border-color:#D4A437;color:#0B0B0C;}
  /* Rang klein neben dem Produktnamen, Beschriftung "Produkt" überflüssig */
  main #perf-table .prow[data-lrm] > [data-main]{flex:0 0 44px !important;padding-right:0 !important;}
  main #perf-table .prow[data-lrm] > [data-label="Produkt"]{flex:1 1 calc(100% - 70px) !important;}
  main #perf-table .prow[data-lrm] > [data-label="Produkt"]::before{display:none !important;}
  /* Rückgabe-Details: Spalten untereinander statt gequetscht nebeneinander */
  #perf-table .detail{grid-template-columns:minmax(0,1fr);gap:18px;padding:16px;margin:0 12px 14px 12px;}
  main #perf-table .rrow[data-lrw]{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;gap:4px 12px;align-items:center;padding:8px 0 !important;}
  main #perf-table .rrow[data-lrw] > span{grid-column:1;grid-row:1;}
  main #perf-table .rrow[data-lrw] > b{grid-column:2;grid-row:1;text-align:right !important;}
  main #perf-table .rrow[data-lrw] > .rtrack{grid-column:1 / -1;grid-row:2;flex:none;width:100%;}
}
/* dasselbe für die Kartenansicht bei 1101 bis 1260 px */
#perf-table[data-lrfit] .prow.phead[data-lrmh]{display:flex !important;flex-wrap:nowrap;overflow-x:auto;gap:8px;align-items:center;padding:0 16px 14px 16px !important;min-width:0 !important;grid-template-columns:none !important;border-bottom:none;}
#perf-table[data-lrfit] .prow.phead[data-lrmh]::before{content:"Sortieren:";flex:none;font-size:13px;font-weight:600;color:#9A968C;}
#perf-table[data-lrfit] .prow.phead > span{flex:none;min-width:0;}
#perf-table[data-lrfit] .prow.phead > span:not(:has(.th)){display:none;}
#perf-table[data-lrfit] .prow.phead .th{min-height:40px;padding:0 14px;border:1px solid #3A3A3D;border-radius:999px;white-space:nowrap;font-size:13px;color:#E6E2D8;text-transform:none;letter-spacing:0;}
#perf-table[data-lrfit] .prow.phead .th.on{background:#D4A437;border-color:#D4A437;color:#0B0B0C;}

/* Gutscheine (Handy und Tablet) */
@media (max-width:1100px){
  main:has(#cp-code) .card #cp-code{flex:1 1 0;width:auto;min-width:0;}
  main:has(#cp-code) .cprow button.link{min-height:40px;padding:0 8px;}
}
@media (min-width:641px) and (max-width:1100px){
  main:has(#cp-code) div[style*="grid-template-columns"]{align-items:start !important;}
}
@media (min-width:640px) and (max-width:1100px){
  main:has(#cp-code) div[style*="repeat(3, minmax"]{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important;}
}

/* Performance: Produktzelle in der Kartenansicht bricht nicht um, Sortierleiste ohne sichtbare Bildlaufleiste */
main #perf-table .prow[data-lrm] > [data-label="Produkt"],main .card[data-lrfit] .prow[data-lrm] > :nth-child(2){flex-wrap:nowrap !important;}
main #perf-table .prow[data-lrm] > [data-label="Produkt"] > div:last-child,main .card[data-lrfit] .prow[data-lrm] > :nth-child(2) > div:last-child{min-width:0;flex:1 1 0;}
#perf-table .prow.phead[data-lrmh]{scrollbar-width:none;}
#perf-table .prow.phead[data-lrmh]::-webkit-scrollbar{display:none;}

/* Ads-Diagramm: mit dem Finger über die Balkengruppen ziehen wählt sie nacheinander aus (vertikales Scrollen bleibt möglich) */
.agroup{touch-action:pan-y;}

/* Rabatte (Handy): leere Zellen (z. B. "Vorschlag" bei "Preis halten") zeigen keine Beschriftung ohne Inhalt */
@media (max-width:1100px){
  main:has(#rbrows) [data-lrm] > [data-label]:empty{display:none;}
}

/* Gutscheine (Handy): Code und Art nehmen die ganze Breite, damit das Codefeld nicht auf wenige Zeichen schrumpft */
@media (max-width:640px){
  main:has(#cp-code) .card div[style*="repeat(4, minmax"] > .field:nth-child(-n+2){grid-column:1 / -1;}
}
main:has(#cp-code) #cp-valwrap:not([style*="none"]){display:flex !important;}

/* ===== Prüfung ===== */
/* Rabatte: bei 1101 bis 1300 px war die Produktspalte nur etwa 87 px breit, "Lippenbalsam," lief in die Nachbarspalte */
@media (min-width:1101px) and (max-width:1300px){
  .rbrow{grid-template-columns:40px minmax(104px,1.25fr) 80px 72px 80px 72px 130px minmax(0,1.8fr) 150px 140px;}
}

/* Performance (Handy und Tablet): Ads-Schalter bekommen eine höhere unsichtbare Tippfläche (sichtbar bleibt der Schalter, 44x26 px, Tippfläche 44x40 px) */
@media (max-width:1100px){
  main:has(#perf-table) label.switch input{inset:-7px 0;width:100%;height:calc(100% + 14px);}
}

  /* ===== Agent "mehr": globale Teile (Kopfzeile, Navigation, Hell-Modus, Kalender) ===== */
  /* Kopfzeile: Logo bricht nicht mehr um, "KI-Assistent" ohne Lücke, Suchfeld kürzt Platzhalter sauber */
  .logo-sub{white-space:nowrap;}
  header > div:first-child{flex-shrink:0;}
  .astbtn{gap:0;}
  .search input{text-overflow:ellipsis;}
  header .search{min-width:0;}
  /* Dateiauswahl (Anhang, Nachweis, Screenshot): Eingabefeld bleibt per Tastatur erreichbar, Fokus sichtbar am Knopf */
  label.btn{position:relative;}
  label.btn > input[type=file]{display:block !important;position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0 !important;}
  label.btn:has(> input[type=file]:focus-visible){outline:2px solid #D4A437;outline-offset:2px;}
  /* Kalender: lange Wörter (z. B. Beträge) laufen nicht mehr aus der Tageszelle */
  .calev{overflow-wrap:anywhere;word-break:break-word;}
  .calcell{min-width:0;}
  .calcell.sel{border-color:#E8C56A;background:#1B170B;}
  .caldaybox{display:none;}
  @media (max-width:1100px){
    .calcell{cursor:pointer;-webkit-tap-highlight-color:rgba(212,164,55,.18);}
  }
  /* Sperrseite: Überschrift bricht ausgewogen um */
  #lr-gate h1{text-wrap:balance;}
  /* Hell-Modus: der Filter invertiert die dunkle Oberfläche. Ein Kontrastregler hebt die grauen Hilfstexte über 4,5:1,
     Bilder und Vorschau-Blätter gleichen den Regler wieder aus. */
  html.lr-light{filter:invert(.92) hue-rotate(180deg) saturate(1.2) contrast(1.3);}
  html.lr-light img{filter:contrast(.77) invert(1) hue-rotate(180deg) saturate(.83);}
  html.lr-light .pv{filter:contrast(.77) invert(.92) hue-rotate(180deg) saturate(.83);}
  html.lr-light th,html.lr-light .th:not(.on),html.lr-light .btime,html.lr-light .calhead,html.lr-light .subnav .subt,html.lr-light .srchg,html.lr-light .dpwk,html.lr-light .axl,html.lr-light .axx:not(.sel),html.lr-light .scanmsg:not(.ok):not(.bad),
  html.lr-light .grhead,html.lr-light .bohead,html.lr-light .shead,html.lr-light .phead,html.lr-light .phead2,html.lr-light .lhead,html.lr-light .lhead2,html.lr-light .ohead,html.lr-light .ahead,html.lr-light .rbhead,html.lr-light .rthead,html.lr-light .rehead,html.lr-light .tkhead,html.lr-light .tphead,html.lr-light .tphead2,html.lr-light .kuhead,html.lr-light .cphead,html.lr-light .txhead,html.lr-light .pohead,html.lr-light .ihead,html.lr-light .prevhead,html.lr-light .ghhead,html.lr-light .ghphead,html.lr-light .shrhead,html.lr-light .exhead,html.lr-light .finhead,
  html.lr-light .datebtn .ph{color:#A6A298;}
  html.lr-light [style*="#8A867C" i],html.lr-light [style*="#6F6B62" i]{color:#A6A298 !important;}
  html.lr-light .badge-red{color:#FFA69E;}
  .caldayitem{display:flex;gap:12px;padding:8px 0;border-top:1px solid #3A2F14;text-decoration:none;color:#E6E2D8;}
  .caldayitem:first-of-type{border-top:none;}
  @media (max-width:1100px){
    .caldaybox:not([hidden]){display:flex !important;}
    .bellpanel{position:fixed;top:62px;right:8px;left:auto;width:min(420px,calc(100vw - 16px));max-height:calc(100vh - 140px);}
  }
  .stmsg{position:sticky;top:8px;z-index:20;box-shadow:0 8px 24px rgba(0,0,0,.5);}
  /* Runde 2: Kontrast, Tippflächen, Suchfeld */
  .subnav .subt{color:#8A867C;}
  .mbub .btime{color:#A19D92;}
  .search input{align-self:stretch;height:auto;}
  @media (max-width:1100px){
    .subnav a{min-height:40px;}
    main .chipbtn,main .ai-btn.sm{min-height:40px;}
    main button.link{min-height:40px;}
    .calev{pointer-events:none;}
  }
  .hlogo:focus-visible{outline:2px solid #E8C56A;outline-offset:3px;border-radius:8px;}
  @media (max-width:430px){ header .hlogo > div:not(.logo-mark){display:none;} }
  /* Hell-Modus: rote Texte knapp unter 4,5:1 aufgehellt, Zähler im aktiven Filter besser lesbar */
  html.lr-light [style*="F08A82" i],html.lr-light .m-lo{color:#FFA69E !important;}
  html.lr-light .pill.active .pill-count{color:#000;}
  .th .sa{opacity:.85;}
  @media (max-width:1100px){
    div:has(> #cal-title){width:100%;flex-wrap:nowrap !important;gap:6px !important;}
    #cal-title{min-width:0 !important;flex:1 1 auto;font-size:18px !important;}
  }
  @media (max-width:370px){ #cal-title{font-size:16px !important;} }
  /* Sehr lange Wörter (z. B. Titel ohne Leerzeichen) sprengen keine Karten mehr */
  .upitem > div,.caldayitem > div,.lcrow2 > span,.mitem > div{min-width:0;}
  .upitem,.caldayitem,.lcrow2 b,.lcrow2 .hint,.mbub,.astmsg,.sumbox,.notice,.attchip,.caldaybox b,.mitem .btitle{overflow-wrap:anywhere;}
  /* Barrierefreiheit: Sprunglink zum Inhalt (nur bei Tastaturfokus sichtbar) */
  .skiplink{position:fixed;left:8px;top:-80px;z-index:100000;background:#D4A437;color:#0B0B0C;padding:10px 16px;border-radius:8px;font-weight:700;font-size:14px;text-decoration:none;}
  .skiplink:focus{top:8px;outline:2px solid #fff;outline-offset:2px;}
  main:focus{outline:none;}
  /* Runde 3: Kopfzeile zwischen 1361 und 1560 px war zu voll (Suchfeld nur 64 px breit, Hell/Dunkel-Knopf gequetscht) */
  @media (max-width:1560px) and (min-width:1361px){
    header{padding:0 24px !important;gap:12px !important;}
    header .search{width:240px !important;min-width:140px;flex-shrink:1;}
  }
  header .icon-btn,header .astbtn,header a.btn-primary,header .avatar,header .morewrap{flex-shrink:0;}
  @media (max-width:1419px) and (min-width:1361px){ header .hchip{display:none !important;} }
  /* Einstellungen mobil: Ein/Aus-Knopf bleibt klein neben dem Text statt die ganze Breite zu füllen */
  @media (max-width:1100px){
    .strow[data-lrw]:has(> button.chip2){flex-wrap:nowrap;align-items:center;}
    .strow[data-lrw]:has(> button.chip2) > div{flex:1 1 0;min-width:0;}
    .strow[data-lrw] > button.chip2{flex:0 0 auto;width:auto;min-width:68px;}
  }
  html.lr-light [style*="rgb(240, 138, 130)" i]{color:#FFA69E !important;}
  /* Nachrichten mobil: in der Liste ist noch nichts ausgewählt, also auch keinen Rahmen um die erste Nachricht zeigen */
  @media (max-width:1100px){ .nmwrap:not(.nm-open) .mitem.sel{outline:none;} }
  /* Lange Betreffzeilen ohne Leerzeichen (Tickets, Nachrichten) sprengen keine Zellen mehr */
  .mitem .hint,.tkrow > span,.tkrow > b,.tkrow > .link{overflow-wrap:anywhere;min-width:0;}
  /* Kalender mobil: "+ n weitere" passt nicht in die schmale Tageszelle, die Termine stehen im Tages-Kasten unter dem Kalender */
  @media (max-width:1100px){ .calcell > .hint{display:none;} }
  /* Startcheckliste (leere Ansicht) mobil: Zeile darf umbrechen, Abhaken-Knopf ist gut tippbar */
  @media (max-width:1100px){
    .onbrow{flex-wrap:wrap;}
    .onbrow > div{flex:1 1 180px;min-width:0 !important;}
    .onbrow > a.btn,.onbrow > button.btn{flex:1 1 100%;justify-content:center;}
    .onbchk{width:40px;height:40px;}
  }
  /* Prüfer: Nachrichten-Panel in der Kopfzeile und Gesprächskopf: lange Betreffzeilen ohne Leerzeichen laufen nicht mehr seitlich weg */
  .bellpanel,.nmwrap h2,.nmwrap .hint{overflow-wrap:anywhere;}
  .nmwrap .hint[style*="ellipsis"],.bellpanel .hint[style*="ellipsis"]{overflow-wrap:normal;}
  /* Prüfer: Mitarbeiter mit sehr langem Namen oder langer E-Mail-Adresse ragen mobil nicht mehr aus der Karte */
  .staffrow b,.staffrow .hint{overflow-wrap:anywhere;min-width:0;max-width:100%;}

/* ===== Agent "produkte": Produkte, Lager, Einkauf, Staffelpreise, Findbarkeit, Produkt einstellen/bearbeiten ===== */

/* Spaltenüberschriften mit Sortierpfeil: genug Breite, damit sie nicht in die Nachbarspalte laufen */
.prow2{grid-template-columns:44px minmax(0,2.2fr) 100px 128px 100px 80px 120px 100px 110px;}
.lrow2{grid-template-columns:minmax(0,1.6fr) 76px 60px 90px 92px 114px 60px 148px 120px;}
.tpp{grid-template-columns:minmax(0,1.6fr) 122px 80px 80px 80px 80px 80px 100px;}
.phead2 .th,.lhead2 .th,.tphead .th{white-space:nowrap;}

/* Kartonkacheln im Lager: Name und Status brechen um, statt aus der Kachel zu laufen */
div[style*="border:1px solid #262628;border-radius:12px"] > div:first-child,
div[style*="border: 1px solid #262628; border-radius: 12px"] > div:first-child{flex-wrap:wrap;}
div[style*="border:1px solid #262628;border-radius:12px"] > div:first-child > div:first-child,
div[style*="border: 1px solid #262628; border-radius: 12px"] > div:first-child > div:first-child{flex:1 1 150px;min-width:0;}

/* Bildkacheln beim Produkt bearbeiten: Knöpfe brechen um, statt sich zu überlappen */
div[style*="justify-content: space-between; gap: 6px; padding: 8px 10px"],
div[style*="justify-content:space-between;gap:6px;padding:8px 10px"]{flex-wrap:wrap;row-gap:4px !important;}
div[style*="justify-content: space-between; gap: 6px; padding: 8px 10px"] > button,
div[style*="justify-content:space-between;gap:6px;padding:8px 10px"] > button{white-space:nowrap;}

@media (max-width:1100px){
  /* Kontrollkästchen: größer und mit unsichtbarer, größerer Tippfläche */
  main :not(label.switch) > input[type=checkbox]{width:26px;height:26px;position:relative;}
  main :not(label.switch) > input[type=checkbox]::after{content:"";position:absolute;inset:-9px;}
  main label:has(> input[type=checkbox]):not(.switch){min-height:44px;display:flex;align-items:center;gap:10px;}
  /* Brotkrumen-Link (Produkte / Neues Produkt) besser antippbar */
  .crumb a{display:inline-block;padding:12px 6px;margin:-12px -6px;}
  /* Knöpfe unter Bildkacheln nicht überlappen lassen */
  div[style*="justify-content: space-between; gap: 6px; padding: 8px 10px"],
  div[style*="justify-content:space-between;gap:6px;padding:8px 10px"]{row-gap:22px !important;}
}

/* Hell-Modus (Filter-Inversion): Kontrast für gedämpfte Texte auf den Seiten dieser Gruppe anheben (nur seitenbezogen) */
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.hint,p.sub,.kpi-note,.kpi-label,.kpilink,.crumb,.crumb a,div.input,.th,.phead2,.lhead2,.tphead,.tphead2,.pohead,.ekhead,th){color:#B4B0A4;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is([style*="color: #9A968C"],[style*="color:#9A968C"],[style*="color: #8A867C"],[style*="color:#8A867C"],[style*="color: rgb(154, 150, 140)"],[style*="color: rgb(138, 134, 124)"]){color:#B4B0A4 !important;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.th:hover,.th.on,a.link,button.link:not([style*="F08A82"]),.kpi-go){color:#E8C56A;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.badge-green){color:#86DDAF;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.badge-amber){color:#F0C463;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.badge-red,.m-lo,.errbox){color:#FBB4AE;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is([style*="color: #F08A82"],[style*="color:#F08A82"],button.link[style*="F08A82"]){color:#F6A29B !important;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) .btn-primary{background:#E0B449 !important;}
html.lr-light body:has(.subnav a[href^="Staffelpreise"]) :is(.pill.active,.chip2.active,.pgbtn.active){background:#E0B449;}

/* Kennzahlen-Kacheln: die ganze Kachel ist anklickbar (bisher nur die kleine Beschriftung), mobil gut treffbar */
body:has(.subnav a[href^="Staffelpreise"]) .kpitile{position:relative;}
body:has(.subnav a[href^="Staffelpreise"]) .kpitile .kpilink::after{content:"";position:absolute;inset:0;border-radius:inherit;}
body:has(.subnav a[href^="Staffelpreise"]) .kpitile .kpilink:focus-visible{outline:none !important;}
body:has(.subnav a[href^="Staffelpreise"]) .kpitile:has(.kpilink:focus-visible){outline:2px solid #D4A437;outline-offset:2px;}

@media (max-width:1100px){
  /* Untermenü (Produkte, Lager, Einkauf, ...): Tippfläche mindestens 40 px hoch */
  .subnav:has(a[href^="Staffelpreise"]) a{min-height:40px;padding-top:9px;padding-bottom:9px;}
  /* Kontrollkästchen ohne Standard-Außenabstand, damit sie nicht aus ihrer Zelle ragen */
  main :not(label.switch) > input[type=checkbox]{margin:0;}
  /* "Schließen" in Meldungen: bequem antippbar */
  body:has(.subnav a[href^="Staffelpreise"]) .notice button.link{min-height:40px;padding:0 8px;}
  body:has(.subnav a[href^="Staffelpreise"]) .ai-btn{min-height:40px;}
}

/* Einkauf, Bestellliste: "Erhalten 320 von 320" bricht nicht mehr um */
.porow{grid-template-columns:120px 84px minmax(0,1fr) 90px 132px 100px 130px 250px;}

/* Einkauf, Lieferanten: die E-Mail-Adresse bekommt eine breite Spalte (vorher 110 px, die Adresse brach mitten im Wort um) */
.ekrow.eksup{grid-template-columns:minmax(0,1.1fr) minmax(0,1.7fr) minmax(0,1fr) 120px 160px;}
.ekrow.eksup > .hint{overflow-wrap:anywhere;}

@media (max-width:1100px){
  /* Produkte, Karte: Einkaufspreis-Link (Wert) bekommt eine mindestens 40 px hohe Tippfläche, ohne dass sich das Layout verschiebt */
  .prow2 a.plain{padding-top:5px;padding-bottom:5px;margin-top:-5px;margin-bottom:-5px;}
}

/* Lager, Regal- und Standort-Kacheln: sehr lange Namen brechen um, statt aus der Kachel zu laufen */
.shtile .shcode,.shtile .hint,.shtile b{overflow-wrap:anywhere;min-width:0;}

@media (max-width:1100px){
  /* Lager, Regale und Standorte: "Entfernen" mindestens 40 px hoch antippbar */
  .shrm{min-height:40px;padding:0 10px 0 0;display:inline-flex;align-items:center;}
}

@media (max-width:1100px){
  /* Produkt bearbeiten, Bildkacheln: "Entfernen" und "Als Hauptbild" mindestens 40 px hoch antippbar */
  div[style*="justify-content: space-between; gap: 6px; padding: 8px 10px"] > button,
  div[style*="justify-content:space-between;gap:6px;padding:8px 10px"] > button{min-height:40px;}
}

/* ===== Agent "verkauf": Übersicht, Bestellungen, Retouren, Versand, Streitfälle, Kunden ===== */
/* Übersicht: Detailfeld unter dem Diagramm ist bei mittleren Breiten (Inhalt schmaler als ca. 840 px) zu eng, Zellen liefen über. Dann zweizeilig. */
@media (min-width:1101px) and (max-width:1365px){
  .dpanel{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:14px;}
  .dpanel > :first-child{grid-column:1 / 3;grid-row:1;}
  .dpanel > :last-child{grid-column:3 / 5;grid-row:1;justify-self:end;}
}
/* Kunden: Spalte "Bestellungen" war mit 100 px zu schmal für die Überschrift (114 px) */
.kurow{grid-template-columns:minmax(0,1.1fr) 124px 110px 110px 120px minmax(0,1.4fr) 120px 70px;}
/* Übersicht: Hinweis bei ungültigem eigenem Zeitraum */
.cerr{flex-basis:100%;text-align:right;font-size:13px;line-height:1.4;color:#F09A8A;}
.cerr[hidden]{display:none;}
.dateinput[aria-invalid="true"]{border-color:#C46A5A;}
/* Dialoge: Fokus auf dem Fenster selbst ohne Rahmen; Hinweise in Sammelleiste und Exportmenü */
[role="dialog"]:focus{outline:none;}
.bulkbar:has(.vknote){flex-wrap:wrap;}
.bulkbar .vknote{flex-basis:100%;color:#E8C56A;font-size:13.5px;}
.menupanel .vknote{padding:8px 12px 4px 12px;color:#E8C56A;}
/* Übersicht: Ring-Beschriftung war mit 7,5 Einheiten zu klein */
.donut .dlab{font-size:8.5px;}
/* Mobil: größere Tippflächen in Listen der Verkaufsseiten */
@media (max-width:1100px){
  main input[type=checkbox].row-check{width:28px;height:28px;}
  main .brow2 button.link,main .rerow button.link,main .rtrow button.link,main .kurow button.link,main #rg-more,main #ku-more{min-height:40px;}
  main .legrow,main .cbrow{min-height:44px;}
}
/* Retouren: bei 1361 bis 1439 px war die Spalte "Artikel" nur ca. 64 px breit, Text lief in die Nachbarspalten */
@media (min-width:1361px) and (max-width:1439px){
  .rtrow{grid-template-columns:32px 110px 96px minmax(120px,1.5fr) 150px 80px 90px 210px 170px;}
}
/* Versandlabels: Spalte mit "Label ansehen" und "Verfolgen" war 2 px zu schmal */
.lrow{grid-template-columns:36px 100px 100px minmax(0,1fr) 120px 200px 80px 130px 200px;}
/* Übersicht: Leerraum im Knopf "Diese ... Bestellungen ansehen" */
.dpanel .btn{gap:5px;}
/* Übersicht mobil: Säulen etwas enger setzen, damit die Datumsbeschriftung in die Säule passt */
@media (max-width:1100px){
  .barbtn span[style*="11.5px"]{font-size:11.5px !important;}
}
@media (max-width:600px){
  .barbtn > span:first-child{font-size:12px !important;}
}
@media (max-width:480px){
  div:has(> .barbtn){gap:3px !important;}
}
/* Übersicht: auf schmalen Handys (360 px) war die Zeile der Kategorien 8 px zu breit */
@media (max-width:400px){
  .cbname{flex-basis:96px;}
  .cbval{flex-basis:64px;}
  .cbrow{gap:8px;}
}
/* Statusmarken mit langem Text (z. B. "Label gesendet, unterwegs") dürfen umbrechen und wachsen mit, statt über den Rand zu laufen */
main .rtrow .badge,main .dprow .badge,main .kurow .badge,main .brow2 .badge{height:auto;min-height:24px;padding-top:3px;padding-bottom:3px;white-space:normal;line-height:1.25;}
@media (max-width:1100px){
  main .badge{height:auto;min-height:24px;padding-top:3px;padding-bottom:3px;white-space:normal;line-height:1.25;}
}
/* Sortierung auf dem Handy: die Spaltenköpfe sind dort ausgeblendet, deshalb gibt es eine Auswahl "Sortieren nach" */
.vksort{width:100%;height:44px;}
.vksort[hidden]{display:none !important;}
/* Versandlabels mobil: Gewicht und Maße in zwei Spalten statt vier Feldern untereinander */
@media (max-width:1100px){
  main div[style*="130px repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
/* Mobil: Listenzeilen (Karten) blieben bei Filter und Suche sichtbar, weil "main [data-lrm]{display:flex !important}" das ausgeblendete display:none überstimmt hat */
@media (max-width:1100px){
  main [data-lrm][style*="display: none"],main [data-lrm][style*="display:none"],main [data-lrm][hidden]{display:none !important;}
}
/* Mobil: Sammelleiste (Auswahl in Listen) lief mit ihren Knöpfen über den Bildschirmrand hinaus, jetzt umbrechend in zwei Spalten */
@media (max-width:1100px){
  .bulkbar{flex-wrap:wrap;gap:8px;}
  .bulkbar > b{flex:1 1 100%;}
  .bulkbar > div[style*="flex-grow"]{display:none;}
  .bulkbar > .btn,.bulkbar > a.btn{flex:1 1 calc(50% - 8px);min-width:140px;justify-content:center;text-align:center;}
  #rt-bulkbtns{flex-wrap:wrap !important;flex:1 1 100%;gap:8px !important;}
  #rt-bulkbtns .btn{flex:1 1 calc(50% - 8px);min-width:140px;justify-content:center;text-align:center;}
  [role="dialog"] .edit-btn,[role="dialog"] button.link{min-height:40px;}
}
/* Mobil: "Schließen" im Kundendetail und in Hinweisleisten war nur 36 px hoch */
@media (max-width:1100px){
  #ku-x,main .notice button.link,main .card > div:first-child > button.link{min-height:40px;}
}

  /* Leitung (nach dem Zusammenführen): Balkendiagramme auf dem Handy, Beschriftung am Rand nicht über den Rand hinaus laufen lassen */
  @media (max-width:600px){ .barbtn:first-child > span{align-self:flex-start;} .barbtn:last-child > span{align-self:flex-end;} }
  /* Betreiber-Bereich: Sprungziele ("Springe zu") nicht unter der Kopfzeile verstecken */
  body:has(.ad-marker) [id^="ad2-"]{scroll-margin-top:84px;}


  body{min-width:1101px;}
  .page{min-height:100vh;display:flex;flex-direction:column;}
  main{max-width:1440px;width:100%;margin:0 auto;}
  header,.nav{justify-content:flex-start;}
