.custom-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid #acbdb9;border-left:3px solid #008b98;text-decoration:none;color:#162421;background:#f2f7f5}
.custom-entry strong,.custom-entry small{display:block}.custom-entry strong{font-size:15px}.custom-entry small{margin-top:4px;font-size:12px;line-height:1.4;color:#40534d}
.custom-entry b{font-size:22px;font-weight:400}.custom-entry:hover{background:#e2f5ef;border-color:#14848c}
.custom-parts-dialog{color:#15211d;background:#f3f5f2;border:0;padding:0;width:min(890px,calc(100% - 32px));max-width:100%;max-height:min(86dvh,900px);box-shadow:0 12px 70px #0005}
.custom-parts-dialog[open]{display:flex;flex-direction:column}.custom-parts-dialog::backdrop{background:rgb(10 19 17 / .72)}
.custom-parts-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px 10px;background:#fff}
.custom-parts-dialog h2{margin:0;font:700 clamp(25px,4vw,36px)/1.08 Barlow,Arial,sans-serif}
.custom-close{width:42px;height:42px;background:#eff2ed;color:#17221e;border:1px solid #d5dad4;font-size:25px;cursor:pointer}
.custom-filters{display:flex;gap:6px;flex-wrap:wrap;padding:6px 22px 14px;background:#fff;border-bottom:1px solid #d3dad4}
.custom-filters button,.custom-variants a{border:1px solid #ced8d2;background:white;color:#192823;min-height:40px;padding:6px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.custom-filters button[aria-pressed=true]{background:#18352f;color:white;border-color:#18352f}
.custom-library{overflow:auto;overscroll-behavior:contain;padding:2px 22px 20px;min-height:0}
.custom-library h3{margin:18px 0 8px;font-size:17px}
.custom-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:9px}
.custom-item{background:#fff;border:1px solid #d6ddd6;display:grid;grid-template-columns:66px 1fr;gap:10px;align-content:start;align-items:center;padding:10px}
.custom-item img{width:66px;height:54px;object-fit:contain}
.custom-item small{display:block;color:#465b52;font-size:12px}.custom-item h4{margin:3px 0 0;font-size:14px;line-height:1.25}
.custom-variants{display:flex;gap:5px;grid-column:1/-1}.custom-variants a{flex:1;display:grid;place-items:center;text-align:center;text-decoration:none;background:#eef6f2}
.custom-variants a:hover,.custom-variants a:focus-visible{background:#c9efeb;border-color:#408981}
@media(max-width:600px){.custom-parts-dialog{width:calc(100% - 14px);max-height:92dvh}.custom-parts-dialog header,.custom-filters,.custom-library{padding-left:12px;padding-right:12px}.custom-filters{gap:4px}.custom-filters button{padding-inline:8px}.custom-grid{grid-template-columns:1fr}.custom-item{grid-template-columns:60px minmax(0,1fr);padding:10px}.custom-variants a{min-height:44px}}
.custom-section .custom-entry{width:100%;font:inherit;text-align:left;cursor:pointer}
