/* Fachweise Übersicht – helle Glasoptik, dunkelblauer Akzent, kein innerer Scrollbereich. */
#zlMaterialOverview[hidden]{display:none!important}
#zlMaterialOverview{
  --mat-navy:#003b61;--mat-muted:#688393;--mat-line:#d4e3eb;
  position:relative;
  margin:16px auto 25px;padding:23px;max-width:1040px;min-width:0;
  background:linear-gradient(130deg,rgba(247,252,255,.98),rgba(232,245,251,.91));
  border:1px solid #c7dce8;border-radius:24px;box-shadow:0 12px 32px rgba(16,61,87,.07);
  color:#173e56;overflow:visible;
}
#zlMaterialOverview *{box-sizing:border-box}
#zlMaterialOverview button{cursor:pointer}
#zlMaterialOverview button:disabled{opacity:.45;cursor:not-allowed}
#zlMaterialOverview button:focus-visible,#zlMaterialOverview select:focus-visible{outline:3px solid #67aacd;outline-offset:3px}
#zlMaterialOverview #zlMaterialTitle:focus{outline:none}
#zlMaterialOverview.zl-mat-menu-open{z-index:1200}
#zlMaterialOverview .zl-mat-head{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:18px}
#zlMaterialOverview .zl-mat-head small{color:#688d9f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
#zlMaterialOverview .zl-mat-head h3{margin:7px 0 6px;font-size:clamp(22px,3vw,30px);color:var(--mat-navy);letter-spacing:-.03em}
#zlMaterialOverview .zl-mat-head p{color:#638094;font-size:12px;line-height:1.6;margin:0;max-width:580px}
#zlMaterialOverview .zl-mat-head-actions{display:flex;align-items:center;flex:none;gap:8px}
#zlMaterialOverview .zl-mat-head-actions button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #c9dce7;border-radius:13px;background:rgba(255,255,255,.83);color:var(--mat-navy);box-shadow:0 2px 7px rgba(15,56,81,.08);transition:background .17s,border-color .17s,box-shadow .17s}
#zlMaterialOverview .zl-mat-head-actions button:is(:hover,:focus-visible,[aria-expanded=true]){background:#e6f2f8;border-color:#a8cbdc;box-shadow:0 4px 12px rgba(15,56,81,.13)}
#zlMaterialOverview .zl-mat-head-actions button svg{display:block;width:21px;height:21px;box-sizing:border-box;flex:none;padding:0;border:0!important;background:none!important;box-shadow:none!important}
#zlMaterialOverview .zl-mat-head-actions button[data-mat-action=settings] svg{width:23px;height:23px}
#zlMaterialOverview .zl-mat-head-actions .zl-mat-order-trigger{background:#e6f2f8;border-color:#bbd4e2;color:#124b70}
#zlMaterialOverview .zl-mat-order-count:not([hidden]){position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border:2px solid #f7fcff;border-radius:999px;background:#c9e0ed;color:#063c5d;font-size:11px;font-weight:820;line-height:1}
#zlMaterialOverview .zl-mat-order-count[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-head-actions button[data-mat-action=close]{border-color:#d2e1e9;background:rgba(245,250,253,.85)}
#zlMaterialOverview .zl-mat-head-actions button[data-mat-action=close] svg{width:21px;height:21px}
#zlMaterialOverview .zl-mat-settings-scrim[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-settings-scrim{position:fixed;inset:0;z-index:59;margin:0;padding:0;width:100vw;height:100dvh;border:0;border-radius:0;background:rgba(12,36,52,.28);-webkit-backdrop-filter:blur(2.5px);backdrop-filter:blur(2.5px);touch-action:none;cursor:default}
#zlMaterialOverview .zl-mat-settings[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-settings{position:absolute;top:70px;right:15px;z-index:60;width:min(425px,calc(100vw - 40px));max-height:min(75dvh,680px);overflow:auto;overscroll-behavior:contain;padding:17px;border-radius:20px;border:1px solid rgba(255,255,255,.9);outline:1px solid rgba(137,174,194,.56);background:rgba(251,254,255,.96);-webkit-backdrop-filter:blur(22px) saturate(1.2);backdrop-filter:blur(22px) saturate(1.2);box-shadow:0 27px 64px rgba(8,38,58,.3),0 7px 18px rgba(8,38,58,.13),inset 0 1px rgba(255,255,255,.9);color:#214c67;animation:zl-mat-menu-enter .17s ease-out}
@keyframes zl-mat-menu-enter{from{opacity:.3;transform:translateY(-7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
#zlMaterialOverview .zl-mat-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#zlMaterialOverview .zl-mat-settings-head strong{font-size:17px;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-settings-head button,#zlMaterialOverview .zl-mat-settings-bottom button{border:0;background:transparent;font-size:12px;color:#49728a;min-height:36px;padding:5px 8px}
#zlMaterialOverview .zl-mat-settings-view{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0 16px;border-bottom:1px solid #d9e7ee;font-size:12px;font-weight:750}
#zlMaterialOverview .zl-mat-settings-view>div{display:flex;border:1px solid #c8dce7;border-radius:10px;padding:3px;gap:3px;background:#edf5f9}
#zlMaterialOverview .zl-mat-settings-view button{border:0;background:transparent;color:#597b90;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:740;min-height:34px}
#zlMaterialOverview .zl-mat-settings-view button[aria-pressed=true]{background:#003b61;color:#fff}
#zlMaterialOverview .zl-mat-settings-hint{margin:0;padding:8px 0 12px;font-size:10px;color:#6e8a9b;line-height:1.55;border-bottom:1px solid #d9e7ee}
#zlMaterialOverview .zl-mat-settings-subtitle{display:flex;flex-direction:column;gap:3px;margin:14px 0 10px}
#zlMaterialOverview .zl-mat-settings-subtitle strong{font-size:13px;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-settings-subtitle small{font-size:11px;color:#7692a1}
#zlMaterialOverview .zl-mat-settings-list{display:grid;gap:10px}
#zlMaterialOverview .zl-mat-settings-group{padding:10px;border-radius:13px;border:1px solid #d6e5ec;background:#fff}
#zlMaterialOverview .zl-mat-settings-group-label{display:flex;align-items:center;gap:9px;margin-bottom:9px}
#zlMaterialOverview .zl-mat-settings-group-label>span:nth-child(2){flex:1;min-width:0;font-size:12px;font-weight:760;line-height:1.35;overflow-wrap:anywhere}
#zlMaterialOverview .zl-mat-order-buttons{display:flex;gap:4px}
#zlMaterialOverview .zl-mat-order-buttons button{width:34px;height:36px;padding:0;border-radius:9px;border:1px solid #cbdfe8;background:#eff6fa;color:#285d7b;font-size:20px}
#zlMaterialOverview .zl-mat-settings-group label{display:flex;flex-direction:column;gap:5px;color:#718d9d;font-size:10px;font-weight:750}
#zlMaterialOverview .zl-mat-settings-group select{appearance:auto;background:#f6fafc;border:1px solid #d4e3eb;border-radius:9px;width:100%;min-width:0;height:38px;padding:6px 8px;font-size:12px;color:#28566f}
#zlMaterialOverview .zl-mat-settings-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
#zlMaterialOverview .zl-mat-settings-bottom span{font-size:10px;line-height:1.45;color:#8098a6}
#zlMaterialOverview .zl-mat-kind{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1px solid #d3e2eb;border-radius:13px;background:#ffffffba;padding:4px;margin-bottom:21px;max-width:360px}
#zlMaterialOverview .zl-mat-kind button{background:transparent;border:0;border-radius:10px;color:#688796;font-size:13px;font-weight:750;min-height:40px;padding:8px 12px}
#zlMaterialOverview .zl-mat-kind button[aria-pressed=true]{background:var(--mat-navy);color:white;box-shadow:0 3px 8px #003b6120}
#zlMaterialOverview .zl-mat-groups-intro{margin:0 0 12px;color:#6b8999;font-size:12px;font-weight:650}
#zlMaterialOverview .zl-mat-groups{display:flex;flex-direction:column;gap:18px;min-width:0}
#zlMaterialOverview .zl-mat-group{min-width:0;border:1px solid #d4e4ec;border-radius:19px;padding:15px;background:rgba(255,255,255,.70);box-shadow:0 3px 10px #16476608}
#zlMaterialOverview .zl-mat-group-heading{display:flex;align-items:center;gap:11px;margin:1px 3px 12px}
#zlMaterialOverview .zl-mat-group-picture{display:grid;place-items:center;position:relative;flex:0 0 48px;width:48px;height:48px;border-radius:12px;border:1px solid #d5e5ed;background:#edf6fa;overflow:hidden;color:#397b9f}
#zlMaterialOverview .zl-mat-group-picture svg{width:29px;height:29px;display:block;flex:none}
#zlMaterialOverview .zl-mat-group-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
#zlMaterialOverview .zl-mat-group-picture img[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-group-text{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;gap:4px;min-width:0}
#zlMaterialOverview .zl-mat-group-heading h4{margin:0;font-size:16px;font-weight:820;line-height:1.35;letter-spacing:-.015em;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-group-heading span{color:#6c8999;font-size:11px;font-weight:680}
#zlMaterialOverview .zl-mat-settings-group-label .zl-mat-group-picture{width:34px;height:34px;flex-basis:34px;border-radius:9px}
#zlMaterialOverview .zl-mat-settings-group-label .zl-mat-group-picture svg{width:21px;height:21px}
#zlMaterialOverview .zl-mat-group .zl-mat-rack{padding:13px;background:rgba(238,247,252,.83)}
#zlMaterialOverview .zl-mat-system{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#7b97a6;font-weight:800}
#zlMaterialOverview .zl-mat-system select{display:block;width:100%;margin-top:9px;appearance:auto;background:#fff;border:1px solid #c5dae6;border-radius:12px;color:var(--mat-navy);font-weight:730;font-size:14px;padding:13px 15px;min-height:48px}
#zlMaterialOverview .zl-mat-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0}
#zlMaterialOverview .zl-mat-summary span{display:flex;flex-direction:column;gap:6px;padding:13px 17px;background:rgba(255,255,255,.83);border:1px solid #d7e6ed;border-radius:14px}
#zlMaterialOverview .zl-mat-summary strong{font-size:23px;line-height:1;color:var(--mat-navy);font-weight:790}
#zlMaterialOverview .zl-mat-summary small{font-size:11px;color:#7892a0}
#zlMaterialOverview .zl-mat-rack{background:rgba(235,245,251,.8);border:1px solid #cedfea;border-radius:18px;padding:20px;min-width:0}
#zlMaterialOverview .zl-mat-rack-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:22px}
#zlMaterialOverview .zl-mat-rack-head strong{font-size:15px;color:var(--mat-navy);font-weight:800}
#zlMaterialOverview .zl-mat-rack-head small{display:block;color:#7895a3;font-size:11px;margin-top:4px}
#zlMaterialOverview .zl-mat-rack-head>span{padding:7px 10px;background:#fff;border:1px solid #d4e3eb;border-radius:9px;font-size:10px;color:#618397;font-weight:730}
#zlMaterialOverview .zl-mat-grid{display:grid;grid-template-columns:49px repeat(var(--mat-cols),minmax(0,1fr));gap:8px;align-items:stretch}
#zlMaterialOverview .zl-mat-axis-corner{font-size:10px;line-height:1.5;letter-spacing:.05em;text-transform:uppercase;font-weight:800;text-align:center;color:#829daa;align-self:center}
#zlMaterialOverview .zl-mat-axis-diameter{display:grid;place-items:center;font-size:13px;font-weight:800;color:var(--mat-navy);border-bottom:1px solid #c0d6e2;padding:10px 4px 14px;white-space:nowrap}
#zlMaterialOverview .zl-mat-axis-length{display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--mat-navy);font-size:14px;font-weight:800}
#zlMaterialOverview .zl-mat-axis-length small{font-size:9px;color:#7895a4;font-weight:550}
#zlMaterialOverview .zl-mat-cell{position:relative;min-width:0;min-height:93px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;
   background:#fff;border:1px solid #cbdfe9;border-radius:14px;box-shadow:0 4px 0 #d6e5ed60;color:var(--mat-navy);padding:10px 7px}
#zlMaterialOverview button.zl-mat-cell:hover{border-color:#72a6c0}
#zlMaterialOverview .zl-mat-cell.selected{outline:2px solid var(--mat-navy);outline-offset:1px}
#zlMaterialOverview .zl-mat-cell strong{font-size:27px;line-height:1;font-weight:800;letter-spacing:-.055em;color:inherit}
#zlMaterialOverview .zl-mat-cell small{font-size:10px;color:#8299a6;font-weight:700}
#zlMaterialOverview .zl-mat-cell.low{background:#fff4da;border-color:#e7d7af;color:#94661f}
#zlMaterialOverview .zl-mat-cell.low small{color:#996e2d}
#zlMaterialOverview .zl-mat-cell.empty{background:#fff0f2;border-color:#e9d5d9;color:#ae4f5d}
#zlMaterialOverview .zl-mat-cell.empty small{color:#ab6871}
#zlMaterialOverview .zl-mat-cell.missing{background:repeating-linear-gradient(130deg,#f4f8fa,#f4f8fa 8px,#ecf3f7 8px,#ecf3f7 16px);color:#9dafba;border-color:#dbe5eb}
#zlMaterialOverview .zl-mat-cell.missing strong{font-weight:500}
#zlMaterialOverview .zl-mat-cell.missing small{font-size:8px}
#zlMaterialOverview button.zl-mat-available-candidate{box-shadow:none;transition:background .16s,border-color .16s}
#zlMaterialOverview button.zl-mat-available-candidate:hover{background:#e6f2f9;border-color:#8ab8d2}
#zlMaterialOverview button.zl-mat-ref-known{background:#eef8f6;border-color:#b8d7cd;color:#386e64}
#zlMaterialOverview button.zl-mat-ref-known small{color:#497f72}
#zlMaterialOverview .zl-mat-available-candidate strong{font-size:21px;font-weight:500;color:#6a92a8}
#zlMaterialOverview .zl-mat-matrix-placeholder{min-height:78px}
#zlMaterialOverview .zl-mat-cell em{font-size:9px;font-style:normal;color:#b34955;font-weight:700;text-align:center;line-height:1.2}
#zlMaterialOverview .zl-mat-shades{display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:10px}
#zlMaterialOverview .zl-mat-shades .zl-mat-cell{min-height:113px}
#zlMaterialOverview .zl-mat-shade{font-size:clamp(10px,2.5vw,14px);color:var(--mat-navy);font-weight:800;margin-bottom:5px;max-width:100%;overflow-wrap:anywhere;line-height:1.2;text-align:center}
#zlMaterialOverview .zl-mat-components{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
#zlMaterialOverview .zl-mat-components .zl-mat-cell{min-height:132px;gap:5px}
#zlMaterialOverview .zl-mat-components .zl-mat-shade{margin-bottom:0}
/* Prothetik: dieselbe Achsenlogik wie bei Implantaten, ohne Detailtexte auf den Kacheln. */
#zlMaterialOverview .zl-mat-dimensioned-prosthetics{display:grid;gap:17px;min-width:0}
#zlMaterialOverview .zl-mat-dim-section{display:grid;gap:11px;min-width:0}
#zlMaterialOverview .zl-mat-dim-section.is-rare{border-top:1px solid #b9cfdc;padding-top:15px}
#zlMaterialOverview .zl-mat-dim-rare-heading{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;padding:10px 13px;border-radius:12px;background:#fff5e5;border:1px solid #e4d0aa}
#zlMaterialOverview .zl-mat-dim-rare-heading strong{color:#855c24;font-size:13px;font-weight:800}
#zlMaterialOverview .zl-mat-dim-rare-heading small{color:#987a51;font-size:11px}
#zlMaterialOverview .zl-mat-prosthetic-grid{gap:7px}
#zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-axis-corner small{display:block;font-size:13px;line-height:1}
#zlMaterialOverview .zl-mat-prosthetic-slot{display:flex;align-items:stretch;min-width:0;min-height:83px}
#zlMaterialOverview .zl-mat-prosthetic-slot.has-multiple{flex-direction:column;gap:5px}
#zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-matrix-variant{width:100%;min-height:83px;gap:3px;padding:8px 4px}
#zlMaterialOverview .zl-mat-prosthetic-grid .has-multiple .zl-mat-matrix-variant{min-height:75px}
#zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-matrix-empty{min-height:83px;box-shadow:none}
#zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-matrix-empty strong{font-size:19px}
#zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-matrix-ref{display:block;max-width:100%;font-size:9px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--mat-muted)}
#zlMaterialOverview.zl-mat-compact .zl-mat-prosthetic-grid .zl-mat-matrix-variant,
#zlMaterialOverview.zl-mat-compact .zl-mat-prosthetic-grid .zl-mat-matrix-empty{min-height:62px;padding:5px 3px}
#zlMaterialOverview.zl-mat-compact .zl-mat-prosthetic-grid .has-multiple .zl-mat-matrix-variant{min-height:59px}
#zlMaterialOverview .zl-mat-variant-meta{display:block;max-width:100%;font-size:10px;line-height:1.35;overflow-wrap:anywhere;text-align:center;color:#738d9a}
#zlMaterialOverview.zl-mat-compact .zl-mat-group{padding:11px}
#zlMaterialOverview.zl-mat-compact .zl-mat-rack{padding:9px}
#zlMaterialOverview.zl-mat-compact .zl-mat-cell,#zlMaterialOverview.zl-mat-compact .zl-mat-components .zl-mat-cell,#zlMaterialOverview.zl-mat-compact .zl-mat-height-group .zl-mat-cell{min-height:73px;padding:6px 4px;gap:2px}
#zlMaterialOverview.zl-mat-compact .zl-mat-cell strong{font-size:22px}
#zlMaterialOverview.zl-mat-compact .zl-mat-shade{font-size:11px;margin:0}
#zlMaterialOverview.zl-mat-compact .zl-mat-variant-meta{display:none}
#zlMaterialOverview.zl-mat-compact .zl-mat-cell em{font-size:8px}
#zlMaterialOverview .zl-mat-paging{display:flex;justify-content:center;align-items:center;gap:16px;margin:-8px 0 14px}
#zlMaterialOverview .zl-mat-paging button{border:1px solid #bdd4e0;border-radius:9px;background:#fff;width:32px;height:32px;color:var(--mat-navy);font-size:24px;line-height:1}
#zlMaterialOverview .zl-mat-paging span{font-size:11px;font-weight:700;color:#658497}
#zlMaterialOverview .zl-mat-legend{display:flex;flex-wrap:wrap;gap:11px 18px;margin-top:18px;color:#7c95a2;font-size:10px}
#zlMaterialOverview .zl-mat-legend span{display:inline-flex;align-items:center;gap:6px}
#zlMaterialOverview .zl-mat-legend i{width:10px;height:10px;border-radius:3px;background:#fff;border:1px solid #bcd5e1}
#zlMaterialOverview .zl-mat-legend i.low{background:#f7e5b9;border-color:#e5cf95}
#zlMaterialOverview .zl-mat-legend i.empty{background:#f8dce1;border-color:#e7b4bc}
#zlMaterialOverview .zl-mat-legend i.missing{background:#e7eef3;border-color:#c8d9e2}
#zlMaterialOverview .zl-mat-detail{background:#fff;border:1px solid #cfe1eb;border-radius:17px;padding:18px;margin-top:14px;box-shadow:0 5px 14px #16476608}
#zlMaterialOverview .zl-mat-detail[hidden]{display:none}
#zlMaterialOverview .zl-mat-detail-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:14px}
#zlMaterialOverview .zl-mat-detail-head small{color:#839caa;font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:800}
#zlMaterialOverview .zl-mat-detail-head h4{font-size:18px;color:var(--mat-navy);margin:6px 0;line-height:1.35}
#zlMaterialOverview .zl-mat-detail-head p{color:#6f8b99;font-size:12px;margin:0}
#zlMaterialOverview .zl-mat-detail-head button[data-mat-action=detail-close]{display:grid;place-items:center;flex:0 0 44px;height:44px!important;width:44px!important;min-height:44px!important;min-width:44px;max-height:44px;padding:0;border:0;background:transparent;color:#315f7b;border-radius:50%;box-shadow:none;line-height:1}
#zlMaterialOverview .zl-mat-detail-head button[data-mat-action=detail-close] svg{display:block;box-sizing:border-box;width:34px;height:34px;padding:8px;border:1px solid #d5e5ed;border-radius:50%;background:#edf5f9}
#zlMaterialOverview .zl-mat-article-list{display:grid;gap:9px}
#zlMaterialOverview .zl-mat-article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px;border:1px solid #e1ebf0;background:#fbfdff;border-radius:13px;padding:14px;min-width:0}
#zlMaterialOverview .zl-mat-article-main{min-width:0}
#zlMaterialOverview .zl-mat-article-main strong{display:block;color:var(--mat-navy);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
#zlMaterialOverview .zl-mat-article-main span,#zlMaterialOverview .zl-mat-article-main small{display:block;font-size:11px;color:#728b99;line-height:1.55;margin-top:3px}
#zlMaterialOverview .zl-mat-article-main small.expired{color:#b74e59;font-weight:750}
#zlMaterialOverview .zl-mat-article-stock{text-align:center;min-width:45px}
#zlMaterialOverview .zl-mat-article-stock b{display:block;color:var(--mat-navy);font-size:21px}
#zlMaterialOverview .zl-mat-article-stock small{display:block;color:#7592a2;font-size:9px}
#zlMaterialOverview .zl-mat-article-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
#zlMaterialOverview .zl-mat-article-links button{flex:1 1 140px;min-height:39px;border:1px solid #bed5e1;border-radius:10px;background:#eef6fa;color:var(--mat-navy);font-size:12px;font-weight:750;padding:8px 10px}
#zlMaterialOverview .zl-mat-article-links button[data-mat-article-edit]{background:transparent;border-color:#d2e2ea;color:#52758a}
#zlMaterialOverview .zl-mat-article-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}
#zlMaterialOverview .zl-mat-article-actions button{flex:1 1 105px;min-height:39px;border-radius:10px;padding:8px 10px;background:var(--mat-navy);border:1px solid var(--mat-navy);color:#fff;font-size:12px;font-weight:750}
#zlMaterialOverview .zl-mat-article-actions button[data-mat-book=in]{background:#e8f3f8;border-color:#b9d3e1;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-article-actions button.zl-mat-order-add{background:#edf4d9;border-color:#c9dbac;color:#426232}
#zlMaterialOverview .zl-mat-article-actions button.zl-mat-subtle{background:#fff;border-color:#d2e2ea;color:#54768a;flex-grow:0}
#zlMaterialOverview .zl-mat-batches{grid-column:1/-1;background:#f0f7fa;border-radius:10px;padding:10px;color:#51758a;font-size:11px}
#zlMaterialOverview .zl-mat-batches[hidden]{display:none}
#zlMaterialOverview .zl-mat-batches>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #dce7ee}
#zlMaterialOverview .zl-mat-batches>div:last-child{border:0}
#zlMaterialOverview .zl-mat-note{font-size:11px;line-height:1.6;color:#778e9b;margin:14px 2px 0}
#zlMaterialOverview .zl-mat-review{margin-top:15px}
#zlMaterialOverview .zl-mat-review:empty{display:none}
#zlMaterialOverview .zl-mat-review details{border:1px solid #d5e3eb;border-radius:14px;background:#ffffffb0;padding:13px 15px}
#zlMaterialOverview .zl-mat-review summary{cursor:pointer;color:#325d76;font-size:12px;line-height:1.5}
#zlMaterialOverview .zl-mat-review summary span{font-size:11px;color:#849ca9;margin-left:10px}
#zlMaterialOverview .zl-mat-review p{font-size:11px;color:#7c93a0}
#zlMaterialOverview .zl-mat-review-list>div{padding:12px 0;border-bottom:1px solid #dce8ef}
#zlMaterialOverview .zl-mat-review-list>div:last-child{border:0}
#zlMaterialOverview .zl-mat-review-list b{display:block;font-size:12px;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-review-list small{display:block;font-size:11px;color:#8495a0;margin:4px 0}
#zlMaterialOverview .zl-mat-review-list button{border:1px solid #ccdfe9;background:#fff;padding:6px 9px;border-radius:8px;color:var(--mat-navy);font-size:11px}
#zlMaterialOverview .zl-mat-review-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
#zlMaterialOverview .zl-mat-review-actions button{min-height:40px;padding:9px 13px;font-size:12px}
#zlMaterialOverview .zl-mat-review-unit-note{align-self:center;line-height:1.5;color:#8b6470;font-size:11px}
#zlMaterialOverview .zl-mat-review-actions button.zl-mat-assign-button,
#zlMaterialOverview .zl-mat-editor-actions button.zl-mat-assign-button{background:var(--mat-navy);color:#fff;border-color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-feedback{margin:0 0 16px;padding:12px 15px;border-radius:11px;color:#175b49;background:#e7f7f0;border:1px solid #b9e3d5;font-size:13px;font-weight:650;line-height:1.5}
#zlMaterialOverview .zl-mat-feedback.error{color:#a44350;background:#fff0f2;border-color:#efcfd4}
#zlMaterialOverview .zl-mat-feedback[hidden],#zlMaterialOverview .zl-mat-editor-host[hidden],#zlMaterialOverview .zl-mat-editor-message[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-editor-host{grid-column:1/-1;min-width:0;width:100%;margin:10px 0}
#zlMaterialOverview .zl-mat-editor{min-width:0;padding:16px;background:linear-gradient(130deg,#fff,#f2f8fb);border:1px solid #cbdfe9;border-radius:15px;box-shadow:0 5px 12px rgba(10,58,86,.06)}
#zlMaterialOverview .zl-mat-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#zlMaterialOverview .zl-mat-editor-top strong{font-size:15px;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-editor-top button{font-size:12px;background:transparent;border:0;color:#597c90;text-decoration:underline;min-height:40px;padding:6px 8px}
#zlMaterialOverview .zl-mat-editor>p{line-height:1.5;overflow-wrap:anywhere;font-size:12px;color:#5d7e91;margin:5px 0 14px}
#zlMaterialOverview .zl-mat-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#zlMaterialOverview .zl-mat-editor-fields label{min-width:0;display:flex;flex-direction:column;gap:6px;color:#315e78;font-size:12px;font-weight:750;letter-spacing:0;text-transform:none}
#zlMaterialOverview .zl-mat-editor-fields label.full{grid-column:1/-1}
#zlMaterialOverview .zl-mat-editor-fields select,#zlMaterialOverview .zl-mat-editor-fields input{display:block;appearance:auto;width:100%;max-width:100%;min-width:0;height:46px;min-height:46px;box-sizing:border-box;padding:9px 12px;margin:0;border:1px solid #bed4e0;border-radius:10px;color:var(--mat-navy);background:#fff;font-size:16px;font-weight:600;box-shadow:none}
#zlMaterialOverview .zl-mat-editor-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
#zlMaterialOverview .zl-mat-editor-actions button{min-height:44px;border:1px solid #c7dce7;border-radius:10px;padding:10px 14px;color:var(--mat-navy);background:#fff;font-size:12px;font-weight:750}
#zlMaterialOverview .zl-mat-editor-message{margin:10px 0 0;padding:10px;border:1px solid #e8c4ca;background:#fff2f3;border-radius:9px;color:#a13e4c;font-size:12px}
#zlMaterialOverview .zl-mat-editor>small{display:block;font-size:11px;line-height:1.6;color:#7792a1;margin-top:12px}
#zlMaterialOverview .zl-mat-loading,#zlMaterialOverview .zl-mat-empty,#zlMaterialOverview .zl-mat-error{font-size:13px;color:#617f90;line-height:1.6;padding:25px 8px}
#zlMaterialOverview .zl-mat-error{color:#a34354}
#zlMaterialOverview .zl-mat-error button{border:1px solid #cddfe7;border-radius:8px;padding:8px;background:#fff;color:var(--mat-navy)}
/* Per-device representative order draft; intentionally separate from recorded deliveries. */
#zlMaterialOverview :is(.zl-mat-order-draft,.zl-mat-missing-create)[hidden]{display:none!important}
#zlMaterialOverview .zl-mat-order-draft{background:#fff;border:1px solid #c7dbe6;border-radius:18px;padding:16px;margin:0 0 18px;box-shadow:0 7px 24px #153f5e0c}
#zlMaterialOverview .zl-mat-order-head{display:flex;align-items:start;justify-content:space-between;gap:14px}
#zlMaterialOverview .zl-mat-order-head strong{display:block;color:var(--mat-navy);font-size:16px}
#zlMaterialOverview .zl-mat-order-head p,#zlMaterialOverview .zl-mat-order-foot,#zlMaterialOverview .zl-mat-order-empty{font-size:11px;color:#728c9b;line-height:1.55;margin:5px 0 12px}
#zlMaterialOverview .zl-mat-order-head button{border:0;background:transparent;color:#577d90;min-height:38px;padding:5px 8px;font-size:12px}
#zlMaterialOverview .zl-mat-order-maker{border-top:1px solid #dce8ee;padding:14px 0}
#zlMaterialOverview .zl-mat-order-maker h4{margin:0 0 12px;font-size:14px;color:var(--mat-navy)}
#zlMaterialOverview .zl-mat-order-lines{display:grid;gap:7px}
#zlMaterialOverview .zl-mat-order-line{display:grid;grid-template-columns:minmax(0,1fr) 72px 32px;align-items:center;gap:9px;border:1px solid #dce9f0;border-radius:12px;background:#f6fbfd;padding:9px}
#zlMaterialOverview .zl-mat-order-line b{display:block;font-size:12px;color:#184f70;line-height:1.45;overflow-wrap:anywhere}
#zlMaterialOverview .zl-mat-order-line small{font-size:10px;color:#718e9d;line-height:1.4}
#zlMaterialOverview .zl-mat-order-line .zl-mat-order-edit{display:block;background:transparent;border:0;color:#477c99;min-height:31px;padding:4px 0;font-size:10px;text-decoration:underline;text-underline-offset:3px}
#zlMaterialOverview .zl-mat-order-line small strong,.zl-mat-order-warning{color:#b26136}
#zlMaterialOverview .zl-mat-order-line label{font-size:10px;color:#648296;text-align:center}
#zlMaterialOverview .zl-mat-order-line input{width:100%;height:38px;border:1px solid #c4dae6;border-radius:9px;text-align:center;color:#164b6a;background:#fff;font-size:16px}
#zlMaterialOverview .zl-mat-order-line button{height:36px;border:0;border-radius:9px;background:transparent;color:#718b9b;font-size:23px}
#zlMaterialOverview .zl-mat-order-compose{margin-top:12px;display:grid;gap:11px}
#zlMaterialOverview .zl-mat-order-contact{display:grid;gap:3px;padding:9px 12px;border:1px solid #d8e6ed;background:#f7fbfc;border-radius:11px;min-width:0}
#zlMaterialOverview .zl-mat-order-contact span{font-size:10px;font-weight:720;color:#648296}
#zlMaterialOverview .zl-mat-order-contact strong{font-size:13px;color:#184f70;overflow-wrap:anywhere}
#zlMaterialOverview .zl-mat-order-contact small{font-size:10px;color:#6f8b99;line-height:1.4}
#zlMaterialOverview .zl-mat-order-compose-actions{display:flex;flex-wrap:wrap;gap:8px}
#zlMaterialOverview .zl-mat-order-compose-actions button{min-height:42px;padding:10px 13px;border:1px solid #c2d8e5;border-radius:11px;background:#edf5f9;color:#134b6d;font-size:12px;font-weight:750}
#zlMaterialOverview .zl-mat-order-compose-actions button.primary{background:#003b61;color:white;border-color:#003b61}
#zlMaterialOverview .zl-mat-order-compose-actions button:disabled{opacity:.45}
#zlMaterialOverview .zl-mat-order-compose button.zl-mat-order-record{justify-self:start;background:transparent;border:0;border-bottom:1px solid #aac4d2;color:#537a8e;border-radius:0;min-height:36px;padding:6px 0;font-size:11px;font-weight:720;text-align:left}
#zlMaterialOverview .zl-mat-order-foot{margin:3px 0 0;border-top:1px solid #e0ebf0;padding-top:12px}
#zlMaterialOverview .zl-mat-missing-create{margin:5px 0 16px;background:#fffaf0;border:1px solid #decaa1;border-radius:17px;padding:16px}
#zlMaterialOverview .zl-mat-missing-form{display:grid;gap:11px}
#zlMaterialOverview .zl-mat-missing-form>p{font-size:12px;line-height:1.55;color:#7a6246;margin:0}
#zlMaterialOverview .zl-mat-missing-form>label{display:grid;gap:6px;font-weight:720;font-size:12px;color:#355a71}
#zlMaterialOverview .zl-mat-missing-form>label>input:not([type=checkbox]),#zlMaterialOverview .zl-mat-missing-form>label>select{width:100%;min-width:0;height:46px;border:1px solid #c5d8e4;background:#fff;color:#174c6c;border-radius:10px;padding:8px 11px;font-size:16px}
#zlMaterialOverview .zl-mat-missing-form>label.zl-mat-check{display:flex;align-items:center;gap:10px;line-height:1.5}
#zlMaterialOverview .zl-mat-missing-form>label.zl-mat-check input{width:20px;height:20px;flex:none}
#zlMaterialOverview .zl-mat-ref-panel{display:grid;gap:9px;background:#eff7f7;border:1px solid #c4dadb;padding:13px;border-radius:13px}
#zlMaterialOverview .zl-mat-ref-panel>strong{font-size:13px;color:#175c60}
#zlMaterialOverview .zl-mat-ref-panel>p{font-size:11px;line-height:1.6;color:#58777d;margin:0}
#zlMaterialOverview .zl-mat-ref-panel>label{display:grid;gap:6px;font-size:11px;font-weight:750;color:#285e69}
#zlMaterialOverview .zl-mat-ref-panel select{display:block;width:100%;min-width:0;height:45px;padding:8px 10px;background:#fff;border:1px solid #aecbd3;border-radius:9px;font-size:16px;color:#164c63}
#zlMaterialOverview .zl-mat-ref-panel a{color:#0b597a;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#zlMaterialOverview .zl-mat-ref-panel .zl-mat-ref-selected{background:#fff;border:1px solid #c6dfe0;border-radius:10px;padding:10px 12px;color:#1b5064;font-size:13px}
#zlMaterialOverview .zl-mat-ref-selected b{font-size:17px}
#zlMaterialOverview .zl-mat-ref-selected small{display:block;color:#607e88;margin-top:4px;font-size:10px}
#zlMaterialOverview .zl-mat-ref-panel .zl-mat-ref-links{font-size:11px}
#zlMaterialOverview .zl-mat-ref-panel .zl-mat-ref-links[hidden]{display:none}
#zlMaterialOverview .zl-mat-ref-manual-toggle{justify-self:start;background:transparent;border:0;padding:6px 0;color:#5b7580;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#zlMaterialOverview .zl-mat-missing-form input[readonly]{background:#f1f6f7!important;color:#1e6573;font-weight:750}
#zlMaterialOverview .zl-mat-missing-form .zl-mat-create-result{padding:10px;border:1px solid #debab7;border-radius:9px;background:#fff4f2;color:#9a4553}
#zlMaterialOverview .zl-mat-missing-form .zl-mat-create-result[hidden]{display:none}
@media(max-width:600px){
 #zlMaterialOverview{margin:10px 0 20px;padding:15px 12px;border-radius:19px}
 #zlMaterialOverview .zl-mat-head{gap:8px}
 #zlMaterialOverview .zl-mat-head p{font-size:11px}
 #zlMaterialOverview .zl-mat-settings{position:fixed;top:max(60px,calc(env(safe-area-inset-top,0px) + 14px));bottom:max(92px,calc(env(safe-area-inset-bottom,0px) + 88px));left:12px;right:12px;width:auto;max-height:none;padding:15px;border-radius:20px}
 #zlMaterialOverview .zl-mat-kind{max-width:none}
 #zlMaterialOverview .zl-mat-groups{gap:12px}
 #zlMaterialOverview .zl-mat-group{padding:11px 9px;border-radius:15px}
 #zlMaterialOverview .zl-mat-group-heading h4{font-size:14px}
 #zlMaterialOverview .zl-mat-group-picture{width:43px;height:43px;flex-basis:43px;border-radius:10px}
 #zlMaterialOverview .zl-mat-group-heading span{font-size:10px}
 #zlMaterialOverview .zl-mat-group .zl-mat-rack{padding:10px 6px}
 #zlMaterialOverview .zl-mat-summary{gap:6px;margin:12px 0}
 #zlMaterialOverview .zl-mat-summary span{padding:11px 8px;border-radius:11px}
 #zlMaterialOverview .zl-mat-summary strong{font-size:23px}
 #zlMaterialOverview .zl-mat-summary small{font-size:9px;line-height:1.3}
 #zlMaterialOverview .zl-mat-rack{padding:13px 8px;border-radius:14px}
 #zlMaterialOverview .zl-mat-rack-head>span{display:none}
 #zlMaterialOverview .zl-mat-rack-head{margin-bottom:17px}
 #zlMaterialOverview .zl-mat-rack-head strong{font-size:13px}
 #zlMaterialOverview .zl-mat-grid{grid-template-columns:42px repeat(var(--mat-cols),minmax(0,1fr));gap:6px}
 #zlMaterialOverview .zl-mat-axis-corner{font-size:9px}
 #zlMaterialOverview .zl-mat-axis-diameter{font-size:12px}
 #zlMaterialOverview .zl-mat-axis-length{font-size:13px}
 #zlMaterialOverview .zl-mat-cell{min-height:86px;border-radius:11px;padding:8px 4px}
 #zlMaterialOverview .zl-mat-cell strong{font-size:24px}
 #zlMaterialOverview .zl-mat-cell small{font-size:9px}
 #zlMaterialOverview .zl-mat-shades{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:7px}
 #zlMaterialOverview .zl-mat-shades .zl-mat-cell{min-height:104px}
 #zlMaterialOverview .zl-mat-components{grid-template-columns:repeat(2,minmax(0,1fr))}
 #zlMaterialOverview .zl-mat-components .zl-mat-cell{min-height:122px;padding:10px 6px}
 #zlMaterialOverview .zl-mat-prosthetic-grid{gap:5px}
 #zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-axis-diameter{font-size:10px;padding-inline:1px}
 #zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-axis-length{font-size:12px}
 #zlMaterialOverview .zl-mat-prosthetic-grid .zl-mat-matrix-ref{font-size:8px}
 #zlMaterialOverview .zl-mat-variant-meta{font-size:9px}
 #zlMaterialOverview .zl-mat-detail{padding:13px}
 #zlMaterialOverview .zl-mat-article{padding:11px}
}
@media(prefers-reduced-motion:reduce){#zlMaterialOverview *{scroll-behavior:auto!important}}

/* A restrained elevation language for genuine contextual menus elsewhere in
   the app. Full-page navigation sections intentionally remain flat. */
:is(#catalogFilterDialog,#searchHistoryCard.search-history-popover){
  background:rgba(252,254,255,.97);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);
  backdrop-filter:blur(18px) saturate(1.2);
  border:1px solid rgba(167,194,207,.85);
  box-shadow:0 18px 46px rgba(8,38,58,.2),0 5px 13px rgba(8,38,58,.1);
}
#catalogFilterDialog::backdrop{background:rgba(12,36,52,.28);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
@media(prefers-reduced-motion:reduce){#zlMaterialOverview .zl-mat-settings{animation:none}}
