/* ========================================================================== 
   Histriphy 20.0.46 · launch tablet presentation
   One authoritative 700-1100px layer. Replaces v23/v24/v28/v35/v36.
   Goal: desktop identity, tablet geometry. No oversized phone controls and no
   compressed desktop grids.
   ========================================================================== */
@media (min-width:700px) and (max-width:1100px){
  :root{--tablet-gutter:20px;--tablet-content:min(calc(100vw - 40px),960px)}
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  @supports(overflow:clip){html,body{overflow-x:clip}}
  .site-shell{width:100%;max-width:100%;overflow-x:clip}
  .section-inner,.footer-inner,.map-library-wide,.map-experience-current .section-inner,
  .country-compare-page .section-inner,.country-compare-content .section-inner,
  .account-dashboard-page .section-inner{width:var(--tablet-content)!important;max-width:960px!important;margin-inline:auto!important;padding-inline:0!important;min-width:0!important}

  /* --- Header: same compact product bar language as phone, correctly centred. --- */
  .site-header{position:sticky!important;top:0!important;z-index:10020!important;height:72px!important;min-height:72px!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .admin-bar .site-header{top:32px!important}
  .site-header .header-inner{width:var(--tablet-content)!important;max-width:960px!important;height:56px!important;min-height:56px!important;margin:8px auto!important;padding:0 9px 0 12px!important;display:flex!important;align-items:center!important;border:1px solid var(--border)!important;border-radius:14px!important;background:color-mix(in srgb,var(--bg-card) 96%,transparent)!important;box-shadow:0 12px 34px -30px rgba(0,0,0,.8)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
  .site-header .brand{display:flex!important;position:static!important;transform:none!important;align-items:center!important;gap:9px!important;margin:0!important;min-width:0!important;text-decoration:none!important}
  .site-header .brand-mark{width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important}
  .site-header .brand-name{display:block!important;font:700 15px/1 var(--font-body)!important;letter-spacing:-.025em!important;white-space:nowrap!important}
  .desktop-nav,.theme-control,.account-link,.submit-link{display:none!important}
  .site-header .header-actions{display:flex!important;position:static!important;transform:none!important;width:auto!important;margin-left:auto!important;align-items:center!important;gap:7px!important}
  .site-header .mobile-header-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:36px!important;min-height:36px!important;padding:0 13px!important;border-radius:8px!important;font:700 12px/1 var(--font-body)!important;text-decoration:none!important}
  .site-header .menu-button{display:grid!important;position:static!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;padding:0!important;border-radius:9px!important}
  .site-header .menu-button svg{width:19px!important;height:19px!important}

  body.histriphy-mobile-menu-open .site-shell::after{content:"";position:fixed;z-index:10038;inset:0;background:rgba(7,7,6,.54);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
  body.histriphy-mobile-menu-open .site-shell>.mobile-nav,.histriphy-mobile-menu-open .site-shell>.mobile-nav,.site-shell:has(#menu-toggle:checked)>.mobile-nav{display:flex!important;position:fixed!important;z-index:10040!important;top:76px!important;right:max(20px,calc((100vw - 960px)/2))!important;bottom:auto!important;left:auto!important;width:286px!important;height:auto!important;max-height:calc(100dvh - 92px)!important;margin:0!important;padding:0!important;flex-direction:column!important;overflow:hidden!important;border:1px solid var(--border)!important;border-radius:15px!important;background:var(--bg-raised)!important;box-shadow:0 26px 74px -28px rgba(0,0,0,.75)!important}
  .admin-bar.histriphy-mobile-menu-open .site-shell>.mobile-nav{top:108px!important;max-height:calc(100dvh - 124px)!important}
  .mobile-nav-top{height:52px!important;min-height:52px!important;padding:7px 10px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}
  .mobile-nav-close{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;border:1px solid var(--border)!important;border-radius:9px!important;background:transparent!important;color:var(--ink)!important}
  .mobile-nav-close svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
  .mobile-nav-main-v41{padding:0 14px!important;overflow-y:auto!important;scrollbar-width:none!important}.mobile-nav-main-v41::-webkit-scrollbar{display:none}
  .mobile-nav-main-v41>a{display:flex!important;align-items:center!important;justify-content:space-between!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0 6px!important;border:0!important;border-bottom:1px solid var(--border-soft)!important;background:transparent!important;color:var(--ink)!important;font:700 14px/1.15 var(--font-body)!important;text-decoration:none!important}
  .mobile-nav-main-v41>a:last-child{border-bottom:0!important}.mobile-nav-main-v41>a svg{width:14px!important;height:14px!important;fill:none!important;stroke:var(--ink-faint)!important;stroke-width:1.8!important}
  .mobile-nav-main-v41>a.is-current{padding-inline:10px!important;color:var(--gold)!important;background:color-mix(in srgb,var(--gold) 9%,transparent)!important}
  .mobile-nav-footer{padding:13px 18px 15px!important;border-top:1px solid var(--border-soft)!important;background:var(--bg-raised)!important}
  .mobile-theme-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 13px!important;color:var(--ink-dim)!important;font:500 12px/1.2 var(--font-body)!important}
  .mobile-theme-options{display:flex!important;align-items:center!important;gap:2px!important;height:36px!important;padding:3px!important;border:1px solid var(--border)!important;border-radius:8px!important;background:var(--bg-card)!important}
  .mobile-theme-options button{height:28px!important;min-height:28px!important;padding:0 10px!important;border-radius:6px!important;font:600 11px/1 var(--font-body)!important}
  .mobile-nav-actions{display:grid!important;gap:8px!important}.mobile-nav-actions a{display:flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-height:42px!important;padding:0 10px!important;border-radius:8px!important;font:700 12px/1 var(--font-body)!important;text-decoration:none!important}

  /* --- Home: preserve desktop identity, reduce only where space requires it. --- */
  .hp-hero-product .hp-hero-inner{width:var(--tablet-content)!important;max-width:960px!important;margin-inline:auto!important;padding:44px 0 48px!important;display:grid!important;grid-template-columns:minmax(0,.86fr) minmax(360px,1.14fr)!important;gap:34px!important;align-items:center!important}
  .hp-hero-product .hp-hero-copy{max-width:500px!important;margin:0!important;text-align:left!important}
  .hp-hero-product .hp-h1{max-width:11ch!important;margin:0!important;font-size:clamp(42px,5.6vw,58px)!important;line-height:.98!important;letter-spacing:-.052em!important}
  .hp-hero-product .hp-lede{max-width:42ch!important;margin:16px 0 0!important;font-size:14px!important;line-height:1.6!important;text-align:left!important}
  .hp-hero-product .hp-actions{display:flex!important;flex-wrap:wrap!important;gap:9px 14px!important;margin-top:20px!important}.hp-hero-product .hp-actions>a{width:auto!important;flex:0 0 auto!important}
  .hp-hero-product .hp-actions .button,.hp-hero-product .hp-hero-secondary{height:42px!important;min-height:42px!important;padding:0 15px!important;border-radius:8px!important;font-size:12px!important}
  .hp-hero-product .hp-hero-map{position:relative!important;left:auto!important;right:auto!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;aspect-ratio:1.48/1!important;border-radius:12px!important;overflow:hidden!important}
  .hp-hero-product .hp-hero-map .world-map{width:100%!important;height:100%!important;min-height:0!important;transform:none!important}
  .hp-format-strip,.hp-format-notice{width:var(--tablet-content)!important;max-width:960px!important;margin-inline:auto!important}
  .hsd-section,.hs-section,.hp-community-section,.hp-formats-section{overflow:hidden!important}
  .hsd-grid{width:var(--tablet-content)!important;max-width:960px!important;margin-inline:auto!important;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr)!important;gap:28px!important;align-items:center!important}
  .hsd-title-lines{font-size:clamp(34px,4.3vw,48px)!important;line-height:1.02!important}.hsd-copy>p:not(.hp-kicker){font-size:14px!important;line-height:1.6!important}.hsd-cta{height:42px!important;min-height:42px!important;padding-inline:15px!important;font-size:12px!important}
  .hsd-feature-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hsd-feature-list li{min-height:76px!important;padding:11px!important}.hsd-feature-list b{font-size:12px!important}.hsd-feature-list span{font-size:10px!important;line-height:1.35!important}
  .hs-showcase-shell{width:var(--tablet-content)!important;max-width:960px!important;margin-inline:auto!important;padding:64px 16px 16px!important;border-radius:14px!important}.hs-showcase-shell .hs-nav{gap:7px!important}.hs-showcase-shell .hs-nav-item{min-height:48px!important;padding:10px 12px!important;border-radius:9px!important}.hs-showcase-shell .hs-nav-title{font-size:12px!important}.hs-showcase-shell .hs-nav-desc{font-size:10px!important;line-height:1.35!important}
  .hp-coming-soon-section img,.hp-coming-soon-image{max-width:100%!important;height:auto!important}

  /* --- Explore: proper tablet composition, no compressed desktop row. --- */
  .map-library-page,.map-library-hero,.map-library-results{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .map-library-hero{padding:30px 0 0!important}.map-library-heading-row{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;margin-bottom:18px!important;align-items:start!important}
  .map-library-heading{max-width:660px!important}.map-library-eyebrow{margin-bottom:7px!important;font-family:var(--font-body)!important;font-size:11px!important;letter-spacing:0!important;text-transform:none!important}.map-library-eyebrow span{width:12px!important}
  .map-library-heading h1{margin-bottom:8px!important;font-family:var(--font-display)!important;font-size:clamp(34px,4.4vw,44px)!important;line-height:1.02!important;letter-spacing:-.045em!important}.map-library-description{max-width:62ch!important;font-size:13px!important;line-height:1.55!important}
  .map-library-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;margin:0!important;padding:0!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--bg-card)!important;overflow:hidden!important}
  .library-stat-card{min-width:0!important;min-height:76px!important;padding:12px 10px!important;justify-content:center!important;gap:9px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.library-stat-card+.library-stat-card{border-left:1px solid var(--border-soft)!important}.library-stat-card>svg{width:20px!important;height:20px!important}.library-stat-card strong{font-family:var(--font-display)!important;font-size:18px!important}.library-stat-card span{margin-top:3px!important;font-size:10px!important;white-space:normal!important;line-height:1.25!important}
  .map-library-page .map-search-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(135px,.55fr) minmax(145px,.62fr) minmax(130px,.52fr) auto!important;gap:10px!important;align-items:end!important;margin:0 0 12px!important;padding:12px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:var(--bg-card)!important;box-shadow:none!important}
  .map-mobile-filter-toggle,.map-mobile-filter-backdrop,.map-mobile-filter-sheet-head,.map-mobile-period-options,.map-mobile-sort-options{display:none!important}
  .map-mobile-filter-sheet{display:contents!important}.map-filter-advanced{display:contents!important}
  .map-filter-field{min-width:0!important;margin:0!important}.map-filter-field>label{margin:0 0 6px!important;font-size:10px!important;font-weight:600!important}.map-filter-control{height:40px!important;min-height:40px!important;border-radius:7px!important}.map-filter-control input,.map-filter-control select{height:38px!important;font-size:12px!important}.map-filter-actions{display:flex!important;align-items:flex-end!important;margin:0!important}.map-filter-actions .button{width:auto!important;height:40px!important;min-height:40px!important;min-width:92px!important;padding:0 14px!important;border-radius:7px!important;font-size:12px!important}
  .map-library-tabs-wrap{width:100%!important;min-height:43px!important;margin:0!important;border-radius:8px 8px 0 0!important;overflow:hidden!important}.map-library-tabs{display:flex!important;width:100%!important;margin:0!important;padding:0!important;overflow-x:auto!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}.map-library-tabs::-webkit-scrollbar{display:none!important}.map-library-tab,.map-library-tabs a{flex:0 0 auto!important;min-height:42px!important;height:42px!important;padding:0 14px!important;font-size:11px!important;white-space:nowrap!important}
  .map-library-results{padding:14px 0 54px!important}.map-library-grid,.map-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;margin:0!important;align-items:stretch!important}.map-card-library{min-width:0!important;max-width:none!important;border-radius:10px!important}.map-card-library .preview{height:auto!important;min-height:0!important;aspect-ratio:1.65/1!important}.map-card-library .card-body{padding:12px!important}.map-card-library .map-card-type{font-family:var(--font-body)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.map-card-library .card-body h3{font-size:16px!important;line-height:1.2!important}.map-card-library .card-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-direction:row!important}.map-card-library .map-download-total{font-size:10px!important}.map-card-library .map-card-actions{display:flex!important;gap:6px!important;flex:0 0 auto!important}.map-card-library .map-details-btn,.map-card-library .card-foot button{height:34px!important;min-height:34px!important;padding:0 9px!important;font-size:10px!important}
  @media(min-width:930px){.map-library-grid,.map-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}.map-card-library .card-body h3{font-size:15px!important}.map-card-library .map-details-btn,.map-card-library .card-foot button{padding-inline:8px!important}}

  /* --- Single map: two-column where useful, related maps tidy and readable. --- */
  .map-hero-v19{padding:38px 0 42px!important}.map-hero-inner-v19{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(360px,1.2fr)!important;gap:28px!important;align-items:center!important}.map-hero-copy-v19 h1{font-size:clamp(42px,5.5vw,58px)!important;line-height:.98!important;letter-spacing:-.05em!important}.map-hero-summary{font-size:14px!important;line-height:1.6!important}.map-primary-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.map-primary-actions .button,.map-primary-actions .histriphy-download-btn{width:auto!important;height:40px!important;min-height:40px!important;padding:0 13px!important;font-size:12px!important}.map-hero-preview{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1.55/1!important}
  .map-body-v20{padding:34px 0 52px!important}.map-overview-panel-v20,.map-access-panel-v20,.map-inline-section-v20{padding:18px!important;border-radius:10px!important}.map-meta-groups-v20{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.map-related-grid-v41,.map-related-grid-v20{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;overflow:visible!important}.map-related-card-v41{min-width:0!important;width:100%!important}.map-related-card-v41 .map-related-copy>span{font-family:var(--font-body)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important}.map-related-card-v41 .map-related-copy>strong{font-size:14px!important}.map-related-card-v41 .map-related-copy>small{font-size:11px!important}
  @media(max-width:820px){.map-hero-inner-v19{grid-template-columns:1fr!important;gap:22px!important}.map-hero-preview{aspect-ratio:1.75/1!important}.map-related-grid-v41,.map-related-grid-v20{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

  /* --- Compare: side-by-side maps + real 3-column data table. --- */
  .country-compare-page,.country-compare-content{width:100%!important;max-width:100%!important;overflow-x:hidden!important}.country-compare-hero{padding:30px 0 22px!important}.country-compare-heading h1{font-size:clamp(36px,4.6vw,46px)!important;line-height:1.02!important;letter-spacing:-.045em!important}.country-compare-heading p{font-size:14px!important;line-height:1.55!important}.country-compare-eyebrow{font-family:var(--font-body)!important;font-size:11px!important;letter-spacing:0!important;text-transform:none!important}
  .country-compare-picker-mobile,.country-data-mobile-v42{display:none!important}.country-compare-picker-desktop{display:grid!important;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) auto!important;gap:9px!important;align-items:end!important;margin-top:16px!important;padding:12px!important;border-radius:10px!important}.country-picker-field label{font-family:var(--font-body)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important}.country-picker-field select{height:42px!important;min-height:42px!important;font-size:12px!important}.country-picker-versus{height:42px!important;font-size:11px!important}.country-compare-picker .button{grid-column:auto!important;width:auto!important;height:42px!important;min-height:42px!important;padding:0 14px!important;font-size:12px!important}
  .country-compare-content{padding:18px 0 54px!important}.country-map-grid,.country-map-grid-v41{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.country-map-panel{min-width:0!important}.country-map-panel-head{padding:13px 14px!important}.country-map-panel-head>span{font-family:var(--font-body)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important}.country-map-panel-head h2{font-size:17px!important;line-height:1.2!important}.country-compare-preview{height:auto!important;min-height:0!important;aspect-ratio:1.32/1!important}
  .country-data-comparison{margin-top:16px!important;border-radius:10px!important;overflow:hidden!important}.country-data-heading{padding:16px 18px!important}.country-data-heading>span{font-family:var(--font-body)!important;font-size:10px!important;letter-spacing:0!important;text-transform:none!important}.country-data-heading h2{font-size:22px!important;letter-spacing:-.03em!important}.country-data-table{display:block!important;border:0!important;overflow:visible!important}.country-data-row{display:grid!important;grid-template-columns:minmax(160px,.78fr) minmax(0,1fr) minmax(0,1fr)!important;margin:0!important;padding:0!important;border:0!important;border-top:1px solid var(--border-soft)!important;border-radius:0!important;background:transparent!important}.country-data-row>div{display:block!important;position:static!important;min-width:0!important;padding:12px 14px!important;border:0!important;border-left:1px solid var(--border-soft)!important;text-align:left!important;overflow-wrap:anywhere!important}.country-data-row>div:first-child{border-left:0!important}.country-data-row>div[role="cell"]:before{display:none!important;content:none!important}.country-data-header{background:var(--bg-elevated)!important}.country-data-header>div{font-size:11px!important;font-weight:700!important;color:var(--ink-dim)!important}.country-data-section-row{display:block!important;margin:0!important;border-top:1px solid var(--border-soft)!important;background:color-mix(in srgb,var(--gold) 5%,transparent)!important}.country-data-section-row>div{padding:9px 14px!important;color:var(--ink)!important;font:700 12px/1.2 var(--font-body)!important;letter-spacing:0!important;text-transform:none!important}.country-data-label{font:600 12px/1.35 var(--font-body)!important;color:var(--ink-dim)!important}.country-data-row>div[role="cell"]{font:600 12px/1.4 var(--font-body)!important;color:var(--ink)!important}.country-data-row small{font-size:10px!important;line-height:1.35!important}.country-data-source-note{font-size:11px!important;line-height:1.55!important}

  /* --- Account/auth/general: no stretched desktop cards. --- */
  .account-dashboard-shell{padding:24px 0 52px!important}.account-hero-panel{padding:20px!important;border-radius:11px!important}.account-dashboard-grid,.account-layout{gap:18px!important}.account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.account-stat-card{min-height:92px!important;padding:14px!important}.account-section-heading h2{font-size:24px!important}.account-section-heading>p{font-size:13px!important;line-height:1.5!important}
  .simple-page-hero,.simple-submit-section{padding:46px 0 58px!important}.simple-page-hero h1,.simple-submit-header h1{font-size:clamp(38px,5vw,52px)!important}.simple-page-hero .hero-text,.simple-submit-header p{font-size:14px!important;line-height:1.6!important}

  /* --- Footer/routine labels: remove decorative microtype on functional UI. --- */
  .site-footer{overflow:hidden!important}.footer-built{display:none!important}.footer-bottom,.footer-column a,.footer-intro p{font-size:12px!important}
  .country-compare-page .country-picker-field label,.country-map-panel-head>span,.country-data-heading>span,.country-data-section-row>div,.map-experience-current .map-inline-heading-v20>div>span,.map-experience-current .map-overview-heading-v20>div>span,.map-experience-current .map-access-head-v20>span{font-family:var(--font-body)!important;letter-spacing:0!important;text-transform:none!important}
  input,select,textarea,button{max-width:100%}
}

@media (min-width:700px) and (max-width:820px){
  :root{--tablet-gutter:18px;--tablet-content:calc(100vw - 36px)}
  .site-header .header-inner{width:var(--tablet-content)!important}.hp-hero-product .hp-hero-inner{grid-template-columns:1fr!important;gap:24px!important;padding-top:34px!important}.hp-hero-product .hp-hero-copy{max-width:660px!important}.hp-hero-product .hp-hero-map{aspect-ratio:1.7/1!important}
  .hsd-grid{grid-template-columns:1fr!important;gap:22px!important}.hsd-copy{max-width:620px!important}.hs-showcase-shell .hs-nav-desc{display:none!important}
  .map-library-page .map-search-form{grid-template-columns:minmax(0,1fr) minmax(130px,.62fr) minmax(140px,.68fr)!important}.map-filter-search{grid-column:1/-1!important}.map-filter-category{grid-column:1!important}.map-filter-time{grid-column:2!important}.map-filter-sort{grid-column:3!important}.map-filter-actions{grid-column:3!important;grid-row:3!important;justify-self:end!important}.map-filter-actions .button{min-width:100px!important}
  .country-compare-picker-desktop{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)!important}.country-compare-picker-desktop .button{grid-column:1/-1!important;justify-self:end!important}.country-data-row{grid-template-columns:minmax(135px,.7fr) minmax(0,1fr) minmax(0,1fr)!important}.country-data-row>div{padding:11px 10px!important}
}

/* ========================================================================== 
   20.0.46 launch QA — pass 2 geometry corrections
   ========================================================================== */
@media (min-width:700px) and (max-width:1100px){
  /* Header actions must never collapse or clip. */
  .site-header .header-actions{flex:0 0 auto!important;min-width:0!important;overflow:visible!important}
  .site-header .mobile-header-cta{flex:0 0 auto!important;min-width:72px!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important}
  .site-header .menu-button{flex:0 0 40px!important}

  /* Explore: deliberate grid instead of inherited auto-placement. */
  .map-library-page .map-search-form{display:grid!important;align-items:end!important;gap:10px!important;padding:12px!important;min-height:0!important}
  .map-filter-search{grid-area:search!important}.map-filter-category{grid-area:category!important}.map-filter-time{grid-area:time!important}.map-filter-sort{grid-area:sort!important}.map-filter-actions{grid-area:action!important;align-self:end!important;justify-self:stretch!important}
  .map-filter-actions .button{width:100%!important;min-width:0!important}
  .map-library-tabs-wrap{height:43px!important;min-height:43px!important;overflow:hidden!important}
  .map-library-tabs{height:43px!important;min-height:43px!important;flex-wrap:nowrap!important;align-items:stretch!important;overflow-x:auto!important;overflow-y:hidden!important}
  .map-library-tab,.map-library-tabs a{flex:0 0 auto!important;height:42px!important;min-height:42px!important}

  /* Compare: one clean row even on portrait tablets. */
  .country-compare-picker-desktop{display:grid!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 96px!important;grid-template-areas:"left vs right action"!important;gap:8px!important;align-items:end!important;padding:12px!important}
  .country-compare-picker-desktop .country-picker-field:first-child{grid-area:left!important}
  .country-compare-picker-desktop .country-picker-versus{grid-area:vs!important;align-self:end!important}
  .country-compare-picker-desktop .country-picker-field:nth-of-type(2){grid-area:right!important}
  .country-compare-picker-desktop .button{grid-area:action!important;grid-column:auto!important;justify-self:stretch!important;width:100%!important;padding-inline:8px!important}
  .country-map-panel-head>span,.country-data-heading>span{display:none!important}
  .country-map-panel-head{padding-block:12px!important}.country-map-panel-head h2{margin:0!important}
  .country-data-heading{padding:18px!important}.country-data-heading h2{margin:0!important}
}

@media (min-width:821px) and (max-width:1100px){
  .map-library-page .map-search-form{grid-template-columns:minmax(230px,1.55fr) minmax(120px,.72fr) minmax(125px,.76fr) minmax(105px,.62fr) 92px!important;grid-template-areas:"search category time sort action"!important}
}

@media (min-width:700px) and (max-width:820px){
  .map-library-page .map-search-form{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,.8fr) 92px!important;grid-template-areas:"search search search search" "category time sort action"!important}
  .country-compare-picker-desktop{grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 88px!important;grid-template-areas:"left vs right action"!important}
  .country-picker-field label{font-size:10px!important}.country-picker-field select{font-size:11px!important;padding-inline:10px 28px!important}
}

