.ep-home .ep-home-copy h2{max-width:15ch}.ep-home .ep-photo figcaption{padding:15px 17px}.ep-home .ep-photo figcaption strong{font-size:14px}.ep-home .ep-photo figcaption p{font-size:12px;line-height:1.6}
.dg-example{margin-top:18px;padding:23px;border:1px solid #e3e3ee;background:#fff;border-radius:20px;box-shadow:0 10px 35px -22px #22234930;color:#20233e}
.dg-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}.dg-heading>svg{width:33px;height:33px;padding:8px;box-sizing:content-box;border-radius:12px;background:#eeecfb;color:#6551cc;flex:none}.dg-heading strong{display:block;font-size:16px;letter-spacing:-.035em}.dg-heading small{display:block;font-size:10px;color:#84869c;margin-top:4px}
.dg-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:19px}.dg-fields label{font-size:10px;font-weight:500;line-height:1.4;color:#7d8195;display:flex;flex-direction:column;gap:7px;min-width:0}.dg-input{display:flex;align-items:center;gap:4px;border:1px solid #e2e2ed;border-radius:9px;background:#fafafe;padding:9px 10px;color:#9a9bae}.dg-input input{width:100%;min-width:0;border:0;padding:0;background:transparent;font-family:inherit;font-size:14px;font-weight:600;color:#333852;outline:none;appearance:textfield}.dg-input:focus-within{outline:2px solid #9d8ce8;outline-offset:2px}.dg-input input::-webkit-inner-spin-button{appearance:none}.dg-input span{font-size:12px}
.dg-calculation{border-top:1px solid #efeff5;padding-top:17px}.dg-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#7a7e92;margin:0 0 11px}.dg-line strong{color:#373d58;font-size:14px;font-variant-numeric:tabular-nums}.dg-line.dg-deduction strong{color:#b67a30}.dg-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-radius:12px;background:#eff8f3;color:#3c7461;margin-top:15px}.dg-result span{font-size:12px;font-weight:500}.dg-result output{font-size:28px;letter-spacing:-.055em;font-weight:650;color:#21755b;font-variant-numeric:tabular-nums}
.dg-bar{display:flex;height:8px;background:#f1d8b6;border-radius:8px;overflow:hidden;margin-top:17px}.dg-bar:before{content:'';width:var(--returned,85%);height:100%;background:#55a38b;transition:width .25s}.dg-legend{display:flex;gap:18px;justify-content:space-between;margin-top:8px;font-size:9px;color:#8b8da0}.dg-legend span:before{content:'';display:inline-block;width:6px;height:6px;background:#55a38b;border-radius:50%;margin-right:5px}.dg-legend span+span:before{background:#e5bc89}
.ep-home .dg-note{font-size:10px;color:#8a8da0;line-height:1.7;margin:16px 0 0}.ep-home .dg-note a{color:#6c5aa9;text-decoration:underline;text-underline-offset:2px}.dg-error,.dg-extra{font-size:11px;color:#a06a32;line-height:1.5;margin:10px 0 0}.dg-error:empty{display:none}
@media(max-width:760px){.dg-example{padding:20px 17px;border-radius:17px}.dg-heading strong{font-size:15px}.dg-fields{gap:8px}.dg-fields label{font-size:9px}.dg-input{padding:10px 8px}.dg-input input{font-size:13px}.dg-result{padding:14px}.dg-result output{font-size:27px}.ep-home .ep-photo figcaption{padding:12px}.ep-home .ep-photo figcaption strong{font-size:12px}.ep-home .ep-photo figcaption p{font-size:11px}.ep-home .ep-image{aspect-ratio:1.2}}
@media(prefers-reduced-motion:reduce){.dg-bar:before{transition:none}}
