*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body{margin:0;font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1d2433;background:#f6f7fb}
a{color:#1a56db}
header,footer{background:#fff;border-bottom:1px solid #e3e6ee}
footer{border-top:1px solid #e3e6ee;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;line-height:1.3;max-width:100%}
nav{display:flex;flex-wrap:wrap;gap:8px 14px}
nav a{font-size:14px}
h1{font-size:1.7rem;line-height:1.25;margin:.6em 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}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
button{background:#1a56db;color:#fff;border:0;border-radius:6px;padding:10px 16px;margin:10px 8px 0 0;cursor:pointer}
button.sec{background:#e8ecf5;color:#1d2433}
button:focus,input:focus,select:focus,textarea:focus{outline:3px solid #93b4f5;outline-offset:1px}
input:disabled,select:disabled{background:#eef0f5;color:#5b6475}
.out{background:#eef4ff;border-radius:8px;padding:12px;margin-top:12px;overflow-wrap:anywhere}
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}
.skip{position:absolute;left:8px;top:-48px;background:#fff;padding:6px 10px;border:2px solid #1a56db;z-index:10}
.skip:focus{top:8px}
h1,h2,h3,p,li,footer{overflow-wrap:anywhere}
@media (max-width:420px){
  h1{font-size:1.45rem}
  .card{padding:14px}
}
