/* Soundboard shared UI components. */

/* === Calendar component (calendar.css) === */
#calendar .ui-datepicker-header,
#calendar1 .ui-datepicker-header,
#calendar2 .ui-datepicker-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* === 2026-07-14 authenticated UI precision pass === */

/* Work-order chat */
body.chat-workorder-page .message .message_bubble,
body.teammate-chat-page .message .message_bubble{
  max-width:min(72ch,78vw)!important;
  padding:11px 14px!important;
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:17px 17px 17px 5px!important;
  box-shadow:none!important;
}

body.chat-workorder-page .message.you .message_bubble,
body.teammate-chat-page .message.you .message_bubble{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
  border-radius:17px 17px 5px 17px!important;
}

body.chat-workorder-page .message .message_bubble p,
body.chat-workorder-page .message .message_bubble b,
body.chat-workorder-page .message .message_bubble .timestamp,
body.teammate-chat-page .message .message_bubble p,
body.teammate-chat-page .message .message_bubble b,
body.teammate-chat-page .message .message_bubble .timestamp{
  color:inherit!important;
}

body.chat-workorder-page .message .message_bubble p,
body.teammate-chat-page .message .message_bubble p{
  margin:0!important;
  line-height:1.42!important;
}

body.chat-workorder-page .message .timestamp,
body.teammate-chat-page .message .timestamp{
  margin-top:5px!important;
  opacity:.62!important;
  font-size:10px!important;
}

body.chat-workorder-page #sendMessageIcon,
body.chat-workorder-page .send-button,
body.teammate-chat-page #sendMessageIcon{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 8px 24px rgba(0,188,212,.24)!important;
}

body.chat-workorder-page #sendMessageIcon img,
body.chat-workorder-page .send-button img,
body.teammate-chat-page #sendMessageIcon img{
  filter:brightness(0)!important;
  opacity:1!important;
}

body.chat-workorder-page .chat-clean-content{
  position:relative!important;
  padding:22px!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  border-radius:22px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.46)!important;
}

body.chat-workorder-page .chat-clean-head{
  position:relative!important;
  padding:0 42px 14px 0!important;
  margin:0 0 12px!important;
  text-align:left!important;
}

body.chat-workorder-page .chat-clean-head p{
  margin-bottom:5px!important;
}

body.chat-workorder-page .chat-clean-close,
body.chat-workorder-page .chat-clean-modal [data-dismiss="modal"].chat-clean-close{
  position:absolute!important;
  top:-4px!important;
  right:0!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  color:var(--sb-text)!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid var(--sb-border)!important;
  border-radius:12px!important;
  font-size:24px!important;
  line-height:1!important;
}

body.chat-workorder-page .chat-clean-participants{
  max-height:140px!important;
  margin-bottom:12px!important;
}

body.chat-workorder-page .chat-clean-export{
  width:auto!important;
  height:40px!important;
  display:inline-flex!important;
  margin:0 0 16px!important;
  padding:0 14px!important;
  color:var(--sb-accent-bright)!important;
  background:transparent!important;
  border-color:var(--sb-border-strong)!important;
  border-radius:12px!important;
  font-size:12px!important;
}

body.chat-workorder-page .chat-clean-add{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  padding-top:14px!important;
  border-top:1px solid var(--sb-border)!important;
}

body.chat-workorder-page .chat-clean-add label,
body.chat-workorder-page #addTeammateStatus{
  grid-column:1 / -1!important;
}

body.chat-workorder-page .chat-clean-select{
  min-width:0!important;
  height:46px!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

body.chat-workorder-page .chat-clean-add-btn,
body.chat-workorder-page #addTeammateBtn.chat-clean-add-btn{
  width:auto!important;
  height:46px!important;
  padding:0 16px!important;
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-radius:12px!important;
}

/* Finance summary stays one row on phones. */
@media(max-width:680px){
  body.finances-page .finance-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.finances-page .finance-summary .summary-card{
    min-width:0!important;
    padding:11px 8px!important;
    border-radius:15px!important;
  }

  body.finances-page .finance-summary .summary-label{
    font-size:9px!important;
    letter-spacing:.045em!important;
    white-space:nowrap!important;
  }

  body.finances-page .finance-summary .summary-value{
    margin-top:5px!important;
    font-size:14px!important;
    white-space:nowrap!important;
  }
}

