:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e8edf7;background:#07101d;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#13233d 0,#07101d 42%,#050a12 100%)}
.shell{width:min(1180px,calc(100% - 28px));margin:28px auto 64px;display:grid;gap:18px}.card{background:rgba(13,24,42,.92);border:1px solid #263850;border-radius:18px;padding:22px;box-shadow:0 16px 44px rgba(0,0,0,.25)}
.hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.eyebrow{margin:0 0 8px;color:#6ee7b7;font-weight:800;font-size:.78rem;letter-spacing:.12em}.hero h1,.result-head h2{margin:0}.lead{max-width:780px;color:#b9c5d8;line-height:1.65}.privacy{white-space:nowrap;background:#102a24;color:#8ff0c7;border:1px solid #1d5143;border-radius:999px;padding:9px 12px;font-size:.9rem}
.drop{display:flex;min-height:190px;border:2px dashed #3f5977;border-radius:16px;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px;cursor:pointer;background:#0a1526;transition:.2s}.drop.drag,.drop:hover{border-color:#6ee7b7;background:#0d1d2e}.drop input{display:none}.drop-title{font-size:1.08rem;font-weight:800}.drop-sub{margin-top:7px;color:#8193aa;font-size:.9rem}
.options{display:grid;grid-template-columns:minmax(240px,1fr) 1fr 1fr;gap:14px;margin-top:18px}.field,.check{background:#0a1526;border:1px solid #263850;border-radius:12px;padding:13px}.field{display:grid;gap:7px}.field input{width:110px;background:#07101d;color:#fff;border:1px solid #40526b;border-radius:8px;padding:8px}.field small,.muted{color:#8fa0b6}.check{display:flex;align-items:center;gap:10px}.check input{width:18px;height:18px}.selected{margin-top:14px;line-height:1.5;word-break:break-word}.actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}button{border:0;border-radius:11px;padding:11px 16px;font-weight:800;cursor:pointer}.primary{background:#6ee7b7;color:#062219}.primary:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#1d2b40;color:#dbe6f4;border:1px solid #344963}
.progress-head,.result-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.bar{height:12px;background:#07101d;border-radius:999px;overflow:hidden;border:1px solid #273b55;margin-top:12px}.bar>div{height:100%;width:0;background:linear-gradient(90deg,#34d399,#a7f3d0);transition:width .2s}.log{max-height:250px;overflow:auto;background:#07101d;border:1px solid #22344d;border-radius:12px;padding:12px;color:#b8c6d9;white-space:pre-wrap;line-height:1.45}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.stat{background:#0a1526;border:1px solid #263850;border-radius:12px;padding:13px}.stat b{font-size:1.35rem;display:block}.stat span{color:#8fa0b6;font-size:.85rem}.table-wrap{overflow:auto;border:1px solid #263850;border-radius:12px}table{border-collapse:collapse;width:100%;font-size:.88rem}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid #22344d;vertical-align:top}th{position:sticky;top:0;background:#0b1729;color:#9fb0c7}tbody tr:last-child td{border-bottom:0}.ok{color:#7ff0c4}.warn{color:#ffd98a}.notes ul{color:#b9c5d8;line-height:1.7;padding-left:22px}
@media(max-width:820px){.hero,.result-head{flex-direction:column}.privacy{white-space:normal}.options{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}

.field select{width:100%;min-width:0;background:#07101d;color:#fff;border:1px solid #40526b;border-radius:8px;padding:8px}.privacy{white-space:normal;max-width:280px}.stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}button:disabled{opacity:.45;cursor:not-allowed}.options{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

.format-example{line-height:1.65;overflow-wrap:anywhere;padding:12px;border:1px solid #35465e;border-radius:10px}.field select{font-size:14px}.field input:disabled{opacity:.45}
