.desktop-preview .pm-desktop-store { position: relative !important; inset: auto !important; display: flex !important; margin: 0 0 12px; justify-content: flex-start; z-index: 2; }
.desktop-preview .pm-desktop-store .pm-store-trigger { border: 1px solid #d9dde3; padding: 9px 14px; border-radius: 6px; background: #fff; max-width: min(100%, 420px); overflow: hidden; text-overflow: ellipsis; }
.pm-store-mask { z-index: 1000 !important; background: #18212e47 !important; }
.pm-store-menu { top: min(140px, 16vh) !important; right: max(20px, calc((100vw - 920px)/2)) !important; }
.restored-pinhaofan .merchant-panel { position: relative !important; top: auto !important; left: auto !important; right: auto !important; z-index: 2; margin: 14px 0; }
body.phf-route .toolbox-page { display: none !important; }
#phf-standalone { min-width: 0; width: 100%; box-sizing: border-box; }
.phf-shell { max-width: 1440px; padding: 24px 32px 48px; margin: auto; color: #20242a; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; }
.phf-shell * { box-sizing: border-box; }
.phf-shell button,.phf-shell input,.phf-shell select { font: inherit; }
.phf-shell button { cursor: pointer; border: 1px solid #d9dde3; border-radius: 6px; background: #fff; padding: 8px 13px; color: inherit; }
.phf-shell button:hover:not(:disabled) { border-color: #e5bc00; background: #fffcec; }
.phf-shell button:disabled { opacity: .5; cursor: default; }
.phf-shell input,.phf-shell select { padding: 9px 12px; background: #f7f8fa; border: 1px solid #e0e3e8; border-radius: 6px; min-width: 0; width: 100%; color: inherit; }
.phf-shell input:focus,.phf-shell select:focus { outline: 2px solid #ffe815; border-color: #dfbc05; }
.phf-head,.phf-toolbar,.phf-actions,.phf-filters,.phf-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.phf-head { margin-bottom: 18px; }.phf-head h1 { font-size: 23px; margin: 0; }.phf-head p { margin: 3px 0 0; color: #66717d; }
.phf-toolbar,.phf-actions,.phf-filters { background: #fff; padding: 16px; border: 1px solid #eceef1; }.phf-toolbar label { flex: 1; min-width: 0; font-weight: 600; }.phf-toolbar label input,.phf-toolbar label select { margin-top: 5px; }
.phf-actions { border-top: 0; }.phf-actions>div { display: flex; gap: 8px; }.phf-actions button.active,.phf-dialog-actions button[type=submit] { background: #ffe815; border-color: #ffe815; font-weight: 700; }
.phf-filters { justify-content: flex-start; border-top: 0; }.phf-filters label { width: min(330px, 100%); }.phf-filters select { width: 150px; }
.phf-table-wrap { background: #fff; overflow-x: auto; border: 1px solid #eceef1; border-top: 0; }.phf-shell table { width: 100%; border-collapse: collapse; min-width: 640px; }.phf-shell th,.phf-shell td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eff0f2; }.phf-shell th { color: #65707c; background: #f7f8fa; }.phf-shell td img { width: 48px; height: 48px; border-radius: 5px; object-fit: cover; }.phf-empty { text-align: center !important; padding: 36px !important; color: #76808c; }.phf-pager { justify-content: flex-end; margin-top: 14px; }
.phf-error,.phf-note,.phf-loading { margin: 10px 0; padding: 10px 14px; border-radius: 6px; }.phf-error { background: #fff0ed; color: #b73325; }.phf-note { background: #eef8f0; color: #247344; }.phf-loading { background: #f2f6fb; color: #376996; }
.phf-dialog-back { position: fixed; inset: 0; z-index: 1100; background: #141b2c80; display: grid; place-items: center; padding: 16px; }.phf-dialog { background: #fff; width: min(600px, 100%); max-height: 90vh; overflow-y: auto; padding: 22px; border-radius: 8px; display: grid; gap: 12px; }.phf-dialog-title,.phf-dialog-actions { display: flex; align-items: center; justify-content: space-between; }.phf-dialog-title h2 { font-size: 18px; margin: 0; }.phf-dialog-title button { font-size: 24px; line-height: 1; border: 0; }.phf-dialog label { display: grid; gap: 5px; font-weight: 600; }.phf-dialog p { margin: 0; color: #68727c; }.phf-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.phf-preview { width: 84px; height: 84px; object-fit: cover; }.phf-dialog-actions { justify-content: flex-end; gap: 10px; padding-top: 10px; }
@media(max-width: 720px) { .phf-shell { padding: 16px 12px 80px; }.phf-toolbar,.phf-actions,.phf-filters { flex-wrap: wrap; }.phf-toolbar label { flex: 1 1 100%; }.phf-head h1 { font-size: 19px; }.phf-form-grid { grid-template-columns: 1fr; }.pm-store-menu { right: 10px !important; } }
