#kda-wrapper { box-sizing: border-box; border: 1px solid #FF7F11; border-radius: 8px; padding: 24px; background: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.05); max-width: 900px; margin: 0 auto; line-height: 1.5; color: #333; }
#kda-wrapper * { box-sizing: border-box; }
.kda-title { color: #2c3e50; font-size: 26px; text-align: center; margin-top: 0; margin-bottom: 24px; font-weight: 700; }
.kda-control-group { margin-bottom: 16px; }
#kda-input-text { width: 100%; height: 180px; padding: 14px; border: 1px solid #ccd0d5; border-radius: 6px; resize: vertical; font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
#kda-input-keyword { width: 100%; padding: 14px; border: 1px solid #ccd0d5; border-radius: 6px; font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
#kda-input-text:focus, #kda-input-keyword:focus { border-color: #FF7F11; outline: none; box-shadow: 0 0 0 4px rgba(255,127,17,0.15); }
.kda-button-group { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.kda-btn { padding: 14px 24px; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
.kda-btn-primary { background: #007bff; color: #fff; flex-grow: 1; min-width: 200px; }
.kda-btn-primary:hover { background: #0062cc; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,123,255,0.2); }
.kda-btn:not(.kda-btn-primary) { background: #f1f3f5; color: #495057; }
.kda-btn:not(.kda-btn-primary):hover { background: #e9ecef; color: #212529; }
.kda-hidden { display: none !important; }
.kda-summary { display: flex; flex-wrap: wrap; justify-content: space-around; background: #f8f9fa; padding: 24px 20px; border-radius: 8px; margin-bottom: 24px; border-left: 5px solid #FF7F11; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.kda-stat { text-align: center; margin: 10px; }
.kda-stat span { display: block; font-size: 32px; font-weight: 800; color: #212529; line-height: 1.2; margin-bottom: 4px; }
.kda-stat label { font-size: 13px; color: #6c757d; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.kda-warning { background: #fff3cd; color: #856404; padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; font-weight: 500; font-size: 15px; border: 1px solid #ffeeba; border-left: 4px solid #ffc107; }
.kda-tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-bottom: 24px; }
.kda-table-card, .kda-placement-card, .kda-highlight-card { border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.kda-table-card h3, .kda-placement-card h3, .kda-highlight-card h3 { margin-top: 0; font-size: 17px; color: #2c3e50; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f1f3f5; font-weight: 600; }
.kda-scroll-area { max-height: 280px; overflow-y: auto; padding-right: 5px; }
.kda-scroll-area::-webkit-scrollbar { width: 6px; }
.kda-scroll-area::-webkit-scrollbar-track { background: #f1f3f5; border-radius: 4px; }
.kda-scroll-area::-webkit-scrollbar-thumb { background: #ced4da; border-radius: 4px; }
.kda-scroll-area table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 14px; }
.kda-scroll-area th { position: sticky; top: 0; background: #fff; font-weight: 600; padding: 10px 8px; border-bottom: 2px solid #dee2e6; color: #495057; z-index: 1; }
.kda-scroll-area td { padding: 10px 8px; border-bottom: 1px solid #f1f3f5; color: #333; }
.kda-scroll-area tbody tr:hover td { background-color: #f8f9fa; }
.kda-placement-list { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.kda-placement-list li { margin-bottom: 12px; padding-left: 24px; position: relative; }
.kda-placement-list li::before { content: "✓"; position: absolute; left: 0; color: #28a745; font-weight: bold; }
.kda-placement-list strong { color: #212529; }
#kda-content-preview { max-height: 300px; overflow-y: auto; font-size: 15px; line-height: 1.7; color: #495057; white-space: pre-wrap; padding: 16px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px; }
#kda-content-preview mark { background-color: #ffe0b2; padding: 2px 6px; border-radius: 3px; font-weight: 600; color: #d35400; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
