*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f4f7fb; color: #222; min-height: 100vh; }
 
header { background: #fff; border-bottom: 1px solid #dde3ed; padding: 12px 24px; display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
header img { height: 48px; width: auto; margin-top: 4px; flex-shrink: 0; }
.nav-wrap { margin-left: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; flex-shrink: 0; }
.nav-row { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-start; width: 100%; }
.nav-row a { background: #f0f4fb; color: #1a3a6b; border: 1px solid #ccd6e8; border-radius: 6px; padding: 6px 12px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: background 0.15s, color 0.15s; white-space: nowrap; text-align: center; text-decoration: none; display: inline-block; }
.nav-row a:hover, .nav-row a.active { background: #1a6fc4; color: #fff; border-color: #1a6fc4; }
 
.hero-banner { background: #1a3a6b; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 3px solid #1a6fc4; }
.hero-banner-left { display: flex; flex-direction: column; gap: 4px; }
.hero-banner-left h2 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; letter-spacing: 0.01em; }
.hero-banner-left p { font-size: 0.82rem; color: #b0c4e8; margin: 0; line-height: 1.5; }
.hero-banner .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-banner .tag { background: rgba(255,255,255,0.1); color: #d0e4ff; border-radius: 20px; padding: 4px 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; border: 1px solid rgba(255,255,255,0.15); }
 
main { padding: 20px 32px; max-width: 1200px; margin: 0 auto; }
 
.breadcrumb { font-size: 0.82rem; color: #8a9ab5; margin-bottom: 20px; }
.breadcrumb a { color: #1a6fc4; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
 
.page-panel { background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); padding: 32px 36px; }
.page-panel h1 { font-size: 1.4rem; color: #1a3a6b; margin-bottom: 6px; }
.page-panel .subtitle { font-size: 0.85rem; color: #7a8fa8; margin-bottom: 24px; }
.section-head { font-size: 0.9rem; font-weight: 700; color: #1a6fc4; margin: 24px 0 12px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid #e8f0fb; padding-bottom: 4px; }
 
table { width: 100%; border-collapse: collapse; font-size: 0.87rem; margin-bottom: 16px; }
thead tr { background: #1a3a6b; color: #fff; }
thead th { padding: 10px 12px; text-align: left; font-weight: 600; }
tbody tr:nth-child(even) { background: #f4f7fb; }
tbody tr:hover { background: #e8f0fb; }
tbody td { padding: 9px 12px; color: #333; border-bottom: 1px solid #eaeff7; vertical-align: top; }
.rank { font-weight: 700; color: #1a6fc4; }
.indexes { font-size: 0.8rem; color: #5a7399; }
 
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
.card { border: 1px solid #dde3ed; border-radius: 8px; padding: 16px; background: #fafcff; }
.card h3 { font-size: 0.95rem; color: #1a3a6b; margin-bottom: 4px; }
.card .card-meta { font-size: 0.78rem; color: #1a6fc4; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.83rem; color: #555; line-height: 1.55; }
 
/* Sub-page nav grid */
.indexes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 8px; }
.indexes-card { border: 1px solid #dde3ed; border-radius: 10px; padding: 20px 16px; background: #fafcff; text-align: center; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s, transform 0.15s; border-top: 4px solid #1a6fc4; }
.indexes-card:hover { box-shadow: 0 6px 18px rgba(26,111,196,0.15); transform: translateY(-2px); }
.indexes-card .ic-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.indexes-card h3 { font-size: 0.95rem; color: #1a3a6b; margin-bottom: 6px; }
.indexes-card p { font-size: 0.78rem; color: #666; line-height: 1.5; }
 
.page-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid #eaeff7; flex-wrap: wrap; gap: 10px; }
.page-nav a { background: #f0f4fb; color: #1a3a6b; border: 1px solid #ccd6e8; border-radius: 7px; padding: 9px 18px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.page-nav a:hover { background: #1a6fc4; color: #fff; border-color: #1a6fc4; }
 
footer { text-align: center; padding: 18px; font-size: 0.8rem; color: #8a9ab5; border-top: 1px solid #dde3ed; background: #fff; margin-top: 20px; }
 
.feedback-btn { position: fixed; bottom: 28px; right: 28px; background: #1a6fc4; color: #fff; border: none; border-radius: 50px; padding: 12px 22px; font-size: 0.9rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(26,111,196,0.4); z-index: 999; transition: background 0.2s, transform 0.1s; }
.feedback-btn:hover { background: #1558a0; transform: translateY(-2px); }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 12px; padding: 30px 28px 24px; width: 100%; max-width: 420px; box-shadow: 0 8px 32px rgba(0,0,0,0.18); position: relative; }
.modal h2 { font-size: 1.1rem; color: #1a3a6b; margin-bottom: 6px; }
.modal p { font-size: 0.83rem; color: #777; margin-bottom: 18px; }
.modal label { display: block; font-size: 0.85rem; color: #444; margin-bottom: 4px; font-weight: 600; }
.modal input, .modal textarea { width: 100%; border: 1px solid #ccd6e8; border-radius: 7px; padding: 9px 11px; font-size: 0.88rem; font-family: inherit; margin-bottom: 14px; color: #222; transition: border 0.2s; }
.modal input:focus, .modal textarea:focus { outline: none; border-color: #1a6fc4; }
.modal textarea { min-height: 110px; resize: vertical; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-cancel { background: #f0f4fb; color: #555; border: none; border-radius: 7px; padding: 9px 18px; font-size: 0.88rem; cursor: pointer; }
.btn-send { background: #1a6fc4; color: #fff; border: none; border-radius: 7px; padding: 9px 20px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-send:hover { background: #1558a0; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #aaa; }
.success-msg { display: none; text-align: center; padding: 20px 0 10px; color: #1a6fc4; font-size: 0.95rem; }
.success-msg .tick { font-size: 2rem; display: block; margin-bottom: 8px; }