/* Shared Forge grip and move feedback, adopted from Commerce category ordering. */
body .forge-reorder-handle.forge-reorder-handle{box-sizing:border-box;display:inline-grid!important;place-items:center;flex:0 0 42px!important;width:42px!important;height:44px!important;min-height:44px!important;padding:10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#777;cursor:grab;touch-action:none;user-select:none;font-size:0!important;line-height:1!important}
body .forge-reorder-handle.forge-reorder-handle::before{content:''!important;display:block!important;width:20px;height:24px;background:currentColor;mask:url('reorder-grip.svg') center/20px 24px no-repeat;-webkit-mask:url('reorder-grip.svg') center/20px 24px no-repeat}
body .forge-reorder-handle.forge-reorder-handle>img,body .forge-reorder-handle.forge-reorder-handle>span,body .forge-reorder-handle.forge-reorder-handle>svg{display:none!important}
body .forge-reorder-handle:not(:disabled):not([aria-disabled=true]):hover{background:#f1f1ed!important;color:#222}
body .forge-reorder-handle:focus-visible{outline:2px solid #ff5a1f!important;outline-offset:2px}
body .forge-reorder-handle:disabled,body .forge-reorder-handle[aria-disabled=true]{cursor:default;opacity:.4}
body .forge-reorder-row.is-forge-dragging,body .structure-row.is-dragging{opacity:1!important;background:#fff0e7!important;box-shadow:inset 3px 0 #ff5a1f!important}
body .is-forge-dragging .forge-reorder-handle,body .structure-row.is-dragging .forge-reorder-handle{cursor:grabbing;color:#ff5a1f}
body .forge-reorder-handle[hidden]{display:none!important}
body .foundry-order-item{grid-template-columns:44px minmax(0,1fr) 130px 116px 138px;height:auto;min-height:68px;padding-block:12px}
body .foundry-option-row{grid-template-columns:44px minmax(0,1fr)}
body .fb-choice{grid-template-columns:44px minmax(0,1fr)}
body .faithful-editor .content-item>summary{padding-left:64px}
body .faithful-editor .item-fields{padding-left:64px}
body .foundry-media-choice{position:relative}
body .forge-gallery-grip.forge-gallery-grip{position:absolute!important;top:14px;right:14px;background:#fff!important;box-shadow:0 1px 5px #0002}
@media(max-width:700px){body .foundry-order-item{grid-template-columns:44px minmax(0,1fr);gap:10px}body .foundry-order-item .foundry-status{grid-column:2}body .foundry-order-item [data-move]{grid-column:2}body .foundry-order-item .foundry-drag{grid-row:1/5}body .faithful-editor .item-fields{padding-left:24px;padding-right:16px}}

body .fb-inspector[data-field-type=checkboxes] .fb-choice{grid-template-columns:44px minmax(0,1fr) max-content}
/* Ordered collections grow with their content rather than overflowing a fixed demo height. */
body .foundry-order-panel{height:auto;min-height:0}
body .foundry-order-list{min-width:0}
