/* Private projects pages (gate/). Builds on style.css tokens. */

.gate { padding-top: 2.5rem; padding-bottom: 2rem; min-height: 60vh; }
.gate h1 { font-size: 1.9rem; margin: 0 0 0.4rem; }
.gate h2 { margin-top: 2.25rem; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

.gate-card { max-width: 26rem; padding: 1.5rem; border: 1px solid var(--rule); border-radius: 8px; }
.stack { display: flex; flex-direction: column; gap: 0.85rem; }
.stack label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.92rem; }
input[type="text"], input[type="email"], input[type="password"] {
  font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--bg); color: var(--text);
}
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.btn { font: inherit; font-size: 0.95rem; padding: 0.55rem 1rem; border-radius: 6px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--bg); cursor: pointer; align-self: flex-start; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.small { font-size: 0.85rem; padding: 0.35rem 0.75rem; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.danger { background: transparent; color: #b3261e; border-color: #b3261e; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; }
.linklike:hover { color: var(--text); }
form.inline { display: inline; margin: 0; }

.notice { padding: 0.75rem 1rem; border-radius: 6px; border: 1px solid var(--rule); margin: 1rem 0; }
.notice p { margin: 0.2rem 0; }
.notice.error { border-color: #b3261e; color: #b3261e; }
.notice.ok { border-color: var(--accent); }
.linkbox { display: flex; gap: 0.5rem; }
.linkbox input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }

.person { border: 1px solid var(--rule); border-radius: 6px; padding: 0.6rem 0.9rem; margin: 0.5rem 0; }
.person summary { cursor: pointer; }
.person[open] summary { margin-bottom: 0.6rem; }
.boxes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.boxes legend { font-size: 0.92rem; margin-bottom: 0.3rem; }
.boxes label { flex-direction: row; align-items: center; gap: 0.35rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.row-actions form { margin: 0; }

.files { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.files td { padding: 0.45rem 0.25rem; border-bottom: 1px solid var(--rule); }
.files .num { text-align: right; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.gate-card .small { margin-top: 1.1rem; margin-bottom: 0; }
