/* Phone adaptation: compact toolbar and rounded page sheet; shared icon artwork. */
.mobile-app-menu{display:none}
@media(max-width:760px){
  :root{--bar-height:62px;--mobile-top:max(8px,env(safe-area-inset-top));--mobile-bottom:max(8px,env(safe-area-inset-bottom))}
  html,body{min-height:100svh}
  .system-bar{inset:var(--mobile-top) 8px auto;height:46px;padding:0 6px;gap:8px;border-radius:6px;background:#0c1b63ed;border-color:#ffffff38;box-shadow:0 3px 12px #03115220;direction:ltr}
  .system-left{flex-shrink:0}.system-right{gap:2px;margin-inline-start:auto}
  .system-bar .brand-button{gap:7px;padding:0 6px!important}
  .brand-button::after{content:'';width:6px;height:6px;border-right:1.5px solid #a8bbff;border-bottom:1.5px solid #a8bbff;transform:rotate(45deg);margin-top:-3px}
  .bar-brand-logo{width:90px}
  .system-bar .header-contact-cta{height:34px;min-width:88px;padding:0 10px;font-size:12px;border-radius:5px;box-shadow:0 2px 0 #061858}
  .system-bar .language-toggle,.system-bar .command-trigger{height:44px;width:40px;min-width:40px;padding:0!important}
  .system-bar .language-toggle{font-size:17px}.command-trigger>span{font-size:26px;line-height:1}
  [dir="rtl"] .system-bar{direction:rtl}
  .system-menu{top:calc(var(--mobile-top) + 50px);max-height:calc(100dvh - 74px);overflow:auto;max-width:calc(100vw - 16px);border-radius:8px}
  #trinova-menu>button,#trinova-menu>hr{display:none}.mobile-app-menu{display:grid}.mobile-app-menu button{min-height:44px;font-size:14px}
  .desktop{margin-top:calc(var(--mobile-top) + 54px);min-height:calc(100svh - 62px);background:radial-gradient(ellipse at 20% 0,#4165ff55,transparent 60%),linear-gradient(160deg,#2147ed,#1839be)}
  .desktop-intro{display:none}.grid-lines{opacity:.055;background-size:56px 56px}.orb{opacity:.13}
  .desktop-icons{gap:18px 4px;padding:12px 12px 48px;align-content:start}
  .desktop-icons .desktop-icon{order:var(--mobile-order);min-height:94px;padding:6px 2px 8px;border:0;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px}
  .desktop-icon>small{display:none}
  .desktop-icon>strong{font-size:15px;line-height:1.35;letter-spacing:0;font-weight:600;margin:0;text-shadow:0 2px 3px #06164f66;max-width:110px;overflow-wrap:normal}


  .desktop-icon:hover,.desktop-icon:focus-visible{background:#ffffff12}
  .desktop-icon:focus-visible{outline-offset:1px}
  .app-window,.app-window.is-maximized{inset:calc(var(--mobile-top) + 50px) 8px var(--mobile-bottom)!important;border:1px solid #ffffff99;border-radius:8px 8px 22px 22px;background:#fff;box-shadow:0 14px 45px #06133d55;overflow:hidden}
  .app-window.is-active{box-shadow:0 14px 45px #06133d55}
  .app-window .window-bar{position:absolute;top:0;right:0;left:auto;width:48px;height:44px;display:flex;justify-content:flex-end;background:#fff;border:0;z-index:12;padding:0;border-radius:0;direction:ltr!important}
  .window-bar>strong,.window-meta,.panel-breadcrumb{display:none}
  .window-controls{padding:0!important;gap:0}
  .window-controls button[data-window-action="close"]{width:44px;height:44px;border:0;border-radius:0;background:transparent;color:#435475;box-shadow:none}
  .window-controls button[data-window-action="close"]::after{font-size:30px;color:currentColor;font-weight:400}
  .window-controls button[data-window-action="close"]:hover{background:#eaf0ff;color:#173cf4;border:0}
  .window-controls button:focus-visible{outline-color:#173cf4;outline-offset:-5px}
  .window-content{height:100%;padding-top:44px;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#9facce transparent;scroll-padding-top:54px;-webkit-overflow-scrolling:touch}
  body.panel-open{overflow:hidden}
  .home-copy{padding:25px 23px 32px}.home-copy h1{font-size:37px}.home-copy p,.home-section p{font-size:15px;line-height:1.7}
  .home-copy .button-row{gap:12px}.home-section{padding:30px 22px}
  .primary-action,.secondary-action{min-height:44px;height:auto;font-size:13px;padding:12px 16px}
  .home-faq summary,.build-questions summary,.pricing-details summary{font-size:15px;min-height:44px;display:flex;align-items:center;line-height:1.5}
  .home-faq details p,.build-questions p,.build-questions li,.pricing-details p{font-size:14px;line-height:1.8}
  .services-preview .service-category{min-height:54px;font-size:12px;padding:10px 6px;line-height:1.4}
  [dir="rtl"] .services-preview .service-category{font-size:12px;line-height:1.7}
  .catalogue-hero p,.service-card p,.build-copy p,.service-fit p{font-size:15px;line-height:1.7}
  .service-card h4{font-size:18px}.service-card{padding-block:21px 25px}
  .catalogue-section-head>span{font-size:10px}
  .contact-content{min-height:calc(100% - 44px)}.contact-content>p,.window-page-head p,.about-copy p,.folder-head p,.principles-content p,.project-row p{font-size:14px;line-height:1.7}
  .contact-actions a,.plan-enquiry,.plan-tabs button,.plan-toggle button{min-height:44px;font-size:13px}
  .plan-card ul,.plan-tagline,.plan-scope{font-size:14px}
  .service-poster{min-height:270px}.poster-symbol{width:132px;height:132px}.poster-symbol svg{width:76px;height:76px}
  .command-dialog{max-width:calc(100vw - 24px)}
  [dir="rtl"] .desktop-icon>strong{font-size:15px;line-height:1.6}
  @media(max-width:350px){.bar-brand-logo{width:73px}.system-bar .header-contact-cta{min-width:78px;font-size:11px;padding-inline:7px}.system-bar .language-toggle,.system-bar .command-trigger{width:36px;min-width:36px}.desktop-icons{padding-inline:6px}.desktop-icon>strong{font-size:14px}}
}
