:root{--pc-forest:#082016;--pc-forest-2:#123726;--pc-cream:#f5eedf;--pc-cream-2:#fffaf0;--pc-gold:#d8ad55;--pc-gold-soft:#f0d58f;--pc-ink:#173024;--pc-muted:#748a7d;--pc-line:#d9cfbb;--pc-shadow:0 18px 48px rgba(23,48,36,.12)}
body.pc-space-super-admin,body.pc-space-prochampi-admin,body.pc-space-customer,body.pc-space-reseller{background:radial-gradient(circle at 85% 4%,rgba(216,173,85,.12),transparent 26%),linear-gradient(145deg,#071a12,#0b281b 55%,#06150f);}
body.pc-space-super-admin .side,body.pc-space-prochampi-admin .side{background:radial-gradient(circle at 50% 7%,#245a3c 0,transparent 24%),#06170f;border-right:1px solid rgba(216,173,85,.28)}
body.pc-space-super-admin .brand img,body.pc-space-prochampi-admin .brand img{width:min(190px,90%);height:auto;max-height:110px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.25))}
body.pc-space-super-admin .role,body.pc-space-prochampi-admin .role{border:1px solid rgba(216,173,85,.55);background:rgba(216,173,85,.09);color:#f2d894;border-radius:999px}
body.pc-space-super-admin .nav a,body.pc-space-prochampi-admin .nav a{border-radius:12px;padding:12px 14px}
body.pc-space-super-admin .nav a.active,body.pc-space-prochampi-admin .nav a.active{background:linear-gradient(135deg,#214f36,#153523);border-color:rgba(216,173,85,.55);box-shadow:inset 3px 0 var(--pc-gold);color:#fff4d8}
body.pc-space-super-admin .main,body.pc-space-prochampi-admin .main{background:linear-gradient(180deg,rgba(245,238,223,.985),rgba(250,246,236,.985));color:var(--pc-ink);min-height:100vh}
body.pc-space-super-admin .main p,body.pc-space-prochampi-admin .main p,body.pc-space-super-admin .main .muted,body.pc-space-prochampi-admin .main .muted{color:var(--pc-muted)}
body.pc-space-super-admin .main h1,body.pc-space-prochampi-admin .main h1,body.pc-space-super-admin .main h2,body.pc-space-prochampi-admin .main h2,body.pc-space-super-admin .main h3,body.pc-space-prochampi-admin .main h3{color:var(--pc-ink)}
body.pc-space-super-admin .eyebrow,body.pc-space-prochampi-admin .eyebrow{color:#9a762e}
body.pc-space-super-admin .panel,body.pc-space-prochampi-admin .panel,body.pc-space-super-admin .card,body.pc-space-prochampi-admin .card,body.pc-space-super-admin .setting-card,body.pc-space-prochampi-admin .setting-card,body.pc-space-super-admin .stat,body.pc-space-prochampi-admin .stat{background:rgba(255,250,240,.94);border-color:var(--pc-line);box-shadow:var(--pc-shadow);color:var(--pc-ink);border-radius:18px}
body.pc-space-super-admin .data-table th,body.pc-space-prochampi-admin .data-table th,body.pc-space-super-admin .permissions th,body.pc-space-prochampi-admin .permissions th{color:#8c6b29}
body.pc-space-super-admin .data-table td,body.pc-space-prochampi-admin .data-table td,body.pc-space-super-admin .permissions td,body.pc-space-prochampi-admin .permissions td{border-bottom-color:#e6dccb;color:#2a4034}
body.pc-space-super-admin .button,body.pc-space-prochampi-admin .button{background:linear-gradient(135deg,#deb85f,#c9993b);color:#173024;box-shadow:0 8px 22px rgba(158,116,35,.2)}
body.pc-space-super-admin .button.secondary,body.pc-space-prochampi-admin .button.secondary{background:#fffaf0;border:1px solid #b9954f;color:#72551f}
body.pc-space-super-admin{--pc-admin-accent:#d0a64d}
body.pc-space-prochampi-admin{--pc-admin-accent:#86b58e}
body.pc-space-prochampi-admin .role{border-color:rgba(120,184,140,.55);color:#d6efdc;background:rgba(120,184,140,.10)}
body.pc-space-prochampi-admin .nav a.active{border-color:rgba(120,184,140,.55);box-shadow:inset 3px 0 #83b78d}
body.pc-space-customer .portal-hero{background:linear-gradient(120deg,rgba(9,39,26,.96),rgba(20,65,42,.92)),url('/images/prochampi-logo-new.webp') right 7% center/190px auto no-repeat;border-bottom:1px solid rgba(216,173,85,.35)}
body.pc-space-customer .portal-tabs{background:#0b2419;border-color:rgba(216,173,85,.28)}
body.pc-space-customer .portal-tabs a{color:#e8d8b8}
body.pc-space-customer .portal-dashboard{max-width:1320px}
body.pc-space-customer .portal-panel,body.pc-space-customer .portal-stats article{background:var(--pc-cream-2);border:1px solid var(--pc-line);box-shadow:var(--pc-shadow);border-radius:18px;color:var(--pc-ink)}
body.pc-space-customer .portal-panel h2,body.pc-space-customer .portal-panel h3,body.pc-space-customer .portal-stats b{color:var(--pc-ink)}
body.pc-space-customer .portal-panel p,body.pc-space-customer .portal-panel small,body.pc-space-customer .portal-stats span{color:var(--pc-muted)}
body.pc-space-customer .store-button{border-radius:999px}
body.pc-space-reseller .reseller-sidebar{background:radial-gradient(circle at 50% 4%,#245a3b,transparent 25%),#06170f;border-right-color:rgba(216,173,85,.28)}
body.pc-space-reseller .reseller-brand img{filter:drop-shadow(0 8px 18px rgba(0,0,0,.24))}
body.pc-space-reseller .reseller-nav a{border-radius:12px}
body.pc-space-reseller .reseller-nav a.active,body.pc-space-reseller .reseller-nav a:hover{background:linear-gradient(135deg,#214f36,#153523);border-color:rgba(216,173,85,.55);box-shadow:inset 3px 0 var(--pc-gold)}
body.pc-space-reseller .reseller-workspace{background:linear-gradient(180deg,#f6efe1,#fffaf0)}
body.pc-space-reseller .reseller-card,body.pc-space-reseller .reseller-identity,body.pc-space-reseller .reseller-metrics article{border-radius:18px;box-shadow:var(--pc-shadow)}
body.pc-space-reseller .reseller-page-head{position:relative;overflow:hidden;padding:28px;border-radius:22px;background:linear-gradient(120deg,#103b28,#1f5b3d);color:#fff}
body.pc-space-reseller .reseller-page-head:after{content:'✦';position:absolute;right:32px;top:14px;font-size:90px;color:rgba(240,213,143,.12)}
body.pc-space-reseller .reseller-page-head p{color:#d8eadf}
@media(max-width:820px){body.pc-space-super-admin .main,body.pc-space-prochampi-admin .main{padding-top:22px}body.pc-space-super-admin .side,body.pc-space-prochampi-admin .side{position:relative;height:auto}body.pc-space-customer .portal-hero{background-image:linear-gradient(120deg,rgba(9,39,26,.98),rgba(20,65,42,.96))}}

/* Harmonisation claire des administrations superieures */
body.pc-space-super-admin .identity,body.pc-space-prochampi-admin .identity{color:#72877a}
body.pc-space-super-admin .identity b,body.pc-space-prochampi-admin .identity b{color:#173024}
body.pc-space-super-admin .field input,body.pc-space-super-admin .field select,body.pc-space-super-admin .field textarea,body.pc-space-super-admin .toolbar input,body.pc-space-super-admin .toolbar select,body.pc-space-super-admin .inline-input,body.pc-space-super-admin .stock-form input,body.pc-space-super-admin .row-actions select,body.pc-space-prochampi-admin .field input,body.pc-space-prochampi-admin .field select,body.pc-space-prochampi-admin .field textarea,body.pc-space-prochampi-admin .toolbar input,body.pc-space-prochampi-admin .toolbar select,body.pc-space-prochampi-admin .inline-input,body.pc-space-prochampi-admin .stock-form input,body.pc-space-prochampi-admin .row-actions select{background:#fffdf7;color:#173024;border:1px solid #cfc3ad;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
body.pc-space-super-admin .field input:focus,body.pc-space-super-admin .field select:focus,body.pc-space-super-admin .field textarea:focus,body.pc-space-prochampi-admin .field input:focus,body.pc-space-prochampi-admin .field select:focus,body.pc-space-prochampi-admin .field textarea:focus{outline:2px solid rgba(216,173,85,.28);border-color:#b99142}
body.pc-space-super-admin label.field,body.pc-space-prochampi-admin label.field{color:#a77f2f}
body.pc-space-super-admin .toggle,body.pc-space-prochampi-admin .toggle{color:#52695c}
body.pc-space-super-admin .permissions small,body.pc-space-prochampi-admin .permissions small{color:#8a9b91}
body.pc-space-super-admin .permissions th,body.pc-space-prochampi-admin .permissions th{border-bottom-color:#d9cfbb}
body.pc-space-super-admin .permissions tr:hover td,body.pc-space-prochampi-admin .permissions tr:hover td,body.pc-space-super-admin .data-table tr:hover td,body.pc-space-prochampi-admin .data-table tr:hover td{background:#f6efe2}
body.pc-space-super-admin .temporary-password,body.pc-space-prochampi-admin .temporary-password,body.pc-space-super-admin .status-line,body.pc-space-prochampi-admin .status-line{background:#f3ead9;color:#6d5524;border-color:#d8ad55}
body.pc-space-super-admin .check-grid,body.pc-space-prochampi-admin .check-grid{background:#f8f1e5;border-color:#d9cfbb}
body.pc-space-super-admin input[type='checkbox'],body.pc-space-prochampi-admin input[type='checkbox']{accent-color:#cda143}

/* Super Admin : gabarit maître validé pour toutes les rubriques */
body.pc-space-super-admin{background:#f7eedc;color:#203126}
body.pc-space-super-admin .shell{grid-template-columns:300px minmax(0,1fr);background:#f7eedc}
body.pc-space-super-admin .side{padding:18px 14px 26px;background:radial-gradient(circle at 50% 86%,#154d35 0,#07352a 31%,#02231e 78%);border-right:1px solid rgba(230,185,73,.35)}
body.pc-space-super-admin .brand{margin-bottom:10px;gap:6px}
body.pc-space-super-admin .brand img{width:100%;max-width:270px;max-height:110px}
body.pc-space-super-admin .brand small{color:#d4e0d8;letter-spacing:.12em}
body.pc-space-super-admin .brand b{color:#f0c85e;font:31px Georgia,serif}
body.pc-space-super-admin .role{margin:8px 0 12px;padding:10px 12px;border-color:rgba(230,185,73,.42);background:rgba(9,61,45,.72);color:#fff2c9;font:700 15px Georgia,serif}
body.pc-space-super-admin .nav{gap:2px;margin-top:12px}
body.pc-space-super-admin .nav a{padding:11px 14px;border:0;border-radius:13px;color:#e8c75f;font:600 18px Georgia,serif}
body.pc-space-super-admin .nav a:hover,body.pc-space-super-admin .nav a.active{background:linear-gradient(90deg,rgba(174,151,45,.48),rgba(71,94,24,.55));box-shadow:inset 0 0 0 1px rgba(242,198,75,.55),inset 4px 0 #e6b949;color:#ffe491}
body.pc-space-super-admin .side form button{border-color:rgba(230,185,73,.3);color:#f0d58f;background:rgba(4,40,30,.45)}
body.pc-space-super-admin .main{padding:0 34px 70px;background:#f7eedc;color:#203126}
body.pc-space-super-admin .top{position:relative;margin:0 -34px 26px;padding:42px 48px 54px;min-height:210px;overflow:hidden;background:linear-gradient(90deg,rgba(3,44,33,.97),rgba(11,72,50,.80) 58%,rgba(11,72,50,.32)),url('/images/reseller-hero-approved.svg') center/cover no-repeat;border-bottom:1px solid rgba(230,185,73,.38);align-items:flex-start}
body.pc-space-super-admin .top:after{content:'✦';position:absolute;right:42px;top:26px;color:#ffd96b;font-size:42px;text-shadow:0 0 18px #ffc544}
body.pc-space-super-admin .top>div{position:relative;z-index:1}
body.pc-space-super-admin .top .eyebrow{color:#f2c653;font-size:12px;letter-spacing:.14em}
body.pc-space-super-admin .top h1{color:#fffaf0;font:54px/1.02 Georgia,serif;text-shadow:0 2px 8px rgba(0,0,0,.18)}
body.pc-space-super-admin .identity{color:#f3dfad;text-align:right;font:14px Georgia,serif}
body.pc-space-super-admin .identity b{color:#fff7dc;font-size:15px}
body.pc-space-super-admin .panel,body.pc-space-super-admin .card,body.pc-space-super-admin .setting-card,body.pc-space-super-admin .stat{background:linear-gradient(145deg,#fffaf0,#fff7e7);border:1px solid #e8d9b9;border-radius:16px;box-shadow:0 12px 30px rgba(51,43,24,.08);color:#263321}
body.pc-space-super-admin .panel{padding:24px 28px}
body.pc-space-super-admin .panel h2,body.pc-space-super-admin .panel h3,body.pc-space-super-admin .card h2,body.pc-space-super-admin .card h3{color:#263321}
body.pc-space-super-admin .main p,body.pc-space-super-admin .main .muted{color:#6f766e}
body.pc-space-super-admin .data-table th,body.pc-space-super-admin .permissions th{color:#967026;background:#f5ecd9}
body.pc-space-super-admin .data-table td,body.pc-space-super-admin .permissions td{color:#2a4034;border-bottom-color:#eadfc9}
body.pc-space-super-admin .data-table tr:hover td,body.pc-space-super-admin .permissions tr:hover td{background:#fbf4e7}
body.pc-space-super-admin .field input,body.pc-space-super-admin .field select,body.pc-space-super-admin .field textarea,body.pc-space-super-admin .toolbar input,body.pc-space-super-admin .toolbar select,body.pc-space-super-admin .inline-input,body.pc-space-super-admin .stock-form input,body.pc-space-super-admin .row-actions select{background:#fffdf7;color:#173024;border:1px solid #cfc3ad}
body.pc-space-super-admin .button{background:linear-gradient(135deg,#deb85f,#c9993b);color:#173024}
body.pc-space-super-admin .button.secondary{background:#fffdf8;border-color:#caa556;color:#72551f}

/* Produits & stock : reprise de la maquette validée */
body.pc-space-super-admin .inventory-summary{gap:14px;margin:-76px 0 20px;position:relative;z-index:2;border:0;background:transparent}
body.pc-space-super-admin .inventory-summary span{min-width:170px;padding:18px 20px;border:1px solid #e8d9b9;border-radius:16px;background:#fffaf0;color:#6d746c;box-shadow:0 12px 30px rgba(51,43,24,.08)}
body.pc-space-super-admin .inventory-summary b{display:block;margin:0 0 3px;color:#263321;font:30px Georgia,serif}
body.pc-space-super-admin .inventory-summary .warning{background:#fff7e7;color:#8f6524}
body.pc-space-super-admin .inventory-toolbar{grid-template-columns:minmax(250px,1fr) minmax(390px,1.3fr) auto;gap:20px;margin-bottom:16px;padding:20px 22px;border:1px solid #e8d9b9;border-radius:16px;background:linear-gradient(145deg,#fffaf0,#fff7e7);box-shadow:0 12px 30px rgba(51,43,24,.08)}
body.pc-space-super-admin .inventory-toolbar h2{color:#263321}
body.pc-space-super-admin .inventory-filter input,body.pc-space-super-admin .inventory-filter select,body.pc-space-super-admin .inventory-row input,body.pc-space-super-admin .inventory-row select{background:#fffdf7;color:#173024;border:1px solid #cfc3ad}
body.pc-space-super-admin .inventory-shell{border:1px solid #e8d9b9;border-radius:16px;background:#fffaf0;box-shadow:0 12px 30px rgba(51,43,24,.08);overflow:hidden auto}
body.pc-space-super-admin .inventory-head{background:#f3ead7;color:#946e27;border-bottom-color:#dfcfad}
body.pc-space-super-admin .inventory-row{background:#fffdf8;border-bottom-color:#eadfc9;color:#263321}
body.pc-space-super-admin .inventory-row:hover{background:#fbf4e7}
body.pc-space-super-admin .inventory-row.is-low{box-shadow:inset 4px 0 #d39836}
body.pc-space-super-admin .inventory-thumb{background:#f2eadb;border-color:#d8c9aa;color:#729078}
body.pc-space-super-admin .inventory-row label{color:#9a742d}
body.pc-space-super-admin .inventory-meta span{border-color:#dfd1b8;color:#718077;background:#fffaf0}
body.pc-space-super-admin .inventory-pricing small,body.pc-space-super-admin .inventory-stock span,body.pc-space-super-admin .inventory-stock small,body.pc-space-super-admin .status-dot{color:#718077}
body.pc-space-super-admin .inventory-links a,body.pc-space-super-admin .inventory-links button{color:#5c765e}
body.pc-space-super-admin .inventory-links .delete-link{color:#b8584f}

/* Commandes, livraisons, clients, revendeurs et autres rubriques */
body.pc-space-super-admin .section{margin-top:18px}
body.pc-space-super-admin .table-wrap{border-radius:12px}
body.pc-space-super-admin .empty{border-color:#d9cdb7;background:#fffdf8;color:#7a786e}
body.pc-space-super-admin .notice{border-color:#b7d5b8;background:#edf6e7;color:#335538;border-radius:12px}
body.pc-space-super-admin .error{border-color:#dcb0a7;background:#f9e7e2;color:#7d332a;border-radius:12px}

@media(max-width:1200px){body.pc-space-super-admin .shell{grid-template-columns:250px minmax(0,1fr)}body.pc-space-super-admin .top{padding:34px 34px 46px}body.pc-space-super-admin .top h1{font-size:46px}}
@media(max-width:820px){body.pc-space-super-admin .shell{display:block}body.pc-space-super-admin .side{position:relative;height:auto}body.pc-space-super-admin .main{padding:0 14px 40px}body.pc-space-super-admin .top{margin:0 -14px 20px;padding:28px 20px 42px;min-height:170px}body.pc-space-super-admin .top h1{font-size:38px}body.pc-space-super-admin .inventory-summary{margin:-48px 0 18px}body.pc-space-super-admin .inventory-toolbar{grid-template-columns:1fr}}
