/* listing-map-link-20261030.css */
#listView #savedListingsList .dashboard-property-row.hana-crm-row{position:relative!important}#listView #savedListingsList .dashboard-property-row.hana-crm-row>.hana-crm-map-link{position:absolute!important;top:var(--hana-map-top,0px)!important;left:var(--hana-map-left,0px)!important;z-index:5!important;color:#1765bc!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;text-decoration:underline!important;text-underline-offset:2px!important;background:#fff!important;padding:1px 2px!important;white-space:nowrap!important}#listView #savedListingsList .hana-crm-map-link:hover{color:#0b468a!important}#listView #savedListingsList .hana-crm-map-link:focus-visible{outline:2px solid #1765bc!important;outline-offset:2px!important}@media(max-width:980px){#listView #savedListingsList .hana-crm-number>.hana-crm-map-link{display:inline-block!important;margin-left:8px!important;color:#1765bc!important;font-size:12px!important;font-weight:700!important;text-decoration:underline!important}}
#listView #savedListingsList .hana-crm-row>.hana-crm-address{align-items:flex-start!important;pointer-events:none!important}#listView #savedListingsList .hana-crm-row>.hana-crm-address>strong,#listView #savedListingsList .hana-crm-row>.hana-crm-address>.hana-crm-address-alternate{width:max-content!important;max-width:100%!important;pointer-events:auto!important}#listView #savedListingsList .hana-crm-row>.hana-crm-address>.hana-crm-address-detail,#listView #savedListingsList .hana-crm-row>.hana-crm-address>.hana-crm-owner-contact{width:max-content!important;max-width:100%!important;pointer-events:none!important}

#listView #savedListingsList .hana-crm-row>.hana-crm-address>strong,#listView #savedListingsList .hana-crm-row>.hana-crm-address>.hana-crm-address-alternate{pointer-events:none!important}#listView #savedListingsList .hana-crm-row>.hana-crm-address .hana-crm-address-hit{pointer-events:auto!important;cursor:pointer!important}

#listView #savedListingsList .dashboard-property-row.hana-crm-row>.hana-crm-map-link,#listView #savedListingsList .hana-crm-number>.hana-crm-map-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;border:1px solid #0c56a9!important;border-radius:5px!important;background:#1765bc!important;color:#fff!important;box-shadow:0 1px 3px rgba(9,63,126,.28)!important;text-decoration:none!important;font-size:0!important;line-height:1!important;vertical-align:middle!important}#listView #savedListingsList .hana-crm-map-link svg{display:block;width:14px;height:14px;flex:none}#listView #savedListingsList .dashboard-property-row.hana-crm-row>.hana-crm-map-link:hover,#listView #savedListingsList .hana-crm-number>.hana-crm-map-link:hover{background:#0b4f99!important;color:#fff!important}

#listView #savedListingsList .dashboard-property-row.hana-crm-row>.hana-crm-map-link,#listView #savedListingsList .hana-crm-number>.hana-crm-map-link{display:inline-block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#1765bc!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:2px!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;vertical-align:baseline!important}#listView #savedListingsList .dashboard-property-row.hana-crm-row>.hana-crm-map-link:hover,#listView #savedListingsList .hana-crm-number>.hana-crm-map-link:hover{background:transparent!important;color:#0b468a!important}

