*{box-sizing:border-box}body{font:15px/1.5 system-ui,sans-serif;margin:0;color:#1f2937;background:#f3f4f6}
.top{display:flex;gap:1rem;align-items:center;background:#111827;color:#fff;padding:.6rem 1rem}.top nav{display:flex;gap:1rem;flex:1}.top a{color:#d1d5db}.top form{margin:0;display:flex;gap:.5rem;align-items:center}
.wrap{max-width:1100px;margin:1.5rem auto;background:#fff;border-radius:8px;padding:1.5rem;overflow-x:auto}
.guest{display:grid;place-items:center;min-height:100vh}.card{background:#fff;padding:2rem;border-radius:8px;width:min(92vw,420px)}
label{display:block;margin:.6rem 0}input,select{display:block;width:100%;padding:.5rem;border:1px solid #9ca3af;border-radius:4px;margin-top:.2rem}
td input[type=checkbox]{display:inline;width:auto}td select{width:auto;display:inline;font-size:.75rem}
button{padding:.5rem 1rem;border:0;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #f59e0b}
table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid #e5e7eb;padding:.4rem;text-align:left}.err{background:#fee2e2;color:#991b1b;padding:.5rem;border-radius:4px}
.inline{display:inline}.codes{columns:2;list-style:none;padding:0}.wrapcode{word-break:break-all}

.ok{background:#dcfce7;color:#166534;padding:.5rem;border-radius:4px}.notice{background:#fef9c3;color:#713f12;padding:.6rem;border-radius:4px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin:1rem 0}.tile{border:1px solid #e5e7eb;border-radius:8px;padding:1rem;margin:.5rem 0}
.plain{list-style:none;padding:0;margin:.5rem 0}.big{font-size:1.2rem;font-weight:600}.badge{display:inline-block;background:#e0e7ff;color:#1e3a8a;border-radius:999px;padding:.05rem .6rem;font-size:.8rem}
.bar{display:flex;justify-content:space-between;align-items:center}.btn{background:#2563eb;color:#fff;padding:.5rem 1rem;border-radius:4px;text-decoration:none}
.filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end;margin:1rem 0}.filters label{margin:0;min-width:160px}.row{margin:.4rem 0}.stack label{max-width:420px}
progress{width:100%;height:1rem}fieldset{border:1px solid #d1d5db;border-radius:4px;margin:.6rem 0;max-width:420px}.danger{background:#b91c1c}.pager{margin-top:1rem}
td form.inline input{display:inline;width:auto}small{color:#6b7280}
pre.draft{white-space:pre-wrap;background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:.6rem}textarea{width:100%;padding:.5rem;border:1px solid #9ca3af;border-radius:4px}details{margin:.6rem 0}
