:root{--blue:#1E3A6D;--sage:#5A7D6A;--bg:#F0F3F4;--white:#fff;--text:#17233b;--muted:#667085;--line:#d9e0e6;--danger:#a33434}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}.shell{max-width:880px;margin:auto;padding:28px 16px 64px}header{margin-bottom:22px}h1{color:var(--blue);font-size:clamp(26px,5vw,42px);line-height:1.1;margin:14px 0 8px}h2{color:var(--blue);margin-top:0}.back{color:var(--blue);text-decoration:none}.card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px;margin:16px 0;box-shadow:0 8px 26px rgba(30,58,109,.06)}.hidden{display:none}.services,.slot-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}button{font:inherit;border:0;border-radius:10px;padding:12px 14px;cursor:pointer;background:var(--blue);color:white}.service,.slot{background:white;color:var(--blue);border:1px solid var(--line);text-align:left}.service:hover,.slot:hover{border-color:var(--blue)}.service.selected{background:var(--blue);color:white}.day{margin:20px 0}.day h3{margin-bottom:8px}.row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.ghost{background:white;color:var(--blue);border:1px solid var(--line)}.danger{background:var(--danger)}.muted{color:var(--muted)}.timer{font-size:18px}.error{color:#a33434}.ok{color:#316647}.price{font-weight:700;margin-top:4px}.preconsult-skip{border:1px solid #c9d8e6;border-radius:12px;padding:16px;margin:16px 0;background:#f7fbff}.preconsult-skip h3{margin-top:0;color:var(--blue)}.preconsult-skip .form-status{margin-top:8px}@media(max-width:520px){.shell{padding:18px 12px 48px}.card{padding:17px}.slot-grid{grid-template-columns:repeat(2,1fr)}button{min-height:44px}}
.doctor-filter{margin:16px 0 22px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fafb}.doctor-filter label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:var(--blue)}.doctor-filter select{width:100%;min-height:46px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font:inherit}.doctor-filter p{margin:8px 0 0;font-size:.9rem}
.hold-summary{display:grid;gap:8px}.hold-summary p{margin:0}.hold-expiry{color:#315b4a;font-weight:600}.hold-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hold-actions .timer{font-size:18px}.hold-actions button{min-height:44px}
.global-whatsapp{position:fixed;right:18px;bottom:18px;z-index:150;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 17px;border-radius:999px;background:#25d366;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 8px 26px rgba(20,95,48,.3)}.global-whatsapp svg{width:25px;height:25px;fill:currentColor}@media(max-width:520px){.global-whatsapp{width:56px;height:56px;min-height:56px;padding:0}.global-whatsapp span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-methods button{display:flex;min-height:58px;flex-direction:column;align-items:center;justify-content:center}.payment-methods small{font-weight:400}.pix-details{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:12px}.pix-details img{display:block;width:min(280px,100%);height:auto;margin:0 auto 16px}.pix-details textarea{width:100%;resize:none}.actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:520px){.payment-methods{grid-template-columns:1fr}.pix-details{padding:12px}}
.assisted-warning{border:2px solid #f59e0b!important;background:#fff7ed!important;color:#9a3412!important}.assisted-warning small{display:block;font-weight:800;margin-top:4px}
.credit-option{margin:14px 0;padding:14px;border:1px solid #b8d9c2;border-radius:12px;background:#f2faf4}.credit-option p{margin:4px 0 10px}
.booking-rules-note{margin:14px 0 0;padding:12px 14px;border-left:3px solid var(--sage);border-radius:8px;background:#f6faf8;color:var(--muted);font-size:.94rem}.service-rules{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted);font-size:.88rem;line-height:1.4}.service-rules span{font-weight:700;color:var(--blue)}.service.selected .service-rules{color:#e7eef9;border-color:rgba(255,255,255,.26)}.service.selected .service-rules span{color:#fff}.hold-warning{display:none;margin:0;padding:8px 10px;border-radius:8px;background:#fff4d6;color:#765500;font-weight:700;font-size:.92rem}.hold-warning.visible{display:block}.resume-booking-note{font-size:.88rem;margin-top:-4px}
.rapid-next-slot{display:grid;gap:8px}.rapid-next-slot p{margin:0}.rapid-next-slot .slot{text-align:center;font-weight:700}
.service{display:flex;flex-direction:column;gap:4px}.service-primary{border-color:#c88b2d;box-shadow:0 4px 14px rgba(200,139,45,.18)}.service-badge{align-self:flex-start;padding:3px 8px;border-radius:999px;background:#fff3d6;color:#76520b;font-size:.75rem;font-weight:800}.service-description{margin:6px 0 0;color:var(--muted);font-size:.9rem;line-height:1.4}.service.selected .service-description{color:#e7eef9}.service .price small{font-weight:600;color:var(--muted)}.service.selected .price small{color:#e7eef9}.service-cta{display:inline-flex;align-self:flex-start;margin-top:6px;padding:7px 10px;border-radius:8px;background:#eef3f8;color:var(--blue);font-size:.84rem;font-weight:800}.service.selected .service-cta{background:#fff;color:var(--blue)}
html{-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button:focus-visible,.service:focus-visible,.slot:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b8ccef;outline-offset:2px}.service,.slot{min-height:48px;touch-action:manipulation;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.service:hover,.slot:hover{box-shadow:0 4px 12px rgba(30,58,109,.1)}input,select,textarea{color:var(--text)}input:focus,select:focus,textarea:focus{border-color:var(--blue);outline:3px solid #b8ccef;outline-offset:1px}@media(max-width:760px){.shell{padding-top:20px}.card{border-radius:14px}.row{align-items:stretch}.row>*{max-width:100%}.actions button{flex:1;min-width:160px}}@media(prefers-reduced-motion:reduce){.service,.slot{transition:none}}
.skeleton{min-height:72px;border-radius:12px;background:linear-gradient(100deg,#e4e9ed 20%,#f7f9fa 38%,#e4e9ed 58%);background-size:200% 100%;animation:booking-skeleton 1.2s ease-in-out infinite}.hold-summary{position:static}.hold-summary,.hold-actions{scroll-margin-top:12px}@keyframes booking-skeleton{to{background-position-x:-200%}}@media(max-width:760px){body{padding-bottom:78px}.global-whatsapp{right:16px;bottom:calc(12px + env(safe-area-inset-bottom));width:52px;height:52px;min-height:52px;padding:0}.global-whatsapp span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}@media(max-width:320px){.shell{padding-inline:10px}.card{padding:14px}.payment-methods{grid-template-columns:1fr}.service,.slot{min-height:52px}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}
.empty-booking{padding:18px;border:1px solid var(--line);border-radius:12px;background:#f8fafb}.empty-booking strong{display:block;color:var(--blue)}.empty-booking p{margin:6px 0 12px;color:var(--muted)}.empty-booking .text-link{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.clinical-intake-form{display:grid;gap:16px}.intake-progress{display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:0;list-style:none}.intake-progress li{padding:5px 9px;border-radius:999px;background:#eef3f7;color:var(--muted);font-size:.84rem;font-weight:700}.intake-progress .current{background:#dceafb;color:var(--blue)}.intake-fieldset{display:grid;gap:10px;border:1px solid var(--line);border-radius:12px;padding:14px}.intake-fieldset legend{padding:0 5px;font-weight:800}.symptom-groups{display:grid;gap:12px}.symptom-group{border-top:1px solid var(--line);padding-top:10px}.symptom-group:first-child{border-top:0;padding-top:0}.symptom-group h4{margin:0 0 8px;color:var(--blue);font-size:.95rem}.symptom-chips,.allergy-options{display:flex;flex-wrap:wrap;gap:8px}.symptom-chip,.allergy-option{position:relative;display:inline-flex;align-items:center;min-height:42px;padding:7px 11px;border:1px solid #b9c9d5;border-radius:999px;background:#fff;color:var(--text);font-weight:650;cursor:pointer}.symptom-chip input,.allergy-option input{position:absolute;opacity:0;pointer-events:none}.symptom-chip:has(input:checked),.allergy-option:has(input:checked){border-color:var(--blue);background:#eaf2fb;color:var(--blue)}.selected-symptoms{margin:0;color:var(--muted);font-size:.92rem}.fever-details{padding:12px 14px;border-left:3px solid #e2a62f;border-radius:8px;background:#fff9eb}.fever-details p{margin-top:0}.clinical-intake-form small{color:var(--muted)}@media(max-width:520px){.intake-fieldset{padding:12px}.symptom-chip,.allergy-option{width:100%;justify-content:flex-start}.intake-progress{gap:6px}.intake-progress li{font-size:.78rem}}
.payment-confirmation-popup{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:18px;background:rgba(23,35,59,.48)}.payment-confirmation-popup[hidden]{display:none}.payment-confirmation-popup__card{width:min(440px,100%);padding:24px;border-radius:18px;background:#fff;box-shadow:0 20px 60px rgba(23,35,59,.24)}.payment-confirmation-popup__card h2{margin:0 0 8px}.payment-confirmation-popup__card p:not(.eyebrow){margin:0 0 18px}@media(max-width:520px){.payment-confirmation-popup{padding:12px}.payment-confirmation-popup__card{padding:20px}}
.hidden{display:none!important}
