/*
Theme Name: Qrex Medical
Description: Qrex diagnostic center, doctor directory, test prices and appointment requests.
Version: 2.4.0
Author: BlensyInc
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: qrex-medical
*/

:root{--green:#087757;--ink:#183d32;--muted:#64756e;--light:#eff6f2;--red:#e94e44;--line:#dfebe3}*{box-sizing:border-box}body{margin:0;font:15px/1.6 Inter,Arial,sans-serif;color:var(--ink);background:#fff}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button,.btn{cursor:pointer;border:0;border-radius:7px;padding:12px 20px;background:var(--green);color:white;display:inline-block;font-weight:600}button:hover,.btn:hover{filter:brightness(.93)}.outline{background:white;border:1px solid var(--line);color:var(--ink)}.wrap{max-width:1200px;margin:auto;padding:0 28px}.top{background:var(--green);color:#fff;font-size:12px}.top .wrap{display:flex;justify-content:space-between;padding-top:8px;padding-bottom:8px}header{border-bottom:1px solid var(--line);background:white;position:sticky;top:0;z-index:20}header .wrap{display:flex;align-items:center;gap:28px;min-height:92px}.logo{width:177px;height:69px;object-fit:contain}nav{display:flex;gap:24px;margin-left:auto;font-size:14px}nav a.active{color:var(--green);font-weight:bold}.menu{display:none}.eyebrow{color:var(--green);font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font:600 clamp(40px,5.2vw,70px)/1.08 Georgia,serif;letter-spacing:-2px}h2{font:500 38px/1.2 Georgia,serif;letter-spacing:-.8px}h3{font-size:19px;line-height:1.35}p{color:var(--muted)}.hero{background:#f0f6f1;overflow:hidden}.hero .wrap{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:550px;gap:35px}.hero-copy{padding:60px 0}.hero p{max-width:470px;font-size:17px}.hero-buttons{display:flex;gap:12px;margin:30px 0}.trust{display:flex;gap:20px;font-size:12px;color:var(--muted)}.hero-art{position:relative;align-self:stretch;display:flex;align-items:flex-end;justify-content:center}.hero-art:before{content:'';position:absolute;inset:65px 0 0;border-radius:50% 50% 0 0;background:#dceadf}.hero-art>img{height:470px;max-width:100%;position:relative;object-fit:contain}.float{position:absolute;background:white;border:1px solid var(--line);padding:17px 22px;border-radius:12px;box-shadow:0 10px 40px #1d5c3220;font-size:13px;z-index:2}.float.one{left:0;bottom:90px}.float.two{right:-5px;top:110px}.float strong{display:block}.float small{color:var(--muted)}.dots{display:flex;gap:7px}.dots button{width:25px;height:4px;padding:0;border-radius:2px;background:#bed3c4}.dots .active{background:var(--green)}section{padding:70px 0}.quick{padding:0;margin-top:-1px;background:white;border-bottom:1px solid var(--line)}.quick .wrap{display:grid;grid-template-columns:repeat(3,1fr)}.quick a{padding:28px 22px;display:flex;align-items:center;gap:15px;border-right:1px solid var(--line)}.quick a:last-child{border:0}.icon{background:var(--light);color:var(--green);font-size:25px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center}.quick small{display:block;color:var(--muted)}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:30px}.heading p{max-width:380px;margin-bottom:5px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:12px;background:white;padding:24px}.doctor{cursor:pointer;transition:transform .2s}.doctor:hover{transform:translateY(-4px);box-shadow:0 15px 30px #173f3210}.portrait{height:170px;border-radius:8px;background:linear-gradient(135deg,#e7f1e9,#f6f9f6);display:grid;place-items:center;margin-bottom:20px;overflow:hidden}.portrait span{font:46px Georgia;color:#7b9e87}.portrait img{width:100%;height:100%;object-fit:cover}.tag{display:inline-block;background:var(--light);padding:3px 9px;border-radius:4px;font-size:10px;color:var(--green);font-weight:bold;letter-spacing:.7px;text-transform:uppercase}.doctor h3{margin:10px 0 8px}.doctor p{font-size:12px;margin:0 0 15px}.doctor .foot{border-top:1px solid var(--line);padding-top:14px;display:flex;justify-content:space-between;font-size:12px}.soft{background:#f7faf7}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}input,select,textarea{width:100%;border:1px solid #cddfd3;border-radius:6px;padding:11px 13px;background:white;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #74ba97}.filters input{flex:1;min-width:180px}.filters select{width:auto;max-width:270px}.split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.building{width:100%;border-radius:16px;max-height:390px;object-fit:cover}.ticks{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:13px;margin:25px 0}.ticks span:before{content:'✓';color:var(--green);margin-right:10px}.cta{background:var(--green);color:white;padding:45px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:25px}.cta p{color:#cce4d8}.cta h2{margin-bottom:10px}.cta .btn{background:white;color:var(--green)}footer{background:#102f26;color:#dae9e1;padding:45px 0 20px}footer .grid{grid-template-columns:1.5fr 1fr 1fr}footer p{font-size:13px;color:#aac3b7}footer a{display:block;font-size:13px;margin:8px 0}.credits{border-top:1px solid #355345;margin-top:30px;padding-top:20px;font-size:11px;display:flex;justify-content:space-between;gap:12px}.credits a{display:inline;font-size:11px}.titleband{background:var(--light);padding:50px 0}.titleband h1{font-size:47px;margin:10px 0}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:10px}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--line)}th{background:var(--light);font-size:11px;text-transform:uppercase}tbody tr:hover{background:#f8faf8}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.pager button{padding:8px 16px}.faq{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-weight:600}.faq p{margin:15px 0 0}.contact-card{min-height:210px}.chat-launch{position:fixed;bottom:24px;right:24px;z-index:25;border-radius:30px;box-shadow:0 6px 30px #153c3230}.chat{position:fixed;bottom:86px;right:24px;background:white;width:350px;max-width:calc(100vw - 30px);border:1px solid var(--line);box-shadow:0 20px 70px #163b3230;border-radius:14px;z-index:30;overflow:hidden}.chat-head{background:var(--green);color:white;padding:18px;display:flex;justify-content:space-between}.chat-body{padding:20px;max-height:320px;overflow:auto;font-size:13px}.chat-body p{padding:12px;background:var(--light);border-radius:8px}.chat form{display:flex;padding:12px;gap:6px}.chat button{padding:10px}.notice{font-size:12px;background:#fff7e8;color:#806434;padding:12px;border-radius:6px;margin:15px 0}.modal{width:620px;max-width:calc(100vw - 30px);max-height:90vh;border:0;border-radius:15px;padding:30px;color:var(--ink)}.modal::backdrop{background:#102e266b}.modal .close{float:right;padding:5px 12px;background:var(--light);color:var(--ink)}label{display:block;font-size:12px;font-weight:600;margin-bottom:14px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.formgrid label{margin:0}.modal h2{font-size:30px}.status{padding:12px;background:var(--light);color:var(--green);border-radius:6px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}.admin-tabs button{background:var(--light);color:var(--green)}.admin-tabs .selected{background:var(--green);color:white}.admin-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-row>span{flex:1}.admin-row button{padding:7px 12px;font-size:12px}.help{font-size:12px;color:var(--muted)}.empty{padding:40px;text-align:center;color:var(--muted)}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:900px){nav{gap:12px}.wrap{padding:0 20px}.hero .wrap{gap:0}.hero-art>img{height:380px}.float.two{display:none}.grid{grid-template-columns:repeat(2,1fr)}.split{gap:30px}.top span:first-child{display:none}header .btn{display:none}}@media(max-width:650px){header .wrap{min-height:75px;justify-content:space-between}.logo{width:145px;height:58px}.menu{display:block;padding:8px 13px}nav{display:none;position:absolute;top:75px;left:0;right:0;background:white;padding:20px;flex-direction:column;border-bottom:1px solid var(--line)}nav.open{display:flex}.hero .wrap{grid-template-columns:1fr}.hero-copy{padding:45px 0 20px}.hero-art{height:320px}.hero-art>img{height:320px}.hero-art:before{inset:10px 20px 0}.float.one{bottom:40px}.hero h1{font-size:48px}.quick .wrap{grid-template-columns:1fr}.quick a{border:0;border-bottom:1px solid var(--line);padding:17px 0}.grid,.split,footer .grid{grid-template-columns:1fr}.heading{align-items:start;flex-direction:column;gap:8px}section{padding:45px 0}h2{font-size:32px}.cta{flex-direction:column;align-items:start;padding:28px}.credits{flex-direction:column}.portrait{height:180px}.formgrid{grid-template-columns:1fr}.top .wrap{justify-content:center}.chat-launch{bottom:15px;right:15px}.titleband h1{font-size:39px}}

.care-explorer{background:linear-gradient(130deg,#f6faf7,#edf6f0);border-bottom:1px solid var(--line)}.explorer-layout{display:grid;grid-template-columns:440px 1fr;gap:26px;align-items:start}.directory-only{grid-template-columns:1fr}.body-panel,.directory-panel{background:white;border:1px solid #d5e7dc;border-radius:18px;padding:26px}.body-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.sex-tabs{display:flex;padding:4px;background:#edf4ef;border-radius:25px}.sex-tabs button{background:transparent;color:var(--muted);padding:7px 15px;border-radius:20px;font-size:12px}.sex-tabs button.active{background:var(--green);color:white;box-shadow:0 3px 9px #145c3320}.body-stage{height:360px;position:relative;margin-top:15px;display:flex;justify-content:center;background:radial-gradient(ellipse,#eaf5ed,white 68%);border-radius:12px}.body-stage svg{height:100%;max-width:100%}.body-stage svg a:hover circle{fill:var(--red)}.body-stage svg a:focus{outline:2px solid var(--red)}.body-caption{position:absolute;top:15px;left:0;max-width:130px}.body-caption small{display:block;font-size:11px;margin-top:8px;color:var(--muted)}.body-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.body-choices a{padding:8px 10px;border:1px solid var(--line);border-radius:7px;font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:8px}.body-choices a:hover{background:var(--light);border-color:#87b79d}.body-choices span{color:var(--green)}.directory-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}.directory-header h3{margin:0}.department-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.department-card{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:10px;padding:15px 12px;transition:background .2s,transform .2s}.department-card:hover{background:#eef7f1;transform:translateY(-2px)}.department-card strong{font-size:12px;line-height:1.4;display:block}.department-card small{font-size:10px;color:var(--muted)}.dept-mark{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;background:#edf5ef;color:var(--green);font-size:20px;border-radius:9px}.dept-arrow{margin-left:auto;color:var(--green)}.feature-toggle{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);gap:20px}.feature-toggle p{margin:5px 0 0}.switch{position:relative;display:block;width:48px;height:26px;flex-shrink:0;margin:0}.switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0;z-index:2;cursor:pointer}.switch>span:nth-child(2){position:absolute;inset:0;background:#d8e3dc;border-radius:20px;transition:.2s}.switch>span:nth-child(2):before{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:white;transition:.2s}.switch input:checked+span{background:var(--green)}.switch input:checked+span:before{transform:translateX(22px)}.switch input:focus-visible+span{outline:3px solid #75b89a}.estimate-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#edf6ef;border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:18px;font-size:13px}.estimate-bar strong{color:var(--green)}@media(max-width:1000px){.explorer-layout{grid-template-columns:360px 1fr}.department-grid{grid-template-columns:1fr}}@media(max-width:760px){.explorer-layout{grid-template-columns:1fr}.department-grid{grid-template-columns:1fr 1fr}.body-stage{height:350px}}@media(max-width:430px){.department-grid{grid-template-columns:1fr}.body-panel,.directory-panel{padding:18px}.body-panel-head{font-size:12px}.estimate-bar{flex-direction:column;align-items:start}}

.admin-bar header{top:32px}
/* Modern Qrex design — version 2.0 */
:root{--green:#086d59;--ink:#123c33;--muted:#586f66;--light:#edf7f2;--line:#dcebe3;--red:#d65248;--radius:20px}
body{font-family:Arial,Helvetica,sans-serif;background:#fcfefd;font-size:15px;line-height:1.7}::selection{background:#c0e7d5;color:#123c33}button,.btn{border-radius:11px;padding:13px 21px;transition:background .18s,transform .18s,box-shadow .18s}button:disabled{opacity:.45;cursor:default}button:hover:not(:disabled),.btn:hover{box-shadow:0 6px 18px #0b5c4820;filter:none;background:#075b4a;color:#fff}.outline:hover{background:#edf7f2!important;color:var(--green)!important}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #dc9b43;outline-offset:4px}.wrap{max-width:1280px;padding:0 40px}.top{background:#103f34;font-size:12px}.top .wrap{align-items:center}.top a{font-weight:700}header{background:#ffffffed;backdrop-filter:blur(16px);box-shadow:0 4px 25px #153f3207}header .wrap{min-height:95px;gap:20px}nav{gap:23px}nav a{white-space:nowrap;position:relative;font-weight:600;font-size:13px}nav a.active:after{content:'';position:absolute;left:0;right:0;bottom:-12px;height:3px;border-radius:2px;background:var(--green)}.logo{width:168px;height:69px}.skip-link{position:fixed;left:15px;top:-80px;padding:12px;background:var(--green);color:white;z-index:100}.skip-link:focus{top:10px}
h1,h2{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(40px,4.7vw,66px);font-weight:500;line-height:1.12;letter-spacing:-2px}h2{font-size:clamp(30px,3.2vw,43px);line-height:1.2}.eyebrow{font-size:11px;letter-spacing:1.7px}.hero{background:radial-gradient(ellipse at 12% 12%,#dff1e5,transparent 55%),#f1f8f4;position:relative;padding:28px 0 36px}.hero .wrap{grid-template-columns:1fr 1.08fr;gap:48px;min-height:535px}.hero-copy{padding:44px 0}.hero p{font-size:17px;line-height:1.8;min-height:92px;max-width:480px}.hero h1{min-height:148px;max-width:510px}.hero-buttons{flex-wrap:wrap;gap:10px;margin:24px 0}.trust{gap:16px;flex-wrap:wrap;font-size:11px}.hero-art{align-self:center;display:block;height:455px;min-width:0}.hero-art:before{display:none}.hero-art>img{height:100%;width:100%;object-fit:cover;object-position:center;border-radius:24px;box-shadow:0 22px 70px #123c3320}.float{border-radius:14px;box-shadow:0 12px 32px #123c3315;backdrop-filter:blur(10px);background:#ffffffed;padding:17px 20px}.float.one{left:-24px;bottom:38px}.float.two{right:-15px;top:30px}.image-caption{position:absolute;bottom:12px;right:14px;color:white;background:#103f34bc;border-radius:5px;padding:3px 7px;font-size:9px}.slider-controls{display:flex;align-items:center;gap:12px;margin-top:32px;flex-wrap:wrap}.slide-arrow{width:38px;height:38px;padding:0;background:white;color:var(--green);border:1px solid #cce2d5;border-radius:50%;font-size:18px}.dots{gap:6px;align-items:center}.dots button{width:8px;height:8px;border-radius:50%;transition:width .2s}.dots button.active{width:25px;border-radius:6px}.slide-pause{font-size:11px;background:transparent;color:var(--green);padding:7px 10px;border:1px solid #d3e5da}.slide-count{color:var(--muted);font-size:11px;letter-spacing:1px}.quick{background:white;box-shadow:0 6px 30px #153f3206}.quick a{padding:28px 20px}.quick a:hover{background:#f5faf7}.icon{border-radius:13px;width:49px;height:49px}.quick strong{font-size:14px}.quick small{font-size:12px}.card{border-radius:var(--radius);padding:26px;box-shadow:0 6px 28px #123c3305}.doctor{border:1px solid #dce9e1}.doctor:hover{border-color:#8fbea6;box-shadow:0 14px 34px #123c3310}.portrait{height:190px;border-radius:13px;background:radial-gradient(circle at 50% 40%,#d8eadf,#f4f8f5)}.portrait span{width:82px;height:82px;border:1px solid #bcd9c9;border-radius:50%;display:grid;place-items:center;font-size:31px;color:#3c7660}.doctor h3{font-size:18px}.doctor p{min-height:40px}.tag{padding:4px 9px;border-radius:6px;font-size:10px}.doctor .foot{align-items:center;gap:10px}.doctor .foot strong{white-space:nowrap;font-size:11px}.heading{margin-bottom:32px}.soft{background:#f3f8f5}.titleband{background:radial-gradient(ellipse at 85% 10%,#dbeedf,transparent 60%),#eff7f2;padding:55px 0;border-bottom:1px solid var(--line)}.titleband h1{font-size:clamp(36px,4vw,53px)}.titleband p{max-width:620px;margin:0}.care-explorer{background:#f5f9f6}.body-panel,.directory-panel{border-radius:20px;box-shadow:0 10px 30px #123c3305}.department-card{background:#fcfefd;border-radius:13px}.department-card strong{font-size:13px}.dept-mark{border-radius:10px}.filters{padding:16px;background:#f0f7f3;border-radius:14px}.filters input,.filters select{border-color:#d4e5da}.tablewrap{border-radius:16px;background:white}th{background:#e8f3ed;color:var(--green);padding:17px 18px}td{padding:15px 18px}.estimate-bar{border-radius:15px}.faq{padding:22px 0}.faq summary{font-size:16px;list-style-position:outside;margin-left:20px}.faq p{padding-left:20px}.cta{background:radial-gradient(ellipse at 90% 10%,#208967,transparent 60%),#075c49;border-radius:24px;padding:48px;box-shadow:0 15px 40px #075c4918}.cta h2{color:#fff}.cta .btn:hover{background:#e7f4ec;color:var(--green)}footer{background:#10352c;padding-top:58px}footer h3{font-size:16px}footer .logo{background:white;border-radius:9px;padding:7px}footer a:hover{color:#8cdfb8}.chat-launch{border-radius:40px;font-size:13px;padding:14px 22px}.chat{border-radius:20px}.chat-head button{background:#ffffff20}.chat form{background:#f7faf8}.modal{border-radius:22px;padding:32px;box-shadow:0 25px 80px #123c3340}.modal h2{line-height:1.2}.admin-tabs{padding:9px;background:#f1f7f3;border-radius:15px;gap:6px}.admin-tabs button{padding:9px 15px;font-size:12px;border-radius:9px}.admin-row{gap:12px}.admin-row small{max-width:650px;overflow:hidden;max-height:70px}.native-content .card{margin-bottom:24px}.native-content img{max-width:100%;height:auto;border-radius:14px}.native-content h1{font-size:38px}#main:focus{outline:none}[hidden]{display:none!important}
@media(max-width:1100px){.wrap{padding:0 28px}header .wrap{gap:14px}nav{gap:14px}.hero .wrap{gap:28px}.hero-art{height:410px}.float.two{display:none}header>.wrap>.btn{font-size:12px;padding:10px 12px}.hero h1{font-size:53px}.hero p{font-size:16px}.hero-art>.float.one{left:-12px}.explorer-layout{grid-template-columns:360px 1fr}}
@media(max-width:900px){header .wrap>.btn{display:none}nav{gap:17px}.hero h1{font-size:47px}.hero .wrap{gap:25px}.hero-art{height:400px}.float.one{font-size:11px;padding:13px}.hero-copy{padding:26px 0}.hero p{min-height:112px}.hero h1{min-height:128px}.quick a{padding:22px 12px}.quick strong{font-size:12px}.quick small{font-size:11px}.quick .icon{width:40px;height:40px;flex-shrink:0}.split{gap:32px}}
@media(max-width:760px){.wrap{padding:0 20px}.hero{padding:0 0 30px}.hero .wrap{grid-template-columns:1fr;gap:20px;min-height:0}.hero-copy{padding:38px 0 0}.hero h1{font-size:clamp(40px,7vw,55px);min-height:0;max-width:100%}.hero p{min-height:0;max-width:100%;font-size:16px}.hero-art{height:340px;margin:0;align-self:stretch}.hero-art>img{border-radius:19px}.hero-art .float.one{left:12px;bottom:35px}.slider-controls{margin-top:25px}.hero-buttons{margin:21px 0}.quick .wrap{grid-template-columns:1fr}.quick a{border:0;border-bottom:1px solid var(--line);padding:17px 0}.quick strong{font-size:14px}.quick small{font-size:12px}.quick .icon{width:45px;height:45px}.explorer-layout{grid-template-columns:1fr}.department-grid{grid-template-columns:1fr 1fr}.heading{align-items:flex-start;flex-direction:column;gap:10px}.heading p{max-width:100%}.split{grid-template-columns:1fr}.titleband{padding:40px 0}.body-panel,.directory-panel{padding:22px}.cta{padding:30px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}footer .grid{grid-template-columns:1fr}.card{padding:20px}.doctor h3{font-size:16px}.doctor .foot{flex-direction:column;align-items:flex-start}.trust{gap:12px}section{padding:50px 0}.admin-row{flex-wrap:wrap}.admin-row>span{flex-basis:100%}.admin-row button{padding:8px 12px}.filters select{flex:1;min-width:140px;max-width:100%}}
@media(max-width:650px){header .wrap{min-height:78px}nav{top:78px;gap:18px;border-bottom:1px solid var(--line);box-shadow:0 15px 30px #153f3210}nav a.active:after{display:none}.menu{background:var(--light);color:var(--green);border:1px solid #d1e6d9}.logo{width:145px;height:58px}.top{font-size:10px}.top .wrap{gap:15px;justify-content:space-between;padding-top:7px;padding-bottom:7px}.hero-art{height:300px}.hero-art>img{height:100%}.grid{grid-template-columns:1fr}.portrait{height:200px}.doctor .foot{flex-direction:row;align-items:center}.department-grid{grid-template-columns:1fr 1fr}.department-card{padding:12px 9px;gap:8px}.department-card strong{font-size:11px}.dept-mark{width:29px;height:29px;font-size:17px}.dept-arrow{display:none}.body-stage{height:330px}.hero h1{letter-spacing:-1.4px}.slider-controls{gap:10px}.image-caption{font-size:8px}.float.one{bottom:35px}.chat-launch{bottom:14px;right:14px}.chat{right:14px;bottom:78px}.credits{gap:10px}.titleband h1{letter-spacing:-1px}.modal{padding:24px}.formgrid{gap:12px}.pager{gap:12px;font-size:11px}.pager button{font-size:11px;padding:8px 10px}.estimate-bar{flex-direction:column;align-items:flex-start}.admin-tabs{gap:4px}.admin-tabs button{padding:8px 11px}.cta{align-items:flex-start}.body-caption{max-width:115px}}
@media(max-width:360px){.hero-buttons .btn{font-size:12px;padding:12px}.topHours{display:none}.department-grid{grid-template-columns:1fr}.top .wrap{font-size:9px;gap:8px}}
@media(max-width:782px){.admin-bar header{top:46px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep the supplied logo readable by framing its existing white margins. */
.logo{object-fit:cover;object-position:center}
@media(max-width:900px){header .wrap{min-height:80px;justify-content:space-between}header nav{display:none;position:absolute;top:80px;left:0;right:0;margin:0;padding:22px 28px;flex-direction:column;background:white;border-bottom:1px solid var(--line);box-shadow:0 15px 30px #153f3210}header nav.open{display:flex}header nav a.active:after{display:none}header .menu{display:block;background:var(--light);color:var(--green);padding:8px 13px;border:1px solid #d1e6d9}}
@media(max-width:650px){header .wrap{min-height:78px}header nav{top:78px}}

/* Qrex 2.1: branding, dashboard and accessible specialist carousel */
.logo{width:230px;height:70px;object-fit:contain}.doctor-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 2px 24px;scrollbar-color:#8ab7a3 #edf7f2}.doctor-track .doctor{flex:0 0 calc((100% - 44px)/3);scroll-snap-align:start;box-sizing:border-box}.carousel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0;color:var(--muted);font-size:12px}.carousel-toolbar button{padding:8px 15px}.body-stage{background:#fff;height:370px}.body-diagram{height:100%;position:relative;aspect-ratio:163/344}.body-diagram.female{aspect-ratio:119/350}.body-diagram>img{display:block;width:100%;height:100%;object-fit:fill}.body-hotspot{position:absolute;width:20px;height:20px;border:4px solid #fff;background:#087757;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #08775728}.body-hotspot:hover{background:#d65248;box-shadow:0 0 0 6px #d6524830}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.dashboard-metrics button{background:#eaf5ef;color:var(--green);text-align:left;padding:24px}.dashboard-metrics strong{display:block;font-size:34px}.dashboard-metrics span{font-size:12px}.dashboard-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-actions button{text-align:left;background:white;color:var(--ink);border:1px solid var(--line)}.dashboard-actions p{margin-bottom:0}.media-preview{background:#f2f7f4;border:1px solid var(--line);border-radius:14px;padding:15px;margin-bottom:15px}.media-preview img{display:block;width:100%;height:150px;object-fit:contain}.branding-row{display:grid;grid-template-columns:220px 1fr;gap:25px;border-bottom:1px solid var(--line);padding:22px 0;margin-bottom:22px}#adminContent{background:white;padding:28px;border:1px solid var(--line);border-radius:20px}.admin-tabs{position:sticky;top:100px;z-index:10;box-shadow:0 6px 25px #123c3310}.admin-row{flex-wrap:wrap}.admin-row>span{min-width:160px}.admin-tabs button.selected{box-shadow:0 4px 12px #075b4a25}@media(max-width:1000px){.doctor-track .doctor{flex-basis:calc((100% - 22px)/2)}header .logo{width:180px}}@media(max-width:650px){.doctor-track .doctor{flex-basis:88%}.dashboard-metrics,.dashboard-actions{grid-template-columns:1fr 1fr}.branding-row{grid-template-columns:1fr}.admin-tabs{position:static}.carousel-toolbar{align-items:flex-start}#adminContent{padding:18px}.dashboard-metrics button{padding:15px}.dashboard-actions{grid-template-columns:1fr}.logo{width:190px!important}}

/* v2.2 responsive spacing and containment fixes */
*,*::before,*::after{box-sizing:border-box}html{overflow-x:clip}body{min-width:0;overflow-wrap:break-word}img{max-width:100%}.wrap{width:100%;max-width:1240px;margin-inline:auto;padding-inline:clamp(18px,3vw,40px)}header .wrap,footer .wrap{max-width:1240px}header nav{min-width:0;flex-wrap:wrap}header .logo,footer .logo{object-fit:contain}.admin-tabs{overflow-x:auto;max-width:100%}.admin-row{min-width:0}.admin-row>span{overflow-wrap:anywhere}.filters{display:flex;flex-wrap:wrap;gap:12px}.filters>*{min-width:0;flex:1 1 160px}.modal{max-width:min(95vw,740px);max-height:90vh;overflow-y:auto}.tablewrap{overflow-x:auto}.hero .wrap,.split,.grid{min-width:0}.hero-art,.hero-copy{min-width:0}.qrex-promo{padding:25px 0;background:#e8f5ee}.qrex-promo-inner{display:flex;align-items:center;gap:22px;justify-content:space-between}.qrex-promo img{max-width:260px;max-height:150px;object-fit:cover;border-radius:12px}.qrex-promo h2{font-size:clamp(20px,2.5vw,30px);margin:0}.qrex-promo p{margin:8px 0 0}@media(max-width:760px){.qrex-promo-inner{flex-direction:column;align-items:stretch}.qrex-promo img{max-width:100%}header nav.open{z-index:40;max-height:75vh;overflow-y:auto}footer{padding-top:40px}footer .grid{gap:25px}.hero .wrap{padding-inline:20px}}

/* Qrex 2.3: full-bleed banner slides, clinic reports and measured layout spacing */
header{margin-bottom:18px}footer{margin-top:28px}main{min-height:30vh}
.hero.hero-banner-mode{padding:0;background:#e5f3ef}
.hero-banner-mode .wrap{max-width:none;width:100%;padding:0;display:block;position:relative;height:650px;min-height:0}
.hero-banner-mode .hero-copy{position:absolute;z-index:2;left:clamp(20px,5vw,90px);top:50%;transform:translateY(-50%);width:min(550px,60vw);padding:25px;color:#fff;background:#0c382aa9;border-radius:18px;backdrop-filter:blur(3px)}
.hero-banner-mode .hero-copy h1{min-height:0;color:#fff;font-size:clamp(30px,4vw,58px)}
.hero-banner-mode .hero-copy p{min-height:0;color:#fff}.hero-banner-mode .hero-art{width:100%;height:650px;position:absolute;inset:0;margin:0}
.hero-banner-mode .hero-art>img{border-radius:0;box-shadow:none;height:650px;width:100%;object-fit:cover}
.hero-banner-mode .float,.hero-banner-mode .image-caption{display:none}.hero-banner-mode .trust{display:none}.hero-banner-mode .slider-controls{margin-top:16px}.hero-banner-mode .slide-arrow{flex-shrink:0}
.qrex-report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}.qrex-report-filters label{display:grid;gap:5px;font-weight:600}.qrex-report-filters input,.qrex-report-filters select{width:100%;min-width:0}
.qrex-report-actions{display:flex;gap:12px;align-items:center;margin:20px 0;flex-wrap:wrap}.qrex-report-table{max-width:100%;overflow:auto;border:1px solid #d5e4da;border-radius:12px}.qrex-report-table table{width:100%;min-width:1050px;border-collapse:collapse}.qrex-report-table td,.qrex-report-table th{padding:10px;border-bottom:1px solid #e1e9e3;text-align:left;font-size:12px}.qrex-report-table small{display:block}.qrex-cell-actions{display:flex;flex-wrap:wrap;gap:5px}.qrex-cell-actions button,.qrex-cell-actions .btn{padding:6px 8px;font-size:11px}
@media(max-width:760px){header{margin-bottom:12px}footer{margin-top:18px}.hero-banner-mode .wrap,.hero-banner-mode .hero-art,.hero-banner-mode .hero-art>img{height:440px}.hero-banner-mode .hero-copy{width:calc(100% - 36px);left:18px;top:auto;bottom:20px;transform:none;padding:14px}.hero-banner-mode .hero-copy h1{font-size:29px}.hero-banner-mode .hero-buttons,.hero-banner-mode .hero-copy p{display:none}}

/* Qrex 2.4 — dedicated booking management and aligned two-line filters */
.qrex-booking-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0}
.qrex-booking-heading h3{margin:0 0 5px}
.qrex-booking-heading .help{margin:0}
.qrex-report-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:end;margin:22px 0;padding:20px;background:#f5f9f7;border:1px solid #dce9e1;border-radius:14px}
.qrex-report-filters label{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-width:0;margin:0;font-weight:600;font-size:14px}
.qrex-report-filters label span{display:block;line-height:1.35;white-space:nowrap}
.qrex-report-filters input,.qrex-report-filters select{box-sizing:border-box;display:block;width:100%;height:44px;min-height:44px;max-width:100%;min-width:0;padding:9px 11px;margin:0;border:1px solid #b9cbc0;border-radius:8px;background:#fff;font-size:14px}
@media(max-width:1050px){.qrex-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.qrex-report-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.qrex-report-filters label:last-child{grid-column:1/-1}.qrex-booking-heading{align-items:flex-start}}

/* Qrex v2.5: homepage's first section is exclusively an edge-to-edge banner slideshow. */
.hero.hero-banner-only{padding:0!important;margin:0;background:#fff;overflow:hidden}
.hero-banner-only>.wrap{position:relative;width:100%;max-width:none!important;padding:0!important;display:block;height:650px;min-height:0}
.hero-banner-only .hero-copy,.hero-banner-only .float,.hero-banner-only .image-caption{display:none!important}
.hero-banner-only .hero-art{inset:0;position:absolute;width:100%;height:100%;margin:0;border:0}
.hero-banner-only .hero-art>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;border:0;border-radius:0;box-shadow:none}
@media(max-width:760px){.hero-banner-only>.wrap{height:clamp(200px,56vw,440px)}.hero-banner-only .hero-art,.hero-banner-only .hero-art>img{height:100%}}
