/* 1.1.608 owner's iPhone picture ("Search bar design ပြောင်းပေး"): a compact phone search bar.
   [ text | count ˄˅ ]  [filter]  [trash]  - one outlined pill 44 px high, a green filter square, a pink trash square beside it
   (shown while something is typed), and a small list under the filter (Excel files / Product - Excel switch).
   1.1.609 owner: "Pc မှာလဲ phone design အတိုင်းထား" - the computer bar uses the same design (order: bar, filter, trash; no magnifier). Loaded last so it wins. */
/* the trash square is only shown while something is typed (below) */
.mobile-search .search-bar-bin{display:none}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search:has(.search-filter){gap:6px;align-items:center}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter{order:3}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .pc-search-glass{display:none!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill{position:relative;height:44px!important;min-height:44px!important;padding:0 14px 0 18px!important;gap:8px;border:2px solid #2a9a43!important;border-radius:22px!important;background:#fff;box-shadow:0 5px 16px #22a04640!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill input{font-size:17px!important;padding-left:0!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .search-count{order:1;margin-left:auto;padding:0 2px;color:#8a918d;font-size:15px}
 /* ˄ above ˅ at the right end of the pill, after a thin divider (only while the two arrows are there) */
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill:has(.search-step:not([hidden])){padding-right:58px!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill:has(.search-step:not([hidden]))::after{content:"";position:absolute;right:48px;top:9px;bottom:9px;width:1px;background:#dde4df}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .search-step{position:absolute!important;right:11px;width:30px!important;height:17px!important;padding:0;border-radius:8px!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .search-step[data-excel-step="-1"]{top:5px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .search-step[data-excel-step="1"]{bottom:5px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-pill .search-step svg{width:22px!important;height:22px!important;stroke:#2c3832;stroke-width:2.6}
 /* filter square */
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-filter-button{width:42px!important;height:42px!important;border:0!important;border-radius:14px!important;background:linear-gradient(160deg,#2fa94a,#137a2c)!important;color:#fff!important;box-shadow:0 5px 12px #137a2c40!important}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search .search-filter-button svg{width:24px!important;height:24px!important;stroke:#fff!important}
 /* trash square: only while something is typed */
 .mobile-search .search-bar-bin{display:none;order:4;flex:0 0 auto;place-items:center;width:40px;height:42px;padding:0;border:1.5px solid #f2a7a7;border-radius:14px;background:#fdeded;color:#d9342b;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .mobile-search .search-bar-bin svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 body.searching .mobile-search .search-bar-bin{display:grid}
 .mobile-search .search-bar-bin{position:relative;overflow:visible}
 /* 1.1.610 owner: the bin that eats the letters is this red square - nothing green (the ring that runs round it is red too) */
 .mobile-search .search-bar-bin .bin-ring{inset:-4px}
 .mobile-search .search-bar-bin .bin-ring circle{stroke:#d9342b}
 .mobile-search .search-bar-bin:active{background:#f9dcdc}
 /* the list under the filter square: two rows, trash is in the bar now */
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu{left:auto;right:-34px;top:calc(100% + 10px);width:222px;max-width:calc(100vw - 20px);padding:7px;gap:6px;border-radius:18px;border-color:#e6efe7;box-shadow:0 10px 30px #10201826}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu::before{left:auto;right:48px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu button{min-height:40px;padding:0 12px;gap:10px;border-radius:12px;font-size:15px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu button>svg{flex:0 0 18px;width:18px;height:18px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu button[data-scope="toggle"]{gap:6px;padding:0 8px;font-size:14px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu .sf-side{gap:5px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu .sf-side svg{flex:0 0 18px;width:18px;height:18px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu .search-switch{flex:0 0 38px;width:38px;height:24px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu .search-switch u{top:3px;left:3px;width:18px;height:18px}
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search>.search-filter .search-filter-menu button.on-excel .search-switch u{transform:translateX(14px)}
 .mobile-search>.search-filter .search-filter-menu [data-scope="trash"]{display:none}
 /* the open list must sit on top of the Excel sheet (its sticky header cells are z-index 50 / 20; the bar is 8) */
 .mobile-search:has(.search-filter-button[aria-expanded="true"]){z-index:80}
:root[data-theme="dark"] .mobile-search .search-pill{background:#182b1e}
:root[data-theme="dark"] .mobile-search .search-pill .search-count{color:#9fb5a3}
:root[data-theme="dark"] .mobile-search .search-pill .search-step svg{stroke:#e1f0de}
:root[data-theme="dark"] .mobile-search .search-bar-bin{background:#3a1f1f;border-color:#7a3a3a;color:#ff8c84}
@media(max-width:850px){
 html body:not(.sbx1):not(.sbx2):not(.sbx3) .mobile-search:has(.search-filter){padding-left:10px;padding-right:8px}
}
@media(min-width:851px){
 .mobile-search:has(.search-filter-button[aria-expanded="true"]){position:relative}
}
