/* One theme-owned surface; nested room management remains owned by the plugin. */
.vppts-entry-modal[hidden] { display:none!important; }
.vppts-entry-modal { --vp-room-ink:#302332; --vp-room-muted:#776c77; --vp-room-accent:#a03768; position:fixed!important; inset:0!important; z-index:2147482800!important; display:flex; align-items:center; justify-content:center; box-sizing:border-box; padding:24px; color:var(--vp-room-ink); font-family:inherit; isolation:isolate; }
.vppts-entry-modal *, .vppts-entry-modal *::before, .vppts-entry-modal *::after { box-sizing:border-box; }
.vppts-entry-modal__backdrop { position:absolute; inset:0; background:rgba(31,18,31,.66); }
.vppts-entry-modal__dialog { position:relative; display:flex; flex-direction:column; width:min(100%,920px); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); min-width:0; padding:0; margin:0; border:1px solid rgba(255,255,255,.7); border-radius:20px; background:#fff; box-shadow:0 24px 90px rgba(27,12,29,.34); overflow:hidden; outline:none; }
.vppts-entry-modal__header { flex:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px 17px; background:#fff; border-bottom:1px solid #eee7ed; }
.vppts-entry-modal__heading { display:flex; align-items:center; gap:11px; min-width:0; }
.vppts-entry-modal__heading-icon { display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:12px; color:#a03768; background:#faedf3; }
.vppts-entry-modal__heading-icon svg { width:21px; height:21px; }
.vppts-entry-modal__heading strong { display:block; font-size:19px; line-height:1.4; color:#302332; letter-spacing:0; }
.vppts-entry-modal__heading small { display:block; margin-top:3px; font-size:12px; line-height:1.5; color:#776c77; }
.vppts-entry-modal__header-actions { display:flex; align-items:center; gap:4px; flex:none; }
.vppts-entry-modal__close, .vppts-entry-modal__refresh { position:static!important; display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0!important; margin:0; border:0!important; border-radius:12px; color:#655766!important; background:transparent!important; box-shadow:none!important; cursor:pointer; }
.vppts-entry-modal__close svg, .vppts-entry-modal__refresh svg { width:21px; height:21px; }
.vppts-entry-modal__close:hover, .vppts-entry-modal__refresh:hover { background:#f5eef3!important; color:#a03768!important; }
.vppts-entry-modal__body { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:24px; background:#faf8fa; scrollbar-gutter:stable; }
.vppts-entry-modal__empty { padding:48px 16px; text-align:center; color:#776c77; font-size:14px; line-height:1.8; }
.vppts-entry-modal__empty p { margin:0 0 18px; }
.vppts-entry-modal__retry { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border:1px solid #d5b3c7; border-radius:10px; color:#96325f; background:#fff; font-family:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.vppts-entry-modal__loading { min-height:250px; color:#776c77; font-size:13px; }
.vppts-entry-modal__loading>span { display:block; margin-bottom:16px; }
.vppts-entry-modal__skeleton { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.vppts-entry-modal__skeleton i { display:block; height:230px; border:1px solid #eee6ec; border-radius:14px; background:linear-gradient(#ede5ec 0 50%,#fff 50% 100%); animation:vp-room-loading 1.4s ease-in-out infinite alternate; }
.vppts-entry-modal :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #b65381!important; outline-offset:3px!important; box-shadow:none!important; }
html:has(body.vppts-entry-modal-open), body.vppts-entry-modal-open { overflow:hidden; }
@keyframes vp-room-loading { to { opacity:.45; } }
@media(max-width:640px) {
  .vppts-entry-modal { padding:max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
  .vppts-entry-modal__dialog { width:100%; max-height:calc(100vh - 24px); max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom))); border-radius:17px; }
  .vppts-entry-modal__header { gap:4px; padding:13px 10px 13px 14px; }
  .vppts-entry-modal__heading { gap:8px; }
  .vppts-entry-modal__heading-icon { width:32px; height:32px; border-radius:10px; }
  .vppts-entry-modal__heading strong { font-size:16px; }
  .vppts-entry-modal__heading small { font-size:11px; }
  .vppts-entry-modal__header-actions { gap:0; }
  .vppts-entry-modal__body { padding:16px 14px 20px; scrollbar-gutter:auto; }
  .vppts-entry-modal__skeleton { grid-template-columns:1fr; }
  .vppts-entry-modal__skeleton i:nth-child(2) { display:none; }
}
@media(prefers-reduced-motion:reduce) { .vppts-entry-modal__skeleton i { animation:none; } }
