*{box-sizing:border-box}body{margin:0}.app{max-width:820px;margin:auto}header{justify-content:space-between;align-items:center;padding:24px 18px 12px;display:flex}h1{color:#166534;margin:0;font-size:clamp(1.6rem,5vw,2.2rem)}header p{color:#55705d;margin:3px 0}select,button{font:inherit}select{background:#fff;border:1px solid #b8cbb9;border-radius:10px;padding:10px}.card{background:#fff;border-radius:18px;margin:14px;padding:24px;box-shadow:0 4px 18px #16332412}h2{margin-top:0}.grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.choice{color:#166534;cursor:pointer;background:#fbfefb;border:2px solid #d8e8d7;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:130px;font-size:2.5rem;display:flex}.choice span{color:#163324;font-size:1.05rem}.symptoms{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px;display:grid}.symptom{text-align:left;cursor:pointer;background:#fff;border:1px solid #d5e1d5;border-radius:12px;padding:16px}.symptom span{color:#166534;margin-right:8px;font-size:1.3rem}.symptom small{color:#67806a;margin-left:28px;display:block}.selected{background:#eaf5e8;border:3px solid #166534}.voice{background:#f2faf0;border:1px solid #aac6ad;border-radius:10px;padding:12px 16px}.actions{justify-content:space-between;margin-top:24px;display:flex}.actions button,.restart{cursor:pointer;border:0;border-radius:10px;padding:12px 18px}.primary{color:#fff;background:#166534;font-weight:700}.primary:disabled{opacity:.5}.question{border-top:1px solid #e4ece4;padding:12px 0 18px}.question h3{margin:5px 0 14px}.question strong{margin:10px 0 7px;display:block}.pills{flex-wrap:wrap;gap:8px;display:flex}.pills button{background:#fff;border:1px solid #cbd9ca;border-radius:9px;padding:11px 12px}.pills .active{background:#d9f0d5;border-color:#27803a}.pills .severe.active{background:#ffdede;border-color:#b91c1c}.result.emergency .card:first-child{background:#fff5f5;border:5px solid #c62828}.result.soon .card:first-child{background:#fffaf0;border:5px solid #d28b00}.result.safe .card:first-child{border:5px solid #2d7d46}.badge{letter-spacing:.05em;font-weight:800}.emergency .badge{color:#b91c1c;font-size:1.35rem}.reasons{color:#991b1b;background:#fee2e2;border-radius:10px;padding:8px 14px}.disclaimer{color:#654f11;background:#fff4cf;border-radius:10px;margin:8px 14px 24px;padding:18px;font-size:.85rem;line-height:1.4}.restart{color:#165b2c;background:#dcebdd;margin:18px auto;display:block}.header-actions{align-items:center;gap:10px;display:flex}.text-button{color:#166534;cursor:pointer;background:0 0;border:0;padding:8px;font-weight:700}.about{line-height:1.6}.about h3{color:#166534;margin-top:24px}.about li{margin:8px 0}.source-note,.model-note{color:#334155;background:#f1f5f9;border-left:4px solid #64748b;padding:12px;font-size:.85rem}.error{color:#991b1b;background:#fee2e2;border-radius:10px;margin:0 14px 14px;padding:12px 16px}.error button{float:right;color:inherit;cursor:pointer;background:0 0;border:0;font-size:1.2rem}@media (width<=520px){.grid,.symptoms{grid-template-columns:1fr}header{align-items:flex-start;gap:10px}.header-actions{flex-direction:column;align-items:flex-start}.card{padding:18px}}.possible-causes{background:#f0f7ee;border-left:4px solid #4d8d55;border-radius:10px;margin:18px 0;padding:12px 14px}.possible-causes h3{color:#166534;margin-top:0}.possible-causes p{color:#536b58;font-size:.85rem}header{border-bottom:1px solid #dbe5dd}.choice{letter-spacing:.01em;min-height:112px;font-size:1.15rem;font-weight:700}.choice small{color:#6b7c70;margin-top:2px;font-size:.78rem;font-weight:500}.choice:hover,.symptom:hover{border-color:#166534;box-shadow:0 2px 8px #16653418}.voice{color:#166534;font-weight:600}.symptom{align-items:flex-start;gap:10px;display:flex}.symptom small{margin-left:0}.symptom-marker{border:2px solid #6c8871;border-radius:50%;flex:none;width:10px;height:10px;margin-top:5px}.badge{font-size:.82rem}.reasons p{margin:8px 0}.primary{min-height:44px}.text-button:focus-visible,button:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #93c5a0}.condition-panel{background:#f8fbf8;border:1px solid #dbe5dd;border-radius:12px;margin-top:22px;padding:16px}.condition-panel h3{color:#166534;margin-top:0}.condition{color:#304a37;margin:10px 0;display:block}.condition input{vertical-align:middle;width:18px;height:18px;margin-right:10px}.map-link{color:#166534;font-weight:700}:root{color:#17324d;background:#eef7f8;font-family:Nunito,ui-rounded,system-ui,sans-serif}body{background:linear-gradient(#e9f7f8 0,#f8fbfa 42%,#f4f8f2 100%)}.app{max-width:900px}header{border-bottom:0;padding:28px 20px 18px}header:after{content:"";background:linear-gradient(90deg,#27a9a1,#f5c85b,#f28b72);height:6px;position:absolute;top:0;left:0;right:0}header h1{color:#176b78;letter-spacing:-.02em;font-size:clamp(1.7rem,5vw,2.35rem)}header p{color:#547182}.card{border:1px solid #d7e9e7;border-radius:24px;padding:28px;box-shadow:0 8px 24px #1e6a7812}.card h2{color:#194d67}.grid{gap:18px}.choice{color:#194d67;background:#fff;border:2px solid #cce6e4;border-radius:22px;min-height:140px;transition:transform .15s,box-shadow .15s;position:relative;overflow:hidden;box-shadow:0 5px #d8eceb}.choice:before{content:"";background:#dff4f1;border-radius:50%;width:68px;height:68px;position:absolute;top:-18px;right:-14px}.choice:after{content:"";background:#f5c85b;border-radius:50%;width:26px;height:26px;position:absolute;top:28px;right:26px}.choice:nth-child(2):before{background:#fff0d5}.choice:nth-child(2):after{background:#f28b72}.choice:nth-child(3):before{background:#e6edff}.choice:nth-child(3):after{background:#7896df}.choice:nth-child(4):before{background:#e9e2fb}.choice:nth-child(4):after{background:#a284d9}.choice span,.choice small{z-index:1;position:relative}.choice span{font-size:1.15rem}.choice:hover{transform:translateY(-3px);box-shadow:0 8px #cce4e2}.symptoms{gap:12px}.symptom{color:#244c63;background:#fff;border:2px solid #d6e8e7;border-radius:16px;min-height:72px;box-shadow:0 3px #e0eeee}.symptom.selected{background:#eefaf8;border-color:#249b96;box-shadow:0 3px #bfe4df}.symptom-marker{border-color:#54a8a2}.symptom.selected .symptom-marker{background:#249b96;border-color:#249b96}.voice,.primary,.restart{border-radius:13px}.voice{color:#28688a;background:#eef8ff;border-color:#bad9ee}.pills button{color:#31576a;border:2px solid #d6e7e5;border-radius:12px}.pills .active{color:#175d61;background:#daf3ee;border-color:#249b96}.condition-panel{background:#f5fbfb;border-color:#cfe7e4;border-radius:16px}.disclaimer{color:#69561b;background:#fff8df;border:1px solid #f0d68b;border-radius:14px}.badge{color:#176b78;background:#e7f4f2;border-radius:999px;padding:7px 11px;display:inline-block}.emergency .badge{color:#a2261e;background:#fee1df}.result.emergency .card:first-child,.result.soon .card:first-child,.result.safe .card:first-child{border-radius:24px}.about{background:#fff}.error{border-radius:14px}@media (width<=520px){header{padding:24px 16px 14px}.card{border-radius:20px;padding:20px}.choice{min-height:118px}}
