.ph-market-publish { width: min(1040px, calc(100vw - 32px)); height: min(880px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid #d7e0e4; border-radius: 20px; background: #f7f9fa; color: #102930; box-shadow: 0 24px 80px #10293040; overflow: hidden; }
.ph-market-publish[open] { display: flex; flex-direction: column; }
.ph-market-publish::backdrop { background: #071d29a8; }
.ph-market-publish__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #d7e0e4; background: #fff; flex-shrink: 0; }
.ph-market-publish__header h2 { margin: 0; font: 650 clamp(18px, 3vw, 23px)/1.25 system-ui, sans-serif; }
.ph-market-publish__scope { margin: 4px 0 0; font: 14px/1.4 system-ui, sans-serif; color: #425e67; }
.ph-market-publish__close, .ph-market-publish__button { appearance: none; border: 1px solid #abc1c7; border-radius: 12px; padding: 10px 14px; min-height: 44px; background: #fff; color: #102930; font: 600 15px/1.4 system-ui, sans-serif; cursor: pointer; text-decoration: none; }
.ph-market-publish__close:focus-visible, .ph-market-publish__button:focus-visible, .ph-market-publish select:focus-visible { outline: 3px solid #007c91; outline-offset: 3px; }
.ph-market-publish__status { margin: 0; padding: 14px 20px; font: 16px/1.5 system-ui, sans-serif; overflow-wrap: anywhere; flex-shrink: 0; }
.ph-market-publish__actions { display: flex; gap: 12px; flex-wrap: wrap; padding: 0 20px 12px; flex-shrink: 0; }
.ph-market-publish__actions:has(> :not([hidden])) { padding-bottom: 16px; }
.ph-market-publish__country { display: grid; gap: 8px; font: 600 16px/1.4 system-ui, sans-serif; width: min(360px, 100%); }
.ph-market-publish select { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #abc1c7; border-radius: 10px; color: inherit; background: #fff; font: inherit; }
.ph-market-publish__content { flex: 1; min-height: 0; background: #fff; }
.ph-market-publish__frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.ph-market-publish [hidden] { display: none !important; }
@media (max-width: 640px) { .ph-market-publish { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; }.ph-market-publish__header { padding: max(12px, env(safe-area-inset-top)) 14px 12px; }.ph-market-publish__status { padding: 12px 14px; }.ph-market-publish__actions { padding-left: 14px; padding-right: 14px; }.ph-market-publish__content { padding-bottom: env(safe-area-inset-bottom); } }
