/* Scoped consistency layer: only enqueued on QMStudio screens. */
:root{--qms-v1-ink:#183b34;--qms-v1-muted:#52665f;--qms-v1-line:#d7e2db;--qms-v1-bg:#f4f7f3;--qms-v1-accent:#285b4c}
.qms-v1,.qms-app,.qms-admin,.qms-flow,.qms-updates,.qms-ops,.qms-studio,.qms-auth,.qms-public,.qms-email,.qms-deploy{font-family:var(--qms-font,'Vazirmatn',Tahoma,sans-serif)!important;line-height:1.9;direction:rtl;color:var(--qms-v1-ink)}
body[class*="qmstudio"] #wpbody-content,body[class*="qmstudio"] #wpbody-content :is(input,button,select,textarea,h1,h2,h3,h4,th,td),body[class*="qms"] :is(button,input,select,textarea,h1,h2,h3,h4),.qms-v1 :is(input,button,select,textarea,h1,h2,h3,h4){font-family:var(--qms-font,'Vazirmatn',Tahoma,sans-serif)!important;letter-spacing:normal}
.qms-v1{max-width:1320px;margin:24px auto;padding:0 20px 32px;box-sizing:border-box}.qms-v1 *, .qms-date *{box-sizing:border-box}.qms-v1 h1{font-size:clamp(25px,3vw,36px);line-height:1.6;margin:10px 0}.qms-v1 h2{font-size:22px;line-height:1.65;margin:8px 0 16px}.qms-v1 h3{font-size:18px;line-height:1.7;margin:0 0 12px}.qms-v1 p{font-size:14px;line-height:1.95;overflow-wrap:anywhere}.qms-v1-title{margin-bottom:24px}.qms-v1-title>span,.qms-v1-kicker{font-size:12px;font-weight:700;color:#52776a}.qms-v1-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--qms-v1-line);padding:8px 0 22px;margin-bottom:30px}.qms-v1-top nav{display:flex;gap:20px}.qms-v1-brand{font-size:22px;font-weight:800;text-decoration:none;color:var(--qms-v1-ink)}
.qms-v1-panel,.qms-v1-bank{background:#fff;padding:24px;border:1px solid var(--qms-v1-line);border-radius:18px;margin-bottom:20px;box-shadow:0 7px 26px #243e3310;min-width:0}.qms-v1-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.qms-v1-checkout-grid{display:grid;grid-template-columns:minmax(230px,0.7fr) minmax(0,1.8fr);gap:24px;align-items:start}.qms-v1-bank{background:#edf5ef}.qms-v1-bank-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.qms-v1-bank-heading b{font-size:23px}.qms-v1-copy-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:14px;margin-bottom:10px}.qms-v1-copy-row strong{font-size:19px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex:1;min-width:190px}.qms-v1-copy-row button{border:1px solid #c4d8cc;background:#fff;color:#1c5141;border-radius:9px;padding:7px 13px;cursor:pointer}.qms-v1-muted{color:var(--qms-v1-muted)!important;font-size:13px!important}.qms-v1-warning,.qms-v1-success{padding:14px 17px;border-radius:11px;border:1px solid #e9d4a7;background:#fff8e9;color:#694c15;font-size:14px;margin:14px 0;overflow-wrap:anywhere}.qms-v1-success{border-color:#b9d7c5;background:#edf7ef;color:#285b3e}.qms-v1-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:14px;cursor:pointer}.qms-v1-consent input{flex:none;margin-top:6px}.qms-v1-request{border-top:1px solid var(--qms-v1-line);padding:22px 0}.qms-v1 .qms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.qms-v1 .qms-field,.qms-date{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0 0 16px;font-size:14px}.qms-v1 .qms-field>span,.qms-date label>span{font-weight:600}.qms-v1 input:not([type="checkbox"]):not([type="radio"]),.qms-v1 select,.qms-v1 textarea,.qms-date input,.qms-date select{width:100%;max-width:100%;border:1px solid #bfcfc5;border-radius:10px;background:white;padding:10px 12px;min-height:44px;color:#213e34;font:inherit;box-shadow:none}.qms-v1 textarea{min-height:100px}.qms-v1 :is(input,select,textarea,button):focus-visible,.qms-date :is(input,select,button):focus-visible{outline:3px solid #609984;outline-offset:2px}.qms-v1 .qms-button,.qms-v1 .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--qms-v1-accent);color:white;border:1px solid transparent;min-height:44px;padding:9px 20px;line-height:1.7;border-radius:10px;text-decoration:none;white-space:normal;cursor:pointer;font-size:14px;font-weight:600}.qms-v1 .qms-button-light,.qms-v1 .button:not(.button-primary){color:var(--qms-v1-accent);background:#edf5ef;border-color:#b8d0c2}.qms-v1 a:not(.qms-button):not(.button){color:#225c49;text-underline-offset:4px}.qms-v1-order-history{margin-top:32px}
.qms-date{position:relative}.qms-date-input{display:flex;align-items:stretch;gap:8px}.qms-date-input input{flex:1;min-width:0;font-variant-numeric:tabular-nums}.qms-date-input button{border:1px solid #bfcfc5;background:#edf5ef;border-radius:10px;color:#285b4c;cursor:pointer;padding:8px 12px;font:inherit;font-size:13px}.qms-date-mode{display:flex;align-items:center;gap:10px;font-size:12px}.qms-date-mode select{max-width:130px;min-height:34px;padding:3px 8px}.qms-date small{font-size:12px;color:#52665f;line-height:1.8}.qms-calendar{border:1px solid #bdcfc2;border-radius:12px;background:white;box-shadow:0 8px 25px #17332b20;padding:10px;margin-top:4px;direction:rtl;width:100%}.qms-calendar[hidden]{display:none!important}.qms-calendar-toolbar{display:grid;grid-template-columns:auto 1fr 1fr auto;gap:4px;margin-bottom:10px;align-items:center}.qms-calendar-toolbar select{font-size:12px!important;min-height:36px;padding:3px!important}.qms-calendar-toolbar button,.qms-calendar-footer button{font:inherit;font-size:11px;padding:5px;border:0;background:#f0f5f0;color:#275643;border-radius:5px;cursor:pointer}.qms-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.qms-calendar-days button{background:white;border:1px solid transparent;border-radius:7px;min-height:35px;font:inherit;font-size:13px;color:#263f36;cursor:pointer;padding:3px}.qms-calendar-days button:hover{background:#e9f3eb}.qms-calendar-days button.is-selected{background:#285b4c;color:white}.qms-calendar-weekday{font-size:11px;color:#52665f}.qms-calendar-footer{display:flex;justify-content:space-between;margin-top:10px}.qms-v1 :is(bdi,[dir="ltr"]){unicode-bidi:isolate}.qms-v1-table-wrap{overflow:auto}.qms-v1 dl dd{margin:0}
@media(max-width:760px){.qms-v1{padding:0 10px 24px;margin:16px auto}.qms-v1-admin-grid,.qms-v1-checkout-grid,.qms-v1 .qms-form-grid{grid-template-columns:minmax(0,1fr)}.qms-v1-panel,.qms-v1-bank{padding:18px;border-radius:14px}.qms-v1-copy-row{padding:10px}.qms-v1-copy-row strong{font-size:17px;min-width:165px}.qms-v1-bank-heading b{font-size:20px}.qms-v1-title h1{font-size:25px}.qms-v1-top nav{gap:12px;font-size:13px}.qms-v1 .qms-button,.qms-v1 .button{max-width:100%}.qms-calendar-toolbar{gap:3px}.qms-calendar-toolbar button{font-size:10px}.qms-v1-consent{font-size:13px}}
@media(prefers-reduced-motion:reduce){.qms-v1 *{scroll-behavior:auto!important;transition:none!important}}
/* Override historical serif/Arial fragments, but leave WordPress icon glyph fonts alone. */
.qms-payment-shell .qms-button:disabled,.qms-payment-shell .qms-button:disabled:hover{background:#dce5df!important;border-color:#cbd8cf!important;color:#66776d!important;cursor:not-allowed}
.qms-payment-page{max-width:1000px}.qms-payment-shell{width:100%;max-width:680px;margin:0 auto;min-width:0}.qms-payment-steps{max-width:680px;margin:0 auto 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:13px;text-align:center}.qms-payment-steps span{padding:12px 6px;border-bottom:2px solid #d7e2db;color:#52665f}.qms-payment-steps [aria-current]{border-color:#285b4c;color:#183b34;font-weight:700}.qms-payment-shell .qms-v1-panel{padding:28px}.qms-payment-shell .qms-v1-bank{box-shadow:none;padding:20px;margin:24px 0}.qms-payment-shell .qms-v1-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px}.qms-payment-shell .qms-v1-copy-row>span{grid-column:1/-1;font-size:12px;color:#52665f}.qms-payment-shell .qms-v1-copy-row strong{min-width:0;font-size:clamp(16px,2.5vw,22px);letter-spacing:1px;text-align:left;overflow-wrap:anywhere}.qms-payment-shell .qms-v1-copy-row button{align-self:center;min-height:40px}.qms-payment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.qms-payment-fields>.qms-date{grid-column:1/-1}.qms-payment-shell .qms-field{margin:0}.qms-payment-shell .qms-form{gap:18px}.qms-payment-shell .qms-form>.qms-button,.qms-payment-shell .qms-payment-next .qms-button{width:100%;min-height:48px}.qms-payment-shell button:disabled{background:#dce5df;color:#66776d;cursor:not-allowed;opacity:1}.qms-payment-extra{border-top:1px solid #d7e2db;padding-top:16px;margin:18px 0}.qms-payment-extra>summary{font-size:13px;cursor:pointer;color:#456256}.qms-payment-extra[open]>summary{margin-bottom:16px}.qms-payment-record{font-size:13px}.qms-payment-record>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.qms-payment-selection{color:#52665f}.qms-payment-wait{text-align:start}.qms-payment-wait h2{margin:12px 0}.qms-payment-next{margin-top:24px}.qms-payment-shell .qms-date-mode{justify-content:flex-end}.qms-payment-shell .qms-date-mode select{width:auto}
@media(max-width:540px){.qms-payment-shell .qms-v1-panel{padding:18px}.qms-payment-shell .qms-v1-bank{padding:12px}.qms-payment-shell .qms-v1-copy-row{padding:10px;gap:6px}.qms-payment-shell .qms-v1-copy-row strong{font-size:16px;letter-spacing:0}.qms-payment-fields{grid-template-columns:minmax(0,1fr)}.qms-payment-steps{font-size:11px;gap:5px}.qms-payment-page .qms-v1-top{margin-bottom:18px}.qms-payment-shell .qms-v1-bank-heading b{font-size:20px}.qms-payment-page{padding:0 8px 24px}}
.qms-body,.qms-body :not(svg):not(path):not(use):not(.dashicons),body[class*="qmstudio"] #wpbody-content :not(svg):not(path):not(use):not(.dashicons){font-family:var(--qms-font,'Vazirmatn',Tahoma,sans-serif)!important}
.qms-payment-shell .qms-v1-copy-row>span{grid-column:1;grid-row:1;align-self:center}.qms-payment-shell .qms-v1-copy-row>button{grid-column:2;grid-row:1}.qms-payment-shell .qms-v1-copy-row>strong{grid-column:1/-1;grid-row:2;text-align:center}.qms-payment-shell .qms-bank-card>strong{white-space:nowrap;overflow-wrap:normal;font-size:clamp(13px,4vw,22px);letter-spacing:0}.qms-payment-shell .qms-v1-bank .qms-payment-extra{margin:12px 0 0;padding-top:10px}.qms-payment-shell .qms-v1-bank-heading{margin-bottom:16px}
/* v1.2.3: visible consent and a single, truthful site address. */
.qms-body .qms-consent-callout,.qms-v1 .qms-consent-callout,.qms-form label.qms-check:has(input[required]){display:flex;align-items:flex-start;gap:16px;background:#fff4d8;border:2px solid #bd871f;border-radius:14px;padding:20px;margin:20px 0 12px;width:100%;box-sizing:border-box;color:#583c0c;font-size:15px;line-height:1.9;cursor:pointer;text-align:right}
.qms-consent-callout>span{min-width:0}.qms-consent-callout strong,.qms-consent-callout>span>span{display:block}.qms-consent-callout strong{font-size:16px;margin-bottom:5px}
.qms-form .qms-consent-callout input[type=checkbox],.qms-form label.qms-check input[type=checkbox][required]{appearance:auto;width:26px!important;height:26px!important;min-width:26px;min-height:26px;max-width:26px;flex:0 0 26px;margin:3px 0 0!important;accent-color:#23583e;cursor:pointer}
.qms-form .qms-consent-callout.is-confirmed,.qms-form label.qms-check:has(input[required]:checked){background:#e5f3e8;border-color:#35774d;color:#1d4f32}.qms-form .qms-consent-callout:focus-within{outline:3px solid #23583e;outline-offset:3px}
.qms-form.qms-consent-form .qms-button:disabled{background:#e0e6e2!important;border-color:#bac8bf!important;color:#53645a!important;cursor:not-allowed;opacity:1}.qms-consent-hint{font-size:13px;color:#53645a;margin:8px 0 0;line-height:1.8}
.qms-domain-badge{display:inline-block;padding:5px 14px;border-radius:30px;background:#fff0cd;color:#725114;font-weight:600}.qms-domain-badge.is-live{background:#e5f3e8;color:#23583e}.qms-site-url{padding:18px;background:#f1f5f0;border-radius:12px;font-size:clamp(16px,2vw,23px);overflow-wrap:anywhere;text-align:left}.qms-site-url a{font-weight:700}.qms-v1 [data-domain-section][hidden]{display:none!important}.qms-v1 [data-domain-section]{margin:20px 0}.qms-nameservers .qms-v1-copy-row{border:1px solid #cfdbd1}.qms-nameservers .qms-v1-copy-row strong{min-width:0;flex-basis:220px}
.qms-help-dialog{box-sizing:border-box;width:min(660px,calc(100% - 28px));max-height:85dvh;padding:26px;border:1px solid #c2d0c6;border-radius:20px;color:#193c31;background:#fff;text-align:right;font:inherit;line-height:2;overflow:auto}.qms-help-dialog::backdrop{background:#0e261dcc;backdrop-filter:blur(3px)}.qms-help-dialog:not([open]){display:none}.qms-help-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.qms-help-heading h3{margin:0 0 20px}.qms-help-heading button{flex:none;border:1px solid #c2d0c6;border-radius:8px;background:#f1f5ef;min-height:44px;padding:8px 12px;color:#193c31;cursor:pointer}.qms-help-dialog li{margin-bottom:14px}.qms-help-dialog ol{padding-inline-start:24px}
@media(max-width:600px){.qms-body .qms-consent-callout,.qms-v1 .qms-consent-callout,.qms-form label.qms-check:has(input[required]){padding:16px 12px;gap:12px;font-size:14px}.qms-consent-callout strong{font-size:15px}.qms-consent-callout+.qms-button{width:100%}.qms-help-dialog{padding:18px}.qms-help-heading{flex-wrap:wrap}.qms-nameservers .qms-v1-copy-row strong{flex-basis:170px;font-size:16px}}
/* v1.2.4: the publication journey keeps one clear action in view at a time. */
.qms-domain-journey{max-width:940px;margin:18px auto;padding:0 12px 28px}.qms-domain-journey .qms-journey-heading{margin:0 0 14px}.qms-domain-journey .qms-journey-heading>span,.qms-journey-step{display:block;color:#52776a;font-size:12px;font-weight:700}.qms-domain-journey .qms-journey-heading h2{margin:2px 0 3px;font-size:clamp(21px,3vw,28px)}.qms-domain-journey .qms-journey-heading p{margin:0;font-size:13px}.qms-domain-journey .qms-journey-card{background:#fff;border:1px solid var(--qms-v1-line);border-radius:16px;padding:18px 20px;margin:0 0 14px;box-shadow:0 5px 20px #243e330d}.qms-domain-journey .qms-journey-card h3{font-size:18px;margin:3px 0 7px}.qms-domain-journey .qms-journey-card p{margin:6px 0 12px}.qms-domain-journey .qms-journey-form{margin-top:14px}.qms-domain-journey .qms-journey-confirm{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;margin:14px 0 10px;border:1px solid #d3ded5;border-radius:10px;background:#f7faf7;color:#26473c;font-size:13px;line-height:1.75;cursor:pointer}.qms-domain-journey .qms-journey-confirm:has(input:checked){border-color:#63a078;background:#edf7ef}.qms-domain-journey .qms-journey-confirm input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#285b4c}.qms-domain-journey .qms-journey-url{display:block;max-width:100%;padding:11px 13px;margin:10px 0;background:#f1f5f0;border:1px solid #dbe5dd;border-radius:10px;color:#173f33!important;font-weight:700;font-size:clamp(15px,2vw,19px);line-height:1.55;overflow-wrap:anywhere;text-align:left;text-decoration:none}.qms-domain-journey .qms-journey-url:hover{background:#e8f1e9}.qms-domain-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qms-domain-choices a{display:flex;flex-direction:column;gap:4px;min-width:0;padding:13px;border:1px solid #cbdacf;border-radius:11px;background:#fafcf9;color:#214b3e!important;text-decoration:none}.qms-domain-choices a:hover{border-color:#4f8a6b;background:#eff6f0}.qms-domain-choices strong{font-size:15px}.qms-domain-choices span{font-size:12px;line-height:1.7;color:#556b61}.qms-journey-back{display:inline-block;margin-bottom:7px;font-size:13px}.qms-journey-progress{height:8px;overflow:hidden;border-radius:99px;background:#e4ece5;margin:13px 0}.qms-journey-progress i{display:block;width:36%;height:100%;border-radius:inherit;background:#3f8065;animation:qms-journey-progress 1.4s ease-in-out infinite alternate}.qms-domain-journey .qms-nameservers{margin:12px 0}.qms-domain-journey .qms-nameservers h4{font-size:14px;margin:0 0 7px}.qms-domain-journey .qms-v1-copy-row{padding:9px 10px;margin-bottom:7px}.qms-domain-journey .qms-v1-copy-row strong{font-size:15px}.qms-domain-journey .qms-row{display:flex;flex-wrap:wrap;gap:9px}.qms-domain-journey [data-qms-nic][hidden]{display:none!important}
@keyframes qms-journey-progress{from{transform:translateX(80%)}to{transform:translateX(-180%)}}
/* Existing forms keep the same confirmation behavior without consuming a screen. */
.qms-body .qms-consent-callout,.qms-v1 .qms-consent-callout,.qms-form label.qms-check:has(input[required]){gap:10px;padding:10px 12px;margin:12px 0 8px;border-width:1px;border-radius:10px;font-size:13px;line-height:1.75}.qms-consent-callout strong{font-size:14px;margin-bottom:2px}.qms-form .qms-consent-callout input[type=checkbox],.qms-form label.qms-check input[type=checkbox][required]{width:20px!important;height:20px!important;min-width:20px;min-height:20px;max-width:20px;margin:2px 0 0!important}
@media(max-width:700px){.qms-domain-journey{padding:0 9px 22px}.qms-domain-journey .qms-journey-card{padding:15px 14px;border-radius:13px}.qms-domain-choices{grid-template-columns:minmax(0,1fr)}.qms-domain-journey .qms-journey-confirm{font-size:12px}.qms-domain-journey .qms-v1-copy-row{gap:7px}.qms-domain-journey .qms-v1-copy-row strong{font-size:14px;min-width:145px}}
@media(prefers-reduced-motion:reduce){.qms-journey-progress i{animation:none;transform:none;width:100%}}
/* v1.2.5: confirmation and recovery remain readable without enlarging the journey. */
.qms-domain-journey .qms-journey-confirm.qms-consent-callout{background:#fff4d8;border-color:#bd871f;color:#583c0c}.qms-domain-journey .qms-journey-confirm.qms-consent-callout.is-confirmed{background:#e5f3e8;border-color:#35774d;color:#1d4f32}.qms-domain-journey .qms-journey-form>.qms-button{min-width:190px}.qms-domain-journey .qms-journey-card>.qms-v1-warning{margin:10px 0;font-size:13px;padding:10px 12px}
