/* One compact state vocabulary across equipment, party and warehouse. */
.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page .ff-equipment-lock{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;flex:none!important;width:28px;min-width:28px!important;height:28px;min-height:28px!important;margin:0 4px!important;padding:2px!important;border:1px solid #718091!important;border-radius:3px!important;background:#252e38!important;color:#d7e0eb!important;box-shadow:none!important;vertical-align:middle;line-height:1!important;letter-spacing:normal!important;font:inherit}
.ff-equipment-lock.is-locked,.rpg-full-window #ff-shell #ff-content-page .ff-equipment-lock.is-locked{border-color:#75cba7!important;background:#183e32!important;color:#bdf7dc!important}
.ff-equipment-lock svg{display:block!important;flex:none!important;width:22px!important;height:22px!important;max-width:none!important;color:inherit!important}
button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page button.ff-equipment-lock{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:6px!important;margin:0!important;cursor:pointer;touch-action:manipulation}
button.ff-equipment-lock:hover{filter:brightness(1.2)}
button.ff-equipment-lock:focus-visible,.rpg-full-window #ff-shell #ff-content-page button.ff-equipment-lock:focus-visible{outline:2px solid #f2e6b7!important;outline-offset:2px!important}
button.ff-equipment-lock:disabled{opacity:.55;cursor:wait}
@media(pointer:coarse),(max-width:650px){button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page button.ff-equipment-lock{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}}
/* The lock control replaces the duplicate state heading and wide action button. */
.el-shell .el-row{grid-template-columns:minmax(0,1fr) 36px!important;gap:7px!important;padding:5px!important;border:0!important;border-bottom:1px solid #354431!important;box-shadow:none!important;background:transparent!important}
.el-shell .el-list{gap:0!important;padding:4px!important}
.el-shell .el-item{min-width:0}.el-shell .el-meta{margin-top:3px;color:#b9c5b2;font-size:11px}
.rpg-full-window #ff-shell #ff-content-page .el-shell .inventory-equipment-label{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;padding:5px 7px!important;font-size:14px!important;line-height:1.4!important}
.rpg-full-window #ff-shell #ff-content-page .el-shell .inventory-quality-name{font-size:14px!important;line-height:1.4!important;min-width:0;flex:1 1 9em}
.rpg-full-window #ff-shell #ff-content-page .el-shell .rpg-quality-badge{margin:0!important;font-size:11px!important;min-height:20px!important;padding:1px 5px!important}
.el-shell .inventory-type-icon{flex-basis:24px}
.rpg-slot-row .ff-equipment-lock{margin-left:4px!important}
.cr-gear-slot .ff-equipment-lock,.cr-gear-option .ff-equipment-lock{align-self:center;justify-self:end}
@media(max-width:650px){.el-shell .el-grid{grid-template-columns:1fr!important}}
@media(pointer:coarse),(max-width:650px){.el-shell .el-row{grid-template-columns:minmax(0,1fr) 44px!important}}

/* Secondary lock actions sit at the right edge, separate from equip/select buttons. */
.ff-lock-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px;align-items:center;min-width:0}
.ff-lock-line[hidden]{display:none!important}
.ff-lock-line>:first-child{min-width:0;width:100%;margin:0!important}
.ff-lock-line .ff-equipment-lock,.wh-shell button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page .ff-lock-line button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page .wh-shell button.ff-equipment-lock{border-color:transparent!important;background:transparent!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:7px!important;color:#9eacb5!important}
.ff-lock-line .ff-equipment-lock.is-locked,.wh-shell button.ff-equipment-lock.is-locked,.rpg-full-window #ff-shell #ff-content-page .ff-lock-line button.ff-equipment-lock.is-locked,.rpg-full-window #ff-shell #ff-content-page .wh-shell button.ff-equipment-lock.is-locked{color:#8bc6a8!important}
.ff-lock-line .ff-equipment-lock svg,.wh-shell .ff-equipment-lock svg{width:18px!important;height:18px!important}
.ff-lock-notice{grid-column:1/-1;min-width:0;font:inherit;font-size:12px!important;margin:3px 8px!important;color:#bdf7dc!important}.ff-lock-notice.is-error{color:#ffcfab!important}
.wh-name{min-width:0}.wh-row>span:last-child{display:flex;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end}
.cr-gear-slots>.ff-lock-line{grid-column:1/-1}
@media(pointer:coarse),(max-width:650px){.ff-lock-line .ff-equipment-lock,.wh-shell button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page .ff-lock-line button.ff-equipment-lock,.rpg-full-window #ff-shell #ff-content-page .wh-shell button.ff-equipment-lock{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}}
