.calc-vote{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.6rem}.calc-vote-label{font-size:.78rem;color:#e4e4e4a6;white-space:nowrap}.calc-vote-btn{display:flex;align-items:center;gap:.3rem;padding:.4rem .65rem;border-radius:8px;border:1px solid var(--card-border, #333);background:var(--card-bg, #1f1f1f);color:var(--off-white, #e4e4e4);font-size:.78rem;line-height:1;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.calc-vote-btn:hover:not(:disabled),.calc-vote-btn:focus-visible{border-color:var(--brand-color-on-black, #ffc44d);color:var(--off-white, #e4e4e4)}.calc-vote-btn:disabled{cursor:default;opacity:.7}.calc-vote-btn.is-active{border-color:var(--brand-color-on-black, #ffc44d);background:#ffc44d1f}.calc-vote-icon{font-size:.85rem}.calc-vote-count{min-width:1ch;font-variant-numeric:tabular-nums;color:#e4e4e4bf}.calc-vote-down-wrap{position:relative;display:inline-flex}.calc-vote-menu{position:absolute;top:calc(100% + .4rem);right:0;z-index:20;display:flex;flex-direction:column;gap:.15rem;min-width:11rem;padding:.5rem;border-radius:10px;border:1px solid var(--card-border, #333);background:var(--card-bg, #1f1f1f);box-shadow:0 8px 24px #00000073}.calc-vote-menu-title{padding:.15rem .4rem .4rem;font-size:.72rem;font-weight:600;color:var(--off-white, #e4e4e4);white-space:nowrap}.calc-vote-menu-item{padding:.4rem .5rem;border:none;border-radius:6px;background:transparent;color:#e4e4e4d9;font-size:.78rem;text-align:left;cursor:pointer;transition:background-color .15s ease,color .15s ease}.calc-vote-menu-item:hover:not(:disabled),.calc-vote-menu-item:focus-visible{background:#ffc44d1f;color:var(--off-white, #e4e4e4)}.calc-vote-menu-item:disabled{cursor:default;opacity:.6}.calc-vote-error{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;height:1.1rem;border-radius:50%;background:#e0606026;color:#e06060;font-size:.7rem;font-weight:700;cursor:help}.calc-tests-btn{font-size:.78rem;padding:.4rem .75rem;border-radius:8px;border:1px solid var(--card-border, #333);background:var(--card-bg, #1f1f1f);color:var(--off-white, #e4e4e4);cursor:pointer;transition:border-color .15s ease,color .15s ease}.calc-tests-btn:hover,.calc-tests-btn:focus-visible{border-color:var(--brand-color-on-black, #ffc44d)}.calc-tests-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:#0009;backdrop-filter:blur(2px)}.calc-tests-dialog{width:100%;max-width:760px;max-height:80vh;display:flex;flex-direction:column;background:var(--card-bg, #1f1f1f);border:1px solid var(--card-border, #333);border-radius:14px;box-shadow:0 16px 48px #00000080;outline:none}.calc-tests-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1.1rem .85rem;border-bottom:1px solid var(--card-border, #333)}.calc-tests-title{margin:0;font-size:.95rem;font-weight:600;color:var(--off-white, #e4e4e4)}.calc-tests-summary{margin:.3rem 0 0;font-size:.75rem;color:#e4e4e4a6}.calc-tests-summary-pass{color:#7de0a8}.calc-tests-summary-fail{color:#ff8a7e}.calc-tests-close{flex:none;width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid var(--card-border, #333);background:transparent;color:#e4e4e4bf;font-size:.8rem;cursor:pointer;transition:border-color .15s ease,color .15s ease}.calc-tests-close:hover,.calc-tests-close:focus-visible{border-color:var(--brand-color-on-black, #ffc44d);color:var(--off-white, #e4e4e4)}.calc-tests-body{overflow:auto;padding:.25rem 1.1rem 1.1rem}.calc-tests-table{width:100%;border-collapse:collapse;font-size:.78rem;white-space:nowrap}.calc-tests-table thead th{position:sticky;top:0;background:var(--card-bg, #1f1f1f);text-align:left;padding:.55rem .7rem;font-size:.72rem;font-weight:600;color:#e4e4e4a6;border-bottom:1px solid var(--card-border, #333)}.calc-tests-table tbody td{padding:.55rem .7rem;border-bottom:1px solid rgba(255,255,255,.06);color:var(--off-white, #e4e4e4);white-space:normal}.calc-tests-table tbody tr:last-child td{border-bottom:none}.calc-tests-row--fail td{background:#e0606012}.calc-tests-badge{display:inline-flex;align-items:center;padding:.2rem .55rem;border-radius:999px;font-size:.72rem;font-weight:600;white-space:nowrap}.calc-tests-badge.is-pass{background:#7de0a826;color:#7de0a8}.calc-tests-badge.is-fail{background:#ff8a7e26;color:#ff8a7e}.calc-tests-sources{margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--card-border, #333)}.calc-tests-sources-title{margin:0 0 .5rem;font-size:.72rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:#e4e4e48c}.calc-tests-sources dl{margin:0;display:flex;flex-direction:column;gap:.55rem}.calc-tests-source{font-size:.75rem;line-height:1.5;white-space:normal}.calc-tests-source dt{font-weight:600;color:var(--off-white, #e4e4e4)}.calc-tests-source dd{margin:.1rem 0 0;color:#e4e4e4a6}.calc-tests-source dd a{color:var(--brand-color-on-black, #ffc44d);text-decoration:underline;text-underline-offset:2px}
