.trust-profile-entry>span{display:grid;gap:4px;text-align:left;min-width:0}.trust-profile-entry small{font-size:calc(10px * var(--workspace-text-scale,1));color:var(--muted,#78909d);white-space:normal;line-height:1.5}.trust-panel{padding:24px;margin:0 0 22px;min-width:0}.trust-panel h2{font-size:calc(22px * var(--workspace-text-scale,1));margin-bottom:12px}.trust-panel-head,.trust-portal-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.trust-panel-head h2{margin:0}.trust-portal-head h1{font-size:calc(30px * var(--workspace-text-scale,1))}.trust-card-list{margin-top:16px;display:grid;gap:10px}.trust-record{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--line,#dbe3e5);border-radius:10px;background:var(--surface,#fff)}.trust-record>div:first-child{min-width:0;flex:1}.trust-record strong,.trust-record small{display:block}.trust-record small{color:var(--muted,#78909d);font-size:calc(11px * var(--workspace-text-scale,1));margin-top:5px;overflow-wrap:anywhere}.trust-record p{font-size:calc(12px * var(--workspace-text-scale,1));line-height:1.7;margin:10px 0;overflow-wrap:anywhere}.trust-message{white-space:pre-wrap}.trust-actions{display:flex;flex-wrap:wrap;gap:8px}.trust-search{display:flex;gap:10px;margin:20px 0}.trust-search input{flex:1;min-width:0}.trust-access-tag{padding:9px 16px;border:1px solid var(--line,#dbe3e5);border-radius:22px;background:var(--surface,#fff);font-size:calc(12px * var(--workspace-text-scale,1));color:var(--muted,#78909d);min-width:140px}.trust-access-tag.enabled{background:#eee3c7;color:#654d1d;border-color:#c4ab71}.trust-access-tag.enabled small{color:#654d1d}.trust-access-tag small{font-size:calc(9px * var(--workspace-text-scale,1));margin-top:3px}.trust-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:18px;font-size:calc(12px * var(--workspace-text-scale,1))}.trust-review-fields{margin-top:24px;display:grid;gap:9px}.trust-review-fields details{border:1px solid var(--line,#dbe3e5);border-radius:8px;padding:14px}.trust-review-fields summary{cursor:pointer;font-weight:600}.trust-review-fields dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px;margin:16px 0 0;font-size:calc(12px * var(--workspace-text-scale,1))}.trust-review-fields dd{margin:0;overflow-wrap:anywhere}.trust-review-fields dt{color:var(--muted,#78909d)}.trust-request-status{border-left:3px solid #baa16b;padding:14px;margin:18px 0}.trust-request-status p{margin-top:8px;white-space:pre-wrap;font-size:calc(13px * var(--workspace-text-scale,1))}.trust-frame-wrap{margin-top:14px;border:1px solid var(--line,#dbe3e5);border-radius:12px;overflow:hidden;background:#f3f5f8}.trust-frame-wrap iframe{display:block;width:100%;height:100%;min-height:0;border:0}.trust-panel .field-help{line-height:1.7}.trust-record .status-tag{display:inline-flex;margin-top:6px}html[data-workspace-theme=dark] .trust-access-tag.enabled{background:#3c3322;color:#efd69f;border-color:#9f8655}html[data-workspace-theme=dark] .trust-access-tag.enabled small{color:#efd69f}@media(max-width:650px){.trust-panel{padding:16px}.trust-record{align-items:flex-start;flex-direction:column;gap:14px;padding:14px}.trust-actions{width:100%}.trust-actions .crm-btn{flex:1}.trust-access-tag{width:100%;text-align:left}.trust-portal-head{align-items:flex-start}.trust-portal-head .crm-btn{padding:10px;font-size:calc(10px * var(--workspace-text-scale,1))}.trust-review-fields dl{grid-template-columns:1fr}.trust-review-fields dd{padding-bottom:12px}.trust-pagination{justify-content:space-between;gap:5px}.trust-search{flex-wrap:wrap}.trust-search .crm-btn{flex:none}}

.trust-access-gate{max-width:640px;margin:24px auto}.trust-access-gate>p{line-height:1.7;color:var(--muted,#78909d)}.trust-access-gate form,.trust-access-gate>.crm-btn{margin-top:20px}

/* The embedded intake owns scrolling; its host fits the remaining viewport. */
.workspace:has(.trust-frame-wrap),.ntp-workspace:has(.trust-frame-wrap){height:100dvh;min-height:0;overflow:hidden}
.workspace:has(.trust-frame-wrap)>.crm-main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.ntp-workspace:has(.trust-frame-wrap){display:flex;flex-direction:column}
:is(.workspace,.ntp-workspace):has(.trust-frame-wrap) :is(.crm-topbar,.preview-banner,.readonly-banner,.ntp-folder-tabs){flex-shrink:0}
.crm-content:has(>.trust-frame-wrap){display:flex;flex-direction:column;flex:1;min-height:0;width:100%;padding-top:16px;padding-bottom:16px;overflow:hidden}
.crm-content:has(>.trust-frame-wrap)>.trust-portal-head,.crm-content:has(>.trust-frame-wrap)>.field-help{flex-shrink:0}
.trust-frame-wrap{flex:1;min-height:0}

.trust-receipt{max-width:42rem;margin:2rem auto;border-top:3px solid var(--gold,#b69b68)}.trust-receipt>p{line-height:1.65}.trust-receipt h2{margin:.7rem 0}.trust-doc-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem;margin-top:1rem}.trust-doc-fields label,.trust-doc-fields>div{min-width:0}.trust-doc-fields p{overflow-wrap:anywhere;margin:.3rem 0}.trust-document-actions,.trust-review-note{margin:1.2rem 0}.trust-review-note summary{cursor:pointer}
