body{padding-bottom:env(safe-area-inset-bottom)}.main-nav a,.main-nav button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:9px 13px;background:transparent;color:#3c2f2c;font:inherit;text-decoration:none;cursor:pointer}.main-nav a:visited{color:#3c2f2c}.main-nav .selected{background:#fff;color:#3c2f2c;font-weight:600}.staff-profile{position:relative;margin-left:auto;z-index:30}.staff-profile summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e4d9d2;border-radius:14px;background:#fff;cursor:pointer;list-style:none;font-weight:600}.staff-profile summary::-webkit-details-marker{display:none}.staff-profile-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-profile-menu{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:8px;width:min(290px,calc(100vw - 28px));padding:16px;border:1px solid #e4d9d2;border-radius:16px;background:#fff;box-shadow:0 16px 44px #3c2f2c24}.staff-profile-menu small{color:#776a65}.staff-profile-menu button{min-height:44px;border:0;border-radius:11px;background:#efe5df;color:#3c2f2c;font:600 13px Montserrat,sans-serif;text-align:left;padding:10px 12px}.staff-profile-menu button:last-child{color:#8b302a}[hidden]{display:none!important}@media(max-width:720px){main.shell{padding-bottom:calc(110px + env(safe-area-inset-bottom))}main header{align-items:flex-start!important;flex-wrap:wrap}.staff-profile{margin-left:auto}.staff-profile-name{display:none}.main-nav{display:flex!important;flex-wrap:nowrap!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;gap:6px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.main-nav a,.main-nav button{min-height:44px!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap!important;text-align:center;scroll-snap-align:start}.main-nav .selected{order:-1}}@media(max-width:360px){.main-nav a,.main-nav button{font-size:12px!important}.staff-profile-menu{position:fixed;top:88px;right:14px}}
body[data-staff-ready="loading"] main{visibility:hidden}
body[data-staff-ready="loading"][data-staff-shell-ready="true"] main{visibility:visible}
body[data-staff-ready="loading"][data-staff-shell-ready="true"] main>:not(header):not([data-staff-nav]){visibility:hidden}

.staff-nav-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;border-radius:10px;background:#c43d34;color:#fff;font:700 11px/1 Montserrat,sans-serif}

