/* Clinical Quest v3 — immersive UI layer; no scoring or medical rules are modified. */
:root{--cq-cyan:#38f5e9;--cq-blue:#2bbdea;--cq-ink:#041121;--cq-slate:#092038}
html,body,button,input,select,textarea,.latin,.mono,.brandname,.metric-value,.scorebig{font-family:'Vazirmatn',Tahoma,Arial,sans-serif!important}
body{background:radial-gradient(ellipse at 78% -20%,#173e56 0,transparent 43%),#04101f}
.shell{grid-template-columns:99px minmax(0,1fr);background:radial-gradient(ellipse at 34% 3%,#0b314466,transparent 55%),#051323}
.sidebar{padding:13px 7px 12px;align-items:stretch;background:linear-gradient(185deg,#092038,#06152a 60%,#051121);box-shadow:-10px 0 30px #010b174d;gap:4px}
.sidebar .brand{flex-direction:column;text-align:center;gap:5px;padding:3px 0 16px;min-height:88px}
.sidebar .brandmark{height:42px;width:42px;box-shadow:0 0 28px #19eee873}
.sidebar .brandname{font-size:11px;letter-spacing:.075em;line-height:1.1;white-space:nowrap}
.sidebar .branddesc{font-size:10px;color:#4de8e8;letter-spacing:.1em}
.sidebar .navcaption{display:none}
.sidebar nav{margin-top:5px}
.sidebar .navitem{flex-direction:column;gap:6px;align-items:center;justify-content:center;text-align:center;min-height:75px;padding:9px 3px;margin-bottom:4px;line-height:1.35;color:#9fc0d1;border:1px solid transparent;border-radius:13px}
.sidebar .navitem svg{width:21px;height:21px}
.sidebar .navitem .navtext{font-size:9px;letter-spacing:-.025em;white-space:normal}
.sidebar .navitem.active{border-color:#24e9e599;box-shadow:inset 0 0 18px #19d8e31d,0 0 19px #24e9df1f;background:linear-gradient(145deg,#14536a,#092a45);color:#fff}
.sidebar .sidebarbottom{padding:8px 4px;text-align:center;margin-top:auto;min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-color:#2c80903d}
.sidebar .sidebarbottom .row{gap:5px;flex-direction:column}
.sidebar .sidebarbottom .row b{font-size:8px!important}
.sidebar .sidebarbottom .tiny{font-size:7px!important;line-height:1.35;margin:0!important}
.topbar{min-height:62px;height:62px;padding:0 22px;background:linear-gradient(90deg,#082437b7,#061424e8);border-bottom:1px solid #2d778353;backdrop-filter:blur(16px)}
.crumb{font-size:11px;display:flex;align-items:center;gap:9px;color:#a5c1ce}.crumb>b{font-weight:900;color:#e3ffff;font-size:15px;letter-spacing:.08em}.crumb-sep{color:#4ba0b2}.topbar-beat{width:37px;height:37px;border-radius:11px;background:linear-gradient(120deg,#45f8e4,#159dd4);color:#053244;display:grid;place-items:center;box-shadow:0 0 22px #18dfec65}.topbar-beat svg{width:25px;height:25px}
.topbar .latin{font-size:8px;letter-spacing:.08em;margin-top:2px}.topright .avatar{position:relative;border-color:#43e4dc;box-shadow:0 0 14px #35f9e447}.avatar-live{position:absolute;bottom:-2px;left:-3px;width:8px;height:8px;border-radius:50%;background:#55efb3;box-shadow:0 0 10px #3dfac9}
.topbar .iconbtn:hover,.topbar .iconbtn:focus-visible{color:#62fbf0;border-color:#54d9d1;box-shadow:0 0 12px #24f1ef2e}
.content{padding:12px 16px 10px}.content.route-dashboard{background:linear-gradient(130deg,#071c31a8,#08182aa8)}
.card{border-color:#2e71824a;background:linear-gradient(155deg,#0d2943ec,#071b30f5);box-shadow:inset 0 1px #83eaff0a,0 10px 30px #0004}
.btn{transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s,filter .22s,border-color .22s;background-clip:padding-box}
.btn:hover{transform:translateY(-2px);filter:brightness(1.15);box-shadow:0 0 14px #17cedd35}
.btn:active{transform:translateY(0) scale(.98)}
.btn.primary{background:linear-gradient(110deg,#42f6e5,#24b4dc);box-shadow:0 0 20px #0de4e443}
/* A single desktop viewport: cinematic banner + stats + journey + results. */
.dashboard-layout.cq-dashboard{height:100%;display:grid;grid-template-rows:minmax(156px,1.37fr) minmax(70px,.59fr) minmax(197px,1.63fr) minmax(143px,1.13fr);gap:11px;overflow:hidden}
.cq-dashboard>*,.cq-middle>*,.cq-bottom>*{min-width:0;min-height:0}
.cq-hero{position:relative;overflow:hidden;border-radius:19px;border:1px solid #3acbd780;background:linear-gradient(95deg,#092339,#04192c);box-shadow:0 11px 30px #0007,0 0 26px #16bfc021}
.cq-hero-photo{position:absolute;inset:0;background:url('assets/resuscitation-room.webp') center center/cover no-repeat;opacity:.93}
.cq-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,#05233af2 0%,#062b43df 37%,#05223780 60%,#06203504 100%);pointer-events:none}
.cq-hero-scan{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 39px,#29cbd80b 40px);mix-blend-mode:screen;pointer-events:none;z-index:1}
.cq-hero-content{position:absolute;z-index:3;right:3%;top:50%;transform:translateY(-50%);width:min(61%,770px);display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-shadow:0 4px 16px #00121f}
.cq-overline{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.07em;color:#5cf2e9;direction:ltr;align-self:flex-start}
.cq-hero h1{font-size:clamp(18px,1.8vw,28px);line-height:1.45;font-weight:900;white-space:normal;color:#f4fdff}.cq-hero h1 strong{color:#4cf8e9}
.cq-hero p{font-size:clamp(9px,.84vw,12px);line-height:1.95;color:#c0e0ed;max-width:670px}
.cq-hero-cta{display:flex;gap:9px;flex-wrap:wrap;margin-top:5px}.cq-hero-cta .btn{padding:8px 14px;min-height:34px;font-size:11px}
.cq-hero-glass{z-index:3;position:absolute;left:2.4%;bottom:12%;width:185px;max-width:25%;padding:10px 12px;background:#061c32d9;border:1px solid #43c5d58c;border-radius:13px;backdrop-filter:blur(13px);box-shadow:0 0 24px #22cbdd27;display:flex;flex-direction:column;gap:6px;direction:ltr}
.cq-hero-led{font-size:9px;direction:rtl;color:#c8e5ec;display:flex;align-items:center;gap:7px}.cq-hero-led .sb-orb{width:6px;height:6px}
.cq-hero-line svg{width:100%;height:29px}.cq-hero-line path{stroke:#35e5d4;stroke-width:2;fill:none;stroke-dasharray:300;stroke-dashoffset:300;filter:drop-shadow(0 0 6px #2efce8)}
.cq-hero-glass>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:10px;color:#53fbf3}.cq-hero-glass>div:last-child span{color:#99c2cd}
.cq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;min-height:0}
.cq-stat{position:relative;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;border:1px solid #2d718c5c;border-radius:15px;background:linear-gradient(145deg,#103450db,#071c32eb)}
.cq-stat:before{content:'';position:absolute;inset:0 15px auto;height:2px;background:linear-gradient(90deg,transparent,#25e7e0ae,transparent)}
.cq-stat-detail{min-width:0}.cq-stat-detail>span{color:#a4c3d4;font-size:10px}.cq-stat strong{display:block;color:#fff;font-size:clamp(18px,1.7vw,28px);line-height:1.4;font-weight:900}.cq-stat strong small{font-size:10px;font-weight:600;color:#8eabbc;margin-right:5px}
.cq-stat-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:14px;border:1px solid #327f9680;background:#0a3d57;color:#37e8ea;box-shadow:inset 0 0 14px #17c7da1c,0 0 14px #13e4ea1c}
.cq-stat-purple .cq-stat-icon{color:#b7a3ff}.cq-stat-green .cq-stat-icon{color:#53e4b7}.cq-stat-gold .cq-stat-icon{color:#ffd37d}
.cq-middle,.cq-bottom{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,.75fr);gap:11px;direction:ltr;min-height:0}
.cq-middle>.card,.cq-bottom>.card{direction:rtl;overflow:hidden;min-height:0}
.cq-journey,.cq-achieve,.cq-performance,.cq-next{padding:13px 17px;display:flex;flex-direction:column}
.cq-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}
.cq-label{font:700 8px 'Vazirmatn',sans-serif;color:#4fe3e6;letter-spacing:.08em;direction:ltr;display:inline-block}
.cq-section-head h2{font-size:15px;font-weight:900;line-height:1.4;color:#effbff;margin:1px 0 0}
.cq-section-head p{font-size:9px;color:#94b9cc;margin-top:3px}
.cq-counter,.cq-next-pill{font-size:10px;white-space:nowrap;color:#43f6dd;border:1px solid #2c9faca1;background:#0e4352;padding:6px 9px;border-radius:18px;display:flex;align-items:center;gap:5px}
.cq-led{width:7px;height:7px;border-radius:50%;background:#45f1d2;box-shadow:0 0 9px #43ead6}
.cq-mission-line{position:relative;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;align-items:center;flex:1;min-height:0;margin-top:7px}
.cq-mission-line:before{content:'';position:absolute;top:39%;left:4.5%;right:4.5%;height:2px;background:linear-gradient(90deg,#25617d,#2cbccb99,#216077);pointer-events:none}
.cq-mission{position:relative;z-index:1;min-width:0;border:0;background:transparent;color:#b1ccd8;padding:7px 3px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:100%;cursor:pointer;transition:transform .24s}
.cq-mission:hover{transform:translateY(-4px)}
.cq-mission-hex{position:relative;display:grid;place-items:center;color:#8dbcd4;background:linear-gradient(140deg,#163d59,#0a2440);width:54px;height:54px;clip-path:polygon(24% 4%,76% 4%,100% 50%,76% 96%,24% 96%,0 50%);box-shadow:inset 0 0 18px #36b3ea15;border:1px solid #378ba3}
.cq-mission.is-active .cq-mission-hex{background:linear-gradient(120deg,#078c8b,#0b4d71);color:#dffffd;filter:drop-shadow(0 0 9px #0aeedd)}
.cq-mission.is-active{color:#f4ffff}.cq-mission.is-locked{opacity:.78}.cq-mission-hex svg{width:23px;height:23px}
.cq-mission-lock{position:absolute;right:0;top:0;width:18px;height:18px;border-radius:50%;background:#102337;color:#8ba5ba;display:grid;place-items:center}
.cq-mission-lock svg{width:10px;height:10px}
.cq-mission b{font-size:9px;line-height:1.4;text-align:center;max-width:100%;overflow-wrap:anywhere;min-height:23px;display:grid;place-items:center}
.cq-mission small{font-size:8px;white-space:nowrap;color:#7ca3b8}.cq-mission.is-active small{color:#48e8d8}
.cq-link{border:0;color:#70dcd9;background:transparent;font-size:9px;display:inline-flex;align-items:center;gap:3px;padding:4px}.cq-link:hover{color:#fff}
.cq-medals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:1;min-height:0;align-items:center;margin:5px 0 8px}
.cq-medal{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;opacity:.75}
.cq-medal-icon{width:45px;height:45px;border:1px solid #4b7893;border-radius:50%;color:#9fb5d3;background:radial-gradient(circle at 30% 24%,#395776,#0b2945);display:grid;place-items:center}
.cq-medal.is-earned .cq-medal-icon{color:#ffe0a6;background:radial-gradient(circle at 25% 20%,#ab7b3d,#4b382c);box-shadow:0 0 17px #ffc9643d;border-color:#e6bd6e}
.cq-medal b{font-size:8px;line-height:1.4;min-height:23px;display:grid;place-items:center}.cq-medal small{font-size:8px;color:#8da9b8}
.cq-progress-row{display:flex;align-items:center;justify-content:space-between;color:#9ab9c9;font-size:9px}.cq-progress-row b{color:#40e5d6}
.cq-progress{height:6px;margin-top:5px;flex:none}.cq-progress span{box-shadow:0 0 9px #27ead8}
.cq-bottom{grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr)}
.cq-performance .chartbox{margin-top:10px;flex:1;min-height:0;max-height:none}
.cq-empty-chart{display:flex;flex-direction:column;justify-content:end;flex:1;min-height:0;position:relative;overflow:hidden}
.cq-sample-track{position:relative;height:56%;border-bottom:1px dashed #25536c;display:flex;align-items:end;gap:9px;padding:0 3%}
.cq-sample-track span{height:65%;flex:1;background:linear-gradient(180deg,#1b7189a3,#0c354a13);border:1px solid #1e81946b;border-bottom:0;border-radius:6px 6px 0 0;opacity:.42}
.cq-sample-track span:nth-child(2){height:39%}.cq-sample-track span:nth-child(3){height:56%}.cq-sample-track span:nth-child(4){height:78%}.cq-sample-track span:nth-child(5){height:50%}
.cq-empty-chart p{text-align:center;font-size:9px;color:#86a7b8;margin-top:9px}
.cq-next{position:relative;background:linear-gradient(145deg,#103754f2,#071d34f6)}
.cq-next-content{display:flex;align-items:center;gap:12px;min-height:0;flex:1;margin:6px 0}
.cq-next-heart{width:61px;height:61px;flex:0 0 61px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(130deg,#126879,#0a3953);color:#60f8ed;border:1px solid #35c4ca89;box-shadow:0 0 15px #25e6e42d}
.cq-next-content b{font-size:12px}.cq-next-content p{font-size:9px;line-height:1.8;color:#a6c9d7;margin-top:5px}
.cq-next-start{width:100%;min-height:30px;max-height:33px}
/* Scenario takes place in the same operating-room visual world. */
.route-game .game-layout{height:100%}
.game-layout .game-head{position:relative;padding:0 10px;border-bottom:1px solid #1a53644d}
.game-layout .game-head .eyebrow{color:#53e8df;font-size:10px}
.game-layout .game-head h1{font-size:18px}
.game-layout .step{background:linear-gradient(145deg,#102b46,#092039);border:1px solid #286c846e;transition:background .3s,box-shadow .3s;position:relative}
.game-layout .step.current{background:linear-gradient(130deg,#0f6570,#0c334e);border-color:#3de4e1;box-shadow:inset 0 0 17px #37d8d52a,0 0 14px #19d3d333}
.game-layout .scene{box-shadow:0 0 27px #04afd91b,inset 0 0 30px #0417276e;border-color:#35bac598}
.game-layout .sceneheader{background:linear-gradient(120deg,#0c354a,#092237);border-bottom:1px solid #2d919266}
.game-layout .scenebody{background-image:linear-gradient(0deg,#08233fe8 0%,#08283fc7 40%,#081b2bb0 100%),url('assets/resuscitation-room.webp');background-size:cover;background-position:42% 58%}
.game-layout .scenebody:before{background:linear-gradient(0deg,transparent 92%,#1bf1ee17 100%),linear-gradient(90deg,transparent 94%,#20f1ee0e 96%);background-size:30px 30px}
.game-layout .bed-backdrop{background:linear-gradient(90deg,#0b314c,#356782 50%,#0c2947);box-shadow:0 8px 50px #00121edc,inset 0 0 25px #05152f,0 0 34px #35a9d436;border-color:#70a6b5}
.game-layout .patient-render{filter:drop-shadow(0 13px 18px #011326d9) contrast(1.1) saturate(.93)}
.cq-room-lights{pointer-events:none;position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 52% 15%,#78bbd631,transparent 37%)}
.cq-room-lights span{position:absolute;top:4%;height:2px;width:13%;background:#83e9ee;filter:blur(5px);opacity:.7;box-shadow:0 0 20px #3de8fd}
.cq-room-lights span:first-child{left:11%}.cq-room-lights span:nth-child(2){left:48%}.cq-room-lights span:nth-child(3){right:8%}
.hotspot{border-color:#63ffff!important;box-shadow:0 0 0 5px #1bf8df14,0 0 13px #21f5e695!important}
.hotspot.padtarget{border-color:#ffe2a4!important;box-shadow:0 0 0 5px #ffbc5429,0 0 19px #ffb84e72!important}
.device{background:linear-gradient(130deg,#3a6578,#122c46 50%,#34556c);border:2px solid #55899e;box-shadow:inset 0 0 26px #071c31,0 0 15px #22badd22;border-radius:16px;position:relative}
.device .monitor{background:#021313;border:2px solid #264d59;box-shadow:inset 0 0 25px #000a,inset 0 0 4px #27e7bf51}
.device .monitor-wave{position:relative;overflow:hidden}
.device .monitor-wave svg{width:100%;height:100%}
.device .monitor-wave:after{content:'';position:absolute;inset:0;width:28%;background:linear-gradient(90deg,transparent,#4df6de16,transparent);transform:translateX(500%);pointer-events:none}
.device .wavepath{filter:drop-shadow(0 0 4px #36eb95)}
.device .power{color:#70fff3;border-color:#33c5be}
.device .device-btn{border-color:#2f688d;border-radius:8px;transition:transform .16s,box-shadow .16s,border-color .16s}
.device .device-btn.on{box-shadow:0 0 13px #26eadc6a,inset 0 0 15px #18d1c12e}
.device .device-btn.charge{background:linear-gradient(120deg,#f8ae34,#d47e25);color:#322007;border-color:#ffc76f}
.device .device-btn.clear{background:linear-gradient(120deg,#17698c,#0a3e66);color:#d7faff;border-color:#48cde2}
.device .device-btn.shock{background:linear-gradient(120deg,#f34e7a,#b72b54);color:#fff2f8;border-color:#f87092;box-shadow:0 0 14px #ff2e654b}
.device .device-btn.disabled-visual{opacity:.53;box-shadow:none}
.device .charge-indicator{height:4px;background:#0d2f3d;border-radius:99px;overflow:hidden;margin:2px 0 5px}
.device .charge-indicator span{width:0;height:100%;display:block;border-radius:99px;background:linear-gradient(90deg,#e7b14d,#fff19a);transition:width .3s}
.device .charge-indicator.charge-ready span{width:100%}
.game-col .card.padded{border-color:#255c746e}
.actionbox{box-shadow:0 0 20px #15f2e50d}
.actionbox .btn.primary{box-shadow:0 0 11px #22e1da3f}
.game-col .clinical{line-height:1.65}
.game-col .notice{background:#0d2f4796}
/* Animation layer; respect motion accessibility and never animate the patient's breathing. */
@keyframes cqAppear{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes cqBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes cqECG{to{stroke-dashoffset:-1250}}
@keyframes cqBeam{from{transform:translateX(500%)}to{transform:translateX(-500%)}}
@keyframes cqHalo{0%,100%{box-shadow:0 0 0 4px #1bf8df11,0 0 8px #12f6e36f}50%{box-shadow:0 0 0 9px #1bf8df17,0 0 24px #15f5eaaa}}
@keyframes cqLive{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes cqCharge{0%{width:0}100%{width:100%}}
@keyframes cqFlash{0%,100%{opacity:0}20%{opacity:.75}55%{opacity:.12}}
@keyframes cqShow{0%{opacity:0;transform:scale(.96)}50%{opacity:1;transform:scale(1.02)}100%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:no-preference){
 .cq-hero,.cq-stat,.cq-journey,.cq-achieve,.cq-performance,.cq-next{animation:cqAppear .45s both}
 .cq-stat{animation-delay:calc(var(--order,0) * 60ms)}
 .cq-hero-line path{animation:cqECG 6s linear infinite;stroke-dasharray:100 20;stroke-dashoffset:0}
 .cq-hero-photo{animation:cqLive 11s ease-in-out infinite alternate}
 .cq-medal.is-earned .cq-medal-icon{animation:cqLive 3s infinite}
 .cq-mission.is-active .cq-mission-hex{animation:cqLive 2.6s ease-in-out infinite}
 .cq-dashboard .progressbar>span,.cq-dashboard .chartbox path{transform-origin:right;animation:cqBar 1.1s cubic-bezier(.2,.9,.2,1) both}
 .game-layout .monitor-wave svg{width:calc(100% + 24px);animation:cqBeam 13s linear infinite alternate}
 .game-layout .monitor-wave:after{animation:cqBeam 2.7s linear infinite}
 .game-layout .hotspot:not(.done):not(.wrong-spot){animation:cqHalo 2.5s infinite}
 .cq-charge-event .charge-indicator span{animation:cqCharge .65s ease-out both}
 .cq-shock-event .scene:after{content:'';position:absolute;inset:0;background:#d2faff;z-index:7;pointer-events:none;animation:cqFlash .53s ease-out both}
 .cq-shock-event .device .shock{animation:cqShow .46s ease-in-out}
 .cq-clear-event .sceneheader{animation:cqShow .6s ease-out}
 .cq-power-event .device .monitor{animation:cqShow .8s ease-out}
}
@media(prefers-reduced-motion:reduce){.cq-hero-photo,.cq-hero-line path,.cq-dashboard *, .game-layout *{animation:none!important;transition:none!important}}
@media(max-height:780px) and (min-width:841px){
 .topbar{height:55px;min-height:55px}.content{padding:8px 12px}
 .dashboard-layout.cq-dashboard{gap:8px;grid-template-rows:minmax(135px,1.3fr) minmax(67px,.59fr) minmax(174px,1.65fr) minmax(122px,1fr)}
 .cq-hero-content{gap:3px}.cq-hero h1{font-size:19px}.cq-hero p{font-size:9px}.cq-hero-cta .btn{min-height:31px}
 .cq-journey,.cq-achieve,.cq-performance,.cq-next{padding:9px 13px}
 .cq-mission-hex{width:45px;height:45px}.cq-mission b{font-size:8px}.cq-medal-icon{height:35px;width:35px}.cq-medal b{font-size:7px}
 .cq-next-heart{width:48px;height:48px;flex-basis:48px}.cq-next-content b{font-size:10px}.cq-next-content p{font-size:8px}
}
@media(max-width:1150px) and (min-width:841px){
 .shell{grid-template-columns:76px minmax(0,1fr)}.sidebar .brandname{font-size:9px}.sidebar .branddesc{font-size:8px}
 .sidebar .navitem{min-height:69px}.sidebar .navitem .navtext{font-size:8px}
 .cq-middle{grid-template-columns:minmax(0,1fr) minmax(245px,.85fr)}
 .cq-bottom{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr)}
 .cq-journey,.cq-achieve,.cq-performance,.cq-next{padding:10px 12px}
 .cq-mission-hex{width:42px;height:42px}.cq-mission b{font-size:7px}.cq-mission small{font-size:7px}
 .cq-hero-glass{width:138px}.cq-hero-led{font-size:8px}
}
@media(max-width:840px){
 body{overflow:auto}.shell{height:auto;min-height:100dvh;display:flex;flex-direction:column}.sidebar{height:auto;position:sticky;top:0;padding:6px 8px;flex-direction:row;z-index:15;overflow-x:auto}.sidebar .brand{min-height:0;flex-direction:row;padding:0 10px 0 0;margin-left:6px;white-space:nowrap;border:0}.sidebar .brandmark{width:33px;height:33px}.sidebar .brandname{font-size:10px}.sidebar .branddesc{font-size:8px}.sidebar nav{display:flex;margin:0}.sidebar .navitem{min-height:44px;min-width:51px;margin:0 2px;gap:2px;padding:5px 4px}.sidebar .navitem svg{width:17px;height:17px}.sidebar .navitem .navtext{font-size:8px}.sidebar>.navitem{min-height:44px;min-width:55px;margin:0}.sidebar .sidebarbottom{display:none}.mainwrap{height:auto;min-height:calc(100dvh - 56px)}.topbar{height:55px;min-height:55px;padding:0 12px}.crumb>b{font-size:12px}.crumb-sep,.crumb-sep~*{font-size:9px}.topright .small{display:none}.content.route-dashboard{overflow:auto}.dashboard-layout.cq-dashboard{height:auto;min-height:0;grid-template-rows:none;overflow:visible;display:flex;flex-direction:column;gap:11px}.cq-hero{height:230px;flex-shrink:0}.cq-hero-content{right:4%;width:70%}.cq-hero-glass{left:2%;width:120px}.cq-stats{grid-template-columns:repeat(2,1fr)}.cq-stat{min-height:92px}.cq-middle,.cq-bottom{display:grid;grid-template-columns:1fr;direction:rtl}.cq-journey{min-height:265px}.cq-achieve{min-height:220px}.cq-performance,.cq-next{min-height:195px}.cq-mission-line{overflow-x:auto}.cq-mission{min-width:75px}.cq-medal-icon{height:46px;width:46px}.game-cols{display:grid;grid-template-columns:1fr}.game-col{height:auto;overflow:visible}.content.route-game{overflow:auto}.game-layout{height:auto;overflow:visible}.game-layout .game-cols{height:auto}.game-layout .scene{min-height:420px}.game-layout .scenebody{min-height:375px}.game-bottom{height:auto}
}
@media(max-width:500px){
 .sidebar .brand .brandname,.sidebar .brand .branddesc{display:none}.topbar .crumb .topbar-beat{width:31px;height:31px}.topbar .latin{font-size:7px}.cq-hero{height:285px}.cq-hero-content{width:92%;right:4%;top:35%;gap:7px}.cq-hero h1{font-size:19px}.cq-hero p{font-size:11px}.cq-hero:after{background:linear-gradient(270deg,#05263deb,#0a3049ab)}.cq-hero-glass{bottom:6%;right:4%;left:auto;max-width:none;width:175px}.cq-stats{gap:8px}.cq-stat{padding:9px}.cq-stat-icon{height:38px;width:38px;flex-basis:38px}.cq-stat-detail>span{font-size:9px}.cq-stat strong{font-size:22px}.cq-mission-line{grid-template-columns:repeat(8,80px)}.cq-journey{overflow:hidden}
}
@media print{.cq-hero-photo{display:none!important}.cq-dashboard{display:block!important}.cq-dashboard>*{margin-bottom:10px!important}.cq-hero{color:#000;background:#fff}}
