/* Shared action design for desktop navigation and mobile home. */
.side .system-menu .menu-action,.side .system-menu .menu-action-disabled{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:72px;padding:12px 14px;margin:0 0 8px;border:1px solid transparent;border-radius:9px;text-align:left;text-decoration:none;line-height:1.35;box-sizing:border-box}
.side .system-menu .menu-action-icon,.mobile-primary-actions .menu-action-icon{display:block;width:22px;height:22px;flex:0 0 22px;margin:0}
.side .system-menu .menu-action-copy,.mobile-primary-actions .menu-action-copy{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;width:auto;font-size:15px;line-height:1.35;text-align:left}
.menu-action-copy strong{font-size:15px;line-height:1.35;font-weight:700;overflow-wrap:normal}
.side .system-menu .menu-action-copy small,.mobile-primary-actions .menu-action-copy small{display:block;color:inherit;font-size:12px;font-weight:400;line-height:1.35;margin:0}
.side .system-menu .menu-incident,.mobile-primary-actions .mobile-urgent{background:#ed7010;color:#fff}
.side .system-menu .menu-trip,.mobile-primary-actions .mobile-trip-action{background:#007e86;color:#fff}
.side .system-menu .menu-departure,.mobile-primary-actions .home-departure-action{background:#007e86;color:#fff}
.side .system-menu .menu-report,.mobile-primary-actions .home-report-action{background:#20689a;color:#fff}
.side .system-menu .menu-action-disabled,.mobile-primary-actions .home-departure-disabled{background:#eef0ef;color:#626f77;border-color:#e1e5e3;cursor:default}
.side .system-menu>a:not(.menu-action):not(.menu-route-status){color:#526b79}
.side .system-menu .menu-action:hover,.mobile-primary-actions a:hover{filter:brightness(.94)}
.side .system-menu .menu-action:focus-visible,.mobile-primary-actions a:focus-visible,.system-footer a:focus-visible{outline:3px solid #143c5b;outline-offset:3px}
.footer-connect{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 14px}.footer-connect [hidden]{display:none!important}.footer-connect .footer-telegram{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #c6dddf;border-radius:7px;background:#e6f4f1;color:#006a74;text-decoration:none;font-size:14px;font-weight:700}.footer-connect button{font-size:14px;min-height:44px}.system-footer nav{flex-wrap:wrap;gap:8px 24px}.system-footer nav a{display:inline-flex;align-items:center;min-height:44px;color:#526b79;font-weight:400}.system-footer small{display:block;line-height:1.5}
@media(max-width:800px){.mobile-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0 0 18px}.mobile-primary-actions>a,.mobile-primary-actions>span{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;width:100%;min-height:72px;padding:12px 16px;margin:0;border:1px solid transparent;border-radius:9px;text-decoration:none;text-align:left;box-sizing:border-box}.mobile-primary-actions .menu-action-copy strong{font-size:16px}.mobile-primary-actions .home-departure-disabled{border-color:#e1e5e3}.system-footer .footer-connect{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:12px}.system-footer .footer-connect>*{width:100%}.system-footer nav{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.system-footer nav a{font-size:14px;padding:8px 0}.system-footer small{font-size:12px;margin-top:12px;max-width:340px}}


/* Unified footer and participant controls. */
.system-footer{padding:24px 30px;background:#f3f5f4;border-top:1px solid #dce3e4;color:#526b79}.system-footer .footer-connect{display:flex;gap:12px;align-items:stretch;margin:0 0 16px}.system-footer .footer-connect>a,.system-footer .footer-connect>button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;margin:0;padding:10px 16px;border:1px solid #d0dadd;border-radius:8px;background:#fff;color:#254c60;font-size:14px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;box-sizing:border-box}.system-footer .footer-connect .footer-telegram{background:#e6f4f1;color:#006a74;border-color:#c6dddf}.system-footer nav{display:flex;gap:8px 24px;margin:0 0 12px}.system-footer small{font-size:12px}.people-stepper{display:flex;align-items:center;gap:8px;max-width:240px}.trip-page .people-stepper button{flex:0 0 48px;min-height:48px;margin:0;padding:0;font-size:24px}.trip-page .people-stepper input{width:80px;min-width:0;min-height:48px;margin:0;text-align:center}.people-stepper button:disabled{opacity:.45;cursor:default}
@media(min-width:801px){.system-footer #install-app{display:none!important}}
@media(max-width:800px){.system-footer{padding:20px 16px}.system-footer .footer-connect{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.system-footer nav{display:grid;grid-template-columns:minmax(0,1fr);gap:2px}.system-footer nav a{min-height:44px;padding:8px 0;margin:0}.system-footer small{margin-top:12px;max-width:none}}


/* Compact shared header/footer. */
.preview-banner{display:none!important}.system-header .brand strong{font-size:clamp(21px,2.1vw,28px);line-height:1.2}.system-header .brand small{font-size:14px;line-height:1.45;max-width:440px}.system-footer{padding:20px 26px}.system-footer .footer-connect{margin-bottom:8px;gap:10px}.system-footer nav{margin-bottom:4px;gap:4px 20px}.system-footer small{margin-top:8px}
@media(max-width:800px){.system-header .brand strong{font-size:20px}.system-header .brand small{font-size:12px}.system-footer{padding:16px}.system-footer .footer-connect{gap:8px;margin-bottom:10px}.system-footer nav{gap:0}.system-footer nav a{min-height:40px;padding:8px 0}.system-footer small{margin-top:8px;line-height:1.5}}


/* Approved navy header on desktop and mobile. */
.system-header{background:#163d54;border-bottom:1px solid #123448;padding:16px 26px;min-height:88px}.system-header .brand{gap:14px}.system-header .brand img{width:54px;height:54px;object-fit:contain}.system-header .brand strong{color:#fff;font-size:25px}.system-header .brand small{color:#d5e5eb;font-size:13px;margin-top:5px}.system-header .header-auth,.system-header .header-auth a,.system-header .header-login,.system-header .header-user-role,.system-header .header-user-name{color:#fff}.system-header .header-login{border-color:#638393;background:transparent}.system-footer{background:#f0f4f7;color:#647b8b;border-top:1px solid #e0e7ec}.system-footer nav a{color:#547084}
@media(max-width:800px){.system-header{padding:14px 16px;min-height:0}.system-header .brand{gap:10px}.system-header .brand img{width:42px;height:42px}.system-header .brand strong{font-size:19px}.system-header .brand small{font-size:11px;line-height:1.4}.system-header .header-auth{font-size:13px}.trip-page .side{background:#f7f9fb}}
/* Service pages previously overrode the shared header with white. */
.incident-management .system-header{background:#163d54;border-bottom:1px solid #123448}.incident-management .system-header .brand strong{color:#fff}.incident-management .system-header .brand small{color:#d5e5eb}.incident-management .system-header .header-auth a,.incident-management .system-header .header-auth,.incident-management .system-header .header-login,.incident-management .system-header .header-user-role,.incident-management .system-header .header-user-name{color:#fff}
body.incident-management header.system-header{background:#163d54;color:white;border-bottom-color:#123448;padding:16px 26px}.incident-management .system-header .brand strong{font-size:25px}.incident-management .system-header .brand img{width:54px;height:54px}
@media(max-width:800px){body.incident-management header.system-header{padding:14px 16px}.incident-management .system-header .brand strong{font-size:19px}.incident-management .system-header .brand img{width:42px;height:42px}.incident-management .system-header .brand small{font-size:11px}}
