/* Scoped Commerce workspace. No framework, remote fonts or global theme reset. */
.pcn{--pcn-green:#087557;--pcn-border:#dfe8e4;color:#183a30}.pcn :is(h1,h2,h3){font-family:inherit;font-weight:750;letter-spacing:-.015em}.pcn .pcn-hero{background:linear-gradient(120deg,#073f31,#0b6b4e);border:0;box-shadow:0 12px 32px #124b3210;padding:34px;color:#fff}.pcn-hero h1{color:#fff}.pcn-hero p{color:#c8e5da}.pcn-hero .pcn-kicker{color:#9fd7be}.pcn-hero nav a{background:#ffffff12;border-color:#ffffff28;color:#fff}.pcn-hero nav a:hover{background:#ffffff25}.pcn-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:0 0 24px}.pcn-stats article{display:flex;align-items:center;gap:15px;border:1px solid var(--pcn-border);border-radius:16px;padding:22px;background:#fff;box-shadow:0 4px 18px #15392803}.pcn-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:#e7f4ed;color:#087557;font:700 24px/1 system-ui;flex-shrink:0}.pcn-stats article:nth-child(2) .pcn-stat-icon{background:#edf2fe;color:#3861b5}.pcn-stats article:nth-child(3) .pcn-stat-icon{background:#fff5df;color:#a56b0b}.pcn-stats small{display:block;margin-bottom:4px;color:#718078}.pcn-stats strong{display:block;color:#153c2c;font:750 30px/1.3 system-ui}.pcn-workspace-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--pcn-border);border-radius:13px;padding:8px;margin-bottom:24px}.pcn-workspace-bar nav{display:flex;gap:5px;overflow-x:auto;min-width:0;scrollbar-width:thin}.pcn-workspace-bar nav a{white-space:nowrap;display:block;padding:12px 17px;border-radius:8px;font-weight:650;font-size:14px;color:#596e64}.pcn-workspace-bar nav a:hover{background:#f0f6f2}.pcn-workspace-bar nav a.is-active{background:#087557;color:white}.pcn-workspace-bar>.pcn-tag{margin-right:8px;white-space:nowrap}.pcn-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid #d3e8da;border-radius:17px;background:linear-gradient(110deg,#edf7f0,#f8fbf9);margin:0 0 24px}.pcn-welcome h2{font-size:26px;margin:8px 0}.pcn-welcome p{color:#6c8174;margin:0}.pcn-welcome>a{white-space:nowrap}.pcn-section-heading,.pcn-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pcn-section-heading h2,.pcn-editor-heading h2{margin:5px 0 0}.pcn-section-heading p{color:#6d8076;margin:8px 0}.pcn-product-table-head,.pcn-product-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr) 105px 140px;gap:20px;align-items:center}.pcn-product-table-head{font-size:12px;color:#788b80;letter-spacing:.03em;padding:12px 8px;background:#f6f9f7;border-radius:8px}.pcn-product-row{padding:20px 8px;border-bottom:1px solid #e9efeb}.pcn-product-identity{display:flex;align-items:center;gap:14px;min-width:0}.pcn-product-identity img,.pcn-product-placeholder{width:62px;height:62px;object-fit:cover;border-radius:10px;background:#edf5ef;flex-shrink:0}.pcn-product-placeholder{display:grid;place-items:center;color:#8ca294;font-size:28px}.pcn-product-identity h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.pcn-row-price{display:flex;flex-direction:column;gap:4px;font-size:14px}.pcn-row-price del{font-size:12px;color:#899a90}.pcn-row-actions a{display:inline-block;font-size:13px;font-weight:650;margin-bottom:5px}.pcn-row-actions .pcn-form{margin:0}.pcn-row-actions button{padding:6px 8px;font-size:11px;min-height:32px}.pcn-status-pending{background:#fff4da;color:#8d640f}.pcn-status-draft{background:#f0f1f4;color:#718078}.pcn-empty-state{padding:48px 20px;text-align:center}.pcn-empty-state>span{display:block;color:#8daa9b;font-size:44px;margin-bottom:16px}.pcn-studio-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}.pcn-studio-nav{position:sticky;top:95px;background:#fff;border:1px solid var(--pcn-border);padding:22px;border-radius:16px}.pcn-studio-nav h2{font-size:23px;margin:8px 0}.pcn-studio-nav p{font-size:13px;color:#7b8c82}.pcn-studio-nav nav{display:grid;gap:6px;margin:20px 0}.pcn-studio-nav nav a{font-size:13px;padding:10px;border-radius:8px;color:#4d6b5b}.pcn-studio-nav nav a:hover{background:#edf5ef;color:#006849}.pcn-studio-nav .pcn-button{font-size:12px;padding:10px;display:block}.pcn-editor{padding:30px}.pcn-form-section{border:1px solid #dfe8e3;border-radius:12px;scroll-margin-top:110px;overflow:hidden}.pcn-form-section>summary{padding:17px 20px;background:#f8faf9;color:#234b39;font-size:16px;font-weight:700;cursor:pointer;list-style-position:inside}.pcn-form-section>summary small{display:block;margin:5px 0 0 18px;color:#84938b;font-weight:400;font-size:12px}.pcn-form-section>div{padding:22px;display:grid;gap:20px;border-top:1px solid #e5ece7}.pcn .pcn-form input,.pcn .pcn-form textarea,.pcn .pcn-form select{border-radius:9px;background:#fff;border-color:#d8e4dc;font-size:14px}.pcn .pcn-form input[type=file]{padding:20px;background:#f7faf8;border-style:dashed}.pcn input::file-selector-button{background:#e7f3eb;border:0;color:#236547;padding:8px 12px;border-radius:6px;margin-right:12px;cursor:pointer}.pcn-form-section[hidden]{display:none!important}.pcn-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px}.pcn-editor-footer p{font-size:12px;color:#74847a;margin:0}.pcn-editor-footer button{white-space:nowrap}.pcn .pcn-check{display:flex;flex-direction:row;gap:10px;align-items:center;font-weight:500}.pcn .pcn-check input{width:auto}.pcn-current-image{display:flex;gap:20px;align-items:center}.pcn-file-preview,.pcn-gallery-edit,.pcn-gallery{display:flex;gap:12px;flex-wrap:wrap}.pcn-file-preview img,.pcn-gallery-edit img{width:90px;height:90px;object-fit:cover;border:1px solid #dce8df;border-radius:9px}.pcn-gallery-edit label{font-size:11px;background:#f8faf8;border-radius:9px;padding:8px}.pcn-gallery-edit input{width:auto}.pcn-gallery img{width:calc(50% - 6px);height:auto;object-fit:contain;border-radius:10px;border:1px solid #e2eae5}.pcn-specs{border:1px solid #e0e9e3;border-radius:12px;margin:24px 0;overflow:hidden}.pcn-specs:empty{display:none}.pcn-specs>div{display:grid;grid-template-columns:130px minmax(0,1fr);font-size:14px;border-bottom:1px solid #edf1ee}.pcn-specs>div:last-child{border:0}.pcn-specs dt{background:#f6f9f7;padding:13px;color:#75867c}.pcn-specs dd{padding:13px;margin:0;overflow-wrap:anywhere;line-height:1.6}.pcn-price del,.pcn-card-price del{font-size:.65em;color:#8b9b91;font-weight:400}.pcn-price strong,.pcn-card-price strong{color:#087557}.pcn-product-short{color:#6a7c70;line-height:1.8}.pcn-order-filters{display:flex;align-items:end;gap:12px;padding:16px;background:#f5f9f6;border:1px solid #e3ece5;border-radius:12px;margin:0 0 22px}.pcn-order-filters label{min-width:230px}.pcn-order{border:1px solid #e0e8e3;border-radius:14px;background:#fff;padding:24px;margin-bottom:18px}.pcn-order header{padding-bottom:16px;border-bottom:1px solid #edf1ee;margin-bottom:15px}.pcn-order header h3{margin:5px 0 0}.pcn-order .pcn-form{border-top:1px solid #edf1ee;padding-top:16px}.pcn-order-total{font-size:22px;color:#1c4932;font-weight:700}.pcn-order-total small{font-weight:400;font-size:13px;color:#819085}.pcn-order-status-review,.pcn-order-status-cod_pending{background:#fff3d9;color:#90620b}.pcn-order-status-paid,.pcn-order-status-completed{background:#dcf5e7;color:#0b784e}.pcn-order-status-cancelled,.pcn-order-status-refunded{background:#fceced;color:#a8474d}.pcn-order-status-test_paid{background:#eef0ff;color:#6767a1}.pcn-admin-workspace{max-width:1320px;margin:22px 22px 0 0}.pcn-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 26px}.pcn-admin-heading h1{font-size:30px;font-weight:750;color:#143d29;line-height:1.5;margin:5px 0}.pcn-admin-heading p{color:#7b8c81;margin:0}.pcn-admin-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.pcn-admin-shortcuts .pcn-panel{display:block;margin:0;padding:26px;transition:border-color .15s}.pcn-admin-shortcuts .pcn-panel:hover{border-color:#86b69b}.pcn-admin-shortcuts h2{margin:18px 0 8px;font-size:21px}.pcn-admin-shortcuts p{margin:0;color:#7f8e84;font-size:14px}.pcn .form-table{margin:0}.pcn .form-table th{width:240px;padding:22px 10px 22px 0}.pcn .form-table td{padding:20px 10px;border-bottom:1px solid #edf1ee}.pcn .form-table p{font-size:12px;color:#7a8d7f}.pcn .form-table input:not([type=checkbox]){max-width:440px}.pcn .form-table textarea{width:100%;max-width:660px}.pcn .form-table input[type=checkbox]{accent-color:#087557}.pcn .pcn-form>button{justify-self:start}.pcn .form-table+ p{color:#7a8d7f;font-size:13px}
/* Existing account, vendor, affiliate and publishing controls keep their handlers. */
.pcm-admin .pcm-admin-hero{background:linear-gradient(120deg,#073f31,#0b6b4e)!important;box-shadow:0 12px 30px #134b3210!important}.pcm-admin .pcm-admin-kicker{color:#a7dec3!important}.pcm-admin .pcm-admin-hero p{color:#cce8da!important}.pcm-admin nav{display:flex;gap:8px;flex-wrap:wrap;padding:12px;background:#fff;border:1px solid #dce6df;border-radius:12px;margin:0 20px 24px 0}.pcm-admin nav a{padding:10px 14px;border-radius:8px;background:#f1f7f3;color:#246142;font-weight:650;text-decoration:none;margin:0!important}.pcm-admin h2{font-size:20px;color:#234934;margin-top:30px}.pcm-admin .pcm-form{border:1px solid #dfe8e2!important;border-radius:14px;padding:24px!important;gap:18px!important;box-shadow:0 3px 12px #0e3b1b03}.pcm-admin .pcm-form label{min-width:150px;flex:1;line-height:1.5;color:#54715e;font-weight:600}.pcm-admin .pcm-form input:not([type=checkbox]),.pcm-admin .pcm-form textarea,.pcm-admin .pcm-form select{border:1px solid #d4e1d8;border-radius:8px;padding:9px;max-width:100%;font-size:13px;background:#fbfdfb}.pcm-admin .pcm-form textarea{min-width:0!important;width:100%}.pcm-admin .button-primary{background:#087557;border-color:#087557;border-radius:8px;min-height:40px;padding:3px 16px}.pcm-admin table{border:1px solid #dfe8e2;border-radius:12px;overflow:auto;display:block;background:#fff;max-width:100%;padding:8px}.pcm-admin table th{background:#f3f8f4;padding:14px;color:#5a7463}.pcm-admin table td{padding:15px;border-bottom:1px solid #edf1ee}.pcm-admin .notice{border-radius:8px}.pcm-account .pcm-panel,.pcm-account .pcm-balance-section{border-color:#dfe8e3;border-radius:16px;background:#fff;box-shadow:0 4px 16px #134b3203}.pcm-account .pcm-stats>div{border-radius:13px;background:linear-gradient(120deg,#f1f8f3,#fff);border-color:#e0e9e2}.pcm-account .pcm-stats strong{color:#116b49}.pcm-account .pcm-table-wrap{border-radius:12px;border-color:#e0e8e2}.pcm-account .pcm-table-wrap th{background:#f0f7f2;color:#4f705a;padding:15px}.pcm-account .pcm-table-wrap td{padding:15px}.pcm-account .pcm-form input,.pcm-account .pcm-form select,.pcm-account .pcm-form textarea{border-color:#d7e4db;border-radius:9px;background:#fcfefc}.pcm-account .pcm-btn,.pcm-account button{border-radius:9px;background:#087557;color:#fff}.pcm-account .pcm-affiliate-box{border-radius:13px;background:#edf7f0}.pcm-account .pcm-section-title h2{color:#204c35}.pcm-settings-workspace{padding:26px!important;border-radius:18px;background:#f7faf8;margin:24px 24px 0 0!important}.pcm-settings-workspace h1{font-size:28px;font-weight:750;color:#14432e;margin:6px 0 24px}.pcm-settings-workspace form{max-width:1100px!important;border-radius:15px!important;border-color:#dce8df!important;padding:28px!important}.pcm-settings-workspace .form-table th,.pcm-settings-workspace .form-table td{padding:20px 10px}.pcm-settings-workspace input:not([type=checkbox]){border:1px solid #d2e0d7;border-radius:8px;padding:8px}.pcm-settings-workspace .button-primary{border-radius:8px;background:#087557;border-color:#087557}.post-type-pcm_product .wp-list-table{border:1px solid #dfe8e2;border-radius:12px;overflow:hidden}.post-type-pcm_product .wp-list-table th{background:#f5f9f6}.post-type-pcm_product .page-title-action{border-color:#087557;color:#087557;border-radius:7px;padding:7px 13px}
@media(max-width:1050px){.pcn-product-table-head,.pcn-product-row{grid-template-columns:minmax(0,1.5fr) 100px 100px 110px;gap:14px}.pcn-studio-layout{grid-template-columns:190px minmax(0,1fr)}.pcn-studio-nav{padding:16px}.pcn-editor{padding:22px}.pcn-workspace-bar>.pcn-tag{display:none}}
@media(max-width:780px){.pcn-studio-layout{grid-template-columns:1fr}.pcn-studio-nav{position:static;padding:17px}.pcn-studio-nav nav{display:flex;overflow-x:auto;gap:6px;margin:12px 0}.pcn-studio-nav nav a{white-space:nowrap;background:#f2f8f4}.pcn-studio-nav p,.pcn-studio-nav>.pcn-button{display:none}.pcn-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pcn-stats article{padding:16px;gap:10px}.pcn-stats strong{font-size:26px}.pcn-stat-icon{width:38px;height:38px;font-size:20px}.pcn-stats small{font-size:11px}.pcn-product-table-head{display:none}.pcn-product-row{grid-template-columns:minmax(0,1fr) 110px;gap:14px}.pcn-product-identity{grid-column:1/-1}.pcn-product-row .pcn-tag{justify-self:start}.pcn-row-actions{grid-column:1/-1;display:flex;align-items:center;gap:16px}.pcn-welcome{padding:22px;flex-direction:column;align-items:start}.pcn-welcome h2{font-size:22px}.pcn-admin-heading{align-items:start;flex-direction:column;gap:14px}.pcn-admin-heading h1{font-size:26px}.pcn-admin-shortcuts{grid-template-columns:1fr}.pcm-admin .pcm-admin-hero{padding:24px!important;flex-direction:column!important;align-items:start!important}.pcm-admin .pcm-admin-hero h1{font-size:25px!important}.pcm-settings-workspace{padding:15px!important;margin-right:12px!important}.pcm-settings-workspace form{padding:18px!important}.pcn .form-table th{width:auto;padding:16px 0 0}.pcn .form-table td{padding:10px 0 20px}.pcn-admin-workspace{margin-right:10px;padding:0}.pcn-admin-workspace .pcn-panel{padding:18px}.pcn-order-filters label{min-width:0;flex:1}}
@media(max-width:500px){.pcn .pcn-hero{padding:24px}.pcn-stats article{padding:12px;gap:8px}.pcn-stats strong{font-size:24px}.pcn-workspace-bar{padding:6px}.pcn-workspace-bar nav a{padding:10px 12px;font-size:12px}.pcn-editor{padding:14px}.pcn-form-section>summary{padding:15px;font-size:15px}.pcn-form-section>div{padding:16px;gap:17px}.pcn-editor-footer{flex-direction:column;align-items:stretch}.pcn-editor-footer button{width:100%}.pcn-order{padding:17px}.pcn-order-filters{flex-direction:column;align-items:stretch}.pcn-order-filters button{width:100%}.pcn-specs>div{grid-template-columns:95px minmax(0,1fr);font-size:12px}.pcn-current-image{flex-wrap:wrap}.pcn-hero nav{width:100%}.pcn-hero nav a{flex:1;text-align:center;padding:9px 7px}}
@media(prefers-reduced-motion:reduce){.pcn *,.pcm-account *{scroll-behavior:auto!important;transition:none!important}}

.pcn .pcm-form{display:grid;gap:16px}.pcn-gallery-edit input[type=checkbox]{width:auto}.pcn-card-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px}.pcn .pcn-editor [hidden]{display:none!important}