@media (min-width:700px) and (max-width:1100px){
  .site-header .mobile-header-cta{position:static!important;inset:auto!important;transform:none!important}
  .country-compare-picker-desktop .country-picker-versus + .country-picker-field{grid-area:right!important}
}

/* Launch typography pass: no functional microtype on tablets. */
@media (min-width:700px) and (max-width:1100px){
  .site-header .menu-button svg,.site-header .menu-button svg path{stroke:var(--ink)!important;fill:none!important}
  .map-card-library .map-source-badge{font-size:10.5px!important;letter-spacing:0!important}
  .map-card-library .map-card-type,.map-card-library .map-download-total{font-size:10.5px!important}
  .country-compare-eyebrow,.map-library-eyebrow{font-size:11px!important}
  .hp-coming-soon-visual img.is-in-view{animation:h43TabletFutureFloat 7s ease-in-out infinite alternate!important;transform-origin:center center!important;will-change:transform!important}
}
@keyframes h43TabletFutureFloat{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(0,-5px,0) scale(1.006)}}
@media (prefers-reduced-motion:reduce){.hp-coming-soon-visual img.is-in-view{animation:none!important}}

/* Launch QA: remove redundant dashboard micro-kickers on compact screens. */
@media (min-width:700px) and (max-width:1100px){
  .account-dashboard-page .account-kicker{display:none!important}
  .account-download-allowance span,.account-download-allowance p{font-family:var(--font-body)!important;font-size:11px!important;letter-spacing:0!important;text-transform:none!important}
  .editorial-eyebrow,.legal-kicker{font-family:var(--font-body)!important;letter-spacing:0!important;text-transform:none!important}
}

