body{margin:0;font-family:system-ui,sans-serif;background:#0f172a;color:#0f172a}main{margin:0}.app-shell{min-height:100vh;background-size:cover;background-position:center;background-repeat:no-repeat;position:relative}.app-shell--home{background-image:url(/backgrounds/home-clinic.png)}.app-shell--patient{background-image:url(/backgrounds/patient-intake.png)}.app-shell--doctor{background-image:url(/backgrounds/doctor-review.png)}.app-shell__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a8c;pointer-events:none}.app-shell__content{position:relative;z-index:1;min-height:100vh}.app-nav{position:relative;z-index:2;padding:10px 16px;background:#ffffffeb;border-bottom:1px solid rgba(0,0,0,.08)}.app-nav a{color:#0046b8;text-decoration:none;font-weight:600}.app-nav a:hover{text-decoration:underline}.content-panel{background:#ffffffeb;border-radius:12px;padding:24px;margin:24px auto;max-width:720px;box-shadow:0 4px 24px #00000026}.content-panel--wide{max-width:960px}.content-panel--centered{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 48px);text-align:center}.landing-panel{background:#ffffffeb;border-radius:16px;padding:40px 32px;max-width:420px;width:calc(100% - 48px);margin:24px auto;text-align:center;box-shadow:0 8px 32px #0003}.landing-panel h2{margin-top:0;color:#1a202c}.home-page{padding:24px 16px 48px}.home-page h1{color:#fff;text-align:center;margin:0 0 8px;font-size:2.5rem;text-shadow:0 2px 8px rgba(0,0,0,.4)}.home-links{text-align:center;margin-bottom:24px}.home-links a{color:#e2e8f0;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.5)}.clinic-card{border:1px solid #e2e8f0;padding:16px;border-radius:8px;max-width:320px;background:#fff}.clinic-grid{display:grid;gap:20px;justify-items:center}@media (min-width: 640px){.clinic-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));justify-items:stretch}.clinic-card{max-width:none}}h1{font-size:2rem}.page-centered{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;box-sizing:border-box}.primary-button{background-color:#0057b8;color:#fff;border:none;border-radius:999px;padding:18px 32px;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #0057b838}.primary-button:hover{background-color:#0046a1}.primary-button:active{transform:translateY(1px)}.language-selection{padding:20px}.language-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:16px}.lang-button{border:none;border-radius:999px;color:#fff;padding:14px 24px;font-size:.95rem;font-weight:700;cursor:pointer;min-width:110px;transition:transform .15s ease,opacity .15s ease}.lang-button:hover{transform:translateY(-1px);opacity:.95}.lang-english{background-color:#0046b8}.lang-hindi{background-color:#1f8a3f}.lang-kannada{background-color:#63b3ed}.assessment-page{max-width:600px;width:100%;padding:24px 20px 40px;margin:0 auto;box-sizing:border-box}.assessment-header{margin-bottom:30px}.assessment-header h2{font-size:2rem;margin-bottom:10px;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.4)}.stage-indicator{color:#e2e8f0;font-size:.9rem;margin:5px 0;text-shadow:0 1px 4px rgba(0,0,0,.4)}.question-section{background:#fff;padding:30px;border-radius:12px;margin-bottom:30px;box-shadow:0 2px 8px #0000001a}.current-question{font-size:1.3rem;margin:0;line-height:1.6;color:#1a202c}.microphone-section{text-align:center;margin:30px 0}.mic-button{background-color:#e53e3e;color:#fff;border:none;border-radius:50%;width:120px;height:120px;font-size:2rem;cursor:pointer;transition:all .2s ease;box-shadow:0 8px 20px #e53e3e4d;display:inline-flex;align-items:center;justify-content:center}.mic-button:hover:not(:disabled){background-color:#c53030;transform:scale(1.05)}.mic-button:disabled{background-color:#cbd5e0;cursor:not-allowed}.mic-button.listening{background-color:#2f855a;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{box-shadow:0 8px 20px #2f855a4d}50%{box-shadow:0 8px 30px #2f855a99}}.processing{color:#666;font-size:.9rem;margin-top:10px;font-style:italic}.transcript-section{background:#f7fafc;padding:20px;border-radius:8px;margin:20px 0;border-left:4px solid #0057b8}.transcript-section h4{margin-top:0;color:#0057b8}.transcript-text{margin:0;font-size:1rem;line-height:1.6;color:#2d3748}.extracted-section{background:#edf2f7;padding:20px;border-radius:8px;margin:20px 0;border-left:4px solid #2f855a}.extracted-section h4{margin-top:0;color:#2f855a}.extracted-section pre{margin:0;overflow-x:auto;font-size:.85rem}.actions{text-align:center;margin-top:30px}.next-button{background-color:#0057b8;color:#fff;border:none;border-radius:999px;padding:14px 32px;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #0057b833;transition:all .2s ease}.next-button:hover:not(:disabled){background-color:#0046a1;transform:translateY(-2px)}.next-button:disabled{background-color:#cbd5e0;cursor:not-allowed}.completion-section{text-align:center;padding:40px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.summary{background:#f7fafc;padding:20px;border-radius:8px;margin:20px 0;text-align:left}.summary pre{overflow-x:auto;font-size:.85rem;max-height:300px;overflow-y:auto}.error-message{background-color:#fed7d7;color:#c53030;padding:12px;border-radius:6px;margin-bottom:20px;border-left:4px solid #c53030}.follow-up-label{margin:0 0 8px;color:#0057b8;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.85rem}.answer-buttons{display:flex;gap:16px;justify-content:center;margin:24px 0}.answer-button{border:none;border-radius:999px;padding:14px 36px;font-size:1rem;font-weight:700;cursor:pointer;min-width:120px}.yes-button{background-color:#2f855a;color:#fff}.no-button{background-color:#c53030;color:#fff}.answer-button:disabled{opacity:.6;cursor:not-allowed}.differentials-section{background:#f7fafc;padding:20px;border-radius:8px;margin:20px 0;text-align:left}.differentials-list{list-style:none;padding:0;margin:0}.differentials-list li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e2e8f0}.differentials-list li:last-child{border-bottom:none}.question-meta{margin-top:12px;color:#4a5568;font-size:.95rem}.doctor-review{padding:16px;box-sizing:border-box}.doctor-review__panel{background:#fffffff5;border-radius:16px;padding:28px 32px 36px;margin:0 auto;max-width:1180px;width:100%;box-shadow:0 8px 32px #0f172a2e;box-sizing:border-box}.doctor-review__header{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e2e8f0}.doctor-review__back{color:#2563eb;text-decoration:none;font-weight:600;font-size:.9rem}.doctor-review__back:hover{text-decoration:underline}.doctor-review__header h1{margin:12px 0 4px;font-size:1.75rem;color:#0f172a}.doctor-review__identity{display:flex;flex-wrap:wrap;gap:8px 28px;margin:8px 0 0;color:#334155;font-size:1rem;font-weight:600}.doctor-review__identity span{color:inherit;font-size:inherit;font-weight:inherit;line-height:1.4}.doctor-review__section{margin-bottom:28px;padding-bottom:24px;border-bottom:1px solid #e2e8f0}.doctor-review__section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.doctor-review__section-title{margin:0 0 16px;font-size:1.1rem;font-weight:700;color:#0f172a;letter-spacing:.01em}.doctor-review__hint{margin:-8px 0 16px;color:#64748b;font-size:.9rem}.doctor-review__empty,.doctor-review__error{color:#64748b}.doctor-review__success{color:#047857;font-weight:600;margin-top:16px}.patient-summary__hero{display:flex;flex-wrap:wrap;align-items:baseline;gap:16px 24px;margin-bottom:20px}.patient-summary__age{font-size:2.5rem;font-weight:800;color:#0f172a;line-height:1}.patient-summary__complaint{font-size:1.5rem;font-weight:700;color:#1e293b;text-transform:capitalize}.patient-summary__duration{font-size:1.1rem;color:#475569;font-weight:600}.patient-summary__background,.patient-summary__alcohol,.patient-summary__diabetes,.patient-summary__smoking,.patient-summary__pain,.patient-summary__fever{margin-top:20px}.doctor-review__section>.patient-summary__fever:first-child,.doctor-review__section>.patient-summary__pain:first-child,.doctor-review__section>.patient-summary__smoking:first-child,.doctor-review__section>.patient-summary__alcohol:first-child,.doctor-review__section>.patient-summary__diabetes:first-child{margin-top:0}.reasoning-detail--embedded{margin-top:20px;padding-top:8px}.patient-summary__pain-list{display:flex;flex-direction:column;gap:14px;list-style:none;margin:0;padding:0}.patient-summary__pain-item{margin:0}.patient-summary__pain-detail{margin:2px 0 0;color:#334155}.patient-summary__alcohol-question,.patient-summary__diabetes-question,.patient-summary__smoking-question{margin:0 0 4px;color:#334155}.patient-summary__background .patient-summary__symptoms-label{margin-top:14px}.patient-summary__background .patient-summary__symptoms-label:first-child{margin-top:0}.patient-summary__background-answer,.patient-summary__alcohol-answer,.patient-summary__diabetes-answer,.patient-summary__smoking-answer,.patient-summary__pain-answer,.patient-summary__fever-answer{margin:0;font-weight:700;color:#0f172a}.patient-summary__alcohol-note,.patient-summary__diabetes-note,.patient-summary__smoking-note{margin:8px 0 0;color:#475569;font-size:.92rem;max-width:42rem}.patient-summary__symptoms-label{margin:0 0 10px;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.symptom-chip-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}.symptom-chip{background:#f1f5f9;color:#334155;border:1px solid #e2e8f0;border-radius:999px;padding:6px 14px;font-size:.9rem;font-weight:500}.differential-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}@media (max-width: 768px){.differential-grid{grid-template-columns:1fr}.doctor-review__panel{padding:20px 16px 28px}}.differential-card{border:2px solid transparent;border-radius:14px;padding:20px 18px;text-align:left;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 2px 8px #0f172a0f}.differential-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a1a}.differential-card--selected{box-shadow:0 8px 24px #0f172a24;transform:translateY(-2px)}.differential-card__name{font-size:1.05rem;font-weight:700;color:#0f172a;margin-bottom:6px}.differential-card__pct{font-size:1.75rem;font-weight:800;line-height:1.1;margin-bottom:10px}.differential-card__bar-track{height:8px;background:#ffffffb3;border-radius:999px;overflow:hidden;margin-bottom:8px}.differential-card__bar-fill{height:100%;border-radius:999px;transition:width .3s ease}.differential-card__label{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.reasoning-detail{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:24px}.reasoning-detail--placeholder{text-align:center;padding:32px 24px}.reasoning-detail__block{margin-bottom:20px}.reasoning-detail__block:last-child{margin-bottom:0}.reasoning-detail__heading{margin:0 0 10px;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.reasoning-detail__heading--for{color:#047857}.reasoning-detail__heading--against{color:#b91c1c}.reasoning-detail__heading--questions{color:#1d4ed8}.reasoning-detail__list{list-style:none;padding:0;margin:0}.reasoning-detail__list li{display:flex;align-items:flex-start;gap:8px;margin-bottom:6px;color:#334155;text-transform:capitalize}.reasoning-detail__icon{flex-shrink:0;font-weight:700}.reasoning-detail__empty{margin:0;color:#94a3b8;font-style:italic}.reasoning-detail__checkbox-list{list-style:none;padding:0;margin:0}.reasoning-detail__checkbox{display:flex;align-items:center;gap:10px;padding:8px 0;color:#334155;cursor:default}.reasoning-detail__checkbox input{width:16px;height:16px;accent-color:#2563eb}.feedback-form{margin-top:8px}.feedback-form__decisions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.feedback-form__choice{display:flex;align-items:center;gap:8px;padding:12px 18px;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;font-weight:600;color:#475569;background:#fff;transition:border-color .15s,background .15s}.feedback-form__choice input{display:none}.feedback-form__choice--active.feedback-form__choice--accept{border-color:#059669;background:#ecfdf5;color:#047857}.feedback-form__choice--active.feedback-form__choice--reject{border-color:#dc2626;background:#fef2f2;color:#b91c1c}.feedback-form__field{margin-bottom:18px}.feedback-form__field label{display:block;margin-bottom:8px;font-weight:600;color:#334155;font-size:.9rem}.feedback-form__field input[type=text]{width:100%;max-width:420px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;box-sizing:border-box}.feedback-form__comments-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.feedback-form__mic{background:#2563eb;color:#fff;border:none;border-radius:999px;padding:12px 20px;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .15s}.feedback-form__mic:hover:not(:disabled){background:#1d4ed8}.feedback-form__mic:disabled{background:#94a3b8;cursor:not-allowed}.feedback-form__mic--listening{background:#dc2626;animation:pulse 1.5s infinite}.feedback-form__clear{background:transparent;border:1px solid #cbd5e1;border-radius:999px;padding:10px 16px;cursor:pointer;color:#64748b;font-weight:600}.feedback-form__transcript{margin:12px 0 0;padding:12px 14px;background:#f1f5f9;border-left:4px solid #2563eb;border-radius:6px;color:#334155;line-height:1.5}.feedback-form__error{margin:8px 0 0;color:#dc2626;font-size:.9rem}.feedback-form__submit{background:#0f172a;color:#fff;border:none;border-radius:999px;padding:14px 28px;font-size:1rem;font-weight:700;cursor:pointer;margin-top:8px}.feedback-form__submit:hover:not(:disabled){background:#1e293b}.feedback-form__submit:disabled{background:#94a3b8;cursor:not-allowed}.worst-case{background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;padding:20px 20px 8px}.worst-case__notice{margin:0 0 16px;color:#92400e;font-weight:600}.worst-case__subtitle{margin:16px 0 8px;font-size:.95rem;color:#78350f}.worst-case__disease{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.worst-case__findings{list-style:none;margin:0;padding:0}.worst-case__findings li{display:flex;flex-wrap:wrap;gap:8px 14px;padding:10px 0;border-bottom:1px solid #fde68a}.worst-case__name{font-weight:700;color:#0f172a}.worst-case__meta{color:#57534e;font-size:.9rem}.worst-case__question{margin:0 0 6px;color:#0f172a}.worst-case__actions{display:flex;gap:8px;margin:10px 0 16px}.worst-case__actions button{background:#fff;border:1px solid #d97706;color:#92400e;border-radius:999px;padding:8px 14px;font-weight:700;cursor:pointer}.worst-case__actions button:disabled{opacity:.6;cursor:not-allowed}
