/* Kârlı Satış Fiyatı Hesaplayıcı — scoped under .profitable-price-page */
.profitable-price-page{
  --pp-bg:#0F1117;
  --pp-card:#171A22;
  --pp-border:#2A2F3A;
  --pp-gold:#D6B04D;
  --pp-muted:#9CA3AF;
  --pp-pos:#62D26F;
  --pp-text:#FFFFFF;
  --pp-row:#1A1E27;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
  max-width:100%;
  min-width:0;
  padding:10px 12px 12px;
  margin:0;
  color:var(--pp-text);
  background:var(--pp-bg);
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  height:auto;
  min-height:0;
  overflow:visible;
  font-size:12.5px;
  line-height:1.3;
}
.profitable-price-page *,
.profitable-price-page *::before,
.profitable-price-page *::after{box-sizing:border-box}

/* ---- Hero ---- */
.profitable-price-page .pp-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:0;
  padding:2px 0 0;
  flex:0 0 auto;
}
.profitable-price-page .pp-hero-main{min-width:0;flex:1 1 auto}
.profitable-price-page .pp-hero h2{
  margin:0;
  font-size:18px;
  font-weight:750;
  letter-spacing:.01em;
  color:var(--pp-text);
  line-height:1.2;
}
.profitable-price-page .pp-sub{
  margin:2px 0 0;
  font-size:10.5px;
  color:var(--pp-muted);
  line-height:1.3;
  max-width:720px;
}
.profitable-price-page .pp-chips{
  display:flex;flex-wrap:wrap;gap:5px;flex:0 0 auto;justify-content:flex-end;
}
.profitable-price-page .pp-chip{
  display:inline-flex;align-items:center;height:20px;padding:0 8px;
  border-radius:999px;font-size:9.5px;font-weight:650;
  color:rgba(245,215,110,.92);
  border:1px solid rgba(212,175,55,.28);
  background:rgba(212,175,55,.08);
  white-space:nowrap;
}

/* ---- Filters ---- */
.profitable-price-page .pp-cmd{
  padding:8px 10px;
  border-radius:10px;
  background:var(--pp-card);
  border:1px solid var(--pp-border);
  display:flex;flex-direction:column;gap:8px;
}
.profitable-price-page .pp-cmd-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:8px;
  width:100%;
  min-width:0;
}
.profitable-price-page .pp-cmd-finance{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:flex-end;
}
.profitable-price-page .pp-cmd-finance > .pp-field{
  flex:1 1 150px;
  max-width:220px;
  width:auto;
}
.profitable-price-page .pp-cmd-finance > .pp-field.pp-grow{
  flex:1 1 180px;
  max-width:280px;
}
.profitable-price-page .pp-cmd-finance > .pp-field.pp-narrow{
  flex:0 1 110px;
  max-width:130px;
}
.profitable-price-page .pp-cmd-staff-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:flex-end;
  max-width:560px;
}
.profitable-price-page .pp-cmd-staff-row > .pp-field{
  flex:1 1 160px;
  max-width:240px;
  width:auto;
}
.profitable-price-page .pp-cmd-pos{display:none}
.profitable-price-page .pp-cmd-pos.is-on{
  display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;
}
.profitable-price-page .pp-field{
  display:flex;flex-direction:column;gap:3px;
  min-width:0;width:100%;max-width:none;
  font-size:10px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;color:var(--pp-muted);
}
.profitable-price-page .pp-field.pp-narrow{max-width:130px}
.profitable-price-page .pp-field.is-hidden{display:none !important}
.profitable-price-page .pp-field input,
.profitable-price-page .pp-field select{
  height:33px;min-height:33px;width:100%;
  padding:0 8px;border-radius:8px;
  border:1px solid var(--pp-border);
  background:var(--pp-bg);color:var(--pp-text);
  font-size:12px;font-weight:600;
  font-family:inherit;line-height:1.2;
}
.profitable-price-page #ppModel:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.profitable-price-page .pp-warn{
  padding:6px 10px;border-radius:8px;font-size:11px;font-weight:600;
  color:#fecaca;background:rgba(239,68,68,.1);border:1px solid rgba(248,113,113,.3);
}
.profitable-price-page .pp-busy{
  padding:6px 10px;border-radius:8px;font-size:11px;font-weight:650;
  color:rgba(245,215,110,.92);
  background:rgba(212,175,55,.08);
  border:1px solid rgba(212,175,55,.22);
}

