/* Core presentation extension; installed theme sources remain untouched. */
.vx-mobile-fold{min-width:0}
.vx-mobile-fold>summary{display:none}
.vx-mobile-staff{display:contents}
@media(max-width:760px){
  .vx-mobile-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 12px;cursor:pointer;font-weight:650;list-style:none}
  .vx-mobile-fold>summary::-webkit-details-marker{display:none}
  .vx-mobile-fold>summary::after{content:'▾';font-size:14px}
  .vx-mobile-fold[open]>summary::after{content:'▴'}
  .vx-mobile-fold>summary:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
  .vx-mobile-folders,.vx-mobile-search{border:1px solid var(--hx-line,var(--vxm-line,#a5bccd));border-radius:6px;margin-bottom:8px;background:var(--hx-card,var(--vxm-panel,transparent))}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-nav:has(>.vx-mobile-folders){display:grid;overflow:visible;border:0;background:transparent;gap:8px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-nav .vxm-mailbox-nav-section:first-child{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;min-width:0;border:1px solid var(--hx-line,var(--vxm-line,#a5bccd));border-radius:6px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-nav .vxm-mailbox-nav-section:first-child>a{padding:10px 12px;min-height:44px;box-sizing:border-box;font-size:14px;flex:none;white-space:nowrap}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-nav .vxm-mailbox-nav-section:first-child>strong{display:none}
  html[data-theme] body.nbpub.nb-theme-engine .vx-mobile-folders .vxm-custom-folders{display:grid;border:0}
  html[data-theme] body.nbpub.nb-theme-engine .vx-mobile-search .vxm-message-search{padding:0 10px 10px;margin:0;display:flex;flex-wrap:nowrap;align-items:center}
  html[data-theme] body.nbpub.nb-theme-engine .vx-mobile-search .vxm-message-search input{flex:1 1 0;min-width:0;width:0}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-shell{gap:8px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:8px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-main>:not(.vx-mobile-search):not(.vx-mailbox-filters){grid-column:1/-1}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-main>:is(.vx-mobile-search,.vx-mailbox-filters){margin:0;align-self:start}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-main>:is(.vx-mobile-search,.vx-mailbox-filters)[open]{grid-column:1/-1}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-main .vx-mobile-search>summary{font-size:14px;padding:0 10px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-head{flex-direction:row;align-items:center;gap:10px;margin-bottom:10px;padding-bottom:10px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-head h1{font-size:24px;margin:0 0 3px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-head p{margin:0;font-size:14px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-head .vxm-kicker{display:none}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-mailbox-head>a{padding:8px 10px;min-height:44px;white-space:nowrap;font-size:14px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-bulkbar{align-items:center;padding:6px 10px;min-height:44px;box-sizing:border-box;margin-bottom:8px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-bulkbar>span{flex-basis:auto;margin-left:auto;font-size:13px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-conversation-row{grid-template-columns:26px 36px minmax(0,1fr);gap:8px;padding:12px;min-height:0}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-conversation-row .vxm-conversation-meta{grid-column:3;text-align:left;display:flex;flex-wrap:wrap;gap:4px 10px}
  html[data-theme] body.nbpub.nb-theme-engine .vxm-conversation-avatar{width:36px;height:36px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-breadcrumb{margin:0 0 4px!important}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-route-head{display:flex;flex-direction:row!important;flex-wrap:nowrap;align-items:center;justify-content:space-between;text-align:left;gap:10px;padding:8px 0;margin:0}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-route-head h1{font-size:24px;margin:0}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-route-head p,
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-compose-card>header{display:none}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-route-actions{margin:0;width:auto;flex:none}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-route-actions a{min-height:44px;display:inline-flex;align-items:center;border:0;background:transparent;padding:0;text-decoration:underline;font-size:14px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page .vxc-compose-fields{padding:12px!important;gap:12px!important}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page :is(.vxc-recipient-field,.vxc-subject-field){padding:0}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page #conversation-recipient-help{font-size:13px;line-height:1.4;margin-top:5px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-message-compose-page [data-recipient-status]:empty{display:none}
  /* Staff tools are one disclosure; native menu links and unread badges survive. */
  html[data-theme] body.nbpub.nb-theme-engine .vxc-utility-inner{flex-wrap:nowrap!important;gap:6px!important;padding:0 10px!important;min-height:48px}
  .vx-mobile-staff{display:block;position:relative;flex:none}
  .vx-mobile-staff>summary{padding:0 6px;font-size:14px}
  html[data-theme] body.nbpub.nb-theme-engine .vx-mobile-staff .vxc-utility-left{position:absolute;top:100%;left:0;z-index:1000;display:grid;gap:4px;min-width:180px;padding:8px;background:var(--hx-raised,var(--vxm-panel,#28343d));color:var(--hx-text,var(--vxm-text,#fff));border:1px solid var(--hx-line,var(--vxm-line,#a5bccd));border-radius:6px;box-shadow:0 5px 20px #0004}
  html[data-theme] body.nbpub.nb-theme-engine .vx-mobile-staff .vxc-utility-left :is(.vxc-utility-trigger,.vxc-utility-link){min-height:44px;font-size:14px!important;color:inherit!important}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-visitor-tools{min-width:0;width:auto!important;margin-left:auto;gap:6px!important;flex-wrap:nowrap!important}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-visitor-tools .vxc-online{display:none!important}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-visitor-tools :is(.vxc-header-messages,.vxc-header-alerts){display:inline-flex!important;position:relative;align-items:center;justify-content:center;min-width:44px;height:44px;min-height:44px;gap:0;font-size:0!important;padding:0!important}
  .vxc-header-messages::before{content:'✉';font-size:22px}
  .vxc-header-alerts::before{content:'🔔';font-size:20px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-visitor-tools :is(.vxc-alert-badge,.vbb-message-badge){font-size:12px;position:absolute;right:0;top:1px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-account-trigger{min-height:44px;font-size:14px!important;padding:0 4px;gap:5px}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-account-trigger small{display:none}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-account-trigger strong{display:block;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[data-theme] body.nbpub.nb-theme-engine .vxc-account-avatar{width:28px;height:28px}
  html body[data-vxm-mobile-compact="1"] .vxc-masthead{min-height:56px}
  html[data-theme] body.nbpub[data-vxm-mobile-compact="1"] .vxc-masthead-inner{min-height:56px!important;padding:6px 12px!important;gap:10px}
  html body[data-vxm-mobile-compact="1"] .hx-brand-logo{height:40px!important;max-width:165px!important}
  html body[data-vxm-mobile-compact="1"] .hx-brand-logo img{height:40px!important;max-height:40px!important;max-width:165px!important;width:auto!important;object-fit:contain}
  html body[data-vxm-mobile-compact="1"] .vxc-brand{min-width:0;max-width:165px}
  html body[data-vxm-mobile-compact="1"] .vxc-mobile-menu{min-width:44px;min-height:44px}
}
