/* ===== ph-r21-admin-open-recovery-style ===== */
body.ph-redesign-r2 #adminOpen[data-admin-verified="true"]{display:inline-flex!important;pointer-events:auto!important;opacity:1!important}
body.ph-redesign-r2 #adminModal[data-admin-verified="true"]{display:block}
body.ph-redesign-r2 #adminModal:not([open]){display:none}
body.ph-redesign-r2 #adminModal[open]{display:flex!important}
body.ph-redesign-r2 #adminModal .admin-load-state{margin:14px 0;padding:12px 14px;border:1px solid #D6E1E8;border-radius:12px;background:#F7FAFC;color:#607585;font-size:12px;line-height:1.5}
body.ph-redesign-r2 #adminModal .admin-load-state.error{background:#FFF3F1;border-color:#EDC8C2;color:#8A4C42}

/* ===== ph-r22-admin-data-recovery-style ===== */
body.ph-redesign-r2 #adminOpen{
  display:inline-flex;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
  vertical-align:middle!important;
}
body.ph-redesign-r2 #adminOpen .ph-admin-icon{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  display:block!important;
  position:static!important;
  transform:none!important;
}
body.ph-redesign-r2 #adminOpen span{display:block!important;line-height:1!important}
body.ph-redesign-r2 #adminModal .admin-source-warning{
  margin:12px 0 14px;
  padding:11px 13px;
  border:1px solid #E7D6AE;
  border-radius:12px;
  background:#FFF9ED;
  color:#6C592D;
  font-size:12px;
  line-height:1.5;
}
body.ph-redesign-r2 #adminModal .admin-source-warning strong{color:#584617!important}
body.ph-redesign-r2 #adminModal .admin-source-warning ul{margin:7px 0 0 18px;padding:0}
body.ph-redesign-r2 #adminModal .admin-source-warning li+li{margin-top:3px}
body.ph-redesign-r2 #adminModal .admin-source-ok{
  margin:10px 0 12px;
  padding:10px 12px;
  border:1px solid #C7E1D8;
  border-radius:12px;
  background:#F0FAF6;
  color:#166A59;
  font-size:12px;
}

/* ===== ph-r23-admin-center-style ===== */
/* Header: restore the original gear, only fix alignment. */
body.ph-redesign-r2 #adminOpen{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;line-height:1!important;vertical-align:middle!important}
body.ph-redesign-r2 #adminOpen .ph-admin-gear{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:14px!important;height:14px!important;font-size:13px!important;line-height:14px!important;transform:none!important;position:static!important;color:currentColor!important}
body.ph-redesign-r2 #adminOpen span:last-child{display:inline-flex!important;align-items:center!important;line-height:14px!important}
body.ph-redesign-r2 #adminOpen .ph-admin-icon{display:none!important}

/* Admin center – coherent list/detail pattern. */
body.ph-redesign-r2 #adminModal .modal-panel{width:min(1180px,calc(100vw - 24px))!important;background:#F7FAFC!important}
body.ph-redesign-r2 #adminModal .admin-list{min-height:240px!important}
body.ph-redesign-r2 #adminModal .admin-request-card,
body.ph-redesign-r2 #adminModal .admin-product-card{overflow:hidden!important;border:1px solid #D5E1E8!important;border-radius:15px!important;background:#FFFFFF!important;box-shadow:0 7px 20px rgba(36,55,70,.045)!important}
body.ph-redesign-r2 #adminModal .admin-request-card+ .admin-request-card,
body.ph-redesign-r2 #adminModal .admin-product-card+ .admin-product-card{margin-top:10px!important}
body.ph-redesign-r2 #adminModal .admin-request-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}
body.ph-redesign-r2 #adminModal .admin-request-summary,
body.ph-redesign-r2 #adminModal .admin-product-open{width:100%!important;border:0!important;background:transparent!important;padding:16px 18px!important;text-align:left!important;color:#243746!important;cursor:pointer!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:14px!important;align-items:center!important}
body.ph-redesign-r2 #adminModal .admin-request-summary:hover,
body.ph-redesign-r2 #adminModal .admin-product-open:hover{background:#F5FAF8!important}
body.ph-redesign-r2 #adminModal .admin-request-summary:focus-visible,
body.ph-redesign-r2 #adminModal .admin-product-open:focus-visible{outline:2px solid #16A085!important;outline-offset:-2px!important}
body.ph-redesign-r2 #adminModal .admin-request-summary>div strong,
body.ph-redesign-r2 #adminModal .admin-product-open>div strong{display:block!important;font-size:15px!important;line-height:1.35!important;color:#18364D!important;margin-bottom:4px!important}
body.ph-redesign-r2 #adminModal .admin-request-summary>div small,
body.ph-redesign-r2 #adminModal .admin-product-open>div small{display:block!important;font-size:12px!important;line-height:1.5!important;color:#607585!important}
body.ph-redesign-r2 #adminModal .request-chevron{font-size:24px!important;color:#16A085!important;line-height:1!important;transition:transform .16s ease!important}
body.ph-redesign-r2 #adminModal .admin-request-summary:hover .request-chevron,
body.ph-redesign-r2 #adminModal .admin-product-open:hover .request-chevron{transform:translateX(3px)!important}
body.ph-redesign-r2 #adminModal .admin-entry-actions{padding:0 12px 0 0!important;display:flex!important;gap:7px!important;align-items:center!important}
body.ph-redesign-r2 #adminModal .admin-product-card .admin-product-editor,
body.ph-redesign-r2 #adminModal .admin-product-card details{display:none!important}
body.ph-redesign-r2 #adminModal .admin-product-badges{display:flex!important;gap:6px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.ph-redesign-r2 #adminModal .admin-product-badges .badge{white-space:nowrap!important}
body.ph-redesign-r2 #adminModal .admin-source-warning{font-size:12px!important;line-height:1.55!important}

/* Dedicated product modal. */
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-panel{width:min(1080px,calc(100vw - 26px))!important;max-height:92vh!important;overflow:auto!important;background:#F8FBFC!important;border:1px solid #D6E1E8!important;padding:24px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-detail-heading{padding-right:54px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-detail-heading h2{margin:5px 0 7px!important;color:#18364D!important;font-size:27px!important;line-height:1.25!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-detail-heading p{margin:0!important;color:#607585!important;font-size:12px!important;line-height:1.55!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-statusbar{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:center!important;margin:18px 0!important;padding:12px 14px!important;border:1px solid #D8E3E9!important;border-radius:14px!important;background:#FFFFFF!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-badges{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-grid{background:#FFFFFF!important;border:1px solid #D8E3E9!important;border-radius:16px!important;padding:16px!important}
body.ph-redesign-r2 #adminProductDetailModal .field label{font-size:12px!important;color:#536C7E!important;font-weight:750!important}
body.ph-redesign-r2 #adminProductDetailModal input,
body.ph-redesign-r2 #adminProductDetailModal textarea{background:#FFFFFF!important;color:#243746!important;border:1px solid #C7D6E0!important}
body.ph-redesign-r2 #adminProductDetailModal input:focus,
body.ph-redesign-r2 #adminProductDetailModal textarea:focus{border-color:#16A085!important;box-shadow:0 0 0 3px rgba(22,160,133,.10)!important;outline:none!important}
body.ph-redesign-r2 #adminProductDetailModal textarea{min-height:110px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-scores{margin:14px 0!important;padding:14px!important;background:#FFFFFF!important;border:1px solid #D8E3E9!important;border-radius:16px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-checks{margin:14px 0!important;background:#FFFFFF!important;border:1px solid #D8E3E9!important;border-radius:14px!important;padding:13px 15px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-primary-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:16px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-primary-actions .btn{min-height:44px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-danger-zone{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:18px!important;padding:14px 16px!important;border:1px solid #E4D8D8!important;border-radius:14px!important;background:#FFF9F9!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-danger-zone strong{display:block!important;color:#6B3A40!important;font-size:13px!important;margin-bottom:4px!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-danger-zone small{display:block!important;color:#7B6265!important;font-size:11px!important;line-height:1.5!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-danger-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-danger-button{background:#FCEBEC!important;border-color:#E8B8BD!important;color:#9D3E4A!important}
body.ph-redesign-r2 #adminProductDetailModal .admin-danger-button:hover{background:#F8DDE0!important;border-color:#DA9AA2!important;color:#842E39!important}
body.ph-redesign-r2 #adminProductDetailModal #adminProductDetailState{margin-top:11px!important;min-height:18px!important;color:#536C7E!important;font-size:12px!important}
@media(max-width:760px){
  body.ph-redesign-r2 #adminModal .admin-request-row{grid-template-columns:1fr!important}
  body.ph-redesign-r2 #adminModal .admin-entry-actions{padding:0 14px 12px!important}
  body.ph-redesign-r2 #adminModal .admin-request-summary,
  body.ph-redesign-r2 #adminModal .admin-product-open{grid-template-columns:minmax(0,1fr) auto!important}
  body.ph-redesign-r2 #adminModal .admin-product-badges{grid-column:1/-1!important;justify-content:flex-start!important}
  body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-statusbar,
  body.ph-redesign-r2 #adminProductDetailModal .admin-product-detail-danger-zone{align-items:flex-start!important;flex-direction:column!important}
}

/* ===== ph-r24-admin-product-center-style ===== */
/* R24 · Admin Product Center */
body.ph-redesign-r2 #adminModal .modal-panel{width:min(1240px,calc(100vw - 30px))!important;padding:24px!important}
body.ph-redesign-r2 #adminModal .modal-close,
body.ph-redesign-r2 #adminProductDetailModal .modal-close,
body.ph-redesign-r2 #requestDetailModal .modal-close,
body.ph-redesign-r2 #phStaticProductModal .modal-close,
body.ph-redesign-r2 #phCreateProductModal .modal-close{
  width:40px!important;height:40px!important;min-width:40px!important;
  display:grid!important;place-items:center!important;padding:0!important;
  border-radius:11px!important;line-height:1!important;font-size:21px!important;
  top:16px!important;right:16px!important;transform:none!important;
  background:#F7FAFC!important;border:1px solid #D1DDE5!important;color:#244255!important;
  box-shadow:0 5px 14px rgba(36,55,70,.07)!important;z-index:20!important
}
body.ph-redesign-r2 #adminModal .modal-close:hover,
body.ph-redesign-r2 #adminProductDetailModal .modal-close:hover,
body.ph-redesign-r2 #requestDetailModal .modal-close:hover,
body.ph-redesign-r2 #phStaticProductModal .modal-close:hover,
body.ph-redesign-r2 #phCreateProductModal .modal-close:hover{background:#EAF7F3!important;border-color:#9FD5C8!important;color:#155A4D!important}

