.app { min-height: 100vh; } .header { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 20px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #ffffff, #f8fafc); } .brand { display: flex; align-items: center; gap: 10px; } .logo { display: grid; place-items: center; width: 34px; height: 30px; border-radius: 8px; background: #0f172a; color: #ffffff; font-family: var(--font-mono); font-size: 10px; font-weight: 700; } .brand h1 { margin: 0; font-size: 15px; } .header-side { display: flex; align-items: center; gap: 7px; } .pill { padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 10px; } .pill.ok-pill { border-color: #86efac; background: #f0fdf4; color: #166534; } .pill.bad-pill { border-color: #fecaca; background: #fef2f2; color: #991b1b; } .layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 12px; padding: 14px 20px 20px; } .column { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .card { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); } .pad { padding: 11px 13px; } .card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; } .card h2 { margin: 0; font-size: 12.5px; } .small { font-size: 10.5px; } .muted { color: var(--muted); } .btn { height: 28px; padding: 0 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font-size: 10.5px; } .btn.primary { border-color: var(--primary); background: var(--primary); color: var(--primary-fg); } .btn:hover { border-color: var(--primary); } .actions { display: flex; gap: 5px; } .actions.wrap { flex-wrap: wrap; align-items: center; margin-top: 8px; } .switch { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; cursor: pointer; } .path { display: block; padding: 5px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); color: var(--muted); font-size: 9.5px; } .metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: 7px; background: var(--panel); } .metrics div { display: flex; flex-direction: column; } .metrics span { color: var(--muted); font-size: 9px; } .metrics b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; } .tag { padding: 1px 7px; border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 9px; font-weight: 600; } .tag.ok { background: #dcfce7; color: #166534; } .tag.warn { background: #fef3c7; color: #92400e; } .error-line { min-height: 13px; margin-top: 4px; color: var(--danger); font-size: 9.5px; overflow-wrap: anywhere; } .input { width: 100%; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font-family: var(--font-mono); font-size: 10px; outline: none; resize: vertical; } .input:focus { border-color: var(--primary); } .hash-facts, .abi { margin: 8px 0 0; padding: 0; list-style: none; } .hash-facts li, .abi li { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--border); font-size: 10px; } .hash-facts li:last-child, .abi li:last-child { border-bottom: none; } .hash-facts span, .abi span { color: var(--muted); } .hash-facts b, .abi b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; overflow-wrap: anywhere; } .hint { margin: 7px 0 0; line-height: 1.6; } .bench table { width: 100%; border-collapse: collapse; font-size: 10px; } .bench th, .bench td { padding: 4px 6px; border-bottom: 1px solid var(--border); text-align: right; } .bench th:first-child, .bench td:first-child { text-align: left; color: var(--muted); } .bench th { color: var(--muted); font-weight: 600; } .ok { color: #166534; } .bad { color: var(--danger); } .bullets { margin: 0; padding-left: 16px; font-size: 10px; line-height: 1.7; } .config { margin: 8px 0 0; padding: 8px; border-radius: 7px; background: #0f172a; color: #cbd5e1; font-family: var(--font-mono); font-size: 9px; line-height: 1.6; } .activity { margin: 0; padding: 0; list-style: none; max-height: 140px; overflow: auto; } .event-row { display: grid; grid-template-columns: 56px 62px minmax(0, 1fr); gap: 6px; padding: 3px 0; border-bottom: 1px solid var(--border); font-size: 9.5px; } .event-row:last-child { border-bottom: none; } .event-row .kind { color: var(--primary); } body[data-shot="native"] .native-card { border-color: #bfdbfe; } body[data-shot="fallback"] .native-card { border-color: #fcd34d; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08); } body[data-shot="bench"] .bench-card { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); } @media (max-width: 820px) { .layout { grid-template-columns: 1fr; } }