.hat-root{accent-color:var(--accent)}.hat-root .hat-lead{text-align:center;max-width:640px;color:var(--calc-text);margin:0 auto .75rem;font-size:.9375rem;line-height:1.6}.hat-root .hat-lead--small{color:var(--calc-text-muted);margin-bottom:1.5rem;font-size:.875rem}.hat-root .primary-result-label{text-transform:none;letter-spacing:0;font-size:.9375rem}.hat-root .primary-result-amount .hat-of{letter-spacing:0;color:var(--calc-text-muted);font-size:.45em}.hat-root .primary-result-period{margin-top:.5rem;line-height:1.4}.hat-root .hat-label{color:var(--calc-text-muted);margin:0 0 .375rem;padding:0;font-size:.8125rem;font-weight:600;display:block}.hat-root .hat-text{box-sizing:border-box;border:1px solid var(--calc-input-border);width:100%;min-width:0;min-height:2.75rem;font-size:1rem;font-family:var(--calc-font-body);background:var(--calc-input-bg);color:var(--calc-text);transition:border-color var(--calc-transition-fast);border-radius:8px;padding:.625rem .75rem}.hat-root .hat-text:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hat-root .hat-text[aria-invalid=true]{border-color:var(--danger)}.hat-root .hat-helper{color:var(--calc-text-muted);margin:.375rem 0 0;font-size:.75rem;line-height:1.4}.hat-root .hat-field{margin-top:1.25rem}.hat-root .hat-message{border-radius:8px;margin:.5rem 0 0;padding:.5rem .75rem;font-size:.8125rem;line-height:1.45}.hat-root .hat-error{color:var(--danger);background:var(--danger-bg);border:1px solid var(--danger-border)}.hat-root .hat-stem{color:var(--calc-text);overflow-wrap:anywhere;margin:0 0 .375rem;font-size:1rem;line-height:1.45}.hat-root .hat-item{border:0;min-width:0;margin:0;padding:0}.hat-root .hat-item+.hat-item{border-top:1px solid var(--calc-card-border);margin-top:1.25rem;padding-top:1.25rem}.hat-root .hat-legend{color:var(--calc-text);margin:0 0 .625rem;padding:0;font-size:.9375rem;font-weight:700;line-height:1.4}.hat-root .hat-scale{grid-template-columns:repeat(7,minmax(0,1fr));gap:.375rem;display:grid}.hat-root .hat-choices{flex-wrap:wrap;gap:.5rem;display:flex}.hat-root .hat-choices .hat-option{flex:10rem}.hat-root .hat-option{min-width:0;position:relative}.hat-root .hat-option input{opacity:0;width:1px;height:1px;margin:0;position:absolute;top:50%;left:50%}.hat-root .hat-option label{border:1px solid var(--calc-chip-border);background:var(--calc-chip-bg);min-height:2.75rem;color:var(--calc-chip-text);text-align:center;cursor:pointer;user-select:none;transition:background-color var(--calc-transition-fast), border-color var(--calc-transition-fast);border-radius:8px;justify-content:center;align-items:center;padding:.25rem;font-size:1rem;font-weight:600;line-height:1.2;display:flex}.hat-root .hat-choices .hat-option label{padding:.5rem .75rem;font-size:.9375rem}.hat-root .hat-option label:hover{border-color:var(--calc-chip-hover-border);background:var(--calc-chip-hover-bg);color:var(--calc-chip-hover-text)}.hat-root .hat-option input:checked+label{background:var(--accent-strong);border-color:var(--accent);color:var(--text-on-accent);box-shadow:var(--calc-chip-active-shadow)}.hat-root .hat-option input:checked+label:hover{background:var(--accent-strong-hover)}.hat-root .hat-option input:focus-visible+label{outline:2px solid var(--accent);outline-offset:2px}.hat-root .hat-anchors{color:var(--calc-text-muted);justify-content:space-between;gap:.5rem;margin-top:.375rem;font-size:.75rem;line-height:1.3;display:flex}.hat-root .hat-meter{margin:0 0 1rem}.hat-root .hat-meter-track{background:var(--surface-sunken);border:1px solid var(--border-interactive);border-radius:6px;height:12px;position:relative;overflow:hidden}.hat-root .hat-meter-fill{background:var(--accent-strong);height:100%;transition:width var(--calc-transition-fast)}.hat-root .hat-meter-tick{background:var(--text);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0;left:50%}.hat-root .hat-meter-scale{color:var(--calc-text-muted);grid-template-columns:1fr auto 1fr;margin-top:.25rem;font-size:.75rem;display:grid}.hat-root .hat-meter-scale span:last-child{text-align:right}.hat-root .hat-stage{background:var(--calc-results-breakdown-bg);border-radius:12px;padding:.875rem 1rem}.hat-root .hat-stage-label{color:var(--calc-text-muted);margin:0;font-size:.875rem}.hat-root .hat-stage-label strong{color:var(--calc-text);font-size:1.0625rem}.hat-root .hat-stage-text{color:var(--calc-text);margin:.25rem 0 0;font-size:.9375rem;line-height:1.5}.hat-root .hat-stage-note{color:var(--calc-text-muted);margin:.5rem 0 0;font-size:.75rem;line-height:1.45}.hat-root .hat-breakdown-title{color:var(--calc-text);margin:0;font-size:.875rem;font-weight:700}.hat-root .results-breakdown .result-label{flex-wrap:wrap}.hat-root .results-breakdown .result-value{text-align:right;flex-shrink:0}.hat-root .hat-lowest{background:var(--accent-strong);color:var(--text-on-accent);border-radius:8px;padding:.125rem .5rem;font-size:.75rem;font-weight:700;line-height:1.3;display:inline-block}.hat-root .hat-weakest-statement{color:var(--calc-text);margin:0;font-size:1.0625rem;font-weight:700;line-height:1.4}.hat-root .hat-weakest-rating{color:var(--calc-text-muted);margin:.25rem 0 0;font-size:.875rem}.hat-root .hat-tip{background:var(--calc-page-bg);border:1px solid var(--calc-card-border);border-left:3px solid var(--accent);border-radius:12px;margin-top:.875rem;padding:.75rem 1rem}.hat-root .hat-tip-label{color:var(--accent-soft);margin:0 0 .25rem;font-size:.8125rem;font-weight:700}.hat-root .hat-tip-text{color:var(--calc-text);margin:0;font-size:.9375rem;line-height:1.5}.hat-root .hat-timeline-empty,.hat-root .hat-timeline-line,.hat-root .hat-timeline-cross{color:var(--calc-text);margin:0;font-size:.9375rem;line-height:1.55}.hat-root .hat-timeline-cross{margin-top:.5rem}.hat-root .hat-timeline-caveat{color:var(--calc-text-muted);margin:.625rem 0 0;font-size:.8125rem;line-height:1.45}.hat-root .hat-timeline-link{margin:.875rem 0 0;font-size:.875rem;font-weight:600}.hat-article .hat-sources{border-top:1px solid var(--calc-card-border);margin-top:2.5rem;padding-top:1.5rem}.hat-article .hat-sources h3{margin-top:0}.hat-article .hat-sources li,.hat-article .hat-sources p{overflow-wrap:anywhere;font-size:.8125rem;line-height:1.55}.hat-article .hat-sources .hat-sources-note{margin:.75rem 0 0}
