/* Hygiene navigation only; existing record forms and permissions are unaffected. */
.hyg-nav-shell{position:sticky;top:64px;z-index:19;margin:0 26px 0}
.hyg-nav{display:flex;align-items:stretch;gap:0;padding:5px 0;background:#fff;border:0;border-bottom:1px solid #ececed;border-radius:0;position:relative;z-index:20}
.hyg-nav>button{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:10px 12px;border:0;border-radius:0;background:transparent;color:#707278;font:400 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;text-align:center;transition:background .16s ease,color .16s ease}
.hyg-nav svg{width:21px;height:21px;flex-shrink:0;stroke-width:1.65}
.hyg-nav>button>span{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.hyg-nav [aria-current=page],.hyg-nav .on{background:transparent;color:#202123;font-weight:600}
.hyg-nav>button:hover{background:#fafafa}
.hyg-nav>button:active{transform:translateY(1px)}
.hyg-nav button:focus-visible,.hyg-plus-sheet button:focus-visible{outline:2px solid #c62c31;outline-offset:2px}
.hyg-plus-sheet{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-width:460px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid #e7e7e9;border-radius:18px;background:#fff;color:#202123;box-shadow:0 20px 65px #20212320;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.hyg-plus-sheet:not([open]){display:none}
.hyg-plus-sheet[open]{display:flex;flex-direction:column}
.hyg-plus-sheet::backdrop{background:#20212366}
html:has(.hyg-plus-sheet[open]),body:has(.hyg-plus-sheet[open]){overflow:hidden;overscroll-behavior:none}
.hyg-sheet-heading{flex:none;display:flex;align-items:center;gap:14px;position:relative;margin:0;padding:22px 24px 17px;border-bottom:1px solid #ececed;touch-action:pan-x pinch-zoom;user-select:none}
.hyg-sheet-heading>div{flex:1;min-width:0}
.hyg-sheet-heading p{font-size:10px;font-weight:500;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:#696b70;margin:0 0 6px}
.hyg-sheet-heading h2{font-size:24px;font-weight:600;letter-spacing:-.03em;line-height:1.2;color:#202123;margin:0}
.hyg-sheet-grab{display:none}
.hyg-sheet-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:11px;border:1px solid #e2e2e5;background:#fff;color:#696b70;border-radius:50%;cursor:pointer}
.hyg-sheet-close svg{width:20px;height:20px}
.hyg-sheet-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 24px 20px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.hyg-sheet-group{padding:10px 0 8px;margin:0}
.hyg-sheet-group+.hyg-sheet-group{border-top:1px solid #ececed}
.hyg-sheet-group h3{margin:8px 0 6px;color:#696b70;font-size:10px;font-weight:500;line-height:1.5;text-transform:uppercase;letter-spacing:.1em}
.hyg-sheet-row{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:11px 0;border:0;border-radius:0;background:transparent;color:#36393e;text-align:left;font:500 14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;transition:background .16s ease,transform .16s ease}
.hyg-sheet-row>span:not(.hyg-sheet-icon):not(.hyg-sheet-arrow){min-width:0;overflow-wrap:anywhere}
.hyg-sheet-row:hover{background:#fafafa}
.hyg-sheet-row:active{transform:translateY(1px)}
.hyg-sheet-row[aria-current=page],.hyg-sheet-row.on{background:transparent;color:#202123;font-weight:650}
.hyg-sheet-icon{display:grid;place-items:center;width:22px;height:24px;flex:none;background:none;border:0;border-radius:0;color:#707278}
.hyg-sheet-icon svg{width:21px;height:21px;stroke-width:1.65}
.hyg-sheet-row[aria-current=page] .hyg-sheet-icon,.hyg-sheet-row.on .hyg-sheet-icon{color:#202123}
.hyg-sheet-arrow{display:flex;margin-left:auto;color:#95979b;flex:none}
.hyg-sheet-arrow svg{width:15px;height:15px}
.hyg-sheet-row[aria-expanded=true] .hyg-sheet-arrow{transform:rotate(90deg)}
.hyg-dlc-options{margin:2px 0 6px 10px;padding-left:20px;border-left:1px solid #e4e5e7}
.hyg-dlc-options .hyg-sheet-row{min-height:48px;font-size:13px}
.hyg-dlc-options .hyg-sheet-icon{width:22px;height:24px}
.hyg-sheet-account{border-top:1px solid #ececed;padding-top:9px;margin-top:3px}
.hyg-sheet-logout{color:#707278;font-weight:400}
.hyg-plus-sheet [hidden]{display:none!important}
.hyg-plus-sheet button:disabled,.hyg-nav button:disabled{opacity:.5;cursor:default}
.hyg-nav-feedback:empty{display:none}
.hyg-nav-feedback{font:400 12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#87571f;margin:10px 0;padding:10px 0;border-top:1px solid #e4ded4;background:transparent}
.hyg-day-loading{padding:36px 26px;color:#696b70;font-size:14px}
@media(max-width:1023px){
.hyg-nav-shell{position:relative;top:auto;margin:0}
.hyg-nav{position:fixed;bottom:0;left:0;right:0;border-radius:0;margin:0;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));gap:0;border:0;border-top:1px solid #ececed;box-shadow:none;background:#fff}
.hyg-nav>button{position:relative;flex-direction:column;justify-content:flex-start;gap:5px;min-height:48px;padding:5px 3px;font-size:11px;line-height:1.4;color:#707278}
.hyg-nav>button:hover{background:transparent}
.hyg-nav>button::after{content:'';display:block;width:3px;height:3px;flex:0 0 3px;border-radius:50%;background:transparent}
.hyg-nav [aria-current=page],.hyg-nav .on{background:transparent;color:#202123;font-weight:600}
.hyg-nav [aria-current=page]::after,.hyg-nav .on::after{background:#202123}
.hyg-plus-sheet{width:100%;max-width:100%;max-height:calc(100vh - max(32px,env(safe-area-inset-top)));max-height:calc(100dvh - max(32px,env(safe-area-inset-top)));margin:auto 0 0;border:0;border-radius:20px 20px 0 0;box-shadow:0 -10px 65px #20212320}
.hyg-sheet-heading{padding:29px 24px 17px}
.hyg-sheet-grab{display:block;position:absolute;top:10px;left:calc(50% - 17px);width:34px;height:4px;background:#d5d6d9;border-radius:8px}
.hyg-sheet-content{padding:6px 24px calc(18px + env(safe-area-inset-bottom,0px))}
main:has(.hyg-nav){padding-bottom:max(calc(100px + env(safe-area-inset-bottom,0px)),var(--hyg-navigation-clearance,100px))}
main:has(.hyg-nav) :is(button,input,select,textarea,summary){scroll-margin-bottom:var(--hyg-navigation-clearance,100px)}
html:has(.hyg-nav){scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
@media(min-width:701px) and (max-width:1023px){.hyg-plus-sheet{width:min(560px,calc(100vw - 32px));max-width:560px;margin:auto auto 0}}
@media(max-width:370px){.hyg-nav{padding-inline:6px}.hyg-nav>button{font-size:10px}.hyg-sheet-heading{padding-inline:20px}.hyg-sheet-content{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.hyg-nav-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hyg-plus-sheet{animation:none!important;transition:none!important}}
