/* ── Archive Studio Pro v24.2 ── MK Vision · gradient · motion ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --bg:#080809;
  --rail:#0f0f12;
  --panel:rgba(18,18,22,.95);
  --panel-2:#1a1a1f;
  --line:rgba(255,255,255,.07);
  --line-2:rgba(255,255,255,.13);
  --text:#e0e0e0;
  --muted:#4a4a55;
  --soft:#8a8a9a;
  --brand:#cc2b2b;
  --brand-hover:#b52424;
  --brand-glow:rgba(204,43,43,.35);
  --brand-dim:rgba(204,43,43,.1);
  --brand-2:#e05050;
  --brand-3:#ff8a3d;
  --violet:#8b5cf6;
  --cyan:#22d3ee;
  --danger:#ef4444;
  --radius:8px;
  --side:230px;
  --side-collapsed:54px;
  --shadow:0 16px 48px rgba(0,0,0,.65);
  --f:'Inter',ui-sans-serif,system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{min-height:100%;font-size:15px;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
body{
  min-height:100vh;font-family:var(--f);line-height:1.5;overflow-x:hidden;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%,rgba(204,43,43,.06) 0,transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%,rgba(120,40,40,.08) 0,transparent 55%),
    radial-gradient(ellipse 55% 45% at 55% 110%,rgba(139,92,246,.08) 0,transparent 62%),
    var(--bg);
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.bg-noise,.bg-grid,.orb{display:none!important}

/* ── SIDEBAR ── */
.side-nav{
  position:fixed;z-index:30;left:0;top:0;bottom:0;
  width:var(--side);display:flex;flex-direction:column;
  background:linear-gradient(180deg,rgba(18,18,24,.98) 0%,rgba(10,10,13,.98) 100%),radial-gradient(circle at 0 0,rgba(204,43,43,.28),transparent 34%),radial-gradient(circle at 100% 80%,rgba(139,92,246,.18),transparent 38%);
  border-right:1px solid var(--line);
  transition:width .22s cubic-bezier(.16,1,.3,1);overflow:hidden;
}
/* Top accent line */
.side-nav::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--brand) 0%,var(--brand-3) 38%,var(--violet) 72%,transparent 100%);box-shadow:0 0 18px rgba(255,95,60,.45)}
.nav-toggle{
  position:absolute;right:10px;top:14px;width:28px;height:28px;
  border:1px solid var(--line-2);background:rgba(255,255,255,.04);
  border-radius:6px;display:grid;place-items:center;gap:3px;cursor:pointer;
  transition:background .15s,border .15s;
}
.nav-toggle:hover{background:rgba(255,255,255,.08);border-color:var(--line-2)}
.nav-toggle span{display:block;width:11px;height:1.5px;background:var(--soft);border-radius:99px;transition:transform .2s,opacity .2s}
.brand{
  display:flex;align-items:center;gap:11px;
  padding:18px 44px 18px 16px;
  border-bottom:1px solid var(--line);
}
.brand>span{
  width:32px;height:32px;flex:0 0 32px;border-radius:8px;
  background:linear-gradient(135deg,var(--brand) 0%,#9a1f1f 100%);
  display:grid;place-items:center;
  font-size:14px;font-weight:900;color:#fff;letter-spacing:-.02em;
  box-shadow:0 4px 16px var(--brand-glow);
}
.brand b{font-size:13px;font-weight:700;letter-spacing:-.02em;color:var(--text)}
.brand em{display:block;font-style:normal;font-size:10px;color:var(--muted);letter-spacing:.06em;margin-top:1px;text-transform:uppercase}
.side-nav nav{display:flex;flex-direction:column;padding:10px 8px;flex:1;overflow-y:auto;gap:2px}
.nav-link{
  min-height:38px;padding:0 10px;
  display:flex;align-items:center;gap:10px;
  color:var(--muted);font-size:12.5px;font-weight:500;
  transition:color .15s,background .15s;
  border-radius:7px;border:1px solid transparent;position:relative;
}
.nav-link:hover{color:var(--soft);background:rgba(255,255,255,.04)}
.nav-link.active{
  color:#fff;
  background:linear-gradient(90deg,rgba(204,43,43,.18) 0%,rgba(204,43,43,.06) 100%);
  border-color:rgba(204,43,43,.2);
}
.nav-link.active::before{content:'';position:absolute;left:-8px;top:50%;transform:translateY(-50%);width:3px;height:22px;background:var(--brand);border-radius:0 3px 3px 0;box-shadow:0 0 10px var(--brand-glow)}
.ico{width:16px;height:16px;display:grid;place-items:center;flex:0 0 16px}
.ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-link span{white-space:nowrap}
.nav-note{
  margin:auto 0 0;border-top:1px solid var(--line);padding:12px 16px;
  color:var(--muted);font-size:10.5px;line-height:1.6;
  background:linear-gradient(0deg,rgba(204,43,43,.03),transparent);
}
.nav-bottom-dot{display:flex;align-items:center;gap:7px;margin-bottom:8px;font-size:11px;color:var(--soft)}
.nav-bottom-dot span{width:6px;height:6px;border-radius:50%;background:var(--brand);box-shadow:0 0 8px var(--brand-glow);animation:blink 2.5s ease infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

/* Nav collapsed state */
.nav-collapsed .side-nav{width:var(--side-collapsed)}
.nav-collapsed .brand{padding:18px;justify-content:center}
.nav-collapsed .brand div,.nav-collapsed .nav-link span,.nav-collapsed .nav-note .nav-note-text{display:none}
.nav-collapsed .nav-link{justify-content:center;padding:0;border-radius:8px}
.nav-collapsed .nav-link.active::before{display:none}
.nav-collapsed .workspace{margin-left:var(--side-collapsed)}
.nav-collapsed .nav-toggle span:nth-child(2){transform:scaleX(0)}

/* Mobile (hidden by default using visibility, not display) */
.mobile-menu-btn{visibility:hidden;pointer-events:none;position:fixed}
.mobile-nav-scrim{visibility:hidden;pointer-events:none}

/* ── WORKSPACE ── */
.workspace{
  position:relative;z-index:1;min-height:100vh;
  margin-left:var(--side);padding:26px 26px 52px;
  transition:margin-left .22s cubic-bezier(.16,1,.3,1);
}
.topline{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 22px;min-height:46px}
.kicker,.eyebrow{display:block;margin:0 0 4px;color:var(--brand);font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:600}
.topline h1{font-size:30px;font-weight:900;letter-spacing:-.05em;color:#eaeaea;line-height:1}
.live-pill{
  display:flex;align-items:center;gap:8px;min-height:32px;padding:0 14px;
  border:1px solid rgba(204,43,43,.2);border-radius:99px;
  background:rgba(204,43,43,.06);color:var(--soft);font-size:11.5px;white-space:nowrap;
}
.live-pill span{width:6px;height:6px;border-radius:50%;background:var(--brand);animation:blink 2.5s ease infinite;box-shadow:0 0 8px var(--brand-glow)}

/* ── PANELS ── */
.glass{
  background:linear-gradient(145deg,rgba(20,20,26,.9) 0%,rgba(14,14,18,.95) 100%);
  border:1px solid var(--line);
  backdrop-filter:blur(12px);
}
.page{display:none}.page.active{display:block}

.hero-card{
  display:grid;grid-template-columns:minmax(0,1fr) 190px;
  gap:16px;min-height:120px;margin-bottom:18px;padding:20px;border-radius:12px;
  background:linear-gradient(135deg,rgba(204,43,43,.06) 0%,rgba(14,14,18,.9) 100%);
  border:1px solid rgba(204,43,43,.15);position:relative;overflow:hidden;
}
.hero-card::after{content:'';position:absolute;top:-60px;right:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(204,43,43,.08),transparent 70%);pointer-events:none}
.hero-card h2{font-size:20.5px;font-weight:800;letter-spacing:-.03em;margin:0 0 7px;color:#eaeaea}
.hero-card p{color:var(--soft);font-size:13.5px;line-height:1.6;max-width:740px}
.hero-visual{position:relative;border:1px solid rgba(204,43,43,.15);border-radius:10px;background:rgba(204,43,43,.04);overflow:hidden;display:grid;place-items:center}
.hero-visual i{position:absolute;border-radius:4px;border:1px solid rgba(204,43,43,.2);background:rgba(204,43,43,.08)}
.hero-visual i:nth-child(1){width:72px;height:44px;left:14px;top:16px}
.hero-visual i:nth-child(2){width:64px;height:40px;right:16px;top:30px}
.hero-visual i:nth-child(3){width:100px;height:14px;left:30px;bottom:16px}
.hero-visual span{position:absolute;right:10px;bottom:8px;color:var(--muted);font-size:9px;letter-spacing:.18em;text-transform:uppercase}

/* ── LAYOUT ── */
.grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,400px);gap:16px;align-items:start}
.tool-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,380px);gap:16px;align-items:start}
.panel{min-width:0;border-radius:10px;padding:18px;background:linear-gradient(145deg,rgba(18,18,24,.92) 0%,rgba(12,12,16,.96) 100%);border:1px solid var(--line)}
.pdf-studio{min-width:0;border-radius:10px;padding:14px;background:linear-gradient(145deg,rgba(18,18,24,.92) 0%,rgba(12,12,16,.96) 100%);border:1px solid var(--line)}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.panel-head h2{font-size:16px;font-weight:700;letter-spacing:-.03em}

/* ── FORMS ── */
.hint{color:var(--muted);font-size:12.5px;line-height:1.6}
.field{display:grid;gap:5px;margin-bottom:10px;min-width:0}
.field span,.toggle b{color:var(--soft);font-size:12px;font-weight:600;letter-spacing:.04em}
.field input,.field select,textarea{
  width:100%;min-width:0;min-height:38px;
  border:1px solid var(--line-2);border-radius:7px;
  background:rgba(0,0,0,.4);color:var(--text);padding:0 11px;outline:none;font-size:14px;
  transition:border .15s,box-shadow .15s,background .15s;
}
.field input:focus,.field select:focus,textarea:focus{
  border-color:rgba(204,43,43,.5);box-shadow:0 0 0 3px rgba(204,43,43,.08);
  background:rgba(0,0,0,.6);
}
.field.big input{min-height:44px;font-size:14px}
.inline-fields{display:grid;grid-template-columns:minmax(0,1fr) 130px 155px;gap:10px;align-items:end}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.toggle,.permission{display:flex;align-items:center;gap:9px;min-height:36px;color:var(--soft);font-size:12.5px}
.toggle input,.permission input,.option-grid input{accent-color:var(--brand)}
.permission{margin:10px 0}

