:root{color:#1f2230;-webkit-text-size-adjust:100%;background:#f5f6fa;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic UI,Meiryo,system-ui,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100vh;margin:0;padding:0}a{color:#2a6ed0;text-decoration:none}a:hover{text-decoration:underline}button{font:inherit;color:inherit;cursor:pointer}.app-shell{max-width:720px;margin:0 auto;padding:0 16px 64px}.app-header{background:#fff;border-bottom:1px solid #e3e5ec;justify-content:space-between;align-items:baseline;padding:14px 16px;display:flex}.app-header h1{letter-spacing:.02em;margin:0;font-size:18px;font-weight:700}.app-header .meta{color:#6b6f80;font-size:12px}.app-footer{color:#6b6f80;text-align:center;border-top:1px solid #e3e5ec;margin-top:32px;padding:16px 0;font-size:12px}.disease-tabs{gap:6px;padding:12px 0;display:flex;overflow-x:auto}.disease-tabs button{background:#fff;border:1px solid #d8dae4;border-radius:999px;flex:none;padding:6px 14px;font-size:13px}.disease-tabs button.active{color:#fff;background:#2a6ed0;border-color:#2a6ed0}.legend{color:#555a6e;flex-wrap:wrap;gap:12px;padding:8px 0 4px;font-size:12px;display:flex}.legend-item{align-items:center;gap:6px;display:inline-flex}.legend-swatch{border:1px solid #d2d4de;border-radius:3px;width:14px;height:14px}.pref-card{color:inherit;background:#fff;border:1px solid #e3e5ec;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:12px 14px;text-decoration:none;display:flex}.pref-card:hover{border-color:#2a6ed0;text-decoration:none}.pref-card .left{align-items:center;gap:10px;display:flex}.pref-card .swatch{border:1px solid #d2d4de;border-radius:5px;width:20px;height:20px}.pref-card .pref-name{font-weight:600}.pref-card .pref-stats{color:#6b6f80;font-size:12px}.pref-card .level-label{color:#444a5e;background:#f0f1f5;border-radius:999px;padding:2px 8px;font-size:13px;font-weight:600}.disease-detail-block{background:#fff;border:1px solid #e3e5ec;border-radius:10px;margin:12px 0;padding:14px 16px}.disease-detail-block h2{margin:0 0 6px;font-size:16px}.disease-detail-block p{margin:0 0 8px;font-size:14px}.tips-list{margin:0;padding:0;list-style:none}.tips-list li{border-top:1px solid #eef0f5;padding:10px 0}.tips-list li:first-child{border-top:none}.tips-list .source-badge{color:#2a6ed0;background:#eef2fb;border-radius:999px;margin-right:6px;padding:1px 8px;font-size:11px;display:inline-block}.notice{color:#6b5800;background:#fffbe6;border:1px solid #f5e7a8;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:13px}.back-link{margin:12px 0;font-size:14px;display:inline-block}.chip-row{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.chip{color:#1f2230;border:1px solid #0000000f;border-radius:999px;padding:2px 9px;font-size:11px;line-height:1.6;display:inline-block}.chip-link{color:#2a6ed0;background:#fff;border-color:#d8dae4;padding:4px 12px;font-size:12px;text-decoration:none}.chip-link:hover{background:#eef2fb;text-decoration:none}.calm-badge{color:#3d6c43;background:#eef5ee;border:1px solid #c8e0c8;border-radius:999px;margin-top:2px;padding:2px 8px;font-size:11px;display:inline-block}.hc-grid-wrap{margin:10px 0 8px}.hc-grid-title{color:#6b6f80;margin-bottom:4px;font-size:12px}.hc-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:4px;display:grid}.hc-tile{color:#1f2230;text-align:center;border:1px solid #0000000f;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;min-height:44px;padding:6px 4px;display:flex}.hc-tile-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px;font-weight:600;line-height:1.1;overflow:hidden}.hc-tile-value{margin-top:2px;font-size:13px;font-weight:700}.share-btn{color:#2a6ed0;background:#fff;border:1px solid #d8dae4;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-flex}.share-btn:hover{background:#eef2fb}.share-btn:before{content:"↗";font-size:14px;line-height:1}.favorite-section{background:#fff;border:1px solid #e3e5ec;border-radius:10px;margin:16px 0 4px;padding:12px 14px}.favorite-section-setup{background:#f7f9fd;border-color:#d8e0f0}.favorite-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.favorite-label{color:#2a6ed0;letter-spacing:.04em;font-size:12px;font-weight:700}.favorite-clear{color:#6b6f80;background:0 0;border:none;padding:2px 4px;font-size:12px}.favorite-clear:hover{color:#1f2230;text-decoration:underline}.favorite-controls{flex-wrap:wrap;gap:8px;display:flex}.favorite-select{background:#fff;border:1px solid #d8dae4;border-radius:8px;flex:160px;min-width:0;padding:8px 10px;font-size:14px}.favorite-detect{color:#2a6ed0;background:#fff;border:1px solid #2a6ed0;border-radius:8px;flex:none;padding:8px 14px;font-size:13px;font-weight:600}.favorite-detect:hover:not(:disabled){background:#eef2fb}.favorite-detect:disabled{opacity:.6;cursor:not-allowed}.age-tabs{flex-wrap:wrap;gap:4px;margin:8px 0 10px;display:flex}.age-tab{color:#555a6e;background:#fff;border:1px solid #d8dae4;border-radius:999px;padding:4px 12px;font-size:12px}.age-tab.active{color:#fff;background:#2a6ed0;border-color:#2a6ed0}.age-tab:disabled{opacity:.5;cursor:not-allowed}.age-bar-list{flex-direction:column;gap:4px;margin-top:4px;display:flex}.age-bar-row{grid-template-columns:64px 1fr 36px;align-items:center;gap:8px;font-size:12px;display:grid}.age-bar-label{color:#555a6e;text-align:right;font-size:11px}.age-bar-track{background:#eef0f5;border-radius:4px;height:14px;overflow:hidden}.age-bar-fill{background:linear-gradient(90deg,#4f8be5,#2a6ed0);border-radius:4px;height:100%}.age-bar-value{color:#1f2230;text-align:right;font-size:12px;font-weight:600}.news-section{background:#f7f9fd;border:1px solid #d8e0f0;border-radius:10px;margin:12px 0;padding:12px 14px}.news-title{color:#2a4674;margin:0 0 6px;font-size:13px}.news-list{margin:0;padding:0;list-style:none}.news-list li{border-top:1px solid #d8e0f0;padding:6px 0;font-size:13px}.news-list li:first-child{border-top:none}.news-body{color:#6b6f80;margin:2px 0 0;font-size:11px;line-height:1.4}
