:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0b0e14; color: #e8ecf5; }
* { box-sizing: border-box; } body { margin: 0; min-width: 320px; } .shell { max-width: 1380px; margin: auto; padding: 48px 24px 72px; }
header { max-width: 800px; margin-bottom: 28px; } .eyebrow { color: #6fc8ff; font-size: .76rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 8px; } h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0; } .lede { color: #aeb8ca; line-height: 1.5; margin: 12px 0 0; }
.panel { background: #131925; border: 1px solid #283348; border-radius: 12px; box-shadow: 0 18px 35px #0003; } .controls { display: flex; gap: 16px; padding: 16px; margin-bottom: 20px; } label { color: #aeb8ca; display: grid; font-size: .78rem; font-weight: 650; gap: 6px; } .setting-title { align-items: center; display: flex; gap: 6px; min-height: 1em; white-space: nowrap; } .format-indicator { align-items: center; color: #7d8ba2; cursor: help; display: inline-flex; position: relative; } .format-indicator svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; } .format-indicator.match { color: #79dca8; } .format-indicator.mismatch { color: #ff7b7b; } .format-indicator::after { background: #07101b; border: 1px solid #344158; border-radius: 5px; bottom: calc(100% + 7px); color: #e8ecf5; content: attr(data-tooltip); font-size: .72rem; font-weight: 500; left: 50%; opacity: 0; padding: 6px 8px; pointer-events: none; position: absolute; transform: translate(-50%, 3px); transition: opacity .15s, transform .15s; white-space: nowrap; z-index: 2; } .format-indicator:hover::after, .format-indicator:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
select, textarea, button { font: inherit; } select, textarea { background: #0d121c; border: 1px solid #344158; border-radius: 7px; color: #f4f7fc; padding: 10px; } select { min-width: 180px; } .workbench { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.5fr); gap: 20px; } .input-panel, .results-panel { padding: 20px; }
.section-heading { align-items: baseline; display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; } h2 { flex: 0 0 auto; font-size: 1rem; margin: 0; white-space: nowrap; } #summary, #inputCount { color: #aeb8ca; font-size: .84rem; text-align: right; } #summary { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; } #exportInput { height: 310px; resize: vertical; width: 100%; } .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button { border: 0; border-radius: 7px; cursor: pointer; font-weight: 700; padding: 10px 15px; } button:disabled { cursor: not-allowed; opacity: .5; } .primary { background: #4db7f5; color: #06111b; } .primary:hover:not(:disabled) { background: #84d2ff; } .quiet { background: #273247; color: #e8ecf5; } .hint, .source-note { color: #93a1b9; font-size: .82rem; line-height: 1.45; } .hint { margin: 16px 0 0; }
.table-wrap { border: 1px solid #2a354a; border-radius: 8px; max-height: 420px; overflow: auto; } table { border-collapse: collapse; min-width: 540px; width: 100%; } th, td { border-bottom: 1px solid #263147; padding: 10px 12px; text-align: left; } th { background: #1b2434; color: #b8c4d9; font-size: .75rem; letter-spacing: .04em; position: sticky; text-transform: uppercase; top: 0; z-index: 2; } .sort-button { background: transparent; border-radius: 0; color: inherit; font: inherit; letter-spacing: inherit; padding: 0; text-align: inherit; text-transform: inherit; } .sort-button:hover, .sort-button:focus-visible { color: #8bd3ff; } .sort-indicator { color: #6fc8ff; display: inline-block; margin-left: 3px; width: 1em; } th:nth-child(2) .sort-button, th:nth-child(3) .sort-button { text-align: right; width: 100%; } td { font-size: .9rem; } #results > tr:not(.summary-row) > td:first-child { text-align: left; } #results > tr:not(.summary-row) > td:nth-child(2), #results > tr:not(.summary-row) > td:nth-child(3) { text-align: right; } .empty { color: #93a1b9; padding: 32px; text-align: center; } .status { font-size: .78rem; font-weight: 700; white-space: nowrap; } .error { color: #ff7b7b !important; } .waiting { color: #9ecff2; } .waiting::after { animation: waiting-dots 1.25s steps(4, end) infinite; content: '...'; display: inline-block; overflow: hidden; vertical-align: bottom; width: 0; } @keyframes waiting-dots { to { width: 1.15em; } } .row-error td { background: #3a1822; border-bottom-color: #69303d; } .row-error td:first-child { border-left: 3px solid #ff7b7b; padding-left: 9px; } .summary-row td { background: #182235; border-top: 2px solid #39506f; bottom: 0; padding: 11px 14px; position: sticky; vertical-align: middle; z-index: 1; } .summary-label { color: #6fc8ff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-align: center; } .summary-descriptions, .summary-values { line-height: 1.2rem; text-align: right; white-space: nowrap; } .summary-descriptions span, .summary-values span { display: block; } .summary-text { color: #aeb8ca; font-size: .8rem; font-weight: 650; } .summary-formula { align-items: center; color: #78879d; display: flex !important; gap: 6px; height: 1.2rem; } .summary-formula::before { background: currentColor; content: ''; flex: 1; height: 1px; opacity: .75; } .summary-formula::after { content: '−'; font-size: .9rem; font-weight: 750; } .summary-value { color: #79dca8; font-size: .82rem; font-weight: 750; } .summary-positive { color: #79dca8; font-size: .82rem; font-weight: 750; } .summary-negative { color: #ff7b7b; font-size: .82rem; font-weight: 750; } .summary-empty { color: #93a1b9; font-size: .82rem; font-weight: 750; } .source-note { min-height: 19px; margin-top: 10px; } .source-note a { color: #6fc8ff; text-decoration: none; } .source-note a:hover, .source-note a:focus-visible { color: #a8ddff; text-decoration: underline; } .import-actions { align-items: end; display: flex; gap: 14px; margin: 12px 0; } .output-actions { margin: 0; } .clipboard-label { flex: 1; margin: 0; min-width: 180px; } #clipboardOutput { background: #0a0f17; color: #aeb8ca; font-family: ui-monospace, monospace; height: 42px; resize: none; width: 100%; }
.toast { background: #d7f4e3; border-radius: 7px; bottom: 20px; color: #102417; opacity: 0; padding: 12px 16px; position: fixed; right: 20px; transform: translateY(10px); transition: .2s; } .toast.show { opacity: 1; transform: translateY(0); }
.site-footer { color: #78879d; display: grid; font-size: .72rem; gap: 4px; line-height: 1.5; margin: 0 auto; max-width: 1380px; padding: 0 24px 28px; text-align: center; } .site-footer span { min-width: 0; overflow-wrap: anywhere; } .site-footer a { color: #6fc8ff; text-decoration: none; } .site-footer a:hover, .site-footer a:focus-visible { color: #a8ddff; text-decoration: underline; }
.guide { background: #131925; border: 1px solid #283348; border-radius: 12px; margin-top: 20px; overflow: hidden; } .guide summary { align-items: center; cursor: pointer; display: flex; justify-content: space-between; list-style: none; padding: 16px 20px; } .guide summary::-webkit-details-marker { display: none; } .guide summary::after { color: #6fc8ff; content: '+'; font-size: 1.35rem; font-weight: 500; line-height: 1; } .guide[open] summary { border-bottom: 1px solid #283348; } .guide[open] summary::after { content: '−'; } .guide summary span { display: grid; gap: 3px; } .guide summary strong { color: #e8ecf5; font-size: 1rem; } .guide summary small { color: #93a1b9; font-size: .8rem; } .guide-steps { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; } .guide-step { background: #0d121c; border: 1px solid #2a354a; border-radius: 8px; padding: 18px; } .guide-step-number { color: #6fc8ff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; } .guide-step h2 { font-size: 1rem; margin: 8px 0; white-space: normal; } .guide-step p { color: #aeb8ca; font-size: .88rem; line-height: 1.55; margin: 0; } .guide-step strong { color: #e8ecf5; }
@media (max-width: 850px) { .shell { padding: 28px 16px 32px; } .controls, .workbench, .import-actions, .guide-steps { grid-template-columns: 1fr; display: grid; } select { width: 100%; } .workbench { gap: 14px; } .input-panel, .results-panel { padding: 16px; } .guide summary, .guide-steps { padding-left: 16px; padding-right: 16px; } .site-footer { padding: 0 16px 24px; } }
