/* Calken v148: phone app shell. Phones only. Uses the site's own colour variables, so light and dark both work. */
#mob-tabs,#mob-sheet,#mob-scrim,.mob-back,.mob-title,.mob-search{display:none}
@media (max-width:760px){
  /* the old phone chrome steps aside */
  html body #cx-dock,html body #tabbar,html body #appbar{display:none!important}
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}

  /* header: back or logo on the left, where you are in the middle, bell and bag on the right */
  html body #cx-chrome .cx-bar{display:flex!important;align-items:center;gap:8px;justify-content:flex-start;height:auto!important;min-height:56px;padding:calc(8px + var(--cx-safe-t,env(safe-area-inset-top,0px))) 12px 8px!important;
    background:linear-gradient(var(--bg) 70%,transparent)!important;border:0!important;border-radius:0!important;width:auto!important;left:0!important;right:0!important;top:0!important;transform:none!important;max-width:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:none}
  html.cx-home:not(.cx-scrolled) body #cx-chrome .cx-bar{background:none!important}
  html body #cx-chrome .cx-bar>*{pointer-events:auto}
  html body #cx-chrome .cx-bar .cx-nav,html body #cx-chrome .cx-bar .cx-ic-more,html body #cx-chrome .cx-bar [data-cx-pill]{display:none!important}
  html body #cx-chrome .cx-bar .cx-logo{display:none!important}
  html body.mob-root #cx-chrome .cx-bar .cx-logo{display:flex!important;align-items:center;height:40px}
  html body.mob-root #cx-chrome .cx-bar .cx-logo img{height:24px;width:auto}
  .mob-back{display:none;place-items:center;flex:none;width:40px;height:40px;padding:0;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--bg) 78%,transparent);color:var(--ink);cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  body.mob-sub .mob-back{display:grid}
  .mob-back svg,.mob-search svg,#mob-tabs svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .mob-title{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font:500 17px/1.2 var(--sans);letter-spacing:-.01em;color:var(--ink)}
  .mob-title img{flex:none;border-radius:6px}
  .mob-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html body #cx-chrome .cx-bar .cx-right{margin-left:auto;display:flex;gap:8px}
  html body #cx-chrome .cx-bar .cx-ic{pointer-events:auto;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,var(--bg) 78%,transparent);color:var(--ink);border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  html.cx-home:not(.cx-scrolled) body #cx-chrome .cx-bar .cx-ic,html.cx-home:not(.cx-scrolled) .mob-back{background:rgba(17,17,16,.5);color:#f3efe7;border-color:rgba(243,239,231,.18)}
  body.mob-has-search .mob-search{display:grid}
  html.cx-nav:not(.cx-home) body main#app,html.cx-nav:not(.cx-home) body.has-xnav main#app{padding-top:calc(64px + var(--cx-safe-t,env(safe-area-inset-top,0px)))!important}

  /* a product's own tabs, one quiet row under the header. Its name is in the header now. */
  html body main#app #eco-head{position:relative;top:auto;margin:0 0 6px;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:block}
  html body main#app #eco-head::before,html body main#app #eco-head::after{display:none!important}
  html body main#app #eco-head .eco-id,html body main#app #eco-head .eco-home{display:none!important}
  html body main#app #eco-head .eco-nav{display:flex;gap:22px;overflow-x:auto;scrollbar-width:none;padding:0;margin:0 16px;background:none!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}
  html body main#app #eco-head .eco-nav::-webkit-scrollbar{display:none}
  html body main#app #eco-head .eco-nl{flex:none;padding:12px 0!important;border-radius:0!important;background:none!important;color:var(--dim)!important;border-bottom:2px solid transparent!important;margin-bottom:-1px;font-size:14px}
  html body main#app #eco-head .eco-nl.on{color:var(--ink)!important;border-bottom-color:var(--eco-a,var(--ink))!important;font-weight:500}
  body.mob-tabs1 main#app #eco-head{display:none!important}
  /* search: behind its icon. The page's own tabs (account, company) stay, as one quiet row. */
  main#app .tpage-bar{margin:0 0 6px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  main#app .tpage-bar .td-search{display:none!important}
  body.mob-s main#app .tpage-bar .td-search{display:block!important;position:fixed;top:calc(60px + env(safe-area-inset-top,0px));left:12px;right:12px;z-index:70;margin:0!important}
  html.cx-nav body main#app .tpage-bar.td-mob nav.td-tabs.tp-tabs{display:flex!important;gap:22px;overflow-x:auto;scrollbar-width:none;box-sizing:border-box;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:16px!important;padding-right:16px!important;background:none!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}
  html.cx-nav body main#app .tpage-bar.td-mob nav.td-tabs.tp-tabs::-webkit-scrollbar{display:none}
  html.cx-nav body main#app .tpage-bar.td-mob nav.td-tabs.tp-tabs a{flex:none;padding:12px 0!important;border-radius:0!important;background:none!important;color:var(--dim)!important;font-size:14px;border:0!important}
  html.cx-nav body main#app .tpage-bar.td-mob nav.td-tabs.tp-tabs a.on{color:var(--ink)!important;font-weight:500}
  /* updates: one slim line, "See all" opens the rest */
  .nt-strip{padding:10px 14px!important;margin:0 16px 12px}
  .nt-strip .nt-l{display:none!important}
  .nt-strip .nt-s-h{margin:0}
  /* Ask Calken sits above the tabs and out of the way */
  #sy-fab{bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;right:14px!important;width:48px!important;height:48px!important}

  /* Explore: the places first, one per row, each with its line */
  main#app .xp-head p,main#app .xp-head .xp-top>div+*{display:none!important}
  main#app .xp-head{padding-bottom:0!important}
  main#app .ow-hub{margin:8px 16px 26px}
  main#app .ow-hub-g{grid-template-columns:minmax(0,1fr)!important;gap:0}
  main#app .ow-hub-i{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:16px 4px;column-gap:14px}
  main#app .ow-hub-i span{display:block!important;opacity:.7}
  main#app .ow-hub-i i{grid-row:span 2;margin-top:7px}

  body.mob-open #ck-ownerbar{visibility:hidden}

  /* tabs */
  #mob-tabs{display:flex;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:60;height:66px;padding:4px;background:color-mix(in srgb,var(--bg) 86%,transparent);border:1px solid var(--line);border-radius:26px;-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3)}
  #mob-tabs>*{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:none;color:var(--dim);font:500 10.5px/1 var(--sans);letter-spacing:.06em;text-decoration:none;border-radius:22px;min-height:52px;cursor:pointer}
  #mob-tabs .on,#mob-tabs [aria-expanded=true]{color:var(--ink);background:var(--line-soft)}
  body.mob-open #mob-tabs .on:not([aria-expanded=true]){background:none;color:var(--dim)}
  #mob-tabs>*:focus-visible,#mob-sheet a:focus-visible,.mob-back:focus-visible{outline:2px solid var(--chrome,var(--ink));outline-offset:2px}
  #mob-scrim{display:block;position:fixed;inset:0;z-index:58;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .2s}
  #mob-sheet{display:block;position:fixed;left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:59;max-height:calc(100dvh - 190px);overflow:auto;padding:6px 8px 8px;background:var(--bg);border:1px solid var(--line);border-radius:22px;transform:translateY(12px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
  body.mob-open #mob-scrim{opacity:1;pointer-events:auto}
  body.mob-open #mob-sheet{opacity:1;transform:none;pointer-events:auto}
  #mob-sheet h2{margin:12px 12px 4px;font:500 10.5px/1 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--faint)}
  #mob-sheet a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:8px 12px;color:var(--ink);text-decoration:none;border-top:1px solid var(--line-soft)}
  #mob-sheet h2+a{border-top:0}
  #mob-sheet a span{display:grid;gap:3px;min-width:0}#mob-sheet a b{font:500 16px/1.2 var(--sans)}#mob-sheet a small{font:400 12.5px/1.3 var(--sans);color:var(--dim)}
  #mob-sheet a i{font-style:normal;color:var(--faint);font-size:20px}
  #mob-sheet a[aria-current=page] b::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--ink);vertical-align:middle}
}
@media (prefers-reduced-motion:reduce){#mob-scrim,#mob-sheet{transition:none}}

/* v149 */
/* Phone product pages: same look, app rhythm. Cards, thumb-sized controls, compact headers. */
@media (max-width:760px){
 html.eco main#app{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 /* compact hero */
 html.eco main#app .ow-plan{padding:8px 16px 28px;gap:18px}
 html.eco main#app .ow-plan-intro h1,html.eco main#app .page-head h1{font-size:clamp(28px,8.2vw,34px);line-height:1.08;letter-spacing:-.03em;margin-top:8px;max-width:none}
 html.eco main#app .ow-plan-intro>p,html.eco main#app .page-head .lede{font-size:15.5px;line-height:1.5;margin-top:10px}
 html.eco main#app .page-head{padding-top:12px;padding-bottom:12px}
 html.eco main#app .ow-plan{grid-template-columns:minmax(0,1fr)}
 html.eco main#app .ow-plan-intro,html.eco main#app .ow-form{min-width:0;max-width:100%}
 /* steps become a swipe row of small cards */
 html.eco main#app .ow-steps{display:flex;gap:10px;overflow-x:auto;margin:18px -16px 0;padding:2px 16px 6px;border-top:0;scroll-snap-type:x mandatory;scroll-padding-left:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 html.eco main#app .ow-steps::-webkit-scrollbar{display:none}
 html.eco main#app .ow-steps li{flex:0 0 76%;scroll-snap-align:start;display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--pt-line);border-radius:18px;background:var(--pt-soft)}
 html.eco main#app .ow-steps li:before{padding-top:0;margin-bottom:2px}
 html.eco main#app .ow-fee{margin-top:12px;font-size:13px}
 /* the form is the app sheet */
 html.eco main#app .ow-form{padding:18px 16px 20px;border-radius:22px;gap:14px}
 html.eco main#app .ow-form h2{font-size:20px}
 html.eco main#app .ow-row{grid-template-columns:1fr 1fr;gap:10px}
 html.eco main#app .ow-row.ow-budget{grid-template-columns:1fr}
 html.eco main#app .ow-f input,html.eco main#app .ow-f select,html.eco main#app .ow-f textarea{min-height:48px;border-radius:14px;font-size:16px}
 html.eco main#app .ow-chips span{padding:11px 16px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
 html.eco main#app .ow-send,html.eco main#app .ow-form .btn.fill{justify-self:stretch;width:100%;min-height:52px;font-size:15px}
 /* generic cards and buttons */
 html.eco main#app .panel,html.eco main#app .card{border-radius:20px}
 html.eco main#app .btn{min-height:46px}
 html.eco main#app .btn.fill{min-height:50px}
 /* editorial text: tighter rhythm */
 html.eco main#app section{scroll-margin-top:72px}
 html.eco main#app h2{letter-spacing:-.02em}
 /* home Passport example cards */
 .cx-pp-vis .cx-pp-eg{display:block;margin-top:10px;font-size:12.5px;color:var(--cx-dim,inherit);opacity:.75}
}
