#friendly-navigation{padding:12px;background:#eef3ed;border:1px solid #c1d1c5;border-radius:12px;margin:16px 0}#friendly-navigation label{display:block;font-size:12px;font-weight:600;margin:12px 0 6px}#friendly-navigation select,#friendly-navigation input{display:block;width:100%;font:inherit;font-size:14px;min-height:44px;margin-top:5px;padding:8px;border:1px solid #8ba095;border-radius:8px;background:#fff;color:#263b38}#friendly-navigation .navigation-actions{display:flex;flex-wrap:wrap;gap:6px}#friendly-navigation button{font-size:12px;min-height:44px;padding:7px 9px}#office-location{font-size:13px;font-weight:600;margin:0 0 10px;overflow-wrap:anywhere}#navigation-room-count{font-size:12px;margin:10px 0 0;color:#3d5848}#navigation-help{max-height:calc(100dvh - 24px);overflow:auto}#navigation-help p{font-size:14px}#navigation-help .dialog-head button{min-height:44px}#floors button[aria-current='true']{background:#cce0d2;border-color:#547763}.touch button{min-width:44px;min-height:44px}#directory{top:var(--office-header-bottom,96px)}footer{max-width:calc(100% - 24px);white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){#friendly-navigation select,#friendly-navigation input{font-size:16px}#directory{bottom:150px}footer p{font-size:12px}}

#friendly-navigation details{margin-top:10px}#friendly-navigation summary{cursor:pointer;font-size:12px;min-height:36px;padding:7px 0}#friendly-navigation summary:focus-visible{outline:3px solid #49896e;outline-offset:2px}

#navigation-tools{display:contents}#navigation-tools>summary{display:none}.navigation-tools-body{display:contents}@media(max-width:700px),(max-height:500px){header{display:flex;flex-wrap:nowrap;gap:8px;top:8px;left:12px;right:12px;align-items:center}header>.brand{font-size:28px;flex:none}header>span{flex:1;min-width:0;font-size:9px;line-height:1.3;letter-spacing:.03em}header button{flex:none}header #directory-toggle{min-height:44px;font-size:11px;padding:7px}#navigation-tools{display:block;position:relative;flex:none}#navigation-tools>summary{display:block;list-style:none;background:#fffffff0;border:1px solid #c6d5ce;border-radius:10px;font-size:11px;padding:12px 9px;min-height:44px;cursor:pointer}#navigation-tools>summary:focus-visible{outline:3px solid #49896e}#navigation-tools:not([open])>.navigation-tools-body{display:none}#navigation-tools[open]>.navigation-tools-body{display:grid;position:absolute;right:0;top:50px;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 145px);overflow:auto;gap:6px;padding:10px;background:#fbfcf5;border:1px solid #bdcfc1;border-radius:12px;box-shadow:0 10px 24px #16392e33}.navigation-tools-body button{width:100%;min-height:44px}#directory{width:min(290px,calc(100vw - 24px));bottom:112px;padding:14px}#directory>h1,#directory>.eyebrow,#office-intro{display:none}#friendly-navigation{margin-top:0}footer{bottom:8px;padding:6px}footer p{font-size:11px;line-height:1.25;max-height:28px;overflow:auto}.touch{margin-top:4px;gap:8px}.touch button{padding:5px 15px;min-height:44px}}

body:has(#friendly-navigation) #directory{top:var(--office-header-bottom,96px)}

#workspace-resume{border-top:1px solid #c9d2d0;padding-top:12px;margin:12px 0;}#workspace-resume label{display:flex;gap:8px;align-items:flex-start;}#workspace-resume input[type=checkbox]{width:auto;flex:none;margin-top:3px;}#workspace-resume button{white-space:normal;overflow-wrap:anywhere;}#resume-status{font-size:.85rem;}

/* Persistent one-step control pad; existing authoritative movement handlers are reused. */
#office-movement{position:fixed;z-index:3;right:18px;bottom:20px;width:164px;padding:10px;background:#f7faf4ed;border:1px solid #bccfc5;border-radius:18px;box-shadow:0 6px 24px #17372e26;pointer-events:auto}#office-movement .movement-caption{margin:0 0 7px;font-size:12px;font-weight:700;text-align:center;color:#264c41}#office-movement .touch{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(3,44px);gap:5px;margin:0;justify-content:center}#office-movement .touch button{padding:2px;min-width:44px;min-height:44px;font-size:10px;line-height:1.2;background:#fff;border-color:#a7c0b1;white-space:normal;touch-action:manipulation}#office-movement [data-step=forward]{grid-column:2;grid-row:1}#office-movement [data-step=left]{grid-column:1;grid-row:2}#office-movement [data-step=right]{grid-column:3;grid-row:2}#office-movement [data-step=back]{grid-column:2;grid-row:3}#movement-stop{grid-column:2;grid-row:2;background:#e6eee7!important}#movement-leave{width:100%;min-height:44px;font-size:11px;margin-top:8px;padding:6px;background:#244c41;color:white;border-color:#244c41}.conversation-leave-room{min-height:44px;margin:10px 0;font-size:12px}#office-movement button:focus-visible{outline:3px solid #bd781f;outline-offset:2px}
/* Keep the header compact at every width; expanded tools are an explicit choice. */
#navigation-tools{display:block;position:relative;flex:none}#navigation-tools>summary{display:block;list-style:none;background:#fffffff0;border:1px solid #c6d5ce;border-radius:10px;font-size:12px;padding:12px 10px;min-height:44px;cursor:pointer}#navigation-tools:not([open])>.navigation-tools-body{display:none}#navigation-tools[open]>.navigation-tools-body{display:grid;position:absolute;right:0;top:50px;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 145px);overflow:auto;gap:6px;padding:10px;background:#fbfcf5;border:1px solid #bdcfc1;border-radius:12px;box-shadow:0 10px 24px #16392e33}.navigation-tools-body button{width:100%;min-height:44px}
footer{max-width:calc(100% - 220px);left:24px;right:202px;transform:none;width:auto}footer>span{display:none}
@media(max-width:700px){#office-movement{right:8px;bottom:8px;width:158px;padding:7px;border-radius:14px}footer{left:8px;right:174px;bottom:8px;width:auto;max-width:none;padding:6px}footer p{font-size:11px;max-height:76px;overflow:auto}#directory{bottom:120px;max-width:calc(100vw - 24px)}#office-movement .movement-caption{font-size:11px;margin-bottom:5px}#movement-leave{margin-top:5px}}
@media(max-height:420px){#office-movement{bottom:6px}.movement-caption{display:none}#office-movement .touch{grid-template-rows:repeat(2,44px)}#office-movement [data-step=left]{grid-column:1;grid-row:1}#office-movement [data-step=forward]{grid-column:2;grid-row:1}#office-movement [data-step=right]{grid-column:3;grid-row:1}#office-movement [data-step=back]{grid-column:2;grid-row:2}#movement-stop{grid-column:1;grid-row:2}}

/* Travel choice stays with the existing movement pad; both actions are touch sized. */
#office-movement .movement-travel{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 0 7px}
#office-movement .movement-travel button{min-width:44px;min-height:44px;padding:5px;font-size:12px;touch-action:manipulation;background:#fff;border:1px solid #9db6aa;color:#264c41}
#office-movement .movement-travel button[aria-pressed=true]{background:#244c41;border-color:#244c41;color:white;font-weight:700}
#office-movement{max-height:calc(100dvh - var(--office-header-bottom,96px) - 16px);overflow:auto;overscroll-behavior:contain}
#office-movement .movement-motion-notice{font-size:11px;line-height:1.3;margin:0 0 6px;color:#264c41}
