.hm-nav,.hm-menu-button,.hm-file-nav,.hm-calendar-filter{display:none}
button:focus-visible,select:focus-visible{outline:3px solid #b9861f;outline-offset:3px}
@media(max-width:767px){
  html{scroll-padding-top:150px}body{padding-bottom:0!important}main{min-width:0}
  main>div:first-child:not([role]){font-size:9px!important;line-height:1.4!important;letter-spacing:.1em!important;padding:6px 12px!important}
  main>header{position:sticky!important;top:0!important;z-index:40!important}
  main>header>div{height:64px!important;padding:8px 12px!important;gap:8px;box-sizing:border-box}
  main>header>div>div:first-child{gap:8px!important;min-width:0;flex:1}
  main>header>div>div:first-child>div{min-width:0}
  main>header .brand-wordmark{font-size:19px!important;white-space:nowrap}
  main>header .brand-wordmark+p{display:none!important}
  main>header>div>div:first-child>img{width:32px;height:32px;object-fit:contain}
  main>header>div>div:last-child{gap:6px!important;flex:none}
  main>header [data-hive-key-btn],main>header .hm-original-action{display:none!important}
  main>header #hive-alerts-button{min-height:44px;padding:8px 10px!important}
  main>header .hive-profile-avatar{width:40px!important;height:40px!important;flex:none}
  .hm-menu-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d8cfbf;border-radius:50%;background:#fffdf7;color:#211b0f;font:800 22px system-ui}
  .hm-nav{display:block;margin:0 0 16px;padding:12px;border:1px solid #e1d8c8;border-radius:18px;background:#fffdf7}
  .hm-nav label{display:block;font:750 11px system-ui;color:#786344;text-transform:uppercase;letter-spacing:.1em;margin-bottom:6px}
  .hm-nav select{width:100%;min-height:46px;border:1px solid #d8cfbf;border-radius:12px;background:#fff;color:#211b0f;padding:10px 12px;font:750 16px system-ui}
  .hive-main-tabs{display:none!important}
  main.brand-grid>div[class*="max-w-"]{padding:16px 12px!important}
  [role="tabpanel"]{min-width:0;max-width:100%;scroll-margin-top:150px}
  [role="tabpanel"] input:not([type="checkbox"]):not([type="radio"]),[role="tabpanel"] textarea,[role="tabpanel"] select,dialog input,dialog textarea,dialog select{font-size:16px!important;max-width:100%;box-sizing:border-box;min-height:44px}
  [role="tabpanel"] button:not([aria-label="Organization view"]),dialog button,.hive-tour-card button{min-height:44px;touch-action:manipulation}
  [role="tabpanel"] h1,[role="tabpanel"] h2{font-size:28px!important;line-height:1.2!important;overflow-wrap:anywhere}
  [role="tabpanel"] h3,[role="tabpanel"] p{overflow-wrap:anywhere}
  .hive-fluid-today{gap:16px!important}
  [id$="content-today"]>div:first-child{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-bottom:12px!important}
  [id$="content-today"]>div:first-child>button{padding:10px 8px!important;text-align:left;min-width:0}
  [id$="content-today"]>div:first-child>button>span:first-child{font-size:10px!important}
  [id$="content-today"]>div:first-child>button>span:last-child{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere}
  [id$="content-today"]>div:first-child>button>span>span:last-child{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere}
  .hive-fluid-bee-card>div{display:flex!important;flex-direction:column}
  .hive-fluid-bee-card>div>div:first-child{display:none!important}
  .hive-bee-col{height:auto!important;min-height:0!important;max-height:none!important}
  .hive-bee-col>div{height:auto!important;min-height:0!important}
  .hive-bee-col>div{min-width:0}
  .hive-bee-col [aria-label="Suggested messages"]{display:none!important}
  #hive-today-priorities{min-height:0!important;height:auto!important}
  [id$="content-calendar"]>section>div:first-child{padding:16px!important;border-radius:20px!important}
  [id$="content-calendar"]>section>div:first-child h2{font-size:24px!important;margin:10px 0!important}
  [id$="content-calendar"]>section>div:first-child p{display:none}
  .hm-calendar-filter{display:flex;align-items:center;gap:10px;font:750 13px system-ui}
  .hm-calendar-filter select{flex:1;min-width:0;padding:10px;border:1px solid #d8cfbf;border-radius:12px;background:#fff}
  .hm-day-hidden{display:none!important}
  .hive-files-grid.hfp-four-pane{display:flex!important;flex-direction:column!important;gap:14px!important;height:auto!important;min-height:0!important}
  .hive-files-grid.hive-dropdown-files>aside:first-child{display:none!important}
  .hive-files-grid>div,.hive-files-grid>aside{min-height:0!important;height:auto!important;max-width:100%;min-width:0}
  .hive-client-folder-pane{max-height:none!important;overflow:visible!important;padding:14px!important}
  .hive-client-folder-pane button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .hm-file-nav{display:flex;gap:7px;margin:0 0 12px;flex-wrap:wrap}
  .hm-file-nav button{flex:1;border:1px solid #d8cfbf;background:#fffdf7;color:#352916;border-radius:12px;font:750 13px system-ui;padding:10px}
  .hive-files-grid #hive-file-preview,.hive-files-grid #hive-captions-pane{min-height:0!important;height:auto!important;scroll-margin-top:150px}
  .hfc-workspace{display:flex!important;flex-direction:column!important}
  .hfc-workspace .hfp-stage{height:clamp(250px,45dvh,420px)!important;min-height:250px!important;flex:none!important}
  .hfc-workspace>.hfc{border-left:0!important;border-top:1px solid #e4dfd5!important;overflow:visible!important}
  .hfc-workspace .hfc-list{max-height:none!important;overflow:visible!important}
  .graphics-studio>div:nth-child(2){display:flex!important;flex-direction:column!important;gap:14px!important}
  .graphics-studio>div:nth-child(2)>fieldset{width:100%;min-width:0}
  .graphics-studio fieldset>div,.graphics-studio .hive-graphics-prompt{padding:16px!important}
  .graphics-studio .studio-preview-grid{min-height:300px!important;height:380px!important;padding:16px!important}
  .graphics-studio .hive-graphic-library img{height:88px!important;object-fit:cover}
  .hive-source-docs-layout{display:flex!important;flex-direction:column!important;gap:14px!important}
  .hive-source-docs-layout>aside,.hive-source-docs-layout>div,.hive-source-frequency{width:100%;height:auto!important;min-width:0;padding:16px!important}
  .hive-social-frequency{grid-template-columns:1fr!important;max-height:none!important;overflow:visible!important}
  .hcs-shell,.hir-shell{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;gap:14px!important}
  .hcs-compose{position:static!important}.hcs-head,.hcs-form,.hir-head{padding:16px!important}
  .hcs-board{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;padding:12px!important}
  .hcs-column{min-width:0!important;min-height:120px!important}.hcs-card{padding:14px!important}
  .hcs-status{max-width:110px!important;font-size:13px!important}.hcs-client{font-size:14px!important}
  .hir-log,.hir-results{height:auto!important;max-height:none!important}.hir-input textarea{min-height:120px!important}
  .hm-page-scroll{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto!important}
  [id$="content-calendar"] article{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  #hive-airtable-panel{padding:16px!important;margin-top:0!important}.hah-tools>*{width:100%;min-width:0!important}.hah-records{grid-template-columns:1fr!important}
  .hive-org-tree{max-width:100%;padding:12px!important}.hot-chart{overflow-x:auto;overscroll-behavior-x:contain}.hot-move,.hot-root{min-height:44px!important}
  .hive-connection-lights{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;gap:8px!important;margin-top:16px}
  .hive-connection-light{min-height:44px;justify-content:center;font-size:11px!important;padding:8px!important}
  dialog[open]{margin:auto!important;inset:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto;box-sizing:border-box;padding:18px!important}
  .hive-tour-overlay{padding:16px!important}.hive-tour-card{max-height:calc(100dvh - 100px)!important;padding:18px!important}
  #hive-bee-welcome .hbw-content{padding:18px!important}.hbw-bee{max-height:32dvh!important}.hbw-title{font-size:30px!important}.hbw-note{font-size:15px!important}
}
.hm-menu-dialog{margin:auto;inset:0;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d8cfbf;border-radius:22px;padding:22px;background:#fffdf7;color:#211b0f;box-sizing:border-box}
.hm-menu-dialog::backdrop{background:#211b0f66}.hm-menu-dialog h2{font:750 24px Georgia,serif;margin:0 0 12px}.hm-menu-dialog p{font:14px/1.5 system-ui;overflow-wrap:anywhere}
.hm-menu-dialog button{display:block;width:100%;min-height:46px;margin-top:10px;border:1px solid #d8cfbf;border-radius:12px;padding:12px;background:#fff;color:#211b0f;text-align:left;font:750 15px system-ui}
