/* KAAPSULE server.cfg : styles propres à l'outil (la base est dans /tools/kit/kit.css) */
.field input[type="password"] {
  width: 100%; background: var(--ink); color: var(--paper); border: 1px solid var(--g-700); padding: 10px 12px;
  font-family: var(--f-sans); font-size: 14px; border-radius: 0; outline: none; transition: border-color 150ms ease;
}
.field input[type="password"]:focus { border-color: var(--paper); }
.field select option { background: var(--ink); color: var(--paper); }

.scfg-form .panel h2 { font-size: 18px; margin-bottom: 14px; }
.scfg-hint { color: var(--g-400); font-size: 13px; margin-top: 14px; max-width: 64ch; }
.scfg-checks { display: flex; flex-direction: column; gap: 12px; }
.scfg-checks .check { align-items: flex-start; }
.scfg-checks .check input { margin-top: 3px; flex: none; }
.scfg-actions { display: flex; justify-content: flex-end; margin-top: 16px; }

/* Aperçu collé en haut sur grand écran */
.scfg-side { position: sticky; top: 80px; min-width: 0; }
.scfg-side .out pre { max-height: calc(100vh - 220px); min-height: 320px; }
.scfg-side .bar { align-items: center; flex-wrap: wrap; }
.scfg-side .scfg-file { margin-right: auto; }
.scfg-side .notes:empty { display: none; }

.scfg-about { margin-top: 56px; max-width: 78ch; }
.scfg-about h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.scfg-about p { color: var(--g-400); margin-top: 8px; }
.scfg-about ul { margin: 12px 0 0 18px; color: var(--g-400); display: flex; flex-direction: column; gap: 6px; }
.scfg-about b { color: var(--paper); font-weight: 500; }
.scfg-guide { margin-top: 32px; }
.scfg-guide a { border-bottom: 1px solid var(--g-600); color: var(--g-300); }
.scfg-guide a:hover { color: var(--paper); border-color: var(--paper); }

@media (max-width: 860px) {
  .scfg-side { position: static; }
  .scfg-side .out pre { max-height: 480px; min-height: 0; }
  .scfg-form .panel { padding: 18px; }
  .seg button { flex: 1 1 auto; }
}
