 .dsf { padding: 56px 20px; background: #f5f0e8; scroll-margin-top: 120px; } .dsf__inner { max-width: 460px; margin: 0 auto; color: #1C150F; } .dsf__heading { text-align: center; margin: 0 0 8px; } .dsf__intro { text-align: center; color: #7C5F38; font-family: Georgia, 'Times New Roman', serif; font-style: italic; margin: 0 0 28px; } .dsf__tabs { display: flex; border-bottom: 1px solid #ded8cf; margin-bottom: 28px; } .dsf__tab { flex: 1; background: none; border: 0; padding: 12px 0; font: inherit; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; cursor: pointer; color: inherit; opacity: .55; border-bottom: 2px solid transparent; margin-bottom: -1px; } .dsf__tab.is-active { opacity: 1; border-bottom-color: var(--dsf-accent); } .dsf__units { display: flex; width: max-content; margin: 0 auto 24px; padding: 3px; border-radius: 999px; background: rgba(28,21,15,.06); } .dsf__unit { border: 0; background: none; font: inherit; padding: 6px 20px; border-radius: 999px; cursor: pointer; color: inherit; } .dsf__unit.is-active { background: #1C150F; color: #FAF8F3; } .dsf__field { display: block; padding: 14px 0 6px; border-bottom: 1px solid #d4cabe; } .dsf__field:focus-within { border-bottom-color: var(--dsf-accent); } .dsf__label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #7C5F38; } .dsf__inputwrap { display: flex; align-items: baseline; } .dsf__input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 2em; padding: 4px 0; color: inherit; outline: none; -moz-appearance: textfield; } .dsf__input::-webkit-outer-spin-button, .dsf__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .dsf__suffix { color: #7C5F38; font-size: .85em; } .dsf__result { margin-top: 28px; min-height: 120px; } .dsf__hint { text-align: center; color: #7C5F38; padding: 36px 0; margin: 0; } .dsf__answer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--dsf-accent); background: #fff; } .dsf__answer[hidden] { display: none; } .dsf__answer-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #7C5F38; } .dsf__answer-size { display: block; font-size: 3.2em; font-weight: 500; line-height: 1.05; } .dsf__conv { display: grid; grid-template-columns: auto auto; gap: 4px 10px; margin: 0; text-align: right; } .dsf__conv dt { font-weight: 500; } .dsf__conv dd { margin: 0; } .dsf__note { margin: 14px 0 0; font-size: .92em; line-height: 1.55; } .dsf__note a { color: #1C150F; text-decoration: underline; } .dsf__how { margin-top: 24px; border-top: 1px solid #ded8cf; padding-top: 14px; } .dsf__how summary { cursor: pointer; } .dsf__how-body { padding-top: 10px; line-height: 1.6; } .dsf__tablewrap { overflow-x: auto; background: #fff; } .dsf__table { width: 100%; border-collapse: collapse; font-size: .9em; white-space: nowrap; } .dsf__table th, .dsf__table td { padding: 10px 8px; border-bottom: 1px solid #ded8cf; text-align: center; } .dsf__table thead th { font-weight: 500; } .dsf__chartnote { font-size: .85em; color: #7C5F38; margin-top: 10px; } .dsf button:focus-visible, .dsf summary:focus-visible { outline: 2px solid var(--dsf-accent); outline-offset: 2px; } 