:root{
  --max: 1120px;
  --pad: 16px;
  --border: #e7e7e7;
  --text: #111;
  --muted: #666;
  --bg: #fff;
  --card: #fff;
  --radius: 14px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{ color:inherit; text-decoration:none; }

.container{
  max-width: var(--max);
  margin:0 auto;
  padding: var(--pad);
}

.topbar{
  position:sticky;
  top:0;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  z-index:10;
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  font-weight:650;
  letter-spacing:0.2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.nav__link{ padding:8px 10px; border-radius:10px; }
.nav__link:hover{ background:#f7f7f7; }

.nav__muted{ color:var(--muted); font-size: 13px; }

.hero{
  padding: 36px 0 10px 0;
}
.hero__inner{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
}
.hero h1{ margin:0 0 10px 0; font-size: 34px; letter-spacing:-0.5px; }
.muted{ color:var(--muted); }
.small{ font-size: 13px; }

.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.col-6{ grid-column: span 6; }
.col-12{ grid-column: span 12; }

.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card);
}

.row{ display:flex; }
.row--between{ justify-content:space-between; }
.row--center{ align-items:center; }
.row--gap{ gap:10px; flex-wrap:wrap; }

.label{ display:block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.input{
  width:100%;
  padding: 10px 12px;
  border:1px solid var(--border);
  border-radius: 12px;
  background:#fff;
  font-size: 14px;
}
textarea.input{ resize: vertical; }

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
  font-size: 14px;
  cursor:pointer;
}
.btn--primary{
  border-color:#111;
  background:#111;
  color:#fff;
}
.btn--ghost{
  background:#fff;
}

.notice{
  border:1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
}
.notice--success{ }
.notice--error{ }

.table{
  width:100%;
  border-collapse: collapse;
}
.table th, .table td{
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align:left;
  vertical-align: top;
}
.strong{ font-weight: 650; }

.list{
  margin: 10px 0 0 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

.spacer{ height: 10px; }
.spacer-lg{ margin-top: 16px; }

.footer{
  border-top:1px solid var(--border);
  margin-top: 32px;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 780px){
  .col-6{ grid-column: span 12; }
  .hero h1{ font-size: 28px; }
  .nav{ gap: 8px; }
}
