/* Instalação da Clínica Online | leve, isolada, sem sobrescrever o CSS existente. */
.co-install-card,.co-guide-overlay{font-family:Inter,Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box}
.co-install-card *,.co-guide-overlay *{box-sizing:border-box}
.co-install-card{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:2147483000;width:min(360px,calc(100vw - 32px));display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #263b54;border-radius:17px;background:#101923;box-shadow:0 12px 38px rgba(0,0,0,.27);color:#fff;line-height:1.28}
.co-install-card[hidden],.co-guide-overlay[hidden]{display:none!important}
.co-install-card img{width:46px;height:46px;border-radius:11px;object-fit:cover;flex:none;border:1px solid rgba(255,255,255,.09)}
.co-install-details{display:grid;min-width:0;flex:1;gap:2px}
.co-install-title{font-size:13px;line-height:1.2;font-weight:650;color:#fff}
.co-install-sub{font-size:10px;line-height:1.3;color:#a9b6c5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-install-button{border:0;border-radius:999px;padding:9px 12px;background:#26313e;color:#68aaff;font-size:12px;line-height:1.2;font-weight:650;cursor:pointer;white-space:nowrap}
.co-install-close{position:absolute;top:-8px;right:-7px;border:1px solid #334559;border-radius:50%;width:22px;height:22px;background:#162434;color:#e0e7ef;cursor:pointer;font-size:15px;line-height:19px;text-align:center;padding:0}
.co-install-card.co-modal-inline{position:static!important;right:auto;bottom:auto;box-shadow:none;margin:12px 0 0;width:100%;border-radius:13px}
.co-guide-overlay{position:fixed;inset:0;z-index:2147483200;background:rgba(4,15,29,.55);display:flex;align-items:center;justify-content:center;padding:18px}
.co-guide-card{position:relative;width:min(440px,100%);border:1px solid #e4e9f0;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.24);padding:20px;color:#12253d;max-height:calc(100dvh - 32px);overflow-y:auto}
.co-guide-head{display:flex;align-items:center;gap:12px;padding-right:27px}
.co-guide-head img{width:52px;height:52px;border-radius:13px}
.co-guide-head h2{font-size:17px;line-height:1.2;margin:0;color:#12253d;font-weight:680}
.co-guide-head p{font-size:12px;color:#637489;margin:4px 0 0;line-height:1.4}
.co-guide-x{position:absolute;top:15px;right:15px;border:0;border-radius:10px;color:#64748b;background:#f0f3f7;width:31px;height:31px;font-size:19px;cursor:pointer}
.co-ios-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0 15px}
.co-ios-step{border:1px solid #dfe7f0;background:#f7faff;border-radius:14px;padding:10px 7px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px}
.co-ios-icon{width:50px;height:50px;display:grid;place-items:center;border:1px solid #dce5ee;border-radius:13px;background:#fff;color:#236ba6;position:relative}
.co-ios-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.co-ios-step b{font-size:11px;color:#1a314a;font-weight:650;line-height:1.25}
.co-ios-step span{font-size:10px;color:#647489;line-height:1.3}
.co-ios-foot{font-size:11px;line-height:1.5;color:#61748a;margin:10px 0 0}
.co-guide-done{border:0;border-radius:12px;background:#0b2748;color:#fff;padding:12px 17px;font-size:13px;font-weight:650;cursor:pointer;width:100%}
@media(max-width:520px){.co-install-card{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto}.co-guide-card{padding:17px}.co-ios-steps{gap:6px}.co-ios-step{padding:9px 4px}.co-install-card.co-modal-inline{left:auto;right:auto}}
.co-install-card.co-form-active{display:none}
/* Passo a passo visual do Safari/iPhone, adaptado da referência de UX. */
.co-guide-stepper{width:min(355px,100%);padding:16px 16px 13px;max-height:min(94dvh,700px);overflow:auto}
.co-guide-stepper .co-guide-x{position:static;flex:0 0 auto;width:27px;height:27px;border-radius:8px}
.co-guide-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
.co-guide-brand{display:flex;align-items:center;gap:6px;color:#263650;font-size:12px;font-weight:700}
.co-guide-brand img{width:22px;height:22px;border-radius:6px}
.co-guide-step-counter{text-align:center;margin:12px 0 5px;color:#586d8b;font-size:9px;letter-spacing:.095em;font-weight:750}
.co-guide-progress{width:100%;height:4px;border-radius:20px;background:#e9eef5;overflow:hidden}
.co-guide-progress span{display:block;height:100%;border-radius:20px;background:#1d407f;transition:width .2s ease}
.co-guide-step-title{text-align:center;margin:12px 0 4px;font-size:14px;line-height:1.24;color:#1a2d49;font-weight:750}
.co-guide-step-desc{text-align:center;margin:0 auto 10px;font-size:10.5px;color:#6a7890;line-height:1.35;max-width:270px}
.co-phone-preview{display:flex;justify-content:center;align-items:center;height:230px;background:#eff3f9;border:1px solid #e4e9f2;border-radius:13px;overflow:hidden}
.co-iphone-bezel{height:207px;width:107px;position:relative;border:3px solid #151f32;border-radius:17px;background:#121b2a;overflow:hidden;box-shadow:0 6px 13px rgba(8,24,50,.14)}
.co-iphone-island{z-index:4;position:absolute;width:33px;height:8px;background:#101725;border-radius:0 0 6px 6px;left:50%;transform:translateX(-50%);top:0}
.co-iphone-screen{position:relative;height:100%;background:#fff;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.co-phone-site{height:100%;background:#fff;padding:13px 6px 8px}
.co-phone-site-top{height:19px;background:#0d2b57;color:#fff;display:flex;align-items:center;justify-content:center;gap:3px;font-size:4px}
.co-phone-site-top img{height:9px;width:9px;object-fit:cover;border-radius:2px}
.co-phone-box{border:1px solid #ebedf1;box-shadow:0 1px 3px #e7e9f0;border-radius:4px;margin:25px 4px;padding:6px 6px 9px;display:grid;gap:4px}
.co-phone-box strong{font-size:5px;color:#1d2b47}.co-phone-box i{display:block;background:#f7f9fd;border:1px solid #e1e7f2;border-radius:2px;height:10px}
.co-phone-box b{display:block;background:#10388e;color:#fff;text-align:center;font-size:5px;border-radius:2px;padding:4px 0}
.co-safari-bar{position:absolute;z-index:2;bottom:0;left:0;right:0;height:24px;background:linear-gradient(180deg,#f8f8fa,#e5e5e8);display:flex;justify-content:space-around;align-items:center;gap:3px;padding:2px 3px}
.co-safari-back{border-radius:8px;background:#fff;font-size:12px;color:#3c4350;line-height:15px;min-width:13px;text-align:center}
.co-safari-address{font-size:4.9px;background:#fff;line-height:14px;border-radius:8px;flex:1;text-align:center;color:#42536d}
.co-safari-dots{background:#fff;border-radius:50%;font-size:7px;line-height:14px;min-width:15px;text-align:center;color:#25334a}
.co-highlight{outline:2px solid #f4a54d!important;outline-offset:1px;border-radius:3px}
.co-safari-dots.co-highlight{border-radius:50%}
.co-phone-sheet{position:absolute;z-index:3;bottom:22px;left:5px;right:5px;background:#f7f8fc;border-radius:9px;padding:5px 4px;box-shadow:0 5px 14px #53617555;color:#263550;font-size:5.3px;line-height:1.4}
.co-phone-sheet-title{text-align:center;font-size:6px;font-weight:650;margin-bottom:4px}
.co-sheet-line,.co-sheet-choice{padding:4px;background:#fff;border-radius:4px;margin:3px 0;display:flex;align-items:center;justify-content:center;gap:2px}
.co-sheet-choice{font-weight:680;color:#123c7a}
.co-sheet-choice img{height:10px;width:10px}
.co-sheet-choice svg{width:9px;height:9px;fill:none;stroke:currentColor;stroke-width:2}
.co-sheet-short{bottom:25px}
.co-phone-app-mini{display:flex;justify-content:center;align-items:center;gap:5px;font-size:7px;font-weight:650;margin:5px 0 3px}
.co-phone-app-mini img{width:19px;height:19px;border-radius:4px}
.co-phone-homescreen{background:linear-gradient(150deg,#244678,#86b0dd,#cfd7e7);height:100%;padding:36px 9px}
.co-phone-app{display:flex;align-items:center;flex-direction:column;gap:4px;margin-left:2px;width:45px}
.co-phone-app img{width:30px;height:30px;border-radius:7px;box-shadow:0 2px 5px #25416b66}
.co-phone-app small{font-size:5px;color:#fff;text-shadow:0 1px 1px #23455b}
.co-phone-home-dock{display:flex;justify-content:space-evenly;align-items:center;position:absolute;bottom:5px;left:4px;right:4px;background:#d0e2f477;padding:7px 3px;border-radius:12px}
.co-phone-home-dock i{width:13px;height:13px;border-radius:4px;background:#527caf}
.co-guide-nav{display:flex;gap:7px;margin-top:11px}.co-guide-nav button{flex:1;min-height:37px;border-radius:9px;border:1px solid #dae2ef;background:#fff;color:#2e4264;font-size:11px;font-weight:700;cursor:pointer}
.co-guide-nav button:last-child{background:#173a81;border-color:#173a81;color:#fff}
.co-guide-nav button:disabled{opacity:.35;cursor:default}
.co-guide-smallprint{text-align:center;font-size:9px;line-height:1.35;color:#7b8798;margin:9px 0 0}
@media(max-height:650px){.co-phone-preview{height:174px}.co-iphone-bezel{transform:scale(.79)}.co-guide-stepper{padding:11px}.co-guide-step-title{margin-top:7px}}
