.hm .ds .fld .hm-sg-trigger{border-bottom:0;text-decoration:none;display:inline-flex;align-items:center;gap:6px;padding:4px 0;font-size:var(--hm-fs-small);white-space:nowrap;min-height:44px}
body.hm dialog.hm-sg{box-sizing:border-box;width:min(780px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #dfd3c4;border-radius:18px;background:#fbf7f0;color:#342d29;font:15px/1.5 var(--hm-sans,system-ui);box-shadow:0 20px 80px #0003;overflow:auto;overscroll-behavior:contain}
body.hm dialog.hm-sg::backdrop{background:rgb(30 24 21 / 55%)}
.hm-sg .hm-sg__inner{padding:24px}
.hm-sg .hm-sg__header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hm-sg h2{font:600 26px/1.2 var(--hm-serif,Georgia);margin:0}
.hm-sg button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}
.hm-sg .hm-sg__close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:transparent}
.hm-sg button:focus-visible,.hm-sg__scroll:focus-visible{outline:2px solid #9c493a;outline-offset:3px}
.hm-sg .hm-sg__intro{margin:8px 0 20px;color:#675b51;font-size:14px}
.hm-sg .hm-sg__controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.hm-sg .hm-sg__styles{display:flex;gap:6px;flex-wrap:wrap}
.hm-sg .hm-sg__styles button{padding:9px 13px;min-height:44px;border:1px solid #daccb9;border-radius:9px;background:transparent}
.hm-sg .hm-sg__styles button[aria-pressed=true]{background:#342d29;border-color:#342d29;color:#fbf7f0}
.hm-sg .hm-sg__units{display:flex;border:1px solid #b8a999;border-radius:24px;overflow:hidden}
.hm-sg .hm-sg__units button{border:0;background:transparent;min-height:44px;min-width:55px;padding:8px 12px}
.hm-sg .hm-sg__units button[aria-pressed=true]{background:#342d29;color:#fbf7f0}
.hm-sg [hidden]{display:none!important}
.hm-sg .hm-sg__scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #ded4c5;border-radius:10px}
.hm-sg table{border-collapse:separate;border-spacing:0;width:100%;min-width:470px;font-size:14px;text-align:center;margin:0}
.hm-sg th,.hm-sg td{padding:11px 12px;border-bottom:1px solid #e4dbce;white-space:nowrap;text-align:center}
.hm-sg thead th{background:#eee6d9;font-weight:600}
.hm-sg tbody th{position:sticky;inset-inline-start:0;background:#fbf7f0;font-weight:600;z-index:1}
.hm-sg tr:last-child>*{border-bottom:0}
.hm-sg tr[data-selected]>*{background:#f1dfd3}
.hm-sg .hm-sg__note,.hm-sg .hm-sg__hint{font-size:12px;color:#675b51;margin:12px 0 0}
.hm-sg .hm-sg__hint{display:none}
.hm-sg .hm-sg__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){body.hm dialog.hm-sg{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:14px}.hm-sg .hm-sg__inner{padding:16px}.hm-sg h2{font-size:24px}.hm-sg .hm-sg__styles{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hm-sg .hm-sg__styles button{padding:9px 6px;font-size:13px}.hm-sg .hm-sg__hint{display:block}.hm-sg th,.hm-sg td{padding:10px}.hm-sg .hm-sg__controls{gap:12px}}
