* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
    background: #f6f7f9;
    color: #1a1a1a;
    line-height: 1.6;
}
.container { max-width: 960px; margin: 0 auto; padding: 24px 20px 64px; }
.back-link { display: inline-block; margin-bottom: 16px; color: #556; text-decoration: none; font-size: 14px; }
.back-link:hover { color: #223; }
.page-header h1 { margin: 0 0 6px; font-size: 26px; }
.page-header .tagline { margin: 0 0 24px; color: #667; font-size: 14px; }

.wiki-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.wiki-card {
    display: block; background: #fff; border: 1px solid #e6e8eb; border-radius: 12px;
    padding: 16px 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.wiki-card:hover { border-color: #c3c8ce; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.wiki-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wiki-company { margin: 0; font-size: 17px; }
.wiki-company .ticker { font-size: 13px; color: #7a828c; font-weight: 500; }
.wiki-card-meta { margin-top: 10px; font-size: 12px; color: #8a919b; }

.status-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status-ready { background: #e7f6ec; color: #1a7f42; }
.status-running, .status-pending { background: #fdf3e2; color: #b5761a; }
.status-failed { background: #fde8e8; color: #c0392b; }
.sector-badge { display: inline-block; margin-top: 8px; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: #eef1f5; color: #556; }

.pagination { margin-top: 24px; display: flex; gap: 16px; align-items: center; justify-content: center; font-size: 14px; }
.pagination a { color: #345; text-decoration: none; }

.empty-state { text-align: center; padding: 60px 20px; color: #667; }
.empty-state .hint { font-size: 14px; color: #8a919b; }
.empty-state a { color: #2a6; text-decoration: none; }
