/* Vài dòng trên nền Pico: bảng gọn, mã máy monospace, thông báo flash. */
:root {
  --pico-font-size: 95%;
}
main.container {
  max-width: 1100px;
}
table {
  font-size: 0.92rem;
}
td,
th {
  padding: 0.35rem 0.5rem;
}
code.dev {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}
.flash {
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
}
.flash.ok {
  background: #e6f6ea;
  color: #14532d;
}
.flash.error {
  background: #fdecec;
  color: #7f1d1d;
}
.muted {
  color: var(--pico-muted-color);
}
.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.8rem;
}
.tag.active {
  background: #e6f6ea;
  color: #14532d;
}
.tag.expired {
  background: #fff4e5;
  color: #7c2d12;
}
.tag.revoked {
  background: #fdecec;
  color: #7f1d1d;
}
.inline-form {
  display: inline;
}
.inline-form button {
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  margin: 0;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}
.card {
  border: 1px solid var(--pico-muted-border-color);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
}
.card .big {
  font-size: 1.6rem;
  font-weight: 700;
}
nav ul li a.current {
  text-decoration: underline;
}
footer {
  font-size: 0.8rem;
}
/* CSP style-src 'self' chặn style= inline, nên mọi bố cục nhỏ đều là class. */
.narrow {
  max-width: 480px;
  margin: 1.5rem auto;
}
.inline-input {
  width: 12rem;
  display: inline;
  margin: 0;
}
.float-right {
  float: right;
}
