/* Shared Math Tool Master presentation. The plugin keeps ownership of forms and calculations. */
.vt-master-math{--vetika-brand:#075940;--vetika-brand-hover:#127657;--vetika-brand-soft:#edf6f0;--vetika-accent:#075940;--vetika-accent-soft:#edf6f0;--vetika-border:#c9e0d3;--vetika-line:#c9e0d3}
.vt-master-math .vt-master-icons{position:absolute;width:0;height:0;overflow:hidden}
.vt-master-math .vt-master-main{min-width:0}
.vt-master-math .vt-master-aside{padding-top:8px}
.vt-master-math .vt-master-aside .botanical-note{min-height:220px}
.vt-master-math .hero .hero-icon svg,.vt-master-math .hero .category-label svg,.vt-master-math .hero .eyebrow svg,.vt-master-math .hero-note svg,.vt-master-math .breadcrumb svg,.vt-master-math .guide-card svg,.vt-master-math .tool-card svg,.vt-master-math .subtle-link svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vt-master-math .vt-master-calculator .vetika-tool{border:0;background:none;padding:0;margin:0;box-shadow:none;max-width:none}
.vt-master-math .vt-master-calculator :is(.vetika-percentage,.vetika-statistics,.vetika-fractions){display:grid;gap:18px;max-width:none}
.vt-master-math .vt-master-calculator .vetika-tool-heading{margin:0}
.vt-master-math .vt-master-calculator .vetika-tool-heading h2{font-family:var(--vt-font);font-size:19px;line-height:1.3;letter-spacing:-.025em;margin:0;color:var(--vt-ink)}
.vt-master-math .vt-master-calculator .vetika-tool-heading p{font-size:13px;line-height:1.65;margin:5px 0 0;color:#526c5d}
.vt-master-math .vt-master-calculator form{display:grid;gap:17px;margin:0}
.vt-master-math .vt-master-calculator :is(.vetika-percentage-fields,.vetika-fractions-fields){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.vt-master-math .vt-master-calculator .vetika-fractions[data-mode="decimal-to-fraction"] .vetika-fractions-fields{grid-template-columns:minmax(0,1fr)}
.vt-master-math .vt-master-calculator :is(.vetika-field,.vetika-fractions-field,.vetika-statistics-field){min-width:0}
.vt-master-math .vt-master-calculator :is(.vetika-field,.vetika-fractions-field,.vetika-statistics-field) label{display:block;font-size:12px;font-weight:700;line-height:1.4;margin:0 0 7px;color:#294538}
.vt-master-math .vt-master-calculator :is(.vetika-field,.vetika-fractions-field,.vetika-statistics-field) input{box-sizing:border-box;width:100%;min-height:52px;padding:10px 12px;border:1px solid #d6e2da;border-radius:8px;background:#fff;color:var(--vt-ink);font:inherit;font-size:18px}
.vt-master-math .vt-master-calculator :is(.vetika-field,.vetika-fractions-field,.vetika-statistics-field) input:focus-visible{outline:3px solid #a5d3bc;outline-offset:2px;border-color:#075940}
.vt-master-math .vt-master-calculator :is(.vetika-action,.vetika-statistics-action,.vetika-fractions-action){box-sizing:border-box;width:100%;min-height:50px;justify-self:stretch;border:0;border-radius:8px;background:#075940;color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.vt-master-math .vt-master-calculator :is(.vetika-action,.vetika-statistics-action,.vetika-fractions-action):hover{background:#127657}
.vt-master-math .vt-master-calculator :is(.vetika-action,.vetika-statistics-action,.vetika-fractions-action):focus-visible,.vt-master-math .vt-master-calculator button:focus-visible{outline:3px solid #a5d3bc;outline-offset:3px}
.vt-master-math .vt-master-calculator :is(.vetika-percentage-result,.vetika-statistics-result,.vetika-fractions-result){border:1px solid #d1e8d9;border-radius:12px;background:#eff9f4;padding:18px;text-align:center;min-width:0}
.vt-master-math .vt-master-calculator :is(.vetika-percentage-result,.vetika-statistics-result,.vetika-fractions-result) .vetika-result-label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#075940}
.vt-master-math .vt-master-calculator :is(.vetika-percentage-result,.vetika-statistics-result,.vetika-fractions-result) .vetika-result-value{font-family:var(--vt-font);font-size:clamp(36px,5vw,52px);color:#0a3d2f}
.vt-master-math .vt-master-calculator [data-result-details]{text-align:left;min-width:0}
.vt-master-math .vt-master-calculator [data-result-details] div{background:#fff;border-radius:8px}
.vt-master-math .vt-master-calculator .vetika-field-error:empty{display:none}
.vt-master-math .vt-master-calculator .vetika-form-alert[hidden],.vt-master-math .vt-master-calculator [data-result][hidden]{display:none}
.vt-master-math .vt-master-body{padding-top:30px;font-size:14px;line-height:1.8;color:#40594e}
.vt-master-math .vt-master-body>section{margin:0 0 28px}
.vt-master-math .vt-master-body h2{font-family:var(--vt-font);font-size:23px;line-height:1.32;color:var(--vt-ink);letter-spacing:-.025em;margin:28px 0 9px}
.vt-master-math .vt-master-body h3{font-family:var(--vt-font);font-size:16px;color:var(--vt-ink);margin:20px 0 7px}
.vt-master-math .vt-master-body p,.vt-master-math .vt-master-body ul{margin:0 0 13px}
.vt-master-math .vt-master-body ul{padding-left:22px}
.vt-master-math .vt-master-body a{color:#075940;text-decoration:underline;text-underline-offset:2px}
.vt-master-math .vt-master-body strong{color:#213e31}
.vt-master-math .vt-master-guides .guide-visual{flex:0 0 92px;width:92px;min-height:125px}
.vt-master-math .vt-master-related-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:8px;background:#edf6f0;color:#075940;margin-bottom:12px}
.vt-master-math .vt-master-related-icon svg{width:20px;height:20px}
.vt-master-math .vt-master-related .related-tools{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.vt-master-math a.guide-card,.vt-master-math a.tool-card{text-decoration:none}
.vt-master-math a.guide-card:focus-visible,.vt-master-math a.tool-card:focus-visible{outline:3px solid #a5d3bc;outline-offset:3px}
.vt-master-math .vt-master-calculator .vetika-statistics-row{background:#f9fcfa;border-color:#d6e5db}
.vt-master-math .vt-master-calculator :is(.vetika-statistics-secondary,.vetika-fractions-secondary){color:#075940;border-color:#c9e0d3;background:#fff}
@media(max-width:860px){.vt-master-math .vt-master-aside{display:none}}
@media(max-width:620px){.vt-master-math .vt-master-calculator :is(.vetika-percentage-fields,.vetika-fractions-fields){grid-template-columns:repeat(2,minmax(0,1fr))}.vt-master-math .vt-master-calculator{padding:15px}.vt-master-math .vt-master-body h2{font-size:21px}.vt-master-math .vt-master-guides .guide-visual{flex-basis:61px;width:61px}}
@media(max-width:355px){.vt-master-math .vt-master-calculator :is(.vetika-percentage-fields,.vetika-fractions-fields){grid-template-columns:1fr}}