/* staff-commission-own-20261030.css */
.sc-staff-readonly .sc-work,.sc-staff-readonly .sc-head-actions,.sc-staff-readonly .sc-deleted-toggle,.sc-staff-readonly .sc-table th:last-child,.sc-staff-readonly .sc-table td:last-child,.sc-staff-readonly .sc-source-info{display:none!important}.sc-staff-readonly .sc-head h1{color:#122b49}.sc-staff-readonly .sc-head p{color:#425b73}

/* settings-hub.css */
#settingsView { max-width: 1120px; }
#settingsView .settings-home[hidden], #settingsView .settings-detail[hidden] { display: none !important; }
.settings-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.settings-card { width:100%; min-height:94px; display:flex; align-items:center; gap:16px; text-align:left; padding:18px 20px; background:#fff; color:#183250; border:1px solid #dce6f2; border-radius:12px; box-shadow:0 2px 8px rgba(22,65,112,.04); cursor:pointer; transition:background .15s,border-color .15s,transform .15s; }
.settings-card:hover,.settings-card:focus-visible { background:#f3f8ff; border-color:#78a9eb; transform:translateY(-1px); }
.settings-card-icon { flex:none; display:grid; place-items:center; width:46px; height:46px; border-radius:11px; background:#e9f2ff; color:#1662bb; font-size:23px; font-weight:700; }
.settings-card-copy { display:grid; gap:5px; min-width:0; }
.settings-card-copy strong { font-size:16px; line-height:1.3; }
.settings-card-copy small { font-size:13px; color:#66788e; line-height:1.4; }
.settings-card-arrow { margin-left:auto; color:#708baa; font-size:28px; font-weight:300; }
.settings-detail { padding-bottom:24px; }
.settings-detail h1 { margin:7px 0 4px; font-size:27px; color:#173657; }
.settings-description { margin:0 0 18px; color:#687b91; }
.settings-back { border:0; padding:9px 0; background:none; color:#1766ba; font-weight:700; cursor:pointer; }
.settings-back:hover { text-decoration:underline; }
.settings-panel { margin:0 0 16px; }
.settings-panel h2:not(:first-child) { margin-top:24px; }
.settings-control { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:49px; padding:8px 0; border-bottom:1px solid #edf1f5; color:#273f5c; }
.settings-control > span { font-size:14px; line-height:1.4; }
.settings-control select,.settings-control input:not([type=checkbox]) { width:min(260px,45%); flex:none; }
.settings-control input[type=checkbox] { width:18px; height:18px; flex:none; accent-color:#1767bb; }
.settings-save-row { display:flex; align-items:center; justify-content:flex-end; gap:18px; margin-top:20px; }
.settings-save-status { color:#39714d; }
.settings-subpage-button { display:flex; justify-content:space-between; width:100%; padding:15px 18px; text-align:left; color:#195f9f; background:#f1f7ff; border:1px solid #c8def6; border-radius:9px; cursor:pointer; }
.settings-hint { font-size:13px; color:#697d92; }
.settings-brand-preview{display:block;width:min(100%,560px);height:180px;margin:0 0 16px;border:1px solid #d9e1e9;border-radius:8px;background-color:#fff;object-fit:contain;object-position:center center}
.settings-brand-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.settings-brand-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.settings-brand-controls .settings-save-status{flex:1 1 100%;margin-top:5px}
.settings-brand-controls .settings-back{padding:8px 4px}
.settings-reset { margin-top:8px; }
body[data-screen-density=compact] #settingsView .settings-control { min-height:40px; }
body[data-screen-density=large] #settingsView .settings-control { min-height:56px; font-size:1.07em; }
body[data-ui-motion=off] #settingsView *,body[data-ui-motion=off] #settingsView *::before { animation:none!important; transition:none!important; }
body[data-photo-thumbnail=contain] .photo-gallery img { object-fit:contain!important; }
@media (max-width:800px) { .settings-card-grid { grid-template-columns:1fr; } .settings-card { min-height:78px; } }

/* hana-settings-secondary-20261020.css */
/* Settings-only secondary navigation. No app controls or data logic are replaced. */
#hanaSettingsSecondaryNav[hidden] { display: none !important; }
#hanaSettingsSecondaryNav {
  box-sizing: border-box;
  position: fixed;
  top: var(--header-height, 64px);
  bottom: 0;
  left: var(--sidebar-width, 191px);
  width: 226px;
  z-index: 13;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 17px 11px 20px;
  border-right: 1px solid #d8e3ee;
  background: #f8fafc;
  color: #23435e;
  scrollbar-width: thin;
  scrollbar-color: #b9c9d8 transparent;
}
#hanaSettingsSecondaryNav .hana-ssn-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 9px 13px;
  border-bottom: 1px solid #dce5ee;
}
#hanaSettingsSecondaryNav .hana-ssn-top strong {
  font-size: 18px;
  font-weight: 800;
  color: #173c5e;
}
#hanaSettingsSecondaryNav .hana-ssn-top small {
  font-size: 11px;
  font-weight: 650;
  color: #698197;
  white-space: nowrap;
}
#hanaSettingsSecondaryNav .hana-ssn-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 13px 0 7px;
}
#hanaSettingsSecondaryNav .hana-ssn-group + .hana-ssn-group {
  margin-top: 5px;
  border-top: 1px solid #e2eaf2;
}
#hanaSettingsSecondaryNav .hana-ssn-group-title {
  margin: 0 8px 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #70849a;
}
#hanaSettingsSecondaryNav .hana-ssn-link {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: #344f69;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
#hanaSettingsSecondaryNav .hana-ssn-link:hover {
  color: #175987;
  background: #ecf3fa;
}
#hanaSettingsSecondaryNav .hana-ssn-link.is-active {
  background: #e5f1fa;
  color: #174e7b;
  border-left-color: #f08a3a;
  font-weight: 800;
}
#hanaSettingsSecondaryNav .hana-ssn-link:focus-visible {
  outline: 2px solid #5198ce;
  outline-offset: -1px;
}
body.has-sidebar.hana-settings-side-active main {
  box-sizing: border-box;
  padding-left: 244px;
}
/* The original account/commission buttons remain in the DOM, with original handlers. */
body.hana-settings-secondary-installed #hanaAdminTools,
body.hana-settings-secondary-installed #officeSidebar button[data-view="accounts"],
body.hana-settings-secondary-installed #officeSidebar button[data-view="admin"],
body.hana-settings-secondary-installed:not([data-role="staff"]) #officeSidebar button[data-view="staffCommission"] {
  display: none !important;
}
/* The old card grid was only a launcher; the persistent side navigation replaces it. */
body.hana-settings-secondary-installed #settingsView .settings-home,
body.hana-settings-secondary-installed #settingsView > .intro {
  display: none !important;
}
@media (max-width: 980px) {
  #hanaSettingsSecondaryNav {
    position: sticky;
    top: var(--header-height, 60px);
    left: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #d8e3ee;
    background: #f8fafc;
    z-index: 40;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
  }
  #hanaSettingsSecondaryNav .hana-ssn-top,
  #hanaSettingsSecondaryNav .hana-ssn-group-title { display: none; }
  #hanaSettingsSecondaryNav .hana-ssn-group,
  #hanaSettingsSecondaryNav .hana-ssn-group + .hana-ssn-group {
    flex-direction: row;
    flex: 0 0 auto;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #hanaSettingsSecondaryNav .hana-ssn-group + .hana-ssn-group {
    border-left: 1px solid #d7e3ee;
    padding-left: 8px;
  }
  #hanaSettingsSecondaryNav .hana-ssn-link {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    padding: 8px 11px;
    white-space: nowrap;
    font-size: 13px;
  }
  html body.has-sidebar.hana-settings-side-active main {
    padding-left: max(12px, env(safe-area-inset-left, 0px)) !important;
  }
}
/* Clear settings hierarchy and contrast. */
#hanaSettingsSecondaryNav{background:#e8f1fa;border-right:1px solid #afc6de;box-shadow:2px 0 8px rgba(17,49,85,.08);color:#153657}
#hanaSettingsSecondaryNav .hana-ssn-top strong{color:#112e4c;font-size:19px}
#hanaSettingsSecondaryNav .hana-ssn-top small,#hanaSettingsSecondaryNav .hana-ssn-group-title{color:#3b5c7a}
#hanaSettingsSecondaryNav .hana-ssn-link{font-size:14px;color:#173959;font-weight:700}
#hanaSettingsSecondaryNav .hana-ssn-link:hover{background:#d6e7f8;color:#103f6d}
#hanaSettingsSecondaryNav .hana-ssn-link.is-active{background:#1765a7;color:#fff;border-left-color:#ff9b31;box-shadow:0 2px 5px rgba(18,72,123,.17)}
#settingsView .settings-detail h1{color:#112f50}
#settingsView .settings-description{color:#435d75}
#settingsView .settings-panel{background:#fff;border:1px solid #cbd9e7;box-shadow:0 2px 9px rgba(19,54,91,.06)}
#settingsView .settings-control>span{color:#172f4a;font-size:15px;font-weight:600}
#settingsView .settings-control select,#settingsView .settings-control input:not([type=checkbox]){color:#122c49;border:1px solid #aebfd1;background:#fff}
#settingsView .settings-back{color:#145e9f}

