.sheet-toolbar { display:none; }
@media(max-width:760px) {
  .workspace { --peek-height:106px; height:auto; }
  .panel { height:var(--peek-height); border-radius:18px 18px 0 0; transition:none; }
  .panel.expanded { height:60%; }
  .panel[data-sheet=full] { height:100%; }
  .sheet-toolbar { display:flex; align-items:stretch; padding:0 10px 0 16px; gap:8px; flex-shrink:0; border-bottom:1px solid var(--line); }
  .sheet-handle { position:relative; flex:1; display:flex; justify-content:flex-start; align-items:center; gap:8px; height:52px; min-height:52px; padding:8px 0 0; text-align:left; touch-action:none; }
  .sheet-handle .handle-line { position:absolute; top:7px; left:0; width:28px; height:3px; border-radius:3px; background:#b9c4b9; }
  #sheet-label { display:block; width:auto; height:auto; background:none; font-size:14px; font-weight:700; max-width:100%; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
  #sheet-full { flex-shrink:0; padding:8px; border:0; background:transparent; font-size:12px; color:#50624e; }
  .panel:not(.expanded) .panel-scroll { display:none; }
  .visits-failed .panel:not(.expanded) { height:calc(var(--peek-height) + 60px); }
  .panel:not(.expanded) .visits-error { max-height:60px; }
  .map-region { height:calc(100% - var(--peek-height)); }
  .visits-failed:not(.sheet-expanded) .map-region { height:calc(100% - var(--peek-height) - 60px); }
  .sheet-expanded .map-region { height:40%; }
  .sheet-full .map-region { height:100%; visibility:hidden; }
  .sheet-expanded .map-message { top:10px; font-size:12px; padding:8px; }
  .sheet-expanded .map-controls { right:10px; bottom:24px; display:flex; }
  .sheet-expanded .map-controls button { width:40px; }
  .map-legend { max-width:calc(100% - 80px); bottom:40px; }
  .map-controls { bottom:95px; }
  .coordinate-note { font-size:10px; }
  .sheet-expanded .map-intro { display:none; }
  #office-detail { padding-top:12px; }
}
@media(max-width:760px) and (max-height:650px) {
  .app-header { height:54px; }
  .brand .eyebrow { display:none; }
  .search-tools { padding-top:6px; }
  .map-intro, .map-legend, .coordinate-note { display:none; }
  .map-controls { bottom:25px; display:flex; }
  .map-controls #zoom-in, .map-controls #zoom-out { display:none; }
  .panel.expanded { height:72%; }
  .panel[data-sheet=full] { height:100%; }
  .sheet-expanded .map-region { height:28%; }
  .sheet-full .map-region { height:100%; }
}
