.contract-tools{display:flex;flex-wrap:wrap;gap:8px}
.contract-link,.contract-file{display:inline-flex;align-items:center;padding:7px 9px;text-decoration:none;cursor:pointer;border-radius:7px;font-weight:700;font-size:12px;background:#f0f4f2;color:#456158}
.guarantor-card{margin:0 0 18px}
.guarantor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.guarantor-head h2{margin:2px 0}
.guarantor-form{margin-top:14px;max-width:none}
.scan-missing{background:#f8e8d4!important;color:#8a5a18!important}
.scan-warning{margin-bottom:16px}
button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.contract-tools{width:100%}.contract-link,.contract-file{width:100%;justify-content:center}.guarantor-head{align-items:flex-start;flex-wrap:wrap}}
.user-error-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(25,36,32,.38);backdrop-filter:blur(2px)}
.user-error-dialog{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;width:min(560px,100%);padding:22px;background:#fff;border:1px solid #e5c7c3;border-radius:12px;box-shadow:0 18px 55px rgba(30,40,36,.22)}
.user-error-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f4dfdc;color:#a33e37;font-size:24px;font-weight:800}
.user-error-dialog h2{margin:2px 0 8px;font-size:19px;color:#63332f}.user-error-dialog p{margin:0 0 18px;color:#594b48;line-height:1.55;white-space:pre-wrap}.user-error-dialog .actions{justify-content:flex-end}
@media(max-width:520px){.user-error-dialog{grid-template-columns:1fr}.user-error-icon{width:34px;height:34px}.user-error-dialog .actions button{width:100%}}
