@media (max-width:639px){
 html[data-theme] :is(dialog, .account-picker-panel)[data-bottom-sheet]{
  position:fixed;
  inset:auto 0 var(--sheet-bottom,0px);
  max-height:var(--sheet-max,calc(100dvh - 12px));
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--divider);
  border-radius:24px 24px 0 0;
  box-shadow:0 -12px 48px #0002;
  overscroll-behavior:contain;
  backdrop-filter:none;
  translate:none;
 }
 html[data-theme] :is(dialog, .account-picker-panel)[data-bottom-sheet]:not([data-bottom-sheet=fit]){
  height:var(--sheet-drag-height,var(--sheet-height,60dvh));
 }
 html[data-theme] :is(dialog[open], .account-picker-panel:popover-open)[data-bottom-sheet]{
  display:flex;
  flex-direction:column;
  overflow:auto;
 }
 html[data-theme] :is(dialog, .account-picker-panel)[data-bottom-sheet]:has(.bottom-sheet-body){overflow:hidden}
 html[data-theme] [data-bottom-sheet] .bottom-sheet-layout{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
  max-height:100%;
  overflow:hidden;
 }
 html[data-theme] [data-bottom-sheet=fit] .bottom-sheet-layout{flex:0 1 auto}
 html[data-theme] [data-bottom-sheet] .bottom-sheet-body{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow:auto;
  overscroll-behavior-y:contain;
  scroll-padding-block:12px;
 }
 html[data-theme] [data-bottom-sheet=fit] .bottom-sheet-body{flex:0 1 auto}
 html[data-theme] [data-bottom-sheet] .bottom-sheet-header{
  position:sticky;
  top:0;
  flex:none;
  z-index:4;
  background:var(--surface);
  border-bottom:1px solid var(--divider);
 }
 html[data-theme] [data-bottom-sheet]:not([data-bottom-sheet=fit]) .bottom-sheet-header{padding-top:22px}
 html[data-theme] [data-bottom-sheet] .bottom-sheet-header .sheet-drag-handle{display:none}
 html[data-theme] dialog[data-bottom-sheet]::before{display:none}
 html[data-theme] [data-bottom-sheet] .bottom-sheet-footer{
  position:sticky;
  bottom:0;
  flex:none;
  z-index:3;
  background:var(--surface);
  border-top:1px solid var(--divider);
  padding-bottom:max(12px,env(safe-area-inset-bottom));
 }
 html[data-theme] [data-bottom-sheet] .bottom-sheet-handle{
  position:absolute;
  inset:0 auto auto 50%;
  transform:translateX(-50%);
  width:76px;
  height:22px;
  padding:0;
  border:0;
  border-radius:10px;
  color:var(--muted);
  background:transparent;
  touch-action:none;
  z-index:1;
 }
 html[data-theme] [data-bottom-sheet] .bottom-sheet-handle[hidden]{display:none}
 .bottom-sheet-handle::before{
  content:"";
  display:block;
  width:34px;
  height:4px;
  margin:auto;
  border-radius:10px;
  background:currentColor;
  opacity:.6;
 }
 .bottom-sheet-handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
 html[data-theme] .private-workspace[data-bottom-sheet] > .bottom-sheet-header{
  gap:6px;
  padding-inline:16px;
 }
 html[data-theme] .private-workspace[data-bottom-sheet] > .bottom-sheet-header:has(> .bottom-sheet-handle:not([hidden])){
  padding-top:30px;
 }
 html[data-theme] .private-workspace[data-bottom-sheet] > .bottom-sheet-header > .bottom-sheet-handle{
  top:3px;
 }
 html[data-theme] .private-workspace[data-bottom-sheet] > .bottom-sheet-header > h2{
  overflow-wrap:anywhere;
 }
 html[data-theme] .private-workspace[data-bottom-sheet] > .bottom-sheet-header .private-header-lock{
  width:44px!important;
  padding:10px!important;
  gap:0!important;
  font-size:0!important;
 }
 html[data-theme] [data-bottom-sheet]::backdrop{background:rgb(12 20 32 / .44);backdrop-filter:none}
 html[data-theme] .account-picker .account-picker-panel[data-bottom-sheet]{
  inset:auto 0 var(--sheet-bottom,0px);
  max-height:var(--sheet-max);
  padding:0 12px max(12px,env(safe-area-inset-bottom));
 }
 html[data-theme] #editor:has(#transaction-form) > #transaction-form.bottom-sheet-body{
  display:flex;
  flex-direction:column;
  flex:1 1 0%;
  min-height:0;
  max-height:100%;
  overflow:auto;
  padding-bottom:0;
 }
 html[data-theme] #editor #transaction-form.bottom-sheet-body > *{flex-shrink:0}
 html[data-theme] #editor #transaction-form > .bottom-sheet-footer{position:sticky;bottom:0;margin-top:auto}
 [data-bottom-sheet] .account-picker-heading>.account-picker-current{width:100%}
}
.bottom-sheet-handle{display:none}
@media (max-width:639px){
 html[data-theme] [data-bottom-sheet] .bottom-sheet-handle:not([hidden]){display:block}
}
