/* Minimal, institucional */
:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#555555;
  --line:#e6e6e6;
  --card:#fafafa;
  --btn:#111111;
  --btnText:#ffffff;
  --danger:#b00020;
  --ok:#0b6b3a;
  --focus:#2d6cdf;
  --shadow: 0 1px 0 rgba(0,0,0,.06);
  --radius:12px;
  --pad:18px;
  font-synthesis-weight:none;
}
*{ box-sizing:border-box; }
body{
  margin:0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--bg); color:var(--text); line-height:1.45;
}
.container{ max-width: 980px; margin:0 auto; padding: 0 16px; }
.topbar{
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 16px;
}
.brand-title{ font-weight:700; letter-spacing:.2px; }
.brand-subtitle{ color:var(--muted); font-size: 13px; margin-top:2px; }
.nav a{
  color: var(--text); text-decoration:none; margin-left: 14px; font-size: 14px;
}
.nav a:hover{ text-decoration:underline; }
main.container{ padding: 22px 16px 50px; }
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: var(--shadow);
}
h1{ margin: 0 0 10px; font-size: 22px; }
h2{ margin: 0 0 10px; font-size: 18px; }
p{ margin: 10px 0; color: var(--muted); }
label{ display:block; font-size: 13px; color: var(--muted); margin-bottom:6px; }
input, select, textarea{
  width:100%; padding: 10px 12px; border:1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font-size: 14px; outline:none;
}
textarea{ min-height: 140px; }
input:focus, select:focus, textarea:focus{ border-color: var(--focus); box-shadow: 0 0 0 3px rgba(45,108,223,.12); }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px){ .row{ grid-template-columns: 1fr; } }
.actions{ margin-top: 14px; display:flex; gap: 10px; flex-wrap:wrap; }
button, .btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--btn);
  background: var(--btn); color: var(--btnText);
  padding: 10px 14px; border-radius: 10px; cursor:pointer; font-size: 14px;
  text-decoration:none;
}
button.secondary, .btn.secondary{
  background: transparent; color: var(--text); border-color: var(--line);
}
button.danger, .btn.danger{ background: var(--danger); border-color: var(--danger); }
.badge{
  display:inline-block; padding: 4px 10px; border-radius: 999px;
  background:#fff; border:1px solid var(--line); font-size:12px; color: var(--muted);
}
.notice{
  margin: 12px 0 0;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}
.notice.ok{ border-color: rgba(11,107,58,.35); }
.notice.err{ border-color: rgba(176,0,32,.35); }
.table{
  width:100%; border-collapse: collapse; margin-top: 12px; background:#fff; border:1px solid var(--line);
  border-radius: var(--radius); overflow:hidden;
}
.table th, .table td{ padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th{ text-align:left; color: var(--muted); font-weight:600; background: #fcfcfc; }
.table tr:last-child td{ border-bottom: 0; }
.footer{
  border-top:1px solid var(--line);
  padding: 18px 0;
}
.footer-inner{ display:flex; justify-content:space-between; align-items:center; color: var(--muted); font-size: 13px; }
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
hr{ border:0; border-top: 1px solid var(--line); margin: 14px 0; }
