.thec-wrap{--thec-accent:#2563eb;--thec-accent-2:#f59e0b;--thec-bg:#fff;--thec-soft:#f3f6fb;--thec-border:#e1e7f0;--thec-text:#1a2233;--thec-muted:#5d6b82;max-width:960px;margin:24px auto;color:var(--thec-text);font-family:inherit;box-sizing:border-box}
.thec-wrap *,.thec-wrap *::before,.thec-wrap *::after{box-sizing:border-box}
.thec-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.thec-panel{background:var(--thec-bg);border:1px solid var(--thec-border);border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(20,40,80,.05)}
.thec-field{margin-bottom:20px}
.thec-label-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.thec-label-row label{font-weight:600;font-size:15px}
.thec-wrap input[type=number],.thec-wrap input[type=month],.thec-wrap select{width:100%;padding:11px 12px;border:1px solid var(--thec-border);border-radius:8px;font-size:16px;background:#fff;color:var(--thec-text);height:auto;line-height:1.3}
.thec-label-row select{width:auto;max-width:200px;padding:6px 8px;font-size:14px}
.thec-wrap input:focus,.thec-wrap select:focus{outline:2px solid var(--thec-accent);outline-offset:1px;border-color:var(--thec-accent)}
.thec-wrap input[type=range]{width:100%;margin:12px 0 0;accent-color:var(--thec-accent);padding:0;border:0;height:auto}
.thec-error{margin:0;padding:10px 12px;border-radius:8px;background:#fdecec;color:#b42318;font-size:14px}
.thec-emi-box{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-radius:12px;padding:18px;text-align:center;margin-bottom:18px}
.thec-emi-label{display:block;font-size:14px;opacity:.9;margin-bottom:4px}
.thec-emi-value{font-size:34px;line-height:1.15;word-break:break-word}
.thec-chart-row{display:flex;align-items:center;gap:22px;margin-bottom:18px}
.thec-donut{width:130px;height:130px;flex:0 0 auto}
.thec-donut circle{fill:none;stroke-width:5}
.thec-donut-bg{stroke:var(--thec-accent-2)}
.thec-donut-principal{stroke:var(--thec-accent);transition:stroke-dasharray .35s ease}
.thec-legend{list-style:none;margin:0;padding:0;font-size:15px}
.thec-legend li{margin:6px 0;display:flex;align-items:center;gap:8px}
.thec-dot{width:12px;height:12px;border-radius:50%;display:inline-block}
.thec-dot-p{background:var(--thec-accent)}.thec-dot-i{background:var(--thec-accent-2)}
.thec-summary{margin:0}
.thec-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--thec-border)}
.thec-summary>div:last-child{border-bottom:0}
.thec-summary dt{color:var(--thec-muted);margin:0}
.thec-summary dd{margin:0;font-weight:700;text-align:right}
.thec-total dd{color:var(--thec-accent);font-size:1.05em}
.thec-schedule{margin-top:20px}
.thec-schedule-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.thec-schedule-head h3{margin:0;font-size:20px}
.thec-actions{display:flex;gap:10px;flex-wrap:wrap}
.thec-toggle{display:inline-flex;border:1px solid var(--thec-border);border-radius:8px;overflow:hidden}
.thec-toggle button{border:0;background:#fff;padding:8px 16px;cursor:pointer;font-size:14px;color:var(--thec-text)}
.thec-toggle button.is-active{background:var(--thec-accent);color:#fff}
.thec-btn{border:1px solid var(--thec-accent);background:#fff;color:var(--thec-accent);padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}
.thec-btn:hover{background:var(--thec-accent);color:#fff}
.thec-table-scroll{overflow:auto;max-height:460px;border:1px solid var(--thec-border);border-radius:10px}
.thec-table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px;margin:0}
.thec-table th,.thec-table td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--thec-border);white-space:nowrap}
.thec-table th:first-child,.thec-table td:first-child{text-align:left}
.thec-table thead th{position:sticky;top:0;background:var(--thec-soft);font-weight:700;z-index:1}
.thec-table tbody tr:nth-child(even){background:#fafcff}
@media (max-width:760px){.thec-grid{grid-template-columns:1fr}.thec-emi-value{font-size:28px}.thec-chart-row{justify-content:center}}
