#match-submit:disabled{opacity:.65;cursor:wait}
#service-match-dialog{position:fixed;inset:0;margin:auto;border:0;border-top:3px solid #e31e37;background:#fff;color:#41464d;padding:36px 40px;width:760px;max-width:calc(100% - 40px);max-height:calc(100dvh - 64px);overflow:auto;font:400 16px/1.7 'PT Sans','PingFang SC','Microsoft YaHei',sans-serif;text-align:left;box-sizing:border-box}
#service-match-dialog::backdrop{background:#111820b8}
#service-match-dialog *{box-sizing:border-box}
#service-match-dialog [hidden]{display:none!important}
#service-match-dialog p,#service-match-dialog h2,#service-match-dialog h3{margin:0;max-width:none;letter-spacing:0}
#service-match-dialog button,#service-match-dialog textarea{font:inherit}
#service-match-dialog a,#service-match-dialog button{transition:color .2s}
#service-match-dialog a:focus-visible,#service-match-dialog button:focus-visible,#service-match-dialog textarea:focus-visible{outline:2px solid #e31e37;outline-offset:4px}
#service-match-dialog .match-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:30px}
#service-match-dialog .match-eyebrow{color:#e31e37;font-size:12px;letter-spacing:1px;margin-bottom:12px}
#service-match-dialog h2{font-size:26px;line-height:1.45;font-weight:700}
#match-close{border:0;background:transparent;color:#41464d;font-size:30px!important;line-height:1!important;width:44px;height:44px;flex:none;cursor:pointer;margin:-12px -14px 0 0}
#service-match-dialog h3{font-size:20px;line-height:1.5;font-weight:700;margin:0 0 10px}
#match-output>h3{margin-top:22px}
#service-match-dialog .match-label{font-size:12px;color:#777e87;margin-bottom:8px}
#service-match-dialog .match-summary{font-size:18px;color:#41464d;margin-bottom:28px}
#service-match-dialog .match-cards{display:grid;gap:22px}
#service-match-dialog .match-card{padding-top:20px;border-top:1px solid #e4e6e9}
#service-match-dialog .match-card>p{color:#737a85;font-size:14px}
#service-match-dialog a{color:#41464d;text-decoration:none;font-weight:400}
#service-match-dialog a:hover{color:#e31e37}
#service-match-dialog .match-service-link{display:inline-block;padding:8px 0;min-height:44px;margin-top:8px;border-bottom:1px solid #e31e37;font-size:14px}
#service-match-dialog .match-people{margin-top:16px;display:flex;gap:8px 20px;flex-wrap:wrap;align-items:center;font-size:13px}
#service-match-dialog .match-people p{margin:0}
#service-match-dialog .match-people a{padding:8px 0}
#service-match-dialog .match-footer{display:flex;gap:28px;flex-wrap:wrap;border-top:1px solid #e4e6e9;margin-top:28px;padding-top:16px;font-size:14px}
#service-match-dialog .match-footer a{padding:6px 0;min-height:40px}
#service-match-dialog .match-note{font-size:12px;color:#777e87;margin-top:16px}
#service-match-dialog .match-retry{border:0;background:transparent;color:#e31e37;padding:10px 0;cursor:pointer;min-height:44px;margin-top:12px;font-size:14px}
#service-match-dialog .match-questions{padding-left:20px;margin:12px 0;color:#737a85}
#match-followup{margin-top:20px}
#match-followup label{display:block;font-size:13px;margin-bottom:8px}
#match-followup textarea{width:100%;resize:vertical;padding:12px;border:1px solid #e0e2e5;min-height:100px;background:#fafafa;color:#41464d;font-size:14px}
#match-followup .match-primary{border:0;background:#e31e37;color:#fff;padding:10px 24px;min-height:44px;margin-top:12px;font-size:14px;cursor:pointer}
#match-followup .match-primary:disabled{opacity:.6;cursor:wait}
@media(max-width:640px){
  #service-match-dialog{max-width:calc(100% - 24px);padding:26px 22px;max-height:calc(100dvh - 32px)}
  #service-match-dialog h2{font-size:22px}
  #service-match-dialog .match-heading{margin-bottom:24px;gap:12px}
  #service-match-dialog .match-summary{font-size:16px}
  #service-match-dialog h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){#service-match-dialog a,#service-match-dialog button{transition:none}}