/* The shared shell owns navigation geometry so pages cannot make it jump. */
.main-nav[data-staff-nav]{display:flex;align-items:stretch;gap:6px;margin:-10px 0 24px;padding:5px;min-height:54px;width:max-content;max-width:100%;background:#eee5df;border-radius:14px;box-sizing:border-box}
.main-nav[data-staff-nav] a,.main-nav[data-staff-nav] button{box-sizing:border-box;min-height:44px;padding:9px 13px;font:500 13px/1.2 Montserrat,sans-serif;white-space:nowrap}
.main-nav[data-staff-nav] .selected{order:0;font-weight:600}
@media(max-width:720px){.main-nav[data-staff-nav]{margin:-10px 0 24px!important;padding:5px!important;min-height:54px;width:100%!important}.main-nav[data-staff-nav] .selected{order:0}}

/* Stable shell header: page-specific controls live below navigation. */
body[data-staff-section]>.prototype-note{display:none!important}
body[data-staff-section] main.shell{padding-top:28px}
body[data-staff-section] main.shell>header{display:flex;align-items:center;gap:14px;min-height:48px;margin:0 0 28px}
body[data-staff-section] main.shell>header .logo{display:block;overflow:hidden;flex:0 0 48px;width:48px;height:48px;padding:0!important;border:0!important;border-radius:50%;background:transparent!important}
body[data-staff-section] main.shell>header .logo img{display:block;width:100%;height:100%;object-fit:contain}
body[data-staff-section] main.shell>header h1{font-size:26px;line-height:1.15}
.schedule-page-actions{display:flex;justify-content:flex-end;gap:8px;margin:-12px 0 16px}
@media(max-width:720px){body[data-staff-section] main.shell{padding:20px 14px 70px}body[data-staff-section] main.shell>header{min-height:48px;margin-bottom:28px}body[data-staff-section] main.shell>header .logo{flex-basis:48px;width:48px;height:48px}body[data-staff-section] main.shell>header .eyebrow{display:none}body[data-staff-section] main.shell>header h1{font-size:26px}.schedule-page-actions{margin:-12px 0 12px}.schedule-page-actions .add-booking{width:100%}}

/* Page styles must not resize shell controls or alter its vertical rhythm. */
.staff-profile{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.main-nav[data-staff-nav]{margin-bottom:16px!important}
.schedule-page-actions{margin:0 0 16px}
@media(max-width:720px){.schedule-page-actions{margin:0 0 16px}}

.staff-profile-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background:#f0d7d2;color:#963b34;font-weight:700}.staff-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.staff-profile summary{padding:6px 10px}@media(max-width:720px){.staff-profile summary{padding:6px;border-radius:50%}.staff-profile-more{display:none}}
.staff-branch-selector{display:grid;gap:3px;margin-left:auto}.staff-branch-selector>span{font-size:10px;color:#776a65}.staff-branch-selector select{min-height:44px;max-width:240px;border:1px solid #e4d9d2;border-radius:12px;background:#fff;color:#3c2f2c;padding:8px 34px 8px 11px;font:600 13px Montserrat,sans-serif}.staff-branch-selector+.staff-profile{margin-left:0}.staff-branch-choice{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#f8f3ef}.staff-branch-choice section{width:min(440px,100%);padding:24px;border:1px solid #e4d9d2;border-radius:20px;background:#fff;box-shadow:0 20px 60px #3c2f2c20}.staff-branch-choice section>span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#776a65}.staff-branch-choice h2{margin:6px 0 8px}.staff-branch-choice p{margin:0 0 18px;color:#776a65}.staff-branch-choice section>div{display:grid;gap:8px}.staff-branch-choice button{min-height:48px;border:1px solid #e4d9d2;border-radius:12px;background:#f8f3ef;color:#3c2f2c;padding:10px 14px;font:600 14px Montserrat,sans-serif;text-align:left}@media(max-width:720px){.staff-branch-selector{order:3;width:100%;margin-left:0}.staff-branch-selector select{width:100%;max-width:none}.staff-branch-selector+.staff-profile{margin-left:auto}}

/* Dialogs belong above the whole page chrome, including the profile control. */
body[data-staff-section] .modal.open{z-index:50!important}

.staff-profile-menu .staff-profile-cabinet{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:inherit;background:#f8f3ef;border-radius:10px;font:600 16px Montserrat,Arial,sans-serif;text-decoration:underline}.staff-profile-cabinet:focus-visible{outline:3px solid #3c2f2c;outline-offset:3px}

/* One desktop frame across work sections; navigation scrolls instead of spilling. */
@media(min-width:721px){
  body[data-staff-section]:not([data-staff-section="cabinet"]) main.shell{width:100%;max-width:1180px;box-sizing:border-box;margin-inline:auto;padding-inline:20px}
  body[data-staff-section] main.shell>header{align-items:flex-end;flex-wrap:nowrap;min-height:64px}
  body[data-staff-section] main.shell>header>.heading{min-width:0}
  .staff-branch-selector{flex:0 1 360px;min-width:200px}
  .staff-branch-selector select{width:100%;max-width:none;box-sizing:border-box;height:46px}
  .staff-profile{flex-shrink:0}
  .staff-profile summary{box-sizing:border-box;height:46px;min-height:46px}
}
.main-nav[data-staff-nav]{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
.main-nav[data-staff-nav] a,.main-nav[data-staff-nav] button{flex:0 0 auto;font-weight:600}
.main-nav[data-staff-nav] :focus-visible,.staff-branch-selector select:focus-visible,.staff-profile summary:focus-visible{outline:3px solid #3c2f2c;outline-offset:-3px}

@media(min-width:721px) and (max-width:1000px){
  body[data-staff-section] main.shell>header{flex-wrap:wrap}
  body[data-staff-section] main.shell>header>.heading{flex:1 0 calc(100% - 62px)}
  .staff-branch-selector{flex:1 1 200px}
}

/* Auto margins center fitting desktop links and collapse to zero on overflow. */
@media(min-width:721px){
  .main-nav[data-staff-nav]>a:first-child{margin-left:auto}
  .main-nav[data-staff-nav]>a:last-child{margin-right:auto}
}
