* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; padding: 0; background: #f4f6f9; color: #181818; }
header { background: #0176d3; color: #fff; padding: 1rem 1.25rem; }
header h1 { margin: 0 0 0.25rem; font-size: 1.25rem; }
header p { margin: 0 0 0.75rem; opacity: 0.9; font-size: 0.9rem; }
nav button { margin-right: 0.5rem; margin-bottom: 0.5rem; padding: 0.45rem 0.75rem; border: 0; border-radius: 4px; background: rgba(255,255,255,0.2); color: #fff; cursor: pointer; }
nav button.active { background: #fff; color: #0176d3; font-weight: 600; }
.panel { background: #fff; margin: 1rem; padding: 1rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.panel textarea { width: 100%; font-family: ui-monospace, monospace; font-size: 0.85rem; }
.panel button { margin-top: 0.5rem; margin-right: 0.5rem; padding: 0.5rem 1rem; background: #0176d3; color: #fff; border: 0; border-radius: 4px; }
.hint { font-size: 0.85rem; color: #555; }
main { margin: 0 1rem 2rem; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); font-size: 0.9rem; }
th, td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid #ecebea; }
th { background: #f3f3f3; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
tr.highlight { background: #eef6ff; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card a { color: #0176d3; word-break: break-all; }
@media (max-width: 768px) { table { display: block; overflow-x: auto; } }
