.converter-hub,.unit-calculator{--uc-ink:#482611;--uc-muted:#795139;--uc-orange:#a83d0a;--uc-line:#e9d4b9;color:var(--uc-ink);font-variant-numeric:tabular-nums}.converter-hub *,.unit-calculator *{box-sizing:border-box}.converter-hub ::selection,.unit-calculator ::selection{background:#ffcf83;color:#482611}.converter-hub :is(a,select):focus-visible,.unit-calculator :is(button,a,input):focus-visible{outline:3px solid #bd490d;outline-offset:4px}.unit-calculator{position:relative;overflow:hidden;border:2px solid #69371b;border-radius:28px;background:#fffaf0;box-shadow:0 12px 28px -16px #71371655;padding:28px}.uc-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.uc-topline h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:850;letter-spacing:-.035em;line-height:1.15;margin:0}.uc-swap{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:.85rem;font-weight:700;text-decoration:none;border:1px solid var(--uc-line);border-radius:100px;padding:9px 14px;background:#fffdf8;white-space:nowrap}.uc-copy:hover:not(:disabled),.uc-swap:hover{background:#ffe8c2;border-color:#b96a2e}.uc-workspace{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:stretch}.uc-input-panel{min-width:0;padding:18px 0 0}.uc-input-panel>label,.uc-result-label{display:block;font-size:.95rem;font-weight:750;margin-bottom:12px}.uc-input-wrap{display:flex;align-items:center;gap:10px;border-bottom:2px solid #9e7653;padding-bottom:12px}.uc-input-wrap input{width:100%;min-width:0;background:transparent;font-size:clamp(1.8rem,4.5vw,3rem);line-height:1.3;font-weight:750;letter-spacing:-.03em;border:0;border-radius:3px;color:var(--uc-ink);caret-color:var(--uc-orange);padding:0}.uc-input-wrap input::placeholder{font-size:1.2rem;color:var(--uc-muted);font-weight:450;letter-spacing:0}.uc-input-wrap>span{font-size:1.1rem;font-weight:650;color:var(--uc-muted)}.uc-invalid{border-color:#b42318}.uc-presets{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:.8rem;color:var(--uc-muted)}.uc-presets button{min-width:40px;min-height:36px;padding:5px 9px;border:1px solid var(--uc-line);border-radius:9px;background:#fffdf8;color:var(--uc-ink);font-weight:700}.uc-presets button:hover{background:#ffe3af;border-color:#b96a2e}.uc-error,.uc-help{font-size:.76rem;line-height:1.6;margin-top:10px;color:var(--uc-muted)}.uc-error{color:#a12516}.uc-equal{display:grid;place-items:center;color:var(--uc-orange)}.uc-result-panel{min-width:0;background:#ffe3ad;padding:18px 22px;border-radius:17px;display:flex;flex-direction:column}.uc-answer{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;font-size:clamp(1.8rem,4.5vw,3rem);font-weight:800;line-height:1.3;letter-spacing:-.035em;overflow-wrap:anywhere}.uc-answer>span:first-child{max-width:100%}.uc-answer-unit{font-size:1.1rem;letter-spacing:0;font-weight:650;color:var(--uc-muted)}.uc-result-bottom{justify-content:space-between;gap:8px;margin-top:auto;padding-top:20px;font-size:.69rem;color:var(--uc-muted)}.uc-copy,.uc-result-bottom{display:flex;align-items:center}.uc-copy{gap:6px;min-height:38px;padding:7px 10px;background:#fffaf0;border:1px solid #cc9557;border-radius:9px;font-size:.8rem;color:var(--uc-ink);font-weight:650}.uc-copy:disabled{opacity:.5;cursor:not-allowed}.uc-formula{border-top:1px dashed #cba87e;margin-top:25px;padding-top:17px}.uc-formula>span:first-child{font-size:.75rem;font-weight:700;color:var(--uc-muted)}.uc-formula p{font-size:.95rem;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}.uc-copy-status{display:block;font-size:.8rem;margin-top:3px;color:var(--uc-orange)}.uc-copy-status:empty{display:none}.uc-system{margin:0 0 25px;padding:0;border:0}.uc-system legend{font-size:.8rem;font-weight:700;margin-bottom:8px}.uc-system>div{display:flex;gap:8px;flex-wrap:wrap}.uc-system label{position:relative;cursor:pointer}.uc-system input{position:absolute;opacity:0;width:1px;height:1px}.uc-system label span{display:block;border:1px solid #b5936b;border-radius:10px;padding:9px 14px;min-height:42px;font-size:.8rem;font-weight:650;background:#fffdf8}.uc-system input:checked+span{background:#633616;border-color:#633616;color:#fff8e9}.uc-system input:focus-visible+span{outline:3px solid #bd490d;outline-offset:3px}.uc-system p{font-size:.75rem;margin-top:9px;color:var(--uc-muted)}.ch-picker{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.ch-picker label{font-weight:750;font-size:.95rem}.ch-picker select{max-width:100%;border:1px solid #b5936b;border-radius:12px;padding:12px 35px 12px 14px;background:#fffaf0;color:#482611;font-size:.95rem}.ch-directory{margin-top:72px}.ch-directory-heading h2{font-size:clamp(1.7rem,4vw,2.3rem);font-weight:850;letter-spacing:-.035em;line-height:1.2;color:inherit}.ch-directory-heading p{margin-top:12px;line-height:1.7;color:var(--uc-muted);max-width:65ch}.ch-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:32px}.ch-category h3{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:800;text-transform:capitalize;padding-bottom:14px;border-bottom:2px solid #b96927}.ch-category ul{list-style:none;margin:0;padding:0}.ch-category li{border-bottom:1px solid var(--uc-line)}.ch-category a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0;min-height:58px;text-decoration:none;font-size:.87rem;font-weight:650;line-height:1.5}.ch-category a svg{flex-shrink:0;color:var(--uc-orange)}.ch-category a:hover{color:var(--uc-orange);text-decoration:underline;text-underline-offset:4px}.ch-to{font-weight:400;color:var(--uc-muted)}.dark .converter-hub{--uc-ink:#fff1d6;--uc-muted:#d7bfa5;--uc-line:#775638;--uc-orange:#ffc080}.dark .unit-calculator{--uc-ink:#482611;--uc-muted:#795139;--uc-line:#e9d4b9;--uc-orange:#a83d0a}@media(max-width:640px){.unit-calculator{padding:22px 18px;border-radius:22px}.uc-topline{margin-bottom:20px;gap:10px}.uc-swap{padding:8px 10px;font-size:.75rem}.uc-workspace{grid-template-columns:minmax(0,1fr)}.uc-input-panel{padding-top:0}.uc-answer,.uc-input-wrap input{font-size:2.4rem}.uc-equal{height:34px}.uc-result-panel{padding:18px}.uc-result-bottom{padding-top:15px}.ch-categories{grid-template-columns:1fr;gap:30px}.ch-directory{margin-top:48px}.ch-picker{gap:10px}.ch-picker select{width:100%}}@media print{.unit-calculator{box-shadow:none;break-inside:avoid}.uc-copy,.uc-presets,.uc-swap{display:none}.ch-directory{margin-top:30px}}.converter-hub{max-width:64rem;margin:0 auto;padding:0 20px 80px}.ch-selected-guide{margin-top:27px;max-width:70ch}.ch-selected-guide h2{font-size:1.2rem;font-weight:750;line-height:1.4}.ch-selected-guide p{margin-top:9px;font-size:.94rem;line-height:1.8;color:var(--uc-muted)}.ch-selected-guide a{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;font-size:.9rem;font-weight:700;color:var(--uc-orange);text-decoration:underline;text-underline-offset:4px}.ch-selected-guide a:hover{text-decoration-thickness:2px}@media(min-width:640px){.converter-hub{padding-inline:32px}}