@media (min-width:981px){body.has-sidebar.hana-settings-side-active #staffCommissionView .sc-content{box-sizing:border-box;width:calc(100% - 270px)!important;max-width:none!important;margin:0 20px 24px 250px!important}}

/* hana-session-name-20261030.css */
/* Keep the logged-in person’s name visible on narrow map and listing headers. */
@media (max-width:760px){
  .public-session-controls .public-session-name:not([hidden]){
    display:inline-block;
    max-width:54px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    font-weight:700;
  }
  html body.has-sidebar .brand-header .utility-nav .account-identity{
    display:inline-block!important;
    max-width:72px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
  }
}

/* youtube-moved-buttons-only-20261030.css */
/* Existing moved YouTube buttons only; preserve handlers, sidebar, commission, runner and data. */
@media screen and (min-width:981px) {
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools:has(> button[data-view="youtubeProperty"]) {
    display:flex!important;
    flex:0 0 auto!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    margin:0 auto!important;
    overflow:visible!important;
    transform:none!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button[data-view="youtubeProperty"],
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button[data-view="youtubeAuction"] {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 10px!important;
    gap:7px!important;
    position:static!important;
    overflow:visible!important;
    white-space:nowrap!important;
    line-height:1!important;
    font-size:13px!important;
    cursor:pointer!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]) > .hana-office-icon {
    display:none!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]) .sidebar-label {
    display:inline-block!important;
    position:static!important;
    width:auto!important;
    min-width:max-content!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    inset:auto!important;
    transform:none!important;
    color:#273a4b!important;
    -webkit-text-fill-color:currentColor!important;
    font-size:13px!important;
    font-weight:650!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    opacity:1!important;
    visibility:visible!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]) .youtube-menu-icon {
    display:inline-flex!important;
    flex:0 0 22px!important;
    width:22px!important;
    min-width:22px!important;
    height:16px!important;
    min-height:16px!important;
    max-height:16px!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    inset:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:5px!important;
    background:#f03!important;
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    font-size:0!important;
    line-height:0!important;
    transform:none!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]) .youtube-menu-icon::after {
    content:""!important;
    display:block!important;
    position:absolute!important;
    width:0!important;
    height:0!important;
    top:5px!important;
    left:9px!important;
    border-top:3px solid transparent!important;
    border-bottom:3px solid transparent!important;
    border-left:5px solid white!important;
  }

}
@media screen and (min-width:981px) and (max-width:1360px){
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools:has(> button[data-view="youtubeProperty"]) {gap:5px!important;}
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]){
    gap:5px!important;padding:0 7px!important;
  }
  html body.has-sidebar .brand-header #headerTools #hanaHeaderCenterTools > button:is([data-view="youtubeProperty"],[data-view="youtubeAuction"]) .sidebar-label{
    font-size:12px!important;
  }
}
