body.selection-enabled #shared-selections{max-width:100%;margin:1rem auto}body.selection-enabled [data-shared-native-candidate]{display:none}body.selection-enabled .selection-group{border:1px solid #bad1d6;border-radius:6px;margin:12px 0;padding:10px;min-width:0}body.selection-enabled .selection-group summary{cursor:pointer;min-height:48px;font-weight:600;overflow-wrap:anywhere;display:flex;align-items:center}body.selection-enabled .selection-group label{display:flex;align-items:center;gap:8px;min-height:48px;padding:7px 2px;white-space:normal;overflow-wrap:anywhere}body.selection-enabled .selection-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:4px}body.selection-enabled .selection-group select{width:100%;max-width:100%;min-height:48px;margin:6px 0}body.selection-enabled .selection-group input[type=checkbox],body.selection-enabled .selection-group input[type=radio]{display:inline-block;appearance:auto;position:static;opacity:1;width:20px;height:20px;min-width:20px;min-height:20px;margin:3px 0;clip:auto;visibility:visible;flex:0 0 auto}body.selection-enabled .selection-status{padding:12px;border-left:4px solid #467d8e;overflow-wrap:anywhere;font-size:13px;background:#eef8fa}body.selection-enabled .selection-confirm{max-width:min(94vw,540px);border:1px solid #467d8e;padding:20px}body.selection-enabled .selection-confirm p{white-space:pre-wrap;overflow-wrap:anywhere}body.selection-enabled button{min-height:44px}body.selection-enabled .selection-confirm button{margin:8px;min-height:48px}body.selection-enabled :is(input,select,textarea,button):focus-visible{outline:3px solid #b56b15;outline-offset:2px}body.selection-enabled .selection-en,body.selection-enabled .shared-description{display:block;font-size:.8em;line-height:1.5;overflow-wrap:anywhere}body.selection-enabled [data-selection-revision]{font-size:.85em;overflow-wrap:anywhere}
@media(max-width:1199px){body.selection-enabled{padding-bottom:calc(var(--selection-nav-space,100px) + env(safe-area-inset-bottom,0px))}html:has(body.selection-enabled){scroll-padding-bottom:calc(var(--selection-nav-space,100px) + env(safe-area-inset-bottom,0px))}body.selection-enabled :is(input,textarea,select){scroll-margin-bottom:calc(var(--selection-nav-space,100px) + env(safe-area-inset-bottom,0px))}body.selection-enabled.selection-editing .generator-floating-nav{visibility:hidden;pointer-events:none}body.selection-enabled .generator-floating-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 24px)}}

@media(max-width:1199px){body.selection-enabled .generator-floating-nav:not(.is-open){width:66px;padding:6px}body.selection-enabled .generator-floating-nav:not(.is-open) .gfn-controls{grid-template-columns:1fr}body.selection-enabled .generator-floating-nav:not(.is-open) :is([data-gfn-top],[data-gfn-result]){display:none}body.selection-enabled .generator-floating-nav:not(.is-open) [data-gfn-toggle]{font-size:0;min-height:48px;padding:6px}body.selection-enabled .generator-floating-nav:not(.is-open) [data-gfn-toggle]::before{content:"目次";font-size:12px}body.selection-enabled .generator-floating-nav.is-open{width:min(300px,calc(100vw - 24px))}}
body.selection-enabled [data-selection-category-jump]{max-width:100%;width:100%;min-height:48px;margin:8px 0}body.selection-enabled .selection-group{scroll-margin-top:20px}
