.tydep{max-width:980px!important;margin:12px auto!important;padding:0 8px!important;color:#0f284d;font-family:'Segoe UI',Arial,sans-serif;box-sizing:border-box;overflow:visible!important}
.tydep *, .tydep *:before,.tydep *:after{box-sizing:border-box}
.tydep .tydep-main{display:grid;grid-template-columns:minmax(0,370px) minmax(0,1fr);gap:15px;align-items:start}
.tydep .leftinput,.tydep .rightresult{float:none!important;width:100%!important;max-width:none!important;margin:0!important;min-width:0}
.tydep .tydep-form-panel{padding:12px!important;background:#e1eff0;border:1px solid #0f284d;border-radius:3px}
.tydep .tydep-form-panel h2{margin:0 0 10px;color:#0f284d;font-size:17px;text-align:center}
.tydep .tydep-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tydep .tydep-field{min-width:0;margin-bottom:7px}
.tydep label{display:block;margin:0 0 3px!important;font-size:11px!important;font-weight:600;color:#0f284d}
.tydep input,.tydep select{display:block;width:100%!important;height:36px!important;min-width:0;padding:6px 9px!important;border:1px solid #0f284d!important;background:#fff!important;color:#0f284d!important;font:400 16px/1.2 'Segoe UI',Arial,sans-serif!important;border-radius:2px!important}
.tydep input:focus-visible,.tydep select:focus-visible,.tydep button:focus-visible{outline:3px solid #55a1f4!important;outline-offset:2px}
.tydep .tydep-error{display:block;min-height:0;color:#a42020;font-size:10px;line-height:1.2}
.tydep .tydep-error:empty{display:none}
.tydep [aria-invalid=true]{border-color:#b91c1c!important;background:#fff6f6!important}
.tydep [hidden]{display:none!important}
.tydep .tydep-alert{padding:7px;background:#ffe7e7;color:#921c1c;font-size:12px;margin:5px 0}
.tydep .tydep-buttons{display:flex;gap:7px;margin-top:7px}
.tydep .tydep-buttons .btn-style{flex:1;margin:0!important;width:auto!important;min-height:37px;padding:7px!important;font-size:14px!important;border:0;border-radius:3px}
.tydep .tydep-rating{text-align:center;margin-top:9px;min-height:12px}
.tydep .tydep-results{padding:0 1px 14px!important;background:transparent!important;scroll-margin-top:16px;outline:none}
.tydep .tydep-results>h2{background:#228b22!important;color:white!important;font-size:16px;margin:0 0 8px;padding:7px;text-align:center}
.tydep .tydep-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.tydep .tydep-stats>div{border-left:3px solid #228b22;background:#f4f8f8;padding:8px;min-width:0}
.tydep .tydep-stats span{display:block;font-size:11px;color:#465361}
.tydep .tydep-stats strong{display:block;overflow-wrap:anywhere;font-size:18px;color:#0f284d;line-height:1.4}
.tydep .tydep-note{font-size:11px;line-height:1.4;margin:7px 0;color:#334155}
.tydep .tydep-chart-title{font-size:12px;font-weight:700;margin:10px 0 3px}
.tydep .tydep-chart{width:100%;min-height:155px;border:1px solid #e1e6ee;background:#fff}
.tydep .tydep-chart svg{display:block;width:100%;height:auto;max-height:210px}
.tydep .tydep-bars{height:85px;display:flex;align-items:end;gap:3px;border-bottom:1px solid #d0d9e3;padding:5px 3px 0}
.tydep .tydep-bar{flex:1;min-width:0;background:#228b22;position:relative;opacity:.86}
.tydep .tydep-bar:hover{opacity:1}
.tydep .tydep-bar:focus-visible{outline:2px solid #0f284d}
.tydep .tydep-table-wrap{max-height:240px;overflow:auto;margin-top:10px;border:1px solid #dce3ea}
.tydep .tydep-table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
.tydep .tydep-table caption{text-align:left;padding:6px;font-weight:700}
.tydep .tydep-table th{position:sticky;top:0;background:#0f284d;color:#fff;white-space:nowrap;padding:6px 4px;text-align:right}
.tydep .tydep-table td{padding:6px 4px;text-align:right;border-bottom:1px solid #e6e9ec}
.tydep .tydep-table tr:nth-child(even){background:#f3f7f9}
.tydep .tydep-actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.tydep .tydep-actions button{margin:0!important;flex:1;background:#0f284d!important;color:#fff!important;border:0;padding:7px!important;border-radius:3px;font-size:12px!important;cursor:pointer}
.tydep .tydep-action-status{min-height:16px;font-size:11px;color:#215b21}
@media(max-width:700px){.tydep .tydep-main{grid-template-columns:1fr;gap:12px}.tydep .tydep-form-panel{max-width:none!important;padding:9px!important}.tydep .tydep-grid{gap:5px 8px}.tydep .tydep-field{margin-bottom:4px}.tydep label{font-size:10px!important}.tydep input,.tydep select{height:34px!important;min-height:34px!important;padding:4px 7px!important;font-size:16px!important}.tydep .tydep-stats strong{font-size:16px}.tydep .tydep-results{max-width:none!important}}
@media print{body *{visibility:hidden!important}.tydep,.tydep .tydep-results,.tydep .tydep-results *{visibility:visible!important}.tydep .tydep-main{display:block}.tydep .tydep-form-panel,.tydep .tydep-actions,.tydep .tydep-action-status{display:none!important}.tydep .tydep-results{position:absolute;left:0;top:0;width:100%!important;padding:20px!important}.tydep .tydep-table-wrap{max-height:none;overflow:visible}.tydep .tydep-chart{break-inside:avoid}}
