.tycc,.tycc *{box-sizing:border-box}.tycc{max-width:850px!important;margin:18px auto!important;overflow:visible!important;font-family:'Segoe UI',Arial,sans-serif}.tycc-layout{display:grid;grid-template-columns:minmax(0,330px) minmax(0,1fr);gap:15px;align-items:start}.tycc .leftinput,.tycc .rightresult{float:none!important;width:100%!important;max-width:none!important;margin:0!important}.tycc .tycc-form{padding:14px!important;background:#e1eff0;border:1px solid #0f284d}.tycc h2{font-size:17px!important;line-height:1.35;margin:0 0 10px!important;color:#0f284d}.tycc .tycc-results h2{background:#228b22;color:#fff!important;text-align:center;padding:7px;margin:0 0 10px!important}.tycc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tycc-wide{grid-column:1/-1}.tycc-field{min-width:0}.tycc label{display:block;font-size:11px!important;font-weight:650;margin:0 0 3px;color:#0f284d}.tycc input,.tycc select{width:100%!important;max-width:100%!important;height:36px!important;min-height:36px!important;border:1px solid #0f284d!important;border-radius:2px!important;background:#fff;padding:5px 8px!important;font-size:16px!important;color:#0f284d!important;line-height:1.2}.tycc input:focus-visible,.tycc select:focus-visible,.tycc button:focus-visible,.tycc summary:focus-visible{outline:2px solid #228b22;outline-offset:2px}.tycc [hidden]{display:none!important}.tycc .tycc-error{display:block;color:#a91c1c;font-size:10px;line-height:1.25;margin-top:2px;min-height:0}.tycc [aria-invalid=true]{border-color:#a91c1c!important;background:#fff5f5!important}.tycc-form-error{background:#fff0f0;color:#8a1111;padding:6px;font-size:12px;margin:8px 0}.tycc-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.tycc .tycc-buttons button{width:100%!important;margin:0!important;height:36px;font-size:14px!important;padding:6px!important;border-radius:2px;cursor:pointer}.tycc-ratings{text-align:center;margin:9px 0 0}.tycc-results{padding:0 3px!important;min-width:0;background:transparent!important;scroll-margin-top:18px}.tycc-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px}.tycc-metric{background:#f5f8fa;border-left:3px solid #228b22;padding:8px;min-width:0}.tycc-metric b{display:block;font-size:17px;line-height:1.3;color:#0f284d;overflow-wrap:anywhere}.tycc-metric span{font-size:11px;color:#444}.tycc-status{grid-column:1/-1;font-size:12px}.tycc .tycc-chart-wrap h3{font-size:13px;margin:12px 0 3px;color:#0f284d}.tycc-line-chart{width:100%;height:auto;display:block;background:#fff;border:1px solid #e5e9ed}.tycc-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:10px}.tycc-dot{display:inline-block;width:9px;height:9px;margin-right:3px}.tycc-debt{background:#0f284d}.tycc-paid{background:#228b22}.tycc-breakdown{height:15px;border-radius:2px;display:flex;overflow:hidden}.tycc-breakdown span:first-child{background:#228b22}.tycc-breakdown span:last-child{background:#e6a03b}.tycc-action-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.tycc .tycc-action-row button{margin:0!important;flex:1;padding:7px 4px;border:none;background:#0f284d;color:#fff;font-size:11px!important;cursor:pointer}.tycc button:disabled{opacity:.45;cursor:not-allowed}.tycc-schedule{margin-top:10px;border:1px solid #dbe0e3;padding:6px;font-size:12px}.tycc-schedule summary{cursor:pointer;color:#0f284d;font-weight:600}.tycc-table-scroll{max-height:270px;overflow:auto;margin-top:8px}.tycc table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.tycc th{background:#0f284d;color:#fff}.tycc th,.tycc td{padding:5px 7px;text-align:right;border-bottom:1px solid #ddd}.tycc th:first-child,.tycc td:first-child{text-align:left}.tycc-note{font-size:10px;color:#555;line-height:1.5;margin-top:10px}.tycc-chart-tip{font-size:11px;fill:#0f284d}.tycc [data-mode-field=target] .tycc-grid{gap:8px}@media(max-width:700px){.tycc{padding:0 6px!important;margin:10px auto!important}.tycc-layout{grid-template-columns:minmax(0,1fr);gap:12px}.tycc .tycc-form{padding:10px!important}.tycc h2{font-size:16px!important;margin-bottom:7px!important}.tycc .tycc-results{padding:0!important}.tycc label{font-size:10px!important}.tycc .tycc-grid{gap:6px}.tycc input,.tycc select{height:34px!important;min-height:34px!important;font-size:16px!important}.tycc .tycc-buttons button{height:34px}}@media(max-width:350px){.tycc .tycc-form{padding:8px!important}.tycc .tycc-metric b{font-size:15px}}@media print{body *{visibility:hidden!important}.tycc .tycc-results,.tycc .tycc-results *{visibility:visible!important}.tycc .tycc-results{position:absolute;top:0;left:0;width:100%!important}.tycc .tycc-action-row{display:none}.tycc .tycc-table-scroll{max-height:none;overflow:visible}.tycc .tycc-schedule{display:block}.tycc .tycc-schedule:not([open]) .tycc-table-scroll{display:none}}
