.sped-dialog{font:14px/1.5 system-ui,sans-serif;width:96vw;max-width:1600px;height:92vh;max-height:94vh;padding:0;border:1px solid #64748b;border-radius:12px;background:var(--panel,#fff);color:var(--text,#15223b)}
.sped-dialog::backdrop{background:#0f172a99}.sped-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid #94a3b8}.sped-dialog h2{margin:0;font-size:21px}.sped-body{padding:16px 20px;overflow:auto;height:calc(100% - 65px);box-sizing:border-box}.sped-dialog button,.sped-dialog input{font:inherit;color:inherit;border:1px solid #94a3b8;background:var(--panel,#fff);border-radius:5px;padding:7px 10px}.sped-dialog button{cursor:pointer}.sped-dialog button:disabled{opacity:.45;cursor:default}.sped-dialog button:focus-visible,.sped-dialog input:focus-visible{outline:3px solid #3b82f6;outline-offset:2px}.sped-tabs{display:flex;gap:6px;overflow:auto;padding:10px 0;position:sticky;top:0;background:var(--panel,#fff);z-index:2}.sped-tabs button{white-space:nowrap}.sped-tabs button[aria-pressed=true]{background:#175cc7;color:#fff}.sped-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.sped-toolbar h3{margin:0 auto 0 0}.sped-grid{overflow:auto;max-height:52vh;border:1px solid #94a3b8}.sped-grid table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:13px}.sped-grid th{position:sticky;top:0;background:var(--panel,#edf3fc);z-index:1;border-bottom:2px solid #94a3b8}.sped-grid th,.sped-grid td{padding:7px 10px;border-right:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;white-space:pre-wrap;max-width:440px;min-width:90px;overflow-wrap:anywhere}.sped-grid th button{border:0;white-space:nowrap;font-weight:600}.sped-grid th input{width:140px;box-sizing:border-box}.sped-grid thead tr:nth-child(2) th{top:44px}.sped-grid .sped-value{text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.sped-warning{color:var(--text,#754800);background:#f5b94233;padding:10px;border-radius:6px}.sped-dialog details{padding:8px;background:#64748b15}.sped-dialog details p{max-width:1100px;font-size:13px}

.sped-selection{padding:16px;border:1px solid #94a3b8;border-radius:8px;background:#64748b08;margin:12px 0}.sped-selection h3{margin-top:0}.sped-checklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;max-height:36vh;overflow:auto;padding:6px}.sped-check{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid #94a3b866;border-radius:5px;cursor:pointer}.sped-check input{width:18px;height:18px;accent-color:#175cc7;padding:0;flex:none}.sped-save-note{padding:10px;background:#175cc710;border-radius:5px}.sped-dialog [hidden]{display:none!important}
