/* Shared calculator detail design; scoped to detail pages only. */
.calc-detail {color:#11182b; min-width:0;}
.calc-detail-hero {background:linear-gradient(115deg,#eef6ff 0%,#dceeff 100%);border:1px solid #d6e8fa;border-radius:20px;padding:clamp(1rem,3vw,2rem);position:relative;overflow:hidden;}
.calc-detail-hero h1 {font-size:clamp(1.7rem,3.4vw,2.7rem);font-weight:800;letter-spacing:-.035em;color:#10182d;}
.calc-intro {color:#425773;font-size:1.04rem;max-width:65ch;}
.calc-art {position:relative;isolation:isolate;width:136px;height:112px;display:grid;place-items:center;flex:none;background:radial-gradient(ellipse,#c1dfff 0%,#d8ebff 68%,transparent 70%);}
.calc-art-sheet {position:absolute;width:60px;height:79px;border-radius:9px;background:repeating-linear-gradient(white 0 12px,#b8d9fa 12px 16px,white 16px 21px);border:4px solid white;transform:rotate(12deg);right:10px;top:15px;box-shadow:0 6px 12px #164f8522;z-index:-1;}
.calc-art-icon {display:grid;place-items:center;width:78px;height:86px;transform:rotate(-9deg);border-radius:16px;background:linear-gradient(145deg,#36a3ff,#0757be);color:#fff;box-shadow:0 7px 0 #064b9f,0 12px 18px #104b8540; margin-right:22px;}
.calculator-module .calc-art-icon svg.portal-icon {width:52px!important;height:52px!important;stroke:#fff!important;stroke-width:1.7;}
.calc-art-check {position:absolute;right:5px;bottom:8px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#20a66b;color:white;border:2px solid white;font-weight:800;box-shadow:0 3px 8px #164f8533;}
.calculator-module .calc-detail .qa-card {padding:clamp(1rem,2vw,1.5rem);border:1px solid #d8e5f2;border-radius:16px;box-shadow:0 5px 16px #173a6510;min-width:0;}
.calc-panel-heading {display:flex;align-items:center;gap:.7rem;font-weight:750;color:#11182b;}
.calc-panel-icon {display:grid;place-items:center;background:#e4f1ff;color:#0866d9;border-radius:10px;width:42px;height:42px;flex:none;}
.calculator-module .calc-panel-icon svg.portal-icon {width:25px!important;height:25px!important;stroke:#0866d9!important;}
.calculator-module .calc-detail .form-control,.calculator-module .calc-detail .form-select {border-color:#cddced;background:#f8fbff;border-radius:8px;min-height:44px;padding:.55rem .75rem;}
.calculator-module .calc-detail .form-control:focus,.calculator-module .calc-detail .form-select:focus {background:white;border-color:#76aff2;box-shadow:0 0 0 .2rem #0866d91c;}
.calc-detail .form-label {margin-top:.55rem;color:#24374f;}
.calc-detail .form-text {color:#52657b;line-height:1.55;}
.calc-detail .btn-primary {border-radius:9px;min-height:42px;font-weight:650;}
.calc-input-panel > .btn-primary.w-100 {background:linear-gradient(110deg,#0879ed,#065abd);margin-top:.6rem;}
.calc-detail .calculator-card .icon-tile {color:#0866d9;background:#e4f1ff;}
@media(max-width:575.98px){.calc-art {width:96px;height:80px}.calc-art-icon {width:53px;height:60px;border-radius:12px}.calculator-module .calc-art-icon svg.portal-icon {width:35px!important;height:35px!important}.calc-art-sheet{width:42px;height:55px;top:8px}.calc-art-check{width:23px;height:23px}.calc-detail-hero .btn{font-size:.82rem;white-space:normal}.calc-detail-hero .gap-3{gap:.65rem!important}}
