.debt-central{width:min(1100px,96vw);max-height:92vh;overflow:auto;padding:18px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#17324d;font:13px/1.45 system-ui,sans-serif}.debt-central::backdrop{background:#0f172a88}.debt-central header,.debt-toolbar,.debt-central footer{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.debt-central h2{font-size:19px;font-weight:700}.debt-central fieldset,.debt-central details{border:1px solid #d9e2ef;border-radius:10px;padding:12px;margin:12px 0}.debt-central legend,.debt-central summary{font-weight:650}.debt-central label{display:block}.debt-central input:not([type=checkbox]),.debt-central select,.debt-central textarea{width:100%;min-height:35px;font-size:13px;background:white;color:#17324d;border:1px solid #aec1db;border-radius:7px;padding:7px}.debt-central p{margin:9px 0}.debt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.debt-table{overflow:auto}.debt-table table{width:100%;border-collapse:collapse}.debt-table th,.debt-table td{padding:9px;text-align:left;border-bottom:1px solid #d9e2ef;vertical-align:top}.debt-table th{background:#eff5fa}.debt-summary{display:flex;gap:12px;flex-wrap:wrap;background:#eff5fa;padding:12px;border-radius:10px}.debt-central [data-debt-error]{color:#b91c1c}.debt-central [data-people]{max-height:180px;overflow:auto}.debt-central [data-people] button{display:block;width:100%;text-align:left}.debt-central dt{font-weight:bold}.debt-central dd{margin-bottom:8px}.debt-class-fields{min-width:180px;display:grid;gap:5px}.debt-class-fields select{font-size:12px;min-height:28px}.debt-central button:disabled{opacity:.55}@media(max-width:700px){.debt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.debt-grid{grid-template-columns:1fr}}
/* Full-width workspace inside the standard SaaS shell; action forms remain focused dialogs. */
.debt-page{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:transparent;font:inherit;box-sizing:border-box}.debt-page>*{min-width:0}.debt-page .card{margin:12px 0;padding:14px;border:1px solid #d9e2ef;border-radius:10px;background:#fff}.debt-page h3{font-size:15px;font-weight:650}.debt-page h4{font-weight:650;margin-top:14px}.debt-page .debt-toolbar form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.debt-page .debt-toolbar form>input{width:min(320px,100%)}.debt-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.debt-page .debt-metric{margin:0;display:flex;flex-direction:column;gap:6px}.debt-metric>span,.debt-metric small{font-size:12px;color:#526478}.debt-metric strong{font-size:19px;overflow-wrap:anywhere}.debt-page [data-contract-row]{cursor:pointer}.debt-page [data-contract-row]:hover,.debt-page [data-contract-row]:focus{background:#edf5ff;outline:2px solid #93baf2;outline-offset:-2px}.debt-document{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #d9e2ef;padding:10px 0;overflow-wrap:anywhere}.debt-document span{font-size:12px}.debt-page footer{margin:14px 0}.debt-page [data-doc-input]{margin:8px 0}.debt-page [data-doc-pages] footer{justify-content:flex-start}@media(max-width:1100px){.debt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.debt-page .debt-toolbar form{width:100%}.debt-page .debt-toolbar form>input{width:100%}.debt-metric strong{font-size:16px}.debt-page .card{padding:10px}}
.debt-central [hidden],.debt-central label:has([data-kind-hidden]){display:none!important}