/* Shared admin navigation and surfaces. */
body[class*="admin-"] .admin-tabs a{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

body[class*="admin-"] .admin-tabs a svg{
  color:var(--sb-accent-bright)!important;
}

body[class*="admin-"] .admin-tabs a:hover,
body[class*="admin-"] .admin-tabs a.active{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
  transform:none!important;
}

body[class*="admin-"] .admin-tabs a:hover svg,
body[class*="admin-"] .admin-tabs a.active svg{
  color:#021012!important;
}

body.admin-payroll-page .payroll-hero,
body.admin-add-teammates-page .soundboard-hero,
body.admin-ledger-page .soundboard-hero,
body.admin-refund-page .soundboard-hero,
body.admin-controls-reports-page .soundboard-hero,
body.admin-workorder-page .soundboard-hero{
  background:#071416!important;
  border-color:var(--sb-border)!important;
}

body.admin-payroll-page .summary-card,
body.admin-payroll-page .payroll-section,
body.admin-payroll-page .payroll-item,
body.admin-refund-page .refund-card,
body.admin-refund-page .empty-state,
body.admin-ledger-page .metric-card,
body.admin-ledger-page .table-card,
body.admin-ledger-page .expense-form,
body.admin-controls-reports-page .report-card,
body.admin-controls-reports-page .reports-filter,
body.admin-controls-reports-page .report-history-inline,
body.admin-workorder-page .workorder_detail,
body.admin-workorder-page .workorder_box,
body.admin-workorder-page .messages_list,
body.admin-workorder-page .chat_box,
body.admin-workorder-page .no_workorder,
body.admin-add-teammates-page .form-card,
body.admin-add-teammates-page .field-block{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

body.admin-workorder-page input,
body.admin-workorder-page select,
body.admin-ledger-page input,
body.admin-ledger-page select,
body.admin-payroll-page input,
body.admin-payroll-page select,
body.admin-refund-page input,
body.admin-controls-reports-page input{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

body.admin-workorder-page .filter_buttons .btn,
body.admin-controls-reports-page .report-status-row a{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border-strong)!important;
}

body.admin-workorder-page .filter_buttons .btn:hover,
body.admin-workorder-page .filter_buttons .btn.active,
body.admin-controls-reports-page .report-status-row a:hover,
body.admin-controls-reports-page .report-status-row a.active{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
}

@media(max-width:720px){
  body.admin-payroll-page .payroll-hero,
  body.admin-add-teammates-page .soundboard-hero,
  body.admin-ledger-page .soundboard-hero,
  body.admin-refund-page .soundboard-hero,
  body.admin-controls-reports-page .soundboard-hero,
  body.admin-workorder-page .soundboard-hero{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
  }

  body[class*="admin-"] .admin-tabs a{
    padding:5px 2px!important;
    gap:4px!important;
    font-size:8px!important;
    text-align:center!important;
  }

  body[class*="admin-"] .admin-tabs svg{
    width:18px!important;
    height:18px!important;
  }
}

/* === 2026-07-29 responsive insights and account settings repair === */
html body.insight-members-page .wrapper.homepage.insight_analytics,
html body.insight-members-meetings-page .wrapper.homepage.insight_analytics{
  display:block!important;
}

html body[class^="insight-members"] .programmes a{
  color:#dce9ed!important;
}

html body[class^="insight-members"] .programmes a img{
  filter:brightness(0) invert(1)!important;
  opacity:.78!important;
}

html body[class^="insight-members"] .programmes a.active img{
  filter:brightness(0) invert(1)!important;
  opacity:1!important;
}

html body.insight-members-page .account_action.insight_mmbr{
  display:block!important;
}

html body.insight-members-page .meeting_dtl{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}

html body.insight-members-page .meeting_box{
  min-width:0!important;
  height:auto!important;
}

html body.insight-members-page .meeting_name{
  width:auto!important;
  min-width:0!important;
}

html body.insight-members-page .meeting_name p,
html body.insight-members-page .meeting_name .date{
  width:auto!important;
  max-width:100%!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  white-space:normal!important;
}

html body.insight-members-meetings-page .meeting-record-browser{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)!important;
  align-items:start!important;
  gap:18px!important;
  margin:0 0 18px!important;
}

html body.insight-members-meetings-page .meeting-search-column,
html body.insight-members-meetings-page .meeting-example-list{
  min-width:0!important;
}

html body.insight-members-meetings-page .meeting-search-card{
  margin:0!important;
}

html body.insight-members-meetings-page .meeting-show-all{
  margin:12px 0 0!important;
}

html body.insight-members-meetings-page .meeting-example-list{
  margin:0!important;
}

html body.insight-members-meetings-page .account_action.insight_mmbr{
  width:100%!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

html body.insight-members-meetings-page .meeting-empty-state{
  min-height:140px!important;
}

html body.account-settings-page .soundboard-hero.account-settings-hero{
  min-height:0!important;
  grid-template-columns:58px minmax(0,1fr) auto!important;
  align-items:center!important;
  padding:22px!important;
  gap:18px!important;
}

html body.account-settings-page .account-avatar-button{
  width:auto!important;
  min-width:0!important;
  grid-template-columns:64px auto!important;
  align-items:center!important;
  justify-items:start!important;
  gap:12px!important;
  padding:7px 14px 7px 7px!important;
  border:1px solid var(--sb-border)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.045)!important;
}

html body.account-settings-page .account-avatar-button img{
  width:64px!important;
  height:64px!important;
  border-radius:18px!important;
}

html body.account-settings-page .account-avatar-button span{
  color:#dce9ed!important;
  font-size:13px!important;
  white-space:nowrap!important;
}

html body.account-settings-page .account-bank-status{
  min-height:96px!important;
  display:grid!important;
  grid-template-columns:14px minmax(0,1fr)!important;
  align-items:start!important;
  gap:12px!important;
  padding:18px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:20px!important;
  background:rgba(3,12,13,.52)!important;
}

html body.account-settings-page .account-bank-status-mark{
  width:12px!important;
  height:12px!important;
  margin-top:4px!important;
  border-radius:999px!important;
  background:#9aa7aa!important;
  box-shadow:0 0 0 4px rgba(154,167,170,.10)!important;
}

html body.account-settings-page .account-bank-status.is-connected .account-bank-status-mark{
  background:#35d6ee!important;
  box-shadow:0 0 0 4px rgba(53,214,238,.12)!important;
}

html body.account-settings-page .account-bank-status strong{
  display:block!important;
  margin:0 0 6px!important;
  color:#f4f7ff!important;
  font-size:16px!important;
  line-height:1.25!important;
}

html body.account-settings-page .account-bank-status p{
  margin:0!important;
  color:var(--sb-text-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}

html body.account-settings-page .account-bank-action{
  width:100%!important;
  min-height:52px!important;
  margin:16px 0 0!important;
  padding:14px 20px!important;
  border:0!important;
  border-radius:17px!important;
  color:#031114!important;
  background:linear-gradient(135deg,#35d6ee,#00bcd4)!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:950!important;
  letter-spacing:.025em!important;
  box-shadow:0 14px 30px rgba(0,188,212,.18)!important;
}

html body.account-settings-page .account-bank-action:hover,
html body.account-settings-page .account-bank-action:focus-visible{
  filter:brightness(1.08)!important;
}

@media(max-width:900px){
  html body.insight-members-page .meeting_dtl{
    grid-template-columns:1fr!important;
  }

  html body.insight-members-meetings-page .meeting-record-browser{
    grid-template-columns:1fr!important;
  }

  html body.insight-members-meetings-page .account_action.insight_mmbr{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:680px){
  html body.account-settings-page .soundboard-hero.account-settings-hero{
    grid-template-columns:50px minmax(0,1fr)!important;
    padding:16px!important;
    gap:13px!important;
  }

  html body.account-settings-page .account-avatar-button{
    width:max-content!important;
    max-width:100%!important;
    grid-column:2 / -1!important;
    justify-self:start!important;
    grid-template-columns:40px auto!important;
    gap:9px!important;
    min-height:50px!important;
    margin-top:0!important;
    padding:5px 11px 5px 5px!important;
    border-radius:16px!important;
  }

  html body.account-settings-page .account-avatar-button img{
    width:40px!important;
    height:40px!important;
    border-radius:11px!important;
  }

  html body.account-settings-page .account-avatar-button span{
    font-size:12px!important;
  }
}

@media(max-width:520px){
  html body.insight-members-page .meeting_box{
    grid-template-columns:54px minmax(0,1fr) 38px!important;
    gap:10px!important;
    padding:12px!important;
  }

  html body.insight-members-page .left_image,
  html body.insight-members-page .left_image span,
  html body.insight-members-page .left_image img{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }

  html body.insight-members-page .meeting_name p{
    font-size:17px!important;
  }

  html body.insight-members-meetings-page .account_action.insight_mmbr{
    grid-template-columns:1fr!important;
  }

  html body.account-settings-page .soundboard-title{
    font-size:30px!important;
  }

  html body.account-settings-page .account-avatar-button{
    width:max-content!important;
    max-width:100%!important;
  }
}

/* Insights and member navigation uses identical, readable thirds. */
body[class^="insight-members"] .programmes.locked-insight-tabs,
body[class^="member-"] .programmes.locked-profile-tabs{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding:0!important;
}

body[class^="insight-members"] .programmes li,
body[class^="member-"] .programmes li{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

body[class^="insight-members"] .programmes a,
body[class^="member-"] .programmes a{
  width:100%!important;
  min-width:0!important;
  height:58px!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 10px!important;
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
  font-size:13px!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

body[class^="insight-members"] .programmes a img,
body[class^="member-"] .programmes a img{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  display:block!important;
  margin:0!important;
  object-fit:contain!important;
  filter:none!important;
  opacity:1!important;
}

body[class^="insight-members"] .programmes a span,
body[class^="member-"] .programmes a span{
  display:inline!important;
  color:inherit!important;
  font-size:inherit!important;
  white-space:nowrap!important;
}

body[class^="insight-members"] .programmes a.active,
body[class^="member-"] .programmes a.active{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
}

body[class^="insight-members"] .programmes a.active img,
body[class^="member-"] .programmes a.active img{
  filter:brightness(0)!important;
}

body.insight-members-page .wrapper.homepage.insight_analytics,
body.insight-members-meetings-page .wrapper.homepage.insight_analytics,
body.insight-members-insights-page .wrapper.homepage.insight_analytics{
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:1120px!important;
}

body.insight-members-page .account_action.insight_mmbr,
body.insight-members-meetings-page .account_action.insight_mmbr,
body.insight-members-insights-page .account_action.insight_analytics,
body.insight-members-meetings-page .meeting-search-card,
body.insight-members-page .member-search-card{
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

@media(max-width:560px){
  body[class^="insight-members"] .programmes a,
  body[class^="member-"] .programmes a{
    height:50px!important;
    min-height:50px!important;
    gap:5px!important;
    padding:0 5px!important;
    font-size:10px!important;
  }

  body[class^="insight-members"] .programmes a img,
  body[class^="member-"] .programmes a img{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }
}

/* Teammate profile and workflow surfaces. */
body.teammate-profile-page .dash_box,
body.teammate-profile-page .dash_box.blue_bg,
body.teammate-profile-page .dash_box.purple_bg,
body.teammate-profile-page .user_info_box,
body.teammate-workflow-page .summary_card,
body.teammate-workflow-page .workflow-filters,
body.teammate-workflow-page .flows a{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

body.teammate-profile-page .user_info_box{
  padding:18px!important;
}

body.teammate-profile-page .user_info_box .photo_name,
body.teammate-profile-page .user_info_box .user_info_dtl{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}
div#calendar,
div#calendar1,
div#calendar2 {
  display: flex;
  width: 100%;
  margin: 30px 0px 0px;
  flex-direction: column;
}
a.ui-datepicker-prev {
  position: absolute;
  left: 0px;
}
a.ui-datepicker-next {
  position: absolute;
  right: 0px;
}
.ui-datepicker-title span.ui-datepicker-month {
  font-weight: 500;
  font-size: 18px;
}
.ui-datepicker-title span.ui-datepicker-year {
  font-size: 18px;
}
a.ui-datepicker-prev span.ui-icon {
  width: 24px;
  height: 24px;
}
a.ui-datepicker-prev span.ui-icon {
  width: 24px;
  height: 24px;
  display: block;
  overflow: hidden;
  text-indent: 24px;
  border-radius: 10px;
  border: 1px solid #E2E2EA;
  background: url('../images/month_previous_icon.png') no-repeat center;
}
a.ui-datepicker-next span.ui-icon {
  width: 24px;
  height: 24px;
  display: block;
  overflow: hidden;
  text-indent: 24px;
  border-radius: 10px;
  border: 1px solid #E2E2EA;
  background: url('../images/month_next_icon.png') no-repeat center;
}
#calendar .ui-datepicker-header a,
#calendar1 .ui-datepicker-header a,
#calendar2 .ui-datepicker-header a {
  cursor: pointer;
  text-decoration: none !important;
}
table.ui-datepicker-calendar {
  width: 100%;
}
table.ui-datepicker-calendar thead th {
  color: #92929D;
  padding: 8px;
  text-align: center;
}
table.ui-datepicker-calendar tbody td {
  text-align: center;  
}
table.ui-datepicker-calendar tbody td a,
table.ui-datepicker-calendar tbody td span {
  display: block;
  padding: 8px;
  color: #171725;
  text-decoration: none !important;
}
table.ui-datepicker-calendar tbody td.ui-datepicker-other-month span {
  display: none;
}
table.ui-datepicker-calendar tbody td a.ui-state-default.ui-state-highlight {
  color: #00BCD4;
  font-weight: 500;
}
table.ui-datepicker-calendar tbody td a.ui-state-default.ui-state-active {
  background: #00BCD4;
  font-weight: 500;
  color: #fff;
  border-radius: 10px;
}
table.ui-datepicker-calendar tbody td a:hover {
  color: #00BCD4;
  font-weight: 500;
}

/* === Fixed footer controller (soundboard-footer-lock.css) === */
/* SOUNDBOARD FOOTER CONTROLLER LOCK */

:root{
  --sb-footer-bg: rgba(2,9,10, .92);
  --sb-footer-border: rgba(255,255,255,.13);
  --sb-footer-active: rgba(0,188,212,.20);
  --sb-footer-icon: #ffffff;
  --sb-footer-cyan: #00bcd4;
}

.sb-footer-controller{
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  width: min(420px, calc(100vw - 44px)) !important;
  height: 70px !important;
  padding: 9px 10px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid var(--sb-footer-border) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(7,20,22,.86), rgba(2,9,10,.95)),
    var(--sb-footer-bg) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;
}

.sb-footer-controller a,
.sb-footer-controller .sb-footer-item{
  width: 100% !important;
  height: 52px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  color: var(--sb-footer-icon) !important;
  text-decoration: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.sb-footer-controller a.active,
.sb-footer-controller .sb-footer-item.active{
  background: var(--sb-footer-active) !important;
  color: var(--sb-footer-cyan) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.sb-footer-controller svg{
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  flex: 0 0 24px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.35 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.sb-footer-controller img{
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  opacity: .96 !important;
}

.sb-footer-controller a.active img,
.sb-footer-controller .sb-footer-item.active img{
  filter: none !important;
}

body{
  padding-bottom: 106px !important;
}

/* Kill old footer controllers without deleting page content */
.bottom_tab_section,
.bottom_menu,
.bottom-menu,
.bottom_nav,
.bottom-nav,
.bottom_navbar,
.bottom-navbar,
.footer-controller,
.footer_controller,
.footer-nav,
.footer_nav,
.mobile-footer,
.mobile_footer,
.tabbar,
.tab-bar,
.tab_bar,
.profile_pages:not(.sb-footer-controller){
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 680px){
  .sb-footer-controller{
    width: calc(100vw - 44px) !important;
    height: 70px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    border-radius: 24px !important;
  }

  .sb-footer-controller a,
  .sb-footer-controller .sb-footer-item{
    height: 52px !important;
    border-radius: 18px !important;
  }

  .sb-footer-controller svg,
  .sb-footer-controller img{
    width: 24px !important;
    height: 24px !important;
  }
}
/* === Shared utility and nested PHP page shell === */
body.sb-utility-page{
  min-height:100vh!important;
  margin:0!important;
  padding:0 0 112px!important;
  color:var(--sb-text)!important;
  background:radial-gradient(circle at 12% 0,rgba(0,188,212,.12),transparent 30rem),var(--sb-bg)!important;
  font-family:"nexa_regularregular",sans-serif!important;
}

.sb-utility-shell{
  width:min(1120px,calc(100vw - 48px));
  margin:0 auto;
  padding:24px 0 40px;
}

.sb-utility-shell-narrow{width:min(680px,calc(100vw - 48px));}

.sb-utility-hero{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 18px;
  padding:24px;
  border:1px solid var(--sb-border);
  border-radius:28px;
  background:var(--sb-card);
}

.sb-utility-hero>a{
  width:52px;
  height:52px;
  display:grid;
  flex:0 0 52px;
  place-items:center;
  border:1px solid var(--sb-border);
  border-radius:18px;
  color:var(--sb-text)!important;
  background:var(--sb-card-2);
  font-size:34px;
  line-height:1;
  text-decoration:none!important;
}

.sb-utility-hero p{
  margin:0 0 5px!important;
  color:var(--sb-accent-bright)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.sb-utility-hero h1{
  margin:0!important;
  color:var(--sb-text)!important;
  font-size:clamp(28px,4vw,44px)!important;
  line-height:1.05!important;
}

.sb-utility-hero span{display:block;margin-top:7px;color:var(--sb-text-muted);}

.sb-table-card,
.sb-form-card{
  overflow:auto;
  padding:22px;
  border:1px solid var(--sb-border);
  border-radius:26px;
  background:var(--sb-card);
}

body.sb-utility-page table,
.sb-data-table{
  width:100%!important;
  margin:0!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
  color:var(--sb-text)!important;
  background:transparent!important;
}

body.sb-utility-page th,
body.sb-utility-page td{
  padding:13px 14px!important;
  border:0!important;
  color:var(--sb-text)!important;
  background:var(--sb-card-2)!important;
  text-align:left!important;
}

body.sb-utility-page th{color:var(--sb-text-muted)!important;font-size:12px;text-transform:uppercase;letter-spacing:.08em;}
body.sb-utility-page tr>*:first-child{border-radius:14px 0 0 14px;}
body.sb-utility-page tr>*:last-child{border-radius:0 14px 14px 0;}
.sb-empty-row{text-align:center!important;color:var(--sb-text-muted)!important;}

.sb-form-card label{color:var(--sb-text-muted);font-weight:800;}
.sb-form-card .form-control{
  min-height:48px;
  border:1px solid var(--sb-border);
  border-radius:14px;
  color:var(--sb-text);
  background:var(--sb-card-2);
}
.sb-form-card .form-control:focus{border-color:var(--sb-accent);box-shadow:0 0 0 3px rgba(0,188,212,.13);color:var(--sb-text);background:var(--sb-card-2);}
.sb-form-card .btn-primary,
.sb-inline-form button{border:0;border-radius:999px;color:#001014;background:linear-gradient(135deg,var(--sb-accent-bright),var(--sb-accent));font-weight:900;}
.sb-inline-form{display:inline-block;margin:2px 8px 2px 0;}
.sb-inline-form button{padding:8px 14px;cursor:pointer;}

@media(max-width:680px){
  .sb-utility-shell,.sb-utility-shell-narrow{width:min(100% - 24px,1120px);padding-top:12px;}
  .sb-utility-hero{padding:18px;border-radius:22px;}
  .sb-table-card,.sb-form-card{padding:14px;border-radius:22px;}
}

/* === 2026 black-and-teal consistency pass === */
:root{
  --page-bg:var(--sb-bg)!important;
  --page-panel:var(--sb-surface-solid)!important;
  --page-panel-2:#0a1b1d!important;
  --page-text:var(--sb-text)!important;
  --page-muted:var(--sb-text-muted)!important;
  --page-border:var(--sb-border)!important;
  --page-border-strong:var(--sb-border-strong)!important;
  --page-accent:var(--sb-accent-bright)!important;
  --page-accent-2:var(--sb-accent)!important;
}

body.activity-log-page .soundboard-hero,
body.activity-log-page .activity-stat,
body.activity-log-page .activity-table-card,
body.all-messages-page .soundboard-hero,
body.all-messages-page .message-tools,
body.all-messages-page .messages-list,
body.create-workorder-page .soundboard-hero,
body.create-workorder-page .form-card,
body.finances-page .soundboard-hero,
body.finances-page .summary-card,
body.finances-page .payout-card,
body.finances-page .empty-state,
body.admin-controls-page .soundboard-hero,
body.admin-controls-page .admin-card,
body.admin-add-teammates-page .soundboard-hero,
body.admin-add-teammates-page .form-card,
body.admin-ledger-page .soundboard-hero,
body.admin-ledger-page .metric-card,
body.admin-ledger-page .table-card,
body.admin-payroll-page .payroll-hero,
body.admin-payroll-page .payroll-section,
body.admin-payroll-page .payroll-item,
body.admin-refund-page .soundboard-hero,
body.admin-refund-page .refund-card,
body.admin-controls-reports-page .soundboard-hero,
body.admin-controls-reports-page .report-card,
body.admin-workorder-page .soundboard-hero,
body.admin-workorder-page .workorder_detail{
  background:var(--sb-surface)!important;
}

body.all-messages-page .chat-card,
body.create-workorder-page .input-shell input,
body.create-workorder-page .team-member,
body.create-workorder-page .date-button,
body.create-workorder-page .calendar-day,
body.finances-page .payout-card:hover,
body.admin-add-teammates-page .field-input,
body.admin-ledger-page .expense-form input,
body.admin-ledger-page .expense-form select,
body.admin-payroll-page .form-control,
body.admin-refund-page .form-control{
  background:#0a1b1d!important;
}

body.activity-log-page .activity-button,
body.all-messages-page .filter-btn.active,
body.all-messages-page .filter-btn:hover,
body.create-workorder-page .ask-tag,
body.create-workorder-page .chip:hover,
body.create-workorder-page .chip.selected,
body.create-workorder-page .date-button:hover,
body.create-workorder-page .date-button.active,
body.create-workorder-page .submit-button,
body.finances-page .filter-btn.active,
body.finances-page .filter-btn:hover,
.admin-tabs a:hover,
.admin-tabs a.active,
body.admin-controls-page .admin-card:hover,
body.admin-controls-page .admin-card:focus-visible{
  background:linear-gradient(135deg,var(--sb-accent-bright),var(--sb-accent))!important;
}

body.create-workorder-page .input-shell img,
body.create-workorder-page .form-label-row img{
  filter:brightness(0) invert(1)!important;
  opacity:.92!important;
}

body.account-settings-page .account-field input,
body.account-settings-page .account-field input:focus,
body.account-settings-page .account-field input[readonly]{
  background:rgba(255,255,255,.045)!important;
  border-color:var(--sb-border)!important;
  color:var(--sb-text)!important;
}

.programmes.locked-insight-tabs{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}

.programmes.locked-insight-tabs>li,
.programmes.locked-insight-tabs>li>a{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

@media(max-width:760px){
  .admin-tabs,
  body.admin-controls-page .admin-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:7px!important;
  }

  .admin-tabs a,
  body.admin-controls-page .admin-card{
    min-height:58px!important;
    height:58px!important;
    border-radius:14px!important;
  }

  body.admin-ledger-page .metric-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  body.admin-workorder-page .filter_buttons,
  body.admin-controls-reports-page .report-status-row{
    width:100%!important;
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(0,1fr)!important;
    gap:6px!important;
  }

  body.admin-workorder-page .filter_buttons .btn,
  body.admin-controls-reports-page .report-status-row a{
    min-width:0!important;
    width:100%!important;
    padding:9px 3px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
}

/* === Focused page corrections: chat, admin, finance, teammate profile === */
body.all-messages-page .message-search,
body.all-messages-page .message-search:focus{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

body.chat-workorder-page,
body.teammate-chat-page{
  padding-bottom:0!important;
  background:
    radial-gradient(circle at 12% 0,rgba(0,188,212,.12),transparent 30rem),
    var(--sb-bg)!important;
}

body.chat-workorder-page .chat-topbar,
body.chat-workorder-page .chat-panel,
body.teammate-chat-page .top_section,
body.teammate-chat-page .chat_section{
  background:var(--sb-surface)!important;
  border-color:var(--sb-border)!important;
}

body.chat-workorder-page .chat_footer,
body.teammate-chat-page .chat_footer{
  bottom:max(12px,env(safe-area-inset-bottom))!important;
  background:rgba(7,20,22,.96)!important;
  border-color:var(--sb-border)!important;
}

body.chat-workorder-page #chatInput,
body.chat-workorder-page .chat_input_wrapper textarea,
body.teammate-chat-page #chatInput,
body.teammate-chat-page .chat_input_wrapper input{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

body.chat-workorder-page #sendMessageIcon,
body.chat-workorder-page .send-button,
body.teammate-chat-page #sendMessageIcon{
  background:linear-gradient(135deg,var(--sb-accent-bright),var(--sb-accent))!important;
}

body.chat-workorder-page .chat-clean-content,
body.chat-workorder-page .chat-clean-select,
body.teammate-chat-page .modal-content{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
}

body.admin-payroll-page .summary-card,
body.admin-refund-page .summary-card,
body.admin-ledger-page .summary-card,
body.admin-workorder-page .filter_buttons,
body.admin-controls-reports-page .reports-filter,
body.admin-controls-reports-page .report-history-inline,
body.admin-add-teammates-page .field-block,
body.admin-add-teammates-page .form-card{
  background:var(--sb-surface)!important;
  border-color:var(--sb-border)!important;
}

body.admin-add-teammates-page input,
body.admin-add-teammates-page select,
body.admin-add-teammates-page textarea,
body.admin-controls-reports-page .report-search-row input,
body.admin-ledger-page input,
body.admin-ledger-page select,
body.admin-payroll-page input,
body.admin-payroll-page select{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

body.teammate-profile-page{
  min-height:100vh!important;
  color:var(--sb-text)!important;
  background:radial-gradient(circle at 12% 0,rgba(0,188,212,.12),transparent 30rem),var(--sb-bg)!important;
}

body.teammate-profile-page .wrapper.homepage.account_page{
  width:min(900px,calc(100vw - 40px))!important;
  max-width:900px!important;
  margin:0 auto!important;
  padding:22px 0 112px!important;
  background:transparent!important;
}

body.teammate-profile-page .top_section{
  min-height:0!important;
  margin:0 0 16px!important;
  padding:22px!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 84px!important;
  align-items:center!important;
  gap:16px!important;
  color:var(--sb-text)!important;
  background:var(--sb-surface)!important;
  border:1px solid var(--sb-border)!important;
  border-radius:26px!important;
}

body.teammate-profile-page .top_section .icons{
  position:static!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

body.teammate-profile-page .top_section .icons a{
  width:52px!important;
  height:52px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--sb-border)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.06)!important;
}

body.teammate-profile-page .top_section h3{
  margin:0!important;
  color:var(--sb-text)!important;
  font-size:clamp(28px,5vw,42px)!important;
  line-height:1.05!important;
}

body.teammate-profile-page .user_profile_images,
body.teammate-profile-page .user_profile_images img{
  position:static!important;
  width:76px!important;
  height:76px!important;
  margin:0!important;
  border-radius:22px!important;
  object-fit:cover!important;
}

body.teammate-profile-page .dashboard_items .row{
  margin:0 0 12px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}

body.teammate-profile-page .dashboard_items .row>div{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  flex:none!important;
}

body.teammate-profile-page .dash_box,
body.teammate-profile-page .dash_box.blue_bg,
body.teammate-profile-page .dash_box.purple_bg{
  min-height:128px!important;
  height:100%!important;
  color:var(--sb-text)!important;
  background:var(--sb-surface)!important;
  border:1px solid var(--sb-border)!important;
  border-radius:24px!important;
  box-shadow:none!important;
}

body.teammate-profile-page .dash_box a,
body.teammate-profile-page .dash_box p{
  color:var(--sb-text)!important;
}

body.teammate-profile-page .dash_box img{
  filter:brightness(0) invert(1)!important;
}

body.teammate-profile-page .meeting_modal .modal-content,
body.teammate-profile-page .user_info_box{
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:24px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.42)!important;
}

@media(max-width:680px){
  body.finances-page .finance-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  body.finances-page .filter-btn{
    min-width:0!important;
    padding:8px 3px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }

  body.teammate-profile-page .wrapper.homepage.account_page{
    width:calc(100vw - 24px)!important;
  }

  body.teammate-profile-page .top_section{
    grid-template-columns:48px minmax(0,1fr) 62px!important;
    padding:16px!important;
  }

  body.teammate-profile-page .user_profile_images,
  body.teammate-profile-page .user_profile_images img{
    width:60px!important;
    height:60px!important;
  }
}

/* Final cascade enforcement for authenticated page families. */
html body.chat-workorder-page .message.you .message_bubble,
html body.teammate-chat-page .message.you .message_bubble{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
  border-radius:17px 17px 5px 17px!important;
  box-shadow:none!important;
}

html body.chat-workorder-page .message.them .message_bubble,
html body.teammate-chat-page .message.them .message_bubble{
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border-strong)!important;
  border-radius:17px 17px 17px 5px!important;
  box-shadow:none!important;
}

html body.chat-workorder-page .message .message_bubble p,
html body.chat-workorder-page .message .message_bubble b,
html body.chat-workorder-page .message .message_bubble .timestamp,
html body.teammate-chat-page .message .message_bubble p,
html body.teammate-chat-page .message .message_bubble b,
html body.teammate-chat-page .message .message_bubble .timestamp{
  color:inherit!important;
}

html body.chat-workorder-page .chat_footer #sendMessageIcon,
html body.teammate-chat-page .chat_footer #sendMessageIcon{
  background:var(--sb-accent-bright)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 8px 24px rgba(0,188,212,.28)!important;
}

html body.chat-workorder-page .chat_footer #sendMessageIcon img,
html body.teammate-chat-page .chat_footer #sendMessageIcon img{
  filter:brightness(0)!important;
  opacity:1!important;
}

html body.chat-workorder-page .chat-clean-content{
  position:relative!important;
  padding:22px!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  border-radius:22px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.46)!important;
}

html body.chat-workorder-page .chat-clean-head{
  position:relative!important;
  padding:0 42px 14px 0!important;
  margin:0 0 12px!important;
  text-align:left!important;
}

html body.chat-workorder-page .chat-clean-modal [data-dismiss="modal"].chat-clean-close{
  position:absolute!important;
  top:-4px!important;
  right:0!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  color:var(--sb-text)!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid var(--sb-border)!important;
  border-radius:12px!important;
  font-size:24px!important;
}

html body.chat-workorder-page .chat-clean-export{
  width:auto!important;
  height:40px!important;
  display:inline-flex!important;
  margin:0 0 16px!important;
  padding:0 14px!important;
  background:transparent!important;
  border-color:var(--sb-border-strong)!important;
  border-radius:12px!important;
  font-size:12px!important;
}

html body.chat-workorder-page .chat-clean-add{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  padding-top:14px!important;
  border-top:1px solid var(--sb-border)!important;
}

html body.chat-workorder-page .chat-clean-add label,
html body.chat-workorder-page #addTeammateStatus{
  grid-column:1 / -1!important;
}

html body.chat-workorder-page .chat-clean-add-btn,
html body.chat-workorder-page #addTeammateBtn.chat-clean-add-btn{
  width:auto!important;
  height:46px!important;
  padding:0 16px!important;
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-radius:12px!important;
}

html body[class*="admin-"] .admin-tabs a{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

html body[class*="admin-"] .admin-tabs a svg{
  color:var(--sb-accent-bright)!important;
}

html body[class*="admin-"] .admin-tabs a:hover,
html body[class*="admin-"] .admin-tabs a.active{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
  transform:none!important;
}

html body[class*="admin-"] .admin-tabs a:hover svg,
html body[class*="admin-"] .admin-tabs a.active svg{
  color:#021012!important;
}

html body.admin-workorder-page .workorder_detail,
html body.admin-workorder-page .workorder_box,
html body.admin-workorder-page .messages_list,
html body.admin-workorder-page .chat_box,
html body.admin-workorder-page .no_workorder,
html body.admin-refund-page .refund-card,
html body.admin-refund-page .empty-state,
html body.admin-payroll-page .summary-card,
html body.admin-payroll-page .payroll-section,
html body.admin-payroll-page .payroll-item,
html body.admin-ledger-page .metric-card,
html body.admin-ledger-page .table-card,
html body.admin-controls-reports-page .report-card{
  color:var(--sb-text)!important;
  background:#071416!important;
  border-color:var(--sb-border)!important;
  box-shadow:none!important;
}

html body.admin-workorder-page input,
html body.admin-workorder-page select{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

html body[class^="insight-members"] .programmes.locked-insight-tabs,
html body[class^="member-"] .programmes.locked-profile-tabs{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}

html body[class^="insight-members"] .programmes a,
html body[class^="member-"] .programmes a{
  width:100%!important;
  min-width:0!important;
  height:58px!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 10px!important;
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
  font-size:13px!important;
  box-shadow:none!important;
}

html body[class^="insight-members"] .programmes a span,
html body[class^="member-"] .programmes a span{
  display:inline!important;
  color:inherit!important;
  font-size:inherit!important;
}

html body[class^="insight-members"] .programmes a img,
html body[class^="member-"] .programmes a img{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  margin:0!important;
  filter:none!important;
  opacity:1!important;
}

html body[class^="insight-members"] .programmes a.active,
html body[class^="member-"] .programmes a.active{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
}

html body[class^="insight-members"] .programmes a.active img,
html body[class^="member-"] .programmes a.active img{
  filter:brightness(0)!important;
}

@media(max-width:720px){
  html body.admin-payroll-page .payroll-hero,
  html body.admin-add-teammates-page .soundboard-hero,
  html body.admin-ledger-page .soundboard-hero,
  html body.admin-refund-page .soundboard-hero,
  html body.admin-controls-reports-page .soundboard-hero,
  html body.admin-workorder-page .soundboard-hero{
    grid-template-columns:52px minmax(0,1fr)!important;
  }

  html body.finances-page .finance-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  html body.finances-page .finance-summary .summary-card{
    min-width:0!important;
    padding:11px 8px!important;
    border-radius:15px!important;
  }

  html body.finances-page .finance-summary .summary-label{
    font-size:9px!important;
    letter-spacing:.04em!important;
    white-space:nowrap!important;
  }

  html body.finances-page .finance-summary .summary-value{
    margin-top:5px!important;
    font-size:14px!important;
    white-space:nowrap!important;
  }
}

/* === 2026-07-14 interaction cleanup === */
html body.chat-workorder-page .messages_area,
html body.teammate-chat-page .messages_area{
  padding-bottom:110px!important;
  scroll-padding-bottom:110px!important;
  overscroll-behavior:contain!important;
}

html body.chat-workorder-page #sendMessageIcon svg,
html body.teammate-chat-page #sendMessageIcon svg{
  width:23px!important;
  height:23px!important;
  fill:none!important;
  stroke:#021012!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body.teammate-chat-page #sendMessageIcon{
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
}

html body.chat-workorder-page .chat-clean-add[hidden],
html body.teammate-chat-page .add-teammate-form[hidden]{
  display:none!important;
}

html body.chat-workorder-page .chat-add-person,
html body.teammate-chat-page .chat-add-person{
  width:100%!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  margin:0 0 12px!important;
  padding:0 14px!important;
  color:#fff!important;
  background:#0a1b1d!important;
  border:1px solid var(--sb-border)!important;
  border-radius:14px!important;
  font-weight:800!important;
  text-align:left!important;
}

html body.chat-workorder-page .chat-add-person span,
html body.teammate-chat-page .chat-add-person span{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-radius:10px!important;
  font-size:20px!important;
}

html body.chat-workorder-page .chat-add-person.active,
html body.teammate-chat-page .chat-add-person.active{
  border-color:var(--sb-accent-bright)!important;
}

html body.chat-workorder-page .chat-clean-export{
  width:100%!important;
  margin:14px 0 0!important;
  justify-content:center!important;
}

html body.teammate-chat-page #chat_dtl .modal-content{
  color:#fff!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:22px!important;
}

html body.teammate-chat-page #chat_dtl .form-heading b,
html body.teammate-chat-page #chat_dtl .form-heading h4,
html body.teammate-chat-page #chat_dtl .person_dtl b,
html body.teammate-chat-page #chat_dtl label{
  color:#fff!important;
}

html body.teammate-chat-page #chat_dtl .btns_grp{
  display:flex!important;
  gap:10px!important;
  padding:14px!important;
}

html body.teammate-chat-page #chat_dtl .add-teammate-form{
  width:100%!important;
  padding:12px!important;
  color:#fff!important;
  background:#0a1b1d!important;
  border:1px solid var(--sb-border)!important;
  border-radius:14px!important;
}

html body.teammate-chat-page #chat_dtl .wrap_btn{
  order:3!important;
  min-height:44px!important;
  margin:0!important;
  color:var(--sb-accent-bright)!important;
  background:transparent!important;
  border:1px solid var(--sb-border-strong)!important;
  border-radius:12px!important;
}

html .left_side_menu a[href$="admin-controls.php"]{
  display:none!important;
}

html body.admin-controls-reports-page .report-detail,
html body.admin-controls-reports-page .report-history-inline,
html body.admin-refund-page .refund-reason{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border-color:var(--sb-border)!important;
}

html body.admin-payroll-page .payroll-example{
  opacity:.84!important;
  border-style:dashed!important;
}

html body.admin-payroll-page .payroll-example .item-title span{
  color:var(--sb-accent-bright)!important;
  font-size:11px!important;
}

html body.admin-workorder-page .workorder_detail{
  margin-bottom:16px!important;
  padding:16px!important;
}

html body.admin-workorder-page .workorder_box>.d-flex.flex-column{
  gap:12px!important;
}

@media(max-width:720px){
  html body.admin-payroll-page .summary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }

  html body.admin-payroll-page .summary-card{
    min-width:0!important;
    padding:11px 8px!important;
    border-radius:15px!important;
  }

  html body.admin-payroll-page .summary-label{
    font-size:9px!important;
    white-space:nowrap!important;
  }

  html body.admin-payroll-page .summary-value{
    font-size:14px!important;
    white-space:nowrap!important;
  }

  html body.admin-workorder-page .workorder_detail .d-flex.gap-4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  html body.admin-workorder-page .workorder_detail .d-flex.gap-4>label{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
}

html body[class^="insight-members"] .programmes a.active,
html body[class^="member-"] .programmes a.active{
  color:#fff!important;
  background:var(--sb-accent)!important;
}

html body[class^="insight-members"] .programmes a.active img,
html body[class^="member-"] .programmes a.active img{
  filter:brightness(0) invert(1)!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

html body[class^="member-"] .programmes a{
  color:#fff!important;
}

html body.insight-members-meetings-page .meeting-example-list.has-selection .meeting-example-card:not(.active){
  display:none!important;
}

html body.insight-members-meetings-page .meeting-example-list.has-selection{
  grid-template-columns:minmax(0,1fr)!important;
}

html body.insight-members-meetings-page .meeting-show-all{
  display:inline-flex!important;
  margin:0 0 14px!important;
  color:var(--sb-accent-bright)!important;
  font-weight:800!important;
}

html body.insight-members-meetings-page .account_action.insight_mmbr{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.insight-members-meetings-page .account_action.insight_mmbr .action{
  min-height:82px!important;
  padding:13px!important;
}

html body.member-profile-account-page .profile_account_action{
  grid-column:1 / -1!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}

html body.member-profile-account-page .profile_account_action a{
  min-width:0!important;
  margin:0!important;
  padding:11px 5px!important;
  text-align:center!important;
}

html body.teammate-workflow-page .summary_card{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.teammate-workflow-page .summary_card .row_pair{
  display:contents!important;
}

html body.teammate-workflow-page .summary_card .pair,
html body.teammate-workflow-page .flows a{
  box-shadow:none!important;
  filter:none!important;
}

html body.teammate-profile-page .user_info_box .photo_name img{
  width:112px!important;
  height:112px!important;
  object-fit:cover!important;
  border-radius:28px!important;
}

@media(max-width:560px){
  html body[class^="member-"] .programmes a{
    gap:3px!important;
    padding:0 3px!important;
    font-size:9px!important;
  }

  html body.insight-members-meetings-page .account_action.insight_mmbr{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* === 2026-07-14 in-flow chat composer and voice dictation === */
html body.chat-workorder-page{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden!important;
}

html body.chat-workorder-page .chat-shell{
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:1120px!important;
  height:100dvh!important;
  min-height:0!important;
  padding:14px 0!important;
  grid-template-rows:auto minmax(0,1fr)!important;
}

html body.chat-workorder-page .chat-panel{
  min-height:0!important;
  grid-template-rows:minmax(0,1fr) auto auto auto!important;
}

html body.chat-workorder-page .messages_area,
html body.teammate-chat-page .messages_area{
  min-height:0!important;
  padding-bottom:18px!important;
  scroll-padding-bottom:18px!important;
}

html body.chat-workorder-page .chat_footer{
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  z-index:auto!important;
  width:100%!important;
  min-height:72px!important;
  grid-template-columns:48px minmax(0,1fr) 48px 48px!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 12px!important;
  background:#071416!important;
  border:0!important;
  border-top:1px solid var(--sb-border)!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

html body.chat-workorder-page .chat_footer .attach-button,
html body.chat-workorder-page .chat_footer .voice-button,
html body.chat-workorder-page .chat_footer #sendMessageIcon{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  padding:0!important;
  margin:0!important;
  position:static!important;
  transform:none!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
}

html body.chat-workorder-page .chat_footer #chatInput{
  height:48px!important;
  min-height:48px!important;
}

html body.chat-workorder-page .voice-button,
html body.teammate-chat-page .voice-button{
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border:1px solid var(--sb-border)!important;
  cursor:pointer!important;
}

html body.chat-workorder-page .voice-button svg,
html body.teammate-chat-page .voice-button svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body.chat-workorder-page .voice-button.listening,
html body.teammate-chat-page .voice-button.listening{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-color:var(--sb-accent-bright)!important;
  box-shadow:0 0 0 4px rgba(0,229,255,.16)!important;
}

html body.chat-workorder-page .voice-button:disabled,
html body.teammate-chat-page .voice-button:disabled{
  opacity:.38!important;
  cursor:not-allowed!important;
}

html body.teammate-chat-page .chat_footer{
  grid-template-columns:42px minmax(0,1fr) 42px 42px!important;
}

html body.teammate-chat-page #sendMessageIcon{
  filter:none!important;
}

html body.teammate-chat-page .voice-button{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
}

html body.chat-workorder-page .chat-clean-participants{
  max-height:250px!important;
  overflow-y:auto!important;
  padding:0 4px 0 0!important;
}

html body.chat-workorder-page .chat-clean-participants .chat-add-person{
  margin:8px 0 0!important;
}

html body.chat-workorder-page #addTeammatePanel,
html body.teammate-chat-page #addTeammatePanel{
  background:#071416!important;
  border-color:var(--sb-border)!important;
}

html body.chat-workorder-page #availableTeammates,
html body.teammate-chat-page #availableTeammates{
  color:#fff!important;
  background:#071416!important;
  border-color:var(--sb-border-strong)!important;
}

html body.chat-workorder-page #availableTeammates option,
html body.teammate-chat-page #availableTeammates option{
  color:#fff!important;
  background:#071416!important;
}

html body.chat-workorder-page #addTeammateBtn,
html body.teammate-chat-page #addTeammateBtn{
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border:0!important;
}

