.tymt{--navy:#0f284d;--green:#228b22;max-width:800px!important;margin:16px auto!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;overflow:visible!important;font:13px/1.4 'Segoe UI',Arial,sans-serif;box-sizing:border-box}
.tymt *{box-sizing:border-box}.tymt .leftinput,.tymt .rightresult{width:auto!important;max-width:none!important;float:none!important;margin:0!important;min-width:0}.tymt .tymt-form{background:#e1eff0;padding:12px;border:1px solid var(--navy);border-radius:3px}.tymt .tymt-results{padding:0 0 10px!important;background:#fff;scroll-margin-top:85px}.tymt h2{font-size:17px!important;line-height:1.35;margin:0 0 10px!important;text-align:center}.tymt .tymt-results h2{background:var(--green);color:#fff;padding:7px!important}.tymt .tymt-field{margin-bottom:7px}.tymt label{font-size:11px!important;font-weight:600!important;color:var(--navy);margin-bottom:3px}.tymt input,.tymt select{height:34px!important;min-height:34px!important;max-width:100%;width:100%!important;border:1px solid var(--navy)!important;border-radius:2px!important;padding:4px 6px!important;font-size:13px!important;line-height:normal!important;background:#fff;color:var(--navy)}.tymt :is(input,select,button):focus-visible{outline:2px solid var(--green)!important;outline-offset:2px}.tymt .tymt-head,.tymt .tymt-line{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,.9fr) minmax(0,.9fr);gap:6px;align-items:center}.tymt .tymt-head{background:var(--navy);color:#fff;padding:5px 4px;text-align:center;font-size:11px}.tymt .tymt-head span{text-align:left}.tymt .tymt-line{margin:6px 0}.tymt .tymt-line>label{line-height:1.2;margin:0}.tymt [data-panel][hidden]{display:none!important}.tymt .tymt-input-wrap{min-width:0}.tymt .tymt-error{display:block;font-size:10px;color:#a31818;line-height:1.25}.tymt input[aria-invalid=true]{border:2px solid #b11919!important;background:#fff1f1}.tymt .tymt-hint{font-size:10px;line-height:1.35;margin:8px 0}.tymt .tymt-message{min-height:0;margin:4px 0;color:#a31818;font-size:11px}.tymt .tymt-buttons{display:flex;gap:8px;margin-top:8px}.tymt .tymt-buttons .btn-style{flex:1;width:auto!important;padding:8px 5px!important;margin:0!important;font-size:14px!important;min-height:37px}.tymt .tymt-ratings{text-align:center;margin:7px auto 0}.tymt .tymt-ratings:empty{display:none}.tymt .tymt-summary{border-left:4px solid var(--green);background:#edf6ed;padding:9px;margin:8px 0}.tymt .tymt-summary strong{display:block;color:var(--navy);font-size:24px}.tymt .tymt-summary small{font-size:11px}.tymt .tymt-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tymt .tymt-stat{border:1px solid #d4e0e5;padding:7px;background:#f8fafc;min-width:0}.tymt .tymt-stat strong{display:block;font-size:16px;color:var(--navy)}.tymt .tymt-stat span{font-size:10px}.tymt .tymt-plot{width:100%;max-width:100%;height:auto;background:#fafcff;border:1px solid #e0e5e9;margin:8px 0}.tymt .tymt-graph-title{font-weight:700;color:var(--navy);margin:10px 0 3px}.tymt .tymt-table{width:100%;border-collapse:collapse;font-size:11px}.tymt .tymt-table td,.tymt .tymt-table th{padding:6px 4px;border-bottom:1px solid #e5e5e5;text-align:right}.tymt .tymt-table td:first-child,.tymt .tymt-table th:first-child{text-align:left}.tymt .tymt-table th{color:var(--navy)}.tymt .tymt-note{font-size:10px;color:#4a5561;line-height:1.45;margin:8px 0}.tymt .tymt-actions{display:flex;gap:7px;margin-top:9px}.tymt .tymt-actions button{width:auto!important;flex:1;background:var(--navy)!important;padding:7px!important;font-size:12px!important;margin:0!important}.tymt .tymt-actions button:disabled{opacity:.45;cursor:not-allowed}.tymt .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:740px){.tymt{grid-template-columns:minmax(0,1fr);gap:10px;max-width:420px!important;padding:0 4px!important;margin:10px auto!important}.tymt .tymt-form{padding:9px}.tymt .tymt-results{width:100%!important}.tymt .tymt-line{margin:4px 0}.tymt input,.tymt select{height:34px!important;min-height:34px!important;font-size:16px!important}.tymt .tymt-field select{font-size:16px!important}.tymt h2{font-size:16px!important;margin-bottom:7px!important}}
@media print{body *{visibility:hidden!important}.tymt .tymt-results,.tymt .tymt-results *{visibility:visible!important}.tymt .tymt-results{position:absolute;left:0;top:0;width:100%!important;padding:14px!important}.tymt .tymt-actions{display:none!important}}

/* All fields are always visible: no wizard, dropdown section, or hidden panels. */
.tymt .tymt-line[data-panel]{display:grid!important}
.tymt .tymt-hint[data-panel]{display:block!important}
.tymt .tymt-form{min-width:0}
.tymt .tymt-head,.tymt .tymt-line{grid-template-columns:minmax(0,1.32fr) repeat(2,minmax(0,.9fr))}
@media(max-width:380px){.tymt .tymt-head,.tymt .tymt-line{grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,.85fr));gap:4px}.tymt .tymt-line>label{font-size:10px!important}.tymt input,.tymt select{padding:4px!important}}

