*{box-sizing:border-box}
body{margin:0;font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1d2433;background:#f6f7fb;overflow-wrap:break-word}
a{color:#1a56db;overflow-wrap:anywhere}
header,footer{background:#fff;border-bottom:1px solid #e3e6ee}
footer{border-top:1px solid #e3e6ee;border-bottom:0;margin-top:40px;font-size:14px}
.wrap{max-width:900px;margin:0 auto;padding:12px 16px}
header .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px}
.logo{font-weight:700;text-decoration:none;color:#1d2433}
nav{display:flex;flex-wrap:wrap;gap:4px 14px}
nav a{font-size:14px;padding:6px 0}
h1{font-size:1.8rem;line-height:1.25;margin:.6em 0 .3em}
h2{font-size:1.35rem;line-height:1.3;margin:1.2em 0 .4em}
h3{font-size:1.05rem;line-height:1.35;margin:1em 0 .3em}
.card{background:#fff;border:1px solid #e3e6ee;border-radius:10px;padding:18px;margin:16px 0}
label{display:block;font-weight:600;margin:10px 0 4px}
input,select,textarea,button{font:inherit;max-width:100%}
input,select,textarea{width:100%;padding:9px;border:1px solid #b9c0cf;border-radius:6px;background:#fff}
textarea{min-height:160px;font-family:ui-monospace,Menlo,monospace;font-size:14px;resize:vertical}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.actions button{margin:0}
button{background:#1a56db;color:#fff;border:0;border-radius:6px;padding:10px 16px;cursor:pointer}
button.sec{background:#e8ecf5;color:#1d2433}
button:focus,input:focus,select:focus,textarea:focus,a:focus{outline:3px solid #93b4f5;outline-offset:1px}
.out{background:#eef4ff;border-radius:8px;padding:12px;margin-top:12px}
table{border-collapse:collapse;width:100%;table-layout:fixed}
td,th{border:1px solid #e3e6ee;padding:6px 8px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.muted{color:#5b6475;font-size:14px}
.opts{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:8px}
.chk{display:flex;gap:6px;align-items:center;font-weight:400;margin:0}
.chk input{width:auto;max-width:none}
.note{min-height:1.4em;font-size:14px;color:#1a56db;margin:8px 0 0}
code{overflow-wrap:anywhere}
.skip{position:absolute;left:8px;top:0;transform:translateY(-120%);background:#fff;padding:6px 10px;border:2px solid #1a56db;z-index:10}
.skip:focus{transform:none;top:8px}
@media (max-width:480px){
  h1{font-size:1.45rem}
  textarea{min-height:140px}
  .card{padding:14px}
}
