#ov-apot.nht-pot87{padding:8px;box-sizing:border-box}
#ov-apot.nht-pot87>.sheet{width:min(540px,calc(100vw - 16px));max-width:min(540px,calc(100vw - 16px));height:auto;min-height:0;max-height:calc(100dvh - 16px)}
#ov-apot.nht-pot87 .sheet-h{padding:8px 12px;min-height:38px;box-sizing:border-box}
#ov-apot.nht-pot87 .sheet-h h3{font-size:16px;margin:0}
#ov-apot.nht-pot87 .sheet-b{padding:10px;min-height:0;overflow:auto}
#ov-apot.nht-pot87 #apot-box{font-size:12px}
#ov-apot.nht-pot87 .abox{padding:9px 10px;margin:0;min-width:0;box-sizing:border-box}
#ov-apot.nht-pot87 .sec-h{font-size:11px;letter-spacing:.3px;margin:0 0 5px}
#ov-apot.nht-pot87 .nht-pot-top87{display:flex;align-items:center;gap:10px;margin-bottom:8px}
#ov-apot.nht-pot87 #p-tog{width:126px;flex:0 0 126px;min-height:32px;padding:5px 8px;font-size:12px}
#ov-apot.nht-pot87 #p-tog[aria-pressed=true]{border-color:#bd9a48;color:#f3d98a;background:#44351c}
#ov-apot.nht-pot87 .nht-pot-top87 .muted{font-size:11px!important;line-height:1.4;margin:0!important}
#ov-apot.nht-pot87 .nht-pot-settings87{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#ov-apot.nht-pot87 .nht-hp-head77,#ov-apot.nht-pot87 .nht-hp-row77{grid-template-columns:42px minmax(66px,1fr) minmax(90px,1fr);gap:7px;margin:4px 0}
#ov-apot.nht-pot87 .nht-hp-head77{font-size:10px}
#ov-apot.nht-pot87 .nht-hp-row77{font-size:11px}
#ov-apot.nht-pot87 .input{font-size:12px;min-height:30px;padding:4px 7px;box-sizing:border-box}
#ov-apot.nht-pot87 .nht-hp-row77 input{padding:4px 7px;min-height:30px}
#ov-apot.nht-pot87 .arow{display:grid;grid-template-columns:116px minmax(0,1fr);gap:8px;align-items:center;min-width:0;min-height:30px;margin:4px 0;font-size:11.5px}
#ov-apot.nht-pot87 .arow>span:last-child{justify-self:end}
#ov-apot.nht-pot87 .arow:has(>input[data-pn]){grid-template-columns:minmax(0,1fr) 64px 14px;gap:5px}
#ov-apot.nht-pot87 .arow em{margin:0;font-size:11px;font-style:normal;text-align:right;color:var(--ink-dim)}
#ov-apot.nht-pot87 .arow select{width:100%;max-width:100%;min-width:0}
#ov-apot.nht-pot87 input[data-pn]{width:64px;max-width:100%;min-height:30px}
#ov-apot.nht-pot87 .nht-pot-flags87{display:flex;flex-wrap:wrap;gap:1px 12px;align-items:center;margin:3px 0}
#ov-apot.nht-pot87 .nht-pot-flags87 label{display:flex;align-items:center;gap:6px;font-size:11px;min-height:28px;margin:0;padding:2px 0;box-sizing:border-box}
#ov-apot.nht-pot87 .nht-pot-flags87 input{margin:0;width:15px;height:15px}
#ov-apot.nht-pot87 .nht-pot-help87{font-size:10.5px;line-height:1.4;margin:5px 0;color:var(--ink-dim)}
#ov-apot.nht-pot87 .nht-pot-help87 summary{cursor:pointer;min-height:22px;padding:2px 0;box-sizing:border-box}
#ov-apot.nht-pot87 .nht-pot-help87 .nht-hp-help77{font-size:10.5px;line-height:1.4;margin:4px 0 7px}
#ov-apot.nht-pot87 .nht-pot-count87{font-size:10.5px!important;line-height:1.4;margin:7px 1px 0}
@media(max-height:520px) and (min-width:640px){
 #ov-apot.nht-pot87>.sheet{width:min(760px,calc(100vw - 16px));max-width:min(760px,calc(100vw - 16px))}
 #ov-apot.nht-pot87 .sheet-h{padding:5px 10px;min-height:34px}
 #ov-apot.nht-pot87 .sheet-b{padding:7px 9px}
 #ov-apot.nht-pot87 .nht-pot-settings87{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start}
 #ov-apot.nht-pot87 .abox{padding:7px 8px}
 #ov-apot.nht-pot87 .nht-pot-top87{margin-bottom:6px}
 #ov-apot.nht-pot87 .arow{grid-template-columns:100px minmax(0,1fr);gap:5px;margin:3px 0}
 #ov-apot.nht-pot87 .nht-pot-count87{margin-top:5px}
}
@media(max-width:360px){
 #ov-apot.nht-pot87 .arow{grid-template-columns:100px minmax(0,1fr);gap:5px}
 #ov-apot.nht-pot87 .nht-hp-head77,#ov-apot.nht-pot87 .nht-hp-row77{grid-template-columns:38px minmax(60px,1fr) minmax(80px,1fr);gap:5px}
 #ov-apot.nht-pot87 #p-tog{width:116px;flex-basis:116px}
}