body.ph-redesign-r2 .ph-admin-product-center{display:grid;gap:15px}
body.ph-redesign-r2 .ph-admin-product-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;border:1px solid #D6E1E8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(36,55,70,.05)}
body.ph-redesign-r2 .ph-admin-product-hero h3{margin:0 0 5px!important;font-size:20px!important;color:#18364D!important}
body.ph-redesign-r2 .ph-admin-product-hero p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:#607585!important;max-width:720px}
body.ph-redesign-r2 .ph-admin-product-top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.ph-redesign-r2 .ph-admin-product-top-actions button{white-space:nowrap}
body.ph-redesign-r2 .ph-admin-action-main{background:#16A085!important;border:1px solid #16A085!important;color:#fff!important;border-radius:11px!important;padding:10px 14px!important;font-weight:800!important;cursor:pointer!important}
body.ph-redesign-r2 .ph-admin-action-main:hover{background:#12806B!important;border-color:#12806B!important}
body.ph-redesign-r2 .ph-admin-action-secondary{background:#F7FAFC!important;border:1px solid #C8D6E0!important;color:#244255!important;border-radius:11px!important;padding:10px 14px!important;font-weight:800!important;cursor:pointer!important}
body.ph-redesign-r2 .ph-admin-action-secondary:hover{background:#EAF7F3!important;border-color:#A8D8CB!important;color:#155A4D!important}

body.ph-redesign-r2 .ph-admin-product-controls{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:center}
body.ph-redesign-r2 .ph-admin-product-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #C9D7E0;border-radius:13px;padding:0 13px;min-height:46px}
body.ph-redesign-r2 .ph-admin-product-search:focus-within{border-color:#16A085;box-shadow:0 0 0 3px rgba(22,160,133,.10)}
body.ph-redesign-r2 .ph-admin-product-search span{color:#607585;font-size:15px}
body.ph-redesign-r2 .ph-admin-product-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;width:100%!important;color:#243746!important;padding:11px 0!important}
body.ph-redesign-r2 .ph-admin-product-filters{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ph-redesign-r2 .ph-admin-filter{border:1px solid #CBD8E1;background:#fff;color:#476174;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
body.ph-redesign-r2 .ph-admin-filter span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#EDF3F6;color:#35566B}
body.ph-redesign-r2 .ph-admin-filter.active{background:#EAF7F3;border-color:#A9D8CC;color:#155A4D}
body.ph-redesign-r2 .ph-admin-filter.active span{background:#CFEDE5;color:#155A4D}

body.ph-redesign-r2 .ph-admin-product-list{display:grid;gap:9px}
body.ph-redesign-r2 .ph-admin-product-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;padding:12px 14px;border:1px solid #D7E2E8;border-radius:15px;background:#fff;box-shadow:0 5px 15px rgba(36,55,70,.035);cursor:pointer;transition:.16s ease}
body.ph-redesign-r2 .ph-admin-product-row:hover{border-color:#ABD6CC;box-shadow:0 8px 20px rgba(36,55,70,.07);transform:translateY(-1px)}
body.ph-redesign-r2 .ph-admin-product-row:focus-visible{outline:2px solid #16A085;outline-offset:2px}
body.ph-redesign-r2 .ph-admin-product-thumb{width:52px;height:52px;border-radius:12px;background:#EEF2F4;border:1px solid #DCE5EA;display:grid;place-items:center;overflow:hidden;color:#35566B;font-weight:900;font-size:17px}
body.ph-redesign-r2 .ph-admin-product-thumb img{width:100%;height:100%;object-fit:contain}
body.ph-redesign-r2 .ph-admin-product-main{min-width:0}
body.ph-redesign-r2 .ph-admin-product-main strong{display:block;font-size:14px!important;line-height:1.35!important;color:#18364D!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ph-redesign-r2 .ph-admin-product-main small{display:block;margin-top:3px;font-size:11px!important;line-height:1.45!important;color:#607585!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ph-redesign-r2 .ph-admin-product-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:520px}
body.ph-redesign-r2 .ph-admin-status{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em;border:1px solid #D5E0E6;background:#F2F6F8;color:#4D6678}
body.ph-redesign-r2 .ph-admin-status.visible{background:#E8F7F2;border-color:#B5DFD3;color:#156856}
body.ph-redesign-r2 .ph-admin-status.hidden{background:#F3F5F7;border-color:#D6E0E5;color:#687B89}
body.ph-redesign-r2 .ph-admin-status.draft{background:#EDF3F7;border-color:#CFDDE6;color:#35566B}
body.ph-redesign-r2 .ph-admin-status.archive{background:#FFF6E7;border-color:#E8D1A1;color:#775A1F}
body.ph-redesign-r2 .ph-admin-status.base{background:#F0ECF8;border-color:#DAD0EE;color:#5B4B83}
body.ph-redesign-r2 .ph-admin-inline-action{border:1px solid #C8D7E0;background:#F8FBFC;color:#244255;border-radius:10px;padding:7px 9px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
body.ph-redesign-r2 .ph-admin-inline-action:hover{background:#EAF7F3;border-color:#A6D6CA;color:#155A4D}
body.ph-redesign-r2 .ph-admin-inline-action.danger:hover{background:#FFF1F1;border-color:#E6B8B8;color:#943C3C}
body.ph-redesign-r2 .ph-admin-chevron{font-size:19px;color:#16A085;padding:0 2px}

body.ph-redesign-r2 .ph-admin-import-panel{border:1px solid #D6E1E8;border-radius:16px;background:#fff;overflow:hidden}
body.ph-redesign-r2 .ph-admin-import-panel>summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:900;color:#18364D;display:flex;justify-content:space-between;align-items:center}
body.ph-redesign-r2 .ph-admin-import-panel>summary::-webkit-details-marker{display:none}
body.ph-redesign-r2 .ph-admin-import-panel>summary::after{content:'＋';color:#16A085;font-size:18px}
body.ph-redesign-r2 .ph-admin-import-panel[open]>summary::after{content:'−'}
body.ph-redesign-r2 .ph-admin-import-panel .ph-admin-import-body{border-top:1px solid #E4EBEF;padding:16px}

body.ph-redesign-r2 .ph-admin-product-empty{padding:30px 20px;text-align:center;border:1px dashed #C9D8E1;border-radius:16px;background:#fff;color:#607585;font-size:12px;line-height:1.6}

body.ph-redesign-r2 .ph-admin-detail-panel{width:min(960px,calc(100vw - 28px))!important;max-height:min(88vh,900px)!important;overflow:auto!important;background:#F8FBFC!important;padding:22px!important}
body.ph-redesign-r2 .ph-admin-detail-head{padding-right:56px;margin-bottom:16px}
body.ph-redesign-r2 .ph-admin-detail-head h2{margin:5px 0 5px!important;color:#18364D!important;font-size:26px!important;line-height:1.2!important}
body.ph-redesign-r2 .ph-admin-detail-head p{margin:0!important;color:#607585!important;font-size:12px!important;line-height:1.5!important}
body.ph-redesign-r2 .ph-admin-static-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}
body.ph-redesign-r2 .ph-admin-static-summary>div{padding:13px;border:1px solid #D7E2E8;border-radius:13px;background:#fff}
body.ph-redesign-r2 .ph-admin-static-summary small{display:block;color:#728594;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
body.ph-redesign-r2 .ph-admin-static-summary strong{color:#244255;font-size:13px;line-height:1.45}
body.ph-redesign-r2 .ph-admin-static-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid #DDE6EB}
body.ph-redesign-r2 .ph-admin-static-note{margin-top:12px;padding:12px 13px;border-radius:12px;background:#F0F5F8;border:1px solid #D7E2E8;color:#607585;font-size:11px;line-height:1.55}

body.ph-redesign-r2 .ph-create-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ph-redesign-r2 .ph-create-product-grid .full{grid-column:1/-1}
body.ph-redesign-r2 .ph-create-product-grid label{display:block;margin-bottom:6px;color:#5F7586;font-size:11px;font-weight:800}
body.ph-redesign-r2 .ph-create-product-grid input,
body.ph-redesign-r2 .ph-create-product-grid textarea,
body.ph-redesign-r2 .ph-create-product-grid select{width:100%;border:1px solid #C9D7E0;border-radius:11px;background:#fff;color:#243746;padding:11px 12px;outline:0}
body.ph-redesign-r2 .ph-create-product-grid textarea{min-height:86px;resize:vertical}
body.ph-redesign-r2 .ph-create-product-grid input:focus,
body.ph-redesign-r2 .ph-create-product-grid textarea:focus,
body.ph-redesign-r2 .ph-create-product-grid select:focus{border-color:#16A085;box-shadow:0 0 0 3px rgba(22,160,133,.10)}
body.ph-redesign-r2 .ph-create-checks{display:flex;gap:14px;flex-wrap:wrap;margin:14px 0;color:#35566B;font-size:12px}
body.ph-redesign-r2 .ph-create-checks label{display:flex;align-items:center;gap:7px}
body.ph-redesign-r2 .ph-create-submit-row{display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid #DCE5EA}

@media(max-width:900px){
 body.ph-redesign-r2 .ph-admin-product-hero{display:grid}
 body.ph-redesign-r2 .ph-admin-product-top-actions{justify-content:flex-start}
 body.ph-redesign-r2 .ph-admin-product-controls{grid-template-columns:1fr}
 body.ph-redesign-r2 .ph-admin-product-filters{justify-content:flex-start}
 body.ph-redesign-r2 .ph-admin-product-row{grid-template-columns:44px minmax(0,1fr)}
 body.ph-redesign-r2 .ph-admin-product-thumb{width:44px;height:44px}
 body.ph-redesign-r2 .ph-admin-product-meta{grid-column:1/-1;justify-content:flex-start;max-width:none;padding-left:57px}
}
@media(max-width:620px){
 body.ph-redesign-r2 #adminModal .modal-panel{width:calc(100vw - 12px)!important;padding:15px!important}
 body.ph-redesign-r2 .ph-admin-product-meta{padding-left:0}
 body.ph-redesign-r2 .ph-create-product-grid{grid-template-columns:1fr}
 body.ph-redesign-r2 .ph-create-product-grid .full{grid-column:auto}
 body.ph-redesign-r2 .ph-admin-static-summary{grid-template-columns:1fr}
}

/* ===== ph-r25-admin-product-automation-style ===== */
body.ph-redesign-r2 .ph-admin-auto-note{border:1px solid #CFE3DD;background:#F1FAF7;color:#486A60;border-radius:12px;padding:11px 13px;font-size:11px;line-height:1.55}
body.ph-redesign-r2 .ph-admin-auto-note strong{color:#155A4D}
body.ph-redesign-r2 #phStaticProductModal .ph-admin-detail-panel{width:min(1050px,calc(100vw - 26px))!important;max-height:92vh!important;overflow:auto!important}
body.ph-redesign-r2 #phStaticProductModal .ph-admin-static-actions{margin-top:16px!important;display:flex!important;gap:9px!important;flex-wrap:wrap!important}
body.ph-redesign-r2 #phStaticProductModal select,body.ph-redesign-r2 #phCreateProductModal select{width:100%;border:1px solid #C9D7E0;border-radius:11px;background:#fff;color:#243746;padding:11px 12px;outline:0}
body.ph-redesign-r2 #phStaticProductModal select:focus,body.ph-redesign-r2 #phCreateProductModal select:focus{border-color:#16A085;box-shadow:0 0 0 3px rgba(22,160,133,.10)}

/* ===== ph-r26-multishop-no-truncation ===== */
/* R26: Händlernamen immer vollständig zeigen – kein Umbruch, keine Ellipsis */
body.ph-redesign-r2 .shop-grid{
  display:flex!important;
  grid-template-columns:none!important;
  gap:12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:2px 2px 10px!important;
  scroll-snap-type:x proximity!important;
  scrollbar-width:thin!important;
  scrollbar-color:#B8CBD6 transparent!important;
}
body.ph-redesign-r2 .shop-grid::-webkit-scrollbar{height:7px!important}
body.ph-redesign-r2 .shop-grid::-webkit-scrollbar-track{background:transparent!important}
body.ph-redesign-r2 .shop-grid::-webkit-scrollbar-thumb{background:#B8CBD6!important;border-radius:999px!important}
body.ph-redesign-r2 .shop-card{
  flex:1 0 220px!important;
  min-width:220px!important;
  max-width:none!important;
  scroll-snap-align:start!important;
}
body.ph-redesign-r2 .shop-card-head{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body.ph-redesign-r2 .shop-card-head strong{
  display:block!important;
  min-width:max-content!important;
  width:auto!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-size:15px!important;
  line-height:1.2!important;
  color:#18364D!important;
}
body.ph-redesign-r2 .shop-card-tag{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
body.ph-redesign-r2 .shop-card>small{
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:620px){
  body.ph-redesign-r2 .shop-card{flex-basis:205px!important;min-width:205px!important}
}

/* ===== ph-r27-admin-polish-style ===== */
body.ph-redesign-r2 #adminModal .admin-tab.active{color:#155A4D!important;border-color:#A9D8CC!important;background:#EAF7F3!important}
body.ph-redesign-r2 #adminModal .admin-tab{color:#466173!important;background:#FFFFFF!important}
body.ph-redesign-r2 #adminModal .modal-panel,
body.ph-redesign-r2 #requestDetailModal .modal-panel,
body.ph-redesign-r2 #supportTicketDetailModal .modal-panel,
body.ph-redesign-r2 #adminProfileDetailModal .modal-panel{background:#F8FBFC!important;border:1px solid #D7E2E8!important;box-shadow:0 24px 60px rgba(36,55,70,.14)!important}

body.ph-redesign-r2 #requestDetailModal .modal-panel,
body.ph-redesign-r2 #supportTicketDetailModal .modal-panel,
body.ph-redesign-r2 #adminProfileDetailModal .modal-panel{padding:24px!important;max-height:min(90vh,940px)!important;overflow:auto!important}
body.ph-redesign-r2 #requestDetailModal h2,
body.ph-redesign-r2 #supportTicketDetailModal h2,
body.ph-redesign-r2 #adminProfileDetailModal h2{margin:4px 0 0!important;color:#18364D!important;font-size:22px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 #requestDetailModal .eyebrow,
body.ph-redesign-r2 #supportTicketDetailModal .eyebrow,
body.ph-redesign-r2 #adminProfileDetailModal .eyebrow{color:#446A86!important}

body.ph-redesign-r2 #requestDetailModal .modal-close,
body.ph-redesign-r2 #supportTicketDetailModal .modal-close,
body.ph-redesign-r2 #adminProfileDetailModal .modal-close{top:16px!important;right:16px!important;width:42px!important;height:42px!important;min-width:42px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:14px!important;background:#F7FAFC!important;border:1px solid #D1DDE5!important;color:#244255!important;box-shadow:0 5px 14px rgba(36,55,70,.07)!important;line-height:1!important;font-size:22px!important}
body.ph-redesign-r2 #requestDetailModal .modal-close:hover,
body.ph-redesign-r2 #supportTicketDetailModal .modal-close:hover,
body.ph-redesign-r2 #adminProfileDetailModal .modal-close:hover{background:#EAF7F3!important;border-color:#A9D8CC!important;color:#155A4D!important}

body.ph-redesign-r2 #requestDetailModal .request-detail-grid,
body.ph-redesign-r2 #supportTicketDetailModal .support-detail-grid{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr)!important;gap:18px!important;margin-top:18px!important}
body.ph-redesign-r2 #requestDetailModal .request-panel,
body.ph-redesign-r2 #supportTicketDetailModal .support-panel,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-panel{border:1px solid #D7E2E8!important;border-radius:18px!important;padding:18px!important;background:#FFFFFF!important;box-shadow:0 8px 22px rgba(36,55,70,.05)!important;min-width:0!important}
body.ph-redesign-r2 #requestDetailModal .request-panel h3,
body.ph-redesign-r2 #supportTicketDetailModal .support-panel h3,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-panel h3{margin:0 0 14px!important;font-size:18px!important;color:#18364D!important}
body.ph-redesign-r2 #requestDetailModal .request-meta,
body.ph-redesign-r2 #supportTicketDetailModal .support-meta,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.ph-redesign-r2 #requestDetailModal .request-meta div,
body.ph-redesign-r2 #supportTicketDetailModal .support-meta div,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-meta>div{border:1px solid #E0E8ED!important;border-radius:14px!important;padding:12px 13px!important;background:#F8FBFC!important;min-width:0}
body.ph-redesign-r2 #requestDetailModal .request-meta small,
body.ph-redesign-r2 #supportTicketDetailModal .support-meta small,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-meta small{display:block!important;font-size:10px!important;line-height:1.2!important;color:#6B8192!important;text-transform:uppercase!important;letter-spacing:.08em!important;margin-bottom:5px!important}
body.ph-redesign-r2 #requestDetailModal .request-meta strong,
body.ph-redesign-r2 #supportTicketDetailModal .support-meta strong,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-meta strong{display:block!important;font-size:14px!important;line-height:1.45!important;color:#18364D!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 #requestDetailDescription,
body.ph-redesign-r2 #supportInitialMessage,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-note{margin-top:15px!important;padding:14px 15px!important;border-radius:15px!important;background:#F5F9FB!important;border:1px solid #DCE5EA!important;color:#4F6778!important;font-size:13px!important;line-height:1.65!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;min-height:90px}
body.ph-redesign-r2 #requestDetailLink{margin-top:14px!important}
body.ph-redesign-r2 #requestDetailLink .mini-btn{background:#F7FAFC!important;border:1px solid #C8D6E0!important;color:#244255!important}
body.ph-redesign-r2 #requestDetailLink .mini-btn:hover{background:#EAF7F3!important;border-color:#A8D8CB!important;color:#155A4D!important}

body.ph-redesign-r2 #requestDetailModal .request-admin-controls,
body.ph-redesign-r2 #supportAdminControls .form-grid,
body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-form{display:grid!important;gap:12px!important}
body.ph-redesign-r2 #requestDetailModal .field span,
body.ph-redesign-r2 #supportAdminControls label,
body.ph-redesign-r2 #adminProfileDetailModal label{font-size:12px!important;font-weight:800!important;color:#5E7587!important;margin-bottom:6px!important}
body.ph-redesign-r2 #requestDetailModal .status-select,
body.ph-redesign-r2 #supportAdminControls select,
body.ph-redesign-r2 #adminProfileDetailModal input,
body.ph-redesign-r2 #adminProfileDetailModal select,
body.ph-redesign-r2 #adminProfileDetailModal textarea{min-height:46px!important;border-radius:12px!important;border:1px solid #C8D6DF!important;background:#FFFFFF!important;color:#243746!important;padding:11px 13px!important;font-size:14px!important;box-shadow:none!important}
body.ph-redesign-r2 #adminProfileDetailModal textarea{min-height:96px!important;resize:vertical!important}
body.ph-redesign-r2 #requestDetailModal .status-select:focus,
body.ph-redesign-r2 #supportAdminControls select:focus,
body.ph-redesign-r2 #adminProfileDetailModal input:focus,
body.ph-redesign-r2 #adminProfileDetailModal select:focus,
body.ph-redesign-r2 #adminProfileDetailModal textarea:focus{outline:none!important;border-color:#16A085!important;box-shadow:0 0 0 3px rgba(22,160,133,.10)!important}
body.ph-redesign-r2 #requestStatusSavedAt,
body.ph-redesign-r2 #supportAdminState,
body.ph-redesign-r2 #supportReplyState,
body.ph-redesign-r2 #requestCommentState,
body.ph-redesign-r2 #adminProfileDetailState{display:block!important;font-size:12px!important;line-height:1.5!important;color:#607585!important;margin-top:2px!important}
body.ph-redesign-r2 #requestSaveStatus,
body.ph-redesign-r2 #supportAdminSave,
body.ph-redesign-r2 #adminProfileSave{width:100%!important;min-height:48px!important;border-radius:14px!important;background:#16A085!important;border:1px solid #16A085!important;color:#fff!important;font-weight:900!important}
body.ph-redesign-r2 #requestSaveStatus:hover,
body.ph-redesign-r2 #supportAdminSave:hover,
body.ph-redesign-r2 #adminProfileSave:hover{background:#12806B!important;border-color:#12806B!important}

body.ph-redesign-r2 #requestDetailModal .comment-thread,
body.ph-redesign-r2 #supportTicketDetailModal .support-thread{display:grid!important;gap:12px!important;max-height:320px!important;overflow:auto!important;margin-top:14px!important;padding-right:3px!important}
body.ph-redesign-r2 #requestDetailModal .comment-entry,
body.ph-redesign-r2 #supportTicketDetailModal .support-message{display:flex!important;align-items:flex-start!important;gap:12px!important;border:1px solid #DCE5EA!important;border-radius:14px!important;padding:13px!important;background:#F8FBFC!important}
body.ph-redesign-r2 #requestDetailModal .comment-avatar{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;background:#D7F0E9!important;color:#155A4D!important;display:grid!important;place-items:center!important;font-size:12px!important;font-weight:900!important}
body.ph-redesign-r2 #requestDetailModal .comment-bubble{flex:1!important;min-width:0!important}
body.ph-redesign-r2 #requestDetailModal .comment-head,
body.ph-redesign-r2 #supportTicketDetailModal .support-message-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:6px!important}
body.ph-redesign-r2 #requestDetailModal .comment-head strong,
body.ph-redesign-r2 #supportTicketDetailModal .support-message-head strong{font-size:13px!important;color:#18364D!important}
body.ph-redesign-r2 #requestDetailModal .comment-head time,
body.ph-redesign-r2 #supportTicketDetailModal .support-message-head time{font-size:11px!important;color:#728594!important;white-space:nowrap!important}
body.ph-redesign-r2 #requestDetailModal .comment-bubble p,
body.ph-redesign-r2 #supportTicketDetailModal .support-message p{margin:0!important;color:#4F6778!important;font-size:13px!important;line-height:1.65!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 #supportTicketDetailModal .support-message.internal{background:#FFF8EA!important;border-color:#E8D3A5!important}
body.ph-redesign-r2 #supportTicketDetailModal .support-internal-label{display:inline-flex!important;align-items:center!important;padding:4px 7px!important;border-radius:999px!important;background:#FFF1CB!important;color:#8A6A1E!important;font-size:10px!important;font-weight:900!important;margin-left:8px!important}
body.ph-redesign-r2 #requestDetailModal .comment-form,
body.ph-redesign-r2 #supportTicketDetailModal .support-reply-form{display:grid!important;gap:12px!important;margin-top:16px!important}
body.ph-redesign-r2 #requestDetailModal textarea,
body.ph-redesign-r2 #supportTicketDetailModal #supportReplyMessage{min-height:124px!important;border:1px solid #C8D6DF!important;border-radius:14px!important;background:#FFFFFF!important;color:#243746!important;padding:13px 14px!important;font-size:14px!important;line-height:1.6!important}
body.ph-redesign-r2 #supportTicketDetailModal .support-reply-options{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
body.ph-redesign-r2 #supportTicketDetailModal #supportInternalNoteLabel{display:flex!important;align-items:center!important;gap:8px!important;color:#607585!important;font-size:12px!important}
body.ph-redesign-r2 #requestDetailModal .comment-form .btn,
body.ph-redesign-r2 #supportTicketDetailModal .support-reply-options .btn{width:auto!important;min-width:210px!important;justify-self:end!important;border-radius:14px!important;background:#16A085!important;border:1px solid #16A085!important;color:#fff!important;font-weight:900!important}
body.ph-redesign-r2 #requestDetailModal .comment-form .btn:hover,
body.ph-redesign-r2 #supportTicketDetailModal .support-reply-options .btn:hover{background:#12806B!important;border-color:#12806B!important}

body.ph-redesign-r2 #adminModal .admin-request-card,
body.ph-redesign-r2 #adminModal .support-ticket-card,
body.ph-redesign-r2 #adminModal .ph-admin-user-card{border:1px solid #D7E2E8!important;border-radius:18px!important;background:#FFFFFF!important;box-shadow:0 8px 22px rgba(36,55,70,.05)!important;overflow:hidden!important;margin-top:12px!important}
body.ph-redesign-r2 #adminModal .admin-request-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:16px!important}
body.ph-redesign-r2 #adminModal .admin-request-summary,
body.ph-redesign-r2 #adminModal .support-ticket-button,
body.ph-redesign-r2 #adminModal .ph-admin-user-open{width:100%!important;border:0!important;background:transparent!important;color:#18364D!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:12px!important;align-items:center!important;text-align:left!important;cursor:pointer!important}
body.ph-redesign-r2 #adminModal .admin-request-summary:hover strong,
body.ph-redesign-r2 #adminModal .support-ticket-button:hover strong,
body.ph-redesign-r2 #adminModal .ph-admin-user-open:hover strong{color:#155A4D!important}
body.ph-redesign-r2 #adminModal .admin-request-summary strong,
body.ph-redesign-r2 #adminModal .support-ticket-button strong,
body.ph-redesign-r2 #adminModal .ph-admin-user-main strong{display:block!important;font-size:17px!important;line-height:1.32!important;color:#18364D!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 #adminModal .admin-request-summary small,
body.ph-redesign-r2 #adminModal .support-ticket-button small,
body.ph-redesign-r2 #adminModal .ph-admin-user-main small{display:block!important;margin-top:5px!important;font-size:12px!important;line-height:1.55!important;color:#607585!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 #adminModal .admin-request-status,
body.ph-redesign-r2 #adminModal .support-status,
body.ph-redesign-r2 #adminModal .ph-admin-role-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 10px!important;border-radius:999px!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important;border:1px solid #D3DFE6!important;background:#F2F6F8!important;color:#35566B!important}
body.ph-redesign-r2 #adminModal .request-chevron,
body.ph-redesign-r2 #adminModal .ph-admin-user-chevron{font-size:20px!important;color:#16A085!important;line-height:1!important}
body.ph-redesign-r2 #adminModal .admin-entry-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.ph-redesign-r2 #adminModal .admin-action-btn,
body.ph-redesign-r2 #adminModal .ph-admin-inline-light{min-height:38px!important;border-radius:11px!important;font-size:11px!important;font-weight:800!important;padding:8px 12px!important;background:#F7FAFC!important;border:1px solid #CBD8E1!important;color:#244255!important;cursor:pointer!important}
body.ph-redesign-r2 #adminModal .admin-action-btn:hover,
body.ph-redesign-r2 #adminModal .ph-admin-inline-light:hover{background:#EAF7F3!important;border-color:#A7D6CA!important;color:#155A4D!important}
body.ph-redesign-r2 #adminModal .admin-action-btn.admin-action-delete:hover{background:#FFF1F1!important;border-color:#E5B9B9!important;color:#A34747!important}
body.ph-redesign-r2 #adminModal .status-select[data-role-user],
body.ph-redesign-r2 #adminProfileRole{min-width:106px!important;min-height:40px!important;border-radius:11px!important;border:1px solid #C8D6DF!important;background:#FFFFFF!important;color:#243746!important;padding:8px 11px!important;font-size:12px!important;font-weight:800!important}
body.ph-redesign-r2 #adminModal .status-select[data-role-user]:focus,
body.ph-redesign-r2 #adminProfileRole:focus{outline:none!important;border-color:#16A085!important;box-shadow:0 0 0 3px rgba(22,160,133,.10)!important}
body.ph-redesign-r2 .ph-admin-user-list{display:grid!important;gap:12px!important}
body.ph-redesign-r2 .ph-admin-user-main{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
body.ph-redesign-r2 .ph-admin-user-avatar{width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;background:#D7F0E9!important;color:#155A4D!important;display:grid!important;place-items:center!important;font-size:14px!important;font-weight:900!important}
body.ph-redesign-r2 .ph-admin-user-text{min-width:0!important}
body.ph-redesign-r2 .ph-admin-inline-search{display:flex!important;align-items:center!important;gap:10px!important;background:#FFFFFF!important;border:1px solid #C9D7E0!important;border-radius:13px!important;padding:0 13px!important;min-height:44px!important;min-width:min(320px,100%)!important}
body.ph-redesign-r2 .ph-admin-inline-search:focus-within{border-color:#16A085!important;box-shadow:0 0 0 3px rgba(22,160,133,.10)!important}
body.ph-redesign-r2 .ph-admin-inline-search span{font-size:14px!important;color:#607585!important}
body.ph-redesign-r2 .ph-admin-inline-search input{width:100%!important;border:0!important;background:transparent!important;outline:0!important;color:#243746!important;padding:10px 0!important;font-size:13px!important;box-shadow:none!important}
body.ph-redesign-r2 .ph-admin-profile-top{display:flex!important;align-items:center!important;gap:14px!important;margin:16px 0 18px!important}
body.ph-redesign-r2 .ph-admin-profile-badge{width:56px!important;height:56px!important;min-width:56px!important;border-radius:18px!important;background:#EAF7F3!important;color:#155A4D!important;display:grid!important;place-items:center!important;font-size:20px!important;font-weight:900!important}
body.ph-redesign-r2 .ph-admin-profile-top strong{display:block!important;font-size:18px!important;color:#18364D!important;line-height:1.3!important}
body.ph-redesign-r2 .ph-admin-profile-top small{display:block!important;font-size:12px!important;color:#607585!important;line-height:1.55!important;margin-top:4px!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 .ph-admin-profile-actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin-top:14px!important;padding-top:14px!important;border-top:1px solid #DDE6EB!important}
body.ph-redesign-r2 #adminProfileArchive,
body.ph-redesign-r2 #adminProfileRestore{background:#F7FAFC!important;border:1px solid #CBD8E1!important;color:#244255!important;border-radius:12px!important;padding:10px 13px!important;font-weight:800!important;cursor:pointer!important}
body.ph-redesign-r2 #adminProfileDeleteView{background:#FFF4F4!important;border:1px solid #E3BBBB!important;color:#9A4343!important;border-radius:12px!important;padding:10px 13px!important;font-weight:800!important;cursor:pointer!important}
body.ph-redesign-r2 #adminProfileArchive:hover,
body.ph-redesign-r2 #adminProfileRestore:hover{background:#EAF7F3!important;border-color:#A7D6CA!important;color:#155A4D!important}
body.ph-redesign-r2 #adminProfileDeleteView:hover{background:#FFE8E8!important}
body.ph-redesign-r2 #adminModal .admin-source-warning,
body.ph-redesign-r2 #adminModal .admin-source-ok{border-radius:15px!important;padding:14px 16px!important;margin-top:14px!important}

@media(max-width:920px){
  body.ph-redesign-r2 #requestDetailModal .request-detail-grid,
  body.ph-redesign-r2 #supportTicketDetailModal .support-detail-grid{grid-template-columns:1fr!important}
  body.ph-redesign-r2 #requestDetailModal .request-meta,
  body.ph-redesign-r2 #supportTicketDetailModal .support-meta,
  body.ph-redesign-r2 #adminProfileDetailModal .ph-admin-profile-meta{grid-template-columns:1fr!important}
  body.ph-redesign-r2 #adminModal .admin-request-row{grid-template-columns:1fr!important}
  body.ph-redesign-r2 #adminModal .admin-entry-actions{justify-content:flex-start!important}
  body.ph-redesign-r2 #adminModal .admin-request-summary,
  body.ph-redesign-r2 #adminModal .support-ticket-button,
  body.ph-redesign-r2 #adminModal .ph-admin-user-open{grid-template-columns:minmax(0,1fr)!important}
  body.ph-redesign-r2 .ph-admin-inline-search{min-width:100%!important}
}
@media(max-width:620px){
  body.ph-redesign-r2 #requestDetailModal .modal-panel,
  body.ph-redesign-r2 #supportTicketDetailModal .modal-panel,
  body.ph-redesign-r2 #adminProfileDetailModal .modal-panel{padding:16px!important}
  body.ph-redesign-r2 #requestDetailModal .comment-form .btn,
  body.ph-redesign-r2 #supportTicketDetailModal .support-reply-options .btn{width:100%!important;min-width:0!important}
}

/* ===== ph-r28-user-stats-message-style ===== */
body.ph-redesign-r2 .ph-admin-section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:14px!important}
body.ph-redesign-r2 .ph-admin-section-head h3{margin:0 0 3px!important}
body.ph-redesign-r2 .ph-admin-section-head small{display:block!important;color:#607585!important;font-size:11px!important;line-height:1.5!important}
body.ph-redesign-r2 .ph-admin-live-badge,body.ph-redesign-r2 .ph-admin-message-badge{display:inline-flex!important;align-items:center!important;padding:6px 9px!important;border-radius:999px!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;background:#EAF7F3!important;border:1px solid #B6DDD3!important;color:#155A4D!important}
body.ph-redesign-r2 .ph-admin-message-badge{background:#EDF3F7!important;border-color:#D2DFE7!important;color:#35566B!important}
body.ph-redesign-r2 .ph-admin-user-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body.ph-redesign-r2 .ph-admin-user-stat{padding:13px!important;border:1px solid #DCE5EA!important;border-radius:14px!important;background:#F8FBFC!important;min-width:0!important}
body.ph-redesign-r2 .ph-admin-user-stat strong{display:block!important;color:#18364D!important;font-size:23px!important;line-height:1.05!important;margin-bottom:6px!important}
body.ph-redesign-r2 .ph-admin-user-stat small{display:block!important;color:#657B8B!important;font-size:10px!important;line-height:1.35!important;text-transform:uppercase!important;letter-spacing:.06em!important}
body.ph-redesign-r2 .ph-admin-last-activity{margin-top:12px!important;padding:12px 13px!important;border-radius:13px!important;background:#F3F8FA!important;border:1px solid #DCE5EA!important;color:#526B7C!important;font-size:12px!important;line-height:1.55!important}
body.ph-redesign-r2 .ph-admin-last-activity strong{color:#18364D!important}
body.ph-redesign-r2 .ph-admin-user-activity{display:block!important;margin-top:4px!important;color:#5F7687!important;font-size:11px!important;line-height:1.45!important;white-space:normal!important}
body.ph-redesign-r2 .ph-admin-message-form{display:grid!important;gap:12px!important}
body.ph-redesign-r2 .ph-admin-message-form .field{display:grid!important;gap:6px!important}
body.ph-redesign-r2 .ph-admin-message-form textarea{min-height:112px!important}
body.ph-redesign-r2 .ph-admin-message-counter{justify-self:end!important;color:#728594!important;font-size:10px!important}
body.ph-redesign-r2 #adminProfileMessageSend{width:auto!important;justify-self:start!important;min-width:190px!important}
body.ph-redesign-r2 #adminProfileMessageState{min-height:18px!important;font-size:12px!important;line-height:1.5!important;color:#607585!important}
body.ph-redesign-r2 .ph-admin-message-history-wrap{margin-top:18px!important;padding-top:16px!important;border-top:1px solid #DDE6EB!important}
body.ph-redesign-r2 .ph-admin-message-history-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
body.ph-redesign-r2 .ph-admin-message-history-head strong{font-size:13px!important;color:#18364D!important}
body.ph-redesign-r2 .ph-admin-message-history{display:grid!important;gap:9px!important}
body.ph-redesign-r2 .ph-admin-message-item{padding:12px 13px!important;border:1px solid #DCE5EA!important;border-radius:13px!important;background:#F8FBFC!important}
body.ph-redesign-r2 .ph-admin-message-item-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:5px!important}
body.ph-redesign-r2 .ph-admin-message-item-head strong{font-size:12px!important;color:#18364D!important}
body.ph-redesign-r2 .ph-admin-message-item-head time{font-size:10px!important;color:#728594!important;white-space:nowrap!important}
body.ph-redesign-r2 .ph-admin-message-item p{margin:0!important;color:#536C7D!important;font-size:12px!important;line-height:1.55!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body.ph-redesign-r2 .ph-admin-message-read{display:inline-flex!important;margin-top:8px!important;padding:4px 7px!important;border-radius:999px!important;background:#EAF7F3!important;color:#155A4D!important;font-size:9px!important;font-weight:900!important}
body.ph-redesign-r2 .ph-admin-message-unread{display:inline-flex!important;margin-top:8px!important;padding:4px 7px!important;border-radius:999px!important;background:#EDF3F7!important;color:#466173!important;font-size:9px!important;font-weight:900!important}
@media(max-width:800px){body.ph-redesign-r2 .ph-admin-user-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){body.ph-redesign-r2 .ph-admin-user-stats{grid-template-columns:1fr!important}body.ph-redesign-r2 .ph-admin-section-head{display:grid!important}body.ph-redesign-r2 #adminProfileMessageSend{width:100%!important}}

/* ===== ph-r29-professional-hierarchy ===== */
/* R29 — Professional hierarchy + moderation polish */
body.ph-redesign-r2{background:#F3F5F7!important;color:#243746!important}
body.ph-redesign-r2 main{padding-bottom:36px!important}
body.ph-redesign-r2 .ph-market-hero{padding-top:54px!important;padding-bottom:38px!important;gap:44px!important}
body.ph-redesign-r2 .ph-market-hero .hero-copy{max-width:760px!important}
body.ph-redesign-r2 .ph-market-hero h1{max-width:720px!important;line-height:1.01!important;letter-spacing:-2.2px!important}
body.ph-redesign-r2 .ph-market-hero .hero-copy>p{max-width:680px!important;font-size:15px!important;line-height:1.7!important;color:#607585!important}
body.ph-redesign-r2 .ph-hero-proof{margin-top:22px!important;gap:10px!important}
body.ph-redesign-r2 .ph-hero-proof span{background:#FFFFFF!important;border:1px solid #DDE5EA!important;border-radius:999px!important;padding:8px 11px!important;font-size:11px!important}
body.ph-redesign-r2 .ph-featured-pick{box-shadow:0 18px 44px rgba(36,55,70,.10)!important;border:1px solid #D5E0E7!important}

body.ph-redesign-r2 .market-categories{margin-top:8px!important;margin-bottom:40px!important}
body.ph-redesign-r2 .market-categories .categories{gap:12px!important}
body.ph-redesign-r2 .market-categories .category{background:#FFFFFF!important;border:1px solid #D7E1E8!important;color:#243746!important;box-shadow:0 7px 18px rgba(36,55,70,.04)!important;min-height:82px!important}
body.ph-redesign-r2 .market-categories .category strong{color:#18364D!important}
body.ph-redesign-r2 .market-categories .category small{color:#657B8B!important}
body.ph-redesign-r2 .market-categories .category:hover{transform:translateY(-2px)!important;border-color:#A9D8CC!important;box-shadow:0 12px 26px rgba(36,55,70,.07)!important}
body.ph-redesign-r2 .market-categories .category.active{background:#F1FAF7!important;border-color:#93CFC0!important;box-shadow:inset 0 -3px 0 #16A085!important}

body.ph-redesign-r2 .market-section{padding-top:0!important;padding-bottom:50px!important}
body.ph-redesign-r2 .market-shell{background:#FFFFFF!important;border:1px solid #D9E3E9!important;border-radius:22px!important;padding:28px!important;box-shadow:0 16px 40px rgba(36,55,70,.06)!important}
body.ph-redesign-r2 .market-head{padding-bottom:18px!important;border-bottom:1px solid #E5ECEF!important;margin-bottom:16px!important}
body.ph-redesign-r2 .market-head h2{font-size:30px!important;line-height:1.15!important;max-width:720px!important;color:#18364D!important}
body.ph-redesign-r2 .market-head p{max-width:760px!important;font-size:13px!important;line-height:1.6!important}
body.ph-redesign-r2 .catalog-view-tabs{margin-top:6px!important;padding:5px!important;background:#F3F6F8!important;border:1px solid #E0E7EB!important;border-radius:14px!important;gap:4px!important}
body.ph-redesign-r2 .catalog-view-tab{border:0!important;border-radius:10px!important;min-height:38px!important;background:transparent!important;color:#5D7383!important;padding:8px 11px!important}
body.ph-redesign-r2 .catalog-view-tab.active{background:#FFFFFF!important;color:#155A4D!important;box-shadow:0 3px 10px rgba(36,55,70,.07)!important}
body.ph-redesign-r2 .catalog-toolbar{margin:16px 0 14px!important;padding:0!important;border:0!important}
body.ph-redesign-r2 .catalog-result-copy strong{font-size:14px!important;color:#18364D!important}
body.ph-redesign-r2 .product-grid{gap:16px!important}
body.ph-redesign-r2 .ph-product-card{border:1px solid #D9E3E9!important;border-radius:18px!important;box-shadow:0 8px 22px rgba(36,55,70,.045)!important;background:#FFFFFF!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
body.ph-redesign-r2 .ph-product-card:hover{transform:translateY(-3px)!important;border-color:#BFD4DF!important;box-shadow:0 16px 32px rgba(36,55,70,.085)!important}
body.ph-redesign-r2 .ph-card-primary-signal{min-height:68px!important;overflow:visible!important;padding:12px 0!important;align-items:center!important}
body.ph-redesign-r2 .ph-card-primary-signal>div{min-width:96px!important;overflow:visible!important}
body.ph-redesign-r2 .ph-card-primary-signal small{display:block!important;white-space:nowrap!important;overflow:visible!important;line-height:1.25!important}
body.ph-redesign-r2 .ph-card-primary-signal strong{display:block!important;line-height:1.2!important;font-size:18px!important;margin-top:4px!important;overflow:visible!important}
body.ph-redesign-r2 .ph-catalog-collapsed .ph-product-card:nth-child(n+5){display:none!important}
body.ph-redesign-r2 .ph-catalog-more-row{display:flex!important;justify-content:center!important;padding-top:20px!important}
body.ph-redesign-r2 #phCatalogMore{min-width:220px!important;min-height:44px!important;border-radius:12px!important;border:1px solid #C7D6DF!important;background:#F8FAFC!important;color:#244255!important;font-weight:850!important;cursor:pointer!important}
body.ph-redesign-r2 #phCatalogMore:hover{background:#EAF7F3!important;border-color:#A8D8CB!important;color:#155A4D!important}

body.ph-redesign-r2 .trust-rail,
body.ph-redesign-r2 .decision-assistant,
body.ph-redesign-r2 .community-compact,
body.ph-redesign-r2 .help-center,
body.ph-redesign-r2 .method-mini{margin-top:26px!important;margin-bottom:26px!important;border-radius:22px!important;border:1px solid #D9E3E9!important;box-shadow:0 12px 34px rgba(36,55,70,.045)!important}
body.ph-redesign-r2 .trust-rail{background:#FFFFFF!important;padding:20px 22px!important}
body.ph-redesign-r2 .trust-point{background:#F7FAFC!important;border:1px solid #E0E8ED!important;border-radius:12px!important;padding:10px 12px!important}
body.ph-redesign-r2 .decision-assistant{background:#FFFFFF!important;padding:28px!important}
body.ph-redesign-r2 .community-compact,
body.ph-redesign-r2 .help-center,
body.ph-redesign-r2 .method-mini{background:#FFFFFF!important;padding:28px!important}
body.ph-redesign-r2 .decision-assistant h2,
body.ph-redesign-r2 .community-compact h2,
body.ph-redesign-r2 .help-center h2,
body.ph-redesign-r2 .method-mini h2{color:#18364D!important}

/* Reviews — clear moderation UI */
body.ph-redesign-r2 .ph-review-admin-toolbar{display:grid!important;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(130px,auto))!important;gap:10px!important;align-items:center!important;margin:14px 0!important}
body.ph-redesign-r2 .ph-review-admin-toolbar input,
body.ph-redesign-r2 .ph-review-admin-toolbar select{min-height:42px!important;border:1px solid #C9D7E0!important;border-radius:11px!important;background:#FFFFFF!important;color:#243746!important;padding:9px 11px!important;font-size:12px!important}
body.ph-redesign-r2 .ph-review-admin-toolbar input:focus,
body.ph-redesign-r2 .ph-review-admin-toolbar select:focus{outline:none!important;border-color:#16A085!important;box-shadow:0 0 0 3px rgba(22,160,133,.10)!important}
body.ph-redesign-r2 .ph-review-card{border:1px solid #D7E2E8!important;border-radius:17px!important;background:#FFFFFF!important;box-shadow:0 7px 20px rgba(36,55,70,.045)!important;margin-top:10px!important;overflow:hidden!important}
body.ph-redesign-r2 .ph-review-card-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:15px 16px!important;cursor:pointer!important}
body.ph-redesign-r2 .ph-review-card-main:hover{background:#F8FBFC!important}
body.ph-redesign-r2 .ph-review-card h4{margin:0!important;font-size:15px!important;color:#18364D!important}
body.ph-redesign-r2 .ph-review-card p{margin:6px 0 0!important;font-size:12px!important;line-height:1.55!important;color:#607585!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.ph-redesign-r2 .ph-review-card-meta{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:9px!important}
body.ph-redesign-r2 .ph-review-chip{display:inline-flex!important;align-items:center!important;padding:5px 8px!important;border-radius:999px!important;background:#F0F4F7!important;border:1px solid #D6E1E8!important;color:#526A7B!important;font-size:10px!important;font-weight:850!important}
body.ph-redesign-r2 .ph-review-chip.warn{background:#FFF4E5!important;border-color:#E7C995!important;color:#825F1D!important}
body.ph-redesign-r2 .ph-review-actions{display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important;padding:0 16px 15px!important}
body.ph-redesign-r2 .ph-review-actions button{min-height:36px!important;border-radius:10px!important;border:1px solid #CBD8E1!important;background:#F8FAFC!important;color:#244255!important;padding:7px 10px!important;font-size:11px!important;font-weight:850!important;cursor:pointer!important}
body.ph-redesign-r2 .ph-review-actions .approve{background:#EAF7F3!important;border-color:#A9D8CC!important;color:#155A4D!important}
body.ph-redesign-r2 .ph-review-actions .reject{background:#FFF7E9!important;border-color:#E2C995!important;color:#795B1D!important}
body.ph-redesign-r2 .ph-review-actions .delete{background:#FFF2F2!important;border-color:#E5BABA!important;color:#9D4444!important}
body.ph-redesign-r2 .ph-review-actions button:hover{filter:brightness(.985)!important;transform:translateY(-1px)!important}

/* Entire user card is discoverably clickable */
body.ph-redesign-r2 #adminModal .ph-admin-user-card{cursor:pointer!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}
body.ph-redesign-r2 #adminModal .ph-admin-user-card:hover{transform:translateY(-2px)!important;border-color:#A9D8CC!important;box-shadow:0 12px 26px rgba(36,55,70,.075)!important}
body.ph-redesign-r2 #adminModal .ph-admin-user-card:hover .ph-admin-user-chevron{transform:translateX(2px)!important}

/* Make admin messaging unambiguously clickable */
body.ph-redesign-r2 #adminProfileMessageSend{pointer-events:auto!important;cursor:pointer!important;opacity:1!important;position:relative!important;z-index:2!important;background:#16A085!important;border-color:#16A085!important;color:#fff!important}
body.ph-redesign-r2 #adminProfileMessageSend:not(:disabled):hover{background:#12806B!important;border-color:#12806B!important}
body.ph-redesign-r2 #adminProfileMessageSend:disabled{cursor:wait!important;opacity:.65!important}
body.ph-redesign-r2 .ph-admin-message-form{position:relative!important;z-index:2!important}

@media(max-width:980px){
 body.ph-redesign-r2 .ph-review-admin-toolbar{grid-template-columns:1fr 1fr!important}
 body.ph-redesign-r2 .ph-market-hero{gap:28px!important}
}
@media(max-width:700px){
 body.ph-redesign-r2 .market-shell{padding:18px!important}
 body.ph-redesign-r2 .ph-review-admin-toolbar{grid-template-columns:1fr!important}
 body.ph-redesign-r2 .ph-catalog-collapsed .ph-product-card:nth-child(n+5){display:flex!important}
 body.ph-redesign-r2 .ph-catalog-more-row{display:none!important}
}

/* ===== ph-r30-final-stability-style ===== */
/* =========================================================
   R30 FINAL STABILITY PASS
   Only: category icons, dark mode, admin gate, semantic
   strengths/limitations, suggestion mode color.
   ========================================================= */

/* ---------- Category strip: clearer, calmer, professional ---------- */
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories::before{
  background:#E9EEF2!important;
  box-shadow:inset 0 1px 0 #DDE5EA,inset 0 -1px 0 #DDE5EA!important;
}
body.ph-redesign-r2 .market-categories .category{
  overflow:visible!important;
}
body.ph-redesign-r2 .market-categories .category i{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  opacity:1!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1!important;
  background:#D9F1EB!important;
  border:1px solid #A9D9CD!important;
  color:#0E6F5D!important;
  text-shadow:none!important;
}
body.ph-redesign-r2 .market-categories .category.active i{
  background:#16A085!important;
  border-color:#16A085!important;
  color:#FFFFFF!important;
}
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories .category{
  background:#FFFFFF!important;
  border:1px solid #D4DFE6!important;
  color:#243746!important;
  box-shadow:0 3px 10px rgba(36,55,70,.035)!important;
}
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories .category strong{color:#18364D!important}
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories .category small{color:#617789!important}
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories .category:hover{
  background:#F7FBFA!important;
  border-color:#A7D6CA!important;
  transform:none!important;
}
body.ph-redesign-r2:not([data-theme="dark"]) .market-categories .category.active{
  background:#EFF9F6!important;
  border-color:#87CBB9!important;
  box-shadow:inset 0 -3px 0 #16A085!important;
}

/* ---------- Semantic strengths / limitations ---------- */
body.ph-redesign-r2 #productModal .pros-cons .pc:first-child{
  background:#EFF9F5!important;
  border:1px solid #A8D8C8!important;
}
body.ph-redesign-r2 #productModal .pros-cons .pc:first-child strong{
  color:#176C59!important;
}
body.ph-redesign-r2 #productModal .pros-cons .pc:first-child ul,
body.ph-redesign-r2 #productModal .pros-cons .pc:first-child li{
  color:#42675D!important;
}
body.ph-redesign-r2 #productModal .pros-cons .pc:nth-child(2){
  background:#FFF3F4!important;
  border:1px solid #E7B6BD!important;
}
body.ph-redesign-r2 #productModal .pros-cons .pc:nth-child(2) strong{
  color:#A03E4C!important;
}
body.ph-redesign-r2 #productModal .pros-cons .pc:nth-child(2) ul,
body.ph-redesign-r2 #productModal .pros-cons .pc:nth-child(2) li{
  color:#76535A!important;
}

/* ---------- Product suggestion: no orange selection ---------- */
body.ph-redesign-r2 .suggest-mode-card{
  border-color:#D3DFE6!important;
  background:#FFFFFF!important;
  color:#243746!important;
}
body.ph-redesign-r2 .suggest-mode-card:hover{
  border-color:#A8D7CC!important;
  background:#F6FBF9!important;
}
body.ph-redesign-r2 .suggest-mode-card.active{
  border-color:#16A085!important;
  background:#EAF7F3!important;
  box-shadow:0 0 0 2px rgba(22,160,133,.08)!important;
}
body.ph-redesign-r2 .suggest-mode-card.active strong{color:#155A4D!important}
body.ph-redesign-r2 .suggest-mode-card.active small{color:#557468!important}

/* ---------- ADMIN: absolutely hidden unless verified ---------- */
body.ph-redesign-r2 #adminOpen.hidden,
body.ph-redesign-r2 #adminOpen[data-admin-verified="false"],
body.ph-redesign-r2:not(.ph-admin-ready) #adminOpen,
body.ph-redesign-r2 #mobileAdminAction.hidden,
body.ph-redesign-r2:not(.ph-admin-ready) #mobileAdminAction{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body.ph-redesign-r2.ph-admin-ready #adminOpen[data-admin-verified="true"]:not(.hidden){
  display:inline-flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
  opacity:1!important;
}
body.ph-redesign-r2.ph-admin-ready #mobileAdminAction:not(.hidden){
  display:flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

/* ---------- DARK MODE: one coherent token system ---------- */
body.ph-redesign-r2[data-theme="dark"]{
  --ph-page:#0E171E!important;
  --ph-surface:#15232C!important;
  --ph-surface-soft:#1B2C36!important;
  --ph-line:#334852!important;
  --ph-text:#ECF3F6!important;
  --ph-text-muted:#A7B8C1!important;
  --ph-border:#334852!important;
  --ph-border-strong:#46606D!important;
  --ph-ink:#ECF3F6!important;
  --ph-art:#1B2C36!important;
  background:#0E171E!important;
  color:#ECF3F6!important;
  color-scheme:dark!important;
}
body.ph-redesign-r2[data-theme="dark"] main,
body.ph-redesign-r2[data-theme="dark"] .market-section,
body.ph-redesign-r2[data-theme="dark"] .ph-market-hero{
  background:#0E171E!important;
  color:#ECF3F6!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories::before{
  background:#132630!important;
  box-shadow:inset 0 1px 0 #29404B,inset 0 -1px 0 #29404B!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category{
  background:#172731!important;
  border:1px solid #314852!important;
  color:#ECF3F6!important;
  box-shadow:none!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category:hover{
  background:#1B303A!important;
  border-color:#528A7D!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category.active{
  background:#183831!important;
  border-color:#4C8E7E!important;
  box-shadow:inset 0 -3px 0 #39B59D!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category i{
  background:#21463F!important;
  border-color:#397D70!important;
  color:#9DE6D6!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category.active i{
  background:#22A68D!important;
  border-color:#22A68D!important;
  color:#FFFFFF!important;
}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category strong{color:#F0F6F8!important}
body.ph-redesign-r2[data-theme="dark"] .market-categories .category small{color:#A7B8C1!important}

body.ph-redesign-r2[data-theme="dark"] .market-shell,
body.ph-redesign-r2[data-theme="dark"] .ph-product-card,
body.ph-redesign-r2[data-theme="dark"] .trust-rail,
body.ph-redesign-r2[data-theme="dark"] .trust-point,
body.ph-redesign-r2[data-theme="dark"] .trust-action,
body.ph-redesign-r2[data-theme="dark"] .community-compact,
body.ph-redesign-r2[data-theme="dark"] .community-action,
body.ph-redesign-r2[data-theme="dark"] .community-feed,
body.ph-redesign-r2[data-theme="dark"] .manufacturer-strip,
body.ph-redesign-r2[data-theme="dark"] .market-assistant,
body.ph-redesign-r2[data-theme="dark"] .help-center-shell,
body.ph-redesign-r2[data-theme="dark"] .method-mini,
body.ph-redesign-r2[data-theme="dark"] .method-mini-card,
body.ph-redesign-r2[data-theme="dark"] .affiliate-disclosure,
body.ph-redesign-r2[data-theme="dark"] .ph-featured-pick,
body.ph-redesign-r2[data-theme="dark"] .catalog-view-tabs,
body.ph-redesign-r2[data-theme="dark"] .catalog-toolbar{
  background:#15232C!important;
  border-color:#334852!important;
  color:#ECF3F6!important;
  box-shadow:0 8px 24px rgba(0,0,0,.12)!important;
}
body.ph-redesign-r2[data-theme="dark"] .ph-product-card .product-body,
body.ph-redesign-r2[data-theme="dark"] .ph-card-primary-signal,
body.ph-redesign-r2[data-theme="dark"] .ph-card-data,
body.ph-redesign-r2[data-theme="dark"] .ph-amazon-signal{
  background:#172731!important;
  border-color:#334852!important;
  color:#ECF3F6!important;
}
body.ph-redesign-r2[data-theme="dark"] .ph-product-card .product-art,
body.ph-redesign-r2[data-theme="dark"] .ph-product-card .product-art>svg,
body.ph-redesign-r2[data-theme="dark"] .ph-product-card .product-art-image,
body.ph-redesign-r2[data-theme="dark"] .modal-art{
  background:#1B2C36!important;
  border-color:#334852!important;
}
body.ph-redesign-r2[data-theme="dark"] .catalog-view-tab{
  background:#182832!important;
  border-color:#334852!important;
  color:#B5C4CC!important;
}
body.ph-redesign-r2[data-theme="dark"] .catalog-view-tab:hover{background:#1D313B!important;color:#F1F6F8!important}
body.ph-redesign-r2[data-theme="dark"] .catalog-view-tab.active{
  background:#1A3B34!important;
  border-color:#4A887A!important;
  color:#C9F0E7!important;
  box-shadow:inset 0 -3px 0 #39B59D!important;
}

/* Dark text hierarchy */
body.ph-redesign-r2[data-theme="dark"] h1,
body.ph-redesign-r2[data-theme="dark"] h2,
body.ph-redesign-r2[data-theme="dark"] h3,
body.ph-redesign-r2[data-theme="dark"] h4,
body.ph-redesign-r2[data-theme="dark"] strong,
body.ph-redesign-r2[data-theme="dark"] .ph-product-card h3,
body.ph-redesign-r2[data-theme="dark"] .market-head h2,
body.ph-redesign-r2[data-theme="dark"] .catalog-result-copy strong,
body.ph-redesign-r2[data-theme="dark"] .ph-card-primary-signal strong{
  color:#ECF3F6!important;
}
body.ph-redesign-r2[data-theme="dark"] p,
body.ph-redesign-r2[data-theme="dark"] small,
body.ph-redesign-r2[data-theme="dark"] .product-desc,
body.ph-redesign-r2[data-theme="dark"] .market-head p,
body.ph-redesign-r2[data-theme="dark"] .ph-card-primary-signal small,
body.ph-redesign-r2[data-theme="dark"] .affiliate-link-note{
  color:#A7B8C1!important;
}

/* Dark dialogs and form surfaces */
body.ph-redesign-r2[data-theme="dark"] dialog.modal .modal-panel,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .request-panel,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .support-panel,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .score-card,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .deal-reason,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .shop-compare,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .shop-card,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .alternative-card,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .review-summary,
body.ph-redesign-r2[data-theme="dark"] dialog.modal .review,
body.ph-redesign-r2[data-theme="dark"] #accountModal .account-card,
body.ph-redesign-r2[data-theme="dark"] #accountModal .storage-transparency,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-stat,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-request-card,
body.ph-redesign-r2[data-theme="dark"] #adminModal .support-ticket-card,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-toolbar,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-product-import,
body.ph-redesign-r2[data-theme="dark"] #adminModal .ph-admin-product-row,
body.ph-redesign-r2[data-theme="dark"] #adminModal .ph-admin-user-card,
body.ph-redesign-r2[data-theme="dark"] #adminProfileDetailModal .ph-admin-profile-panel{
  background:#15232C!important;
  border-color:#334852!important;
  color:#ECF3F6!important;
  box-shadow:none!important;
}
body.ph-redesign-r2[data-theme="dark"] input,
body.ph-redesign-r2[data-theme="dark"] textarea,
body.ph-redesign-r2[data-theme="dark"] select{
  background:#101D25!important;
  color:#EDF4F7!important;
  border-color:#3A505C!important;
  box-shadow:none!important;
}
body.ph-redesign-r2[data-theme="dark"] input::placeholder,
body.ph-redesign-r2[data-theme="dark"] textarea::placeholder{color:#7F949F!important}
body.ph-redesign-r2[data-theme="dark"] input:focus,
body.ph-redesign-r2[data-theme="dark"] textarea:focus,
body.ph-redesign-r2[data-theme="dark"] select:focus{
  border-color:#42B9A1!important;
  box-shadow:0 0 0 3px rgba(66,185,161,.13)!important;
}
body.ph-redesign-r2[data-theme="dark"] .btn-secondary,
body.ph-redesign-r2[data-theme="dark"] .mini-btn,
body.ph-redesign-r2[data-theme="dark"] .pill-btn,
body.ph-redesign-r2[data-theme="dark"] .detail-btn{
  background:#1B2C36!important;
  color:#E7F0F4!important;
  border-color:#405762!important;
}
body.ph-redesign-r2[data-theme="dark"] .btn-secondary:hover,
body.ph-redesign-r2[data-theme="dark"] .mini-btn:hover,
body.ph-redesign-r2[data-theme="dark"] .pill-btn:hover{
  background:#214039!important;
  border-color:#4B8B7C!important;
  color:#E9FAF6!important;
}
body.ph-redesign-r2[data-theme="dark"] .ph-global-search{
  background:#101D25!important;
  border:1px solid #3A505C!important;
  box-shadow:none!important;
}
body.ph-redesign-r2[data-theme="dark"] .ph-global-search input{background:transparent!important;color:#EDF4F7!important}
body.ph-redesign-r2[data-theme="dark"] .modal-close{background:#1B2C36!important;color:#EDF4F7!important;border-color:#405762!important}

/* Dark AI choice surfaces */
body.ph-redesign-r2[data-theme="dark"] .ph-ai-choice-panel,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-card,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-card.local,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-card.standard,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-choice-oneliner,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-download-meta,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-free-box,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-future-note,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-progress{
  background:#15232C!important;
  border-color:#334852!important;
  color:#A7B8C1!important;
}
body.ph-redesign-r2[data-theme="dark"] .ph-ai-card h3,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-choice-intro h2,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-choice-oneliner strong,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-download-meta strong,
body.ph-redesign-r2[data-theme="dark"] .ph-ai-free-box strong{
  color:#ECF3F6!important;
}

/* Semantic boxes remain semantic in dark mode */
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:first-child{
  background:#15352D!important;
  border-color:#397966!important;
}
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:first-child strong{color:#8CE1C7!important}
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:first-child ul,
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:first-child li{color:#B8D9CF!important}
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:nth-child(2){
  background:#382329!important;
  border-color:#70414B!important;
}
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:nth-child(2) strong{color:#F2A3AE!important}
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:nth-child(2) ul,
body.ph-redesign-r2[data-theme="dark"] #productModal .pros-cons .pc:nth-child(2) li{color:#E0BEC3!important}
body.ph-redesign-r2[data-theme="dark"] .suggest-mode-card{background:#172731!important;border-color:#334852!important;color:#ECF3F6!important}
body.ph-redesign-r2[data-theme="dark"] .suggest-mode-card small{color:#A7B8C1!important}
body.ph-redesign-r2[data-theme="dark"] .suggest-mode-card.active{background:#173A32!important;border-color:#4A8A79!important;box-shadow:0 0 0 2px rgba(57,181,157,.09)!important}
body.ph-redesign-r2[data-theme="dark"] .suggest-mode-card.active strong{color:#A4E8D8!important}
body.ph-redesign-r2[data-theme="dark"] .suggest-mode-card.active small{color:#B9D8D0!important}

/* ===== ph-r30-final-dark-completeness ===== */
/* Dark-mode completeness for assistant/account/admin surfaces that had legacy white !important rules. */
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-shell,
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-main,
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-side,
body.ph-redesign-r2[data-theme="dark"] .assistant-category label,
body.ph-redesign-r2[data-theme="dark"] .assistant-money-field,
body.ph-redesign-r2[data-theme="dark"] .assistant-priority-card,
body.ph-redesign-r2[data-theme="dark"] .assistant-check,
body.ph-redesign-r2[data-theme="dark"] .assistant-summary-card,
body.ph-redesign-r2[data-theme="dark"] .assistant-side-note,
body.ph-redesign-r2[data-theme="dark"] .assistant-result-card,
body.ph-redesign-r2[data-theme="dark"] .assistant-draft-manager,
body.ph-redesign-r2[data-theme="dark"] .assistant-navigation{
  background:#15232C!important;
  color:#ECF3F6!important;
  border-color:#334852!important;
}
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-side{
  background:#13212A!important;
  border-left-color:#334852!important;
}
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-main>h2,
body.ph-redesign-r2[data-theme="dark"] .assistant-summary-card h3,
body.ph-redesign-r2[data-theme="dark"] .assistant-side-note h3,
body.ph-redesign-r2[data-theme="dark"] .assistant-result-card h3{color:#ECF3F6!important}
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-lead,
body.ph-redesign-r2[data-theme="dark"] .assistant-category small,
body.ph-redesign-r2[data-theme="dark"] .assistant-money-field small,
body.ph-redesign-r2[data-theme="dark"] .assistant-priority-card small,
body.ph-redesign-r2[data-theme="dark"] .assistant-summary-item small,
body.ph-redesign-r2[data-theme="dark"] .assistant-side-note p{color:#A7B8C1!important}
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-progress i{background:#344852!important}
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-progress button.active span,
body.ph-redesign-r2[data-theme="dark"] .assistant-v2-progress button.done span{color:#BDECDD!important}
body.ph-redesign-r2[data-theme="dark"] .assistant-category input:checked+label,
body.ph-redesign-r2[data-theme="dark"] .assistant-chip.active,
body.ph-redesign-r2[data-theme="dark"] .assistant-profile.active{
  background:#173A32!important;
  border-color:#4A8A79!important;
  color:#D6F5ED!important;
}
body.ph-redesign-r2[data-theme="dark"] .assistant-category label:hover,
body.ph-redesign-r2[data-theme="dark"] .assistant-chip:hover,
body.ph-redesign-r2[data-theme="dark"] .assistant-profile:hover{
  background:#1B303A!important;
  border-color:#4C756B!important;
  color:#ECF3F6!important;
}
body.ph-redesign-r2[data-theme="dark"] #accountModal .account-name-meta,
body.ph-redesign-r2[data-theme="dark"] #accountModal .storage-row span,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-toolbar-copy small,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-product-main small,
body.ph-redesign-r2[data-theme="dark"] #adminModal .ph-admin-user-main small{color:#A7B8C1!important}
body.ph-redesign-r2[data-theme="dark"] #accountModal #accountName,
body.ph-redesign-r2[data-theme="dark"] #accountModal .storage-row strong,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-toolbar-copy strong,
body.ph-redesign-r2[data-theme="dark"] #adminModal .admin-product-main strong,
body.ph-redesign-r2[data-theme="dark"] #adminModal .ph-admin-user-main strong{color:#ECF3F6!important}
body.ph-redesign-r2[data-theme="dark"] #notificationsModal .notification-item,
body.ph-redesign-r2[data-theme="dark"] #mobileNavModal .mobile-nav-action{
  background:#172731!important;
  color:#ECF3F6!important;
  border-color:#334852!important;
}
body.ph-redesign-r2[data-theme="dark"] #notificationsModal .notification-item small,
body.ph-redesign-r2[data-theme="dark"] #mobileNavModal .mobile-nav-action span{color:#B6C5CC!important}
