/* V4 UX polish — keeps all native forms, role rules and primary actions. */
.rh26-top-more{position:relative;flex:0 0 auto;z-index:25}
.rh26-top-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;border:1px solid #343139;border-radius:11px;background:#1c191e;color:#e8dce1;padding:11px 13px;min-height:42px;font-size:12px;font-weight:750;white-space:nowrap}
.rh26-top-more>summary::-webkit-details-marker{display:none}
.rh26-top-more[open]>summary{background:#30212a;border-color:#754559}
.rh26-top-more>summary:focus-visible,.rh26-property-guide>summary:focus-visible,.rh26-action-summary button:focus-visible{outline:2px solid #e79bb1;outline-offset:3px}
.rh26-top-menu{position:absolute;z-index:35;top:calc(100% + 10px);right:0;display:grid;gap:7px;min-width:224px;max-width:min(90vw,290px);padding:10px;border:1px solid #53424a;border-radius:13px;background:#211d23;box-shadow:0 18px 48px #000a}
.rh26-top-more:not([open])>.rh26-top-menu{display:none}
.rh26-top-menu .btn,.rh26-top-menu .v41-command-btn{width:100%;min-height:41px;text-align:left;justify-content:flex-start;white-space:normal;font-size:12px;box-shadow:none}
#rh26TopMore[open] .rh26-top-menu > .btn-secondary{display:flex}
.rh26-top-menu #v41Connection{padding:8px 10px;font-size:11px;min-height:0}
.rh26-has-portfolio-add .top-actions #quickAddBtn{display:none!important}
.rh26-portfolio-page .topbar{min-height:78px}
.rh26-property-guide{border:1px solid #353038;border-radius:12px;background:#161419;margin-bottom:12px}
.rh26-property-guide>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:12px 16px;color:#c5bfc4;font-size:12px;font-weight:650}
.rh26-property-guide>summary::-webkit-details-marker{display:none}
.rh26-property-guide[open]>summary{border-bottom:1px solid #342d33}
.rh26-property-guide-body{padding:10px;display:grid;gap:10px}
.rh26-property-guide .card{margin:0!important;box-shadow:none}
.rh26-property-guide .rh64-due{padding:12px}
.rh26-portfolio-empty{display:flex;align-items:center;gap:14px;border:1px dashed #604451;background:#271922;border-radius:12px;padding:15px;margin:4px 0 14px}
.rh26-portfolio-empty strong{display:block;font-size:14px}
.rh26-portfolio-empty p{margin:5px 0 0;color:#b7abb2;font-size:12px}
.rh26-portfolio-empty .btn{margin-left:auto;white-space:nowrap}
.rh26-empty-icon{background:#492436;color:#ffc1d5;border-radius:10px;font-size:22px;width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px}
.rh26-action-summary{border:1px solid #3d3139;border-radius:16px;background:linear-gradient(115deg,#241820,#161519 65%);padding:19px 20px;margin-bottom:16px}
.rh26-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.rh26-summary-heading h2{font-size:19px;margin:0 0 5px}
.rh26-summary-heading p{font-size:12px;color:#b0a3ac;margin:0}
.rh26-today-link{border:0;background:transparent;color:#e5a7bd;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.rh26-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rh26-action-tile{display:grid;text-align:left;gap:4px;border:1px solid #44353c;border-radius:12px;padding:15px;background:#1b191e;color:#eae3e7;cursor:pointer;min-width:0}
.rh26-action-tile:hover{border-color:#b15c7c;background:#281c25}
.rh26-action-tile span{font-size:12px;color:#c9b7c1}
.rh26-action-tile b{font-size:26px;line-height:1.3}
.rh26-action-tile small{font-size:11px;color:#9d939b}
@media(min-width:901px){.topbar .top-actions{flex-wrap:nowrap!important;gap:8px!important;min-width:0}.topbar .top-actions>.rh26-find-button{flex:1 1 230px;min-width:180px;max-width:480px}.topbar #v5419QuickNoteBtn{white-space:nowrap}.topbar #notificationBtn{min-width:42px}}
@media(min-width:901px) and (max-width:1320px){.topbar{padding-inline:18px;gap:10px}.topbar .top-actions>.rh26-find-button{min-width:165px}.topbar #v5419QuickNoteBtn{font-size:11px;padding-inline:9px}.rh26-top-more>summary{padding-inline:10px}}
@media(max-width:900px){.rh26-top-more{order:6}.rh26-top-menu{right:0}.rh26-action-summary{padding:15px}.rh26-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rh26-portfolio-empty{flex-wrap:wrap}.rh26-portfolio-empty .btn{width:100%;margin-left:0}}
@media(max-width:560px){.rh26-summary-heading{align-items:flex-start;flex-direction:column}.rh26-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rh26-summary-grid>.rh26-action-tile:last-child:nth-child(odd){grid-column:1/-1}.rh26-action-tile{padding:11px}.rh26-action-tile b{font-size:23px}.rh26-top-menu{right:0}.rh26-top-more>summary{padding-inline:9px}.rh26-property-guide>summary{padding:11px}}
/* Small-screen legacy rules hid buttons to save topbar space. In V4 they can live inside the overflow instead. */
@media(max-width:900px){
  body:not([data-clean-view="customers"]) #rh26TopMore[open] #v5411CallBtn{display:flex}
  body:not(.rh548-today) #rh26TopMore[open] #activityQuickBtn{display:flex}
}