.preset-box{
  margin:10px 0 8px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:10px;
  background:radial-gradient(circle at 10% 0%,rgba(204,43,43,.18),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
}
.preset-box .field{margin-bottom:7px}
.preset-explain{margin:0;color:var(--soft);font-size:13px;line-height:1.55}
.advanced-options{margin:8px 0 12px;border:1px solid var(--line);border-radius:10px;background:rgba(0,0,0,.22);overflow:hidden}
.advanced-options summary{cursor:pointer;list-style:none;padding:11px 12px;font-size:12px;font-weight:700;color:var(--text);display:flex;justify-content:space-between;gap:10px;align-items:center}
.advanced-options summary::-webkit-details-marker{display:none}
.advanced-options summary:after{content:'+';width:22px;height:22px;display:grid;place-items:center;border-radius:99px;background:linear-gradient(135deg,rgba(204,43,43,.42),rgba(168,85,247,.34));color:#fff}
.advanced-options[open] summary:after{content:'−'}
.advanced-options summary small{font-size:11px;font-weight:500;color:var(--muted)}
.advanced-options .option-grid{padding:0 10px 10px;margin:0}

.option-grid{display:grid;grid-template-columns:repeat(2,minmax(230px,1fr));gap:7px;margin:9px 0 13px}
.option-grid label{
  display:grid;grid-template-columns:15px minmax(0,1fr);gap:3px 9px;align-content:start;
  min-height:66px;padding:10px 11px;
  border:1px solid var(--line);border-radius:7px;
  background:rgba(0,0,0,.3);cursor:pointer;
  transition:border .15s,background .15s;
}
.option-grid label:hover{border-color:rgba(204,43,43,.2);background:rgba(204,43,43,.04)}
.option-grid label>span{display:none}
.option-grid input{grid-column:1;grid-row:1 / span 2;margin:2px 0 0}
.option-grid b{grid-column:2;font-size:13px;font-weight:600;line-height:1.3}
.option-grid em{grid-column:2;color:var(--muted);font-size:12px;line-height:1.4;font-style:normal}

/* ── BUTTONS ── */
.primary,.ghost{
  border-radius:7px;min-height:38px;padding:0 15px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s,border .15s,opacity .15s;
  border:1px solid transparent;font-weight:600;font-size:14px;
}
.primary{
  background:linear-gradient(135deg,var(--brand) 0%,#9e2020 100%);
  color:#fff;box-shadow:0 4px 16px rgba(204,43,43,.3);
}
.primary:hover{background:linear-gradient(135deg,#d93030 0%,#b52020 100%);transform:translateY(-1px);box-shadow:0 6px 20px rgba(204,43,43,.4)}
.primary.compact{min-height:32px;font-size:12px}
.ghost{background:rgba(255,255,255,.05);border-color:var(--line-2);color:var(--soft)}
.ghost:hover{background:rgba(255,255,255,.09);color:var(--text);border-color:var(--line-2)}
.ghost.mini{min-height:26px;padding:0 8px;font-size:11.5px;border-radius:5px}
.primary:disabled,.ghost:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}
.danger{border-color:rgba(239,68,68,.28)!important;color:#fca5a5!important}

/* ── MULTI-GAUGE PROGRESS ── */
.progress-panel{position:sticky;top:20px}
.progress-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}
.progress-head strong{font-size:16px;font-weight:700}
.progress-head h2{font-size:15px;font-weight:700;max-width:200px;overflow-wrap:anywhere;line-height:1.3}
.progress-orb{
  position:relative;display:flex;flex-direction:column;align-items:center;
  padding:10px 0 6px;
  border-radius:18px;
  background:radial-gradient(circle at 50% 45%,rgba(168,85,247,.18),transparent 34%),radial-gradient(circle at 30% 20%,rgba(204,43,43,.2),transparent 32%),radial-gradient(circle at 70% 75%,rgba(59,130,246,.16),transparent 30%);
  box-shadow:inset 0 0 40px rgba(255,255,255,.025),0 18px 46px rgba(0,0,0,.22);
}
#orbCanvas{width:210px;height:210px;display:block;margin:0 auto}
.orb-labels{
  display:grid;grid-template-columns:1fr 1fr;gap:4px;
  width:100%;margin-top:10px;
}
.orb-label{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:7px 5px;border:1px solid rgba(255,255,255,.08);border-radius:8px;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025)),radial-gradient(circle at 20% 0%,rgba(204,43,43,.13),transparent 45%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.orb-label-dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px;box-shadow:0 0 14px currentColor}
.orb-label span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.orb-label b{font-size:13px;font-weight:700;color:var(--text)}
.progress-bar{height:4px;border:1px solid var(--line);border-radius:99px;background:rgba(0,0,0,.4);overflow:hidden;margin:8px 0}
.progress-bar i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#ff4d4d,#f59e0b,#a855f7,#3b82f6);transition:width .25s ease;border-radius:99px;box-shadow:0 0 14px rgba(245,158,11,.35)}
.log{height:130px;overflow:auto;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:7px;background:rgba(0,0,0,.3)}
.log li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:7px;padding:6px 9px;border-bottom:1px solid rgba(255,255,255,.03);font-size:12px}
.log time{color:var(--muted)}
.log span{min-width:0;overflow-wrap:anywhere;color:var(--soft)}
.download-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.download{height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;background:rgba(0,0,0,.2);color:var(--soft);font-size:12px;transition:all .15s}
.download:not(.disabled){background:var(--brand-dim);border-color:rgba(204,43,43,.3);color:#e08080}
.download:not(.disabled):hover{background:rgba(204,43,43,.18);border-color:rgba(204,43,43,.4)}
.disabled{opacity:.4;pointer-events:none}
/* Hide old metric grid when using orb labels */
.metric-grid{display:none}

/* ── SITES / SYSTEM ── */
.system-card{max-width:none}
.sites-list{display:grid;gap:8px;margin-top:14px}
.site-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:9px;background:rgba(0,0,0,.2);transition:border .15s}
.site-card:hover{border-color:var(--line-2)}
.site-card h3{font-size:13.5px;font-weight:600;margin:0 0 3px}
.site-card p{color:var(--muted);font-size:11.5px}
.site-card-actions{display:flex;gap:6px;flex-wrap:wrap}
.site-card-actions a,.site-card-actions button{min-height:28px;border-radius:5px;border:1px solid var(--line-2);background:rgba(255,255,255,.04);color:var(--soft);padding:0 9px;font-size:11.5px;cursor:pointer;transition:all .12s}
.site-card-actions a:hover,.site-card-actions button:hover{background:rgba(255,255,255,.08);color:var(--text)}
.site-card-actions .danger{border-color:rgba(239,68,68,.26)!important;color:#fca5a5!important}

/* ── DROPS / RESULT ── */
.tool-card{min-height:220px}.result-card{min-height:220px}
.result-card h3{font-size:14px;font-weight:700;margin:0 0 7px}
.drop{
  position:relative;min-height:72px;border:1px dashed var(--line-2);border-radius:8px;
  background:rgba(255,255,255,.018);display:grid;place-items:center;text-align:center;
  color:var(--muted);padding:10px;margin-bottom:9px;cursor:pointer;overflow:hidden;font-size:12px;
  transition:border .15s,background .15s;
}
.drop:hover{border-color:rgba(204,43,43,.4);background:rgba(204,43,43,.04)}
.drop.small{min-height:50px}
.drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.result-link{display:inline-flex;align-items:center;min-height:30px;border-radius:5px;background:var(--brand-dim);border:1px solid rgba(204,43,43,.25);padding:0 10px;margin-top:6px;font-size:12px;color:#e08080}
.req-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.req{border:1px solid var(--line);border-radius:7px;padding:11px;background:rgba(0,0,0,.2)}
.req b{display:block;font-size:12px;font-weight:600}
.req span{display:block;margin-top:3px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.req.ok{border-color:rgba(52,211,153,.18)}.req.bad{border-color:rgba(239,68,68,.22)}
.mini-result{color:var(--soft);font-size:12px;line-height:1.5;margin-top:7px}

/* ── PDF EDITOR (Photopea-stijl) ── */
.pe-shell{
  display:flex;flex-direction:column;height:calc(100vh - 100px);min-height:540px;
  background:linear-gradient(145deg,#07070a 0%,#0c0c12 100%);border:1px solid rgba(255,255,255,.09);border-radius:14px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.58),0 0 0 1px rgba(204,43,43,.06);
}
.pe-topbar{
  display:flex;align-items:center;height:42px;flex:0 0 42px;
  background:linear-gradient(90deg,rgba(18,18,24,.98) 0%,rgba(31,18,24,.96) 48%,rgba(18,18,28,.98) 100%);
  border-bottom:1px solid var(--line);overflow:hidden;
}
.pe-brand-label{padding:0 14px 0 12px;font-size:12.5px;font-weight:700;color:var(--text);white-space:nowrap;border-right:1px solid var(--line);height:100%;display:flex;align-items:center}
.pe-topbar-btn{height:100%;padding:0 11px;border:none;background:none;color:var(--soft);font-size:12px;cursor:pointer;transition:background .12s,color .12s;white-space:nowrap;font-family:var(--f)}
.pe-topbar-btn:hover{background:rgba(255,255,255,.06);color:var(--text)}
.pe-topbar-sep{width:1px;height:20px;background:var(--line);margin:0 2px;flex-shrink:0}
.pe-page-nav{display:flex;align-items:center;padding:0 6px;border-right:1px solid var(--line);height:100%;gap:2px}
.pe-page-nav button{height:24px;width:24px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--soft);cursor:pointer;border-radius:4px;font-size:14px;display:grid;place-items:center;transition:all .12s}
.pe-page-nav button:hover{background:rgba(255,255,255,.1);color:var(--text)}
.pe-page-nav span{font-size:11px;color:var(--muted);padding:0 8px;white-space:nowrap}
.pe-zoom{display:flex;align-items:center;gap:2px;padding:0 6px;border-right:1px solid var(--line);height:100%}
.pe-zoom button{height:22px;width:22px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--soft);cursor:pointer;border-radius:3px;font-size:12px;display:grid;place-items:center;transition:all .12s}
.pe-zoom button:hover{background:rgba(255,255,255,.1);color:var(--text)}
.pe-zoom span{font-size:11px;color:var(--muted);min-width:36px;text-align:center}
.pe-export-btn{margin-left:auto;margin-right:7px;height:28px;padding:0 14px;background:linear-gradient(135deg,var(--brand),#9e2020);color:#fff;border:none;border-radius:5px;font-size:12px;font-weight:700;cursor:pointer;transition:all .12s;white-space:nowrap;font-family:var(--f);box-shadow:0 2px 10px rgba(204,43,43,.25)}
.pe-export-btn:hover{box-shadow:0 4px 16px rgba(204,43,43,.4);transform:translateY(-1px)}
.pe-fullscreen-btn{width:34px;height:100%;border:none;background:none;color:var(--muted);font-size:15px;cursor:pointer;transition:color .12s;border-left:1px solid var(--line)}
.pe-fullscreen-btn:hover{color:var(--text);background:rgba(255,255,255,.04)}
.pe-workspace{display:flex;flex:1;overflow:hidden}
.pe-toolbox{width:40px;flex:0 0 40px;background:#0d0d10;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:7px 0;gap:2px}
.pe-tool{width:32px;height:32px;border-radius:5px;border:1px solid transparent;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;transition:all .12s}
.pe-tool:hover{background:rgba(255,255,255,.07);color:var(--text);border-color:var(--line)}
.pe-tool.active{background:linear-gradient(135deg,rgba(204,43,43,.2),rgba(139,92,246,.14));color:#fff;border-color:rgba(255,138,61,.38);box-shadow:0 0 18px rgba(204,43,43,.18)}
.pe-tool svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pe-tool-label{font-size:7px;letter-spacing:.04em;color:var(--muted);text-transform:uppercase;padding:5px 0 1px;width:100%;text-align:center}
.pe-tool-sep{width:22px;height:1px;background:var(--line);margin:3px 0}
.pe-canvas-area{flex:1;overflow:auto;background:#050507;display:flex;align-items:flex-start;justify-content:center;padding:20px;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:26px 26px}
.pe-page-wrapper{position:relative;box-shadow:0 16px 64px rgba(0,0,0,.8);display:inline-block}
.pe-page-wrapper canvas{display:block}
#pdfCanvas{position:relative;z-index:1}
#fabricCanvas{position:absolute!important;top:0;left:0;z-index:2}
.pe-status{height:24px;flex:0 0 24px;border-top:1px solid var(--line);background:#0d0d10;display:flex;align-items:center;padding:0 10px;gap:14px}
.pe-status span{font-size:10px;color:var(--muted)}
.pe-status span b{color:var(--soft)}
#pdfResult{padding:5px 10px;font-size:11px;color:var(--soft)}
.pe-right-panel{width:218px;flex:0 0 218px;background:#0d0d10;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.pe-panel{border-bottom:1px solid var(--line);display:flex;flex-direction:column}
.pe-panel.grow{flex:1;overflow:hidden}
.pe-panel-head{height:30px;flex:0 0 30px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:rgba(255,255,255,.024);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);border-bottom:1px solid var(--line)}
.pe-panel-head button{height:18px;padding:0 5px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--muted);font-size:10px;border-radius:3px;cursor:pointer;font-family:var(--f)}
.pe-panel-head button:hover{color:var(--text);background:rgba(255,255,255,.08)}
.pe-layer-actions{display:flex;gap:4px;align-items:center}.pe-layer-actions button{min-width:20px}
.pe-prop-row{display:grid;grid-template-columns:56px 1fr;align-items:center;gap:7px;padding:5px 9px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.pe-prop-row input[type=text],.pe-prop-row input[type=number]{height:24px;border:1px solid var(--line);border-radius:3px;background:rgba(0,0,0,.4);color:var(--text);padding:0 6px;font-size:11.5px;width:100%;outline:none;font-family:var(--f)}
.pe-prop-row input[type=text]:focus,.pe-prop-row input[type=number]:focus{border-color:rgba(204,43,43,.4)}
.pe-prop-row input[type=color]{height:24px;width:100%;border:1px solid var(--line);border-radius:3px;background:rgba(0,0,0,.4);cursor:pointer;padding:2px}
.pe-prop-row input[type=range]{width:100%;accent-color:var(--brand)}
.pe-prop-row-wide{display:flex;flex-direction:column;gap:4px;padding:5px 9px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.pe-prop-row-wide textarea{height:54px;border:1px solid var(--line);border-radius:3px;background:rgba(0,0,0,.4);color:var(--text);padding:5px 6px;font-size:11.5px;width:100%;outline:none;resize:none;font-family:var(--f)}
.pe-layers-list{flex:1;overflow-y:auto}
.pe-layer-item{display:flex;align-items:center;gap:7px;padding:5px 9px;border-bottom:1px solid var(--line);cursor:pointer;font-size:11px;transition:background .1s}
.pe-layer-item:hover{background:rgba(255,255,255,.04)}
.pe-layer-item.active{background:var(--brand-dim)}
.pe-layer-dot{width:7px;height:7px;border-radius:2px;flex:0 0 7px;background:var(--muted)}
.pe-layer-dot.type-text{background:#3b82f6}.pe-layer-dot.type-rect{background:#10b981}.pe-layer-dot.type-image{background:#a855f7}.pe-layer-dot.type-path{background:#f43f5e}
.pe-layer-name{color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.pe-sig-wrap{padding:9px}
#sigCanvas{width:100%;height:74px;background:#fff;border-radius:4px;display:block;border:1px solid var(--line)}
.pe-sig-actions{display:flex;gap:5px;margin-top:6px}
.pe-sig-btn{flex:1;height:24px;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--soft);transition:all .12s;font-family:var(--f)}
.pe-sig-btn:hover{background:rgba(255,255,255,.08);color:var(--text)}
.pe-sig-btn.brand{background:linear-gradient(135deg,var(--brand),#9e2020);border-color:var(--brand);color:#fff}
.pe-sig-btn.brand:hover{box-shadow:0 2px 10px var(--brand-glow)}
.pe-no-pdf{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:280px;color:var(--muted);font-size:12px;text-align:center}
.pe-no-pdf svg{opacity:.15}
.pe-footer{border-top:1px solid var(--line);background:#0d0d10;padding:10px 12px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.pe-footer-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:6px;display:block}
.pe-footer .drop{min-height:44px;margin-bottom:6px}
.pe-footer .primary{height:30px;font-size:12px;width:100%}
.pe-shell.fullscreen{position:fixed!important;inset:0!important;z-index:100;height:100vh!important;border-radius:0!important}

/* ── VIDEO ── */
.video-studio-grid{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(390px,1.1fr);gap:16px;align-items:start}
.video-card{min-height:0}
.video-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
.video-preview-panel{display:flex;flex-direction:column;gap:10px;min-height:540px}
.video-preview{position:relative;min-height:280px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#020203}
.video-preview canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.video-preview video{display:none}
.video-preview #videoEmpty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:12px;background:repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0,rgba(255,255,255,.015) 1px,transparent 1px,transparent 24px)}
.video-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--muted);font-size:11px}
.video-progress{height:4px;border-radius:99px;background:rgba(255,255,255,.05);overflow:hidden}
.video-progress i{display:block;width:0%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--brand-2));transition:width .15s}
.video-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.video-stats div{border:1px solid var(--line);background:rgba(0,0,0,.2);border-radius:7px;padding:10px}
.video-stats b{display:block;font-size:13px;font-weight:700}
.video-stats span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.09em;margin-top:3px}
.video-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;min-height:52px}
.video-thumb{aspect-ratio:1/1;border:1px solid var(--line);border-radius:5px;background-size:cover;background-position:center;background-color:rgba(255,255,255,.03);cursor:pointer;transition:border .12s}
.video-thumb:hover{border-color:var(--brand)}
.video-drop.is-over{border-color:rgba(204,43,43,.6);background:rgba(204,43,43,.05)}
.mini-result{color:var(--soft);font-size:12px;line-height:1.5;margin-top:7px}
.dep-chip{display:inline-flex;gap:5px;align-items:center;border:1px solid var(--line);border-radius:99px;padding:4px 8px;color:var(--muted);font-size:10px;margin:2px 3px 0 0}

/* ── RESPONSIVE ── */
@media(max-width:1280px){
  .grid-2,.tool-layout{grid-template-columns:1fr}
  .progress-panel{position:relative;top:auto}
  .hero-card{grid-template-columns:1fr}.hero-visual{display:none}
  .req-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:920px){
  :root{--side:0px}
  /* Mobile hamburger */
  .mobile-menu-btn{
    visibility:visible;pointer-events:auto;
    position:fixed;z-index:61;left:12px;top:12px;
    width:42px;height:42px;
    border:1px solid rgba(204,43,43,.3);border-radius:8px;
    background:rgba(9,9,12,.92);backdrop-filter:blur(16px);
    display:grid;place-items:center;
    box-shadow:0 4px 16px rgba(0,0,0,.5),0 0 0 1px rgba(204,43,43,.1);
  }
  .mobile-menu-btn span{
    display:block;width:16px;height:1.5px;background:var(--text);
    border-radius:99px;margin:2px 0;
    transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s;
  }
  .mobile-nav-open .mobile-menu-btn{border-color:rgba(204,43,43,.5)}
  .mobile-nav-open .mobile-menu-btn span:nth-child(1){transform:translateY(5px) rotate(45deg)}
  .mobile-nav-open .mobile-menu-btn span:nth-child(2){opacity:0;transform:scaleX(0)}
  .mobile-nav-open .mobile-menu-btn span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
  /* Scrim */
  .mobile-nav-scrim{
    visibility:hidden;opacity:0;
    position:fixed;inset:0;z-index:55;border:0;
    background:rgba(0,0,0,.6);backdrop-filter:blur(3px);
    transition:opacity .22s,visibility .22s;
  }
  .mobile-nav-open .mobile-nav-scrim{visibility:visible;opacity:1;pointer-events:auto}
  /* Slide-in */
  .side-nav{
    width:min(270px,calc(100vw - 20px));
    transform:translateX(-110%);
    transition:transform .24s cubic-bezier(.16,1,.3,1);z-index:60;
    border-radius:0 16px 16px 0;
    border-right:1px solid rgba(204,43,43,.2);
  }
  .mobile-nav-open .side-nav{transform:translateX(0)}
  .nav-toggle{display:none}
  .workspace,.nav-collapsed .workspace{margin-left:0;padding:66px 14px 30px}
  .topline{margin-bottom:14px}
  .topline h1{font-size:24px}
  .live-pill{display:none}
  .hero-card,.panel,.pdf-studio{border-radius:10px;padding:14px}
  .grid-2,.tool-layout,.inline-fields,.form-grid,.option-grid,.req-grid{grid-template-columns:1fr}
  .site-card{grid-template-columns:1fr}
  .download-row{grid-template-columns:1fr}
  .orb-labels{grid-template-columns:1fr 1fr}
  .pe-shell{height:auto;min-height:460px}
  .pe-right-panel{width:170px;flex:0 0 170px}
  .video-studio-grid{grid-template-columns:1fr}
  .option-grid label{min-height:auto}
  .pe-footer{grid-template-columns:1fr}
}
@media(max-width:520px){
  html{font-size:14px}
  .workspace{padding-left:10px;padding-right:10px}
  .topline h1{font-size:21px}
  .pe-right-panel{display:none}
  .video-actions,.video-stats{grid-template-columns:1fr}
  .video-strip{grid-template-columns:repeat(4,1fr)}
  .video-preview{min-height:210px}
  #orbCanvas{width:180px;height:180px}
}


/* v24.20 responsive polish */
@media(max-width:920px){
  html.mobile-nav-open,html.mobile-nav-open body{overflow:hidden}
  .mobile-menu-btn{
    width:48px;height:48px;left:14px;top:14px;border-radius:16px;
    background:linear-gradient(145deg,rgba(18,18,26,.94),rgba(8,8,12,.88));
    border:1px solid rgba(255,138,61,.32);
    box-shadow:0 18px 46px rgba(0,0,0,.48),0 0 24px rgba(204,43,43,.14),inset 0 1px 0 rgba(255,255,255,.08);
  }
  .mobile-menu-btn span{width:19px;height:2px;background:linear-gradient(90deg,#fff,#ffb184);box-shadow:0 0 9px rgba(255,138,61,.32)}
  .mobile-nav-scrim{background:radial-gradient(circle at 20% 20%,rgba(204,43,43,.16),transparent 32%),rgba(0,0,0,.68);backdrop-filter:blur(9px)}
  .side-nav{
    width:min(330px,calc(100vw - 22px));padding-top:10px;
    border-radius:0 24px 24px 0;border-right:1px solid rgba(255,138,61,.24);
    box-shadow:24px 0 80px rgba(0,0,0,.6),0 0 48px rgba(204,43,43,.13);
  }
  .brand{padding:18px 18px 16px 74px;min-height:70px}.brand>span{width:38px;height:38px;flex-basis:38px;border-radius:13px}.brand b{font-size:15px}.brand em{font-size:11px;color:#a0a0ad}
  .side-nav nav{padding:12px;gap:7px}.nav-link{min-height:48px;border-radius:15px;font-size:15px;color:#aaaab8;background:rgba(255,255,255,.026);border-color:rgba(255,255,255,.045)}
  .nav-link.active{background:linear-gradient(90deg,rgba(204,43,43,.28),rgba(255,138,61,.12),rgba(139,92,246,.10));border-color:rgba(255,138,61,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
  .ico,.ico svg{width:19px;height:19px}.nav-note{font-size:12px;color:#9696a4;padding:14px 18px 18px}
  .workspace,.nav-collapsed .workspace{padding:78px 15px 32px}.topline h1{font-size:clamp(25px,8vw,36px);line-height:.95}.kicker,.eyebrow{font-size:11px;color:#ff8a3d}
  .glass,.panel,.hero-card,.pdf-studio{border-radius:18px;padding:18px;background:linear-gradient(145deg,rgba(25,25,34,.9),rgba(12,12,18,.96));border-color:rgba(255,255,255,.09)}
  .form-grid,.inline-fields,.option-grid{gap:12px}.field input,.field select,.field textarea,select,input,textarea{font-size:16px;min-height:44px}
  .primary,.secondary,button{min-height:42px}
  .pe-shell{height:auto;min-height:calc(100vh - 108px);border-radius:20px}
  .pe-topbar{height:auto;min-height:54px;flex-wrap:wrap;gap:6px;padding:8px;overflow:visible}.pe-brand-label{height:38px;border:0;padding:0 10px;font-size:14px}.pe-topbar-btn{height:38px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.04);font-size:13px}.pe-export-btn{height:40px;margin-left:0;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand-3),var(--violet));font-size:13px}.pe-fullscreen-btn{height:40px;border:1px solid var(--line);border-radius:12px}.pe-page-nav,.pe-zoom{height:38px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035)}
  .pe-workspace{flex-direction:column;min-height:0}.pe-toolbox{width:100%;height:auto;flex:0 0 auto;flex-direction:row;justify-content:flex-start;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px;background:linear-gradient(90deg,#0d0d10,#151019)}.pe-tool-label{display:none}.pe-tool{width:42px;height:42px;border-radius:13px;flex:0 0 42px}.pe-tool svg{width:18px;height:18px}.pe-tool-sep{width:1px;height:30px;margin:6px 4px}
  .pe-canvas-area{min-height:430px;justify-content:flex-start;padding:14px;overflow:auto}.pe-page-wrapper{transform-origin:top left}.pe-right-panel{width:100%;flex:0 0 auto;max-height:360px;border-left:0;border-top:1px solid var(--line);display:flex}.pe-panel-head{height:38px;font-size:11px}.pe-prop-row{grid-template-columns:82px 1fr;font-size:13px;padding:8px 12px}.pe-prop-row input[type=number],.pe-prop-row-wide textarea{font-size:16px}.pe-footer{grid-template-columns:1fr;padding:12px;gap:12px}.pe-footer-panel{border:1px solid var(--line);border-radius:16px;padding:12px;background:rgba(255,255,255,.025)}#pdfResult{font-size:13px;line-height:1.5}
}
@media(max-width:560px){
  .side-nav{width:calc(100vw - 14px)}.brand{padding-left:72px}.workspace,.nav-collapsed .workspace{padding-left:10px;padding-right:10px}.topline{gap:10px}.topline h1{font-size:25px}.panel-head h2,.hero-copy h2{font-size:24px}.pe-right-panel{max-height:none}.pe-canvas-area{min-height:360px}.pe-page-nav span,.pe-zoom span{font-size:12px}.pe-footer .drop{min-height:54px}.mobile-menu-btn{left:10px;top:10px}
}

/* ── v24.21 modern UI + real PDF editing workspace ── */
:root{--side:254px;--radius:14px;--glass:rgba(18,18,28,.74)}
.side-nav{background:linear-gradient(180deg,rgba(17,18,28,.96),rgba(7,7,12,.98)),radial-gradient(circle at 18% 8%,rgba(255,138,61,.22),transparent 32%),radial-gradient(circle at 100% 70%,rgba(139,92,246,.18),transparent 40%);border-right:1px solid rgba(255,255,255,.11);box-shadow:18px 0 55px rgba(0,0,0,.34)}
.brand{padding:22px 50px 20px 18px;background:linear-gradient(180deg,rgba(255,255,255,.05),transparent);border-bottom:1px solid rgba(255,255,255,.1)}
.brand>span{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,#ff7a38,#cc2b2b 52%,#8b5cf6);box-shadow:0 14px 38px rgba(204,43,43,.28),inset 0 1px 0 rgba(255,255,255,.25)}
.brand b{font-size:15px}.brand em{font-size:10.5px;color:#8e8e9f}.nav-toggle{border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.side-nav nav{padding:14px 12px;gap:7px}.nav-link{min-height:45px;border-radius:14px;padding:0 13px;font-size:14px;color:#a1a1b1;background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.045)}
.nav-link:hover{background:linear-gradient(90deg,rgba(255,255,255,.075),rgba(255,255,255,.025));color:#f3f3f6;transform:translateX(1px)}
.nav-link.active{background:linear-gradient(110deg,rgba(204,43,43,.32),rgba(255,138,61,.15) 48%,rgba(139,92,246,.13));border-color:rgba(255,138,61,.28);box-shadow:0 10px 26px rgba(204,43,43,.12),inset 0 1px 0 rgba(255,255,255,.09)}
.ico,.ico svg{width:18px;height:18px}.nav-note{margin:8px 12px 12px;padding:14px 14px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));font-size:12px;color:#8e8e9f}

.pe-shell{border-radius:22px;background:linear-gradient(145deg,rgba(19,20,31,.96),rgba(7,7,12,.98));border-color:rgba(255,255,255,.12);box-shadow:0 30px 110px rgba(0,0,0,.62),0 0 0 1px rgba(255,138,61,.05);min-height:650px}
.pe-topbar{height:auto;min-height:52px;flex-wrap:wrap;gap:6px;padding:7px;background:linear-gradient(90deg,rgba(25,26,40,.98),rgba(36,22,31,.96),rgba(18,19,30,.98));border-bottom-color:rgba(255,255,255,.11)}
.pe-brand-label{height:38px;border-radius:13px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(135deg,rgba(255,138,61,.16),rgba(139,92,246,.11));font-size:14px}.pe-topbar-sep{display:none}
.pe-topbar-btn{height:38px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.045);font-size:13.5px;padding:0 12px}.pe-topbar-btn:hover,.pe-topbar-btn.hot{background:linear-gradient(135deg,rgba(255,138,61,.18),rgba(204,43,43,.16));border-color:rgba(255,138,61,.24);color:#fff}
.pe-page-nav,.pe-zoom{height:38px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.045);padding:0 7px}.pe-page-nav button,.pe-zoom button{height:28px;min-width:28px;border-radius:9px}.pe-export-btn{height:40px;border-radius:13px;background:linear-gradient(135deg,#ff8a3d,#cc2b2b 55%,#8b5cf6);box-shadow:0 14px 34px rgba(204,43,43,.26);font-size:13px}.pe-fullscreen-btn{height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04)}
.pe-workspace{background:linear-gradient(135deg,rgba(255,255,255,.018),transparent)}.pe-toolbox{width:58px;flex-basis:58px;background:linear-gradient(180deg,rgba(13,14,23,.96),rgba(8,8,13,.98));gap:5px;padding:10px 0;border-right-color:rgba(255,255,255,.1)}
.pe-tool{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.055)}.pe-tool svg{width:18px;height:18px}.pe-tool.active{background:linear-gradient(135deg,rgba(255,138,61,.28),rgba(204,43,43,.24),rgba(139,92,246,.18));box-shadow:0 12px 28px rgba(204,43,43,.2),inset 0 1px 0 rgba(255,255,255,.1)}
.pe-canvas-area{background:#06070a;background-image:radial-gradient(circle at 20% 20%,rgba(255,138,61,.06),transparent 30%),radial-gradient(circle at 90% 30%,rgba(139,92,246,.05),transparent 34%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:auto,auto,28px 28px,28px 28px}.pe-page-wrapper{background:white;border-radius:4px;box-shadow:0 24px 90px rgba(0,0,0,.82),0 0 0 1px rgba(255,255,255,.16);isolation:isolate}.pe-page-wrapper .canvas-container{position:absolute!important;left:0!important;top:0!important;z-index:5!important;pointer-events:auto!important}.pe-page-wrapper .upper-canvas{z-index:6!important;pointer-events:auto!important}.pe-page-wrapper .lower-canvas{z-index:5!important}#pdfCanvas{z-index:1!important;pointer-events:none!important}#fabricCanvas{z-index:5!important;pointer-events:auto!important}
.pe-right-panel{width:286px;flex-basis:286px;background:linear-gradient(180deg,rgba(15,16,25,.98),rgba(9,9,14,.98));border-left-color:rgba(255,255,255,.1)}.pe-panel-head{height:38px;font-size:11.5px;color:#c0c0cd;background:linear-gradient(90deg,rgba(255,255,255,.055),rgba(255,255,255,.02))}.pe-panel-head button{height:25px;border-radius:8px}
.pe-prop-row{grid-template-columns:82px 1fr;padding:8px 12px;font-size:13px}.pe-prop-row input[type=text],.pe-prop-row input[type=number],.pe-prop-row select,.pe-prop-row-wide textarea{min-height:32px;border-radius:10px;background:rgba(0,0,0,.33);border-color:rgba(255,255,255,.1);font-size:13.5px;color:var(--text);padding:0 9px}.pe-prop-row-wide{padding:9px 12px;font-size:13px}.pe-prop-row-wide textarea{height:76px;padding:8px 9px}.pe-style-actions{display:grid;grid-template-columns:44px 44px 1fr;gap:7px;padding:8px 12px;border-bottom:1px solid var(--line)}.pe-style-actions button{height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);color:#fff;font-weight:800;cursor:pointer}.pe-style-actions button:hover{background:linear-gradient(135deg,rgba(255,138,61,.18),rgba(139,92,246,.11))}
.pe-layer-item{min-height:38px;padding:8px 12px;font-size:13px;border-bottom-color:rgba(255,255,255,.07)}.pe-layer-item.active{background:linear-gradient(90deg,rgba(255,138,61,.2),rgba(139,92,246,.11));box-shadow:inset 3px 0 0 #ff8a3d}.pe-layer-name em{display:block;font-style:normal;font-size:10px;color:#777886;margin-top:1px}.pe-layer-item.hidden-layer{opacity:.52}.pe-layer-dot{width:9px;height:9px;border-radius:4px}.pe-no-pdf{font-size:14px;line-height:1.7;max-width:420px;margin:auto}.pe-status{height:34px;background:rgba(255,255,255,.035)}.pe-status span{font-size:12px}.pe-footer{background:linear-gradient(90deg,rgba(15,16,25,.98),rgba(10,10,16,.98));grid-template-columns:1fr 1fr 1.15fr}.pe-footer-panel{border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:10px;background:rgba(255,255,255,.026)}
@media(max-width:980px){.pe-shell{height:auto;min-height:calc(100vh - 92px)}.pe-workspace{flex-direction:column}.pe-toolbox{width:100%;flex-basis:auto;flex-direction:row;overflow-x:auto;justify-content:flex-start;padding:10px 12px}.pe-tool-label,.pe-tool-sep{display:none}.pe-canvas-area{min-height:460px;justify-content:flex-start}.pe-right-panel{width:100%;flex-basis:auto;max-height:none;border-left:0;border-top:1px solid rgba(255,255,255,.1)}.pe-footer{grid-template-columns:1fr}.pe-topbar{position:sticky;top:0;z-index:10}}

/* ── v24.22 readability / modern shell / QR ── */
:root{--text:#f4f5fb;--muted:#a5a7b8;--soft:#c4c6d4;--panel:rgba(18,19,28,.96);--panel-2:#20212d;--line:rgba(255,255,255,.12);--line-2:rgba(255,255,255,.2)}
body{color:var(--text)}
.hint,.readable,.mini-result,.preset-explain,.nav-note,.field span,.toggle em,.option-grid label em{color:#b9bbca!important}
.field input,.field select,.field textarea,input,select,textarea{color:#f6f7fb;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.14)}
.field input::placeholder,.field textarea::placeholder{color:#7f8394}
.side-nav{background:radial-gradient(circle at 8% 4%,rgba(255,138,61,.22),transparent 28%),radial-gradient(circle at 92% 38%,rgba(139,92,246,.18),transparent 36%),linear-gradient(180deg,rgba(17,18,29,.985),rgba(8,8,14,.99));box-shadow:24px 0 70px rgba(0,0,0,.45)}
.brand>span{border-radius:14px;background:linear-gradient(145deg,#ff8a3d,#cc2b2b 60%,#8b5cf6);box-shadow:0 14px 30px rgba(204,43,43,.25)}
.brand b{font-size:16px;color:#fff}.brand em{color:#b9bbca;font-size:11px}.nav-link{font-size:14.5px;color:#c5c7d4;min-height:48px;border-radius:16px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.055)}
.nav-link:hover{color:#fff;background:linear-gradient(90deg,rgba(255,138,61,.12),rgba(255,255,255,.04));transform:translateX(2px)}
.nav-link.active{color:#fff;background:linear-gradient(112deg,rgba(255,138,61,.25),rgba(204,43,43,.24) 42%,rgba(139,92,246,.16));border-color:rgba(255,176,132,.32);box-shadow:0 18px 38px rgba(204,43,43,.14),inset 0 1px 0 rgba(255,255,255,.1)}
.ico,.ico svg{width:20px;height:20px}.topline h1{font-size:34px;color:#fff}.panel-head h2,.hero-copy h2,.hero-card h2{color:#fff}
.glass,.panel{background:radial-gradient(circle at 0 0,rgba(255,138,61,.07),transparent 32%),linear-gradient(145deg,rgba(24,25,36,.94),rgba(12,13,20,.96));border-color:rgba(255,255,255,.12);box-shadow:0 18px 60px rgba(0,0,0,.32)}
.pe-auto-text{height:38px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.05);color:#f3f4f8;font-size:13px;white-space:nowrap}.pe-auto-text input{accent-color:#ff8a3d}
.pe-no-pdf{color:#e5e7ef}.pe-panel,.pe-right-panel{background:linear-gradient(145deg,rgba(29,31,44,.94),rgba(13,14,22,.96));border-color:rgba(255,255,255,.12)}.pe-panel-head{color:#fff}.pe-prop-row span,.pe-prop-row-wide span{color:#d9dbe7}.pe-layers-list{color:#f4f5fb}.pe-layer-name em{color:#aeb1c0}.pe-topbar-btn,.pe-tool,.ghost{color:#f6f7fb;border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.06)}
.pe-topbar-btn:hover,.pe-tool:hover,.ghost:hover{background:rgba(255,138,61,.12);border-color:rgba(255,138,61,.34)}.pe-topbar-btn.hot{background:linear-gradient(135deg,rgba(255,138,61,.22),rgba(204,43,43,.18));color:#fff;border-color:rgba(255,138,61,.32)}
.qr-layout{display:grid;grid-template-columns:minmax(300px,520px) minmax(280px,1fr);gap:18px}.qr-card textarea{min-height:120px;resize:vertical}.qr-preview-card{min-height:480px;display:flex;flex-direction:column}.qr-preview{flex:1;min-height:330px;display:grid;place-items:center;padding:28px;border-radius:24px;background:radial-gradient(circle at 20% 10%,rgba(255,138,61,.14),transparent 36%),linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);overflow:auto}.qr-preview canvas,.qr-preview img,.qr-preview svg{max-width:100%;height:auto;border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.28)}.qr-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.qr-actions .ghost{height:42px;border-radius:14px;padding:0 16px}.qr-preview span{color:#c4c6d4}
.mobile-menu-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mobile-menu-text{font-size:13px;font-weight:800;letter-spacing:.02em;color:#fff}
.mobile-nav-open .mobile-menu-btn svg path:first-child{d:path('M6 6l12 12M18 6L6 18')}.mobile-nav-open .mobile-menu-text{display:none}
@media(max-width:900px){
  .mobile-menu-btn{visibility:visible!important;pointer-events:auto!important;z-index:70;display:inline-flex!important;align-items:center;gap:9px;left:14px;top:14px;width:auto;min-width:58px;height:48px;padding:0 14px;border-radius:18px;border:1px solid rgba(255,138,61,.42);background:linear-gradient(135deg,rgba(255,138,61,.22),rgba(204,43,43,.16),rgba(139,92,246,.14));color:#fff;box-shadow:0 18px 42px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(16px)}
  .side-nav{z-index:66;width:min(390px,calc(100vw - 18px));transform:translateX(-110%);border-radius:0 28px 28px 0;border-right:1px solid rgba(255,255,255,.18);background:radial-gradient(circle at 16% 5%,rgba(255,138,61,.27),transparent 34%),radial-gradient(circle at 92% 60%,rgba(139,92,246,.19),transparent 45%),linear-gradient(180deg,rgba(17,18,30,.99),rgba(5,6,12,.995));box-shadow:34px 0 90px rgba(0,0,0,.58)}
  .mobile-nav-open .side-nav{transform:translateX(0)}.brand{padding:78px 22px 22px}.brand>span{width:42px;height:42px}.brand b{font-size:18px}.brand em{font-size:12px}.side-nav nav{padding:12px 14px;gap:9px}.nav-link{min-height:56px;font-size:16px;border-radius:18px;padding:0 16px}.ico,.ico svg{width:22px;height:22px}.nav-note{font-size:13px;color:#c0c3d0;padding:16px 22px 22px}.mobile-nav-scrim{z-index:64}.workspace,.nav-collapsed .workspace{margin-left:0;padding:84px 14px 32px}.live-pill{display:none}.qr-layout{grid-template-columns:1fr}.qr-preview-card{min-height:360px}.qr-preview{min-height:240px;padding:18px}.pe-auto-text{width:100%;justify-content:center;height:42px}.pe-workspace{grid-template-columns:1fr!important}.pe-toolbox{position:sticky;top:0;z-index:9;display:flex!important;flex-direction:row!important;overflow-x:auto;gap:8px;padding:10px}.pe-tool{min-width:44px;height:44px}.pe-right-panel{order:3}.pe-canvas-area{order:2}.pe-topbar{gap:8px}.pe-topbar-btn{height:42px;font-size:14px}.pe-brand-label{font-size:16px;color:#fff}.topline h1{font-size:30px}.panel-head h2{font-size:25px}.field span{font-size:13px}.field input,.field select,.field textarea{font-size:16px;min-height:46px}
}
@media(max-width:520px){.side-nav{width:calc(100vw - 10px)}.mobile-menu-btn{left:10px;top:10px;height:46px;border-radius:16px}.brand{padding-left:72px}.workspace,.nav-collapsed .workspace{padding-left:10px;padding-right:10px}.nav-link{font-size:15.5px}.qr-preview{border-radius:18px}.pe-topbar{padding-left:8px;padding-right:8px}.pe-footer{grid-template-columns:1fr!important}.pe-canvas-area{min-height:350px}}

/* v24.23 — mobile menu visibility + ChatGPT-like toggle */
.mobile-menu-btn{
  position:fixed!important;
  left:18px!important;
  top:18px!important;
  z-index:10050!important;
  visibility:visible!important;
  pointer-events:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-width:56px!important;
  height:50px!important;
  padding:0 14px!important;
  border-radius:17px!important;
  border:1px solid rgba(255,138,61,.42)!important;
  color:#fff!important;
  background:radial-gradient(circle at 18% 0%,rgba(255,184,107,.32),transparent 45%),linear-gradient(135deg,rgba(26,27,40,.92),rgba(11,12,20,.94))!important;
  box-shadow:0 18px 44px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14)!important;
  backdrop-filter:blur(18px)!important;
}
.mobile-menu-btn .menu-panel-icon{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 0 8px rgba(255,138,61,.28))}
.mobile-menu-btn .menu-arrow{transition:transform .22s ease,opacity .22s ease}.mobile-nav-open .mobile-menu-btn .menu-arrow{transform:translateX(-2px) rotate(180deg);transform-origin:center}.mobile-menu-btn .mobile-menu-text{font-size:13px!important;font-weight:850!important;letter-spacing:.02em!important;color:#fff!important;line-height:1!important}
.mobile-nav-open .mobile-menu-btn{border-color:rgba(255,255,255,.2)!important;background:radial-gradient(circle at 18% 0%,rgba(139,92,246,.28),transparent 45%),linear-gradient(135deg,rgba(30,31,46,.96),rgba(10,10,18,.98))!important}
.mobile-nav-scrim{position:fixed!important;inset:0!important;z-index:10030!important;background:radial-gradient(circle at 12% 8%,rgba(255,138,61,.22),transparent 30%),rgba(0,0,0,.74)!important;backdrop-filter:blur(10px)!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}.mobile-nav-open .mobile-nav-scrim{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
@media(max-width:900px){
  .side-nav{z-index:10040!important;transform:translateX(-112%)!important;visibility:visible!important;display:flex!important;opacity:1!important;transition:transform .3s cubic-bezier(.22,1,.36,1)!important;width:min(390px,calc(100vw - 12px))!important;max-width:none!important;border-radius:0 30px 30px 0!important;box-shadow:34px 0 95px rgba(0,0,0,.66)!important}.mobile-nav-open .side-nav{transform:translateX(0)!important}.workspace,.nav-collapsed .workspace{margin-left:0!important;padding-top:88px!important}.brand{padding-top:86px!important}.nav-toggle{display:none!important}
}
@media(min-width:901px){.mobile-menu-btn,.mobile-nav-scrim{display:none!important}}
@media(max-width:520px){.mobile-menu-btn{left:12px!important;top:12px!important;height:48px!important;min-width:52px!important}.mobile-menu-text{display:none!important}.side-nav{width:calc(100vw - 8px)!important}.brand{padding-left:76px!important}}

/* v24.23 — QR advanced controls readability */
.qr-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qr-card .field.toggle{flex-direction:row;align-items:center;gap:10px;min-height:48px}.qr-card .field.toggle input{width:18px;height:18px;min-height:18px}.qr-card input[type=file]{padding:11px 12px;color:#e9e9f4}.qr-preview canvas,.qr-preview svg{max-width:100%;height:auto!important;border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.28)}
@media(max-width:720px){.qr-card .form-grid{grid-template-columns:1fr}.qr-preview-card{min-height:320px}}


/* v24.24 — exact PDF text import + sharper brand/toggle */
.brand{gap:13px!important;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.07)}
.brand .brand-mark,.brand>span.brand-mark{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:16px!important;background:radial-gradient(circle at 25% 18%,#ffb15f 0,#ff6f35 30%,#cc2b2b 62%,#8b5cf6 100%)!important;box-shadow:0 18px 48px rgba(204,43,43,.34),0 0 0 1px rgba(255,255,255,.12) inset,0 1px 0 rgba(255,255,255,.34) inset!important;color:white!important}
.brand .brand-mark svg{width:25px!important;height:25px!important;fill:none!important;stroke:#fff!important;stroke-width:2.35!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 2px 5px rgba(0,0,0,.25))}
.brand b{letter-spacing:-.02em!important}.brand em{letter-spacing:.10em!important;text-transform:uppercase!important;color:#c7c9d8!important}
.nav-toggle{width:38px!important;height:38px!important;right:13px!important;top:13px!important;border:1px solid rgba(255,255,255,.16)!important;background:radial-gradient(circle at 35% 20%,rgba(255,255,255,.16),transparent 42%),linear-gradient(145deg,rgba(28,29,43,.98),rgba(12,12,20,.96))!important;border-radius:15px!important;color:#fff!important;box-shadow:0 14px 34px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.nav-toggle span{display:none!important}.nav-toggle:before{content:'';width:20px;height:20px;display:block;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3h11A2.5 2.5 0 0 1 20 5.5v13a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 18.5z'/%3E%3Cpath d='M9 3v18'/%3E%3Cpath d='m15 9-3 3 3 3'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.92}.nav-collapsed .nav-toggle:before{transform:scaleX(-1)}
.mobile-menu-btn{position:fixed!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:2147483000!important;background:radial-gradient(circle at 22% 0%,rgba(255,138,61,.34),transparent 42%),linear-gradient(135deg,rgba(28,29,44,.98),rgba(9,9,16,.98))!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 22px 54px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.14)!important;color:#fff!important}.mobile-menu-btn .menu-panel-icon{width:25px!important;height:25px!important}.mobile-menu-btn .menu-arrow{transition:transform .22s ease}.mobile-nav-open .mobile-menu-btn .menu-arrow{transform:rotate(180deg);transform-origin:center}.mobile-nav-scrim{z-index:2147482500!important}.side-nav{isolation:isolate}.pe-layer-item .pe-layer-name em{display:block;margin-top:2px;color:#a8abbc;font-size:11px;font-style:normal}.pe-layer-item.hidden-layer{opacity:.62}
@media(max-width:900px){.side-nav{z-index:2147482600!important;display:flex!important;visibility:visible!important;opacity:1!important}.mobile-nav-open .side-nav{transform:translateX(0)!important}.brand{padding-top:88px!important}.nav-toggle{display:none!important}.mobile-menu-btn{left:14px!important;top:14px!important;min-width:54px!important;height:50px!important;border-radius:18px!important}.workspace,.nav-collapsed .workspace{margin-left:0!important;padding-top:92px!important}}
@media(max-width:520px){.mobile-menu-btn{left:10px!important;top:10px!important;min-width:50px!important;width:50px!important;padding:0!important;justify-content:center!important}.mobile-menu-btn .mobile-menu-text{display:none!important}.brand .brand-mark,.brand>span.brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important}.brand{padding-left:72px!important}.side-nav{width:calc(100vw - 8px)!important}}

/* v24.26 — cleaner app mark, desktop/mobile toggle separation, better PDF readability */
:root{--studio-text:#f8fafc;--studio-muted:#d7dbea;--studio-panel:rgba(14,16,27,.86)}
.brand .brand-mark,.brand>span.brand-mark{
  border-radius:18px!important;
  background:radial-gradient(circle at 28% 18%,#fff1b8 0,#ff8a3d 22%,#ef4444 52%,#7c3aed 100%)!important;
  box-shadow:0 18px 54px rgba(239,68,68,.32),0 0 0 1px rgba(255,255,255,.16) inset,0 1px 0 rgba(255,255,255,.42) inset!important;
}
.brand .brand-mark svg{width:27px!important;height:27px!important;stroke:none!important;fill:#fff!important;filter:drop-shadow(0 3px 8px rgba(0,0,0,.32))}
.brand .brand-mark svg path{stroke:none!important;fill:#fff!important}.brand .brand-mark svg path:nth-child(2){fill:rgba(15,15,22,.42)!important}.brand .brand-mark svg path:nth-child(3){fill:none!important;stroke:#fff!important;stroke-width:2.2!important;stroke-linecap:round!important}
.nav-toggle{display:grid!important;place-items:center!important}.nav-toggle:before{content:''!important;width:21px!important;height:21px!important;background:currentColor!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M9 4v16'/%3E%3Cpath d='m15.5 9-3 3 3 3'/%3E%3C/svg%3E") center/contain no-repeat!important}
.nav-collapsed .nav-toggle:before{transform:scaleX(-1)}
.mobile-menu-btn{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
@media(min-width:901px){.mobile-menu-btn,.mobile-nav-scrim{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}.side-nav{transform:none!important}.nav-toggle{display:grid!important}}
@media(max-width:900px){
  .mobile-menu-btn{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:fixed!important;z-index:2147483000!important;left:14px!important;top:14px!important;width:52px!important;height:52px!important;min-width:52px!important;padding:0!important;align-items:center!important;justify-content:center!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.18)!important;background:radial-gradient(circle at 25% 5%,rgba(255,138,61,.42),transparent 42%),linear-gradient(135deg,rgba(32,34,51,.98),rgba(8,9,16,.98))!important;color:#fff!important;box-shadow:0 22px 60px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.15)!important;backdrop-filter:blur(16px)!important}
  .mobile-menu-btn svg{width:26px!important;height:26px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.mobile-menu-text{display:none!important}
  .mobile-nav-open .mobile-menu-btn .menu-arrow{transform:rotate(180deg);transform-origin:center}.mobile-nav-open .mobile-menu-btn{background:radial-gradient(circle at 25% 5%,rgba(139,92,246,.38),transparent 42%),linear-gradient(135deg,rgba(21,23,35,.99),rgba(6,7,12,.99))!important}
  .side-nav{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(388px,calc(100vw - 10px))!important;z-index:2147482600!important;display:flex!important;visibility:visible!important;opacity:1!important;transform:translateX(-112%)!important;transition:transform .32s cubic-bezier(.22,1,.36,1)!important;border-radius:0 30px 30px 0!important;background:radial-gradient(circle at 0 0,rgba(255,138,61,.13),transparent 34%),linear-gradient(180deg,rgba(19,20,32,.98),rgba(7,8,13,.995))!important;box-shadow:34px 0 100px rgba(0,0,0,.7)!important}.mobile-nav-open .side-nav{transform:translateX(0)!important}.mobile-nav-scrim{position:fixed!important;inset:0!important;z-index:2147482500!important;background:rgba(0,0,0,.56)!important;backdrop-filter:blur(10px)!important;opacity:0;pointer-events:none;transition:.24s}.mobile-nav-open .mobile-nav-scrim{opacity:1;pointer-events:auto}.nav-toggle{display:none!important}.brand{padding-top:88px!important}.workspace,.nav-collapsed .workspace{margin-left:0!important;padding-top:92px!important}
}
.pe-prop-row input,.pe-prop-row select,.pe-prop-row textarea,.pe-prop-row-wide textarea{color:#f8fafc!important;background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.15)!important}.pe-prop-row input::placeholder,.pe-prop-row-wide textarea::placeholder{color:#aeb6ca!important}.pe-prop-row span,.pe-prop-row-wide span,.pe-panel-head{color:#f4f7ff!important}.pe-layers-list,.pe-layer-name{color:#f8fafc!important}.pe-layer-dot.type-field{background:linear-gradient(135deg,#22d3ee,#8b5cf6)!important}.pe-tool[title*="Invulveld"],.pe-tool[title*="Checkbox"]{border-color:rgba(34,211,238,.25)!important}.pe-no-pdf{color:#d7dbea!important}.pe-no-pdf strong{color:#ff9a3d!important}
.pe-topbar-btn,.pe-tool,.ghost{font-weight:750!important}.pe-panel{background:radial-gradient(circle at 0 0,rgba(255,138,61,.08),transparent 40%),linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important}

/* v24.27 readability + PDF editor controls */
*{scrollbar-width:thin;scrollbar-color:rgba(255,138,61,.58) rgba(9,10,16,.78)}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:rgba(8,9,15,.9);border-radius:999px}
*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(255,138,61,.78),rgba(139,92,246,.62));border-radius:999px;border:2px solid rgba(8,9,15,.92)}
*::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ff9a3d,#8b5cf6)}
select,
.field select,
.pe-prop-row select,
#peFontFamily,
#peBlendMode{
  color:#f8fafc!important;
  background:#131520!important;
  border-color:rgba(255,255,255,.18)!important;
  text-shadow:none!important;
  color-scheme:dark;
}
select option,
#peFontFamily option,
#peBlendMode option{
  color:#f8fafc!important;
  background:#11131d!important;
}
select option:checked,
#peFontFamily option:checked{
  color:#fff!important;
  background:#2f6fed!important;
}
.pe-prop-row input[type=number],.pe-prop-row input[type=text],.pe-prop-row input[list],.pe-prop-row-wide textarea{
  color:#f8fafc!important;
  background:linear-gradient(180deg,rgba(255,255,255,.095),rgba(255,255,255,.055))!important;
}
.pe-canvas-area{cursor:default}.pe-tool.active + *{scroll-margin-left:8px}
.canvas-container,.upper-canvas{touch-action:none!important}
.pe-page-wrapper .upper-canvas{cursor:crosshair}.pe-tool[data-tool="select"].active ~ * .upper-canvas{cursor:default}
@media(min-width:901px){.mobile-menu-btn{display:none!important;visibility:hidden!important;pointer-events:none!important}.side-toggle{display:grid!important}}
@media(max-width:900px){.mobile-menu-btn{display:inline-flex!important}.side-toggle{display:none!important}}

/* v24.28 WordPress converter */
.wp-converter-layout{display:grid;grid-template-columns:minmax(320px,1.08fr) minmax(300px,.92fr);gap:22px;align-items:start}.wp-converter-card,.wp-output-card{position:relative;overflow:hidden}.wp-converter-card:before,.wp-output-card:before{content:'';position:absolute;inset:-1px;pointer-events:none;background:radial-gradient(circle at 20% 0,rgba(255,138,61,.14),transparent 34%),radial-gradient(circle at 90% 10%,rgba(139,92,246,.14),transparent 34%)}.wp-drop{min-height:138px;border-radius:24px!important;border:1px dashed rgba(255,255,255,.2)!important;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035))!important;display:flex!important;align-items:center;justify-content:center;text-align:center;margin:14px 0}.wp-drop span{display:flex;flex-direction:column;gap:6px;color:#f8fafc}.wp-drop small{color:#bfc7d8;font-size:13px}.wp-mode-info{margin:12px 0 16px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.1);color:#dfe6f7;font-size:13px;line-height:1.5}.wp-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 16px}.wp-feature-grid div{padding:14px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.09)}.wp-feature-grid b{display:block;color:#fff;margin-bottom:6px}.wp-feature-grid span{display:block;color:#cbd4e6;font-size:13px;line-height:1.45}.wp-result-box{min-height:112px;border-radius:20px;padding:16px;background:rgba(5,7,12,.55);border:1px solid rgba(255,255,255,.1);color:#dce5f7;display:flex;align-items:center}.wp-success{display:flex;flex-direction:column;gap:9px;width:100%}.wp-success b{color:#fff;font-size:17px}.wp-success span{color:#bfc7d8}.small-btn{display:inline-flex!important;width:max-content;padding:10px 14px!important;border-radius:14px!important;text-decoration:none!important}.err{color:#fecaca!important}@media(max-width:980px){.wp-converter-layout{grid-template-columns:1fr}.wp-feature-grid{grid-template-columns:1fr}}

/* v24.29 WordPress converter upgrades + portal GSAP glow support */
.glass,.panel,.hero-card,.wp-converter-card,.wp-output-card{--mx:50%;--my:0%;}
.glass::after,.panel::after,.wp-converter-card::after,.wp-output-card::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,.115),transparent 28%);opacity:.65;mix-blend-mode:screen;transition:opacity .25s ease;}
.wp-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wp-logo-field input[type=file]{padding:10px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);color:#edf3ff}.wp-details{margin:14px 0;border:1px solid rgba(255,255,255,.10);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));overflow:hidden;position:relative}.wp-details>summary{cursor:pointer;list-style:none;padding:14px 16px;color:#fff;font-weight:850;letter-spacing:-.01em;background:radial-gradient(circle at 0 0,rgba(255,107,53,.18),transparent 38%),linear-gradient(90deg,rgba(255,255,255,.075),transparent)}.wp-details>summary::-webkit-details-marker{display:none}.wp-details>summary:after{content:'+';float:right;width:24px;height:24px;border-radius:10px;display:inline-grid;place-items:center;background:rgba(255,255,255,.10);color:#fff}.wp-details[open]>summary:after{content:'–'}.wp-details .form-grid,.wp-code-grid{padding:14px}.wp-code-grid{display:grid;grid-template-columns:1fr;gap:14px}.wp-code-grid textarea,.wp-details textarea{width:100%;resize:vertical;border-radius:16px;border:1px solid rgba(255,255,255,.11);background:rgba(5,7,14,.72);color:#f8fbff;padding:12px 13px;font:500 13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;outline:none}.wp-code-grid textarea:focus,.wp-details input:focus{border-color:rgba(255,138,61,.45);box-shadow:0 0 0 4px rgba(255,138,61,.12)}.wp-details input[type=color]{height:44px;padding:4px}.wp-success{position:relative}.wp-success:before{content:'';position:absolute;inset:-12px;border-radius:22px;background:radial-gradient(circle at 20% 0,rgba(255,106,53,.22),transparent 45%),radial-gradient(circle at 90% 20%,rgba(139,92,246,.20),transparent 42%);pointer-events:none;z-index:-1}.wp-mode-info{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 32px rgba(0,0,0,.18)}
@media(max-width:760px){.wp-advanced-grid{grid-template-columns:1fr}.wp-details .form-grid,.wp-code-grid{padding:12px}.wp-details>summary{font-size:14px}.wp-converter-layout{gap:16px}}

/* v24.33 — Photopea-inspired PDF Studio Pro polish */
.pe-shell{background:#242424!important;border-radius:0!important;border:1px solid #3d3d3d!important;box-shadow:0 28px 120px rgba(0,0,0,.72)!important;overflow:hidden!important}
.pe-file-strip{display:flex;gap:18px;align-items:end;justify-content:center;padding:22px 18px 14px;background:#292929;border-bottom:1px solid #3b3b3b;overflow-x:auto}
.pe-file-card{min-width:54px;display:grid;place-items:center;gap:6px;color:#eee;font:700 14px/1 var(--f);letter-spacing:.02em}.pe-file-card b{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#fff;font-size:13px;box-shadow:inset 0 0 0 2px currentColor,0 8px 20px rgba(0,0,0,.25)}.pe-file-card span{font-size:16px;font-weight:500;color:#fafafa}.pe-file-card.psd b{color:#18c7ff}.pe-file-card.ai b{color:#ff9f29}.pe-file-card.xd b{color:#ff2bd6}.pe-file-card.fig b{background:conic-gradient(#ff7262,#a259ff,#1abcfe,#0acf83,#f24e1e);box-shadow:none}.pe-file-card.sk b{background:linear-gradient(135deg,#ffe36e,#ff9f1c);box-shadow:none}.pe-file-card.pdf b{background:#f05252;box-shadow:none}.pe-file-card.raw b{background:#6b7280;box-shadow:none}.pe-file-card.any b{background:#050505;box-shadow:none}
.pe-menu-strip{height:28px;background:#4a4a4a;border-bottom:1px solid #333;display:flex;align-items:center;gap:18px;padding:0 12px;color:#f2f2f2;font-size:13px;white-space:nowrap;overflow-x:auto}.pe-menu-strip span{cursor:default}.pe-menu-strip span:hover{color:#fff;text-shadow:0 0 12px rgba(255,255,255,.45)}
.pe-options-strip{min-height:34px;background:#515151;border-bottom:1px solid #373737;display:flex;align-items:center;gap:12px;padding:4px 10px;color:#f5f5f5;font-size:13px;white-space:nowrap;overflow-x:auto}.pe-options-strip label{display:flex;align-items:center;gap:6px}.pe-options-strip button{height:26px;border:1px solid #6a6a6a;background:#3f3f3f;color:#fff;border-radius:4px;padding:0 9px;font:600 12px/1 var(--f);cursor:pointer}.pe-options-strip button:hover{background:#595959;border-color:#8a8a8a}.pe-options-hint{color:#d4d4d4;font-size:12px}
.pe-topbar{background:#323232!important;border-bottom:1px solid #222!important;border-radius:0!important}.pe-brand-label{background:#1f1f1f!important;border-color:#555!important;border-radius:5px!important;color:#fff!important}.pe-topbar-btn,.pe-auto-text,.pe-page-nav,.pe-zoom,.pe-fullscreen-btn{background:#3c3c3c!important;border-color:#555!important;border-radius:5px!important;color:#fff!important}.pe-topbar-btn.hot,.pe-export-btn{background:linear-gradient(135deg,#d94135,#ff8a3d)!important;border-color:#ff8a3d!important;border-radius:5px!important;color:#fff!important}
.pe-workspace{background:#262626!important}.pe-toolbox{width:38px!important;flex-basis:38px!important;background:#2d2d2d!important;border-right:1px solid #151515!important;padding:4px 2px!important;gap:1px!important}.pe-tool{width:34px!important;height:31px!important;border-radius:2px!important;background:transparent!important;border-color:transparent!important;color:#ddd!important}.pe-tool:hover{background:#3c3c3c!important;color:#fff!important}.pe-tool.active{background:#606060!important;border-color:#777!important;box-shadow:none!important;color:#fff!important}.pe-tool svg{width:20px!important;height:20px!important;stroke-width:1.8!important}.pe-tool-label{display:none!important}.pe-tool-sep{width:28px!important;background:#444!important;margin:3px 0!important}
.pe-canvas-area{background:#1f1f1f!important;background-image:none!important}.pe-page-wrapper{border-radius:0!important;box-shadow:0 18px 80px rgba(0,0,0,.85)!important}.pe-right-panel{background:#303030!important;border-left:1px solid #151515!important;width:294px!important;flex-basis:294px!important}.pe-panel{background:#303030!important;border-bottom:1px solid #151515!important}.pe-panel-head{background:#3a3a3a!important;color:#fff!important;border-bottom:1px solid #1b1b1b!important}.pe-prop-row,.pe-prop-row-wide{border-bottom:1px solid #202020!important;color:#ddd!important}.pe-prop-row span,.pe-prop-row-wide span{color:#e6e6e6!important}.pe-prop-row input[type=text],.pe-prop-row input[type=number],.pe-prop-row select,.pe-prop-row-wide textarea{background:#222!important;border-color:#555!important;color:#fff!important;border-radius:4px!important}.pe-layer-item{background:#2d2d2d!important;border-bottom:1px solid #1f1f1f!important;color:#eee!important}.pe-layer-item:hover{background:#3a3a3a!important}.pe-layer-item.active{background:#4a5568!important;box-shadow:inset 3px 0 0 #4db4ff!important}.pe-status{background:#3a3a3a!important;border-top:1px solid #1e1e1e!important}.pe-footer{background:#2b2b2b!important;border-top:1px solid #151515!important}
@media(max-width:980px){.pe-file-strip{justify-content:flex-start;padding:14px 12px;gap:14px}.pe-file-card b{width:34px;height:34px}.pe-file-card span{font-size:13px}.pe-menu-strip{gap:14px}.pe-options-strip{font-size:12px}.pe-workspace{min-height:0!important}.pe-toolbox{width:100%!important;flex-basis:auto!important;flex-direction:row!important;overflow-x:auto!important;height:auto!important}.pe-tool{width:40px!important;height:40px!important;border-radius:8px!important;flex:0 0 40px!important}.pe-right-panel{width:100%!important;flex-basis:auto!important}.pe-canvas-area{min-height:440px!important}}

/* v24.34 — own PDF workspace, only usable functions shown */
.pe-native-design.pe-shell{
  background:radial-gradient(circle at 12% 0,rgba(255,138,61,.12),transparent 32%),radial-gradient(circle at 100% 8%,rgba(139,92,246,.12),transparent 28%),linear-gradient(145deg,#171923,#0b0c12)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  box-shadow:0 30px 120px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.pe-file-strip,.pe-menu-strip,.pe-options-strip{display:none!important}
.pe-command-ribbon{display:flex;align-items:stretch;gap:10px;padding:12px;background:linear-gradient(90deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border-bottom:1px solid rgba(255,255,255,.11);overflow-x:auto;scrollbar-width:thin}
.pe-ribbon-group{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.08);flex:0 0 auto}
.pe-ribbon-title{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.11em;color:#aeb6ca;font-weight:900;margin-right:2px}
.pe-ribbon-btn{height:34px;padding:0 11px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:#f8fafc;font:850 12px/1 var(--f);cursor:pointer;white-space:nowrap;transition:.18s ease}
.pe-ribbon-btn:hover{transform:translateY(-1px);background:rgba(255,138,61,.12);border-color:rgba(255,138,61,.34)}
.pe-ribbon-btn.primary{background:linear-gradient(135deg,#2563eb,#8b5cf6);border-color:rgba(255,255,255,.16)}
.pe-ribbon-btn.hot{background:linear-gradient(135deg,#ff6b35,#ef4444);border-color:rgba(255,138,61,.36)}
.pe-ribbon-check{height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);color:#eef2ff;font-size:12px;font-weight:750;white-space:nowrap}
.pe-ribbon-check input{accent-color:#ff8a3d}.pe-editor-note{padding:8px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(8,9,15,.44);color:#cbd5e1;font-size:12px;line-height:1.45}.pe-editor-note:before{content:'✓ ';color:#ff9a3d;font-weight:900}
.pe-native-design .pe-topbar{background:linear-gradient(90deg,rgba(16,18,29,.95),rgba(24,16,23,.95))!important;border-bottom:1px solid rgba(255,255,255,.1)!important;padding:8px!important;gap:7px!important}.pe-native-design .pe-brand-label{background:linear-gradient(135deg,rgba(255,138,61,.18),rgba(139,92,246,.13))!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:13px!important;color:#fff!important}.pe-native-design .pe-topbar-btn,.pe-native-design .pe-auto-text,.pe-native-design .pe-page-nav,.pe-native-design .pe-zoom,.pe-native-design .pe-fullscreen-btn{background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;color:#f8fafc!important}.pe-native-design .pe-topbar-btn.hot,.pe-native-design .pe-export-btn{background:linear-gradient(135deg,#ff6b35,#ef4444)!important;border-color:rgba(255,138,61,.4)!important;border-radius:13px!important;color:#fff!important}
.pe-native-design .pe-workspace{background:linear-gradient(135deg,#11131d,#0a0b10)!important}.pe-native-design .pe-toolbox{width:54px!important;flex-basis:54px!important;background:linear-gradient(180deg,#141722,#0c0d13)!important;border-right:1px solid rgba(255,255,255,.09)!important;padding:9px 6px!important;gap:6px!important}.pe-native-design .pe-tool{width:41px!important;height:39px!important;border-radius:13px!important;background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.08)!important;color:#e8edf8!important}.pe-native-design .pe-tool:hover{background:rgba(255,138,61,.13)!important;border-color:rgba(255,138,61,.35)!important}.pe-native-design .pe-tool.active{background:linear-gradient(135deg,rgba(255,138,61,.28),rgba(139,92,246,.20))!important;border-color:rgba(255,138,61,.45)!important;box-shadow:0 10px 26px rgba(255,138,61,.13)!important}.pe-native-design .pe-tool-sep{background:rgba(255,255,255,.12)!important;width:32px!important}.pe-native-design .pe-canvas-area{background:radial-gradient(circle at 50% 0,rgba(255,255,255,.045),transparent 30%),#101116!important}.pe-native-design .pe-right-panel{background:linear-gradient(180deg,#171923,#101119)!important;border-left:1px solid rgba(255,255,255,.09)!important;width:320px!important;flex-basis:320px!important}.pe-native-design .pe-panel{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.pe-native-design .pe-panel-head{background:rgba(255,255,255,.055)!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.pe-native-design .pe-prop-row,.pe-native-design .pe-prop-row-wide{border-bottom:1px solid rgba(255,255,255,.06)!important}.pe-native-design .pe-prop-row input[type=text],.pe-native-design .pe-prop-row input[type=number],.pe-native-design .pe-prop-row select,.pe-native-design .pe-prop-row-wide textarea{background:rgba(8,10,18,.82)!important;border-color:rgba(255,255,255,.13)!important;border-radius:12px!important;color:#fff!important}.pe-native-design .pe-layer-item{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.055)!important;border-radius:12px!important;margin:6px!important}.pe-native-design .pe-layer-item.active{background:linear-gradient(135deg,rgba(255,138,61,.20),rgba(139,92,246,.13))!important;box-shadow:inset 3px 0 0 #ff8a3d!important}.pe-native-design .pe-footer{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;border-top:1px solid rgba(255,255,255,.08)!important}
@media(max-width:980px){.pe-command-ribbon{gap:8px;padding:10px}.pe-ribbon-group{padding:7px 8px}.pe-ribbon-title{display:none}.pe-ribbon-btn,.pe-ribbon-check{height:38px;font-size:12.5px}.pe-native-design .pe-toolbox{width:100%!important;flex-basis:auto!important;flex-direction:row!important;overflow-x:auto!important;height:auto!important}.pe-native-design .pe-right-panel{width:100%!important;flex-basis:auto!important}.pe-editor-note{font-size:12.5px}}

/* v24.35 PDF UX Pro Max polish: cleaner editor, true fullscreen, separate PDF tools */
.pe-resultbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid rgba(255,255,255,.1);background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.02));color:#eef2ff}
.pe-result-text{font-family:var(--mono);font-size:13px;color:#f8fafc;min-height:24px}.pe-result-hint{font-size:12.5px;color:#b8c0d6;text-align:right;max-width:760px;line-height:1.45}
.pe-native-design .pe-topbar{justify-content:flex-end!important;min-height:54px!important}
.pe-native-design .pe-topbar .pe-brand-label,.pe-native-design #pdfOpenLabel,.pe-native-design #peUndoBtn,.pe-native-design #peExtractText,.pe-native-design #peExtractAllText,.pe-native-design .pe-auto-text,.pe-native-design #peClearPage{display:none!important}
.pe-native-design .pe-command-ribbon{position:relative;z-index:20;display:flex;align-items:center;gap:12px;padding:14px;background:linear-gradient(135deg,rgba(28,31,46,.96),rgba(18,14,27,.97));border:1px solid rgba(255,255,255,.105);border-bottom-color:rgba(255,138,61,.18);border-radius:22px 22px 0 0;overflow-x:auto;scrollbar-width:thin}
.pe-native-design .pe-ribbon-group{background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.032));border:1px solid rgba(255,255,255,.105);border-radius:18px;padding:10px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.pe-native-design .pe-ribbon-title{letter-spacing:.12em;color:#c8d0e9;font-size:10px}.pe-native-design .pe-ribbon-btn,.pe-native-design .pe-ribbon-check{font-size:13px;font-weight:800;color:#f8fafc;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.pe-native-design .pe-ribbon-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(0,0,0,.24);background:rgba(255,255,255,.11)}
.pe-native-design .pe-ribbon-btn.hot,.pe-native-design .pe-ribbon-btn.primary{background:linear-gradient(135deg,#ff8a3d,#ef4444,#8b5cf6);color:#fff;border-color:rgba(255,255,255,.16)}
.pe-native-design .pe-editor-note{padding:10px 16px;color:#d9def0;background:linear-gradient(90deg,rgba(255,138,61,.10),rgba(139,92,246,.06),transparent);border-bottom:1px solid rgba(255,255,255,.08)}
.pe-native-design .pe-workspace{min-height:620px;display:flex!important}.pe-native-design .pe-canvas-area{position:relative;flex:1 1 auto;min-width:0;min-height:620px;padding:28px!important;align-items:flex-start!important;justify-content:center!important}.pe-native-design .pe-page-wrapper{position:relative!important;display:inline-block!important;line-height:0;transform-origin:top center}.pe-native-design #pdfCanvas{position:relative!important;display:block!important}.pe-native-design #fabricCanvas{position:absolute!important;left:0!important;top:0!important}.pe-native-design .pe-page-wrapper .canvas-container{position:absolute!important;left:0!important;top:0!important;z-index:8!important}.pe-native-design .pe-page-wrapper .upper-canvas{z-index:12!important;cursor:default!important}.pe-native-design .pe-right-panel{flex:0 0 340px!important;width:340px!important;min-width:320px!important;overflow:auto!important}
.pe-native-design .pe-prop-row input,.pe-native-design .pe-prop-row select,.pe-native-design .pe-prop-row-wide textarea{min-height:38px!important;font-size:14px!important}.pe-native-design .pe-panel-head{font-size:13px!important;letter-spacing:.08em}.pe-native-design .pe-layer-item{min-height:42px!important;color:#f4f7ff!important}
.pdf-fullscreen-open{overflow:hidden!important}.pe-shell.fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:99999!important;margin:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;background:#090a0f!important}.pe-shell.fullscreen .pe-command-ribbon{border-radius:0!important;flex:0 0 auto}.pe-shell.fullscreen .pe-editor-note,.pe-shell.fullscreen .pe-topbar{flex:0 0 auto}.pe-shell.fullscreen .pe-workspace{flex:1 1 auto!important;min-height:0!important;height:auto!important}.pe-shell.fullscreen .pe-canvas-area{min-height:0!important;height:auto!important;overflow:auto!important}.pe-shell.fullscreen .pe-right-panel{height:auto!important;max-height:none!important}.pe-shell.fullscreen .pe-resultbar{flex:0 0 auto}.pe-shell.fullscreen #pePaperWrapper{margin:0 auto}.pe-shell.fullscreen .pe-footer{display:none!important}
.pdf-tools-grid{align-items:stretch}.pdf-tool-card{min-height:410px;display:flex;flex-direction:column;gap:14px}.pdf-tool-card .drop{min-height:118px}.pdf-tool-card .mini-result{min-height:54px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035);color:#e9eefc}.pdf-tools-visual span{font-size:18px}.pdf-tools-visual i:nth-child(1){background:linear-gradient(135deg,#ef4444,#ff8a3d)}.pdf-tools-visual i:nth-child(2){background:linear-gradient(135deg,#38bdf8,#8b5cf6)}.pdf-tools-visual i:nth-child(3){background:linear-gradient(135deg,#22c55e,#a3e635)}
@media(max-width:1180px){.pe-native-design .pe-right-panel{flex-basis:300px!important;width:300px!important}.pe-native-design .pe-command-ribbon{gap:8px}.pe-native-design .pe-ribbon-group{padding:9px}.pe-resultbar{flex-direction:column;align-items:flex-start}.pe-result-hint{text-align:left}}
@media(max-width:980px){.pe-native-design .pe-workspace{flex-direction:column!important;min-height:0!important}.pe-native-design .pe-canvas-area{min-height:460px!important;justify-content:flex-start!important}.pe-native-design .pe-right-panel{width:100%!important;min-width:0!important;flex-basis:auto!important;max-height:420px!important}.pe-resultbar{font-size:13px}.grid-3.pdf-tools-grid{grid-template-columns:1fr!important}.pe-shell.fullscreen .pe-workspace{flex-direction:column!important}.pe-shell.fullscreen .pe-right-panel{max-height:36vh!important}.pe-shell.fullscreen .pe-canvas-area{min-height:0!important;flex:1 1 auto!important}}

/* v24.36 — UI/UX Pro Max PDF workspace refinements */
:root{--surface-0:#070911;--surface-1:#0d101a;--surface-2:#151927;--surface-3:#1d2233;--accent-a:#ff6b35;--accent-b:#ef4444;--accent-c:#8b5cf6;--focus:#38bdf8}
body{color:#f4f7fb;background:radial-gradient(circle at 18% 0%,rgba(255,107,53,.10),transparent 32%),radial-gradient(circle at 88% 12%,rgba(139,92,246,.12),transparent 30%),linear-gradient(180deg,#07080d,#0a0b12 55%,#07080d)}
.side-nav{background:linear-gradient(180deg,rgba(18,20,31,.98),rgba(8,9,15,.985)),radial-gradient(circle at 30% 0,rgba(255,107,53,.20),transparent 30%),radial-gradient(circle at 110% 90%,rgba(139,92,246,.20),transparent 34%);border-right:1px solid rgba(255,255,255,.10);box-shadow:18px 0 60px rgba(0,0,0,.34)}
.brand{min-height:74px}.brand b{font-size:14px;color:#fff}.brand em{color:#aab2c7}.brand-mark{background:linear-gradient(135deg,#ff6b35,#ef4444 48%,#8b5cf6)!important;border-radius:14px!important;box-shadow:0 18px 46px rgba(239,68,68,.24),inset 0 0 0 1px rgba(255,255,255,.16)!important}.brand-mark svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.nav-link{min-height:42px;border-radius:12px;color:#aeb6c8}.nav-link:hover{color:#fff;background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.09)}.nav-link.active{background:linear-gradient(135deg,rgba(255,107,53,.20),rgba(139,92,246,.13));border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 22px rgba(0,0,0,.18)}
.panel,.glass,.hero-card,.pdf-studio{border-color:rgba(255,255,255,.11)!important;background:linear-gradient(145deg,rgba(20,23,35,.88),rgba(10,12,20,.94))!important;box-shadow:0 24px 80px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.055)}
button,.primary,.ghost,.download,.pe-ribbon-btn,.pe-topbar-btn{font-weight:800;letter-spacing:-.015em}.primary,.download:not(.disabled){box-shadow:0 18px 48px rgba(239,68,68,.22)}

/* PDF Studio: less clutter, stronger contrast, true fullscreen */
.pe-native-design{background:linear-gradient(180deg,rgba(13,15,25,.98),rgba(7,8,14,.98))!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 30px 100px rgba(0,0,0,.52)!important;overflow:hidden!important}.pe-command-ribbon{position:sticky;top:0;z-index:40;padding:10px!important;background:linear-gradient(90deg,rgba(19,22,35,.98),rgba(23,17,31,.98))!important;border-bottom:1px solid rgba(255,255,255,.10)!important;box-shadow:0 12px 42px rgba(0,0,0,.36);gap:8px!important;scrollbar-width:thin;scrollbar-color:#ff6b35 #10131f}.pe-ribbon-group{border-radius:18px!important;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important;border:1px solid rgba(255,255,255,.11)!important;padding:9px 10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}.pe-ribbon-title{color:#b8c0d6!important;font-size:10px!important;letter-spacing:.12em!important}.pe-ribbon-btn{height:36px!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;color:#f8fbff!important;padding:0 13px!important}.pe-ribbon-btn:hover{background:rgba(255,255,255,.11)!important;transform:translateY(-1px)}.pe-ribbon-btn.primary,.pe-ribbon-btn.hot{background:linear-gradient(135deg,#ff6b35,#ef4444 55%,#8b5cf6)!important;border-color:rgba(255,255,255,.20)!important;color:#fff!important}.pe-editor-note{padding:8px 14px!important;color:#d6dbea!important;background:linear-gradient(90deg,rgba(255,107,53,.09),rgba(139,92,246,.04))!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.pe-native-design .pe-topbar{height:54px!important;padding:8px 12px!important;background:rgba(8,10,17,.92)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;gap:8px!important}.pe-native-design .pe-topbar .pe-page-nav,.pe-native-design .pe-topbar .pe-zoom{display:flex!important}.pe-export-btn{margin-left:auto!important;background:linear-gradient(135deg,#ff6b35,#ef4444)!important;border-radius:14px!important;box-shadow:0 18px 46px rgba(239,68,68,.25)!important}.pe-fullscreen-btn{width:42px!important;min-width:42px!important;background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}.pe-fullscreen-btn:hover{background:rgba(56,189,248,.14)!important;border-color:rgba(56,189,248,.35)!important}
.pe-native-design .pe-workspace{background:#070911!important;min-height:0!important;height:calc(100dvh - 260px);max-height:820px}.pe-native-design .pe-canvas-area{background:radial-gradient(circle at 20% 20%,rgba(56,189,248,.05),transparent 32%),radial-gradient(circle at 80% 10%,rgba(139,92,246,.055),transparent 34%),#080a11!important;padding:36px!important;overflow:auto!important}.pe-native-design .pe-toolbox{width:52px!important;background:linear-gradient(180deg,rgba(20,23,35,.95),rgba(9,11,18,.97))!important;border-right:1px solid rgba(255,255,255,.09)!important;padding:12px 8px!important;gap:8px!important}.pe-tool-label{display:none!important}.pe-tool{width:36px!important;height:36px!important;border-radius:13px!important;color:#dce4f5!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.10)!important}.pe-tool:hover,.pe-tool.active{color:#fff!important;background:linear-gradient(135deg,rgba(255,107,53,.26),rgba(139,92,246,.22))!important;border-color:rgba(255,255,255,.21)!important;box-shadow:0 12px 28px rgba(0,0,0,.24)}.pe-tool svg{width:19px!important;height:19px!important}.pe-page-wrapper{border-radius:8px!important;box-shadow:0 30px 110px rgba(0,0,0,.78),0 0 0 1px rgba(255,255,255,.18)!important}.pe-page-wrapper .canvas-container,.pe-page-wrapper .upper-canvas{touch-action:none!important}.canvas-container .upper-canvas{outline:0!important}
.pe-right-panel{background:linear-gradient(180deg,rgba(19,22,34,.98),rgba(9,11,18,.98))!important;border-left:1px solid rgba(255,255,255,.10)!important;box-shadow:-18px 0 70px rgba(0,0,0,.28);overflow:auto!important;scrollbar-width:thin;scrollbar-color:#ff6b35 #111522}.pe-accordion{border-bottom:1px solid rgba(255,255,255,.09)!important;overflow:hidden}.pe-accordion summary{list-style:none;cursor:pointer;user-select:none;display:flex!important;align-items:center;justify-content:space-between;gap:10px}.pe-accordion summary::-webkit-details-marker{display:none}.pe-accordion summary::after{content:'⌄';width:24px;height:24px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#dbe3f7;transition:transform .18s}.pe-accordion[open] summary::after{transform:rotate(180deg)}.pe-panel-head{height:44px!important;padding:0 14px!important;color:#fff!important;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.015))!important;border-bottom:1px solid rgba(255,255,255,.08)!important;font-size:12px!important;letter-spacing:.09em!important;text-transform:uppercase}.pe-panel-head span{font-size:10px!important;text-transform:none!important;letter-spacing:0!important;color:#9fa8bd!important;font-weight:700!important}.pe-prop-row{grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important;padding:9px 14px!important}.pe-prop-row span,.pe-prop-row-wide span{color:#e8eefb!important;font-weight:750!important}.pe-prop-row input,.pe-prop-row select,.pe-prop-row textarea,.pe-prop-row-wide textarea{min-height:36px!important;border-radius:12px!important;background:#0a0d17!important;color:#f8fbff!important;border:1px solid rgba(255,255,255,.13)!important}.pe-prop-row input:focus,.pe-prop-row select:focus,.pe-prop-row textarea:focus,.pe-prop-row-wide textarea:focus{outline:2px solid rgba(56,189,248,.35)!important;border-color:rgba(56,189,248,.45)!important}.pe-style-actions{padding:10px 14px!important;gap:8px!important}.pe-style-actions button{border-radius:12px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}.pe-prop-row-wide{padding:8px 14px 14px!important}.pe-prop-row-wide textarea{min-height:96px!important;resize:vertical!important}.pe-layers-list{overflow:auto!important;min-height:160px!important;scrollbar-width:thin;scrollbar-color:#ff6b35 #111522}.pe-layer-item{border-radius:13px!important;margin:7px 10px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.045)!important}.pe-layer-item:hover{background:rgba(255,255,255,.075)!important}.pe-layer-item.active{background:linear-gradient(135deg,rgba(255,107,53,.22),rgba(139,92,246,.16))!important;border-color:rgba(255,255,255,.18)!important;box-shadow:0 10px 26px rgba(0,0,0,.22),inset 3px 0 0 #ff6b35!important}.pe-layer-actions{display:flex!important;gap:5px!important}.pe-layer-actions button{width:24px!important;height:24px!important;border-radius:8px!important;background:rgba(255,255,255,.075)!important;color:#fff!important;border:1px solid rgba(255,255,255,.11)!important}.pe-status{height:42px!important;background:#080a12!important;border-top:1px solid rgba(255,255,255,.09)!important;color:#dce4f6!important}
.pe-resultbar{background:rgba(6,8,13,.95)!important;border-top:1px solid rgba(255,255,255,.08)!important;color:#cbd5e1!important}.pe-footer{display:none!important}

/* True fullscreen must cover the app chrome */
html.pdf-fullscreen-open,body.pdf-fullscreen-open{overflow:hidden!important}.pdf-fullscreen-open .side-nav,.pdf-fullscreen-open .mobile-menu-btn,.pdf-fullscreen-open .mobile-nav-scrim{display:none!important;visibility:hidden!important;pointer-events:none!important}.pdf-fullscreen-open .workspace{margin-left:0!important;padding:0!important;width:100vw!important;max-width:none!important}.pe-shell.fullscreen{position:fixed!important;left:0!important;top:0!important;right:0!important;bottom:0!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:2147483000!important;margin:0!important;border:0!important;border-radius:0!important}.pe-shell.fullscreen .pe-command-ribbon{top:0!important}.pe-shell.fullscreen .pe-workspace{height:auto!important;max-height:none!important;flex:1 1 auto!important}.pe-shell.fullscreen .pe-canvas-area{height:auto!important;min-height:0!important}.pe-shell.fullscreen .pe-right-panel{height:auto!important;max-height:none!important}.pe-shell.fullscreen .pe-resultbar{display:flex!important}.pe-shell.fullscreen .pe-fullscreen-btn{background:linear-gradient(135deg,#38bdf8,#8b5cf6)!important;color:white!important}

/* App wide thin dark scrollbars */
*{scrollbar-width:thin;scrollbar-color:rgba(255,107,53,.72) rgba(10,13,22,.95)}
*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:rgba(10,13,22,.95);border-radius:999px}*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff6b35,#8b5cf6);border-radius:999px;border:2px solid rgba(10,13,22,.95)}*::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ff8a3d,#a78bfa)}

@media(max-width:980px){.pe-native-design .pe-workspace{height:auto!important;max-height:none!important}.pe-command-ribbon{overflow-x:auto!important;flex-wrap:nowrap!important}.pe-ribbon-group{flex:0 0 auto!important}.pe-native-design .pe-canvas-area{padding:18px!important}.pe-native-design .pe-toolbox{width:100%!important;flex-direction:row!important;overflow-x:auto!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important}.pe-native-design .pe-right-panel{max-height:none!important}.pe-prop-row{grid-template-columns:1fr!important}.pe-panel-head span{display:none!important}.pe-shell.fullscreen .pe-workspace{height:auto!important}.pe-shell.fullscreen .pe-right-panel{max-height:42dvh!important}}

/* v24.37 Photopea full editor integration */
.photopea-hero .hero-visual span{font-size:28px;letter-spacing:.06em;text-transform:uppercase}
.photopea-panel{overflow:hidden}
.photopea-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.photopea-upload{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin:14px 0;padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.photopea-frame-wrap{width:100%;height:min(78vh,860px);min-height:620px;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.13);background:#171717;box-shadow:0 28px 90px rgba(0,0,0,.45),0 0 0 1px rgba(255,106,53,.08)}
.photopea-frame-wrap:fullscreen{width:100vw;height:100vh;border-radius:0;border:0;background:#222}
#photopeaFrame{width:100%;height:100%;border:0;display:block;background:#202020}
.mini-note{margin-top:12px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);color:rgba(255,255,255,.76);line-height:1.55}
@media(max-width:860px){.photopea-upload{grid-template-columns:1fr}.photopea-frame-wrap{height:72vh;min-height:520px;border-radius:16px}}

/* v24.38 — Photopea embedded workspace, styled to fit Archive Studio */
.photopea-page{padding-top:4px}
.photopea-workbench{position:relative;overflow:hidden;padding:14px;border-radius:28px;background:linear-gradient(145deg,rgba(15,17,28,.96),rgba(8,9,15,.98));border:1px solid rgba(255,255,255,.10);box-shadow:0 30px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08)}
.photopea-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px 14px;border-bottom:1px solid rgba(255,255,255,.09)}
.photopea-brand-mini{display:flex;align-items:center;gap:14px;min-width:260px}.photopea-brand-mini h2{margin:0;font-size:clamp(22px,2.3vw,34px);letter-spacing:-.04em}.brand-glyph{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;font-weight:950;color:white;background:linear-gradient(135deg,#ff3f5f,#7a5cff 52%,#23d3ff);box-shadow:0 14px 40px rgba(255,85,90,.25)}
.photopea-actions.compact{margin:0;justify-content:flex-end}.photopea-actions.compact .small-btn,.photopea-actions.compact .primary{min-height:38px;padding:0 14px;border-radius:13px}
.photopea-bridgebar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.08);border-radius:18px;margin:12px 0}.pea-file-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:14px;cursor:pointer;font-weight:850;color:#fff;background:linear-gradient(135deg,#ff6845,#9b5cff);box-shadow:0 10px 30px rgba(255,91,70,.22)}.pea-file-btn input{display:none}.pea-status{margin-left:auto;color:rgba(255,255,255,.74);font-size:13px;font-weight:760}.pea-status.bad{color:#ff8a8a}.photopea-local-install{margin:0 0 12px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden}.photopea-local-install summary{cursor:pointer;padding:12px 14px;font-weight:850;color:rgba(255,255,255,.86)}.photopea-local-install[open] summary{border-bottom:1px solid rgba(255,255,255,.08)}
.photopea-frame-wrap.pea-integrated{height:calc(100dvh - 280px);min-height:680px;border-radius:20px;background:#222;border:1px solid rgba(255,255,255,.12);box-shadow:0 28px 90px rgba(0,0,0,.55),0 0 0 1px rgba(136,93,255,.12);position:relative}.photopea-frame-wrap.pea-integrated:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.09);z-index:2}.photopea-frame-wrap.pea-focus{overflow:hidden}.photopea-frame-wrap.pea-focus #photopeaFrame{width:calc(100% + 220px);max-width:none}.photopea-frame-wrap:fullscreen{height:100dvh!important;min-height:100dvh!important;width:100vw!important;border-radius:0!important}.photopea-frame-wrap:fullscreen #photopeaFrame{height:100dvh!important}.photopea-frame-wrap:fullscreen.pea-focus #photopeaFrame{width:calc(100vw + 240px)}
@media(max-width:980px){.photopea-topbar{align-items:flex-start;flex-direction:column}.photopea-actions.compact{justify-content:flex-start}.pea-status{width:100%;margin-left:0}.photopea-frame-wrap.pea-integrated{height:70dvh;min-height:560px}.photopea-bridgebar{align-items:stretch}.photopea-bridgebar .small-btn,.pea-file-btn{flex:1 1 150px}.photopea-brand-mini{min-width:0}}

/* v24.39 UI/UX Pro Max PDF polish + strict fullscreen */
:root{--as-bg:#07080d;--as-panel:#10131d;--as-panel-2:#161a27;--as-text:#f6f8ff;--as-muted:#aeb7ca;--as-line:rgba(255,255,255,.115);--as-hot:#ff6b35;--as-violet:#8b5cf6;--as-cyan:#38bdf8}
body{color:var(--as-text);background:radial-gradient(circle at 18% 0%,rgba(255,107,53,.12),transparent 28%),radial-gradient(circle at 78% 10%,rgba(139,92,246,.11),transparent 30%),#05060a}
.side-nav{background:linear-gradient(180deg,rgba(19,22,34,.98),rgba(8,9,14,.985));border-right:1px solid rgba(255,255,255,.105);box-shadow:20px 0 70px rgba(0,0,0,.36)}
.nav-link{color:#e8edfb;border:1px solid transparent}.nav-link:hover,.nav-link.active{background:linear-gradient(135deg,rgba(255,107,53,.16),rgba(139,92,246,.13));border-color:rgba(255,255,255,.11);color:white}.nav-link .ico{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09)}
.glass,.card,.tool-card,.panel{background:linear-gradient(145deg,rgba(19,22,34,.86),rgba(9,11,18,.92));border-color:rgba(255,255,255,.11);box-shadow:0 22px 70px rgba(0,0,0,.34)}
.pe-native-design{min-height:calc(100dvh - 76px)!important;display:flex!important;flex-direction:column!important;border-radius:28px!important}
.pe-command-ribbon{display:flex!important;align-items:center!important;gap:10px!important;overflow-x:auto!important;min-height:70px!important;flex:0 0 auto!important}
.pe-ribbon-group{min-height:45px!important}.pe-ribbon-btn,.pe-topbar-btn,.pe-export-btn{white-space:nowrap!important}
.pe-topbar{flex:0 0 auto!important;background:linear-gradient(90deg,rgba(9,11,18,.98),rgba(15,13,24,.98))!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
.pe-native-design .pe-workspace{flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:620px!important}
.pe-native-design .pe-canvas-area{position:relative!important;flex:1 1 auto!important;align-items:flex-start!important;justify-content:center!important}.pe-page-wrapper{position:relative!important}
.pe-right-panel{min-width:320px!important}.pe-accordion:not([open])>*:not(summary){display:none!important}.pe-panel-head{position:sticky;top:0;z-index:2}.pe-layers-list{max-height:36vh!important;padding-bottom:10px!important}
.pe-layer-item{min-height:46px!important;padding:9px 10px!important;display:flex!important;align-items:center!important;gap:10px!important;cursor:pointer}.pe-layer-item .pe-layer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pe-layer-item.active{outline:2px solid rgba(255,107,53,.23)!important}
.pe-prop-row input[type=color]{height:34px!important;padding:2px!important}.pe-prop-row select option{background:#0b0e17!important;color:#f8fbff!important}.pe-resultbar{background:linear-gradient(90deg,rgba(10,12,20,.94),rgba(13,12,21,.94))!important;color:#d8deee!important;border-top:1px solid rgba(255,255,255,.095)!important}
html.pdf-fullscreen-open body,body.pdf-fullscreen-open{overflow:hidden!important}.pdf-fullscreen-open .side-nav,.pdf-fullscreen-open #sideNav,.pdf-fullscreen-open .sidebar,.pdf-fullscreen-open .mobile-menu-btn,.pdf-fullscreen-open .mobile-nav-scrim,.pdf-fullscreen-open .topbar,.pdf-fullscreen-open .app-sidebar{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateX(-120%)!important}.pdf-fullscreen-open .workspace,.pdf-fullscreen-open main,.pdf-fullscreen-open .main{margin-left:0!important;padding:0!important;left:0!important;width:100vw!important;max-width:100vw!important}.pe-shell.fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:2147483646!important;border-radius:0!important;margin:0!important;background:#07080d!important}.pe-shell.fullscreen .pe-native-design,.pe-shell.fullscreen{min-height:100dvh!important}.pe-shell.fullscreen .pe-command-ribbon{border-radius:0!important}.pe-shell.fullscreen .pe-workspace{min-height:0!important;height:auto!important;flex:1 1 auto!important}.pe-shell.fullscreen .pe-canvas-area{min-height:0!important}.pe-shell.fullscreen .pe-right-panel{max-height:none!important}
@media(max-width:980px){.pe-native-design{border-radius:20px!important}.pe-command-ribbon{padding:10px!important}.pe-right-panel{min-width:0!important;width:100%!important}.pe-native-design .pe-workspace{min-height:0!important}.pe-layers-list{max-height:240px!important}}


/* v24.40 Stirling-inspired PDF builder polish */
.pe-shell{background:radial-gradient(circle at 12% 0%,rgba(255,106,53,.14),transparent 35%),linear-gradient(145deg,#0b0d13,#10131d 52%,#090a0f)!important;border:1px solid rgba(255,255,255,.08)!important;box-shadow:0 30px 90px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.05)!important}
.pe-command-ribbon{gap:10px!important;padding:12px!important;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;border-bottom:1px solid rgba(255,255,255,.09)!important;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(255,106,53,.55) rgba(255,255,255,.06)}
.pe-ribbon-group{background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.pe-ribbon-title{color:#f6f2ed!important;letter-spacing:.07em!important}
.pe-ribbon-btn,.pe-topbar-btn,.pe-quick-grid button,.pe-form-tool-grid button{color:#fff!important;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.pe-ribbon-btn:hover,.pe-topbar-btn:hover,.pe-quick-grid button:hover,.pe-form-tool-grid button:hover{transform:translateY(-1px);border-color:rgba(255,153,96,.45)!important;box-shadow:0 12px 34px rgba(255,106,53,.12)}
.pe-ribbon-btn.hot,.pe-topbar-btn.hot,.pe-ribbon-btn.primary{background:linear-gradient(135deg,#ff6a35,#ffb86b)!important;color:#160b07!important;border-color:rgba(255,184,107,.65)!important;font-weight:850!important}
.pe-doc-builder .pe-panel-head{background:linear-gradient(135deg,rgba(255,106,53,.14),rgba(88,166,255,.08))}
.pe-quick-grid,.pe-form-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
.pe-form-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.08)}
.pe-mini-note{margin:6px 10px 12px;color:#bfc5d4;font-size:12px;line-height:1.45}
.pe-right-panel{min-width:320px!important;max-width:390px!important;background:linear-gradient(180deg,rgba(15,18,28,.98),rgba(9,11,18,.96))!important;border-left:1px solid rgba(255,255,255,.08)!important}
.pe-panel{border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;border-radius:16px!important;margin:10px!important;overflow:hidden!important}
.pe-panel-head{padding:12px 14px!important;color:#fff!important;font-weight:850!important;cursor:pointer;list-style:none}
.pe-panel-head span{color:#aeb6c7!important;font-weight:600!important;font-size:11px!important}
.pe-toolbox{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;border-right:1px solid rgba(255,255,255,.08)!important}
.pe-tool{border-radius:13px!important;color:#dce3f2!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.035)!important}
.pe-tool.active{background:linear-gradient(135deg,#ff6a35,#ffb86b)!important;color:#170905!important;box-shadow:0 12px 30px rgba(255,106,53,.22)}
.pe-canvas-area{background:radial-gradient(circle at 50% 0,rgba(255,255,255,.08),transparent 28%),#171a22!important}
.pe-page-wrapper{box-shadow:0 28px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.12)!important}
.pe-layer-item{border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.04)!important;border-radius:12px!important;margin:6px!important;color:#eef3ff!important}
.pe-layer-item.active{background:linear-gradient(135deg,rgba(255,106,53,.28),rgba(88,166,255,.14))!important;border-color:rgba(255,153,96,.55)!important}
.pe-prop-row span,.pe-prop-row-wide span{color:#e7ebf5!important}.pe-prop-row input,.pe-prop-row select,.pe-prop-row-wide textarea{background:#10131d!important;color:#f4f7ff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:10px!important}
.pe-shell.fullscreen{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100vh!important;border-radius:0!important;margin:0!important}.pdf-fullscreen-open .sidebar,.pdf-fullscreen-open .mobile-menu-toggle,.pdf-fullscreen-open .topbar{display:none!important}.pdf-fullscreen-open .main{margin-left:0!important}.pe-shell.fullscreen .pe-workspace{height:calc(100vh - 150px)!important}
@media(max-width:900px){.pe-workspace{grid-template-columns:1fr!important}.pe-toolbox{position:sticky;top:0;z-index:5;display:flex!important;overflow:auto;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important}.pe-right-panel{min-width:0!important;max-width:none!important;width:100%!important;border-left:0!important}.pe-command-ribbon{display:flex!important}.pe-ribbon-group{min-width:fit-content}.pe-shell.fullscreen .pe-workspace{height:calc(100vh - 140px)!important}}

/* v24.42 PDF Oxide integration + PDF editor stability polish */
.pe-oxide-ribbon .pe-ribbon-btn{border-color:rgba(56,189,248,.25);background:linear-gradient(135deg,rgba(14,165,233,.14),rgba(168,85,247,.12));}
.pe-oxide-panel{border-color:rgba(56,189,248,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 46px rgba(2,6,23,.22)}
.pe-oxide-status{display:flex;align-items:center;gap:8px;margin:10px 0;padding:9px 11px;border-radius:14px;background:rgba(15,23,42,.76);border:1px solid rgba(148,163,184,.18);color:#dbeafe;font-size:12.5px;font-weight:750;letter-spacing:.01em}
.pe-oxide-status:before{content:"";width:8px;height:8px;border-radius:99px;background:#f59e0b;box-shadow:0 0 16px rgba(245,158,11,.8)}
.pe-oxide-status.ok:before{background:#22c55e;box-shadow:0 0 16px rgba(34,197,94,.75)}
.pe-oxide-status.warn:before{background:#f97316;box-shadow:0 0 16px rgba(249,115,22,.7)}
.pe-oxide-output{width:100%;min-height:112px;max-height:260px;resize:vertical;border-radius:16px;border:1px solid rgba(148,163,184,.22);background:#0b1020;color:#e5e7eb;padding:11px 12px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;outline:none;scrollbar-width:thin;scrollbar-color:#334155 #020617}
.pe-oxide-output:focus{border-color:rgba(56,189,248,.45);box-shadow:0 0 0 3px rgba(56,189,248,.12)}
.pe-layer-item{cursor:pointer;user-select:none}
.pe-layer-item.active{outline:1px solid rgba(255,138,61,.45);box-shadow:0 10px 26px rgba(255,138,61,.10),inset 0 1px 0 rgba(255,255,255,.06)}
.canvas-container,.upper-canvas{touch-action:none!important}
/* v47 Visual Rebuild UI */
.visual-rebuild-card .panel-head h2,.visual-rebuild-output .panel-head h2{letter-spacing:-.055em}.visual-rebuild-layout .wp-feature-grid div{position:relative;overflow:hidden}.visual-rebuild-layout .wp-feature-grid div:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 20% 0%,rgba(255,106,53,.18),transparent 42%),radial-gradient(circle at 90% 10%,rgba(139,92,246,.18),transparent 36%);pointer-events:none}.visual-rebuild-layout .wp-feature-grid b,.visual-rebuild-layout .wp-feature-grid span{position:relative}.visual-rebuild-card .primary span:before{content:"✦";margin-right:8px}.visual-rebuild-output .wp-result-box{min-height:126px}.visual-rebuild-layout .subtle b{color:#fff}.visual-rebuild-layout .field.big input{font-size:16px}

/* v48 Visual Rebuild hardening */
.rebuild-warnings{margin-top:12px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(0,0,0,.18);overflow:hidden}
.rebuild-warnings summary{cursor:pointer;padding:10px 12px;color:#fff;font-weight:800}
.rebuild-warnings pre{margin:0;padding:12px;max-height:180px;overflow:auto;color:#ffd8c2;font-size:12px;white-space:pre-wrap;background:rgba(0,0,0,.28)}
.visual-rebuild-output .wp-feature-grid div{min-height:118px}
