.chain-match-notice{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#eef6f3;border-top:1px solid #d8e5df;padding:10px 14px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.chain-match-notice>span{flex:1 1 260px;min-width:0}.chain-match-notice.needs-confirmation{background:#fff0d7;color:#7c4c00}.chain-match-notice button{flex:none}.chain-match-dialog{width:min(820px,calc(100vw - 24px));overflow:hidden;max-height:calc(100dvh - 24px)}.chain-match-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:hidden;background:#fff}.chain-match-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #dce5f0}.chain-match-panel h2{margin:0;font-size:20px;overflow-wrap:anywhere}.chain-match-panel>header button{flex:none}.chain-match-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}.chain-match-line{border:1px solid #d7e1ec;border-radius:12px;margin:0 0 16px;padding:12px;min-width:0}.chain-match-line legend{font-weight:700;overflow-wrap:anywhere}.chain-match-segment{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:12px;padding:10px 0;border-bottom:1px solid #e5ebf1;margin-bottom:10px}.chain-match-segment .field{margin:0;min-width:0}.chain-match-segment select,.chain-match-segment input{width:100%;min-width:0;max-width:100%}.chain-match-effective{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;overflow-wrap:anywhere}.chain-match-effective span{min-width:0}.chain-match-body p{overflow-wrap:anywhere}.chain-match-body textarea{min-width:0;width:100%}@media(max-width:500px){.chain-match-dialog{width:calc(100vw - 16px)}.chain-match-panel>header,.chain-match-body{padding:12px}.chain-match-panel h2{font-size:18px}.chain-match-segment{grid-template-columns:minmax(0,1fr)}.chain-match-notice>span{flex-basis:100%}}@media print{.chain-match-notice{display:block;font-size:10px;padding:6px;background:transparent!important;color:#111;break-inside:avoid}.chain-match-notice button{display:none}}
.chain-match-reserved{display:grid;gap:4px;margin:12px 0;padding:10px;border:1px solid #d7e1ec;border-radius:8px;background:#f2f4f7;color:#52667d;font-size:13px;overflow-wrap:anywhere}.pw-cart .section-title>[data-pw-cart-count]{white-space:nowrap;flex:none}
.chain-match-model-choice{grid-column:1/-1}.chain-match-model-choice select{font-weight:600}.chain-match-effective{line-height:1.6}
.chain-match-effective button{flex:none;white-space:nowrap}
.chain-match-linked{background:#eef5ff;border-color:#b9d1f3}.chain-match-linked strong{color:#234b7d}
