/* style.css - simple, responsive */
:root { --accent:#2b6cb0; --muted:#666; --bg:#f7fbff; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; margin:0; padding:20px; background:var(--bg); color:#111; }
header { margin-bottom:12px; }
h1 { margin:0; font-size:1.6rem; }
header p { margin:4px 0 14px; color:var(--muted); }

.tabs { display:flex; gap:8px; margin-bottom:12px; }
.tabs button { padding:8px 12px; border-radius:8px; border:1px solid #ddd; background:white; cursor:pointer; }
.tabs button.active { background:var(--accent); color:white; border-color:var(--accent); }

main { background:white; padding:16px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,0.06); }
.tab-pane { display:none; }
.tab-pane.active { display:block; }

.inline-form { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.inline-form input, .inline-form select { padding:8px; border:1px solid #ddd; border-radius:6px; min-width:120px; }
.inline-form button { padding:8px 12px; background:var(--accent); color:white; border:none; border-radius:6px; cursor:pointer; }

.list { margin-top:6px; }
.row { display:flex; align-items:center; gap:8px; padding:8px; border-bottom:1px solid #f0f0f0; }
.row .meta { flex:1; color:var(--muted); }
.row button { padding:6px 8px; border-radius:6px; border:1px solid #ddd; cursor:pointer; background:white; }

.summary { margin-top:12px; padding:10px; border:1px dashed #ddd; border-radius:6px; background:#fafafa; }

footer { margin-top:12px; color:var(--muted); font-size:12px; }

/* modal */
.modal { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.35); }
.modal.hidden { display:none; }
.modal-content { background:white; padding:16px; border-radius:8px; min-width:320px; max-width:90%; }
.modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
