.arfpd-editor-tools .arfpd-utilities{display:flex;align-items:center;gap:4px;order:-1;margin-right:auto;flex-shrink:0}
.arfpd-editor-tools .arfpd-utilities .arfpd-tool,.arfpd-editor-tools .arfpd-utilities .arfpd-help{position:static!important;width:44px;height:44px;min-width:44px;border:0!important;border-radius:9px!important;background:transparent!important;color:#fff!important;padding:0!important;margin:0!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:21px}
.arfpd-editor-tools .arfpd-tool i{pointer-events:none;font-size:21px}
.arfpd-editor-tools .arfpd-utilities .arfpd-help{order:0!important}
.arfpd-editor-tools .arfpd-tool:disabled{opacity:.3;cursor:default}
.arfpd-editor-tools .arfpd-tool:hover:not(:disabled),.arfpd-editor-tools .arfpd-help:hover{background:#303030!important}
.arfpd-editor-tools .arfpd-tool:focus-visible,.arfpd-editor-tools .arfpd-help:focus-visible{outline:2px solid white;outline-offset:1px}
.arfpd-restoring fpd-main-bar,.arfpd-restoring fpd-main-wrapper{pointer-events:none}
.arfpd-editor-tools .fpd-zoom-wrapper{box-sizing:border-box;width:350px;max-width:calc(100% - 16px);left:50%;top:8px;transform:translateX(-50%);display:grid;grid-template-columns:minmax(60px,1fr) 44px 44px 44px;gap:4px;align-items:center;padding:8px;background:#fff;border:1px solid #ddd;border-radius:12px;box-shadow:0 4px 20px #0002;z-index:30}
.arfpd-editor-tools .arfpd-zoom-value{grid-column:1/-1;font:600 12px/1.3 sans-serif;color:#444}
.arfpd-editor-tools .fpd-zoom-wrapper .fpd-stage-pan,.arfpd-editor-tools .fpd-zoom-wrapper .fpd-close,.arfpd-editor-tools .arfpd-fit{position:static;transform:none;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;box-sizing:border-box;margin:0;padding:0;border:0;background:#f4f4f4;border-radius:8px;font-size:18px;color:#222;cursor:pointer}
.arfpd-editor-tools .fpd-zoom-wrapper .fpd-stage-pan.fpd-active{background:#222;color:#fff}
.arfpd-editor-tools .fpd-zoom-wrapper input[type=range]{width:100%;margin:0;min-height:44px;cursor:pointer}
.arfpd-editor-tools .arfpd-help-dialog{overflow:hidden!important}
.arfpd-editor-tools .arfpd-help-dialog>.fpd-modal-inner{width:700px;max-width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);min-height:0;top:50%;transform:translate(-50%,-50%);padding:0;overflow:hidden;border-radius:14px;box-shadow:0 12px 60px #0005}
.arfpd-editor-tools .arfpd-help-dialog .fpd-modal-content{box-sizing:border-box;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;text-align:left;padding:24px;color:#222}
.arfpd-editor-tools .arfpd-help-dialog .fpd-modal-close{position:absolute;top:8px;right:8px;min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#f2f2f2;border-radius:50%;z-index:2;cursor:pointer;color:#333;font-size:19px}
.arfpd-help-content{font:14px/1.5 Arial,sans-serif}
.arfpd-help-content header{padding-right:42px;margin-bottom:20px}
.arfpd-help-eyebrow{font-size:10px;letter-spacing:.1em;color:#777;font-weight:700}
.arfpd-help-content h2{font:700 23px/1.2 Arial,sans-serif;margin:5px 0 8px;color:#171717}
.arfpd-help-content p{margin:0 0 8px;font-size:14px;line-height:1.5}
.arfpd-help-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.arfpd-help-steps section{min-width:0}
.arfpd-help-steps h3{display:flex;align-items:center;gap:8px;font:700 15px/1.4 Arial,sans-serif;color:#222;margin:0 0 6px}
.arfpd-help-steps h3 i{font-size:18px;color:#555;flex-shrink:0}
.arfpd-help-steps section:last-child{grid-column:1/-1;border-top:1px solid #eee;padding-top:14px}
@media(max-width:550px){.arfpd-editor-tools .arfpd-help-dialog .fpd-modal-content{padding:18px}.arfpd-help-content h2{font-size:21px}.arfpd-help-steps{grid-template-columns:1fr;gap:14px}.arfpd-help-content header{margin-bottom:16px}}
@media(max-width:1100px){
 .arfpd-editor-tools fpd-actions-bar{display:grid!important;grid-template-columns:auto 1fr 44px;gap:8px!important;align-items:center}
 .arfpd-editor-tools fpd-actions-bar>[data-pos=modal]{display:contents!important}
 .arfpd-editor-tools .arfpd-utilities{grid-row:1;grid-column:1;margin:0}
 .arfpd-editor-tools .arfpd-completion-controls{grid-row:2;grid-column:1/-1}
 .arfpd-editor-tools .arfpd-accept{grid-row:1;grid-column:2;justify-self:end}
 .arfpd-editor-tools fpd-actions-bar .fpd-close:not(.fpd-done){grid-row:1;grid-column:3}
}
@media(max-width:650px){
 .arfpd-editor-tools fpd-actions-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0!important;gap:8px!important;padding:8px 10px!important}
 .arfpd-editor-tools .arfpd-utilities{grid-row:1;grid-column:1/-1;justify-self:start}
 .arfpd-editor-tools .arfpd-completion-controls{display:contents!important}
 .arfpd-editor-tools .arfpd-quantity{grid-row:2;grid-column:1;justify-self:start}
 .arfpd-editor-tools .arfpd-prices{grid-row:2;grid-column:2;min-width:0}
 .arfpd-editor-tools .arfpd-cart{grid-row:3;grid-column:1;width:100%;padding:0 7px!important;font-size:11px!important;min-width:0;gap:5px}
 .arfpd-editor-tools .arfpd-accept{grid-row:3;grid-column:2;width:100%;box-sizing:border-box;padding:0 6px!important;gap:4px;white-space:normal;justify-content:center}
 .arfpd-editor-tools .arfpd-accept .fpd-label{font-size:11px!important;white-space:normal}
 .arfpd-editor-tools fpd-actions-bar .fpd-close:not(.fpd-done){grid-row:1;grid-column:2;justify-self:end}
}