/* ========================================================================== 
   20.0.46 launch regression pass
   Tablet keeps a compact desktop identity, but long horizontal controls become
   intentional swipe rows instead of being clipped by page containers.
   ========================================================================== */
@media (min-width:700px) and (max-width:1100px){
  /* Legal pages: one compact disclosure. Never turn <details> into a sideways
     flexbox; that was the cause of the hidden/cropped Contents list. */
  .legal-page .legal-reading-shell{
    width:var(--tablet-content)!important;
    max-width:900px!important;
    margin-inline:auto!important;
  }
  .legal-page .legal-document-section .legal-reading-shell{display:block!important}
  .legal-page .legal-index{
    display:block!important;
    position:static!important;
    width:100%!important;
    margin:0 0 24px!important;
    padding:0!important;
    overflow:visible!important;
    border-top:1px solid var(--border-soft)!important;
    border-bottom:1px solid var(--border-soft)!important;
    background:transparent!important;
  }
  .legal-page .legal-index summary{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:48px!important;
    padding:0 2px!important;
    color:var(--ink)!important;
    font:700 13px/1.2 var(--font-body)!important;
    cursor:pointer!important;
  }
  .legal-page .legal-index nav{display:none!important;padding:4px 0 18px!important}
  .legal-page .legal-index[open] nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:2px 22px!important;
  }
  .legal-page .legal-index a{
    min-width:0!important;
    padding:8px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--ink-dim)!important;
    font:500 12px/1.35 var(--font-body)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* GeoJSON Studio showcase tools: one intentional swipe rail. */
  body.home .hsd-feature-list,
  body.front-page .hsd-feature-list{
    display:flex!important;
    grid-template-columns:none!important;
    width:var(--tablet-content)!important;
    max-width:960px!important;
    margin:14px auto 0!important;
    padding:0 2px 5px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-inline:2px!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.home .hsd-feature-list::-webkit-scrollbar,
  body.front-page .hsd-feature-list::-webkit-scrollbar{display:none!important}
  body.home .hsd-feature-list li,
  body.front-page .hsd-feature-list li{
    flex:0 0 auto!important;
    min-width:max-content!important;
    min-height:38px!important;
    padding:0 13px!important;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    background:var(--bg-card)!important;
    scroll-snap-align:start!important;
  }
  body.home .hsd-feature-list b,
  body.front-page .hsd-feature-list b{font-size:11px!important;white-space:nowrap!important}
  body.home .hsd-feature-list span,
  body.front-page .hsd-feature-list span{display:none!important}

  /* Formats are a notice rail, not a clipped desktop sentence. */
  .hp-formats-strip{overflow:hidden!important}
  .hp-formats-strip-inner{
    width:var(--tablet-content)!important;
    max-width:960px!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    margin-inline:auto!important;
    padding:6px 0!important;
    overflow:hidden!important;
  }
  .hp-formats-strip-title{flex:0 0 auto!important;margin:0!important;gap:0!important}
  .hp-formats-strip-title strong{display:none!important}
  .hp-formats-strip-title span{
    min-height:25px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    font:700 10px/25px var(--font-body)!important;
    letter-spacing:0!important;
    text-transform:none!important;
    white-space:nowrap!important;
  }
  .hp-formats-strip-items{
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
    white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .hp-formats-strip-items::-webkit-scrollbar{display:none!important}
  .hp-formats-strip-items span{flex:0 0 auto!important;scroll-snap-align:start!important;padding:0 11px!important;font-size:11px!important}

  /* Feature carousel control must remain inside its own shell at every tablet
     width. */
  .hp-feature-cycle-shell{padding:14px!important;overflow:hidden!important}
  .hp-feature-cycle-controls{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    width:max-content!important;
    min-height:34px!important;
    margin:0 0 12px auto!important;
    padding:3px 5px!important;
    border-radius:999px!important;
  }
  .hp-feature-arrow{width:28px!important;height:28px!important}
  .hp-feature-counter{min-width:42px!important;font-size:11px!important}
}

@media (min-width:700px) and (max-width:820px){
  .legal-page .legal-index[open] nav{grid-template-columns:1fr!important;gap:0!important}

  /* Portrait tablet: show one feature description and one large visual, instead
     of squeezing the desktop two-column carousel into a narrow card. */
  .hp-feature-cycle-stage{display:block!important}
  .hp-feature-cycle-nav{display:block!important;margin:0 0 10px!important}
  .hp-feature-cycle-item{display:none!important;transform:none!important}
  .hp-feature-cycle-item.is-active{
    display:grid!important;
    width:100%!important;
    min-height:68px!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    gap:10px!important;
    padding:11px!important;
    opacity:1!important;
    border:1px solid var(--border)!important;
    border-radius:9px!important;
    background:var(--bg-card)!important;
  }
  .hp-feature-cycle-item strong{font-size:13px!important;margin-bottom:2px!important}
  .hp-feature-cycle-item small{font-size:11px!important;line-height:1.35!important}
  .hp-feature-cycle-panels{width:100%!important;aspect-ratio:1.55/1!important;border-radius:10px!important}
}

@media (min-width:700px) and (max-width:850px){
  /* A visible tablet affordance for the only library row that can genuinely
     overflow. The row itself remains swipeable/touch-scrollable. */
  .map-library-tabs-wrap{position:relative!important;padding-right:30px!important}
  .map-library-tabs{padding-right:10px!important;scroll-snap-type:x proximity!important;scroll-padding-right:12px!important}
  .map-library-tab,.map-library-tabs a{scroll-snap-align:start!important}
  .map-library-tabs-wrap::after{
    content:'›';
    position:absolute;
    z-index:3;
    top:5px;
    right:4px;
    width:24px;
    height:32px;
    display:grid;
    place-items:center;
    border-left:1px solid var(--border-soft);
    border-radius:0 7px 7px 0;
    background:linear-gradient(90deg,color-mix(in srgb,var(--bg-card) 74%,transparent),var(--bg-card) 45%);
    color:var(--ink-dim);
    font:500 20px/1 var(--font-body);
    pointer-events:none;
  }
}

/* ========================================================================== 
   Histriphy 20.0.46 · final tablet placement authority
   ========================================================================== */
@media (min-width:700px) and (max-width:1100px){
  /* Compact menu: actions are vertically stacked like the approved phone menu. */
  .mobile-nav-actions{grid-template-columns:1fr!important}
  .mobile-nav-actions a{width:100%!important;white-space:nowrap!important}

  /* Home Studio operations: an actual compact slider, not six pills spread
     across the entire section. */
  .hsd-tool-slider{
    width:min(640px,100%)!important;
    max-width:100%!important;
    margin:15px auto 0!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 34px!important;
    gap:7px!important;
    align-items:center!important;
  }
  .hsd-tool-arrow{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    padding:0!important;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    background:var(--bg-card)!important;
    color:var(--ink-dim)!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }
  .hsd-tool-arrow:hover,.hsd-tool-arrow:focus-visible{border-color:var(--gold)!important;color:var(--gold-ink)!important}
  .hsd-tool-arrow:disabled{opacity:.3!important;cursor:default!important}
  .hsd-tool-arrow svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.home .hsd-tool-slider .hsd-feature-list,
  body.front-page .hsd-tool-slider .hsd-feature-list{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:2px!important;
    gap:7px!important;
    overflow-x:auto!important;
    scroll-behavior:smooth!important;
    scroll-snap-type:x mandatory!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body.home .hsd-tool-slider .hsd-feature-list li,
  body.front-page .hsd-tool-slider .hsd-feature-list li{
    flex:0 0 clamp(126px,18vw,148px)!important;
    min-width:126px!important;
    width:auto!important;
    min-height:36px!important;
    justify-content:center!important;
    padding:0 11px!important;
    scroll-snap-align:start!important;
  }
  body.home .hsd-tool-slider .hsd-feature-list b,
  body.front-page .hsd-tool-slider .hsd-feature-list b{font-size:10.5px!important;text-align:center!important}

  /* Explore controls: all controls share one baseline and predictable widths. */
  .map-library-page .map-search-form{gap:9px!important}
  .map-library-page .map-filter-field>label{min-height:13px!important;display:block!important;margin-bottom:5px!important}
  .map-library-page .map-filter-control{width:100%!important}
  .map-library-page .map-filter-actions{min-width:0!important}

  /* Category rail: keep touch scrolling, but use a small fade + circular hint
     instead of a large black block at the edge. */
  .map-library-tabs-wrap{padding-right:0!important;overflow:hidden!important}
  .map-library-tabs{padding-right:38px!important}
  .map-library-tabs-wrap::before{
    content:""!important;
    position:absolute!important;
    z-index:2!important;
    top:1px!important;
    right:0!important;
    width:48px!important;
    height:41px!important;
    background:linear-gradient(90deg,transparent,var(--bg-card) 65%)!important;
    pointer-events:none!important;
  }
  .map-library-tabs-wrap::after{
    content:'›'!important;
    position:absolute!important;
    z-index:3!important;
    top:7px!important;
    right:6px!important;
    width:27px!important;
    height:27px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    background:var(--bg-raised)!important;
    color:var(--ink-dim)!important;
    font:500 17px/1 var(--font-body)!important;
    box-shadow:0 5px 16px -12px rgba(0,0,0,.8)!important;
    pointer-events:none!important;
  }

  /* Compare: explicit fields avoid nth-of-type auto-placement bugs. */
  .country-compare-picker-desktop .country-picker-left{grid-area:left!important;min-width:0!important}
  .country-compare-picker-desktop .country-picker-right{grid-area:right!important;min-width:0!important}
  .country-compare-picker-desktop .country-picker-versus{grid-area:vs!important;display:grid!important;place-items:center!important;align-self:end!important}
  .country-compare-picker-desktop .button{grid-area:action!important}
  .country-picker-field label{font-size:11px!important;margin-bottom:5px!important}
  .country-picker-field select{width:100%!important;min-width:0!important;font-size:12px!important}

  /* Single-map Timeline: one compact, readable row; no centered marketing copy. */
  .map-timeline-slim-v20{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
  }
  .map-timeline-slim-v20 .map-inline-heading-v20{display:block!important;min-width:0!important}
  .map-timeline-slim-v20 .map-inline-heading-v20>div{display:block!important}
  .map-timeline-slim-v20 .map-inline-heading-v20 p{
    max-width:52ch!important;
    margin:5px 0 0!important;
    text-align:left!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  .map-timeline-slim-v20 .map-soon-pill-v20{align-self:center!important;white-space:nowrap!important}
}

@media (min-width:821px) and (max-width:1100px){
  .country-compare-picker-desktop{
    grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 108px!important;
    grid-template-areas:"left vs right action"!important;
    align-items:end!important;
  }
  .country-compare-picker-desktop .button{width:100%!important;justify-self:stretch!important}
}

@media (min-width:700px) and (max-width:820px){
  .map-library-page .map-search-form{
    grid-template-columns:repeat(3,minmax(0,1fr)) 96px!important;
    grid-template-areas:"search search search search" "category time sort action"!important;
  }
  .map-filter-actions .button{min-width:0!important;padding-inline:10px!important}

  .country-compare-picker-desktop{
    grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)!important;
    grid-template-areas:"left vs right" "action action action"!important;
    gap:8px 10px!important;
    align-items:end!important;
  }
  .country-compare-picker-desktop .button{
    width:132px!important;
    justify-self:center!important;
    min-height:40px!important;
    height:40px!important;
    margin-top:2px!important;
  }
  .country-picker-versus{height:40px!important}
  .country-picker-field select{height:40px!important;min-height:40px!important;padding-inline:10px 28px!important}

  .hsd-tool-slider{width:min(570px,100%)!important}
}

@media (min-width:700px) and (max-width:1100px){
  .country-compare-picker-desktop > .country-picker-field.country-picker-left{grid-area:left!important}
  .country-compare-picker-desktop > .country-picker-field.country-picker-right{grid-area:right!important}
  .country-compare-picker-desktop > .country-picker-versus{grid-area:vs!important}
  .country-compare-picker-desktop > .button{grid-area:action!important}
}

@media (min-width:700px) and (max-width:1100px){
  .mobile-nav-actions .mobile-submit{background:var(--gold)!important;border:1px solid var(--gold)!important;color:var(--bg-deep)!important}
  .mobile-nav-actions .mobile-account-link{background:transparent!important;border:1px solid var(--border)!important;color:var(--ink)!important}
}


/* ==========================================================================
   Histriphy 20.0.48 · final Home control geometry (tablet)
   Keep Studio tools and feature navigation compact, centered and fully visible.
   ========================================================================== */
@media (min-width:700px) and (max-width:1100px){
  body.home .section.hsd-section,
  body.front-page .section.hsd-section{
    padding-bottom:42px!important;
  }
  body.home .hsd-tool-slider,
  body.front-page .hsd-tool-slider{
    width:min(560px,calc(100% - 24px))!important;
    max-width:560px!important;
    min-height:0!important;
    margin:10px auto 0!important;
    padding:0!important;
    grid-template-columns:30px minmax(0,1fr) 30px!important;
    gap:6px!important;
  }
  body.home .hsd-tool-arrow,
  body.front-page .hsd-tool-arrow{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
  }
  body.home .hsd-tool-slider .hsd-feature-list,
  body.front-page .hsd-tool-slider .hsd-feature-list{
    height:38px!important;
    min-height:38px!important;
    padding:1px!important;
    gap:6px!important;
  }
  body.home .hsd-tool-slider .hsd-feature-list li,
  body.front-page .hsd-tool-slider .hsd-feature-list li{
    flex:0 0 118px!important;
    min-width:118px!important;
    width:118px!important;
    min-height:36px!important;
    height:36px!important;
    padding:0 8px!important;
  }
  body.home .hsd-tool-slider .hsd-feature-list b,
  body.front-page .hsd-tool-slider .hsd-feature-list b{
    font-size:10.5px!important;
    line-height:1.15!important;
  }

  body.home .hp-feature-cycle-controls,
  body.front-page .hp-feature-cycle-controls{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    margin:0 0 10px auto!important;
    padding:2px 4px!important;
    gap:2px!important;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    background:var(--bg-card)!important;
    box-shadow:none!important;
  }
  body.home .hp-feature-arrow,
  body.front-page .hp-feature-arrow{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    border-radius:999px!important;
  }
  body.home .hp-feature-counter,
  body.front-page .hp-feature-counter{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:44px!important;
    height:28px!important;
    padding:0 3px!important;
    font-size:11px!important;
  }

  body.home .hp-feature-cycle-panels,
  body.front-page .hp-feature-cycle-panels{
    aspect-ratio:1.2/1!important;
  }
  body.home .hp-feature-cycle-panel,
  body.front-page .hp-feature-cycle-panel{padding:0!important}
}
