:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--ink:#102346;--red:#d71237;--redDark:#ba102e;--gray:#64728a;--border:#e6eaf2;color:var(--ink);background:#fbfcff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,select,a{font:inherit}a{text-decoration:none;color:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #9abbec;outline-offset:4px}.home-page{min-height:100vh;background:radial-gradient(ellipse 50% 28% at 48% 21%,#fff0f4 0,transparent 100%),linear-gradient(168deg,#fff 0%,#fffafb 43%,#f9fbff 80%);overflow-x:hidden}.home-shell{max-width:1720px;padding:12px clamp(16px,4.5vw,82px) 0;margin:0 auto}.home-nav{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e9edf3;border-radius:23px;box-shadow:0 13px 34px #13224412;min-height:73px;padding:10px 30px}.home-logo{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:clamp(22px,2vw,34px);font-weight:850;letter-spacing:-1.5px}.home-logo-mark{display:inline-flex;width:46px;height:46px;border-radius:13px;align-items:center;justify-content:center;background:linear-gradient(145deg,#ed1a44,#b6092c);box-shadow:0 6px 12px #ce1d4260;color:white;font-size:27px;font-weight:900;font-style:italic;line-height:1}.home-logo-mark.sm{width:24px;height:24px;border-radius:6px;font-size:15px;vertical-align:middle;margin-right:3px}.home-nav nav{display:flex;align-items:center;gap:12px}.home-nav nav a{display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:750;padding:13px 20px;border-radius:12px;white-space:nowrap}.home-nav nav a:hover,.home-nav nav a.selected{background:#fff0f4;color:var(--red)}.home-right{display:flex;align-items:center;gap:14px}.language-control{display:flex;align-items:center;gap:6px;padding:0 12px;border:1px solid #d8e0ee;border-radius:13px;background:#fff;min-height:45px;font-weight:700}.language-control span{font-size:24px}.language-control select{border:0;outline:0;background:transparent;color:var(--ink);max-width:110px;font-weight:700}.home-signin{font-size:13px;font-weight:750;color:#4b5d77;white-space:nowrap}.home-signin:hover{color:var(--red)}.hero-layout{display:grid;grid-template-columns:minmax(270px,1.06fr) minmax(210px,.83fr) minmax(450px,1.22fr);gap:clamp(16px,2vw,31px);align-items:center;padding:49px 0 19px;min-height:368px}.hero-copy{position:relative;z-index:2}.hero-kicker{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1.6px;color:#d61d45;font-weight:800;margin-bottom:20px}.small-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#d61d45;box-shadow:0 0 0 5px #ffe7ec}.hero-copy h1{position:relative;display:inline-block;font-size:clamp(52px,5.7vw,102px);line-height:1.06;margin:0 0 16px;white-space:nowrap;letter-spacing:-.06em;font-weight:900}.hero-underline{position:absolute;left:2px;bottom:-8px;width:42%;height:7px;border-radius:50%;background:var(--red);transform:rotate(-4deg)}.hero-copy h2{font-size:clamp(18px,2vw,30px);font-weight:750;letter-spacing:-.03em;margin:12px 0 14px;white-space:normal}.hero-copy p{font-size:clamp(14px,1.2vw,17px);color:#445675;line-height:1.64;margin:0 0 22px;max-width:480px}.hero-buttons{display:flex;gap:11px;flex-wrap:wrap}.home-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:white;min-height:53px;border-radius:15px;padding:13px 19px;box-shadow:0 7px 18px #9e11311c;border:1px solid #d7e0ee;font-size:15px;font-weight:800;transition:transform .2s,box-shadow .2s}.home-btn:hover{transform:translateY(-3px);box-shadow:0 11px 28px #c6173940}.home-btn.primary{background:linear-gradient(138deg,#ea1740,#c3082c);border-color:#e51c46;color:#fff}.home-btn.outline{background:#fff;box-shadow:0 3px 13px #1d2b4510}.hero-proof{display:flex;align-items:center;gap:8px;color:#68788d;font-size:12px;margin-top:21px}.proof-icon{border-radius:50%;padding:1px 5px;background:#e8f6ed;color:#178642;font-weight:800}.floating-zone{height:335px;min-width:0;position:relative;perspective:700px;display:flex;align-items:center;justify-content:center}.floating-glow{position:absolute;width:110%;height:80%;border-radius:50%;background:radial-gradient(ellipse,#ff9cb344,#ffe6ed3b 48%,transparent 75%);filter:blur(11px)}.float-orbit{position:absolute;width:103%;height:35%;border:2px solid #ff658e9c;box-shadow:0 0 16px #ff83a6a1;transform:rotate(-22deg);border-radius:50%}.orbit-two{width:112%;height:27%;transform:rotate(23deg);opacity:.44}.floating-ticket{position:absolute;width:180px;height:216px;background:linear-gradient(160deg,#fff,#fff2f5);box-shadow:0 12px 40px #e13b6550;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:19px;border:1px solid white}.floating-ticket.ticket-front{z-index:2;transform:rotate(-11deg);animation:floatUp 5.1s ease-in-out infinite}.floating-ticket.ticket-back{width:134px;height:176px;opacity:.65;filter:blur(.35px)}.floating-ticket.ticket-back.one{transform:translate(119px,-9px) rotate(9deg);animation:floatOne 5.2s ease-in-out infinite}.floating-ticket.ticket-back.two{transform:translate(162px,23px) rotate(18deg);opacity:.28;animation:floatTwo 5.7s ease-in-out infinite}.floating-ticket.ticket-back span{font-size:55px;font-weight:900;color:#223553}.floating-ticket.ticket-back small{font-weight:850;color:#d31d45}.floating-ticket.ticket-front>div:nth-child(2){font-size:15px;color:#33415b;margin-top:20px}.floating-ticket.ticket-front strong{font-size:75px;color:#122849;letter-spacing:-.08em;line-height:1.3}.ticket-brand{font-size:19px;font-weight:850}.ticket-brand span{background:var(--red);color:white;border-radius:6px;padding:3px 6px}.ticket-bottom{position:absolute;bottom:0;left:0;right:0;height:12px;border-radius:0 0 17px 17px;background:linear-gradient(90deg,#ffb3c2,#df1e47,#bb102f)}.hero-particles{position:absolute;background:white;box-shadow:0 0 12px 6px #ffe4ec;width:7px;height:7px;transform:rotate(45deg)}.p1{top:43px;left:24%}.p2{top:94px;right:4%}.p3{bottom:70px;left:8%}@keyframes floatUp{0%,100%{transform:translateY(0) rotate(-11deg)}50%{transform:translateY(-15px) rotate(-8deg)}}@keyframes floatOne{0%,100%{transform:translate(119px,-9px) rotate(9deg)}50%{transform:translate(115px,-21px) rotate(5deg)}}@keyframes floatTwo{0%,100%{transform:translate(162px,23px) rotate(18deg)}50%{transform:translate(166px,13px) rotate(21deg)}}.live-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(150px,.9fr);gap:13px;align-items:stretch}.live-card,.next-card{min-width:0;border:1px solid #e9e9f0;box-shadow:0 10px 35px #23284b12;border-radius:21px;padding:17px;background:#ffffffd9}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:35px;font-size:15px}.card-heading strong{font-weight:850}.card-heading .red-icon{color:#e01943;font-size:22px;vertical-align:middle;margin-right:3px}.live-badge{background:#e0f6e2;color:#17692a;font-weight:800;border-radius:30px;padding:6px 10px;font-size:11px;display:inline-flex;align-items:center;gap:5px}.live-badge i{width:7px;height:7px;background:#36b553;border-radius:50%;animation:blink 1.5s infinite}.live-data{min-height:226px;background:linear-gradient(138deg,#fff1f5,#fae8ee);border-radius:16px;display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:12px;padding:15px;text-align:center;gap:4px}.live-data>div:first-child{font-size:17px;font-weight:600}.big-token{font-size:clamp(72px,6vw,128px);letter-spacing:-.08em;color:#c91135;line-height:1.12;font-weight:900;font-variant-numeric:tabular-nums}.big-token.qd-token-change,.tv-serving strong.qd-token-change{animation:tokenPop .5s cubic-bezier(.16,1,.3,1)}.live-caption{margin-top:10px;color:#233553;display:flex;gap:14px;align-items:center;justify-content:center;font-size:11px;flex-wrap:wrap;font-weight:700}.live-caption>span+span{border-left:1px solid #aeb6c2;padding-left:12px}.next-card .card-heading{padding:0 3px}.next-list{display:flex;flex-direction:column;gap:6px;margin-top:12px}.next-line{padding:12px 10px;border-radius:11px;background:#f8f9fc;display:flex;align-items:center;justify-content:space-between;font-weight:850;font-size:20px}.next-line:first-child{background:#fff1f4}.next-line span{font-size:10px;border-radius:30px;background:#e8edf5;color:#53627a;padding:7px 9px;font-weight:700;white-space:nowrap}.next-line:first-child span{color:#c21039;background:#f8dfe6}.next-bottom{font-size:11px;color:#76849d;margin:11px 3px 0}.feature-ribbon{margin:15px 0 34px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:88px;background:white;border:1px solid #edf0f7;border-radius:22px;box-shadow:0 8px 28px #2632510d;align-items:center}.feature-ribbon>div{display:flex;align-items:center;justify-content:center;gap:15px;padding:12px;border-right:1px solid #dbe1ed}.feature-ribbon>div:last-child{border:0}.feature-icon{color:#dc143e;font-size:31px;font-weight:800;width:35px;text-align:center}.feature-ribbon p{margin:0;display:flex;flex-direction:column;gap:4px}.feature-ribbon strong{font-size:13px}.feature-ribbon small{font-size:11px;color:#60728b}.lower-grid{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(310px,.92fr);gap:36px;padding-bottom:35px}.lower-left{min-width:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.section-head h2{font-size:clamp(17px,1.45vw,23px);margin:0;letter-spacing:-.02em}.section-head h2>span:first-child{color:#dc163e;margin-right:6px}.section-head>a{color:#cc1238;font-size:13px;font-weight:800;white-space:nowrap}.section-head small{font-weight:500;font-size:12px}.doctor-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.doctor-empty{grid-column:1/-1;background:white;border:1px dashed #cbd5e4;border-radius:14px;padding:28px;color:#65728c}.doctor-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce3ee;padding:12px;border-radius:15px;min-height:105px;transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}.doctor-item:hover{transform:translateY(-3px);box-shadow:0 12px 25px #b5143923;border-color:#e43b60}.doctor-item.highlighted{border-color:#f9a4b6;background:#fff6f8}.doctor-avatar{flex:0 0 63px;height:71px;border-radius:50% 50% 35% 35%;position:relative;display:inline-block;background:linear-gradient(135deg,#e2e7ef,#f9f9fa);overflow:hidden}.doctor-avatar.avatar-1{background:linear-gradient(135deg,#fbe5ec,#edf4fa)}.doctor-avatar.avatar-2{background:linear-gradient(135deg,#e5eaf5,#f5f6f9)}.avatar-head{position:absolute;top:13px;left:21px;width:23px;height:26px;background:#dba98a;border-radius:50% 50% 47% 47%;box-shadow:0 -7px 0 2px #293044}.avatar-1 .avatar-head{background:#e2b5a0;box-shadow:0 -7px 0 3px #422e42}.avatar-2 .avatar-head{background:#c99a81;box-shadow:0 -7px 0 2px #646779}.avatar-coat{position:absolute;left:8px;top:42px;width:49px;height:42px;border-radius:45% 45% 0 0;background:linear-gradient(83deg,#dfe6f5 20%,#fff 20%,#fff 78%,#dfe6f5 78%);border-top:2px solid #e1e5ec}.doctor-info{min-width:0;display:flex;flex-direction:column;gap:5px}.doctor-info strong{font-size:13px;overflow-wrap:anywhere}.doctor-info small{font-size:10px;color:#61718c}.status-pill{display:inline-block;width:max-content;max-width:100%;font-size:10px;border-radius:30px;background:#e4f7e6;color:#236e32;padding:5px 8px;font-weight:800}.status-pill.unavailable{background:#f1f2f7;color:#6f7890}.doctor-arrow{margin-left:auto;color:var(--red);font-size:26px}.stats-title{margin-top:29px}.quick-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid #e8eaf2;border-radius:18px;box-shadow:0 8px 19px #212e4c0c;padding:18px 4px}.quick-stats>div{display:grid;grid-template-columns:35px 1fr;grid-template-rows:repeat(2,auto);column-gap:9px;padding:4px 12px;border-right:1px solid #dce2ed;min-width:0}.quick-stats>div:last-child{border:0}.quick-icon{grid-row:1/3;color:var(--red);font-size:29px;align-self:center}.quick-stats strong{font-size:25px;line-height:1}.quick-stats small{font-size:10px;color:#5d6c88;margin-top:4px;line-height:1.3}.tv-feature{border-left:1px solid #d9dfeb;padding-left:35px}.monitor-wrap{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:8px}.tv-monitor{position:relative;z-index:1;width:min(100%,340px);background:linear-gradient(130deg,#2c3b55,#101f39);border:8px solid #283b58;border-radius:12px;box-shadow:0 12px 25px #212c4522,0 0 0 3px #64718c6b;padding:10px 12px 13px;transform:perspective(700px) rotateX(2deg)}.tv-browser{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:800;color:#edf4ff;margin-bottom:9px}.tv-matrix{display:grid;grid-template-columns:1.5fr .84fr;gap:8px}.tv-serving{background:linear-gradient(140deg,#e92345,#b80930);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:123px;color:white;gap:5px}.tv-serving small{font-size:11px;font-weight:800}.tv-serving strong{font-size:clamp(45px,4vw,71px);font-weight:900;line-height:1.1;letter-spacing:-.06em}.tv-upcoming{display:flex;flex-direction:column;gap:4px;text-align:center}.tv-upcoming strong{color:white;font-size:11px;margin-bottom:3px}.tv-upcoming span{background:#fff;border-radius:6px;padding:5px;font-size:14px;font-weight:800}.tv-doctor{color:#e2e9f5;font-size:10px;font-weight:700;margin-top:9px;text-align:center}.tv-stand{width:38px;height:31px;background:linear-gradient(90deg,#283750,#8b93a1,#293750)}.tv-base{height:10px;width:123px;background:linear-gradient(90deg,#465570,#8a97a9,#34445e);border-radius:45%}.tv-spark{position:absolute;width:16px;height:4px;background:#db234a;right:4%;top:30px;transform:rotate(-44deg);border-radius:5px}.tv-spark.sp2{right:0;top:55px;transform:rotate(25deg)}.tv-chooser{margin:16px auto 0;max-width:350px;display:flex;gap:8px;align-items:end;flex-wrap:wrap}.tv-chooser label{font-weight:750;font-size:11px;color:#586785;display:flex;flex-direction:column;gap:4px}.tv-chooser select{padding:9px 11px;border-radius:9px;border:1px solid #d9e1ec;background:white;color:#21334c;max-width:170px}.small-btn{min-height:39px;font-size:11px;padding:9px 13px;border-radius:9px;box-shadow:none}.home-footer{border-top:1px solid #e9eaf2;padding:20px 0 29px;display:flex;justify-content:space-between;gap:20px;align-items:center;color:#52637e;font-size:13px}.home-footer strong{color:#13264c;font-size:17px}.home-footer small{font-size:11px}.home-footer>div:last-child{display:flex;gap:16px;flex-wrap:wrap}.home-footer a:hover{color:var(--red)}@keyframes blink{0%,100%{opacity:1}50%{opacity:.25}}@keyframes tokenPop{0%{transform:scale(.81);opacity:.1}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@media(max-width:1450px){.home-shell{padding-inline:clamp(14px,3vw,42px)}.hero-layout{grid-template-columns:1fr .64fr 1.2fr;gap:14px}.floating-ticket.ticket-front{width:155px;height:205px}.hero-copy h1{font-size:clamp(48px,5.2vw,84px)}.live-overview{grid-template-columns:1.6fr .9fr}.next-line{font-size:18px}.next-line span{font-size:9px}.doctor-item{padding:10px}.doctor-avatar{flex-basis:50px;height:60px}.avatar-head{left:14px}.avatar-coat{left:0}.doctor-info strong{font-size:12px}}
@media(max-width:1170px){.home-nav{flex-wrap:wrap;justify-content:center}.hero-layout{grid-template-columns:1fr 1fr;gap:15px}.hero-copy{grid-column:1}.floating-zone{grid-column:2}.live-overview{grid-column:1/-1;grid-template-columns:1.2fr 1fr}.live-data{min-height:185px}.big-token{font-size:90px}.feature-ribbon{margin-top:28px}.lower-grid{grid-template-columns:1fr}.tv-feature{border-left:0;padding-left:0;border-top:1px solid #dce3ed;padding-top:23px}.monitor-wrap{max-width:480px;margin:0 auto}.tv-chooser{max-width:440px}}
@media(max-width:690px){.home-shell{padding:9px 13px 0}.home-nav{border-radius:17px;padding:13px;justify-content:space-between;gap:11px}.home-logo{font-size:24px}.home-logo-mark{height:37px;width:37px;font-size:22px}.home-nav nav{order:3;width:100%;justify-content:space-between;gap:0}.home-nav nav a{font-size:12px;padding:9px 6px}.home-signin{display:none}.hero-layout{grid-template-columns:1fr;gap:0;padding:35px 0 10px}.hero-copy,.floating-zone,.live-overview{grid-column:1}.hero-copy h1{font-size:clamp(54px,13vw,82px)}.hero-copy p{margin-bottom:16px}.floating-zone{height:250px}.floating-ticket.ticket-front{height:183px}.floating-ticket.ticket-back{height:140px}.live-overview{grid-template-columns:1.45fr 1fr}.live-card,.next-card{padding:11px}.live-data{padding:9px;min-height:183px}.card-heading{font-size:12px}.big-token{font-size:clamp(61px,16vw,94px)}.live-caption{font-size:9px}.next-line{font-size:16px;padding:10px 6px}.next-line span{font-size:9px;padding:6px}.feature-ribbon{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px;padding:12px 4px}.feature-ribbon>div{border:0;justify-content:flex-start;padding:8px}.feature-ribbon .feature-icon{font-size:24px;width:26px}.feature-ribbon strong{font-size:12px}.feature-ribbon small{font-size:10px}.doctor-cards{grid-template-columns:1fr}.doctor-item{min-height:79px}.doctor-info strong{font-size:14px}.quick-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:15px}.quick-stats>div:nth-child(2){border:0}.quick-stats>div{padding-inline:17px}.home-footer{align-items:flex-start;flex-direction:column}.home-footer>div:last-child{gap:11px}}
@media(max-width:360px){.hero-buttons .home-btn{font-size:12px;padding:9px}.home-right{width:100%;justify-content:flex-end}.home-nav nav a{font-size:11px}.next-line span{font-size:8px}.feature-ribbon>div{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
/* Keep floating demo tickets within mobile viewport without horizontal page scrolling. */
@media(max-width:690px){.floating-zone{overflow:hidden;clip-path:inset(0 0 0 0 round 18px)}}

/* Version 8: normalized square profile photos */
.doctor-avatar{flex:0 0 68px;width:68px;height:68px;border-radius:50%;background:#eef3fa;overflow:hidden;border:2px solid #fff;box-shadow:0 3px 12px #1a31521a}
.doctor-avatar .doctor-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%;border-radius:50%}
.doctor-info .doctor-specialization{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:175px}

/* v8.1 responsive doctor carousel: manual swipe, mouse drag and auto-advance. */
.doctor-slider-area{min-width:0;position:relative}
.doctor-slider-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-5px 0 13px}
.slider-guide{font-size:11px;color:#64728c}
.slider-actions{display:flex;align-items:center;gap:7px}
.slider-button{appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:34px;padding:0 10px;border:1px solid #dce3ef;border-radius:10px;background:#fff;color:#183054;font-weight:900;font-size:24px;box-shadow:0 2px 8px #20355b0b;cursor:pointer;transition:background .2s,border-color .2s}
.slider-button:hover{background:#fff1f5;border-color:#e33b60;color:#be1739}
.slider-button:focus-visible{outline:3px solid #8baedf;outline-offset:2px}
.slider-auto{min-width:75px;font-size:11px;font-weight:800}
.doctor-slider-area .doctor-cards{display:flex;grid-template-columns:none;gap:13px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;scrollbar-width:thin;scrollbar-color:#e0a1b0 #f8f1f3;padding:5px 4px 14px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
.doctor-slider-area .doctor-cards .doctor-item{flex:0 0 clamp(245px,44%,350px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always;user-select:none;-webkit-user-drag:none}
.doctor-slider-area .doctor-cards .doctor-item img{pointer-events:none;-webkit-user-drag:none}
.doctor-slider-area .doctor-cards.dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.doctor-slider-area .doctor-cards.dragging .doctor-item{cursor:grabbing}
.doctor-slider-area .doctor-cards .doctor-empty{flex:1 0 100%}
@media(max-width:1170px){.doctor-slider-area .doctor-cards .doctor-item{flex-basis:clamp(250px,42%,350px)}}
@media(max-width:690px){.doctor-slider-area .doctor-cards .doctor-item{flex:0 0 min(83%,340px)}.doctor-slider-controls{gap:7px}.slider-guide{font-size:10px}.slider-button{height:36px}}
@media(prefers-reduced-motion:reduce){.doctor-slider-area .doctor-cards{scroll-behavior:auto}.slider-auto{opacity:.65}}

/* Q Doctor v8.3 — comfortable desktop: legibility over forced single-screen compression. */
@media (min-width:1180px) {
  .home-shell{max-width:1720px;padding-top:15px;padding-inline:clamp(26px,4vw,66px)}
  .home-nav{min-height:70px;padding:10px 26px;border-radius:22px}
  .home-logo{font-size:clamp(24px,2.2vw,32px)}
  .home-logo-mark{width:43px;height:43px;font-size:25px}
  .home-nav nav a{font-size:14px;padding:11px 15px}
  .hero-layout{min-height:310px;padding:28px 0 19px;gap:clamp(14px,1.9vw,26px);align-items:center}
  .hero-copy h1{font-size:clamp(65px,5.6vw,94px);margin-bottom:12px}
  .hero-copy h2{font-size:clamp(22px,2vw,29px);margin:11px 0}
  .hero-copy p{font-size:clamp(14px,1.1vw,16px);line-height:1.55;margin-bottom:18px;max-width:450px}
  .hero-kicker{font-size:10px;margin-bottom:13px}
  .home-btn{font-size:14px;min-height:48px;padding:11px 16px;border-radius:13px}
  .hero-proof{font-size:11px;margin-top:15px}
  .floating-zone{height:302px;overflow:visible}
  .floating-ticket.ticket-front{width:169px;height:209px}
  .floating-ticket.ticket-back{width:120px;height:155px}
  .live-overview{gap:11px}
  .live-card,.next-card{padding:15px;border-radius:18px;min-width:0}
  .card-heading{font-size:13px}
  .live-data{min-height:215px;padding:10px;margin-top:11px}
  .big-token{font-size:clamp(77px,7vw,110px)}
  .live-caption{font-size:11px;flex-wrap:wrap;gap:5px}
  .next-list{gap:7px;margin-top:10px}
  .next-line{padding:10px 9px;font-size:18px}
  .next-line span{font-size:9px}
  .next-bottom{font-size:10px;margin-top:8px}
  .feature-ribbon{min-height:72px;margin:16px 0 20px;padding:10px 8px}
  .feature-ribbon>div{padding:8px 16px;gap:11px}
  .feature-ribbon .feature-icon{font-size:29px;width:36px}
  .feature-ribbon strong{font-size:13px}
  .feature-ribbon small{font-size:11px}
  .lower-grid{grid-template-columns:minmax(0,1.9fr) minmax(300px,.95fr);gap:27px;padding-bottom:23px}
  .section-head{margin-bottom:11px}
  .section-head h2{font-size:clamp(18px,1.5vw,22px)}
  .section-head>a{font-size:12px}
  .doctor-slider-controls{margin-bottom:8px}
  .slider-guide{font-size:11px}
  .slider-button{height:34px;min-width:34px;font-size:22px}
  .slider-auto{font-size:11px;min-width:74px}
  .doctor-slider-area .doctor-cards{gap:11px;padding:4px 4px 12px}
  .doctor-slider-area .doctor-cards .doctor-item{min-height:103px;padding:12px;flex-basis:clamp(245px,47%,345px)}
  .doctor-avatar{width:65px;height:70px;flex-basis:65px}
  .doctor-info strong{font-size:14px}
  .doctor-info small{font-size:11px}
  .status-pill{font-size:10px;padding:5px 8px}
  .stats-title{margin-top:17px}
  .quick-stats{padding:15px 7px;border-radius:17px}
  .quick-stats strong{font-size:24px}
  .quick-stats small{font-size:11px}
  .quick-icon{font-size:27px}
  .tv-feature{padding-left:25px}
  .tv-monitor{width:min(100%,335px);padding:10px;border-width:7px}
  .tv-serving{min-height:113px}
  .tv-serving strong{font-size:60px}
  .tv-upcoming span{font-size:13px;padding:5px}
  .tv-chooser{margin-top:13px}
  .home-footer{padding:17px 0 19px;font-size:12px}
  .home-footer strong{font-size:16px}
}
@media (min-width:1180px) and (max-height:760px){
 .hero-layout{padding-top:20px;min-height:280px}
 .floating-zone{height:265px}
 .feature-ribbon{margin-top:10px;margin-bottom:14px}
}

/* Q Doctor v9: doctor credentials directly below their name. */
.doctor-slider-area .doctor-cards .doctor-item{min-height:119px}
.doctor-info .doctor-qualifications{display:block;color:#687890;font-size:10.5px;font-weight:500;line-height:1.3;white-space:normal;overflow-wrap:anywhere;max-height:29px;overflow:hidden}
.doctor-info .doctor-specialization{font-weight:700;color:#354b72}
@media(max-width:690px){.doctor-info .doctor-qualifications{font-size:10px}.doctor-slider-area .doctor-cards .doctor-item{min-height:105px}}

.current-doctor-meta{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0}.credentials-inline{font-size:10px;font-weight:600;opacity:.78;max-width:235px;white-space:normal;line-height:1.3}.tv-doctor-credentials{text-align:center;font-size:10px;color:#d9e0ef;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:2px}


/* Q Doctor 1.0: prevent carousel and fixed-width tiles stretching narrow mobile viewport. */
html,body.home-page{max-width:100%;overflow-x:clip}
.home-shell,.home-shell main,.lower-grid,.lower-left,.doctor-slider-area,.doctor-slider-controls,.doctor-cards,.live-overview,.live-card,.next-card,.hero-layout,.feature-ribbon{min-width:0;max-width:100%;box-sizing:border-box}
.doctor-slider-area{overflow:hidden}
.doctor-slider-area .doctor-cards{width:100%;max-width:100%;min-width:0}
.doctor-slider-controls{flex-wrap:wrap}
.slider-actions{max-width:100%;flex:none}
.home-shell img{max-width:100%}
@media(max-width:690px){
 .home-shell{width:100%;max-width:100%;padding-inline:12px}
 .hero-layout,.floating-zone,.feature-ribbon,.lower-grid,.lower-left,.tv-feature{width:100%;min-width:0;max-width:100%}
 .hero-buttons{flex-wrap:wrap;max-width:100%}
 .hero-buttons .home-btn{min-width:0;max-width:100%}
 .doctor-slider-controls{align-items:flex-start;gap:9px}
 .slider-guide{flex:1 1 110px;max-width:100%;overflow-wrap:break-word}
 .slider-actions{flex:0 0 auto}
 .doctor-slider-area .doctor-cards .doctor-item{flex:0 0 min(86%,320px);min-width:0;max-width:calc(100% - 4px)}
 .doctor-info{min-width:0;max-width:100%}
 .current-doctor-meta,.live-caption{min-width:0;max-width:100%;overflow-wrap:anywhere}
}

/* Medical plus (+) logo, used wherever the Q Doctor wordmark appears. */
.home-logo-image{display:inline-block;flex:0 0 auto;width:46px;height:46px;border-radius:0;object-fit:contain;vertical-align:middle;box-shadow:none;background:transparent}
.home-logo-image.sm{width:24px;height:24px;border-radius:0;vertical-align:middle;margin-right:4px;background:transparent}
.ticket-brand .home-logo-image.sm{width:29px;height:29px;border-radius:0}
@media(max-width:640px){.home-logo-image{width:42px;height:42px;border-radius:0}}

/* Q Doctor v1.0 red medical plus brand wordmark */

.home-logo, .home-logo strong, #homeTitle, .home-footer strong{color:#e00840}
.ticket-brand{color:#e00840}
/* Keep the mini TV display wordmark legible against its dark surround. */

/* v1.0 footer restoration: original text and three links, no red branding in footer. */
.home-footer{flex-wrap:wrap;color:#52637e}
.home-footer .footer-heading strong{color:inherit;font-size:inherit}
.home-footer>.footer-copy{display:block;min-width:0;line-height:1.5}
.home-footer .footer-copy small{display:block;margin-top:2px;font-size:11px;color:#5d6b83}
.home-footer .footer-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.home-footer .footer-links a{color:#52637e;text-decoration:none}
.home-footer .footer-links a:hover{color:#ac1434;text-decoration:underline}
.home-footer .footer-extra{font-size:11px;color:#64728a;margin-top:3px;overflow-wrap:anywhere}
@media(max-width:690px){.home-footer{flex-direction:column;align-items:flex-start}.home-footer .footer-links{gap:13px}}



/* v1.1 patch: small inline install action next to language selector; no floating CTA. */
.home-right{display:flex;align-items:center;gap:9px;flex-wrap:nowrap}
.qd-pwa-install{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:35px;padding:7px 11px;border:1px solid #e7c2cd;border-radius:9px;background:#fff3f6;color:#b9173d;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background .18s,color .18s}
.qd-pwa-install:hover{background:#ffe3eb;color:#9b1232}
.qd-pwa-install[hidden]{display:none!important}
@media(max-width:690px){.home-right{gap:6px}.qd-pwa-install{padding:6px 9px;font-size:11px;min-height:33px}.language-control{padding:0 7px}}

/* Q Doctor v0.1: paused doctors are informative cards, not booking links. */
.booking-doctor-disabled{cursor:not-allowed;opacity:.82;border-color:#f5bbc6!important;background:#fff8fa!important;}
.booking-doctor-disabled:hover{transform:none!important;}


/* Public Contact feature v0.0.1; baseline v10 appearance remains unchanged for all other doctors. */
.doctor-slider-area .doctor-cards .doctor-card-shell{flex:0 0 clamp(245px,44%,350px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;border:1px solid #dce3ee;border-radius:15px;overflow:hidden;background:#fff}
.doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{flex:initial;width:100%;min-width:0;min-height:105px;border:0;border-radius:0;box-shadow:none;transform:none;scroll-snap-align:none}
.doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item.highlighted{background:#fff6f8}
.doctor-card-shell:has(.doctor-item.highlighted){border-color:#f9a4b6}
.doctor-card-shell .doctor-phone-link{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 12px;background:#fff2f5;color:#911337;border-top:1px solid #eedbe2;text-decoration:none;font-size:12px}
.doctor-card-shell .doctor-phone-link:hover{background:#ffe5ed}
.qd-contact-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#d91643;color:white}
.doctor-phone-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.doctor-phone-copy small{font-size:10px;color:#875269}
.doctor-phone-copy strong{font-size:13px;font-weight:800;overflow-wrap:anywhere;word-break:normal}
@media(max-width:1170px){.doctor-slider-area .doctor-cards .doctor-card-shell{flex-basis:clamp(250px,42%,350px)}}
@media(min-width:1180px){.doctor-slider-area .doctor-cards .doctor-card-shell{flex-basis:clamp(245px,47%,345px)}}
@media(max-width:690px){.doctor-slider-area .doctor-cards .doctor-card-shell{flex:0 0 min(83%,340px)}.doctor-phone-copy strong{font-size:12px}}

/* Version 0.0.1 Public Contact mobile + call hotfix (all cards share one shell). */
.doctor-slider-area .doctor-cards > .doctor-card-shell {box-sizing:border-box;max-width:100%;}
.doctor-slider-area .doctor-cards > .doctor-card-shell > .doctor-item{min-width:0;max-width:100%;}
.doctor-card-shell .doctor-phone-link{min-height:48px;max-width:100%;align-items:center;touch-action:manipulation;}
.doctor-card-shell .doctor-phone-copy{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;}
.doctor-card-shell .doctor-phone-copy strong{white-space:normal;line-height:1.25;word-break:normal;overflow-wrap:anywhere;}
.doctor-card-shell .doctor-arrow{flex:none;}
.doctor-slider-area .doctor-cards {width:100%;min-width:0;max-width:100%;}
@media(max-width:690px){
  .home-shell,.home-shell>main,.hero-layout,.feature-ribbon,.lower-grid,.lower-left,.doctor-slider-area,.home-footer{min-width:0;max-width:100%;}
  .home-nav,.home-nav nav,.home-nav .home-right{max-width:100%;min-width:0;}
  .home-nav nav{flex-wrap:wrap;justify-content:center;gap:0 6px;}
  .home-nav nav a{white-space:normal;padding:8px 5px;text-align:center;}
  .hero-copy h1{white-space:normal;max-width:100%;overflow-wrap:normal;}
  .hero-copy,.live-overview,.live-card,.next-card,.feature-ribbon>div,.quick-stats{min-width:0;}
  .doctor-slider-area .doctor-cards > .doctor-card-shell{flex:0 0 min(84%,340px);}
  .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{min-height:111px;}
  .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-info{flex:1;min-width:0;}
  .doctor-card-shell .doctor-phone-link{padding:12px 11px;}
  .doctor-card-shell .doctor-phone-copy strong{font-size:13px;}
}
@media(max-width:380px){
 .home-nav{padding:10px;}
 .home-logo{font-size:21px;}
 .home-right{flex:0 1 auto;}
 .doctor-slider-area .doctor-cards > .doctor-card-shell{flex-basis:min(87%,320px);}
 .doctor-card-shell .doctor-phone-copy strong{font-size:12px;}
}

/* Q Doctor 0.0.1 Mobile Alignment Patch 2.
   Keep the document fixed to the device width; only the doctor carousel scrolls
   horizontally. No change to desktop typography / card dimensions. */
html,body.home-page {max-width:100%;width:100%;overflow-x:clip}
.home-shell,.home-shell>main {min-width:0;max-width:100%}
@media (min-width:691px) and (max-width:1170px) {
  /* Decorative token animations used to extend outside the grid on tablets. */
  .floating-zone {overflow:clip}
  .hero-layout {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .live-overview {min-width:0;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
}
@media (max-width:690px) {
  .home-shell {width:100%;padding:10px 14px 0}
  .home-nav {width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
  .home-logo {min-width:0;font-size:clamp(20px,5.5vw,25px);gap:8px}
  .home-logo strong {min-width:0}
  .home-nav .home-right {width:auto;min-width:0;grid-column:2;grid-row:1;justify-content:flex-end}
  .language-control {min-width:0;min-height:40px;padding:0 7px}
  .language-control select {min-width:0;max-width:89px;font-size:12px}
  .home-nav nav {grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;width:100%;min-width:0}
  .home-nav nav a {white-space:normal;overflow-wrap:anywhere;line-height:1.2;min-width:0;padding:10px 2px;text-align:center;font-size:11px}
  .hero-layout,.lower-grid,.lower-left,.hero-copy,.feature-ribbon,.live-overview,.tv-feature,.home-footer {min-width:0;max-width:100%}
  .hero-layout {grid-template-columns:minmax(0,1fr)}
  .hero-copy h1 {max-width:100%;font-size:clamp(52px,13vw,76px)}
  .hero-copy h2,.hero-copy p,.hero-proof {overflow-wrap:anywhere}
  .hero-buttons .home-btn {min-width:0;max-width:100%}
  /* Two tiny panels caused truncated names and cramped status on phones. */
  .live-overview {grid-template-columns:minmax(0,1fr);gap:12px}
  .live-card,.next-card {width:100%;min-width:0;padding:14px}
  .live-data {min-height:175px}
  .big-token {font-size:clamp(64px,17vw,95px)}
  .live-caption {font-size:11px}
  .next-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .next-line {min-width:0;gap:5px}
  .feature-ribbon {grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-ribbon>div {min-width:0;gap:8px}
  .feature-ribbon p {min-width:0;overflow-wrap:anywhere}
  .section-head {min-width:0;display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:10px;row-gap:7px}
  .section-head h2 {min-width:0;max-width:100%;flex:1 1 165px;overflow-wrap:anywhere}
  .section-head>a {flex:0 1 auto;min-width:0;max-width:100%;font-size:12px;overflow-wrap:anywhere;text-align:right;margin-left:auto}
  .doctor-slider-area {width:100%;min-width:0;max-width:100%;overflow:hidden}
  .doctor-slider-controls {width:100%;min-width:0;flex-wrap:wrap;justify-content:space-between;gap:9px 6px}
  .slider-guide {min-width:0;flex:1 1 130px;white-space:normal;overflow-wrap:anywhere}
  .slider-actions {min-width:0;flex:0 0 auto;margin-left:auto}
  .slider-button {min-width:34px}
  .doctor-slider-area .doctor-cards {width:100%;max-width:100%;min-width:0;gap:12px;scroll-padding-inline:1px;padding:5px 1px 13px;overflow-x:auto;overflow-y:hidden}
  /* One full card at a time: no half card clipped at the viewport edge. */
  .doctor-slider-area .doctor-cards > .doctor-card-shell {flex:0 0 100%;width:100%;max-width:100%;min-width:0;scroll-snap-align:start}
  .doctor-slider-area .doctor-cards > .doctor-card-shell > .doctor-item {width:100%;max-width:100%;min-width:0}
  .doctor-card-shell .doctor-info {min-width:0;flex:1 1 auto}
  .doctor-card-shell .doctor-info strong,.doctor-card-shell .doctor-qualifications {max-width:100%;overflow-wrap:anywhere}
  .doctor-card-shell .doctor-phone-link {max-width:100%;width:100%}
  .doctor-card-shell .doctor-phone-copy {min-width:0}
  .doctor-card-shell .doctor-phone-copy strong {overflow-wrap:anywhere}
  .quick-stats {width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
  .tv-chooser {min-width:0;max-width:100%;flex-wrap:wrap}
  .tv-monitor,.monitor-wrap {max-width:100%;min-width:0}
  .home-footer>div {min-width:0;max-width:100%;overflow-wrap:anywhere}
}
@media (max-width:390px) {
  .home-shell {padding-inline:12px}
  .doctor-slider-controls .slider-guide {flex:1 1 100%;font-size:11px}
  .doctor-slider-controls .slider-actions {margin-left:auto}
  .doctor-card-shell .doctor-avatar {flex:0 0 58px;width:58px;height:58px}
  .doctor-card-shell .doctor-info strong {font-size:13px}
}

/* Original booking stop notice is always readable, including on mobile. */
.booking-doctor-disabled .qd-home-upcoming{display:block;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.45}

/* Q Doctor v1.1.2 – show the Hospital Login entry on narrow home screens. */
@media(max-width:690px){.home-nav nav{grid-template-columns:repeat(5,minmax(0,1fr))}.home-nav nav a{font-size:clamp(9px,2.6vw,12px);padding:8px 3px;line-height:1.3}}

/* Q Doctor v1.1.4 approved landing page: original floating tokens and doctor calendar/time preserved. */
.home-page .hero-underline,.home-page .hero-copy h1::after{display:none!important}
.home-page .qd114-home-navigation{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.home-page .qd114-home-navigation a,.home-page .qd114-login-chip,.home-page .qd114-install-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 12px;border:1px solid #f8cbd9;border-radius:999px;background:#fff0f6;color:#a91953;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 2px 10px #a3153b0a}
.home-page .qd114-home-navigation a.selected{background:#d71d59;color:#fff;border-color:#d71d59}
.home-page .qd114-home-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.home-page .qd114-home-actions .qd-pwa-install{min-height:40px;margin:0;padding:9px 12px}
.home-page .qd114-home-actions .qd-pwa-install[hidden]{display:none!important}
.home-page .home-footer .footer-links{display:none!important}
.home-page .qd114-footer-credit{font-weight:750;font-size:12px;color:#fff;align-self:center}
@media(max-width:1050px){.home-page .home-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.home-page .qd114-home-navigation{order:3;width:100%}.home-page .qd114-home-actions{justify-content:center}}
@media(max-width:600px){.home-page .qd114-home-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}.home-page .qd114-home-navigation a{min-width:0;font-size:12px;padding:9px 6px}.home-page .qd114-home-actions{width:100%;gap:6px;justify-content:center}.home-page .qd114-login-chip{font-size:11px;padding:8px}.home-page .qd114-home-actions .language-control{margin:0}.home-page .qd114-footer-credit{text-align:center}}
/* Light homepage footer: ensure exact release credit is legible. */
.home-page .qd114-footer-credit{color:#b0154c}

/* v1.1.4 Doctor calendar + clock card panel: home only; no DB modifications */
.home-page .doctor-card-shell .doctor-info{flex:1 1 auto;min-width:0;width:100%}
.home-page .doctor-card-shell .qd114-availability-panel{display:flex;flex-direction:column;gap:5px;min-width:0;width:100%;margin-top:7px;padding:9px 10px;background:linear-gradient(115deg,#fff0f6,#fde5ef);border-radius:12px;border:1px solid #f9dbe6;color:#9f174b;font-size:11px;line-height:1.4}
.home-page .doctor-card-shell .qd114-availability-title{font-size:11px;font-weight:800;color:#bb1a50}
.home-page .doctor-card-shell .qd114-availability-row{display:flex;align-items:flex-start;gap:7px;min-width:0;font-size:11px;font-weight:650;overflow-wrap:anywhere}
.home-page .doctor-card-shell .qd114-availability-row span{min-width:0;overflow-wrap:anywhere}
.home-page .doctor-card-shell .qd114-availability-row svg{width:15px;height:15px;flex:0 0 15px;stroke:#d31b55;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}
.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{align-items:flex-start;min-height:158px}
.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-arrow{align-self:center}
@media(max-width:690px){.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{min-height:166px}.home-page .doctor-card-shell .qd114-availability-panel{padding:9px}}

/* v1.1.4: compact, authoritative Doctor Booking Status. Preserve original card size. */
.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{min-height:105px;padding:10px 11px;align-items:center}
.home-page .doctor-card-shell .doctor-info{gap:3px}
.home-page .doctor-card-shell .qd114-availability-compact{display:flex;flex-direction:column;gap:2px;width:100%;max-width:100%;padding:4px 7px;margin-top:2px;background:#fff0f5;border:1px solid #f6dce5;border-radius:8px;color:#a31951;line-height:1.25;min-width:0}
.home-page .doctor-card-shell .qd114-availability-compact.is-available{background:#eaf9f0;border-color:#ccefd9;color:#187447}
.home-page .doctor-card-shell .qd114-availability-compact.is-unavailable{background:#fff0f5;border-color:#f5d5e0;color:#a31a4b}
.home-page .doctor-card-shell .qd114-availability-line{display:flex;align-items:center;gap:5px;font-size:10px;min-width:0;overflow-wrap:anywhere}
.home-page .doctor-card-shell .qd114-availability-line svg{width:12px;height:12px;flex:0 0 12px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.home-page .doctor-card-shell .qd114-availability-line strong{font-size:10.5px;line-height:1.2;font-weight:800;overflow-wrap:anywhere}
.home-page .doctor-card-shell .qd114-availability-detail{font-size:9px;font-weight:600;align-items:flex-start;line-height:1.32}
.home-page .doctor-card-shell .qd114-availability-detail span{overflow-wrap:anywhere;min-width:0}
.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-arrow{align-self:center}
@media(max-width:690px){.home-page .doctor-slider-area .doctor-cards .doctor-card-shell .doctor-item{min-height:105px;padding:10px 11px}.home-page .doctor-card-shell .qd114-availability-line{font-size:10px}}


/* QDoctor 1.1.4 — FRONT PAGE ONLY: compact accessible mobile navigation.
   Does not target /doctor/, /admin/, /hospital/ or any dashboard. */
.home-page .qd114-home-menu-toggle{display:none}
@media (max-width:690px){
  .home-page .home-nav{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;justify-content:stretch!important;
    gap:8px!important;padding:10px 12px!important;
  }
  .home-page .home-nav .home-logo{grid-column:1;grid-row:1;min-width:0;max-width:100%;font-size:clamp(17px,5vw,24px)}
  .qd114-home-menu-js .home-page .qd114-home-menu-toggle{
    grid-column:2;grid-row:1;display:inline-flex!important;align-items:center;
    justify-content:center;gap:7px;width:auto;min-width:76px;min-height:38px;
    border:1px solid #f6bdd0;border-radius:12px;padding:6px 10px;
    background:#fff0f5;color:#9e1245;font-size:12px;font-weight:800;
    box-shadow:0 3px 12px #9e124516;
  }
  .home-page .qd114-hamburger{display:flex;flex-direction:column;gap:3px;justify-content:center}
  .home-page .qd114-hamburger span{display:block;width:16px;height:2px;background:currentColor;border-radius:2px}
  .home-page .home-nav .qd114-home-navigation{
    grid-column:1 / -1!important;grid-row:2!important;width:100%;
    display:flex;flex-direction:column;gap:4px;justify-content:stretch;
    border-top:1px solid #f4dce6;padding:9px 0 0;margin-top:2px;
  }
  .home-page .home-nav .qd114-home-navigation a{
    display:flex!important;width:100%;min-height:34px;justify-content:flex-start;
    align-items:center;gap:8px;padding:7px 11px!important;
    border-radius:9px;font-size:12px!important;line-height:1.2;
    box-shadow:none;text-align:left;white-space:normal;
  }
  .home-page .home-nav .qd114-home-actions{
    grid-column:1 / -1!important;grid-row:3!important;
    display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;
    width:100%;gap:6px;border-top:1px solid #f5e4eb;
    padding-top:9px;margin-top:1px;
  }
  .home-page .home-nav .qd114-home-actions .qd114-login-chip,
  .home-page .home-nav .qd114-home-actions .qd114-install-chip{
    min-height:34px;font-size:11px;padding:6px 9px;border-radius:9px;
  }
  .home-page .home-nav .qd114-home-actions .language-control{
    min-height:34px;padding:0 7px;margin:0!important;border-radius:9px;font-size:11px;
  }
  .home-page .home-nav .qd114-home-actions .language-control span{font-size:16px}
  .home-page .home-nav .qd114-home-actions .language-control select{max-width:98px;font-size:11px}
  /* Collapse ONLY with JavaScript enabled and a working Menu toggle. */
  .qd114-home-menu-js .home-page .home-nav:not(.qd114-mobile-expanded) .qd114-home-navigation,
  .qd114-home-menu-js .home-page .home-nav:not(.qd114-mobile-expanded) .qd114-home-actions{display:none!important}
}
@media (min-width:691px){
  .home-page .qd114-home-menu-toggle{display:none!important}
}

/* ===== v1.1.4 FINAL HOME MOBILE HEADER =====
   User-approved order: [☰ Menu] [Q Doctor + logo] [Language] [Install App].
   Expanded menu only contains navigation and login links.
   IMPORTANT: Scoped to .home-page: Doctor Dashboard untouched. */
@media (max-width:690px){
  .home-page .home-nav{
    display:grid!important;
    grid-template-columns:36px minmax(70px,1fr) auto auto!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:5px!important;
    row-gap:6px!important;
    padding:9px 9px!important;
    overflow:visible;
  }
  .home-page .home-nav .qd114-home-menu-toggle{
    grid-column:1;grid-row:1;min-width:0!important;width:36px!important;
    min-height:36px!important;height:36px!important;padding:5px!important;
    display:none;gap:0!important;margin:0!important;border-radius:10px;
  }
  .qd114-home-menu-js .home-page .home-nav .qd114-home-menu-toggle{display:inline-flex!important}
  .home-page .home-nav .qd114-home-menu-text{display:none!important}
  .home-page .home-nav .qd114-hamburger span{width:17px;height:2px}
  .home-page .home-nav .home-logo{
    grid-column:2;grid-row:1;display:inline-flex!important;align-items:center;
    gap:4px!important;min-width:0!important;width:auto!important;
    padding:0 0 0 4px!important;margin:0!important;
    font-size:clamp(12px,3.35vw,16px)!important;
    line-height:1.1;white-space:nowrap;
  }
  .home-page .home-nav .home-logo .home-logo-image{
    flex:0 0 30px;width:30px!important;height:30px!important;max-width:30px!important;
    margin:0!important;object-fit:contain;
  }
  .home-page .home-nav .home-logo strong{font-size:inherit!important;letter-spacing:-.3px}
  .home-page .home-nav .qd114-home-actions{display:contents!important}
  .home-page .home-nav .qd114-home-actions .language-control{
    grid-column:3;grid-row:1;display:inline-flex!important;align-items:center;
    justify-content:center;min-width:0!important;width:clamp(55px,18vw,82px);
    max-width:82px;min-height:35px;padding:0 2px!important;margin:0!important;
    border:1px solid #eed3de;border-radius:9px;background:#fff8fb;
  }
  .home-page .home-nav .language-control>span{display:none!important}
  .home-page .home-nav .language-control select{
    width:100%;max-width:100%!important;min-width:0!important;
    padding:4px 1px!important;margin:0!important;border:0!important;
    background:transparent;font-size:clamp(10px,2.7vw,12px)!important;
  }
  .home-page .home-nav .qd114-home-actions .qd114-install-chip{
    grid-column:4;grid-row:1;display:inline-flex!important;
    width:auto;min-width:0!important;min-height:35px!important;
    max-width:88px;padding:5px 6px!important;margin:0!important;
    border-radius:9px;line-height:1.1;white-space:nowrap;
    font-size:clamp(9px,2.45vw,11px)!important;
  }
  .home-page .home-nav .qd114-home-actions .qd114-install-chip[hidden]{display:none!important}
  .home-page .home-nav .qd114-home-navigation{
    grid-column:1/-1!important;grid-row:2!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:4px!important;width:100%!important;min-width:0!important;
    margin:0!important;padding:8px 0 0!important;
    border-top:1px solid #f2dbe4;
  }
  .home-page .home-nav .qd114-home-navigation a{
    min-height:36px!important;max-width:100%;width:100%!important;
    justify-content:flex-start!important;padding:7px 10px!important;
    text-align:left!important;font-size:12px!important;
  }
  .home-page .home-nav .qd114-home-actions .qd114-login-chip{
    grid-column:1/-1!important;min-width:0;width:100%;max-width:100%;
    min-height:36px!important;justify-content:flex-start!important;
    padding:7px 10px!important;font-size:12px!important;
  }
  .home-page .home-nav .qd114-home-actions a.qd114-login-chip:nth-of-type(1){grid-row:3}
  .home-page .home-nav .qd114-home-actions a.qd114-login-chip:nth-of-type(2){grid-row:4}
  /* The menu hides only drop-down navigation and login actions,
     never the language or PWA install controls next to the hamburger. */
  .qd114-home-menu-js .home-page .home-nav:not(.qd114-mobile-expanded) .qd114-home-navigation,
  .qd114-home-menu-js .home-page .home-nav:not(.qd114-mobile-expanded) .qd114-login-chip{display:none!important}
  .qd114-home-menu-js .home-page .home-nav:not(.qd114-mobile-expanded) .qd114-home-actions{display:contents!important}
}
@media (max-width:355px){
 .home-page .home-nav{grid-template-columns:33px minmax(60px,1fr) auto auto!important;column-gap:3px!important;padding-inline:7px!important}
 .home-page .home-nav .qd114-home-menu-toggle{width:33px!important;min-height:34px!important;height:34px!important}
 .home-page .home-nav .home-logo{font-size:12px!important;padding-left:2px!important;gap:3px!important}
 .home-page .home-nav .home-logo .home-logo-image{width:26px!important;height:26px!important;flex-basis:26px}
 .home-page .home-nav .qd114-home-actions .language-control{width:54px;min-height:33px}
 .home-page .home-nav .qd114-home-actions .qd114-install-chip{min-height:33px!important;padding-inline:4px!important;font-size:9px!important}
}

/* Q Doctor V1.13: public footer centered and Powered by Qbay unbroken. */
.home-page .home-shell {min-height:100vh;display:flex;flex-direction:column;}
.home-page .home-shell>main {flex:1 0 auto;}
.home-page .home-footer {margin-top:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;padding:20px 12px 22px;text-align:center;}
.home-page .home-footer>.footer-copy {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;max-width:100%;text-align:center;}
.home-page .home-footer .footer-heading {display:block;line-height:1.5;max-width:100%;} 
.home-page .home-footer .footer-copy small {display:block;max-width:100%;line-height:1.5;overflow-wrap:normal;word-break:normal;}
.home-page .home-footer .qd114-footer-credit {display:block;order:3;margin:2px auto 0;color:#ad174b;font-weight:800;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;text-align:center;line-height:1.5;}
.home-page .home-footer .qd113-footer-phone-last {display:flex!important;justify-content:center!important;align-items:center!important;margin:0 auto!important;width:100%;max-width:100%;} 
.home-page .home-footer .footer-extra {text-align:center;}
@media(max-width:690px){.home-page .home-footer {align-items:center!important;justify-content:center!important;padding:18px 8px 22px;} .home-page .home-footer>.footer-copy {align-items:center!important;text-align:center!important;} .home-page .home-footer .footer-heading{font-size:12px;} .home-page .home-footer .footer-copy small{font-size:10px;}}

/* Q Doctor V1.13 – mobile alignment hardening (15 Nov 2026).
   Matches the desktop footer hierarchy without changing form or TV functionality. */
.home-page footer.home-footer,
.home-page .home-shell footer.home-footer {
  box-sizing:border-box!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  margin-inline:auto!important;
  row-gap:10px!important;
}
.home-page footer.home-footer > .footer-copy,
.home-page .home-shell footer.home-footer > .footer-copy {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  margin-inline:auto!important;
  gap:5px!important;
}
.home-page footer.home-footer .footer-heading,
.home-page footer.home-footer .footer-copy small,
.home-page footer.home-footer .footer-extra {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-inline:auto!important;
  text-align:center!important;
  overflow-wrap:break-word!important;
}
.home-page footer.home-footer .qd114-footer-credit {
  display:block!important;
  text-align:center!important;
  margin:5px auto!important;
  white-space:nowrap!important;
  width:max-content!important;
  max-width:100%!important;
  color:#bc174f!important;
  line-height:1.5!important;
}
.home-page footer.home-footer > .qd113-footer-phone-last {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  margin:3px auto 0!important;
}
.home-page footer.home-footer .qd113-footer-phone {
  justify-content:center!important;
  align-items:center!important;
  margin-inline:auto!important;
  color:#4b607c!important;
}
@media(max-width:690px){
  .home-page footer.home-footer,
  .home-page .home-shell footer.home-footer {padding:22px 10px 26px!important;gap:10px!important;}
  .home-page footer.home-footer .footer-heading {font-size:12px!important;line-height:1.55!important;}
  .home-page footer.home-footer .footer-copy small {font-size:11px!important;line-height:1.7!important;}
  .home-page footer.home-footer .qd114-footer-credit {font-size:13px!important;}
}


/* V1.13 public footer: unified layout for homepage and booking on mobile. */
footer.site-footer.qd113-booking-footer,
.home-page footer.home-footer {
  display:flex!important; flex-direction:column!important; align-items:center!important;
  justify-content:center!important; text-align:center!important; box-sizing:border-box!important;
  width:100%!important; max-width:100%!important; gap:8px!important;
}
footer.site-footer.qd113-booking-footer > .footer-copy,
.home-page footer.home-footer > .footer-copy {
  display:flex!important; flex-direction:column!important; align-items:center!important;
  justify-content:center!important; text-align:center!important; width:100%!important;
  min-width:0!important; max-width:100%!important; gap:5px!important; margin-inline:auto!important;
}
footer.site-footer.qd113-booking-footer .footer-heading,
footer.site-footer.qd113-booking-footer .footer-copy small,
.home-page footer.home-footer .footer-heading,
.home-page footer.home-footer .footer-copy small {
  display:block!important; width:100%!important; max-width:100%!important;
  text-align:center!important; margin-inline:auto!important; overflow-wrap:anywhere!important;
}
footer.site-footer.qd113-booking-footer .qd113-footer-phone-last,
.home-page footer.home-footer .qd113-footer-phone-last {
  display:flex!important; justify-content:center!important; align-items:center!important;
  width:100%!important; text-align:center!important; margin-inline:auto!important;
}
footer.site-footer.qd113-booking-footer .qd114-footer-credit,
.home-page footer.home-footer .qd114-footer-credit {
  display:block!important; text-align:center!important; white-space:nowrap!important;
  color:#b0154c!important; font-weight:800!important; width:max-content!important;
  max-width:100%!important; margin:6px auto!important; line-height:1.5!important;
}
footer.site-footer.qd113-booking-footer .footer-links,
.home-page footer.home-footer .footer-links {display:none!important;}
@media(max-width:690px){
 footer.site-footer.qd113-booking-footer,
 .home-page footer.home-footer {padding:22px 14px 28px!important;gap:9px!important;}
 footer.site-footer.qd113-booking-footer .footer-heading,
 .home-page footer.home-footer .footer-heading {font-size:13px!important;line-height:1.5!important;}
 footer.site-footer.qd113-booking-footer .footer-copy small,
 .home-page footer.home-footer .footer-copy small {font-size:11px!important;line-height:1.6!important;}
}


/* Q Doctor V1.14 responsive public footer: PC/tablet = left/center/right; mobile = stacked with brand last. */
footer.qd114-responsive-footer,
.home-page footer.home-footer.qd114-responsive-footer,
footer.site-footer.qd114-responsive-footer {
  display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  grid-template-rows:auto!important;align-items:center!important;justify-items:stretch!important;
  gap:12px!important;width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;text-align:left!important;
}
footer.qd114-responsive-footer > .footer-copy,
.home-page footer.home-footer.qd114-responsive-footer > .footer-copy {
  grid-column:1!important;grid-row:1!important;min-width:0!important;
  width:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  text-align:left!important;gap:4px!important;margin:0!important;
}
footer.qd114-responsive-footer .footer-heading,
footer.qd114-responsive-footer .footer-copy small,
footer.qd114-responsive-footer .footer-extra {
  text-align:left!important;width:auto!important;max-width:100%!important;margin:0!important;overflow-wrap:break-word!important;
}
footer.qd114-responsive-footer > .qd114-footer-center {
  grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:center!important;
  text-align:center!important;white-space:nowrap!important;
}
footer.qd114-responsive-footer .qd114-footer-credit {
  margin:0!important;width:auto!important;display:block!important;white-space:nowrap!important;
  font-weight:800!important;text-align:center!important;
}
footer.qd114-responsive-footer > .qd113-footer-phone-last,
.home-page footer.home-footer.qd114-responsive-footer > .qd113-footer-phone-last {
  grid-column:3!important;grid-row:1!important;width:auto!important;min-width:0!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;justify-self:end!important;
  text-align:right!important;margin:0!important;
}
footer.qd114-responsive-footer .qd113-footer-phone {white-space:nowrap!important;}
footer.qd114-responsive-footer > .footer-links {grid-column:1 / -1!important;grid-row:2!important;justify-content:center!important;}
footer.site-footer.qd113-booking-footer.qd114-responsive-footer .footer-links {display:none!important;}
@media(max-width:690px){
 footer.qd114-responsive-footer,
 .home-page footer.home-footer.qd114-responsive-footer,
 footer.site-footer.qd114-responsive-footer {
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   align-items:center!important;gap:9px!important;text-align:center!important;padding:22px 12px 26px!important;
 }
 footer.qd114-responsive-footer > .footer-copy,
 .home-page footer.home-footer.qd114-responsive-footer > .footer-copy {
   order:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;
   width:100%!important;max-width:100%!important;text-align:center!important;
 }
 footer.qd114-responsive-footer .footer-heading,
 footer.qd114-responsive-footer .footer-copy small,
 footer.qd114-responsive-footer .footer-extra {width:100%!important;text-align:center!important;}
 footer.qd114-responsive-footer > .footer-links {order:2!important;justify-content:center!important;}
 footer.qd114-responsive-footer > .qd113-footer-phone-last,
 .home-page footer.home-footer.qd114-responsive-footer > .qd113-footer-phone-last {
   order:3!important;width:100%!important;align-self:center!important;justify-self:center!important;
   justify-content:center!important;text-align:center!important;margin:0!important;
 }
 footer.qd114-responsive-footer > .qd114-footer-center {
   order:4!important;align-self:center!important;text-align:center!important;width:100%!important;margin:0!important;
 }
}