html body.teammate-chat-page #chat_dtl .chat_people_list{
  max-height:260px!important;
  overflow-y:auto!important;
  padding:12px 14px!important;
  background:#071416!important;
}

html body.teammate-chat-page #chat_dtl .chat-add-person{
  margin:10px 0 0!important;
}

@media(max-width:620px){
  html body.chat-workorder-page .chat-shell{
    width:calc(100vw - 20px)!important;
    padding:10px 0!important;
  }

  html body.chat-workorder-page .chat_footer{
    grid-template-columns:42px minmax(0,1fr) 42px 42px!important;
    padding:9px!important;
    gap:6px!important;
  }

  html body.chat-workorder-page .chat_footer .attach-button,
  html body.chat-workorder-page .chat_footer .voice-button,
  html body.chat-workorder-page .chat_footer #sendMessageIcon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
  }

  html body.chat-workorder-page .chat_footer #chatInput{
    height:42px!important;
    min-height:42px!important;
    padding:11px 12px!important;
  }
}

/* Admin accounting and work-order card cleanup */
html body.admin-workorder-page .workorder-fields{
  display:grid!important;
  gap:14px!important;
  margin-top:14px!important;
}

html body.admin-workorder-page .workorder-metrics{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.admin-workorder-page .workorder-metrics label,
html body.admin-workorder-page .workorder-controls label,
html body.admin-workorder-page .workorder-metrics>div,
html body.admin-workorder-page .workorder-controls>div{
  min-width:0!important;
  display:grid!important;
  gap:6px!important;
  margin:0!important;
}

html body.admin-workorder-page .workorder-metrics span,
html body.admin-workorder-page .workorder-controls span{
  color:var(--sb-muted)!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}

html body.admin-workorder-page .workorder-controls{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.admin-workorder-page .workorder-metrics input,
html body.admin-workorder-page .workorder-controls select{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  padding:8px 11px!important;
  margin:0!important;
  font-size:14px!important;
}

html body.admin-workorder-page .title_input{
  width:100%!important;
  margin:12px 0 0!important;
}

html body.admin-workorder-page .workorder-preview{
  border-style:dashed!important;
}

html body.admin-workorder-page .workorder-title-value,
html body.admin-workorder-page .workorder-preview .workorder-metrics>div,
html body.admin-workorder-page .workorder-preview .workorder-controls>div{
  padding:11px 12px!important;
  color:var(--sb-text)!important;
  background:#0a1b1d!important;
  border:1px solid var(--sb-border)!important;
  border-radius:13px!important;
}

html body.admin-workorder-page .workorder-title-value{
  margin:12px 0 14px!important;
}

html .preview-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:0 10px!important;
  color:#021012!important;
  background:var(--sb-accent-bright)!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}

html body.admin-payroll-page .summary-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.admin-payroll-page .payroll-item{
  grid-template-columns:56px minmax(0,1fr) auto!important;
}

html body.admin-controls-reports-page .report-preview{
  border-style:dashed!important;
}

html body.admin-controls-reports-page .report-preview-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding-bottom:14px!important;
}

