.rl-sg{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-width:540px;max-height:calc(100dvh - 48px);margin:auto;padding:32px;border:0;border-radius:12px;background:var(--rl-sg-bg,#fdfbf9);color:var(--rl-sg-ink,#013064);box-shadow:0 20px 80px #0004;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;text-align:left}
.rl-sg:not([open]){display:none}
.rl-sg::backdrop{background:rgb(8 24 35 / .58)}
.rl-sg h2{margin:0 42px 12px 0;padding:0;color:inherit;font-size:28px;line-height:1.2;text-transform:none;letter-spacing:0}
.rl-sg p.rl-sg-note{margin:0 0 22px;color:inherit;font-size:13px;line-height:1.6}
.rl-sg button{box-sizing:border-box;float:none;margin:0;font:inherit;color:inherit;cursor:pointer;text-transform:none;letter-spacing:0}
.rl-sg .rl-sg-close{position:absolute;right:12px;top:12px;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;color:inherit;font-size:30px;line-height:44px}
.rl-sg-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.rl-sg-category{flex:1;max-width:250px}
.rl-sg-category label{display:block;margin:0 0 6px;font-size:12px;font-weight:600;color:inherit}
.rl-sg-category select{display:block;box-sizing:border-box;width:100%;max-width:100%;height:44px;min-height:44px;margin:0;padding:8px 30px 8px 12px;border:1px solid var(--rl-sg-ink);border-radius:4px;background-color:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.rl-sg-units{display:flex;gap:0;border:1px solid var(--rl-sg-ink);border-radius:5px;overflow:hidden;flex:none}
.rl-sg-units button{min-width:46px;min-height:42px;padding:8px;border:0;border-radius:0;background:transparent;font-size:13px;font-weight:700}
.rl-sg-units button[aria-pressed=true]{background:var(--rl-sg-ink);color:#fff}
.rl-sg .rl-sg-panel[hidden]{display:none!important}
.rl-sg table{display:table;box-sizing:border-box;width:100%;table-layout:auto;margin:0;border-collapse:collapse;border:0;border-radius:8px;background:var(--rl-sg-table);color:inherit;font-size:13px;line-height:1.5}
.rl-sg th,.rl-sg td{width:auto!important;float:none!important;padding:12px 14px;border:0;border-bottom:1px solid #c4c8cf;background:transparent;color:inherit;text-align:center;vertical-align:middle;font-size:13px}
.rl-sg thead th{font-weight:700;font-size:11px;line-height:1.5}
.rl-sg tbody th{width:38%!important;font-weight:600;text-align:left}
.rl-sg tbody td{white-space:nowrap}
.rl-sg tbody tr:last-child th,.rl-sg tbody tr:last-child td{border-bottom:0}
.rl-sg tr.is-selected{outline:2px solid var(--rl-sg-ink);outline-offset:-2px}
.rl-sg p.rl-sg-depth-note{margin:14px 0 0;font-size:11px;line-height:1.6;color:inherit}
.rl-sg button:focus-visible,.rl-sg select:focus-visible{outline:2px solid var(--rl-sg-ink);outline-offset:3px}
@media(max-width:480px){.rl-sg{width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:24px 18px;border-radius:10px}.rl-sg h2{font-size:25px}.rl-sg-controls{gap:12px}.rl-sg th,.rl-sg td{padding:11px 9px;font-size:12px}.rl-sg tbody th{width:35%!important}.rl-sg thead th{font-size:10px}.rl-sg-category{max-width:200px}.rl-sg-category select{font-size:13px}}



.rl-sg p.rl-sg-type{margin:0;max-width:65%;font-size:15px;line-height:1.4;font-weight:600;color:inherit}
.rl-sg--set{width:min(800px,calc(100% - 32px));max-width:800px}
.rl-sg-set-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #ded8d0;border-radius:6px;overflow:hidden}
.rl-sg-set-card{min-width:0;background:var(--rl-sg-bg);border-bottom:1px solid #ded8d0}
.rl-sg-set-card:nth-child(odd){border-right:1px solid #ded8d0}
.rl-sg-set-card:nth-last-child(-n+2){border-bottom:0}
.rl-sg-set-card h3{padding:9px 10px;margin:0;background:var(--rl-sg-table);color:inherit;font-size:13px;line-height:1.4;font-weight:700;text-align:center;text-transform:none;letter-spacing:0}
.rl-sg-set-card dl{display:block;margin:0;padding:10px 12px}
.rl-sg-set-card dl>div{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:10px;padding:9px 0}
.rl-sg-set-card dt,.rl-sg-set-card dd{display:block;float:none;clear:none;width:auto;margin:0;padding:0;color:inherit;font-size:12px;line-height:1.45;font-weight:400;text-align:left}
.rl-sg-set-card dd{white-space:nowrap}
.rl-sg-set-card.is-selected{outline:2px solid var(--rl-sg-ink);outline-offset:-2px;position:relative;z-index:1}
.rl-sg p.rl-sg-unit-note{margin:12px 0 0;color:inherit;font-size:11px;line-height:1.5}
@media(max-width:600px){.rl-sg--set{width:calc(100% - 24px);padding:24px 18px}.rl-sg-set-grid{grid-template-columns:1fr}.rl-sg-set-card:nth-child(odd){border-right:0}.rl-sg-set-card:nth-last-child(2){border-bottom:1px solid #ded8d0}.rl-sg-set-card dt,.rl-sg-set-card dd{font-size:12px}.rl-sg-set-card dl>div{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}

