/* Crew-only additions; personal layouts and the motion iframe stay unchanged. */
.crew-unified:has(.crew-fill-fab){padding-bottom:84px}
.crew-unified-main{position:relative}
.crew-fill-fab{position:sticky;bottom:24px;z-index:25;display:flex;justify-content:center;margin:20px auto 0;width:max-content;max-width:100%;padding:0}
.crew-fill-fab button,button.crew-fill-fab{min-height:48px;border:0;border-radius:24px;padding:12px 24px;background:#2f6fed;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;box-shadow:0 5px 18px #1c4d9b30}
.crew-unified-header .crew-dashboard-actions{display:flex;gap:8px;flex-shrink:0}
.crew-dashboard-actions button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:0;border-radius:50%;background:#edf3ff;color:#2f6fed;padding:10px}
.crew-dashboard-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.crew-rulebook-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;margin:0 0 14px;border:1px solid #cbdcff;border-radius:14px;background:#f3f7ff;color:#203b65;text-align:left;font:inherit}
.crew-rulebook-entry strong{font-size:16px;margin-right:10px}.crew-rulebook-entry small{font-size:13px;color:#627da5}
.crew-rulebook{color:#203b65}.crew-rulebook h3{font-size:17px;margin:20px 0 8px}.crew-rulebook p,.crew-rulebook li{font-size:15px;line-height:1.65}.crew-rulebook ul{padding-left:20px}
#sheet:has(.crew-contribution){width:min(560px,100%);max-height:calc(100dvh - 24px);padding:20px 24px;left:50%;right:auto;transform:translate(-50%,110%);overflow:hidden}
#sheet.open:has(.crew-contribution){transform:translate(-50%,0)}
body:has(.sheet.open) .crew-fill-fab{visibility:hidden;pointer-events:none}
.crew-ops-management .crew-ops-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:899px){
 .crew-fill-fab{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translateX(-50%);margin:0;max-width:calc(100vw - 32px)}
 .crew-unified:has(.crew-fill-fab){padding-bottom:100px}
 .crew-unified-header{gap:8px;align-items:flex-start}
 .crew-unified-header .crew-subpage-head{min-width:0}
 .crew-unified-header h1{overflow-wrap:anywhere}
 #sheet:has(.crew-contribution){padding:16px 16px max(12px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;max-height:calc(100dvh - 12px)}
 .crew-contribution{max-height:calc(100dvh - 68px)}
 .crew-rulebook-entry small{display:block;margin-top:3px}
}