html body.admin-controls-reports-page .report-preview-head strong,
html body.admin-controls-reports-page .report-preview-head small{
  display:block!important;
}

html body.admin-controls-reports-page .report-preview-head strong{
  color:var(--sb-accent-bright)!important;
}

html body.admin-controls-reports-page .report-preview-head small{
  margin-top:4px!important;
  color:var(--sb-muted)!important;
}

html body.admin-controls-reports-page .report-preview .report-private-body{
  display:block!important;
}

@media(max-width:720px){
  html body.admin-payroll-page .summary-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
  }

  html body.admin-payroll-page .summary-card{
    padding:9px 5px!important;
    border-radius:13px!important;
  }

  html body.admin-payroll-page .summary-label{
    min-height:18px!important;
    margin-bottom:4px!important;
    font-size:7px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }

  html body.admin-payroll-page .summary-value{
    font-size:11px!important;
    white-space:nowrap!important;
  }

  html body.admin-payroll-page .payroll-item{
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:start!important;
    gap:10px!important;
    padding:13px!important;
  }

  html body.admin-payroll-page .payroll-item .avatar{
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
  }

  html body.admin-payroll-page .payroll-item .pay-button,
  html body.admin-payroll-page .payroll-item .status-pill{
    grid-column:2!important;
    width:100%!important;
    margin-top:2px!important;
  }

  html body.admin-workorder-page .workorder_detail{
    padding:14px!important;
  }

  html body.admin-workorder-page .workorder-metrics{
    gap:6px!important;
  }

  html body.admin-workorder-page .workorder-metrics span,
  html body.admin-workorder-page .workorder-controls span{
    font-size:9px!important;
  }

  html body.admin-workorder-page .workorder-metrics input,
  html body.admin-workorder-page .workorder-controls select{
    min-height:40px!important;
    padding:7px 8px!important;
    font-size:12px!important;
  }
}

