*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic,sans-serif;background:#f4f6fa;color:#1a1a2e;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#1a1a2e;color:#fff;padding:16px 24px}.app-header h1{font-size:20px;font-weight:700}.app-subtitle{font-size:12px;color:#aab;margin-top:4px}.tab-nav{display:flex;flex-wrap:wrap;gap:2px;background:#fff;border-bottom:2px solid #e0e4ef;padding:0 16px}.tab-btn{padding:10px 16px;border:none;background:transparent;color:#555;cursor:pointer;font-size:13px;border-bottom:3px solid transparent;transition:all .15s;white-space:nowrap}.tab-btn:hover{color:#4f86c6;background:#f0f4ff}.tab-btn.active{color:#4f86c6;border-bottom-color:#4f86c6;font-weight:600}.tab-section{display:flex;align-items:center;gap:2px}.tab-section-label{font-size:10px;font-weight:700;color:#999;text-transform:uppercase;padding:0 8px 0 12px;letter-spacing:.5px;border-left:2px solid #e0e4ef}.tab-section:first-child .tab-section-label{border-left:none;padding-left:0}.tag-cloud{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-block;padding:4px 10px;background:#f0f4ff;border:1px solid #d0daf0;border-radius:12px;font-size:12px;color:#333}.heatmap-table td,.heatmap-table th{padding:4px 8px;font-size:12px}.heatmap-table .drug-name{white-space:nowrap;font-size:12px}.filter-row{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.search-input{padding:6px 12px;border:1px solid #d0d5e0;border-radius:4px;font-size:13px;width:200px}.filter-select{padding:6px 12px;border:1px solid #d0d5e0;border-radius:4px;font-size:13px;background:#fff}.result-count{font-size:12px;color:#888}.table-scroll{overflow-x:auto;margin-bottom:16px}.selected-row{background:#f0f4ff!important}.small-text{font-size:11px;color:#666}.hint{font-size:12px;color:#888;margin-top:8px;font-style:italic}.tab-content{flex:1;overflow:auto}.tab-panel{padding:24px;max-width:1200px;margin:0 auto}.tab-panel h2{font-size:22px;font-weight:700;margin-bottom:8px;color:#1a1a2e}.desc{color:#666;margin-bottom:20px;font-size:13px}.note{color:#888;font-size:12px;margin-bottom:8px;font-style:italic}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:24px}.kpi-card{background:#fff;border-radius:10px;padding:16px;text-align:center;box-shadow:0 1px 4px #00000014;border-left:4px solid #4f86c6}.kpi-card.kpi-green{border-left-color:#7ed321}.kpi-card.kpi-yellow{border-left-color:#f5a623}.kpi-card.kpi-red{border-left-color:#d0021b}.kpi-value{font-size:28px;font-weight:800;color:#1a1a2e;line-height:1.2}.kpi-label{font-size:11px;color:#777;margin-top:4px}.section{background:#fff;border-radius:10px;padding:20px;margin-bottom:20px;box-shadow:0 1px 4px #0000000f}.section h3{font-size:16px;font-weight:600;margin-bottom:16px;color:#2c3e50}.chart-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.chart-half{min-width:0}.chart-half h3{font-size:14px;font-weight:600;margin-bottom:12px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{background:#f0f4ff;padding:8px 12px;text-align:left;font-weight:600;border-bottom:2px solid #d8e0f0;white-space:nowrap}.data-table td{padding:7px 12px;border-bottom:1px solid #eef;vertical-align:middle}.data-table tr:hover td{background:#f8f9ff}.data-table .highlight-row td{background:#fff3f3}.drug-name{font-weight:600}.score-cell{font-weight:700;color:#4f86c6}.text-green{color:#7ed321}.text-orange{color:#f5a623}.text-red{color:#d0021b}.bold{font-weight:700}.progress-bar-wrap{display:flex;align-items:center;gap:6px;min-width:120px}.progress-bar{height:8px;background:#4f86c6;border-radius:4px;flex-shrink:0;transition:width .3s}.subtopic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.subtopic-card{background:#f8f9ff;border-radius:8px;padding:12px;border:1px solid #e0e4ef}.subtopic-card h4{font-size:13px;font-weight:600;margin-bottom:8px;color:#4f86c6}.subtopic-card ol{padding-left:18px;font-size:12px}.subtopic-card li{margin-bottom:4px}.count{color:#888;font-size:11px}.theme-selector{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.theme-btn{padding:6px 14px;border-radius:20px;border:1.5px solid #d0d8f0;background:#fff;color:#555;cursor:pointer;font-size:13px;transition:all .15s}.theme-btn:hover{border-color:#4f86c6;color:#4f86c6}.theme-btn.active{background:#4f86c6;color:#fff;border-color:#4f86c6}.total-hits{font-size:12px;font-weight:400;color:#888;margin-left:8px}.rank-badge{display:inline-block;width:20px;height:20px;border-radius:50%;color:#fff;font-size:10px;text-align:center;line-height:20px;margin-right:6px}.view-toggle{display:flex;gap:8px;margin-bottom:16px}.view-toggle button{padding:6px 16px;border-radius:6px;border:1.5px solid #d0d8f0;background:#fff;cursor:pointer;font-size:13px;transition:all .15s}.view-toggle button.active{background:#1a1a2e;color:#fff;border-color:#1a1a2e}.search-bar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.search-input{flex:1;max-width:400px;padding:8px 12px;border:1.5px solid #d0d8f0;border-radius:6px;font-size:13px}.search-count{font-size:12px;color:#888}.phrase-list{display:flex;flex-direction:column;gap:4px}.phrase-row{display:grid;grid-template-columns:32px 1fr 80px 150px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f0f4ff}.phrase-rank{font-weight:700;color:#888;text-align:right;font-size:12px}.phrase-text{font-size:13px}.phrase-count{text-align:right;font-size:13px;font-weight:600;color:#4f86c6}.phrase-bar{height:6px;background:#eef;border-radius:3px;overflow:hidden}.phrase-bar-fill{height:100%;background:#4f86c6;border-radius:3px;transition:width .3s}.filter-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#fff;padding:12px 16px;border-radius:8px;margin-bottom:16px;box-shadow:0 1px 4px #0000000f}.filter-input,.filter-select{padding:7px 10px;border:1.5px solid #d0d8f0;border-radius:6px;font-size:13px;background:#fff}.filter-input{width:180px}.filter-select{min-width:130px}.filter-checkbox{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}.filter-count{font-size:12px;color:#888;margin-left:4px}.scenario-list{display:flex;flex-direction:column;gap:8px}.scenario-card{background:#fff;border-radius:8px;border:1.5px solid #e0e4ef;overflow:hidden;transition:box-shadow .15s}.scenario-card:hover{box-shadow:0 2px 8px #0000001a}.scenario-card.has-misconception{border-left:4px solid #f5a623}.scenario-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;cursor:pointer;background:#fafbff}.scenario-meta{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.scenario-info{font-size:12px;color:#888;white-space:nowrap;display:flex;align-items:center;gap:8px}.expand-icon{font-size:10px;color:#aaa}.drug-badge{background:#1a1a2e;color:#fff;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600}.category-badge{background:#e8f0ff;color:#4f86c6;padding:2px 8px;border-radius:12px;font-size:11px}.theme-badge{background:#f0f8e8;color:#5a8a00;padding:2px 8px;border-radius:12px;font-size:11px}.misconception-badge{background:#fff3e0;color:#e65100;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600}.consensus-badge{color:#fff;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600}.scenario-concern{padding:8px 14px;font-size:12px;color:#555;border-top:1px solid #f0f4ff}.scenario-detail{padding:14px;border-top:1px solid #e8f0f0;background:#f8fdff}.detail-section{margin-bottom:12px}.detail-section strong{display:block;font-size:12px;color:#888;margin-bottom:4px}.detail-section p{font-size:13px;white-space:pre-wrap}.source-link{display:inline-block;color:#4f86c6;font-size:12px;text-decoration:none;margin-top:8px}.source-link:hover{text-decoration:underline}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:20px 0}.pagination button{padding:6px 12px;border:1.5px solid #d0d8f0;border-radius:6px;background:#fff;cursor:pointer;font-size:14px}.pagination button:disabled{opacity:.4;cursor:default}.pagination button:not(:disabled):hover{background:#f0f4ff}.page-info{font-size:13px;color:#555}.generated-at{font-size:11px;color:#aaa;margin-top:16px}.home-page{min-height:100vh;background:#f4f6fa}.home-header{background:#1a1a2e;color:#fff;padding:32px 24px}.home-header-inner{max-width:960px;margin:0 auto;display:flex;align-items:center;gap:16px}.home-logo{width:48px;height:48px;background:#4f86c6;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;letter-spacing:1px;flex-shrink:0}.home-title{font-size:24px;font-weight:700}.home-subtitle{font-size:13px;color:#aab;margin-top:4px}.home-main{max-width:960px;margin:40px auto;padding:0 24px}.home-section-title{font-size:14px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:16px}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.tool-card{background:#fff;border-radius:12px;border:1.5px solid #e0e4ef;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}.tool-card--ready{cursor:pointer}.tool-card--ready:hover{box-shadow:0 4px 16px #4f86c626;transform:translateY(-2px);border-color:#4f86c6}.tool-card--placeholder,.tool-card--coming-soon{border-style:dashed;background:#fafbff;cursor:default}.tool-card-body{padding:20px;flex:1}.tool-badge{display:inline-block;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600;margin-bottom:12px}.tool-badge--ready{background:#e6f4ea;color:#2e7d32}.tool-coming-soon{display:inline-block;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600;margin-bottom:12px;background:#f5f5f5;color:#999}.tool-title{font-size:17px;font-weight:700;color:#1a1a2e;margin-bottom:8px}.tool-description{font-size:13px;color:#555;line-height:1.6}.tool-stats{font-size:12px;color:#4f86c6;font-weight:600;margin-top:12px}.tool-card-footer{padding:12px 20px;border-top:1px solid #e8eef8;background:#f8faff}.tool-link{font-size:13px;color:#4f86c6;font-weight:600}@media(max-width:600px){.tool-grid{grid-template-columns:1fr}.home-header{padding:24px 16px}.home-main{margin:24px auto;padding:0 16px}}.loading,.error{display:flex;align-items:center;justify-content:center;min-height:200px;font-size:16px;color:#888}.error{color:#d0021b}.action-card{border-left:4px solid #ccc;background:#fff;border-radius:8px;margin-bottom:12px;box-shadow:0 1px 3px #00000014;overflow:hidden}.action-card-header{padding:14px 18px}.action-card-header:hover{background:#fafafa}.action-card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.action-rank{font-size:13px;color:#888;font-weight:600;min-width:28px}.urgency-badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px}.score-badge{font-weight:700;font-size:13px}.action-card-summary{font-size:13px;color:#555;margin-top:4px}.action-type-badge{display:inline-block;background:#e8f4fd;color:#2980b9;font-size:11px;font-weight:600;padding:1px 8px;border-radius:8px;margin-right:6px}.action-card-detail{padding:0 18px 18px;border-top:1px solid #eee}.evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:12px 0}.evidence-item{background:#f8f9fa;border-radius:6px;padding:10px 14px}.evidence-label{font-size:11px;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.5px}.evidence-value{font-size:13px;margin-top:4px}.evidence-examples{margin:6px 0 0 16px;font-size:12px;color:#555}.evidence-examples li{margin-bottom:3px}.why-section{background:#fefce8;border-radius:6px;padding:12px 14px;margin:12px 0}.why-section h4{font-size:13px;color:#92400e;margin-bottom:4px}.why-section p{font-size:13px;line-height:1.6}.conflict-note{font-size:12px;color:#e67e22;padding:6px 0}.subtopic-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.subtopic-tag{background:#e8f4fd;color:#2980b9;font-size:11px;padding:2px 8px;border-radius:8px}.seasonal-tag{font-size:12px;color:#e67e22}.alert-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}.alert-card{background:#fff;border-radius:8px;padding:12px 16px;border-left:4px solid #f39c12;box-shadow:0 1px 3px #0000000f}.alert-card.seasonal{border-left-color:#2ecc71}.alert-card.spike{border-left-color:#e74c3c}.alert-badge{font-size:10px;font-weight:700;padding:1px 6px;border-radius:6px;margin-right:6px}.alert-badge.seasonal{background:#d5f5e3;color:#27ae60}.alert-badge.spike{background:#fde8e8;color:#c0392b}.alert-message{font-size:12px;color:#555;margin-top:4px}.guidance-cards-grid{display:flex;flex-direction:column;gap:12px}.guidance-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014;overflow:hidden}.guidance-card-header{padding:14px 18px}.guidance-card-header:hover{background:#fafafa}.guidance-card-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guidance-drug{font-size:15px}.guidance-card-metrics{display:flex;gap:12px;margin-top:6px;font-size:12px}.misconception-rate-badge{color:#e74c3c;font-weight:600}.consensus-badge{font-weight:600}.guidance-card-detail{padding:0 18px 18px;border-top:1px solid #eee}.outline-section{background:#f0fdf4;border-radius:6px;padding:12px 14px;margin:12px 0}.outline-section h4{font-size:14px;color:#166534;margin-bottom:8px}.outline-list{margin-left:18px;font-size:13px}.outline-list li{margin-bottom:4px}.misconception-section,.consensus-section,.scenarios-section,.subtopic-section{margin:12px 0}.misconception-section h4,.consensus-section h4,.scenarios-section h4,.subtopic-section h4{font-size:13px;color:#333;margin-bottom:6px}.source-tag{display:inline-block;font-size:10px;font-weight:700;padding:1px 6px;border-radius:6px;margin-bottom:4px}.source-tag.ad{background:#dbeafe;color:#1e40af}.source-tag.x{background:#f3e8ff;color:#7c3aed}.freq-badge{font-size:10px;margin-left:6px;color:#888}.scenario-mini{background:#f8f9fa;border-radius:6px;padding:8px 12px;margin-bottom:6px}.scenario-meta{font-size:11px;color:#666}.misconception-flag{color:#e74c3c;font-weight:600}.consensus-dot{margin-left:6px}.scenario-excerpt{font-size:12px;color:#444;margin-top:2px}.subtopic-bars{display:flex;flex-direction:column;gap:6px}.subtopic-bar-item{display:grid;grid-template-columns:120px 1fr 50px;align-items:center;gap:8px}.subtopic-name{font-size:12px;text-align:right}.subtopic-bar-bg{background:#e8e8e8;border-radius:4px;height:14px;overflow:hidden}.subtopic-bar-fill{background:#3498db;height:100%;border-radius:4px}.subtopic-pct{font-size:11px;color:#666}.misconception-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}.misconception-card{background:#fff;border-radius:8px;padding:12px 16px;border-left:3px solid #e74c3c;box-shadow:0 1px 3px #0000000f}.misconception-card-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.misconception-card p{font-size:12px;color:#444}.profile-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;padding:8px 0}.calendar-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.calendar-cell{background:#fff;border-radius:8px;padding:10px;text-align:center;box-shadow:0 1px 2px #0000000f}.calendar-cell.current-month{border:2px solid #e74c3c;background:#fef2f2}.calendar-month{font-weight:700;font-size:13px;margin-bottom:6px}.calendar-drugs{display:flex;flex-direction:column;gap:2px}.calendar-drug{font-size:10px;background:#e8f4fd;color:#2980b9;border-radius:4px;padding:1px 4px}.calendar-empty{color:#ccc;font-size:12px}.collapsible-panel{background:#fff;border-radius:8px;margin-bottom:10px;box-shadow:0 1px 3px #00000014;overflow:hidden}.collapsible-header{padding:14px 18px;display:flex;align-items:center;gap:10px}.collapsible-header:hover{background:#fafafa}.collapsible-arrow{font-size:10px;color:#888}.source-badge{font-size:11px;color:#888;margin-left:auto}.collapsible-body{padding:0 18px 18px;border-top:1px solid #eee}.source-panel .kpi-grid{margin-bottom:12px}@media(max-width:768px){.chart-row{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,1fr)}.phrase-row{grid-template-columns:28px 1fr 60px}.phrase-row .phrase-bar{display:none}.filter-input{width:100%}.evidence-grid,.alert-cards,.misconception-cards{grid-template-columns:1fr}.calendar-grid{grid-template-columns:repeat(3,1fr)}.subtopic-bar-item{grid-template-columns:80px 1fr 40px}.action-card-title{font-size:13px}}
