:root {
  --bg: #0a0e17; --card: #111827; --card-hover: #1a2332; --input: #1e293b;
  --border: #1e3a5f; --text: #e2e8f0; --text2: #94a3b8; --muted: #64748b;
  --accent: #10b981; --accent-glow: rgba(16,185,129,0.3);
  --success: #22c55e; --warn: #f59e0b; --danger: #ef4444;
  --radius: 12px; --sm: 8px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; background:var(--bg); color:var(--text); min-height:100vh; }
body::before { content:''; position:fixed; inset:0; background:radial-gradient(ellipse at 30% 50%,rgba(16,185,129,0.06) 0%,transparent 50%),radial-gradient(ellipse at 70% 20%,rgba(59,130,246,0.05) 0%,transparent 50%); pointer-events:none; z-index:0; }
.app { position:relative; z-index:1; max-width:540px; margin:0 auto; padding:16px; padding-bottom:80px; }
.header { text-align:center; padding:20px 0 16px; }
.header h1 { font-size:22px; font-weight:700; color:var(--accent); }
.header p { font-size:13px; color:var(--muted); margin-top:4px; }
.section { margin-bottom:16px; }
.section-title { font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:1.2px; color:var(--muted); padding:0 4px; margin-bottom:8px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:8px; }
.card-row { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; }
.card-row+.card-row { border-top:1px solid var(--border); }
.card-row-info { flex:1; min-width:0; }
.card-row-label { font-size:14px; font-weight:500; }
.card-row-desc { font-size:12px; color:var(--muted); margin-top:2px; word-break:break-all; }
.prop-name { font-family:'SF Mono','Fira Code',monospace; font-size:12px; color:var(--accent); }
.badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; }
.badge-ok { background:rgba(34,197,94,0.15); color:var(--success); }
.badge-miss { background:rgba(239,68,68,0.15); color:var(--danger); }
.badge-info { background:rgba(59,130,246,0.15); color:#3b82f6; }
.tool-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:12px 16px; }
.tool-chip { padding:8px 10px; border-radius:var(--sm); border:1px solid var(--border); background:var(--input); font-size:12px; display:flex; align-items:center; gap:6px; }
.tool-chip .dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.tool-chip .dot.ok { background:var(--success); box-shadow:0 0 6px var(--success); }
.tool-chip .dot.miss { background:var(--muted); }
.btn { padding:10px 16px; border-radius:var(--sm); border:1px solid var(--border); background:var(--card); color:var(--text); font-size:13px; font-weight:500; cursor:pointer; text-align:center; }
.btn:hover { border-color:var(--accent); }
.btn-primary { background:var(--accent); border-color:var(--accent); color:#000; font-weight:600; }
.btn-primary:hover { box-shadow:0 4px 16px var(--accent-glow); }
.actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
pre.output { background:#030712; border:1px solid var(--border); border-radius:var(--sm); padding:12px; font-family:'SF Mono','Fira Code',monospace; font-size:11px; line-height:1.5; color:var(--text2); white-space:pre-wrap; word-break:break-all; max-height:400px; overflow-y:auto; }
.toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%) translateY(80px); padding:12px 20px; border-radius:var(--sm); background:var(--card); border:1px solid var(--border); color:var(--text); font-size:13px; box-shadow:0 8px 32px rgba(0,0,0,0.4); opacity:0; transition:all 0.3s; z-index:100; }
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }
.toast.success { border-color:var(--success); }
.toast.error { border-color:var(--danger); }
.tab-bar { position:fixed; bottom:0; left:0; right:0; background:rgba(10,14,23,0.95); backdrop-filter:blur(20px); border-top:1px solid var(--border); display:flex; justify-content:center; gap:4px; padding:8px 16px; padding-bottom:max(8px,env(safe-area-inset-bottom)); z-index:50; }
.tab-item { flex:1; max-width:90px; display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px 4px; border-radius:var(--sm); color:var(--muted); font-size:10px; font-weight:500; cursor:pointer; border:none; background:none; }
.tab-item.active { color:var(--accent); }
.tab-item svg { width:20px; height:20px; fill:currentColor; }
.page { display:none; } .page.active { display:block; }
.info-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); }
.info-cell { background:var(--card); padding:10px 14px; }
.info-label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.5px; }
.info-value { font-size:13px; font-weight:600; margin-top:3px; }
