/* Maritime: exact Prototype Studio palette; interaction shades mix its navy, teal and pale cyan. */
.staff-context,.staff-dialog{font:inherit;color:#0F2742;line-height:1.55}.staff-context{font-size:13px}.staff-actions,.staff-item-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.staff-item-head{justify-content:space-between}.staff-item{padding:16px 0;border-bottom:1px solid #CFDCE5}.staff-item:last-child{border-bottom:0}.staff-item p{margin:8px 0;white-space:pre-wrap}.staff-muted{color:#617489;font-size:12px}.staff-empty{padding:12px 0;color:#617489;font-size:13px}.staff-btn,.staff-dialog button,.staff-upload{font:inherit;cursor:pointer;padding:9px 13px;border:1px solid #CFDCE5;border-radius:7px;background:#FFF;color:#0F2742;line-height:1.4}.staff-btn:hover,.staff-dialog button:hover{background:#E4EDF3}.staff-btn.primary{background:#087C9D;color:white;border-color:#087C9D}.staff-btn:focus-visible,.staff-upload:focus-within,.staff-dialog :focus-visible{outline:2px solid #087C9D;outline-offset:3px}.staff-pill{background:#CCEEED;color:#087C9D;padding:4px 9px;border-radius:5px;font-size:12px}.staff-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#617489}.staff-field input,.staff-field select,.staff-field textarea{font:inherit;color:#0F2742;background:#FFF;border:1px solid #CFDCE5;border-radius:6px;padding:10px;width:100%;box-sizing:border-box}.staff-field textarea{resize:vertical;min-height:100px}.staff-upload{position:relative;overflow:hidden;background:#CCEEED;color:#087C9D;display:inline-block}.staff-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.staff-context dl,.staff-dialog dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.staff-context dt,.staff-dialog dt{font-size:12px;color:#617489}.staff-context dd,.staff-dialog dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.staff-snapshot summary,.staff-item details summary{cursor:pointer;color:#087C9D;padding:8px 0;font-size:13px}.staff-dialog{border:1px solid #CFDCE5;border-radius:12px;padding:0;width:min(580px,calc(100vw - 40px));max-height:85vh;box-shadow:0 20px 60px #0F274222;background:white}.staff-dialog::backdrop{background:#0F274266}.staff-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #CFDCE5}.staff-dialog h2{font-size:19px;margin:0}.staff-dialog header button{border:0;font-size:22px;padding:0 8px}.staff-dialog-body{padding:22px 24px;display:flex;flex-direction:column;gap:16px}.staff-dialog-body p{margin:0}.staff-dialog footer{padding:16px 24px;display:flex;gap:10px;justify-content:flex-end;background:#EDF3F7}#staff-notice{position:fixed;right:22px;bottom:22px;background:#0F2742;color:white;padding:14px 20px;border-radius:8px;font-size:13px;max-width:min(480px,calc(100vw - 44px));z-index:1000;box-shadow:0 6px 24px #0F274222}#staff-notice[data-ok=false]{background:#BB463B}#staff-notice[hidden]{display:none}.ps-node[aria-pressed=true]{border-color:#087C9D!important}.staff-actions .staff-field{min-width:150px}@media(max-width:640px){.staff-context dl{grid-template-columns:1fr}.staff-dialog header,.staff-dialog-body,.staff-dialog footer{padding:16px}.staff-item-head{align-items:flex-start}#staff-notice{right:16px;bottom:16px}.staff-actions{gap:8px}}

/* A single left-hand hierarchy for workspaces, modules and functions. */
.ps-page.staff-page{overflow:visible}
.staff-sidebar{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#617489 #0F2742}
.staff-main{flex:1;min-width:0}
.staff-workspace-switcher{border-bottom:1px solid #617489;padding-bottom:16px}
.staff-sidebar .staff-nav-group{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;line-height:1.55}
.staff-nav-group::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);flex:none;margin-right:2px}
.staff-nav-group[aria-expanded=true]::after{transform:rotate(45deg);margin-top:-4px}
.staff-sidebar .staff-submenu{width:calc(100% - 12px);margin-left:12px;padding-left:10px;border-left:1px solid #617489}
.staff-sidebar .staff-nav-item{line-height:1.5;text-align:left}
.staff-sidebar .staff-nav-item[aria-current=page]{background:#CCEEED;color:#087C9D}
.staff-sidebar :focus-visible{outline:2px solid #CCEEED;outline-offset:2px}
.staff-navigation-dialog{inset:0 auto 0 0;margin:0;padding:0;border:0;width:min(300px,88vw);max-width:none;height:100vh;height:100dvh;max-height:none;background:#0F2742;font-family:var(--font);color:#FFF;box-shadow:8px 0 40px #0F274233}
.staff-navigation-dialog::backdrop{background:#0F274266}
.staff-navigation-dialog .staff-sidebar{display:flex!important;position:relative;width:100%;height:100%;padding:18px}
.staff-navigation-dialog .staff-menu-close{display:block!important}
@media(max-width:640px){.staff-sidebar{display:none}.staff-menu-opener{display:flex}.staff-main{width:100%}}

/* Staff testing: clear control boundaries and readable supporting copy. */
button.ps-node,a.ps-node,.staff-btn,.staff-dialog button,.staff-upload{min-height:44px;min-width:44px;padding:10px 14px;border:1px solid #617489;border-radius:7px;background:#FFF;color:#087C9D;font-size:15px;font-weight:600;line-height:1.5;cursor:pointer;box-shadow:0 1px 2px #0F27420D}
a.ps-node{text-decoration:underline;text-underline-offset:3px}
button.ps-node:hover,a.ps-node:hover,.staff-btn:hover,.staff-dialog button:hover,.staff-upload:hover{background:#CCEEED;border-color:#087C9D;color:#096B8B;box-shadow:0 2px 5px #0F274218}
button.ps-node:active,a.ps-node:active,.staff-btn:active,.staff-dialog button:active{background:#AFDDE1;box-shadow:inset 0 1px 3px #0F274222}
.ps-node.staff-primary,.staff-btn.primary,.staff-dialog button.primary{background:#087C9D;color:#FFF;border-color:#087C9D;box-shadow:0 2px 4px #0F274220}
.ps-node.staff-primary:hover,.staff-btn.primary:hover,.staff-dialog button.primary:hover{background:#096B8B;color:#FFF;border-color:#096B8B}
button.ps-node:focus-visible,a.ps-node:focus-visible,.staff-btn:focus-visible,.staff-dialog :focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #087C9D;outline-offset:3px}
select.ps-node,.staff-field select{appearance:none;min-height:44px;padding:10px 42px 10px 12px;border:1px solid #617489;border-radius:7px;background-color:#FFF;color:#0F2742;font-size:16px;line-height:1.5;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23087C9D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:20px}
select.ps-node:hover,.staff-field select:hover{border-color:#087C9D;background-color:#EDF3F7;box-shadow:0 0 0 1px #087C9D1A}
input.ps-node,textarea.ps-node,.staff-field input,.staff-field textarea{min-height:44px;font-size:16px;line-height:1.6}
.staff-context,.staff-dialog{font-size:16px;line-height:1.7}
.staff-muted,.staff-empty,.staff-field,.staff-context dt,.staff-dialog dt{font-size:15px;color:#617489;line-height:1.7}
.staff-empty{padding:20px;border:1px dashed #617489;border-radius:8px;background:#EDF3F7}
.staff-context dd,.staff-dialog dd{font-size:16px;line-height:1.65}
.staff-pill{font-size:14px}
.staff-disclosure{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.staff-disclosure::after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex:none;margin:0 3px 4px}
.staff-disclosure[aria-expanded=true]::after{transform:rotate(225deg);margin-top:6px;margin-bottom:0}
.ps-node[aria-pressed=true]{background:#CCEEED;color:#096B8B;border-color:#087C9D;box-shadow:inset 0 0 0 1px #087C9D}
.staff-snapshot summary,.staff-item details summary{min-height:44px;padding:10px 14px;border:1px solid #617489;border-radius:7px;color:#087C9D;background:#FFF;font-size:15px;font-weight:600;cursor:pointer}
.staff-snapshot summary:hover,.staff-item details summary:hover{background:#CCEEED;border-color:#087C9D}
.staff-record-button{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.staff-record-reference{padding:12px 16px;background:#CCEEED;border-radius:7px;color:#087C9D;font-size:18px;font-weight:600;overflow-wrap:anywhere}
.staff-dialog header button{width:44px;min-width:44px;padding:4px;border:1px solid #617489;font-size:24px}
.staff-dialog h2{font-size:22px;line-height:1.4}
.staff-dialog footer{flex-wrap:wrap}
.staff-upload{display:inline-flex;align-items:center;background:#CCEEED}
.staff-actions .staff-field{min-width:180px}
#staff-notice{font-size:15px;line-height:1.6}
.staff-sidebar button.ps-node{border:1px solid #617489;background:#0E304B;color:#E4EDF3;font-size:15px;box-shadow:none}
.staff-sidebar button.ps-node:hover{background:#0C5270;border-color:#CCEEED;color:#FFF}
.staff-sidebar .staff-nav-group{padding:10px 12px}
.staff-sidebar .staff-nav-group[aria-expanded=true]{background:#0D3C59;border-color:#617489}
.staff-sidebar button.staff-nav-item[aria-current=page],.staff-sidebar button.staff-active-workspace{background:#CCEEED;border-color:#CCEEED;color:#096B8B;box-shadow:inset 3px 0 #087C9D}
.staff-sidebar button.staff-nav-item[aria-current=page]:hover,.staff-sidebar button.staff-active-workspace:hover{background:#B8E3E5;color:#096B8B}
.staff-sidebar button:focus-visible{outline:3px solid #CCEEED;outline-offset:2px}
@media(max-width:640px){.staff-dialog{width:calc(100vw - 24px)}.staff-dialog dl{grid-template-columns:1fr}.staff-dialog header{gap:12px}.staff-dialog h2{font-size:20px}.staff-dialog header button{flex:none}.staff-actions{align-items:stretch}.staff-actions .staff-field{min-width:0;flex:1}.staff-empty{padding:16px}}
@media(forced-colors:active){select.ps-node,.staff-field select{appearance:auto;background-image:none}.staff-sidebar button.ps-node,.ps-node[aria-pressed=true]{border:1px solid ButtonText}}
.staff-dialog,#staff-notice{font-family:var(--font)}
@media(max-width:640px){
 .staff-main>.ps-node:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:center}
 .staff-main>.ps-node:first-child>.ps-node{width:100%;min-width:0}
 .staff-main>.ps-node:first-child>.ps-node:nth-child(2){order:-1;grid-column:1/-1}
 .staff-list-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .staff-list-filters>.ps-node{width:100%;min-width:0}
}
