.cft-calc .cft-field:disabled{opacity:.55}.cft-calc .cft-field.invalid{border-color:var(--color-error)}.cft-calc .cft-unit{display:inline-flex;align-items:center;padding:0 .85rem;border:1px solid color-mix(in oklch,var(--color-base-content) 18%,transparent);border-radius:var(--radius-field);background:var(--color-base-100);color:color-mix(in oklch,var(--color-base-content) 65%,transparent);font-size:.875rem;white-space:nowrap}.cft-calc .cft-seg{display:inline-flex;border:1px solid color-mix(in oklch,var(--color-base-content) 20%,transparent);border-radius:var(--radius-field);background:var(--color-base-100);overflow:hidden}.cft-calc .cft-seg-wide{display:flex;width:100%}.cft-calc .cft-seg-wide button{flex:1}.cft-calc .cft-seg button{background:transparent;color:color-mix(in oklch,var(--color-base-content) 70%,transparent);border:0;padding:.55rem .9rem;font-size:.95rem;font-weight:600;cursor:pointer;min-height:44px;transition:background-color .15s ease,color .15s ease}.cft-calc .cft-seg button+button{border-left:1px solid color-mix(in oklch,var(--color-base-content) 18%,transparent)}.cft-calc .cft-seg button:hover{background:color-mix(in oklch,var(--color-base-content) 6%,transparent)}.cft-calc .cft-seg button.active{background:#09c6f026;color:var(--color-primary)}.cft-calc .cft-errors{display:none;margin-top:1rem;border:1px solid color-mix(in oklch,var(--color-error) 45%,transparent);background:color-mix(in oklch,var(--color-error) 9%,transparent);border-radius:var(--radius-box);padding:.9rem 1.1rem;font-size:.95rem;color:var(--color-base-content)}.cft-calc .cft-errors.show{display:block}.cft-calc .cft-errors ul{margin:.35rem 0 0;padding-left:1.25rem;list-style:disc}.cft-calc .cft-hero-num{font-size:clamp(3rem,8vw,4.35rem)}.cft-calc .cft-hero-num .u{font-family:Inter Variable,system-ui,sans-serif;font-size:1rem;font-weight:600;color:color-mix(in oklch,var(--color-base-content) 65%,transparent);margin-left:.4rem;letter-spacing:0}.cft-calc .cft-metric-val .u{font-family:Inter Variable,system-ui,sans-serif;font-size:.9rem;font-weight:600;color:color-mix(in oklch,var(--color-base-content) 60%,transparent);margin-left:.3rem}.cft-calc .cft-status-badge{display:inline-flex;align-items:center;gap:.45rem;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .85rem;border-radius:9999px;border:1px solid color-mix(in oklch,var(--color-base-content) 22%,transparent);color:color-mix(in oklch,var(--color-base-content) 70%,transparent);background:var(--color-base-100)}.cft-calc .cft-status-badge .dot{width:8px;height:8px;border-radius:9999px;background:currentColor}.cft-calc .cft-status-badge.st-red{color:var(--color-error);border-color:color-mix(in oklch,var(--color-error) 50%,transparent)}.cft-calc .cft-status-badge.st-orange{color:var(--color-warning);border-color:color-mix(in oklch,var(--color-warning) 50%,transparent)}.cft-calc .cft-status-badge.st-green{color:var(--color-success);border-color:color-mix(in oklch,var(--color-success) 50%,transparent)}.cft-calc .cft-gauge{position:relative;margin:1.5rem 0 .5rem}.cft-calc .cft-gauge-track{display:flex;height:14px;border-radius:9999px;overflow:hidden;gap:2px;background:var(--color-base-100)}.cft-calc .cft-gauge-track div{height:100%}.cft-calc .cft-gauge-empty{width:100%;background:color-mix(in oklch,var(--color-base-content) 14%,transparent)}.cft-calc .z-red{background:#ff5b4fc7}.cft-calc .z-orange{background:#e28112d1}.cft-calc .z-green{background:#36d378d1}.cft-calc .cft-gauge-marker{position:absolute;top:-8px;width:4px;height:30px;background:var(--color-base-content);border-radius:2px;transform:translate(-50%);box-shadow:0 0 0 3px var(--color-base-200);transition:left .4s ease}.cft-calc .cft-gauge-ticks{position:relative;height:22px;margin-top:6px;font-size:.75rem;color:color-mix(in oklch,var(--color-base-content) 55%,transparent);font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.cft-calc .cft-gauge-ticks span{position:absolute;transform:translate(-50%);white-space:nowrap}.cft-calc .cft-gauge-legend{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;font-size:.82rem;color:color-mix(in oklch,var(--color-base-content) 72%,transparent);margin-top:.4rem}.cft-calc .cft-gauge-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}.cft-calc .callout{display:flex;gap:.85rem;align-items:flex-start;border-radius:var(--radius-box);padding:.85rem 1.1rem;font-size:.94rem;line-height:1.5}.cft-calc .callout .glyph{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-weight:700;flex-shrink:0}.cft-calc .callout.warning{border:1px solid rgba(226,129,18,.35);background:#e2811214}.cft-calc .callout.warning .glyph{color:var(--color-warning)}.cft-calc .callout.info{border:1px solid rgba(9,198,240,.32);background:#09c6f012}.cft-calc .callout.info .glyph{color:var(--color-primary)}.cft-calc .cft-stack{display:flex;height:36px;border-radius:var(--radius-box);overflow:hidden;gap:2px;margin:1rem 0;background:var(--color-base-100)}.cft-calc .cft-stack div{height:100%;min-width:3px;transition:width .4s ease}.cft-calc .cft-stack-empty{width:100%;background:color-mix(in oklch,var(--color-base-content) 14%,transparent)}.cft-calc .b-free{background:#4ade80}.cft-calc .b-alb{background:#09c6f0}.cft-calc .b-shbg{background:color-mix(in oklch,var(--color-base-content) 28%,transparent)}.cft-calc .cft-stack-legend{display:grid;gap:.5rem 1rem;grid-template-columns:1fr;font-size:.95rem}@media(min-width:720px){.cft-calc .cft-stack-legend{grid-template-columns:repeat(3,1fr)}}.cft-calc .cft-stack-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:-1px}.cft-calc .cft-stack-legend b{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-weight:600}.cft-calc ol.cft-sources{list-style:decimal;padding-left:1.35rem;margin:0}.cft-calc ol.cft-sources li{margin-bottom:.85rem;color:color-mix(in oklch,var(--color-base-content) 72%,transparent);line-height:1.55;font-size:.95rem}.cft-calc ol.cft-sources li:last-child{margin-bottom:0}.cft-calc ol.cft-sources li b{color:var(--color-base-content);font-weight:600}.cft-calc details.cft-method summary{cursor:pointer;font-family:Fraunces Variable,Georgia,serif;font-size:1.2rem;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:44px}.cft-calc details.cft-method summary::-webkit-details-marker{display:none}.cft-calc details.cft-method summary:after{content:"+";font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;color:var(--color-primary);font-size:1.35rem}.cft-calc details.cft-method[open] summary:after{content:"−"}.cft-calc .cft-eq{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;background:var(--color-base-100);border:1px solid color-mix(in oklch,var(--color-base-content) 12%,transparent);border-radius:var(--radius-field);padding:.95rem 1.05rem;overflow-x:auto;font-size:.88rem;line-height:1.7;white-space:pre;color:var(--color-base-content)}.cft-calc table.cft-table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:480px}.cft-calc table.cft-table th,.cft-calc table.cft-table td{text-align:left;padding:.55em .7em;border-bottom:1px solid color-mix(in oklch,var(--color-base-content) 12%,transparent);vertical-align:top}.cft-calc table.cft-table th{color:color-mix(in oklch,var(--color-base-content) 55%,transparent);font-weight:700;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}.cft-calc table.cft-table td.n{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;white-space:nowrap}[data-theme=asymmetric-light] .cft-calc .cft-seg button.active{background:#09c6f029;color:oklch(43% .14 220)}[data-theme=asymmetric-light] .cft-calc .cft-status-badge.st-green{color:oklch(39% .14 150);border-color:oklch(45% .14 150 / .45)}[data-theme=asymmetric-light] .cft-calc .cft-status-badge.st-orange{color:oklch(47% .16 55);border-color:oklch(52% .16 55 / .45)}[data-theme=asymmetric-light] .cft-calc .cft-status-badge.st-red{color:oklch(47% .2 25);border-color:#c2172573}[data-theme=asymmetric-light] .cft-calc .callout.warning .glyph{color:oklch(47% .16 55)}[data-theme=asymmetric-light] .cft-calc .callout.info .glyph{color:oklch(43% .14 220)}[data-theme=asymmetric-light] .cft-calc details.cft-method summary:after{color:oklch(43% .14 220)}[data-theme=asymmetric-light] .cft-calc .b-free{background:#16a34a}[data-theme=asymmetric-light] .cft-calc .b-alb{background:#0284c7}[data-theme=asymmetric-light] .cft-calc .z-green{background:#16a34ad9}