/* Final cascade lock for the 2026-07-29 responsive repair. */
html body[class^="insight-members"] .programmes a img{
  filter:brightness(0) invert(1)!important;
  opacity:.78!important;
}

html body[class^="insight-members"] .programmes a.active img{
  filter:brightness(0) invert(1)!important;
  opacity:1!important;
}

html body.insight-members-page .meeting_dtl{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}

html body.insight-members-meetings-page .account_action.insight_mmbr{
  width:100%!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

@media(max-width:900px){
  html body.insight-members-page .meeting_dtl{
    grid-template-columns:1fr!important;
  }

  html body.insight-members-meetings-page .account_action.insight_mmbr{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:520px){
  html body.insight-members-meetings-page .account_action.insight_mmbr{
    grid-template-columns:1fr!important;
  }
}

/* 2026-07-29 teammate chat send icon alignment */
html body.teammate-chat-page .chat_input_wrapper #sendMessageIcon{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
  color:#fff!important;
  filter:none!important;
}

html body.teammate-chat-page .chat_input_wrapper #sendMessageIcon svg{
  width:16px!important;
  height:16px!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

html body.chat-workorder-page .chat_footer #sendMessageIcon{
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
  color:#fff!important;
  filter:none!important;
}

html body.chat-workorder-page .chat_footer #sendMessageIcon svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* 2026-07-29 unified member detail tabs */
html body.member-profile-account-page .wrapper.homepage.user-profile-account,
html body.member-activity-log-page .wrapper.homepage.user-profile-account,
html body.member-insights-page .wrapper.homepage.user-profile-account,
html body.member-profile-meetings-page .wrapper.homepage.user-profile-account{
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:18px 0 112px!important;
  background:transparent!important;
  overflow:visible!important;
}

