/* Sistema Sana Tu Deuda V9.0.11 · ajustes visuales solicitados */
.std910ProposalGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}
.std910ProposalCard{position:relative;display:flex;flex-direction:column;min-height:230px;border:1px solid #d7e4f0;border-radius:16px;padding:18px;background:#fff;box-shadow:0 6px 20px rgba(15,52,89,.06)}
.std910ProposalCard.pending{border-style:dashed;background:linear-gradient(180deg,#fff,#fbfdff)}
.std910ProposalCard.generated{border-color:#c7dfeb}.std910ProposalCard.archived{border-style:dashed;background:#fbfcfe}
.std910DocPerson{display:flex;align-items:center;gap:12px;padding-right:28px}.std910DocPerson>span{width:44px;height:44px;flex:0 0 44px;border-radius:13px;display:grid;place-items:center;background:#e7f4ff;color:#1269a9;font-weight:900}.std910DocPerson div{min-width:0}.std910DocPerson b{display:block;color:#102f5c;font-size:15px}.std910DocPerson small{display:block;margin-top:4px;color:#6d8196;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.std910PendingTag{display:inline-flex;align-self:flex-start;margin:18px 0 12px;padding:7px 10px;border-radius:9px;border:1px solid #ffe0a8;background:#fff7e6;color:#9d5d00;font-size:12px;font-weight:900}
.std910PlanBadges{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 12px}.std910PlanBadges i{font-style:normal;border:1px solid #bedfd0;background:#e9f8ef;color:#177746;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}
.std910ProposalActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-top:14px}.std910ProposalActions.one{grid-template-columns:1fr}.std910ProposalActions button{min-height:44px;border-radius:11px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.std910ProposalActions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.std910Primary,.stdPrimaryAction910{border:0!important;background:linear-gradient(135deg,#1f6fd0,#18b7d4)!important;color:#fff!important;box-shadow:0 8px 20px rgba(31,111,208,.18)}.std910Edit,.stdEditAction910{border:1px solid #aacbe5!important;background:#fff!important;color:#155a91!important}.std910Secondary{border:1px solid #cbdbe8;background:#fff;color:#365a78}.std910Secondary.danger{color:#a83c3c;border-color:#efcccc}.std910Complete{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d5e3ee;border-radius:11px;background:#f7fafc;color:#61778c;font-size:12px;font-weight:800}
.std910ArchiveX,.stdDocArchiveX910{position:absolute;top:12px;right:12px;width:31px!important;height:31px!important;min-width:31px!important;padding:0!important;border:1px solid #d8e4ee!important;border-radius:9px!important;background:#fff!important;color:#6a7d90!important;font-size:20px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer;z-index:2}.std910ArchiveX:hover,.stdDocArchiveX910:hover{background:#fff2f2!important;color:#b33333!important;border-color:#edcaca!important}
#advisorViewContratos .stdSquareCard910{position:relative;min-height:245px;border-radius:16px!important;padding:18px!important}#advisorViewContratos .stdCompactActions910{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:auto!important}#advisorViewContratos .stdCompactActions910>button{min-height:43px!important;border-radius:11px!important}#advisorViewContratos .stdEditAction910{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-weight:900!important}
.stdUnifiedProfileMenu910{left:12px!important;right:12px!important;bottom:72px!important;border-radius:14px!important;padding:7px!important;border:1px solid #d8e4f1!important;background:#fff!important;box-shadow:0 18px 42px rgba(4,22,48,.28)!important;gap:2px!important}.stdUnifiedProfileMenu910 button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;border:0!important;border-radius:9px!important;background:#fff!important;color:#153d6d!important;text-align:left!important;font-weight:850!important;cursor:pointer!important}.stdUnifiedProfileMenu910 button:hover{background:#edf6ff!important}.stdUnifiedProfileMenu910 button.logout910{color:#a63636!important}.stdUnifiedProfileMenu910 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
@media(max-width:760px){.std910ProposalGrid{grid-template-columns:1fr}.std910ProposalActions{grid-template-columns:1fr}.std910ProposalCard{min-height:0}}

/* V9.0.11 · Cierres comerciales: consulta únicamente, sin acciones */
#advisorViewContratos .stdClosedReadOnly911{min-height:150px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid #cfe0ef!important;box-shadow:0 6px 20px rgba(15,52,89,.05)!important}
#advisorViewContratos .stdClosedReadOnlyGrid911{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(190px,1.4fr) minmax(160px,1fr);gap:12px;width:100%;align-items:stretch}
#advisorViewContratos .stdClosedReadOnlyGrid911>div{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:82px;padding:14px 15px;border:1px solid #dbe8f2;border-radius:12px;background:#fff}
#advisorViewContratos .stdClosedReadOnlyGrid911 small{font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.055em;color:#7890a8;font-weight:850}
#advisorViewContratos .stdClosedReadOnlyGrid911 strong{font-size:14px;line-height:1.35;color:#113b68;overflow-wrap:anywhere}
@media(max-width:760px){#advisorViewContratos .stdClosedReadOnlyGrid911{grid-template-columns:1fr}}

/* V9.1.2 · historial de propuestas */
.std910ProposalActions .std910HistoryBtn{grid-column:1 / -1;background:#f7fbff!important;border-color:#c9ddeb!important;color:#285b83!important}
.std910ProposalActions .std910HistoryBtn:hover{background:#eef7ff!important}
.std-proposal-history-912 label span{min-width:0}.std-proposal-history-912 label small{white-space:normal}

/* V9.1.3 · acciones comerciales equilibradas */
.std910ProposalActions{grid-template-columns:1fr!important}
.std910ProposalActions button,.std910ProposalActions .std910Complete{width:100%!important;min-height:44px!important}
.std910ProposalActions .std910HistoryBtn{grid-column:auto!important}
.std913ClosedProposal{min-height:0!important}
.std913ClosedInfo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.std913ClosedInfo>div{padding:11px 12px;border:1px solid #dce8f2;border-radius:11px;background:#f8fbfe;display:flex;flex-direction:column;gap:4px}
.std913ClosedInfo small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#6b8195;font-weight:800}.std913ClosedInfo b{font-size:13px;color:#143f65}

/* V10.2.14 · propuesta enviada a revisión: estado de sólo lectura */
.stdProposalAwaiting10214{min-height:200px!important;border:1px solid #f0d18a!important;background:linear-gradient(180deg,#fffdf7,#fffaf0)!important}
.stdProposalAwaitingBadge10214{display:inline-flex;align-self:flex-start;margin:18px 0 10px;padding:7px 11px;border-radius:999px;background:#fff0c7;border:1px solid #eccf82;color:#8b5b00;font-size:12px;font-weight:900}
.stdProposalAwaitingText10214{margin:0;color:#687b8e;font-size:13px;line-height:1.5;max-width:48ch}

/* V10.2.28 · solicitud explícita de contrato en tarjeta de propuesta. */
.std910ContractRequest{position:absolute;top:12px;right:12px;width:31px!important;height:31px!important;min-width:31px!important;padding:6px!important;border:1px solid #bcd9e8!important;border-radius:9px!important;background:#f4fbff!important;color:#117da8!important;display:grid!important;place-items:center!important;cursor:pointer;z-index:2}.std910ContractRequest.withDelete{right:51px}.std910ContractRequest svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.std910ContractRequest:hover{background:#e8f8ff!important;border-color:#65b9da!important}.stdProposalContractPending10228{border-color:#ecd38f!important;background:linear-gradient(180deg,#fffdf8,#fffaf0)!important}
