/* assets/style.css */
:root {
  --bg: #f7faf9;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #10b981;
  --border: #e5e7eb;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif; }
a { color: var(--primary); text-decoration: none; }
.centered { display:flex; min-height:100vh; align-items:center; justify-content:center; }
.container { max-width: 1100px; margin: 20px auto; padding: 0 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.03); }
.card h3 { margin-top: 0; }
.w400 { width: 100%; max-width: 420px; }
.stack { display:flex; flex-direction:column; gap:10px; }
input { padding: 10px 12px; border:1px solid var(--border); border-radius: 8px; }
button { padding: 10px 14px; border-radius: 10px; border:1px solid var(--primary); background: var(--primary); color:white; cursor:pointer; }
button:hover { opacity: .95; }
.alert { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; padding:8px 12px; border-radius:8px; margin-bottom:10px; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-bottom:1px solid var(--border); background: var(--card); position: sticky; top:0; }
.brand { font-weight: 700; }
.grid { display:grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pills { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.pill { padding: 2px 8px; border:1px solid var(--border); border-radius: 999px; }
.reports { max-height: 220px; overflow:auto; }
.report { padding:8px 0; border-bottom:1px dashed var(--border); }
.row { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }

.modal { position:fixed; inset:0; background:rgba(0,0,0,.4); display:flex; align-items:center; justify-content:center; }
.modal-card { background:white; border-radius:12px; padding:20px; width: min(520px, 92vw); box-shadow: 0 10px 40px rgba(0,0,0,.2); }

.muted { color: var(--muted); font-size: .9rem; }
.build-row { padding:8px 0; border-bottom:1px dashed var(--border); }
.hint {
  display:inline-block; margin-top:6px; padding:6px 10px;
  border:1px dashed #f59e0b; background:#fffbeb; color:#92400e; border-radius:8px;
}
