:root{--navy:#123f49;--teal:#087f78;--line:#dbe9e8}
body{background:#f2f8f7;color:#173f48}
#header{background:rgba(255,255,255,.96);border-bottom:1px solid #d7e7e4;box-shadow:0 8px 32px #153f4610}
.brand .logo{background:transparent url('/gp37/assets/icon.svg?v=20261029-clinic37') center/contain no-repeat;border-radius:50%}
.brand .logo:before,.brand .logo:after{display:none}
.sa-back{color:#30616b;font-size:12px;text-decoration:none;font-weight:650;padding:10px;border-radius:10px;white-space:nowrap}
.sa-back:hover{background:#e8f5f1;color:#00746e}
.v5-home{max-width:1280px}.v5-welcome h1{letter-spacing:-2px;color:#123f49}.v5-welcome{border-radius:28px}
.admin-aside{background:linear-gradient(165deg,#103f48,#0a6259);border-radius:0 0 24px 0}
.admin-content{background:#f2f8f7}.panel{box-shadow:0 6px 24px #173f4806;border-color:#dce9e7}
.button{border-radius:12px}.button:not(.secondary):not(.danger){background:#087f78;color:white;box-shadow:0 5px 14px #087f7818}
input:focus,select:focus,textarea:focus{outline:3px solid #b9e7df;outline-offset:1px}
#mobileNav{grid-template-columns:repeat(3,1fr)}body:has(.admin-layout) #mobileNav{grid-template-columns:repeat(4,1fr)}
@media(max-width:640px){.brand small{font-size:10px}.sa-back{font-size:11px;padding:6px}.head-tools{gap:4px}.brand b{font-size:15px}.v5-welcome h1{letter-spacing:-1.4px}}
.sa-login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 10%,#d8f2e9,transparent 60%),radial-gradient(ellipse at 90% 90%,#d9eef5,transparent 60%),#f3f8f7}
.sa-login-card{width:min(100%,440px);padding:36px;background:white;border:1px solid #d4e7e2;border-radius:26px;box-shadow:0 24px 80px #17454b18}
/* Patient navigation: the map is the workspace, search is only opened on demand. */
.simple-patient{height:100dvh;overflow:hidden;padding:0}
.simple-patient #header{height:62px;padding:0 24px;gap:10px}
.simple-patient .desktopNav,.simple-patient #mobileNav{display:none}
.simple-patient .head-tools{margin-left:auto}.simple-patient .brand{min-width:0}
.simple-patient .brand .logo{width:38px;height:38px;background-size:32px}
.simple-patient .brand b{font-size:17px}.simple-patient .brand small{font-size:10px}
.simple-patient #app{height:calc(100dvh - var(--nav-top,62px));min-height:0}
.journey-app{height:100%;display:flex;flex-direction:column;min-height:0}
.journey-form{flex-shrink:0;padding:12px 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;background:white;box-shadow:0 6px 25px #16463e08;z-index:2}
.journey-point{display:flex;align-items:center;gap:12px;border:1px solid #d7e6e2;background:#f7faf9;border-radius:14px;padding:10px 14px;text-align:left;min-width:0}
.journey-point>span:nth-child(2){flex:1;min-width:0}.journey-point small,.journey-point b,.journey-point em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal}.journey-point small{font-size:10px;color:#64817e}.journey-point b{font-size:14px}.journey-point em{font-size:10px;color:#507a79}
.journey-point>.icon{width:17px;color:#789b98}.journey-dot{width:12px;height:12px;background:#308bd1;border:3px solid white;box-shadow:0 0 0 2px #308bd1;border-radius:50%;flex-shrink:0}.journey-dot.end{background:#008776;box-shadow:0 0 0 2px #008776;border-radius:3px}
.journey-build{min-width:180px}.journey-map{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse,#fafffa,#edf5f1)}
.journey-map .svgmap{height:100%;min-height:0;width:100%;background:transparent}
.journey-map-top{position:absolute;top:14px;left:24px;right:24px;display:flex;align-items:start;justify-content:space-between;gap:10px;pointer-events:none}.journey-map-top>*{pointer-events:auto}
.journey-transport{display:flex;align-items:center;gap:8px;border:1px solid #dbe7e3;border-radius:12px;background:white;padding:4px 10px;font-size:11px;color:#567471;box-shadow:0 6px 20px #123f4810}.journey-transport select{border:0;background:transparent;padding:8px 4px;min-width:0;font-size:12px;color:#164a47;font-weight:600;max-width:170px}
.journey-route-dot{display:inline-block;width:6px;height:6px;background:#23c8a1;border-radius:50%;margin-left:5px}
.journey-map-tools{position:absolute;right:24px;bottom:68px;display:grid;gap:6px}.journey-map-tools .iconbtn{width:44px;height:44px;box-shadow:0 6px 20px #16473f12}
.journey-map-bottom{position:absolute;bottom:12px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center;gap:12px;pointer-events:none}.journey-map-bottom>span{font-size:11px;color:#537b6d;background:#f8fcf4ed;border-radius:10px;padding:7px 10px}.journey-map-bottom>button{pointer-events:auto;display:flex;gap:6px;align-items:center;border:1px solid #dbe7e3;background:white;border-radius:12px;padding:10px;font-size:11px}
.journey-guide{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 24px max(12px,env(safe-area-inset-bottom));background:white;border-top:1px solid #d7e7e2;box-shadow:0 -6px 25px #16473f08;z-index:2}
.journey-leg{position:absolute;left:24px;top:72px;max-width:calc(100% - 100px);display:flex;align-items:center;gap:16px;border:1px solid #d6e6df;border-radius:14px;background:#ffffffed;box-shadow:0 6px 24px #1746390b;padding:10px 14px;pointer-events:auto}.journey-leg>span{min-width:0}.journey-leg small{font-size:10px;color:#087f78;text-transform:uppercase;letter-spacing:.8px;font-weight:750}.journey-leg b{display:block;font-size:12px;font-weight:600;max-width:460px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journey-leg>.button{flex-shrink:0}.journey-street{background:#eaf2e5}.journey-outside-path{stroke:#a66b22!important}
.journey-step-copy{border:0;background:transparent;text-align:left;min-width:0;padding:0;flex:1}.journey-step-copy small{color:#557970;font-size:11px;display:block}.journey-step-copy b{display:block;font-size:16px;margin-top:3px;line-height:1.3}.journey-step-copy em{font-style:normal;font-size:11px;color:#557970;display:block}.journey-guide-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.journey-search-hint{padding:22px 5px;color:#66857d;font-size:13px}.journey-landmark-tabs{display:flex;gap:8px;flex-wrap:wrap}
.journey-home{height:100%;display:flex;flex-direction:column;background:white;min-height:0}
.journey-home-heading{padding:20px 18px 8px;flex-shrink:0}.journey-home h1{font-size:25px;letter-spacing:-.7px;line-height:1.2;margin-bottom:14px}
.journey-home-origin{display:flex;gap:9px;align-items:center;width:100%;border:1px solid #d9e8e3;border-radius:12px;background:#f3f9f6;padding:9px 12px;text-align:left;margin-bottom:12px}.journey-home-origin>span:nth-child(2){flex:1;min-width:0}.journey-home-origin small,.journey-home-origin b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.journey-home-origin small{font-size:9px;color:#6a8980}.journey-home-origin b{font-size:12px}.journey-home-origin>.icon{color:#0b8c7b;width:18px}.journey-change{font-size:10px;color:#0b8579}
.journey-home .searchbox{margin:0 0 12px;box-shadow:none;border:0;background:#f1f5f5;min-height:48px;border-radius:12px;padding:0 12px}.journey-home .searchbox input{font-size:16px;padding:12px 0;min-width:0}
.journey-categories{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.journey-categories button{border:0;background:#f3f5f5;border-radius:10px;min-height:42px;font-size:12px;font-weight:700;color:#57746f}.journey-categories button.on{background:#dff4ef;color:#007e6f}
.journey-home-results{padding:0 18px;flex:1;overflow:auto;min-height:0;overscroll-behavior:contain}.journey-destination{display:flex;width:100%;align-items:center;gap:12px;border:0;border-bottom:1px solid #e6efec;background:white;padding:10px 0;text-align:left;min-height:58px}.journey-destination>span:nth-child(2){flex:1;min-width:0}.journey-destination b{display:block;font-size:14px;line-height:1.3}.journey-destination small{display:block;font-size:10px;color:#82968f;margin-top:3px;line-height:1.4}.journey-destination .roomicon{width:30px;height:30px;background:transparent;color:#10897e}.journey-destination .roomicon .icon{width:23px;height:23px}.journey-destination>.icon{width:14px;color:#a3b8b1}.journey-home-more{padding:16px 0;font-size:11px;color:#6f8b81;line-height:1.5}.journey-home-footer{border-top:1px solid #deebe6;display:flex;justify-content:space-around;align-items:center;gap:10px;padding:10px 18px max(10px,env(safe-area-inset-bottom));background:#f8fcfa;flex-shrink:0}.journey-home-footer>span{font-size:11px;font-weight:650;color:#087f78;display:flex;align-items:center;gap:7px}.journey-home-footer>.button{font-size:11px}
.simple-patient .v5-point-list{max-height:52dvh}.simple-patient #pointSearch{font-size:16px}.simple-patient #toast{bottom:24px}
@media(max-width:640px){
 .simple-patient #header{height:54px;padding:0 12px}.simple-patient .brand b{font-size:14px}.simple-patient .brand small{font-size:9px}.simple-patient .brand .logo{width:32px;height:32px;background-size:28px}.simple-patient .head-tools .iconbtn{min-width:32px;width:32px;height:32px;font-size:12px}.simple-patient .sa-back{font-size:10px;padding:3px}
 .journey-form{padding:10px 12px 12px;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-radius:0 0 20px 20px;box-shadow:0 8px 24px #234c3c0a}.journey-point{min-height:58px;padding:7px 10px;gap:8px;border-radius:13px}.journey-point small{font-size:10px}.journey-point b{font-size:12px}.journey-point em{font-size:9px}.journey-point>.icon{display:none}.journey-dot{width:9px;height:9px;border-width:2px}.journey-build{grid-column:1 / -1;min-width:0;width:100%;min-height:44px;padding:10px;flex-direction:row;font-size:13px;font-weight:700;line-height:1.3;word-spacing:normal;border-radius:13px}.journey-build .icon{width:20px;height:20px}
 .journey-map-top{left:12px;right:12px;top:10px;gap:6px}.journey-map-top .floor-switch{padding:3px;gap:0}.journey-map-top .floor-switch button{font-size:10px;min-height:34px;padding:7px 9px}.journey-transport{padding:2px 5px}.journey-transport>span{display:none}.journey-transport select{font-size:11px;max-width:138px;padding:9px 0}
 .journey-map-tools{right:12px;bottom:55px;gap:5px}.journey-map-tools .iconbtn{width:40px;height:40px;min-width:40px}.journey-map-bottom{left:12px;right:12px;bottom:10px;gap:5px}.journey-map-bottom>span{font-size:9px;max-width:180px;padding:6px}.journey-map-bottom>button{font-size:9px;padding:8px 6px;gap:4px}.journey-map-bottom .icon{width:16px;height:16px}
 .journey-guide{padding:12px 14px max(12px,env(safe-area-inset-bottom));gap:10px;align-items:center;border-radius:20px 20px 0 0}.journey-step-copy small{font-size:10px;color:#087f78;font-weight:600}.journey-step-copy b{font-size:14px;line-height:1.35}.journey-step-copy em{font-size:10px}.journey-guide-actions{gap:5px;display:grid;grid-template-columns:32px 65px}.journey-guide-actions .iconbtn{min-width:32px;width:32px;height:36px;padding:5px}.journey-guide-actions .button{font-size:12px;padding:8px;min-height:38px}.journey-guide-actions [data-action="route-instructions"]{grid-column:1 / 3;width:100%;height:26px;border:0}.journey-guide-actions [data-action="route-instructions"]:after{content:'Все шаги';font-size:10px}
 .journey-leg{left:12px;right:12px;top:62px;max-width:none;padding:8px 10px;gap:8px;border-radius:12px}.journey-leg>span{flex:1}.journey-leg small{font-size:9px}.journey-leg b{font-size:11px}.journey-leg>.button{padding:8px;font-size:10px;min-height:36px}
 .journey-home{background:linear-gradient(160deg,#f3faf7,white 45%)}.journey-home-heading{padding:24px 20px 10px}.journey-home h1{font-size:28px;letter-spacing:-.9px;max-width:320px;margin-bottom:20px}.journey-home-origin{background:white;border-color:#dceae4;padding:11px 12px;box-shadow:0 4px 16px #184e4005}.journey-home-results{padding:2px 20px 8px}.journey-destination{background:transparent;min-height:61px}.journey-destination .roomicon{background:#e8f5ee;border-radius:11px;width:38px;height:38px}.journey-destination b{font-size:15px}.journey-destination small{font-size:11px;color:#6b837b}.journey-categories button.on{box-shadow:inset 0 0 0 1px #b3ded0;background:#dff3ec}.journey-home-footer{background:white}
 .simple-patient .modal-shade{align-items:end;padding:0}.simple-patient .modal{width:100%;border-radius:22px 22px 0 0;max-height:92dvh}.simple-patient .v5-point-list{max-height:50dvh}.simple-patient .modal-body{padding:16px}.simple-patient .modal-header{padding:14px 16px}.simple-patient .modal-header h2{font-size:18px}
}
@media(max-height:480px) and (orientation:landscape){.simple-patient #header{height:44px}.journey-form{display:flex;padding:5px 12px}.journey-point{flex:1;min-height:44px}.journey-build{width:auto;min-width:130px;word-spacing:normal;flex-direction:row}.journey-guide{padding:5px 12px}.journey-guide-actions{display:flex}.journey-guide-actions [data-action="route-instructions"]{width:auto}}
@media print{body{background:white!important}#printSheet.qr-only-sheet{padding:12mm!important}.qr-only-label{width:100%;text-align:center;break-inside:avoid;color:#123f49}.qr-only-label header{margin:0 0 12mm}.qr-only-label h2{font-size:22pt;margin:0 0 5mm}.qr-only-label p{font-size:15pt;margin:0}.qr-only-code{width:145mm;max-width:100%;margin:auto;background:white;padding:8mm}.qr-only-code svg{display:block;width:100%!important;height:auto!important;aspect-ratio:1;print-color-adjust:exact}.qr-only-code path{fill:black}}
.sa-login-mark{display:flex;align-items:center;gap:12px;margin-bottom:32px;font-weight:800;color:#087f78}.sa-login-mark img{width:42px;height:42px;object-fit:contain}.sa-login-card h1{font-size:30px;line-height:1.15;letter-spacing:-.8px;margin:10px 0 14px}.sa-login-card .field{margin:18px 0}.sa-login-card input{width:100%;box-sizing:border-box}.sa-login-card .button{width:100%;justify-content:center;margin-top:12px}.sa-login-card .hint{line-height:1.6}.sa-login-footer{display:flex;justify-content:space-between;gap:12px;margin-top:26px;font-size:12px}.sa-login-footer a{color:#397078}
/* Phone application shell: selection never disappears when a route step changes. */
.mobile-app{--app-nav:calc(68px + env(safe-area-inset-bottom));font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;background:#f5f8f7}
.mobile-app #header{height:76px;padding:12px 20px;border:0;box-shadow:none;background:#f5f8f7;justify-content:space-between}
.mobile-app .brand{gap:10px;text-align:left}.mobile-app .brand .logo{width:42px;height:42px;background-size:38px;border-radius:14px;box-shadow:none}.mobile-app .brand b{font-size:17px;letter-spacing:-.5px}.mobile-app .brand small{font-size:9px;font-weight:750;letter-spacing:1px;color:#53837b;margin:0 0 3px}
.mobile-app #header>.iconbtn{width:44px;height:44px;border:0;background:white;border-radius:50%}
.mobile-app #app{height:calc(100dvh - var(--nav-top,76px) - var(--app-nav));min-height:0;overflow:hidden}
.mobile-app #mobileNav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);height:var(--app-nav);bottom:0;left:0;right:0;padding:5px 12px env(safe-area-inset-bottom);border:0;border-top:1px solid #e1ebe6;background:#fffffff5;backdrop-filter:blur(20px);z-index:20;box-shadow:none}
.mobile-app #mobileNav button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:3px 8px;min-height:56px;color:#738882;background:transparent;font-size:10px;border:0;border-radius:14px}
.mobile-app #mobileNav button>span{display:grid;place-items:center;width:58px;height:30px;border-radius:20px}.mobile-app #mobileNav .icon{width:23px;height:23px}.mobile-app #mobileNav b{font-weight:650}.mobile-app #mobileNav button.active{color:#05786d}.mobile-app #mobileNav button.active>span{background:#def2eb}.native-route-live{position:absolute;top:7px;left:calc(50% + 14px);width:6px;height:6px;border-radius:50%;background:#0b9c81;box-shadow:0 0 0 2px white}
.mobile-app button{touch-action:manipulation}.mobile-app button:focus-visible{outline:3px solid #41b8a7;outline-offset:2px}.mobile-app #toast{bottom:calc(var(--app-nav) + 12px);z-index:2100}
.mobile-app .journey-home{background:#f5f8f7}.mobile-app .journey-home-heading{padding:8px 20px 12px}.mobile-app .journey-home h1{font-size:32px;line-height:1.08;font-weight:780;letter-spacing:-1.25px;max-width:320px;margin:8px 0 22px}
.mobile-app .journey-home-origin{background:#e7f1ed;border:0;box-shadow:none;border-radius:16px;padding:12px;margin-bottom:16px}.mobile-app .journey-home-origin b{font-size:13px}.mobile-app .journey-home-origin small{font-size:10px}.mobile-app .journey-change{font-size:10px;font-weight:650}
.mobile-app .journey-home .searchbox{background:white;border:1px solid #e3ebe6;border-radius:16px;min-height:52px;margin-bottom:14px;box-shadow:0 4px 12px #1d534b04}.mobile-app .journey-home .searchbox>.icon{color:#318c7c}
.mobile-app .journey-categories{padding:4px;background:#eaf0ed;gap:3px;border-radius:14px}.mobile-app .journey-categories button{background:transparent;color:#789187;min-height:40px;font-size:12px;border-radius:11px}.mobile-app .journey-categories button.on{background:white;box-shadow:0 2px 8px #194b3612;color:#087568}
.native-toilet-shortcut{display:flex;align-items:center;gap:8px;text-align:left;margin:0 20px 10px;padding:8px 12px;min-height:44px;border:1px solid #dfe9e4;background:transparent;border-radius:14px;font-size:12px;font-weight:600;color:#426c60}.native-toilet-shortcut>span{flex:1}.native-toilet-shortcut .icon{width:20px;height:20px}
.mobile-app .journey-home-results{padding:0 20px 16px}.mobile-app .journey-destination{gap:12px;min-height:66px;padding:12px;border:0;border-radius:16px;margin-bottom:7px;background:white;box-shadow:0 2px 7px #2b554003}.mobile-app .journey-destination .roomicon{width:39px;height:39px;border-radius:13px;background:#edf5f1;color:#087568;flex-shrink:0}.mobile-app .journey-destination b{font-size:14px}.mobile-app .journey-destination small{font-size:10px;line-height:1.35}.mobile-app .journey-home-footer{display:none}.mobile-app .journey-home-more{margin:0;padding:10px 2px}
.mobile-app.native-map #header{display:none}.mobile-app .native-map-app{position:relative;display:block;width:100%;height:100%;overflow:hidden;--route-sheet-height:200px}
.mobile-app .native-map-app>.journey-map{position:absolute;inset:0;height:100%;width:100%;background:#edf5ee}.mobile-app .native-map-app .svgmap{height:100%;width:100%;touch-action:none}
.native-map-top{position:absolute;top:max(10px,env(safe-area-inset-top));left:12px;right:12px;z-index:5;pointer-events:none}.native-map-top>*{pointer-events:auto}
.native-map-points{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:8px;align-items:center;border:1px solid #e1eae5;padding:8px 10px;background:#fffffffa;backdrop-filter:blur(20px);border-radius:20px;box-shadow:0 4px 20px #16463f0f}
.mobile-app .native-map-points .journey-point{padding:3px 2px;min-height:58px;border:0;border-radius:10px;background:transparent;gap:7px}.mobile-app .native-map-points .journey-point b{font-size:12px;line-height:1.4}.mobile-app .native-map-points .journey-point small{font-size:10px;color:#668279;font-weight:600}.mobile-app .native-map-points .journey-point em{font-size:10px;color:#82958d}.mobile-app .native-map-points .journey-point>.icon{display:none}.mobile-app .native-map-points .journey-dot{width:7px;height:7px;border:0;box-shadow:none;margin-left:2px}.native-points-arrow{color:#aac0b8}.native-points-arrow .icon{width:16px;height:16px}
.native-map-toolbar{display:flex;gap:8px;align-items:stretch;justify-content:space-between;margin-top:10px}.native-map-toolbar .floor-switch{display:flex;margin:0;padding:3px;border:1px solid #dbe6df;border-radius:16px;background:#fffffff7;box-shadow:0 3px 15px #1e4e3510}.mobile-app .native-map-toolbar .floor-switch button{min-width:58px;min-height:44px;font-size:14px;padding:8px;border-radius:12px}.native-map-toolbar .floor-switch small{font-size:10px}.native-map-toolbar .floor-switch button.on{background:#087c70;color:white;box-shadow:none}.native-map-toolbar .journey-route-dot{width:4px;height:4px;margin-left:3px}
.native-mode-button{display:flex;align-items:center;gap:6px;background:#fffffff7;border:1px solid #dbe6df;border-radius:16px;padding:8px 12px;font-size:11px;min-height:50px;box-shadow:0 3px 15px #1e4e3510}.native-mode-button .icon{width:18px;height:18px;color:#087c70}
.mobile-app .native-map-top .journey-leg{position:static;margin-top:8px;max-width:none;padding:6px 10px;border-radius:13px;box-shadow:none;gap:8px;background:#ffffffec}.mobile-app .native-map-top .journey-leg small{font-size:9px}.mobile-app .native-map-top .journey-leg b{font-size:10px}.mobile-app .native-map-top .journey-leg>.button{min-height:38px;padding:7px;font-size:10px;box-shadow:none}
.native-map-tools{position:absolute;right:12px;bottom:calc(var(--route-sheet-height,200px) + 12px);z-index:4;display:grid;grid-template-columns:repeat(2,44px);gap:6px;align-items:end}.native-map-tools>.iconbtn,.native-zoom>.iconbtn{width:44px;height:44px;min-width:44px;border:1px solid #dfebe3;border-radius:14px;background:#fffffff5;box-shadow:0 3px 14px #254d3910;color:#245950}.native-zoom{grid-row:span 2;grid-column:2;display:flex;flex-direction:column;gap:1px;background:white;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px #254d3910}.native-zoom>.iconbtn{border:0;border-radius:0;box-shadow:none}
.journey-mobile-sheet{position:absolute;bottom:0;left:0;right:0;z-index:6;background:#fffffff9;backdrop-filter:blur(20px);border-radius:26px 26px 0 0;box-shadow:0 -5px 28px #1e4d3d16;padding:0 18px 14px;max-height:60%;overflow:auto;overscroll-behavior:contain}.mobile-sheet-grab{height:28px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;width:100%;touch-action:none}.mobile-sheet-grab>span{width:36px;height:4px;background:#c9d8d1;border-radius:8px}.mobile-planner-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px}.mobile-planner-heading>span{min-width:0}.mobile-planner-heading small{font-size:9px;font-weight:750;letter-spacing:1.2px;color:#82988d}.mobile-planner-heading h2{font-size:20px;margin:3px 0 0;line-height:1.15;letter-spacing:-.6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-planner-heading>.icon{color:#0c8c7b}.mobile-planner-heading .iconbtn{height:44px;width:44px}
.native-mode-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.native-mode-choices button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #e2ebe6;border-radius:12px;background:#f5f8f6;font-size:12px;font-weight:600;color:#657f71}.native-mode-choices .icon{width:18px;height:18px}.native-mode-choices button.on{background:#e3f4ed;border-color:#acd9c7;color:#05786b}
.mobile-app .journey-mobile-sheet .journey-build{width:100%;min-height:50px;font-size:14px;padding:12px 15px;border-radius:14px;display:flex;flex-direction:row;min-width:0;word-spacing:normal;box-shadow:none}.journey-mobile-sheet .journey-build>span{flex:1}.native-map-hint{font-size:10px;text-align:center;color:#8a9d93;margin:10px 0 0}
.journey-mobile-sheet.has-route:not(.expanded) .mobile-planner{display:none}.journey-mobile-sheet.has-route.expanded .journey-guide{display:none}
.mobile-app .journey-mobile-sheet .journey-guide{display:block;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent}.mobile-app .journey-mobile-sheet .journey-step-copy{display:flex;align-items:center;gap:12px;width:100%;padding:0 0 14px}.native-step-icon{width:46px;height:46px;border-radius:15px;background:#e5f4ee;color:#0b8873;display:grid;place-items:center;flex-shrink:0}.mobile-app .journey-step-copy b{font-size:16px;line-height:1.3;font-weight:700;margin-top:4px}.mobile-app .journey-step-copy small{font-size:10px;color:#698879;font-weight:600}
.mobile-app .journey-mobile-sheet .journey-guide-actions{display:flex;gap:7px}.mobile-app .journey-guide-actions .iconbtn{width:44px;min-width:44px;height:44px;padding:10px;border:1px solid #dce8e1;border-radius:13px;background:white}.mobile-app .journey-guide-actions [data-action="route-instructions"]{width:44px;height:44px}.mobile-app .journey-guide-actions [data-action="route-instructions"]:after{display:none}.native-edit-route{border:0;background:transparent;font-size:11px;color:#587b6a;min-height:44px;padding:4px}.mobile-app .journey-guide-actions [data-action="journey-next"]{margin-left:auto;min-height:44px;min-width:95px;gap:8px;flex-direction:row-reverse;font-size:13px;font-weight:700;border-radius:13px;padding:10px 12px;box-shadow:none}
.native-help{height:100%;overflow:auto;padding:20px;overscroll-behavior:contain}.native-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#759287}.native-help h1{font-size:34px;letter-spacing:-1.2px;line-height:1.08;margin:12px 0 24px}.native-help-card{padding:20px;background:white;border-radius:24px;margin-bottom:14px}.native-help-card>span{width:42px;height:42px;display:grid;place-items:center;background:#e5f4ed;border-radius:14px;color:#08786a}.native-help-card h2{font-size:19px;margin:14px 0}.native-help-card ol{padding-left:18px;color:#527064;font-size:14px;line-height:1.55}.native-help-card li{padding-left:5px;margin:14px 0}.native-setting{display:flex;gap:12px;align-items:center;text-align:left;padding:16px;background:white;border:0;border-radius:18px;width:100%;text-decoration:none;color:inherit;margin:10px 0}.native-setting>span{flex:1;font-size:14px;font-weight:650}.native-setting small{display:block;font-size:11px;font-weight:400;color:#8a9b92;margin-top:3px}.native-setting b{font-size:12px;color:#148269}.native-help-note{display:flex;align-items:start;gap:10px;padding:10px 2px}.native-help-note .icon{width:20px;flex-shrink:0;color:#719889}.native-help-note p{margin:0;color:#71897c;font-size:12px;line-height:1.6}.native-help-footer{margin:22px 0 12px;font-size:11px;color:#889d90;line-height:1.6}.native-staff-link{color:#648b79;font-size:11px;text-decoration:none;display:flex;align-items:center;gap:6px;padding:10px 0}.native-staff-link .icon{width:14px;height:14px}
.outside-notice{text-align:center;padding:8px 0}.outside-notice>span{display:grid;place-items:center;margin:0 auto 16px;width:60px;height:60px;border-radius:20px;background:#fff2dc;color:#a47124}.outside-notice>span .icon{width:28px;height:28px}.outside-notice h3{font-size:22px;line-height:1.2;margin:0 0 14px}.outside-notice p{font-size:15px;line-height:1.6}.outside-notice>div{background:#f2f7f4;border-radius:14px;padding:14px;font-size:12px;color:#5b7b6b;line-height:1.6}.mobile-app .modal-footer>.button:only-child{width:100%}
.mobile-app.large .journey-point b,.mobile-app.large .journey-destination b{font-size:15px}.mobile-app.large .journey-step-copy b{font-size:18px}
@media(max-width:350px){.mobile-app .journey-home-heading{padding-left:16px;padding-right:16px}.mobile-app .journey-home h1{font-size:29px}.native-map-top{left:8px;right:8px}.native-map-points{gap:4px;padding:6px}.mobile-app .native-map-toolbar .floor-switch button{min-width:52px;padding:6px}.native-mode-button{padding:6px 9px}.journey-mobile-sheet{padding-left:12px;padding-right:12px}.mobile-app .journey-step-copy b{font-size:14px}.native-edit-route{font-size:10px;padding:3px}}
@media(max-height:600px) and (orientation:portrait){.mobile-app #header{height:62px}.mobile-app .journey-home h1{font-size:25px;margin:0 0 12px}.mobile-app .journey-home-origin{padding:8px;margin-bottom:9px}.mobile-app .journey-home-heading{padding-top:0;padding-bottom:8px}.mobile-app .native-map-top .journey-leg{display:none}.mobile-app .native-map-points .journey-point{min-height:44px}.native-map-tools{grid-template-columns:44px}.native-map-tools .native-zoom,.native-map-tools>[data-action="journey-landmarks"]{display:none}.journey-mobile-sheet{max-height:48%}.mobile-planner-heading{margin-bottom:7px}.mobile-planner-heading small,.native-map-hint{display:none}.mobile-planner-heading h2{font-size:16px}.native-mode-choices{margin-bottom:7px}.mobile-app .journey-mobile-sheet .journey-step-copy{padding-bottom:8px}}
@media(max-height:480px) and (orientation:landscape){.mobile-app{--app-nav:58px}.mobile-app #header{height:58px}.mobile-app #mobileNav{height:58px;padding:3px 20%}.mobile-app #mobileNav button{min-height:50px}.mobile-app .journey-home-heading{padding:8px 20px}.mobile-app .journey-home h1{font-size:24px;margin:0 0 10px;max-width:none}.mobile-app .journey-home-origin{display:none}.mobile-app .journey-home .searchbox{margin-bottom:6px}.native-toilet-shortcut{display:none}.mobile-app .journey-home{display:grid;grid-template-columns:45% 55%}.mobile-app .journey-home-results{padding-top:8px}.native-map-top{left:12px;right:12px;top:8px;display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:8px}.native-map-toolbar{margin:0;align-items:center}.mobile-app .native-map-top .journey-leg{display:none}.native-map-points{padding:3px 8px}.mobile-app .native-map-points .journey-point{min-height:44px}.journey-mobile-sheet{left:12px;right:auto;width:330px;max-height:calc(100% - 70px);padding:0 14px 10px;border-radius:22px 22px 0 0}.mobile-sheet-grab{height:20px}.mobile-planner-heading{margin-bottom:7px}.mobile-planner-heading small,.native-map-hint{display:none}.mobile-planner-heading h2{font-size:16px}.native-mode-choices{margin-bottom:7px}.mobile-app .journey-mobile-sheet .journey-build{min-height:44px}.native-map-tools{bottom:12px;right:12px}.mobile-app .journey-step-copy b{font-size:14px}.mobile-app .journey-mobile-sheet .journey-step-copy{padding-bottom:8px}.native-step-icon{width:38px;height:38px}.native-edit-route{font-size:10px}.native-help{padding:16px 24px}}
/* Map application: floating search, a left drawer and place collections. */
.mobile-app{--app-nav:calc(66px + env(safe-area-inset-bottom));color:#183c3b;background:#f6f7f5}
.mobile-app #header{height:68px;padding:10px 14px;gap:10px;background:#f6f7f5}.mobile-app #header .brand{flex:1;gap:8px}.mobile-app #header .brand .logo{width:30px;height:30px;background-size:30px}.mobile-app #header .brand b{font-size:14px;letter-spacing:-.25px}.mobile-app #header .brand small{font-size:9px;letter-spacing:.1px;color:#7e9088;margin-top:2px;font-weight:500}.mobile-app #header>.iconbtn{flex-shrink:0;width:42px;height:42px;background:white;border:1px solid #e7eae5;border-radius:14px;color:#294b40}
.mobile-app #mobileNav{grid-template-columns:repeat(4,1fr);padding-left:8px;padding-right:8px;box-shadow:0 -4px 24px #25483808}.mobile-app #mobileNav button>span{width:48px;height:29px}.mobile-app #mobileNav button.active>span{background:#e4f5e9}.mobile-app #mobileNav b{font-size:10px}.mobile-app #mobileNav button.active{color:#087e65}.mobile-app #mobileNav .native-route-live{background:#3bab77}
.mobile-app .atlas-map .journey-map{background:#eff3eb}.mobile-app .atlas-map .native-map-top{top:max(12px,env(safe-area-inset-top));left:12px;right:12px}
.atlas-topbar{display:flex;gap:6px;align-items:center;border-radius:19px;background:#fff;box-shadow:0 4px 24px #173d2e17;border:1px solid #e7ece3;min-height:58px;padding:5px 6px}.atlas-topbar>.iconbtn{height:44px;width:44px;min-width:44px;flex-shrink:0;border:0;border-radius:13px;background:white;color:#21493b}.atlas-topbar>.iconbtn:active{background:#edf4ee}.atlas-map-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:8px 0;min-height:44px;font-size:13px;color:#718477}.atlas-map-search>.icon{width:19px;height:19px;flex-shrink:0;color:#4f7763}.atlas-map-search>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.atlas-map-logo{width:32px;height:32px;object-fit:contain;border-radius:8px;margin:0 4px}
.mobile-app .atlas-map .native-map-points{flex:1;min-width:0;border:0;border-radius:0;box-shadow:none;background:transparent;gap:5px;padding:0;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);backdrop-filter:none}.mobile-app .atlas-map .native-map-points .journey-point{min-height:55px;gap:5px;padding:3px 0}.mobile-app .atlas-map .native-map-points .journey-point b{font-size:12px}.mobile-app .atlas-map .native-map-points .journey-point small{font-size:9px}.mobile-app .atlas-map .native-map-points .journey-point em{font-size:9px}.mobile-app .atlas-map .native-map-points .journey-dot{width:6px;height:6px}.atlas-topbar:has(.native-map-points)>.iconbtn{width:36px;min-width:36px}
.atlas-quick-categories{display:flex;gap:7px;margin-top:10px;overflow:auto;scrollbar-width:none;padding:0 0 2px;pointer-events:auto}.atlas-quick-categories button{border:1px solid #e4eadf;border-radius:12px;background:white;padding:10px 12px;min-height:40px;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:650;box-shadow:0 2px 8px #2743360a;flex-shrink:0}.atlas-quick-categories .icon{width:17px;height:17px;color:#139276}.atlas-quick-categories button:nth-child(2) .icon{color:#567ac1}.atlas-quick-categories button:nth-child(3) .icon{color:#856aba}
.atlas-building-label{align-self:center;display:flex;align-items:center;gap:5px;color:#657f6e;border-radius:12px;background:#f9fcf5eb;font-weight:650;font-size:10px;padding:9px 11px;box-shadow:0 2px 6px #2d54490a}.atlas-building-label .icon{width:15px;height:15px}
.mobile-app .atlas-map .native-map-toolbar{margin-top:9px}.mobile-app .atlas-map .floor-switch{border:0;box-shadow:0 3px 15px #314b3d14;padding:3px;border-radius:14px}.mobile-app .atlas-map .floor-switch button{min-width:54px;min-height:40px;font-size:13px;border-radius:11px}.mobile-app .atlas-map .floor-switch button.on{background:#178065;color:white}.mobile-app .atlas-map .native-mode-button{border:0;min-height:46px;border-radius:14px;color:#456858;box-shadow:0 3px 15px #314b3d14}
.mobile-app .atlas-map .journey-leg{background:#fffffff2;border:0;border-radius:12px;margin-top:8px}.mobile-app .atlas-map .journey-leg b{color:#617669;font-weight:500}.mobile-app .atlas-map .journey-leg small{color:#248d66}.mobile-app .atlas-map .journey-leg>.button{background:#edf6ed;border:0;color:#26734f;border-radius:10px;min-height:36px}
.mobile-app .atlas-map .journey-mobile-sheet{background:white;border-radius:26px 26px 0 0;box-shadow:0 -4px 30px #234b3020;padding:0 18px 14px}.mobile-app .atlas-map .mobile-sheet-grab{height:24px}.mobile-app .atlas-map .mobile-sheet-grab>span{width:34px;background:#d7ded6}
.atlas-discovery-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.atlas-discovery-heading>span:first-child{flex:1;min-width:0}.atlas-discovery-heading small{color:#799185;font-size:9px;font-weight:750;letter-spacing:1.3px}.atlas-discovery h1{margin:4px 0 0;font-size:24px;letter-spacing:-.8px;line-height:1.1}.atlas-discovery-icon{background:#dff2e6;color:#0e8d65;border-radius:15px;display:grid;place-items:center;width:46px;height:46px}.atlas-discovery-icon .icon{width:25px;height:25px}
.atlas-current-place{display:flex;align-items:center;width:100%;text-align:left;gap:8px;border:1px solid #e7ede6;border-radius:13px;background:#f7f9f4;padding:9px 12px;min-height:54px;margin-bottom:11px;color:#476c54}.atlas-current-place>.icon{width:18px;height:18px;flex-shrink:0;color:#3f9d72}.atlas-current-place>span{min-width:0;flex:1}.atlas-current-place small,.atlas-current-place b,.atlas-current-place em{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-style:normal}.atlas-current-place small{font-size:9px;color:#8a9a8d}.atlas-current-place b{font-size:12px;font-weight:600;margin-top:2px}.atlas-current-place em{font-size:9px;color:#708d7b}
.mobile-app .atlas-map .journey-build{background:#168463;border-radius:14px;min-height:48px}.mobile-app .atlas-map .journey-build:active{background:#086b4e}.mobile-app .atlas-map .mobile-planner-heading h2{font-size:20px;letter-spacing:-.5px}.mobile-planner-heading p{margin:5px 0 0;font-size:10px;color:#859586}.mobile-app .atlas-map .native-mode-choices button.on{background:#e7f5e9;border-color:#b3dcbc;color:#198259}
.atlas-route-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px}.atlas-route-caption>span{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:#799080}.atlas-route-caption .icon{width:14px;height:14px}.atlas-route-caption button{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:4px 0;min-height:24px;font-size:10px;color:#778b7b}
.mobile-app .atlas-map .journey-step-copy{gap:12px;padding-bottom:10px}.mobile-app .atlas-map .native-step-icon{background:#e2f3e7;color:#188863;border-radius:16px;width:48px;height:48px}.mobile-app .atlas-map .journey-step-copy b{font-size:16px;color:#274938;line-height:1.35}.mobile-app .atlas-map .journey-step-copy small{color:#829485;font-size:10px}.atlas-route-progress{height:3px;background:#edf2e9;border-radius:6px;overflow:hidden;margin:0 0 12px}.atlas-route-progress i{display:block;height:100%;background:#36a672;border-radius:6px}
.atlas-save{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border:1px solid #e2e9df;background:white;border-radius:13px;color:#879989}.atlas-save .icon{height:20px;width:20px}.atlas-save.on{color:#198d62;background:#e4f4e6;border-color:#cae5cc}.atlas-save.on .icon{fill:#b5e2c0}.mobile-app .atlas-map .journey-guide-actions .iconbtn{border-color:#e2e9df;color:#6a8470}.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"]{background:#168463;border-radius:13px;min-width:108px}.mobile-app .atlas-map .native-map-tools .iconbtn{border-color:#e3e9df;color:#416f58;border-radius:50%;box-shadow:0 3px 12px #30533813}.mobile-app .atlas-map .native-zoom{border-radius:24px}.mobile-app .atlas-map .native-zoom .iconbtn{border-radius:0;box-shadow:none}
.mobile-app .journey-home{background:#f6f7f5}.mobile-app .journey-home-heading{padding:12px 18px 10px}.mobile-app .journey-home h1{font-size:27px;line-height:1.15;letter-spacing:-1px;margin:2px 0 18px}.mobile-app .journey-home-origin{border-radius:14px;background:#eaf0e7;margin-bottom:12px}.mobile-app .journey-home .searchbox{border-radius:14px;background:white;box-shadow:none;min-height:52px}.mobile-app .journey-categories{border-radius:13px;background:#e9eee5}.mobile-app .journey-categories button.on{border-radius:10px;color:#19865a}.mobile-app .journey-destination{border-radius:14px}.mobile-app .journey-destination .roomicon{background:#ebf5e9;color:#2e8a65}.mobile-app .journey-destination:nth-child(3n+2) .roomicon{background:#ecf0fa;color:#5b81b7}.mobile-app .journey-destination:nth-child(3n) .roomicon{background:#f3ecf6;color:#9472aa}.mobile-app .journey-destination b{color:#345640;font-weight:650}.mobile-app .native-toilet-shortcut{background:#f0f3eb;border:0}
.atlas-saved{height:100%;overflow:auto;padding:24px 20px;max-width:650px;margin:auto}.atlas-section-heading h1{font-size:30px;letter-spacing:-1px;display:flex;align-items:center;gap:10px;margin:10px 0}.atlas-section-heading h1>span{font-size:12px;background:#e6efe0;color:#6d9769;padding:5px 9px;border-radius:10px;letter-spacing:0}.atlas-section-heading p{font-size:13px;color:#7c9180;line-height:1.6;margin:10px 0 24px}.atlas-saved-card{display:flex;align-items:center;gap:6px;padding:0 10px 0 0;background:white;border:1px solid #e8eee4;border-radius:17px;margin-bottom:10px}.atlas-saved-card .journey-destination{margin:0;border:0;background:transparent;flex:1;min-width:0;box-shadow:none}.atlas-saved-card .journey-destination>.icon{display:none}.atlas-saved-card .atlas-save{border:0;background:transparent}.atlas-empty{text-align:center;padding:35px 10px 45px}.atlas-empty>span{width:80px;height:80px;border-radius:26px;background:#e7f1e1;display:grid;place-items:center;margin:0 auto 24px;color:#5eaa7b;transform:rotate(-7deg)}.atlas-empty>span .icon{width:34px;height:34px}.atlas-empty h2{font-size:21px;letter-spacing:-.5px;margin:0 0 12px}.atlas-empty p{font-size:13px;color:#8c9c88;line-height:1.7;max-width:270px;margin:0 auto 25px}.atlas-empty .button{margin:auto;background:#168463}.atlas-local-note{font-size:10px;text-align:center;color:#95a18f;padding:14px 0}
.simple-patient .modal-shade.atlas-menu-shade{align-items:stretch;justify-content:flex-start;padding:0;background:#173b3d66;backdrop-filter:blur(3px)}.simple-patient .modal.atlas-menu{display:flex;flex-direction:column;width:min(340px,calc(100% - 40px));max-width:none;height:100dvh;max-height:100dvh;border-radius:0 25px 25px 0;overflow:hidden;background:#fff;box-shadow:12px 0 60px #14332326;animation:atlas-drawer-in .22s cubic-bezier(.16,1,.3,1)}
.simple-patient .atlas-menu>.modal-header{border:0;background:white;padding:18px 18px 4px;padding-top:max(18px,env(safe-area-inset-top));flex-shrink:0}.simple-patient .atlas-menu .modal-header h2{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#93a18c;font-weight:700}.simple-patient .atlas-menu .modal-header .iconbtn{height:38px;width:38px;border:0;background:#f2f5ef;border-radius:13px;color:#7a927b}.simple-patient .atlas-menu>.modal-body{overflow:auto;min-height:0;flex:1;padding:4px 18px max(20px,env(safe-area-inset-bottom))}.atlas-menu-brand{display:flex;align-items:center;gap:10px;margin:4px 0 21px}.atlas-menu-brand>img{width:48px;height:48px;object-fit:contain}.atlas-menu-brand b{font-size:24px;letter-spacing:-.8px;color:#17493b}.atlas-menu-brand small{display:block;color:#8c9e8b;font-size:10px;margin-top:2px}.atlas-menu-clinic{display:flex;align-items:center;gap:10px;border-radius:17px;background:linear-gradient(130deg,#ecf4e4,#f3f6f0);padding:15px 12px;margin-bottom:18px}.atlas-menu-clinic>span{color:#4d9c66;display:grid;place-items:center;width:32px;flex-shrink:0}.atlas-menu-clinic b{font-size:13px;line-height:1.45;display:block;color:#3a6446}.atlas-menu-clinic small{font-size:10px;color:#8ba082;display:block;margin-top:4px}
.atlas-menu-links{display:flex;flex-direction:column;gap:3px}.atlas-menu-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:53px;border:0;background:transparent;border-radius:13px;padding:11px 10px;color:#68816b}.atlas-menu-item>span{flex:1}.atlas-menu-item b{font-size:13px;line-height:1.35;font-weight:600;display:block;color:#3c5c40}.atlas-menu-item small{font-size:10px;margin-top:3px;display:block;color:#a0ad96}.atlas-menu-item>.icon{width:21px;height:21px;flex-shrink:0}.atlas-menu-item>.icon:last-child{width:13px;height:13px;color:#b1bba9}.atlas-menu-item.on{background:#edf6e6;color:#3c9a58}.atlas-menu-item.on b{color:#368455}.atlas-menu-divider{height:1px;background:#edf0e8;margin:12px 10px}.atlas-resume{display:flex;gap:10px;align-items:center;text-align:left;padding:13px;border:1px solid #d6e8cf;background:#f5faee;border-radius:16px;width:100%;margin-bottom:10px;color:#4b935a}.atlas-resume>span{min-width:0;flex:1}.atlas-resume small,.atlas-resume b,.atlas-resume em{display:block}.atlas-resume small{font-size:8px;letter-spacing:.7px;font-weight:700;color:#8aab7c}.atlas-resume b{font-size:12px;margin:4px 0;color:#3e744d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-resume em{font-size:10px;font-style:normal;color:#9caf93}.atlas-resume>.icon{width:21px;flex-shrink:0}
.atlas-menu-setting{border:1px solid #e9eee2;border-radius:15px;display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:13px 10px;min-height:50px;margin:20px 0;background:#fff;color:#7d9376}.atlas-menu-setting>span{flex:1;font-size:12px;color:#536f4d}.atlas-menu-setting>.icon{width:21px}.atlas-switch{position:relative;width:33px;height:20px;border-radius:20px;background:#e0e7d9}.atlas-switch:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 3px #50623f20}.atlas-switch.on{background:#58a770}.atlas-switch.on:after{left:16px}.atlas-menu-footer{font-size:10px;line-height:1.7;color:#adbaa0;padding:0 10px;margin:15px 0 5px}.atlas-menu-footer b{font-weight:500;color:#8f9f82}
@keyframes atlas-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.simple-patient .modal.atlas-menu{animation:none}}
@media(max-width:350px){.mobile-app .atlas-map .native-map-top{left:8px;right:8px}.atlas-map-search{font-size:11px;gap:6px}.atlas-map-logo{width:25px;height:25px;margin-right:2px}.atlas-topbar{gap:3px}.atlas-topbar:has(.native-map-points)>.iconbtn{width:32px;min-width:32px;padding:5px}.mobile-app .atlas-map .native-map-points .journey-point b{font-size:11px}.mobile-app .atlas-map .journey-mobile-sheet{padding-left:12px;padding-right:12px}.atlas-discovery h1{font-size:22px}.mobile-app .atlas-map .journey-step-copy b{font-size:14px}.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"]{min-width:96px}.atlas-quick-categories{gap:5px}.atlas-quick-categories button{padding:8px 10px}.simple-patient .modal.atlas-menu{width:calc(100% - 26px)}}
@media(max-height:600px) and (orientation:portrait){.mobile-app .atlas-map .atlas-quick-categories{display:none}.mobile-app .atlas-map .native-map-top .journey-leg{display:none}.mobile-app .atlas-map .journey-mobile-sheet{max-height:45%}.atlas-discovery-heading{margin-bottom:7px}.atlas-discovery h1{font-size:19px}.atlas-discovery-heading small,.atlas-discovery-icon{display:none}.atlas-current-place{padding:6px 9px;min-height:42px;margin-bottom:7px}.atlas-route-caption{display:none}.atlas-route-progress{margin-bottom:8px}.mobile-app .atlas-map .mobile-sheet-grab{height:20px}.mobile-app .atlas-map .journey-step-copy{padding-bottom:6px}.mobile-app .atlas-map .native-step-icon{width:38px;height:38px}}
@media(max-height:480px) and (orientation:landscape){.mobile-app{--app-nav:56px}.mobile-app #mobileNav{height:56px;padding:2px 20%}.mobile-app #header{height:56px}.mobile-app .atlas-map .native-map-top{top:8px;display:grid;grid-template-columns:minmax(280px,1fr) auto;align-items:start;gap:8px}.mobile-app .atlas-map .native-map-toolbar{margin:0;align-items:center}.mobile-app .atlas-map .atlas-quick-categories{display:none}.atlas-topbar{min-height:52px}.mobile-app .atlas-map .native-map-points .journey-point{min-height:42px}.mobile-app .atlas-map .journey-mobile-sheet{width:330px;max-height:calc(100% - 68px);padding:0 14px 10px}.mobile-app .atlas-map .atlas-route-caption{display:none}.mobile-app .atlas-map .atlas-route-progress{margin-bottom:8px}.mobile-app .atlas-map .journey-step-copy{padding-bottom:8px}.mobile-app .atlas-map .journey-step-copy b{font-size:14px}.atlas-discovery h1{font-size:19px}.atlas-discovery-heading{margin-bottom:8px}.atlas-discovery-icon,.atlas-discovery-heading small{display:none}.atlas-current-place{min-height:45px;padding:6px 9px;margin-bottom:8px}.atlas-discovery .journey-build{min-height:42px!important}.mobile-app .atlas-map .mobile-sheet-grab{height:18px}.mobile-app .atlas-map .journey-leg{display:none}.mobile-app .atlas-map .native-map-tools{bottom:10px}}
.atlas-building-label{border:0;min-height:42px;cursor:pointer}.atlas-building-label:active{background:#e5f2e4}.mobile-app .atlas-map .floor-switch button{min-height:44px}
.mobile-app .journey-mobile-sheet.has-route.expanded .journey-guide{display:none}

/* Patient controls use readable defaults at every viewport, including tablets. */
.simple-patient .app-menu-button{display:flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;min-width:106px;min-height:52px;padding:12px 16px;background:#087f70;color:white;border:0;border-radius:15px;font-size:16px;font-weight:750;box-shadow:0 4px 14px #087f7020;cursor:pointer}
.simple-patient .app-menu-button .icon{width:25px;height:25px;flex-shrink:0}
.simple-patient .app-menu-button:hover{background:#06695e}
.simple-patient:not(.mobile-app) #header{height:78px;gap:18px}
.simple-patient:not(.mobile-app) .brand b{font-size:20px}.simple-patient:not(.mobile-app) .brand small{font-size:12px}
.simple-patient:not(.mobile-app) .head-tools .iconbtn{width:48px;height:48px;font-size:17px}.simple-patient .sa-back{font-size:14px}
.simple-patient:not(.mobile-app) .journey-point{min-height:76px;padding:12px 16px}
.simple-patient:not(.mobile-app) .journey-point b{font-size:18px}.simple-patient:not(.mobile-app) .journey-point small,.simple-patient:not(.mobile-app) .journey-point em{font-size:13px}
.simple-patient:not(.mobile-app) .journey-build{font-size:16px;min-height:56px;padding:14px 18px}
.simple-patient:not(.mobile-app) .floor-switch button{font-size:16px;min-height:48px;padding:12px 18px}
.simple-patient:not(.mobile-app) .journey-transport{font-size:14px}.simple-patient:not(.mobile-app) .journey-transport select{font-size:16px;min-height:48px}
.simple-patient:not(.mobile-app) .journey-leg{top:88px}.simple-patient:not(.mobile-app) .journey-leg b{font-size:16px}.simple-patient:not(.mobile-app) .journey-leg small{font-size:12px}
.simple-patient:not(.mobile-app) .journey-step-copy b{font-size:20px}.simple-patient:not(.mobile-app) .journey-step-copy small{font-size:14px}
.simple-patient:not(.mobile-app) .journey-guide-actions .button{font-size:16px;min-height:48px}.simple-patient:not(.mobile-app) .journey-guide-actions .iconbtn,.simple-patient:not(.mobile-app) .journey-map-tools .iconbtn{width:50px;height:50px}
.simple-patient:not(.mobile-app) .journey-map-bottom>span,.simple-patient:not(.mobile-app) .journey-map-bottom>button{font-size:14px}.simple-patient:not(.mobile-app) .journey-map-bottom>button{min-height:48px}

.simple-patient .modal.atlas-menu{width:min(400px,calc(100% - 24px))}
.simple-patient .atlas-menu .modal-header h2{font-size:13px;color:#58725d}.simple-patient .atlas-menu .modal-header .iconbtn{width:48px;height:48px}
.atlas-menu-brand small,.atlas-menu-clinic small{font-size:13px;color:#5e775f}.atlas-menu-clinic b{font-size:16px}
.atlas-menu-item{min-height:60px;padding:13px 10px}.atlas-menu-item b{font-size:16px;line-height:1.4}.atlas-menu-item small{font-size:13px;color:#657e67;line-height:1.5}.atlas-menu-item>.icon:first-child{width:24px;height:24px}
.atlas-resume b{font-size:16px}.atlas-resume small,.atlas-resume em{font-size:12px}
.atlas-menu-setting{min-height:56px}.atlas-menu-setting>span{font-size:16px}.atlas-menu-footer{font-size:12px;color:#65785e}.atlas-menu-footer b{color:#65785e}
.simple-patient .v5-point-choice b,.simple-patient .journey-destination b{font-size:17px}.simple-patient .v5-point-choice small,.simple-patient .journey-destination small{font-size:13px}
.simple-patient .v5-point-filter,.simple-patient .v5-point-filter select{font-size:14px}.simple-patient #pointSearch{min-height:52px;font-size:17px}
.simple-patient .modal-footer .button{font-size:16px;min-height:48px}.simple-patient .modal-header .iconbtn{width:48px;height:48px}
.simple-patient .help-text{font-size:16px}.simple-patient .hint{font-size:13px}
.simple-patient .v5-step-header b{font-size:17px}.simple-patient .v5-step-header small{font-size:13px}.simple-patient .v5-turns button{min-height:48px}.simple-patient .v5-turns b{font-size:16px;line-height:1.5}.simple-patient .v5-transfer{font-size:14px}
.simple-patient .atlas-saved .journey-destination b{font-size:17px}.atlas-section-heading p,.atlas-empty p{font-size:16px}.atlas-local-note{font-size:12px}

.mobile-app{--app-nav:calc(74px + env(safe-area-inset-bottom))}
.mobile-app #mobileNav b{font-size:12px}.mobile-app #mobileNav .icon{width:26px;height:26px}.mobile-app #mobileNav button{min-height:64px;width:100%;padding:3px}
.mobile-app #header{height:78px;gap:8px}.mobile-app #header .brand b{font-size:17px}.mobile-app #header .brand small{font-size:11px}.mobile-app #header>.iconbtn{display:none}
.mobile-app .app-menu-button{min-width:66px;min-height:54px;padding:8px;gap:3px;flex-direction:column;font-size:13px;border-radius:12px}
.mobile-app .atlas-topbar .app-menu-button{min-width:66px;min-height:54px}
.mobile-app .atlas-map-search{font-size:16px;gap:8px;min-height:52px}.mobile-app .atlas-map-logo{display:none}
.mobile-app .atlas-quick-categories button{font-size:14px;min-height:48px}.mobile-app .atlas-quick-categories .icon{width:20px;height:20px}
.mobile-app .atlas-map .native-map-points{display:flex;flex-direction:column;gap:0;padding:0 3px}
.mobile-app .native-points-arrow{display:none}
.mobile-app .atlas-map .native-map-points .journey-point{min-height:48px;padding:5px 0;width:100%}
.mobile-app .atlas-map .native-map-points .journey-point:first-child{border-bottom:1px solid #e3ece6;border-radius:0}
.mobile-app .atlas-map .native-map-points .journey-point>span:nth-child(2){display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:6px;align-items:center}
.mobile-app .atlas-map .native-map-points .journey-point b{font-size:16px;line-height:1.4}.mobile-app .atlas-map .native-map-points .journey-point small{font-size:12px;white-space:normal;line-height:1.3}.mobile-app .atlas-map .native-map-points .journey-point em{font-size:12px;grid-column:2;color:#5f796a}
.mobile-app .atlas-map .floor-switch button{min-width:58px;min-height:48px;font-size:16px;padding:8px}.mobile-app .native-map-toolbar .floor-switch small{font-size:12px}
.mobile-app .atlas-map .native-mode-button,.mobile-app .atlas-building-label{min-height:54px;font-size:14px;padding:9px}.mobile-app .atlas-building-label .icon{width:20px;height:20px}
.mobile-app .atlas-map .journey-leg b{font-size:13px}.mobile-app .atlas-map .journey-leg small{font-size:12px;letter-spacing:0}.mobile-app .atlas-map .journey-leg>.button{font-size:13px;min-height:44px}
.mobile-app .atlas-current-place b{font-size:16px}.mobile-app .atlas-current-place small,.mobile-app .atlas-current-place em{font-size:12px;color:#5e7968}.mobile-app .atlas-current-place{min-height:64px}
.mobile-app .atlas-discovery h1{font-size:26px}.mobile-app .atlas-discovery-heading small{font-size:11px}
.mobile-app .journey-mobile-sheet .journey-build{font-size:16px;min-height:52px}.mobile-app .atlas-map .mobile-planner-heading h2{font-size:22px}.mobile-app .mobile-planner-heading small,.mobile-app .mobile-planner-heading p{font-size:12px}
.mobile-app .native-mode-choices button{font-size:15px;min-height:48px}
.mobile-app .atlas-route-caption>span,.mobile-app .atlas-route-caption button{font-size:13px}.mobile-app .atlas-route-caption button{min-height:44px}
.mobile-app .atlas-map .journey-step-copy b{font-size:18px}.mobile-app .atlas-map .journey-step-copy small{font-size:13px;color:#607766}
.mobile-app .journey-guide-actions .iconbtn,.mobile-app .atlas-save{min-width:48px;width:48px;height:48px}.mobile-app .journey-guide-actions [data-action="route-instructions"]{width:48px;height:48px}.mobile-app .journey-guide-actions [data-action="journey-next"]{font-size:16px;min-height:48px}
.mobile-app .journey-home-origin b{font-size:16px}.mobile-app .journey-home-origin small,.mobile-app .journey-change{font-size:12px}.mobile-app .journey-categories button{font-size:15px;min-height:48px}.mobile-app .native-toilet-shortcut{font-size:15px;min-height:48px}
.mobile-app .native-help-card ol,.mobile-app .native-setting>span{font-size:16px}.mobile-app .native-setting small,.mobile-app .native-help-note p{font-size:14px}
.simple-patient.large .journey-point b,.simple-patient.large .journey-destination b,.simple-patient.large .atlas-menu-item b{font-size:19px}.mobile-app.large .atlas-map .native-map-points .journey-point b{font-size:18px}.simple-patient.large .journey-step-copy b,.mobile-app.large .atlas-map .journey-step-copy b{font-size:22px}

/* Written directions are a panel below the controls, not a blocking overlay. */
.simple-patient .modal-shade.route-sheet-shade{bottom:12px;left:24px;right:auto;width:min(520px,calc(100% - 48px));padding:0;align-items:stretch;background:none;backdrop-filter:none;pointer-events:none;z-index:15}
.simple-patient .modal.route-sheet{display:flex;flex-direction:column;width:100%;max-height:100%;height:100%;border:1px solid #d5e5df;border-radius:22px;pointer-events:auto;box-shadow:0 12px 40px #16473f25;overflow:hidden}
.simple-patient .route-sheet .modal-header,.simple-patient .route-sheet .modal-footer{position:static;flex-shrink:0;padding:12px 16px}.simple-patient .route-sheet .modal-header h2{font-size:20px}
.simple-patient .route-sheet .modal-body{flex:1;min-height:0;overflow:auto;padding:12px 16px;overscroll-behavior:contain}
.mobile-app .modal-shade.route-sheet-shade{left:0;right:0;width:100%;bottom:var(--app-nav)}
.mobile-app .modal.route-sheet{border-radius:22px 22px 0 0}
@media(max-width:800px) and (min-width:641px){.simple-patient:not(.mobile-app) #header{padding:0 16px;gap:12px}.simple-patient:not(.mobile-app) .brand small{display:none}.simple-patient:not(.mobile-app) .brand b{font-size:18px}.simple-patient:not(.mobile-app) .journey-form{padding:12px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.simple-patient:not(.mobile-app) .journey-build{grid-column:1/-1}}
@media(max-height:600px) and (orientation:portrait){.mobile-app .atlas-map .journey-leg{display:none}.mobile-app .atlas-map .journey-mobile-sheet{max-height:45%}.mobile-app .atlas-route-caption{display:none}.mobile-app .atlas-discovery h1{font-size:23px}}
@media(max-height:480px) and (orientation:landscape){.mobile-app{--app-nav:64px}.mobile-app #mobileNav{height:64px;padding:2px 20%}.mobile-app #mobileNav button{min-height:58px}.mobile-app .atlas-map .native-map-points{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.mobile-app .atlas-map .native-map-points .journey-point:first-child{border:0}.mobile-app .atlas-map .native-map-points .journey-point>span:nth-child(2){display:block}.mobile-app .atlas-map .native-map-points .journey-point{min-height:52px}.mobile-app .atlas-map .journey-mobile-sheet{max-height:calc(100% - 90px);width:350px}.mobile-app .atlas-map .atlas-route-caption{display:none}.mobile-app .atlas-map .native-map-top{grid-template-columns:minmax(0,1fr) auto}.mobile-app .modal-shade.route-sheet-shade{width:55%;left:12px;bottom:var(--app-nav)}.mobile-app .atlas-discovery h1{font-size:23px}}
/* Fixed patient shell: changing floors or dismissing a phone keyboard must not scroll the controls away. */
body.mobile-app{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;overflow:hidden;overflow-anchor:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.mobile-app #app{position:absolute;inset:var(--nav-top,78px) 0 var(--app-nav);height:auto;overflow:hidden;overflow-anchor:none}
.mobile-app.native-map #app{top:0}
.mobile-app .native-map-app{isolation:isolate}
.mobile-app .native-map-app>.journey-map{z-index:0;overflow:hidden}
.mobile-app .atlas-map .native-map-top{position:fixed;z-index:40;top:max(12px,env(safe-area-inset-top));overflow-anchor:none}
.mobile-app .atlas-map .journey-mobile-sheet{position:fixed;bottom:var(--app-nav);z-index:40;max-height:calc((100dvh - var(--app-nav)) * .6);overflow-anchor:none}
.mobile-app .atlas-map .native-map-tools{position:fixed;z-index:30;bottom:calc(var(--app-nav) + var(--route-sheet-height,200px) + 12px);grid-template-columns:repeat(2,52px);gap:8px}
.mobile-app #mobileNav{z-index:60;overflow-anchor:none}
.mobile-app .modal-shade.route-sheet-shade{z-index:50}
.mobile-app button:not(.mobile-sheet-grab){min-height:48px}
.mobile-app .atlas-map .floor-switch button{min-height:52px;min-width:60px;font-size:17px}
.mobile-app .atlas-map .floor-switch small{font-size:13px}
.mobile-app .atlas-map .native-map-points .journey-point{min-height:52px}
.mobile-app .atlas-map .native-map-tools .iconbtn,.mobile-app .native-zoom>.iconbtn{width:52px;height:52px;min-width:52px;padding:12px}
.mobile-app .native-map-tools .icon{width:25px;height:25px}
.mobile-app .atlas-map .journey-guide-actions .iconbtn,.mobile-app .atlas-save{width:52px;height:52px;min-width:52px}
.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"]{min-height:52px;font-size:17px}
.mobile-app .journey-mobile-sheet .journey-build{min-height:56px;font-size:17px}
.mobile-app .native-mode-choices button,.mobile-app .native-mode-button,.mobile-app .atlas-building-label{font-size:16px;min-height:52px}
.mobile-app .v5-point-filter select{min-height:48px;font-size:16px}.mobile-app .modal-footer .button{min-height:52px;font-size:17px}
.mobile-app .atlas-quick-categories button{min-height:52px;font-size:15px}
@media(max-width:350px){.mobile-app .atlas-map .native-mode-button{font-size:14px;padding:7px}.mobile-app .atlas-map .journey-guide-actions{gap:6px}.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"]{min-width:96px;padding:10px}.mobile-app .atlas-map .native-map-top{left:8px;right:8px}}
@media(max-height:600px) and (orientation:portrait){.mobile-app .atlas-map .journey-mobile-sheet{max-height:calc((100dvh - var(--app-nav)) * .5)}.mobile-app .atlas-map .native-map-tools{grid-template-columns:52px}}
@media(max-height:480px) and (orientation:landscape){.mobile-app .atlas-map .journey-mobile-sheet{max-height:calc(100dvh - var(--app-nav) - 100px)}.mobile-app .atlas-map .native-map-tools{bottom:calc(var(--app-nav) + 10px)}}
/* Readable route actions, with a text label for written directions. */
.mobile-app .atlas-route-options{display:flex;align-items:center;gap:8px}
.mobile-app .atlas-route-caption .atlas-save{padding:10px;width:48px;height:48px;min-width:48px;border:1px solid #dce8e0;border-radius:13px;background:white}
.mobile-app .atlas-map .journey-guide-actions{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(0,1fr);gap:8px}
.mobile-app .atlas-map .journey-guide-actions [data-action="journey-prev"]{min-width:56px;width:56px;height:60px;border-radius:16px}
.mobile-app .atlas-map .journey-guide-actions [data-action="route-instructions"]{display:flex;width:100%;height:60px;min-height:60px;padding:6px;gap:3px;flex-direction:column;grid-column:auto;border:1px solid #b8dace;border-radius:16px;background:#eef8f3;color:#186249;font-size:16px;font-weight:750}
.mobile-app .atlas-map .journey-guide-actions [data-action="route-instructions"]:after{display:none}
.mobile-app .atlas-map .journey-guide-actions [data-action="route-instructions"] .icon{width:23px;height:23px}
.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"]{margin:0;width:100%;min-width:0;min-height:60px;border-radius:16px;font-size:18px;padding:10px;gap:7px}
.mobile-app .atlas-map .journey-guide-actions [data-action="journey-next"] .icon{width:23px;height:23px}
.mobile-app .atlas-map .journey-step-copy b{font-size:20px;line-height:1.4}.mobile-app .atlas-map .journey-step-copy small{font-size:14px}
.mobile-app .route-sheet .v5-step-header{min-height:68px;padding:16px;gap:12px}.mobile-app .route-sheet .v5-step-header b{font-size:20px}.mobile-app .route-sheet .v5-step-header small{font-size:15px;line-height:1.5}
.mobile-app .route-sheet .v5-turns button{min-height:60px;padding:12px 4px}.mobile-app .route-sheet .v5-turns b{font-size:18px;line-height:1.5}.mobile-app .route-sheet .v5-turns button>span{min-width:28px;width:28px;height:28px;font-size:14px;display:grid;place-items:center}
.mobile-app .route-sheet .v5-transfer{font-size:16px;line-height:1.5;padding:14px}.mobile-app .route-sheet .modal-footer .button{width:100%;min-height:56px;font-size:18px}.mobile-app .route-sheet .modal-header .iconbtn{width:52px;height:52px}
@media(max-height:600px) and (orientation:portrait){.mobile-app .atlas-map .journey-step-copy b{font-size:19px}.mobile-app .atlas-map .journey-step-copy small{font-size:13px}}

/* The staff console uses the desktop workspace, independently of the patient app. */
.admin-page #header .brand b{white-space:normal;line-height:1.3}
@media(min-width:901px){
 .admin-page{font-size:16px;--admin-header:100px;--admin-sidebar:272px}
 .admin-page #header{height:var(--admin-header);padding:14px 32px;gap:24px;position:sticky;top:0;background:#fff;z-index:30}
 .admin-page #header .brand{flex:1;min-width:290px;max-width:620px;gap:16px}
 .admin-page #header .brand .logo{width:56px;height:56px;background-size:46px;border-radius:16px}
 .admin-page #header .brand b{font-size:22px;letter-spacing:-.45px;text-wrap:balance}
 .admin-page #header .brand small{font-size:13px;margin-top:5px;color:#5e7d83}
 .admin-page .desktopNav{margin-left:auto;gap:4px;flex-shrink:0}
 .admin-page .navlink{font-size:14px;min-height:44px;padding:10px 12px;white-space:nowrap}
 .admin-page .head-tools{gap:10px;flex-shrink:0}.admin-page .sa-back,.admin-page .adminlink{font-size:14px;padding:10px;white-space:nowrap}
 .admin-page #mobileNav{display:none}
 .admin-page #app{width:100%;max-width:none}
 .admin-page .admin-layout{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:var(--admin-sidebar) minmax(0,1fr);min-height:calc(100dvh - var(--admin-header));padding:0;align-items:start}
 .admin-page .admin-aside{position:sticky;top:var(--admin-header);height:calc(100dvh - var(--admin-header));overflow-y:auto;padding:28px 18px 20px;gap:8px;border-radius:0}
 .admin-page .admin-aside .eyebrow{font-size:11px;line-height:1.5;margin:0 14px 15px;letter-spacing:1.2px}
 .admin-page .side-link{font-size:15px;line-height:1.4;min-height:52px;padding:13px 14px;gap:13px;border-radius:12px}
 .admin-page .side-link .icon{width:22px;height:22px}.admin-page .side-link.active{background:#ffffff15}
 .admin-page .side-bottom{font-size:13px;line-height:1.6;padding:24px 12px 0}.admin-page .side-bottom b{font-size:15px;overflow-wrap:anywhere}
 .admin-page .admin-main{padding:30px clamp(24px,2.3vw,48px) 48px;width:100%;min-width:0}
 .admin-page .breadcrumb{font-size:13px;margin-bottom:12px}
 .admin-page .admin-heading{margin-bottom:28px;gap:24px}.admin-page .admin-heading h1{font-size:34px;margin-bottom:8px}.admin-page .admin-heading p{font-size:15px;line-height:1.6}
 .admin-page .button{min-height:46px;padding:12px 18px;font-size:15px;line-height:1.35;border-radius:12px;gap:9px}.admin-page .button.slim{min-height:40px;padding:9px 14px}
 .admin-page .iconbtn{width:44px;height:44px;min-width:44px;padding:10px;border-radius:12px}.admin-page .iconbtn .icon{width:21px;height:21px}
 .admin-page .stat-grid{gap:16px;margin-bottom:26px}.admin-page .stat-card{padding:22px;gap:16px;min-height:104px;border-radius:18px}
 .admin-page .stat-card .stat-icon{width:48px;height:48px;border-radius:14px;flex-shrink:0}.admin-page .stat-value{font-size:32px}.admin-page .stat-label{font-size:13px;line-height:1.5;margin-top:5px}
 .admin-page .panel{border-radius:20px}.admin-page .panel-head{padding:22px 24px;gap:20px}.admin-page .panel-head h3{font-size:21px;line-height:1.4}.admin-page .panel-head small{display:block;font-size:14px;line-height:1.5;margin-top:4px}
 .admin-page .toolbar{padding:18px 24px;gap:12px}.admin-page .tool-search{padding:11px 14px;min-height:48px;max-width:560px;gap:10px}.admin-page .tool-search input{font-size:15px}.admin-page .tool-search .icon{width:20px;height:20px}
 .admin-page .tool-select{min-height:48px;font-size:14px;padding:11px 14px;max-width:230px;color:#426872}
 .admin-page .data-table{font-size:15px;min-width:880px}.admin-page .data-table th{font-size:12px;color:#587781;padding:15px 22px;letter-spacing:.04em}.admin-page .data-table td{padding:16px 22px;font-size:15px;line-height:1.5}
 .admin-page .td-name{min-width:210px;max-width:390px}.admin-page .td-name small{font-size:12px;margin-top:4px}.admin-page .data-table td.tiny{font-size:14px}
 .admin-page .td-actions .iconbtn{width:42px;min-width:42px;height:42px;padding:10px}.admin-page .td-actions .iconbtn .icon{width:21px;height:21px}
 .admin-page .badge{font-size:12px;padding:7px 10px;line-height:1.3;white-space:nowrap}.admin-page .number-box{font-size:14px;padding:5px 9px;border-radius:7px}
 .admin-page .table-foot{padding:18px 24px;font-size:14px;gap:18px}.admin-page .table-foot .row{gap:16px}.admin-page .admin-bottom-info{font-size:13px;line-height:1.6;margin-top:22px}
 .admin-page .panel-pad{padding:28px}.admin-page .settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:24px}.admin-page .settings-grid h3{font-size:22px;margin-bottom:22px}
 .admin-page .field{gap:8px;margin-bottom:20px}.admin-page .field label{font-size:14px}.admin-page .field input,.admin-page .field select,.admin-page .field textarea{font-size:16px;min-height:48px;padding:12px 14px;line-height:1.5}.admin-page .field textarea{min-height:110px}
 .admin-page .hint,.admin-page .field .hint,.admin-page .source-box{font-size:13px;line-height:1.65}.admin-page .checkline{font-size:14px;line-height:1.6;gap:10px}.admin-page .checkline input{width:18px;height:18px;flex-shrink:0}
 .admin-page .notice{font-size:14px;padding:16px 20px}.admin-page .source-box{padding:16px}.admin-page .log-entry{padding:22px 24px;gap:18px}.admin-page .log-entry b{font-size:16px}.admin-page .log-entry p{font-size:13px;margin-top:6px}
 .admin-page .qr-card{padding:24px;gap:18px}.admin-page .qr-card h3{font-size:20px}.admin-page .qr-card p,.admin-page .route-card p{font-size:14px;line-height:1.6}.admin-page .route-card{padding:24px;gap:20px}.admin-page .route-card h3{font-size:18px}
 .admin-page .editor-split{grid-template-columns:320px minmax(0,1fr);min-height:620px}.admin-page .editor-sidebar{padding:24px;max-height:calc(100dvh - 200px)}.admin-page .editor-map .svgmap{height:calc(100dvh - 240px);min-height:620px}
 .admin-page .editor-sidebar h3{font-size:22px}.admin-page .editor-selected{font-size:16px;padding:16px}.admin-page .editor-selected small{font-size:13px}.admin-page .floor-switch button{font-size:14px;min-height:44px;padding:10px 16px}.admin-page .segments button{min-height:40px;font-size:13px;padding:9px 12px}
 .admin-page .modal{max-width:calc(100vw - 64px)}.admin-page .modal-header{padding:22px 28px;gap:18px}.admin-page .modal-header h2{font-size:26px}.admin-page .modal-body{padding:28px}.admin-page .modal-footer{padding:18px 28px}.admin-page .drawer{width:720px}
 .admin-page .v5-employee-editor h3{font-size:19px}.admin-page .v5-employee-editor .button{font-size:14px}.admin-page .v5-employee-row .field input,.admin-page .v5-employee-row .field select{font-size:16px}
}
@media(min-width:901px) and (max-width:1350px){
 .admin-page{--admin-sidebar:236px}.admin-page #header{padding:14px 24px;gap:18px}.admin-page #header .brand b{font-size:20px}.admin-page #header .brand{max-width:540px;min-width:300px}.admin-page .desktopNav{display:none}.admin-page .head-tools{margin-left:auto}
 .admin-page .admin-main{padding:26px 24px 40px}.admin-page .side-link{font-size:14px;padding:12px}.admin-page .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .settings-grid{grid-template-columns:1fr}.admin-page .cards3{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page .editor-split{grid-template-columns:280px minmax(0,1fr)}
}
/* Three patient screens: search, route setup, map. No persistent tab bar. */
.mobile-app.phone-flow{--app-nav:0px;background:#f5f8f6;color:#153f35}
.phone-flow #mobileNav{display:none!important}
.mobile-app.phone-flow #header{height:78px;padding:10px 14px;background:#fff;gap:10px;box-shadow:none}
.phone-flow #header .brand{min-width:0;gap:9px;flex:1}.phone-flow #header .brand b{font-size:16px;line-height:1.3;white-space:normal}.phone-flow #header .brand small{font-size:12px;color:#44675a}
.phone-flow #header .brand .logo{width:36px;height:36px;background-size:34px}
.phone-flow .phone-screen-title{flex:1;text-align:center;font-size:17px;font-weight:750;min-width:0}.phone-flow .phone-screen-title:empty{display:none}
.mobile-app.phone-flow .app-menu-button{min-width:58px;width:58px;min-height:54px;font-size:12px;gap:2px;padding:6px;background:#087b67;color:white;border-radius:14px}
.mobile-app.phone-flow .phone-back{height:52px;min-height:52px;padding:8px 10px;font-size:15px;gap:4px;border:1px solid #dce6df;background:white;color:#194e3b;white-space:nowrap;box-shadow:none}
.phone-flow .journey-home{background:#f6f9f7}.phone-flow .journey-home-heading{padding:22px 18px 12px}.phone-flow .journey-home h1{font-size:29px;line-height:1.15;max-width:100%;margin-bottom:20px;color:#153f35}
.phone-flow .journey-home-origin,.phone-flow .native-toilet-shortcut,.phone-flow .journey-home-footer{display:none}
.phone-flow .journey-home .searchbox{min-height:56px;background:white;border:1px solid #d0dfd6;border-radius:15px;margin-bottom:14px}.phone-flow .journey-home .searchbox input{font-size:18px;color:#183e32}.phone-flow input::placeholder{color:#627b6d;opacity:1}
.phone-flow .journey-categories button{font-size:16px;min-height:50px;color:#335845}.phone-flow .journey-categories button.on{background:#087b67;color:#fff;border:0;box-shadow:none}
.phone-flow .journey-home-results{padding:0 18px max(18px,env(safe-area-inset-bottom))}.phone-flow .journey-destination{min-height:74px;padding:14px 0;gap:12px}.phone-flow .journey-destination b{font-size:18px;color:#173f32}.phone-flow .journey-destination small{font-size:14px;color:#4d6b5a;line-height:1.4}.phone-flow .journey-destination .roomicon{width:44px;height:44px;color:#077e65;background:#e3f1e8}
.phone-route-plan{height:100%;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;padding:24px 18px max(18px,env(safe-area-inset-bottom));gap:24px;background:linear-gradient(155deg,#f1f8f2,#f8faf8 60%)}
.phone-plan-heading h1{font-size:29px;line-height:1.2;margin:8px 0}.phone-plan-heading p{font-size:16px;color:#4d6a59}.phone-plan-heading .native-eyebrow{font-size:12px;letter-spacing:.8px;color:#426d56}
.phone-plan-points{background:white;border:1px solid #d7e5db;border-radius:22px;padding:0 16px;box-shadow:0 8px 28px #1a503506;flex-shrink:0}
.phone-flow .phone-plan-point{min-height:102px;width:100%;padding:18px 0;border:0;border-radius:0;background:transparent;gap:16px}.phone-flow .phone-plan-point:first-child{border-bottom:1px solid #dde8e0}.phone-flow .phone-plan-point small{font-size:14px;color:#4a6a57;font-weight:600}.phone-flow .phone-plan-point b{font-size:20px;line-height:1.35;white-space:normal;margin:3px 0;color:#143e31}.phone-flow .phone-plan-point em{font-size:14px;white-space:normal;color:#4d6b58}.phone-flow .phone-plan-point>.icon{display:block;width:20px;color:#4c765c}
.phone-plan-transport h2{font-size:18px;margin-bottom:12px}.phone-flow .phone-route-plan .native-mode-choices{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.phone-flow .phone-route-plan .native-mode-choices button{min-height:54px;font-size:16px;padding:9px 5px;gap:5px;color:#305840}.phone-flow .phone-route-plan .native-mode-choices button.on{background:#087b67;color:#fff;border-color:#087b67}
.phone-plan-bottom{margin-top:auto;display:grid;gap:10px;padding-top:4px;flex-shrink:0}.phone-flow .phone-plan-bottom .button{min-height:58px;width:100%;font-size:18px;border-radius:16px;padding:14px 12px;gap:8px;min-width:0;word-spacing:normal;display:flex;flex-direction:row;justify-content:center}
.phone-exterior-note{display:flex;gap:10px;align-items:center;font-size:15px;color:#76521b;background:#fcf2da;border-radius:14px;padding:14px}
/* The map occupies a real grid row, so cards cannot cover the drawing or push its controls away. */
.mobile-app.phone-flow .atlas-map.phone-map{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;position:relative;overflow:hidden;background:#f4f8f3;gap:0}
.mobile-app.phone-flow .phone-map>.journey-map{grid-row:2;position:relative;min-height:0;overflow:hidden}
.mobile-app.phone-flow .phone-map #patientSvg{height:100%;min-height:0;width:100%}
.mobile-app.phone-flow .phone-map .native-map-top{grid-row:1;position:relative;top:auto;left:auto;right:auto;display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) 12px 8px;gap:8px;background:#f6f9f6;z-index:20}
.phone-map-bar{display:flex;align-items:center;gap:8px;min-height:54px}.phone-map-title{min-width:0;flex:1;text-align:center}.phone-map-title b{font-size:17px;line-height:1.25;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#183e31}.phone-map-title small{display:block;font-size:13px;color:#436650;margin-top:3px}
.mobile-app.phone-flow .phone-map .floor-switch{align-self:center;box-shadow:none;background:#e7eee7;border:0;border-radius:14px;padding:3px;gap:4px}
.mobile-app.phone-flow .phone-map .floor-switch button{min-height:44px;font-size:16px;padding:8px 15px;min-width:78px;border-radius:11px;color:#365b45}.mobile-app.phone-flow .phone-map .floor-switch button.on{background:#087b67;color:#fff}.phone-flow .journey-route-dot{width:5px;height:5px;margin-left:4px}
.mobile-app.phone-flow .phone-map .native-map-tools{position:absolute;right:10px;bottom:calc(var(--route-sheet-height,180px) + 12px);display:flex;flex-direction:column;gap:6px;z-index:15;grid-template-columns:none}
.mobile-app.phone-flow .phone-map .native-map-tools .iconbtn{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;background:#fff;border:1px solid #cbdcd0;box-shadow:0 2px 10px #254f3520;border-radius:13px}.phone-flow .phone-map .native-map-tools .icon{width:23px;height:23px}
.mobile-app.phone-flow .phone-map .phone-route-sheet{position:relative;grid-row:3;bottom:auto;left:auto;right:auto;width:100%;padding:14px 16px max(14px,env(safe-area-inset-bottom));max-height:44dvh;overflow:auto;border:0;border-top:1px solid #d5e3d8;border-radius:22px 22px 0 0;background:white;z-index:20;box-shadow:0 -3px 20px #255d350b}
.mobile-app.phone-flow .phone-map .journey-step-copy{gap:10px;padding:0 0 12px;align-items:flex-start}.mobile-app.phone-flow .phone-map .journey-step-copy>span:last-child{min-width:0;flex:1}.mobile-app.phone-flow .phone-map .native-step-icon{width:36px;height:36px;border-radius:12px;margin-top:3px;background:#e5f3e7}.mobile-app.phone-flow .phone-map .native-step-icon .icon{width:22px;height:22px}
.mobile-app.phone-flow .phone-map .journey-step-copy small{font-size:13px;color:#42674e;line-height:1.3}.mobile-app.phone-flow .phone-map .journey-step-copy b{font-size:19px;line-height:1.3;color:#163e2e;margin-top:5px}
.mobile-app.phone-flow .phone-map .journey-guide-actions{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);gap:8px}
.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="journey-prev"]{width:48px;min-width:48px;height:54px;min-height:54px;border-radius:14px}
.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="route-instructions"]{flex-direction:row;height:54px;min-height:54px;padding:8px 6px;font-size:16px;gap:5px;border-radius:14px;color:#255436;background:#eff6ed;border-color:#d2e2cc}
.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="journey-next"]{height:54px;min-height:54px;font-size:18px;padding:8px;border-radius:14px}
.mobile-app.phone-flow .phone-map .journey-guide-actions .icon{width:21px;height:21px}
.phone-flow .phone-menu-save{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 2px 18px;font-size:16px;font-weight:700;color:#254b35}
.phone-flow .route-sheet-shade{bottom:env(safe-area-inset-bottom)!important}.phone-flow .route-sheet{background:white}.phone-flow .route-sheet .v5-turns b{color:#254b35}.phone-flow .route-sheet .v5-step-header small{color:#426b50}.phone-flow .route-sheet .help-text,.phone-flow .route-sheet .hint{color:#466653}
.phone-flow .atlas-menu-item small,.phone-flow .atlas-menu-clinic small{color:#44684f}.phone-flow .v5-point-choice b{font-size:18px;color:#173f31}.phone-flow .v5-point-choice small{font-size:14px;color:#456451}.phone-flow .v5-point-choice{min-height:76px}
@media(max-width:350px){.phone-flow #header{padding-left:10px;padding-right:10px}.phone-flow #header .brand .logo{display:none}.phone-flow .phone-screen-title{font-size:16px}.phone-flow .phone-back{font-size:14px;padding:8px}.phone-flow .phone-plan-heading h1{font-size:26px}.phone-flow .phone-route-plan{padding:18px 14px;gap:18px}.phone-flow .phone-plan-point b{font-size:19px}.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="route-instructions"] .icon{display:none}}
@media(max-height:630px) and (orientation:portrait){.phone-flow .phone-route-plan{gap:16px;padding-top:16px}.phone-flow .phone-plan-heading .native-eyebrow,.phone-flow .phone-plan-heading p{display:none}.phone-flow .phone-plan-heading h1{font-size:25px;margin:0}.phone-flow .phone-plan-point{min-height:88px;padding:12px 0}.mobile-app.phone-flow .phone-map .phone-route-sheet{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.mobile-app.phone-flow .phone-map .journey-step-copy b{font-size:18px}.mobile-app.phone-flow .phone-map .journey-step-copy{padding-bottom:9px}}
@media(max-height:480px) and (orientation:landscape){.phone-flow .journey-home{display:flex}.phone-flow .journey-home-heading{padding-top:12px}.phone-flow .journey-home h1{font-size:25px;margin-bottom:10px}.phone-flow .phone-route-plan{display:grid;grid-template-columns:1fr 1fr;gap:16px}.phone-plan-heading{grid-column:1/-1}.phone-flow .phone-plan-heading p,.phone-flow .phone-plan-heading .native-eyebrow{display:none}.phone-flow .phone-plan-heading h1{font-size:24px;margin:0}.phone-plan-bottom{grid-column:2;grid-row:2;align-self:end}.phone-plan-transport{grid-column:2;grid-row:2;align-self:start}.phone-flow .phone-plan-points{grid-column:1;grid-row:2}.phone-flow .phone-plan-point{min-height:90px}.mobile-app.phone-flow .phone-map .native-map-top{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px}.mobile-app.phone-flow .phone-map .phone-route-sheet{max-height:44dvh;padding:10px 16px}.mobile-app.phone-flow .phone-map .journey-guide{display:grid;grid-template-columns:1fr 320px;gap:16px;align-items:center}.mobile-app.phone-flow .phone-map .journey-step-copy{padding:0}.mobile-app.phone-flow .phone-map .native-map-tools{flex-direction:row}.mobile-app.phone-flow .modal-shade.route-sheet-shade{left:0;width:100%;right:0}}
.mobile-app.phone-flow{height:calc(100dvh / var(--phone-scale,1))}
.phone-flow .modal-shade{zoom:1}
.mobile-app.phone-flow .atlas-map.phone-map{grid-template-columns:minmax(0,1fr)}
.phone-flow .phone-map .native-map-top,.phone-flow .phone-map-bar,.phone-flow .phone-route-sheet{min-width:0;max-width:100%}
.phone-flow #toast{pointer-events:none;bottom:auto;top:142px;max-width:calc(100% - 32px)}
/* Compact, independent filters for the patient directory. */
.phone-flow .journey-directory-filters{display:grid;grid-template-columns:minmax(116px,.85fr) minmax(0,1.15fr);gap:10px;margin-top:14px}
.phone-flow .journey-directory-filters label{display:flex;flex-direction:column;gap:5px;min-width:0}
.phone-flow .journey-directory-filters label>span{font-size:13px;font-weight:600;color:#446451;padding-left:2px}
.phone-flow .journey-directory-filters select{width:100%;min-width:0;min-height:50px;border:1px solid #d0dfd6;border-radius:13px;background:#fff;color:#173f32;font:inherit;font-size:15px;font-weight:600;padding:8px;cursor:pointer;text-overflow:ellipsis}
.phone-flow .journey-directory-filters select:focus-visible{outline:2px solid #087b67;outline-offset:2px}
.phone-flow .journey-room-staff{margin-top:4px;overflow-wrap:anywhere}
/* Patient floor plans: top view with shallow raised walls; no map projection. */
.simple-patient .journey-map,.simple-patient.mobile-app .atlas-map .journey-map{background:radial-gradient(ellipse at 48% 42%,#fcfefa 0%,#eef6f2 68%,#e5f0ed 100%)}
.simple-patient .wf-architectural .wf-room-shape{stroke-dasharray:none}
.simple-patient .wf-architectural .wf-room-cell:hover .wf-room-shape{filter:brightness(1.04);stroke:#078d80;stroke-width:2}
.simple-patient .wf-architectural .wf-room-cell:focus-visible .wf-wall-cap{stroke:#087f74;stroke-width:5}
.simple-patient .wf-marker{filter:drop-shadow(0 2px 2px #204c4630)}
.simple-patient .wf-label{filter:drop-shadow(0 2px 3px #34574b18)}
.simple-patient .v5-route-halo{stroke:#fffefa;stroke-width:9.5;filter:drop-shadow(0 2px 1px #19685f35)}
.simple-patient .v5-route-line{stroke:#008e83;stroke-width:4.5}
.simple-patient .wf-corridor-marking{fill:none;stroke:#b4a883;stroke-width:1.1;stroke-dasharray:5 6;stroke-linecap:round;stroke-linejoin:round;opacity:.48;vector-effect:non-scaling-stroke}
.wf-3d-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.wf-3d-canvas[data-ready="false"]{opacity:0}
.wf-view-angle{font-size:15px;font-weight:750;color:#17685d}
.simple-patient #patientSvg.wf-has-3d{position:relative;background:transparent}
.simple-patient #patientSvg.wf-has-3d .wf-architectural{opacity:0}
/* Optional room metadata and actual navigation progress. */
.assignment-summary{display:block;margin-top:8px;padding-left:10px;border-left:2px solid #cadfd8;font-size:14px;line-height:1.45;color:#4b6660;overflow-wrap:anywhere}.assignment-summary strong,.assignment-summary>span{display:block}.assignment-summary strong{font-weight:600;color:#244f46}
.journey-directory-filters{flex-wrap:wrap}.journey-directory-filters>label{min-width:0;flex:1 1 130px}.journey-directory-filters select{width:100%;max-width:100%}.phone-flow .journey-directory-filters{display:grid;grid-template-columns:1fr 1fr}.phone-flow .journey-directory-filters>label:nth-child(2){grid-column:1/-1;grid-row:2}
.mobile-app.phone-flow #header:has(.brand){height:auto;min-height:88px;align-items:center}.phone-flow #header .brand b{font-size:12px;line-height:1.4;font-weight:650;text-align:left;overflow:visible;text-overflow:clip}.phone-flow #header .brand small{font-size:11px;text-align:left;margin-top:4px}.simple-patient:not(.mobile-app) #header .brand{max-width:520px}.simple-patient:not(.mobile-app) #header .brand b{white-space:normal;font-size:15px;line-height:1.35}
.plan-room-details{flex-shrink:0;max-height:200px;overflow:auto;border:1px solid #dce7e2;border-radius:16px;padding:10px;background:#fff}.plan-room-details .v5-staff-list{margin:0}.plan-room-details .v5-staff-person{padding:8px}.plan-room-details .button.text{min-height:44px}.patient-room-card h2{font-size:21px}.patient-room-card p{font-size:14px;line-height:1.5}.patient-room-card .v5-staff-person{font-size:15px}
.place-photo{padding:0;border:0;background:#eff4f1;position:relative;width:100%;display:block;border-radius:12px;overflow:hidden;text-align:left;margin:10px 0}.place-photo img{width:100%;height:180px;object-fit:cover;display:block}.place-photo>span{position:absolute;left:0;right:0;bottom:0;padding:16px 10px 7px;background:linear-gradient(transparent,#102d36bd);font-size:12px;color:white}.place-photo.compact img{height:82px}.photo-preview{margin:0}.photo-preview img{display:block;width:100%;max-height:65vh;object-fit:contain}.photo-preview figcaption{font-size:14px;margin-top:12px}.photo-map-marker{cursor:pointer}
.photo-editor{border:1px solid #d9e6df;border-radius:14px;margin-top:20px;padding:16px}.photo-editor legend{font-weight:700;font-size:16px}.photo-editor>img{width:100%;max-height:200px;object-fit:contain;margin-bottom:12px;border-radius:10px}.photo-upload{position:relative;cursor:pointer}.photo-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.photo-editor .hint{display:block}.photo-editor .button{margin:6px 8px 0 0}
.journey-progress{list-style:none;display:flex;align-items:center;margin:0 0 10px;padding:0;gap:0;width:100%;height:14px}.journey-progress li{position:relative;flex:1;display:flex;align-items:center}.journey-progress li:not(:last-child):after{content:'';height:2px;flex:1;background:#e0e7e5}.journey-progress li:last-child{flex:0}.journey-progress li span{width:7px;height:7px;border-radius:50%;background:#d2dbd8;flex-shrink:0}.journey-progress li.completed span,.journey-progress li.completed:after{background:#0b967b}.journey-progress li.current span{background:#0b967b;box-shadow:0 0 0 3px #0b967b22;width:9px;height:9px}
/* Desktop instructions and progress share a column, never compete in one flex row. */
.simple-patient:not(.mobile-app) .journey-guide{gap:24px;min-height:128px;padding:16px 24px}
.journey-guide-content{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 20px;min-height:96px;align-content:center}
.journey-guide-content>.journey-step-copy{grid-column:1;grid-row:1;min-width:0}
.journey-guide-content>.journey-step-copy small{font-size:12px;line-height:1.5}
.journey-guide-content>.journey-step-copy b{font-size:16px;line-height:1.4;margin-top:4px}
.journey-guide-content>.journey-step-description{grid-column:1;grid-row:2;margin:0}
.journey-guide-content>.journey-progress{grid-column:1;grid-row:3;width:100%;max-width:480px;margin:2px 0 0}
.journey-guide-content>.place-photo{grid-column:2;grid-row:1/4;width:144px;align-self:center;margin:0}
.journey-guide-content>.place-photo img{height:96px}
.simple-patient:not(.mobile-app) .journey-guide-actions .button,.simple-patient:not(.mobile-app) .journey-guide-actions .iconbtn{min-height:48px}
.simple-patient:not(.mobile-app) .journey-guide-actions .button{font-size:15px;padding:10px 20px}
.simple-patient:not(.mobile-app) .journey-guide-arrived{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 24px}
.journey-guide-arrived>.journey-arrival{grid-column:1;grid-row:1;padding:0}
.journey-guide-arrived>.journey-progress{grid-column:1;grid-row:2;max-width:480px;margin:0}
.journey-guide-arrived>.place-photo{grid-column:2;grid-row:1/3;width:144px;margin:0}
.journey-guide-arrived>.journey-arrival-actions{grid-column:3;grid-row:1/3}
.journey-step-description{font-size:13px;line-height:1.4;margin:0 0 8px;color:#536964}.mobile-app.phone-flow .phone-map .journey-step-copy b{font-size:16px;line-height:1.4;font-weight:600;margin-top:3px;letter-spacing:0}.mobile-app.phone-flow .phone-map .journey-step-copy small{font-size:12px;font-weight:500;color:#667a73}.mobile-app.phone-flow .phone-map .journey-step-copy{padding-bottom:8px}.mobile-app.phone-flow .phone-map .phone-route-sheet{padding:10px 14px max(10px,env(safe-area-inset-bottom));max-height:43dvh}.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="journey-next"]{font-size:16px}.mobile-app.phone-flow .phone-map .journey-guide-actions .button{height:48px;min-height:48px}.mobile-app.phone-flow .phone-map .journey-guide-actions [data-action="journey-prev"]{height:48px;min-height:48px}.mobile-app.phone-flow .phone-map .place-photo.compact{margin:5px 0 9px}.mobile-app.phone-flow .phone-map .journey-guide{display:block}
.written-journey-steps{list-style:none;padding:0;margin:18px 0}.written-journey-steps li{border-left:2px solid #e2e9e6;padding:0 0 16px 14px;margin-left:14px}.written-journey-steps li.completed{border-color:#09977d}.written-journey-steps li>button{display:flex;gap:12px;width:100%;padding:8px 0;min-height:52px;text-align:left;background:none;border:0}.written-step-number{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#e9efed;color:#5c726a;margin-left:-29px}.completed .written-step-number,.current .written-step-number{background:#078c73;color:#fff}.written-step-number .icon{width:16px}.written-journey-steps b{display:block;font-size:15px;font-weight:600;line-height:1.45}.written-journey-steps small,.written-journey-steps em{display:block;font-size:12px;font-style:normal;color:#637b72;margin:2px 0}.written-journey-steps .place-photo{margin-left:12px;width:calc(100% - 12px);max-width:340px}
.journey-arrival{display:flex;align-items:center;gap:12px;padding:5px 0 14px}.journey-arrival b,.journey-arrival small{display:block}.journey-arrival b{font-size:17px}.journey-arrival small{font-size:13px;margin-top:4px}.arrival-check{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#079477;color:#fff}.journey-arrival-actions{display:flex;gap:10px}.journey-arrival-actions .button{min-height:48px;font-size:14px;flex:1;padding:8px}.map-legend-list p{display:flex;align-items:center;gap:12px;font-size:15px}.map-legend-list i{height:20px;width:20px;display:block;border-radius:6px}
.simple-patient #patientSvg.has-route .wf-room-node:not(.selected) .wf-marker{opacity:.36}.simple-patient #patientSvg.has-route .wf-poi-node:not(.selected) .wf-marker{opacity:.62}.simple-patient #patientSvg.has-route .wf-label{opacity:.92}.simple-patient #patientSvg.has-route .wf-node.selected .wf-label{opacity:1}.simple-patient #patientSvg.has-route .wf-floor-profile{opacity:.36}
/* A crisp route sits above the quiet architectural background at every zoom. */
.simple-patient .v5-route-halo{stroke:#ffffff;stroke-opacity:.94;stroke-width:7px;filter:drop-shadow(0 1px 2px #124e4926)}
.simple-patient .v5-route-line{stroke:#008f7b;stroke-width:3.5px;filter:none}
.simple-patient .v5-endpoint-core{stroke-width:2.5px;filter:drop-shadow(0 2px 4px #163e4a30)}
.simple-patient .v5-pulse-ring{animation:none;opacity:.11}
.simple-patient .wf-3d-canvas{filter:saturate(.8)}
.simple-patient #patientSvg.has-route .wf-label rect{stroke:#d3e0e5;stroke-width:.75px}
@media(max-width:550px){.simple-patient .v5-route-halo{stroke-width:7.5px}.simple-patient .v5-route-line{stroke-width:3.75px}}
@media(max-height:650px){.phone-map .place-photo.compact img{height:56px}.mobile-app.phone-flow .phone-map .journey-step-copy b{font-size:15px}.phone-map .journey-step-description{display:none}.plan-room-details{max-height:120px}}
@media(max-height:480px) and (orientation:landscape){.phone-map .place-photo.compact{display:none}.mobile-app.phone-flow .phone-map .phone-route-sheet{max-height:42dvh}.phone-map .journey-step-description{display:none}.phone-route-plan .plan-room-details{grid-column:1/-1}.phone-map .journey-progress{margin-bottom:6px}}

.phone-flow .phone-route-plan{gap:14px;padding-top:14px}.phone-flow .plan-room-details{padding:0;border:0;background:transparent;max-height:none}.phone-flow .plan-room-details .button{margin:0;min-height:44px;width:100%;justify-content:flex-start;padding:6px 8px;font-size:14px}.phone-flow .phone-plan-heading h1{margin:0}.phone-flow .phone-plan-point{min-height:88px;padding:12px 0}

/* Data-entry maps use the same calibrated 3D ground plane as patient maps. */
.admin-page .modal-map .svgmap.wf-has-3d{position:relative;background:transparent}.admin-page .modal-map .svgmap.wf-has-3d .wf-architectural{opacity:0}.admin-page .modal-map{isolation:isolate}.admin-page .modal-map .map-controls{z-index:3}.admin-page .modal-map .map-controls .iconbtn{width:40px;height:40px;min-width:40px}.admin-page .modal-map:has(.wf-3d-canvas){height:340px}.admin-page .modal-map:has(.wf-3d-canvas) .svgmap{height:340px}.admin-page .modal-map .map-caption{z-index:2}
/* Keep the complete photograph visible; the compact card opens the larger image. */
.place-photo img{height:auto;max-height:280px;object-fit:contain;background:#eaf0ed}
.place-photo>span{position:static;display:block;background:none;color:#254b42;padding:8px 10px;font-size:13px;line-height:1.4}
.place-photo.compact{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px;padding:6px;min-height:84px;text-align:left}
.place-photo.compact img{width:96px;height:72px;max-height:none;object-fit:contain;border-radius:7px}
.place-photo.compact>span{padding:4px 6px 4px 0;overflow-wrap:anywhere}
.place-photo.compact small{display:block;font-size:12px;color:#087f78;margin-top:4px}
.journey-guide-content>.place-photo.compact,.journey-guide-arrived>.place-photo.compact{width:172px;display:block;padding:0}
.journey-guide-content>.place-photo.compact img,.journey-guide-arrived>.place-photo.compact img{width:100%;height:72px}
.journey-guide-content>.place-photo.compact>span,.journey-guide-arrived>.place-photo.compact>span{padding:4px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.journey-guide-content>.place-photo.compact small,.journey-guide-arrived>.place-photo.compact small{display:none}
.photo-editor>img{width:100%;height:auto;max-height:280px;object-fit:contain;background:#edf3f0}
.wf-poi-admin-entry{border:1px solid #dce7e2;border-radius:12px;background:#fff;overflow:hidden}
.wf-poi-admin-entry .wf-poi-admin-card{border:0;border-radius:0}
.wf-poi-admin-entry>.button{margin:0 10px 10px;min-height:40px;font-size:13px}

/* SanalyAudit administration palette. Patient screens and printed QR sheets keep their own presentation. */
@media screen {
 body.admin-page{
  --ink:#172e3e;--sub:#5f6d75;--brand:#17384e;--brand-dark:#213f53;
  --navy:#172e3e;--teal:#17384e;--teal-bg:#f2ecdd;--blue:#17384e;
  --blue-bg:#f2ecdd;--line:#e2dfd5;--bg:#f7f6f2;--red:#a33135;
  --warning:#815718;--warning-bg:#fff6e6;--admin-sidebar:236px;
  background:#f7f6f2;color:#172e3e;font-size:15px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 }
 body.admin-page #header{
  display:grid;grid-template-columns:184px minmax(180px,1fr) auto auto;
  height:auto;min-height:82px;padding:14px 24px;gap:16px;
  position:sticky;top:0;background:#fff;border-bottom:1px solid #e2dfd5;
  box-shadow:0 2px 8px rgba(32,57,79,.035);
 }
 body.admin-page .sa-admin-brand{display:flex;align-items:center;width:184px;min-height:44px;border-radius:8px;text-decoration:none}
 body.admin-page .sa-admin-wordmark{
  display:block;width:184px;height:42px;flex:none;
  background:url('/assets/sanaly-audit-wordmark-v1.png?v=20260809') -46px -62px/270px 180px no-repeat;
 }
 body.admin-page .sa-admin-organization{
  display:flex;align-items:center;gap:11px;min-width:0;width:100%;
  padding:3px 0;border:0;background:transparent;color:#172e3e;text-align:left;
  font:inherit;border-radius:8px;box-shadow:none;
 }
 body.admin-page .sa-admin-org-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #d6e3ef;border-radius:10px;background:#f2f6fb;color:#17384e}
 body.admin-page .sa-admin-org-icon .icon{width:19px;height:19px}
 body.admin-page .sa-admin-organization-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
 body.admin-page .sa-admin-organization-copy small{font-size:10px;line-height:1.25;font-weight:600;letter-spacing:.075em;text-transform:uppercase;color:#5f6d75}
 body.admin-page .sa-admin-organization-copy b{display:block;font-size:12px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;letter-spacing:0;color:#172e3e}
 body.admin-page .sa-admin-organization-copy>span{display:block;font-size:11px;line-height:1.4;color:#5f6d75;overflow-wrap:anywhere}
 body.admin-page #header .desktopNav{display:flex;margin-left:0;gap:3px}
 body.admin-page #header .navlink{min-height:40px;padding:9px 12px;font-size:13px;font-weight:600;white-space:nowrap;border-radius:10px;color:#5f6d75;background:transparent}
 body.admin-page #header .navlink:hover{background:#faf6eb;color:#172e3e}
 body.admin-page #header .navlink.active{background:#f2ecdd;color:#213f53}
 body.admin-page #header .head-tools{margin:0;gap:8px}
 body.admin-page #header .adminlink{min-height:40px;padding:9px 12px;font-size:13px;font-weight:600;border:1px solid #e2dfd5;border-radius:10px;background:#fff;color:#405765;white-space:nowrap}
 body.admin-page #header .adminlink span{display:inline}
 body.admin-page #header .adminlink.active{background:#f2ecdd;border-color:#d4cbb7;color:#213f53}
 body.admin-page #app{width:100%;max-width:none}
 body.admin-page .admin-layout{grid-template-columns:var(--admin-sidebar) minmax(0,1fr);max-width:none;min-height:calc(100dvh - var(--nav-top,82px));background:#f7f6f2}
 body.admin-page .admin-aside{position:sticky;top:var(--nav-top,82px);height:calc(100dvh - var(--nav-top,82px));padding:24px 12px 18px;gap:5px;overflow-y:auto;background:#ece5d4;color:#405765;border-right:1px solid #b0c8df;border-radius:0;box-shadow:none}
 body.admin-page .admin-aside .eyebrow{margin:2px 12px 14px;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.09em;color:#405765}
 body.admin-page .side-link{flex-shrink:0;min-height:46px;padding:11px 12px;gap:10px;border-radius:10px;font-size:14px;line-height:1.4;font-weight:500;color:#172e3e;background:transparent;box-shadow:none}
 body.admin-page .side-link .icon{width:20px;height:20px;color:#17384e}
 body.admin-page .side-link:hover{background:#ede4d1;color:#172e3e}
 body.admin-page .side-link.active{background:#fffdf7;color:#172e3e;box-shadow:inset 3px 0 #17384e;font-weight:600}
 body.admin-page .side-bottom{padding:22px 12px 0;font-size:12px;line-height:1.5;color:#405765;overflow-wrap:anywhere}
 body.admin-page .side-bottom b{font-size:14px;font-weight:600;color:#172e3e}
 body.admin-page .side-bottom .button{width:100%;justify-content:flex-start}
 body.admin-page .admin-main{padding:28px clamp(20px,2.3vw,40px) 44px;min-width:0}
 body.admin-page .breadcrumb{font-size:12px;line-height:1.5;color:#5f6d75;margin-bottom:10px}
 body.admin-page .admin-heading{gap:20px;margin-bottom:24px;align-items:flex-start}
 body.admin-page .admin-heading>div{min-width:0}
 body.admin-page .admin-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.025em;font-weight:650;color:#172e3e;margin-bottom:8px}
 body.admin-page .admin-heading p{font-size:14px;line-height:1.55;color:#5f6d75;max-width:740px}
 body.admin-page .admin-heading>.button{flex-shrink:0}
 body.admin-page .admin-heading>.row{flex-wrap:wrap;justify-content:flex-end}
 body.admin-page .button{min-height:40px;padding:10px 16px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;background:#17384e;color:#fff;box-shadow:none;transition:background-color .15s,border-color .15s}
 body.admin-page .button:not(.secondary):not(.danger){background:#17384e;color:#fff;box-shadow:none}
 body.admin-page .button:not(.secondary):not(.danger):hover{background:#213f53;color:#fff}
 body.admin-page .button.secondary{background:#fff;color:#172e3e;border-color:#d4cbb7;box-shadow:none}
 body.admin-page .button.secondary:hover{background:#faf6eb;border-color:#b29a68}
 body.admin-page .button.soft,body.admin-page .button.text{background:#f2ecdd;color:#213f53;box-shadow:none}
 body.admin-page .button.danger{background:#fff1f0;color:#a33135;border-color:#e9bfbd;box-shadow:none}
 body.admin-page .button.danger:hover{background:#fce5e3;border-color:#d99596}
 body.admin-page .button.slim{min-height:40px;padding:9px 12px;font-size:13px}
 body.admin-page .iconbtn{width:42px;min-width:42px;height:42px;padding:10px;border:1px solid #d4cbb7;border-radius:10px;background:#fff;color:#405765;box-shadow:none}
 body.admin-page .iconbtn:hover{background:#faf6eb;border-color:#b29a68;color:#213f53}
 body.admin-page .button:disabled,body.admin-page .iconbtn:disabled{opacity:1;background:#edf1f5!important;color:#657586!important;border-color:#d7e0e8;box-shadow:none;cursor:not-allowed}
 body.admin-page :is(button,a,input,select,textarea):focus-visible{outline:2px solid #946c21;outline-offset:3px}
 body.admin-page .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
 body.admin-page .stat-card{min-height:100px;padding:18px;gap:14px;border-radius:16px;border-color:#e2dfd5;background:#fff;box-shadow:0 2px 5px rgba(32,57,79,.025)}
 body.admin-page .stat-card .stat-icon{width:42px;height:42px;flex:none;border-radius:12px;background:#f2ecdd;color:#17384e}
 body.admin-page .stat-card .stat-icon.warn{background:#fff6e6;color:#815718}
 body.admin-page .stat-value{font-size:30px;font-weight:650;line-height:1.15;color:#172e3e}
 body.admin-page .stat-label{font-size:12px;line-height:1.45;color:#5f6d75;margin-top:5px}
 body.admin-page :is(.panel,.qr-card,.editor-split,.wf-poi-admin-entry){border-color:#e2dfd5;background:#fff;border-radius:16px;box-shadow:0 2px 5px rgba(32,57,79,.025)}
 body.admin-page .panel-head{padding:20px 22px;border-color:#e2dfd5;background:#fff}
 body.admin-page .panel-head h3{font-size:20px;font-weight:650;color:#172e3e}
 body.admin-page .panel-head small{display:block;font-size:13px;line-height:1.55;color:#5f6d75;margin-top:5px}
 body.admin-page .panel-pad{padding:24px}
 body.admin-page .toolbar{padding:16px 22px;gap:10px;background:#fff;border-color:#e2dfd5}
 body.admin-page .tool-search{min-height:44px;max-width:440px;border:1px solid #d4cbb7;border-radius:10px;background:#fff;padding:9px 12px}
 body.admin-page .tool-search input{color:#172e3e;font-size:15px}
 body.admin-page .tool-search input:focus-visible{outline:none;box-shadow:none}
 body.admin-page .tool-search:focus-within{outline:2px solid #946c21;outline-offset:2px;box-shadow:none}
 body.admin-page .tool-select{min-height:44px;padding:9px 12px;border-color:#d4cbb7;font-size:14px;color:#172e3e;background:#fff;border-radius:10px}
 body.admin-page .table-wrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain}
 body.admin-page .data-table{min-width:880px;font-size:15px;background:#fff}
 body.admin-page .data-table th{padding:14px 20px;background:#f6f2e7;border-color:#e2dfd5;color:#5f6d75;font-size:12px;letter-spacing:.025em;font-weight:600}
 body.admin-page .data-table td{padding:15px 20px;border-color:#e3ebf2;font-size:15px;color:#172e3e;line-height:1.5}
 body.admin-page .data-table tr:hover td{background:#fffdf7}
 body.admin-page .td-name{font-weight:600}
 body.admin-page .td-name small{font-size:12px;line-height:1.5;color:#5f6d75;margin-top:4px}
 body.admin-page .td-actions .iconbtn{width:42px;min-width:42px;height:42px;padding:10px;border-color:#e2dfd5;background:#faf8f1;color:#17384e}
 body.admin-page .td-actions .iconbtn .icon{width:18px;height:18px}
 body.admin-page .td-actions .iconbtn:hover{background:#f2ecdd;border-color:#b29a68}
 body.admin-page .number-box{font-size:13px;padding:4px 8px;border-radius:6px;background:#f6f2e7;color:#405765;border-color:#e6e2d8}
 body.admin-page .pill{font-size:12px;font-weight:600;padding:5px 9px;background:#f2ecdd;color:#213f53;border-radius:7px}
 body.admin-page .pill.blue{background:#f2ecdd;color:#213f53}
 body.admin-page .pill.gray{background:#edf1f5;color:#5f6d75}
 body.admin-page .pill.warn{background:#fff6e6;color:#815718}
 body.admin-page .pill.red{background:#fff1f0;color:#a33135}
 body.admin-page .table-foot{padding:15px 22px;font-size:13px;line-height:1.5;color:#5f6d75;border-color:#e2dfd5;flex-wrap:wrap}
 body.admin-page .admin-bottom-info{font-size:13px;line-height:1.6;color:#5f6d75;align-items:flex-start}
 body.admin-page :is(.hint,.help-text,.source-box,.checkline){color:#5f6d75;font-size:13px;line-height:1.6}
 body.admin-page .settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:24px}
 body.admin-page .settings-grid h3{font-size:20px;font-weight:650;color:#172e3e}
 body.admin-page .field{gap:7px;margin-bottom:18px}
 body.admin-page .field label{font-size:13px;font-weight:600;line-height:1.5;color:#405765}
 body.admin-page .field :is(input,select,textarea){min-height:44px;padding:10px 12px;font-size:15px;line-height:1.5;border:1px solid #d4cbb7;border-radius:10px;color:#172e3e;background:#fff;box-shadow:none}
 body.admin-page .field textarea{min-height:100px}
 body.admin-page .field :is(input,textarea)[readonly]{background:#f3f6fa;color:#5f6d75}
 body.admin-page :is(input,textarea)::placeholder{color:#67757b;opacity:1}
 body.admin-page .field .hint{font-size:12px;line-height:1.6;color:#5f6d75}
 body.admin-page .checkline{gap:10px;align-items:flex-start}
 body.admin-page .checkline input{width:18px;height:18px;min-height:0;flex-shrink:0;accent-color:#17384e}
 body.admin-page :is(.source-box,.switches,.v5-employee-editor){background:#f6f2e7;border-color:#e6e2d8;border-radius:12px;color:#5f6d75}
 body.admin-page .source-box b{color:#405765}
 body.admin-page .switches .checkline{font-size:13px;color:#405765}
 body.admin-page .notice{font-size:13px;line-height:1.65;color:#815718;background:#fff6e6;border-color:#ebd6af;border-radius:12px}
 body.admin-page .notice.info,body.admin-page .v5-form-note{font-size:13px;line-height:1.6;color:#405765;background:#f8f3e7;border-color:#c9dcee}
 body.admin-page .cards3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 body.admin-page .qr-card{padding:22px;gap:14px;min-width:0}
 body.admin-page .qr-card h3{font-size:19px;font-weight:650;line-height:1.4;color:#172e3e}
 body.admin-page .qr-card p{font-size:13px;line-height:1.55;color:#5f6d75}
 body.admin-page .qr-card .button{font-size:14px}
 body.admin-page .qr-placeholder{background:#f6f2e7;color:#5d7f9f;border:1px solid #e0e9f2;border-radius:12px}
 body.admin-page .route-card{padding:20px 22px;gap:16px;border-color:#e6e2d8}
 body.admin-page .route-card h3{font-size:16px;font-weight:600;color:#172e3e}
 body.admin-page .route-card p{font-size:13px;line-height:1.5;color:#5f6d75}
 body.admin-page .route-card>div{min-width:0}
 body.admin-page .route-card .row{flex-wrap:wrap}
 body.admin-page .route-thumb,body.admin-page .log-entry .log-icon{background:#f2ecdd;color:#17384e}
 body.admin-page .log-entry{padding:20px 22px;border-color:#e6e2d8}
 body.admin-page .log-entry b{font-size:14px;font-weight:600;color:#172e3e}
 body.admin-page .log-entry p{font-size:13px;color:#5f6d75}
 body.admin-page .editor-split{grid-template-columns:300px minmax(0,1fr)}
 body.admin-page .editor-sidebar{padding:20px;border-color:#e2dfd5;background:#fff;max-height:calc(100dvh - var(--nav-top,82px) - 130px)}
 body.admin-page .editor-sidebar h3{font-size:20px;font-weight:650;color:#172e3e}
 body.admin-page .editor-selected{font-size:14px;background:#f2ecdd;color:#213f53;padding:14px}
 body.admin-page .editor-selected small{font-size:13px;line-height:1.5}
 body.admin-page .editor-sidebar .button{font-size:13px}
 body.admin-page .floor-switch{border-color:#e2dfd5;background:#fff;box-shadow:0 2px 5px rgba(32,57,79,.04)}
 body.admin-page .floor-switch button{min-height:40px;padding:9px 12px;font-size:13px;color:#5f6d75;font-weight:600}
 body.admin-page .floor-switch button.on{background:#17384e;color:#fff}
 body.admin-page .segments button{min-height:40px;padding:9px 12px;font-size:13px;border-radius:8px;border-color:#e2dfd5;color:#405765;background:#fff}
 body.admin-page .segments button.on{background:#17384e;color:#fff;border-color:#17384e}
 body.admin-page .wf-editor-steps{color:#5f6d75;background:#faf8f1;border-color:#e6e2d8;line-height:1.5}
 body.admin-page .wf-editor-steps b{background:#e3edf8;color:#213f53}
 body.admin-page .wf-poi-admin-card{background:#fff;color:#172e3e}
 body.admin-page .wf-poi-admin-card:hover{background:#f6f2e7}
 body.admin-page .wf-poi-admin-card b{font-size:13px;font-weight:600;color:#172e3e}
 body.admin-page .wf-poi-admin-card small{font-size:12px;color:#5f6d75;line-height:1.4}
 body.admin-page .wf-poi-admin-card>.icon{color:#17384e}
 body.admin-page .modal-shade{background:rgba(27,45,65,.36);backdrop-filter:blur(4px)}
 body.admin-page .modal{display:flex;flex-direction:column;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:hidden;border:1px solid #e2dfd5;border-radius:16px;background:#fff;color:#172e3e;box-shadow:0 24px 80px rgba(22,44,69,.2)}
 body.admin-page .modal.drawer{border-radius:16px 0 0 16px;max-height:100dvh}
 body.admin-page .modal-header{position:relative;flex:0 0 auto;gap:16px;padding:20px 24px;background:#faf8f1;border-color:#e2dfd5}
 body.admin-page .modal-header>div{min-width:0}
 body.admin-page .modal-header h2{font-size:24px;font-weight:650;line-height:1.3;letter-spacing:-.02em;color:#172e3e}
 body.admin-page .modal-header small{display:block;font-size:13px;line-height:1.5;color:#5f6d75;margin-top:5px}
 body.admin-page .modal-header>.iconbtn{flex:none}
 body.admin-page .modal-body{flex:1 1 auto;min-height:0;overflow:auto;padding:24px;background:#fff;overscroll-behavior:contain}
 body.admin-page .modal-footer{position:relative;flex:0 0 auto;display:flex;flex-wrap:wrap;gap:10px;padding:16px 24px;background:#faf8f1;border-color:#e2dfd5}
 body.admin-page .modal-footer .button{min-height:40px;font-size:14px;padding:10px 16px}
 body.admin-page .modal-error{background:#fff1f0;color:#a33135;border-color:#e9bfbd}
 body.admin-page .v5-employee-editor h3{font-size:18px;color:#172e3e}
 body.admin-page .v5-employee-editor .button{min-height:40px;font-size:13px}
 body.admin-page .v5-employee-row{border-color:#e6e2d8;background:#fff}
 body.admin-page .v5-no-employees{font-size:13px;color:#5f6d75}
 body.admin-page .v5-employee-row .iconbtn{min-width:40px;width:40px;height:40px;color:#a33135;background:#fff1f0;border-color:#e9bfbd}
 body.admin-page .v5-employee-row .field :is(input,select){font-size:15px}
 body.admin-page #mobileNav{background:#fff;border-color:#e2dfd5}
 body.admin-page #mobileNav button{color:#5f6d75;font-size:11px;font-weight:500}
 body.admin-page #mobileNav button.active{color:#213f53;font-weight:600}
 body.admin-page #mobileNav button.active .icon{background:#f2ecdd}
 body.admin-page.large .admin-main{font-size:17px}
 body.admin-page.large :is(.side-link,.button,.data-table td,.field input,.field select,.field textarea){font-size:17px}
}
@media screen and (max-width:1350px){
 body.admin-page .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.admin-page .settings-grid{grid-template-columns:minmax(0,1fr)}
 body.admin-page .cards3{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.admin-page .editor-split{grid-template-columns:270px minmax(0,1fr)}
}
@media screen and (max-width:1200px){
 body.admin-page #header{grid-template-columns:184px minmax(0,1fr) auto;gap:10px 20px;padding:12px 24px}
 body.admin-page #header .desktopNav{grid-column:1/-1;grid-row:2;justify-content:center;border-top:1px solid #e3ebf2;padding-top:8px}
 body.admin-page #header .head-tools{grid-column:3;grid-row:1}
 body.admin-page .admin-main{padding:24px 22px 40px}
 body.admin-page .admin-heading{flex-wrap:wrap;gap:14px}
 body.admin-page .admin-heading>.row{justify-content:flex-start}
}
@media screen and (max-width:900px){
 body.admin-page .admin-layout{display:block;padding-bottom:calc(70px + env(safe-area-inset-bottom));min-height:calc(100dvh - var(--nav-top,82px))}
 body.admin-page .admin-aside{position:relative;top:auto;height:auto;display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:10px 14px;gap:5px;border-right:0;border-bottom:1px solid #b0c8df;border-radius:0;scrollbar-width:thin;scrollbar-color:#8daac7 transparent}
 body.admin-page .admin-aside .eyebrow,body.admin-page .side-bottom{display:none}
 body.admin-page .side-link{flex:none;white-space:nowrap;min-height:44px;font-size:13px;padding:10px 12px}
 body.admin-page .side-link .icon{width:18px;height:18px}
 body.admin-page .side-link.active{box-shadow:inset 0 -3px #17384e}
 body.admin-page .editor-split{display:flex;flex-direction:column;min-height:0}
 body.admin-page .editor-sidebar{max-height:none;border-right:0;border-bottom:1px solid #e2dfd5}
 body.admin-page .wf-poi-admin-list{max-height:300px;overflow:auto}
}
@media screen and (max-width:800px){
 body.admin-page #header{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;min-height:0;padding:12px 16px;position:relative}
 body.admin-page .sa-admin-brand{width:164px;min-height:40px}
 body.admin-page .sa-admin-wordmark{width:164px;height:38px;background-size:240px 160px;background-position:-41px -55px}
 body.admin-page .sa-admin-organization{grid-column:1/-1;grid-row:2;border-top:1px solid #e3ebf2;border-radius:0;padding-top:10px;gap:10px}
 body.admin-page .sa-admin-org-icon{width:32px;height:32px}
 body.admin-page #header .desktopNav{display:none}
 body.admin-page #header .head-tools{grid-column:2;grid-row:1;gap:6px}
 body.admin-page #header .head-tools .iconbtn{width:40px;min-width:40px;height:40px;font-size:13px;padding:8px}
 body.admin-page #header .adminlink{padding:9px;min-width:40px;justify-content:center}
 body.admin-page #header .adminlink span{display:none}
 body.admin-page #header .adminlink .icon{width:18px;height:18px}
 body.admin-page .admin-main{padding:22px 16px 32px}
 body.admin-page .admin-heading h1{font-size:25px;line-height:1.25}
 body.admin-page .admin-heading p{font-size:13px}
 body.admin-page .admin-heading .button{min-height:40px;font-size:13px;padding:10px 14px}
 body.admin-page .admin-heading .button .icon{width:17px;height:17px}
 body.admin-page .stat-grid{gap:10px;margin-bottom:20px}
 body.admin-page .stat-card{min-height:92px;padding:14px 12px;gap:10px}
 body.admin-page .stat-card .stat-icon{width:32px;height:32px;border-radius:9px}
 body.admin-page .stat-card .stat-icon .icon{width:18px;height:18px}
 body.admin-page .stat-value{font-size:26px}
 body.admin-page .stat-label{font-size:11px}
 body.admin-page .panel-head{padding:17px 16px;align-items:flex-start;flex-wrap:wrap;gap:10px}
 body.admin-page .panel-head h3{font-size:18px}
 body.admin-page .panel-head small{font-size:12px}
 body.admin-page .panel-pad{padding:18px 16px}
 body.admin-page .toolbar{padding:14px 16px;gap:10px}
 body.admin-page .tool-search{width:100%;max-width:none;min-width:0;flex:1 1 100%}
 body.admin-page .tool-select{flex:1 1 120px;min-width:0;max-width:none;font-size:14px}
 body.admin-page .data-table td,body.admin-page .data-table th{padding:14px 16px}
 body.admin-page .table-foot{padding:14px 16px;font-size:12px}
 body.admin-page .table-foot>.row{gap:8px;flex-wrap:wrap}
 body.admin-page .table-foot .button{font-size:13px}
 body.admin-page .cards3{grid-template-columns:minmax(0,1fr)}
 body.admin-page .qr-card{padding:18px}
 body.admin-page .qr-card h3{font-size:18px}
 body.admin-page .route-card{padding:18px 16px;align-items:flex-start;flex-wrap:wrap}
 body.admin-page .route-card>.row{width:100%;margin-left:0}
 body.admin-page .route-card>.row .button{flex:1}
 body.admin-page .field-grid{grid-template-columns:minmax(0,1fr)}
 body.admin-page .field :is(input,select,textarea),body.admin-page .v5-employee-row .field :is(input,select){font-size:16px}
 body.admin-page .field label{font-size:13px}
 body.admin-page .editor-sidebar{padding:18px 16px}
 body.admin-page .notice{font-size:13px;padding:14px}
 body.admin-page .wf-editor-steps{flex-wrap:wrap;gap:10px;padding:14px;font-size:12px}
 body.admin-page .wf-admin-poi-head{align-items:flex-start;flex-direction:column}
 body.admin-page .wf-admin-poi-head>.button{width:100%}
 body.admin-page .log-entry{padding:18px 16px;flex-wrap:wrap}
 body.admin-page .log-entry b{font-size:14px}
 body.admin-page .log-entry .button{width:100%}
 body.admin-page .modal-shade{padding:12px}
 body.admin-page .modal{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}
 body.admin-page .modal.drawer{max-width:100%;border-radius:0;max-height:100dvh}
 body.admin-page .modal-header{padding:18px 16px;gap:12px}
 body.admin-page .modal-header h2{font-size:21px}
 body.admin-page .modal-header small{font-size:12px}
 body.admin-page .modal-body{padding:18px 16px}
 body.admin-page .modal-footer{padding:14px 16px;gap:8px}
 body.admin-page .modal-footer .button{min-height:40px;font-size:13px;padding:10px 12px}
 body.admin-page .v5-employee-editor>.row{flex-wrap:wrap}
}

/* Patient controls use the clinic palette while retaining the calibrated map. */
@media screen {
 body.simple-patient{
  --ink:#172e3e;--sub:#5f6d75;--brand:#17384e;--brand-dark:#213f53;
  --navy:#172e3e;--teal:#17384e;--teal-bg:#f2ecdd;--blue:#17384e;
  --blue-bg:#f2ecdd;--line:#e2dfd5;--bg:#f7f6f2;
  background:#f7f6f2;color:#172e3e;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 }
 body.simple-patient :is(#app,#header,#modalRoot){color:#172e3e}
 body.simple-patient :is(#app,#header,#modalRoot) :is(b,strong){font-weight:600}
 body.simple-patient :is(#app,#modalRoot) :is(h1,h2,h3){color:#172e3e;font-weight:600;letter-spacing:-.025em}
 body.simple-patient #header{background:#fff;border-color:#e2dfd5;box-shadow:none}
 body.simple-patient:not(.mobile-app) #header{height:auto;min-height:78px;padding-top:10px;padding-bottom:10px}
 body.simple-patient #header .brand b{color:#172e3e;font-weight:600}
 body.simple-patient #header .brand small{color:#5f6d75}
 body.simple-patient #header .brand .logo{box-shadow:none}
 body.simple-patient #header .sa-back{color:#405765;font-weight:500}
 body.simple-patient #header .sa-back:hover{background:#f2ecdd;color:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) .button{background:#17384e;color:#fff;border-radius:12px;font-weight:600;box-shadow:none}
 body.simple-patient :is(#app,#header,#modalRoot) .button:hover{background:#213f53;color:#fff}
 body.simple-patient :is(#app,#header,#modalRoot) .button.secondary{background:#fff;color:#213f53;border-color:#d4cbb7}
 body.simple-patient :is(#app,#header,#modalRoot) .button.secondary:hover{background:#f8f3e7;border-color:#b29a68}
 body.simple-patient :is(#app,#header,#modalRoot) .button.soft{background:#f2ecdd;color:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) .button.text{background:transparent;color:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) .button.text:hover{background:#f2ecdd;color:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) .button.danger{background:#fff1f0;color:#a33135;border-color:#e9bfbd}
 body.simple-patient :is(#app,#header,#modalRoot) .app-menu-button{background:#17384e;color:#fff;border-radius:12px;font-weight:600;box-shadow:none}
 body.simple-patient :is(#app,#header,#modalRoot) .app-menu-button:hover{background:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) .iconbtn{background:#fff;color:#405765;border-color:#d4cbb7;border-radius:12px;box-shadow:0 2px 6px rgba(32,57,79,.04)}
 body.simple-patient :is(#app,#header,#modalRoot) .iconbtn:hover{background:#f8f3e7;border-color:#b29a68;color:#213f53}
 body.simple-patient :is(#app,#header,#modalRoot) :is(.button,.iconbtn):disabled{opacity:1;background:#edf1f5;color:#657586;border-color:#d7e0e8;box-shadow:none;cursor:not-allowed}
 body.simple-patient :is(button,a,input,select,textarea):focus-visible{outline:2px solid #946c21;outline-offset:3px}
 body.simple-patient :is(#app,#header,#modalRoot) :is(input,select,textarea):focus{outline-color:#946c21}
 body.simple-patient :is(#app,#header,#modalRoot) :is(input,select,textarea)::placeholder{color:#67757b;opacity:1}
 body.simple-patient #app :is(.journey-home,.phone-route-plan,.atlas-saved,.native-help){background:#f7f6f2}
 body.simple-patient #app .journey-home-heading{padding-top:20px}
 body.simple-patient :is(#app,#modalRoot) .searchbox{background:#fff;border:1px solid #d4cbb7;border-radius:12px;box-shadow:none}
 body.simple-patient :is(#app,#modalRoot) .searchbox:focus-within{outline:2px solid #946c21;outline-offset:2px;box-shadow:none;border-color:#946c21}
 body.simple-patient :is(#app,#modalRoot) .searchbox input{color:#172e3e;outline:none;background:transparent}
 body.simple-patient :is(#app,#modalRoot) .searchbox>.icon{color:#17384e}
 body.simple-patient #app .journey-categories{background:#eee8d9;border-radius:12px;padding:4px;gap:4px}
 body.simple-patient #app .journey-categories button{background:transparent;color:#405765;font-weight:600;border-radius:9px}
 body.simple-patient #app .journey-categories button.on{background:#17384e;color:#fff;box-shadow:none}
 body.simple-patient #app .journey-directory-filters label>span{color:#5f6d75;font-weight:500}
 body.simple-patient #app .journey-directory-filters select{background:#fff;border-color:#d4cbb7;color:#172e3e;font-weight:500;border-radius:12px}
 body.simple-patient #app .journey-directory-filters select:focus-visible{outline:2px solid #946c21;outline-offset:2px}
 body.simple-patient #app .journey-destination{background:#fff;border:1px solid #e6e2d8;border-radius:14px;padding-left:12px;padding-right:12px;box-shadow:0 2px 5px rgba(32,57,79,.025)}
 body.simple-patient #app .journey-destination:hover{background:#fffdf7;border-color:#b29a68}
 body.simple-patient :is(#app,#modalRoot) :is(.journey-destination,.v5-point-choice) b{color:#172e3e;font-weight:600}
 body.simple-patient :is(#app,#modalRoot) :is(.journey-destination,.v5-point-choice) small{color:#5f6d75}
 body.simple-patient :is(#app,#modalRoot) :is(.journey-destination,.v5-point-choice)>.icon{color:#17384e}
 body.simple-patient :is(#app,#modalRoot) .roomicon{background:#f2ecdd;color:#17384e;border-radius:12px}
 body.simple-patient :is(#app,#modalRoot) .assignment-summary{border-color:#d4cbb7;color:#5f6d75}
 body.simple-patient :is(#app,#modalRoot) .assignment-summary strong{color:#405765}
 body.simple-patient :is(#app,#modalRoot) :is(.journey-search-hint,.help-text,.hint){color:#5f6d75}
 body.simple-patient #app .journey-form{background:#fff;border-bottom:1px solid #e2dfd5;box-shadow:none}
 body.simple-patient #app .journey-point{background:#faf8f1;border-color:#d4cbb7;border-radius:12px}
 body.simple-patient #app .journey-point b{color:#172e3e}
 body.simple-patient #app .journey-point :is(small,em){color:#5f6d75}
 body.simple-patient #app .journey-point>.icon{color:#17384e}
 body.simple-patient #app .phone-plan-points{background:#fff;border-color:#e2dfd5;border-radius:16px;box-shadow:0 2px 5px rgba(32,57,79,.025)}
 body.simple-patient #app .phone-plan-point{background:transparent;border-radius:0}
 body.simple-patient #app .phone-plan-point:first-child{border-color:#e6e2d8}
 body.simple-patient #app .phone-plan-heading p{color:#5f6d75}
 body.simple-patient #app .plan-room-details .button.text{border:1px solid #d4cbb7;background:#fff;border-radius:12px;min-height:46px;padding:10px 12px;justify-content:flex-start;font-weight:500}
 body.simple-patient #app .phone-plan-bottom .button{border-radius:12px}
 body.simple-patient #app .native-mode-choices button{background:#fff;color:#405765;border-color:#d4cbb7;font-weight:500;border-radius:12px}
 body.simple-patient #app .native-mode-choices button.on{background:#17384e;color:#fff;border-color:#17384e;font-weight:600}
 body.simple-patient #app .phone-exterior-note{background:#fff6e6;color:#815718;border:1px solid #ebd6af}
 body.simple-patient #app .journey-map{background:radial-gradient(ellipse at 48% 42%,#fffefa 0%,#f7f6f2 70%,#e9ebe5 100%)}
 body.simple-patient #app .journey-street{background:#f6f2e9}
 body.simple-patient #app .phone-map{background:#f7f6f2}
 body.simple-patient #app .phone-map .native-map-top{background:#f7f6f2;border-bottom:1px solid #e2dfd5}
 body.simple-patient #app .phone-map-title b{color:#172e3e}
 body.simple-patient #app .phone-map-title small{color:#5f6d75}
 body.simple-patient #app .floor-switch{background:#fff;border-color:#e2dfd5;border-radius:12px;box-shadow:0 2px 6px rgba(32,57,79,.04)}
 body.simple-patient #app .phone-map .floor-switch{background:#eee8d9;box-shadow:none}
 body.simple-patient #app .floor-switch button{color:#405765;font-weight:500;border-radius:9px}
 body.simple-patient #app .floor-switch button.on{background:#17384e;color:#fff;font-weight:600}
 body.simple-patient #app .journey-route-dot{background:#e5bd68}
 body.simple-patient #app .journey-transport{background:#fff;border-color:#e2dfd5;border-radius:12px;color:#5f6d75;box-shadow:0 2px 6px rgba(32,57,79,.04)}
 body.simple-patient #app .journey-transport select{color:#172e3e;font-weight:500}
 body.simple-patient #app .journey-leg{background:#fff;border-color:#e2dfd5;border-radius:12px;box-shadow:0 2px 6px rgba(32,57,79,.04)}
 body.simple-patient #app .journey-leg small{color:#17384e}
 body.simple-patient #app .journey-leg b{color:#172e3e}
 body.simple-patient #app .journey-map-bottom>span{background:rgba(255,255,255,.95);color:#5f6d75}
 body.simple-patient #app .journey-map-bottom>button{background:#fff;border-color:#d4cbb7;border-radius:12px;color:#405765}
 body.simple-patient #app .journey-guide{background:#fff;border-color:#e2dfd5;box-shadow:none}
 body.simple-patient #app .phone-route-sheet{background:#fff;border-color:#e2dfd5;border-radius:16px 16px 0 0;box-shadow:0 -2px 10px rgba(32,57,79,.04)}
 body.simple-patient #app .journey-step-copy b{color:#172e3e}
 body.simple-patient #app .journey-step-copy :is(small,em){color:#5f6d75}
 body.simple-patient #app .journey-step-description{color:#5f6d75}
 body.simple-patient #app .native-step-icon{background:#f2ecdd;color:#17384e}
 body.simple-patient #app .journey-guide-actions [data-action="route-instructions"]{background:#f2ecdd;border-color:#d4cbb7;color:#213f53;font-weight:500}
 body.simple-patient #app .journey-progress li:not(:last-child):after{background:#e6e2d8}
 body.simple-patient #app .journey-progress li span{background:#d4cbb7}
 body.simple-patient #app .journey-progress li.completed span,body.simple-patient #app .journey-progress li.completed:after{background:#17384e}
 body.simple-patient #app .journey-progress li.current span{background:#17384e;box-shadow:0 0 0 3px #17384e24}
 body.simple-patient #app .arrival-check{background:#17384e;color:#fff}
 body.simple-patient :is(#app,#modalRoot) .place-photo{background:#f6f2e7}
 body.simple-patient :is(#app,#modalRoot) .place-photo>span{color:#405765}
 body.simple-patient :is(#app,#modalRoot) .place-photo small{color:#17384e}
 body.simple-patient #modalRoot .modal-shade{background:rgba(27,45,65,.36);backdrop-filter:blur(3px)}
 body.simple-patient #modalRoot .modal{background:#fff;color:#172e3e;border-color:#e2dfd5;border-radius:16px;box-shadow:0 24px 80px rgba(22,44,69,.2)}
 body.simple-patient #modalRoot .modal-header{background:#faf8f1;border-color:#e2dfd5}
 body.simple-patient #modalRoot .modal-header :is(small,p){color:#5f6d75}
 body.simple-patient #modalRoot .modal-footer{background:#faf8f1;border-color:#e2dfd5}
 body.simple-patient #modalRoot .modal-body{background:#fff}
 body.simple-patient #modalRoot :is(.v5-point-filter,.v5-point-filter select){color:#5f6d75}
 body.simple-patient #modalRoot .v5-point-filter select{border-color:#d4cbb7;background:#fff;color:#172e3e}
 body.simple-patient #modalRoot .v5-point-choice{background:#fff;border-color:#e6e2d8;border-radius:12px}
 body.simple-patient #modalRoot .v5-point-choice:hover{background:#faf6eb;border-color:#b29a68}
 body.simple-patient #modalRoot .v5-staff-person{background:#faf8f1;border-color:#e6e2d8}
 body.simple-patient #modalRoot .v5-staff-person small{color:#5f6d75}
 body.simple-patient #modalRoot :is(.v5-person-icon,.v5-district){color:#213f53;background:#f2ecdd}
 body.simple-patient #modalRoot .v5-step-header.active{background:#f2ecdd;color:#213f53}
 body.simple-patient #modalRoot .v5-step-header small{color:#5f6d75}
 body.simple-patient #modalRoot .v5-turns b{color:#405765}
 body.simple-patient #modalRoot .v5-transfer{background:#f2ecdd;color:#405765}
 body.simple-patient #modalRoot .written-journey-steps li{border-color:#e6e2d8}
 body.simple-patient #modalRoot .written-journey-steps li.completed{border-color:#17384e}
 body.simple-patient #modalRoot .written-step-number{background:#f2ecdd;color:#405765}
 body.simple-patient #modalRoot :is(.completed,.current) .written-step-number{background:#17384e;color:#fff}
 body.simple-patient #modalRoot .written-journey-steps :is(small,em){color:#5f6d75}
 body.simple-patient #modalRoot .modal.atlas-menu{background:#ece5d4;border-radius:0 16px 16px 0}
 body.simple-patient #modalRoot .atlas-menu :is(.modal-header,.modal-body){background:#ece5d4}
 body.simple-patient #modalRoot .atlas-menu .modal-header h2{color:#405765;font-weight:600;letter-spacing:.075em}
 body.simple-patient #modalRoot .atlas-menu .modal-header .iconbtn{background:#f6efdf;color:#405765;border:1px solid #c8b98f;box-shadow:none}
 body.simple-patient #modalRoot .atlas-menu-brand b{color:#172e3e;letter-spacing:-.025em}
 body.simple-patient #modalRoot .atlas-menu-brand small{color:#405765}
 body.simple-patient #modalRoot .atlas-menu-clinic{background:#f8f3e7;border:1px solid #d4cbb7;border-radius:12px;padding:14px 12px}
 body.simple-patient #modalRoot .atlas-menu-clinic b{color:#172e3e;font-size:14px;font-weight:500;line-height:1.5}
 body.simple-patient #modalRoot .atlas-menu-clinic small{color:#5f6d75;font-size:12px}
 body.simple-patient #modalRoot .atlas-menu-clinic>span{color:#17384e}
 body.simple-patient #modalRoot .atlas-menu-item{color:#17384e;border-radius:10px}
 body.simple-patient #modalRoot .atlas-menu-item b{color:#172e3e;font-weight:500}
 body.simple-patient #modalRoot .atlas-menu-item small{color:#405765}
 body.simple-patient #modalRoot .atlas-menu-item>.icon:last-child{color:#5f6d75}
 body.simple-patient #modalRoot .atlas-menu-item:hover{background:#ede4d1}
 body.simple-patient #modalRoot .atlas-menu-item.on{background:#fffdf7;color:#17384e;box-shadow:inset 3px 0 #17384e}
 body.simple-patient #modalRoot .atlas-menu-item.on b{color:#172e3e;font-weight:600}
 body.simple-patient #modalRoot .atlas-menu-divider{background:#cec1a0}
 body.simple-patient #modalRoot .atlas-menu-setting{border-color:#c8b98f;border-radius:12px;background:#f8f3e7;color:#17384e}
 body.simple-patient #modalRoot .atlas-menu-setting>span{color:#172e3e}
 body.simple-patient #modalRoot .atlas-switch{background:#a19a88}
 body.simple-patient #modalRoot .atlas-switch.on{background:#17384e}
 body.simple-patient #modalRoot .atlas-menu-footer,body.simple-patient #modalRoot .atlas-menu-footer b{color:#405765}
 body.simple-patient #modalRoot .atlas-resume{background:#fffdf7;border-color:#c8b98f;border-radius:12px;color:#17384e}
 body.simple-patient #modalRoot .atlas-resume b{color:#172e3e}
 body.simple-patient #modalRoot .atlas-resume :is(small,em){color:#5f6d75}
 body.simple-patient #modalRoot .phone-menu-save{color:#172e3e;font-weight:500}
 body.simple-patient :is(#app,#modalRoot) .atlas-save{background:#fff;color:#5f6d75;border-color:#d4cbb7;border-radius:12px}
 body.simple-patient :is(#app,#modalRoot) .atlas-save.on{background:#f2ecdd;color:#213f53;border-color:#b29a68}
 body.simple-patient :is(#app,#modalRoot) .atlas-save.on .icon{fill:#e5bd68}
 body.simple-patient #app :is(.native-eyebrow,.atlas-section-heading p,.atlas-local-note,.atlas-empty p){color:#5f6d75}
 body.simple-patient #app .atlas-section-heading h1>span{background:#eee8d9;color:#405765}
 body.simple-patient #app .atlas-saved-card{border-color:#e6e2d8;border-radius:14px;background:#fff}
 body.simple-patient #app .atlas-saved-card .journey-destination{border:0;background:transparent;box-shadow:none}
 body.simple-patient #app .atlas-empty>span{background:#eee8d9;color:#17384e;transform:none;border-radius:20px}
 body.simple-patient #app .native-help-card{background:#fff;border-color:#e6e2d8;border-radius:16px;box-shadow:none}
 body.simple-patient #app .native-help-card>span{color:#17384e;background:#f2ecdd}
 body.simple-patient #app .native-help-card li{color:#405765}
 body.simple-patient #app .native-help-card li::marker{color:#17384e}
 body.simple-patient #app .native-setting{background:#fff;border-color:#e2dfd5;border-radius:12px;color:#17384e}
 body.simple-patient #app .native-setting>span{color:#172e3e}
 body.simple-patient #app .native-setting small{color:#5f6d75}
 body.simple-patient #app .native-setting b{color:#213f53;background:#f2ecdd}
 body.simple-patient #app :is(.native-help-note,.native-help-footer,.native-staff-link){color:#5f6d75}
 body.simple-patient #app .native-help-note{background:#f2ecdd;border-color:#e2dfd5}
 body.simple-patient #app .native-help-note p{color:#5f6d75}
 body.simple-patient #app :is(.help-card,.help-banner){border-color:#e2dfd5;background:#fff;color:#172e3e;border-radius:16px}
 body.simple-patient #app :is(.help-card,.help-banner) p{color:#5f6d75}
}

/* Compact patient chrome reserves more of the screen for the floor plan. */
@media screen {
 body.simple-patient:not(.mobile-app) #header{min-height:72px;padding:8px 20px;gap:14px}
 body.simple-patient:not(.mobile-app) #header .brand{max-width:620px}
 body.simple-patient:not(.mobile-app) #header .brand b{font-size:13px;line-height:1.4}
 body.simple-patient:not(.mobile-app) #header .brand small{font-size:11px;line-height:1.4}
 body.simple-patient:not(.mobile-app) #header .app-menu-button{min-height:44px;min-width:96px;padding:10px 14px;font-size:15px;border-radius:10px}
 body.simple-patient:not(.mobile-app) #header .head-tools .iconbtn{width:44px;height:44px;min-width:44px;font-size:15px}
 body.simple-patient:not(.mobile-app) #app .journey-form{padding:8px 20px;gap:10px}
 body.simple-patient:not(.mobile-app) #app .journey-point{min-height:60px;padding:8px 12px;gap:10px;border-color:#e6e2d8;border-radius:10px;background:#fbfaf7}
 body.simple-patient:not(.mobile-app):not(.large) #app .journey-point b{font-size:16px;line-height:1.4}
 body.simple-patient:not(.mobile-app):not(.large) #app .journey-point :is(small,em){font-size:12px;line-height:1.4}
 body.simple-patient:not(.mobile-app) #app .journey-build{min-height:48px;font-size:15px;padding:10px 16px;border-radius:10px}
 body.simple-patient:not(.mobile-app) #app .journey-map-top{top:12px;left:20px;right:20px}
 body.simple-patient:not(.mobile-app) #app .floor-switch{padding:4px;border-radius:10px;box-shadow:none}
 body.simple-patient:not(.mobile-app) #app .floor-switch button{min-height:44px;padding:8px 14px;font-size:14px;border-radius:7px}
 body.simple-patient:not(.mobile-app) #app .journey-transport{padding:2px 8px;font-size:12px;border-radius:10px;box-shadow:none}
 body.simple-patient:not(.mobile-app) #app .journey-transport select{min-height:44px;padding:8px 4px;font-size:14px}
 body.simple-patient:not(.mobile-app) #app .journey-leg{left:20px;top:76px;gap:12px;padding:8px 10px;border-radius:10px;box-shadow:none}
 body.simple-patient:not(.mobile-app):not(.large) #app .journey-leg b{font-size:14px;line-height:1.4}
 body.simple-patient:not(.mobile-app) #app .journey-leg small{font-size:11px}
 body.simple-patient:not(.mobile-app) #app .journey-leg .button{min-height:44px;padding:8px 12px}
 body.simple-patient:not(.mobile-app) #app .journey-map-tools{right:20px;gap:6px}
 body.simple-patient:not(.mobile-app) #app :is(.journey-map-tools,.journey-guide-actions) .iconbtn{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:10px;box-shadow:none}
 body.simple-patient:not(.mobile-app) #app .journey-map-bottom{left:20px;right:20px;bottom:10px}
 body.simple-patient:not(.mobile-app) #app .journey-map-bottom>span{font-size:12px;padding:6px 8px;border-radius:8px}
 body.simple-patient:not(.mobile-app) #app .journey-map-bottom>button{min-height:44px;font-size:13px;padding:8px 10px;border-radius:10px}
 body.simple-patient:not(.mobile-app) #app .journey-guide{min-height:0;padding:8px 20px;gap:18px}
 body.simple-patient:not(.mobile-app) #app .journey-guide-content{min-height:0;gap:4px 16px}
 body.simple-patient:not(.mobile-app) #app .journey-step-copy small{font-size:12px;line-height:1.4}
 body.simple-patient:not(.mobile-app):not(.large) #app .journey-step-copy b{font-size:16px;line-height:1.4;margin-top:2px}
 body.simple-patient:not(.mobile-app) #app .journey-step-description{font-size:13px;line-height:1.4;margin:0}
 body.simple-patient:not(.mobile-app) #app .journey-guide-content>.journey-progress{height:10px;margin:1px 0 0}
 body.simple-patient:not(.mobile-app) #app .journey-guide-actions .button{min-height:44px;padding:10px 16px;font-size:15px;border-radius:10px}
 body.simple-patient:not(.mobile-app) #app .journey-guide-content>.place-photo.compact{width:150px}
 body.simple-patient:not(.mobile-app) #app .journey-guide-content>.place-photo.compact img{height:58px}
 body.simple-patient.mobile-app #header:not(:has(.brand)){height:64px;min-height:64px;padding-top:8px;padding-bottom:8px}
 body.simple-patient.mobile-app :is(#header,#app) .phone-back{height:44px;min-height:44px;padding:8px;font-size:14px;border-radius:10px}
 body.simple-patient.mobile-app #app .journey-home-heading{padding-top:14px}
 body.simple-patient.mobile-app:not(.large) #app .journey-home h1{font-size:26px;margin-bottom:14px}
 body.simple-patient.mobile-app #app .journey-home .searchbox{min-height:50px;margin-bottom:10px}
 body.simple-patient.mobile-app:not(.large) #app .journey-home .searchbox input{font-size:16px}
 body.simple-patient.mobile-app #app .journey-categories button{min-height:44px}
 body.simple-patient.mobile-app:not(.large) #app .journey-categories button{font-size:15px}
 body.simple-patient.mobile-app #app .journey-directory-filters{margin-top:10px;gap:8px 10px}
 body.simple-patient.mobile-app #app .journey-directory-filters label{gap:4px}
 body.simple-patient.mobile-app #app .journey-directory-filters select{min-height:44px;border-color:#d8cfb8;border-radius:10px}
 body.simple-patient.mobile-app:not(.large) #app .journey-directory-filters label>span{font-size:12px}
 body.simple-patient.mobile-app #app .journey-destination{min-height:68px;padding:10px 12px;border-color:#e8e3d8;border-radius:12px;box-shadow:none}
 body.simple-patient.mobile-app #app .journey-destination .roomicon{width:40px;height:40px;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-route-plan{padding-top:14px;gap:12px}
 body.simple-patient.mobile-app:not(.large) #app .phone-plan-heading h1{font-size:26px;line-height:1.25}
 body.simple-patient.mobile-app #app .phone-plan-points{border-color:#e6e2d8;border-radius:14px;box-shadow:none}
 body.simple-patient.mobile-app #app .phone-plan-point{min-height:76px;padding:12px 0;gap:13px}
 body.simple-patient.mobile-app:not(.large) #app .phone-plan-point b{font-size:18px;line-height:1.35;margin:2px 0}
 body.simple-patient.mobile-app:not(.large) #app .phone-plan-point small{font-size:12px;line-height:1.4}
 body.simple-patient.mobile-app:not(.large) #app .phone-plan-point em{font-size:13px;line-height:1.4}
 body.simple-patient.mobile-app #app .plan-room-details .button.text{min-height:44px;border-color:#e6e2d8;padding:8px 10px;font-size:14px;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-plan-transport h2{font-size:17px;margin-bottom:10px}
 body.simple-patient.mobile-app #app .phone-route-plan .native-mode-choices button{min-height:48px;padding:8px 5px;border-color:#d8cfb8;border-radius:10px}
 body.simple-patient.mobile-app:not(.large) #app .phone-route-plan .native-mode-choices button{font-size:15px}
 body.simple-patient.mobile-app #app .phone-plan-bottom .button{min-height:50px;padding:12px;font-size:17px;border-radius:12px}
 body.simple-patient.mobile-app #app .phone-map .native-map-top{padding:max(6px,env(safe-area-inset-top)) 10px 6px;gap:6px}
 body.simple-patient.mobile-app #app .phone-map-bar{min-height:44px;gap:8px}
 body.simple-patient.mobile-app #app .phone-map .app-menu-button{width:54px;min-width:54px;height:44px;min-height:44px;padding:4px;gap:0;font-size:12px;line-height:1.2;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-map .app-menu-button .icon{width:20px;height:20px}
 body.simple-patient.mobile-app:not(.large) #app .phone-map-title b{font-size:16px;line-height:1.25}
 body.simple-patient.mobile-app #app .phone-map-title small{font-size:12px;line-height:1.35;margin-top:2px}
 body.simple-patient.mobile-app #app .phone-map .floor-switch{padding:3px;gap:3px;border-radius:11px}
 body.simple-patient.mobile-app #app .phone-map .floor-switch button{min-height:44px;padding:8px 13px;min-width:74px;font-size:15px;border-radius:8px}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn{box-shadow:0 1px 4px rgba(32,57,79,.04);border-color:#d8cfb8;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-map .phone-route-sheet{padding:8px 12px max(8px,env(safe-area-inset-bottom));border-radius:14px 14px 0 0;box-shadow:none}
 body.simple-patient.mobile-app #app .phone-map .journey-step-copy{padding-bottom:6px;gap:8px}
 body.simple-patient.mobile-app #app .phone-map .native-step-icon{width:32px;height:32px;margin-top:1px;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-map .native-step-icon .icon{width:20px;height:20px}
 body.simple-patient.mobile-app #app .phone-map .journey-step-copy small{font-size:12px;line-height:1.35}
 body.simple-patient.mobile-app:not(.large) #app .phone-map .journey-step-copy b{font-size:16px;line-height:1.35;margin-top:2px}
 body.simple-patient.mobile-app #app .phone-map .journey-step-description{font-size:13px;line-height:1.4;margin:0 0 6px}
 body.simple-patient.mobile-app #app .phone-map .journey-progress{height:10px;margin-bottom:6px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr);gap:6px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions :is(.button,.iconbtn){height:44px;min-height:44px;padding:8px 6px;border-radius:10px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions [data-action="journey-prev"]{width:44px;min-width:44px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions [data-action="route-instructions"]{font-size:15px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions [data-action="journey-next"]{font-size:16px}
 body.simple-patient.large #app .phone-map .journey-step-copy b{font-size:20px;line-height:1.35}
}

/* Mobile map tools form one short strip, leaving the sides of the plan clear. */
@media screen {
 body.simple-patient.mobile-app #app .phone-map .native-map-top{
  padding-left:max(10px,env(safe-area-inset-left));
  padding-right:max(10px,env(safe-area-inset-right));
  background:#faf8f1;border-bottom-color:#e6e2d8;
 }
 body.simple-patient.mobile-app #app .phone-map .phone-map-title{padding:0 2px}
 body.simple-patient.mobile-app #app .phone-map .floor-switch{background:#eee9dc}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools{
  display:flex;flex-direction:row;align-items:center;gap:0;
  right:max(10px,env(safe-area-inset-right));
  bottom:calc(var(--route-sheet-height,150px) + 10px);
  width:max-content;max-width:calc(100% - 20px);
  padding:0;border:1px solid #d4cbb7;border-radius:12px;
  background:#fff;box-shadow:0 3px 12px rgba(32,57,79,.10);
 }
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn{
  flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;
  position:relative;padding:10px;border:0;border-radius:0;background:#fff;
  color:#405765;box-shadow:none;
 }
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn+.iconbtn{border-left:1px solid #e6e1d6}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn:first-child{border-radius:11px 0 0 11px}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn:last-child{border-radius:0 11px 11px 0}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn:hover{background:#f7f6f2;color:#213f53}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn:focus-visible{z-index:1;outline:2px solid #946c21;outline-offset:2px}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .wf-view-angle{font-size:13px;font-weight:600;padding:8px}
 body.simple-patient.mobile-app #app .phone-map .phone-route-sheet{
  padding-left:max(12px,env(safe-area-inset-left));
  padding-right:max(12px,env(safe-area-inset-right));
  padding-bottom:max(8px,env(safe-area-inset-bottom));
  border-top-color:#d8cfb8;border-radius:16px 16px 0 0;
  box-shadow:0 -2px 10px rgba(32,57,79,.04);
 }
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions [data-action="route-instructions"]{background:#fff;border-color:#d4cbb7}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions [data-action="route-instructions"]:hover{background:#f7f6f2}
}
/* Voice controls keep a fixed height so speech state never moves the map. */
body.simple-patient .journey-voicebar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;margin:2px 0 8px;border-top:1px solid #e7e1d5;padding-top:4px}
body.simple-patient .journey-voicebar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 8px;border:0;border-radius:10px;background:transparent;color:#5f6d75;font:inherit;font-size:13px;line-height:1.3;white-space:nowrap;cursor:pointer}
body.simple-patient .journey-voicebar .icon{width:18px;height:18px;flex-shrink:0}
body.simple-patient .journey-voicebar .journey-voice-toggle{justify-content:flex-start;min-width:0}
body.simple-patient .journey-voicebar .journey-voice-toggle[aria-pressed="true"]{color:#77551e;background:#f5eedb}
body.simple-patient .journey-voicebar .journey-voice-toggle[data-speaking="true"] .icon{color:#00856f}
body.simple-patient .journey-voicebar button:disabled{opacity:.5;cursor:default}
body.simple-patient .journey-voicebar button:focus-visible{outline:2px solid #77551e;outline-offset:2px}
body.simple-patient .journey-voicebar button:hover:not(:disabled){background:#f8f3e7}
@media screen and (max-height:480px) and (orientation:landscape){
 body.simple-patient.mobile-app #app .phone-map .native-map-tools{
  right:max(12px,env(safe-area-inset-right));
  bottom:calc(var(--route-sheet-height,130px) - 54px);
  z-index:21;box-shadow:none;
 }
 body.simple-patient.mobile-app #app .phone-map .journey-step-copy{max-width:calc(100% - 194px);min-height:46px}
 body.simple-patient.mobile-app #app .phone-map .journey-arrival{padding-right:194px;min-height:54px}
 body.simple-patient.mobile-app #app .phone-map .phone-route-sheet:has(.journey-voicebar){max-height:52dvh}
 body.simple-patient.mobile-app #app .phone-map:not(.is-guiding) .phone-route-sheet>.button{width:calc(100% - 194px);min-width:0;margin-right:194px}
}

/* Clinic badge, kept legible in the patient header and mobile menu. */
body.simple-patient #header .brand .logo{display:block;width:46px;height:46px;background-size:contain}
body.simple-patient #modalRoot .atlas-menu-brand>img{width:56px;height:56px;flex-shrink:0}
@media(max-width:640px){body.simple-patient #header .brand .logo{width:40px;height:40px}}

/* Clinic 37: navy and gold from the badge, warm readable patient surfaces. */
@media screen {
 body.simple-patient{--clinic-navy:#112636;--clinic-gold:#e5bd68;--clinic-gold-ink:#77551e;--clinic-red:#bd3041;--clinic-paper:#f7f6f2;--clinic-line:#e2dfd5;--clinic-muted:#627078;color-scheme:light}
 body.simple-patient #header,body.simple-patient.mobile-app #header:has(.brand),body.simple-patient.mobile-app #header:not(:has(.brand)){background:#112636;border-bottom:1px solid #b89650;color:#fff;box-shadow:0 3px 16px #11263612}
 body.simple-patient #header .brand{min-width:0;gap:12px}
 body.simple-patient #header .brand-copy{min-width:0}
 body.simple-patient #header .brand b{color:#fff;font-size:20px;line-height:1.25;font-weight:650;letter-spacing:-.025em}
 body.simple-patient #header .brand small{color:#d9cba9;font-size:12px;line-height:1.5;letter-spacing:.02em;margin-top:4px}
 body.simple-patient #header .brand .logo{width:50px;height:50px;filter:drop-shadow(0 2px 5px #0003)}
 body.simple-patient #header :is(.app-menu-button,.iconbtn,.phone-back){color:#f8ecd0;background:#203a4c;border:1px solid #50616a;box-shadow:none}
 body.simple-patient #header :is(.app-menu-button,.iconbtn,.phone-back):hover{background:#2e495b;border-color:#e5bd68}
 body.simple-patient #header .sa-back{color:#efe4c8}
 body.simple-patient #header .sa-back:hover{background:#203a4c;color:#fff}
 body.simple-patient #header .phone-screen-title{color:#fff}
 body.simple-patient #header :is(button,a):focus-visible{outline-color:#f3cf85}
 body.simple-patient:not(.mobile-app) #header .brand b{font-size:20px;line-height:1.25}
 body.simple-patient:not(.mobile-app) #header .brand small{font-size:12px}
 body.simple-patient.mobile-app #header:has(.brand){height:86px;min-height:86px;padding:12px 18px;gap:10px}
 body.simple-patient.mobile-app #header .brand b{font-size:18px;line-height:1.3}
 body.simple-patient.mobile-app #header .brand small{font-size:11px;letter-spacing:0;line-height:1.4}
 body.simple-patient.mobile-app #header .brand .logo{width:44px;height:44px}
 body.simple-patient.mobile-app #header .app-menu-button{width:52px;min-width:52px;height:52px;min-height:52px;padding:6px;gap:2px}
 body.simple-patient :is(#app,#modalRoot) .button:not(.secondary):not(.soft):not(.text):not(.danger){background:#e5bd68;color:#112636;border:1px solid #c8a14d;box-shadow:0 3px 10px #8a692218;font-weight:650}
 body.simple-patient :is(#app,#modalRoot) .button:not(.secondary):not(.soft):not(.text):not(.danger):hover{background:#f0cd86;color:#112636;border-color:#aa8132}
 body.simple-patient :is(#app,#modalRoot) :is(.button,.iconbtn):disabled{background:#e9e8e3;color:#697477;border-color:#d8d7d0;box-shadow:none}
 body.simple-patient :is(button,a,input,select,textarea):focus-visible{outline:2px solid #946c21;outline-offset:3px}
 body.simple-patient :is(#app,#modalRoot) .searchbox:focus-within{outline-color:#946c21;border-color:#946c21;box-shadow:0 0 0 4px #e5bd681c}
 body.simple-patient #app .journey-home-heading{background:transparent}
 body.simple-patient #app .journey-categories{background:#ebe8df;padding:5px;border:1px solid #e1ddd2}
 body.simple-patient #app .journey-categories button.on{background:#112636;color:#f6dda7;box-shadow:0 2px 6px #11263616}
 body.simple-patient #app .journey-destination{box-shadow:0 3px 10px #11263605}
 body.simple-patient #app .journey-destination:hover{background:#fffdf7;border-color:#bca269}
 body.simple-patient :is(#app,#modalRoot) .roomicon{background:#f5eedb;color:#77551e}
 body.simple-patient #app .journey-form{padding-top:12px;padding-bottom:12px}
 body.simple-patient:not(.mobile-app) #app .journey-point{background:#fbfaf7;border-color:#dedacd;border-radius:13px}
 body.simple-patient #app .journey-dot.start{color:#ad812b;border-color:#ad812b;background:#d6aa51}
 body.simple-patient #app .journey-dot.end{border-color:#168171;background:#168171}
 body.simple-patient #app .floor-switch button.on{background:#112636;color:#f6dda7;box-shadow:inset 0 -2px #d9b15e}
 body.simple-patient #app .journey-route-dot{background:#e5bd68}
 body.simple-patient #app .journey-map{background:radial-gradient(ellipse at 48% 42%,#fffefa 0%,#f1f1eb 75%,#e8ece8 100%)}
 body.simple-patient #app .journey-progress li.completed span,body.simple-patient #app .journey-progress li.completed:after{background:#b68a37}
 body.simple-patient #app .journey-progress li.current span{background:#112636;box-shadow:0 0 0 3px #d9b15e55}
 body.simple-patient #app .native-step-icon{background:#f5eedb;color:#77551e}
 body.simple-patient #app .native-mode-choices button.on{background:#112636;border-color:#112636;color:#f6dda7}
 body.simple-patient #modalRoot .modal.atlas-menu,body.simple-patient #modalRoot .atlas-menu :is(.modal-header,.modal-body){background:#112636}
 body.simple-patient #modalRoot .atlas-menu{border-color:#334b5b}
 body.simple-patient #modalRoot .atlas-menu .modal-header h2{color:#d2ba84;font-size:11px;letter-spacing:.13em}
 body.simple-patient #modalRoot .atlas-menu .modal-header .iconbtn{background:#203a4c;color:#fff;border-color:#50616a}
 body.simple-patient #modalRoot .atlas-menu-brand b{color:#fff;font-size:22px}
 body.simple-patient #modalRoot .atlas-menu-brand small{color:#d9cba9;font-size:12px}
 body.simple-patient #modalRoot .atlas-menu-clinic{background:#1b3344;border-color:#3d5260;padding:15px 14px}
 body.simple-patient #modalRoot .atlas-menu-clinic b{color:#e8edf0;font-size:13px;line-height:1.6}
 body.simple-patient #modalRoot .atlas-menu-clinic small{color:#c3cdd0}
 body.simple-patient #modalRoot .atlas-menu-clinic>span{color:#e5bd68}
 body.simple-patient #modalRoot .atlas-menu-item{color:#e5bd68}
 body.simple-patient #modalRoot .atlas-menu-item b{color:#f3f5f5}
 body.simple-patient #modalRoot .atlas-menu-item small,body.simple-patient #modalRoot .atlas-menu-item>.icon:last-child{color:#c3cdd0}
 body.simple-patient #modalRoot .atlas-menu-item:hover{background:#203a4c}
 body.simple-patient #modalRoot .atlas-menu-item.on{background:#f5e7c5;color:#77551e;box-shadow:inset 3px 0 #ce9b3c}
 body.simple-patient #modalRoot .atlas-menu-item.on b{color:#112636}
 body.simple-patient #modalRoot .atlas-menu-item.on small{color:#5e635e}
 body.simple-patient #modalRoot .atlas-menu-divider{background:#3d5260}
 body.simple-patient #modalRoot .atlas-menu-setting{background:#1b3344;border-color:#3d5260;color:#e5bd68}
 body.simple-patient #modalRoot .atlas-menu-setting>span{color:#eef3f4}
 body.simple-patient #modalRoot .atlas-switch{background:#667985}
 body.simple-patient #modalRoot .atlas-switch.on{background:#b88b38}
 body.simple-patient #modalRoot .atlas-menu-footer,body.simple-patient #modalRoot .atlas-menu-footer b{color:#c3cdd0}
 body.simple-patient #modalRoot .atlas-resume{background:#f5e7c5;border-color:#c8a14d;color:#77551e}
 body.simple-patient #modalRoot .atlas-resume b{color:#112636}
 body.simple-patient #modalRoot .phone-menu-save{color:#fff}
 body.simple-patient .journey-voicebar .journey-voice-toggle[aria-pressed="true"]{background:#f5eedb;color:#77551e}
 body.simple-patient #app .journey-guide{border-top-color:#d7c495}
 body.simple-patient #app .phone-route-sheet{border-top-color:#d7c495}
 /* A close route view with light floating chrome, matching the reference layout. */
 body.simple-patient.mobile-app #app .phone-map .native-map-top{background:#fffdf8f5;border-bottom:1px solid #e1d9c5;border-radius:0 0 22px 22px;box-shadow:0 5px 18px #1126360b;padding:10px 12px 12px}
 body.simple-patient.mobile-app #app .phone-map .phone-map-bar{min-height:50px;gap:10px;margin-bottom:8px}
 body.simple-patient.mobile-app #app .phone-map .phone-map-title b{font-size:19px;line-height:1.25}
 body.simple-patient.mobile-app #app .phone-map .phone-map-title small{font-size:13px;margin-top:3px}
 body.simple-patient.mobile-app #app .phone-map :is(.phone-back,.app-menu-button){background:#fff;border:1px solid #e1d9c5;color:#112636;box-shadow:0 2px 6px #11263605;border-radius:14px}
 body.simple-patient.mobile-app #app .phone-map .floor-switch{background:#eeeae0;border:0;border-radius:14px;padding:4px;gap:4px}
 body.simple-patient.mobile-app #app .phone-map .floor-switch button{flex:1;border-radius:11px}
 body.simple-patient.mobile-app #app .phone-map .phone-route-sheet{border-radius:24px 24px 0 0;box-shadow:0 -6px 28px #11263612;padding:12px 16px max(12px,env(safe-area-inset-bottom))}
 body.simple-patient.mobile-app #app .phone-map .phone-route-sheet:before{content:'';display:block;width:36px;height:4px;border-radius:9px;background:#d8c79c;margin:0 auto 12px}
 body.simple-patient.mobile-app #app .phone-map .journey-step-copy{gap:10px;padding-bottom:8px}
 body.simple-patient.mobile-app #app .phone-map .native-step-icon{width:42px;height:42px;border-radius:50%;margin:0}
 body.simple-patient.mobile-app #app .phone-map .journey-step-copy b{font-size:18px;line-height:1.3}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr);gap:8px}
 body.simple-patient.mobile-app #app .phone-map .journey-guide-actions :is(.button,.iconbtn){height:48px;min-height:48px;border-radius:12px}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools{border-color:#d8cfb8;box-shadow:0 4px 14px #11263612}
 body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn{color:#112636}
 body.simple-patient .v5-route-line{stroke:#0b8b78;stroke-width:4.5px}
 body.simple-patient .v5-route-halo{stroke-width:8.5px}
 body.simple-patient .journey-home h1:after{content:'';display:block;width:32px;height:3px;margin-top:12px;background:#bd3041;border-radius:3px}
 @media(min-height:700px) and (orientation:portrait){
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo){display:grid;grid-template-columns:minmax(0,1fr) 104px;column-gap:12px;row-gap:0;align-items:start}
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo)>.journey-step-copy{grid-column:1;grid-row:1}
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo)>.journey-progress{grid-column:1;grid-row:2}
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo)>.journey-step-description{grid-column:1;grid-row:3}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.place-photo.compact{grid-column:2;grid-row:1 / 4;display:block;padding:0;width:104px;height:132px;margin:0 0 8px;border-radius:14px;border:1px solid #e1d9c5;overflow:hidden}
  body.simple-patient.mobile-app #app .phone-map .place-photo.compact img{width:100%;height:132px;object-fit:cover;border-radius:0}
  body.simple-patient.mobile-app #app .phone-map .place-photo.compact>span{position:absolute;inset:auto 0 0;padding:20px 7px 8px;color:#fff;font-size:11px;line-height:1.3;background:linear-gradient(transparent,#112636e8)}
  body.simple-patient.mobile-app #app .phone-map .place-photo.compact small{color:#f4dca7}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-voicebar{grid-column:1 / -1;grid-row:4}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-guide-actions{grid-column:1 / -1;grid-row:5}
  body.simple-patient.mobile-app #app .phone-map .native-map-tools{flex-direction:column;width:46px;max-width:46px;right:12px;bottom:calc(var(--route-sheet-height,240px) + 16px);border-radius:15px;overflow:hidden}
  body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn{border-radius:0;width:44px;min-width:44px;border:0}
  body.simple-patient.mobile-app #app .phone-map .native-map-tools .iconbtn+.iconbtn{border-left:0;border-top:1px solid #e6e1d6}
 }
 @media(max-height:699px) and (orientation:portrait){
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo){display:grid;grid-template-columns:minmax(0,1fr) 44px;column-gap:8px;row-gap:0;align-items:start}
  body.simple-patient.mobile-app #app .phone-map .journey-guide:has(>.place-photo)>.journey-step-copy{grid-column:1;grid-row:1}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.place-photo.compact{display:block;grid-column:2;grid-row:1;width:44px;height:44px;min-height:44px;margin:0;padding:0;overflow:hidden;border-radius:9px}
  body.simple-patient.mobile-app #app .phone-map .place-photo.compact img{width:44px;height:44px;object-fit:cover}
  body.simple-patient.mobile-app #app .phone-map .place-photo.compact>span{display:none}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-progress{grid-column:1 / -1;grid-row:2}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-step-description{grid-column:1 / -1;grid-row:3}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-voicebar{grid-column:1 / -1;grid-row:4}
  body.simple-patient.mobile-app #app .phone-map .journey-guide>.journey-guide-actions{grid-column:1 / -1;grid-row:5}
 }
 @media(max-width:350px){body.simple-patient.mobile-app #header{padding-left:12px;padding-right:12px}body.simple-patient.mobile-app #header .brand{gap:8px}body.simple-patient.mobile-app #header .brand b{font-size:16px}body.simple-patient.mobile-app #header .brand .logo{width:38px;height:38px}body.simple-patient #modalRoot .atlas-menu-brand b{font-size:20px}}
 @media(max-height:640px){body.simple-patient.mobile-app #app .phone-map .phone-route-sheet{padding-top:8px;padding-bottom:8px}body.simple-patient.mobile-app #app .phone-map .phone-route-sheet:before{margin-bottom:6px}body.simple-patient.mobile-app #app .phone-map .journey-step-copy b{font-size:16px}body.simple-patient.mobile-app #app .phone-map .journey-guide-actions :is(.button,.iconbtn){height:44px;min-height:44px}}
 @media(prefers-reduced-motion:no-preference){body.simple-patient :is(button,a){transition:background-color .16s,border-color .16s,box-shadow .16s}}
}

/* Clinic branding is scoped to navigator screens; the main workspace is unchanged. */
.brand img.logo{object-fit:contain;background:none;flex-shrink:0}
[data-action="map-fit"][aria-pressed="true"]{background:#f3e4be!important;color:#17384e!important;border-color:#c5a25c!important}
@media screen{
 body.admin-page #header{background:#112636;color:#fff;border-bottom-color:#34434a}
 body.admin-page .sa-admin-brand{gap:10px;width:auto;min-width:0;color:#fff}
 body.admin-page .sa-clinic-logo{width:48px;height:48px;object-fit:contain;flex:none}
 body.admin-page .sa-admin-brand b{font-size:15px;line-height:1.35;font-weight:650;display:block;overflow-wrap:anywhere}
 body.admin-page .sa-admin-brand small{display:block;margin-top:4px;font-size:9px;letter-spacing:.17em;color:#e6c57d}
 body.admin-page .sa-admin-organization-copy b{color:#f5f1e7}
 body.admin-page .sa-admin-organization-copy :is(small,span){color:#bfc9cb}
 body.admin-page .sa-admin-org-icon{background:#213a49;border-color:#51616a;color:#e4c078}
 body.admin-page #header .navlink{color:#e5e8e7}
 body.admin-page #header .navlink:hover,body.admin-page #header .navlink.active{background:#294252;color:#f0d294}
 body.admin-page #header .head-tools .iconbtn,body.admin-page #header .adminlink{background:#213a49;border-color:#52616a;color:#f5e8c9}
 body.admin-page #header .adminlink.active{background:#e5bf70;color:#152e3e;border-color:#e5bf70}
 body.admin-page .admin-aside{background:#172e3e;border-color:#344955;color:#fff}
 body.admin-page .admin-aside .eyebrow,body.admin-page .side-bottom,body.admin-page .side-bottom .hint{color:#b7c4cb}
 body.admin-page .side-bottom b{color:#f6edda}
 body.admin-page .side-link{color:#e2e9eb}
 body.admin-page .side-link .icon{color:#d8b870}
 body.admin-page .side-link:hover{background:#263e4e;color:#fff}
 body.admin-page .side-link.active{background:#f4eddb;color:#172e3e;box-shadow:inset 3px 0 #d2a649}
 body.admin-page .side-link.active .icon{color:#8a6727}
 body.admin-page .button:not(.secondary):not(.danger):not(.text):not(.soft){background:#e5bf70;color:#172e3e;border-color:#d8b05b}
 body.admin-page .button:not(.secondary):not(.danger):not(.text):not(.soft):hover{background:#efd08f;color:#172e3e}
 body.admin-page :is(.button,.iconbtn){min-height:44px}
 body.admin-page .panel,body.admin-page .stat-card,body.admin-page .qr-card{box-shadow:0 3px 15px #172e3e04}
 body.admin-page .clinic-logo-editor{margin:0 0 26px;padding:20px;border:1px solid #e2d8c0;background:#fcfaf4;border-radius:16px;min-width:0}
 body.admin-page .clinic-logo-editor legend{padding:0 7px;font-size:15px;font-weight:650;color:#172e3e}
 body.admin-page .clinic-logo-content{display:flex;gap:20px;align-items:center;min-width:0}
 body.admin-page .clinic-logo-content>img{width:100px;height:100px;padding:8px;object-fit:contain;background:#fff;border:1px solid #e2dfd5;border-radius:16px;flex:none}
 body.admin-page .clinic-logo-content>div{min-width:0}
 body.admin-page .clinic-logo-content .button{margin:8px 4px 0 0;font-size:13px}
 body.admin-page .clinic-logo-editor .hint{margin:10px 0 0;line-height:1.6}
 body.admin-page [data-logo-status]{font-size:13px;line-height:1.5;color:#77551e;margin:12px 0 0}
 body.admin-page [data-logo-status]:empty{display:none}
}
@media screen and (max-width:1100px){body.admin-page .side-link.active{box-shadow:inset 0 -3px #d2a649}}
@media screen and (max-width:800px){
 body.admin-page .sa-admin-organization{border-color:#3b4b54}
 body.admin-page .sa-clinic-logo{width:42px;height:42px}
 body.admin-page .sa-admin-brand b{font-size:14px}
 body.admin-page .clinic-logo-content{align-items:flex-start;gap:12px;flex-wrap:wrap}
 body.admin-page .clinic-logo-content>img{width:80px;height:80px}
 body.admin-page .clinic-logo-editor{padding:14px}
}

/* Staff sign-in uses the organization's navigator identity. */
.sa-login-page{background:radial-gradient(ellipse at top,#283e4c,#112636 70%);color:#172e3e}
.sa-login-card{background:#fffdf7;border:1px solid #d4cbb7;box-shadow:0 24px 80px #0003}
.sa-login-mark{color:#172e3e;flex-wrap:wrap}
.sa-login-mark img{width:52px;height:52px}
.sa-login-mark .pill{background:#f2ecdd;color:#77551e}
.sa-login-card .button{background:#e5bf70;color:#172e3e}
.sa-login-card .eyebrow,.sa-login-footer a{color:#77551e}
.sa-login-card input{border-color:#d4cbb7}