html body.member-profile-account-page .member-profile-hero,
html body.member-activity-log-page .member-profile-hero,
html body.member-insights-page .member-profile-hero,
html body.member-profile-meetings-page .member-profile-hero{
  width:100%!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) 66px!important;
  gap:16px!important;
  align-items:center!important;
  margin:0 0 14px!important;
  padding:18px!important;
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:24px!important;
  box-shadow:none!important;
}

html body.member-profile-account-page .member-back-btn,
html body.member-activity-log-page .member-back-btn,
html body.member-insights-page .member-back-btn,
html body.member-profile-meetings-page .member-back-btn{
  width:52px!important;
  height:52px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--sb-border)!important;
  border-radius:18px!important;
  background:#102022!important;
}

html body.member-profile-account-page .member-back-btn img,
html body.member-activity-log-page .member-back-btn img,
html body.member-insights-page .member-back-btn img,
html body.member-profile-meetings-page .member-back-btn img{
  width:22px!important;
  height:22px!important;
  margin:0!important;
  object-fit:contain!important;
  filter:brightness(0) invert(1)!important;
}

html body.member-profile-account-page .member-eyebrow,
html body.member-activity-log-page .member-eyebrow,
html body.member-insights-page .member-eyebrow,
html body.member-profile-meetings-page .member-eyebrow{
  margin:0 0 6px!important;
  color:var(--sb-accent-bright)!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  font-weight:900!important;
}

