:root { --fg:#1d232b; --muted:#5b6672; --acc:#0b6e4f; --bg:#fff; --line:#dde3e8; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--fg); background:var(--bg); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.wrap { display:flex; justify-content:space-between; align-items:center; padding-top:16px; }
.brand { font-weight:700; margin:0; } .brand a { color:inherit; text-decoration:none; }
a { color: var(--acc); }
h1 { font-size: 2rem; line-height:1.2; } h2 { font-size: 1.25rem; margin-top: 2rem; }
.lead { font-size:1.15rem; color:var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.btn { display:inline-block; background:var(--acc); color:#fff; padding:.6em 1.1em; border-radius:6px; text-decoration:none; border:0; font:inherit; cursor:pointer; }
.btn.ghost { background:#fff; color:var(--acc); border:1px solid var(--acc); }
.badge { font-size:.7rem; background:#fff3cd; color:#7a5b00; border:1px solid #e6c766; padding:2px 6px; border-radius:4px; vertical-align:middle; }
.tiers { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.tier { border:1px solid var(--line); border-radius:8px; padding:0 16px 8px; }
.notice { background:#eef7f2; border:1px solid #cfe6da; padding:10px 12px; border-radius:6px; }
.drop { border:2px dashed var(--line); border-radius:8px; padding:24px; text-align:center; }
.drop.over { border-color: var(--acc); background:#f3faf6; }
.status.ok { color: var(--acc); } .status.err { color:#a3261d; font-weight:600; }
.mapgrid { display:grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap:10px; }
.mapcol { display:flex; flex-direction:column; gap:4px; border:1px solid var(--line); border-radius:6px; padding:8px; }
.mapcol small { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.colname { font-weight:600; }
.opts { display:grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap:10px 16px; }
.opts label { display:flex; flex-direction:column; gap:4px; font-size:.95rem; }
.opts label.chk { flex-direction:row; align-items:center; }
input[type=text], input[type=number], select { font:inherit; padding:4px 6px; }
.scroll { overflow:auto; max-height: 480px; border:1px solid var(--line); }
table { border-collapse: collapse; font-size:.85rem; }
th, td { border-bottom:1px solid var(--line); padding:4px 8px; text-align:left; white-space:nowrap; }
th { position: sticky; top:0; background:#f6f8fa; }
footer.wrap { margin-top:3rem; padding-bottom:2rem; border-top:1px solid var(--line); }
header.wrap { flex-wrap: wrap; gap: 8px 16px; }
nav.tools a { margin-left: 12px; white-space: nowrap; } nav.tools a[aria-current] { font-weight: 600; color: var(--fg); text-decoration: none; }
.langs { font-size: .85rem; margin: 6px auto 0; } .langs a, .langs span[aria-current] { margin-right: 10px; } .langs span[aria-current] { font-weight: 600; }
.cards h3 { margin-bottom: .3rem; }
#mwarn li { margin: 2px 0; }
[hidden] { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
