:root{font-family:Arial,sans-serif;color:#123247;background:#f3f7fa;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}a{color:#145778}button:disabled{opacity:.5;cursor:wait}.chat-header{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px}.chat-header img{width:210px;height:auto}.chat-shell{max-width:1180px;margin:24px auto 60px;padding:0 24px;display:grid;grid-template-columns:.8fr 1.2fr;gap:64px}.chat-about{padding:32px 0}.eyebrow{font-size:.88rem;font-weight:700;letter-spacing:.13em;color:#506f84}h1{font-size:clamp(2.1rem,4vw,3.7rem);letter-spacing:-.055em;line-height:1.06;margin:24px 0}p{line-height:1.6}.doctor{margin:32px 0}.doctor small,.small{font-size:.9rem;color:#526a79}.care-note{background:#fff;border-left:3px solid #c54549;padding:18px 20px;border-radius:0 12px 12px 0;font-size:.95rem}.care-note a{display:inline-block;margin:0 12px 8px 0}.chat-card{background:#fff;border:1px solid #dce6ed;border-radius:24px;box-shadow:0 12px 48px #1232470b;overflow:hidden;align-self:start}.chat-bar{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #e4ebf0}.chat-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#123247;color:#fff;font-size:1.3rem}.chat-bar small{display:block;font-size:.85rem;color:#617987;margin-top:5px}.chat-bar button{margin-left:auto;border:0;background:none;font-size:.85rem;color:#46677c}#conversation{padding:24px 24px 8px;max-height:270px;overflow:auto;scroll-behavior:smooth}.bubble{padding:14px 18px;margin:0 0 14px;background:#eef4f8;border-radius:4px 18px 18px 18px;max-width:94%;line-height:1.55}.bubble.patient{background:#163d56;color:#fff;margin-left:auto;border-radius:18px 4px 18px 18px;max-width:83%;font-size:.95rem}#controls{padding:8px 24px 24px}#controls:focus{outline:none}.choices{display:grid;gap:10px}.choice,.primary,.secondary{display:block;text-align:left;border:1px solid #ccdce7;background:#fff;color:#173e57;border-radius:14px;padding:15px 18px;text-decoration:none;line-height:1.4}.choice:hover,.secondary:hover{background:#eef5fa}.choice small{display:block;color:#647b8b;margin-top:4px;font-size:.85rem}.primary{background:#133e58;color:#fff;border:0;text-align:center;font-weight:700;margin-top:16px}.primary:hover{background:#0c2e45}.secondary{text-align:center;margin-top:10px}.urgent-action{background:#b63840;color:white}.chat-footer{padding:18px 24px;background:#f7f9fb;border-top:1px solid #e4ebf0;display:flex;flex-wrap:wrap;gap:14px;font-size:.85rem}.chat-form{display:grid;gap:16px}.chat-form label{display:grid;gap:7px;font-size:.92rem;font-weight:600}.chat-form input,.chat-form textarea{width:100%;padding:12px;border:1px solid #bfd1df;border-radius:10px;background:#fff;color:#14364c}.chat-form .check{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}.check input{width:20px;flex:none;margin:3px 0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.small{line-height:1.5}.week-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.week-bar button{border:1px solid #cedde7;border-radius:50%;background:#fff;width:42px;height:42px;font-size:1.4rem}.week-bar svg{width:18px;stroke:currentColor;fill:none;stroke-width:2}.week-title{text-align:center;line-height:1.4}.slot-day{border-bottom:1px solid #e7edf1;padding:12px 0}.slot-day strong{font-size:.9rem;display:block;margin-bottom:10px}.slots{display:flex;gap:8px;flex-wrap:wrap}.slot{background:#eff6fb;color:#143f5b;border:1px solid #c9ddeb;padding:9px 14px;border-radius:50px;min-height:42px}.slot:hover{background:#143f5b;color:#fff}.summary{border:1px solid #d4e1ea;background:#f7fafc;padding:18px;border-radius:14px;line-height:1.7;overflow-wrap:anywhere}#chat-error{margin:0 24px 14px;padding:12px 16px;background:#fff0f0;color:#a52b36;border-radius:10px}.busy{padding:24px;text-align:center;color:#60798a}[hidden]{display:none!important}@media(max-width:800px){.chat-shell{grid-template-columns:1fr;gap:20px;margin-top:0}.chat-about{padding:0}.chat-about h1{font-size:2.2rem;margin:16px 0}.doctor{margin:14px 0}.care-note,.chat-about>.small{display:none}.chat-header{padding:18px 24px}.chat-header img{width:170px}.chat-header>a:last-child{font-size:.85rem}}@media(max-width:430px){.chat-shell{padding:0 12px}.form-row{grid-template-columns:1fr}.chat-bar,#controls,#conversation{padding-left:18px;padding-right:18px}.chat-bar small{font-size:.78rem}.chat-card{border-radius:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