html body.member-profile-account-page .member-title,
html body.member-activity-log-page .member-title,
html body.member-insights-page .member-title,
html body.member-profile-meetings-page .member-title{
  margin:0!important;
  color:#fff!important;
  font-size:30px!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
  font-weight:900!important;
}

html body.member-profile-account-page .member-subtitle,
html body.member-activity-log-page .member-subtitle,
html body.member-insights-page .member-subtitle,
html body.member-profile-meetings-page .member-subtitle{
  margin:7px 0 0!important;
  color:var(--sb-muted)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:700!important;
}

html body.member-profile-account-page .member-profile-avatar,
html body.member-activity-log-page .member-profile-avatar,
html body.member-insights-page .member-profile-avatar,
html body.member-profile-meetings-page .member-profile-avatar{
  position:static!important;
  inset:auto!important;
  width:66px!important;
  height:66px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid var(--sb-border)!important;
  border-radius:20px!important;
  background:#102022!important;
}

html body.member-profile-account-page .member-profile-avatar img,
html body.member-activity-log-page .member-profile-avatar img,
html body.member-insights-page .member-profile-avatar img,
html body.member-profile-meetings-page .member-profile-avatar img{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  display:block!important;
  object-fit:cover!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0 0 14px!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs li{
  min-width:0!important;
  margin:0!important;
  background:transparent!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs a{
  min-height:58px!important;
  height:58px!important;
  gap:8px!important;
  padding:0 10px!important;
  color:#fff!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs a img{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  margin:0!important;
  opacity:.78!important;
  filter:brightness(0) invert(1)!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs .profile-tab-icon{
  width:21px!important;
  height:21px!important;
  min-width:21px!important;
  margin:0!important;
  display:block!important;
  overflow:visible!important;
  color:#fff!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:.78!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs a.active{
  color:#fff!important;
  background:var(--sb-accent)!important;
  border-color:var(--sb-accent-bright)!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs a.active img{
  opacity:1!important;
  filter:brightness(0) invert(1)!important;
}

html body[class^="member-"] .programmes.locked-profile-tabs a.active .profile-tab-icon{
  color:#fff!important;
  opacity:1!important;
}

html body.member-activity-log-page .account_action.activity_log,
html body.member-insights-page .account_action,
html body.member-profile-meetings-page .account_action{
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:18px!important;
  color:var(--sb-text)!important;
  background:#071416!important;
  border:1px solid var(--sb-border)!important;
  border-radius:24px!important;
  box-shadow:none!important;
}

html body.member-activity-log-page .account_action.activity_log{
  display:grid!important;
  gap:14px!important;
}

html body.member-activity-log-page .top_acti,
html body.member-activity-log-page .top_acti form{
  width:100%!important;
  margin:0!important;
  display:block!important;
}

html body.member-activity-log-page .timeframe,
html body.member-insights-page #timeframe{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 14px!important;
  color:#fff!important;
  background:#0a1b1d!important;
  border:1px solid var(--sb-border)!important;
  border-radius:14px!important;
  font-weight:800!important;
}

html body.member-activity-log-page .activity,
html body.member-activity-log-page .activity ul{
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

html body.member-activity-log-page .activity li{
  width:100%!important;
  min-height:72px!important;
  margin:0!important;
  padding:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  color:#fff!important;
  background:#102022!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
}

html body.member-insights-page .insight-metrics{
  width:100%!important;
  margin:0 0 14px!important;
}

html body.member-insights-page .insight-metrics .row{
  width:100%!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}

html body.member-insights-page .insight-metrics [class*="col-"]{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}

html body.member-insights-page .metric-box{
  width:100%!important;
  min-height:96px!important;
  padding:16px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:left!important;
  background:#102022!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
}

html body.member-insights-page .top_acti{
  width:100%!important;
  margin:0 0 14px!important;
  display:block!important;
}

html body.member-insights-page #lineChart{
  width:100%!important;
  max-width:100%!important;
  min-height:280px!important;
}

html body.member-profile-meetings-page .meeting_dtl{
  width:100%!important;
  min-height:0!important;
  display:grid!important;
  gap:12px!important;
}

html body.member-profile-meetings-page .meetings-empty-state{
  min-height:128px!important;
  margin:0!important;
  padding:24px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  color:var(--sb-muted)!important;
  background:#102022!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
}

html body.member-profile-meetings-page .meeting_box{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:14px!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) 40px!important;
  gap:12px!important;
  align-items:center!important;
  background:#102022!important;
  border:1px solid var(--sb-border)!important;
  border-radius:16px!important;
}

@media(max-width:680px){
  html body.member-profile-account-page .wrapper.homepage.user-profile-account,
  html body.member-activity-log-page .wrapper.homepage.user-profile-account,
  html body.member-insights-page .wrapper.homepage.user-profile-account,
  html body.member-profile-meetings-page .wrapper.homepage.user-profile-account{
    width:calc(100vw - 24px)!important;
    padding-top:14px!important;
  }

  html body.member-profile-account-page .member-profile-hero,
  html body.member-activity-log-page .member-profile-hero,
  html body.member-insights-page .member-profile-hero,
  html body.member-profile-meetings-page .member-profile-hero{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:12px!important;
    padding:14px!important;
  }

  html body.member-profile-account-page .member-profile-avatar,
  html body.member-activity-log-page .member-profile-avatar,
  html body.member-insights-page .member-profile-avatar,
  html body.member-profile-meetings-page .member-profile-avatar{
    display:none!important;
  }

  html body.member-profile-account-page .member-title,
  html body.member-activity-log-page .member-title,
  html body.member-insights-page .member-title,
  html body.member-profile-meetings-page .member-title{
    font-size:26px!important;
  }

  html body[class^="member-"] .programmes.locked-profile-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }

  html body[class^="member-"] .programmes.locked-profile-tabs a{
    min-height:54px!important;
    height:54px!important;
    padding:0 4px!important;
    flex-direction:column!important;
    gap:3px!important;
    font-size:9px!important;
  }

  html body[class^="member-"] .programmes.locked-profile-tabs a img{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }

  html body[class^="member-"] .programmes.locked-profile-tabs .profile-tab-icon{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }

  html body.member-activity-log-page .account_action.activity_log,
  html body.member-insights-page .account_action,
  html body.member-profile-meetings-page .account_action{
    padding:14px!important;
    border-radius:20px!important;
  }

  html body.member-insights-page .insight-metrics .row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  html body.member-insights-page .metric-box{
    min-height:84px!important;
    padding:12px!important;
  }
}

@media(max-width:420px){
  html body.member-profile-account-page .member-subtitle,
  html body.member-activity-log-page .member-subtitle,
  html body.member-insights-page .member-subtitle,
  html body.member-profile-meetings-page .member-subtitle{
    font-size:11px!important;
  }
}
