/* v142 — FINAL MOBILE DESIGN PASS
   Desktop stays untouched. Mobile is composed as a vertical premium interface.
   Core rule: approved diagrams keep their original geometry and are only scaled. */
@media (max-width:760px){
  :root{--m142-pad:16px;--m142-radius:16px}
  html,body{overflow-x:hidden!important;-webkit-text-size-adjust:100%!important}
  body{font-size:14px!important;line-height:1.48!important}
  .container{width:100%!important;max-width:100%!important;padding-left:var(--m142-pad)!important;padding-right:var(--m142-pad)!important}

  /* Compact site chrome */
  .site-header{height:56px!important;min-height:56px!important;max-height:56px!important;padding:3px 0!important}
  .site-header .header-inner{height:50px!important;min-height:50px!important;max-height:50px!important}
  .site-header .brand{height:44px!important;min-height:44px!important;gap:7px!important;max-width:calc(100% - 52px)!important}
  .site-header .brand-mark,.site-header .brand-mark img{width:29px!important;height:34px!important;flex:0 0 29px!important}
  .site-header .brand-copy strong{font-size:16px!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important}
  .site-header .brand-copy span{display:none!important}
  .site-header .menu-toggle{top:7px!important;right:10px!important;width:39px!important;height:39px!important;min-width:39px!important;border-radius:12px!important;font-size:20px!important}
  .site-header .main-nav{top:54px!important;right:9px!important;width:min(230px,calc(100vw - 18px))!important;max-height:calc(100dvh - 64px)!important}
  .site-header .main-nav a{min-height:40px!important;padding:9px 12px!important;font-size:12px!important}
  .global-back-btn{top:64px!important;left:10px!important;min-height:34px!important;padding:7px 11px!important;font-size:10px!important}
  .global-quick-dock,.apply-quick-access,.admin-quick-access{display:none!important}

  /* Consistent mobile type rhythm */
  .section,.section.compact,.academy-section,.retreat-history{padding:28px 0!important}
  .section-heading h2,.ecosystem-heading h2,.author-page-heading h2{font-size:26px!important;line-height:1.06!important;letter-spacing:-.02em!important;margin-bottom:9px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
  .section-heading p,.ecosystem-heading p{font-size:13px!important;line-height:1.48!important}
  .kicker{font-size:8px!important;letter-spacing:.17em!important;margin-bottom:6px!important}
  .btn-3d,.btn-glass,.portal-primary,.portal-ghost,.portal-mini-btn,.table-btn,.payment-card-link,.registration-submit{
    min-height:42px!important;padding:9px 12px!important;font-size:10.5px!important;line-height:1.2!important;border-radius:12px!important
  }

  /* HOME: compact opening, readable title, balanced portrait. */
  body:not(.application-page) .hero{min-height:0!important;height:auto!important;padding:74px 0 22px!important}
  body:not(.application-page) .hero-grid{display:flex!important;flex-direction:column!important;gap:14px!important;min-height:0!important;height:auto!important}
  .hero-copy{text-align:left!important;min-width:0!important}
  .hero-brandline{width:min(170px,50vw)!important;margin:0 0 10px!important}
  .hero-win-wordmark{width:100%!important;max-width:170px!important}
  body:not(.application-page) .hero h1{
    font-size:29px!important;line-height:.98!important;letter-spacing:-.025em!important;margin:0 0 13px!important;
    max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-wrap:pretty!important
  }
  body:not(.application-page) .hero h1 br{display:block!important}
  body:not(.application-page) .hero h1 em{white-space:normal!important}
  body:not(.application-page) .hero-lead{font-size:13px!important;line-height:1.5!important;margin:0!important;max-width:100%!important}
  .hero-actions{display:flex!important;gap:8px!important;margin-top:14px!important;align-items:stretch!important}
  .hero-actions>*{flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:44px!important;font-size:10.5px!important}
  .hero-note{margin-top:10px!important;font-size:8px!important;line-height:1.3!important;letter-spacing:.05em!important}
  .hero-stage{height:224px!important;min-height:224px!important;max-height:224px!important;display:grid!important;place-items:center!important;overflow:visible!important}
  .ring{width:190px!important;height:190px!important}
  .portrait-stack{width:142px!important;max-width:142px!important}
  .portrait-stack .portrait-card{width:142px!important;padding:5px!important;border-radius:18px!important}
  .portrait-card img{border-radius:14px!important;aspect-ratio:2/2.82!important}
  .floating-shield{width:42px!important;height:48px!important;left:-14px!important;bottom:7px!important;border-radius:11px!important;padding:4px!important}
  .floating-pill{top:9px!important;right:-25px!important;padding:4px 6px!important;font-size:6.5px!important;border-radius:7px!important}
  .portrait-name{margin-top:6px!important;font-size:15px!important;line-height:1!important}
  .marquee{min-height:34px!important;height:34px!important;overflow:hidden!important}
  .marquee-track{height:34px!important;align-items:center!important;font-size:9px!important;line-height:34px!important}

  /* HOME ecosystem: preserve the APPROVED desktop diagram exactly; scale it as one object. */
  .home-ecosystem.ecosystem-map-section{padding:28px 0!important}
  .home-ecosystem .ecosystem-heading{margin-bottom:10px!important;text-align:left!important}
  .home-ecosystem .ecosystem-heading h2.ecosystem-title{font-size:24px!important;line-height:1.05!important;max-width:100%!important}
  .home-ecosystem .ecosystem-map-shell{margin-top:9px!important;padding:5px!important;border-radius:18px!important;overflow:hidden!important}
  .home-ecosystem .ecosystem-map{
    container-type:inline-size!important;position:relative!important;display:block!important;grid-template-columns:none!important;gap:0!important;
    width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1200 / 590!important;padding:0!important;
    border-radius:14px!important;overflow:hidden!important;
    background:radial-gradient(circle at 50% 52%,rgba(28,111,89,.12),transparent 26%),radial-gradient(circle at 18% 12%,rgba(240,213,139,.06),transparent 26%),radial-gradient(circle at 84% 18%,rgba(240,213,139,.05),transparent 20%),radial-gradient(circle at 80% 80%,rgba(240,213,139,.05),transparent 22%)!important
  }
  .home-ecosystem .ecosystem-lines{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;pointer-events:none!important;z-index:1!important;overflow:visible!important}
  .home-ecosystem .ecosystem-core{
    position:absolute!important;left:50%!important;top:52.7%!important;transform:translate(-50%,-50%)!important;z-index:4!important;
    width:auto!important;min-width:clamp(72px,19.2cqw,230px)!important;min-height:clamp(24px,6cqw,72px)!important;
    padding:clamp(3px,1.16cqw,14px) clamp(7px,2cqw,24px)!important;border-radius:clamp(7px,1.8cqw,22px)!important;margin:0!important;
    display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
    border:1px solid rgba(244,217,145,.34)!important;background:linear-gradient(145deg,rgba(8,72,59,.96),rgba(5,45,37,.98))!important;
    box-shadow:inset 0 1px rgba(255,255,255,.08),0 22px 55px rgba(0,15,12,.34),0 0 42px rgba(217,175,78,.09)!important
  }
  .home-ecosystem .ecosystem-core::before{content:""!important;display:block!important;position:absolute!important;inset:clamp(3px,.83cqw,10px)!important;border-radius:clamp(5px,1.5cqw,18px)!important;border:1px solid rgba(244,217,145,.15)!important}
  .home-ecosystem .ecosystem-core span{position:relative!important;z-index:1!important;font-size:clamp(8px,2.6cqw,34px)!important;line-height:.96!important;color:var(--gold-bright)!important}
  .home-ecosystem .eco-node{
    position:absolute!important;left:var(--x)!important;top:var(--y)!important;transform:translate(-50%,-50%)!important;z-index:3!important;
    min-height:clamp(14px,3.83cqw,46px)!important;padding:clamp(2px,.75cqw,9px) clamp(3px,1.16cqw,14px)!important;
    border-radius:clamp(5px,1.33cqw,16px)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
    font-size:clamp(3.8px,.9cqw,10.8px)!important;line-height:1.04!important;letter-spacing:.025em!important;text-transform:uppercase!important;color:#0a5c4b!important;
    border:1px solid rgba(255,248,224,.96)!important;
    background:radial-gradient(82% 120% at 10% 6%,rgba(255,255,255,.97) 0%,rgba(255,255,255,.50) 14%,rgba(255,255,255,0) 34%),radial-gradient(90% 84% at 86% 82%,rgba(255,245,196,.62) 0%,rgba(255,245,196,0) 48%),linear-gradient(104deg,rgba(95,62,10,.92) 0%,rgba(248,226,161,.99) 11%,rgba(255,249,229,.99) 22%,rgba(222,178,77,.99) 35%,rgba(184,126,34,.99) 49%,rgba(244,216,136,.99) 67%,rgba(255,250,233,.99) 82%,rgba(215,161,63,.99) 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.98),inset 0 -4px 6px rgba(125,81,14,.15),0 2px 0 #7d5414,0 5px 10px rgba(0,18,14,.18)!important;
    overflow:hidden!important;isolation:isolate!important
  }
  .home-ecosystem .eco-node::before{display:none!important}
  .home-ecosystem .eco-node::after{content:""!important;display:block!important;position:absolute!important;top:0!important;bottom:0!important;left:-34%!important;width:22%!important;opacity:0!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.88),transparent)!important;transform:skewX(-18deg)!important}
  .home-ecosystem .eco-node.w-sm{width:clamp(32px,9cqw,108px)!important}
  .home-ecosystem .eco-node.w-md{width:clamp(40px,11.83cqw,142px)!important}
  .home-ecosystem .eco-node.w-lg{width:clamp(50px,14.83cqw,178px)!important}
  .home-ecosystem .eco-node.w-xl{width:clamp(60px,18.16cqw,218px)!important}

  /* Philosophy graphic is an accent, not the content. */
  .statement{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;text-align:left!important}
  .statement>div:last-child{order:1!important;text-align:left!important}
  .statement .quote{font-size:23px!important;line-height:1.06!important;margin:6px 0 12px!important}
  .statement .shield-stage{order:2!important;height:88px!important;min-height:88px!important}
  .statement .shield-stage::before{width:78px!important;height:78px!important;box-shadow:0 0 0 10px rgba(237,210,136,.012)!important}
  .statement .shield-stage img{width:66px!important;max-width:66px!important}
  .statement .shield-stage::after{width:66px!important;height:74px!important}

  /* Generic inner page hero: concise. */
  .page-hero{min-height:0!important;padding:76px 0 24px!important}
  .page-hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;align-items:center!important}
  .page-hero-grid>div:first-child{text-align:left!important;min-width:0!important}
  .page-hero-grid>div:first-child>*{margin-left:0!important;margin-right:0!important}
  .page-hero h1{font-size:31px!important;line-height:1!important;letter-spacing:-.025em!important;margin:0 0 8px!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
  .page-hero p{font-size:12.5px!important;line-height:1.46!important;max-width:100%!important}
  .breadcrumbs{font-size:7px!important;margin-bottom:8px!important}
  .page-mark-wrap{width:44px!important;margin:0!important;position:static!important}

  /* WINsurfing core visual: compact signature. */
  .two-col,.win-core{grid-template-columns:1fr!important;gap:13px!important}
  .win-core .win-core-title{font-size:24px!important;line-height:1.06!important;margin-bottom:10px!important}
  .win-core .win-intro,.win-core .text-block p,.win-core .gold-list li{font-size:12.5px!important;line-height:1.48!important}
  .win-core .gold-list{gap:6px!important;margin-top:11px!important}
  body .win-flow-visual{min-height:150px!important;height:150px!important;gap:0!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
  body .win-flow-visual .win-flow-shield{width:76px!important;max-width:76px!important;height:auto!important;animation:none!important;filter:drop-shadow(0 8px 14px rgba(0,0,0,.18))!important}
  body .win-flow-visual .win-flow-wordmark{width:138px!important;max-width:138px!important;height:auto!important;margin-top:-3px!important;animation:none!important}

  /* 17 qualities: readable, compact and balanced. */
  .section-qualities{padding:26px 0!important}
  .section-qualities .qualities-shell{gap:12px!important}
  .section-qualities .qualities-top{display:grid!important;grid-template-columns:1fr!important;gap:11px!important}
  .section-qualities .qualities-heading h2{font-size:27px!important;line-height:1.03!important;margin-bottom:9px!important;max-width:100%!important}
  .section-qualities .qualities-heading p{font-size:12.5px!important;line-height:1.45!important}
  .section-qualities .quality-card-featured{width:100%!important;min-height:48px!important;height:48px!important;padding:8px 12px!important;border-radius:14px!important;font-size:14px!important}
  .section-qualities .qualities-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .section-qualities .quality-card{min-height:50px!important;height:50px!important;padding:7px 6px!important;border-radius:13px!important;font-size:12px!important;line-height:1.05!important;letter-spacing:-.01em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:auto!important}

  /* Programs: one premium readable card per row. */
  .programs-hub-page .hub-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .programs-hub-page .hub-card{min-height:0!important;padding:13px!important;border-radius:16px!important;gap:7px!important}
  .programs-hub-page .hub-card .tag{font-size:7px!important;padding:5px 8px!important}
  .programs-hub-page .hub-card h3{font-size:19px!important;line-height:1.05!important;margin:0!important}
  .programs-hub-page .hub-card p{font-size:11.5px!important;line-height:1.42!important}
  .programs-hub-page .hub-card .hub-actions{margin-top:3px!important;display:block!important}
  .programs-hub-page .hub-card .hub-actions .btn-3d,.programs-hub-page .hub-card .hub-actions .btn-glass{width:100%!important;min-height:40px!important;font-size:9.5px!important}
  .programs-hub-page .hub-footer{display:block!important;margin-top:10px!important;padding-top:10px!important}
  .programs-hub-page .hub-footer p{font-size:11px!important;margin-bottom:9px!important}
  .programs-hub-page .hub-footer .contact-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important}
  .programs-hub-page .hub-footer .btn-3d,.programs-hub-page .hub-footer .btn-glass{width:100%!important}

  /* About: content first, decorative tags removed. */
  .about-page-redraw .about-intro{padding-top:72px!important;padding-bottom:24px!important}
  .about-page-redraw .about-name{font-size:29px!important;line-height:1!important;margin-bottom:7px!important}
  .about-page-redraw .about-lead{font-size:12px!important;line-height:1.45!important}
  .about-page-redraw .about-tags{display:none!important}
  .about-page-redraw .about-intro-extra{gap:6px!important;margin-top:9px!important}
  .about-page-redraw .about-intro-extra p{font-size:11.5px!important;line-height:1.42!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  .about-page-redraw .about-list{grid-template-columns:1fr!important;gap:7px!important}
  .about-page-redraw .about-item{min-height:0!important;height:auto!important;padding:10px 11px!important;border-radius:12px!important}
  .about-page-redraw .about-item p{font-size:11.5px!important;line-height:1.4!important}
  .about-page-redraw .recognition-card{grid-template-columns:1fr!important;gap:11px!important;padding:0!important}
  .about-page-redraw .recognition-copy h2{font-size:26px!important;line-height:1.04!important;margin:5px 0 8px!important}
  .about-page-redraw .recognition-copy p{font-size:11.5px!important;line-height:1.44!important}
  .about-page-redraw .recognition-hero{width:136px!important;height:116px!important;margin:0 auto!important;border-radius:15px!important}
  .about-page-redraw .recognition-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-top:9px!important}
  .about-page-redraw .recognition-gallery figure:last-child{grid-column:auto!important}
  .about-page-redraw .recognition-gallery img,.about-page-redraw .recognition-gallery figure:last-child img{height:84px!important}
  .about-page-redraw .recognition-gallery figcaption{padding:5px!important;font-size:8px!important;line-height:1.18!important}

  /* Account: compact like an app, not a desktop page squeezed into phone. */
  body.portal-page{overflow-x:hidden!important}
  body.portal-page .portal-shell{width:100%!important;max-width:100%!important;padding:7px!important}
  body.portal-page .portal-top{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;min-height:44px!important;padding:5px 6px!important;border-radius:13px!important;margin-bottom:7px!important}
  body.portal-page .portal-brand{gap:5px!important;min-width:0!important;flex:1 1 auto!important}
  body.portal-page .portal-brand img{width:24px!important;height:28px!important;animation:none!important}
  body.portal-page .portal-brand strong{font-size:12.5px!important;line-height:1!important;white-space:nowrap!important}
  body.portal-page .portal-brand>span>span{display:none!important}
  body.portal-page .portal-top>div{display:flex!important;gap:3px!important;flex-wrap:nowrap!important;margin-left:auto!important}
  body.portal-page .portal-top .portal-ghost{min-height:28px!important;height:28px!important;padding:4px 7px!important;border-radius:8px!important;font-size:7.5px!important}
  body.portal-page .portal-card{padding:12px!important;border-radius:16px!important}
  body.portal-page .portal-title{font-size:25px!important;line-height:1!important;margin:5px 0 3px!important}
  body.portal-page .portal-sub{font-size:10.5px!important;line-height:1.3!important}
  body.portal-page .portal-role{margin-top:6px!important;padding:4px 7px!important;font-size:7px!important}
  body.portal-page .portal-inbox-actions{margin-top:8px!important;gap:5px!important}
  body.portal-page .portal-action-btn{width:35px!important;height:35px!important;min-width:35px!important;border-radius:10px!important}
  body.portal-page .portal-action-icon svg{width:16px!important;height:16px!important}
  body.portal-page .portal-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important;margin:10px -2px 2px!important;padding:4px!important;border-radius:11px!important;scrollbar-width:none!important}
  body.portal-page .portal-tabs::-webkit-scrollbar{display:none!important}
  body.portal-page .portal-tab{flex:0 0 auto!important;min-height:32px!important;height:32px!important;padding:0 10px!important;border-radius:9px!important;font-size:8.5px!important;white-space:nowrap!important}
  body.portal-page .portal-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:9px 0 2px!important}
  body.portal-page .portal-stat{padding:9px!important;border-radius:12px!important}
  body.portal-page .portal-stat span{font-size:7px!important;line-height:1.2!important}
  body.portal-page .portal-stat b{font-size:19px!important;margin-top:4px!important}
  body.portal-page .portal-section{margin-top:9px!important;padding:11px!important;border-radius:14px!important}
  body.portal-page .portal-section h2{font-size:20px!important}
  body.portal-page .portal-form-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.portal-page .portal-profile-layout{grid-template-columns:1fr!important;gap:12px!important}

  /* Messages: Telegram-like list screen; no empty desktop half. */
  body.portal-page #messagesModal.portal-overlay{position:fixed!important;inset:0!important;padding:0!important;background:#052d22!important;z-index:10000!important}
  body.portal-page #messagesModal .portal-messenger-dialog{position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#052d22!important;box-shadow:none!important;overflow:hidden!important}
  body.portal-page #messagesModal .portal-dialog-close{position:fixed!important;top:10px!important;right:10px!important;width:34px!important;height:34px!important;z-index:50!important}
  body.portal-page #messagesModal .portal-messenger-shell{display:block!important;width:100%!important;height:100dvh!important;min-height:100dvh!important}
  body.portal-page #messagesModal .portal-messenger-sidebar{display:block!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;padding:10px 10px 18px!important;border:0!important;overflow-y:auto!important;background:linear-gradient(180deg,#073b2d,#04291f)!important}
  body.portal-page #messagesModal .portal-messenger-main{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important}
  body.portal-page #messagesModal .portal-messenger-mobile-brand{display:flex!important;align-items:center!important;gap:6px!important;min-height:38px!important;padding:0 44px 7px 1px!important;border-bottom:1px solid rgba(244,216,117,.12)!important}
  body.portal-page #messagesModal .portal-messenger-mobile-brand img:first-child{width:23px!important;height:27px!important}
  body.portal-page #messagesModal .portal-messenger-mobile-brand img:last-child{width:108px!important;height:auto!important}
  body.portal-page #messagesModal .portal-messenger-sidebar>.portal-kicker{margin-top:10px!important;font-size:7px!important}
  body.portal-page #messagesModal .portal-messenger-sidebar h2{font-size:24px!important;line-height:1!important;margin:4px 0 8px!important}
  body.portal-page #messagesModal .portal-messenger-search{min-height:38px!important;padding:9px 11px!important;border-radius:12px!important;font-size:12px!important}
  body.portal-page #messagesModal .portal-messenger-placeholder-list{gap:5px!important;margin-top:8px!important}
  body.portal-page #messagesModal .portal-messenger-contact{min-height:58px!important;padding:8px 9px!important;border-radius:12px!important}
  body.portal-page #messagesModal .portal-contact-avatar{width:39px!important;height:39px!important;min-width:39px!important;font-size:12px!important}
  body.portal-page #messagesModal .portal-messenger-contact b{font-size:13px!important}
  body.portal-page #messagesModal .portal-messenger-contact small{font-size:10px!important}
  body.portal-page #messagesModal .portal-messenger-sidebar::after{content:"Раздел сообщений готовится к запуску";display:block;margin:10px 0 0;padding:8px 10px;border-radius:10px;border:1px solid rgba(244,216,117,.13);color:rgba(255,255,255,.52);font-size:9px;line-height:1.35;text-align:center}

  /* Forms, tickets and generic cards */
  .registration-grid,.form-grid,.ticket-grid,.event-story-head,.story-intro,.event-rules-grid,.event-benefit-grid,.event-program-grid,.leaders-mini-grid,.ticket-type-grid,.special-registration-grid,.events-hub-grid,.application-option-grid,.application-contact-grid{
    grid-template-columns:1fr!important;gap:9px!important
  }
  input,select,textarea{font-size:16px!important}
  .registration-form,.event-info-card,.ticket-type-card,.story-panel,.legal-card{padding:13px!important;border-radius:15px!important}
  .events-hub-grid .event-card,.ticket-type-card{min-height:0!important}

  /* Admin remains usable on a phone: sidebar becomes horizontal nav, tables scroll inside. */
  body.admin-v2-page{overflow-x:hidden!important}
  body.admin-v2-page .admin-shell,body.admin-v2-page .admin-layout{width:100%!important;max-width:100%!important}
  body.admin-v2-page .admin-sidebar{position:relative!important;inset:auto!important;width:100%!important;min-height:0!important;height:auto!important;overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;align-items:center!important;gap:6px!important;padding:8px!important;white-space:nowrap!important;scrollbar-width:none!important}
  body.admin-v2-page .admin-sidebar::-webkit-scrollbar{display:none!important}
  body.admin-v2-page .admin-sidebar nav,body.admin-v2-page .admin-nav{display:flex!important;flex-direction:row!important;gap:5px!important;width:max-content!important}
  body.admin-v2-page .admin-main{margin-left:0!important;width:100%!important;padding:12px!important}
  body.admin-v2-page .admin-topbar{gap:7px!important;flex-wrap:wrap!important}
  body.admin-v2-page .admin-grid,body.admin-v2-page .admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.admin-v2-page .admin-table-wrap,body.admin-v2-page .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}

  /* Footer is a signature, not another long page. */
  .site-footer{padding:26px 0 16px!important}
  .site-footer .footer-grid{gap:16px!important;margin-bottom:16px!important}
  .site-footer .footer-brand img{width:min(118px,38vw)!important}
  .site-footer .footer-brand p{font-size:9px!important;line-height:1.4!important;max-width:310px!important}
  .site-footer .footer-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .site-footer .footer-links h4{font-size:7px!important}
  .site-footer .footer-links a{font-size:8px!important;line-height:1.3!important}
  .site-footer .footer-bottom{font-size:7.5px!important;gap:6px!important}
}

