/* techdoc.vip: стили онлайн-инструментов (префикс t-) */
.t-root{margin:1.4em 0;color:#1b2a30}
.t-box{background:#f4f7f8;border:1px solid #d5dee2;border-radius:10px;padding:16px;font-size:16px;line-height:1.5}
.t-box *{box-sizing:border-box}
.t-hint{margin:0 0 14px;color:#4a5b62;font-size:15px}
.t-fhint{margin-top:4px;font-size:13px;color:#5f7077}
.t-label{display:block;font-weight:600;color:#0f3d4c;margin:0 0 6px;font-size:15px}
.t-field{margin:0 0 14px;min-width:0}
.t-grid{display:grid;grid-template-columns:1fr;gap:0 16px}
@media(min-width:760px){.t-grid{grid-template-columns:1fr 1fr}}
.t-input{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 12px;font:inherit;font-size:16px;color:#1b2a30;background:#fff;border:1px solid #b9c7cd;border-radius:10px}
.t-input:focus{outline:2px solid #d98e04;outline-offset:1px;border-color:#d98e04}
.t-area{min-height:90px;resize:vertical}
.t-input:disabled{background:#eceff1;color:#8a979c}
.t-bad{border-color:#b42318;background:#fff6f5}
.t-err{color:#b42318;font-size:14px;margin-top:4px;min-height:0}
.t-ok{color:#1f6b3a;font-weight:600;margin:0}
.t-btn{display:inline-block;min-height:46px;padding:10px 18px;font:inherit;font-size:16px;font-weight:600;line-height:1.2;color:#0f3d4c;background:#fff;border:1px solid #0f3d4c;border-radius:10px;cursor:pointer;text-align:center}
.t-btn:hover{background:#e6eef0}
.t-btn:focus-visible{outline:2px solid #d98e04;outline-offset:2px}
.t-btn-main{background:#0f3d4c;color:#fff}
.t-btn-main:hover{background:#0b2f3b}
.t-btn-sec{border-color:#d98e04;color:#6b4300;background:#fff8ea}
.t-btn-sec:hover{background:#fdeccb}
.t-btn-ghost{border-color:#b9c7cd;color:#42565d;font-weight:500}
.t-btn-sm{min-height:38px;padding:6px 12px;font-size:14px}
.t-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 4px}
.t-actions-sm{margin:8px 0 0}
.t-actions .t-btn{flex:1 1 auto}
@media(min-width:760px){.t-actions .t-btn{flex:0 0 auto}}
.t-segs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.t-seg{position:relative;display:block;cursor:pointer;flex:1 1 auto}
.t-seg input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.t-seg span{display:block;min-height:46px;padding:11px 14px;background:#fff;border:1px solid #b9c7cd;border-radius:10px;text-align:center;font-weight:600;color:#0f3d4c}
.t-seg input:checked+span{background:#0f3d4c;color:#fff;border-color:#0f3d4c}
.t-seg input:focus-visible+span{outline:2px solid #d98e04;outline-offset:2px}
.t-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.t-tab{flex:1 1 auto;min-height:46px;padding:10px 14px;font:inherit;font-size:16px;font-weight:600;color:#0f3d4c;background:#fff;border:1px solid #b9c7cd;border-radius:10px;cursor:pointer}
.t-tab.t-on{background:#0f3d4c;color:#fff;border-color:#0f3d4c}
.t-prog{margin:0 0 14px}
.t-total{margin:0 0 6px;font-weight:600;color:#0f3d4c}
.t-bar{display:block;height:10px;background:#dfe7ea;border-radius:6px;overflow:hidden}
.t-fill{display:block;height:100%;width:0;background:#d98e04;border-radius:6px;transition:width .2s}
.t-sec{background:#fff;border:1px solid #d5dee2;border-radius:10px;margin:0 0 8px}
.t-sum{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none;min-height:48px}
.t-sum::-webkit-details-marker{display:none}
.t-sum-t{font-weight:600;color:#0f3d4c}
.t-sum-c{font-size:14px;color:#5f7077;white-space:nowrap}
.t-sum .t-bar{grid-column:1 / -1;height:6px}
.t-sec[open] .t-sum{border-bottom:1px solid #e3eaed}
.t-sec-body{padding:6px 14px 10px}
.t-chk{display:flex;gap:10px;align-items:flex-start;padding:8px 0;cursor:pointer;font-size:15px}
.t-chk input{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0;accent-color:#0f3d4c}
.t-chk span{min-width:0}
.t-chk-sm{padding:6px 0}
.t-checks{display:grid;grid-template-columns:1fr;gap:0 16px}
@media(min-width:760px){.t-checks{grid-template-columns:1fr 1fr}}
.t-ph{margin:10px 0 2px;font-size:15px;color:#0f3d4c;font-weight:600}
.t-ph b{color:#6b4300}
.t-d2{margin-left:12px}
.t-d3{margin-left:24px}
.t-opt{font-size:13px;color:#7a8a90;font-style:normal}
.t-out{margin-top:10px}
.t-out-h{margin:0 0 6px;font-weight:600;color:#0f3d4c}
.t-list{margin:0;padding-left:20px;font-size:15px}
.t-list li{margin:0 0 6px}
.t-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.t-table th,.t-table td{border:1px solid #d5dee2;padding:7px 10px;text-align:left;vertical-align:top}
.t-table th{background:#e6eef0;color:#0f3d4c}
.t-badge{display:inline-block;margin:4px 0 0 0;padding:1px 8px;font-size:12px;color:#6b4300;background:#fdeccb;border-radius:10px;white-space:normal}
.t-table td .t-badge{display:block;width:max-content;max-width:100%}
.t-result{background:#fff;border:2px solid #0f3d4c;border-radius:10px;padding:14px;margin:0 0 14px;font-size:clamp(18px,5.4vw,30px);font-weight:700;color:#0f3d4c;word-break:break-all;min-height:56px;letter-spacing:.02em}
.t-result-s{font-size:16px;font-weight:500;letter-spacing:0;word-break:break-word;border-width:1px;border-color:#b9c7cd;color:#1b2a30}
.t-res-bad{color:#b42318;font-size:16px;font-weight:600}
.t-biblio{margin:6px 0 0;padding-left:26px}
.t-biblio li{background:#fff;border:1px solid #d5dee2;border-radius:10px;padding:10px 12px;margin:0 0 8px;display:list-item}
.t-bi-t{display:block;margin:0 0 8px;word-break:break-word}
.t-hidden-ta{position:fixed;left:-9999px;top:0;opacity:0}
