/* Mobile is a different reading and interaction layout, using the same brand system. */
.mobile-navigation-shade,.mobile-comparison-actions,.mobile-photo-expand{display:none}
.mobile-guide-navigation>summary,.mobile-account-navigation>summary,.mobile-style-details>summary{display:none}
.mobile-footer-group>summary{display:block;pointer-events:none;font:400 .73rem Trip,sans-serif;color:var(--text);margin-bottom:17px}
.mobile-footer-group>.footer-link-list{display:flex;flex-direction:column}
.mobile-photo-viewer{border:1px solid var(--border);background:var(--bg);color:var(--text);padding:0}
.mobile-photo-viewer::backdrop{background:#000d}
.mobile-photo-viewer header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--border)}
.mobile-photo-viewer header{flex-shrink:0}
.mobile-photo-viewer header>div{display:flex;gap:8px}
.mobile-photo-viewer header h2{font:500 16px Trip,sans-serif;margin:0}
.mobile-photo-viewer header button{min-height:48px;min-width:76px;border:1px solid var(--border);border-radius:5px;background:var(--panel);padding:8px 12px;color:var(--text)}
.mobile-photo-stage{display:flex;align-items:center;justify-content:center;min-height:0;flex:1;overflow:auto}
.mobile-photo-frame{position:relative;width:100%;aspect-ratio:4/3;margin:0;isolation:isolate;overflow:hidden}
.mobile-photo-frame>img,.mobile-photo-frame>.native-map-composite,.mobile-photo-frame>.photo-scene{position:absolute!important;inset:0;width:100%;height:100%;aspect-ratio:4/3!important;border-radius:0;object-fit:contain}
.mobile-photo-frame .scene-photo{filter:none}
.mobile-photo-viewer.photo-zoomed .mobile-photo-stage{display:block}
.mobile-photo-viewer.photo-zoomed .mobile-photo-frame{width:200%;max-height:none;height:auto}
@media(max-width:900px){
  .header{height:72px;padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));gap:14px}
  .header .brand-combo{width:88px;height:43px}
  .header .product-name{display:block;font-size:14px;padding-left:14px}
  .menu-toggle{display:flex;align-items:center;justify-content:center;min-width:60px;min-height:46px;padding:10px 12px;font-size:14px;background:var(--panel);color:var(--text);position:relative;z-index:3}
  .header nav{display:none;position:absolute;top:71px;left:0;right:0;margin:0;padding:16px max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;background:var(--bg);border-bottom:1px solid var(--border);z-index:2;gap:4px}
  .header nav.open{display:flex;flex-direction:column;align-items:stretch}
  .header nav>a{display:flex;align-items:center;min-height:52px;padding:12px 14px;font-size:17px;border-radius:5px}
  .header nav>a[aria-current=page]{background:var(--panel)}
  .header nav .nav-account{margin:6px 0 0;border-top:1px solid var(--border);border-radius:0;padding-top:18px}
  .header nav .button{display:flex;justify-content:space-between;margin-top:10px;padding:14px;min-height:52px;font-size:16px}
  .mobile-navigation-open,.mobile-navigation-open body{overflow:hidden;overscroll-behavior:none}
  .mobile-navigation-open .mobile-navigation-shade{display:block;position:fixed;inset:72px 0 0;background:#0009;z-index:29}
}
@media(max-width:760px){
  html{scroll-padding-top:88px}
  .container{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
  .section{padding-top:64px}
  .section-head{gap:16px;margin-bottom:26px}
  .section-head h2{font-size:42px;line-height:1.06}
  .section-head>p{font-size:16px;line-height:1.6;max-width:100%}
  .button,.text-link{min-height:48px}
  .text-link{display:inline-flex;align-items:center}
  .showcase-hero{padding-top:0;--hero-overlap:28px}
  .showcase-hero .hero-heading{padding-top:32px}
  .hero-heading h1{font-size:clamp(44px,12.6vw,72px);letter-spacing:-.055em;line-height:.95;margin-left:0}
  .hero-subline{display:block;padding:22px 0 20px}
  .hero-subline h2{font-size:clamp(36px,9.4vw,48px);line-height:1.04}
  .hero-subline>div{margin-top:24px}
  .hero-subline .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;max-width:420px}
  .hero-subline .button{min-height:50px;justify-content:space-between;font-size:16px;padding:13px 17px}
  .hero-subline .text-link{font-size:15px;justify-content:space-between;padding:10px 0}
  .hero-stage-wrap{mask-image:linear-gradient(to bottom,transparent,#000 20%);margin-top:-28px}
  .hero-stage .hero-land.boundary-scene{aspect-ratio:4/3;min-height:0}
  .hero-layer-card{display:none}
  .showcase-content{scroll-margin-top:88px}
  .projection-pair{grid-template-columns:1fr;gap:18px}
  .projection-pair .projection-arrow{display:none}
  .projection-pair .satellite-scene,.projection-pair .photo-scene{aspect-ratio:4/3}
  .projection-pair .scene-tab{display:none}

  .saved-map-body{padding:0}
  .native-map-photo,.preset-main-photo{position:sticky;top:78px;z-index:1;overflow:hidden}
  .saved-map-body>.gallery-layer-legend{width:100%;margin:12px 0 0;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:8px;box-shadow:none;border-radius:6px;z-index:2}
  .saved-map-demo .gallery-legend-heading{grid-column:1/-1;margin:0 0 5px}
  .saved-map-demo .gallery-legend-heading h3{font-size:15px}
  .saved-map-demo .native-map-count{font-size:12px}
  .saved-map-demo .layer-control{margin:0;padding:10px;gap:7px;min-height:56px;line-height:1.3;min-width:0}
  .saved-map-demo .layer-control>span:nth-of-type(2){font-size:13px}
  .saved-map-demo .switch-visual{width:29px;height:18px}
  .saved-map-demo .switch-visual:after{width:12px;height:12px}
  .saved-map-demo .map-layer-availability{grid-column:1/-1;font-size:12px;line-height:1.5;margin:5px 0 0}
  .saved-map-demo+.fineprint{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;line-height:1.5}
  .saved-map-demo+.fineprint a{display:inline-flex;align-items:center;min-height:44px}
  .preset-workspace{padding:0;isolation:isolate}
  .preset-workspace .preset-library{width:100%;margin:12px 0 0;padding:16px 0 0;box-shadow:none;border:0;transform:none;background:var(--bg);border-radius:0;z-index:2}
  .preset-library h3{font-size:16px;margin-bottom:14px}
  .preset-workspace .preset-options{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 2px;padding:2px 2px 12px;gap:10px;scrollbar-width:thin}
  .preset-workspace .preset-options button{flex:0 0 108px;min-height:94px;scroll-snap-align:start;font-size:13px;padding:12px 8px;line-height:1.3;touch-action:pan-x pan-y}
  .preset-workspace .preset-options button svg{height:32px}
  .preset-workspace .preset-summary{font-size:13px;padding:12px 0;line-height:1.5;align-items:start}
  .preset-workspace .preset-summary>span:first-child{flex:1}
  .preset-workspace .preset-summary>span:last-child{display:none}
  .mobile-style-details{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
  .mobile-style-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:14px;cursor:pointer}
  .preset-workspace .preset-properties{grid-template-columns:1fr;margin:0 0 14px}
  .preset-workspace .preset-properties>div{font-size:14px;padding:11px 0}
  .draw-layout,.real-feature-pair{grid-template-columns:1fr!important;gap:24px}
  .card-description,.real-feature-pair .card-description{padding:18px 20px}
  .card-description h3{font-size:23px;line-height:1.2}
  .real-feature-pair .finished-comparison>input,.real-feature-pair .compare-divider,.real-feature-pair .compare-tag{display:none}
  .mobile-comparison-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;background:var(--panel)}
  .mobile-comparison-actions button{min-height:46px;border:1px solid var(--border);border-radius:4px;font-size:14px;background:var(--panel);color:var(--muted)}
  .mobile-comparison-actions button[aria-pressed=true]{background:var(--well,#252525);border-color:var(--carto-border-strong,#4b4b4b);color:var(--text)}
  .finish-grid,.mobile-more-tools-grid{display:grid;grid-template-columns:1fr!important;gap:22px}
  .finished-refine,.finish-grid .satellite-app-preview{height:auto!important;min-height:0!important}
  .finished-refine>img{height:auto!important;aspect-ratio:4/3;object-fit:cover}
  .finish-grid .satellite-app-preview>.capture-map{height:auto;flex:none;aspect-ratio:4/3;min-height:0}
  .satellite-app-preview .satellite-capture-interface{bottom:0}
  .satellite-app-preview .satellite-capture-toolbar{position:static;margin:0;padding:16px;border-radius:0;box-shadow:none;background:var(--panel)}
  .satellite-app-preview .capture-topline{font-size:14px;margin-bottom:16px}
  .satellite-app-preview .capture-topline>span{display:none}
  .satellite-app-preview .satellite-capture-toolbar-row{grid-template-columns:82px minmax(0,1fr);gap:16px}
  .satellite-app-preview .capture-select-control,.satellite-app-preview .capture-range-control{font-size:13px}
  .satellite-app-preview .capture-select-control>span,.satellite-app-preview .capture-range-control>span{margin-bottom:6px}
  .satellite-app-preview .capture-select-control select{height:46px;font-size:16px;padding:8px}
  .satellite-app-preview .capture-range-control input{height:46px}
  .satellite-app-preview .satellite-capture-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}
  .satellite-app-preview .satellite-capture-actions button{height:46px;font-size:14px;padding:10px 16px}
  .satellite-app-preview .satellite-capture-actions button[data-capture-reset]{width:46px;font-size:22px}
  .finish-grid .refine-tool-grid>span{font-size:13px;min-height:48px;padding:10px}
  .finished-refine .refine-inspector-body header{font-size:16px}
  .finish-grid .finish-description,.mobile-more-tools-grid .finish-description{padding:20px}
  .finish-description h3{font-size:22px;line-height:1.3}
  .finish-description p{font-size:15px;line-height:1.6}
  .mobile-more-tools{margin-top:22px;border-block:1px solid var(--border)}
  .mobile-more-tools>summary{padding:18px 0;min-height:56px;cursor:pointer;font-size:16px}
  .mobile-more-tools-grid{padding-bottom:22px}
  .mobile-more-tools-grid .finished-tool-photo{height:auto!important;aspect-ratio:4/3}
  .closing-cta{padding-bottom:0}
  .closing-cta h2{font-size:50px}
  .closing-cta .actions{display:grid;gap:12px}
  .closing-cta .button{justify-content:space-between;width:100%;font-size:15px}

  .native-map-photo,.preset-main-photo,.finished-feature-photo,.audience-hero-media,.audience-wide-media,.audience-media,.audience-triptych figure{position:relative}
  .native-map-photo,.preset-main-photo{position:sticky}
  .mobile-photo-expand{display:grid;place-items:center;position:absolute;top:10px;right:10px;z-index:5;min-width:44px;min-height:44px;border:1px solid #ededed66;border-radius:5px;color:#ededed;background:#151515d9;box-shadow:0 2px 10px #0003}
  .mobile-photo-expand svg{width:21px;height:21px}
  .mobile-photo-viewer[open]{display:flex;flex-direction:column;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;padding:max(0px,env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(0px,env(safe-area-inset-left))}
  .mobile-photo-frame{max-height:calc(100dvh - 85px);flex-shrink:0}
  .audience-page .container{padding-left:20px;padding-right:20px}
  .audience-hero{padding-top:38px;padding-bottom:46px;gap:28px}
  .audience-page h1{font-size:50px;line-height:1.04}
  .audience-lede{font-size:17px;line-height:1.65;margin-top:22px}
  .audience-actions{margin-top:24px}
  .audience-actions .button{width:100%;justify-content:space-between;font-size:16px}
  .audience-hero-media,.audience-wide-media,.audience-media{aspect-ratio:4/3}
  .audience-section{padding-top:46px;padding-bottom:46px}
  .audience-page h2,.audience-chooser h2{font-size:38px;line-height:1.08}
  .audience-split{padding-top:30px;gap:22px}
  .audience-split p,.audience-close-inner p{font-size:16px;line-height:1.7}
  .audience-triptych{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:12px}
  .audience-triptych figure,.audience-triptych figure:first-child{flex:0 0 88%;aspect-ratio:4/3;scroll-snap-align:start}
  .audience-close-inner{padding-top:30px}
  .audience-chooser{padding-top:60px;padding-bottom:60px}
  .audience-chooser-head{padding-bottom:24px}
  .audience-chooser-card{display:block;min-width:0;padding-block:4px}
  .audience-chooser-card h3{font-size:24px;line-height:1.2}
  .audience-chooser-card p{font-size:16px;line-height:1.6;margin:10px 0 0}

  .footer{margin-top:64px}
  .footer-inner{padding-top:40px;padding-bottom:24px}
  .footer-top{gap:32px}
  .footer-wordmark{max-width:220px}
  .footer-blade{opacity:.08}
  .footer-links{display:block;width:100%;padding:0}
  .mobile-footer-group{border-top:1px solid var(--border)}
  .mobile-footer-group:last-child{border-bottom:1px solid var(--border)}
  .mobile-footer-group>summary{display:flex;pointer-events:auto;align-items:center;justify-content:space-between;min-height:56px;margin:0;font-size:16px;cursor:pointer}
  .mobile-footer-group>.footer-link-list{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:0 0 16px}
  .footer-links a,.footer-links button{font-size:14px;line-height:1.4;min-height:46px;padding:8px 0}
  .footer-bottom{gap:14px;padding-top:26px;font-size:13px}
  .footer-bottom>a{display:flex;align-items:center;min-height:44px}
  .mobile-footer-group>summary:after,.mobile-guide-navigation>summary:after,.mobile-account-navigation>summary:after,.mobile-style-details>summary:after{content:'+';font-size:21px;color:var(--muted)}
  details[open].mobile-footer-group>summary:after,details[open].mobile-guide-navigation>summary:after,details[open].mobile-account-navigation>summary:after,details[open].mobile-style-details>summary:after{content:'−'}
  .mobile-guide-navigation,.mobile-account-navigation{border:1px solid var(--border);border-radius:6px;background:var(--panel)}
  .mobile-guide-navigation>summary,.mobile-account-navigation>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:12px 16px;font-size:16px;cursor:pointer}
  .mobile-guide-navigation .help-sidebar{border:0;padding:0 12px 16px}
  .mobile-guide-navigation .help-sidebar-title{display:none}
  .mobile-guide-navigation .help-sidebar nav{display:grid;gap:4px}
  .mobile-guide-navigation .help-sidebar nav a{min-height:46px;display:flex;align-items:center;font-size:15px;padding:10px 12px}
  .mobile-account-navigation{margin-bottom:16px}
  .account-page .mobile-account-navigation nav{display:grid;gap:4px;padding:0 10px 10px}
  .account-page .account-nav-group>a{min-height:48px;font-size:15px}
  .account-page .account-nav{border:0;padding:0}
  .help-reading-layout{gap:24px}
  .help-breadcrumb{font-size:13px;flex-wrap:wrap;gap:8px}
  .help-breadcrumb a{display:inline-flex;align-items:center;min-height:44px}
  .help-article{font-size:16px;line-height:1.75}
  .help-article h1{font-size:40px;line-height:1.1;overflow-wrap:break-word}
  .help-article h2{font-size:30px;line-height:1.2}
  .help-contents summary{min-height:48px;display:list-item;padding-top:12px;padding-bottom:12px;font-size:15px}
  .help-contents nav a{display:block;min-height:44px;padding:10px 0;font-size:15px}
  .form-card{padding:22px 20px}
  .form-card input:not([type=checkbox]),.form-card select,.form-card textarea{font-size:16px;min-height:48px}
  .form-card .password-toggle{min-width:56px;min-height:48px;right:0;top:auto;bottom:0;transform:none;font-size:14px;padding:10px}
  .form-card .password-wrap input{padding-right:64px}
  .form-card .button,.form-actions .button,.pricing-beta .button{width:100%;justify-content:space-between;min-height:50px;font-size:16px}
  .consent-line{font-size:15px;line-height:1.65;padding-block:8px}
  .form-card input[type=checkbox]{min-width:20px;min-height:20px;flex-shrink:0}
  .auth-layout,.contact-layout{padding-top:32px;gap:28px}
  .auth-layout h1{font-size:48px}
  .pricing-page{padding-top:40px}
  .pricing-heading h1{font-size:50px;line-height:1.05}
  .pricing-beta{padding:24px 20px}
  .pricing-release{padding-top:32px}
}
@media(max-width:359px){
  .header{padding-inline:14px;gap:10px}
  .header .product-name{font-size:13px;padding-left:10px}
  .header .brand-combo{width:76px}
  .container,.audience-page .container{padding-inline:16px}
  .saved-map-body>.gallery-layer-legend{grid-template-columns:1fr;padding:12px}
  .saved-map-demo .layer-control{min-height:48px}
}
@media(max-height:500px) and (max-width:900px){
  .mobile-photo-viewer[open]{flex-direction:row}
  .mobile-photo-viewer header{position:absolute;right:0;top:0;z-index:5;background:var(--bg)}
  .mobile-photo-viewer header h2{display:none}
  .mobile-photo-frame{width:auto;height:100dvh;max-height:100dvh;aspect-ratio:4/3}
}
