/* RaahUPSC Tools: SSC/UPSC exam tools (works with style.css + site.css) */
.sx-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0}
.sx-f{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px;flex:1 1 220px;min-width:0}
.sx-f select,.sx-f input,.sx-f textarea{font:inherit;font-weight:400;padding:10px 12px;border:1.5px solid var(--line,#d6cbb3);border-radius:6px;background:var(--bg,#fff);color:inherit;width:100%;box-sizing:border-box}
.sx-f textarea{min-height:150px;resize:vertical;line-height:1.6}
.sx-fs{border:1.5px solid var(--line,#d6cbb3);border-radius:8px;padding:10px 14px;margin:12px 0}
.sx-fs legend{font-weight:700;padding:0 6px}
.sx-chk{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-size:14px;line-height:1.4}
.sx-chk input{width:18px;height:18px;margin-top:1px;flex:none}
.sx-chk[hidden],.sx-f[hidden],.sx-row[hidden]{display:none}
.sx-note{font-size:14px;margin:8px 0;opacity:.85}
.sx-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.sx-table{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0}
.sx-table th,.sx-table td{border-bottom:1px solid var(--line,#d6cbb3);padding:8px 6px;text-align:left;vertical-align:middle}
.sx-table thead th{font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.sx-table tbody th{font-weight:600}
.sx-table tbody th small{display:block;font-weight:400;font-size:12px;opacity:.75;margin-top:2px}
.sx-table input{width:72px;padding:8px;border:1.5px solid var(--line,#d6cbb3);border-radius:6px;font:inherit;background:var(--bg,#fff);color:inherit}
.sx-table td.sx-s{white-space:nowrap;font-variant-numeric:tabular-nums}
.sx-pay td{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.sx-pay .sx-tot th,.sx-pay .sx-tot td{font-weight:800;border-top:2px solid currentColor}
.sx-err{background:#fde8e8;color:#8f1d22;border:1px solid #f3b4b4;border-radius:6px;padding:10px 12px;margin:10px 0;font-size:14px}
.sx-err[hidden]{display:none}
.sx-out{margin-top:12px}
.sx-out p{margin:8px 0;line-height:1.5}
.sx-big{display:flex;flex-direction:column;gap:2px;border:2px solid var(--seal,#b3242a);border-radius:10px;padding:14px 16px;margin:10px 0}
.sx-big span{font-size:13px;text-transform:uppercase;letter-spacing:.05em;opacity:.8}
.sx-big b{font-size:30px;line-height:1.15;font-variant-numeric:tabular-nums}
.sx-big small{font-size:13px;opacity:.85}
.sx-big.ok{border-color:#1f7a3d}.sx-big.no{border-color:#b3242a}
.ok{color:#1f7a3d}.no{color:#b3242a}
.sx-checks{padding-left:18px;margin:8px 0}.sx-checks li{margin:4px 0}
.sx-small{font-size:12.5px;opacity:.8}
.sx-timer{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:22px;min-width:84px}
.sx-passage{border:1.5px dashed var(--line,#d6cbb3);border-radius:8px;padding:12px 14px;margin:10px 0;line-height:1.75;font-size:16px;user-select:none;-webkit-user-select:none;max-height:260px;overflow:auto}
.om-bar{position:sticky;top:60px;z-index:5;background:var(--bg,#f7f2e6);padding:8px 0}
.om-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px 18px;margin:10px 0}
.om-q{display:flex;align-items:center;gap:6px}
.om-n{width:30px;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;font-size:13px}
.om-b{width:34px;height:34px;border-radius:50%;border:1.6px solid currentColor;background:transparent;color:inherit;font:600 12px/1 Inter,system-ui,sans-serif;cursor:pointer;padding:0}
.om-b.on{background:#1b2232;color:#fff;border-color:#1b2232}
:root.dark .om-b.on{background:#e8e2d4;color:#11151d;border-color:#e8e2d4}
.om-b:focus-visible{outline:2px solid var(--seal,#b3242a);outline-offset:2px}
.om-b.key{box-shadow:0 0 0 3px #1f7a3d}
.om-b.on.r-c{background:#1f7a3d;border-color:#1f7a3d;color:#fff}
.om-b.on.r-w{background:#b3242a;border-color:#b3242a;color:#fff}
.om-b.r-u{opacity:.55}
.om-b:disabled{cursor:default}
@media (max-width:520px){.sx-big b{font-size:26px}.sx-table input{width:58px}.om-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}