/* Version 3: full comparison table, keyboard-scrollable on small screens. */
.tymt .tymt-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d9e3eb;margin-top:6px}
.tymt .tymt-table{min-width:580px;font-size:11px}
.tymt .tymt-table th,.tymt .tymt-table td{padding:7px 6px;white-space:nowrap}
.tymt .tymt-table tbody th{font-weight:500;text-align:left;white-space:normal;min-width:170px}
.tymt .tymt-table thead th{background:#0f284d;color:#fff}
.tymt .tymt-table tbody tr:nth-child(even){background:#f4f8fa}
.tymt .tymt-table tbody tr:last-child{background:#e8f4e9;font-weight:700}
.tymt .tymt-table-scroll:focus-visible{outline:2px solid #228b22;outline-offset:2px}
@media print{.tymt .tymt-table-scroll{overflow:visible!important}.tymt .tymt-table{min-width:0!important;font-size:10px}}

/* v3.1: result table fits desktop and becomes readable stacked rows on narrow screens. */
.tymt .tymt-table-wrap{width:100%;max-width:100%;overflow:visible;border:1px solid #d9e3eb;margin-top:6px}
.tymt .tymt-table{width:100%;min-width:0!important;table-layout:fixed;font-size:10px}
.tymt .tymt-table thead th:first-child{width:36%}
.tymt .tymt-table thead th:not(:first-child){width:16%}
.tymt .tymt-table tbody th{min-width:0!important;overflow-wrap:anywhere;white-space:normal}
.tymt .tymt-table td,.tymt .tymt-table th{padding:6px 2px!important;white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:740px){
 .tymt .tymt-table,.tymt .tymt-table tbody{display:block;width:100%}
 .tymt .tymt-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .tymt .tymt-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:7px;margin:0;border-bottom:1px solid #d9e3eb}
 .tymt .tymt-table tbody th{grid-column:1/-1;min-width:0;text-align:left;font-size:12px;font-weight:700;background:#e1eff0;padding:6px!important}
 .tymt .tymt-table tbody td{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left;padding:7px 5px!important;font-size:13px;font-variant-numeric:tabular-nums}
 .tymt .tymt-table tbody td::before{content:attr(data-col);font-size:10px;color:#526273;font-weight:600}
 .tymt .tymt-results{overflow:visible!important}
}
@media print{.tymt .tymt-table,.tymt .tymt-table tbody{display:table!important}.tymt .tymt-table thead{position:static;display:table-header-group;width:auto;height:auto;clip-path:none}.tymt .tymt-table tbody{display:table-row-group!important}.tymt .tymt-table tbody tr{display:table-row!important}.tymt .tymt-table tbody th,.tymt .tymt-table tbody td{display:table-cell!important;font-size:10px}.tymt .tymt-table tbody td::before{display:none}}

/* v5: always-visible competitor-oriented deduction options */
.tymt select[data-key=standard]{font-size:12px!important}
@media(max-width:740px){.tymt select[data-key=standard]{font-size:14px!important}}

/* Identical input row categories to Calculator.net; compact two-spouse layout. */
.tymt .tymt-line{min-width:0}
.tymt .tymt-line>.tymt-input-wrap{min-width:0}
.tymt .tymt-line input,.tymt .tymt-line select{max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:480px){.tymt .tymt-head,.tymt .tymt-line{grid-template-columns:minmax(98px,1.24fr) minmax(0,1fr) minmax(0,1fr)!important;gap:5px!important}.tymt .tymt-line>label{overflow-wrap:anywhere;font-size:10px!important}.tymt .tymt-line input,.tymt .tymt-line select{padding-left:5px!important;padding-right:3px!important;font-size:16px!important}}
