/* ==========================================================================















   PETROHUB MARKET — phm.css (clean, stable)















   - Safe base styles















   - Responsive grids without breaking Login/Register















   - Quick filters: desktop single-row, mobile scroll-safe















   - Market cards: desktop flex, mobile stacked















   - Tables: consistent header, mobile horizontal scroll















   - Modal: mobile scroll fix















   - My Company: compact mobile (NO global form breakage)















   ========================================================================== */































/* ===== Base ===== */















.phm-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(0,0,0,.04);}















.phm-h1{font-size:22px;font-weight:800;margin:0 0 8px 0;color:#1f2937}















.phm-muted{color:#6b7280;font-size:13px;line-height:1.45}































.phm-input,.phm-select,.phm-textarea{















  width:100%;















  box-sizing:border-box;















  border:1px solid #d1d5db;















  border-radius:10px;















  padding:10px 12px;















  font-size:14px;















  background:#fff;















}















.phm-textarea{resize:vertical}































.phm-btn{















  display:inline-block;















  background:#111827;color:#fff;















  border:none;border-radius:10px;















  padding:9px 12px;















  font-weight:700;















  text-decoration:none;















  cursor:pointer;















}















.phm-btn.secondary{background:#f3f4f6;color:#111827}















.phm-btn.ok{background:#16a34a}















.phm-btn.warn{background:#f59e0b}















.phm-btn.danger{background:#dc2626}















.phm-btn[disabled]{opacity:.5;cursor:not-allowed}































.phm-links a{margin-right:10px;color:#111827;text-decoration:none;font-weight:700}















.phm-links a:hover{text-decoration:underline}















.phm-link{color:#111827;text-decoration:underline;font-weight:600}















.phm-link:hover{opacity:.85}































.phm-hr{border:none;border-top:1px solid #e5e7eb;margin:16px 0}































/* ===== Grids (SAFE defaults) ===== */















/* Generic grid used across pages (Login/Register, etc.) */















.phm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}















@media(max-width:820px){.phm-grid{grid-template-columns:1fr}}































/* Create Quote: 4-col desktop -> 2-col -> 1-col */















.phm-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}















@media(max-width:980px){.phm-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}















@media(max-width:520px){.phm-grid4{grid-template-columns:1fr}}































/* Section separator */















.phm-sep{display:flex;align-items:center;gap:10px;margin:14px 0 10px 0}















.phm-sep:before,.phm-sep:after{content:"";flex:1;height:1px;background:#e5e7eb}















.phm-sep span{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#374151}































/* ===== Badges / chips ===== */















.phm-badge{















  display:inline-block;















  margin-left:8px;















  border-radius:999px;















  padding:3px 8px;















  font-size:12px;















  background:#f3f4f6;















  color:#111827;















  border:1px solid #e5e7eb;















}















.phm-badge-mini{margin-left:0;padding:2px 6px;font-size:11px;letter-spacing:.02em;line-height:1.2}















.phm-badge.ok{background:#ecfdf5;border-color:#10b981;color:#065f46}















.phm-badge.warn{background:#fffbeb;border-color:#f59e0b;color:#7c2d12}















.phm-badge.er{background:#fef2f2;border-color:#ef4444;color:#7f1d1d}















.phm-badge.success{background:#e7f7ef;color:#065f46;border:1px solid #9ae6b4}















.phm-badge.danger{background:#fde8e8;color:#991b1b;border:1px solid #fca5a5}































/* Initiations status badges */















.phm-badge.st-initiated{background:#eff6ff;border-color:#60a5fa;color:#1d4ed8}















.phm-badge.st-accepted{background:#ecfdf5;border-color:#10b981;color:#065f46}















.phm-badge.st-countered{background:#f5f3ff;border-color:#a78bfa;color:#5b21b6}















.phm-badge.st-closed{background:#f3f4f6;border-color:#9ca3af;color:#374151}































/* Scope/customs */















.phm-scope.phm-scope-internal{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}















.phm-scope.phm-scope-external{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}















.phm-customs.ok{background:#ecfdf5;border-color:#10b981;color:#065f46}















.phm-customs.warn{background:#fffbeb;border-color:#f59e0b;color:#7c2d12}































/* Chips */















.phm-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}















.phm-chip{















  display:inline-flex;align-items:center;gap:6px;















  padding:6px 10px;















  border:1px solid #e5e7eb;















  border-radius:999px;















  background:#fff;















  color:#111827;















  text-decoration:none;















  font-size:12px;















  font-weight:600;















}















.phm-chip:hover{background:#f9fafb}















.phm-chip.danger{border-color:#fecaca;color:#991b1b;background:#fff5f5}































/* ===== Table ===== */















.phm-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:12px;font-size:13px}















.phm-table th,.phm-table td{border-bottom:1px solid #e5e7eb;padding:10px;vertical-align:top}















.phm-table th{















  background:#f3f4f6;















  color:#111827;















  font-weight:800;















  text-align:center;















  font-size:13px;















  text-transform:uppercase;















  letter-spacing:.04em;















}















/* Make PRODUCT column bold (cells) */















.phm-table td:nth-child(2){font-weight:700}































/* Mobile-safe table wrap (applies when you wrap table with .phm-table-wrap) */















.phm-table-wrap{















  width:100%;















  overflow-x:auto;















  -webkit-overflow-scrolling:touch;















}















.phm-table-wrap .phm-table{















  min-width:680px; /* prevents “mush” columns */















}































/* ===== Initiations row tint (subtle, not duplicated) ===== */















.phm-dir{















  display:inline-block;















  border-radius:999px;















  padding:2px 8px;















  font-size:11px;















  font-weight:800;















  letter-spacing:.06em;















  text-transform:uppercase;















  border:1px solid #e5e7eb;















}















.phm-dir.in{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}















.phm-dir.out{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}































table.phm-table tr.phm-row-in td{background:#f8faff}















table.phm-table tr.phm-row-out td{background:#f7fffb}















table.phm-table tr.phm-row-in:hover td{background:#eef2ff}















table.phm-table tr.phm-row-out:hover td{background:#ecfdf5}































.phm-row-in.initiations-row{background:#fafafa}















.phm-row-out.initiations-row{background:#ffffff}















.phm-row-in.initiations-row:hover,.phm-row-out.initiations-row:hover{background:#f9fafb}































/* ===== Reputation popover ===== */















.phm-rating-wrap{position:relative;display:inline-block}















.phm-rating-pill{cursor:pointer;position:relative;user-select:none}















.phm-rating-pill.is-open{box-shadow:0 0 0 2px rgba(17,24,39,.12)}















.phm-rating-pop{















  position:absolute;z-index:9999;















  min-width:260px;max-width:340px;















  right:0;top:28px;















  background:#fff;border:1px solid #e5e7eb;border-radius:12px;















  padding:12px;box-shadow:0 12px 24px rgba(0,0,0,.12)















}















.phm-rating-pop-title{font-weight:700;margin:0 0 6px 0;font-size:14px}















.phm-rating-pop-summary{margin:0 0 10px 0}















.phm-rating-pop-grid{display:grid;grid-template-columns:1fr auto;gap:6px 10px;font-size:12px;margin-bottom:10px}















.phm-rating-pop-sub{font-weight:600;font-size:12px;margin:8px 0 6px 0}















.phm-rating-pop-reviews{display:flex;flex-direction:column;gap:8px}















.phm-rating-pop-review{border-top:1px solid #f3f4f6;padding-top:8px}















.phm-rating-pop-review:first-child{border-top:none;padding-top:0}















.phm-rating-pop-review-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:600}















.phm-rating-who{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}















.phm-rating-ov{font-weight:700}































/* ===== KV layout ===== */















.phm-kv{display:grid;grid-template-columns:220px 1fr;gap:8px 14px}















@media(max-width:820px){.phm-kv{grid-template-columns:1fr}}































/* ===== Chat ===== */















.phm-chat{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fafafa;max-height:380px;overflow:auto}















.phm-msg{max-width:78%;padding:10px 12px;border-radius:12px;margin:8px 0;white-space:pre-wrap}















.phm-msg.me{margin-left:auto;background:#111827;color:#fff}















.phm-msg.them{margin-right:auto;background:#fff;border:1px solid #e5e7eb}















.phm-msg-meta{margin-top:6px;font-size:11px;opacity:.8}































/* ===== Modal ===== */















.phm-modal-open{overflow:hidden}















.phm-modal-overlay{















  position:fixed;inset:0;















  background:rgba(0,0,0,.45);















  z-index:99999;















  padding:24px;















  overflow:auto;                 /* allow scroll if needed */















  -webkit-overflow-scrolling:touch;















}















.phm-modal{















  max-width:900px;width:100%;















  margin:40px auto;















  background:#fff;















  border-radius:14px;















  box-shadow:0 18px 60px rgba(0,0,0,.25);















  position:relative;















  padding:18px 18px 16px 18px;















}















.phm-modal-close{















  position:absolute;right:10px;top:10px;















  width:34px;height:34px;















  border-radius:10px;















  border:1px solid #e5e7eb;















  background:#f3f4f6;















  cursor:pointer;















  font-size:20px;















  line-height:30px;















  z-index:2;















}















.phm-modal-head{display:flex;align-items:flex-start;gap:10px;padding:0 56px 12px 0;margin:0 0 12px;border-bottom:1px solid #e5e7eb}







.phm-modal-head-main{display:flex;flex-direction:column;min-width:0}







.phm-modal-head-meta{margin-top:3px;font-size:12px;line-height:1.35;font-weight:500;color:#6b7280}















.phm-modal .phm-h1{margin:0;font-size:20px;line-height:1.15;color:#0b2340}







.phm-modal .phm-muted{font-size:12px}







.phm-modal .phm-badge{font-size:11px;padding:5px 10px;border-radius:999px}







.phm-kv-compact{grid-template-columns:130px 1fr;gap:6px 12px;font-size:13px}















.phm-quote-compact{display:flex;flex-direction:column;gap:12px}







.phm-quote-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafbfc}







.phm-quote-hero-top{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}







.phm-quote-price{font-size:26px;line-height:1.05;font-weight:800;letter-spacing:-.02em;color:#0f172a}







.phm-quote-subline{margin-top:5px;font-size:12px;color:#667085}







.phm-quote-hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:150px}







.phm-quote-hero-label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#667085}







.phm-quote-sections{display:grid;grid-template-columns:1fr 1fr;gap:10px}







.phm-quote-section{border:1px solid #eceff3;border-radius:12px;padding:10px 12px;background:#fff}







.phm-quote-section-title{margin:0 0 8px;font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#0f172a}







.phm-quote-actions{display:flex;justify-content:flex-start;gap:8px}







.phm-btn-compact{padding:10px 14px;font-size:13px;min-height:auto}















@media (max-width:900px){







  .phm-quote-sections{grid-template-columns:1fr}







}







@media (max-width:768px){







  .phm-kv-compact{grid-template-columns:1fr}







  .phm-quote-hero{flex-direction:column}







  .phm-quote-hero-side{align-items:flex-start;min-width:0}







  .phm-quote-price{font-size:22px}







}







































/* Mobile: modal must fit viewport */















@media (max-width:768px){















  .phm-modal-overlay{padding:12px}















  .phm-modal{















    margin:10px auto;















    max-height:calc(100vh - 24px);















    overflow:auto;















  }















  .phm-tabs{flex-wrap:wrap}















}































/* ===== Quick filters (Bloomberg-style) ===== */















.phm-filters-quick{margin:0}















.phm-quickbar-premium{







  display:grid;







  grid-template-columns:minmax(280px,1.2fr) repeat(4,minmax(150px,1fr)) auto;







  gap:12px;







  align-items:stretch;







  padding:14px;







  border:1px solid #e2e8f0;







  border-radius:20px;







  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);







  box-shadow:0 12px 30px rgba(15,23,42,.05);







}















.phm-quickgroup{







  display:flex;







  gap:1px;







  min-width:0;







}















.phm-quickgroup-select{







  flex-direction:column;







  align-items:stretch;







  justify-content:center;







  padding:10px 12px;







  border:1px solid #e2e8f0;







  border-radius:16px;







  background:#fff;







  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);







}















.phm-quickgroup-side{







  align-items:center;







  flex-wrap:wrap;







  padding:10px 12px;







  border:1px solid #dbe4f0;







  border-radius:8px;







  background:linear-gradient(180deg,#0f2747 0%,#0b2340 100%);







  box-shadow:0 10px 24px rgba(11,35,64,.12);







}















.phm-quicklabel{







  font-size:11px;







  color:#64748b;







  font-weight:800;







  letter-spacing:.08em;







  text-transform:uppercase;







  line-height:1.1;







}















.phm-quickgroup-side .phm-quicklabel{







  width:100%;







  color:#c6d4e7;







  margin-bottom:4px;







}















.phm-qopt{display:flex;align-items:center;gap:8px;color:#fff;font-weight:700}







.phm-qopt input{margin:0;accent-color:#f4ca49}















.phm-quickactions{display:flex;gap:8px;align-items:center;justify-content:flex-end}







.phm-quickactions-premium{padding-left:4px}















.phm-select-sm{







  padding:9px 12px;







  font-size:14px;







  min-height:42px;







  border-radius:14px;







  border:1px solid #cbd5e1;







  background:#fff;







  font-weight:600;







}







.phm-quickgroup-select .phm-select-sm.phm-filled{







  border-color:#f4ca49;







  box-shadow:0 0 0 3px rgba(244,202,73,.18);







}















.phm-btn-outline{







  background:#0f172a;







  color:#fff;







  border:1px solid #0f172a;







}







.phm-btn-clear{







  min-height:42px;







  border-radius:14px;







  padding:10px 16px;







  box-shadow:0 8px 18px rgba(15,23,42,.10);







}















.phm-detailed-togglebar-premium{display:flex;justify-content:flex-end;margin:10px 2px 0 0}







.phm-detailed-togglebar-premium .phm-detailed-toggle{







  padding:8px 0;







  color:#0f172a;







  font-weight:900;







  letter-spacing:.02em;







}















/* Mobile/tablet */







@media (max-width:1180px){







  .phm-quickbar-premium{grid-template-columns:repeat(3,minmax(0,1fr))}







  .phm-quickgroup-side{grid-column:1 / -1}







  .phm-quickactions-premium{grid-column:1 / -1;justify-content:flex-end}







}







@media (max-width:768px){







  .phm-quickbar-premium{grid-template-columns:1fr 1fr;padding:12px}







  .phm-quickgroup-side,.phm-quickactions-premium{grid-column:1 / -1}







}







@media (max-width:560px){







  .phm-quickbar-premium{grid-template-columns:1fr}







  .phm-select-sm{width:100%;min-width:0}







}































/* ===== Market scan cards ===== */







.phm-market-scan .phm-actions-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}







.phm-market-scan .phm-price{font-weight:800;white-space:nowrap}















.phm-market-table{display:none}







.phm-market-cards{display:block;margin-top:14px}







.phm-market-card{







  border:1px solid #e5e7eb;







  border-radius:20px;







  padding:20px 20px 16px;







  margin:14px 0;







  background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%);







  box-shadow:0 10px 30px rgba(2,6,23,.04);







  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;







}







.phm-market-card:hover{







  border-color:#f4ca49;







  box-shadow:0 12px 34px rgba(2,6,23,.08);







  transform:translateY(-1px);







}







.phm-market-card-premium.phm-side-offer{border-left:4px solid #16a34a}







.phm-market-card-premium.phm-side-bid{border-left:4px solid #b45309}







.phm-market-card-main{







  display:grid;







  grid-template-columns:minmax(0,1fr) 260px;







  gap:22px;







  align-items:start;







}







.phm-market-left{min-width:0}







.phm-market-line1{display:flex;align-items:flex-start;gap:12px;font-weight:800;color:#0f172a}







.phm-market-product-wrap{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}







.phm-market-product-text{display:flex;flex-direction:column;gap:2px;min-width:0}







.phm-market-product{font-size:18px;line-height:1.2;color:#0f172a;font-weight:900}







.phm-market-product-extra{font-size:13px;line-height:1.3;color:#64748b;font-weight:700}







.phm-market-line2{margin-top:10px;color:#0f172a;font-size:16px;line-height:1.4}







.phm-market-line3{margin-top:8px;color:#64748b;font-size:12px;line-height:1.45;letter-spacing:.06em;font-weight:800;text-transform:uppercase}







.phm-market-dot{color:#94a3b8;padding:0 4px}







.phm-market-meta-row{margin-top:12px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}







.phm-market-right{text-align:right;min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}







.phm-market-price-label{font-size:11px;line-height:1.2;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-weight:800}







.phm-market-price{margin-top:6px;font-weight:900;font-size:28px;line-height:1.05;color:#0f172a;white-space:normal;word-break:break-word;max-width:260px}







.phm-market-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start}







.phm-market-meta-aside{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}







.phm-market-rating{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border-radius:999px;background:#fff8db;color:#8a5a00;border:1px solid #f1d16b;font-weight:800;font-size:13px;white-space:nowrap}







.phm-market-card-bottom{margin-top:14px;padding-top:12px;border-top:1px dashed #e5e7eb;color:#64748b;font-size:13px;line-height:1.55}







.phm-market-card-actions{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-items:center}







.phm-market-card-premium .phm-btn{min-width:112px}







.phm-market-card-premium .phm-btn.secondary{background:#f8fafc;border-color:#e2e8f0;color:#0f172a}















/* Mobile: stack premium layout */







@media (max-width:900px){







  .phm-market-card-main{grid-template-columns:1fr}







  .phm-market-right{







    text-align:left;







    align-items:flex-start;







  }







  .phm-market-price{max-width:none}







  .phm-market-card-actions{justify-content:flex-start}







  .phm-market-meta-aside{justify-content:flex-start}







}















/* Market row tint (if table view ever enabled) */















.phm-market-table tbody tr.phm-row-scope-external{background:#f8fafc}















.phm-market-table tbody tr.phm-row-scope-external:hover{background:#f1f5f9}















.phm-market-table tbody tr.phm-row-scope-internal{background:#ffffff}















.phm-market-table tbody tr.phm-row-scope-internal:hover{background:#f9fafb}















.phm-row-scope-external{background:#f8fafc}































/* ===== Tabs ===== */















.phm-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0 0}















.phm-tab{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:8px 12px;font-weight:700;font-size:12px;cursor:pointer}















.phm-tab.is-active{background:#111827;color:#fff;border-color:#111827}















.phm-tabpane{display:none;margin-top:12px}















.phm-tabpane.is-active{display:block}































/* ===== Product icons sprite ===== */















.phm-prod-ico{















  --phm-ico:34px;















  width:var(--phm-ico);















  height:var(--phm-ico);















  display:inline-block;















  vertical-align:-8px;















  margin-right:6px;















  border-radius:10px;















  background-image:url('img/product-icons.png');















  background-repeat:no-repeat;















  background-size:calc(4 * var(--phm-ico)) calc(6 * var(--phm-ico));















  background-position:0 0;















}















.phm-prod-ico-ron98{background-position:calc(-0 * var(--phm-ico)) calc(-0 * var(--phm-ico))}















.phm-prod-ico-ron95{background-position:calc(-1 * var(--phm-ico)) calc(-0 * var(--phm-ico))}















.phm-prod-ico-ron92{background-position:calc(-2 * var(--phm-ico)) calc(-0 * var(--phm-ico))}















.phm-prod-ico-diesel{background-position:calc(-3 * var(--phm-ico)) calc(-0 * var(--phm-ico))}















.phm-prod-ico-jet{background-position:calc(-0 * var(--phm-ico)) calc(-1 * var(--phm-ico))}















.phm-prod-ico-fueloil{background-position:calc(-1 * var(--phm-ico)) calc(-1 * var(--phm-ico))}















.phm-prod-ico-vgo{background-position:calc(-2 * var(--phm-ico)) calc(-1 * var(--phm-ico))}















.phm-prod-ico-gtl{background-position:calc(-3 * var(--phm-ico)) calc(-1 * var(--phm-ico))}















.phm-prod-ico-distillate{background-position:calc(-0 * var(--phm-ico)) calc(-2 * var(--phm-ico))}















.phm-prod-ico-crude{background-position:calc(-1 * var(--phm-ico)) calc(-2 * var(--phm-ico))}















.phm-prod-ico-benzene{background-position:calc(-2 * var(--phm-ico)) calc(-2 * var(--phm-ico))}















.phm-prod-ico-baseoil{background-position:calc(-3 * var(--phm-ico)) calc(-2 * var(--phm-ico))}















.phm-prod-ico-naphtha{background-position:calc(-0 * var(--phm-ico)) calc(-3 * var(--phm-ico))}















.phm-prod-ico-methanol{background-position:calc(-1 * var(--phm-ico)) calc(-3 * var(--phm-ico))}















.phm-prod-ico-bitumen{background-position:calc(-2 * var(--phm-ico)) calc(-3 * var(--phm-ico))}















.phm-prod-ico-mazut{background-position:calc(-3 * var(--phm-ico)) calc(-3 * var(--phm-ico))}















.phm-prod-ico-lpg{background-position:calc(-0 * var(--phm-ico)) calc(-4 * var(--phm-ico))}















.phm-prod-ico-other{background-position:calc(-2 * var(--phm-ico)) calc(-4 * var(--phm-ico))}















@media (max-width:520px){.phm-prod-ico{--phm-ico:30px;vertical-align:-7px}}































/* ===== Side badges (SELL OFFER / BUY BID) ===== */















.phm-side{font-weight:700;letter-spacing:.2px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}















.phm-side-sell{background:#e8f6ee;color:#0b6b2b;border:1px solid #0b6b2b}















.phm-side-sell::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#1e5aa8;margin-right:6px;vertical-align:middle}















.phm-side-buy{background:#fff1e6;color:#8a3a00;border:1px solid #8a3a00}















.phm-side-buy::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#6b2aa6;margin-right:6px;vertical-align:middle}































.phm-side-filter{display:flex;gap:10px;flex-wrap:wrap}















.phm-side-opt{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none}















.phm-side-opt input{transform:translateY(1px)}































/* ===== Detailed Filter panel ===== */















.phm-detailed-togglebar{display:flex;justify-content:flex-end;margin:8px 0 0 0}















.phm-linkbtn{background:transparent;border:0;padding:6px 0;font-weight:800;color:#1f2937;cursor:pointer}















.phm-linkbtn .phm-caret{font-weight:900}















.phm-detailed-panel{margin-top:10px;padding:14px;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 10px 28px rgba(15,23,42,.05)}















.phm-detailed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}















@media (max-width:980px){.phm-detailed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}















@media (max-width:560px){.phm-detailed-grid{grid-template-columns:1fr}}















.phm-dcol .phm-dtitle{font-weight:900;font-size:12px;color:#0f172a;margin:0 0 6px 0;letter-spacing:.08em;text-transform:uppercase}















.phm-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}















.phm-detailed-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:12px;flex-wrap:wrap}































/* Filled inputs/selects highlight */















.phm-select.phm-empty{color:#9ca3af}















.phm-select.phm-empty option{color:#111827}















.phm-select.phm-filled{















  color:#111827;















  border-color:#c7d2fe;















  box-shadow:0 0 0 3px rgba(199,210,254,.28);















}















.phm-input.phm-filled,.phm-textarea.phm-filled{border-color:#c7d2fe;box-shadow:0 0 0 3px rgba(199,210,254,.35)}































/* ===== My Company (safe) ===== */















.phm-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}















@media (max-width:920px){.phm-two-col{grid-template-columns:1fr}}















.phm-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}















@media (max-width:680px){.phm-mini-stats{grid-template-columns:1fr}}















.phm-stat{border:1px solid var(--ph-border,#e6e6e6);border-radius:14px;background:#fff;padding:10px 12px}















.phm-stat .k{font-size:12px;color:#6b7280;font-weight:700;letter-spacing:.02em;text-transform:uppercase}















.phm-stat .v{font-size:22px;font-weight:900;color:#111827;margin-top:2px}































/* My Company: compact mobile (does NOT force all forms into 2 columns) */















@media (max-width:768px){















  .phm-card{padding:12px}















  .phm-muted{font-size:12px;line-height:1.35}















  .phm-hr{margin:12px 0}































  /* inputs slightly tighter inside cards */















  .phm-card .phm-input,















  .phm-card .phm-select,















  .phm-card .phm-textarea{















    padding:8px 10px;















    border-radius:10px;















  }































  /* keep text spacing tighter */















  .phm-card p{margin:6px 0}















}































/* ===== Dashboard KPI (SAFE mobile) =====















   IMPORTANT: do NOT touch .phm-grid globally (it breaks Login/Register).















   KPI grid in your markup has inline style: grid-template-columns:repeat(4,...)















   So we target only that case on mobile.















*/















@media (max-width:768px){















  .phm-grid[style*="grid-template-columns:repeat(4"],















  .phm-grid[style*="grid-template-columns: repeat(4"]{















    grid-template-columns:repeat(4,minmax(0,1fr)) !important;















    gap:10px !important;















    margin-bottom:12px !important;















  }































  .phm-grid[style*="grid-template-columns:repeat(4"] > .phm-card,















  .phm-grid[style*="grid-template-columns: repeat(4"] > .phm-card{















    padding:10px !important;















    border-radius:14px !important;















  }































  .phm-grid[style*="grid-template-columns:repeat(4"] > .phm-card .phm-muted,















  .phm-grid[style*="grid-template-columns: repeat(4"] > .phm-card .phm-muted{















    font-size:11px !important;















    margin:0 0 6px !important;















  }































  .phm-grid[style*="grid-template-columns:repeat(4"] > .phm-card div[style*="font-size:22px"],















  .phm-grid[style*="grid-template-columns: repeat(4"] > .phm-card div[style*="font-size:22px"],















  .phm-grid[style*="grid-template-columns:repeat(4"] > .phm-card div[style*="font-size: 22px"],















  .phm-grid[style*="grid-template-columns: repeat(4"] > .phm-card div[style*="font-size: 22px"]{















    font-size:18px !important;















    line-height:1.1 !important;















  }































  @media (max-width:380px){















    .phm-grid[style*="grid-template-columns:repeat(4"],















    .phm-grid[style*="grid-template-columns: repeat(4"]{















      grid-template-columns:repeat(2,minmax(0,1fr)) !important;















    }















  }















}































/* ===== Deal timeline steps ===== */















.phm-steps{padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}















.phm-steps-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}















.phm-step{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b7280}















.phm-step .dot{width:10px;height:10px;border-radius:50%;background:#d1d5db;display:inline-block}















.phm-step .lbl{white-space:nowrap}















.phm-step-line{flex:1;min-width:18px;height:2px;background:#e5e7eb;border-radius:2px}















.phm-step.done{color:#111827}















.phm-step.done .dot{background:#10b981}















.phm-step.active{color:#111827;font-weight:700}















.phm-step.active .dot{background:#2563eb}















.phm-step-negotiation .lbl{color:#2563eb}















.phm-step-agreed .lbl{color:#16a34a}















.phm-step-compliance_pending .lbl{color:#f59e0b}















.phm-step-logistics .lbl{color:#7c3aed}















.phm-step-closed .lbl{color:#6b7280}















@media(max-width:520px){















  .phm-step-line{display:none}















  .phm-steps-row{gap:10px}















}































/* Company name + logo */















.phm-co{display:inline-flex;align-items:center;gap:8px}















.phm-co-logo{border-radius:6px;object-fit:cover;display:inline-block}















.phm-co-name{font-weight:700}































/* Ratings (stars) */















.phm-rating-field{min-width:160px}















.phm-stars{display:inline-flex;flex-direction:row-reverse;gap:4px;user-select:none}















.phm-stars input{position:absolute;left:-9999px}















.phm-stars label{font-size:20px;line-height:1;cursor:pointer;opacity:.35}















.phm-stars label:hover,.phm-stars label:hover ~ label{opacity:.9}















.phm-stars input:checked ~ label{opacity:.9}















.phm-stars input:focus-visible + label{outline:2px solid #111827;outline-offset:2px;border-radius:4px}































/* =========================================================















   MY QUOTES (page-id-11) — MOBILE: TABLE -> CARDS















   ========================================================= */















@media (max-width: 768px){































  /* hide table head */















  body.page-id-11 table.phm-table thead{















    display:none !important;















  }































  /* table becomes a list of cards */















  body.page-id-11 table.phm-table,















  body.page-id-11 table.phm-table tbody,















  body.page-id-11 table.phm-table tr{















    display:block !important;















    width:100% !important;















  }































  body.page-id-11 table.phm-table{















    border:0 !important;















    background:transparent !important;















    margin-top:12px !important;















  }































  /* each row = card */















  body.page-id-11 table.phm-table tbody tr{















    background:#fff !important;















    border:1px solid #e6e6e6 !important;















    border-radius:14px !important;















    padding:12px !important;















    margin:12px 0 !important;















    box-shadow:0 1px 2px rgba(0,0,0,.04) !important;















  }































  /* each cell = "label | value" row */















  body.page-id-11 table.phm-table td{















    display:flex !important;















    justify-content:space-between !important;















    align-items:flex-start !important;















    gap:12px !important;































    width:100% !important;















    border:0 !important;















    padding:8px 0 !important;































    white-space:normal !important;















    overflow-wrap:anywhere !important;















    word-break:normal !important;















  }































  /* divider between fields */















  body.page-id-11 table.phm-table td + td{















    border-top:1px solid #f1f3f5 !important;















  }































  /* labels */















  body.page-id-11 table.phm-table td::before{















    flex:0 0 38% !important;















    max-width:38% !important;































    content:"" !important;















    font-size:11px !important;















    font-weight:800 !important;















    letter-spacing:.06em !important;















    text-transform:uppercase !important;















    color:#6b7280 !important;































    padding-top:2px !important;















  }































  /* column labels (your table shows 4 columns) */















  body.page-id-11 table.phm-table td:nth-child(1)::before{content:"Type" !important;}















  body.page-id-11 table.phm-table td:nth-child(2)::before{content:"Product" !important;}















  body.page-id-11 table.phm-table td:nth-child(3)::before{content:"Incoterms" !important;}















  body.page-id-11 table.phm-table td:nth-child(4)::before{content:"Delivery" !important;}































  /* prevent pills/buttons from breaking layout */















  body.page-id-11 .phm-chips,















  body.page-id-11 .phm-actions{















    flex-wrap:wrap !important;















  }































  /* keep BUY BID / SELL OFFER in one line */















  body.page-id-11 .phm-side{















    white-space:nowrap !important;















    display:inline-flex !important;















    align-items:center !important;















    gap:6px !important;















  }















}































/* =========================================================















   INITIATIONS (page-id-13) — MOBILE: TABLE -> CARDS















   ========================================================= */















@media (max-width: 768px){































  /* hide table head */















  body.page-id-13 table.phm-table thead{















    display:none !important;















  }































  /* table becomes a list of cards */















  body.page-id-13 table.phm-table,















  body.page-id-13 table.phm-table tbody,















  body.page-id-13 table.phm-table tr{















    display:block !important;















    width:100% !important;















  }































  body.page-id-13 table.phm-table{















    border:0 !important;















    background:transparent !important;















    margin-top:12px !important;















  }































  /* each row = card */















  body.page-id-13 table.phm-table tbody tr{















    background:#fff !important;















    border:1px solid #e6e6e6 !important;















    border-radius:14px !important;















    padding:12px !important;















    margin:12px 0 !important;















    box-shadow:0 1px 2px rgba(0,0,0,.04) !important;















  }































  /* each cell = "label | value" row */















  body.page-id-13 table.phm-table td{















    display:flex !important;















    justify-content:space-between !important;















    align-items:flex-start !important;















    gap:12px !important;































    width:100% !important;















    border:0 !important;















    padding:8px 0 !important;































    white-space:normal !important;















    overflow-wrap:anywhere !important;















    word-break:normal !important;















  }































  /* divider between fields */















  body.page-id-13 table.phm-table td + td{















    border-top:1px solid #f1f3f5 !important;















  }































  /* labels */















  body.page-id-13 table.phm-table td::before{















    flex:0 0 38% !important;















    max-width:38% !important;































    content:"" !important;















    font-size:11px !important;















    font-weight:800 !important;















    letter-spacing:.06em !important;















    text-transform:uppercase !important;















    color:#6b7280 !important;































    padding-top:2px !important;















  }































  /* column labels (INITIATIONS typical columns) */















  body.page-id-13 table.phm-table td:nth-child(1)::before{content:"Direction" !important;}















  body.page-id-13 table.phm-table td:nth-child(2)::before{content:"Quote" !important;}















  body.page-id-13 table.phm-table td:nth-child(3)::before{content:"Deal" !important;}















  body.page-id-13 table.phm-table td:nth-child(4)::before{content:"Counterparty" !important;}















  body.page-id-13 table.phm-table td:nth-child(5)::before{content:"Date" !important;}















  body.page-id-13 table.phm-table td:nth-child(6)::before{content:"Action" !important;}































  /* keep pills/buttons neat */















  body.page-id-13 .phm-chips,















  body.page-id-13 .phm-actions{















    flex-wrap:wrap !important;















  }































  /* direction pill doesn't break */















  body.page-id-13 .phm-dir{















    white-space:nowrap !important;















    display:inline-flex !important;















    align-items:center !important;















  }































  /* if any buttons exist in Action column */















  body.page-id-13 .phm-btn{















    white-space:nowrap !important;















  }















}































/* =========================================================















   PROFILE (page-id-29) — MOBILE: TABLE -> CARDS















   "Your latest quotes"















   ========================================================= */















@media (max-width: 768px){































  /* hide table head */















  body.page-id-29 table.phm-table thead{















    display:none !important;















  }































  /* table becomes a list of cards */















  body.page-id-29 table.phm-table,















  body.page-id-29 table.phm-table tbody,















  body.page-id-29 table.phm-table tr{















    display:block !important;















    width:100% !important;















  }































  body.page-id-29 table.phm-table{















    border:0 !important;















    background:transparent !important;















    margin-top:12px !important;















  }































  /* each row = card */















  body.page-id-29 table.phm-table tbody tr{















    background:#fff !important;















    border:1px solid #e6e6e6 !important;















    border-radius:14px !important;















    padding:12px !important;















    margin:12px 0 !important;















    box-shadow:0 1px 2px rgba(0,0,0,.04) !important;















  }































  /* each cell = "label | value" row */















  body.page-id-29 table.phm-table td{















    display:flex !important;















    justify-content:space-between !important;















    align-items:flex-start !important;















    gap:12px !important;































    width:100% !important;















    border:0 !important;















    padding:8px 0 !important;































    white-space:normal !important;















    overflow-wrap:anywhere !important;















    word-break:normal !important;















  }































  /* divider between fields */















  body.page-id-29 table.phm-table td + td{















    border-top:1px solid #f1f3f5 !important;















  }































  /* labels */















  body.page-id-29 table.phm-table td::before{















    flex:0 0 38% !important;















    max-width:38% !important;































    content:"" !important;















    font-size:11px !important;















    font-weight:800 !important;















    letter-spacing:.06em !important;















    text-transform:uppercase !important;















    color:#6b7280 !important;















    padding-top:2px !important;















  }































  /* column labels (matches your table: TYPE, PRODUCT, BASIS, PRICE, QTY, WINDOW) */















  body.page-id-29 table.phm-table td:nth-child(1)::before{content:"Type" !important;}















  body.page-id-29 table.phm-table td:nth-child(2)::before{content:"Product" !important;}















  body.page-id-29 table.phm-table td:nth-child(3)::before{content:"Basis" !important;}















  body.page-id-29 table.phm-table td:nth-child(4)::before{content:"Price" !important;}















  body.page-id-29 table.phm-table td:nth-child(5)::before{content:"Qty" !important;}















  body.page-id-29 table.phm-table td:nth-child(6)::before{content:"Window" !important;}































  /* nice-to-have: make product bold in cards */















  body.page-id-29 table.phm-table td:nth-child(2){















    font-weight:800 !important;















  }















}















/* =========================================================















   MY COMPANY (page-id-34) — MOBILE COMPACT + 2 COLUMNS















   ========================================================= */















@media (max-width: 768px){































  /* общий воздух меньше */















  body.page-id-34 .phm-wrap{ padding: 0 10px !important; }















  body.page-id-34 .phm-card{ padding: 12px !important; border-radius: 14px !important; }















  body.page-id-34 .phm-h1{ font-size: 22px !important; margin: 0 0 8px !important; }















  body.page-id-34 .phm-muted{ font-size: 12px !important; line-height: 1.35 !important; }















  body.page-id-34 .phm-hr{ margin: 12px 0 !important; }































  /* если используется твой kv-блок (у тебя он уже есть в CSS: .phm-kv) — делаем 2 колонки */















  body.page-id-34 .phm-kv{















    display: grid !important;















    grid-template-columns: 1fr 1fr !important;















    gap: 10px 10px !important;















    align-items: start !important;















  }































  /* подписи (левые “labels”) компактнее */















  body.page-id-34 .phm-kv > div:nth-child(odd){















    font-size: 11px !important;















    font-weight: 800 !important;















    letter-spacing: .06em !important;















    text-transform: uppercase !important;















    color: #6b7280 !important;















    margin: 0 !important;















    padding-top: 6px !important;















  }































  /* значения (правые поля/текст) */















  body.page-id-34 .phm-kv > div:nth-child(even){















    margin: 0 !important;















  }































  /* инпуты/селекты/textarea — ниже и компактнее */















  body.page-id-34 .phm-input,















  body.page-id-34 .phm-select,















  body.page-id-34 .phm-textarea,















  body.page-id-34 input[type="text"],















  body.page-id-34 input[type="email"],















  body.page-id-34 input[type="tel"],















  body.page-id-34 input[type="number"],















  body.page-id-34 select,















  body.page-id-34 textarea{















    width: 100% !important;















    box-sizing: border-box !important;















    height: 40px !important;















    padding: 8px 10px !important;















    border-radius: 10px !important;















    font-size: 14px !important;















  }















  body.page-id-34 textarea,















  body.page-id-34 .phm-textarea{















    height: auto !important;















    min-height: 76px !important;















  }































  /* кнопка Save Company — на всю ширину */















  body.page-id-34 .phm-btn,















  body.page-id-34 button,















  body.page-id-34 .button,















  body.page-id-34 input[type="submit"]{















    width: 100% !important;















    min-height: 42px !important;















    padding: 10px 14px !important;















    border-radius: 12px !important;















    font-size: 14px !important;















  }































  /* Members блок — тоже компактнее */















  body.page-id-34 .phm-members,















  body.page-id-34 .phm-member,















  body.page-id-34 .phm-member-card{















    margin-top: 10px !important;















  }















  body.page-id-34 .phm-member,















  body.page-id-34 .phm-member-card,















  body.page-id-34 .phm-members .phm-card{















    padding: 10px !important;















    border-radius: 14px !important;















  }































  /* чтобы ничего не “выталкивало” сетку */















  body.page-id-34 .phm-kv *,















  body.page-id-34 .phm-card *{















    min-width: 0 !important;















  }















}































/* =========================================================















   MY COMPANY (page-id-34) — MOBILE: tables -> cards















   ========================================================= */















@media (max-width: 768px){































  /* 1) Таблица рейтингов (и любые phm-table на My Company) -> карточки */















  body.page-id-34 table.phm-table thead{ display:none !important; }































  body.page-id-34 table.phm-table,















  body.page-id-34 table.phm-table tbody,















  body.page-id-34 table.phm-table tr,















  body.page-id-34 table.phm-table td{















    display:block !important;















    width:100% !important;















  }































  body.page-id-34 table.phm-table{















    border:0 !important;















    background:transparent !important;















    margin-top:10px !important;















  }































  body.page-id-34 table.phm-table tbody tr{















    background:#fff !important;















    border:1px solid #e6e6e6 !important;















    border-radius:14px !important;















    padding:12px !important;















    margin:10px 0 !important;















    box-shadow:0 1px 2px rgba(0,0,0,.04) !important;















  }































  body.page-id-34 table.phm-table td{















    border:0 !important;















    padding:8px 0 !important;















    display:flex !important;















    gap:10px !important;















    justify-content:space-between !important;















    align-items:flex-start !important;















    overflow-wrap:anywhere !important;















  }































  body.page-id-34 table.phm-table td + td{















    border-top:1px solid #f1f3f5 !important;















  }































  body.page-id-34 table.phm-table td::before{















    content:"" !important;















    flex:0 0 42% !important;















    max-width:42% !important;















    font-size:11px !important;















    font-weight:800 !important;















    letter-spacing:.06em !important;















    text-transform:uppercase !important;















    color:#6b7280 !important;















  }































  /* 2) Labels под твою таблицу рейтингов (TIME / FROM / OVERALL / SPEED / COMPLIANCE / LOGISTICS ...) */















  body.page-id-34 table.phm-table td:nth-child(1)::before{content:"Time";}















  body.page-id-34 table.phm-table td:nth-child(2)::before{content:"From";}















  body.page-id-34 table.phm-table td:nth-child(3)::before{content:"Overall";}















  body.page-id-34 table.phm-table td:nth-child(4)::before{content:"Speed";}















  body.page-id-34 table.phm-table td:nth-child(5)::before{content:"Compliance";}















  body.page-id-34 table.phm-table td:nth-child(6)::before{content:"Logistics";}















  body.page-id-34 table.phm-table td:nth-child(7)::before{content:"Payment";}















  body.page-id-34 table.phm-table td:nth-child(8)::before{content:"Support";}































  /* 3) Если в некоторых строках меньше/больше колонок — лишние labels не мешают */































  /* 4) На всякий случай: чтобы ничего не вылазило за экран */















  body.page-id-34 .phm-wrap,















  body.page-id-34 .phm-card{ max-width:100% !important; overflow:hidden; }















}































/* =========================================================















   INITIATIONS (mobile cards) — DEAL row fix















   ========================================================= */















@media (max-width: 768px){































  /* если у тебя Initiations = page-id-13 (как на скрине) */















  body.page-id-13 table.phm-table tr.initiations-row td:nth-child(3){















    align-items:flex-start !important;















  }































  /* уменьшаем ширину label именно у DEAL -> больше места value */















  body.page-id-13 table.phm-table tr.initiations-row td:nth-child(3)::before{















    flex:0 0 30% !important;















    max-width:30% !important;















  }































  /* убираем <br> внутри DEAL, вместо этого делаем нормальные отступы */















  body.page-id-13 table.phm-table tr.initiations-row td:nth-child(3) br{















    display:none !important;















  }































  /* badge не должен сжиматься и становиться "вертикальным" */















  body.page-id-13 table.phm-table tr.initiations-row td:nth-child(3) .phm-badge{















    display:inline-flex !important;















    align-items:center !important;















    justify-content:center !important;















    white-space:nowrap !important;















    max-width:100% !important;















    padding:6px 10px !important;















    margin:0 0 8px 0 !important;















    align-self:flex-end !important;















  }































  /* Stage/текст под бейджем — компактно и ровно */















  body.page-id-13 table.phm-table tr.initiations-row td:nth-child(3) .phm-muted{















    display:block !important;















    width:100% !important;















    text-align:right !important;















    line-height:1.25 !important;















    margin:0 !important;















  }















}















/* ===== Market premium header v3 ===== */







.phm-market-shell{padding:18px 18px 20px}







.phm-market-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:6px 0 2px;margin-bottom:6px}







.phm-market-hero-main{min-width:0;flex:1}







.phm-market-kicker{display:inline-block;margin:0 0 8px 0;padding:4px 8px;border-radius:999px;background:#eef4fb;color:#0b2340;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}







.phm-market-title{margin:0 0 6px 0;font-size:20px;line-height:1.1}







.phm-market-note{max-width:860px;font-size:13px;line-height:1.5}







.phm-market-hero-meta{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:stretch;max-width:540px}







.phm-market-meta-pill{display:flex;flex-direction:column;justify-content:center;min-width:152px;padding:10px 12px;border:1px solid #dbe4f0;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 10px 22px rgba(15,23,42,.05)}







.phm-market-meta-pill strong{font-size:11px;line-height:1.1;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0b2340;margin-bottom:4px}







.phm-market-meta-pill em{font-style:normal;font-size:12px;line-height:1.3;color:#475569;font-weight:700}















@media(max-width:1100px){







  .phm-market-hero{flex-direction:column;align-items:flex-start}







  .phm-market-hero-meta{justify-content:flex-start;max-width:none}







}







@media(max-width:640px){







  .phm-market-shell{padding:16px}







  .phm-market-title{font-size:18px}







  .phm-market-meta-pill{min-width:calc(50% - 5px);flex:1 1 180px}







}







@media(max-width:480px){







  .phm-market-meta-pill{min-width:100%}







}























/* ===== Market premium layout v4 ===== */







.phm-market-badges{gap:8px}







.phm-market-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;line-height:1;font-weight:800;letter-spacing:.04em;white-space:nowrap}







.phm-market-chip-soft{background:#f8fafc;border:1px solid #e2e8f0;color:#334155}







.phm-market-chip-ok{background:#ecfdf3;border:1px solid #b7ebc7;color:#166534}







.phm-market-chip-warn{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}







.phm-market-meta-aside{gap:10px}







.phm-market-card-bottom{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:stretch}







.phm-market-fact{display:inline-flex;flex-direction:column;gap:4px;min-width:120px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}







.phm-market-fact strong{font-size:10px;line-height:1;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-weight:900}







.phm-market-fact em{font-style:normal;font-size:13px;line-height:1.3;color:#0f172a;font-weight:700}







@media (max-width:900px){.phm-market-card-bottom{gap:8px}.phm-market-fact{min-width:calc(50% - 4px)}}







@media (max-width:560px){.phm-market-fact{min-width:100%}.phm-market-line2{font-size:15px}.phm-market-price{font-size:24px}}























/* ===== Smart Filter Panel v6 ===== */















.phm-filters-wrap{







  background:#0b2340;







  border-radius:14px;







  padding:12px 14px;







  margin-bottom:14px;







}















.phm-filters-wrap select{







  background:#fff;







  border-radius:10px;







  padding:8px 10px;







  font-weight:600;







}















.phm-filters-wrap .phm-btn.secondary{







  background:#f4ca49;







  color:#111827;







  font-weight:700;







}















.phm-filters-wrap label{







  color:#e5e7eb;







  font-size:12px;







  font-weight:600;







  display:block;







  margin-bottom:3px;







}























/* ===== Initiations premium UX layer v0.10.26.0 ===== */







.ph-init-shell{padding:20px 20px 12px;border-radius:22px;background:#f9fbfd;border:1px solid #e6ebf2}







.ph-init-toolbar{position:relative;top:auto;z-index:1;background:#f9fbfd;padding-bottom:4px}







.ph-init-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}







.ph-init-head-actions{display:flex;align-items:center;gap:10px}







.ph-init-export-btn{box-shadow:0 8px 18px rgba(11,35,64,.14)}







.ph-init-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:8px}







.ph-init-kpi{display:flex;flex-direction:column;gap:2px;min-height:58px;padding:7px 10px;border-radius:13px;border:1px solid #dde6f0;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.06)}







.ph-init-kpi.total{background:#0b2340;color:#fff;border-color:#0b2340;box-shadow:0 4px 10px rgba(0,0,0,.15)}







.ph-init-kpi.open{background:#f4f8ff}







.ph-init-kpi.closed{background:#fbfcfd}







.ph-init-kpi .kpi-label{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.10em;font-weight:800;color:#64748b}







.ph-init-kpi.total .kpi-label{color:rgba(255,255,255,.8)}







.ph-init-kpi .kpi-value{font-size:20px;line-height:1.0;font-weight:800;color:#0f172a}







.ph-init-kpi.total .kpi-value{color:#fff}







.ph-init-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}







.ph-init-tab{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid #d7deea;background:#fff;color:#0f172a;font-size:12px;font-weight:700;text-decoration:none;transition:.16s ease}







.ph-init-tab em{font-style:normal;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#eef2f7;color:#0f172a;font-size:10px;font-weight:800}







.ph-init-tab:hover{background:#eef3f9;transform:translateY(-1px)}







.ph-init-tab.active{background:#0b2340;color:#fff;border-color:#0b2340;box-shadow:0 6px 14px rgba(11,35,64,.18)}







.ph-init-tab.active em{background:rgba(255,255,255,.14);color:#fff}







.ph-init-filter-panel{margin:0 0 12px;padding:10px 12px;border:1px solid #dde6f0;border-radius:16px;background:#fff}







.ph-init-filter-grid{display:grid;grid-template-columns:minmax(0,165px) minmax(0,165px) 1fr;gap:10px;align-items:end}







.ph-init-filter-grid label{display:block}







.ph-init-filter-grid label span{display:block;margin:0 0 5px;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:#64748b}







.ph-init-filter-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}







.ph-init-table-wrap{overflow:auto;border:1px solid #dfe6ef;border-radius:18px;background:#fff}







.ph-init-table{width:100%;margin:0;border-collapse:separate;border-spacing:0}







.ph-init-table col.col-direction{width:12%}







.ph-init-table col.col-quote{width:24%}







.ph-init-table col.col-deal{width:28%}







.ph-init-table col.col-counterparty{width:13%}







.ph-init-table col.col-company{width:14%}







.ph-init-table col.col-time{width:9%}







.ph-init-table col.col-action{width:10%}







.ph-init-table thead th{position:relative !important;top:auto !important;z-index:1;background:#fff;border-bottom:1px solid #dde6ef}







.ph-init-table tbody td{vertical-align:top;padding:10px 12px;border-top:1px solid #eef2f6}







.ph-init-date-divider-row td{padding:0 !important;background:#fff;border-top:none}







.ph-init-date-divider{padding:6px 12px;border-top:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#f8fafc;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}







.ph-init-row{transition:background .16s ease, box-shadow .16s ease}







.ph-init-row.to-me{background:#f8fbff}







.ph-init-row.i-initiated{background:#f8fcf9}







.ph-init-row.st-closed{background:#fbfcfd}







.ph-init-row:hover{background:#f7faff}







.ph-direction-badge{display:inline-flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;line-height:1.0;padding:2px 5px;letter-spacing:.06em;text-transform:uppercase;border-radius:999px}







.ph-init-quote-title{font-size:13px;line-height:1.2;font-weight:800;color:#0f172a;margin:0 0 4px}







.ph-init-quote-terms,.ph-init-deal-summary{font-size:11px;line-height:1.4;color:#64748b}







.ph-init-quote-meta{margin-top:6px;font-size:11px;line-height:1.3;font-weight:700;color:#334155}







.ph-deal-status{display:inline-flex;align-items:center;justify-content:center;font-size:9px;padding:2px 5px;border-radius:999px;margin-bottom:4px}







.ph-init-stage{font-size:11px;line-height:1.3;color:#0f172a;margin-bottom:4px}







.ph-counterparty{font-weight:700;line-height:1.3;color:#0f172a}







.ph-company{line-height:1.3}







.ph-company-name{font-size:14px;font-weight:800;color:#0f172a}







.ph-company-meta{margin-top:6px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:#6b7280}







.ph-verified-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#ecfdf3;border:1px solid #b7ebc7;color:#166534;font-size:11px;font-weight:800;line-height:1}







.ph-company-rating{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f3f0ff;border:1px solid #ddd6fe;color:#5b21b6;font-size:11px;font-weight:800;line-height:1}







.ph-time{font-size:13px;line-height:1.35;color:#6b7280}







.ph-time-date{font-weight:700;color:#0f172a;margin-bottom:4px}







.ph-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px}







.ph-init-open-btn{padding:4px 9px;font-size:9px;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.12);transition:transform .16s ease, box-shadow .16s ease}







.ph-init-open-btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(11,35,64,.18)}







.ph-final-contract{display:inline-flex;align-items:center;gap:3px;padding:2px 5px;border-radius:7px;background:#eef3f9;color:#0b2340;font-size:8px;font-weight:800;line-height:1.0}







.ph-final-contract::before{content:"📄"}







.ph-init-empty{padding:18px 8px;color:#64748b}















@media (max-width: 1200px){







  .ph-init-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}







  .ph-init-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}







  .ph-init-filter-actions{grid-column:1 / -1;justify-content:flex-start}







}







@media (max-width: 860px){







  .ph-init-shell{padding:16px}







  .ph-init-toolbar{position:static}







  .ph-init-head{flex-direction:column;align-items:flex-start}







  .ph-init-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}







  .ph-init-table thead th{top:auto}







}







@media (max-width: 640px){







  .ph-init-kpis{grid-template-columns:1fr}







  .ph-init-filter-grid{grid-template-columns:1fr}







  .ph-init-table-wrap{border-radius:16px}







  .ph-init-table tbody td{padding:10px 10px}







  .ph-init-tab{font-size:11px}







}















.ph-init-table thead th{padding:7px 9px;font-size:10px;line-height:1.0;letter-spacing:.06em}







.ph-init-direction{font-size:9px;padding:4px 6px;line-height:1.05}







.ph-init-status{font-size:10px;padding:3px 6px;line-height:1.05}







.ph-init-company-name{font-size:12px;line-height:1.2}







.ph-init-company-meta,.ph-init-counterparty,.ph-init-time{font-size:11px;line-height:1.25}







.ph-init-time strong{display:block;font-size:11px;line-height:1.2}







.ph-init-table .button,.ph-init-filter-panel .button,.ph-init-export-btn{font-size:11px;padding:7px 12px;min-height:auto;line-height:1.1;border-radius:10px}







.ph-init-filter-panel select{min-height:34px;padding:6px 10px;font-size:12px}















/* Ultra Compact Initiations */







.ph-init-tabs{gap:6px;margin-bottom:8px}







.ph-init-tabs .tab,.ph-init-toolbar .ph-init-tabs a,.ph-init-toolbar .ph-init-tabs button{padding:3px 8px !important;font-size:11px !important;min-height:auto !important;border-radius:999px}







.ph-init-filter-panel{padding:8px 10px !important;margin-bottom:8px !important}







.ph-init-filter-panel .phm-field label,.ph-init-filter-panel label{font-size:10px !important;margin-bottom:3px !important}







.ph-init-filter-panel select,.ph-init-filter-panel input,.ph-init-filter-panel .phm-select{height:32px !important;min-height:32px !important;padding:5px 9px !important;font-size:11px !important;border-radius:10px !important}







.ph-init-filter-panel .phm-btn,.ph-init-filter-panel button{padding:6px 10px !important;font-size:10px !important}







.ph-date-divider{padding:3px 0 !important;font-size:10px !important}







.ph-init-table td{padding:7px 9px !important;vertical-align:top}







.ph-init-table{font-size:11px}







.ph-init-row{min-height:0 !important}







.ph-init-quote-title,.ph-init-quote .title,.ph-quote-title{font-size:12px !important;line-height:1.15 !important;font-weight:700}







.ph-init-quote-meta,.ph-init-quote-sub,.ph-init-quote-small,.ph-quote-meta,.ph-init-deal,.ph-init-deal-summary,.ph-init-stage,.ph-company-meta,.ph-time,.ph-init-table small{font-size:10px !important;line-height:1.25 !important}







.ph-counterparty,.ph-company-name,.ph-init-table td:nth-child(4),.ph-init-table td:nth-child(5){font-size:12px !important;line-height:1.15 !important}







.ph-company-meta{margin-top:3px !important}







.ph-init-open-btn + .ph-final-contract{margin-top:4px !important}







.ph-init-toolbar,.ph-init-toolbar *{position:relative !important;top:auto !important}























/* === Market compact scale (-15%) v0.10.26.3 === */







.phm-market-shell{padding:15px 15px 16px;font-size:.85rem}







.phm-market-hero{gap:14px;padding:4px 0 0;margin-bottom:4px}







.phm-market-kicker{margin:0 0 6px 0;padding:3px 7px;font-size:9px;letter-spacing:.14em}







.phm-market-title{margin:0 0 4px 0;font-size:17px;line-height:1.08}







.phm-market-note{max-width:820px;font-size:11px;line-height:1.4}







.phm-market-hero-meta{gap:8px;max-width:500px}







.phm-market-meta-pill{min-width:132px;padding:8px 10px;border-radius:13px;box-shadow:0 6px 14px rgba(15,23,42,.04)}







.phm-market-meta-pill strong{font-size:10px;margin-bottom:3px}







.phm-market-meta-pill em{font-size:11px;line-height:1.25}







.phm-market-cards{margin-top:10px}







.phm-market-card{padding:13px 14px;border-radius:16px}







.phm-market-card:hover{transform:translateY(-1px)}







.phm-market-card-premium.phm-side-offer{border-left-width:3px}







.phm-market-card-premium.phm-side-bid{border-left-width:3px}







.phm-market-card-main{gap:12px}







.phm-market-line1{gap:10px}







.phm-market-product-wrap{gap:10px}







.phm-market-product-text{gap:1px}







.phm-market-product{font-size:15px;line-height:1.15}







.phm-market-product-extra{font-size:11px;line-height:1.22}







.phm-market-line2{margin-top:7px;font-size:13px;line-height:1.3}







.phm-market-line3{margin-top:5px;font-size:10px;line-height:1.3;letter-spacing:.05em}







.phm-market-dot{padding:0 3px}







.phm-market-meta-row{margin-top:8px;gap:10px}







.phm-market-price-label{font-size:10px;letter-spacing:.06em}







.phm-market-price{margin-top:4px;font-size:23px;line-height:1.02;max-width:220px}







.phm-market-badges{gap:5px}







.phm-market-chip{gap:5px;padding:4px 8px;font-size:10px}







.phm-market-meta-aside{gap:7px}







.phm-market-rating{gap:3px;padding:4px 8px;font-size:11px}







.phm-market-card-bottom{margin-top:10px;padding-top:9px;font-size:11px;line-height:1.4;gap:8px 10px}







.phm-market-fact{gap:3px;min-width:108px;padding:8px 10px;border-radius:12px}







.phm-market-fact strong{font-size:9px}







.phm-market-fact em{font-size:11px;line-height:1.2}







.phm-market-card-actions{margin-top:10px;gap:8px}







.phm-market-card-premium .phm-btn{min-width:96px}







.phm-market-card-premium .phm-btn,







.phm-market-card-premium .phm-btn.secondary{padding:8px 12px;font-size:11px;line-height:1.1;border-radius:12px}















/* compact general controls inside market */







.phm-market-shell .phm-filters,







.phm-market-shell .phm-toolbar,







.phm-market-shell .phm-actions-row{font-size:.85rem}







.phm-market-shell .phm-field,







.phm-market-shell select,







.phm-market-shell input[type="text"],







.phm-market-shell input[type="search"]{font-size:12px}







.phm-market-shell select,







.phm-market-shell input[type="text"],







.phm-market-shell input[type="search"]{padding:7px 9px;min-height:34px;border-radius:10px}







.phm-market-shell .phm-btn{padding:8px 12px;font-size:11px;border-radius:12px}















@media (max-width:1440px){







  .phm-market-shell{font-size:.83rem}







  .phm-market-meta-pill{min-width:124px}







  .phm-market-price{font-size:21px;max-width:200px}







}







@media (max-width:900px){







  .phm-market-shell{font-size:.92rem}







  .phm-market-title{font-size:16px}







  .phm-market-card{padding:12px}







}















@media (max-width: 640px){







  .phm-modal-head{padding-right:46px}







  .phm-modal .phm-h1{font-size:20px}







}















/* ===== Create Quote refresh ===== */







.phm-cq-shell{







  padding:18px 18px 20px;







  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);







  overflow:visible !important;







}







.phm-cq-top{







  display:flex;







  justify-content:space-between;







  align-items:flex-start;







  gap:16px;







  margin-bottom:14px;







}







.phm-cq-topnote{







  flex:0 0 250px;







  border:1px solid #e2e8f0;







  background:#f8fafc;







  border-radius:14px;







  padding:12px 14px;







  color:#475569;







  font-size:12px;







  font-weight:700;







  line-height:1.45;







}







.phm-cq-layout{







  display:grid;







  grid-template-columns:minmax(0,1fr) 320px;







  gap:18px;







  align-items:start;







}







.phm-cq-main{min-width:0}







.phm-cq-section{







  border:1px solid #e5e7eb;







  border-radius:18px;







  background:#fff;







  padding:18px;







  box-shadow:0 10px 24px rgba(15,23,42,.04);







  margin-bottom:14px;







}







.phm-cq-sectionhead{margin-bottom:14px}







.phm-cq-sectionhead h3{







  margin:4px 0 4px;







  font-size:17px;







  line-height:1.2;







  color:#0f172a;







}







.phm-cq-sectionhead p{







  margin:0;







  color:#64748b;







  font-size:13px;







  line-height:1.45;







}







.phm-cq-kicker{







  font-size:11px;







  font-weight:900;







  text-transform:uppercase;







  letter-spacing:.1em;







  color:#64748b;







}







.phm-cq-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}







.phm-cq-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}







.phm-cq-grid2-narrow{margin-top:12px}







.phm-cq-stack{margin-top:12px}







.phm-cq-type-toggle{







  display:flex;







  gap:10px;







  margin-bottom:14px;







}







.phm-cq-typebtn{







  appearance:none;







  border:1px solid #dbe4f0;







  background:#f8fafc;







  color:#0f172a;







  border-radius:14px;







  padding:11px 16px;







  font-weight:800;







  text-transform:uppercase;







  letter-spacing:.04em;







  cursor:pointer;







  transition:.18s ease;







}







.phm-cq-typebtn:hover{border-color:#f4ca49;background:#fffdf5}







.phm-cq-typebtn.is-active{







  background:#0b2340;







  color:#fff;







  border-color:#0b2340;







  box-shadow:0 10px 24px rgba(11,35,64,.16);







}







.phm-cq-pricehero{







  padding:14px 16px;







  border-radius:16px;







  background:linear-gradient(135deg,#0b2340 0%,#163b69 100%);







  color:#fff;







  font-weight:900;







  letter-spacing:.01em;







  margin-bottom:14px;







  box-shadow:0 14px 30px rgba(11,35,64,.16);







}







.phm-cq-pricing-panels{margin-top:14px}







.phm-cq-pricepanel{







  border:1px solid #e2e8f0;







  border-radius:16px;







  background:#fbfdff;







  padding:14px;







}







.phm-cq-subtitle{







  font-size:12px;







  text-transform:uppercase;







  letter-spacing:.1em;







  font-weight:900;







  color:#64748b;







  margin-bottom:10px;







}







.phm-cq-inlinehint{margin-top:10px}







.phm-cq-qtyrow{







  display:grid;







  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px minmax(0,1fr);







  gap:12px;







  align-items:end;







}







.phm-cq-qtydash{







  align-self:center;







  justify-self:center;







  color:#94a3b8;







  font-size:24px;







  font-weight:700;







  padding-top:24px;







}







.phm-cq-notes{min-height:110px}







.phm-cq-footer{







  position:sticky;







  bottom:12px;







  z-index:2;







  display:flex;







  justify-content:space-between;







  align-items:center;







  gap:12px;







  padding:14px 16px;







  border:1px solid #e2e8f0;







  border-radius:18px;







  background:rgba(255,255,255,.94);







  backdrop-filter:blur(10px);







  box-shadow:0 18px 36px rgba(15,23,42,.08);







}







.phm-cq-footertext{







  color:#64748b;







  font-size:13px;







  font-weight:700;







}







.phm-cq-save{







  min-width:150px;







  min-height:46px;







  border-radius:14px;







  background:#b29b72;







  color:#fff;







  font-size:15px;







  box-shadow:0 12px 24px rgba(178,155,114,.22);







}







.phm-cq-aside{min-width:0;align-self:start;position:sticky;top:84px}







.phm-cq-preview{







  position:relative;







  top:auto;







  border:1px solid #e2e8f0;







  border-radius:18px;







  background:linear-gradient(180deg,#0b2340 0%,#112f55 100%);







  color:#fff;







  padding:14px;







  box-shadow:0 16px 34px rgba(11,35,64,.18);







}







.phm-cq-preview-head{







  margin-bottom:10px;







  padding-bottom:10px;







  border-bottom:1px solid rgba(255,255,255,.12);







}







.phm-cq-preview-headrow{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}







.phm-cq-preview-kicker{







  font-size:10px;







  line-height:1.2;







  text-transform:uppercase;







  letter-spacing:.12em;







  color:#93c5fd;







  font-weight:900;







  margin-bottom:6px;







}







.phm-cq-preview-sub{







  font-size:11px;







  line-height:1.35;







  color:#dbeafe;







  font-weight:700;







}







.phm-cq-preview-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 10px;border-radius:999px;font-size:10px;line-height:1.1;text-transform:uppercase;letter-spacing:.08em;font-weight:900;white-space:nowrap}







.phm-cq-preview-status.is-draft{background:rgba(255,255,255,.10);color:#dbeafe;border:1px solid rgba(255,255,255,.14)}







.phm-cq-preview-status.is-ready{background:#e8f6ee;color:#0b6b2b;border:1px solid rgba(16,185,129,.35)}







.phm-cq-preview-top{







  display:flex;







  justify-content:space-between;







  gap:8px;







  align-items:center;







  margin-bottom:10px;







}







.phm-cq-preview-side,







.phm-cq-preview-market{







  display:inline-flex;







  align-items:center;







  min-height:26px;







  padding:4px 9px;







  border-radius:999px;







  font-size:11px;







  line-height:1.2;







  font-weight:900;







  text-transform:uppercase;







  letter-spacing:.08em;







}







.phm-cq-preview-side.is-sell{background:#e8f6ee;color:#0b6b2b}







.phm-cq-preview-side.is-buy{background:#fff1e6;color:#8a3a00}







.phm-cq-preview-side.is-empty{background:rgba(255,255,255,.12);color:#dbeafe}







.phm-cq-preview-market{background:rgba(255,255,255,.10);color:#dbeafe}







.phm-cq-preview-product{







  font-size:24px;







  line-height:1.02;







  font-weight:900;







  margin-bottom:6px;







}







.phm-cq-preview-extra{







  color:#c7d2fe;







  font-size:12px;







  line-height:1.35;







  margin-bottom:10px;







}







.phm-cq-preview-price{







  padding:12px 14px;







  border-radius:14px;







  background:linear-gradient(180deg,rgba(244,202,73,.22) 0%, rgba(255,255,255,.10) 100%);







  border:1px solid rgba(244,202,73,.28);







  font-size:20px;







  line-height:1.25;







  font-weight:900;







  color:#fff;







  margin-bottom:10px;







  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);







}







.phm-cq-preview-grid{







  display:grid;







  grid-template-columns:repeat(2,minmax(0,1fr));







  gap:8px;







}







.phm-cq-pitem{







  border:1px solid rgba(255,255,255,.12);







  background:rgba(255,255,255,.04);







  border-radius:12px;







  padding:8px 10px;







}







.phm-cq-pitem-wide{grid-column:1 / -1}







.phm-cq-pitem span,







.phm-cq-preview-note span{







  display:block;







  font-size:11px;







  line-height:1.2;







  text-transform:uppercase;







  letter-spacing:.08em;







  color:#c7d2fe;







  font-weight:900;







  margin-bottom:6px;







}







.phm-cq-pitem strong,







.phm-cq-preview-note strong{







  display:block;







  font-size:13px;







  line-height:1.35;







  color:#fff;







  font-weight:800;







}







.phm-cq-preview-note{







  margin-top:8px;







  border-top:1px solid rgba(255,255,255,.12);







  padding-top:10px;







}















@media (max-width:1180px){







  .phm-cq-layout{grid-template-columns:1fr}







  .phm-cq-top{flex-direction:column}







  .phm-cq-topnote{width:100%;flex:0 0 auto}







  .phm-cq-aside{position:relative;top:auto}







  .phm-cq-preview{position:relative;top:auto}







}







@media (max-width:900px){







  .phm-cq-grid3,.phm-cq-grid2{grid-template-columns:1fr 1fr}







}







@media (max-width:680px){







  .phm-cq-shell{padding:14px}







  .phm-cq-grid3,.phm-cq-grid2,.phm-cq-qtyrow{grid-template-columns:1fr}







  .phm-cq-qtydash{display:none}







  .phm-cq-type-toggle{flex-direction:column}







  .phm-cq-preview-grid{grid-template-columns:1fr}







  .phm-cq-footer{position:static;flex-direction:column;align-items:stretch}







  .phm-cq-save{width:100%}







}























.phm-life-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.phm-life-summary-card{border:1px solid #d7dee8;border-radius:14px;padding:12px 14px}.phm-life-summary-num{font-size:24px;font-weight:800;line-height:1}.phm-life-summary-label{margin-top:6px;font-size:12px;font-weight:700;color:#5b6472;text-transform:uppercase;letter-spacing:.04em}.phm-life-filter-count{display:inline-block;min-width:18px;text-align:center;margin-left:4px}.phm-life-card{min-width:180px;border:1px solid #d7dee8;border-radius:14px;padding:10px 12px;background:#fff}.phm-life-head{margin-bottom:8px}.phm-life-pill{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.phm-life-progress{height:7px;background:#eef2f7;border-radius:999px;overflow:hidden;margin-bottom:8px}.phm-life-progress span{display:block;height:100%;border-radius:999px;background:#8ea3b8}.phm-life-meta{font-size:12px;font-weight:700;color:#13233b;margin-bottom:6px}.phm-life-dates{font-size:11px;line-height:1.45;color:#6b7280}.phm-life-neutral .phm-life-pill{background:#e8f0fb;color:#173a67}.phm-life-neutral .phm-life-progress span{background:#3b82f6}.phm-life-warning .phm-life-pill{background:#fff7db;color:#8a5a00}.phm-life-warning .phm-life-progress span{background:#f0b429}.phm-life-danger .phm-life-pill{background:#ffe7e7;color:#a12626}.phm-life-danger .phm-life-progress span{background:#dc2626}.phm-life-muted .phm-life-pill{color:#dc2626}.phm-life-muted .phm-life-progress span{background:#98a2b3}@media (max-width:960px){.phm-life-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}















.phm-quote-stage{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border:1px solid transparent}







.phm-quote-stage-neutral{background:#e8f0fb;color:#173a67;border-color:#c9dbf8}







.phm-quote-stage-info{background:#e8f7ef;color:#166534;border-color:#bbdfc8}







.phm-quote-stage-warning{background:#fff7db;color:#8a5a00;border-color:#f1df9c}







.phm-quote-stage-violet{background:#f2ebff;color:#6d28d9;border-color:#d8c4ff}







.phm-quote-stage-success{background:#eaf8ef;color:#166534;border-color:#b9e4c5}







.phm-quote-stage-muted{background:#eef1f5;color:#5b6472;border-color:#d7dee8}







.phm-row-closed td{background:linear-gradient(180deg,#fcfdfc 0%,#f6fbf7 100%)}















/* v0.10.26.16 premium my-quotes polish */







.phm-filterbar-pills{display:flex;gap:8px;flex-wrap:wrap}







.phm-filter-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid #d7dee8;background:#fff;color:#13233b;font-size:12px;font-weight:800;text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.04)}







.phm-filter-pill:hover{border-color:#bfc9d8;background:#f8fafc}







.phm-filter-pill.is-active{background:#0d2a4a;color:#fff;border-color:#0d2a4a;box-shadow:0 8px 18px rgba(13,42,74,.18)}







.phm-filter-pill-label{line-height:1}







.phm-filter-pill .phm-life-filter-count{margin:0;min-width:24px;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.72);color:inherit;font-size:11px;font-weight:900}







.phm-filter-pill.is-active .phm-life-filter-count{background:rgba(255,255,255,.18);color:#fff}















.phm-life-summary-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 8px 22px rgba(15,23,42,.05)}







.phm-life-summary-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#d7dee8}







.phm-life-summary-grid .phm-life-summary-card:nth-child(1):before{background:#e0b437}







.phm-life-summary-grid .phm-life-summary-card:nth-child(2):before{background:#efb543}







.phm-life-summary-grid .phm-life-summary-card:nth-child(3):before{background:#b7791f}







.phm-life-summary-grid .phm-life-summary-card:nth-child(4):before{background:#98a2b3}















.phm-deal-card{min-width:180px;border:1px solid #d7dee8;border-radius:14px;padding:10px 12px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);box-shadow:0 1px 2px rgba(16,24,40,.03)}







.phm-deal-head{margin-bottom:8px}







.phm-deal-progress{display:flex;align-items:center;gap:6px;margin-bottom:8px;min-height:10px}







.phm-dsp-step{position:relative;flex:1 1 0;height:6px;border-radius:999px;background:#e6ebf2;overflow:hidden}







.phm-dsp-step:after{content:"";position:absolute;top:50%;left:50%;width:10px;height:10px;border-radius:50%;background:#c5cfdb;border:2px solid #fff;transform:translate(-50%,-50%);box-shadow:0 0 0 1px rgba(148,163,184,.25)}







.phm-dsp-step.is-on{background:#bfd1e6}







.phm-dsp-step.is-on:after{background:#0f4c81}







.phm-dsp-step.is-current:after{width:12px;height:12px;box-shadow:0 0 0 3px rgba(15,76,129,.12)}







.phm-deal-sub{font-size:11px;font-weight:700;color:#607086;letter-spacing:.01em}







.phm-deal-card-info .phm-dsp-step.is-on{background:#b8e0c4}.phm-deal-card-info .phm-dsp-step.is-on:after{background:#198754}







.phm-deal-card-warning .phm-dsp-step.is-on{background:#f3db8d}.phm-deal-card-warning .phm-dsp-step.is-on:after{background:#d99700}







.phm-deal-card-violet .phm-dsp-step.is-on{background:#d9c6ff}.phm-deal-card-violet .phm-dsp-step.is-on:after{background:#7c3aed}







.phm-deal-card-success .phm-dsp-step.is-on{background:#b8e5c3}.phm-deal-card-success .phm-dsp-step.is-on:after{background:#15803d}







.phm-deal-card-muted .phm-dsp-step.is-on{background:#d7dee8}.phm-deal-card-muted .phm-dsp-step.is-on:after{background:#64748b}















.phm-life-card{min-width:172px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);box-shadow:0 1px 2px rgba(16,24,40,.03)}







.phm-life-head{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:6px}







.phm-life-meta{font-size:12px;font-weight:800;color:#10243d;margin-bottom:4px}







.phm-life-sub{font-size:11px;font-weight:700;color:#6b7280;margin-bottom:8px}







.phm-life-dates{display:grid;grid-template-columns:1fr;gap:2px;font-size:10px;line-height:1.4;color:#7b8794;text-transform:uppercase;letter-spacing:.04em}







.phm-life-closed .phm-life-progress{display:none}















.phm-quote-stage{min-width:128px;padding:7px 12px;font-size:11px;box-shadow:inset 0 -1px 0 rgba(255,255,255,.3)}







.phm-row-closed td{background:linear-gradient(180deg,#fcfdfc 0%,#f4fbf5 100%)}







.phm-row-closed td:first-child{box-shadow:inset 4px 0 0 #8dc79c}















.phm-table td:nth-child(8){vertical-align:top}







.phm-table td:nth-child(9){vertical-align:top}







.phm-table td:nth-child(10){vertical-align:top}







.phm-table td:nth-child(10) .phm-btn,







.phm-table td:nth-child(10) button.phm-btn{min-width:108px;justify-content:center}















@media (max-width:960px){







  .phm-filterbar-pills{gap:6px}







  .phm-filter-pill{padding:7px 10px}







  .phm-deal-card,.phm-life-card{min-width:150px}







}























/* v0.10.26.16.1 deal success popup */







.phm-popup-backdrop{position:fixed;inset:0;background:rgba(6,18,36,.42);backdrop-filter:blur(2px);z-index:99998}







.phm-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));background:#fff;border:1px solid #d8dee8;border-radius:22px;box-shadow:0 30px 80px rgba(11,35,64,.22);padding:24px 24px 18px;z-index:99999}







.phm-popup-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border-radius:999px;border:1px solid #d8dee8;background:#fff;color:#0b2340;font-size:22px;line-height:1;cursor:pointer}







.phm-popup-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(180deg,#f7f9fc,#eef3f9);color:#0b2340;border:1px solid #d8dee8;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800;letter-spacing:.06em;margin-bottom:14px}







.phm-popup-title{font-size:28px;line-height:1.15;font-weight:800;color:#0b2340;margin-bottom:10px}







.phm-popup-body{font-size:15px;line-height:1.6;color:#22324c;margin-bottom:12px}







.phm-popup-meta{background:#f7f9fc;border:1px solid #e1e7f0;border-radius:16px;padding:12px 14px;color:#51627f;font-size:13px;line-height:1.55;margin-bottom:16px;white-space:pre-line}







.phm-popup-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}







.phm-popup-success .phm-btn{min-width:120px}







@media (max-width: 640px){.phm-popup{padding:20px 18px 16px}.phm-popup-title{font-size:24px}.phm-popup-actions{justify-content:stretch}.phm-popup-actions .phm-btn{flex:1 1 auto;text-align:center}}























/* v0.10.26.16.2 my quotes table fit / horizontal scroll fix */







.phm-myq-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;-webkit-overflow-scrolling:touch}







.phm-myq-table{min-width:1360px;margin-top:12px;table-layout:auto}







.phm-myq-table th,.phm-myq-table td{white-space:normal;word-break:break-word}







.phm-myq-table td:nth-child(1){white-space:nowrap}







.phm-myq-table td:nth-child(3),.phm-myq-table td:nth-child(4),.phm-myq-table td:nth-child(6),.phm-myq-table td:nth-child(7){white-space:nowrap}







.phm-myq-table td:nth-child(8),.phm-myq-table td:nth-child(9),.phm-myq-table td:nth-child(10){min-width:170px}







.phm-myq-table td:nth-child(10){white-space:nowrap}







@media (max-width:1280px){.phm-myq-table{min-width:1280px}}







@media (max-width:960px){.phm-myq-table{min-width:1080px}}















/* My Quotes premium layout aligned with Initiations */







.ph-myq-shell{padding:20px 20px 12px;border-radius:22px;background:#f9fbfd;border:1px solid #e6ebf2}







.ph-myq-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}



.ph-init-kpis:not(.ph-myq-kpis){grid-template-columns:repeat(6,minmax(0,1fr))}







.ph-myq-tabs{margin-bottom:12px}







.ph-myq-table-wrap{overflow:auto;border:1px solid #dfe6ef;border-radius:18px;background:#fff;padding-bottom:0}







.ph-myq-table{width:100%;min-width:1180px;margin:0;border-collapse:separate;border-spacing:0}







.ph-myq-table col.col-direction{width:12%}







.ph-myq-table col.col-quote{width:30%}







.ph-myq-table col.col-deal{width:18%}







.ph-myq-table col.col-company{width:20%}







.ph-myq-table col.col-time{width:10%}







.ph-myq-table col.col-action{width:10%}







.ph-myq-table thead th{position:relative !important;top:auto !important;z-index:1;background:#fff;border-bottom:1px solid #dde6ef}







.ph-myq-row{background:#fbfdff;transition:background .16s ease, box-shadow .16s ease}







.ph-myq-row:hover{background:#f7faff}







.ph-myq-row.st-closed{background:#fbfcfd}







.ph-myq-quote .ph-init-quote-title{margin-bottom:5px}







.ph-myq-quote .ph-init-quote-terms{font-size:11px;line-height:1.4;color:#64748b}







.ph-myq-quote .ph-init-quote-meta{margin-top:7px;font-size:11px;line-height:1.35;font-weight:700;color:#334155}







.ph-myq-product-extra{display:inline-block;margin-left:4px;color:#64748b;font-size:11px;font-weight:600}







.ph-myq-life .phm-life-card{min-width:0;max-width:200px}







.ph-myq-actions{min-width:135px}







.ph-myq-inline-btn{padding:6px 10px !important;font-size:10px !important;line-height:1.05 !important;border-radius:10px !important}







.ph-myq-toolbar .ph-init-head{margin-bottom:14px}







@media (max-width:1280px){.ph-myq-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}







@media (max-width:960px){.ph-myq-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-myq-shell{padding:16px}.ph-myq-table{min-width:980px}}







@media (max-width:640px){.ph-myq-kpis{grid-template-columns:1fr}.ph-myq-table{min-width:900px}}























/* ===== My Quotes desktop table hard override (fix left-shift / header bleed) ===== */







.ph-myq-table{display:table !important;table-layout:fixed !important;width:100% !important;min-width:1180px;border-collapse:separate !important;border-spacing:0 !important}







.ph-myq-table thead{display:table-header-group !important}







.ph-myq-table tbody{display:table-row-group !important}







.ph-myq-table tr{display:table-row !important;width:auto !important}







.ph-myq-table th,







.ph-myq-table td{display:table-cell !important}







.ph-myq-table th,







.ph-myq-table td{







  width:auto !important;







  white-space:normal !important;







  word-break:normal !important;







  overflow-wrap:anywhere !important;







  border-top:1px solid #eef2f6 !important;







  padding:10px 12px !important;







  vertical-align:top !important;







}







.ph-myq-table thead th{







  border-top:0 !important;







  background:#f8fafc !important;







}







.ph-myq-table td::before,







.ph-myq-table th::before{







  content:none !important;







  display:none !important;







}







.ph-myq-table tbody tr + tr td{border-top:1px solid #eef2f6 !important}







.ph-myq-table col.col-direction{width:11% !important}







.ph-myq-table col.col-quote{width:33% !important}







.ph-myq-table col.col-deal{width:18% !important}







.ph-myq-table col.col-company{width:18% !important}







.ph-myq-table col.col-time{width:9% !important}







.ph-myq-table col.col-action{width:11% !important}







.ph-myq-table td:first-child{white-space:nowrap !important}







.ph-myq-table td:nth-child(1){vertical-align:top !important}







.ph-myq-table td:nth-child(2),







.ph-myq-table td:nth-child(3),







.ph-myq-table td:nth-child(4),







.ph-myq-table td:nth-child(5),







.ph-myq-table td:nth-child(6){vertical-align:top !important}







.ph-myq-actions{min-width:0 !important;display:flex;flex-direction:column;align-items:flex-start;gap:8px}







.ph-myq-actions > *{margin-top:0 !important}







.ph-myq-actions form{margin:0 !important}







.ph-myq-inline-btn,.ph-myq-actions .phm-btn{width:100%;justify-content:center;text-align:center}







.ph-myq-table .ph-final-contract{display:inline-flex;max-width:100%}







@media (max-width:960px){







  .ph-myq-table{min-width:1080px !important}







}























/* v0.10.26.16.6 my quotes grid rebuild */







.ph-myq-grid-shell{border:1px solid #dfe6ef;border-radius:18px;background:#fff;overflow:hidden}







.ph-myq-grid-head,.ph-myq-grid-row{display:grid;grid-template-columns:minmax(120px,12%) minmax(280px,33%) minmax(210px,18%) minmax(210px,18%) minmax(120px,9%) minmax(120px,10%)}







.ph-myq-grid-head{background:#f8fafc;border-bottom:1px solid #dde6ef}







.ph-myq-grid-h{padding:11px 12px;font-size:10px;line-height:1.1;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0f172a;border-left:1px solid #eef2f6}







.ph-myq-grid-h:first-child{border-left:0}







.ph-myq-grid-row{border-top:1px solid #eef2f6;align-items:stretch;background:#fbfdff;transition:background .16s ease, box-shadow .16s ease}







.ph-myq-grid-row:first-child{border-top:0}







.ph-myq-grid-row:hover{background:#f7faff}







.ph-myq-grid-row.st-closed{background:#fbfcfd}







.ph-myq-grid-c{padding:10px 12px;min-width:0;border-left:1px solid #eef2f6;vertical-align:top}







.ph-myq-grid-c:first-child{border-left:0}







.ph-myq-grid-c.type{white-space:nowrap}







.ph-myq-grid-c.actions{display:flex;align-items:flex-start}







.ph-myq-grid-c .ph-myq-actions{width:100%}







.ph-myq-grid-c .phm-life-card,.ph-myq-grid-c .phm-deal-card{max-width:100%}







.ph-myq-grid-shell .ph-init-deal,.ph-myq-grid-shell .ph-time{font-size:10px;line-height:1.25}







.ph-myq-grid-shell .ph-init-quote-title{font-size:12px;line-height:1.15;font-weight:700}







.ph-myq-grid-shell .ph-init-quote-terms,.ph-myq-grid-shell .ph-init-quote-meta,.ph-myq-grid-shell .ph-init-deal-summary,.ph-myq-grid-shell .ph-init-stage,.ph-myq-grid-shell .ph-time-clock{font-size:10px;line-height:1.25}







.ph-myq-grid-shell .ph-time-date{font-size:11px;line-height:1.2}







@media (max-width: 1280px){.ph-myq-grid-head,.ph-myq-grid-row{grid-template-columns:minmax(120px,12%) minmax(260px,31%) minmax(200px,18%) minmax(200px,18%) minmax(110px,9%) minmax(120px,12%)}}







@media (max-width: 1100px){.ph-myq-grid-shell{overflow-x:auto}.ph-myq-grid-head,.ph-myq-grid-row{min-width:1120px}}























/* v0.10.26.16.7 my quotes action buttons */







.ph-myq-grid-c.actions{justify-content:flex-start}







.ph-myq-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0}







.ph-myq-action-btn,







.ph-myq-inline-btn.ph-myq-action-btn,







.ph-myq-actions .phm-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;padding:10px 12px !important;font-size:11px !important;line-height:1.1 !important;border-radius:12px !important;font-weight:800;letter-spacing:.02em;text-align:center}







.ph-myq-action-open{background:#0b2340;color:#fff;border-color:#0b2340}







.ph-myq-action-open:hover{filter:brightness(1.05)}







.ph-myq-grid-c.actions .ph-final-contract{display:inline-flex;width:100%;justify-content:center;padding:10px 12px;border-radius:12px;text-align:center}















.ph-myq-parent-meta{margin-top:10px;padding-top:8px;border-top:1px dashed #e2e8f0}







.ph-myq-origin-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.25;color:#0f172a}







.ph-myq-origin-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef6ff;border:1px solid #cfe0f5;color:#28446b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}







.ph-myq-response-summary{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}







.ph-myq-summary-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#f8fafc;border:1px solid #dbe4ee;color:#334155;font-size:10px;font-weight:700}







.ph-myq-response-hint{margin-top:7px;font-size:10px;line-height:1.3;color:#64748b;font-weight:600}







.ph-myq-response-row{border-top:1px solid #eef2f6;background:#fcfdff}







.ph-myq-response-wrap{padding:14px 16px 16px 16px;border-left:4px solid #d7e5f5}







.ph-myq-response-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}







.ph-myq-response-list{display:flex;flex-direction:column;gap:10px}







.ph-myq-response-item{display:grid;grid-template-columns:minmax(0,1.8fr) auto auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}







.ph-myq-response-title{font-size:12px;line-height:1.25;color:#0f172a}







.ph-myq-response-meta{margin-top:4px;font-size:10px;line-height:1.25;color:#64748b}







.ph-myq-stage-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1px solid transparent;white-space:nowrap}







.ph-myq-stage-pill.tone-neutral{background:#eef2f7;border-color:#d9e2ec;color:#475569}







.ph-myq-stage-pill.tone-warn{background:#fff4db;border-color:#f3d37b;color:#8a6300}







.ph-myq-stage-pill.tone-info{background:#e9f2ff;border-color:#bfd2f3;color:#244775}







.ph-myq-stage-pill.tone-success{background:#e9f7ee;border-color:#b6dcc0;color:#146534}







.ph-myq-stage-pill.tone-muted{background:#f4f4f5;border-color:#e4e4e7;color:#71717a}







.ph-myq-response-open{display:flex;justify-content:flex-end}







.ph-myq-response-open-btn{min-width:120px;justify-content:center}







@media (max-width: 1100px){.ph-myq-response-item{grid-template-columns:minmax(0,1fr);align-items:flex-start}.ph-myq-response-open{justify-content:flex-start}}















.ph-myq-need-action{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#dc2626;color:#fff;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 2px 8px rgba(220,38,38,.22)}







.ph-myq-summary-pill-total{background:#0b2340;color:#fff;border-color:#0b2340}







.ph-myq-summary-pill-open{background:#fff7ed;color:#9a3412;border-color:#fdba74}







.ph-myq-summary-pill-closed{background:#f1f5f9;color:#475569;border-color:#cbd5e1}







.ph-myq-summary-pill-new{background:#fef2f2;color:#b91c1c;border-color:#fca5a5;font-weight:900}







.ph-myq-attention-btn{background:#dc2626 !important;border-color:#dc2626 !important;color:#fff !important}







.ph-myq-action-count{font-weight:900;color:inherit}







.phm-market-action-stack{display:flex;flex-direction:column;gap:8px;align-items:flex-start}







.phm-market-action-stack .phm-badge.warn{background:#fff7ed;border-color:#fdba74;color:#9a3412}























/* Initiations attention */







.ph-init-kpi-attention{







  border-color:#fecaca;







  background:#fff1f2;







}







.ph-init-kpi-attention .kpi-label,







.ph-init-kpi-attention .kpi-value{







  color:#b91c1c;







}







.ph-init-needs-action-row{







  background:#fff7f7 !important;







  box-shadow: inset 4px 0 0 #dc2626;







}







.ph-init-needs-action-row td{







  background:transparent;







}







.ph-init-needs-action-badge{







  display:inline-flex;







  align-items:center;







  gap:6px;







  padding:4px 10px;







  border-radius:999px;







  font-size:11px;







  font-weight:800;







  text-transform:uppercase;







  letter-spacing:.04em;







  color:#b91c1c;







  background:#fee2e2;







  border:1px solid #fecaca;







}







.ph-init-inline-badge{ margin-right:8px; }







.ph-init-attention-stack{







  display:flex;







  flex-direction:column;







  gap:8px;







  align-items:flex-start;







}







.ph-init-open-review{







  background:#b91c1c !important;







  border-color:#991b1b !important;







  color:#fff !important;







}















/* ===== Deal workspace premium refresh ===== */







.phm-deal-page{color:#0f172a}







.phm-deal-shell{







  border:1px solid #d9e2ec;







  border-radius:18px;







  padding:20px;







  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);







  box-shadow:0 10px 28px rgba(15,23,42,.05);







}







.phm-deal-topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #e8eef5}







.phm-deal-topbar-main{display:flex;flex-direction:column;gap:8px;min-width:0}







.phm-deal-topbar-side{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}







.phm-deal-back{align-self:flex-start}







.phm-deal-summary,.phm-deal-section,.phm-deal-snapshot{







  margin-top:16px;







  border:1px solid #e8eef5;







  border-radius:16px;







  background:#fff;







  padding:16px 18px;







}







.phm-deal-snapshot{background:linear-gradient(180deg,#f7fbff 0%,#fdfefe 100%);border-color:#d9e9fb}







.phm-deal-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}







.phm-deal-section-head h3,.phm-subsection-title{margin:0;color:#0b2340;font-size:28px;font-weight:800;line-height:1.1}







.phm-subsection-title{font-size:20px;margin-bottom:10px}







.phm-kv-deal{grid-template-columns:190px 1fr;gap:10px 16px}







.phm-kv-deal > div:nth-child(odd){font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748b}







.phm-kv-deal > div:nth-child(even){font-size:14px;color:#0f172a}







.phm-deal-inner-card{border-radius:14px;border-color:#e6edf5;background:#fcfdff;box-shadow:none}







.phm-counter-card{background:linear-gradient(180deg,#fbfcfe 0%,#f7fafc 100%)}







.phm-chat-premium{background:linear-gradient(180deg,#fbfbfc 0%,#f5f7fa 100%);border-color:#e6ebf1;padding:14px}







.phm-chat-form .phm-textarea{min-height:120px;border-radius:4px}







.phm-chat-form .phm-btn{min-width:150px}







.phm-msg{border-radius:14px;padding:12px 14px;box-shadow:0 1px 2px rgba(15,23,42,.04)}







.phm-msg.me{background:#0b2340}







.phm-msg.them{background:#fff;border-color:#dde5ee}







@media (max-width:900px){







  .phm-deal-topbar{flex-direction:column}







  .phm-deal-topbar-side{justify-content:flex-start}







}







@media (max-width:680px){







  .phm-deal-shell{padding:14px}







  .phm-deal-summary,.phm-deal-section,.phm-deal-snapshot{padding:14px}







  .phm-kv-deal{grid-template-columns:1fr}







  .phm-deal-section-head h3,.phm-subsection-title{font-size:22px}







}























/* ===== Deal workspace premium polish v17.7 ===== */







.phm-deal-shell{padding:22px}







.phm-deal-body{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px;align-items:start;margin-top:16px}







.phm-deal-rail,.phm-deal-main{display:flex;flex-direction:column;gap:16px;min-width:0}







.phm-deal-summary{margin-top:0;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border-color:#dbe7f3}







.phm-deal-summary .phm-hr{margin:10px 0 14px 0}







.phm-deal-section,.phm-deal-snapshot{margin-top:0}







.phm-deal-topbar{margin-bottom:10px}







.phm-deal-topbar-main .phm-h1{font-size:34px;line-height:1.02;letter-spacing:-.02em;color:#0b2340}







.phm-deal-topbar-main .phm-muted{max-width:780px}







.phm-deal-topbar-side .phm-badge{padding:8px 12px;border-radius:999px;border:1px solid #dde6f0;background:#fff;font-weight:700}







.phm-kv.phm-kv-deal{display:grid;grid-template-columns:170px 1fr;gap:10px 14px}







.phm-kv.phm-kv-deal > div:nth-child(odd){font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}







.phm-kv.phm-kv-deal > div:nth-child(even){font-size:14px;line-height:1.45;color:#0f172a}







.phm-deal-section-head{margin-bottom:14px}







.phm-deal-section-head h3{font-size:24px}







.phm-deal-inner-card{padding:16px 16px 14px 16px}







.phm-deal-main .phm-grid{gap:12px}







.phm-deal-main .phm-in,.phm-deal-main .phm-sel,.phm-deal-main .phm-textarea{border-radius:4px;border-color:#d8e2ec;background:#fff}







.phm-deal-main .phm-in:focus,.phm-deal-main .phm-sel:focus,.phm-deal-main .phm-textarea:focus{border-color:#b7cbdf;box-shadow:0 0 0 3px rgba(22,78,99,.08)}







.phm-chat-premium{max-height:420px;overflow:auto;padding:14px 14px 8px 14px}







.phm-chat-form{padding:14px;border:1px solid #e6edf5;border-radius:8px;background:linear-gradient(180deg,#fff 0%,#fafcff 100%)}







.phm-chat-form .phm-textarea{min-height:96px;resize:vertical}







.phm-chat-form .phm-btn{min-width:170px}







@media (max-width:1100px){







  .phm-deal-body{grid-template-columns:1fr}







}







@media (max-width:680px){







  .phm-deal-shell{padding:14px}







  .phm-deal-topbar-main .phm-h1{font-size:28px}







  .phm-kv.phm-kv-deal{grid-template-columns:1fr}







}























/* Deal workspace premium polish 2 */







.phm-deal-topbar{align-items:flex-start;gap:14px}







.phm-deal-identity{margin-top:12px;padding:10px 12px;border:1px solid #dbe6f0;border-radius:14px;background:linear-gradient(180deg,#f8fbff 0%,#f3f7fb 100%)}







.phm-deal-id-main{display:flex;align-items:baseline;gap:8px;font-size:18px;color:#0b2340}







.phm-deal-id-kicker{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6d7b8b}







.phm-deal-id-meta{margin-top:4px;font-size:12px;color:#506072}







.phm-deal-summary-topchips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}







.phm-mini-chip{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid #d8e2ec;border-radius:999px;background:#f7fafc;color:#213547;font-size:11px;font-weight:700;letter-spacing:.02em}







.phm-deal-inline-snapshot{margin-top:14px;padding:12px;border:1px solid #dce7f1;border-radius:14px;background:#f8fbfe}







.phm-inline-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;font-size:12px;color:#526273}







.phm-inline-head strong{font-size:13px;color:#0b2340}







.phm-kv-compact{row-gap:8px}







.phm-kv-compact>div{font-size:12px}







.phm-action-strip{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 14px}







.phm-action-check{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;border:1px solid #d8e2ec;background:#f8fafc;color:#4f6072;font-size:11px;font-weight:700}







.phm-action-check.is-done{background:#edf9f1;border-color:#bde3ca;color:#146c43}







.phm-action-state ul{margin:8px 0 0 18px;padding:0}







.phm-action-state li{margin:4px 0;color:#334155;font-size:13px}







.phm-deal-section-head h3{font-size:16px}







.phm-deal-shell .phm-muted,.phm-kv .phm-muted,.phm-kv-deal .phm-muted{font-size:11px}







.phm-kv,.phm-kv-deal{font-size:13px}







.phm-chat-premium{max-height:360px;overflow:auto;padding-right:4px}







.phm-chat-input{min-height:72px}







.phm-chat-form .phm-btn{min-width:140px}







@media (max-width: 980px){







  .phm-inline-head{display:block}







  .phm-chat-premium{max-height:300px}







}























/* v0.10.26.17.9 deal micro polish */







.phm-deal-kickerline{margin:4px 0 2px 0;font-size:11px !important;font-weight:800;letter-spacing:.10em;text-transform:uppercase;color:#7a8797}







.phm-deal-main .phm-in,







.phm-deal-main .phm-sel,







.phm-deal-main .phm-textarea,







.phm-deal-main input[type="text"],







.phm-deal-main input[type="email"],







.phm-deal-main input[type="number"],







.phm-deal-main input[type="file"],







.phm-deal-main select,







.phm-deal-main textarea{border-radius:4px !important}







.phm-kv-counterparty{display:grid;grid-template-columns:130px minmax(0,1fr) !important;gap:8px 12px !important;align-items:start}







.phm-kv-counterparty > div:nth-child(odd){padding-top:3px !important}







.phm-kv-counterparty > div:nth-child(even){justify-self:start;text-align:left;min-width:0}







.phm-kv-counterparty .phm-badge{margin-left:8px;vertical-align:middle}







.phm-deal-critical-note{font-weight:800;border-color:#fecaca;background:#fff1f2;color:#b91c1c}







.phm-msg-system{border-left:4px solid #0ea5e9;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);color:#10233f}







.phm-msg-system .phm-msg-meta{color:#5b6b80}







.phm-msg-system-label{display:inline-flex;align-items:center;margin:0 0 8px 0;padding:4px 8px;border-radius:999px;background:#dbeafe;color:#0b3a75;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}







.phm-msg-system-alert{border-left-color:#dc2626;background:linear-gradient(180deg,#fff7f7 0%,#fff1f2 100%)}







.phm-msg-system-alert .phm-msg-system-label{background:#fee2e2;color:#991b1b}







@media (max-width: 960px){







  .phm-kv-counterparty{grid-template-columns:1fr !important}







}







body.page-id-34 .phm-deal-page .phm-kv-counterparty{grid-template-columns:130px minmax(0,1fr) !important;gap:8px 12px !important}







body.page-id-34 .phm-deal-page .phm-kv-counterparty > div:nth-child(even){justify-self:start !important;text-align:left !important}















/* v0.10.26.18.0 deal system logic visibility */







.phm-deal-page input[type="text"],







.phm-deal-page input[type="email"],







.phm-deal-page input[type="number"],







.phm-deal-page input[type="file"],







.phm-deal-page select,







.phm-deal-page textarea,







.phm-deal-page .phm-in,







.phm-deal-page .phm-sel,







.phm-deal-page .phm-textarea{border-radius:4px !important}







.phm-kv-counterparty{grid-template-columns:118px minmax(0,1fr) !important;gap:8px 10px !important}







.phm-kv-counterparty > div:nth-child(odd){justify-self:start;text-align:left;padding-top:2px !important}







.phm-kv-counterparty > div:nth-child(even){justify-self:start !important;text-align:left !important;align-self:start;min-width:0}







.phm-company-inline,.phm-company-inline *{white-space:normal !important;word-break:normal !important;overflow-wrap:anywhere}







.phm-company-inline .phm-company-name{display:inline-block;max-width:100%}







.phm-company-inline .phm-badge{margin-left:8px;white-space:nowrap !important}







.phm-deal-critical-note{font-weight:900;border-color:#fecaca;background:#fff1f2;color:#b91c1c;box-shadow:0 0 0 1px rgba(220,38,38,.05) inset}







.phm-msg-author{margin:0 0 7px 0;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6b7280}







.phm-msg-system{border-left:4px solid #0ea5e9;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);color:#10233f}







.phm-msg-system-info{border-left-color:#2563eb;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%)}







.phm-msg-system-warn{border-left-color:#f59e0b;background:linear-gradient(180deg,#fffaf0 0%,#fff6e6 100%)}







.phm-msg-system-critical{border-left-color:#dc2626;background:linear-gradient(180deg,#fff7f7 0%,#fff1f2 100%)}







.phm-msg-system .phm-msg-meta{color:#5b6b80}







.phm-msg-system-label{display:inline-flex;align-items:center;margin:0 0 8px 0;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}







.phm-msg-system-info .phm-msg-system-label{background:#dbeafe;color:#0b3a75}







.phm-msg-system-warn .phm-msg-system-label{background:#fef3c7;color:#92400e}







.phm-msg-system-critical .phm-msg-system-label,.phm-msg-system-alert .phm-msg-system-label{background:#fee2e2;color:#991b1b}







.phm-msg-system-alert{border-left-color:#dc2626;background:linear-gradient(180deg,#fff7f7 0%,#fff1f2 100%)}







@media (max-width: 960px){







  .phm-kv-counterparty{grid-template-columns:1fr !important}







}















/* v0.10.26.18.1 deal final ux polish */







.phm-msg-author{text-transform:none;letter-spacing:.02em}







.phm-company-inline,.phm-company-inline .phm-company-name{white-space:nowrap !important;overflow:hidden;text-overflow:ellipsis;max-width:100%}







.phm-contract-preview-auto{max-height:520px !important;overflow-y:auto !important;overflow-x:auto !important}







.phm-contract-warning-auto{background:#fff7e8 !important;border:1px solid #f3d08a !important;color:#8a5a00 !important}







.phm-additional-terms-auto input[type="text"],







.phm-additional-terms-auto input:not([type]),







.phm-additional-terms-auto textarea{border-radius:4px !important}







.phm-additional-terms-auto input[type="text"],







.phm-additional-terms-auto input:not([type]){height:36px !important;min-height:36px !important}







.phm-additional-terms-auto textarea{min-height:110px !important;height:110px !important}















/* v0.10.26.18.2 contract visual cleanup */







.phm-contract-preview-auto,.phm-additional-terms-auto{background:#fff !important;border-color:#dfe6ee !important}







.phm-contract-warning-auto{background:#fff7e8 !important;border:1px solid #f3d08a !important;color:#8a5a00 !important;border-radius:6px !important;display:inline-block !important;padding:6px 10px !important;max-width:100% !important}























/* v0.10.26.18.3 deal visual balance */







.phm-deal-shell{background:#fff;border-color:#dfe7ef;box-shadow:0 12px 28px rgba(15,23,42,.045)}







.phm-deal-topbar{padding-bottom:16px;border-bottom:1px solid #e6edf5}







.phm-deal-topbar-main .phm-h1{font-size:38px;letter-spacing:-.03em}







.phm-deal-identity{background:linear-gradient(180deg,#f8fbff 0%,#f6f9fc 100%);border-color:#d9e4ef;border-radius:12px}







.phm-deal-section,.phm-deal-summary{border-radius:14px;border-color:#e4ebf2;box-shadow:0 1px 2px rgba(15,23,42,.03)}







.phm-deal-section-head{position:relative;padding-left:12px}







.phm-deal-section-head:before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:999px;background:#0b2340;opacity:.14}







.phm-deal-section-head h3{font-size:17px;font-weight:800;letter-spacing:-.01em}







.phm-contract-block-auto{margin-top:18px;padding:14px 0 0 0;border-top:1px solid #e8eef5}







.phm-contract-kicker{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef4fb;color:#29435c;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px 0}







.phm-contract-block-auto h2,.phm-contract-block-auto h3{margin-top:0;color:#0b2340;letter-spacing:-.02em}







.phm-contract-preview-auto{border:1px solid #e3e9f0;border-radius:8px;padding:0;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}







.phm-additional-terms-auto{margin-top:14px;border:1px solid #e4ebf2 !important;border-radius:12px !important;box-shadow:0 1px 2px rgba(15,23,42,.03)}







.phm-inline-success-note{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:#effaf2;border:1px solid #cde9d3;color:#166534;font-size:11px;font-weight:700;margin:0 0 10px 0}







.phm-inline-success-note:before{content:"✓";font-weight:900}







.phm-contract-warning-auto{display:block !important;width:fit-content;max-width:100% !important;margin:2px 0 10px 0 !important}







.phm-msg-system-label{margin-bottom:6px}







@media (max-width:900px){.phm-deal-topbar-main .phm-h1{font-size:32px}}























/* v0.10.26.18.4 counterparty dark anchor */







.phm-counterparty-card{background:linear-gradient(180deg,#0b2340 0%,#102b4d 100%) !important;border:1px solid #17365b !important;border-left:4px solid #f4ca49 !important;box-shadow:0 12px 24px rgba(11,35,64,.14) !important}







.phm-counterparty-card:hover{background:linear-gradient(180deg,#0d294a 0%,#123254 100%) !important}







.phm-counterparty-card .phm-deal-section-head h3{color:#ffffff !important}







.phm-counterparty-card .phm-deal-section-head .phm-muted{color:rgba(255,255,255,.72) !important}







.phm-counterparty-card .phm-kv-counterparty > div:nth-child(odd){color:rgba(219,230,243,.78) !important;font-size:11px !important;font-weight:700 !important;letter-spacing:.04em;text-transform:uppercase}







.phm-counterparty-card .phm-kv-counterparty > div:nth-child(even){color:#ffffff !important}







.phm-counterparty-card .phm-kv-counterparty strong{color:#f4ca49 !important}







.phm-counterparty-card .phm-company-inline,.phm-counterparty-card .phm-company-inline .phm-company-name{color:#ffffff !important;white-space:nowrap !important;overflow:hidden;text-overflow:ellipsis}







.phm-counterparty-card .phm-badge{background:#0ea56b !important;color:#ffffff !important;border-color:rgba(255,255,255,.16) !important;box-shadow:none !important}







.phm-counterparty-card .phm-kv-counterparty{grid-template-columns:112px minmax(0,1fr) !important;gap:9px 10px !important}







@media (max-width: 960px){







  .phm-counterparty-card .phm-kv-counterparty{grid-template-columns:1fr !important}







  .phm-counterparty-card .phm-kv-counterparty > div:nth-child(odd){margin-top:8px}







}























/* v0.10.26.18.5 my quotes compact fit */







.ph-myq-shell{padding:16px 16px 10px;border-radius:20px}







.ph-myq-toolbar .ph-init-head{margin-bottom:10px}







.ph-myq-kpis .ph-init-kpi{padding:10px 12px;min-height:74px}







.ph-myq-kpis .kpi-label{font-size:9px;letter-spacing:.08em}







.ph-myq-kpis .kpi-value{font-size:30px;line-height:1}







.ph-myq-tabs{gap:6px;margin-bottom:10px}







.ph-myq-tabs .ph-init-tab{padding:6px 10px;font-size:10px}







.ph-myq-tabs .ph-init-tab em{font-size:10px;min-width:18px}















.ph-myq-grid-head,.ph-myq-grid-row{grid-template-columns:minmax(102px,11%) minmax(245px,33%) minmax(180px,16%) minmax(180px,16%) minmax(88px,8%) minmax(132px,16%)}







.ph-myq-grid-h{padding:9px 10px;font-size:9px;letter-spacing:.07em}







.ph-myq-grid-c{padding:8px 10px}







.ph-myq-grid-shell .ph-init-quote-title{font-size:11px;line-height:1.12}







.ph-myq-grid-shell .ph-init-quote-terms,.ph-myq-grid-shell .ph-init-quote-meta,.ph-myq-grid-shell .ph-init-deal-summary,.ph-myq-grid-shell .ph-init-stage,.ph-myq-grid-shell .ph-time-clock{font-size:9px;line-height:1.22}







.ph-myq-grid-shell .ph-time-date{font-size:10px;line-height:1.15}







.ph-myq-product-extra{font-size:10px}







.ph-myq-parent-meta{margin-top:8px;padding-top:6px}







.ph-myq-origin-line{gap:6px;font-size:10px;line-height:1.2}







.ph-myq-origin-badge,.ph-myq-summary-pill,.ph-myq-need-action{padding:3px 7px;font-size:9px}







.ph-myq-response-hint{margin-top:5px;font-size:9px}















.ph-myq-grid-c.type .phm-side{font-size:10px;gap:4px;padding:4px 8px;border-radius:999px}







.ph-myq-grid-c.type .phm-side::before{width:5px;height:5px;margin-right:4px}















.ph-myq-grid-shell .ph-init-deal{font-size:9px;line-height:1.2}







.ph-myq-grid-shell .phm-quote-stage{min-width:104px;padding:6px 9px;font-size:9px}







.ph-myq-grid-shell .phm-deal-card{min-width:0;border-radius:12px;padding:8px 9px}







.ph-myq-grid-shell .phm-deal-sub{font-size:9px}







.ph-myq-grid-shell .phm-dsp-step{height:5px}







.ph-myq-grid-shell .phm-dsp-step:after{width:8px;height:8px}







.ph-myq-grid-shell .phm-dsp-step.is-current:after{width:10px;height:10px}







.ph-myq-grid-shell .phm-life-card{min-width:0;border-radius:12px;padding:8px 9px}







.ph-myq-grid-shell .phm-life-head{margin-bottom:6px}







.ph-myq-grid-shell .phm-life-pill{padding:5px 9px;font-size:9px}







.ph-myq-grid-shell .phm-life-meta{font-size:11px;margin-bottom:3px}







.ph-myq-grid-shell .phm-life-sub{font-size:9px;margin-bottom:6px}







.ph-myq-grid-shell .phm-life-dates{font-size:9px;line-height:1.25}















.ph-myq-actions{gap:7px}







.ph-myq-action-btn,







.ph-myq-inline-btn.ph-myq-action-btn,







.ph-myq-actions .phm-btn{min-height:30px;padding:7px 9px !important;font-size:10px !important;line-height:1.05 !important;border-radius:10px !important}







.ph-myq-grid-c.actions .ph-final-contract{padding:7px 9px;border-radius:10px;font-size:9px}















@media (max-width: 1380px){







  .ph-myq-grid-head,.ph-myq-grid-row{grid-template-columns:minmax(100px,11%) minmax(230px,32%) minmax(170px,16%) minmax(170px,16%) minmax(84px,8%) minmax(124px,17%)}







}







@media (max-width: 1180px){







  .ph-myq-grid-shell{overflow-x:auto}







  .ph-myq-grid-head,.ph-myq-grid-row{min-width:1060px}







}























/* v0.10.26.18.7 initiations counters one row */







.ph-myq-grid-shell{







  background:#f4f7fb;







  border:1px solid #dbe4ee;







  border-radius:20px;







  padding:8px;







}







.ph-myq-grid-head{







  border:1px solid #e1e8f0;







  border-radius:14px;







  overflow:hidden;







  margin-bottom:8px;







  box-shadow:0 1px 2px rgba(16,24,40,.03);







}







.ph-myq-grid-row{







  position:relative;







  background:#ffffff;







  border:1px solid #e2e8f0;







  border-radius:16px;







  margin-top:8px;







  box-shadow:0 1px 2px rgba(16,24,40,.04);







  overflow:hidden;







}







.ph-myq-grid-row:first-of-type{margin-top:0}







.ph-myq-grid-row:hover{







  background:#fbfdff;







  box-shadow:0 8px 22px rgba(11,35,64,.08);







  border-color:#d4dde8;







}







.ph-myq-grid-row::before{







  content:"";







  position:absolute;







  left:0;top:0;bottom:0;







  width:4px;







  background:#d7dee8;







}







.ph-myq-grid-row:nth-child(even)::before{background:#dfe8f3}







.ph-myq-grid-row.st-closed::before{background:#9bc5a7}







.ph-myq-grid-c{







  border-left:1px solid #edf2f7;







  padding:12px 12px;







}







.ph-myq-grid-c.quote{background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)}







.ph-myq-grid-c.actions{background:#fbfcfe}







.ph-myq-grid-c.window{background:#fcfdff}







.ph-myq-grid-shell .ph-init-quote-title{font-size:13px;line-height:1.2;font-weight:800;color:#10243d;margin-bottom:4px}







.ph-myq-grid-shell .ph-init-quote-terms{font-size:10px;line-height:1.35;color:#64748b;margin-bottom:6px}







.ph-myq-grid-shell .ph-init-quote-meta{font-size:11px;line-height:1.35;color:#0f172a}







.ph-myq-grid-shell .ph-myq-origin-line{font-size:10px}







.ph-myq-grid-shell .ph-myq-response-summary{margin-top:6px}







.ph-myq-grid-shell .ph-myq-response-hint{margin-top:6px}







.ph-myq-grid-shell .phm-deal-card,







.ph-myq-grid-shell .phm-life-card{







  border-radius:12px;







  box-shadow:none;







  border:1px solid #e3eaf2;







  background:#fff;







}







.ph-myq-grid-shell .phm-deal-card{background:linear-gradient(180deg,#ffffff 0%,#f9fbfd 100%)}







.ph-myq-grid-shell .phm-life-card{background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)}







.ph-myq-grid-shell .phm-quote-stage{font-size:10px;padding:6px 10px}







.ph-myq-grid-shell .ph-myq-actions{gap:7px}







.ph-myq-grid-shell .ph-myq-action-btn,.ph-myq-grid-shell .phm-btn{min-height:34px;font-size:10px !important;border-radius:10px !important}







.ph-myq-response-row{







  margin:6px 0 8px;







  border:1px solid #e4ebf3;







  border-radius:14px;







  background:#f8fbfe;







  overflow:hidden;







}







.ph-myq-response-wrap{padding:12px 14px}







@media (max-width: 1280px){







  .ph-myq-grid-c{padding:10px 10px}







  .ph-myq-grid-row{margin-top:6px}







}


/* ========================================================================== 
   PETROHUB MARKET — Enterprise Design Pass v2
   Goal: align Market / My Quotes / Initiations / Create Quote / Deal Workspace
   with PetroHub Home Dashboard premium trading-console style.
   Applied as safe override layer: no markup changes required.
   ========================================================================== */

:root{
  --ph-navy:#0B1F33;
  --ph-navy-2:#102847;
  --ph-navy-3:#17365B;
  --ph-gold:#C9A227;
  --ph-gold-soft:#F3E7B8;
  --ph-bg:#F1F4F8;
  --ph-card:#FFFFFF;
  --ph-border:#D9E2EC;
  --ph-border-soft:#E6EDF5;
  --ph-text:#102847;
  --ph-text-2:#334155;
  --ph-muted:#64748B;
  --ph-success:#166534;
  --ph-danger:#B91C1C;
  --ph-warning:#9A6700;
  --ph-shadow:0 2px 8px rgba(15,23,42,.055);
  --ph-shadow-hover:0 8px 20px rgba(15,23,42,.075);
  --ph-radius:12px;
  --ph-radius-lg:16px;
}

/* Base system reset for PetroHub module */
.phm-card,
.phm-market-shell,
.ph-init-shell,
.ph-myq-shell,
.phm-cq-shell,
.phm-deal-shell{
  color:var(--ph-text) !important;
  background:var(--ph-card) !important;
  border:1px solid var(--ph-border) !important;
  border-radius:var(--ph-radius-lg) !important;
  box-shadow:var(--ph-shadow) !important;
}

.phm-h1,
.phm-market-title,
.phm-cq-sectionhead h3,
.phm-deal-topbar-main .phm-h1{
  color:var(--ph-navy) !important;
  letter-spacing:-.02em !important;
}

.phm-h1{font-size:24px !important;line-height:1.1 !important;font-weight:850 !important;}
.phm-muted{color:var(--ph-muted) !important;font-size:13px !important;line-height:1.45 !important;}

/* Buttons: stricter, less rounded, premium navy/gold */
.phm-btn,
.button.phm-btn,
.ph-init-export-btn,
.ph-myq-action-btn,
.ph-myq-inline-btn.ph-myq-action-btn,
.ph-init-open-btn{
  background:var(--ph-navy) !important;
  color:#fff !important;
  border:1px solid var(--ph-navy) !important;
  border-radius:10px !important;
  box-shadow:none !important;
  font-weight:850 !important;
  letter-spacing:.01em !important;
}

.phm-btn:hover,
.button.phm-btn:hover,
.ph-myq-action-btn:hover,
.ph-init-open-btn:hover{
  background:#12385E !important;
  border-color:#12385E !important;
  transform:translateY(-1px);
  box-shadow:var(--ph-shadow-hover) !important;
}

.phm-btn.secondary,
.phm-btn-clear,
.phm-market-card-premium .phm-btn.secondary{
  background:#fff !important;
  color:var(--ph-navy) !important;
  border:1px solid var(--ph-border) !important;
}

.phm-btn.warn,
.phm-filters-wrap .phm-btn.secondary,
.phm-cq-save{
  background:var(--ph-gold) !important;
  color:var(--ph-navy) !important;
  border-color:var(--ph-gold) !important;
  box-shadow:none !important;
}

.phm-btn.danger,
.ph-myq-attention-btn,
.ph-init-open-review{
  background:var(--ph-danger) !important;
  color:#fff !important;
  border-color:var(--ph-danger) !important;
}

/* Inputs: remove soft purple focus; use quiet trading-terminal focus */
.phm-input,
.phm-select,
.phm-textarea,
.phm-select-sm,
.phm-cq-section input,
.phm-cq-section select,
.phm-cq-section textarea,
.phm-deal-page input[type="text"],
.phm-deal-page input[type="email"],
.phm-deal-page input[type="number"],
.phm-deal-page select,
.phm-deal-page textarea{
  border:1px solid var(--ph-border) !important;
  border-radius:8px !important;
  background:#fff !important;
  color:var(--ph-text) !important;
  box-shadow:none !important;
}

.phm-input:focus,
.phm-select:focus,
.phm-textarea:focus,
.phm-select-sm:focus,
.phm-cq-section input:focus,
.phm-cq-section select:focus,
.phm-cq-section textarea:focus{
  outline:none !important;
  border-color:#8EA3B8 !important;
  box-shadow:0 0 0 3px rgba(11,31,51,.08) !important;
}

.phm-select.phm-filled,
.phm-input.phm-filled,
.phm-textarea.phm-filled,
.phm-quickgroup-select .phm-select-sm.phm-filled{
  border-color:var(--ph-gold) !important;
  box-shadow:0 0 0 3px rgba(201,162,39,.13) !important;
}

/* Common badges and status chips */
.phm-badge,
.phm-chip,
.phm-market-chip,
.phm-filter-pill,
.ph-init-tab,
.phm-quote-stage,
.ph-myq-stage-pill,
.phm-life-pill,
.phm-mini-chip,
.phm-action-check{
  border-radius:999px !important;
  box-shadow:none !important;
}

.phm-badge,
.phm-chip,
.phm-market-chip-soft,
.phm-filter-pill,
.ph-init-tab{
  background:#fff !important;
  border-color:var(--ph-border) !important;
  color:var(--ph-text-2) !important;
}

.phm-filter-pill.is-active,
.ph-init-tab.active,
.phm-tab.is-active{
  background:var(--ph-navy) !important;
  color:#fff !important;
  border-color:var(--ph-navy) !important;
  box-shadow:none !important;
}

.phm-badge.warn,
.phm-quote-stage-warning,
.ph-myq-stage-pill.tone-warn,
.phm-life-warning .phm-life-pill,
.phm-market-chip-warn{
  background:#FFF8E1 !important;
  border-color:#E7D28A !important;
  color:var(--ph-warning) !important;
}

.phm-badge.ok,
.phm-badge.success,
.phm-badge.st-accepted,
.phm-customs.ok,
.phm-market-chip-ok,
.phm-quote-stage-success,
.ph-myq-stage-pill.tone-success,
.phm-life-success .phm-life-pill{
  background:#EAF6EF !important;
  border-color:#B7DCC4 !important;
  color:var(--ph-success) !important;
}

/* SELL / BUY badges: keep meaning, reduce toy colors */
.phm-side{
  padding:5px 9px !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:850 !important;
  letter-spacing:.04em !important;
}
.phm-side-sell{background:#EAF6EF !important;border-color:#B7DCC4 !important;color:var(--ph-success) !important;}
.phm-side-buy{background:#FFF4E6 !important;border-color:#E8C38B !important;color:#92400E !important;}
.phm-side-sell::before,.phm-side-buy::before{background:currentColor !important;margin-right:3px !important;}

/* Market: cleaner cards, less SaaS gradient */
.phm-market-shell{
  padding:18px !important;
  background:var(--ph-bg) !important;
}

.phm-market-hero{
  padding:4px 2px 12px !important;
  margin-bottom:10px !important;
  align-items:flex-start !important;
}

.phm-market-kicker,
.phm-cq-kicker,
.phm-contract-kicker,
.phm-deal-kickerline{
  background:transparent !important;
  color:var(--ph-muted) !important;
  padding:0 !important;
  border-radius:0 !important;
  font-size:10px !important;
  letter-spacing:.13em !important;
  font-weight:900 !important;
}

.phm-market-title{font-size:24px !important;line-height:1.08 !important;margin-bottom:5px !important;}
.phm-market-note{font-size:13px !important;color:var(--ph-muted) !important;max-width:760px !important;}

.phm-market-meta-pill{
  background:#fff !important;
  border-color:var(--ph-border) !important;
  border-radius:12px !important;
  box-shadow:none !important;
  min-width:140px !important;
}
.phm-market-meta-pill strong{color:var(--ph-muted) !important;font-size:10px !important;}
.phm-market-meta-pill em{color:var(--ph-text) !important;font-weight:800 !important;}

.phm-market-card{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:14px !important;
  box-shadow:var(--ph-shadow) !important;
  padding:15px 16px !important;
  margin:10px 0 !important;
}
.phm-market-card:hover{
  border-color:#B8C6D5 !important;
  box-shadow:var(--ph-shadow-hover) !important;
}
.phm-market-card-premium.phm-side-offer{border-left:3px solid #7DBE91 !important;}
.phm-market-card-premium.phm-side-bid{border-left:3px solid #D9A45C !important;}
.phm-market-product{font-size:16px !important;color:var(--ph-navy) !important;}
.phm-market-product-extra{font-size:12px !important;color:var(--ph-muted) !important;}
.phm-market-line2{font-size:14px !important;color:var(--ph-text) !important;}
.phm-market-line3{font-size:10px !important;color:var(--ph-muted) !important;}
.phm-market-price{font-size:24px !important;color:var(--ph-navy) !important;}
.phm-market-card-bottom{border-top:1px solid var(--ph-border-soft) !important;}
.phm-market-fact{border-color:var(--ph-border-soft) !important;border-radius:10px !important;background:#FAFCFE !important;}

/* Quick filters: serious console block */
.phm-quickbar-premium,
.phm-detailed-panel,
.ph-init-filter-panel{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:14px !important;
  box-shadow:var(--ph-shadow) !important;
}
.phm-quickgroup-side,
.phm-filters-wrap{
  background:var(--ph-navy) !important;
  border-color:var(--ph-navy-3) !important;
  box-shadow:none !important;
}
.phm-qopt input{accent-color:var(--ph-gold) !important;}

/* Initiations: turn Excel look into enterprise table */
.ph-init-shell,
.ph-myq-shell{
  background:var(--ph-bg) !important;
  padding:18px !important;
}
.ph-init-toolbar{background:transparent !important;}
.ph-init-head{margin-bottom:12px !important;}
.ph-init-kpis{gap:10px !important;margin-bottom:12px !important;}
.ph-init-kpi{
  min-height:70px !important;
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:12px !important;
  box-shadow:var(--ph-shadow) !important;
  padding:11px 13px !important;
}
.ph-init-kpi.total{
  background:var(--ph-navy) !important;
  border-color:var(--ph-navy) !important;
}
.ph-init-kpi .kpi-label{font-size:9px !important;color:var(--ph-muted) !important;font-weight:900 !important;}
.ph-init-kpi .kpi-value{font-size:28px !important;color:var(--ph-navy) !important;font-weight:900 !important;}
.ph-init-kpi.total .kpi-label{color:rgba(255,255,255,.75) !important;}
.ph-init-kpi.total .kpi-value{color:var(--ph-gold) !important;}
.ph-init-kpi-attention{background:#FFF5F5 !important;border-color:#F5B5B5 !important;}
.ph-init-kpi-attention .kpi-label,.ph-init-kpi-attention .kpi-value{color:var(--ph-danger) !important;}

.ph-init-table-wrap,
.ph-myq-grid-shell,
.ph-myq-table-wrap{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:14px !important;
  box-shadow:var(--ph-shadow) !important;
  padding:0 !important;
}
.ph-init-table thead th,
.ph-myq-grid-head,
.ph-myq-grid-h,
.ph-myq-table thead th{
  background:#F7FAFC !important;
  color:var(--ph-text) !important;
  border-color:var(--ph-border-soft) !important;
}
.ph-init-table tbody td,
.ph-myq-grid-c,
.ph-myq-table td{
  border-color:var(--ph-border-soft) !important;
}
.ph-init-row,
.ph-myq-grid-row,
.ph-myq-row{
  background:#fff !important;
}
.ph-init-row:hover,
.ph-myq-grid-row:hover,
.ph-myq-row:hover{
  background:#FAFCFE !important;
}
.ph-init-row.to-me,
.ph-init-row.i-initiated,
.ph-init-row.st-closed{
  background:#fff !important;
}
.ph-init-date-divider,
.ph-date-divider{
  background:#F4F7FB !important;
  color:var(--ph-muted) !important;
  border-color:var(--ph-border-soft) !important;
}
.ph-init-needs-action-row{
  background:#FFF7F7 !important;
  box-shadow:inset 4px 0 0 var(--ph-danger) !important;
}

/* My Quotes: reduce visual noise and make rows cleaner */
.ph-myq-grid-shell{
  background:#F4F7FB !important;
  border-radius:16px !important;
  padding:8px !important;
}
.ph-myq-grid-head{
  border-radius:10px !important;
  margin-bottom:8px !important;
  box-shadow:none !important;
}
.ph-myq-grid-row{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:12px !important;
  margin-top:8px !important;
  box-shadow:var(--ph-shadow) !important;
}
.ph-myq-grid-row:hover{box-shadow:var(--ph-shadow-hover) !important;border-color:#B8C6D5 !important;}
.ph-myq-grid-row::before{background:#B8C6D5 !important;width:3px !important;}
.ph-myq-grid-row.st-closed::before{background:#8FBF9C !important;}
.ph-myq-grid-c.quote,
.ph-myq-grid-c.actions,
.ph-myq-grid-c.window{background:transparent !important;}
.ph-myq-grid-shell .ph-init-quote-title{font-size:13px !important;color:var(--ph-navy) !important;}
.ph-myq-grid-shell .ph-init-quote-terms{font-size:10px !important;color:var(--ph-muted) !important;}
.ph-myq-grid-shell .ph-init-quote-meta{font-size:11px !important;color:var(--ph-text-2) !important;}
.ph-myq-origin-badge,.ph-myq-summary-pill{
  background:#F7FAFC !important;
  color:var(--ph-text-2) !important;
  border-color:var(--ph-border) !important;
}
.ph-myq-summary-pill-total{background:var(--ph-navy) !important;color:#fff !important;border-color:var(--ph-navy) !important;}
.ph-myq-summary-pill-open{background:#FFF8E1 !important;color:var(--ph-warning) !important;border-color:#E7D28A !important;}
.ph-myq-summary-pill-new,.ph-myq-need-action{background:#FEE2E2 !important;color:var(--ph-danger) !important;border-color:#F5B5B5 !important;box-shadow:none !important;}

/* Deal and lifecycle cards inside My Quotes */
.phm-deal-card,
.phm-life-card,
.phm-life-summary-card{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}
.phm-life-summary-card:before{background:#B8C6D5 !important;}
.phm-life-summary-grid .phm-life-summary-card:nth-child(1):before,
.phm-life-summary-grid .phm-life-summary-card:nth-child(2):before,
.phm-life-summary-grid .phm-life-summary-card:nth-child(3):before{background:var(--ph-gold) !important;}
.phm-dsp-step{background:#E6EDF5 !important;}
.phm-dsp-step.is-on{background:#B8C6D5 !important;}
.phm-dsp-step.is-on:after{background:var(--ph-navy) !important;}
.phm-deal-sub,.phm-life-sub,.phm-life-dates{color:var(--ph-muted) !important;}
.phm-life-meta{color:var(--ph-navy) !important;}

/* Create Quote: reduce preview dominance and unify cards */
.phm-cq-shell{background:var(--ph-card) !important;}
.phm-cq-topnote{
  background:#F7FAFC !important;
  border-color:var(--ph-border) !important;
  border-radius:12px !important;
  color:var(--ph-text-2) !important;
}
.phm-cq-section{
  background:#fff !important;
  border:1px solid var(--ph-border) !important;
  border-radius:14px !important;
  box-shadow:var(--ph-shadow) !important;
  padding:18px !important;
}
.phm-cq-sectionhead h3{font-size:18px !important;}
.phm-cq-typebtn{
  background:#fff !important;
  border-color:var(--ph-border) !important;
  color:var(--ph-navy) !important;
  border-radius:10px !important;
}
.phm-cq-typebtn:hover{border-color:var(--ph-gold) !important;background:#FFFDF5 !important;}
.phm-cq-typebtn.is-active{
  background:var(--ph-navy) !important;
  color:#fff !important;
  border-color:var(--ph-navy) !important;
  box-shadow:none !important;
}
.phm-cq-pricehero{
  background:var(--ph-navy) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}
.phm-cq-pricepanel{
  background:#FAFCFE !important;
  border-color:var(--ph-border) !important;
  border-radius:12px !important;
}
.phm-cq-footer{
  background:#fff !important;
  border-color:var(--ph-border) !important;
  border-radius:14px !important;
  box-shadow:var(--ph-shadow-hover) !important;
  backdrop-filter:none !important;
}
.phm-cq-preview{
  background:#102847 !important;
  border:1px solid #244461 !important;
  border-radius:14px !important;
  box-shadow:0 8px 20px rgba(11,31,51,.14) !important;
}
.phm-cq-preview-kicker{color:#B8C6D5 !important;}
.phm-cq-preview-sub,.phm-cq-preview-market,.phm-cq-preview-side.is-empty{color:#D9E2EC !important;}
.phm-cq-preview-price{
  background:rgba(255,255,255,.07) !important;
  border-color:rgba(201,162,39,.42) !important;
  border-left:3px solid var(--ph-gold) !important;
  border-radius:10px !important;
  box-shadow:none !important;
}
.phm-cq-pitem{
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.13) !important;
  border-radius:10px !important;
}
.phm-cq-pitem span,.phm-cq-preview-note span{color:#B8C6D5 !important;}

/* Deal workspace: remove mixed styles, keep dark counterparty anchor but with premium gold */
.phm-deal-shell{background:#fff !important;}
.phm-deal-topbar{border-bottom-color:var(--ph-border-soft) !important;}
.phm-deal-topbar-main .phm-h1{font-size:32px !important;}
.phm-deal-summary,
.phm-deal-section,
.phm-deal-snapshot,
.phm-deal-inner-card,
.phm-deal-identity,
.phm-deal-inline-snapshot,
.phm-chat-form{
  background:#fff !important;
  border-color:var(--ph-border) !important;
  border-radius:12px !important;
  box-shadow:var(--ph-shadow) !important;
}
.phm-deal-section-head:before{background:var(--ph-gold) !important;opacity:1 !important;width:3px !important;}
.phm-deal-section-head h3,.phm-subsection-title{color:var(--ph-navy) !important;font-size:18px !important;}
.phm-kv.phm-kv-deal > div:nth-child(odd),
.phm-kv-deal > div:nth-child(odd),
.phm-kv-counterparty > div:nth-child(odd){color:var(--ph-muted) !important;}
.phm-msg.me{background:var(--ph-navy) !important;}
.phm-msg.them{background:#fff !important;border-color:var(--ph-border) !important;}
.phm-msg-system,
.phm-msg-system-info{background:#F3F8FF !important;border-left-color:#3B82F6 !important;}
.phm-msg-system-warn{background:#FFF8E1 !important;border-left-color:var(--ph-gold) !important;}
.phm-msg-system-critical,.phm-msg-system-alert{background:#FFF1F2 !important;border-left-color:var(--ph-danger) !important;}
.phm-counterparty-card{
  background:var(--ph-navy) !important;
  border-color:var(--ph-navy-3) !important;
  border-left:4px solid var(--ph-gold) !important;
  box-shadow:0 8px 20px rgba(11,31,51,.14) !important;
}
.phm-counterparty-card .phm-kv-counterparty strong{color:var(--ph-gold) !important;}

/* Tables: quieter headers, better alignment */
.phm-table th{
  background:#F7FAFC !important;
  color:var(--ph-text) !important;
  border-bottom:1px solid var(--ph-border) !important;
  font-size:11px !important;
  letter-spacing:.06em !important;
}
.phm-table td{border-bottom:1px solid var(--ph-border-soft) !important;color:var(--ph-text) !important;}
.phm-table tr:hover td{background:#FAFCFE !important;}

/* Reduce random gradients globally inside market plugin */
.phm-popup-badge,
.phm-popup-meta,
.phm-quote-hero,
.phm-detailed-panel,
.phm-market-meta-pill,
.phm-life-summary-card,
.phm-deal-card,
.phm-life-card{
  background:#fff !important;
}

/* Keep critical status colors, but less aggressive */
.phm-popup{border-color:var(--ph-border) !important;box-shadow:0 24px 60px rgba(11,31,51,.20) !important;}
.phm-popup-title{color:var(--ph-navy) !important;}
.phm-popup-body{color:var(--ph-text-2) !important;}

/* Responsive tuning */
@media (max-width:1180px){
  .ph-init-kpis,.ph-myq-kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:860px){
  .ph-init-kpis,.ph-myq-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .phm-h1{font-size:22px !important;}
  .phm-deal-topbar-main .phm-h1{font-size:28px !important;}
}
@media (max-width:640px){
  .ph-init-shell,.ph-myq-shell,.phm-market-shell,.phm-cq-shell,.phm-deal-shell{padding:14px !important;border-radius:14px !important;}
  .ph-init-kpis,.ph-myq-kpis{grid-template-columns:1fr 1fr !important;gap:8px !important;}
  .ph-init-kpi{min-height:62px !important;padding:9px 10px !important;}
  .ph-init-kpi .kpi-value{font-size:24px !important;}
  .phm-market-title{font-size:20px !important;}
  .phm-cq-preview{box-shadow:none !important;}
}
@media (max-width:420px){
  .ph-init-kpis,.ph-myq-kpis{grid-template-columns:1fr !important;}
}

/* Quote Created success modal v2 */
.phm-quote-created-v2{width:min(860px,calc(100vw - 32px));padding:28px 28px 22px;border-radius:24px;box-shadow:0 34px 90px rgba(11,35,64,.26)}
.phm-quote-created-v2 .phm-popup-close{right:18px;top:18px;width:42px;height:42px;font-size:26px}
.phm-qc-layout{display:grid;grid-template-columns:150px minmax(0,1fr) 280px;gap:20px;align-items:start}
.phm-qc-left{display:flex;justify-content:center;padding-top:30px}
.phm-qc-check{width:94px;height:94px;border-radius:999px;background:linear-gradient(180deg,#28c96f,#14a652);color:#fff;display:flex;align-items:center;justify-content:center;font-size:52px;font-weight:900;box-shadow:0 16px 34px rgba(20,166,82,.28),0 0 0 16px rgba(40,201,111,.12)}
.phm-qc-main{min-width:0;padding-top:8px}
.phm-qc-badge{background:#e8f8ee;border-color:#bce9ca;color:#087a39;margin-bottom:14px}
.phm-qc-card,.phm-qc-side-card{background:#fff;border:1px solid #dfe6f0;border-radius:18px;box-shadow:0 8px 22px rgba(11,35,64,.04)}
.phm-qc-hero{padding:18px 20px;margin:20px 0 12px;background:linear-gradient(180deg,#fbfefd,#f4fbf7)}
.phm-qc-quote-label{font-size:13px;color:#64748b;font-weight:700;margin-bottom:4px}
.phm-qc-quote-row{display:flex;align-items:center;gap:12px}.phm-qc-quote-row strong{font-size:28px;color:#071b34;line-height:1}
.phm-status-pill{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;border:1px solid #a7f3d0;color:#087a39;font-size:11px;font-weight:900;padding:5px 9px;letter-spacing:.02em;text-transform:uppercase}
.phm-qc-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dfe6f0;border-radius:16px;overflow:hidden;background:#fff;margin-bottom:12px}
.phm-qc-item{padding:14px 16px;border-bottom:1px solid #e7edf5;min-width:0}.phm-qc-item:nth-child(odd){border-right:1px solid #e7edf5}.phm-qc-item:nth-last-child(-n+2){border-bottom:0}
.phm-qc-item span{display:block;color:#64748b;font-size:12px;font-weight:700;margin-bottom:6px}.phm-qc-item strong{display:block;color:#071b34;font-size:14px;font-weight:900;line-height:1.3;word-break:break-word}
.phm-qc-visible{border:1px solid #bce9ca;background:#f0fbf4;color:#166534;border-radius:14px;padding:11px 14px;font-size:14px}.phm-qc-visible strong{font-weight:900;color:#087a39;text-transform:uppercase}
.phm-qc-side{display:flex;flex-direction:column;gap:14px;padding-top:58px}.phm-qc-side-card{padding:16px 18px}.phm-qc-side-card h3{margin:0 0 14px;color:#0b2340;font-size:18px;line-height:1.2;font-weight:900}
.phm-qc-next{padding:12px 0;border-top:1px solid #e7edf5}.phm-qc-next:first-of-type{border-top:0;padding-top:0}.phm-qc-next b{display:block;color:#0b2340;font-size:14px;margin-bottom:4px}.phm-qc-next span{display:block;color:#51627f;font-size:13px;line-height:1.35}
.phm-qc-details dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:0}.phm-qc-details dt{color:#64748b;font-size:13px}.phm-qc-details dd{margin:0;text-align:right;color:#0b2340;font-size:13px;font-weight:800}
.phm-qc-actions{justify-content:flex-end;margin-top:22px}.phm-qc-actions .phm-btn{min-width:190px;text-align:center}.phm-qc-actions .phm-btn.secondary{background:#fff;color:#0b2340;border:1px solid #d8dee8}
@media (max-width: 900px){.phm-quote-created-v2{width:min(720px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto}.phm-qc-layout{grid-template-columns:90px minmax(0,1fr)}.phm-qc-left{padding-top:42px}.phm-qc-check{width:70px;height:70px;font-size:38px}.phm-qc-side{grid-column:1 / -1;padding-top:0;display:grid;grid-template-columns:1fr 1fr}.phm-qc-actions{justify-content:stretch}.phm-qc-actions .phm-btn{flex:1 1 auto}}
@media (max-width: 640px){.phm-quote-created-v2{padding:22px 18px 18px}.phm-qc-layout{display:block}.phm-qc-left{padding:2px 0 14px;justify-content:flex-start}.phm-qc-check{width:64px;height:64px;font-size:34px;box-shadow:0 12px 26px rgba(20,166,82,.22),0 0 0 10px rgba(40,201,111,.12)}.phm-qc-grid{grid-template-columns:1fr}.phm-qc-item,.phm-qc-item:nth-child(odd){border-right:0}.phm-qc-item:nth-last-child(2){border-bottom:1px solid #e7edf5}.phm-qc-side{display:block}.phm-qc-side-card{margin-top:12px}.phm-qc-details dl{grid-template-columns:1fr}.phm-qc-details dd{text-align:left}.phm-qc-actions .phm-btn{min-width:0;width:100%}}

/* Quote Created success modal - strict PetroHub style */
.phm-qc-strict{width:min(760px,calc(100vw - 32px)) !important;max-height:calc(100vh - 32px) !important;overflow:auto !important;padding:26px 28px 22px !important;border-radius:18px !important;background:#fff !important;border:1px solid #d8e1ec !important;box-shadow:0 28px 80px rgba(11,35,64,.28) !important;color:#0b2340 !important;}
.phm-qc-strict .phm-popup-close{right:18px !important;top:18px !important;width:38px !important;height:38px !important;border-radius:12px !important;border:1px solid #d8e1ec !important;background:#fff !important;color:#0b2340 !important;font-size:24px !important;line-height:1 !important;}
.phm-qcs-head{display:flex;gap:18px;align-items:flex-start;padding-right:48px;margin-bottom:20px;}
.phm-qcs-icon{flex:0 0 54px;width:54px;height:54px;border-radius:16px;background:#e9f8ef;border:1px solid #bfe8cd;color:#11833d;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;}
.phm-qcs-titlewrap{min-width:0;}
.phm-qc-strict .phm-popup-title{font-size:30px !important;line-height:1.12 !important;margin:8px 0 8px !important;color:#0b2340 !important;font-weight:900 !important;letter-spacing:-.02em !important;}
.phm-qc-strict .phm-popup-body{font-size:15px !important;line-height:1.45 !important;color:#51627f !important;margin:0 !important;}
.phm-qcs-badge{display:inline-flex !important;align-items:center !important;gap:7px !important;margin:0 !important;padding:6px 12px !important;border:1px solid #bfe8cd !important;border-radius:999px !important;background:#f2fbf5 !important;color:#11833d !important;font-size:11px !important;font-weight:900 !important;letter-spacing:.06em !important;text-transform:uppercase !important;}
.phm-qcs-badge:before{content:'✓';font-weight:900;}
.phm-qcs-topline{display:grid;grid-template-columns:1fr 1fr 1.2fr 1.2fr;border:1px solid #dfe6f0;border-radius:14px;background:#fbfdff;margin-bottom:16px;overflow:hidden;}
.phm-qcs-topline>div{padding:14px 16px;border-right:1px solid #e7edf5;min-width:0;}
.phm-qcs-topline>div:last-child{border-right:0;}
.phm-qcs-topline span,.phm-qcs-summary span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:6px;}
.phm-qcs-topline strong,.phm-qcs-summary strong{display:block;color:#0b2340;font-size:15px;font-weight:900;line-height:1.25;word-break:break-word;}
.phm-qc-strict .phm-status-pill{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;border:1px solid #a7f3d0;color:#087a39;font-style:normal;font-size:11px;font-weight:900;padding:5px 9px;letter-spacing:.02em;text-transform:uppercase;}
.phm-qcs-section{border:1px solid #dfe6f0;border-radius:14px;background:#fff;margin-bottom:16px;overflow:hidden;}
.phm-qcs-section-title{padding:14px 16px;border-bottom:1px solid #e7edf5;color:#0b2340;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;background:#fbfdff;}
.phm-qcs-summary{display:grid;grid-template-columns:1fr 1fr;}
.phm-qcs-summary>div{padding:14px 16px;border-bottom:1px solid #e7edf5;min-width:0;}
.phm-qcs-summary>div:nth-child(odd){border-right:1px solid #e7edf5;}
.phm-qcs-summary>div:nth-last-child(-n+2){border-bottom:0;}
.phm-qcs-next{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #dfe6f0;border-radius:14px;background:#fff;margin-bottom:20px;overflow:hidden;}
.phm-qcs-next>div{padding:14px 16px;border-right:1px solid #e7edf5;}
.phm-qcs-next>div:last-child{border-right:0;}
.phm-qcs-next b{display:block;color:#0b2340;font-size:13px;font-weight:900;margin-bottom:5px;}
.phm-qcs-next span{display:block;color:#51627f;font-size:12px;line-height:1.35;}
.phm-qc-strict .phm-qc-actions{display:flex !important;justify-content:flex-end !important;gap:12px !important;margin-top:0 !important;}
.phm-qc-strict .phm-qc-actions .phm-btn{min-width:170px !important;height:46px !important;border-radius:12px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;font-weight:900 !important;text-decoration:none !important;}
.phm-qc-strict .phm-qc-actions .phm-btn.secondary{background:#fff !important;color:#0b2340 !important;border:1px solid #d8dee8 !important;}
@media (max-width:760px){.phm-qc-strict{width:calc(100vw - 20px) !important;padding:22px 18px 18px !important;}.phm-qcs-head{gap:14px;padding-right:40px}.phm-qcs-icon{flex-basis:46px;width:46px;height:46px;border-radius:14px;font-size:26px}.phm-qc-strict .phm-popup-title{font-size:25px !important}.phm-qcs-topline,.phm-qcs-summary,.phm-qcs-next{grid-template-columns:1fr !important}.phm-qcs-topline>div,.phm-qcs-summary>div,.phm-qcs-next>div{border-right:0 !important;border-bottom:1px solid #e7edf5 !important}.phm-qcs-topline>div:last-child,.phm-qcs-summary>div:last-child,.phm-qcs-next>div:last-child{border-bottom:0 !important}.phm-qc-strict .phm-qc-actions{flex-direction:column-reverse}.phm-qc-strict .phm-qc-actions .phm-btn{width:100% !important;}}

/* PetroHub strict accept confirmation modal */
.phm-accept-confirm-overlay{position:fixed;inset:0;z-index:99999;background:rgba(11,35,64,.58);backdrop-filter:blur(4px);display:flex!important;align-items:center;justify-content:center;padding:24px}.phm-accept-confirm-overlay[style*="display:none"]{display:none!important}.phm-accept-confirm-box{position:relative;width:min(520px,calc(100vw - 32px));background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 28px 80px rgba(11,35,64,.25);padding:28px 30px 24px;color:#0f172a}.phm-accept-confirm-x{position:absolute;right:18px;top:16px;width:38px;height:38px;border-radius:999px;border:1px solid #dbe3ee;background:#fff;color:#0b2340;font-size:24px;line-height:1;cursor:pointer}.phm-accept-confirm-kicker{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid #dbe3ee;background:#f8fafc;color:#0b2340;font-size:12px;font-weight:900;letter-spacing:.08em}.phm-accept-confirm-box h3{margin:16px 44px 10px 0;color:#0b2340;font-size:28px;line-height:1.15;font-weight:900}.phm-accept-confirm-box p{margin:0;color:#475569;font-size:15px;line-height:1.55}.phm-accept-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.phm-accept-confirm-actions .phm-btn{min-width:142px}@media(max-width:560px){.phm-accept-confirm-overlay{padding:14px}.phm-accept-confirm-box{padding:22px 18px 18px;border-radius:16px}.phm-accept-confirm-box h3{font-size:24px}.phm-accept-confirm-actions{flex-direction:column-reverse}.phm-accept-confirm-actions .phm-btn{width:100%}}

/* Deal accept confirmation summary */
.phm-accept-confirm-box{width:min(760px,calc(100vw - 32px)) !important;max-height:calc(100vh - 32px);overflow:auto;border-radius:18px !important;padding:26px 28px 22px !important}
.phm-accept-confirm-kicker{background:#f2fbf5 !important;border-color:#bfe8cd !important;color:#11833d !important}
.phm-accept-confirm-lead{max-width:620px}
.phm-accept-confirm-summary{margin-top:18px}
.phm-accept-summary{display:flex;flex-direction:column;gap:14px}
.phm-accept-summary-top,.phm-accept-summary-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dfe6f0;border-radius:14px;overflow:hidden;background:#fff}
.phm-accept-summary-main{grid-template-columns:1.2fr .8fr 1fr 1fr}
.phm-accept-summary-item{min-width:0;padding:14px 16px;border-right:1px solid #e7edf5;background:#fff}
.phm-accept-summary-item:last-child{border-right:0}
.phm-accept-summary-item span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-bottom:6px}
.phm-accept-summary-item strong{display:block;color:#0b2340;font-size:14px;font-weight:900;line-height:1.25;word-break:break-word}
.phm-accept-summary-item.is-price strong{font-size:20px;letter-spacing:0}
.phm-accept-summary-item.is-deal strong{color:#11833d}
.phm-accept-next{border:1px solid #bfe8cd;background:#f2fbf5;border-radius:14px;padding:13px 16px;color:#31533d}
.phm-accept-next b{display:block;color:#0b2340;font-size:13px;font-weight:900;margin-bottom:4px}
.phm-accept-next span{display:block;font-size:13px;line-height:1.4}
@media(max-width:760px){.phm-accept-summary-top,.phm-accept-summary-main{grid-template-columns:1fr}.phm-accept-summary-item{border-right:0;border-bottom:1px solid #e7edf5}.phm-accept-summary-item:last-child{border-bottom:0}.phm-accept-summary-item.is-price strong{font-size:18px}}

/* PetroHub: initiate confirmation modal */
.phm-initiate-confirm-overlay{position:fixed;inset:0;z-index:99999;background:rgba(11,35,64,.58);backdrop-filter:blur(4px);display:flex!important;align-items:center;justify-content:center;padding:24px}.phm-initiate-confirm-overlay[style*="display:none"]{display:none!important}.phm-initiate-confirm-box{position:relative;width:min(540px,calc(100vw - 32px));background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 28px 80px rgba(11,35,64,.25);padding:28px 30px 24px;color:#0f172a}.phm-initiate-confirm-x{position:absolute;right:18px;top:16px;width:38px;height:38px;border-radius:999px;border:1px solid #dbe3ee;background:#fff;color:#0b2340;font-size:24px;line-height:1;cursor:pointer}.phm-initiate-confirm-kicker{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid #dbe3ee;background:#f8fafc;color:#0b2340;font-size:12px;font-weight:900;letter-spacing:.08em}.phm-initiate-confirm-box h3{margin:16px 44px 10px 0;color:#0b2340;font-size:28px;line-height:1.15;font-weight:900}.phm-initiate-confirm-box p{margin:0;color:#475569;font-size:15px;line-height:1.55}.phm-initiate-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.phm-initiate-confirm-actions .phm-btn{min-width:142px}@media(max-width:560px){.phm-initiate-confirm-overlay{padding:14px}.phm-initiate-confirm-box{padding:22px 18px 18px;border-radius:16px}.phm-initiate-confirm-box h3{font-size:24px}.phm-initiate-confirm-actions{flex-direction:column-reverse}.phm-initiate-confirm-actions .phm-btn{width:100%}}
