/* Phone layouts follow the live Mobbin navigation and settings, inspected 2026-10-04. */
.tb-mobile-back,.tb-mobile-title,.tb-mobile-shortcuts{display:none}
.tb-palette-close{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-right:12px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
:root:not([data-theme=dark]) .tb-palette-close{color:#141414}
.tb-menu [data-part="menuScroll"]{max-height:calc(var(--tb-menu-height,480px) - 56px)!important;overscroll-behavior:contain}
.tb-menu:not([open]){display:none!important}
.tb-words-pop{margin:0;border:0;max-width:none}
.tb-words-pop form{display:contents}
.tb-words-pop:not([open]),.tb-words-apply{display:none!important}
.wm-flow-tabs{display:none}
.tb-notes{inset:auto;margin:0;border:0;max-width:none}
.tb-notes:not([open]){display:none!important}
:root dialog.tb-notes::backdrop,:root[data-theme] dialog.tb-notes::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.tb-notes header{display:flex;align-items:center;justify-content:space-between}
.tb-notes-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.tb-notes a:focus-visible{outline:2px solid currentColor;outline-offset:-2px}

@media(max-width:600px){
 :root,:root.tb-stacked,:root.tb-phone{--tb-nav-h:112px;--tb-slot-h:100px;--tb-pad:20px}
 .tb-nav .tb-nav-content{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;grid-template-rows:56px 56px!important;gap:0 12px!important;height:112px!important;padding:0 var(--tb-pad)!important}
 .tb-nav [data-part="navLeft"]{display:contents!important}
 .tb-nav .tb-logo{grid-column:1!important;grid-row:1!important;justify-content:center!important;width:36px!important;min-width:0!important}
 .tb-nav .tb-logo svg{max-width:32px}
 .tb-nav .tb-tabs{grid-column:1/-1!important;grid-row:2!important;display:flex!important;align-items:center!important;gap:24px!important;min-width:0;max-width:100%;height:56px!important;padding-top:8px!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:12px}
 .tb-nav .tb-tabs a{flex:none;font-size:14px!important;line-height:22px!important;min-height:44px;display:flex;align-items:center}
 .tb-nav .tb-tabs [data-list="scraper"]{display:none!important}
 .tb-nav [data-part="searchWrap"]{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;padding:0!important}
 .tb-nav .tb-search-button{width:100%!important;height:40px!important;min-width:0!important;padding:0 12px!important;justify-content:flex-start!important;gap:8px!important}
 .tb-nav .tb-search-button svg{flex:none;width:18px!important;height:18px!important}
 :root .tb-nav .tb-search-text{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px!important}
 .tb-nav [data-part="navRight"]{grid-column:3!important;grid-row:1!important;min-width:0!important;width:auto!important;padding:0!important}
 .tb-nav .tb-nav-right{gap:0!important}
 .tb-nav .tb-nav-right>:is(.view-switch,.saved-entry,.tb-plan-badge){display:none!important}
 .tb-nav .tb-nav-right>:is(.tb-bell,.account-entry){width:40px!important;height:44px!important;min-height:44px!important}
 .tb-mobile-shortcuts{display:block}
 .tb-account{width:min(280px,calc(100vw - 24px));overscroll-behavior:contain}
 .tb-account-row{min-height:44px;height:auto;padding-block:8px;box-sizing:border-box}
 .tb-account :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:-2px}
 .tb-account-head{overflow-wrap:anywhere}

 /* Each filter row scrolls independently; the page never widens to fit it. */
 body.no-sidebar main#content{min-width:0}
 body.no-sidebar #content .gallery-grid{--cell-min:0px;grid-template-columns:minmax(0,1fr)}
 body.no-sidebar #content .gallery-grid.unified-components{grid-template-columns:minmax(0,1fr)!important}
 body.no-sidebar #content .unified-components .site-card h2{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
 body.no-sidebar #content .unified-components .site-card p{overflow-wrap:anywhere}
 .tb-slot .tb-slot-content{padding-inline:var(--tb-pad)!important;grid-template-rows:48px 44px;gap:0 8px!important}
 body.no-sidebar[data-index=list] .tb-slot{margin-top:12px}
 .tb-slot [data-part="pillRow"]{gap:8px!important}
 .tb-slot [data-part="pill"]{min-height:40px!important}
 .tb-slot .tb-sort,.tb-slot [data-part="filterButton"]{min-height:44px!important}
 .tb-slot .tb-count{font-size:12px;line-height:16px}
 .tb-menu{box-sizing:border-box;overflow:hidden!important;inset:auto 0 0!important;width:100%!important;height:60dvh!important;max-height:60dvh!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:48px minmax(0,1fr)!important;border-radius:20px 20px 0 0!important;padding-bottom:env(safe-area-inset-bottom)!important}
 .tb-menu::backdrop{background:rgba(0,0,0,.48)}
 .tb-menu [data-part="menuSearchRow"]{min-width:0;width:auto!important;height:48px!important}
 .tb-menu [data-part="menuSearchInput"]{min-width:0;flex:1}
 .tb-menu [data-part="menuScroll"]{min-width:0;width:100%!important;min-height:0;max-height:none!important;overscroll-behavior:contain;mask-image:none!important;-webkit-mask-image:none!important}
 .tb-menu [data-part="menuRowInner"]{min-width:0;width:100%!important}
 .tb-menu [data-part="menuLabel"]{min-width:0;overflow-wrap:anywhere}
 body:has(.tb-menu[open]){overflow:hidden}
 .tb-words-pop{inset:auto 0 0!important;box-sizing:border-box;width:100%;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;flex-direction:column;gap:12px}
 .tb-words-pop::backdrop{background:rgba(0,0,0,.48)}
 .tb-words-pop input{width:100%;min-height:44px;flex:none;font-size:16px}
 .tb-words-pop button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;flex:none;gap:8px;border-radius:999px}
 html:not([data-theme=dark]) .tb-words-pop{background:#fff;color:#141414}
 html:not([data-theme=dark]) .tb-words-pop input{color:#141414}
 html:not([data-theme=dark]) .tb-words-pop input::placeholder{color:#737373}
 html:not([data-theme=dark]) .tb-words-pop button{background:#141414;color:#fff}
 .tb-words-pop .tb-words-apply{display:inline!important}
 body:has(.tb-words-pop[open]){overflow:hidden}
 .tb-notes{inset:64px 12px auto auto!important;width:min(360px,calc(100vw - 24px));height:auto;max-height:min(480px,calc(100dvh - 80px));box-sizing:border-box;border-radius:16px;padding:8px;box-shadow:0 16px 56px rgba(0,0,0,.14)}
 .tb-notes header{position:sticky;top:-8px;background:inherit}
 .tb-notes h2{padding-left:0;flex:1;text-align:left;font-size:16px}
 body:has(.tb-notes[open]){overflow:hidden}
 .tb-menu [data-part="menuRow"]{min-height:44px!important}
 .tb-menu input{font-size:16px!important}

 /* Full-height sheets leave an explicit close control available above their scrolling content. */
 .tb-palette{inset:0!important;margin:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;overflow:hidden!important;border-radius:0!important}
 .tb-palette [data-part="paletteGrid"]{height:100%!important;max-height:none!important;border-radius:0!important;padding-top:env(safe-area-inset-top)}
 .tb-palette [data-part="paletteHead"]{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:0!important;min-height:60px!important;height:auto!important;padding:8px 12px!important}
 .tb-palette [data-part="paletteInputWrap"]{grid-column:1;grid-row:1;min-width:0!important;padding:0 8px!important;height:44px!important}
 .tb-palette .tb-palette-input{font-size:16px!important;height:44px!important}
 .tb-palette .tb-palette-close{grid-column:2;grid-row:1;margin:0}
 .tb-palette [data-part="paletteTools"]{grid-column:1/-1;grid-row:2;justify-content:flex-start!important;margin:4px 0 0!important;padding:0!important}
 .tb-palette [data-part="paletteAside"]{padding-bottom:4px!important}
 .tb-palette [data-pnav]{min-height:44px!important}
 .tb-palette [data-part="paletteMain"]{flex:1 1 auto;min-height:0!important;padding-bottom:env(safe-area-inset-bottom)}
 .tb-palette .tb-palette-scroll{overscroll-behavior:contain}
 .tb-palette .tb-row{min-height:56px}
 .tb-filter-panel{inset:0;margin:0;width:100%;height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top);box-sizing:border-box}
 .tb-filter-panel .tb-fp-head{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 20px;gap:8px}
 .tb-filter-panel .tb-fp-head h2{grid-column:1;grid-row:1}
 .tb-filter-panel .tb-fp-tools{display:contents}
 .tb-filter-panel .tb-fp-close{grid-column:2;grid-row:1}
 .tb-filter-panel .tb-fp-order{grid-column:1/-1;grid-row:2;max-width:100%;overflow-x:auto;scrollbar-width:none;justify-self:start}
 .tb-filter-panel .tb-fp-order button{flex:none;min-height:40px}
 .tb-filter-panel .tb-fp-reset{grid-column:1/-1;justify-self:start}
 .tb-filter-panel .tb-fp-close,.tb-filter-panel .tb-fp-reset{min-height:44px}
 .tb-filter-panel .tb-fp-close{width:44px}
 .tb-filter-panel .tb-fp-groups{padding:12px 20px calc(32px + env(safe-area-inset-bottom));overscroll-behavior:contain}
 .tb-filter-panel .tb-fp-group ul{grid-template-columns:minmax(0,1fr)}
 .tb-filter-panel .tb-fp-group :is(a,button){min-height:44px;font-size:20px;line-height:28px}

 /* Settings use a compact header and horizontal section tabs, with all controls retained. */
 body.tb-phone-settings{--tb-nav-h:56px}
 body.tb-phone-settings .tb-nav .tb-nav-content{height:56px!important;grid-template-rows:56px!important;grid-template-columns:44px minmax(0,1fr) 44px!important}
 body.tb-phone-settings .tb-nav :is(.tb-logo,.tb-tabs,[data-part="searchWrap"],.tb-bell){display:none!important}
 body.tb-phone-settings .tb-mobile-back{display:grid;place-items:center;grid-column:1;grid-row:1;width:44px;height:44px;color:inherit}
 body.tb-phone-settings .tb-mobile-title{display:block;grid-column:2;grid-row:1;text-align:center;font-size:18px;font-weight:600}
 html[data-theme=dark] body.tb-phone-settings :is(.tb-mobile-title,.tb-mobile-back){color:#ededed}
 body.no-sidebar.tb-phone-settings main#content{padding:0 20px 64px!important}
 body.tb-phone-settings .member-settings{padding:0 0 48px;gap:20px;min-height:calc(100dvh - 56px)}
 body.tb-phone-settings .ms-tabs{position:sticky;top:56px;z-index:10;margin:0 -20px;padding:0 20px;background:var(--tobira-ground,#fff);gap:24px;min-height:48px;align-items:stretch;scroll-padding-inline:20px}
 html[data-theme=dark] body.tb-phone-settings .ms-tabs{background:#0b0b0b}
 body.tb-phone-settings .ms-tabs a{padding:0;min-height:48px;align-items:center;border-radius:0;border-bottom:2px solid transparent}
 body.tb-phone-settings .ms-tabs a[aria-current=page]{border-bottom-color:currentColor}
 body.tb-phone-settings .ms-tabs svg,body.tb-phone-settings .ms-active-pill{display:none}
 body.tb-phone-settings .ms-bar{grid-row:3;justify-content:flex-start}
 body.tb-phone-settings .ms-body{grid-row:2;min-width:0}
 body.tb-phone-settings .ms-body h1{font-size:32px;line-height:1.25;margin-bottom:28px}
 body.tb-phone-settings .ms-row{gap:12px;align-items:flex-start}
 body.tb-phone-settings .ms-row>div:first-child{min-width:0;flex:1 1 140px}
 body.tb-phone-settings .ms-side{min-width:0;max-width:100%;flex-wrap:wrap;overflow-wrap:anywhere}
 body.tb-phone-settings .ms-input{min-height:44px;max-width:100%;box-sizing:border-box}
 body.tb-phone-settings .ms-seg{max-width:100%;flex-wrap:wrap;border-radius:16px}
 body.tb-phone-settings .ms-seg button{min-height:38px}
 body.tb-phone-settings .account-button{min-height:44px;height:auto;white-space:normal;text-align:center;box-sizing:border-box}
 body.tb-phone-settings .account-inline{align-items:flex-start;flex-wrap:wrap}
 body.tb-phone-settings .credit-balance{padding:20px;flex-wrap:wrap}
 .tb-plans-page{padding:20px 0 64px!important}
 .tb-billing .tb-plan{min-width:0;padding:24px 20px}
 .tb-billing .tb-plan-head{flex-wrap:wrap;row-gap:12px}
 .tb-billing .tb-price{flex-wrap:wrap}
 .tb-billing .tb-periods{max-width:100%;box-sizing:border-box}
 .tb-billing .tb-final{padding:32px 20px}
 .mobbin-site .site-tabs{flex-wrap:nowrap}
 .mobbin-site .site-version-wrap{flex:none;column-gap:12px}
 .mobbin-site .site-tabs-main{padding-left:16px}
 .mobbin-site .site-tab-links{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:20px}
 .mobbin-site .site-tab-links a{flex:none;white-space:nowrap;min-height:44px;display:flex;align-items:center;box-sizing:border-box}
 .mobbin-site .site-tabs-count{flex:none}
 .mobbin-site .website-meta{display:flex;flex-wrap:nowrap;gap:24px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:8px}
 .mobbin-site .website-meta>div{flex:none;max-width:280px}
 .mobbin-site .website-meta dd{white-space:nowrap}
 .webapp-detail .wm-head{padding-top:0}
 .webapp-detail .wm-head>.wm-icon{width:64px;height:64px}
 .webapp-detail .wm-title{margin-top:16px}
 .webapp-detail .wm-meta{flex-wrap:nowrap;max-width:100%;overflow-x:auto;gap:24px;scrollbar-width:none;overscroll-behavior-x:contain;padding-bottom:8px}
 .webapp-detail .wm-meta>div{flex:none}
 .webapp-detail .wm-meta dd{white-space:nowrap}
 body .webapp-detail .wm-bar{margin-top:24px;min-height:64px;box-sizing:border-box;gap:12px;overflow:visible}
 .webapp-detail .wm-bar .wm-bar-icon{display:none}
 .webapp-detail .wm-tabs{min-width:0;gap:16px;padding-left:12px}
 .webapp-detail .wm-version>button,.webapp-detail .wm-tab{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
 .webapp-detail .wm-version .wm-pop{box-sizing:border-box;min-width:0;width:min(280px,calc(100vw - 40px));max-height:50dvh;overflow-y:auto}
 .webapp-detail .wm-flows-card{aspect-ratio:auto;padding:16px;gap:12px}
 .webapp-detail .wm-fc-strip{height:64px;flex:none;padding:0}
 .webapp-detail .wm-fc-list{margin:0;padding:0}
 .webapp-detail .wm-fc-list a{padding:6px 0;white-space:normal;overflow-wrap:anywhere}
 .webapp-detail .wm-fc-all{margin:0;min-height:44px;display:flex;align-items:center}
 .webapp-detail .wm-flows>section{min-width:0}
 .webapp-detail .wm-flow-row{flex-wrap:wrap}
 .webapp-detail .wm-strip .wm-card{flex-basis:min(300px,85vw)}
 .webapp-detail .wm-side{display:block;position:static;min-width:0;max-height:none;overflow:visible;margin-bottom:0}
 .webapp-detail .wm-side-tree{display:none}
 .webapp-detail .wm-flow-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin-top:16px;border-bottom:1px solid var(--wm-line);scroll-padding-inline:4px}
 .wm-flow-tabs>button{flex:none;max-width:260px;min-height:44px;padding:10px 16px;border:0;border-radius:12px 12px 0 0;background:transparent;color:var(--wm-t2);font:600 14px/22px var(--wm-font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
 .wm-flow-tabs>button[hidden]{display:none}
 .wm-flow-tabs>button[aria-selected=true]{background:var(--wm-bg3);color:var(--wm-t1);box-shadow:inset 0 -2px 0 var(--wm-t1)}
 .wm-flow-tabs>button:focus-visible{outline:2px solid var(--wm-brand);outline-offset:-3px}
 .webapp-detail .wm-flow-empty{font-size:14px;color:var(--wm-t2);margin:16px 0}
 .webapp-detail .wm-flow[hidden]{display:none}
 .webapp-detail .wm-search input{font-size:16px}
 .webapp-detail .wm-side a{min-height:44px;box-sizing:border-box}
 .wv-head{padding:0 16px;gap:8px;min-width:0}
 .wv-head>.wv-app{font-size:16px;line-height:22px;flex:1;overflow:hidden}
 .wv-head>.wv-app>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .wv-head .wv-in{display:none}
 .wv-head-mid:empty{display:none}
 .wv-head-end{flex:none;margin-left:auto}
 .wv-head-end .wm-btn{width:44px;height:44px}
 .wv-dialog[data-kind=flow] .wv-head-mid{display:none}
 .wv-stage{padding-bottom:56px}
 .wv-dialog[data-kind=flow] .wv-stage{padding-bottom:56px!important}
 .wv-nav:not([hidden]){display:inline-flex;top:auto;bottom:0;translate:0}
 .wv-nav[data-dir="-1"]{left:calc(50% - 52px)}
 .wv-nav[data-dir="1"]{right:calc(50% - 52px)}
 .wv-strip{width:100%;min-width:0;box-sizing:border-box;gap:16px;padding-inline:20px}
 .wv-strip .wv-shot{width:calc(100vw - 56px)}
 .wv-foot{padding:16px 16px calc(16px + env(safe-area-inset-bottom));gap:8px;grid-template-columns:1fr auto}
 .wv-actions{grid-column:1;grid-row:1;justify-self:start;flex-wrap:wrap}
 .wv-meta{display:block;grid-column:2;grid-row:1;font-size:12px}
 .wv-meta>span{display:none}
 .wv-meta>button{min-width:44px;min-height:44px}
 .wv-found{display:flex;grid-column:1/-1;grid-row:2;justify-self:start;max-width:100%}
 .wv-meta .wm-pop{box-sizing:border-box;width:calc(100vw - 32px);max-width:360px;min-width:0;max-height:55dvh;overflow:auto}
 .wv-meta .wm-pop dd{overflow-wrap:anywhere}
 .reference-screen.tool-screen{max-height:none;overflow:auto;overscroll-behavior:contain}
 body.no-sidebar .tool-app{height:auto;grid-template-rows:auto 320px;overflow:visible;padding-top:8px!important}
 .tool-panel{min-height:min-content;overflow:visible}
 .tool-panel>*{flex-shrink:0}
 .tool-panel :is(button,select,input[type=text]){min-height:44px}
 .tool-panel :is(input[type=text],select){font-size:16px}
 .tool-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}
 .studio-native #sandbox-root{padding:0!important;min-height:0;font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif}
 .studio-native #sandbox-root .sandbox-sidebar{padding:16px!important}
 .studio-native #sandbox-root .sandbox-sidebar ol{display:flex!important;list-style:none;gap:20px!important;overflow-x:auto;overscroll-behavior-x:contain;margin:0 0 20px;padding-bottom:8px!important;scrollbar-width:none}
 .studio-native #sandbox-root .sandbox-sidebar ol>li{flex:none;min-height:44px;display:flex;align-items:center}
 .studio-native #sandbox-root .sandbox-sidebar ol p{margin:0}
 .studio-native #sandbox-root .sandbox-workbench{padding:16px;gap:16px}
 .studio-native #sandbox-root .sandbox-sidebar div:has(>button[data-file]){display:flex;align-items:center;height:auto!important;min-height:48px}
 .studio-native #sandbox-root .sandbox-sidebar button[data-file]{min-width:0;flex:1;text-align:left;display:flex;align-items:center;gap:8px}
 .studio-native #sandbox-root .sandbox-sidebar button[data-file]>span:last-child{overflow:hidden;text-overflow:ellipsis}
 .studio-native #sandbox-root .sandbox-filebar{padding:12px!important;gap:8px}
 .studio-native #sandbox-root .sandbox-filebar button{min-height:44px;font-size:13px}
 .native-workspace :is(input,textarea,select){font-size:16px}
}

@media(max-width:359px){
 :root,:root.tb-phone{--tb-pad:16px}
 .tb-nav .tb-nav-content{column-gap:8px!important}
 .tb-nav .tb-nav-right>:is(.tb-bell,.account-entry){width:36px!important}
}

/* Section preview chrome is shared by restored site previews. */
html[data-theme=dark] .cs-sheet-head{background:#0b0b0b;color:#ededed}
html[data-theme=dark] .cs-sheet-head>div>a{color:#a3a3a3}
html[data-theme=dark] .cs-sheet-head>button{background:#262626;color:#ededed}
@media(max-width:700px){
 .cs-section-actions{justify-content:flex-start;gap:8px}
 .cs-section-actions>button{min-width:0;min-height:44px;padding-inline:12px;font-size:12px;white-space:nowrap}
 .cs-section-actions>[data-save]{flex:0 0 auto}
 .cs-section-actions>:is([data-cs-link],[data-lp-link]){flex:0 0 auto}
 .cs-section-actions>a{flex-basis:100%;text-align:right}
}

/* Search destinations are connected browser tabs above the search field. */
.tb-palette{--search-surface:#242424;--search-tabs:#171717;--search-muted:#a7a7a7;--search-text:#fff}
:root:not([data-theme=dark]) .tb-palette{--search-surface:#fff;--search-tabs:#e9e9eb;--search-muted:#676767;--search-text:#141414}
:root .tb-palette [data-part="paletteGrid"]{display:flex!important;flex-direction:column!important;overflow:hidden!important;background:var(--search-tabs)!important;gap:0!important}
.tb-palette .tb-search-tabs{display:flex;flex:none;align-items:end;gap:6px;padding:10px 12px 0;min-width:0}
.tb-palette .tb-search-tabs .tb-kind{position:relative;isolation:isolate;flex:1 1 0;min-width:0;max-width:220px;width:auto;height:44px;padding:0 12px;border:0;border-radius:12px 12px 0 0;background:transparent;color:var(--search-muted)!important;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
:root .tb-palette .tb-search-tabs .tb-kind[aria-selected=true]{background:var(--search-surface);color:var(--search-text)!important}
.tb-palette .tb-kind[aria-selected=true]::before,.tb-palette .tb-kind[aria-selected=true]::after{content:"";position:absolute;bottom:0;width:10px;height:10px;pointer-events:none}
.tb-palette .tb-kind[aria-selected=true]::before{left:-10px;border-radius:0 0 10px 0;box-shadow:4px 4px 0 4px var(--search-surface)}
.tb-palette .tb-kind[aria-selected=true]::after{right:-10px;border-radius:0 0 0 10px;box-shadow:-4px 4px 0 4px var(--search-surface)}
.tb-palette .tb-search-tabs .tb-kind:focus-visible{outline-offset:-4px}
.tb-palette .tb-search-panel{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;background:var(--search-surface)}
.tb-palette .tb-search-panel [data-part="paletteHead"]{flex:none;min-width:0}
.tb-palette .tb-search-panel [data-part="paletteInputWrap"]{flex:1;min-width:0;width:auto!important}
.tb-palette .tb-search-panel [data-part="paletteBody"]{flex:1 1 auto;min-height:0;overflow:hidden}
@media(max-width:600px){
 .tb-palette .tb-search-tabs{gap:4px;padding:10px 8px 0}
 .tb-palette .tb-search-tabs .tb-kind{max-width:none;font-size:clamp(11px,3.25vw,14px);padding:0 4px}
}