@media(max-width:420px){
  :root{--m142-pad:14px}
  body:not(.application-page) .hero h1{font-size:27px!important}
  .section-heading h2,.ecosystem-heading h2,.author-page-heading h2{font-size:24px!important}
  .home-ecosystem .ecosystem-heading h2.ecosystem-title{font-size:23px!important}
  .section-qualities .qualities-heading h2{font-size:25px!important}
  .section-qualities .quality-card{font-size:11.5px!important}
  .programs-hub-page .hub-card h3{font-size:18px!important}
  body.portal-page .portal-title{font-size:24px!important}
}

/* v142 QA corrections discovered in rendered mobile review. */
@media(max-width:760px){
  .programs-hub-page .hub-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;grid-template-areas:none!important}
  .programs-hub-page .hub-card .tag,.programs-hub-page .hub-card h3,.programs-hub-page .hub-card p,.programs-hub-page .hub-card .hub-actions{grid-area:auto!important;width:100%!important}
  .programs-hub-page .hub-card .tag{width:auto!important}
  .programs-hub-page .hub-card .hub-actions{display:flex!important;margin-top:4px!important;align-self:stretch!important}
  .programs-hub-page .hub-card .hub-actions a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;min-width:0!important;min-height:40px!important;padding:9px 12px!important;border-radius:12px!important;font-size:9.5px!important}
  .programs-hub-page .hub-card .hub-actions a::after{content:none!important;display:none!important}

  .about-page-redraw .about-intro-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
  .about-page-redraw .about-photo-card{order:1!important;width:min(180px,58vw)!important;max-width:180px!important;margin:0 auto!important;border-radius:16px!important}
  .about-page-redraw .about-intro .text-block{order:2!important;width:100%!important;max-width:100%!important;transform:none!important;text-align:left!important}
  .about-page-redraw .about-intro .text-block>*{margin-left:0!important;margin-right:0!important}
  .about-page-redraw .about-intro .kicker{justify-content:flex-start!important}
}
@media(max-width:760px){
  .about-page-redraw .about-bio>.container,.about-page-redraw .about-recognition>.container{width:100%!important;max-width:100%!important}
  .about-page-redraw .about-list{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin-top:0!important}
  .about-page-redraw .about-item{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:10px 0!important;border:0!important;border-bottom:1px solid rgba(242,215,144,.14)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .about-page-redraw .about-item::before,.about-page-redraw .about-item::after{display:none!important}
  .about-page-redraw .about-item p{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;color:rgba(255,255,255,.80)!important;font-size:12px!important;line-height:1.45!important;font-weight:500!important;text-shadow:none!important}
}
@media(max-width:760px){
  /* Event / payment pages: no word-by-word billboard titles and no poster-sized shields. */
  .event-detail-page .event-hero,.generic-event-page .event-hero,.payment-category-page .event-hero{min-height:0!important;padding:82px 0 28px!important}
  .event-detail-page .event-hero-grid,.generic-event-page .event-hero-grid,.payment-category-page .event-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;align-items:start!important}
  .event-detail-page .event-hero h1,.generic-event-page .event-hero h1,.payment-category-page .event-hero h1{font-size:36px!important;line-height:.96!important;letter-spacing:-.025em!important;margin:17px 0 14px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
  .event-detail-page .event-hero h1 em,.generic-event-page .event-hero h1 em,.payment-category-page .event-hero h1 em{white-space:nowrap!important}
  .event-detail-page .event-hero-copy>p,.generic-event-page .event-hero-copy>p,.payment-category-page .event-hero-copy>p{font-size:13px!important;line-height:1.46!important}
  .event-hero-tags{gap:6px!important;margin-top:16px!important}
  .event-hero-tags span{font-size:8px!important;padding:6px 8px!important}
  .event-poster-placeholder{min-height:220px!important;padding:16px!important;border-radius:20px!important}
  .event-poster-placeholder::before{inset:8px!important;border-radius:15px!important}
  .poster-shield{width:86px!important;height:86px!important}
  .event-poster-placeholder span{margin-top:10px!important;font-size:7px!important}
  .event-poster-placeholder strong{font-size:28px!important;margin-top:7px!important}
  .event-poster-placeholder small{font-size:9px!important;line-height:1.35!important;margin-top:8px!important}
  .events-flow{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .flow-card{padding:14px!important;border-radius:15px!important}
  .flow-card b{font-size:31px!important}
  .flow-card h3{font-size:18px!important;margin:9px 0 6px!important}
  .flow-card p{font-size:10px!important;line-height:1.4!important}
  .ticket-state{padding:24px 14px!important}
  .ticket-state h1{font-size:31px!important;line-height:1.02!important}
  .legal-shell{padding:88px 0 42px!important}
  .legal-shell h1{font-size:31px!important;line-height:1.02!important}
  .legal-card h2{font-size:23px!important}
  .legal-card p{font-size:12px!important;line-height:1.6!important}
}
@media(max-width:370px){
  .event-detail-page .event-hero h1,.generic-event-page .event-hero h1,.payment-category-page .event-hero h1{font-size:33px!important}
  .events-flow{grid-template-columns:1fr!important}
}