/* Money — never inherit global .num (30px) */
.profitable-price-page .num,
.profitable-price-page .pp-money{
  display:inline-block;
  max-width:100%;
  font-size:12.5px !important;
  font-weight:700 !important;
  line-height:1.25 !important;
  color:var(--pp-text);
  white-space:nowrap !important;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
  transform:none !important;
  position:static !important;
  float:none !important;
}
.profitable-price-page .pp-money.is-gold{color:var(--pp-gold) !important}
.profitable-price-page .pp-money.is-pos{color:var(--pp-pos) !important}
.profitable-price-page .pp-money.is-emph{font-size:12.5px !important;font-weight:780 !important}
.profitable-price-page .pp-money.is-staff-price{font-size:13.5px !important;font-weight:800 !important}
.profitable-price-page .pp-muted{
  color:var(--pp-muted);font-size:10.5px;font-weight:600;line-height:1.3;
}
.profitable-price-page .pp-dash{
  color:var(--pp-muted);font-size:12px;font-weight:650;
}

/* ---- Detail (inline, no drawer) ---- */
.profitable-price-page .pp-detail{
  padding:8px 10px;border-radius:10px;
  background:var(--pp-card);border:1px solid rgba(212,175,55,.28);
}
.profitable-price-page .pp-detail-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:6px;
}
.profitable-price-page .pp-detail-head h3{
  margin:0;font-size:12.5px;font-weight:750;color:var(--pp-gold);
}
.profitable-price-page .pp-detail-close{
  width:26px;height:26px;border-radius:7px;padding:0;
  display:inline-grid;place-items:center;
  font-size:15px;font-weight:700;line-height:1;cursor:pointer;
  color:rgba(245,215,110,.92);
  border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.08);
}
.profitable-price-page .pp-detail-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;
}
.profitable-price-page .pp-detail-dual{gap:10px 16px}
.profitable-price-page .pp-detail-pane{
  min-width:0;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
}
.profitable-price-page .pp-detail-pane-title{
  margin:0 0 6px;
  font-size:10px;
  font-weight:780;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#c4b896;
}
.profitable-price-page .pp-staff-prices .pp-stack-row{justify-content:flex-start;gap:6px}
.profitable-price-page .pp-break{
  list-style:none;margin:0;padding:0;
}
.profitable-price-page .pp-break li{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:4px 0;border-bottom:1px solid rgba(255,255,255,.05);
  font-size:11.5px;
}
.profitable-price-page .pp-break .pp-k{color:var(--pp-muted);font-weight:600}
.profitable-price-page .pp-break .pp-money{font-size:12.5px !important}

/* ---- Table: no inner vertical scroll ---- */
.profitable-price-page .pp-table-card{
  border-radius:10px;border:1px solid var(--pp-border);background:var(--pp-card);
  height:auto;max-height:none;
  overflow:visible;width:100%;
}
.profitable-price-page .pp-table-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:6px 10px;border-bottom:1px solid rgba(212,175,55,.22);
}
.profitable-price-page .pp-table-head h3{
  margin:0;font-size:10.5px;font-weight:780;letter-spacing:.06em;
  text-transform:uppercase;color:#c4b896;
}
.profitable-price-page .pp-count{font-size:10.5px;color:var(--pp-muted);font-weight:650}

.profitable-price-page .pp-table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  background:transparent;
}
.profitable-price-page .pp-w-product{width:20%}
.profitable-price-page .pp-w-stock{width:6%}
.profitable-price-page .pp-w-buy{width:10%}
.profitable-price-page .pp-w-list{width:11%}
.profitable-price-page .pp-w-sales{width:21%}
.profitable-price-page .pp-w-net{width:10%}
.profitable-price-page .pp-w-comm{width:12%}
.profitable-price-page .pp-w-act{width:10%}
.profitable-price-page .pp-w-staff-product{width:34%}
.profitable-price-page .pp-w-staff-stock{width:10%}
.profitable-price-page .pp-w-staff-list{width:20%}
.profitable-price-page .pp-w-staff-price{width:26%}
.profitable-price-page .pp-w-staff-act{width:10%}

