/* BPCT Gia Dieu Chinh v1.2.0. All selectors are scoped to this tool/template. */
.bpct-gdc-page-shell,.bpct-gdc-tool{box-sizing:border-box;min-width:0;color:#1e293b;font-family:inherit}
.bpct-gdc-page-shell *, .bpct-gdc-tool *{box-sizing:border-box}
.bpct-gdc-page-shell{background:#f8fafc;padding:26px 20px 70px;min-height:calc(100vh - 200px)}
.bpct-gdc-page-container{max-width:1180px;margin:0 auto;width:100%}
.bpct-gdc-tool{width:100%;max-width:1180px;margin:0 auto;padding:0}
.bpct-gdc-tool .bpct-gdc-hero{position:relative;overflow:hidden;margin:0 0 21px;padding:27px 34px 29px;border:0;border-radius:17px;background:linear-gradient(115deg,#89171e 5%,#af2529 58%,#d0352e 100%);color:#fff}
.bpct-gdc-hero:after{content:"";position:absolute;right:-80px;top:-110px;width:320px;height:320px;border-radius:100%;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);pointer-events:none}
.bpct-gdc-tool .bpct-gdc-hero h1{position:relative;margin:0 0 9px;padding:0;border:0;background:none;color:#fff!important;font-size:clamp(26px,2.6vw,34px);font-weight:760;line-height:1.25;letter-spacing:-.02em}
.bpct-gdc-tool .bpct-gdc-hero p{position:relative;margin:0;max-width:900px;color:#fff;font-weight:400;font-size:15px;line-height:1.72}
.bpct-gdc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}
.bpct-gdc-tool .bpct-gdc-panel{min-width:0;padding:28px;border:1px solid #dfe5ed;background:#fff;border-radius:16px;box-shadow:0 4px 18px rgba(29,41,57,.04)}
.bpct-gdc-tool .bpct-gdc-panel h2{margin:0 0 24px;padding:0;font-size:23px;line-height:1.3;font-weight:750;color:#1b2635}
.bpct-gdc-form{display:flex;flex-direction:column;gap:18px;margin:0}
.bpct-gdc-field{display:block;margin:0;min-width:0;color:#1e293b}
.bpct-gdc-field>span:first-child{display:block;font-size:14px;font-weight:700;line-height:1.5;margin:0 0 8px;color:#1f2937}
.bpct-gdc-field span small{font-size:12px;color:#788395;font-weight:400}
.bpct-gdc-field input{width:100%;height:48px;max-width:none;min-width:0;line-height:1.25;margin:0!important;padding:10px 14px;border-radius:8px;border:1px solid #cdd5df;background:#fff;color:#203148;outline:none;box-shadow:none;font-size:16px;font-family:inherit;letter-spacing:0;font-weight:500;transition:border-color .16s,box-shadow .16s}
.bpct-gdc-field input:focus{border-color:#ad2530;box-shadow:0 0 0 3px rgba(173,37,48,.13)}
.bpct-gdc-field input[aria-invalid="true"]{border-color:#cf3542;background:#fff9fa}
.bpct-gdc-field input::placeholder{color:#94a3b8;font-size:13px}
.bpct-gdc-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:2px}
.bpct-gdc-tool .bpct-gdc-action,.bpct-gdc-tool .bpct-gdc-clear{min-height:48px;margin:0;display:inline-flex;justify-content:center;align-items:center;gap:12px;cursor:pointer;border-radius:9px;padding:11px 17px;font-size:14px;font-weight:750;text-decoration:none;font-family:inherit;white-space:nowrap}
.bpct-gdc-tool .bpct-gdc-action{flex:1;color:#fff!important;background:linear-gradient(110deg,#c32231,#e02d36);border:1px solid #b91c2c}
.bpct-gdc-tool .bpct-gdc-action:hover{background:#b51d2a;color:#fff!important}
.bpct-gdc-tool .bpct-gdc-clear{color:#344256!important;border:1px solid #d9e0e8;background:#fff}
.bpct-gdc-tool .bpct-gdc-clear:hover{background:#f5f7fa}
.bpct-gdc-tool button:focus-visible,.bpct-gdc-tool input:focus-visible{outline:3px solid #e5737b;outline-offset:2px}
.bpct-gdc-main-result{padding:22px 24px;margin:0 0 18px;border:1px solid #ffcfce;border-radius:12px;background:#fff3f1;display:flex;flex-direction:column;gap:7px}
.bpct-gdc-main-result span{font-size:13px;color:#637386;font-weight:500;line-height:1.5}
.bpct-gdc-tool .bpct-gdc-main-result strong{font-size:clamp(31px,3.7vw,42px);font-weight:800;line-height:1.12;color:#b42327;letter-spacing:-.03em;overflow-wrap:anywhere}
.bpct-gdc-main-result small{font-size:12px;color:#718096}
.bpct-gdc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}
.bpct-gdc-stat{min-width:0;display:flex;flex-direction:column;gap:8px;padding:16px 15px;border-radius:12px;border:1px solid #d5e9dc;background:#eef9f0}
.bpct-gdc-stat span{font-size:12px;line-height:1.45;color:#47615a}
.bpct-gdc-tool .bpct-gdc-stat strong{font-weight:760;font-size:clamp(18px,2vw,25px);line-height:1.3;overflow-wrap:anywhere;color:#16723a}
.bpct-gdc-stat-blue{background:#eff6ff;border-color:#d9e7fc}
.bpct-gdc-stat-blue span{color:#425f89}
.bpct-gdc-tool .bpct-gdc-stat-blue strong{color:#1d4e95}
.bpct-gdc-formula{border:1px solid #e2e8f0;border-radius:11px;padding:18px 17px;margin:0 0 16px;background:#f8fafc}
.bpct-gdc-tool .bpct-gdc-formula h3{font-weight:740;font-size:16px;color:#223046;margin:0 0 12px;line-height:1.35}
.bpct-gdc-tool .bpct-gdc-formula p{margin:0 0 8px;color:#42526b;line-height:1.6;font-size:13px;overflow-wrap:anywhere}
.bpct-gdc-tool .bpct-gdc-formula .bpct-gdc-equation{font-weight:750;color:#9f2430;margin:0 0 12px;font-size:14px}
.bpct-gdc-tool .bpct-gdc-formula .bpct-gdc-expression{padding:10px 0 0;border-top:1px dashed #cbd5e1;margin:0;font-variant-numeric:tabular-nums}
.bpct-gdc-tool .bpct-gdc-info{padding:12px 15px;background:#edf4ff;border-radius:10px;color:#415777;font-size:12px;line-height:1.6;margin:0}
.bpct-gdc-tool .bpct-gdc-message{background:#fff1f2;color:#af1c27;border:1px solid #fecaca;border-radius:10px;padding:12px 15px;margin:0 0 18px;font-weight:600;font-size:13px;line-height:1.6}
.bpct-gdc-tool .bpct-gdc-disclaimer{font-size:12px;line-height:1.65;color:#758394;margin:16px 2px 0}
.bpct-gdc-article{margin:26px 0 0;background:#fff;border:1px solid #e4e9f0;border-radius:16px;padding:25px 34px 34px;box-shadow:0 4px 18px rgba(29,41,57,.03)}
.bpct-gdc-article-inner{min-width:0;max-width:100%;color:#334155;line-height:1.85}
.bpct-gdc-article-inner h1,.bpct-gdc-article-inner h2,.bpct-gdc-article-inner h3{color:#26364b;line-height:1.35}
.bpct-gdc-article-inner h1{font-size:clamp(25px,3vw,34px)}
.bpct-gdc-article-inner h2{font-size:clamp(22px,2.4vw,27px)}
.bpct-gdc-article-inner img{max-width:100%;height:auto}
.bpct-gdc-article-inner figure{max-width:100%;margin-left:auto;margin-right:auto}
@media(max-width:900px){
  .bpct-gdc-page-shell{padding:20px 15px 48px}
  .bpct-gdc-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .bpct-gdc-tool .bpct-gdc-panel{padding:23px}
}
@media(max-width:560px){
  .bpct-gdc-page-shell{padding:15px 12px 38px}
  .bpct-gdc-tool .bpct-gdc-hero{padding:22px 19px;border-radius:12px;margin-bottom:15px}
  .bpct-gdc-tool .bpct-gdc-hero h1{font-size:25px}
  .bpct-gdc-tool .bpct-gdc-hero p{font-size:13px;line-height:1.6}
  .bpct-gdc-tool .bpct-gdc-panel{padding:20px 17px;border-radius:12px}
  .bpct-gdc-tool .bpct-gdc-panel h2{font-size:20px;margin-bottom:18px}
  .bpct-gdc-form{gap:15px}
  .bpct-gdc-actions{flex-direction:column;align-items:stretch}
  .bpct-gdc-tool .bpct-gdc-action,.bpct-gdc-tool .bpct-gdc-clear{width:100%}
  .bpct-gdc-main-result{padding:18px}
  .bpct-gdc-main-result strong{font-size:34px}
  .bpct-gdc-stats{gap:8px}
  .bpct-gdc-stat{padding:13px 11px}
  .bpct-gdc-article{padding:19px 15px;margin-top:17px}
}
