.zammler-page { min-width:0; max-width:100%; display:flex; flex-direction:column; gap:12px; }
.zammler-brands { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:86px; padding:4px 12px; background:#fff; border:1px solid #d7dde0; border-radius:8px; }
.zammler-brands img { display:block; max-width:48%; max-height:76px; object-fit:contain; }
.zammler-brands img:first-child { width:118px; }
.zammler-brands img:last-child { width:min(560px,68%); }
.zammler-toolbar { display:flex; align-items:center; gap:12px; }
.zammler-refresh { padding:9px 16px; }
.zammler-toolbar .zammler-collapse[aria-pressed="true"] { background:#006dcc; border-color:#006dcc; color:#fff; }
.zammler-table td:nth-child(12) { white-space:nowrap; overflow-wrap:normal; min-width:18ch; max-width:none; }
.zammler-status { color:#52636a; font-size:13px; }
.zammler-scroll { min-height:120px; max-height:calc(100vh - 255px); overflow:auto; border:1px solid #c6d0d4; background:#fff; }
.zammler-table { min-width:1700px; width:100%; border-collapse:separate; border-spacing:0; }
.zammler-table th { position:sticky; top:0; z-index:2; min-width:105px; max-width:190px; padding:9px 8px; background:#e8eef0; color:#22383e; white-space:normal; cursor:pointer; user-select:none; }
.zammler-table th:hover { background:#dce8ea; }
.zammler-table th.zammler-filtered { color:rgb(0,122,135); }
.zammler-funnel { width:12px; height:12px; margin-left:5px; vertical-align:-1px; }
.zammler-filter-input { box-sizing:border-box; width:100%; min-width:100px; padding:5px; }
.zammler-table td { max-width:240px; padding:8px; vertical-align:top; overflow-wrap:anywhere; }
.zammler-table td:nth-child(1),.zammler-table td:nth-child(2),.zammler-table td:nth-child(4),.zammler-table td:nth-child(5),.zammler-table td:nth-child(6) { white-space:nowrap; }
.zammler-editable { cursor:text; background:#f7fbfc; }
.zammler-editable:hover { outline:1px solid #007a87; outline-offset:-1px; }
.zammler-editable input,.zammler-editable select { box-sizing:border-box; width:100%; min-width:120px; padding:5px; }
.zammler-context-menu { position:fixed; z-index:3000; min-width:170px; padding:4px; background:white; border:1px solid #88979b; border-radius:5px; box-shadow:0 5px 20px #0003; }
.zammler-context-menu button { width:100%; padding:9px 12px; text-align:left; border:0; background:white; cursor:pointer; }
.zammler-context-menu button:hover { background:#eaf2f3; }
.zammler-pdf-overlay { position:fixed; inset:0; z-index:3200; display:grid; place-items:center; padding:16px; background:#000a; }
.zammler-pdf-card { display:flex; flex-direction:column; width:min(1100px,96vw); height:min(900px,94vh); padding:14px; background:white; color:#1d292d; border-radius:8px; box-shadow:0 12px 48px #0006; }
.zammler-pdf-card h2 { margin:0 0 10px; font-size:18px; }
.zammler-pdf-controls { display:flex; align-items:center; gap:8px; padding-bottom:10px; }
.zammler-pdf-controls button,.zammler-pdf-controls a { padding:7px 12px; border:1px solid #b8c4c8; border-radius:4px; color:#183e43; background:#f8fbfb; text-decoration:none; cursor:pointer; }
.zammler-pdf-viewport { flex:1; min-height:0; overflow:auto; background:#59656a; text-align:center; }
.zammler-pdf-viewport iframe { width:100%; height:100%; border:0; background:white; }
@media(max-width:700px) { .zammler-brands { min-height:62px; } .zammler-brands img { max-height:55px; } .zammler-brands img:first-child { width:90px; } .zammler-scroll { max-height:calc(100vh - 190px); } .zammler-pdf-controls { flex-wrap:wrap; } }
@media print { .zammler-pdf-overlay { position:static; display:block; padding:0; background:white; } .zammler-pdf-card { width:100%; height:100vh; padding:0; box-shadow:none; } .zammler-pdf-card h2,.zammler-pdf-controls { display:none; } }

.zammler-return-line { margin-top:8px; color:#c60023; font-weight:700; min-height:1.4em; }
.zammler-return-line a { color:#c60023; font-weight:700; }
.zammler-return-line.zammler-editable { background:#fff1f3; }

.zammler-pdf-card{box-sizing:border-box;min-width:0;min-height:0;overflow:hidden;height:min(900px,94dvh)}
.zammler-pdf-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin-bottom:8px}
.zammler-pdf-header h2{margin:0;overflow-wrap:anywhere}
.zammler-pdf-close{flex:none;width:40px;height:40px;padding:0;border:1px solid #b8c4c8;border-radius:6px;background:white;color:#183e43;font:28px system-ui;cursor:pointer}
.zammler-pdf-viewport{overflow:hidden;min-width:0}
.zammler-pdf-viewport iframe{display:block}
@media(max-width:700px){.zammler-pdf-overlay{padding:6px}.zammler-pdf-card{width:100%;height:96dvh;padding:8px}.zammler-pdf-header h2{font-size:16px}}
