/* Hydraulic Seal Depot - Product Compatibility Intelligence drawer */
.hsd-compat-drawer{position:fixed;z-index:10050;top:0;right:0;width:min(900px,94vw);height:100dvh;background:#f4f6f7;box-shadow:-22px 0 60px rgba(8,13,18,.28);transform:translateX(105%);transition:transform .28s ease;overflow:hidden;display:flex;flex-direction:column}.hsd-compat-drawer.is-open{transform:translateX(0)}
.hsd-compat-drawer__head{min-height:78px;padding:17px 24px 15px 28px;background:linear-gradient(105deg,#101419,#22292f 76%,#001025);border-bottom:4px solid #00346f;color:#fff;display:flex;align-items:center;justify-content:space-between}.hsd-compat-drawer__head h2{margin:0;font-size:22px;letter-spacing:-.02em}.hsd-compat-drawer__close{width:42px;height:42px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(255,255,255,.06);color:#fff;font-size:28px;cursor:pointer}.hsd-compat-drawer__body{overflow:auto;padding:24px 26px 34px;flex:1}
.compat-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}.compat-eyebrow{display:block;color:#00346f;font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.compat-intro h3{margin:4px 0 4px;font-size:28px;color:#11161b}.compat-intro h3 b{color:#00346f}.compat-intro p{margin:0;color:#69727c;font-size:13px}.compat-status{white-space:nowrap;padding:8px 11px;border-radius:999px;background:#e7f6ed;color:#16723b;border:1px solid #bce5cc;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.compat-status--loading{background:#fff4e5;color:#8b5a00;border-color:#f0d59c}
.compat-productbar{display:grid;grid-template-columns:1.1fr 1fr auto;gap:12px;align-items:center;padding:15px 17px;background:#fff;border:1px solid #dce1e4;border-radius:12px;box-shadow:0 8px 22px rgba(20,25,29,.06)}.compat-productbar small{display:block;color:#899199;font-size:9px;font-weight:900;letter-spacing:.1em}.compat-productbar strong{display:block;margin-top:3px;font-size:13px;color:#171c21}.compat-count{min-width:82px;padding-left:16px;border-left:1px solid #e4e7e9;text-align:center}.compat-count strong{font-size:25px;color:#00346f}.compat-count span{display:block;font-size:9px;font-weight:900;text-transform:uppercase;color:#7a8289}
.compat-path{margin:14px 0;display:flex;align-items:stretch;gap:7px}.compat-path>span{flex:1;min-width:0;padding:10px 11px;border-radius:9px;background:#171c21;color:#fff;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}.compat-path b{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#00346f;font-size:10px}.compat-path small{font-size:8px;color:#9fa7ae;text-transform:uppercase;font-weight:900;letter-spacing:.06em}.compat-path strong{font-size:15px}.compat-path>i{align-self:center;color:#00346f;font-size:20px;font-style:normal}
.compat-table-wrap{overflow:auto;background:#fff;border:1px solid #d8dde1;border-radius:12px;box-shadow:0 10px 25px rgba(20,25,29,.06)}.compat-table{width:100%;border-collapse:collapse;min-width:760px}.compat-table th{position:sticky;top:0;z-index:1;padding:11px 12px;background:#20262c;color:#fff;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.compat-table td{padding:12px;border-bottom:1px solid #eceeef;color:#454d55;font-size:12px}.compat-table tbody tr:last-child td{border-bottom:0}.compat-table tbody tr:hover{background:#fafafa;box-shadow:inset 3px 0 #00346f}.compat-table td:first-child{color:#11161b}.compat-row-num{display:inline-block;margin-right:8px;color:#aeb5ba;font-size:9px;font-weight:900}.compat-model-pill{display:inline-block;padding:5px 8px;border-radius:6px;background:#f0f2f3;color:#111;font-weight:900}.compat-table code{padding:4px 6px;border-radius:5px;background:#f5f6f7;color:#00346f;font:700 11px Manrope,Arial,sans-serif}
.compat-confidence{margin-top:14px;padding:13px 15px;border:1px solid #dce1e4;border-radius:10px;background:#fff;display:flex;align-items:center;gap:11px}.compat-shield{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e7f6ed;color:#16723b;font-weight:900}.compat-confidence strong,.compat-confidence small{display:block}.compat-confidence strong{font-size:11px;color:#20262c}.compat-confidence small{margin-top:2px;color:#7a8289;font-size:10px}.compat-loading,.compat-empty{min-height:230px;border:1px dashed #ccd2d6;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;gap:7px;color:#69727c}.compat-loading i{width:8px;height:8px;border-radius:50%;background:#00346f;animation:compatPulse 1s infinite alternate}.compat-loading i:nth-child(2){animation-delay:.15s}.compat-loading i:nth-child(3){animation-delay:.3s}.compat-loading span{margin-left:7px;font-size:12px;font-weight:800}.compat-empty{flex-direction:column}.compat-empty strong{color:#20262c}.compat-empty span{font-size:12px}@keyframes compatPulse{to{opacity:.25;transform:translateY(-4px)}}
@media(max-width:720px){.hsd-compat-drawer{width:100vw}.hsd-compat-drawer__body{padding:18px 14px 28px}.compat-intro{flex-direction:column}.compat-productbar{grid-template-columns:1fr 1fr}.compat-count{grid-column:1/-1;border-left:0;border-top:1px solid #e4e7e9;padding:9px 0 0}.compat-path{display:grid;grid-template-columns:1fr 1fr}.compat-path>i{display:none}.compat-intro h3{font-size:23px}}

/* v2: compact Parts-by-Model design, reversed for the current part */
.compat-summary-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.compat-summary-chips span{padding:8px 11px;border:1px solid #d9dee2;border-radius:999px;background:#fff;color:#59626a;font-size:11px;font-weight:750}.compat-summary-chips b{color:#00346f;font-size:13px;margin-right:3px}.compat-machine-grid{display:grid;gap:14px}.compat-machine-card{overflow:hidden;border:1px solid #d9dee2;border-radius:13px;background:#fff;box-shadow:0 8px 22px rgba(20,25,29,.055)}.compat-machine-head{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:13px 15px;background:#1b2126;color:#fff;border-bottom:3px solid #00346f}.compat-machine-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#00346f;color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em}.compat-machine-head div small{display:block;color:#9ea7ae;font-size:8px;font-weight:900;letter-spacing:.1em}.compat-machine-head div strong{display:block;margin-top:2px;font-size:17px}.compat-machine-head>b{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.08);font-size:10px;color:#dce1e4}.compat-model-list{padding:5px 15px 12px}.compat-model-block{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #e8ebed}.compat-model-block:last-child{border-bottom:0}.compat-model-head span{display:block;color:#00346f;font-size:8px;font-weight:900;letter-spacing:.1em}.compat-model-head strong{display:block;margin:2px 0;font-size:16px;color:#171c21}.compat-model-head small{display:block;color:#8a9299;font-size:9px}.compat-apps{display:flex;flex-wrap:wrap;gap:7px;align-content:flex-start}.compat-app{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e0e4e7;border-radius:7px;background:#f7f8f9;color:#353d44;font-size:11px;font-weight:750}.compat-app i{width:6px;height:6px;border-radius:50%;background:#00346f}.compat-intro--fit h3{margin-bottom:2px}@media(max-width:720px){.compat-model-block{grid-template-columns:1fr}.compat-machine-head{grid-template-columns:auto 1fr}.compat-machine-head>b{grid-column:1/-1;justify-self:start;margin-left:49px}.compat-apps{gap:6px}.compat-app{font-size:10px}}


/* v3: Cylinder + Serial catalog metadata */
.compat-model-content{min-width:0}.compat-catalog-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.compat-meta-group{min-width:0;padding:8px 10px;border:1px solid #e1e5e8;border-radius:8px;background:#fbfcfc}.compat-meta-group>small{display:block;margin-bottom:6px;color:#7d858d;font-size:8px;font-weight:900;letter-spacing:.1em}.compat-meta-group>div{display:flex;flex-wrap:wrap;gap:5px}.compat-meta-group code{display:inline-flex;align-items:center;min-height:25px;padding:4px 7px;border:1px solid #e4d3d5;border-radius:6px;background:#fff5f6;color:#00346f;font:800 10px Manrope,Arial,sans-serif;overflow-wrap:anywhere}.compat-meta-empty{color:#9ba2a8;font-size:11px;font-weight:800}
@media(max-width:720px){.compat-catalog-meta{grid-template-columns:1fr}.compat-meta-group code{font-size:9px}}

/* v3: application-level cylinder + serial relationship layout */
.hsd-compat-drawer{width:min(930px,96vw)}
.hsd-compat-drawer__body{padding-top:14px}
.compat-summary-chips--top{margin:0 0 14px}
.compat-model-block--table{grid-template-columns:165px minmax(0,1fr);gap:16px;align-items:start;padding:14px 0}
.compat-fit-table{overflow:hidden;border:1px solid #dfe4e8;border-radius:9px;background:#fff}
.compat-fit-header,.compat-fit-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(145px,.9fr) minmax(185px,1fr);align-items:center}
.compat-fit-header{min-height:30px;background:linear-gradient(#f2f4f5,#e9ecef);border-bottom:1px solid #dfe3e6;color:#505962;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.compat-fit-header span{padding:0 12px}
.compat-fit-row{min-height:34px;border-bottom:1px solid #e8ebed;color:#242a30;font-size:11px}
.compat-fit-row:last-child{border-bottom:0}
.compat-fit-row:hover{background:#fafbfb}
.compat-fit-row>div{min-width:0;padding:5px 12px}
.compat-fit-row>div+div{border-left:1px solid #edf0f2}
.compat-fit-app{font-weight:800;color:#2e353b}
.compat-value{display:inline-flex;min-width:76px;min-height:23px;padding:3px 9px;align-items:center;justify-content:center;border:1px solid #eef5fa;border-radius:6px;background:#fff5f5;color:#00346f;font-size:10px;font-weight:900;letter-spacing:.025em;white-space:nowrap}
.compat-value--serial{min-width:118px}
.compat-value--empty{min-width:58px;color:#00346f;background:#fff7f7}
.compat-machine-head{padding-top:11px;padding-bottom:11px}
.compat-machine-head div strong{font-size:18px}
.compat-model-head strong{font-size:18px}
.compat-model-head small{font-size:10px}
@media(max-width:720px){
  .hsd-compat-drawer{width:100vw}
  .compat-model-block--table{grid-template-columns:1fr;gap:8px}
  .compat-fit-table{overflow-x:auto}
  .compat-fit-header,.compat-fit-row{grid-template-columns:140px 130px 170px;min-width:440px}
  .compat-summary-chips--top{gap:6px}
  .compat-summary-chips--top span{padding:7px 9px;font-size:10px}
}

/* Clickable model -> Parts by Model AIQ */
.compat-model-link{display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;color:#151a1f;text-decoration:none;border-radius:7px;transition:color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
.compat-model-link strong{font-size:inherit;color:inherit}
.compat-model-link__action{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid rgba(0,52,111,.18);border-radius:5px;background:#fff5f5;color:#00346f;font-size:8px;font-weight:900;letter-spacing:.06em;white-space:nowrap;opacity:.82;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.compat-model-link:hover,.compat-model-link:focus-visible{color:#00346f;outline:none}
.compat-model-link:hover .compat-model-link__action,.compat-model-link:focus-visible .compat-model-link__action{background:#00346f;border-color:#00346f;color:#fff;transform:translateX(2px)}
.compat-model-link:focus-visible{box-shadow:0 0 0 3px rgba(0,52,111,.12)}
@media(max-width:720px){.compat-model-link{align-items:flex-start;flex-direction:column;gap:4px}.compat-model-link__action{font-size:7px}}
