
dialog.fpmt{position:fixed;inset:var(--fpmt-top,64px) var(--fpmt-right,12px) var(--fpmt-bottom,12px) auto;margin:0;width:360px;max-width:calc(100vw - 24px);height:auto;max-height:none;padding:0;border:1px solid #E6E8EC;border-radius:20px;background:#fff;color:#15181E;font-family:Manrope,system-ui,sans-serif;box-shadow:0 16px 48px rgba(21,24,30,.16);display:none;flex-direction:column;overflow:hidden;z-index:2147481000}
dialog.fpmt[open]{display:flex}
.fpmt-h{display:flex;align-items:center;gap:10px;padding:16px 16px 8px;flex:none}
.fpmt-h b{flex:1;font-size:17px;font-weight:700}
.fpmt-x{width:32px;height:32px;border:0;border-radius:16px;background:#EFF1F4;color:#15181E;display:inline-grid;place-items:center;cursor:pointer;position:relative;padding:0}
.fpmt-x::after{content:"";position:absolute;inset:-8px}
.fpmt-x svg{width:16px;height:16px}
.fpmt-body{flex:1;min-height:0;overflow:auto;padding:4px 16px 12px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.fpmt-card{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:14px;background:#F6F7F9}
.fpmt-card b{font-size:14px;font-weight:700}
.fpmt-empty{padding:16px 14px;gap:5px}
.fpmt-card small,.fpmt-row small{font-size:11.5px;color:#6B6F78}
.fpmt-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px}
.fpmt-row>span:first-child{display:flex;flex-direction:column;gap:1px;font-size:13.5px;font-weight:600;min-width:0}
.fpmt-row b{font-weight:600}
.fpmt-seg{display:inline-flex;gap:2px;padding:3px;border-radius:18px;background:#EFF1F4;flex:none;max-width:100%}
.fpmt-seg button{height:30px;padding:0 11px;border:0;border-radius:15px;background:transparent;color:#15181E;font:500 12.5px/1 Manrope,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.fpmt-seg button[aria-pressed="true"]{background:#15181E;color:#fff;font-weight:600}
.fpmt-seg button:disabled{opacity:.4;cursor:default}
dialog.fpmt input.fpmt-q{width:100%;height:36px;min-height:36px;flex:none;padding:0 12px;border:0;border-radius:12px;background:#EFF1F4;color:#15181E;font:500 13px Manrope,system-ui,sans-serif;box-sizing:border-box}
.fpmt-q:focus-visible,.fpmt-in input:focus-visible{outline:2px solid #15181E;outline-offset:1px}
.fpmt-cats{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:none;margin:0 -16px;padding:0 16px}
.fpmt-cats::-webkit-scrollbar{display:none}
.fpmt-cats button{flex:none;height:30px;padding:0 12px;border:0;border-radius:15px;background:transparent;color:#15181E;font:500 13px/1 Manrope,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.fpmt-cats button[aria-selected="true"]{background:#15181E;color:#fff;font-weight:600}
.fpmt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px;align-content:start}
.fpmt-grid .fpnote{grid-column:1/-1;margin:0}
.fpmt-t{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;border:0;background:transparent;color:#15181E;text-align:start;cursor:pointer;min-width:0;font-family:inherit}
.fpmt-sw{display:block;width:100%;aspect-ratio:10/6;border-radius:10px;background-size:cover;background-position:center;border:1px solid rgba(21,24,30,.08);box-sizing:border-box;margin-bottom:4px}
.fpmt-t[aria-pressed="true"] .fpmt-sw{outline:2.5px solid #15181E;outline-offset:1px}
.fpmt-t b{font-size:12.5px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpmt-t small{font-size:11px;color:#6B6F78;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fpmt-in{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:12px;background:#EFF1F4;flex:none}
.fpmt-in input{width:64px;border:0;background:transparent;color:#15181E;font:600 13px Manrope,system-ui,sans-serif;text-align:end}
.fpmt-sw-tg{width:44px;height:32px;border:0;background:transparent;position:relative;cursor:pointer;flex:none;padding:0}
.fpmt-sw-tg::before{content:"";position:absolute;inset:4px 2px;border-radius:12px;background:#D1D6DE;transition:background .15s}
.fpmt-sw-tg i{position:absolute;top:6px;inset-inline-start:4px;width:20px;height:20px;border-radius:50%;background:#fff;transition:inset-inline-start .15s}
.fpmt-sw-tg[aria-checked="true"]::before{background:#15181E}
.fpmt-sw-tg[aria-checked="true"] i{inset-inline-start:20px}
.fpmt .fpnote{margin:0;font-size:11.5px;color:#6B6F78}
.fpmt-f{display:flex;gap:10px;padding:10px 16px 16px;flex:none;border-top:1px solid #E6E8EC;background:#fff}
.fpmt-f .fpmt-b{height:38px;padding:0 16px;border:0;border-radius:19px;background:#EFF1F4;color:#15181E;font:600 13px Manrope,system-ui,sans-serif;cursor:pointer}
.fpmt-f .fpmt-pri{flex:1;background:#15181E;color:#fff}
.fpmt-f .fpmt-b:disabled{opacity:.4;cursor:default}
#fp3d-box.fpmt-on{cursor:crosshair;outline:2px solid #3373D9;outline-offset:-2px}

.fpmt-chip{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:5;display:flex;align-items:center;gap:6px;max-width:calc(100% - 20px);height:36px;padding:0 4px 0 14px;border-radius:18px;background:#15181E;color:#fff;font:600 12.5px/1 Manrope,system-ui,sans-serif;white-space:nowrap;box-shadow:0 6px 18px rgba(21,24,30,.25)}
.fpmt-chip span{overflow:hidden;text-overflow:ellipsis}
.fpmt-chip button{flex:none;width:32px;height:32px;border:0;border-radius:16px;background:transparent;color:#fff;display:inline-grid;place-items:center;cursor:pointer;padding:0}
.fpmt-chip button svg{width:14px;height:14px}
@media (max-width:1279px){dialog.fpmt{width:320px}}
@media (max-width:699px){
  dialog.fpmt{inset:auto 0 0 0;width:100%;max-width:100%;max-height:58dvh;border:0;border-radius:24px 24px 0 0;box-shadow:0 -8px 32px rgba(21,24,30,.18)}
  .fpmt-h{padding-top:18px}
  .fpmt-h::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:2px;background:#D1D6DE}
  .fpmt-grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:104px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:2px 16px;flex:none}
  .fpmt-f{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
  .fpmt-f .fpmt-b{height:48px;border-radius:24px}
}
html[data-theme="dark"] dialog.fpmt,html[data-theme="dark"] .fpmt-f{background:#1B1E24;color:#F2F3F5;border-color:#2C3038}
html[data-theme="dark"] .fpmt-card,html[data-theme="dark"] .fpmt-seg,html[data-theme="dark"] .fpmt-q,html[data-theme="dark"] .fpmt-in,html[data-theme="dark"] .fpmt-x,html[data-theme="dark"] .fpmt-f .fpmt-b{background:#2C3038;color:#F2F3F5}
html[data-theme="dark"] .fpmt-seg button,html[data-theme="dark"] .fpmt-cats button,html[data-theme="dark"] .fpmt-t,html[data-theme="dark"] .fpmt-in input{color:#F2F3F5}
html[data-theme="dark"] .fpmt-seg button[aria-pressed="true"],html[data-theme="dark"] .fpmt-cats button[aria-selected="true"],html[data-theme="dark"] .fpmt-f .fpmt-pri,html[data-theme="dark"] .fpmt-sw-tg[aria-checked="true"]::before{background:#F2F3F5;color:#15181E}
html[data-theme="dark"] .fpmt-t[aria-pressed="true"] .fpmt-sw{outline-color:#F2F3F5}
