/* PromptifyLab Tools: the tool "stage" and full-screen mode (1.0.8).
   Normal page: a stand-out header card above the tool (tool name as the section's H2, a one-line promise
   and a big "Full-screen mode" button). Full-screen: only the tool, edge to edge, with a slim top bar. */
.plt-stage{ position:relative; margin:var(--plb-5,24px) 0; border-radius:var(--plb-r-lg,18px); padding:3px; background:linear-gradient(120deg,var(--plb-brand,#ff6328),#7c5cff 55%,#0ea5e9); box-shadow:0 18px 44px -24px rgba(124,92,255,.55); }
.plt-stage__inner{ border-radius:calc(var(--plb-r-lg,18px) - 3px); background:var(--plb-bg,#fff); overflow:hidden; }
.plt-stage__bar{ display:flex; align-items:center; gap:14px; padding:14px 18px; background:linear-gradient(120deg,color-mix(in srgb,var(--plb-brand,#ff6328) 10%,transparent),color-mix(in srgb,#7c5cff 10%,transparent)); border-bottom:1px solid var(--plb-border,#e5e7eb); }
.plt-stage__ico{ flex:0 0 auto; width:44px; height:44px; border-radius:13px; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--plb-brand,#ff6328),#7c5cff); box-shadow:0 8px 18px -8px rgba(124,92,255,.8); }
.plt-stage__ico svg{ width:22px; height:22px; }
.plt-stage__txt{ flex:1 1 auto; min-width:0; }
.plt-stage__txt .plt-stage__h{ margin:0; font-size:1.15rem; line-height:1.25; letter-spacing:-.01em; }
.plt-stage__txt p{ margin:2px 0 0; font-size:.86rem; color:var(--plb-ink-2,#555); }
.plt-stage__txt p b{ color:var(--plb-ink,#111); font-weight:600; }
.plt-stage__go{ flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; font:inherit; font-weight:700; font-size:.95rem; cursor:pointer; padding:11px 18px; border-radius:999px; border:0; color:#fff; background:linear-gradient(120deg,var(--plb-brand,#ff6328),#e2458a); box-shadow:0 10px 22px -10px rgba(255,99,40,.9); transition:transform .15s, box-shadow .15s; }
.plt-stage__go:hover{ transform:translateY(-1px); box-shadow:0 14px 26px -10px rgba(255,99,40,1); }
.plt-stage__go:focus-visible, .plt-stage__x:focus-visible{ outline:3px solid #7c5cff; outline-offset:3px; }
.plt-stage__go svg, .plt-stage__x svg{ width:18px; height:18px; }
.plt-stage__x{ display:none; white-space:nowrap; }
.plt-stage__xs{ display:none; }
.plt-stage__body{ padding:0; }
.plt-stage__body > .plbt{ margin:0; border:0; border-radius:0; }
.plt-stage__kbd{ display:none; }

@media (max-width:640px){
	.plt-stage__bar{ flex-wrap:wrap; padding:12px 14px; }
	.plt-stage__txt p{ display:none; }
	.plt-stage__go{ width:100%; justify-content:center; }
}

/* ---------- Full-screen mode ---------- */
html.plb-focus-on, html.plb-focus-on body{ overflow:hidden !important; }
html.plb-focus-on #wpadminbar{ display:none; }
.plt-stage.is-focus{ position:fixed; inset:0; z-index:100000; margin:0; padding:0; border-radius:0; box-shadow:none; background:var(--plb-bg,#fff); display:flex; flex-direction:column; animation:pltIn .22s ease; }
.plt-stage.is-focus .plt-stage__inner{ flex:1 1 auto; display:flex; flex-direction:column; min-height:0; border-radius:0; }
.plt-stage.is-focus .plt-stage__bar{ padding:8px max(14px, calc((100vw - 1320px) / 2)); border-top:3px solid transparent; border-image:linear-gradient(120deg,var(--plb-brand,#ff6328),#7c5cff 55%,#0ea5e9) 1; border-bottom:1px solid var(--plb-border,#e5e7eb); flex-wrap:nowrap; }
.plt-stage.is-focus .plt-stage__ico{ width:34px; height:34px; border-radius:10px; }
.plt-stage.is-focus .plt-stage__txt .plt-stage__h{ font-size:1rem; }
.plt-stage.is-focus .plt-stage__txt p{ display:none; }
.plt-stage.is-focus .plt-stage__go{ display:none; }
.plt-stage.is-focus .plt-stage__x{ display:inline-flex; align-items:center; gap:8px; font:inherit; font-weight:700; font-size:.9rem; cursor:pointer; padding:9px 16px; border-radius:999px; color:var(--plb-ink,#111); background:var(--plb-surface,#f4f4f5); border:1.5px solid var(--plb-border,#ddd); }
.plt-stage.is-focus .plt-stage__x:hover{ border-color:var(--plb-brand,#ff6328); }
.plt-stage.is-focus .plt-stage__kbd{ display:inline; font-size:.78rem; color:var(--plb-ink-2,#666); margin-right:6px; }
.plt-stage.is-focus .plt-stage__body{ flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:14px max(14px, calc((100vw - 1320px) / 2)) 18px; }
/* App-style tools (fixed-height panes) fill the screen instead of their page-height guess. */
.plt-stage.is-focus .plbt.plbap{ height:calc(100dvh - var(--plt-bar, 58px) - 32px) !important; min-height:420px; max-height:none; scroll-margin-top:0; }
.plt-stage.is-focus .plbt{ max-width:none; }
@media (max-width:640px){
	.plt-stage.is-focus .plt-stage__bar{ padding:8px 10px; gap:10px; }
	.plt-stage.is-focus .plt-stage__kbd{ display:none; }
	.plt-stage.is-focus .plt-stage__x{ padding:8px 12px; }
	.plt-stage__xl{ display:none; } .plt-stage__xs{ display:inline; }
	.plt-stage.is-focus .plt-stage__body{ padding:8px 8px 12px; }
	.plt-stage.is-focus .plbt.plbap{ height:calc(100dvh - var(--plt-bar, 52px) - 20px) !important; }
}
@keyframes pltIn{ from{ opacity:0; transform:scale(.985); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .plt-stage.is-focus{ animation:none; } .plt-stage__go{ transition:none; } }
@media print{ .plt-stage{ padding:0; background:none; box-shadow:none; } .plt-stage__bar{ display:none; } }
.plt-stage .plb-toolanchor{ scroll-margin-top:calc(var(--plb-header-h, 64px) + 150px); }
