
#tgdebt .tgbl-box{margin:18px 0;padding:18px;border:1px solid rgba(20,184,166,.35);border-radius:14px;background:linear-gradient(180deg,rgba(20,184,166,.08),rgba(20,184,166,.02))}
#tgdebt .tgbl-h{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:flex-start;margin-bottom:14px}
#tgdebt .tgbl-h h2{margin:0 0 4px;font-size:20px}
#tgdebt .tgbl-h p{margin:0;font-size:13px;max-width:560px}
#tgdebt .tgbl-plan{display:flex;flex-direction:column;align-items:flex-end;padding:8px 12px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
#tgdebt .tgbl-plan small{opacity:.75;font-size:12px}
#tgdebt .tgbl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#tgdebt .tgbl-card{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.25);min-width:0}
#tgdebt .tgbl-card p{margin:0;font-size:13px}
#tgdebt .tgbl-card .btn{align-self:flex-start;margin-top:auto}
#tgdebt .tgbl-ct{font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.8;font-weight:700}
#tgdebt .tgbl-amt{font-size:28px;font-weight:800;line-height:1.1}
#tgdebt .tgbl-mo{display:flex;align-items:center;gap:8px;font-size:13px}
#tgdebt .tgbl-mo select{flex:1;min-width:0;padding:7px 10px;border-radius:8px;background:rgba(255,255,255,.06);color:inherit;border:1px solid rgba(255,255,255,.15)}
#tgdebt .tgbl-mo select option{color:#111}
#tgdebt .tgbl-pend{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.4)}
#tgdebt .tgbl-pend div{display:flex;flex-direction:column}
#tgdebt .tgbl-pend small{opacity:.8;font-size:12px}
.tgbl-dot{width:9px;height:9px;border-radius:50%;background:#f59e0b;flex:none;box-shadow:0 0 0 4px rgba(245,158,11,.2)}
.tgbl-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
#tgdebt .tgbl-conf{margin-top:14px;padding:16px;border-radius:12px;border:1px solid rgba(20,184,166,.5);background:rgba(0,0,0,.3)}
#tgdebt .tgbl-conf p{font-size:13px;margin:10px 0 0}
.tgbl-ch{font-weight:700;margin-bottom:8px}
.tgbl-row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:13px}
.tgbl-row span:first-child{opacity:.75}
.tgbl-row span:last-child{text-align:right}
.tgbl-staff{margin:10px 12px;padding:12px 14px;border-radius:12px;border:1px solid rgba(20,184,166,.45);background:rgba(20,184,166,.07);font-size:13px}
.tgbl-sh{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.tgbl-st{font-size:11px;font-weight:700;padding:3px 8px;border-radius:99px;background:rgba(255,255,255,.1)}
.tgbl-st.tgbl-pending{background:rgba(245,158,11,.2);color:#f59e0b}
.tgbl-st.tgbl-done{background:rgba(20,184,166,.2);color:#14b8a6}
.tgbl-st.tgbl-cancelled,.tgbl-st.tgbl-closed{background:rgba(239,68,68,.15);color:#ef4444}
.tgbl-warn{color:#f59e0b}
.tgbl-note{width:100%;box-sizing:border-box;margin-top:10px;padding:8px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.25);color:inherit;font-size:13px}
html[data-theme=light] #tgdebt .tgbl-card,html[data-theme=light] #tgdebt .tgbl-conf,html[data-theme=light] .tgbl-note{background:#fff;border-color:rgba(0,0,0,.12)}
html[data-theme=light] #tgdebt .tgbl-plan,html[data-theme=light] #tgdebt .tgbl-mo select{background:#f4f6f8;border-color:rgba(0,0,0,.12)}
html[data-theme=light] .tgbl-row{border-color:rgba(0,0,0,.08)}
@media(max-width:700px){#tgdebt .tgbl-grid{grid-template-columns:minmax(0,1fr)}#tgdebt .tgbl-plan{align-items:flex-start}#tgdebt .tgbl-card .btn{align-self:stretch;text-align:center}.tgbl-acts .btn{flex:1}}
.tgbl-row>span:last-child>.tg-mad,.tgbl-calc .tg-mad{display:none!important}
#tgdebt .tgbl-card .btn[disabled],.tgbl-staff .btn[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none;filter:grayscale(.7);transform:none}
