.pecp-shell, .pecp-shell * { box-sizing: border-box; }
.pecp-shell [hidden] { display: none !important; }

.pecp-shell {
    --pecp-red: #ed1c24;
    --pecp-ink: #111318;
    --pecp-muted: #727780;
    --pecp-line: #e2e4e8;
    width: 100vw;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 calc(50% - 50vw) !important;
    color: var(--pecp-ink);
    background: #f5f6f8;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.wp-admin .pecp-shell { width: auto; min-height: calc(100vh - 32px); margin: 0 0 0 -20px !important; }
.pecp-shell button, .pecp-shell input, .pecp-shell select, .pecp-shell textarea { font: inherit; }
.pecp-shell button, .pecp-shell a { -webkit-tap-highlight-color: transparent; }

.pecp-topbar {
    position: sticky;
    z-index: 90;
    top: 0;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
    color: #fff;
    background: rgba(9,10,12,.97);
    border-bottom: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 10px 35px rgba(0,0,0,.14);
    backdrop-filter: blur(16px);
}
.wp-admin .pecp-topbar { top: 32px; }
.pecp-brand { display: flex; align-items: center; gap: 20px; }
.pecp-brand img { width: 118px; filter: brightness(0) invert(1); }
.pecp-brand span { display: grid; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); font-size: 18px; font-weight: 800; line-height: 1.05; }
.pecp-brand small { margin-bottom: 4px; color: var(--pecp-red); font-size: 8px; letter-spacing: .2em; }
.pecp-top-actions { display: flex; gap: 10px; }

.pecp-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: var(--pecp-red);
    box-shadow: 0 9px 24px rgba(237,28,36,.18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}