.profitable-price-page .pp-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  height:32px;
  padding:0 7px;
  text-align:left;vertical-align:middle;
  font-size:10.5px !important;font-weight:780;letter-spacing:.04em;text-transform:uppercase;
  color:var(--pp-gold) !important;
  background:#141414 !important;
  border-bottom:1px solid rgba(212,175,55,.3);
  white-space:nowrap;
}
.profitable-price-page .pp-table tbody td{
  height:48px;
  min-height:45px;
  max-height:52px;
  padding:6px 7px !important;
  vertical-align:middle;
  font-size:12px !important;
  font-weight:600;
  color:rgba(243,244,246,.92) !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  background:transparent;
  overflow:hidden;
  line-height:1.25;
}
.profitable-price-page .pp-table tbody td .pp-money,
.profitable-price-page .pp-table tbody td .pp-muted,
.profitable-price-page .pp-table tbody td .pp-dash{
  font-size:12.5px !important;
  line-height:1.25 !important;
}
.profitable-price-page .pp-table tbody td .pp-muted{font-size:10.5px !important}
.profitable-price-page .pp-table tbody tr:nth-child(even) td{
  background:rgba(255,255,255,.015);
}
.profitable-price-page .pp-table tbody tr.pp-row-click{
  cursor:pointer;
}
.profitable-price-page .pp-table tbody tr.pp-row-click:hover td{
  background:rgba(212,175,55,.08);
}
.profitable-price-page .pp-table tbody tr.pp-row-click.is-selected td{
  background:rgba(212,175,55,.12);
  box-shadow:inset 3px 0 0 var(--pp-gold);
}

.profitable-price-page .pp-brand{
  font-size:10.5px;font-weight:650;color:var(--pp-muted);
  line-height:1.2;margin-bottom:1px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.profitable-price-page .pp-model{
  font-size:12px;font-weight:700;color:var(--pp-text);
  line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;max-height:2.5em;
}
.profitable-price-page .pp-stack{
  display:flex;flex-direction:column;gap:1px;min-width:0;align-items:flex-start;
}
.profitable-price-page .pp-stack-row{
  display:flex;align-items:baseline;gap:4px;min-width:0;max-width:100%;
  white-space:nowrap;overflow:hidden;
}
.profitable-price-page .pp-tip{
  display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;padding:0;margin-top:1px;
  border:0;background:transparent;color:var(--pp-muted);
  font-size:10px;cursor:help;line-height:1;
}
.profitable-price-page .pp-row-actions{
  display:inline-flex;flex-direction:column;gap:3px;align-items:stretch;width:100%;
}
.profitable-price-page .pp-act{
  height:26px;min-height:26px;max-height:28px;
  padding:0 7px;border-radius:6px;
  font-size:10.5px !important;font-weight:700;cursor:pointer;
  color:rgba(245,215,110,.92);
  border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.08);
  font-family:inherit;line-height:1;white-space:nowrap;
}
.profitable-price-page .pp-act:hover{
  background:rgba(212,175,55,.16);
}

.profitable-price-page .pp-empty{
  padding:18px;text-align:center;color:var(--pp-muted);font-size:12px;
}
.profitable-price-page .pp-foot{
  display:flex;align-items:center;gap:6px;
  font-size:10.5px;color:var(--pp-muted);line-height:1.3;
  padding:1px 2px 0;
}

.profitable-price-page,
.profitable-price-page .pp-table-card,
.profitable-price-page .pp-table{
  overflow:visible;
}

/* Allow normal vertical page scroll for long product lists */
#app.theme-dashboard-pro:has(.profitable-price-page) #content{
  overflow:auto !important;
  overflow-x:hidden !important;
}

@media (max-width:1200px){
  .profitable-price-page .pp-detail-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .profitable-price-page .pp-cmd-finance > .pp-field,
  .profitable-price-page .pp-cmd-staff-row > .pp-field{
    max-width:none;
    flex:1 1 140px;
  }
  .profitable-price-page .pp-hero{flex-wrap:wrap}
}

/* ============================================================
   2026-08 — Fiyat Karar Merkezi / premium compact cockpit
   ============================================================ */
#app.theme-dashboard-pro:has(.profitable-price-page) #content{
  background:
    radial-gradient(circle at 84% -18%,rgba(214,176,77,.055),transparent 28%),
    #0d0f14 !important;
  padding:12px 16px 14px !important;
  overflow-x:hidden !important;
}

