.tytc{max-width:820px!important;margin:20px auto!important;font-family:'Segoe UI',Arial,sans-serif;color:#0f284d;box-sizing:border-box;overflow:visible!important}
.tytc *{box-sizing:border-box}.tytc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.tytc .leftinput,.tytc .rightresult{float:none!important;max-width:none!important;width:100%!important;margin:0!important;min-width:0;box-sizing:border-box}
.tytc .leftinput{padding:14px!important;background:#e1eff0;border:1px solid #0f284d;border-radius:3px}
.tytc .rightresult{padding:0!important;background:#fff}.tytc h2{font-size:17px!important;margin:0 0 10px!important;line-height:1.3}.tytc .rightresult>h2{padding:9px!important;background:#228b22;color:#fff;text-align:center}
.tytc .tytc-field{min-width:0}.tytc .tytc-field label{display:block;font-size:11px!important;font-weight:600;color:#0f284d;margin:0 0 3px}
.tytc .tytc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 9px}
.tytc .tytc-field>input,.tytc .tytc-field>select{display:block!important;width:100%!important;min-width:0!important;height:39px!important;padding:6px 8px!important;background:#fff!important;border:1px solid #0f284d!important;border-radius:2px!important;color:#0f284d!important;font:400 14px/1.2 'Segoe UI',Arial,sans-serif!important;box-shadow:none}
.tytc input:focus-visible,.tytc select:focus-visible,.tytc button:focus-visible,.tytc summary:focus-visible{outline:3px solid #228b22!important;outline-offset:2px}
.tytc .tytc-options{background:rgba(255,255,255,.5);border:1px solid #bdced5;padding:7px 9px;margin:4px 0 9px}.tytc .tytc-options summary{cursor:pointer;font-size:12px;font-weight:700}.tytc .tytc-options[open] summary{margin-bottom:10px}
.tytc .tytc-hint{font-size:10px;line-height:1.45;color:#43536b;margin:7px 0 0}.tytc .tytc-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tytc .tytc-actions .btn-style{margin:0!important;width:100%!important;padding:10px 7px!important;font-size:14px!important;min-height:39px;border:0;cursor:pointer}.tytc .btn-calculate{background:#0f284d!important}.tytc .btn-reset{background:#4c4c4c!important}.tytc .tytc-error{padding:8px;margin:8px 0 0;color:#8d1d1d;background:#ffe8e8;font-size:12px;border-left:3px solid #bc2424}.tytc [hidden]{display:none!important}
.tytc .tytc-placeholder{font-size:12px;padding:24px 12px;border:1px solid #e0e8eb;text-align:center;color:#44556a}.tytc .tytc-primary{background:#e1eff0;border-left:4px solid #228b22;padding:10px 12px;display:grid;gap:2px}.tytc .tytc-primary span,.tytc .tytc-money span{font-size:11px}.tytc .tytc-primary strong{font-size:26px;color:#0f284d;line-height:1.2}.tytc .tytc-primary small,.tytc .tytc-money small{font-size:11px;color:#465466}
.tytc .tytc-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0}.tytc .tytc-metrics>div{border:1px solid #dce4e9;padding:7px 9px;display:grid;gap:2px}.tytc .tytc-metrics span{font-size:10px;color:#526275}.tytc .tytc-metrics strong{font-size:16px;color:#0f284d}.tytc .tytc-chart-wrap{display:flex;align-items:center;justify-content:center;gap:16px;border:1px solid #e1e7eb;padding:7px}.tytc .tytc-donut{width:116px;height:116px;flex:0 0 116px}.tytc .tytc-legend{flex:1;min-width:0;font-size:11px}.tytc .tytc-legend>div{display:flex;align-items:center;gap:5px;margin:8px 0}.tytc .tytc-legend b{margin-left:auto}.tytc .tytc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px}.tytc .tytc-dot.reg{background:#0f284d}.tytc .tytc-dot.ot{background:#228b22}.tytc .tytc-dot.br{background:#de9c36}
.tytc .tytc-money{display:grid;gap:2px;padding:9px 10px;margin:9px 0;background:#edf7ed;border-left:3px solid #228b22}.tytc .tytc-money strong{font-size:21px;color:#0f284d}.tytc .tytc-explain{font-size:10px;color:#536078;line-height:1.45;margin:9px 0}.tytc .tytc-result-actions{display:flex;gap:6px}.tytc .tytc-result-actions button{margin:0!important;flex:1;background:#0f284d!important;color:#fff;border:0;border-radius:2px;padding:8px 3px;font-size:12px!important;cursor:pointer}.tytc .tytc-notice{font-size:11px;color:#215b21;margin:6px 0;min-height:14px}.tytc .tytc-kkstarting{margin-top:8px}
@media(max-width:700px){.tytc{margin:10px auto!important;padding:0 8px!important}.tytc-layout{grid-template-columns:1fr;gap:10px}.tytc .leftinput{padding:10px!important}.tytc h2{font-size:16px!important;margin-bottom:7px!important}.tytc .tytc-grid{gap:7px;margin-bottom:7px}.tytc .tytc-field>input,.tytc .tytc-field>select{height:38px!important;font-size:16px!important}.tytc .rightresult{max-width:none!important}.tytc .tytc-primary{padding:8px 10px}.tytc .tytc-primary strong{font-size:24px}.tytc .tytc-metrics{margin:7px 0}}
@media(max-width:350px){.tytc .tytc-donut{height:96px;width:96px;flex-basis:96px}.tytc .tytc-chart-wrap{gap:5px}.tytc .tytc-field label{font-size:10px!important}}
@media print{body *{visibility:hidden!important}.tytc .tytc-result,.tytc .tytc-result *{visibility:visible!important}.tytc .tytc-result{position:absolute;left:0;top:0;width:100%!important;padding:16px!important}.tytc .tytc-result-actions,.tytc .tytc-notice{display:none!important}.tytc .tytc-chart-wrap,.tytc .tytc-primary,.tytc .tytc-money{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