.pecp-button:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.pecp-button:disabled { opacity: .6; cursor: wait; }
.pecp-button--ghost { border: 1px solid rgba(255,255,255,.22); background: transparent; box-shadow: none; }
.pecp-button--dark { background: #13151a; box-shadow: none; }

.pecp-workspace { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.pecp-sidebar {
    position: sticky;
    top: 82px;
    align-self: start;
    height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 30px 18px;
    color: #fff;
    background: #111318;
    border-right: 1px solid #252830;
}
.wp-admin .pecp-sidebar { top: 114px; height: calc(100vh - 114px); }
.pecp-sidebar button { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 13px; padding: 0 15px; border: 0; border-radius: 4px; color: rgba(255,255,255,.56); background: transparent; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; transition: .18s ease; }
.pecp-sidebar button i { width: 27px; color: rgba(255,255,255,.28); font-size: 19px; font-style: normal; text-align: center; }
.pecp-sidebar button:hover { color: #fff; background: rgba(255,255,255,.055); }
.pecp-sidebar button.active { color: #fff; background: linear-gradient(90deg, rgba(237,28,36,.22), rgba(237,28,36,.04)); box-shadow: inset 3px 0 var(--pecp-red); }
.pecp-sidebar button.active i { color: var(--pecp-red); }
.pecp-sidebar > small { margin: auto 13px 0; color: rgba(255,255,255,.22); font-size: 8px; font-weight: 800; letter-spacing: .14em; }

.pecp-content { min-width: 0; padding: 50px clamp(24px, 4vw, 68px) 90px; }
.pecp-panel { width: min(1440px, 100%); margin: 0 auto; animation: pecpPanelIn .32s ease both; }
.pecp-heading { margin-bottom: 34px; }
.pecp-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.pecp-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pecp-heading p { margin: 0 0 9px; color: var(--pecp-red); font-size: 10px; font-weight: 900; letter-spacing: .21em; }
.pecp-heading h1 { margin: 0; color: #111318; font-size: clamp(38px, 4vw, 62px); font-weight: 900; line-height: .94; letter-spacing: -.045em; }
.pecp-heading span { display: block; max-width: 760px; margin-top: 15px; color: var(--pecp-muted); font-size: 14px; line-height: 1.65; }

.pecp-stats { display: grid; grid-template-columns: .68fr .82fr .68fr 1.32fr; gap: 14px; }
.pecp-stats article { min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; overflow: hidden; position: relative; background: #fff; border: 1px solid var(--pecp-line); box-shadow: 0 15px 44px rgba(15,18,24,.045); }
.pecp-stats article::before { position: absolute; content: ""; width: 130px; height: 130px; top: -70px; right: -55px; border: 18px solid rgba(237,28,36,.07); border-radius: 50%; }
.pecp-stats small { margin-bottom: auto; color: #92969d; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.pecp-stats strong { color: var(--pecp-red); font-size: 68px; font-weight: 950; line-height: .85; letter-spacing: -.06em; }
.pecp-stats b { max-width: 360px; font-size: clamp(27px, 3.2vw, 48px); font-weight: 900; line-height: .93; letter-spacing: -.035em; text-transform: uppercase; }
.pecp-stats span { margin-top: 10px; color: #888d95; font-size: 11px; }
.pecp-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.pecp-guide article { min-height: 150px; display: flex; align-items: flex-start; gap: 19px; padding: 27px; color: #fff; background: #121419; }
.pecp-guide i { color: var(--pecp-red); font-size: 11px; font-style: normal; font-weight: 900; }
.pecp-guide div { display: grid; gap: 9px; }
.pecp-guide strong { font-size: 18px; }
.pecp-guide span { color: rgba(255,255,255,.47); font-size: 12px; line-height: 1.55; }

.pecp-search { width: min(540px, 100%); height: 52px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0 17px; background: #fff; border: 1px solid var(--pecp-line); box-shadow: 0 8px 28px rgba(0,0,0,.035); }
.pecp-search i { font-size: 24px; font-style: normal; rotate: -16deg; }
.pecp-search input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; }

.pecp-pages-list, .pecp-gates-list { display: grid; gap: 10px; }
.pecp-page-card { display: grid; grid-template-columns: 31px 42px 76px minmax(350px, 1fr) 76px 105px; align-items: center; gap: 14px; min-height: 120px; padding: 13px 14px; background: #fff; border: 1px solid var(--pecp-line); box-shadow: 0 8px 28px rgba(0,0,0,.025); transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease; }
.pecp-page-card:hover { box-shadow: 0 14px 36px rgba(15,18,24,.07); }
.pecp-page-card.is-disabled { opacity: .54; }
.pecp-page-card.is-dragging { opacity: .35; transform: scale(.985); }
.pecp-drag { height: 50px; border: 0; color: #aeb2b9; background: transparent; font-size: 20px; letter-spacing: -5px; cursor: grab; }
.pecp-page-number { color: var(--pecp-red); font-size: 20px; font-weight: 950; }
.pecp-page-thumb { width: 70px; height: 92px; object-fit: contain; background: #080808; border: 1px solid #e3e4e7; }
.pecp-page-fields { display: grid; grid-template-columns: 1.1fr .75fr; gap: 10px; }
.pecp-page-fields .pecp-url-field, .pecp-page-fields .pecp-codes-field { grid-column: 1 / -1; }

.pecp-order-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pecp-order-guide article { min-height: 150px; display: grid; align-content: end; gap: 8px; padding: 24px; color: #fff; background: #111318; border-top: 4px solid var(--pecp-red); }
.pecp-order-guide b { margin-bottom: auto; color: var(--pecp-red); font-size: 11px; }
.pecp-order-guide strong { font-size: 21px; line-height: .95; }
.pecp-order-guide span { color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.55; }
.pecp-price-manager { margin-top: 12px; border: 1px solid var(--pecp-line); background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.04); }
.pecp-price-manager > header { min-height: 125px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 24px 27px; color: #fff; background: linear-gradient(110deg, #090909 0 72%, #171717 72%); }
.pecp-price-manager > header > div { max-width: 720px; }
.pecp-price-manager > header small { color: var(--pecp-red); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.pecp-price-manager > header h2 { margin: 8px 0 7px; font-size: 34px; line-height: .9; text-transform: uppercase; }
.pecp-price-manager > header p { margin: 0; color: rgba(255,255,255,.5); font-size: 9px; line-height: 1.6; }
.pecp-price-manager > header p b { color: rgba(255,255,255,.85); }
.pecp-price-manager > header .pecp-switch { flex: 0 0 auto; color: rgba(255,255,255,.75); }
.pecp-price-grid { display: grid; grid-template-columns: 170px minmax(320px, 1fr) 210px; gap: 13px; padding: 18px; }
.pecp-price-grid > label { display: grid; gap: 7px; }
.pecp-price-grid small { color: #999; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.pecp-price-file { position: relative; min-height: 170px; place-content: center; justify-items: center; border: 1px dashed #c8cbd0; color: #777; background: #f7f8fa; cursor: pointer; }
.pecp-price-file strong { color: #222; font-size: 24px; }
.pecp-price-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pecp-price-file button { position: relative; z-index: 2; min-height: 32px; border: 1px solid #d7d9dd; padding: 0 11px; color: #fff; background: #111318; font-size: 7px; font-weight: 900; letter-spacing: .08em; cursor: pointer; }
.pecp-price-paste textarea { width: 100%; min-height: 170px; resize: vertical; border: 1px solid #dcdfe3; outline: 0; padding: 13px; color: #222; background: #fbfbfc; font: 10px/1.6 monospace; }
.pecp-price-paste textarea:focus { border-color: var(--pecp-red); background: #fff; }
.pecp-price-grid aside { display: grid; align-content: center; gap: 1px; color: #fff; background: #111318; }
.pecp-price-grid aside > span { display: grid; gap: 3px; padding: 15px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: 8px; }
.pecp-price-grid aside > span strong { color: #fff; font-size: 15px; }
.pecp-price-grid aside > button { min-height: 44px; border: 0; margin: 12px; padding: 0 10px; color: #fff; background: var(--pecp-red); font-size: 8px; font-weight: 900; cursor: pointer; }
.pecp-product-image-manager { margin-top:12px; border:1px solid var(--pecp-line); background:#fff; box-shadow:0 18px 50px rgba(0,0,0,.04); }
.pecp-product-image-manager > header { min-height:126px; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:24px 28px; color:#fff; background:linear-gradient(112deg,#131313 0 72%,var(--pecp-red) 72%); }
.pecp-product-image-manager > header > div { max-width:720px; }
.pecp-product-image-manager header small { color:var(--pecp-red); font-size:8px; font-weight:900; letter-spacing:.16em; }
.pecp-product-image-manager header h2 { margin:7px 0; font-size:34px; line-height:.9; text-transform:uppercase; }
.pecp-product-image-manager header p { margin:0; color:rgba(255,255,255,.52); font-size:9px; line-height:1.6; }
.pecp-product-image-manager > header > span { min-width:130px; display:grid; text-align:center; font-size:8px; }
.pecp-product-image-manager > header > span strong { font-size:38px; }
.pecp-product-image-search { display:flex; align-items:center; gap:10px; margin:16px; border:1px solid #dcdfe3; padding:0 14px; background:#fafbfc; }
.pecp-product-image-search span { color:var(--pecp-red); font-size:23px; }
.pecp-product-image-search input { width:100%; min-height:48px; border:0; outline:0; background:transparent; }
.pecp-product-image-list { max-height:620px; overflow-y:auto; border-top:1px solid #ebecef; }
.pecp-product-image-list article { min-height:100px; display:grid; grid-template-columns:76px minmax(190px,.8fr) minmax(250px,1.2fr) auto auto; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid #ebecef; }
.pecp-product-image-preview { width:76px; height:76px; display:grid; place-items:center; overflow:hidden; color:#777; background:#090909; font-size:7px; text-align:center; }
.pecp-product-image-preview img { width:100%; height:100%; object-fit:contain; }
.pecp-product-image-list article > div:nth-child(2) { min-width:0; display:grid; gap:4px; }
.pecp-product-image-list article > div strong { color:var(--pecp-red); font-size:14px; }
.pecp-product-image-list article > div b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.pecp-product-image-list article > div small,.pecp-product-image-list label small { color:#999; font-size:7px; font-weight:800; letter-spacing:.08em; }
.pecp-product-image-list label { display:grid; gap:6px; }
.pecp-product-image-list input { width:100%; min-height:40px; border:1px solid #dcdfe3; outline:0; padding:0 10px; background:#fafbfc; font-size:9px; }
.pecp-product-image-list article > button { min-height:38px; border:1px solid #dcdfe3; padding:0 10px; color:#fff; background:#111318; font-size:7px; font-weight:900; cursor:pointer; }
.pecp-product-image-list article > button:last-child:not(:first-of-type) { color:var(--pecp-red); background:#fff; }
.pecp-order-summary { min-height: 88px; display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 16px 22px; color: #fff; background: var(--pecp-red); }
.pecp-order-summary strong { font-size: 47px; line-height: .8; }
.pecp-order-summary span { font-size: 11px; }
.pecp-products-list { display: grid; margin-top: 12px; border: 1px solid var(--pecp-line); background: #fff; }
.pecp-products-list article { min-height: 88px; display: grid; grid-template-columns: 42px 48px minmax(170px, .75fr) minmax(270px, 1.25fr); align-items: center; gap: 13px; padding: 10px 15px; border-bottom: 1px solid #ebecef; }
.pecp-products-list article:last-child { border-bottom: 0; }
.pecp-products-list article > b { color: var(--pecp-red); font-size: 15px; }
.pecp-products-list img { width: 42px; height: 57px; object-fit: contain; background: #050505; }
.pecp-products-list article > div { min-width: 0; display: grid; gap: 4px; }
.pecp-products-list article > div strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pecp-products-list article > div small { color: #999; font-size: 8px; }
.pecp-products-list input { width: 100%; }

/* Central SaaS de pedidos */
.pecp-order-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.pecp-order-kpis article { min-height: 135px; display: grid; align-content: center; gap: 5px; padding: 22px; border: 1px solid var(--pecp-line); background: #fff; }
.pecp-order-kpis article.accent { color: #fff; border-color: var(--pecp-red); background: var(--pecp-red); }
.pecp-order-kpis small { color: #999da4; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.pecp-order-kpis strong { font-size: 49px; line-height: .85; }
.pecp-order-kpis b { font-size: 25px; line-height: .9; }
.pecp-order-kpis span { color: #92969d; font-size: 10px; }
.pecp-order-kpis .accent small, .pecp-order-kpis .accent span { color: rgba(255,255,255,.65); }
.pecp-distributor { min-height: 270px; display: grid; grid-template-columns: .72fr 1.28fr; margin-bottom: 14px; color: #fff; background: radial-gradient(circle at 12% 15%, rgba(237,28,36,.25), transparent 30%), #111318; box-shadow: 0 18px 55px rgba(0,0,0,.09); }
.pecp-distributor > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); border-right: 1px solid rgba(255,255,255,.11); }
.pecp-distributor > div small { color: #4ada91; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.pecp-distributor h2 { margin: 13px 0 10px; color: #fff; font-size: clamp(33px, 3vw, 49px); line-height: .9; text-transform: uppercase; }
.pecp-distributor p { max-width: 420px; margin: 0; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.65; }
.pecp-distributor > section { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 14px; padding: clamp(25px, 3vw, 40px); }
.pecp-distributor > section label > span { color: rgba(255,255,255,.48); }
.pecp-distributor > section input { color: #fff !important; border-color: rgba(255,255,255,.18) !important; background: rgba(255,255,255,.06) !important; }
.pecp-distributor .pecp-switch { justify-items: start; }
.pecp-distributor > section .pecp-button { align-self: end; }
.pecp-orders-list { display: grid; gap: 11px; }
.pecp-order-card { overflow: hidden; border: 1px solid #dedfe2; border-left: 4px solid #b9bcc1; background: #fff; box-shadow: 0 10px 35px rgba(0,0,0,.035); }
.pecp-order-card.status-new { border-left-color: var(--pecp-red); }
.pecp-order-card.status-approved { border-left-color: #e5a92b; }
.pecp-order-card.status-completed { border-left-color: #20aa61; }
.pecp-order-card.status-cancelled { opacity: .67; }
.pecp-order-card > header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 18px; border-bottom: 1px solid #ebecef; background: #fafbfc; }
.pecp-order-card > header > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 3px 11px; }
.pecp-order-card > header small { grid-column: 1 / -1; color: #a0a4aa; font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.pecp-order-card > header strong { font-size: 22px; }
.pecp-order-card > header span { color: #92969c; font-size: 9px; }
.pecp-order-card > header > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pecp-order-card > header i { padding: 7px 9px; color: #777c84; border: 1px solid #dfe1e5; background: #fff; font-size: 7px; font-weight: 900; font-style: normal; letter-spacing: .07em; }
.pecp-order-card.status-new > header i.status { color: var(--pecp-red); border-color: rgba(237,28,36,.25); background: #fff3f3; }
.pecp-order-main { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); }
.pecp-order-client { min-width: 0; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 13px; padding: 19px; border-right: 1px solid #ebecef; }
.pecp-order-client > b { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #111318; }
.pecp-order-client > span { min-width: 0; display: grid; gap: 3px; }
.pecp-order-client small, .pecp-order-facts small { color: #a0a4aa; font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.pecp-order-client strong, .pecp-order-client a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pecp-order-client strong { font-size: 12px; }
.pecp-order-client a { color: #777c84; font-size: 9px; text-decoration: none; }
.pecp-order-client a:last-child { color: #169657; font-weight: 800; }
.pecp-order-facts { display: grid; grid-template-columns: 1.1fr .4fr .4fr .7fr 1.2fr; }
.pecp-order-facts > span { min-width: 0; display: grid; align-content: center; gap: 4px; min-height: 92px; padding: 14px; border-right: 1px solid #ebecef; }
.pecp-order-facts > span:last-child { border-right: 0; }
.pecp-order-facts strong, .pecp-order-facts i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pecp-order-facts strong { font-size: 10px; }
.pecp-order-facts i { color: #999da4; font-size: 8px; font-style: normal; }
.pecp-order-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 17px; border-top: 1px solid #ebecef; background: #fafbfc; }
.pecp-order-actions button, .pecp-order-actions a { min-height: 36px; display: inline-flex; align-items: center; border: 1px solid #dfe1e5; padding: 0 12px; color: #555a62; background: #fff; font-size: 7px; font-weight: 900; letter-spacing: .07em; text-decoration: none; cursor: pointer; }
.pecp-order-actions .primary { color: #fff; border-color: var(--pecp-red); background: var(--pecp-red); }
.pecp-order-actions .danger { margin-left: auto; color: var(--pecp-red); border-color: rgba(237,28,36,.25); }
.pecp-order-items { display: grid; padding: 0 17px 17px; background: #fafbfc; }
.pecp-order-items > div { min-height: 38px; display: grid; grid-template-columns: 110px 1fr 55px; align-items: center; gap: 11px; padding: 0 11px; border: 1px solid #e4e5e8; border-bottom: 0; background: #fff; font-size: 10px; }
.pecp-order-items.with-prices > div { grid-template-columns: 90px minmax(170px, 1fr) 40px 90px 100px; }
.pecp-order-items > div:last-child { border-bottom: 1px solid #e4e5e8; }
.pecp-order-items > div:first-child { color: #999da4; background: #eff0f2; font-size: 7px; letter-spacing: .1em; }
.pecp-order-items > div > *:last-child { text-align: right; }
.pecp-orders-empty { min-height: 260px; }

.pecp-shell label { min-width: 0; display: grid; gap: 6px; }
.pecp-shell label > span, .pecp-editor-card > h2 { color: #8a8f97; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.pecp-shell input[type="text"], .pecp-shell input[type="email"], .pecp-shell input[type="url"], .pecp-shell input[type="number"], .pecp-shell input[type="search"], .pecp-shell select, .pecp-shell textarea { width: 100%; min-height: 39px; margin: 0; padding: 8px 10px; border: 1px solid #dfe1e5; border-radius: 2px; outline: 0; color: #202329; background: #fafbfc; box-shadow: none; font-size: 12px; transition: border .18s ease, box-shadow .18s ease; }
.pecp-shell textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.pecp-shell input:focus, .pecp-shell select:focus, .pecp-shell textarea:focus { border-color: var(--pecp-red); box-shadow: 0 0 0 3px rgba(237,28,36,.07); }
.pecp-url-field > div { display: flex; }
.pecp-url-field > div input { border-radius: 2px 0 0 2px; }
.pecp-url-field > div button { flex: 0 0 auto; padding: 0 13px; border: 0; border-radius: 0 2px 2px 0; color: #fff; background: #24272d; font-size: 8px; font-weight: 900; letter-spacing: .08em; cursor: pointer; }

.pecp-switch { justify-items: center; align-content: center; cursor: pointer; }
.pecp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pecp-switch i { position: relative; width: 38px; height: 20px; border-radius: 20px; background: #d4d7dc; transition: .2s ease; }
.pecp-switch i::after { position: absolute; content: ""; width: 14px; height: 14px; top: 3px; left: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: .2s ease; }
.pecp-switch input:checked + i { background: var(--pecp-red); }
.pecp-switch input:checked + i::after { translate: 18px 0; }
.pecp-switch span { color: #8a8f97; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.pecp-row-actions { display: flex; gap: 5px; }
.pecp-row-actions button, .pecp-icon-button { width: 31px; height: 31px; border: 1px solid #e0e2e6; border-radius: 2px; color: #5a5e65; background: #fff; font-weight: 800; cursor: pointer; }
.pecp-row-actions button:hover, .pecp-icon-button:hover { border-color: #202329; color: #111; }
.pecp-row-actions .danger, .pecp-icon-button.danger { color: var(--pecp-red); }

.pecp-gate-card { background: #fff; border: 1px solid var(--pecp-line); box-shadow: 0 9px 32px rgba(0,0,0,.03); }
.pecp-gate-card.is-disabled { opacity: .55; }
.pecp-gate-card > header { display: grid; grid-template-columns: 48px minmax(180px, 1fr) 105px 145px 75px 32px 32px; align-items: end; gap: 12px; padding: 17px; border-bottom: 1px solid #eceef1; }
.pecp-gate-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--pecp-red); font-size: 18px; }
.pecp-gate-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 20px; background: #fbfbfc; }
.pecp-scene-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pecp-span-2 { grid-column: span 2; }
.pecp-unit { display: flex; align-items: center; }
.pecp-unit input { border-radius: 2px 0 0 2px !important; }
.pecp-unit i { align-self: stretch; display: grid; place-items: center; padding: 0 13px; border: 1px solid #dfe1e5; border-left: 0; color: #777c84; background: #f0f1f3; font-size: 9px; font-style: normal; }
.pecp-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 20px; }
.pecp-checks label { display: flex; align-items: center; gap: 7px; color: #50545b; font-size: 11px; }
.pecp-checks input { accent-color: var(--pecp-red); }
.pecp-note { min-height: 71px; display: grid; align-content: center; gap: 5px; padding: 14px 17px; border-left: 3px solid var(--pecp-red); background: #f1f2f4; }
.pecp-note strong { font-size: 12px; }
.pecp-note span { color: #747982; font-size: 10px; }
.pecp-note--audio { border-left-color: #28b779; background: #eef8f3; }
.pecp-note--audio strong { color: #148152; }

.pecp-editor-card { padding: 25px; background: #fff; border: 1px solid var(--pecp-line); box-shadow: 0 12px 42px rgba(0,0,0,.04); }
.pecp-editor-card > h2 { margin: 0 0 24px; color: #181a1f; font-size: 16px; letter-spacing: 0; }
.pecp-mode { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid #eceef1; }
.pecp-mode label { width: min(360px, 100%); }
.pecp-editor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.pecp-publish-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.pecp-publish-grid .pecp-editor-card { display: grid; gap: 16px; }
.pecp-qr-card { min-height: 330px; display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 28px; padding: 34px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(237,28,36,.32), transparent 28%), #111318; }
.pecp-qr-card img { width: 170px; padding: 9px; background: #fff; }
.pecp-qr-card div { min-width: 0; display: grid; gap: 8px; }
.pecp-qr-card small { color: var(--pecp-red); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.pecp-qr-card strong { font-size: clamp(28px, 3vw, 45px); line-height: .92; text-transform: uppercase; }
.pecp-qr-card span { overflow-wrap: anywhere; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.55; }
.pecp-shortcodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.pecp-shortcodes article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px; padding: 20px; background: #fff; border: 1px solid var(--pecp-line); }
.pecp-shortcodes small { grid-column: 1 / -1; color: #8b9098; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.pecp-shortcodes code { padding: 0; color: #202329; background: none; font-size: 14px; font-weight: 800; }
.pecp-shortcodes button { border: 0; color: var(--pecp-red); background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.pecp-publish-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; padding: 22px; color: #fff; background: #202329; }
.pecp-publish-steps strong { width: 100%; font-size: 13px; }
.pecp-publish-steps span { color: rgba(255,255,255,.55); font-size: 11px; }

.pecp-preview { position: fixed; z-index: 2147483000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.9); backdrop-filter: blur(12px); }
.pecp-preview__stage { width: min(1200px, 96vw); height: min(720px, 86vh); overflow: hidden; background: #000; box-shadow: 0 45px 120px #000; }
.pecp-preview__close { position: fixed; z-index: 4; top: 24px; right: 25px; width: 45px; height: 45px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(0,0,0,.5); font-size: 28px; cursor: pointer; }
.pecp-preview-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pecp-video-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; text-align: center; background: radial-gradient(circle, rgba(230,28,36,.2), transparent 36%), #000; }
.pecp-video-placeholder b { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--pecp-red); font-size: 13px; letter-spacing: .16em; }
.pecp-video-placeholder strong { font-size: 24px; text-transform: uppercase; }
.pecp-video-placeholder span { color: rgba(255,255,255,.5); font-size: 10px; }
.pecp-scene { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4vw; padding: 70px 7%; color: #fff; background-color: #070707; background-position: center; background-size: cover; }
.pecp-scene > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pecp-scene--red-black { background: radial-gradient(circle at 28% 42%, rgba(237,28,36,.3), transparent 28%), linear-gradient(118deg, #050505, #1b1b1b 58%, #020202); }
.pecp-scene--carbon { background-color: #080808; background-image: linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.035) 25%, transparent 25%), radial-gradient(circle at 72% 38%, rgba(237,28,36,.24), transparent 28%); background-size: 24px 24px, 24px 24px, auto; }
.pecp-scene--spotlight { background: radial-gradient(circle at 50% 35%, #404040, #121212 28%, #020202 70%); }
.pecp-scene--event { background: radial-gradient(circle at 75% 30%, rgba(237,28,36,.5), transparent 25%), radial-gradient(circle at 20% 70%, rgba(255,255,255,.12), transparent 22%), linear-gradient(135deg, #050505, #181818); }
.pecp-scene-character { position: relative; z-index: 2; width: min(450px, 38vw); justify-self: end; }
.pecp-scene-character img { width: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 35px 48px rgba(0,0,0,.62)); }
.pecp-scene-character.is-rush { animation: pecpRush 1s cubic-bezier(.15,.8,.24,1) both; }
.pecp-scene-character.is-float { animation: pecpFloat 2s ease-in-out infinite; }
.pecp-scene-character.is-bounce { animation: pecpBounce .72s ease-in-out infinite alternate; }
.pecp-scene-character.is-spin { animation: pecpSpin 1.2s cubic-bezier(.2,.8,.2,1) both; }
.pecp-scene-copy { position: relative; z-index: 2; }
.pecp-scene-copy small { color: var(--pecp-red); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.pecp-scene-copy h2 { margin: 8px 0 20px; color: #fff; font-size: clamp(55px, 7vw, 100px); font-weight: 950; line-height: .78; letter-spacing: -.05em; text-transform: uppercase; }
.pecp-scene-copy p { max-width: 520px; color: rgba(255,255,255,.66); font-size: 15px; line-height: 1.6; }
.pecp-face { position: absolute; z-index: 4; top: 31%; left: 55%; width: 82px; height: 52px; translate: -50% -50%; }
.pecp-face i { position: absolute; top: 0; width: 34px; height: 34px; border: 3px solid #111; border-radius: 50%; background: #fff; }
.pecp-face i:first-child { left: 3px; }.pecp-face i:nth-child(2) { right: 3px; }
.pecp-face i::after { position: absolute; content: ""; width: 11px; height: 11px; top: 10px; left: 10px; border-radius: 50%; background: #111; animation: pecpLook 2.3s infinite; }
.pecp-face b { position: absolute; left: 50%; bottom: 0; width: 20px; height: 10px; translate: -50% 0; border: 3px solid #111; border-top: 0; border-radius: 0 0 14px 14px; background: var(--pecp-red); animation: pecpTalk .35s infinite alternate; }

.pecp-toast { position: fixed; z-index: 2147483500; right: 24px; bottom: 24px; translate: 0 30px; padding: 15px 19px; opacity: 0; color: #fff; background: #181b20; box-shadow: 0 16px 48px rgba(0,0,0,.25); font-size: 12px; font-weight: 700; pointer-events: none; transition: .25s ease; }
.pecp-toast.is-visible { translate: 0; opacity: 1; }
.pecp-toast.is-error { background: var(--pecp-red); }
.pecp-empty { min-height: 170px; display: grid; place-content: center; gap: 7px; padding: 25px; color: #81868e; background: #fff; border: 1px dashed #ced1d6; text-align: center; }
.pecp-empty strong { color: #202329; }

.pecp-access { width: min(560px, calc(100% - 32px)); margin: 70px auto; display: grid; justify-items: center; gap: 12px; padding: 48px 30px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(237,28,36,.25), transparent 28%), #111318; font-family: Inter, Arial, sans-serif; text-align: center; }
.pecp-access strong { font-size: 30px; }
.pecp-access p { color: rgba(255,255,255,.55); }
.pecp-access a { padding: 14px 19px; color: #fff; background: #ed1c24; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-decoration: none; }

@keyframes pecpPanelIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes pecpRush { from { opacity: 0; transform: translateX(-120vw) rotate(-14deg); filter: blur(8px); } 75% { opacity: 1; transform: translateX(20px) rotate(2deg); filter: none; } to { opacity: 1; transform: none; } }
@keyframes pecpFloat { 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes pecpBounce { to { transform: translateY(-25px) rotate(-2deg); } }
@keyframes pecpSpin { from { opacity: 0; transform: translateX(-60vw) rotate(-300deg) scale(.35); } to { opacity: 1; transform: none; } }
@keyframes pecpLook { 0%, 35%, 100% { transform: translateX(-5px); } 50%, 80% { transform: translateX(5px); } }
@keyframes pecpTalk { to { height: 18px; width: 16px; border-radius: 50%; border-top: 3px solid #111; } }

@media (max-width: 1100px) {
    .pecp-stats { grid-template-columns: repeat(2, 1fr); }
    .pecp-order-main { grid-template-columns: 230px 1fr; }
    .pecp-order-facts { grid-template-columns: 1fr 1fr; }
    .pecp-order-facts > span:nth-child(even) { border-right: 0; }
    .pecp-order-facts > span:nth-child(-n+4) { border-bottom: 1px solid #ebecef; }
    .pecp-order-facts > span:last-child { grid-column: 1 / -1; }
    .pecp-page-card { grid-template-columns: 28px 38px 70px 1fr 70px; }
    .pecp-row-actions { grid-column: 4 / -1; justify-self: end; }
    .pecp-gate-card > header { grid-template-columns: 45px minmax(160px, 1fr) 100px 135px; }
    .pecp-gate-card > header .pecp-switch, .pecp-gate-card > header .pecp-icon-button { align-self: center; }
    .pecp-scene-fields, .pecp-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .wp-admin .pecp-shell, .pecp-shell { width: 100vw; margin: 0 calc(50% - 50vw) !important; }
    .pecp-topbar { height: auto; min-height: 76px; padding: 13px 16px; }
    .wp-admin .pecp-topbar { top: 46px; }
    .pecp-brand img { width: 95px; }
    .pecp-brand span { display: none; }
    .pecp-top-actions .pecp-button--ghost { display: none; }
    .pecp-workspace { display: block; }
    .pecp-sidebar, .wp-admin .pecp-sidebar { position: sticky; z-index: 70; top: 76px; height: auto; display: flex; flex-direction: row; gap: 5px; overflow-x: auto; padding: 8px; }
    .wp-admin .pecp-sidebar { top: 122px; }
    .pecp-sidebar button { flex: 0 0 auto; width: auto; min-height: 47px; padding: 0 13px; }
    .pecp-sidebar button i { display: none; }
    .pecp-sidebar > small { display: none; }
    .pecp-content { padding: 35px 14px 70px; }
    .pecp-heading--row { display: grid; align-items: start; }
    .pecp-heading--row .pecp-button { justify-self: start; }
    .pecp-heading-actions { justify-self: start; }
    .pecp-stats, .pecp-guide, .pecp-publish-grid, .pecp-shortcodes { grid-template-columns: 1fr; }
    .pecp-order-kpis { grid-template-columns: 1fr 1fr; }
    .pecp-distributor { grid-template-columns: 1fr; }
    .pecp-distributor > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
    .pecp-order-main { grid-template-columns: 1fr; }
    .pecp-order-client { border-right: 0; border-bottom: 1px solid #ebecef; }
    .pecp-stats article { min-height: 150px; }
    .pecp-page-card { grid-template-columns: 28px 40px 68px 1fr; align-items: start; }
    .pecp-page-fields { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .pecp-page-fields .pecp-url-field, .pecp-page-fields .pecp-codes-field { grid-column: auto; }
    .pecp-page-card > .pecp-switch { grid-column: 1 / 3; grid-row: auto; justify-items: start; }
    .pecp-row-actions { grid-column: 3 / -1; }
    .pecp-gate-card > header { grid-template-columns: 42px 1fr 85px; align-items: end; }
    .pecp-gate-card > header > label:nth-of-type(3) { grid-column: 2 / -1; }
    .pecp-gate-body, .pecp-scene-fields, .pecp-editor-grid { grid-template-columns: 1fr; }
    .pecp-span-2 { grid-column: auto; }
    .pecp-mode { align-items: stretch; flex-direction: column; }
    .pecp-qr-card { grid-template-columns: 110px 1fr; padding: 22px; }
    .pecp-qr-card img { width: 110px; }
    .pecp-scene { grid-template-columns: 1fr; grid-template-rows: 55% 45%; padding: 30px 22px; }
    .pecp-scene-character { align-self: end; width: min(78vw, 390px); }
    .pecp-scene-copy { align-self: start; }
    .pecp-scene-copy h2 { font-size: clamp(45px, 14vw, 70px); }
    .pecp-order-guide { grid-template-columns: 1fr; }
    .pecp-order-guide article { min-height: 125px; }
    .pecp-products-list article { grid-template-columns: 34px 42px minmax(0, 1fr); }
    .pecp-products-list article > label { grid-column: 1 / -1; }
    .pecp-price-grid { grid-template-columns: 150px minmax(0, 1fr); }
    .pecp-price-grid aside { grid-column: 1 / -1; grid-template-columns: 1fr 1fr auto; align-items: center; }
    .pecp-price-grid aside > span { border-right: 1px solid rgba(255,255,255,.1); border-bottom: 0; }
    .pecp-product-image-manager > header { align-items:flex-start; flex-direction:column; background:#111318; }
    .pecp-product-image-manager > header > span { min-width:0; text-align:left; }
    .pecp-product-image-list article { grid-template-columns:68px minmax(0,1fr) auto; }
    .pecp-product-image-list article > label { grid-column:1 / -1; }
}

@media (max-width: 430px) {
    .pecp-top-actions .pecp-button { padding-inline: 12px; }
    .pecp-sidebar button span { font-size: 10px; }
    .pecp-heading h1 { font-size: 43px; }
    .pecp-order-kpis article { min-height: 115px; padding: 16px; }
    .pecp-distributor > section { grid-template-columns: 1fr; padding: 22px 17px; }
    .pecp-order-card > header { align-items: flex-start; flex-direction: column; }
    .pecp-order-card > header > div:last-child { justify-content: flex-start; }
    .pecp-order-facts { grid-template-columns: 1fr 1fr; }
    .pecp-order-actions button, .pecp-order-actions a { flex: 1 1 auto; justify-content: center; }
    .pecp-order-actions .danger { margin-left: 0; }
    .pecp-order-items > div { grid-template-columns: 72px 1fr 34px; padding-inline: 7px; }
    .pecp-order-items.with-prices { overflow-x: auto; }
    .pecp-order-items.with-prices > div { min-width: 560px; grid-template-columns: 74px 1fr 34px 78px 88px; }
    .pecp-price-manager > header { align-items: flex-start; flex-direction: column; gap: 18px; }
    .pecp-price-grid { grid-template-columns: 1fr; }
    .pecp-price-file { min-height: 120px; }
    .pecp-price-grid aside { grid-column: auto; grid-template-columns: 1fr; }
    .pecp-price-grid aside > span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .pecp-page-card { grid-template-columns: 26px 34px 58px 1fr; padding: 10px; gap: 9px; }
    .pecp-page-thumb { width: 56px; height: 75px; }
    .pecp-gate-card > header { grid-template-columns: 38px 1fr; }
    .pecp-gate-card > header > * { grid-column: auto; }
    .pecp-gate-card > header > label { grid-column: 1 / -1; }
    .pecp-qr-card { grid-template-columns: 1fr; }
}
