body { font-family: -apple-system, Arial, sans-serif; max-width: 980px; margin: 2rem auto; padding: 0 1rem; color: #1a1a1a; }
h1 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.sub { color: #666; font-size: 13px; margin-bottom: 1.5rem; }
input[type=text] { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; }
input[type=date] { font-size: 14px; padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; }
input[type=password] { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; }
#suggestions { position: relative; border: 1px solid #ddd; border-top: none; border-radius: 0 0 8px 8px; max-height: 260px; overflow-y: auto; display: none; background: #fff; z-index: 5; }
#suggestions div { padding: 8px 12px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; }
#suggestions div:hover { background: #f0f0f0; }
.type-tag { font-size: 10px; color: #999; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 1.2rem 0; }
.stat { background: #f7f7f5; border-radius: 8px; padding: 10px 12px; }
.stat .label { font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: 0.03em; }
.stat .value { font-size: 20px; font-weight: 600; margin-top: 2px; }
table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #eee; }
th { color: #777; font-weight: 500; font-size: 12px; text-transform: uppercase; cursor: pointer; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.partner-row:hover, tr.pilot-row:hover { background: #f7f7f5; }
a.rowlink { color: inherit; text-decoration: none; display: block; }
a.rowlink:hover { text-decoration: none; }
.tag { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 10px; margin-right: 4px; white-space: nowrap; }
.tag.co { background: #e6f1fb; color: #0c447c; }
.tag.hostile { background: #fcebeb; color: #791f1f; }
.tag.alias { background: #eee7fb; color: #4b2c91; }
.tag.related { background: #e3f7ea; color: #1c5e33; }
.tag.alliance { background: #fff4dd; color: #7a5300; }
#empty { color: #999; font-size: 14px; margin-top: 2rem; }
#corpname { font-size: 18px; font-weight: 600; margin-top: 1.5rem; }
#detail { margin-top: 1.5rem; border-top: 1px solid #eee; padding-top: 1rem; display: none; }
#detail h3 { font-size: 15px; margin: 0 0 8px; }
.filters { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; color: #555; }
a { color: #185fa5; }
.section-label { font-size: 12px; color: #777; text-transform: uppercase; margin: 1.2rem 0 4px; }
.links-box { background: #fbfbf9; border: 1px solid #eee; border-radius: 8px; padding: 10px 14px; margin-top: 10px; font-size: 13px; }
.roster-group { margin-top: 10px; }
.roster-group summary { cursor: pointer; font-size: 13px; font-weight: 500; padding: 6px 0; }
button { font-size: 13px; padding: 4px 10px; border-radius: 6px; border: 1px solid #ccc; background: #f7f7f5; cursor: pointer; }
