
.dtozh-tool{margin:44px 0;padding:32px;border:1px solid #3b604a;border-radius:22px;background:linear-gradient(130deg,#192e22,#111c16);color:#f1f7f3;box-shadow:0 18px 45px #0002}.dtozh-tool *{box-sizing:border-box}.dtozh-kicker{margin:0 0 12px!important;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:#b4d9c0}.dtozh-tool h2{margin:0 0 16px!important;padding:0!important;border:0!important;background:none!important}.dtozh-tool p{line-height:1.65}.dtozh-form{margin-top:28px}.dtozh-group{min-width:0;padding:0;border:0;margin:0 0 24px}.dtozh-group legend,.dtozh-field>label{display:block;font-weight:700;margin-bottom:12px}.dtozh-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dtozh-units{grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px}.dtozh-choice{position:relative;display:block;cursor:pointer}.dtozh-choice input{position:absolute;width:1px;height:1px;opacity:0}.dtozh-choice span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px;border:1px solid #5b7464;border-radius:12px;background:#15241b;color:#edf6ef;font-weight:700}.dtozh-choice input:checked+span{background:#c7f1d2;border-color:#c7f1d2;color:#142a1d}.dtozh-choice input:focus-visible+span{outline:3px solid #d2e9ff;outline-offset:3px}.dtozh-choice input:disabled+span{opacity:.6;cursor:not-allowed}.dtozh-hint{font-size:.91rem!important;color:#c2d4c8;margin:10px 0 0!important}.dtozh-field{max-width:650px}.dtozh-input-wrap{position:relative}.dtozh-tool input[type=number]{appearance:textfield;-moz-appearance:textfield;width:100%;min-height:56px;border:1px solid #6c8b77;border-radius:12px;background:#0d1811;color:#fff;padding:14px 76px 14px 16px;font:inherit}.dtozh-tool input::-webkit-inner-spin-button,.dtozh-tool input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.dtozh-tool input[aria-invalid=true]{border-color:#f5b8ab}.dtozh-tool input:focus-visible,.dtozh-tool button:focus-visible{outline:3px solid #d2e9ff;outline-offset:3px}.dtozh-unit-label{position:absolute;right:18px;top:16px;color:#b7d4c0;pointer-events:none}.dtozh-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.dtozh-tool button{appearance:none;min-height:50px;padding:12px 20px;border:1px solid #719a7f;border-radius:12px;background:#172b1e;color:#f3faf5;font:inherit;font-weight:700;cursor:pointer}.dtozh-tool button.dtozh-run{background:#c7f1d2;color:#12291c;border-color:#c7f1d2}.dtozh-tool button:hover{filter:brightness(1.08)}.dtozh-tool button:disabled{opacity:.55;cursor:not-allowed}.dtozh-result{margin-top:28px;padding:24px;border:1px solid #638870;border-radius:16px;background:#0d1911}.dtozh-result h3{margin:0 0 20px;color:inherit}.dtozh-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.dtozh-summary>div{padding:14px;background:#1a2e21;border-radius:12px}.dtozh-summary dt{font-size:.88rem;color:#bad0c1;margin-bottom:6px}.dtozh-summary dd{margin:0;font-size:1.14rem;font-weight:700;overflow-wrap:anywhere}.dtozh-error{color:#ffd2c9!important;padding:14px;border:1px solid #ba7a6e;border-radius:12px}.dtozh-notice{color:#cce4ff!important}.dtozh-limit{font-size:.92rem!important;color:#c2d4c8;margin-top:20px!important}.dtozh-tool [hidden]{display:none!important}.light-theme .dtozh-tool{background:linear-gradient(130deg,#eef7ee,#e5f0e7);color:#173020;border-color:#adc4b3}.light-theme .dtozh-kicker,.light-theme .dtozh-hint,.light-theme .dtozh-limit{color:#385c45}.light-theme .dtozh-choice span,.light-theme .dtozh-tool button{background:#f9fcf9;color:#193923;border-color:#8dab98}.light-theme .dtozh-choice input:checked+span,.light-theme .dtozh-tool button.dtozh-run{background:#244e32;color:#fff;border-color:#244e32}.light-theme .dtozh-tool input[type=number],.light-theme .dtozh-result{background:#fff;color:#163021}.light-theme .dtozh-unit-label{color:#395d45}.light-theme .dtozh-summary>div{background:#eaf3eb}.light-theme .dtozh-summary dt{color:#385c45}.light-theme .dtozh-error{color:#8c2415!important;border-color:#b86b5e}.light-theme .dtozh-notice{color:#235282!important}.light-theme .dtozh-tool input:focus-visible,.light-theme .dtozh-tool button:focus-visible,.light-theme .dtozh-choice input:focus-visible+span{outline-color:#315cb0}@media(max-width:600px){.dtozh-tool{padding:22px 16px;border-radius:16px;margin:32px 0}.dtozh-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.dtozh-actions{flex-direction:column}.dtozh-tool button{width:100%}.dtozh-result{padding:18px 12px}.dtozh-summary{grid-template-columns:1fr;gap:10px}.dtozh-kicker{letter-spacing:.04em}.dtozh-tool h2{font-size:1.45rem!important}}
