/* Match the existing 45px shortcuts row, with fixed actions and scrollable navigation. */
.mobile-item-row{display:none}
@media(max-width:900px){
 html.botani-js:has(main .item-nav-cards):not([data-plant-panel]){--botani-dock-height:108px}
 html.botani-js:not([data-plant-panel]) body:has(.mobile-dock) main .item-nav-cards{display:none!important}
 html.botani-js:not(.mobile-item-dock-ready):not([data-plant-panel]) body:has(main .item-nav-cards) .mobile-dock:not(:has(.plant-section-menu))::before{content:"";display:block;height:45px;flex:none}
 .site-header .mobile-item-row{display:flex;align-items:center;flex:none;gap:4px;box-sizing:border-box;width:100%;height:45px;padding:0 3px 3px;border-bottom:1px solid #dce4d4;overflow:hidden}
 .site-header .mobile-item-scroll{display:flex;align-items:center;flex:1 1 0;min-width:0;height:40px;overflow-x:auto;overflow-y:hidden;gap:7px;scrollbar-width:none;overscroll-behavior-x:contain}
 .mobile-item-scroll::-webkit-scrollbar{display:none}
 .site-header .mobile-item-crumbs{display:block;order:0;width:max-content;min-width:0;flex:none;margin:0;padding:0;color:#204532}
 .site-header .mobile-item-crumbs .item-nav-grid{display:flex;width:auto;max-width:none;gap:4px}
 .site-header .mobile-item-crumbs .item-nav-card{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;flex:none;width:auto;height:40px;min-height:0;padding:0 8px;gap:5px;border:1px solid #dce4d4!important;border-radius:9px;background:#edf1e6;font:500 10px/1.2 Arial,sans-serif;white-space:nowrap}
 .site-header .mobile-item-crumbs .item-nav-art{width:22px;height:22px;aspect-ratio:1;border:0;background:transparent;border-radius:5px;flex:none;box-sizing:border-box}
 .site-header .mobile-item-crumbs .item-nav-art>svg{width:17px;height:17px}
 .site-header .mobile-item-crumbs .item-nav-label{display:block;min-height:0;height:auto;overflow:visible;white-space:nowrap}
 .site-header .mobile-item-row .plant-section-menu{width:auto;min-width:max-content;flex:none;height:40px;padding:0;border:0;gap:3px}
 .site-header .mobile-item-row .plant-section-menu>a{box-sizing:border-box;flex:none;height:40px;min-height:40px;font-size:10px;padding:0 8px}
 .site-header .mobile-item-actions{display:flex;flex:none;align-items:center;gap:2px;height:40px;margin-left:auto}
 .site-header .mobile-item-actions:empty{display:none}
 .site-header .mobile-item-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:40px;min-height:0;padding:8px;border:1px solid #dce4d4;border-radius:9px;background:#edf1e6;color:#36533c;cursor:pointer;text-decoration:none;touch-action:manipulation}
 .site-header .mobile-item-action[hidden]{display:none!important}
 .site-header .mobile-item-action>svg{width:18px;height:18px;flex:none}
 .site-header .mobile-item-action[aria-pressed=true]{background:#dce8ce;color:#204532;border-color:#98ad87}
 .site-header .mobile-item-action[aria-pressed=true]>svg{fill:#b9cea3}
 .site-header .mobile-item-action:disabled{opacity:.5;cursor:wait}
 html[data-botani-theme=dark] .site-header .mobile-item-row{border-color:#3b5641}
 html[data-botani-theme=dark] .site-header .mobile-item-crumbs{color:#e6efdf}
 html[data-botani-theme=dark] .site-header .mobile-item-crumbs .item-nav-card{background:#294a38;border-color:#45634f!important}
 html[data-botani-theme=dark] .site-header .mobile-item-action{background:#294a38;border-color:#45634f;color:#e2eddd}
 html[data-botani-theme=dark] .site-header .mobile-item-action[aria-pressed=true]{background:#3c5d41;color:#edf4e8;border-color:#78966c}
}

/* Hide only actions that have a working counterpart in the mobile dock. */
@media(max-width:900px){
 html.mobile-item-dock-ready main [data-mobile-item-original]{display:none!important}
 html.mobile-item-dock-ready main .plant-title-actions{display:none}
 main[data-mobile-item-kind=plant] .vxp-copy{text-align:center}
 main[data-mobile-item-kind=plant] .plant-title-row{justify-content:center}
 main[data-mobile-item-kind=plant] .plant-title-row h1{flex-basis:auto;width:100%;text-align:center}
 main[data-mobile-item-kind=plant] .vxp-copy>.vxp-price{justify-content:center;text-align:center}
 main[data-mobile-item-kind=plant] .vxp-pot-options{justify-content:center}
 main[data-mobile-item-kind=plant] .vxp-copy>.vxp-status{margin-inline:auto}
 main[data-mobile-item-kind=equipment] .eq-detail-copy>:is(h1,p),
 main[data-mobile-item-kind=place] .pl-detail-hero>div:nth-child(2),
 main[data-mobile-item-kind=event] .ev-detail-content>:is(h1,p){text-align:center}
 main[data-mobile-item-kind=equipment] .eq-detail-copy>.eq-card-controls,
 main[data-mobile-item-kind=place] .pl-detail-hero :is(.pl-controls,.pl-tags,.pl-links),
 main[data-mobile-item-kind=event] .ev-detail-content>:is(.ev-row,.ev-chip-row,.ev-countdown-detail){justify-content:center;text-align:center}
 main[data-mobile-item-kind=event] .ev-detail-content>h1+button{display:flex;margin-inline:auto}
 main[data-mobile-item-kind=people] .profile-dashboard .pd-header{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
 main[data-mobile-item-kind=people] .pd-header-actions{justify-content:center;max-width:none}
 main[data-mobile-item-kind=people] .pd-header-actions small{text-align:center}
 main[data-mobile-item-kind=trip]>.trip-heading,
 main[data-mobile-item-kind=trip]>.pl-toolbar{flex-direction:column;align-items:center;text-align:center;gap:12px}
 main[data-mobile-item-kind=trip] .trip-heading-actions,
 main[data-mobile-item-kind=trip]>.pl-toolbar>.pl-row{justify-content:center}
 main[data-mobile-item-kind=trip].trip-shared-page>:is(h1,p){text-align:center}
}
