/* Business Only uses the same visual system, chrome and 5-column layout as Rider.
   The difference is in destinations and permissions, not the component styles. */
.bottom-nav.business-only-native-nav{grid-template-columns:repeat(5,minmax(0,1fr));z-index:35}
.business-only-native-nav .nav-btn{min-width:0}
.business-only-native-nav .nav-btn:focus-visible{outline:2px solid var(--orange);outline-offset:-3px}
.business-only-native-nav .nav-btn small{white-space:nowrap}
.bow-workspace{background:linear-gradient(180deg,#e9e5df 0%,#e5e0d9 100%);color:var(--text)}
.bow-topbar{width:auto}
.bow-user-chip{min-width:0;max-width:min(44vw,250px)}
.bow-user-chip span{min-width:0}
.bow-user-chip strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bow-main{width:100%;padding-bottom:calc(var(--nav) + 28px)}
.bow-feed{max-width:100%}
.bow-feed-tab-active{position:relative;display:inline-block;padding:8px 0;color:#242321;font-size:13px;font-weight:750}
.bow-feed-tab-active:after{content:"";position:absolute;left:0;right:0;bottom:-13px;height:3px;border-radius:3px;background:var(--orange)}
.bow-pro-composer{cursor:pointer}
.bow-pro-composer .home-feed-composer-icon{font-size:26px;background:#2d2926;box-shadow:none}
.bow-pro-composer .home-feed-composer-cta{white-space:nowrap}
.bow-pro-composer:focus-visible,.bow-chat-refresh:focus-visible,.bow-account-business select:focus-visible{outline:3px solid rgba(232,103,24,.32);outline-offset:2px}
.bow-status{font-size:12px;color:#6c655e;margin:4px 1px 12px}
.bow-status:empty{display:none}
.bow-post{margin-bottom:13px}
.bow-post .post-head{justify-content:space-between}
.bow-post .post-author{display:flex;align-items:center;gap:10px;min-width:0}
.bow-post .post-author .grow{min-width:0}
/* Reuse the Rider post media/carousel layout without Business-specific overrides. */
.bow-post .post-carousel{width:100%}
.bow-post-actions [data-bow-interactions-pro]{cursor:pointer}
.bow-post .bow-post-foot{margin:0 14px;padding:10px 2px 13px;border-top:1px solid #e6ded4;color:#7f7770;font-size:11px}
.bow-avatar-fallback{display:grid;place-items:center;color:#d75f16;font-size:18px;font-weight:900}
.bow-load-more{max-width:320px;margin:13px auto 20px}
.bow-chat-controls{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.bow-chat-controls .chat-inbox-search{flex:1;min-width:0}
.bow-chat-refresh{flex:none;min-height:42px;padding:0 13px;border:1px solid #e1d8cd;border-radius:12px;background:#fff;color:#bc5718;font-size:12px;font-weight:750;cursor:pointer}
.bow-thread[hidden]{display:none!important}
.bow-account-hero{margin-bottom:4px}
.bow-account-identity{display:flex;align-items:center;gap:14px;padding:17px}
.bow-account-identity .grow{min-width:0}
.bow-account-identity .name{font-size:19px}
.bow-account-identity .meta{font-size:12px;overflow-wrap:anywhere}
.bow-account-avatar{display:grid;place-items:center;width:66px;height:66px;flex:0 0 66px;background:#fff0e3;color:#ca5b10;border:2px solid #f6c9a3;border-radius:50%;font-weight:900;font-style:italic;font-size:28px}
.bow-account-pill{display:inline-block;margin-top:8px;padding:5px 9px;border:1px solid #ecd1bb;border-radius:99px;background:#fff6ef;color:#b3541e;font-size:11px;font-weight:750}
.bow-account-business{border-color:#dfd6cb}
.bow-account-business .settings-list{gap:7px}
.bow-label{display:block;font-weight:750;font-size:12px;margin:0 0 7px;color:#665e55}
.bow-select{width:100%;min-height:46px;margin-bottom:13px;padding:10px 12px;border:1px solid #d9d0c6;border-radius:12px;background:#fff;color:#282523;font:inherit;font-size:14px}
.bow-workspace .settings-list button,.bow-workspace .settings-list a{border-color:#e4ddd4;background:#fff;color:#282622;min-height:59px}
.bow-workspace .settings-list button:hover,.bow-workspace .settings-list a:hover{background:#fffaf5;border-color:#e9bf9b}
.bow-workspace .settings-list small{color:#77716b;font-size:11px}
.bow-workspace .settings-list b{color:#b85b22}
.bow-workspace .settings-list>button>span,.bow-workspace .settings-list>a>span{width:36px;font-size:21px}
.bow-account-exit{margin:24px 0 15px}
.bow-account-exit .bow-logout{border-color:#d7b4a5;color:#b5412a}
@media(max-width:600px){
  .bow-user-chip{max-width:none;min-width:0;padding-left:0}
  .bow-user-chip img{width:36px;height:36px;flex:0 0 36px}
  .bow-user-chip span{display:none}
  .bow-user-chip strong{max-width:100%;font-size:11px}
  .bow-user-chip small,.bow-user-chip em{display:none}
  .bow-main{padding-bottom:calc(var(--nav) + 20px)}
  .bow-account-identity{padding:14px}
  .bow-account-avatar{width:54px;height:54px;flex-basis:54px}
}
@media(max-width:370px){
  .bow-user-chip{max-width:none}
  .bow-user-chip img{width:34px;height:34px;flex-basis:34px}
  .bow-user-chip strong{font-size:10px}
  .bow-pro-composer .home-feed-composer-cta{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.business-only-native-nav .nav-btn{transition:none}}

/* Stories on Business Only: familiar Rider tray, strictly read-only. */
.bow-stories-section{margin:0 0 16px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.bow-stories-section[hidden]{display:none!important}
.bow-stories{min-height:106px;gap:13px;padding:14px 2px 15px}
.bow-story-item{min-height:92px}
.bow-story-item .story-ring{width:68px;height:68px}
.bow-story-item:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:12px}
.bow-story-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(100vw,520px);height:min(100dvh,940px);max-width:none;max-height:none;border:0;border-radius:16px;color:#fff;background:#101010;overflow:hidden;box-shadow:0 20px 90px rgba(0,0,0,.5)}
.bow-story-dialog::backdrop{background:rgba(12,10,9,.93);backdrop-filter:blur(9px)}
.bow-story-stage{position:relative;width:100%;height:100%;background:#111;overflow:hidden}
.bow-story-media{position:absolute;inset:0;display:grid;place-items:center;background:#111}
.bow-story-media img,.bow-story-media video{display:block;width:100%;height:100%;object-fit:contain}
.bow-story-media:after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.52),transparent 25%,transparent 60%,rgba(0,0,0,.62))}
.bow-story-progress{position:absolute;top:max(8px,env(safe-area-inset-top));left:13px;right:13px;z-index:5;display:flex;gap:5px}
.bow-story-progress i{display:block;flex:1;height:3px;border-radius:4px;background:rgba(255,255,255,.35)}
.bow-story-progress i.done{background:#fff}
.bow-story-head{position:absolute;top:max(20px,calc(env(safe-area-inset-top) + 12px));left:14px;right:12px;z-index:5;display:flex;align-items:center;gap:10px}
.bow-story-head img{flex:none;width:40px;height:40px;object-fit:cover;border:2px solid rgba(255,255,255,.85);border-radius:50%}
.bow-story-head strong{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;text-shadow:0 1px 8px #000}
.bow-story-head button{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,0,0,.35);color:#fff;font-size:29px;cursor:pointer}
.bow-story-head button:focus-visible,.bow-story-actions button:focus-visible{outline:2px solid #ffa05c;outline-offset:2px}
.bow-story-caption{position:absolute;bottom:max(105px,calc(env(safe-area-inset-bottom) + 88px));z-index:5;left:23px;right:23px;margin:0;color:#fff;font-size:16px;font-weight:650;line-height:1.45;text-align:center;text-shadow:0 2px 10px #000;overflow-wrap:anywhere}
.bow-story-actions{position:absolute;left:12px;right:12px;bottom:max(16px,env(safe-area-inset-bottom));z-index:6;display:flex;align-items:center;justify-content:space-between;gap:8px}
.bow-story-actions button{flex:none;width:40px;height:44px;border-radius:13px;border:1px solid rgba(255,255,255,.25);background:rgba(30,30,30,.55);color:#fff;font-size:30px;cursor:pointer}
.bow-story-actions button:disabled{opacity:.27;cursor:default}
.bow-story-actions span{flex:1;max-width:260px;font-size:11px;text-align:center;color:#ebdfd5;line-height:1.4;padding:7px 10px;border-radius:999px;background:rgba(26,24,23,.68)}
/* Business First Ride: use shared Rider typography and motion, without a duplicate design system. */
.bow-guide-slot{margin:14px 0 13px}
.bow-guide{margin:0;box-shadow:0 6px 22px rgba(49,38,29,.05)}
.bow-guide .first-ride-step{touch-action:manipulation}
.bow-guide .first-ride-step:focus-visible,.bow-guide .first-ride-continue:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.bow-post .bow-post-foot{display:flex;align-items:center;justify-content:space-between;gap:11px;flex-wrap:wrap}
.bow-engagement-locked{border:1px solid #e9d4c3;background:#fff8f2;border-radius:10px;padding:7px 9px;color:#806754;cursor:pointer;font:inherit;font-size:11px;white-space:nowrap}
.bow-engagement-locked b{color:#c65716;font-weight:850;letter-spacing:.03em}
.bow-engagement-locked:hover,.bow-engagement-locked:focus-visible{background:#fff0e4;border-color:#e9a77a;outline-offset:2px}
@media(max-width:600px){
  .bow-stories-section{padding:0}
  .bow-stories{gap:10px;padding:11px 1px 12px}
  .bow-story-dialog{width:100%;height:100dvh;border-radius:0}
  .bow-guide .first-ride-title{font-size:18px}
  .bow-post .bow-post-foot{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.bow-story-dialog,.bow-guide *{animation:none!important;scroll-behavior:auto!important}}

/* Rider-style Business home hierarchy: stories, then setup banner, then a post-only Feed card. */
.bow-main>.bow-stories-section{margin:5px 0 12px}
.bow-main>.bow-guide-slot{margin:0 0 13px}
.bow-main>.bow-guide-slot:empty{display:none}
.bow-main>.bow-feed{margin-top:0}
.bow-stories-loading .bow-stories{display:flex;align-items:flex-start;gap:13px}
.bow-story-skeleton{display:block;flex:0 0 68px;width:68px;height:68px;border-radius:50%;
  border:4px solid #ece2d8;background:linear-gradient(100deg,#ece6df 20%,#faf7f2 45%,#ece6df 70%);
  background-size:200% 100%;animation:bow-story-loading 1.5s ease-in-out infinite}
@keyframes bow-story-loading{to{background-position-x:-200%}}
@media(max-width:600px){.bow-main>.bow-stories-section{margin-top:2px}.bow-story-skeleton{flex-basis:60px;width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.bow-story-skeleton{animation:none}}


/* Unified Business management: one destination, compact task-first information hierarchy. */
.bow-management{max-width:720px;margin:0 auto;padding:0 0 12px}
.bow-management-title{margin:4px 0 17px}
.bow-management-overline{font-size:10px;font-weight:850;letter-spacing:.14em;color:#ad531b}
.bow-management-title h1{margin:4px 0;font-size:28px;line-height:1.15;letter-spacing:-.025em}
.bow-management-title p{margin:4px 0 0;color:#756f69;font-size:13px}
.bow-management-identity{display:grid;gap:13px;padding:16px;border:1px solid #e3d9cd}
.bow-management-business{display:flex;align-items:center;gap:13px;min-width:0}
.bow-management-business img{width:58px;height:58px;flex:0 0 58px;border-radius:14px;object-fit:cover;background:#f5ede4}
.bow-management-business .grow{display:grid;gap:5px;min-width:0}
.bow-management-business strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.bow-management-business small{font-size:12px;color:#776e66}
.bow-management-public{width:100%;min-height:43px;border-radius:11px;font-size:13px;font-weight:750}
.bow-management-public span{margin-left:4px}
.bow-management-switch{margin-top:13px}
.bow-management-switch .bow-select{margin:0;font-size:16px}
.bow-management-heading{margin:22px 0 9px}
.bow-management-heading h2{font-size:16px;letter-spacing:-.01em}
.bow-management-list{padding:3px 15px;overflow:hidden;border:1px solid #e3d9ce}
.bow-manage-row{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #eee7df;text-align:left;color:#2d2925;font:inherit;cursor:pointer}
.bow-manage-row:last-child{border-bottom:0}
.bow-manage-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#fff1e7;color:#b75b24}
.bow-manage-icon svg{width:22px;height:22px}
.bow-manage-copy{display:grid;gap:3px;flex:1;min-width:0}
.bow-manage-copy strong{font-size:13px;font-weight:780}
.bow-manage-copy small{font-size:11px;color:#81786e;line-height:1.4}
.bow-manage-chevron{font-size:22px;color:#b65b24}
.bow-manage-row:disabled{opacity:.52;cursor:default}
.bow-manage-row:focus-visible,.bow-management-public:focus-visible,.bow-management-businesses:focus-visible,.bow-return-rider:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.bow-management-links{display:flex;margin:13px 0 22px}
.bow-management-businesses{width:100%;min-height:44px;border-radius:12px;font-size:13px}
.bow-management-preferences{padding:0 15px;overflow:hidden}
.bow-management-preferences>summary{display:flex;align-items:center;justify-content:space-between;min-height:57px;font-size:14px;font-weight:750;cursor:pointer;list-style:none}
.bow-management-preferences>summary::-webkit-details-marker{display:none}
.bow-management-preferences[open]>summary{border-bottom:1px solid #e8ded3}
.bow-management-account-email{padding:13px 0 7px;font-size:12px;color:#7d736c;overflow-wrap:anywhere}
.bow-management-preferences .settings-list{padding:4px 0 14px}
.bow-management-danger{padding:12px 0 16px;border-top:1px solid #e8ded3}
.bow-management-danger summary{cursor:pointer;color:#9b3d2b;font-size:12px;font-weight:750;padding-bottom:8px}
.bow-management-danger .danger{margin-top:12px}
.bow-return-rider{margin-top:20px;min-height:46px;border-radius:12px}
.bow-management .bow-account-exit{margin-top:15px}
@media(max-width:600px){.bow-management-title h1{font-size:25px}.bow-management-identity{padding:14px}.bow-management-list{padding:2px 12px}.bow-manage-row{min-height:71px}}

/* The shared Story viewer retains Rider hit-zones, timing and fullscreen layout. */
.bow-business-story-viewer .bow-story-upgrade{display:flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:46px;height:46px;padding:0 18px;border:1px solid rgba(255,176,113,.28);border-radius:999px;background:rgba(35,28,25,.48);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);color:#fff;font-size:12px;font-weight:700;cursor:pointer}
.bow-business-story-viewer .bow-story-upgrade:focus-visible{outline:2px solid #ffa05c;outline-offset:2px}

/* Business own-story badges live OUTSIDE the clipped image ring. */
.bow-stories{overflow-y:hidden}
.bow-story-own{position:relative;overflow:visible;padding-top:0;align-content:start;cursor:default}
.bow-story-own .story-ring{position:relative;overflow:hidden}
.bow-story-view-own{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.bow-story-view-own[hidden]{display:none!important}
.bow-story-own .bow-story-add{position:absolute;z-index:8;top:calc(70px - 22px);right:1px;bottom:auto;left:auto}
.bow-story-view-own:focus-visible,.bow-story-add:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.bow-story-plan-label{position:absolute;top:0;left:0;z-index:9;display:inline-flex;align-items:center;padding:3px 5px;border-radius:6px;background:#352923;color:#fff;font-size:9px;font-weight:850;letter-spacing:.01em;line-height:1;white-space:nowrap;pointer-events:none}
.bow-story-plan-label[hidden]{display:none!important}
@media(max-width:760px){.bow-story-own .bow-story-add{top:calc(64px - 20px)}}
@media(max-width:390px){.bow-story-own .bow-story-add{top:calc(60px - 19px)}.bow-story-plan-label{font-size:8px;padding:3px 4px}}
/* Keep the paid-plan badge on the Chat nav readable, not a decorative orange dot. */
.bottom-nav.business-only-native-nav .nav-btn[data-business-tab="chat"]{position:relative}
.bottom-nav.business-only-native-nav .bow-chat-plan-badge{position:absolute;z-index:2;top:-1px;left:50%;transform:translateX(-50%);padding:2px 4px;background:#e96a24;color:#fff;border:1px solid #f7ae78;border-radius:5px;font-size:7px;line-height:1;font-weight:850;letter-spacing:0;white-space:nowrap;pointer-events:none}
.bottom-nav.business-only-native-nav .bow-chat-plan-badge[hidden]{display:none!important}
.bottom-nav.business-only-native-nav .nav-badge[hidden]{display:none!important}
/* Canonical Commerce navigation, filters and cards are styled by commerce-store-native.css. */
.bow-store-native .cqa-business-head{display:block}
.bow-store-native .cqa-business-header-tabs,.bow-store-native .cqa-business-subtabs{display:flex;gap:8px;flex-wrap:wrap}
.bow-store-native .cqa-business-header-tabs{margin-top:12px}
.bow-store-native .cqa-business-subtabs{margin-top:8px}
.bow-store-native .cqa-content{overflow:visible}
.bow-store-native .cqa-content .cqa-section-line{margin-top:14px}
.bow-store-native .cqa-business-helper{margin:12px 0}
.bow-store-native .bow-native-store-cards{display:grid;gap:11px}
.bow-store-native .cqa-seller-card{display:flex;align-items:center;gap:12px;min-width:0}
.bow-store-native .bow-store-cover{width:55px;height:55px;flex:none;border-radius:11px;object-fit:cover;background:#eee6de}
.bow-store-native .bow-store-no-cover{display:grid;place-items:center;color:#ba6c35;font-size:24px}
.bow-store-native .cqa-seller-name{flex:1}
.bow-store-native .cqa-seller-name strong{font-size:13px;overflow-wrap:anywhere}
.bow-store-native .cqa-seller-name small{display:block;margin-top:4px;color:#81766c;font-size:11px}
.bow-store-native .cqa-business-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.bow-store-native .cqa-stat b{font-size:17px}
.bow-store-native .bow-native-store-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bow-store-native .bow-native-store-actions .cqa-action,.bow-store-native .bow-native-store-actions .cqa-outline{font-size:11px}
.bow-store-native .bow-store-plan{font-size:9px;font-weight:850}
.bow-store-native .bow-store-plan[hidden]{display:none!important}
.bow-store-native .cqa-empty{padding:24px 13px}
@media(max-width:390px){.bottom-nav.business-only-native-nav .bow-chat-plan-badge{font-size:6.5px}.bow-store-native .cqa-business-stats{grid-template-columns:1fr}}
/* Share the polished story tray; keep Business restrictions and the Pro cue readable. */
.bow-stories{scroll-padding-inline:8px;-webkit-overflow-scrolling:touch}
.bow-stories .bow-story-own .story-ring{overflow:hidden}
.bow-story-plan-label{top:1px;left:1px;box-shadow:0 2px 7px rgba(0,0,0,.13)}
.bow-story-item .story-ring.unseen{box-shadow:0 3px 12px rgba(255,102,0,.17)}

/* Use exactly the Rider tray vertical rhythm, including compact phone padding. */
.bow-main > .bow-stories-section{margin:0}
.bow-stories{
  min-height:0;gap:17px;padding:14px 2px 15px;
}
.bow-story-item{min-height:0}
.bow-story-item .story-ring{width:70px;height:70px}
@media(max-width:760px){
  .bow-stories{gap:10px;padding:11px 1px 12px}
}
