:root{--eqm-gold:#B8860B;--eqm-black:#0b0b0b;--eqm-panel:#151515;--eqm-line:#2a2a2a}.eqm-clinic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}.eqm-clinic-card{background:var(--eqm-black);color:#fff;border:1px solid #222;border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.16)}.eqm-goldline{height:5px;background:var(--eqm-gold)}.eqm-clinic-body{padding:24px}.eqm-kicker{font-size:11px;letter-spacing:2px;color:var(--eqm-gold);font-weight:800}.eqm-clinic-card h3{font-size:25px;margin:8px 0 15px;color:#fff}.eqm-clinic-card p{color:#cfcfcf;margin:8px 0}.eqm-availability{font-size:13px}.eqm-open,.eqm-next,.eqm-submit,.eqm-close-success{background:var(--eqm-gold);color:#080808;border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}.eqm-open{width:100%;margin-top:15px}.eqm-open:disabled{opacity:.45;cursor:not-allowed}.eqm-modal{position:fixed;inset:0;z-index:999999;display:none}.eqm-modal.open{display:block}.eqm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.eqm-dialog{position:relative;max-width:720px;max-height:92vh;overflow:auto;margin:4vh auto;background:#0c0c0c;color:#fff;border:1px solid #2c2c2c;border-top:5px solid var(--eqm-gold);border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.55)}.eqm-close{position:absolute;right:16px;top:12px;background:none;border:0;color:#aaa;font-size:32px;cursor:pointer}.eqm-modal-head{padding:28px 30px 18px;border-bottom:1px solid #222}.eqm-modal-head>span{font-size:11px;letter-spacing:2px;color:var(--eqm-gold);font-weight:800}.eqm-modal-head h2{margin:5px 40px 15px 0;color:#fff}.eqm-progress{display:flex;gap:6px}.eqm-progress i{height:4px;flex:1;background:#333;border-radius:4px}.eqm-progress i.active{background:var(--eqm-gold)}.eqm-form{padding:25px 30px}.eqm-step{display:none}.eqm-step.active{display:block}.eqm-step h3{color:#fff;margin-top:0}.eqm-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.eqm-form label{display:block;color:#ddd;font-size:13px;margin:0 0 15px}.eqm-form input:not([type=radio]):not([type=checkbox]),.eqm-form textarea{box-sizing:border-box;width:100%;margin-top:7px;background:#171717;color:#fff;border:1px solid #333;border-radius:10px;padding:12px;outline:none}.eqm-form input:focus,.eqm-form textarea:focus{border-color:var(--eqm-gold)}.eqm-slot-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.eqm-slot{background:#171717;color:#fff;border:1px solid #333;border-radius:10px;padding:13px;cursor:pointer}.eqm-slot.selected{border-color:var(--eqm-gold);box-shadow:inset 0 0 0 1px var(--eqm-gold);color:#e4bd57}.eqm-choice{display:flex!important;gap:12px;align-items:center;background:#171717;border:1px solid #333;border-radius:12px;padding:15px!important;cursor:pointer}.eqm-choice input{accent-color:var(--eqm-gold)}.eqm-choice span{display:flex;flex-direction:column}.eqm-choice small{color:#999;margin-top:4px}.eqm-price{border-top:1px solid #2d2d2d;margin-top:18px;padding-top:18px;display:flex;justify-content:space-between;color:#fff;font-weight:700}.eqm-price strong{color:var(--eqm-gold)!important;font-size:17px;font-weight:800}.eqm-summary{background:#141414;border:1px solid #292929;border-radius:12px;padding:16px;margin-bottom:18px}.eqm-summary p{margin:7px 0;color:#ddd}.eqm-accept{display:flex!important;gap:10px}.eqm-accept input{margin-top:4px;accent-color:var(--eqm-gold)}.eqm-show-terms{padding:0;border:0;background:none;color:#d8ad3d;text-decoration:underline;cursor:pointer}.eqm-terms{background:#171717;border:1px solid #333;border-radius:10px;padding:16px;max-height:260px;overflow:auto;margin:10px 0}.eqm-actions{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #222;margin-top:24px;padding-top:18px}.eqm-prev{background:#1c1c1c;color:#fff;border:1px solid #383838;border-radius:10px;padding:12px 18px;cursor:pointer}.eqm-submit{display:none;margin-left:auto}.eqm-error{color:#ff8989;font-size:13px;margin-top:12px}.eqm-success{text-align:center;padding:50px 30px}.eqm-success-icon{width:64px;height:64px;line-height:64px;border-radius:50%;background:var(--eqm-gold);color:#111;font-size:34px;font-weight:bold;margin:0 auto 18px}.eqm-final-note{color:#999;font-size:12px}@media(max-width:650px){.eqm-dialog{margin:0;max-height:100vh;height:100%;border-radius:0}.eqm-fields,.eqm-slot-list{grid-template-columns:1fr}.eqm-form,.eqm-modal-head{padding-left:20px;padding-right:20px}}
.eqm-submit[hidden],.eqm-submit[aria-hidden="true"]{display:none!important}.eqm-submit:disabled{display:none!important}.eqm-summary{padding:18px 20px}.eqm-review-row{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:baseline;padding:7px 0;border-bottom:1px solid #232323}.eqm-review-row:last-child{border-bottom:0}.eqm-review-row span{color:var(--eqm-gold)!important;font-size:12px;font-weight:800}.eqm-review-row strong{color:#fff!important;font-size:14px;font-weight:650}.eqm-show-privacy{padding:0;border:0;background:none;color:#d8ad3d;text-decoration:underline;cursor:pointer}
@media(max-width:520px){.eqm-review-row{grid-template-columns:85px 1fr}}

.eqm-help{display:block;color:#aaa;font-size:12px;line-height:1.45;margin:6px 0 8px;font-weight:400}

/* v1.4.8 — mobile polish */
html.eqm-modal-open,body.eqm-modal-open{overflow:hidden}
.eqm-dialog,.eqm-clinic-card,.eqm-form input,.eqm-form textarea,.eqm-form button{max-width:100%}
@media(max-width:650px){
  .eqm-clinic-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .eqm-clinic-body{padding:19px 17px}
  .eqm-clinic-card h3{font-size:22px;line-height:1.2}
  .eqm-dialog{width:100%;max-width:none;margin:0;height:100dvh;max-height:100dvh;border-left:0;border-right:0;border-bottom:0}
  .eqm-modal-head{padding:22px 18px 15px;padding-top:max(22px,env(safe-area-inset-top))}
  .eqm-modal-head h2{font-size:22px;line-height:1.2;margin-right:38px}
  .eqm-close{right:12px;top:max(8px,env(safe-area-inset-top));width:44px;height:44px;line-height:38px}
  .eqm-form{padding:20px 18px calc(22px + env(safe-area-inset-bottom))}
  .eqm-fields,.eqm-slot-list{grid-template-columns:minmax(0,1fr)}
  .eqm-form input:not([type=radio]):not([type=checkbox]),.eqm-form textarea,.eqm-slot,.eqm-choice{font-size:16px;min-height:46px}
  .eqm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:sticky;bottom:calc(-1 * env(safe-area-inset-bottom));z-index:3;background:#0c0c0c;padding:14px 0 calc(12px + env(safe-area-inset-bottom));margin-top:22px}
  .eqm-actions .eqm-prev,.eqm-actions .eqm-next,.eqm-actions .eqm-submit{width:100%;min-height:48px;margin:0}
  .eqm-actions .eqm-next:only-child{grid-column:1/-1}
  .eqm-actions .eqm-submit{grid-column:2}
  .eqm-review-row{grid-template-columns:1fr;gap:3px;padding:10px 0}
  .eqm-review-row span{font-size:11px}
  .eqm-review-row strong{font-size:15px;overflow-wrap:anywhere}
  .eqm-accept{align-items:flex-start;line-height:1.45}
  .eqm-terms{max-height:45vh}
  .eqm-success{padding:40px 18px}
}
@media(max-width:380px){
  .eqm-modal-head,.eqm-form{padding-left:14px;padding-right:14px}
  .eqm-actions{grid-template-columns:1fr}
  .eqm-actions .eqm-prev,.eqm-actions .eqm-next,.eqm-actions .eqm-submit{grid-column:1}
}

/* v1.4.9 — desktop sizing + readable legal overlays */
@media (min-width:651px){
  .eqm-dialog{
    width:min(900px,calc(100vw - 48px))!important;
    max-width:900px!important;
    max-height:88vh!important;
    margin:6vh auto!important;
  }
  .eqm-form{padding:26px 30px 30px}
  .eqm-modal-head{padding:26px 30px 18px}
  .eqm-choice{padding:13px 15px!important}
}
.eqm-legal-overlay{position:fixed;inset:0;z-index:1000001;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.82);backdrop-filter:blur(6px)}
.eqm-legal-dialog{position:relative;width:min(760px,100%);max-height:min(82vh,820px);display:flex;flex-direction:column;background:#0c0c0c!important;border:1px solid #333;border-top:4px solid var(--eqm-gold);border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.65);overflow:hidden;color:#fff!important}
.eqm-legal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #292929;background:#0c0c0c!important}
.eqm-legal-head h2{margin:0!important;color:#fff!important;font-size:22px!important;line-height:1.2!important}
.eqm-legal-close{flex:0 0 auto;width:40px;height:40px;padding:0;border:1px solid #363636;border-radius:9px;background:#181818!important;color:#fff!important;font-size:24px;line-height:36px;cursor:pointer}
.eqm-legal-content{overflow:auto;padding:22px;background:#0c0c0c!important;color:#fff!important;font-size:14px;line-height:1.65}
.eqm-legal-content,.eqm-legal-content *{box-sizing:border-box}
.eqm-legal-content p,.eqm-legal-content li,.eqm-legal-content span,.eqm-legal-content strong,.eqm-legal-content em,.eqm-legal-content div{color:#fff!important}
.eqm-legal-content h1{color:#fff!important;font-size:25px!important;line-height:1.25!important;margin:0 0 8px!important}
.eqm-legal-content h2,.eqm-legal-content h3,.eqm-legal-content h4{color:var(--eqm-gold)!important;line-height:1.3!important;margin:24px 0 9px!important}
.eqm-legal-content h2{font-size:18px!important}.eqm-legal-content h3{font-size:16px!important}
.eqm-legal-content p{margin:0 0 12px!important}.eqm-legal-content ul,.eqm-legal-content ol{margin:8px 0 16px 22px!important;padding:0!important;color:#fff!important}
.eqm-legal-content a{color:#e0b642!important;text-decoration:underline!important}.eqm-legal-content hr{border:0;border-top:1px solid #333;margin:24px 0}
.eqm-legal-foot{padding:14px 22px;border-top:1px solid #292929;background:#101010!important;text-align:right}
.eqm-legal-done{min-height:42px;padding:0 18px;border:0;border-radius:9px;background:var(--eqm-gold)!important;color:#090909!important;font-weight:800;cursor:pointer}
.eqm-terms[hidden],.eqm-privacy[hidden]{display:none!important}
@media(max-width:650px){
 .eqm-legal-overlay{padding:0;align-items:stretch}
 .eqm-legal-dialog{width:100%;max-height:100dvh;height:100dvh;border-radius:0;border-left:0;border-right:0;border-bottom:0}
 .eqm-legal-head{padding:18px 16px;padding-top:max(18px,env(safe-area-inset-top))}
 .eqm-legal-head h2{font-size:20px!important}.eqm-legal-content{padding:18px 16px;font-size:14px}.eqm-legal-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.eqm-legal-done{width:100%;min-height:48px}
}

/* v1.4.13 — compact premium clinic card */
.eqm-clinic-grid{width:100%;max-width:820px;margin:0 auto;grid-template-columns:minmax(0,1fr)!important}
.eqm-clinic-card{width:100%;border-radius:16px;box-shadow:0 16px 42px rgba(0,0,0,.14)}
.eqm-clinic-body{padding:24px 26px 22px}
.eqm-clinic-card h3{margin:7px 0 13px;font-size:26px;line-height:1.18}
.eqm-clinic-card p{margin:6px 0;line-height:1.45}
.eqm-availability{margin-top:12px!important;color:#fff!important;font-weight:650}
.eqm-open{width:auto;min-width:220px;margin-top:17px;padding:13px 24px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:650px){
 .eqm-clinic-grid{max-width:none}
 .eqm-clinic-body{padding:20px 18px 19px}
 .eqm-clinic-card h3{font-size:23px}
 .eqm-open{width:100%;min-width:0}
}


/* v1.4.14 — narrower mobile clinic card, no outer border */
@media(max-width:650px){
  .eqm-clinic-grid{width:calc(100% - 32px)!important;max-width:560px!important;margin-left:auto!important;margin-right:auto!important}
  .eqm-clinic-card{width:100%!important;border:0!important;outline:0!important}
}
