/* Reset + base */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:#f4f6fa;color:#222;line-height:1.5;min-height:100vh;
  display:flex;flex-direction:column;
}
a{color:#2b5fc4;text-decoration:none}
a:hover{text-decoration:underline}

header{
  background:#1f2937;color:white;padding:.8em 1.5em;
  display:flex;justify-content:space-between;align-items:center;
}
header h1{font-size:1.1em;font-weight:600}
header h1 a{color:white}
header nav{display:flex;gap:1em;align-items:center;font-size:.9em}
header nav a{color:#9cb;}

main{flex:1;display:flex;justify-content:center;padding:2em 1em}
footer{background:#1f2937;color:#8aa;text-align:center;padding:.6em;font-size:.85em}
footer a{color:#9cb}

.card{
  background:white;border-radius:8px;padding:2em;max-width:680px;width:100%;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.card.warn{border-left:4px solid #d97706}
.card.ok{border-left:4px solid #059669}
.card.welcome{text-align:center}

h2{margin-bottom:.8em;font-size:1.4em}
p{margin-bottom:1em}

label{display:block;font-weight:600;margin-top:1em;margin-bottom:.4em;font-size:.9em;color:#475569}
input[type=text]{
  width:100%;padding:.7em;border:1px solid #cbd5e1;border-radius:6px;font-size:1em;
  font-family:monospace;
}
input[type=text]:focus{outline:none;border-color:#2b5fc4;box-shadow:0 0 0 3px rgba(43,95,196,.15)}

.btn{
  display:inline-block;background:#e5e7eb;color:#1f2937;padding:.6em 1.2em;
  border-radius:6px;font-size:.95em;font-weight:600;cursor:pointer;border:none;
  margin-top:1em;margin-right:.5em;
}
.btn:hover{background:#d1d5db;text-decoration:none}
.btn.primary{background:#2b5fc4;color:white}
.btn.primary:hover{background:#1e4399}
.btn.danger{background:#dc2626;color:white}
.btn.danger:hover{background:#b91c1c}

table.meta{width:100%;margin:1.5em 0;border-collapse:collapse}
table.meta th{
  text-align:left;padding:.6em 1em;background:#f1f5f9;
  font-size:.85em;color:#475569;font-weight:600;width:30%;
}
table.meta td{padding:.6em 1em;border-bottom:1px solid #f1f5f9}

.info{background:#eff6ff;border-left:3px solid #2b5fc4;padding:.8em 1em;border-radius:4px;font-size:.9em}
details.help{margin-top:2em;color:#475569;font-size:.9em}
details.help summary{cursor:pointer;font-weight:600;padding:.4em 0}
details.help ol{margin-left:2em;margin-top:.6em}
kbd{
  background:#1f2937;color:white;padding:.1em .4em;border-radius:3px;
  font-family:monospace;font-size:.85em;
}
code{background:#f1f5f9;padding:.1em .3em;border-radius:3px;font-size:.85em}
pre{background:#1e293b;color:#f8fafc;padding:1em;border-radius:6px;overflow:auto;font-size:.85em}
