/* Customer-profile geometry follows the supplied customer-portrait screenshots. */
#app.hrt-profile-shell>.global-rail,#app.hrt-profile-shell>.settings-sidebar{display:none}
#app.hrt-profile-shell>.topbar{left:0;padding-left:6px}
#app.hrt-profile-shell>.main.hrt-profile-main{left:0;top:62px;padding:0 18px 18px;right:0;bottom:0}
.hrt-profile-back{height:28px;width:28px;padding:3px;background:#fff;border-radius:5px}
.hrt-profile-layout{height:100%;display:grid;grid-template-columns:380px minmax(0,1fr);gap:18px;min-height:0}
.hrt-profile-info{background:white;min-height:0;overflow:auto;scrollbar-width:thin;font-size:13px;border-right:3px solid #ddd}
.hrt-profile-summary{display:flex;gap:16px;padding:22px 24px 16px;align-items:flex-start}
.hrt-profile-summary>.avatar{width:64px;height:64px;flex-shrink:0;background:#62dda5;font-size:34px;font-weight:400}
.hrt-profile-summary>div{flex:1;min-width:0}.hrt-profile-summary strong{font-weight:500;font-size:14px;display:block;padding-top:1px}
.hrt-profile-summary p{margin:6px 0;color:#9a9a9a;font-size:12px}
.hrt-profile-summary>.icon-button{width:24px;height:24px;padding:4px;color:#bbb;align-self:center}
.hrt-profile-contact-icons{display:flex;gap:7px}.hrt-profile-contact-icons .icon{width:19px;height:19px;padding:3px;background:#f7f7f7;border:1px solid #eee;border-radius:3px;color:#ccc}
.hrt-profile-contact-icons .icon:first-child{color:#f60}
.hrt-profile-ownership{padding:0 24px 14px}.hrt-profile-ownership>div{display:flex;gap:14px;align-items:center;padding:12px 0 0;line-height:20px}.hrt-profile-ownership>div>span:first-child{width:84px;flex-shrink:0}.hrt-profile-ownership>div>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hrt-profile-info>h3{margin:0;background:#fafafa;font-size:14px;font-weight:600;padding:11px 24px}
.hrt-profile-basic{padding:6px 24px}.hrt-profile-field{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:center;min-height:46px}
.hrt-profile-field>span{line-height:20px}.hrt-profile-value{line-height:22px;min-width:0;display:flex;align-items:center}.hrt-profile-value-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.hrt-profile-value.is-empty{color:#b5b9c2;font-size:12px}
.hrt-profile-main-email{display:inline-block;font-size:10px;color:#f60;background:#fff5e8;padding:0 6px;border-radius:10px;line-height:18px;margin-left:7px;font-style:normal;flex-shrink:0}
.hrt-profile-custom{padding:12px 24px 28px}.hrt-profile-custom .cdp-form-field{margin:0 0 18px}.hrt-profile-custom .cdp-field-label{font-size:13px;color:#25364e}
.hrt-profile-records{display:flex;flex-direction:column;min-width:0;min-height:0}
.hrt-profile-top-tabs{display:flex;gap:0;background:#e9eaf0;border-radius:6px;width:max-content;max-width:100%;padding:3px;margin-bottom:16px;flex-shrink:0}
.hrt-profile-top-tabs>button{background:none;border:0;color:#87909f;padding:8px 22px;font-size:13px;border-radius:5px;height:32px;white-space:nowrap}
.hrt-profile-top-tabs>button.active{background:#fff;color:#f60;box-shadow:0 1px 5px #0002}
.hrt-profile-record-body{background:#fff;flex:1;display:flex;flex-direction:column;padding:24px;min-height:0;min-width:0}
.hrt-profile-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.hrt-profile-record-tabs{display:flex;gap:24px;align-self:stretch;border-bottom:1px solid #eee;min-width:230px}
.hrt-profile-record-tabs>button{border:0;background:none;padding:7px 0 14px;font-size:14px;position:relative}
.hrt-profile-record-tabs>button.active{color:#f60}.hrt-profile-record-tabs>button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#f60}
.hrt-profile-table-tools{display:flex;gap:12px}.hrt-profile-table-tools .button,.hrt-profile-table-tools .control{height:32px;font-size:12px;white-space:nowrap}.hrt-profile-table-tools .control{width:194px}
.hrt-profile-filters{display:flex;align-items:center;gap:12px;margin:0 0 22px;font-size:13px;flex-wrap:wrap}
.hrt-profile-date-range{display:flex;align-items:center;gap:7px;border:1px solid #ddd;border-radius:5px;height:32px;padding:0 9px;color:#999;max-width:100%}
.hrt-profile-date-range input{border:0;outline:0;font:12px Arial,sans-serif;background:none;color:#25364e;width:132px;min-width:0}
.hrt-profile-filters>.control{height:32px;width:190px;font-size:12px;color:#8793a6}
.hrt-profile-table-scroll{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}
.hrt-profile-table{border-collapse:collapse;white-space:nowrap;min-width:1100px;width:100%;font-size:13px;table-layout:fixed}
.hrt-profile-table th{height:46px;background:#fafafa;text-align:left;font-weight:400;padding:10px 16px;position:sticky;top:0;z-index:1}
.hrt-profile-table th:nth-child(1){width:200px}.hrt-profile-table th:nth-child(2){width:200px}.hrt-profile-table th:nth-child(3){width:210px}.hrt-profile-table th:last-child{width:100px}
.hrt-profile-table td{height:84px;border-bottom:1px solid #eee;padding:13px 16px;overflow:hidden;text-overflow:ellipsis}
.hrt-profile-table .customer-cell{display:flex;align-items:center;gap:9px}.hrt-profile-table .avatar{width:25px;height:25px;background:#62dda5;font-size:14px;flex-shrink:0}
.hrt-profile-table .customer-cell>div{overflow:hidden;text-overflow:ellipsis}.hrt-profile-table .customer-cell small{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;max-width:145px;margin-top:4px}
.hrt-profile-channel{display:inline-flex;gap:8px;align-items:center}.hrt-profile-channel .channel-glyph{width:16px;height:16px;color:#f60;flex-shrink:0}
.hrt-profile-table .sticky-operation{position:sticky;right:0;background:white;text-align:center;box-shadow:-5px 0 8px -6px #bbb;z-index:2}.hrt-profile-table th.sticky-operation{background:#fafafa;z-index:3}
.hrt-profile-table .plain{color:#2864ff;font-size:13px}
.hrt-profile-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-shrink:0;font-size:12px;padding-top:16px}
.hrt-profile-pagination button{background:#fff;border:0;border-radius:5px;width:24px;height:24px;color:#ccc}.hrt-profile-pagination button.active{color:#f60;border:1px solid #f60}
@media(max-width:1500px){.hrt-profile-layout{grid-template-columns:320px minmax(0,1fr);gap:16px}.hrt-profile-summary{padding:20px 18px}.hrt-profile-ownership,.hrt-profile-basic{padding-left:18px;padding-right:18px}.hrt-profile-info>h3{padding-left:18px}.hrt-profile-field{grid-template-columns:100px minmax(0,1fr)}.hrt-profile-record-body{padding:20px}.hrt-profile-top-tabs>button{padding-left:18px;padding-right:18px}.hrt-profile-filters>.control{width:150px}}
@media(max-width:1100px){.hrt-profile-layout{grid-template-columns:270px minmax(0,1fr);gap:12px}.hrt-profile-top-tabs>button{padding-left:12px;padding-right:12px}.hrt-profile-record-body{padding:16px}.hrt-profile-table-tools .control{width:155px}.hrt-profile-field{grid-template-columns:84px minmax(0,1fr)}.hrt-profile-summary>.avatar{width:48px;height:48px;font-size:26px}}
