.stv{--stv-ink:#151632;--stv-primary:#5142d5;--stv-line:#e3e5ef;color:var(--stv-ink);font:inherit;padding:22px;max-width:1500px;margin:auto}
.stv *{box-sizing:border-box}.stv h2,.stv h3,.stv p{margin:0}.stv h2{font-size:22px;font-weight:650;letter-spacing:-.4px}.stv h3{font-size:16px;line-height:1.5;margin-bottom:14px}.stv-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.stv-heading p{margin-top:5px;color:#606780;font-size:13px}
.stv-boundary{padding:12px 15px;background:#f1f2fb;border-left:3px solid var(--stv-primary);line-height:1.6;font-size:13px;margin-bottom:20px!important}.stv-layout{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:24px;align-items:start}.stv-terms{padding-right:24px;border-right:1px solid var(--stv-line)}.stv-right{display:grid;gap:26px;min-width:0}.stv-field{display:flex;flex-direction:column;gap:6px;font-size:13px;margin-bottom:14px}.stv-field>span{font-weight:600}
.stv input:not([type=checkbox]),.stv select{font:inherit;font-size:14px;color:var(--stv-ink);border:1px solid #ccd0e2;background:#fff;border-radius:7px;min-height:42px;padding:9px 11px;min-width:0;width:100%}.stv input:focus-visible,.stv select:focus-visible,.stv button:focus-visible,.stv a:focus-visible{outline:3px solid #b9b1ff;outline-offset:2px}.stv button{font:inherit;font-size:13px;cursor:pointer;min-height:40px;padding:8px 14px;border-radius:7px;border:1px solid #d4d7e5;background:#fff;color:var(--stv-ink);transition:background .15s,border-color .15s}.stv button:hover:not(:disabled){background:#f2f1fc;border-color:#a49be8}.stv button.stv-primary{background:var(--stv-primary);border-color:var(--stv-primary);color:#fff}.stv button.stv-primary:hover:not(:disabled){background:#4132bd}.stv button:disabled{opacity:.55;cursor:wait}.stv-small{font-size:12px;color:#626a80;line-height:1.6;margin:10px 0!important}
.stv-actions,.stv-presets{display:flex;gap:8px;flex-wrap:wrap}.stv-presets{margin:-4px 0 16px}.stv-presets button{padding:5px 12px;min-height:34px}.stv-checks{display:flex;gap:10px;flex-wrap:wrap}.stv-checks label,.stv-check{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.6}.stv-check{margin:12px 0}.stv input[type=checkbox]{accent-color:var(--stv-primary);width:16px;height:16px}.stv-reminders{border:0;padding:0;margin:18px 0}.stv-reminders legend{font-size:13px;font-weight:600;margin-bottom:10px}
.stv-search{display:flex;align-items:flex-end;gap:8px;margin-bottom:10px}.stv-search .stv-field{flex:1;margin:0}.stv-search button{flex:none}.stv-new{padding-bottom:24px;border-bottom:1px solid var(--stv-line)}.stv-new>.stv-button{margin-right:8px;margin-bottom:8px}.stv-preview{border:1px solid #c9c2f0;background:#faf9ff;border-radius:9px;padding:16px;margin-top:12px}.stv-preview p{margin:7px 0 12px}.stv-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.stv-list-head .stv-field{max-width:180px}.stv-plan{border-bottom:1px solid var(--stv-line);padding:16px 0}.stv-plan:first-of-type{padding-top:3px}.stv-plan-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.stv-plan-top strong{font-size:14px;overflow-wrap:anywhere}.stv-state{font-size:12px;white-space:nowrap;padding:4px 8px;border-radius:5px;background:#f0eefb;color:#5142a3}.stv-state-kapandi{background:#eaf7ee;color:#15803d}.stv-state-kismi{background:#fff2da;color:#985b0c}.stv-state-iptal,.stv-state-belge_kapali{background:#f0f1f5;color:#687083}.stv-amounts{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:14px;font-variant-numeric:tabular-nums}.stv-amounts>div{display:flex;flex-direction:column;gap:4px}.stv-amounts span{font-size:12px;color:#626a80}.stv-amounts strong{font-size:15px}.stv-edit{margin:12px 0;padding:12px;background:#f5f5fb;border-radius:7px}.stv-warning{font-size:13px;line-height:1.6;color:#985b0c;margin:10px 0!important}.stv-error,.stv-success{padding:12px 14px;border-radius:7px;line-height:1.6;margin-bottom:16px}.stv-error{background:#fff0ed;color:#9e2f1c}.stv-success{background:#eef8f1;color:#216537}.stv-empty{padding:22px 0;color:#657089;font-size:13px;line-height:1.7}.stv-invoice-link{display:inline-block;color:var(--stv-primary);font-size:13px;padding:15px 0}.stv-plans>.stv-button{margin-top:12px}
@media(max-width:760px){.stv{padding:14px}.stv-layout{grid-template-columns:1fr;gap:22px}.stv-terms{padding-right:0;padding-bottom:22px;border-right:0;border-bottom:1px solid var(--stv-line)}.stv h2{font-size:20px}.stv-heading{align-items:flex-start}.stv button{min-height:44px}.stv-amounts{gap:7px}.stv-amounts strong{font-size:14px}.stv-plan-top{align-items:flex-start}.stv-list-head{flex-wrap:wrap}.stv-list-head .stv-field{max-width:none;width:100%}.stv-plan .stv-actions button{flex:1}.stv-presets button{flex:1;min-height:40px}.stv-heading p{max-width:230px}.stv-terms>.stv-primary{width:100%}.stv-boundary{font-size:12px}.stv-search{gap:6px}}
@media(prefers-reduced-motion:reduce){.stv button{transition:none}}
