.sd-resident-card-dialog{width:min(720px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;margin:auto;border:1px solid #c5d3c5;border-radius:10px;background:#fff;color:#153b2e;overflow:auto;box-shadow:0 24px 80px #102a2944}
.sd-resident-card-dialog::backdrop{background:#132f2866}
.sd-resident-card-dialog>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #d5dfd3;background:#f4f7ef}
body.sd-v2 .sd-resident-card-dialog>header h2{margin:0;font-size:23px!important;line-height:1.3!important;letter-spacing:-.03em;min-width:0}
.sd-resident-card-dialog>header button{min-height:44px;padding:9px 12px;flex:none;border:1px solid #bdcdbf;border-radius:5px;background:#fff;color:#153b2e;font:500 16px/1.5 Inter,sans-serif}
.sd-resident-card-body{padding:20px;overflow-wrap:anywhere}
.sd-resident-card-body dl{margin:0}
.sd-resident-card-body .lc-field{padding:14px 0;border-bottom:1px solid #d5dfd3}
.sd-resident-card-body .lc-field dt{font-size:16px!important;line-height:1.5!important;color:#4d6257}
.sd-resident-card-body .lc-field dd{margin:5px 0 0;font-size:18px!important;line-height:1.5!important;color:#153b2e;overflow-wrap:anywhere}
.sd-resident-card-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.6 Consolas,monospace}
.sd-resident-card-body .lc-related{display:block;width:100%;padding:14px;margin:0 0 10px;min-height:48px;text-align:left;border:1px solid #bdcdbf;border-radius:6px;background:#f7f9f3;color:#153b2e;font:500 17px/1.5 Inter,sans-serif}
body.sd-resident-card-open,body.sd-source-fields-open{overflow:hidden}
@media(max-width:850px){
 body.sd-resident-cards .lc-connection-card{padding:18px;border:1px solid #cbd8cd;border-top:3px solid #78a88a;border-radius:8px;background:#f8faf5;box-shadow:none}
 body.sd-resident-cards .lc-connection-card strong{font-size:19px!important;line-height:1.4!important}
 body.sd-resident-cards .lc-connection-card .lc-connection-actions{margin-top:14px;gap:8px}
 body.sd-resident-cards .lc-connection-card .lc-connection-actions button{min-height:44px;font-size:16px!important}
 body.sd-resident-cards .sd-resident-card-body #lcMobileConnections{padding:0;scroll-margin-top:85px}
 body.sd-resident-cards .sd-resident-card-body .lc-branch-heading{padding:0 0 18px}
 body.sd-resident-cards .sd-resident-card-body .lc-branch-heading p{font-size:15px!important;line-height:1.5!important}
 body.sd-resident-cards #lcPanelRecords .lc-table{display:block;border:0;padding:0 16px;background:none}
 body.sd-resident-cards #lcPanelRecords .lc-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body.sd-resident-cards #lcRecordRows{display:grid;gap:12px}
 body.sd-resident-cards #lcRecordRows tr{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #cbd8cd;border-radius:8px;background:#f8faf5;overflow:hidden}
 body.sd-v2.sd-resident-cards #lcRecordRows td{display:block;width:auto!important;max-width:none!important;min-width:0;padding:10px 16px 14px;border:0;background:none;color:#4d6257;font-size:16px!important;line-height:1.5!important;overflow-wrap:anywhere}
 body.sd-resident-cards #lcStatus{bottom:calc(var(--sd-resident-dock-height,76px) + 12px);max-width:calc(100vw - 32px);width:max-content;left:16px;right:auto;transform:none}
 body.sd-v2.sd-resident-cards #lcRecordRows td:first-child{grid-column:1/-1;padding:0}
 body.sd-v2.sd-resident-cards #lcRecordRows td:first-child button{display:block;width:100%;min-height:52px;padding:16px 16px 10px;text-align:left;background:none;border:0;color:#006c56;font:600 18px/1.5 Inter,sans-serif;text-decoration:underline;text-underline-offset:4px}
 body.sd-resident-cards #lcInspectorBody details>summary,body.sd-resident-cards #lcPanelRecords .lc-json>summary{display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:14px 16px;border:1px solid #cbd8cd;border-radius:6px;background:#f4f7ef;color:#006c56;font-size:16px!important;line-height:1.5!important;list-style:none}
 body.sd-resident-cards #lcInspectorBody details>summary::after,body.sd-resident-cards #lcPanelRecords .lc-json>summary::after{content:'↗';padding-left:12px}
 body.sd-resident-cards #lcInspectorBody details{margin:12px 0}
 body.sd-resident-cards #lcPanelRecords .lc-json{margin:16px}
 .sd-resident-card-body :is(.lc-connection-card,.lc-pagination){scroll-margin-top:85px}
}
@media(max-width:360px){.sd-resident-card-dialog>header,.sd-resident-card-body{padding:16px}.sd-resident-card-dialog>header button{padding-inline:8px}}
