/* Clip scroll paint at the native frame's inner well; the frame and footer
   are siblings of the scroll body, so neither moves with the service text. */
.desktop-client #panel[data-native-panel=npc] .native-npc-services{overflow-x:hidden;overflow-y:auto;contain:paint;isolation:isolate;padding:12px 16px 10px;scroll-padding-block:10px;touch-action:pan-y}
.desktop-client #panel[data-native-panel=npc] .native-npc-services :is(article,section,div,form,fieldset,label,p,h2,h3){min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] .native-npc-services .bag-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center;width:100%;max-width:100%;margin:10px 0 14px}
.desktop-client #panel[data-native-panel=npc] .bag-tools label{grid-column:1/-1;width:100%;margin:0;line-height:1.6}
.desktop-client #panel[data-native-panel=npc] .bag-tools input{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:36px;min-height:36px;margin:4px 0 0;padding:4px 7px;font-size:16px}
.desktop-client #panel[data-native-panel=npc] .bag-tools button{width:100%;max-width:100%;min-width:0;min-height:36px;padding:5px 6px;white-space:normal;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] .bag-tools>span{min-width:0;max-width:100%;font-size:11px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] .npc-actions{max-width:100%}
.desktop-client #panel[data-native-panel=npc] .npc-actions>button{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] .item-row{display:flex;gap:8px;min-width:0;max-width:100%;align-items:center}
.desktop-client #panel[data-native-panel=npc] .item-row>b{flex:1;min-width:0;max-width:100%;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] .item-row>button{flex:none;max-width:48%;white-space:normal}
.desktop-client #panel[data-native-panel=npc] .item-row small{display:block;overflow-wrap:anywhere}
.desktop-client #panel[data-native-panel=npc] #close-panel{border-radius:50%;outline-offset:-2px}
@media(max-width:600px) and (orientation:landscape){
 .desktop-client #panel[data-native-panel=npc] .native-npc-services{padding:8px 10px}
 .desktop-client #panel[data-native-panel=npc] .bag-tools{gap:5px}
}
