.fr-page{padding-top:0}.fr-page>nav{margin-bottom:.5rem}.fr-page>section[aria-labelledby=tool-title]{padding-bottom:1rem}.fr-page #tool-title+p{margin-top:.5rem;line-height:1.5}.fr-layout,.fr-form,.fr-field,.fr-operation,.fr-body,.fr-answer,.fr-solution,.fr-step-copy,.fr-step-formulas{min-width:0}.fr-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;align-items:start}.fr-field{display:flex;flex-direction:column;gap:.375rem}.fr-field label{font-size:.875rem;line-height:1.25rem;font-weight:600}.fr-form .field-input{font-size:1rem;min-height:2.75rem;border-radius:.5rem;font-variant-numeric:tabular-nums}.fr-operation,.fr-hint,.fr-calculate{grid-column:1 / -1}.fr-operation select{font-weight:600}.fr-hint{font-size:.75rem;line-height:1.25rem;color:var(--text-muted)}.fr-error{font-size:.875rem;line-height:1.5rem;color:var(--text-primary);overflow-wrap:anywhere}.fr-calculate{width:100%;min-height:3.25rem;border-radius:.5rem}.fr-body{display:grid;gap:1rem;border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.fr-section-title{font-size:1.125rem;line-height:1.5rem;font-weight:700}.fr-answer-content{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;row-gap:.75rem;margin-top:.5rem;padding:1rem;border-radius:.5rem;background:var(--surface-muted)}.fr-answer-math{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem;min-width:0}.fr-expression{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;min-width:0;max-width:100%;font-size:1rem;line-height:1.5;font-variant-numeric:tabular-nums}.fr-expression>span{max-width:100%}.fr-expression>span:nth-child(3){display:inline-flex;align-items:center;gap:.125rem}.fr-written{display:inline-flex;max-width:100%;align-items:center;gap:.15em;vertical-align:middle}.fr-sign{flex-shrink:0}.fr-whole,.fr-integer{overflow-wrap:anywhere;min-width:0}.fr-fraction{display:inline-flex;flex-direction:column;text-align:center;min-width:1.1em;max-width:100%;font-variant-numeric:tabular-nums;line-height:1.1}.fr-fraction>span{padding:.05em .18em;min-width:0;overflow-wrap:anywhere}.fr-fraction>span+span{border-top:1px solid currentColor}.fr-answer-number{display:flex;align-items:center;justify-content:center;font-size:2.25rem;line-height:1.25;font-weight:800;letter-spacing:-.025em;min-width:0;max-width:100%;text-align:center;overflow-wrap:anywhere}.fr-answer-number[data-long=true]{font-size:1.375rem}.fr-improper,.fr-decimal{grid-column:1 / -1;font-size:.875rem;line-height:1.5rem;text-align:center;overflow-wrap:anywhere}.fr-decimal span{color:var(--text-muted);margin-right:.375rem}.fr-decimal strong{font-weight:600;font-variant-numeric:tabular-nums}.fr-copy-area{grid-column:1 / -1;min-width:0}.fr-copy{width:100%;min-height:2.75rem;border-radius:.5rem}.fr-icon{width:1.25rem;height:1.25rem;flex-shrink:0}.fr-copy-fallback{margin-top:.75rem;font-size:.875rem;line-height:1.5rem}.fr-copy-fallback textarea{margin-top:.75rem;font-size:1rem}.fr-previous,.fr-context{margin-top:.75rem;font-size:.875rem;line-height:1.5rem;color:var(--text-muted)}.fr-empty{min-height:5rem;margin-top:1rem;font-size:.875rem;line-height:1.5rem;color:var(--text-muted)}.fr-solution{border-top:1px solid var(--border);padding-top:1.25rem}.fr-steps{margin-top:1rem}.fr-steps>li{display:grid;grid-template-columns:2.25rem minmax(0,1fr);gap:.5rem .75rem;align-items:start;padding:1rem 0}.fr-steps>li:first-child{padding-top:0}.fr-steps>li+li{border-top:1px solid var(--border)}.fr-step-number{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:.875rem;font-weight:700}.fr-step-copy h3{font-size:.875rem;line-height:1.5rem;font-weight:700}.fr-step-copy p{font-size:.875rem;line-height:1.5rem;color:var(--text-muted);overflow-wrap:anywhere;margin-top:.25rem}.fr-step-formulas{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:.625rem 1rem}.fr-formula{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;font-size:1.125rem;line-height:1.5;font-variant-numeric:tabular-nums;min-width:0}.fr-formula>span{max-width:100%;overflow-wrap:anywhere}.fr-formula-number{min-width:0}.fr-page #instruction,.fr-rules{margin-top:2rem}.fr-instruction{display:grid;gap:1.25rem;margin-top:1.25rem}.fr-instruction>li{display:flex;min-width:0;align-items:flex-start;gap:.75rem}.fr-instruction-number{display:flex;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:50%;background:var(--surface-muted);font-weight:600}.fr-instruction h3,.fr-rules-grid h3{font-size:.875rem;line-height:1.25rem;font-weight:700}.fr-instruction p,.fr-rules p{margin-top:.5rem;font-size:.875rem;line-height:1.5rem;color:var(--text-muted)}.fr-rules-grid{display:grid;gap:.75rem;margin-top:1rem}.fr-rules-grid>div{min-width:0;padding:1rem;border:1px solid var(--border);border-radius:.75rem;background:var(--surface)}@media(min-width:40rem){.fr-rules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:48rem){.fr-page{padding-top:3rem}.fr-page>nav{margin-bottom:1.25rem}.fr-page>section[aria-labelledby=tool-title]{padding-bottom:2rem}.fr-instruction{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.fr-page #instruction,.fr-rules{margin-top:2.5rem}}@media(min-width:64rem){.fr-form{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.35fr) minmax(8rem,.8fr);gap:.5rem 1.25rem}.fr-form .field-input{min-height:3rem}.fr-operation{grid-column:auto;padding-top:1.625rem}.fr-calculate{grid-column:4;grid-row:1;min-height:3rem;margin-top:1.625rem}.fr-hint{grid-column:1 / -1;grid-row:2}.fr-body{grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:2rem;margin-top:1.5rem;padding-top:1.5rem}.fr-answer{grid-column:2;grid-row:1;border-left:1px solid var(--border);padding-left:2rem}.fr-solution{grid-column:1;grid-row:1;border:0;padding-top:0}.fr-answer-content{grid-template-columns:minmax(0,1fr);row-gap:1.25rem;margin-top:1rem;padding:1.25rem}.fr-answer-math{flex-direction:column;gap:1.25rem}.fr-expression{justify-content:center}.fr-answer-number{font-size:3rem}.fr-answer-number[data-long=true]{font-size:1.5rem}.fr-section-title{font-size:1.25rem;line-height:1.75rem}.fr-steps>li{grid-template-columns:2.5rem minmax(0,1fr) minmax(0,1.1fr);gap:1rem;align-items:center;padding:1.25rem 0}.fr-step-number{width:2.5rem;height:2.5rem;align-self:start}.fr-step-formulas{grid-column:3}.fr-formula{font-size:1.25rem}}