.profitable-price-page{
  --pp-bg:#0d0f14;
  --pp-card:#15171d;
  --pp-card-2:#191c23;
  --pp-border:#2b2f38;
  --pp-border-soft:rgba(255,255,255,.065);
  --pp-gold:#d9b84f;
  --pp-muted:#9298a3;
  --pp-pos:#68d77a;
  --pp-info:#72a0ff;
  --pp-warning:#e4a64b;
  --pp-text:#f4f4f5;
  position:relative;
  gap:10px;padding:0;border:0;border-radius:0;background:transparent;
  font-size:11px;
}

/* Hero / policy */
.profitable-price-page .pp-hero{
  min-height:76px;padding:13px 16px;border-radius:13px;
  border:1px solid var(--pp-border);
  background:
    linear-gradient(105deg,rgba(217,184,79,.085),transparent 32%),
    linear-gradient(180deg,#181a20,#14161b);
  box-shadow:0 16px 40px rgba(0,0,0,.15);
}
.profitable-price-page .pp-eyebrow,.profitable-price-page .pp-section-kicker,.profitable-price-page .pp-table-kicker{
  display:inline-flex;align-items:center;gap:6px;
  color:#c9a947;font-size:8.5px;font-weight:800;letter-spacing:.13em;line-height:1;
}
.profitable-price-page .pp-eyebrow i{
  width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--pp-gold);
  box-shadow:0 0 0 4px rgba(217,184,79,.08);
}
.profitable-price-page .pp-hero h2{margin-top:6px;font-size:19px;letter-spacing:-.02em}
.profitable-price-page .pp-sub{margin-top:3px;font-size:10px;line-height:1.35;color:#a0a5af}
.profitable-price-page .pp-policy{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto}
.profitable-price-page .pp-policy-title{font-size:8px;color:#858b96;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.profitable-price-page .pp-chip{
  height:22px;padding:0 8px;font-size:8.5px;border-color:rgba(217,184,79,.2);
  background:rgba(217,184,79,.055);color:#e1c769;
}

/* Parameter architecture */
.profitable-price-page .pp-cmd{
  padding:10px 12px 11px;border-radius:12px;gap:9px;
  background:linear-gradient(180deg,#181a21,#15171d);border-color:var(--pp-border);
}
.profitable-price-page .pp-cmd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.profitable-price-page .pp-cmd-head h3{margin:4px 0 2px;color:#eef0f2;font-size:11.5px;line-height:1.2}
.profitable-price-page .pp-cmd-head p{margin:0;color:var(--pp-muted);font-size:8.5px;line-height:1.3}
.profitable-price-page .pp-auto{
  display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border-radius:999px;
  border:1px solid var(--pp-border-soft);background:rgba(255,255,255,.025);
  color:#aeb3bc;font-size:8px;font-weight:700;white-space:nowrap;
}
.profitable-price-page .pp-auto i{width:6px;height:6px;border-radius:50%;background:var(--pp-pos);box-shadow:0 0 0 3px rgba(104,215,122,.08)}
.profitable-price-page .pp-cmd-row{gap:7px;flex-wrap:nowrap}
.profitable-price-page .pp-cmd-finance{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(2,minmax(130px,1fr)) repeat(2,minmax(105px,.65fr)) repeat(2,minmax(135px,.85fr));gap:7px;width:100%}
.profitable-price-page .pp-cmd-finance > .pp-field,
.profitable-price-page .pp-cmd-finance > .pp-field.pp-grow,
.profitable-price-page .pp-cmd-finance > .pp-field.pp-narrow{width:100%;max-width:none;min-width:0}
.profitable-price-page .pp-field{gap:4px;font-size:8.2px;letter-spacing:.045em;color:#a9aeb7}
.profitable-price-page .pp-field input,.profitable-price-page .pp-field select{
  height:31px;min-height:31px;padding:0 9px;border-radius:7px;
  border-color:#343842;background:#101218;font-size:10px;outline:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.profitable-price-page .pp-field input:hover,.profitable-price-page .pp-field select:hover{border-color:#464b56}
.profitable-price-page .pp-field input:focus,.profitable-price-page .pp-field select:focus{border-color:rgba(217,184,79,.7);box-shadow:0 0 0 3px rgba(217,184,79,.07);background:#12141a}
.profitable-price-page .pp-cmd-pos.is-on{padding-top:8px;border-top:1px solid var(--pp-border-soft)}

/* Decision summary */
.profitable-price-page .pp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.profitable-price-page .pp-metric{
  position:relative;display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 11px;
  overflow:hidden;border:1px solid var(--pp-border);border-radius:10px;
  background:linear-gradient(145deg,#191b22,#15171c);
}
.profitable-price-page .pp-metric::before{content:"";position:absolute;left:0;top:11px;width:2px;height:28px;background:#656a74;border-radius:0 2px 2px 0}
.profitable-price-page .pp-metric-dot{width:24px;height:24px;border-radius:7px;flex:0 0 auto;background:rgba(255,255,255,.045);border:1px solid var(--pp-border-soft)}
.profitable-price-page .pp-metric > div{display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:baseline;min-width:0}
.profitable-price-page .pp-metric small{grid-column:1/-1;color:#a9adb6;font-size:8px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.profitable-price-page .pp-metric strong{color:#f5f5f6;font-size:16px;line-height:1.1;font-variant-numeric:tabular-nums}
.profitable-price-page .pp-metric em{font-style:normal;color:#7f8591;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profitable-price-page .pp-metric.is-info::before{background:var(--pp-info)}
.profitable-price-page .pp-metric.is-info .pp-metric-dot{background:rgba(114,160,255,.1);border-color:rgba(114,160,255,.14)}
.profitable-price-page .pp-metric.is-success::before{background:var(--pp-pos)}
.profitable-price-page .pp-metric.is-success .pp-metric-dot{background:rgba(104,215,122,.09);border-color:rgba(104,215,122,.13)}
.profitable-price-page .pp-metric.is-warning::before{background:var(--pp-warning)}
.profitable-price-page .pp-metric.is-warning .pp-metric-dot{background:rgba(228,166,75,.09);border-color:rgba(228,166,75,.13)}

/* Price comparison table */
.profitable-price-page .pp-table-card{
  display:flex;flex-direction:column;min-height:0;overflow:hidden;
  border-radius:12px;border-color:var(--pp-border);background:#15171d;
}
.profitable-price-page .pp-table-head{min-height:48px;padding:8px 12px;border-color:rgba(217,184,79,.16)}
.profitable-price-page .pp-table-head > div{min-width:0}
.profitable-price-page .pp-table-head h3{margin:3px 0 1px;color:#eef0f2;font-size:11px;letter-spacing:0;text-transform:none}
.profitable-price-page .pp-table-head p{margin:0;color:var(--pp-muted);font-size:8px}
.profitable-price-page .pp-count{padding:5px 8px;border:1px solid var(--pp-border-soft);border-radius:999px;background:rgba(255,255,255,.025);font-size:8px}
.profitable-price-page .pp-table-scroll{
  flex:1 1 auto;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5c5231 #111318;
}
.profitable-price-page .pp-table-scroll::-webkit-scrollbar{width:8px;height:8px}
.profitable-price-page .pp-table-scroll::-webkit-scrollbar-track{background:#111318}
.profitable-price-page .pp-table-scroll::-webkit-scrollbar-thumb{border:2px solid #111318;border-radius:999px;background:#5c5231}
.profitable-price-page .pp-table-scroll::-webkit-scrollbar-thumb:hover{background:#77693d}
.profitable-price-page .pp-table thead th{
  position:sticky;top:0;z-index:6;height:30px;padding:0 8px;font-size:8px !important;letter-spacing:.055em;
  color:#cdb45e !important;background:#111318 !important;border-color:rgba(217,184,79,.16);
}
.profitable-price-page .pp-table tbody td{
  height:44px;min-height:44px;max-height:44px;padding:5px 8px !important;
  font-size:10px !important;border-color:rgba(255,255,255,.055) !important;
}
.profitable-price-page .pp-table tbody td .pp-money{font-size:10.5px !important}
.profitable-price-page .pp-table tbody td .pp-muted{font-size:8.5px !important}
.profitable-price-page .pp-stock-empty{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;line-height:1}
.profitable-price-page .pp-stock-empty strong{color:#d7a34d;font-size:10.5px;font-variant-numeric:tabular-nums}
.profitable-price-page .pp-stock-empty small{color:#8f96a2;font-size:7.5px;font-weight:700;white-space:nowrap}
.profitable-price-page .pp-list-price{color:#e6cf75 !important;font-weight:780 !important}
.profitable-price-page .pp-brand{font-size:8px;margin-bottom:2px;color:#8f96a2}
.profitable-price-page .pp-model{font-size:10.5px;line-height:1.2;-webkit-line-clamp:1;max-height:1.25em}
.profitable-price-page .pp-stack{gap:1px}
.profitable-price-page .pp-stack-row{gap:4px}
.profitable-price-page .pp-money.is-emph{font-size:11px !important}
.profitable-price-page .pp-row-actions{align-items:flex-start}
.profitable-price-page .pp-act{
  width:auto;min-width:62px;height:24px;min-height:24px;padding:0 8px;border-radius:6px;
  font-size:8.5px !important;background:rgba(217,184,79,.08);border-color:rgba(217,184,79,.26);
}
.profitable-price-page .pp-act.is-warning{color:#edbe69;border-color:rgba(228,166,75,.3);background:rgba(228,166,75,.08)}
.profitable-price-page .pp-tip{width:14px;height:14px;font-size:8px}
.profitable-price-page .pp-table tbody tr.pp-row-click:hover td{background:rgba(217,184,79,.055)}
.profitable-price-page .pp-table tbody tr.pp-row-click.is-selected td{background:rgba(217,184,79,.09);box-shadow:inset 2px 0 0 var(--pp-gold)}

/* Calculation breakdown appears as a compact decision card without extending the page */
.profitable-price-page .pp-detail{
  position:fixed;z-index:80;right:24px;top:150px;width:min(630px,calc(100vw - 48px));
  max-height:calc(100vh - 174px);overflow:auto;
  padding:12px;border-radius:12px;border-color:rgba(217,184,79,.3);
  background:rgba(20,22,28,.985);box-shadow:0 24px 70px rgba(0,0,0,.55);
}
.profitable-price-page .pp-detail-head{margin-bottom:9px}
.profitable-price-page .pp-detail-head h3{font-size:12px;color:#f0d26e}
.profitable-price-page .pp-detail-pane{padding:9px 10px;border-radius:9px;background:#111318}
.profitable-price-page .pp-break li{padding:4px 0;font-size:9.5px}
.profitable-price-page .pp-break .pp-money{font-size:10.5px !important}
.profitable-price-page .pp-staff-detail-grid{
  display:grid;grid-template-columns:1.45fr .5fr 1fr 1fr;gap:8px;
}
.profitable-price-page .pp-staff-fact{
  min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.065);border-radius:9px;
  background:#111318;display:flex;flex-direction:column;gap:4px;
}
.profitable-price-page .pp-staff-fact span{
  color:#8e949f;font-size:8px;font-weight:760;letter-spacing:.055em;text-transform:uppercase;
}
.profitable-price-page .pp-staff-fact strong{
  color:#eef0f3;font-size:10.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.profitable-price-page .pp-staff-fact.is-price strong{color:#e1c35d;font-variant-numeric:tabular-nums}
.profitable-price-page .pp-foot{padding:0 2px;font-size:8px;color:#797f8a}

@media (min-width:1201px){
  #app.theme-dashboard-pro:has(.profitable-price-page) #content{overflow:hidden !important}
  .profitable-price-page{height:100%;min-height:0;max-height:100%;overflow:hidden}
  .profitable-price-page .pp-table-card{flex:1 1 auto}
}

@media (min-width:1201px) and (max-height:820px){
  #app.theme-dashboard-pro:has(.profitable-price-page) #content{padding:8px 14px 10px !important}
  .profitable-price-page{gap:7px}
  .profitable-price-page .pp-hero{min-height:62px;padding:9px 13px}
  .profitable-price-page .pp-sub{display:none}
  .profitable-price-page .pp-cmd{padding:7px 10px 8px;gap:6px}
  .profitable-price-page .pp-cmd-head p{display:none}
  .profitable-price-page .pp-metric{min-height:44px;padding:6px 9px}
  .profitable-price-page .pp-metric-dot{width:21px;height:21px}
  .profitable-price-page .pp-metric strong{font-size:14px}
  .profitable-price-page .pp-table-head{min-height:42px;padding:6px 10px}
  .profitable-price-page .pp-table tbody td{height:40px;min-height:40px;max-height:40px;padding-top:4px !important;padding-bottom:4px !important}
  .profitable-price-page .pp-foot{display:none}
}

@media (max-width:1200px){
  #app.theme-dashboard-pro:has(.profitable-price-page) #content{overflow:auto !important}
  .profitable-price-page .pp-cmd-finance{grid-template-columns:repeat(3,minmax(0,1fr))}
  .profitable-price-page .pp-table-scroll{max-height:62vh}
  .profitable-price-page .pp-detail{
    position:fixed;left:12px;right:12px;top:72px;width:auto;
    max-height:calc(100vh - 84px);overflow:auto;
  }
  .profitable-price-page .pp-staff-detail-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .profitable-price-page .pp-hero{align-items:flex-start;flex-direction:column}
  .profitable-price-page .pp-policy{align-items:flex-start}
  .profitable-price-page .pp-chips{justify-content:flex-start}
  .profitable-price-page .pp-cmd-finance{grid-template-columns:1fr 1fr}
  .profitable-price-page .pp-metrics{grid-template-columns:1fr 1fr}
  .profitable-price-page .pp-table-scroll{overflow:auto}
  .profitable-price-page .pp-table{min-width:850px}
}
@media (max-width:480px){
  .profitable-price-page .pp-cmd-finance{grid-template-columns:1fr}
  .profitable-price-page .pp-metrics{grid-template-columns:1fr}
  .profitable-price-page .pp-chip{height:20px;font-size:8px}
}

/* 2026-08 — readability pass: keep the compact layout, remove sub-11px UI text */
.profitable-price-page{font-size:13px}
.profitable-price-page .pp-eyebrow,
.profitable-price-page .pp-section-kicker,
.profitable-price-page .pp-table-kicker{font-size:10.5px;line-height:1.2}
.profitable-price-page .pp-hero h2{font-size:21px}
.profitable-price-page .pp-sub{font-size:12px;line-height:1.45}
.profitable-price-page .pp-policy-title{font-size:10.5px}
.profitable-price-page .pp-chip{height:27px;padding:0 10px;font-size:10.5px}
.profitable-price-page .pp-cmd-head h3{font-size:14px}
.profitable-price-page .pp-cmd-head p{font-size:11px;line-height:1.4}
.profitable-price-page .pp-auto{font-size:10.5px}
.profitable-price-page .pp-field{font-size:10.5px;line-height:1.25}
.profitable-price-page .pp-field input,
.profitable-price-page .pp-field select{height:36px;min-height:36px;font-size:12.5px}
.profitable-price-page .pp-metric{min-height:60px;padding:9px 12px}
.profitable-price-page .pp-metric small{font-size:10.5px;line-height:1.25}
.profitable-price-page .pp-metric strong{font-size:19px;line-height:1.15}
.profitable-price-page .pp-metric em{font-size:10.5px;line-height:1.3}
.profitable-price-page .pp-table-head{min-height:54px;padding:9px 12px}
.profitable-price-page .pp-table-head h3{font-size:14px}
.profitable-price-page .pp-table-head p{font-size:10.5px;line-height:1.35}
.profitable-price-page .pp-count{font-size:10.5px}
.profitable-price-page .pp-table thead th{height:36px;font-size:10.5px !important;line-height:1.2}
.profitable-price-page .pp-table tbody td{
  height:50px;min-height:50px;max-height:50px;
  padding:6px 8px !important;font-size:12.5px !important;line-height:1.3;
}
.profitable-price-page .pp-table tbody td .pp-money{font-size:13px !important;line-height:1.3 !important}
.profitable-price-page .pp-table tbody td .pp-muted{font-size:11px !important;line-height:1.3 !important}
.profitable-price-page .pp-stock-empty strong{font-size:13px}
.profitable-price-page .pp-stock-empty small{font-size:10.5px;line-height:1.2}
.profitable-price-page .pp-brand{font-size:10.5px;line-height:1.25}
.profitable-price-page .pp-model{font-size:13px;line-height:1.3;max-height:1.35em}
.profitable-price-page .pp-money.is-emph{font-size:13.5px !important}
.profitable-price-page .pp-act{height:30px;min-height:30px;padding:0 10px;font-size:11px !important}
.profitable-price-page .pp-tip{width:17px;height:17px;font-size:10.5px}
.profitable-price-page .pp-detail-head h3{font-size:15px}
.profitable-price-page .pp-detail-pane-title{font-size:11px}
.profitable-price-page .pp-break li{font-size:12px;line-height:1.35}
.profitable-price-page .pp-break .pp-money{font-size:13px !important}
.profitable-price-page .pp-staff-fact span{font-size:10.5px;line-height:1.25}
.profitable-price-page .pp-staff-fact strong{font-size:13px;line-height:1.35}
.profitable-price-page .pp-foot{font-size:10.5px;line-height:1.4}
