
.hs-solution-studio{margin:22px 0 30px;border:1px solid #dfe5ec;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.06);direction:rtl}
.hs-modebar{display:flex;gap:8px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #e7ebf0;flex-wrap:wrap}
.hs-modebar button{min-height:40px;border:1px solid #d7dee8;background:#fff;border-radius:10px;padding:7px 14px;font:inherit;font-size:13px;font-weight:800;color:#344054;cursor:pointer}
.hs-modebar button.is-active{background:#1f5fd3;color:#fff;border-color:#1f5fd3}
.hs-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:linear-gradient(135deg,#f8fafc,#f2f7ff);border-bottom:1px solid #e6ebf2}
.hs-head small{display:block;color:#5b6b82;font-weight:800;margin-bottom:4px}.hs-head h2{margin:0;font-size:20px;color:#172033}.hs-head p{margin:5px 0 0;color:#637083;font-size:13px}
.hs-live{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;background:#eefbf3;color:#177044;border:1px solid #cdeed9;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.hs-live i{width:8px;height:8px;border-radius:50%;background:#20a665;box-shadow:0 0 0 5px rgba(32,166,101,.12)}
.hs-quick{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:14px 22px;border-bottom:1px solid #edf1f5;background:#fff}
.hs-quick button,.hs-quick select{min-height:40px;border:1px solid #d7dee8;background:#fff;border-radius:10px;padding:7px 11px;font:inherit;color:#344054}.hs-quick button{font-weight:800;cursor:pointer}.hs-quick label{display:flex;align-items:center;gap:7px;font-size:12px;color:#667085}
.hs-warning{margin:14px 22px 0;padding:12px 14px;border:1px solid #f6d7a8;background:#fff8ec;border-radius:12px;color:#744210;font-size:13px;line-height:1.9}.hs-warning strong{display:block;margin-bottom:3px}.hs-warning ul{margin:4px 18px 0 0;padding:0}
.hs-formula-mini{margin:14px 22px 0;border:1px solid #e3e8ef;background:#fbfcfe;border-radius:14px;padding:12px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}
.hs-formula-mini>span{font-size:12px;font-weight:900;color:#526074}.hs-formula-mini>b{font-size:13px;line-height:1.9;color:#172033;overflow-wrap:anywhere}.hs-formula-mini button{border:0;background:transparent;color:#1f5fd3;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.hs-formula-mini p{grid-column:1/-1;margin:0;padding-top:9px;border-top:1px dashed #e2e8f0;color:#657287;font-size:12px;line-height:1.9}
.hs-progress-wrap{padding:15px 22px 0}.hs-progress-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:6px}.hs-progress-labels span{text-align:center;font-size:11px;color:#667085}.hs-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.hs-progress i{height:5px;border-radius:10px;background:#e7ebf0;transition:.2s}.hs-progress i.is-on{background:#3167d8}
.hs-steps{list-style:none;margin:0;padding:16px 22px 4px}.hs-steps li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px dashed #e5e9ef;opacity:.76;transition:.2s}.hs-steps li:last-child{border-bottom:0}.hs-steps li>b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#edf1f6;color:#566477;font-size:14px}.hs-steps li strong{display:block;color:#172033;margin-bottom:5px}.hs-steps li p{margin:0;color:#4e5d72;line-height:1.9;font-size:14px;overflow-wrap:anywhere}.hs-steps li.is-current{opacity:1;background:#f8fbff;margin-inline:-10px;padding-inline:10px;border-radius:12px}.hs-steps li.is-current>b,.hs-steps li.is-done>b{background:#3167d8;color:#fff}.hs-steps li.is-done{opacity:1}.hs-answer{font-size:18px!important;font-weight:900!important;color:#0e5c36!important;direction:auto}.hs-solution-studio:not(.has-answer) .hs-answer{color:#6b7280!important}.hs-meaning{margin-top:8px!important;background:#f5faf7;border:1px solid #dceee3;border-radius:10px;padding:9px 11px;color:#315e46!important}
.hs-pro-only{padding:0 22px 8px}.hs-pro-only details,.hs-compare{border:1px solid #e5eaf0;border-radius:12px;margin:9px 0;background:#fbfcfe}.hs-pro-only summary{cursor:pointer;padding:11px 13px;font-weight:800;color:#344054}.hs-mistakes ul{margin:0;padding:0 30px 13px 13px;color:#596579;font-size:13px;line-height:1.9}.hs-compare{padding:13px}.hs-compare h3{margin:0 0 10px;font-size:14px}.hs-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hs-compare-grid article{border:1px solid #e0e6ee;border-radius:10px;background:#fff;padding:10px}.hs-compare-grid small{display:block;color:#667085;margin-bottom:4px}.hs-compare-grid b{display:block;overflow-wrap:anywhere}
.hs-history>div{display:grid;gap:7px;padding:0 10px 10px}.hs-history button{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:right;border:1px solid #e5eaf0;background:#fff;border-radius:9px;padding:9px 10px;font:inherit;cursor:pointer}.hs-history button small{color:#667085}.hs-history p{margin:0 0 10px;color:#667085;font-size:12px}
.hs-actions{display:flex;flex-wrap:wrap;gap:10px;padding:12px 22px 20px;border-top:1px solid #edf1f5}.hs-actions button{min-height:44px;border-radius:11px;border:1px solid #ccd5e1;background:#fff;color:#25344a;padding:9px 15px;font-weight:800;cursor:pointer}.hs-actions button:first-child{background:#1f5fd3;color:#fff;border-color:#1f5fd3}.hs-actions button:focus-visible,.hs-modebar button:focus-visible{outline:3px solid rgba(49,103,216,.25);outline-offset:2px}
.hs-sheet{padding:0 22px 22px}.hs-sheet-paper{border:1px solid #dce3eb;border-radius:14px;background:#fff;padding:20px}.hs-sheet-paper h3{margin:0 0 14px;font-size:20px}.hs-sheet-paper section{padding:10px 0;border-top:1px dashed #e3e8ef}.hs-sheet-paper section:first-of-type{border-top:0}.hs-sheet-paper b{display:block;margin-bottom:4px}.hs-sheet-paper p{margin:0;line-height:1.9;color:#455468}.hs-sheet-answer{font-size:18px!important;font-weight:900;color:#0e5c36!important}.hs-sheet-paper img{display:block;width:100%;height:auto;margin-top:14px;border:1px solid #e5e7eb;border-radius:10px}
.hs-unit-tip{display:block!important;margin-top:5px;color:#667085!important;font-size:11px!important}.hs-converted{display:inline-flex;align-items:center;margin-inline-start:7px;border-radius:999px;background:#eef8f1;color:#17633c;padding:4px 7px;font-size:10px;font-weight:800;white-space:nowrap}
.hs-solution-studio[data-hs-mode="simple"] .hs-head p,.hs-solution-studio[data-hs-mode="simple"] .hs-formula-mini,.hs-solution-studio[data-hs-mode="simple"] .hs-progress-wrap,.hs-solution-studio[data-hs-mode="simple"] .hs-steps li:not(:last-child),.hs-solution-studio[data-hs-mode="simple"] .hs-pro-only{display:none}
.hs-solution-studio[data-hs-mode="simple"] .hs-steps{padding-top:8px}.hs-solution-studio[data-hs-mode="simple"] .hs-steps li:last-child{opacity:1}
.hs-solution-studio:not([data-hs-mode="pro"]) .hs-pro-only{display:none}
@media(max-width:700px){.hs-head{align-items:flex-start;padding:17px}.hs-head h2{font-size:18px}.hs-head p{font-size:12px}.hs-quick{padding:12px 16px}.hs-quick button{flex:1 1 140px}.hs-formula-mini{margin-inline:16px;grid-template-columns:1fr}.hs-formula-mini p{grid-column:1}.hs-progress-wrap,.hs-steps,.hs-pro-only,.hs-actions,.hs-sheet{padding-inline:16px}.hs-progress-labels span{font-size:9px}.hs-compare-grid{grid-template-columns:1fr}.hs-actions button{flex:1 1 135px}.hs-steps li{grid-template-columns:32px minmax(0,1fr);gap:10px}.hs-steps li>b{width:30px;height:30px}}
@media print{body.hs-printing *{visibility:hidden!important}body.hs-printing .hs-print-target,body.hs-printing .hs-print-target *{visibility:visible!important}body.hs-printing .hs-print-target{position:absolute!important;inset:0 auto auto 0!important;width:100%!important;background:#fff!important}body.hs-printing .ht-head,body.hs-printing .hg-head,body.hs-printing .ht-result,body.hs-printing .ht-domain-result,body.hs-printing .ht-lab-result,body.hs-printing .hm-output,body.hs-printing .hc-output,body.hs-printing .hg-plot-card,body.hs-printing .hs-solution-studio,body.hs-printing .hs-sheet{visibility:visible!important}body.hs-printing .hs-modebar,body.hs-printing .hs-quick,body.hs-printing .hs-actions,body.hs-printing .ht-breadcrumb,body.hs-printing .hg-mode-tabs,body.hs-printing .hg-control-card,body.hs-printing .hs-pro-only{display:none!important}body.hs-printing .hs-solution-studio{box-shadow:none!important;border:0!important}body.hs-printing .hs-sheet{display:block!important}body.hs-printing .hs-sheet[hidden]{display:block!important}body.hs-printing .hs-sheet-paper{border:0!important;padding:0!important}body.hs-printing canvas{max-width:100%!important;height:auto!important}}


/* v17.5.5 — move geometry preview beside the live solution, not inside the top result card */
.hs-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,310px);gap:18px;align-items:start;padding:0 22px 6px}
.hs-main-grid>.hs-steps{padding:16px 0 4px;min-width:0}
.hs-geometry-visual{min-width:0;padding-top:16px;position:sticky;top:92px}
.hs-geometry-visual[hidden]{display:none!important}
.hs-geometry-visual .ht-geo-preview-host{margin:0!important;width:100%;max-width:100%;min-width:0}
.hs-geometry-visual .ht-geo-preview{margin:0!important;width:100%;max-width:100%;box-sizing:border-box}
.hs-geometry-visual .ht-geo-preview-stage{min-height:174px!important;padding:8px!important}
.hs-geometry-visual .ht-geo-svg{max-width:190px!important;width:min(100%,190px)!important}
.hs-geometry-visual .ht-geo-preview-meta{grid-template-columns:1fr!important}
.hs-geometry-visual .ht-geo-preview-caption{font-size:10.5px!important}
@media(max-width:900px){.hs-main-grid{grid-template-columns:1fr;padding-inline:18px}.hs-main-grid>.hs-steps{order:2;padding-top:4px}.hs-geometry-visual{order:1;position:static;padding-top:14px;max-width:420px;width:100%;margin-inline:auto}.hs-geometry-visual .ht-geo-preview-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.hs-main-grid{padding-inline:16px;gap:8px}.hs-geometry-visual{max-width:none}.hs-geometry-visual .ht-geo-preview-stage{min-height:160px!important}.hs-geometry-visual .ht-geo-svg{max-width:174px!important}.hs-geometry-visual .ht-geo-preview-meta{grid-template-columns:1fr!important}}

/* v18.3.0 — distinct simple / educational / professional solve modes */
.hs-modebar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:118px}
.hs-modebar button small{font-size:10px;font-weight:600;opacity:.72;line-height:1.35}
.hs-modebar button.is-active small{opacity:.92}
.hs-mode-note{padding:9px 22px;border-bottom:1px solid #edf1f5;background:#fff;color:#667085;font-size:12px;line-height:1.8}
.hs-pro-dashboard{margin:12px 0 14px;border:1px solid #dce5f2;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff);overflow:hidden}
.hs-pro-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid #e5ebf3}
.hs-pro-dashboard-head small{display:block;color:#667085;font-size:11px;font-weight:800;margin-bottom:2px}.hs-pro-dashboard-head h3{margin:0;font-size:16px;color:#172033}.hs-pro-dashboard-head>span{font-size:11px;font-weight:900;border:1px solid #cddcf5;background:#eef4ff;color:#2454a4;padding:6px 9px;border-radius:999px;white-space:nowrap}
.hs-pro-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:13px 14px}.hs-pro-metrics article{min-width:0;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:10px}.hs-pro-metrics small{display:block;color:#6b778a;font-size:10px;margin-bottom:5px}.hs-pro-metrics b{display:block;color:#172033;font-size:13px;overflow-wrap:anywhere}
.hs-pro-technical{display:grid;gap:8px;padding:0 14px 14px}.hs-pro-technical>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px;align-items:start;border:1px solid #e6eaf0;border-radius:11px;background:#fff;padding:10px}.hs-pro-technical span{font-size:11px;font-weight:900;color:#526074;padding-top:3px}.hs-pro-technical code{display:block;direction:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;border-radius:7px;padding:7px 9px;color:#24344d;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.75}
.hs-solution-studio[data-hs-mode="simple"] .hs-mode-note{background:#f8fafc}
.hs-solution-studio[data-hs-mode="simple"] .hs-quick,.hs-solution-studio[data-hs-mode="simple"] .hs-warning,.hs-solution-studio[data-hs-mode="simple"] .hs-actions button:not([data-hs-copy]){display:none}
.hs-solution-studio[data-hs-mode="simple"] .hs-head{padding-block:15px}.hs-solution-studio[data-hs-mode="simple"] .hs-head small{display:none}.hs-solution-studio[data-hs-mode="simple"] .hs-head h2{font-size:16px}.hs-solution-studio[data-hs-mode="simple"] .hs-main-grid{grid-template-columns:1fr;padding-bottom:10px}.hs-solution-studio[data-hs-mode="simple"] .hs-geometry-visual{display:none!important}.hs-solution-studio[data-hs-mode="simple"] .hs-steps li:last-child{border:1px solid #dbe9e1;background:#f7fbf8;border-radius:14px;padding:14px 15px}.hs-solution-studio[data-hs-mode="simple"] .hs-actions{justify-content:flex-start;padding-top:4px;border-top:0}
.hs-solution-studio[data-hs-mode="learn"] .hs-pro-dashboard{display:none!important}
.hs-solution-studio[data-hs-mode="pro"] .hs-head{background:linear-gradient(135deg,#f4f7fb,#edf4ff)}
@media(max-width:700px){.hs-modebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hs-modebar button{min-width:0;padding-inline:5px;font-size:12px}.hs-modebar button small{font-size:8.5px}.hs-mode-note{padding-inline:16px}.hs-pro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-pro-technical>div{grid-template-columns:1fr;gap:4px}}
@media(max-width:430px){.hs-modebar button{font-size:11px}.hs-pro-metrics{grid-template-columns:1fr 1fr}.hs-pro-dashboard-head{align-items:flex-start}.hs-pro-dashboard-head>span{font-size:9.5px}}
