/* Binh Phap Chung Truong - Position Sizing v1.0.1. Fully scoped styling. */
.bpct-ps-page-shell{background:#f8fafc;min-height:55vh;padding:30px 0 48px}
.bpct-ps-page-inner{box-sizing:border-box;max-width:1320px;margin:0 auto;padding:0 22px}
.bpct-ps-tool{--ps-ink:#122039;--ps-red:#bd2431;--ps-blue:#0965e9;--ps-border:#dee6ef;--ps-muted:#607087;color:var(--ps-ink);font-family:inherit;line-height:1.55;width:100%;max-width:1250px;margin:0 auto 26px;box-sizing:border-box}
.bpct-ps-tool *{box-sizing:border-box}
.bpct-ps-tool [hidden]{display:none!important}
.bpct-ps-tool h1,.bpct-ps-tool h2,.bpct-ps-tool h3{font-family:inherit;letter-spacing:normal;text-transform:none}
.bpct-ps-tool .bpct-ps-hero{background:linear-gradient(109deg,#93171c 0%,#af2226 43%,#d63835 100%);border-radius:15px;padding:39px 39px;margin:0 0 22px;color:#fff;box-shadow:0 4px 18px rgba(160,25,35,.055)}
.bpct-ps-tool .bpct-ps-hero h1{color:#fff!important;font-size:clamp(27px,3.25vw,38px)!important;line-height:1.23;font-weight:800;margin:0 0 11px;padding:0}
.bpct-ps-tool .bpct-ps-hero p{color:#fff;font-size:15.5px;line-height:1.65;margin:0;padding:0}
.bpct-ps-tool .bpct-ps-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.bpct-ps-tool .bpct-ps-panel{background:#fff;border:1px solid var(--ps-border);box-shadow:0 3px 16px rgba(15,35,60,.035);border-radius:13px;padding:15px 21px 21px;min-width:0}
.bpct-ps-tool .bpct-ps-heading{display:flex;align-items:center;gap:12px;background:#f5f8fc;border-radius:8px;color:#18243a!important;font-size:20px!important;font-weight:800!important;line-height:1.3;margin:0 0 15px!important;padding:10px 12px!important}
.bpct-ps-tool .bpct-ps-heading-result{background:#effbf4}
.bpct-ps-tool .bpct-ps-heading-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:7px;background:#0b6df1;color:#fff;font-size:23px;font-weight:800;line-height:1}
.bpct-ps-tool .bpct-ps-icon-green{background:#0aa963;border-radius:50%;font-size:20px}
.bpct-ps-tool .bpct-ps-field{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10px;align-items:center;margin:0 0 15px;min-width:0}
.bpct-ps-tool .bpct-ps-field label{font-size:14px;line-height:1.4;font-weight:600;color:#233047;margin:0;padding:0}
.bpct-ps-tool .bpct-ps-input-wrap{display:flex;align-items:center;width:100%;height:47px;border:1px solid #cfd8e5;border-radius:7px;background:#fff;overflow:hidden;min-width:0}
.bpct-ps-tool .bpct-ps-input-wrap:focus-within{border-color:#1375f2;box-shadow:0 0 0 3px rgba(19,117,242,.12)}
.bpct-ps-tool .bpct-ps-input-wrap input{border:none!important;outline:0!important;box-shadow:none!important;margin:0!important;padding:10px 10px 10px 13px!important;background:transparent!important;color:#132139!important;font-size:16px!important;line-height:1.3!important;font-weight:500!important;min-width:0!important;width:100%!important;max-width:none!important;height:100%!important;border-radius:0!important;font-family:inherit!important}
.bpct-ps-tool .bpct-ps-input-wrap>span{font-size:12px;flex-shrink:0;color:#61738e;margin-right:13px;font-weight:500}
.bpct-ps-tool .bpct-ps-calculate{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;padding:10px 16px!important;margin:20px 0 0!important;background:linear-gradient(100deg,#0664ed,#1368ee)!important;border:0!important;border-radius:7px!important;color:#fff!important;font-size:17px!important;font-weight:800!important;line-height:1.3;cursor:pointer;box-shadow:none!important}
.bpct-ps-tool .bpct-ps-calculate:hover{background:linear-gradient(100deg,#034ec6,#0655d4)!important}
.bpct-ps-tool .bpct-ps-calculate:focus-visible{outline:3px solid #74b6ff;outline-offset:3px}
.bpct-ps-tool .bpct-ps-calculate span{font-size:22px}
.bpct-ps-tool .bpct-ps-error{margin:12px 0 0;padding:11px 12px;background:#fff1f1;color:#9e2028;font-size:13px;border:1px solid #ffccd1;border-radius:8px}
.bpct-ps-tool .bpct-ps-result-primary{display:flex;align-items:center;gap:20px;padding:19px 24px;margin:0 0 11px;background:#effbf4;border-radius:9px;min-height:104px}
.bpct-ps-tool .bpct-ps-result-primary-icon{font-size:38px;color:#07974e;line-height:1}
.bpct-ps-tool .bpct-ps-result-primary>div>span{font-size:14px;color:#213047}
.bpct-ps-tool .bpct-ps-result-primary strong{display:block;margin:2px 0 0;color:#098748;font-size:clamp(30px,3vw,43px);font-weight:800;line-height:1.12;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bpct-ps-tool .bpct-ps-result-primary strong small{font-size:19px;font-weight:700}
.bpct-ps-tool .bpct-ps-result-pair{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.bpct-ps-tool .bpct-ps-result-stat{display:flex;align-items:center;gap:12px;border-radius:9px;padding:16px 15px;min-width:0}
.bpct-ps-tool .bpct-ps-stat-blue{background:#f0f6ff}.bpct-ps-tool .bpct-ps-stat-red{background:#fff1f1}
.bpct-ps-tool .bpct-ps-stat-icon{font-size:33px;color:#116aef;font-weight:900;flex-shrink:0;line-height:1}
.bpct-ps-tool .bpct-ps-stat-red .bpct-ps-stat-icon{color:#db202d}
.bpct-ps-tool .bpct-ps-result-stat div>span{display:block;font-size:13px;font-weight:600;line-height:1.45;color:#263247}
.bpct-ps-tool .bpct-ps-result-stat strong{display:block;font-size:clamp(19px,2.05vw,24px);font-weight:800;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:3px 0}
.bpct-ps-tool .bpct-ps-stat-blue strong{color:#0964e8}.bpct-ps-tool .bpct-ps-stat-red strong{color:#cc1e2a}
.bpct-ps-tool .bpct-ps-result-stat small{display:block;font-size:11.5px;color:#6e7d92;line-height:1.5}
.bpct-ps-tool .bpct-ps-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid #deebfa;background:#f7faff;border-radius:9px;padding:14px 13px;margin:11px 0 0}
.bpct-ps-tool .bpct-ps-breakdown>div{min-width:0;padding:3px 8px;border-right:1px solid #dce7f7}
.bpct-ps-tool .bpct-ps-breakdown>div:last-child{border-right:0}
.bpct-ps-tool .bpct-ps-breakdown span{display:block;color:#526781;font-size:11.5px;line-height:1.45;margin-bottom:4px}
.bpct-ps-tool .bpct-ps-breakdown strong{display:block;color:#263a53;font-size:13.5px;font-weight:800;line-height:1.55;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bpct-ps-tool .bpct-ps-status{margin:12px 0 0;border-radius:8px;padding:11px 12px;color:#1653a6;background:#ecf5ff;font-size:12.5px;line-height:1.65}
.bpct-ps-tool .bpct-ps-fee-note{margin:10px 0 0;color:#7d4a22;font-size:12px;line-height:1.55}
.bpct-ps-tool .bpct-ps-guidance{margin:22px 0 0;background:#fff;border:1px solid var(--ps-border);border-radius:13px;padding:28px 32px 29px;color:#273448;box-shadow:0 3px 18px rgba(18,39,60,.035)}
.bpct-ps-tool .bpct-ps-guidance h2{font-size:23px!important;font-weight:800!important;color:#182844!important;margin:0 0 10px!important;line-height:1.4}
.bpct-ps-tool .bpct-ps-guidance h3{font-size:18px!important;font-weight:800!important;color:#af2935!important;margin:23px 0 10px!important;line-height:1.4}
.bpct-ps-tool .bpct-ps-guidance p,.bpct-ps-tool .bpct-ps-guidance li{font-size:14px;line-height:1.85;color:#2e3d51}
.bpct-ps-tool .bpct-ps-guidance p{margin:0 0 12px}
.bpct-ps-tool .bpct-ps-guidance ul,.bpct-ps-tool .bpct-ps-guidance ol{margin:0 0 14px 0;padding:0 0 0 24px}
.bpct-ps-tool .bpct-ps-guidance li{margin:0 0 7px;padding-left:5px}
.bpct-ps-tool .bpct-ps-guidance strong{font-weight:800;color:#1d2b41}
.bpct-ps-tool .bpct-ps-guidance-warning{background:#fff6ee;border:1px solid #ffe1bf;border-radius:9px;padding:13px 15px;margin:18px 0 0!important;color:#7b4a1e!important}
body.bpct-ps-shortcode-page #primary article.page > header.entry-header{display:none!important}
body.bpct-ps-shortcode-page .entry-content .bpct-ps-tool{margin:8px auto 24px}
@media(max-width:900px){
  .bpct-ps-tool .bpct-ps-grid{grid-template-columns:1fr}
  .bpct-ps-tool .bpct-ps-panel{padding:16px 19px 20px}
}
@media(max-width:650px){
  .bpct-ps-page-shell{padding:17px 0 30px}
  .bpct-ps-page-inner{padding:0 12px}
  .bpct-ps-tool .bpct-ps-hero{padding:24px 19px;border-radius:12px;margin-bottom:14px}
  .bpct-ps-tool .bpct-ps-hero h1{font-size:27px!important}
  .bpct-ps-tool .bpct-ps-hero p{font-size:13.5px}
  .bpct-ps-tool .bpct-ps-grid{gap:13px}
  .bpct-ps-tool .bpct-ps-panel{padding:11px 12px 16px}
  .bpct-ps-tool .bpct-ps-heading{font-size:18px!important}
  .bpct-ps-tool .bpct-ps-field{grid-template-columns:1fr;gap:6px;margin-bottom:13px}
  .bpct-ps-tool .bpct-ps-field label{font-size:13px}
  .bpct-ps-tool .bpct-ps-input-wrap{height:46px}
  .bpct-ps-tool .bpct-ps-result-primary{padding:17px;gap:13px}
  .bpct-ps-tool .bpct-ps-result-pair{gap:8px}
  .bpct-ps-tool .bpct-ps-result-stat{padding:12px 9px;gap:7px;align-items:flex-start}
  .bpct-ps-tool .bpct-ps-stat-icon{font-size:23px}
  .bpct-ps-tool .bpct-ps-result-stat strong{font-size:17px}
  .bpct-ps-tool .bpct-ps-result-stat div>span{font-size:12px}
  .bpct-ps-tool .bpct-ps-breakdown{grid-template-columns:1fr;gap:0}
  .bpct-ps-tool .bpct-ps-breakdown>div{padding:8px 4px;border-right:0;border-bottom:1px solid #e1e9f3}
  .bpct-ps-tool .bpct-ps-breakdown>div:last-child{border-bottom:0}
  .bpct-ps-tool .bpct-ps-breakdown span,.bpct-ps-tool .bpct-ps-breakdown strong{display:inline}
  .bpct-ps-tool .bpct-ps-breakdown strong{margin-left:8px}
  .bpct-ps-tool .bpct-ps-guidance{padding:21px 17px;margin-top:14px}
  .bpct-ps-tool .bpct-ps-guidance h2{font-size:20px!important}
  .bpct-ps-tool .bpct-ps-guidance h3{font-size:17px!important}
  .bpct-ps-tool .bpct-ps-guidance p,.bpct-ps-tool .bpct-ps-guidance li{font-size:13px}
}
@media(max-width:370px){.bpct-ps-tool .bpct-ps-result-pair{grid-template-columns:1fr}}
